Commit 4365b64
refactor: CASL, Timezone, Database Scripts (#149)
* fix: Client CASL (#138)
* fix: client casl
* simplyify survey fetch
* simplify fetch and normalize function
* review: add comments for Natalie
* deserialization updates
* timezone handling updates
* refactor: consolidate useApi
* refactor: update signup page with api response structure
* refactor: mc
---------
Co-authored-by: Anant Mittal <anmittal@uw.edu>
* feat: location script (#137)
* feat: location script
* bulk import options
* refactor: moved location CRUD script to server/src
- resolves absolute import statements
- IDE recognizes node packages
* remove: old location crud file
---------
Co-authored-by: Anant Mittal <anmittal@uw.edu>
* Timezone Fixes (#153)
* fix: client-side permission checks will always use Pacific timezone regardless of the server TIMEZONE configuration, potentially causing inconsistencies between client and server permission evaluations
* Update client/src/hooks/useAbility.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update server/.env.example
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update client/src/components/forms/LocationSelect.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* revert: gh copilot fix
* refactor: move all scripts to server folder
---------
Co-authored-by: Natalie Robbins <102693174+natalierobbins@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 3bbb96c commit 4365b64
File tree
34 files changed
+2017
-762
lines changed- client/src
- components/forms
- contexts
- hooks
- pages
- NewUser
- Profile
- Signup
- StaffDashboard
- components
- SurveyDetails
- SurveyEntryDashboard
- components
- Survey
- types
- utils
- scripts
- server
- src
- middleware
- permissions
- __tests__
- routes
- scripts
- assets
- coupons
- sample-data
- seeds
34 files changed
+2017
-762
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
151 | 158 | | |
152 | 159 | | |
153 | 160 | | |
| 161 | + | |
154 | 162 | | |
155 | 163 | | |
156 | 164 | | |
| |||
200 | 208 | | |
201 | 209 | | |
202 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
203 | 215 | | |
204 | 216 | | |
205 | 217 | | |
| |||
218 | 230 | | |
219 | 231 | | |
220 | 232 | | |
| 233 | + | |
221 | 234 | | |
222 | 235 | | |
223 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
| |||
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
17 | | - | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
20 | 32 | | |
21 | 33 | | |
0 commit comments