|
|
6b6f02d92d
|
quality: web debt batch (tests runner, FireContainer, rate-limit, maps, i18n)
Independent-of-prod quality debt from PENDIENTE.md §2:
- test: migrate broken Jest -> meteortesting:mocha. Tests rewritten to chai +
Meteor 3 async APIs, moved to test/server/ (server-only). test/server/
00-setup.test.js re-runs the collection2/accounts init that `meteor test`
skips (no server/main.js). New comments method + mediaAnalyzers coverage.
Dropped rest.test.js (removed meteor/http; covered by smoke/). 36 passing.
- fix: scope FireContainer read by the URL _id on the archive route instead of
a selector-less FiresCollection.findOne() (imports/ui/pages/Fires/Fires.js).
- feat: rate-limit abusable publications via rateLimitSubscriptions (fireFrom*
and comments.forReference 5/1000ms; geo subs 10/1000ms).
- perf: append loading=async to the Google Maps loader URL (Gkeys.js).
- deps: meteor-accounts-t9n 2.0 -> 2.6 (no gl build -> keep gl->es fallback,
documented); add 3 missing gl/common.json keys (0 missing now).
- deps: drop jest/babel/enzyme, add chai.
|
2026-07-21 22:59:06 +02:00 |
|
|
|
12bdbe8fed
|
deps: i18next 10 -> 23, react-i18next 7 -> 14
Modernizes the whole i18n stack:
- 48 translate([], {wait:true}) / translate() HOCs -> withTranslation()
- react.wait:true -> react.useSuspense:false
- whitelist -> supportedLngs; added compatibilityJSON: 'v3' so our
natural-language keys + v3 _plural layout keep working (custom
separators ss/eth/dj preserved)
- backends: xhr -> i18next-http-backend (client), sync-fs ->
i18next-fs-backend (server); dropped i18next-localstorage-cache
(was enabled:false); languagedetector 2 -> 8
- ReSendEmail: <Interpolate> (removed in v10) -> <Trans values={{email}}/>,
dropped the removed bare t export
- saveMissing handler signature (lngs, ns, key, fallbackValue)
Silences the per-component Translate/I18n legacy-context warnings.
Browser-verified es/en switch and <Trans> interpolation on /fires;
REST smoke byte-identical.
|
2026-07-18 06:28:41 +02:00 |
|
Vicente J. Ruiz Jurado
|
829fae4f07
|
Trying to get available list of langs in profile
|
2018-08-17 05:39:03 +02:00 |
|
Vicente J. Ruiz Jurado
|
e223ddb643
|
Preload langs
|
2018-08-16 22:44:38 +02:00 |
|
Vicente J. Ruiz Jurado
|
9a31ab2457
|
Commenting gl in t9 accounts
|
2018-08-16 17:47:00 +02:00 |
|
Vicente J. Ruiz Jurado
|
f608fc4d28
|
Enabling Galego in interface
|
2018-08-16 17:32:45 +02:00 |
|
vjrj
|
ee427758c2
|
i18n whitelist langs
|
2018-02-16 17:07:18 +01:00 |
|
vjrj
|
966b2d56b9
|
Save missing fallback
|
2018-02-12 13:06:06 +01:00 |
|
vjrj
|
be10650150
|
New home slides
|
2018-02-07 18:26:09 +01:00 |
|
vjrj
|
464af6b9d1
|
More work with titles & descriptions
|
2018-02-07 15:27:12 +01:00 |
|
vjrj
|
698b3e36cb
|
Only load languages 'es', 'en' ...
|
2018-01-30 09:44:49 +01:00 |
|
vjrj
|
97c47c5d1d
|
Added user lang setting
|
2018-01-09 12:05:36 +01:00 |
|
vjrj
|
91b4197b04
|
Updated translations
|
2017-12-21 11:36:00 +01:00 |
|
vjrj
|
a0e5dc4723
|
i18n in server. Some fixes
|
2017-12-09 17:54:18 +01:00 |
|