509 Commits

Author SHA1 Message Date
64acbb60f7
refactor(nuxt): update app.vue
wrap nuxt error boundary with `a-extract-style` component
also remove commented-out `NuxtWelcome` component
2024-11-11 17:56:50 -05:00
428023b89a
refactor(nuxt): update body styles in app.vue 2024-11-11 17:53:09 -05:00
1235f89163
chore(nuxt): update nuxt config
change esbuild target to `es2020` to make import.meta properties not undefined
2024-11-11 17:48:50 -05:00
cdab870cb5
refactor(server/utils): cleanup
remove unnecessary code from db connector function
2024-11-11 17:46:15 -05:00
4f1f7a9664
chore(dependencies): add dependencies to make migrator script work 2024-11-11 17:43:35 -05:00
82d6335aaa
chore(nuxt): bump nuxt 2024-11-11 17:41:19 -05:00
09762a7efb
fix(pages): redirect to homepage if user isn't found from api 2024-11-11 17:31:05 -05:00
40bb98eb1d
fix(api): fix replaceOrUpdateContent call not matching the required signature 2024-11-11 17:28:18 -05:00
b782522f33
fix(api): fix replaceOrUpdateContent call not matching the required signature 2024-11-11 17:21:17 -05:00
2aae7ea2c4
refactor(db/models): change jwt expiry time 2024-11-11 17:17:46 -05:00
05d11e0ea5
refactor(api): change stuff in story updating route
if the story doesn't exist/is null, throw
ensure chapter word count is updated (since we weren't already doing that for some reason....)
instead of clearing the original story's chapters and re-adding them one by one, update the existing ones in place, otherwise push to the array
use new signature for `replaceOrUploadContent` call
ensure chapters are sorted
2024-07-09 21:10:03 -04:00
d030346dde
fix(components): replace console.error -> console.warn 2024-07-09 20:54:30 -04:00
6016813f4c
refactor(components): update story form
add `draftData` prop to distinguish whether we're editing a draft or a published story
actually renumber chapter indexes after reordering
use draftData prop in form change callback
2024-07-09 20:53:50 -04:00
4838b7b624
fix(components): un-scope story list styles 2024-07-09 20:40:24 -04:00
5c6cb84383
refactor(components): sidebar looks and acts prettier now 2024-07-09 20:39:49 -04:00
25b7e723f6
refactor(api): actually use doNotSelect filter when querying user at login 2024-07-09 20:36:41 -04:00
609562b7fa
refactor(client-side): make list actions async 2024-07-09 20:33:20 -04:00
a7b8c07952
refactor(components): navbar updates
add `key` attribute to `a-menu` element
only show "new story" button to logged in users
change `data` check to check for `data.user`
2024-07-09 20:31:53 -04:00
e28f6b6974
refactor(pages): add title to login page 2024-07-09 20:23:03 -04:00
af1e08227d
refactor(pages): remove top margin from home page 2024-07-09 20:20:10 -04:00
abbdc61e79
chore(dependencies): bump everything 2024-07-09 20:18:16 -04:00
1a3135c6c4
refactor(pages, components): rearrange layout
sidebars now open beside the actual page content instead of beside the body
2024-04-20 20:59:30 -04:00
05a20ff94e
fix(pages, components): fix inconsistent theme when logging in/out
manually set body's `data-theme` attribute to the appropriate value
2024-04-20 20:56:47 -04:00
c68762ceac
chore(dependencies): update tinymce related dependencies
add @tinymce/tinymce-vue, remove base tinymce package [we have a submodule for that ;)]
2024-04-20 19:31:07 -04:00
bed12e2eee
chore(dependencies): upgrade nuxt to latest version
also change nuxt-speedkit -> nuxt-booster
2024-04-20 19:28:57 -04:00
bb6d05be72
refactor(components): update icon component
merge styles passed in from a parent component inline
2024-04-20 19:22:11 -04:00
7932152025
refactor(db/models): re-introduce chapter index field
turns out we need it after all..
2024-04-20 19:17:43 -04:00
a88f418901
refactor(server/utils): update server-side constants
define array of sensitive user model fields to exclude when querying and returning
2024-04-02 01:33:15 -04:00
0d6acdf174
refactor(workspace): update tsconfig files
enable `esmoduleinterop` and `allowsyntheticdefaultimports`
2024-04-02 01:21:13 -04:00
25582dd1f1
fix(pages): update bands page
make "subscribe" or "unsubscribe" buttons update the ui immediately
2024-04-02 01:16:34 -04:00
bb7a84259c Update README.md 2024-03-23 16:49:52 -04:00
0f21f7896e
chore(nuxt): cleanup nuxt config 2024-03-21 18:44:07 -04:00
4da096fa33
chore(dependencies): tinymce shits
update tinymce submodule and vue-tinymce dependency
also completely NERF tinymce dependency (we have our own 😉)
2024-03-21 18:39:00 -04:00
ce11745bd0
refactor(api): return both refresh and access tokens at login endpoint 2024-03-21 18:35:22 -04:00
4139f6fd58
refactor(api): remove auth cookie checks
just get the authorization header
2024-03-21 18:34:46 -04:00
ec13656660
refactor(composables): update useApiFetch composable
add authorization header
2024-03-21 18:30:03 -04:00
a5a3147365
refactor(db/models): update user model to generate both access and refresh JWTs 2024-03-21 18:28:22 -04:00
e88474d406
refactor(api): switch to refresh nuxt-auth provider 2024-03-21 18:26:36 -04:00
76317e8006
chore(dependencies): update @sidebase/nuxt-auth 2024-03-21 18:20:46 -04:00
b7bbded7e3
fix(client-side): only add full plugin list to certain editor configs 2024-03-21 18:00:51 -04:00
82faaa5179
feat(tests/browser): add playwright helpers 2024-03-18 16:51:44 -04:00
0c038fe708
refactor(pages): add getSession call to new story page 2024-03-17 13:44:54 -04:00
bb61075d87
chore(workspace): update gitignore 2024-03-16 21:23:35 -04:00
655e9c5e07
chore(dbconfig): cleanup imports, add checks to see if we're in test env 2024-03-16 21:21:46 -04:00
6fd6d7cbb1
refactor(components): add data-testid attribute to some components 2024-03-16 21:18:07 -04:00
bf44122abe
refactor(api): remove some log statements 2024-03-16 21:16:43 -04:00
1850f5a3f0
chore(dependencies): update vue and nitropack, and sharp 2024-03-16 21:16:07 -04:00
99cdd59272
chore(workspace): update tinymce submodule 2024-03-16 21:14:01 -04:00
2730eac4b2
refactor(client-side): externalize tinymce plugins list 2024-03-16 21:12:29 -04:00
a65590d47e
refactor(client-side): use to parameter to check for current url + associated params 2024-03-16 21:09:06 -04:00