Commit Graph

491 Commits

Author SHA1 Message Date
662a97ffc5
chore: null
it's commented out code lmao
2023-10-10 22:26:17 -04:00
c502acbba9
fix(api/utils): fix listquerier
make it so that `author` is an object we can assign to, NOT a number
2023-10-10 22:25:25 -04:00
b4e8894291
fix(composables): remove jwt auth header from useApiFetch implementation
it made things worse
2023-10-10 22:22:45 -04:00
519772fd88
fix(components): remove type assertion from body of genre picker component 2023-10-10 22:20:51 -04:00
e50fd2aba9
refactor: change log verbosity to silly (for now) 2023-10-10 22:20:04 -04:00
ba05134015
refactor(client-side): create utilities
mainly intended to avoid repitition in long lists of data like stories, authors, and/or bands
2023-10-10 22:19:18 -04:00
00d4467b87
refactor(client-side): create pinia store for autosave information 2023-10-10 22:16:30 -04:00
8bda275244
feat(pages): create default new story page 2023-10-10 22:15:50 -04:00
dbc5cab712
feat(api): create endpoint to fetch all authors (users who have written >1 story) 2023-10-10 22:14:44 -04:00
f235d7da44
fix(server/middleware): ficmas middleware scans the current year instead of what's in the .env file
truly automatic!
2023-10-10 22:13:26 -04:00
2f60479ad2
refactor(api): refactor logging in login endpoint to use winston instead of plain console.log 2023-10-10 22:12:36 -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
83d1e97f49
feat(api): add api endpoint to log user out 2023-10-10 22:08:47 -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
90b0256008
refactor(server/utils): create gridfs bucket for draft contents 2023-10-10 22:05:26 -04:00
dd74c8417a
fix(server/utils): fix mammoth and sanitize-html imports
(make it so that we're not importing a namespace instead of a default export)
2023-10-10 22:04:42 -04:00
b0e949df3b
perf(client-side): stop providing an injectable user object
nuxt-auth takes care of this with `useAuth`; redundant
2023-10-10 22:02:42 -04:00
98d93f9178
refactor(typing): extend nuxt-auth's sessionData type 2023-10-10 22:00:38 -04:00
66cfee819d
feat(api): add endpoint to promote/demote a user to/from an admin 2023-10-10 21:58:29 -04:00
309e880b69
feat(api): create endpoint to ban/unban a user
yeeting is now possible :D
2023-10-10 21:57:35 -04:00
d67530eb64
refactor(server/middleware): rename currentUser middleware 2023-10-10 21:56:25 -04:00
6afc547f8e
feat(api): add endpoints for blocking/unblocking a specific user 2023-10-10 21:55:15 -04:00
8bf78a0494
feat(api): add endpoint to get all non-hidden stories a user has written 2023-10-10 21:54:37 -04:00
79f5f2cc10
feat(api): add endpoint for fetching full info for a user 2023-10-10 21:53:53 -04:00
e3f5918b2a
chore(workspace): add tinymce (with premium plugins) as a submodule under public/
fuck the tiny cloud :P
2023-10-10 21:52:28 -04:00
b305a78074
fix(components): fix bands picker to be searchable by label/name 2023-10-10 21:46:20 -04:00
fea0895676
feat(components): create admin tab component for user profiles 2023-10-10 21:45:23 -04:00
01fdb5bf41
feat(components): finish navbar 2023-10-09 20:07:26 -04:00
b0d799ec69
chore(workspace): change launch.json to launch vivaldi 2023-10-09 18:46:06 -04:00
10fad65823
feat(client-side): add debounced autosave function for story form 2023-10-09 17:21:27 -04:00
568c921251
perf(pages): import vue-recaptcha on a per-page basis 2023-10-05 20:02:43 -04:00
841637e233
refactor(components): reconfigure sidebar to be perfect(tm) 2023-10-05 19:56:14 -04:00
480dbfdde9
refactor(composables): 2023-10-05 02:10:53 -04:00
00e2457aab
chore(nuxt): update nuxt config
enable nitro minification
2023-10-05 02:09:17 -04:00
a6dd1002e2
refactor(server/middleware): update middlewares to use winston logger instead of plain console.log 2023-10-05 02:07:05 -04:00
ac6dc8ed09
refactor(api/utils): improve logger 2023-10-05 02:05:52 -04:00
4c39eb8799
refactor(db/models): update color field in sidebarentry to accept either a string or an enum 2023-10-05 02:05:12 -04:00
cc28b65063
fix(components): fix how the genre atom destructures fetched data 2023-10-05 02:04:17 -04:00
d7eb7eaec8
fix(typing): declare modules for untyped dependencies 2023-10-05 02:01:31 -04:00
0000533540
fix(components): fix footer
it didn't have a `<template>` tag?
2023-10-05 02:00:47 -04:00
19e1381abc
chore(workspace): commitlint 2023-10-05 01:59:52 -04:00
521618f955
refactor(components): update default layout 2023-10-05 01:59:23 -04:00
24d04983a9
feat(components): add login + register buttons to navbar 2023-10-05 01:59:00 -04:00
aca345f676
feat(components): add sidebar component 2023-10-05 01:58:07 -04:00
b2e950e798
feat(components): make story creation/editing components 2023-10-04 19:38:50 -04:00
52f5b4a811
chore(workspace): add vscode snippets and launch configs 2023-10-04 19:37:38 -04:00
b000c6734a
refactor(api): rename imports and refactor error messages 2023-10-03 01:24:06 -04:00
08c49e4bdd
style(db/models): format 2023-10-03 01:22:43 -04:00