Commit Graph

460 Commits

Author SHA1 Message Date
a65590d47e
refactor(client-side): use to parameter to check for current url + associated params 2024-03-16 21:09:06 -04:00
8747d6b604
refactor(pages): add auth middleware to registration page 2024-03-16 21:05:37 -04:00
911a8775bb
refactor(nuxt): move nuxt runtime config to separate exported variable 2024-03-16 21:02:22 -04:00
eb69412fd1
perf(api): tweak cachedEventHandler parameters 2024-03-16 20:58:39 -04:00
6a35c4affc
refactor(pages): update login page
navigate to the home page after successful login
2024-03-16 20:57:03 -04:00
d38c217a58
fix(db/models): remove check for story model's existence
the check will always evaluate to `false`, preventing the chapter id counter from being added
2024-03-16 20:53:50 -04:00
5da97f5987
refactor(components): update navbar and sidebar
wrap `new story` button with a nuxt-link
2024-03-16 20:51:27 -04:00
d5c9866cb0
fix(pages): pass pasteOrType property to story edit form 2024-03-16 20:48:29 -04:00
7f0fe97a18
fix(nuxt): enable style extraction for antd components
this fixes flashes of unstyled content on initial page load
2024-03-16 20:32:57 -04:00
d562858532
chore(dependencies): update @ant-design-vue/nuxt 2024-03-16 20:28:12 -04:00
7a9cbb1ffb
refactor(components): wrap story actions component's buttons in a nuxt-link 2024-03-16 20:27:04 -04:00
dcda8143f9
refactor(components): add loading spinner to client-only fallback slot 2024-03-16 20:26:05 -04:00
7b8a089d95
fix(api): fix story chapter ids disappearing after an edit 2024-03-16 20:03:18 -04:00
f1a5cfffd4
fix(api): fall back to grabbing the current element's _id in replaceOrUploadContent call 2024-03-16 15:43:26 -04:00
07ed91b2a1
fix(api): move replaceOrUploadContent call out of else block 2024-03-16 15:32:58 -04:00
b10928fcf7
fix(components): wrap draggable in client-only 2024-03-16 15:29:21 -04:00
85169dba3e
fix(pages): show next and last buttons under the first chapter 2024-03-16 14:06:45 -04:00
4f32f9312a
refactor(pages): add author's notes to story page
since that wasn't already done for some reason....
2024-03-16 14:05:35 -04:00
1cd16a4ecc
fix(client-side): change story content field name in yup schema 2024-03-16 13:56:59 -04:00
739cfb5eff
fix(components): make it so that reordering chapters in the story form no longer causes catastrophic state loss, rendering the tinymce components useless
all hail PORTALS!!!!!
2024-03-15 19:05:23 -04:00
ec050390ad
refactor(dbconfig): make db url ternary check if env == production 2024-01-06 20:37:11 -05:00
7f12cb0af9
fix(pages): update story edit page
remove null propagation from coAuthor field
2024-01-04 20:56:26 -05:00
eab4d5eb8b
feat(client-side): add function to update view count to clientside 2024-01-04 20:55:37 -05:00
8a47da4e67
refactor(nuxt): add site prefix to error page titles 2024-01-04 20:53:25 -05:00
5d921c5087
style(components): add  s to story info 2024-01-04 20:52:57 -05:00
fe44a461ea
refactor(nuxt): add db name to runtime config 2024-01-04 20:50:29 -05:00
417fda7617
feat(api): add a route to update story views
don't worry, there are duplicate/spam checks in place
2024-01-04 20:49:51 -05:00
da8b960004
refactor(server/plugins): add plugin
use mongodb as unstorage driver
2024-01-04 20:49:03 -05:00
4d6398d09f
fix(components): add null propagation to accessor in findUser 2024-01-04 20:47:43 -05:00
69cdaba253
refactor(pages, components): move recaptcha bits to separate component 2024-01-04 20:47:04 -05:00
af1b09f55c
fix(components): pagination works now (for realsies) 2024-01-04 20:46:12 -05:00
c562992c26
chore(dependencies): update vue 2024-01-04 17:13:50 -05:00
96aa993f69
fix(pages): add auth middleware to /my-stuff/stories 2024-01-04 17:08:12 -05:00
84c994448a
fix(components): allow clear in findUser component 2024-01-04 17:05:29 -05:00
a2b627cd11
fix(components): update storyForm
set `coAuthor` field's initial value to whatever is provided in the `data` prop instead of always null
2024-01-04 17:02:04 -05:00
72fa767db0
fix(components): edit findUser.vue
allow `initialOption` prop to be a number
if it is, fetch username via api to provide as the select element's label
2024-01-04 17:00:21 -05:00
74722ddfd6
fix(api): update story editing route
properly await `replaceOrUpdateContent`
2024-01-04 15:20:25 -05:00
205b241e3b
refactor(components): update storyForm
use vue's new `defineModel` functionality to mutate data more cleanly
2024-01-04 15:19:08 -05:00
82fbda41bc
fix(workspace): switch tinymce submodule url back to http 2024-01-03 18:06:35 -05:00
d6c12d5ed8
test(api): create a way to check current working directory 2024-01-03 17:55:06 -05:00
a49d8c1f63
chore(workspace): restructure gitignore 2024-01-03 17:54:00 -05:00
f0a8e07b0e
chore(workspace): add more scopes to conventional commits config 2024-01-03 17:53:34 -05:00
3378cc24be
chore(workspace): add auxillary files
unignore certain files+directories in .idea
update something in .run/
2024-01-03 17:47:52 -05:00
2258f4e7e4
chore(workspace): sync tinymce to main branch 2024-01-03 17:14:45 -05:00
5b50b2ab10
chore(workspace): re-add tinymce submodule 2024-01-03 17:13:19 -05:00
547062afb2
chore(workspace): reinit tinymce submodule (properly) 2024-01-03 17:10:39 -05:00
cf03ec5f18
chore(workspace): reinit tinymce submodule 2024-01-03 17:08:26 -05:00
612b48f6a0
refactor(docs): update readme
make it so that it's no longer the default nuxt boilerplate
2024-01-03 16:57:43 -05:00
2582085925
refactor(ci): update job tags 2024-01-03 00:00:00 -05:00
e0a313dc18
fix(ci): make sure to clone tinymce submodule 2023-12-31 14:25:12 -05:00