465 Commits

Author SHA1 Message Date
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
ffbb7daf25 (admin)(security) fix possible permission escalation 2024-01-04 17:41:17 +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
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
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
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
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
Andrea Vos
3f732fc772 (calendar) clean version, only first day of long events 2023-07-11 21:47:54 +02:00
Andrea Vos
73ab63447b account switch – extra protection for editor 2023-07-10 20:17:41 +02:00
Andrea Vos
5e473c8c12 (admin) faster profile moderation – filter by locale 2023-06-26 22:46:38 +02:00
Andrea Vos
a43c7c0ff6 (admin) faster profile moderation – introduce "mild sus"
keywords with a lot of false positives should only trigger when accompanied by at least one other keyword
2023-06-26 08:43:11 +02:00
Andrea Vos
bc7b8f89c5 (nouns) fix domain in the image generation of dictionary items 2023-06-25 08:52:08 +02:00
Andrea Vos
388611776f (en)(blog) revolution-polish 2023-06-09 21:45:03 +02:00
Andrea Vos
00d820cbed [team] fix kevinn appearing twice on the team page 2023-06-04 19:25:45 +02:00
Andrea Vos
98b4b7f2bf fix(api-profile-filter) fix a typo breaking verified links 2023-06-04 11:26:08 +02:00
tecc
20c83b5ff9
fix(api-profile-filter): Only compute link data if needed 2023-06-02 20:14:11 +02:00
tecc
18a6f27414
fix: Insure against undefined opts parameter in fetchProfiles 2023-06-02 16:11:18 +02:00
tecc
5c68d11b80
fix(api-profile-filter): Fix several bugs filtering data in profile requests
profile-routes-options: Profile-related routes were not properly instantiating/passing a ProfileOptions object - this has now been fixed.
profile-options: Some of the logic for the ProfileOptions class was rewritten/reorganised for clarity and stability.
profile-v2: Because some fields were nullish, the conversion between v2 and v1 wasn't working properly. Now, everything checks for nullability AFAIK.
2023-06-02 16:00:24 +02:00
tecc
8bb0a7fde0
fix(api-profile-filter): Fix filtering data in profile requests 2023-06-02 16:00:24 +02:00
tecc
b1f9f39ca7
feat(api): Filtering profile data 2023-06-02 16:00:23 +02:00
Andrea Vos
90a9482f2a better handling of image uploads 2023-05-31 18:27:20 +02:00
Andrea Vos
5b15be1f3b error handling – cleaner logs for invalid image uploads 2023-05-31 12:55:56 +02:00
Andrea Vos
fa0a181117 [api] minor request validator to avoid spamming logs on invalid requests 2023-05-25 22:34:30 +00:00
Andrea Vos
4471caa2d9 [user] social lookup 2023-05-06 17:32:07 +02:00
Andrea Vos
6f8c485980 [auth] login with apple 2023-04-29 09:42:11 +00:00