Commit Graph

208 Commits

Author SHA1 Message Date
972e8fa646
refactor(typing): create interfaces to ensure strongly typed form data 2023-10-03 00:23:52 -04:00
9bf5e9dc38
feat(api): create review endpoints for creating, editing, deletion and replying 2023-10-03 00:21:14 -04:00
356cb5ea6b
feat(api): create review endpoints
create endpoints for adding+getting a single chapter's reviews
2023-10-02 21:43:24 -04:00
2b0d478ca7
feat(api): add isLoggedIn utility function
for api routes which require authentication
2023-10-02 16:20:13 -04:00
1dcb1ae3f9
feat(components): add footer component 2023-10-02 16:14:59 -04:00
cfb1f69ffb
refactor(server/middleware): move common logic for maintaining a database connection to another file 2023-10-02 16:08:12 -04:00
a16e58b2b4
refactor(db/models): change _id field in inbox schema to a reference field that points to the owning user 2023-10-02 16:06:01 -04:00
38516dc80d
feat(db/models): create dedicated private message inbox model 2023-10-02 16:02:31 -04:00
63dd3d063a
feat(api): add file upload endpoint for story content 2023-10-02 16:00:33 -04:00
d337642ed0
refactor(deps): add dependencies
@vueuse/core, @vueuse/nuxt, lodash-move, mammoth, marked, mongodb, mongoose-sequence [fork], sanitize-html, string-strip-html, turndown, uuid, vue-recaptcha, weird-to-normal-chars
2023-10-02 15:58:09 -04:00
983a7e3bdd
refactor: add utility functions 2023-10-02 15:55:38 -04:00
04e769ea90
refactor(client-side): modify form story+chapter types
chapters now have an optional id (for use when editing), and `fileName` has been simplified to `file`
2023-10-02 15:52:23 -04:00
d056dac72b
refactor(api): update function calls 2023-10-02 15:46:56 -04:00
ff4b94d913
feat(api): ✏️ add story api endpoints
(update/create/delete)
2023-10-02 15:44:55 -04:00
ddf2fb9e3a
refactor(components): remove commented code from editor component 2023-10-01 19:37:31 -04:00
2bcedca7fb
feat(api): add registration endpoint 2023-10-01 19:25:40 -04:00
a59b3ef303
chore: add .gitkeep files totmp/ and stories/ directories 2023-10-01 19:16:24 -04:00
6284d05355
feat(components): add terms of service component 2023-10-01 19:14:45 -04:00
2c91b7e70f
chore: move migrations to separate repo 2023-10-01 19:09:25 -04:00
b4185d65de
style: format public assets 2023-09-30 00:14:16 -04:00
2b233364a1
refactor(api): refactor app to use pure jwts instead of cookies
cookies are no longer used
2023-09-28 21:55:19 -04:00
b5f5edbcc5
chore(deps): add date-fns package 2023-09-27 00:00:16 -04:00
0d623f3b77
chore(workspace): ignore tmp/ and stories/ directories 2023-09-26 23:56:10 -04:00
cb457129ba
chore(config): add editor and prettier config files 2023-09-26 23:55:16 -04:00
8ec7a09193
feat(components): create reusable components to be used for listing stories
this includes - individual story information - the list itself (duh) - a component for displaying key-value pairs delimited by `: `
2023-09-26 22:30:30 -04:00
fea42915fb
refactor(api): update story query helper
it now filters out stories with nonexistent authors
2023-09-26 14:23:11 -04:00
5a3516e05b
feat(pages): add (WIP!!!) forum page
it uses an iframe, how epic
2023-09-25 19:56:21 -04:00
8082446071
chore(config): tweak tsconfig 2023-09-25 19:55:31 -04:00
703b9b4244
chore(config): create vscode conventional commit configuration 2023-09-25 19:54:40 -04:00
a0ca4059e9
refactor: create importable database config 2023-09-25 19:54:05 -04:00
421a283d6c
refactor(server/middleware): inject ficmas data into request context via middleware
to make sure people can't see ficmas stories in listings
2023-09-25 19:53:01 -04:00
997962e391
feat(db/models): create model to store sidebar items in database 2023-09-25 19:50:50 -04:00
2ea40ebb07
refactor(server/middleware): add middleware to "persist" mongoose's database connection 2023-09-25 19:50:07 -04:00
865c648521
chore: update gitignore
ignore compiled migration scripts
2023-09-25 19:47:57 -04:00
dc250771ed
feat(db/models): create quick menu model
recreating v1's customizable quick menu feature
2023-09-25 19:47:21 -04:00
cd64636715
feat(components): create navbar component 2023-09-25 19:45:14 -04:00
c0c11ba1ea
refactor(client-side): create reusable types
mostly contains interfaces for client-side forms
2023-09-25 19:44:47 -04:00
8ac524fb9a
feat(pages): add band list page 2023-09-25 19:43:10 -04:00
7299471a52
refactor(db/models): add more models
(band, private message and user)
2023-09-25 19:41:32 -04:00
1b14d2b702
feat(components): create tinymce wrapper component
configs have also been created
2023-09-25 19:40:30 -04:00
1ecaf7fd1d
chore(deps): add new dependencies 2023-09-25 19:38:17 -04:00
4dc6b9c396
refactor: modify top-level app.vue
it no longer has the nuxt welcome screen, and additionally uses my default layout with an antd config
2023-09-25 19:37:33 -04:00
6409f4d646
feat(api): add story/author count endpoint 2023-09-25 19:36:04 -04:00
60b802b602
feat: create default app layout 2023-09-25 19:35:03 -04:00
0bfd5fbdba
feat(components): create fontawesome icon component 2023-09-25 19:34:20 -04:00
f0a006b3d5
feat(server/middleware): add the h3 equivalent of req.user to incoming request contexts 2023-09-25 19:33:02 -04:00
740d8a9f2c
refactor(api): create story query helper
this is for retrieving + populating stories from a database with a specified query
2023-09-25 19:31:30 -04:00
cc462bc19a
chore: add typescript shims
shims added for `mongoose-sequence`, `blueimp-md5`, and `bcryptjs`
2023-09-25 19:29:35 -04:00
adaef6d274
chore(nuxt): add runtimeconfig, css and modules to nuxt config 2023-09-25 19:27:44 -04:00
eeb7a97d84
feat(db/models): add new challenge models
biffno, ficmas, and "gen" challenges
2023-09-25 19:26:13 -04:00