465 Commits

Author SHA1 Message Date
Valentyne Stigloher
f8a0b70cd9 (fix) two null-safety issues 2024-06-01 14:36:14 +02:00
Benjamin
0022d7d0b0
(admin) add community permission 2024-05-31 13:06:42 -04:00
Benjamin
6b7f0e6324 Minor alterations to Admin systems and Discord Internals 2024-05-26 16:32:30 +00:00
Valentyne Stigloher
456ca7e126 (ar)(ko) fix banner font registration for banner 2024-05-24 23:24:43 +02:00
Valentyne Stigloher
153867d79d (pronouns) fix examples query parameter 2024-05-24 21:15:37 +02:00
Andrea Vos
8a8a410fc1 Merge branch 'benjamin-discord' into 'main'
change OAuth2 for Discord Routes

See merge request PronounsPage/PronounsPage!458
2024-05-23 18:28:19 +00:00
Andrea Vos
cbd466517b Merge branch 'admin-display-authenticators' into 'main'
(admin) display authenticators

See merge request PronounsPage/PronounsPage!460
2024-05-23 18:19:00 +00:00
Andrea Vos
9980a81a7a (lint) 2024-05-23 20:14:36 +02:00
Andrea Vos
899aac28ee CR & lint fixes 2024-05-23 20:10:55 +02:00
Andrea Vos
866a6b5923 (admin) display authenticators 2024-05-23 19:58:57 +02:00
Valentyne Stigloher
7982b31330 (calendar) fix .ics generation which sometimes fails due to number > string conversion in keys
introduced in 3996dd10b85bacb09ab2939c3ddb68c8c10377cd
2024-05-23 19:39:36 +02:00
Benjamin
a216cb73ee
change OAuth2 for Discord Routes 2024-05-22 20:16:32 -04:00
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
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
58a933d9b8 (cookies) use longTimeCookieSetting in server routes 2024-04-26 18:33:11 +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
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
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
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
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
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
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
Valentyne Stigloher
11d291a24f (pronouns) enable translations for slash modifiers 2024-01-24 00:53:43 +01:00
Andrea Vos
0bef21dc25 Merge branch 'maintenance' into 'main'
various maintenance changes

See merge request PronounsPage/PronounsPage!411
2024-01-22 16:17:55 +00:00
Andrea Vos
2650952a9c (bug) #379 Username character limit not respected 2024-01-22 17:00:53 +01:00
Valentyne Stigloher
a22981eb79 (fmt) indent switch case clauses 2024-01-21 13:55:34 +01:00
PronounsPage
fa14ab79d9 (lint) automatically fix lints via yarn lint --fix 2024-01-11 20:36:05 +01:00
Andrea Vos
922966f18d (profile) another potential fix for name pronunciation 2024-01-11 19:39:21 +01:00
Andrea Vos
2d5fb669ad (profile) potential fix for name pronunciation 2024-01-11 19:19:16 +01:00