a8e113e969
refactor(db/models): remove model existence guards
...
this way, plugins are registered if `hasMigrated` is true. we've already enabled automatically overwriting models, therefore, the guard's condition will always be false
2023-12-29 16:36:26 -05:00
922807ba6a
refactor(server/utils): make paths and imports more concise and correct
2023-12-29 16:34:00 -05:00
9f0a76e2b0
refactor(server/utils): remove env logging
2023-12-29 12:45:15 -05:00
4388a09481
fix(config): move extends
directive to be first in tsconfig
...
fixes webstorm bitching about typescript
2023-12-29 12:44:19 -05:00
cc17d98fe4
style(client-side): update indentation in storyFormSchema
2023-12-28 20:05:16 -05:00
c598ff61b3
refactor(ci): add explicit needs
to deploy stages
2023-12-28 20:03:41 -05:00
8cea9303e1
refactor(db/models): change chapter schema creation call
...
`new mongoose.Schema` -> `new Schema`
2023-12-28 20:01:49 -05:00
40524941c6
fix(nuxt): update app.vue
...
add `.value` to the end of computed value accesses
2023-12-28 19:59:00 -05:00
ed4536fa91
chore(api): remove path aliases from tsconfig
...
in favour of the nuxt aliases
2023-12-28 19:58:59 -05:00
f2a7d0d9a6
fix(components): correct a-form-item prop type
...
undefined is not a string
2023-12-28 19:58:59 -05:00
9ad1ec91bf
chore(workspace): exclude out
directory
2023-12-28 19:58:58 -05:00
499843ca32
refactor(ci): prevent concurrent executions with resource_group
2023-12-28 19:58:58 -05:00
f712b7943e
refactor(server/plugins): remove unused imports in db plugin
2023-12-28 19:58:57 -05:00
7a9d58975c
refactor(ci): add sed invocation to production deployment
2023-12-28 19:58:57 -05:00
624e2b060f
refactor(ci/scripts): disable debugging
2023-12-28 19:58:56 -05:00
7cd18c91ab
refactor(ci): add db name argument to staging script
2023-12-28 19:58:56 -05:00
c28b92f2d7
refactor(ci): source script instead of running it separately
2023-12-28 19:58:55 -05:00
95be1dd7c9
refactor(ci): quote bash script invocation
...
to allow the variables to be expanded properly
2023-12-28 19:58:55 -05:00
18f11f7ca7
refactor(api): check if coAuthor form field is an empty string
...
if it is, set coAuthor in document to null, otherwise, set it to the provided value
2023-12-28 19:58:54 -05:00
696ce44290
refactor(server/plugins): add user and password to mongoose connect options
2023-12-28 19:58:54 -05:00
494db75430
refactor(ci/scripts): enable debugging
2023-12-28 19:58:53 -05:00
02277d8d00
refactor(nuxt): clean up commented out aliases
2023-12-28 19:58:53 -05:00
2ee0bb0e0a
fix(ci): move bash invocation to before_Script
2023-12-28 19:58:52 -05:00
d6f146c481
refactor(ci): restructure
...
use separate pipelines for building for staging and production, respectively
streamline repetitive steps into scripts stored in `.more-ci/`
BREAKING CHANGE: this might break literally everything lol
2023-12-28 19:58:52 -05:00
5bb6803a30
fix(ci): double-wrap drop eval in quotes
2023-12-28 19:58:51 -05:00
dc55272eab
fix(ci): use single quotes
2023-12-28 19:58:51 -05:00
8e38695a1f
fix(ci): unescape characters in ssh command
2023-12-28 19:58:50 -05:00
2e529e2bfc
fix(ci): unescape characters in ssh command
2023-12-28 19:58:49 -05:00
4e4206cbcf
fix(ci): unescape characters in ssh command
2023-12-28 19:58:48 -05:00
596ed4a94d
fix(ci): escape characters in ssh command
2023-12-28 19:58:47 -05:00
27f476a8a7
refactor(db): guard connexct statement instead
2023-12-28 19:58:45 -05:00
529120e936
fix(ci): unquote commands
2023-12-28 19:58:41 -05:00
8787a1255e
fix(ci): drop database properly
2023-12-28 19:58:39 -05:00
ce4945f623
fix(ci): add sudo
2023-12-28 19:58:38 -05:00
813feaa31c
refactor(components): add custom submit text prop to story form
2023-12-28 19:58:37 -05:00
e94c070300
refactor(config): connect mongoose in dbconfig
2023-12-28 19:58:37 -05:00
f01949b983
refactor(config): connect mongoose in dbconfig
2023-12-28 19:58:36 -05:00
d3417ae9e6
refactor(config): add debug statement to db config
2023-12-28 19:58:35 -05:00
38907f6bb5
refactor(config): add port number
2023-12-28 19:58:34 -05:00
5e8cbeecbe
refactor(config): add port number
2023-12-28 19:58:33 -05:00
2689f1e55b
refactor(config): re-add some paths to tsconfig
2023-12-28 19:58:33 -05:00
5fc68eb3bc
refactor(config): change verbatimModuleSyntax
to false in tsconfig
2023-12-28 19:58:32 -05:00
916977ebfc
fix(ci): add mono uri to mongosh invocation
2023-12-28 19:58:31 -05:00
412ce572e8
chore(deps): update sharp
2023-12-28 19:58:29 -05:00
a74126daeb
refactor(ci): set bun env to production
2023-12-28 19:58:27 -05:00
5b368cf832
refactor(api): change jwt generation call to use new function name
2023-12-28 19:58:26 -05:00
60e564781d
refactor(*): use more sane path aliases
2023-12-28 19:58:26 -05:00
ffaeee89ab
refactor(workspace): remove tsconfig path aliases
...
use nuxt config instead
2023-12-28 19:58:25 -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
fee87645ae
fix(ci): order matters
2023-12-28 19:58:24 -05:00