919 Commits

Author SHA1 Message Date
Andrea Vos
3e101d8605 (pl)(census) prepare email notification 2024-02-01 13:16:29 +01: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
Andrea Vos
4cd23d5636 remove duplication of isGranted in notify.js (was blocked by .mjs changes) 2024-01-11 21:46:37 +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
Valentyne Stigloher
0435f28e21 (profile) allow optional pronunciation for names
keep in mind that newly added properties won’t be reactive,
so both on profile parsing and on creating a new row from the prototype
the new pronunciation property must be included
2024-01-11 16:15:04 +01:00
Valentyne Stigloher
f82344eb0c (refactor) decouble pronunciation API from pronouns to allow more flexible use 2024-01-11 16:15:04 +01:00
Theodore Dubois
4de49a1824 Add unapprove button for translations
Meant for misclicks, especially since there's no confirmation on accept.
2024-01-10 13:22:27 -08:00
Theodore Dubois
8f8ce79de3 Always mark new translations as awaiting approval
It's useful to have approval as a separate step in the workflow even
when the translator is also able to do the approval.
2024-01-10 13:22:27 -08:00
Andrea Vos
15c3c1c82d Merge branch 'fixes' into 'main'
Little fixes

See merge request PronounsPage/PronounsPage!402
2024-01-04 17:15:30 +00:00
Andrea Vos
ffbb7daf25 (admin)(security) fix possible permission escalation 2024-01-04 17:41:17 +01:00
Valentyne Stigloher
3cc223559a (fix) /api route results in 500
add ignored _next parameter as express needs four parameters to supply err
introduced in e5b84d736831ff37fb4238a0edc9b178d3b81f38
2024-01-04 14:47:46 +01:00
Valentyne Stigloher
18bab35115 (lint) fix variables 2023-12-28 22:34:27 +01:00
Valentyne Stigloher
9a9d130de7 (lint) explicitely state when global variables are used 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
ea4998fdf0 Personal calendar in the card 2023-12-26 12:34:35 +00:00
Andrea Vos
f207294ffa (bug) fix email validation of MX records for subdomains that don't have records (fallback to parent domain should be used) 2023-12-21 11:35:30 +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
Valentyne Stigloher
449822e2d8 (refactor) remove unused imports 2023-12-13 23:31:00 +01:00
Andrea Vos
ac0dd81244 (profile) allow inline markdown - add switch 2023-12-10 00:32:22 +01:00
Andrea Vos
5a6315ad47 (security) improve pronunciation endpoint length check
eg.: <speak><phoneme ph="sʌm ɪnˈtaɪər ˈʃeɪkspɪər tɛkst ɪn ˈaɪpiːˈeɪ"/></speak>
2023-11-19 13:50:48 +01:00
Andrea Vos
742fc10a5c fix minor issues to clean up js/node logs 2023-11-02 08:27:06 +01:00
Andrea Vos
ac6beb4dc9 (bug) fix translations page breaking when contributor has removed their account 2023-10-26 18:36:03 +02:00
Andrea Vos
534756668f (feature)(profile) cards backup - base64 2023-10-09 19:05:49 +02:00
Andrea Vos
2ffa8f36e5 (feature)(profile) cards backup - MR fixes 2023-10-08 23:32:54 +02:00
Andrea Vos
84269657d3 (feature)(profile) cards backup - disallow banned users 2023-10-07 16:15:35 +02:00
Andrea Vos
bad7f12ad8 (feature)(profile) cards backup 2023-10-07 16:01:42 +02:00
Andrea Vos
e51b609849 #358 (bug)(sec) use memory-safe memorystore implementation 2023-08-26 12:37:03 +02:00
Andrea Vos
3c70f74f54 (bug) fix nouns sources 2023-08-24 09:30:25 +02:00
Andrea Vos
411fd49f88 (profile) keep case in links (displayed) 2023-08-23 00:01:57 +02:00
Andrea Vos
1cb134f984 (bug)(terms) fix uploading images in terms 2023-08-22 19:16:13 +02:00
Andrea Vos
2b680a472b Revert "Merge branch 'better-sqlite' into 'main'"
This reverts merge request !367
2023-08-13 19:23:03 +00:00
Andrea Vos
ee5f618632 better-sqlite3 - fixes 2023-08-12 13:47:04 +02:00
Andrea Vos
642701e53c better-sqlite3 - re-implement migrations 2023-08-12 13:02:36 +02:00
Andrea Vos
2a57667329 better-sqlite3 and better-sqlite-pool 2023-08-12 12:34:36 +02:00
Andrea Vos
63a5cd9ab9 (bug) fix issues with sources (filtering, images) 2023-08-04 17:21:31 +02:00
Andrea Vos
f48e758a1b (bug) fix cleanupAccounts – ensure that lastActive is never null, otherwise users might get a removal warning right after registering 2023-08-02 18:34:26 +02:00
tecc
373ec54aae
change: Load some files in a more stable fashion 2023-07-29 04:22:50 +02:00
Andrea Vos
521b913865 audit log - admin panel read access 2023-07-27 22:09:46 +02:00
Andrea Vos
cf5a868f78 audit log 2023-07-27 21:37:36 +02:00
Andrea Vos
f4ea5fd7f0 (pl)(calendar) miastamaszerujace - manual fixes for irregular HTML 2023-07-19 21:16:21 +02:00
Andrea Vos
3bc14a493a reorganise locale list
it's more visible in the locale directory, the published column is clearer when the list contains objects

also: prepare language symbols, but without enabling them yet
2023-07-15 14:13:22 +02:00
Andrea Vos
a37623f838 (auth)(bug) fix account switch validation might randomly switch to other authenticated account 2023-07-14 10:26:28 +02:00