f5bc77377e
chore(deps): update sharp
...
bun.
2023-12-25 22:51:35 -05:00
a28a89f2a9
fix(ci): canary bun
...
fix(ci): add .output segment to bun run path
fix(ci): pass `-y` to apt install
fix(ci): change directory
fix(ci): update apt
fix(ci): remove sudo
fix(ci): use debian bun
fix(ci): use debian bun
fix(ci): disown bun process
refactor(ci): switch to bun
fix(ci): watch
fix(ci): unquote tilde string
fix(ci): pipe cat output
fix(ci): wrap tildes in ssh command in quotes
fix(ci): chmod private key file
fix(ci): fix environment
refactor(ci): update ci file
both stages should work now
2023-12-25 22:47:10 -05:00
ae95cca2e6
chore(deps): update nuxt
2023-12-25 20:18:26 -05:00
aad8f20466
fix(components): add last
prop to story listing component
2023-12-25 20:17:11 -05:00
ae8d34d84f
refactor(db/models): rename generateToken
method to generateJWT
2023-12-20 19:56:33 -05:00
f4ed17a893
fix(nuxt): fix broken import path in alias
2023-12-20 18:06:16 -05:00
d3a47e1840
fix(nuxt): edit path aliases
...
rollup fucking sucks x2
2023-12-20 18:01:31 -05:00
82de608a70
fix(nuxt): edit path aliases
...
rollup fucking sucks
2023-12-20 17:54:35 -05:00
63eafa84bf
fix(workspace): tsconfig nits
...
rollup lol
2023-12-20 17:46:01 -05:00
2411dc8ca0
fix(workspace): tsconfig nits
...
rollup lol
2023-12-20 17:39:19 -05:00
3e5af47107
refactor(*): refactor tsconfig paths
...
looks/feels nicer
2023-12-20 17:23:31 -05:00
9ba432a8e0
fix(server/utils): add isIdNan
helper function
2023-12-20 17:03:58 -05:00
be32464c93
fix(api): fix param name for reviews
2023-12-20 16:42:31 -05:00
f2ccd6cda3
chore(deps): update dependencies
...
do not use `latest` tag for vue
2023-12-20 16:36:11 -05:00
13b4d10cb4
build(nuxt): update ci
...
it's actually useful now lol
2023-12-20 16:06:50 -05:00
095f542fba
Update .gitlab-ci.yml file
2023-12-19 04:09:44 +00:00
50e860df5d
refactor(api): use null propagation for fields in subscription payload
2023-12-11 21:34:20 -05:00
088232f750
refactor(api & server/utils): refactor imports of db helpers
...
create an index file which exports the functions we need in one accessible place
2023-12-11 21:29:46 -05:00
0ebc25a1c8
refactor(server/utils): allow an IDraft
to be passed to permission checker
2023-12-11 21:20:06 -05:00
fd4de6489f
refactor(server/utils): move html normalizer into its own importable function
2023-12-11 21:13:22 -05:00
be0107b415
chore(nuxt): ignore typescript nitpick
2023-12-09 17:49:09 -05:00
f57fd2df84
chore(api/utils): remove unused import
2023-12-09 17:48:07 -05:00
cd6872b06e
chore(workspace): disable verbatimModuleSyntax
in tsconfig
2023-12-09 17:45:23 -05:00
e8bb6d7ab1
chore(workspace): add recommended extensions for vscode
2023-12-09 17:44:16 -05:00
f4d4ed3099
fix(api): throw error if story for the review to be replied to doesn't exist
2023-12-09 17:42:31 -05:00
7f1f8a72f5
refactor(api): get new reply id from save() call
2023-12-09 17:39:28 -05:00
489b2e0558
chore(workspace): create webstorm run configurations
2023-12-09 17:32:26 -05:00
6689536762
refactor(pages): migrate page titles to usehead
2023-12-09 17:32:26 -05:00
70cc843f15
refactor(typing): rename file with nuxt-auth definition override
2023-12-09 17:32:25 -05:00
7e300734d8
refactor(api/utils): switch to if...else if for each check
2023-12-09 17:32:24 -05:00
b979b52978
fix(plugins): remove ssr style
...
it breaks shit. not cool.
2023-12-09 17:32:24 -05:00
bd098c987b
fix(server/plugins): use additional hooks to determine page readiness
2023-12-09 17:32:23 -05:00
989fefd6e7
fix(pages & middleware): throw error if non-author/collaborator tries to edit a story
2023-12-09 17:32:23 -05:00
a5346e8622
fix(client-side): add error check to story redirect middleware
2023-12-09 17:31:39 -05:00
da3beefa6f
chore(typing): get rid of dangling .d.ts
2023-12-09 17:10:03 -05:00
4826bb7436
feat(pages): add fallback redirect to /story/[id]
route
...
this will redirect to the first chapter, per default behaviour
2023-12-09 17:08:02 -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
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