20 Commits

Author SHA1 Message Date
Andrea Vos
a0d77b7b97 make the mastodon env vars more descriptive 2024-12-25 12:12:58 +01:00
Andrea Vos
215e859da6 silly me 2024-11-20 23:11:24 +01:00
Andrea Vos
b667a875c8 (calendar) bsky bot 2024-11-20 23:03:30 +01:00
Valentyne Stigloher
b25afefc49 (fmt) 2024-10-29 10:56:32 +01:00
Andrea Vos
ceb7d49c06 fix smoke tests 2024-03-20 18:36:18 +01:00
Valentyne Stigloher
f69aec7998 (sentry) replace some console.error with Sentry.captureException 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
2364e2543c (ts) convert locale/locales.ts to TypeScript 2024-02-23 17:48:16 +01:00
PronounsPage
fa14ab79d9 (lint) automatically fix lints via yarn lint --fix 2024-01-11 20:36:05 +01:00
Valentyne Stigloher
18bab35115 (lint) fix variables 2023-12-28 22:34:27 +01:00
Valentyne Stigloher
e5b84d7368 (ci) add linting with ESLint
remove unused variables
2023-12-28 22:32:59 +01:00
Andrea Vos
0328abdb95 Merge branch 'jest' into 'main'
Jest for unit testing

See merge request PronounsPage/PronounsPage!386
2023-12-17 15:39:30 +00:00
Andrea Vos
9888c64e7b (calendar) #369 use mastodon's language flag 2023-12-17 16:14:21 +01:00
Valentyne Stigloher
046274dec7 fixup! (refactor) migrate from cjs to esm so that in the case of importing .json files, node does support these only via adding with { type: 'json' } and then it is still experimental. The workaround is to create a require() function which is hidden from webpack via simple-hacky string replacement. https://nodejs.org/api/esm.html#json-modules This means that the files are not fully compatible, as webpack supports loading of other files via import, while node does only allow .js (experimentally .json and .wasm). 2023-12-13 23:53:06 +01:00
Valentyne Stigloher
eb9ebace3a (refactor) migrate from cjs to esm so that
in the case of importing `.json` files, node does support these only via adding `with { type: 'json' }`
and then it is still experimental.
The workaround is to create a require() function which is hidden from webpack via simple-hacky string replacement.
https://nodejs.org/api/esm.html#json-modules
This means that the files are not fully compatible, as webpack supports loading of other files via `import`,
while node does only allow `.js` (experimentally `.json` and `.wasm`).
2023-12-13 23:31:45 +01:00
Andrea Vos
99ce85e867 [calendar] fix bot 2022-06-05 10:42:05 +02:00
Andrea Vos
3dab0f8762 [calendar] more resistant bot 2022-06-04 12:42:18 +02:00
Andrea Vos
8b024153fa [calendar][bot] threads 2022-01-03 19:22:10 +01:00
Andrea Vos
e8860a7e0f [calendar][bot] post on mastodon as unlisted 2021-12-16 19:34:02 +01:00
Andrea Vos
8e330a3356 [calendar][bot] mastodon support 2021-12-16 18:06:16 +01:00