6247 Commits

Author SHA1 Message Date
Andrea Vos
c826dea865 (pl)(blog) inkluzywna ortografia 2024-04-25 17:36:22 +02:00
Andrea Vos
a96f60c2f6 (pl)(blog) inkluzywna ortografia 2024-04-25 17:33:01 +02:00
Andrea Vos
281c46bebb (blog) make blog more visible: latest posts on homepage, item in header 2024-04-23 22:53:46 +02:00
Andrea Vos
3bdbed6568 Merge remote-tracking branch 'origin/main' 2024-04-23 22:51:01 +02:00
Andrea Vos
c83219c00d (blog) make blog more visible: latest posts on homepage, item in header 2024-04-23 22:50:53 +02:00
Andrea Vos
fb8ac5b99c Merge branch 'main' into 'main'
Estonian translations

See merge request PronounsPage/PronounsPage!443
2024-04-23 07:27:35 +00:00
Gradient1058
8d3b102aa1 35 translations 2024-04-23 06:03:17 +00:00
Andrea Vos
6a619ce32c (lint) 2024-04-22 18:57:15 +02:00
Andrea Vos
f15492a889 (mod) add message template for underage account removal notice 2024-04-22 18:52:11 +02:00
Andrea Vos
ce09fbc812 (stats) make the "flag_alt" translations optional: still show them on the list of missing translations, but don't count them to stats 2024-04-22 18:47:48 +02:00
Andrea Vos
2894fc79f7 Merge remote-tracking branch 'origin/main' 2024-04-22 18:45:10 +02:00
Andrea Vos
ed32a6a8d1 (pl)(calendar) miastamaszerujace 2024 2024-04-22 18:44:57 +02:00
Andrea Vos
cd5ac76a9a (pl)(blog) trójjednia 2024-04-22 09:31:41 +02:00
Andrea Vos
2cdfab14e9 (calendar) make nonbinary parent day dynamic 2024-04-22 00:22:37 +02:00
pt contributors
275291879e (pt)(trans) 2024-04-20 11:57:49 +02:00
Valentyne Stigloher
f7201f44da (make) ignore errors from server/sentry.ts during deploy because they are not critical 2024-04-19 23:54:22 +02:00
Valentyne Stigloher
922210dc70 Merge branch 'max-chunk-size' into 'main'
troubleshooting for load errors

See merge request PronounsPage/PronounsPage!442
2024-04-19 21:30:56 +00:00
Valentyne Stigloher
d126d751fb (nuxt) overwrite default loading indicator to display a message about error troubleshooting
modified version of @nuxt/vue-app/template/views/loading/default.html
2024-04-19 23:09:51 +02:00
Valentyne Stigloher
28b752d179 (nuxt) set maxSize for webpack bundles to 250kB 2024-04-19 22:41:12 +02:00
Valentyne Stigloher
839e318eae Merge branch 'remove-ide-configuration' into 'main'
remove IDE configuration & fix CI

See merge request PronounsPage/PronounsPage!441
2024-04-19 20:40:46 +00:00
Andrea Vos
417fee7f9d (nl)(trans) Storend genderoutje 2024-04-19 11:03:55 -05:00
Valentyne Stigloher
7cdcd8f455 (de)(trans) 2024-04-19 12:32:41 +02:00
Valentyne Stigloher
d06f934bdf (format) 2024-04-18 12:47:44 +02:00
Valentyne Stigloher
0b1b860dd4 (test) explicitely ignore new for now (needs proper setup) 2024-04-18 12:24:37 +02:00
Valentyne Stigloher
a737012906 (ci) use pnpm 8 because pnpm 9 causes issues with the lockfile which are not trivial to fix without changing package versions 2024-04-18 12:18:50 +02:00
Valentyne Stigloher
f068c94c8b (ide) remove configuration as it has too many unforeseen conflicts and is not convenient 2024-04-18 11:48:13 +02:00
Andrea Vos
0631502c79 Merge remote-tracking branch 'origin/main' 2024-04-17 07:17:13 -05:00
Andrea Vos
b1caf737ca (user)(ui) revamp the account page 2024-04-17 07:16:53 -05:00
tecc
5e3c287e51
feat(rewrite): Users, tokens, authentication, etc.
This is essentially a codedump because there are too many interweaved changes for me to keep track of or separate into smaller, more comprehensible commits.
So, enjoy! This maelstrom of code, torrent of implementations, and other minor changes.
2024-04-17 05:10:02 +02:00
tecc
d9fa2db3fb
fix(gitignore): Ignore entire .idea directory
.gitignore: It's just a nuisance to developer experience when you include `.idea`. A non-insignificant amount of time I spend fiddling with git is only to remove .idea files.
.idea: .idea will be left alone since I don't want to screw over someone's configurations. I just won't be committing those changes.
2024-04-17 04:57:08 +02:00
tecc
0edf59325a
fix(nuxt): nuxt.config.ts fix for Windows
nuxt.config.ts: `__dirname` would not be calculated correctly for Windows, but now it should. I feel like I've fixed this exact issue before in this exact situation before but :|.
2024-04-17 04:57:08 +02:00
tecc
7f31ee8898
feat(rewrite): Authenticator utilities and social lookup definitions (plus other changes)
authenticators: Authenticator utilities are now provided. Most of them are reimplementations of functions found in `src/user.js`.
util-emails: Clarified the intended use case and the function purpose duplication for `validateEmail`.
v1-ApiError: API errors now have an `id` field that may  in the future be used for localising error messages. Some documentation was also added.
2024-04-17 04:57:08 +02:00
tecc
7f45ea00df
feat(rewrite): Mailer (and mail utilities)!
mailer: The mailer is here! The equivalent of `src/mailer.js` has been implemented as `src/util/mailer.ts`, but with a few major differences: it uses Handlebars for templating, and minifies the results.
mailer-tests: Some tests were implemented for the mailer. More need to be made, but that can be done later.
2024-04-17 04:57:08 +02:00
tecc
2c0746cb42
change(rewrite)!: Social lookup uniqueness and other small changes
prisma-SocialLookup: `SocialLookup` is now supported through adding a unique index on every field.
Awaitable:  `Awaitable<T>` is a small global type that just means "anything that can be awaited. It's a counterpart to the default `Awaited` type, for when you want something that will be treated as an async value.
test-tsconfig: The `global.d.ts` file is now included by `backend`'s test tsconfig file. The same has not been done to `common` as it isn't necessary at the moment.
2024-04-17 04:57:07 +02:00
tecc
66168bcca3
feat(rewrite): Static data and key loading
static-data: Static data is now loaded. For now only the logos are loaded, but more may be added in the future. The logos are loaded in a similar fashion to how locale-specific logos are.
keys: Keys can now be loaded. They aren't
2024-04-17 04:57:07 +02:00
tecc
990aabf6d8
feat(rewrite): Locale class toJSON + lastLoaded property, etc.
locale-lastLoaded: `lastLoaded` allows code that uses locales to cache certain values until the locale is reloaded. Useful for hot-reloading locales.
locale-toJSON: The `Locale` class now has a generic `toJSON` implementation should that be necessary, provided by the new `toJSONGeneric` utility.
locale-logo: Locale-specific logos are now stored twice: once as the actual loaded data, and again as a URL. The `locale.logo` property resolves to the URL versions, whereas `locale.logoSource` resolves to the source data.

refreshLocaleDescriptionCaches: `refreshLocaleDescriptionCaches` allows reloading all derived values from the actual loaded data separately from loading everything again. Mainly used in test code but useful nonetheless.
getActiveLocaleDescriptions: The `activeLocaleDescriptions` array is now computed alongside the other cache values in `refreshLocaleDescriptionCaches`.
2024-04-17 04:57:07 +02:00
tecc
3e0ac36204
change(rewrite): Time and identifier utilities + watch script for common, 2024-04-17 04:57:07 +02:00
tecc
e3cbddf294
feat(locales): Fallback locales, translation keys
fallback-locales: Locales can now specify fallbacks. For now these fallbacks are global and not individually configurable, but the code has been written so that adding individual fallbacks will be simple.

dep/dependency-graph: `dependency-graph` was added as a library to prevent locale loading issues where they would be loaded out of order. It might be overkill at the moment, and *definitely* slows down start times, but it's very future-proof.
2024-04-17 04:57:07 +02:00
tecc
d352a1c8d1
test(rewrite): Add tests to backend, update common test config 2024-04-17 04:57:06 +02:00
Andrea Vos
7c2977c118 (user)(ui) revamp the account page 2024-04-16 21:04:35 -05:00
Andrea Vos
44e656744b (user)(ui) revamp the account page 2024-04-16 20:55:39 -05:00
Andrea Vos
0f21051a08 (pl)(census) email subscription 2024-04-15 08:17:05 -05:00
Andrea Vos
7a3f09bc0b (pl)(census) email subscription 2024-04-15 07:59:13 -05:00
Andrea Vos
7da355a1bf (pl)(census) forgot to bump the date 2024-04-15 06:40:44 -05:00
Andrea Vos
f25d4fdb43 Merge branch 'spis-2024-raport' into 'main'
spis 2024

See merge request PronounsPage/PronounsPage!440
2024-04-15 11:39:35 +00:00
Andrea Vos
1a480543a6 (pl)(census) cleanup 2024-04-14 22:33:02 -05:00
Andrea Vos
27eb43f320 (pl)(census) cleanup 2024-04-14 17:04:57 -05:00
Andrea Vos
9b3a316a44 Merge branch 'refs/heads/main' into spis-2024-raport 2024-04-14 17:04:35 -05:00
Andrea Vos
f8fa1f8e78 (pl)(census) raport skrócony 2024-04-14 16:49:12 -05:00
Andrea Vos
0e575e509f (pl)(census) raport skrócony 2024-04-14 16:20:53 -05:00