Commit Graph

215 Commits

Author SHA1 Message Date
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
d224f43448
fix(components): add logout link to navbar 2023-10-10 22:11:22 -04:00
e9df5cbe1a
refactor(components): migrate story form to use vee-validate's useForm instead of the equivalent component
this is because v-slot values are not accessible from the `setup` script
2023-10-10 22:10:42 -04:00
83d1e97f49
feat(api): add api endpoint to log user out 2023-10-10 22:08:47 -04:00
6f770a1cb8
style(components): fix formatting on story listing components 2023-10-10 22:07:57 -04:00
dd30f08d9a
fix(components): point tinymce component to local installation
tiny.dick has caught up to us unfortunately :/
2023-10-10 22:07:12 -04:00
90b0256008
refactor(server/utils): create gridfs bucket for draft contents 2023-10-10 22:05:26 -04:00
dd74c8417a
fix(server/utils): fix mammoth and sanitize-html imports
(make it so that we're not importing a namespace instead of a default export)
2023-10-10 22:04:42 -04:00
b0e949df3b
perf(client-side): stop providing an injectable user object
nuxt-auth takes care of this with `useAuth`; redundant
2023-10-10 22:02:42 -04:00
98d93f9178
refactor(typing): extend nuxt-auth's sessionData type 2023-10-10 22:00:38 -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