Add authentication #17

Manually merged
Webmaster merged 225 commits from auth into main 2025-03-08 10:37:06 +00:00

225 commits

Author SHA1 Message Date
chark1es
a79e629164 add overlay 2025-03-08 02:29:57 -08:00
chark1es
9278f9f8c1 Update FilePreview.tsx 2025-03-08 02:19:18 -08:00
chark1es
ba1cfea557 some changes 2025-03-08 02:13:38 -08:00
chark1es
cd95bb5d0a file preview 2025-03-08 02:02:45 -08:00
chark1es
1b936a9410 fix file 2025-03-08 02:01:49 -08:00
chark1es
f641ee722a fixed a bug 2025-03-08 00:30:11 -08:00
chark1es
f48e2ff32a removed feedback 2025-03-07 21:54:59 -08:00
chark1es
aeda1094b5 reset admin dashboard 2025-03-07 21:51:39 -08:00
chark1es
b643ae531e updated admindashboard 2025-03-07 18:30:53 -08:00
chark1es
e4ea6caa7f fix hydration error 2025-03-06 03:04:07 -08:00
chark1es
3b1a1d9132 fix stats 2025-03-06 02:56:05 -08:00
chark1es
f829e608bf admin dashboard 2025-03-05 17:33:17 -08:00
chark1es
f2127b01b8 improve file viewing 2025-03-05 03:59:56 -08:00
chark1es
1c2cdd2c20 fix showing different receipts 2025-03-05 03:59:49 -08:00
chark1es
94b5e39c1a fix event files 2025-03-05 03:46:42 -08:00
chark1es
4fcb98ba57 fix event editor not prefilling 2025-03-05 02:33:58 -08:00
chark1es
3123f6c00c fix bugs relating to the event editor 2025-03-04 15:55:04 -08:00
chark1es
addfb479b1 stats update 2025-03-03 02:21:27 -08:00
chark1es
19f360e3f0 file component update 2025-03-03 02:10:48 -08:00
chark1es
36e1f4663b event attendees changes
still broken
2025-03-02 18:11:46 -08:00
chark1es
9481f433de update indexdb to contain new collection 2025-03-02 17:36:22 -08:00
chark1es
690efee339 update schema for attendees 2025-03-02 17:10:31 -08:00
chark1es
8e956c7fe5 remove autosync 2025-03-02 16:40:09 -08:00
chark1es
03b0e677ed add default settings 2025-03-02 01:42:36 -08:00
chark1es
4a33fc3ce4 update settings 2025-03-02 01:21:42 -08:00
chark1es
b7881213ce Add file settings 2025-03-02 01:14:34 -08:00
chark1es
60c2ae3f6b fix dashboard roles 2025-03-02 00:58:18 -08:00
chark1es
e64f2ab882 add event checking 2025-03-02 00:49:42 -08:00
chark1es
2224d18ce8 fix syncing 2025-03-02 00:49:33 -08:00
chark1es
8cb711d361 better modal and toast 2025-03-01 17:54:06 -08:00
chark1es
e31df99078 update duration 2025-03-01 17:53:43 -08:00
chark1es
3f8e01487f have events use indexdb 2025-03-01 17:43:56 -08:00
chark1es
5d92589bac remove reimbursement toast 2025-03-01 17:32:27 -08:00
chark1es
a1451fa534 fix indexdb 2025-03-01 17:32:13 -08:00
chark1es
9d7058d533 different stats view 2025-03-01 16:04:07 -08:00
chark1es
c4e5689593 fix debugging errors 2025-03-01 15:59:37 -08:00
chark1es
5fd2eb67a0 renamed field to file for consistency for receipts 2025-03-01 15:42:30 -08:00
chark1es
5a453db3a4 more toast fixes 2025-03-01 04:56:51 -08:00
chark1es
ef3e8f38d6 Fix toast hydration 2025-03-01 04:37:33 -08:00
chark1es
eb77c00540 Fix hydration 2025-03-01 04:22:15 -08:00
chark1es
74b76ee053 used indexdb and not cache 2025-03-01 04:19:32 -08:00
chark1es
b0aa2020c4 fix auto refresh on tab switch 2025-03-01 03:47:36 -08:00
chark1es
38e45f3cb3 fix event request form 2025-03-01 03:09:55 -08:00
chark1es
62c4c5f735 fix auth issues 2025-03-01 03:09:45 -08:00
chark1es
c5925bd275 fix datetime issues 2025-03-01 02:03:47 -08:00
chark1es
72ea5ba8df add checkin boundaries 2025-03-01 01:37:44 -08:00
chark1es
b7493224d2 fix database mismatch 2025-02-28 22:29:28 -08:00
chark1es
16addfb9d0 update to use schema 2025-02-28 22:18:09 -08:00
chark1es
701854e633 update the files using the appropriate schema 2025-02-28 18:27:59 -08:00
chark1es
f4db576400 update schema location 2025-02-28 17:43:51 -08:00
chark1es
8e439ebcf0 add proper schemas 2025-02-28 17:38:46 -08:00
chark1es
d4fe0bf2b0 idk i forgot 2025-02-26 20:24:42 -08:00
chark1es
e16b08dbe6 better preview 2025-02-25 05:41:56 -08:00
chark1es
b5ce87b854 fix auto refresh 2025-02-25 05:23:12 -08:00
chark1es
e98a0f32e2 fix json 2025-02-25 05:13:00 -08:00
chark1es
897fbe4459 fix view 2025-02-25 05:05:56 -08:00
chark1es
28822129ef fix changes 2025-02-24 16:30:56 -08:00
chark1es
4065105bab better event form 2025-02-24 16:16:55 -08:00
chark1es
8a2423eb72 fix import error 2025-02-24 14:02:22 -08:00
chark1es
f69401c555 toast 2025-02-24 13:25:49 -08:00
chark1es
2501fe4ed8 fixed itemized selection and added toasts 2025-02-24 12:39:27 -08:00
chark1es
d74f403e34 remove officer rip 2025-02-21 02:18:12 -08:00
chark1es
ec0478f77f added tab management 2025-02-21 02:17:11 -08:00
chark1es
fd5af1e2fa improve visibility for tooltips 2025-02-21 01:38:23 -08:00
chark1es
2a34588074 fix some errors 2025-02-20 01:46:56 -08:00
chark1es
9019a97496 added an event request form 2025-02-20 01:24:05 -08:00
chark1es
c9ae525c8b temp notes for reference 2025-02-20 00:29:34 -08:00
chark1es
dda54d59aa fix buttons 2025-02-19 06:31:06 -08:00
chark1es
59954d3022 add color 2025-02-19 06:25:31 -08:00
chark1es
66cb5977d0 remove duplicate file naming 2025-02-19 06:17:41 -08:00
chark1es
cb58d8fd33 add animation and more information 2025-02-19 06:14:51 -08:00
chark1es
8338b7ccd2 added responsiveness for reimbursement management 2025-02-19 05:12:23 -08:00
chark1es
a9727b1f44 added reimbursement system 2025-02-19 05:08:19 -08:00
chark1es
606951a70d update yaml 2025-02-19 02:34:52 -08:00
chark1es
cfd3d21da8 add reimbursement forms 2025-02-19 02:08:42 -08:00
chark1es
600146296b basic reimbursement concept working 2025-02-19 01:05:14 -08:00
chark1es
64e989664c fix toast 2025-02-18 20:02:32 -08:00
chark1es
1d9a54c85f i gave up fixing the bug so i took it out 2025-02-18 19:50:00 -08:00
chark1es
b127429c39 add tab management 2025-02-18 18:30:09 -08:00
chark1es
00ab7aa1a3 add more info for stats 2025-02-18 04:59:04 -08:00
chark1es
fc22a79f12 fix icon issues 2025-02-18 04:45:46 -08:00
chark1es
93e017986d added events checker 2025-02-18 04:45:41 -08:00
chark1es
45b278a2fc add dynamic view 2025-02-18 04:35:41 -08:00
chark1es
b5cdc7464b separated stats 2025-02-18 04:05:19 -08:00
chark1es
bb2f3f93d3 remove unused imports 2025-02-18 04:05:08 -08:00
chark1es
5aecaa8370 update gitignore 2025-02-18 03:35:07 -08:00
chark1es
3330273fbf fix console errors 2025-02-18 01:35:42 -08:00
chark1es
0bea38eebb improved profile section 2025-02-18 00:13:05 -08:00
chark1es
9d317471dd fix logging 2025-02-18 00:12:54 -08:00
chark1es
e7627a9c24 Update FilePreview.tsx 2025-02-17 15:25:43 -08:00
chark1es
c5a5166e6a move some code to its own component 2025-02-17 15:15:11 -08:00
chark1es
e51dd3d6f8 use iconify icons 2025-02-17 15:15:01 -08:00
chark1es
e72b8aca07 add refresh button 2025-02-17 14:33:00 -08:00
chark1es
022c44f31a move button to match format 2025-02-17 14:22:55 -08:00
chark1es
371fb98d4d reformat event checkin code 2025-02-17 14:22:40 -08:00
chark1es
79b34b97de fix toast colors 2025-02-17 13:52:27 -08:00
chark1es
bdd0941f04 update imports 2025-02-17 13:52:21 -08:00
chark1es
a135dfa918 change imports 2025-02-17 13:52:09 -08:00
chark1es
e35adfaa5b update imports 2025-02-17 13:12:55 -08:00
chark1es
07ae136841 Delete online-store.astro 2025-02-17 04:01:34 -08:00
chark1es
b8b38a3a53 update config 2025-02-17 03:09:37 -08:00
chark1es
271bc994c2 add better role organization 2025-02-17 03:01:11 -08:00
chark1es
e9ada4b42b only past events have files shown 2025-02-17 02:54:17 -08:00
chark1es
e8f6776aa7 add hidden text codes 2025-02-17 02:44:57 -08:00
chark1es
6c2417aa20 fix csv download 2025-02-17 02:34:03 -08:00
chark1es
1498ae5670 update rendering 2025-02-17 02:30:56 -08:00
chark1es
8f6a9c4a48 fetch directly from server for files 2025-02-17 02:17:55 -08:00
chark1es
825b914f79 fix uploading issues 2025-02-17 02:03:25 -08:00
chark1es
0ba3142792 fix console errors 2025-02-17 00:18:28 -08:00
chark1es
d43495ec9d remove duplicate filenames 2025-02-16 17:03:28 -08:00
chark1es
4f01f67587 trunicate file name 2025-02-16 17:02:53 -08:00
chark1es
15660161a7 update imports 2025-02-16 17:02:46 -08:00
chark1es
48e4c4eeb5 update imports 2025-02-16 16:54:00 -08:00
chark1es
ccd2490164 update imports 2025-02-16 16:53:02 -08:00
chark1es
a8fb9e02e5 add loading state 2025-02-16 16:46:57 -08:00
chark1es
928818e237 faster saving 2025-02-16 16:44:59 -08:00
chark1es
ee49347ff0 fix duplicate updates 2025-02-16 16:15:15 -08:00
chark1es
2712522bf6 added search and csv 2025-02-16 05:54:34 -08:00
chark1es
cc99d414a2 added attendees 2025-02-16 05:42:17 -08:00
chark1es
4f44ead2f6 change icons 2025-02-16 03:53:10 -08:00
chark1es
1977e9ffb6 fix file preview 2025-02-16 03:47:59 -08:00
chark1es
05a92208ce fix preview errors 2025-02-15 03:27:33 -08:00
chark1es
b4c238de1f Update Officer_EventManagement.astro 2025-02-15 03:05:54 -08:00
chark1es
6e9bb124c4 add file preview 2025-02-15 03:01:43 -08:00
chark1es
151b7a506e made event editor separated 2025-02-15 01:14:51 -08:00
chark1es
52df73b2d8 added ongoing and fix years filter 2025-02-14 15:23:04 -08:00
chark1es
509940dbd2 fix database issues 2025-02-14 15:13:30 -08:00
chark1es
475ba764a7 fix year filter 2025-02-14 15:07:22 -08:00
chark1es
3d59ee0c08 fixed patching error 2025-02-13 05:58:16 -08:00
chark1es
36614817cb fix file deletion 2025-02-13 05:39:25 -08:00
chark1es
da6f5a3cfc improve reliability 2025-02-13 05:32:00 -08:00
chark1es
8eb7fdd90f fix file handling and previews 2025-02-13 05:30:07 -08:00
chark1es
ba52ca0b91 fixed edit popup not showing 2025-02-13 03:57:12 -08:00
chark1es
1d4803a0f6 fix filtering and resetting issue 2025-02-13 03:53:56 -08:00
chark1es
d6df93d0f6 inline filters 2025-02-13 03:35:08 -08:00
chark1es
09453c8755 add daisyui buttons 2025-02-13 03:32:33 -08:00
chark1es
83324134b3 added reset on refresh 2025-02-13 03:21:44 -08:00
chark1es
6748434fd7 removed debounce since its using cached events 2025-02-13 03:13:38 -08:00
chark1es
f62a3337a8 faster events search 2025-02-13 03:12:05 -08:00
chark1es
4ad575605d made it rely on cache rather then sending an individual request 2025-02-13 03:10:01 -08:00
chark1es
61baa96611 add filtering 2025-02-13 02:55:25 -08:00
chark1es
6327ca498a filters only the published events 2025-02-13 00:46:51 -08:00
chark1es
4e1f3f6720 i forgot what i did 2025-02-13 00:26:26 -08:00
chark1es
b0cb20d0f4 fix multiple files not showing 2025-02-11 02:41:59 -08:00
chark1es
ac36431107 fix jszip and button pos 2025-02-11 02:09:59 -08:00
chark1es
1aee8686fa add download button for files 2025-02-11 02:07:40 -08:00
chark1es
14d038d066 added file buttons 2025-02-11 01:54:53 -08:00
chark1es
b697f0e644 separated the two sections for better viewing 2025-02-11 01:50:22 -08:00
chark1es
9189b03a87 Update EventsSection.astro 2025-02-11 01:36:36 -08:00
chark1es
e273e3db60 added a way to export to csv for events 2025-02-11 00:54:35 -08:00
chark1es
f11bc34caf fix graduation bug 2025-02-11 00:54:26 -08:00
chark1es
d423bf73a1 reset modal when tab gets closed 2025-02-11 00:42:22 -08:00
chark1es
8387cff9d5 checks to see if event has food and time checked in 2025-02-11 00:40:12 -08:00
chark1es
c8ec34a911 added attendees 2025-02-10 23:42:44 -08:00
chark1es
db2d9e4154 fix string issues 2025-02-10 23:15:29 -08:00
chark1es
9277d216af add pagination 2025-02-10 22:59:37 -08:00
chark1es
2eba751204 fixed popup for events 2025-02-10 22:37:49 -08:00
chark1es
4e4d22fa10 disabled autocancellation 2025-02-10 22:37:13 -08:00
chark1es
b37d7c577c Add Datatime conversion 2025-02-10 22:36:58 -08:00
chark1es
cb549b9b7c Added popup 2025-02-10 16:51:22 -08:00
chark1es
0607b67156 added officer event_management boilerplate 2025-02-10 16:43:40 -08:00
chark1es
2a1614edbc fixed events check in 2025-02-10 15:33:04 -08:00
chark1es
0540caca8c remove old user profiles 2025-02-10 14:05:26 -08:00
chark1es
43fe443c52 changed "Online Store" to "Dashboard" 2025-02-10 14:03:19 -08:00
chark1es
7af88c424d remove old files 2025-02-10 10:58:24 -08:00
chark1es
3306e337ed separated the files into individual components
FYI, the `dashboard-section` tag is used to show/hide the content. For everyone component in the dashboard, make sure you include it
2025-02-06 12:04:08 -08:00
chark1es
f758376592 Added icons, made it dark theme 2025-02-06 11:47:51 -08:00
chark1es
e4f5358b7e dashboard init 2025-02-06 02:09:38 -08:00
chark1es
6cbe277c8c new sections 2025-02-05 14:05:33 -08:00
chark1es
18fbf786a7 remove buttons 2025-02-03 14:49:10 -08:00
chark1es
3181b0179d fixed some bugs 2025-02-03 13:04:43 -08:00
chark1es
6df69275b9 fix major field not populating 2025-02-03 12:39:30 -08:00
chark1es
3bc60e4739 fix rendering issue 2025-02-03 05:09:38 -08:00
chark1es
7562fabc2e Update UserProfile.astro 2025-02-03 04:56:01 -08:00
chark1es
b9be0f9cb8 added the ability to download multiple files as a zip 2025-02-03 04:52:14 -08:00
chark1es
cca038397c used new fileviewermodal 2025-02-03 04:46:55 -08:00
chark1es
f3efea865b fixed modal randomly popping up 2025-02-03 04:41:59 -08:00
chark1es
1aa4c5e6ae new file previewer modal
old one is reusing the component, making lots of bugs appear
2025-02-03 04:20:31 -08:00
chark1es
b811bb6545 partial working 2025-02-03 04:13:48 -08:00
chark1es
47acfcf7e2 fixed partial bug with non-pdf files 2025-02-03 03:45:42 -08:00
chark1es
06aac15f83 add loading state 2025-02-03 03:33:44 -08:00
chark1es
22dcb0fe62 fix the resume preview 2025-02-03 03:25:45 -08:00
chark1es
00edb569c3 create a pdf modal 2025-02-03 03:25:36 -08:00
chark1es
04ad149cec added and fixed user settings 2025-02-03 03:13:55 -08:00
chark1es
6b9d793590 fix default profile view 2025-02-03 03:07:46 -08:00
chark1es
e57f76bd4c major rework
- Separated the components for pocketbase
- Removed the entire profile page temporarily and only added back basic user profile
- Fixed many components dependencies
2025-02-03 02:45:35 -08:00
chark1es
172c56e023 fixed manual refresh 2025-02-02 16:54:28 -08:00
chark1es
4ea541fc64 fix auth handling 2025-02-02 04:24:06 -08:00
chark1es
f9274a319a fix pdf file not showing for resumes 2025-02-02 04:23:55 -08:00
chark1es
d831469e5d add logging 2025-02-02 04:15:52 -08:00
chark1es
62ef4d22f7 fix officer view 2025-02-02 04:15:46 -08:00
chark1es
a0b2702bed remove temp notification settings 2025-02-02 04:15:38 -08:00
chark1es
cf4cda5628 add logging 2025-02-02 04:15:17 -08:00
chark1es
18b3110a22 add officer view 2025-02-01 04:38:48 -08:00
chark1es
4c9e1b5aa4 add major list 2025-02-01 04:03:48 -08:00
chark1es
1448fedcf3 Update profile.astro 2025-02-01 04:03:38 -08:00
chark1es
49e1b00586 move settings around 2025-02-01 03:56:10 -08:00
chark1es
eea944fcd2 new profile look! 2025-02-01 01:20:57 -08:00
chark1es
7cd50bea6c centered text for member table 2025-02-01 00:53:04 -08:00
chark1es
040d431e4d center event text 2025-02-01 00:51:32 -08:00
chark1es
1b394d27ab fix regex 2025-02-01 00:49:18 -08:00
chark1es
acb3e4a8d6 fix file upload limit 2025-02-01 00:27:21 -08:00
chark1es
98ee9f3710 fix file viewer buttons 2025-02-01 00:19:34 -08:00
chark1es
fc39192f61 fix button popup for files and datetime 2025-02-01 00:04:31 -08:00
chark1es
022f730ae9 add progress bar 2025-01-31 23:56:49 -08:00
chark1es
2b5bde9f42 show files if its a past event 2025-01-31 23:35:33 -08:00
chark1es
5f00e88c68 fix file deletion 2025-01-31 23:28:55 -08:00
chark1es
9b49a8f088 added profile
separated profile from online-store (kind of)

added event management, editor, and viewer
2025-01-31 06:36:46 -08:00
chark1es
961cf1d9c7 add event management 2025-01-31 02:42:53 -08:00
chark1es
e07bd83174 split into components 2025-01-31 02:42:39 -08:00
chark1es
4f31592aa1 add config, pdf, and partial documentation support 2025-01-28 17:25:52 -08:00
chark1es
08a6a8a15c fix width for online-store 2025-01-28 17:25:21 -08:00
chark1es
06c0155c82 add yaml support 2025-01-28 17:25:10 -08:00
chark1es
e0b82cdf73 added sponsor view, fix logout session 2025-01-28 02:57:52 -08:00
chark1es
50960f6939 disable button when not logged in 2025-01-28 02:39:55 -08:00
chark1es
5fbcc7e2a0 Update online-store.astro 2025-01-27 17:57:14 -08:00
chark1es
7cdb53b050 coming soon page 2025-01-27 17:09:17 -08:00
chark1es
dee0a65dbe fix mobile view 2025-01-27 17:00:22 -08:00
chark1es
3684071673 allows editing profiles 2025-01-27 16:46:23 -08:00
chark1es
903fe32d9b add officer view 2025-01-27 16:14:48 -08:00
chark1es
53da43fa05 fix conflicts 2025-01-27 10:40:17 -08:00
chark1es
055cbb67c0 Merge branch 'main' into auth 2025-01-27 10:36:01 -08:00
chark1es
d3fe67693e fix labels 2025-01-24 04:41:14 -08:00
chark1es
2053bc668a add some skeleton code 2025-01-24 04:35:21 -08:00
chark1es
72cb6ecb49 Add online store 2025-01-24 04:00:29 -08:00