919 Commits

Author SHA1 Message Date
Benjamin
78c3da122a Discord Linked Roles 2024-05-22 19:28:45 +00:00
Andrea Vos
10b78bfa3e (pronouns)(ru) CR fixes 2024-05-22 08:18:36 +02:00
Andrea Vos
b0dfe62501 (pronouns)(ru) CR fixes 2024-05-22 08:16:29 +02:00
Andrea Vos
fe026d7ded (bugfix)(editor) birthday widget disabled wrong date range 2024-05-21 07:53:24 +02:00
Valentyne Stigloher
9d169000a8 (pronouns) remove superflous config in response of /pronouns 2024-05-20 13:14:36 +02:00
Valentyne Stigloher
3996dd10b8 (ts) migrate calendar 2024-05-20 12:53:15 +02:00
Valentyne Stigloher
3896053a33 (api) fix routes parsing pronouns
introduced in 118ea121dee99dd368d4d8737d3b15c80eb1de88
2024-05-18 13:23:54 +02:00
Valentyne Stigloher
9f8497b9e7 Merge branch 'nuxt3-preparation' into 'main'
Nuxt 3 migration preparation: remove some properties of env from nuxt config

See merge request PronounsPage/PronounsPage!451
2024-05-16 10:41:30 +00:00
Andrea Vos
202dd19d3c (auth)(bug) fix apple login 🤞 2024-05-15 21:44:42 +02:00
Valentyne Stigloher
118ea121de (refactor) remove process.env.CONFIG and other env variables containing config values 2024-05-13 12:18:40 +02:00
Valentyne Stigloher
f0a5c3fffc (ts) migrate 2024-05-13 12:03:20 +02:00
Valentyne Stigloher
1d3d01ad5d (ts) migrate plugins/spelling.ts with depending components 2024-04-30 19:41:28 +02:00
Valentyne Stigloher
58a933d9b8 (cookies) use longTimeCookieSetting in server routes 2024-04-26 18:33:11 +02:00
Andrea Vos
2894fc79f7 Merge remote-tracking branch 'origin/main' 2024-04-22 18:45:10 +02:00
Andrea Vos
ed32a6a8d1 (pl)(calendar) miastamaszerujace 2024 2024-04-22 18:44:57 +02:00
Andrea Vos
0f21051a08 (pl)(census) email subscription 2024-04-15 08:17:05 -05:00
Andrea Vos
7a3f09bc0b (pl)(census) email subscription 2024-04-15 07:59:13 -05:00
Valentyne Stigloher
720d57bbe8 (cookies) add SameSite=Lax by default and upgrade some cookies in their length for consistency 2024-04-08 14:52:18 +02:00
Andrea Vos
9e46c72ac3 (perf) some low hanging fruit from https://kerkour.com/sqlite-for-servers to optimise sqlite for a web server 2024-04-07 15:26:17 +02:00
Valentyne Stigloher
ca92aaf9ca (node) upgrade node to 18.20.1
ts-node needs to be configured differently to keep working, so run-script is used to abstract away the necessary arguments
2024-04-06 14:15:30 +02:00
Andrea Vos
587e63474a (profile) increase max opinions length to 10 2024-03-28 17:16:03 +01:00
Valentyne Stigloher
9b6bff27f3 (aws) migrate to v3
payloads are now streamed, which is a bit cumbersome with express,
but according to https://stackoverflow.com/questions/76142043/getting-a-readable-from-getobject-in-aws-s3-sdk-v3
it is safe to cast to a NodeJsClient
2024-03-28 13:56:07 +01:00
Valentyne Stigloher
9434b9b5e4 (ts) convert usage of aws to TypeScript
params at client creation cannot be type checked, Bucket was explicitely added to each call
2024-03-28 13:56:07 +01:00
Andrea Vos
54f8e09e8a (user) add more disallowed extensions 2024-03-21 19:56:31 +01:00
Andrea Vos
64892067ce (profile) increase calendar limits and display proper validation error 2024-03-21 19:27:19 +01:00
Andrea Vos
ceb7d49c06 fix smoke tests 2024-03-20 18:36:18 +01:00
Andrea Vos
881ac850d4 linter 2024-03-17 13:29:18 +01:00
Andrea Vos
a690f33a2e (fix) user banners cache doesn't get invalidated after chaging avatar 2024-03-17 13:18:34 +01:00
Valentyne Stigloher
1a12dce4a8 (ts) convert src/buildPronoun.ts 2024-03-12 15:11:40 +01:00
Valentyne Stigloher
14e079cd89 (fix) trim &amp from /api/banner/:pronounName.png (only added by a faulty Amazon client) 2024-03-11 23:22:30 +01:00
Valentyne Stigloher
83c9b09eee (fix) add path alternative to /queer-calendar-:locale-@:username.ics where the @ is encoded (%40) 2024-03-11 23:22:30 +01:00
Valentyne Stigloher
ff716a3d41 (sentry) send deployment information to track which environment is on which release 2024-03-11 21:57:11 +01:00
Valentyne Stigloher
c4086e1cde (admin) always send notifications about proposed translations to translations role, not code role
code role cannot do anything yet, because they are not mergeable
2024-03-10 17:17:30 +01:00
Valentyne Stigloher
8257173dbe (fix) congruent roles for /admin/translations/awaiting
only translations can accept, reject or unapprove
only code can marke translation proposals as done
2024-03-10 17:17:30 +01:00
Valentyne Stigloher
4678c325f8 (ts) convert adminTranslationsAwaiting.vue with its dependencies
tricky part was mixin, but apparently you should use Vue.extend for mixins and extend from that
https://stackoverflow.com/questions/51873087/unable-to-use-mixins-in-vue-with-typescript
2024-03-10 17:08:26 +01:00
Valentyne Stigloher
f69aec7998 (sentry) replace some console.error with Sentry.captureException 2024-03-05 18:19:34 +01:00
Valentyne Stigloher
b0a11cf07c (sentry) monitor database query performance 2024-03-05 18:19:34 +01:00
Valentyne Stigloher
f8156d5204 (sentry) activate sentry in server scripts 2024-03-05 18:19:34 +01:00
Valentyne Stigloher
c36705efcb (sentry) use @nuxt/sentry to setup sentry
requires that the following environment variable is set:
SENTRY_DSN={sentry dsn}
2024-03-05 18:19:33 +01:00
Andrea Vos
9d5bc987e6 (profile) allow 36 chars in opinion descriptions (requested by user) 2024-03-05 18:17:52 +01:00
Andrea Vos
a98e9f00a1 (trans) role "code" should also be allowed to see /admin/translations 2024-02-26 16:14:09 +00:00
Valentyne Stigloher
12dbbb327c (ts) convert tests to TypeScript 2024-02-23 17:51:21 +01:00
Valentyne Stigloher
7ce1bb0e83 (ts) convert a lot to TypeScript
Co-authored-by: Sky <msurvival65@gmail.com>
Co-authored-by: tecc <tecc@tecc.me>
2024-02-23 17:48:16 +01:00
Valentyne Stigloher
2364e2543c (ts) convert locale/locales.ts to TypeScript 2024-02-23 17:48:16 +01:00
Valentyne Stigloher
8d52742940 (jwt) possible behavioral changes in jwt (suggested by TypeScript) 2024-02-23 17:48:15 +01:00
Valentyne Stigloher
210fc73655 (ts) use TypeScript in Nuxt 2024-02-23 17:48:15 +01:00
Valentyne Stigloher
0399a62291 (ts)(lint) enable TypeScript linting
replace @stylistic/js with @stylistic to use same rules for .js and .ts
2024-02-23 17:48:13 +01:00
Andrea Vos
bf0386024a auditLog for impersonation 2024-02-19 18:54:23 +00:00
Valentyne Stigloher
3cdf7b6814 (fix) use first value in case variables.scss define multiple values per variable
defect: /api/banner crashes as no variable was found for the font
2024-02-17 19:47:44 +01:00
Andrea Vos
dd92e795e7 (pl)(census) increase privacy by keeping deduplication info separately from answers; fix bug with trimming of translation keys 2024-02-15 08:30:07 +00:00