|
410cb580d8
|
refactor(components): add autoEdit call to story form component
... if `canDraft` == false
|
2023-12-09 17:04:57 -05:00 |
|
|
6dfabd87d0
|
feat(nuxt): add formal error page
|
2023-12-09 17:03:36 -05:00 |
|
|
c9be671507
|
refactor(pages): move stuff to default layout
this allows layout to be shared between non-error and error pages without repeating code
|
2023-12-09 17:02:56 -05:00 |
|
|
e8aea81b0b
|
fix(server/utils): add null check to storyQuerier
|
2023-12-09 17:01:13 -05:00 |
|
|
46c9a07b7d
|
refactor(api/utils): add isLoggedIn guard to story checks
|
2023-12-09 17:00:22 -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 |
|
|
b0a69d5d56
|
fix(components): change error prop from undefined to empty string
|
2023-12-06 22:20:09 -05:00 |
|
|
fe7c452231
|
feat(client-side): create story middleware
redirect users to the login page if a story is restricted and they're not logged in
|
2023-12-06 22:19:05 -05:00 |
|
|
17e9d0cbf8
|
chore(deps): add/update dependencies
add typescript, update nuxt
|
2023-12-06 22:17:29 -05:00 |
|
|
b3594c3cdb
|
refactor(server/utils): add chapter index parameter to storyCheck function
|
2023-12-06 22:16:35 -05:00 |
|
|
22816477eb
|
refactor(server/utils): add chapter index parameter to storyCheck function
|
2023-12-06 22:11:41 -05:00 |
|
|
653d5c5f32
|
perf(nuxt): re-enable caching
|
2023-12-06 21:58:35 -05:00 |
|
|
25a68b1f3e
|
refactor(pages): rename session data variable in setup script
i want to make sure only super duper important variables are named "data".
|
2023-12-06 21:57:33 -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 |
|
|
43f16b026d
|
refactor(components): add lock icon
adds a lock icon beside restricted stories in listings if not logged in
|
2023-12-06 21:50:41 -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 |
|
|
b2ca5a13a1
|
feat(pages): create chapter index page
just a page that lists each chapter and its summary
|
2023-12-06 21:44:59 -05:00 |
|
|
c9229b6c59
|
refactor(nuxt): create and use title template
|
2023-12-06 21:43:25 -05:00 |
|
|
c4fc0806ed
|
feat(pages): add main story page
(finally)
|
2023-12-06 21:42:04 -05:00 |
|
|
b21aab4940
|
refactor(db/models): remove existence guard/check from models
|
2023-12-06 21:39:59 -05:00 |
|
|
b5454e9363
|
feat(api): add endpoint to fetch latest stories
|
2023-12-06 21:38:30 -05:00 |
|
|
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 |
|