5932 Commits

Author SHA1 Message Date
Valentyne Stigloher
1a12dce4a8 (ts) convert src/buildPronoun.ts 2024-03-12 15:11:40 +01:00
Valentyne Stigloher
bd332e3949 (ts) overwrite NuxtRuntimeConfig to be Config (enables stricter type checking and hints) 2024-03-12 15:11:40 +01:00
Valentyne Stigloher
d148b53f3b (polyfill) simple polyfill for Object.hasOwn 2024-03-12 15:11:40 +01:00
Valentyne Stigloher
52b7d2114e Merge branch 'fixes' into 'main'
Inform Sentry about deployments & two little fixes

See merge request PronounsPage/PronounsPage!431
2024-03-11 22:27:57 +00: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
Andrea Vos
7d478b0dd6 (pt)(trans) 2024-03-11 20:10:48 +01:00
Andrea Vos
b21c0596bd (pl)(blog) fixes 2024-03-11 19:39:39 +01:00
Andrea Vos
70208e4c29 (pl)(blog) expose more entires on the homepage 2024-03-11 19:26:49 +01:00
Andrea Vos
f8b6bc6d08 (pl)(blog) eurowizja 2024 2024-03-11 18:54:48 +01:00
Valentyne Stigloher
14ee946971 (errorhandling) ignore loading errors for ad and gtm scripts
most of the time these are CORS errors which need separate investigation
but as these errors are quite common, they keep coming in sentry
2024-03-10 17:45:58 +01:00
Valentyne Stigloher
f990ebf1fd Merge branch 'translations-awaiting-fixes' into 'main'
Fixes for `/admin/translations/awaiting`

See merge request PronounsPage/PronounsPage!428
2024-03-10 16:24:41 +00:00
Valentyne Stigloher
f61aaa16b7 (admin) use proper classes for warning / danger to ensurce contrast 2024-03-10 17:17: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
52f305cbf5 (fix) show error message dialogue even though it is untranslatable
also prevents closing due to timeout when show() is called just after hide()
2024-03-10 17:17:29 +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
Andrea Vos
7df68db6db (pt)(trans) 2024-03-09 23:43:48 +01:00
Valentyne Stigloher
f0ece7bbae (sentry) do not capture errors from $post, instead send them up the promise chain 2024-03-09 18:22:54 +01:00
Valentyne Stigloher
4e7dc34634 (sentry) filter out errors by inspecting the stacktrace 2024-03-09 18:22:54 +01:00
Valentyne Stigloher
2366ccb2af (sentry) add rejection error to $loadScript for better troubleshooting 2024-03-09 18:22:54 +01:00
Andrea Vos
0c2a5c7be1 (pl)(links) gwd 2024-03-09 15:24:38 +01:00
Andrea Vos
d4cd9f3b80 Merge branch 'szymonmisiek-main-patch-78a8' into 'main'
Update file config.suml

See merge request PronounsPage/PronounsPage!430
2024-03-08 14:47:15 +00:00
Szymon Misiek
798c340e16 Update file config.suml 2024-03-08 13:14:10 +00:00
Valentyne Stigloher
276332c943 (sentry) improve configuration 2024-03-08 12:01:10 +01:00
Valentyne Stigloher
91de9e68d1 (sentry) remove unnecessary double console.error 2024-03-07 23:25:58 +01:00
Andrea Vos
e87c8739e8 (sentry) minor fixes 2024-03-07 21:07:38 +01:00
Andrea Vos
debaf04c44 Merge branch 'schemas' into 'main'
config typings

See merge request PronounsPage/PronounsPage!429
2024-03-07 20:06:52 +00:00
Andrea Vos
60ec7d35f4 (ar)(pronouns) remove GrammarTables 2024-03-07 20:41:53 +01:00
Andrea Vos
1caa292d78 (admin) add "workshops" as area for timesheets 2024-03-07 20:31:32 +01:00
Valentyne Stigloher
4d4c0895db (lint) generate json schema from Config type to validate config.suml
fix some instances of wrong schemas in config.suml
2024-03-07 16:28:12 +01:00
Valentyne Stigloher
c84346137c (ts) explicitely type Config 2024-03-07 16:28:12 +01:00
Valentyne Stigloher
cf91fdb13a (format) split long lines 2024-03-07 16:11:20 +01:00
pt contributors
f75d58ce7b (trans)(pt) 2024-03-07 12:04:35 +01:00
Valentyne Stigloher
fedd7593f0 (trans) use <strong> for Sentry name in accordance to other services 2024-03-07 11:48:17 +01:00
Valentyne Stigloher
92c84b3dec (doc) update list of server scripts 2024-03-07 11:48:17 +01:00
Valentyne Stigloher
551f5f12c1 Merge branch '380-sentry' into 'main'
Sentry

Closes #380

See merge request PronounsPage/PronounsPage!424
2024-03-07 09:45:44 +00:00
Andrea Vos
769362cdf6 (pl) fix typo 2024-03-05 18:30:40 +01:00
Valentyne Stigloher
f69aec7998 (sentry) replace some console.error with Sentry.captureException 2024-03-05 18:19:34 +01:00
Valentyne Stigloher
035756c274 (privacy) add paragraph for Sentry 2024-03-05 18:19:34 +01:00
Valentyne Stigloher
2927195130 (sentry) disable sending of user information 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
f1b6d86cb2 (sentry) enable source-map uploading with release management
requires that the following environment variables are set:
SENTRY_PUBLISH_RELEASE=true
SENTRY_AUTH_TOKEN={generated token}
SENTRY_ORG=pronouns-page
SENTRY_PROJECT=pronouns-page
2024-03-05 18:19:33 +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
Valentyne Stigloher
c0c83270d0 (refactor) nuxtConfig.plugins use mode instead of deprecated ssr 2024-03-05 18:19:33 +01:00
Valentyne Stigloher
a238ad35f5 (ops) log server version to trace deployments in logs 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
6d74db471d Merge remote-tracking branch 'origin/main' 2024-03-05 18:15:06 +01:00