Commit Graph

117 Commits

Author SHA1 Message Date
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
218bd5f565
chore(workspace): allow implicit this in tsconfig 2023-10-03 01:20:29 -04:00
6167a9ea70
style: run prettier 2023-10-03 01:19:36 -04:00
f0346ebdbd
feat(api): add an endpoint to retrieve the users who have favourited a specific story 2023-10-03 01:18:12 -04:00
6b5b01fdd6
refactor(api): change error messages to imported constant values 2023-10-03 01:17:21 -04:00
f48ac551f4
style(db/models): run prettier on models/challenges directory 2023-10-03 01:15:29 -04:00
e23faf84d4
refactor(db/models): remove reviews field from chapter type
kinda redundant since there's also `IStory.reviews` :/
2023-10-03 01:14:20 -04:00
ad8be9d7fa
refactor(db/models): change draft type to story type with omitted fields 2023-10-03 01:13:16 -04:00
9fe4d0c979
feat(db/models): add co-author field to stories 2023-10-03 01:11:32 -04:00
490fa1469e
refactor(server/utils): create utility to return forum database's uid using the actual site's user id 2023-10-03 01:10:00 -04:00
97d3f86c5a
chore(workspace): update gitignore 2023-10-03 01:08:37 -04:00
6ae407c600
refactor(server/utils): add reusable ficmas utility functions 2023-10-03 01:07:29 -04:00
5dac1d6492
fix(composables): create default/empty values for nested options fields as fallbacks 2023-10-03 01:06:40 -04:00
80438ecacd
refactor(server/utils): create custom winston logger 2023-10-03 01:03:31 -04:00
6598dfd3d6
refactor(db/models): add notifyOnReviewReply flag to user schema 2023-10-03 01:02:05 -04:00
2c282b6bcd
chore(deps): add sharp, nuxt-security and winston dependencies 2023-10-03 01:00:29 -04:00
c9723e644f
feat(api): add avatar upload route 2023-10-03 00:58:52 -04:00
da700b90d5
feat(server/middleware): create request logging middleware 2023-10-03 00:58:05 -04:00
84502b68b8
fix(server/middleware): add guard against setting event.context.currentUser to null 2023-10-03 00:57:21 -04:00
643c8b3c77
refactor(server/middleware): create middleware to add the current story's chapter index to the context as an int (if it exists)
because convenience
2023-10-03 00:56:16 -04:00
d270f2a045
feat(api): add a "get all bands" endpoint 2023-10-03 00:54:55 -04:00
741d217a53
chore: create avatar image directory 2023-10-03 00:53:53 -04:00
21360669d8
refactor(server/utils): add constants file 2023-10-03 00:53:10 -04:00
dd9fcaf5ae
refactor(api/utils): add story query helper function
to avoid having to write the same `populate` calls over and over
2023-10-03 00:52:24 -04:00
bef6e79317
refactor(server/utils): export all story helpers from a single index.ts file
this is to remove the need for importing from several different files
2023-10-03 00:51:12 -04:00