Commit aadeb87
feat: rate limiting email interest submissions (#107)
* feat: form autosaving, submission, and tweaks to form fields (#98)
* feat: form autosaving, submission, and tweaks to form fields
* feat: storage interface + r2 implementation
* chore: added error boundary for application forms
* chore: added success and error submission message and some optimizations
* chore: added regex validation and invalid application state
* chore: removed resume_url column
* chore: removed useless env variables
* chore: refactored application submission handlers, services and repository
* chore: changed submission status for db, updated loading state and error response for submission
* chore: minor changes and created migration to update `saved_at` column
* chore: cleanup and small changes
* chore: change save delay to 3 seconnds instead of 1
* chore: removed testing code
* chore: added requested changes from alex
* chore: refactor frontend
* chore: ensure application is published
* refactor(applications): move application open function to event service and shortened
* fix(portal): upcoming and application past button states and card states
* fix(roles): add applicant role AFTER submission
* refactor(application): rewrote some response values for application json
---------
Co-authored-by: AlexanderWangY <alexander.yisu.wang@outlook.com>
* Rate limiting for /interest (#105)
---------
Co-authored-by: Hieu Nguyen <76720778+hieunguyent12@users.noreply.github.com>
Co-authored-by: Hugo Liu <98724522+hugoliu-code@users.noreply.github.com>1 parent fab857d commit aadeb87
File tree
47 files changed
+1908
-794
lines changed- apps
- api
- cmd/api
- internal
- api
- handlers
- config
- db
- migrations
- queries
- repository
- sqlc
- ptr
- services
- storage
- web
- src
- components
- Form/fields
- ui
- FileField
- MultiSelect
- features
- Application
- components
- stories
- hooks
- Event
- components
- utils
- FormBuilder
- questions
- stories
- forms
- lib/toast
- routes
- events/$eventId
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+1908
-794
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
| 72 | + | |
64 | 73 | | |
65 | 74 | | |
66 | | - | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
18 | 37 | | |
19 | 38 | | |
20 | 39 | | |
| 40 | + | |
21 | 41 | | |
22 | 42 | | |
23 | 43 | | |
24 | 44 | | |
25 | 45 | | |
| 46 | + | |
26 | 47 | | |
27 | 48 | | |
28 | 49 | | |
29 | 50 | | |
30 | 51 | | |
31 | 52 | | |
32 | 53 | | |
| 54 | + | |
33 | 55 | | |
34 | 56 | | |
35 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
1 | 39 | | |
2 | 40 | | |
3 | 41 | | |
| |||
20 | 58 | | |
21 | 59 | | |
22 | 60 | | |
| 61 | + | |
| 62 | + | |
23 | 63 | | |
24 | 64 | | |
25 | 65 | | |
| |||
45 | 85 | | |
46 | 86 | | |
47 | 87 | | |
| 88 | + | |
| 89 | + | |
48 | 90 | | |
49 | 91 | | |
50 | 92 | | |
| |||
75 | 117 | | |
76 | 118 | | |
77 | 119 | | |
| 120 | + | |
| 121 | + | |
78 | 122 | | |
79 | 123 | | |
80 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
89 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
90 | 100 | | |
91 | 101 | | |
92 | 102 | | |
| |||
0 commit comments