|
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 |
|
|
f235d7da44
|
fix(server/middleware): ficmas middleware scans the current year instead of what's in the .env file
truly automatic!
|
2023-10-10 22:13:26 -04:00 |
|
|
2f60479ad2
|
refactor(api): refactor logging in login endpoint to use winston instead of plain console.log
|
2023-10-10 22:12:36 -04:00 |
|
|
83d1e97f49
|
feat(api): add api endpoint to log user out
|
2023-10-10 22:08:47 -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 |
|
|
d67530eb64
|
refactor(server/middleware): rename currentUser middleware
|
2023-10-10 21:56:25 -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 |
|
|
a6dd1002e2
|
refactor(server/middleware): update middlewares to use winston logger instead of plain console.log
|
2023-10-05 02:07:05 -04:00 |
|
|
b000c6734a
|
refactor(api): rename imports and refactor error messages
|
2023-10-03 01:24:06 -04:00 |
|
|
218bd5f565
|
chore(workspace): allow implicit this in tsconfig
|
2023-10-03 01:20:29 -04:00 |
|
|
6167a9ea70
|
style: run prettier
|
2023-10-03 01:19:36 -04:00 |
|
|
f0346ebdbd
|
feat(api): add an endpoint to retrieve the users who have favourited a specific story
|
2023-10-03 01:18:12 -04:00 |
|
|
6b5b01fdd6
|
refactor(api): change error messages to imported constant values
|
2023-10-03 01:17:21 -04:00 |
|
|
c9723e644f
|
feat(api): add avatar upload route
|
2023-10-03 00:58:52 -04:00 |
|
|
da700b90d5
|
feat(server/middleware): create request logging middleware
|
2023-10-03 00:58:05 -04:00 |
|
|
84502b68b8
|
fix(server/middleware): add guard against setting event.context.currentUser to null
|
2023-10-03 00:57:21 -04:00 |
|
|
643c8b3c77
|
refactor(server/middleware): create middleware to add the current story's chapter index to the context as an int (if it exists)
because convenience
|
2023-10-03 00:56:16 -04:00 |
|
|
d270f2a045
|
feat(api): add a "get all bands" endpoint
|
2023-10-03 00:54:55 -04:00 |
|
|
8070e8c555
|
feat(api): add endpoints for retrieving a band's info and its associated stories
|
2023-10-03 00:48:41 -04:00 |
|
|
9bf5e9dc38
|
feat(api): create review endpoints for creating, editing, deletion and replying
|
2023-10-03 00:21:14 -04:00 |
|