Commit Graph

223 Commits

Author SHA1 Message Date
c27c81f39c
refactor(api/utils): update isAdmin check
make it also check that the user is logged in; eliminates need to type `isLoggedIn()` on the previous line
2023-12-06 21:37:54 -05:00
e37a54e775
refactor(api): strengthen typing
add dedicated fetchResult type (ex., for `listQuerier` return)
2023-12-06 21:36:46 -05:00
48db8b0575
refactor(pages): update home page
remove placeholder crap
2023-12-06 21:34:33 -05:00
45783c60a9
refactor(api/utils): update listQuerier helper
make it return an object containing a sliced array and a total
2023-12-06 21:31:50 -05:00
faaf385bde
refactor(server/utils): strengthen typing
mongoose middleware helper functions are now properly typed
2023-12-06 21:30:22 -05:00
9dbf0548d7
refactor(db/models): remove existence guard/check from models 2023-12-06 21:28:51 -05:00
bb1f410d88
refactor(composables): make useApiFetch typing stronger(?) 2023-12-06 21:27:01 -05:00
3a1ddf55e4
refactor(server/middleware): remove mongoose debug flag, set overwriteModels to true 2023-12-06 21:25:47 -05:00
4ce4693e56
feat(api): implement band editing 2023-12-06 21:22:52 -05:00
9d4af2b256
refactor(typing): make all fav/sub/hidden request interface fields optional 2023-12-01 18:03:07 -05:00
722368c707
fix(db/models): short-circuit story model definition + plugin load 2023-12-01 18:01:16 -05:00
3d3580be07
refactor(db/models): short circuit sidebar item model definition 2023-12-01 18:00:12 -05:00
23a7c4d222
refactor(typing): add SingleChapterResult type for singular chapters fetched from the api 2023-12-01 17:59:16 -05:00
14d9d12e5b
fix(components): make navbar show up properly 2023-12-01 17:58:12 -05:00
d5de2499ab
refactor(server/utils): make the chapter index parameter in the chapterTransformer function mandatory 2023-12-01 17:57:17 -05:00
e69965f6ec
refactor(components): edit layout 2023-12-01 17:56:16 -05:00
e574ef0b43
feat(components): create story info component for story page 2023-12-01 17:55:28 -05:00
61c57e4161
refactor(api): pass chapter index to chapterTransformer in individual chaper get route 2023-12-01 17:54:30 -05:00
9ecb93d85d
feat(pages): add chapter picker dropdown to story pages 2023-12-01 17:52:42 -05:00
3b7eb4822e
chore(workspace): edit launch.json
we're now using firefox :)
2023-12-01 17:52:00 -05:00
517ecfdda8
fix(pages): cast band fetch result 2023-12-01 17:51:00 -05:00
9f180a4d30
refactor: create a constant to hold path to .env file (this is temporary)
--- REVERT THIS ---
2023-10-12 23:04:25 -04:00
72da42f96a
refactor(client-side): add plugin to automatically inject ant design styles into html 2023-10-12 23:02:31 -04:00
5d600ef9da
refactor(client-side): add autosave store actions 2023-10-12 23:01:43 -04:00
20b69c82da
fix(server/utils): prepend . to file extension checks 2023-10-12 22:58:10 -04:00
afcd71a50d
fix(components): catch possible exceptions in uploadOrPaste component instead of letting them fail the whole opreation 2023-10-12 22:57:39 -04:00
e9c4de973a
fix(api): fix double period in uploaded file name 2023-10-12 22:56:50 -04:00
c925534eb4
fix(client-side): fix autosave store not updating 2023-10-12 22:56:09 -04:00
2085131d5a
fix(db/models): only register counter plugin if model doesn't already exist 2023-10-12 22:28:37 -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
a0f028cbf1
chore(workspace): remove pnpm lockfile from git 2023-10-11 16:56:58 -04:00
e3d645c4dc
refactor: create plugin to track whether the page is fully loaded or not 2023-10-11 16:54:32 -04:00
1b75c199a4
refactor(nuxt): add cache, treeshaking and sourcemap capabilities to nuxt config 2023-10-11 16:53:33 -04:00
b1c94ab0ae
refactor: edit common function for database plugin and middleware 2023-10-11 16:51:03 -04:00
44606e53d5
feat(pages): add page for browsing a band's stories 2023-10-11 16:49:05 -04:00
04dd876698
refactor(pages): edit styles on forum page's iframe 2023-10-11 16:48:30 -04:00
cc31f0c272
fix(pages): add auth middleware to story edit page 2023-10-11 16:47:56 -04:00
3d742b968b
feat(pages): create story editing page 2023-10-11 16:46:57 -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
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