Commit Graph

280 Commits

Author SHA1 Message Date
3ce048ced2
feat(api): create subscription management endpoint 2023-10-11 16:43:05 -04:00
8d8ab31bfc
refactor(pages): update new story page to use new story-form props 2023-10-11 16:42:22 -04:00
7167919577
refactor(components): brighten admin badge color 2023-10-11 16:41:06 -04:00
fe2c471794
style(components): fixup icon 2023-10-11 16:40:30 -04:00
f1190af5df
refactor(api): add api route to retrieve full story information
with text
2023-10-11 16:39:11 -04:00
e13f9de5d3
feat(client-side): complete other debounced autosave function
(this is for editing stories)
2023-10-11 16:38:20 -04:00
64f3bf23ea
refactor(server/utils): add chapter index argument to chapterTransformer 2023-10-11 16:37:18 -04:00
8d162c8029
fix(typing): add coAuthor to form story interface 2023-10-11 16:36:29 -04:00
188b55724c
refactor(components): add co-author field to the story form 2023-10-11 16:27:32 -04:00
ba13c4a52f
refactor(components): add initialValue prop to the find-user component
in case we want to change instead of create
2023-10-11 16:26:47 -04:00
74995f626b
feat(api): add api endpoint for fetching all users that have matching usernames 2023-10-11 16:24:48 -04:00
62f71b12c8
feat(components): create a component to find and select users by username that aren't banned
for co-author and (eventually) blocking
2023-10-11 15:32:18 -04:00
01d3b7f22b
feat(api): integrate co-author feature in api routes and helpers 2023-10-11 15:31:02 -04:00
54349b4f29
refactor(components): cleanup
remove unused code in sidebar and default layout
2023-10-11 15:14:52 -04:00
39b5e83f37
feat(components): add "new story" button to navbar 2023-10-11 15:13:59 -04:00
269a26b976
refactor(pages): add custom "empty" template 2023-10-11 14:21:57 -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
dd5067db37
fix(components): update path to tinymce 2023-10-11 14:09:06 -04:00
2a2aa33ffe
fix(components): make navbar grow to fill available width 2023-10-11 13:26:23 -04:00
41e24f4a8e
feat(components): add "shared ip" section to admin panel 2023-10-11 13:25:18 -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
681d90dc6f
feat(pages): add subscribe+unsubscribe buttons to bands page 2023-10-11 13:23:08 -04:00
a5ca37b4b7
feat(pages): create user profile page 2023-10-10 22:44:04 -04:00
8a042ec028
fix(api): do not import sharp as a namespace 2023-10-10 22:42:59 -04:00
6c4e62b3d0
refactor(pages): tweak login page
it looks a bit nicer and uses functions from the `useAuth` composable to manage the session
2023-10-10 22:41:54 -04:00
122976f707
perf(api): change "all bands" endpoint to use a cachedEventHandler 2023-10-10 22:40:08 -04:00
3bfa7611bc
feat(pages): create registration page 2023-10-10 22:39:04 -04:00
bed696b8ae
feat(pages): create authors page
this page will load a list of all authors on the site (users with >=1 story)
2023-10-10 22:38:36 -04:00
c67f1bcfb1
feat(pages): create logout page 2023-10-10 22:37:40 -04:00
dd97a220f5
feat(api): create endpoint for fetching custom sidebar items 2023-10-10 22:37:08 -04:00
152e02bb5c
feat(pages): create (placeholder) homepage 2023-10-10 22:36:08 -04:00
e1fa6ab0a8
perf(api): convert handler for 'total stories+authors' endpoint to a cachedEventHandler 2023-10-10 22:35:16 -04:00
74b541df75
chore(workspace): add conventional commit scope for server plugins 2023-10-10 22:33:48 -04:00
97b640f632
refactor(server/plugins): remove log statements to reduce clutter 2023-10-10 22:33:05 -04:00
b8a2de3121
chore(deps): add axios and nuxt-speedkit deps 2023-10-10 22:30:38 -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
5a5719dc52
style(client-side): run prettier on tinymce configs 2023-10-10 22:26:51 -04:00
662a97ffc5
chore: null
it's commented out code lmao
2023-10-10 22:26:17 -04:00
c502acbba9
fix(api/utils): fix listquerier
make it so that `author` is an object we can assign to, NOT a number
2023-10-10 22:25:25 -04:00
b4e8894291
fix(composables): remove jwt auth header from useApiFetch implementation
it made things worse
2023-10-10 22:22:45 -04:00
519772fd88
fix(components): remove type assertion from body of genre picker component 2023-10-10 22:20:51 -04:00
e50fd2aba9
refactor: change log verbosity to silly (for now) 2023-10-10 22:20:04 -04:00
ba05134015
refactor(client-side): create utilities
mainly intended to avoid repitition in long lists of data like stories, authors, and/or bands
2023-10-10 22:19:18 -04:00
00d4467b87
refactor(client-side): create pinia store for autosave information 2023-10-10 22:16:30 -04:00
8bda275244
feat(pages): create default new story page 2023-10-10 22:15:50 -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