Commit Graph

23 Commits

Author SHA1 Message Date
c795e5d293
feat(api): add dedicated route to fetch user's own stories 2023-12-31 01:48:22 -05:00
3a8fd82dae
fix(api): fix new subscriptions not being saved to database
for some reason i forgot to set the field referenced by $addToSet to `body.push` lmao #justcopyandpastethings
2023-12-30 16:02:27 -05:00
8f45dbe563
style(*): edit indents 2023-12-29 20:53:29 -05:00
c8e84c909e
style(*): cleanup unused imports 2023-12-29 20:11:07 -05:00
922807ba6a
refactor(server/utils): make paths and imports more concise and correct 2023-12-29 16:34:00 -05:00
3e5af47107
refactor(*): refactor tsconfig paths
looks/feels nicer
2023-12-20 17:23:31 -05:00
50e860df5d
refactor(api): use null propagation for fields in subscription payload 2023-12-11 21:34:20 -05:00
088232f750
refactor(api & server/utils): refactor imports of db helpers
create an index file which exports the functions we need in one accessible place
2023-12-11 21:29:46 -05:00
96a0d36bef
fix(api): update user stories endpoint
it now takes into account the new return type for `listQuerier`
2023-12-06 21:52:04 -05:00
c9f5d5466d
fix(api): populate user's favourite stories' bands 2023-12-06 21:46:33 -05:00
a120a295ae
feat(api): add endpoint to update user's account details 2023-10-11 16:46:17 -04:00
c86363b766
feat(api): create endpoint to update user profile 2023-10-11 16:45:39 -04:00
da0b811428
feat(api): create endpoint to retrieve all reviews left on the current user's story 2023-10-11 16:45:11 -04:00
25af14ceea
feat(api): create endpoint for managing hidden bands/authors 2023-10-11 16:44:31 -04:00
8713f442c1
feat(api): create user fav management endpoint 2023-10-11 16:43:32 -04:00
3ce048ced2
feat(api): create subscription management endpoint 2023-10-11 16:43:05 -04:00
5b3515ff8e
fix(api): fix shared ip route to not return the current user in the query 2023-10-11 14:17:15 -04:00
e8bd88e58c
feat(api): create an endpoint to retrieve users with the same ip address as another user 2023-10-11 13:24:10 -04:00
66cfee819d
feat(api): add endpoint to promote/demote a user to/from an admin 2023-10-10 21:58:29 -04:00
309e880b69
feat(api): create endpoint to ban/unban a user
yeeting is now possible :D
2023-10-10 21:57:35 -04:00
6afc547f8e
feat(api): add endpoints for blocking/unblocking a specific user 2023-10-10 21:55:15 -04:00
8bf78a0494
feat(api): add endpoint to get all non-hidden stories a user has written 2023-10-10 21:54:37 -04:00
79f5f2cc10
feat(api): add endpoint for fetching full info for a user 2023-10-10 21:53:53 -04:00