5581 Commits

Author SHA1 Message Date
Theodore Dubois
a1a085e205 (tok) trans 2024-01-07 21:00:04 -08:00
Andrea Vos
fbbeb7fe08 Merge branch 'main' into 'main'
Update spanish translations

See merge request PronounsPage/PronounsPage!404
2024-01-06 19:00:17 +00:00
Benjamin
e56b17d1dc Update spanish translations 2024-01-06 12:55:37 -05:00
Andrea Vos
8c7c236e6b (ar)(trans) 2024-01-06 17:10:28 +01:00
Andrea Vos
61f38ba189 Merge branch 'main' into 'main'
Update Arabic Translation

See merge request PronounsPage/PronounsPage!403
2024-01-04 19:21:08 +00:00
Benjamin
507718c83b Merge branch 'main' of https://gitlab.com/PronounsPage/PronounsPage 2024-01-04 12:31:16 -05:00
Andrea Vos
b81b17afd3 Merge remote-tracking branch 'origin/main' 2024-01-04 18:19:11 +01:00
Andrea Vos
9c03b951aa (ar)(trans) 2024-01-04 18:19:05 +01:00
Benjamin
49eb1bf008 Update translations.suml 2024-01-04 17:16:27 +00: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
da1c9399fc (ar)(trans) 2024-01-04 17:59:08 +01: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
ed4049b3cc (pronouns) interpret empty morpheme as missing morpheme in interchangeable pronouns 2024-01-04 14:47:44 +01:00
Andrea Vos
b8a40b16df (es)(trans) 2024-01-03 21:48:16 +01:00
Andrea Vos
8437c47bf7 Merge remote-tracking branch 'origin/main' 2023-12-31 12:32:22 +01:00
Andrea Vos
c3157a8599 (ua)(trans) 2023-12-31 12:32:15 +01:00
Andrea Vos
746537202d Merge branch 'validate-translations' into 'main'
(de) translation + simple validation

See merge request PronounsPage/PronounsPage!399
2023-12-30 12:14:00 +00:00
Andrea Vos
7a0ba4da29 fix lint 2023-12-29 00:26:07 +01:00
Andrea Vos
9e025e7c14 (en) easter egg 2023-12-29 00:15:37 +01:00
Valentyne Stigloher
2fd011734f (fix) check that window.fusetag.pageInit exists 2023-12-28 23:15:00 +01:00
Valentyne Stigloher
a72dd34d53 (trans) de 2023-12-28 23:14:11 +01:00
Valentyne Stigloher
419ef55555 (test) ensure that expected translations are defined in base translations
(trans) fix typo from pronoun.example to profile.example
(refactor) use deepGet util in translator and test
2023-12-28 23:14:10 +01:00
Valentyne Stigloher
93db7e672e (test) validate translations 2023-12-28 23:12:33 +01:00
Andrea Vos
75653d45ce Merge branch 'linting' into 'main'
Linting

See merge request PronounsPage/PronounsPage!395
2023-12-28 22:05:16 +00:00
Andrea Vos
a7f093865e (lint) fixes 2023-12-28 22:36:40 +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
b0d00883cc (lint) explicitely add .vue extension when importing components 2023-12-28 22:34:27 +01:00
Valentyne Stigloher
f2146eb4ff (ci) add linting plugin for imports 2023-12-28 22:34:26 +01:00
Valentyne Stigloher
8d599d5a0f (ci) add linting plugin for Vue 2023-12-28 22:34:06 +01:00
Valentyne Stigloher
e5b84d7368 (ci) add linting with ESLint
remove unused variables
2023-12-28 22:32:59 +01:00
Andrea Vos
8358276418 Merge branch 'calendar-profile' into 'main'
Personal calendar in the card

See merge request PronounsPage/PronounsPage!397
2023-12-26 12:34:35 +00:00
Andrea Vos
ea4998fdf0 Personal calendar in the card 2023-12-26 12:34:35 +00:00
Andrea Vos
9b41b4e635 Merge branch 'fix-translations-team-description' into 'main'
(trans) ensure that contact.team.description is a single value

See merge request PronounsPage/PronounsPage!398
2023-12-23 10:22:17 +00:00
Valentyne Stigloher
e0cb98ea50 (trans) ensure that contact.team.description is a single value
if it is a list, `head()` will throw an error (in production it is discarded)
2023-12-23 01:00:04 +01:00
Andrea Vos
5ebe2554e8 (en)(links) fix NYU link, add UCSB bibliography 2023-12-21 11:39:13 +01: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
2ebc5a8035 (en)(links) NYU 2023-12-20 13:27:40 +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
Andrea Vos
da639a7185 (ua)(trans) 2023-12-16 15:38:28 +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
3a86a20fc0 (ci) add coverage report 2023-12-13 23:35:38 +01:00
Valentyne Stigloher
07bb6fa20b (ci) add simple GitLab CI configuration for running jest tests 2023-12-13 23:35:38 +01:00
Valentyne Stigloher
c00e6e772b (make) add make test to Makefile
the target `test` has to be phony, because the directory `test` would trigger an `already up to date` message
2023-12-13 23:35:38 +01:00
Valentyne Stigloher
7e5134c0ed (test) add tests for pronoun parsing 2023-12-13 23:35:38 +01:00
Valentyne Stigloher
21adf0e13d (test) add jest as unit testing framework 2023-12-13 23:35:37 +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