5658 Commits

Author SHA1 Message Date
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
Andrea Vos
8566abf3fa (pl)(blog) równia pochyła 2023-12-13 18:09:24 +01:00
Andrea Vos
718afda565 Merge branch 'szymonmisiek-main-patch-befa' into 'main'
(pl)(academic) added new text (Tomasz Dyrmo)

See merge request PronounsPage/PronounsPage!394
2023-12-11 20:13:58 +00:00
Szymon Misiek
3016d16caf (pl)(trans-lingustics) typo 2023-12-11 20:12:54 +00:00
Szymon Misiek
281f3467ec (pl)(academic) added new text (Tomasz Dyrmo) 2023-12-11 20:03:47 +00:00
Andrea Vos
ab4284f32c Merge branch 'markdown' into 'main'
(profile) allow inline markdown syntax for fields: description, names, words

Closes #367

See merge request PronounsPage/PronounsPage!391
2023-12-11 16:20:06 +00:00
Andrea Vos
0b64664a2d (profile) allow inline markdown - better wording 2023-12-11 17:14:49 +01:00
Andrea Vos
ddef23f0f0 (dark)(a11y) improve contrast of <mark> in dark mode 2023-12-10 00:43:23 +01:00
Andrea Vos
ac0dd81244 (profile) allow inline markdown - add switch 2023-12-10 00:32:22 +01:00
Andrea Vos
3747372db0 Merge branch 'calendar-filter' into 'main'
(calendar) add filtering to the event list

See merge request PronounsPage/PronounsPage!390
2023-12-09 22:05:37 +00:00
Andrea Vos
f738d2154c Merge branch 'de-translations' into 'main'
German translations

See merge request PronounsPage/PronounsPage!393
2023-12-09 22:04:13 +00:00
Andrea Vos
1b3ec32423 (pl)(academic) translingwistyka 2023-12-09 23:02:42 +01:00
Valentyne Stigloher
df3d86696f (de) edit description of binary pronouns
All other pronoun groups don’t adress the reader directly and it missed the pronouns ≠ gender of the English version
2023-12-09 22:51:32 +01:00
Valentyne Stigloher
d5b21d1a37 (de) trans 2023-12-09 22:51:32 +01:00
Andrea Vos
c71b6efcfb (calendar) add filtering to the event list - optimisation 2023-12-09 21:49:17 +01:00
Andrea Vos
a75772b46d (calendar) add filtering to the event list - fix miscommit 2023-12-09 21:35:24 +01:00
Andrea Vos
2f4bb39943 Merge branch 'trans-lingwistyka' into 'main'
Trans lingwistyka

See merge request PronounsPage/PronounsPage!392
2023-12-09 20:11:48 +00:00
Andrea Vos
a2c0e59543 (pl)(academic) translingwistyka 2023-12-09 21:10:57 +01:00
Andrea Vos
2fa6ea2f25 (pl)(academic) translingwistyka 2023-12-09 20:44:51 +01:00
Andrea Vos
5f680642e7 Merge branch 'main' into markdown
# Conflicts:
#	locale/expectedTranslations.js
2023-12-09 19:10:21 +01:00
Andrea Vos
16b0004237 (profile) allow inline markdown - optimisation, consistency 2023-12-09 19:10:01 +01:00
Andrea Vos
4ed10398e1 (profile) allow inline markdown - add togglable instructions 2023-12-09 16:19:37 +01:00
Andrea Vos
d2bd2499d2 (profile) allow inline markdown - switch library 2023-12-09 15:59:20 +01:00
Andrea Vos
9b4834966d (pl)(academic) translingwistyka 2023-12-09 13:52:11 +01:00