|
f57fd2df84
|
chore(api/utils): remove unused import
|
2023-12-09 17:48:07 -05:00 |
|
|
7e300734d8
|
refactor(api/utils): switch to if...else if for each check
|
2023-12-09 17:32:24 -05:00 |
|
|
46c9a07b7d
|
refactor(api/utils): add isLoggedIn guard to story checks
|
2023-12-09 17:00:22 -05:00 |
|
|
22816477eb
|
refactor(server/utils): add chapter index parameter to storyCheck function
|
2023-12-06 22:11:41 -05:00 |
|
|
c27c81f39c
|
refactor(api/utils): update isAdmin check
make it also check that the user is logged in; eliminates need to type `isLoggedIn()` on the previous line
|
2023-12-06 21:37:54 -05:00 |
|
|
01d3b7f22b
|
feat(api): integrate co-author feature in api routes and helpers
|
2023-10-11 15:31:02 -04:00 |
|
|
1059b560e6
|
refactor(api/utils): replace repetitive "forbidden" and "unauthorized" literals with constant references
|
2023-10-03 00:50:00 -04:00 |
|
|
1338e87238
|
feat(api/utils): add isadmin check
|
2023-10-03 00:33:54 -04:00 |
|
|
09187fa5ac
|
feat(api): add captcha verify utility
|
2023-10-03 00:26:51 -04:00 |
|
|
2b0d478ca7
|
feat(api): add isLoggedIn utility function
for api routes which require authentication
|
2023-10-02 16:20:13 -04:00 |
|
|
ff4b94d913
|
feat(api): ✏️ add story api endpoints
(update/create/delete)
|
2023-10-02 15:44:55 -04:00 |
|