|
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 |
|
|
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 |
|