|
c795e5d293
|
feat(api): add dedicated route to fetch user's own stories
|
2023-12-31 01:48:22 -05:00 |
|
|
f2e40dabf5
|
fix(build): remove oauth imports
not yet!
|
2023-12-30 17:36:22 -05:00 |
|
|
088842ac38
|
refactor(config): change tsconfig
set `verbatimModuleSyntax` to false
|
2023-12-30 16:58:44 -05:00 |
|
|
cb2f171d86
|
refactor(api): switch avatar path to assets
|
2023-12-30 16:35:35 -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 |
|
|
1447960b1a
|
refactor(db/models): update populatedDoc types
- remove `& Document` qualifier
- cast `T | number` to T with the `as` keyword
|
2023-12-29 19:06:55 -05:00 |
|
|
576684e364
|
refactor(server/utils): make paths and imports more concise and correct
|
2023-12-29 16:37:20 -05:00 |
|
|
922807ba6a
|
refactor(server/utils): make paths and imports more concise and correct
|
2023-12-29 16:34:00 -05:00 |
|
|
ed4536fa91
|
chore(api): remove path aliases from tsconfig
in favour of the nuxt aliases
|
2023-12-28 19:58:59 -05:00 |
|
|
18f11f7ca7
|
refactor(api): check if coAuthor form field is an empty string
if it is, set coAuthor in document to null, otherwise, set it to the provided value
|
2023-12-28 19:58:54 -05:00 |
|
|
5b368cf832
|
refactor(api): change jwt generation call to use new function name
|
2023-12-28 19:58:26 -05:00 |
|
|
60e564781d
|
refactor(*): use more sane path aliases
|
2023-12-28 19:58:26 -05:00 |
|
|
3e5af47107
|
refactor(*): refactor tsconfig paths
looks/feels nicer
|
2023-12-20 17:23:31 -05:00 |
|
|
be32464c93
|
fix(api): fix param name for reviews
|
2023-12-20 16:42: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 |
|
|
7f1f8a72f5
|
refactor(api): get new reply id from save() call
|
2023-12-09 17:39:28 -05:00 |
|
|
3bc828ad5e
|
fix(api): allow admins to access a hidden story's full contents
|
2023-12-09 16:58:35 -05:00 |
|
|
37e9bcc17c
|
fix(api): fix error not throwing on an illegal access of a full hidden story
|
2023-12-09 16:56:57 -05:00 |
|
|
ee7ea24e4e
|
refactor(*): rename route
change "bands" to "band"
BREAKING CHANGE: breaks anything that tries to access `/api/bands/*`
|
2023-12-06 22:22:48 -05:00 |
|
|
22816477eb
|
refactor(server/utils): add chapter index parameter to storyCheck function
|
2023-12-06 22:11:41 -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 |
|
|
fa27a16e65
|
fix(api): update review editing endpoint
when checking for whether the requester is the author, treat the author field as an object rather than a number (id)
|
2023-12-06 21:48:29 -05:00 |
|
|
c9f5d5466d
|
fix(api): populate user's favourite stories' bands
|
2023-12-06 21:46:33 -05:00 |
|
|
b5454e9363
|
feat(api): add endpoint to fetch latest stories
|
2023-12-06 21:38:30 -05:00 |
|
|
4ce4693e56
|
feat(api): implement band editing
|
2023-12-06 21:22:52 -05:00 |
|
|
61c57e4161
|
refactor(api): pass chapter index to chapterTransformer in individual chaper get route
|
2023-12-01 17:54:30 -05:00 |
|
|
e9c4de973a
|
fix(api): fix double period in uploaded file name
|
2023-10-12 22:56:50 -04:00 |
|
|
a63a470a10
|
feat(api): create endpoints to check if a given username/email already exists in the database
|
2023-10-11 17:00:18 -04: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 |
|
|
f1190af5df
|
refactor(api): add api route to retrieve full story information
with text
|
2023-10-11 16:39:11 -04:00 |
|
|
74995f626b
|
feat(api): add api endpoint for fetching all users that have matching usernames
|
2023-10-11 16:24:48 -04:00 |
|
|
01d3b7f22b
|
feat(api): integrate co-author feature in api routes and helpers
|
2023-10-11 15:31:02 -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 |
|
|
bd9e3d5336
|
feat(server/middleware): add middleware to track ip addresses on each logged-in request
|
2023-10-11 13:24:44 -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 |
|
|
8a042ec028
|
fix(api): do not import sharp as a namespace
|
2023-10-10 22:42:59 -04:00 |
|
|
122976f707
|
perf(api): change "all bands" endpoint to use a cachedEventHandler
|
2023-10-10 22:40:08 -04:00 |
|
|
dd97a220f5
|
feat(api): create endpoint for fetching custom sidebar items
|
2023-10-10 22:37:08 -04:00 |
|
|
e1fa6ab0a8
|
perf(api): convert handler for 'total stories+authors' endpoint to a cachedEventHandler
|
2023-10-10 22:35:16 -04:00 |
|
|
32b701d3c4
|
refactor(api): remove log statements from /bands/[id]
|
2023-10-10 22:28:23 -04:00 |
|
|
d8ae07baa3
|
fix(api): modify session endpoint to check for a cookie as well as an authorization header
|
2023-10-10 22:27:47 -04:00 |
|
|
dbc5cab712
|
feat(api): create endpoint to fetch all authors (users who have written >1 story)
|
2023-10-10 22:14:44 -04:00 |
|