Commit Graph

65 Commits

Author SHA1 Message Date
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
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
205b241e3b
refactor(components): update storyForm
use vue's new `defineModel` functionality to mutate data more cleanly
2024-01-04 15:19:08 -05:00
cb2d4328a8
refactor(components): remove unused loaded injection from sidebar 2023-12-31 01:54:02 -05:00
ff0787f75e
refactor(components): change story overview card
make it show actions at the bottom depending on a prop `showActions`
2023-12-31 01:51:51 -05:00
8f24c9ff3d
refactor(components): create story actions component and related functions 2023-12-31 01:50:35 -05:00
21dbcde7c8
refactor(components): change layout
add collapsible version of navbar to side if screen width < medium, otherwise display the full horizontal navbar at the top
2023-12-30 19:09:06 -05:00
6faa88d83f
refactor(components): change common ip section in profile admin panel
remove v-if null-check
2023-12-30 16:37:10 -05:00
d2b4476b43
feat(components): show coAuthor in story info (if any) 2023-12-30 15:52:28 -05:00
83c1379ba6
fix(components): add null check to singleStory.vue
if author is null for some reason, show a static "..." instead of breaking everything
2023-12-30 15:51:33 -05:00
f8913e976d
refactor(components): remove i18n stub from singleReview.vue
we don't need it!
2023-12-30 15:50:20 -05:00
8f45dbe563
style(*): edit indents 2023-12-29 20:53:29 -05:00
c8e84c909e
style(*): cleanup unused imports 2023-12-29 20:11:07 -05:00
1c69ad6c2c
refactor(pages): move auth pages to auth subdirectory
i.e., /login, /register, /logout
2023-12-29 18:19:36 -05:00
b65c725a36
refactor(components): display co-author in story listing 2023-12-29 18:06:14 -05:00
d4ae55a25b
refactor(components): finish rename of storyForm.vue
also add mechanisms to save drafts beyond the original debounced functions
2023-12-29 17:21:02 -05:00
8a7c10b63a
chore(components): remove storyform.vue
this is to rename it
2023-12-29 17:11:19 -05:00
f2a7d0d9a6
fix(components): correct a-form-item prop type
undefined is not a string
2023-12-28 19:58:59 -05:00
813feaa31c
refactor(components): add custom submit text prop to story form 2023-12-28 19:58:37 -05:00
5d1af6a6fe
revert(components): roll back i18n boilerplate
we might not need it, since people of all walks of life can use the current site as-is, without needing US to localize things...
2023-12-28 19:58:25 -05:00
aad8f20466
fix(components): add last prop to story listing component 2023-12-25 20:17:11 -05:00
3e5af47107
refactor(*): refactor tsconfig paths
looks/feels nicer
2023-12-20 17:23:31 -05:00
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
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
b3594c3cdb
refactor(server/utils): add chapter index parameter to storyCheck function 2023-12-06 22:16:35 -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
c4fc0806ed
feat(pages): add main story page
(finally)
2023-12-06 21:42:04 -05:00
14d9d12e5b
fix(components): make navbar show up properly 2023-12-01 17:58:12 -05:00
e574ef0b43
feat(components): create story info component for story page 2023-12-01 17:55:28 -05:00
9ecb93d85d
feat(pages): add chapter picker dropdown to story pages 2023-12-01 17:52:42 -05: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
fe2c471794
style(components): fixup icon 2023-10-11 16:40:30 -04:00
188b55724c
refactor(components): add co-author field to the story form 2023-10-11 16:27:32 -04:00
ba13c4a52f
refactor(components): add initialValue prop to the find-user component
in case we want to change instead of create
2023-10-11 16:26:47 -04:00
62f71b12c8
feat(components): create a component to find and select users by username that aren't banned
for co-author and (eventually) blocking
2023-10-11 15:32:18 -04:00
54349b4f29
refactor(components): cleanup
remove unused code in sidebar and default layout
2023-10-11 15:14:52 -04:00
39b5e83f37
feat(components): add "new story" button to navbar 2023-10-11 15:13:59 -04:00
dd5067db37
fix(components): update path to tinymce 2023-10-11 14:09:06 -04:00
41e24f4a8e
feat(components): add "shared ip" section to admin panel 2023-10-11 13:25:18 -04:00
519772fd88
fix(components): remove type assertion from body of genre picker component 2023-10-10 22:20:51 -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
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