919 Commits

Author SHA1 Message Date
Andrea Vos
76ce55f1ed (user)(auth) don't use mastodon id as a placeholder email; alert if placeholder used as an email 2024-11-09 19:41:01 +01:00
Valentyne Stigloher
a346a82a32 (pronouns) fix /pronouns/:pronoun route only be callable once 2024-11-09 18:11:55 +01:00
Valentyne Stigloher
60eab12cee (pronouns) fix /pronouns and /pronouns/:pronoun route 2024-11-09 17:35:55 +01:00
Andrea Vos
b5246b2cf5 Merge branch 'refs/heads/main' into visibility
# Conflicts:
#	components/Profile.vue
#	locale/pl/translations.suml
#	pages/profile/editor.vue
#	server/express/profile.ts
#	src/profile.ts
2024-11-09 15:51:40 +01:00
Andrea Vos
34a49b0750 (profile) display card creation date next to last modification 2024-11-09 13:46:00 +01:00
Andrea Vos
665e029392 (profile) visibility setting - CR 2024-11-09 09:34:08 +01:00
Andrea Vos
fcab355709 (profile) visibility setting - linter 2024-11-08 23:32:06 +01:00
Andrea Vos
e4267929ce (profile) visibility setting - card generation 2024-11-08 23:20:03 +01:00
Andrea Vos
b4120e164a (profile) visibility setting - linter 2024-11-08 23:19:52 +01:00
Andrea Vos
9c782537b9 (profile) visibility setting 2024-11-07 08:48:53 +01:00
Valentyne Stigloher
b37bc5d410 (nuxt) enable ssr by default, disable only via env variable DISABLE_SSR 2024-10-31 11:00:22 +01:00
Valentyne Stigloher
1dc34ba425 (fmt) manually reorder unbounded imports 2024-10-29 10:56:32 +01:00
Valentyne Stigloher
b25afefc49 (fmt) 2024-10-29 10:56:32 +01:00
Valentyne Stigloher
5dc747c96e Merge branch 'caches' into 'main'
use `defineCachedFunction` from Nitro as cache

See merge request PronounsPage/PronounsPage!532
2024-10-27 10:08:16 +00:00
Valentyne Stigloher
904dd92d6f (admin) check for global *-users or *-community roles when accessing /api/admin/users 2024-10-19 17:20:31 +02:00
Valentyne Stigloher
9e96ea187f (api) use definedCachedFunction to for banner name, the actual image is stored separately 2024-10-18 18:30:01 +02:00
Valentyne Stigloher
c1e6450f8a (api) use defineCachedFunction which properly handles concurrent generation 2024-10-18 18:30:01 +02:00
Andrea Vos
c41fdd3acc minor timezone fixes 2024-10-15 14:14:41 +02:00
Valentyne Stigloher
590e770229 (profile) add icon to custom events 2024-10-12 16:29:03 +02:00
Valentyne Stigloher
5c63b58324 (refactor) use buildPronounsUsage in banner generation 2024-10-03 23:23:36 +02:00
Valentyne Stigloher
ca224391a7 (pronouns) consistent display of shorts in profile and foreign pronoun badge 2024-10-01 16:22:42 +02:00
Andrea Vos
f795186d81 (admin) expenses info 2024-09-23 20:52:47 +02:00
Valentyne Stigloher
8222aed565 Merge branch 'blog-reactions' into 'main'
(blog) add reactions

See merge request PronounsPage/PronounsPage!517
2024-09-22 19:42:44 +00:00
Andrea Vos
bcfa7307d4 make audit log bidirectional (eg. mod banning a user should show up in both mod's and user's log) 2024-09-22 15:54:05 +00:00
Valentyne Stigloher
438f05c053 (blog) add reactions 2024-09-22 17:07:35 +02:00
Valentyne Stigloher
0666723ea9 (nouns) add categories 2024-09-18 10:33:38 +02:00
Valentyne Stigloher
8e00dd04bb (api) replace multer as express middleware with matching h3 calls 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
051784b5da (nuxt) use dotenv closure to ensure that env variables on the server are set during production runtime 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
8c554a38fd (test) use nuxt environment for integrated pages testing 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
55050c658f (nuxt) move routes to pages for usage of definePageMeta 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
7a76fbd4e6 (nuxt) move error hook to sentry plugin, remove listening hook as there is no easy way to detect the port 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
c555a8468b (nuxt) load apple private key directly where needed 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
6825cf7821 (nuxt) replace @privyid/nuxt-csrf with nuxt-csurf 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
b0a2973d76 (nuxt) migrate server/no-ssr.ts 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
d977d67c58 (nuxt) migrate middleware/atom.js 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
38a307d76b (nuxt) replace @nuxtjs/sentry with plugins
https://www.lichter.io/articles/nuxt3-sentry-recipe/
2024-09-12 10:11:25 +02:00
Valentyne Stigloher
595cca9a5d (nuxt) replace globals.config with import as the global value is not registered early enough 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
71a562bba9 (nuxt) do not use import.meta.url directly to reference other files as this breaks in Nitro, use current working directory as convention 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
8b58541079 (nuxt) replace process.env replacement with runtimeConfig.public 2024-09-12 10:11:25 +02:00
Valentyne Stigloher
a99199f322 (nuxt) integrate express as server handler while preventing Nuxt from scanning server directory 2024-09-11 21:29:35 +02:00
Valentyne Stigloher
348402b4a6 (nuxt) rename static directory to public 2024-09-11 21:29:22 +02:00
Valentyne Stigloher
82051afc2f (nuxt) migrate plugins 2024-09-11 21:29:21 +02:00
Valentyne Stigloher
e08e994d98 (ts) simplify tsconfig.json 2024-09-11 21:28:41 +02:00
Valentyne Stigloher
9ce94f8383 (sentry) use tunnel to circumvent tracker blocking
see: https://docs.sentry.io/platforms/javascript/troubleshooting/, Dealing with Ad-Blockers
code inspired from: https://github.com/BLOCKMATERIAL/sentry-tunnel-using-node/blob/main/routes/tunnel.js
2024-08-27 10:41:11 +02:00
Andrea Vos
2533b97f6c (lint) 2024-08-10 16:40:16 +02:00
Andrea Vos
a67488473f (terms)(sources) add autocomplete & convention explanation for the key field 2024-08-10 16:36:55 +02:00
Valentyne Stigloher
b8c3a4a221 (blog) display just collective as author in case additional words follow it 2024-07-26 20:19:09 +02:00
Valentyne Stigloher
a2474c88ef (blog) add alt text and optional class names of hero image to /blog route 2024-07-18 13:17:07 +02:00
Valentyne Stigloher
7de7f2eaef (pnpm)(ts) update typescript 2024-06-27 14:03:46 +02:00
Valentyne Stigloher
2ca51d9342 (api) remove isTroll check 2024-06-26 13:59:53 +02:00