todos-contra-el-fuego-web/imports/startup/server
vjrj 25dc1b99c0 WIP(meteor3): boot progresses past linker + several async fixes
Past the client-bundle underscore linker (pin underscore@1.6.4) and now working
through the server async/await migration on Meteor 3.1 + Mongo 7:

- Removed fibers (imports/startup/server/fibers.js + import) — gone in Meteor 3.
- accounts/oauth.js: upsert -> upsertAsync (top-level await).
- migrations.js: startup async + await Migrations.migrateTo (async in 2.x).
  mongo7 marked at version 18 so historical up() bodies (still sync Mongo) don't
  run — prod data restores already-migrated. Documented.
- subsUnion.js: fully async (fetchAsync/findOneAsync/countAsync/upsertAsync,
  observeAsync with async callbacks).
- facts.js: dropped dead sync findOne.
- email.js: ostrio:mailer 2.5 is a default export (was named import); dropped
  removed static MailTime.Template (built-in default '{{{html}}}').

NEXT wall + remaining chain (multi-session):
1. aldeed:collection2@4.2.0 needs simpl-schema 3.x (app has 1.x) -> 'attachSchema
   is not a function'. Requires upgrading npm simpl-schema to 3.x and migrating
   all collection schemas (SimpleSchema.RegEx.Id etc.) across ~8 files.
2. Rest.js + helpers (countRealFires/firesUnion/whichAreFalsePositives/
   fireFromHash/subscriptionsInsert/upsertFalsePositive) -> *Async.
3. Patch vendored restivus to await async endpoint handlers.
4. methods/publications/comments to async; cron SyncedCron(quave)/Facts imports.
5. alanning:roles@1.2.10 + gadicohen:sitemaps@0.0.17 warn incompatible -> bump.
6. React 16 -> 18 render root.

Run with: NODE_OPTIONS='--dns-result-order=ipv4first --no-network-family-autoselection'
MONGO_URL='mongodb://localhost:27019/fuegos?replicaSet=rs0'
2026-07-13 23:46:45 +02:00
..
accounts WIP(meteor3): boot progresses past linker + several async fixes 2026-07-13 23:46:45 +02:00
api.js Added fires union (wip) 2018-11-18 11:48:03 +01:00
catchExceptions.js Removed some coments 2018-05-03 01:37:22 +02:00
cron.js notif: remove code migrated to tcef-notifications microservice 2026-07-13 19:45:13 +02:00
email.js WIP(meteor3): boot progresses past linker + several async fixes 2026-07-13 23:46:45 +02:00
facts.js WIP(meteor3): boot progresses past linker + several async fixes 2026-07-13 23:46:45 +02:00
feedback.js Change feedback email 2018-02-21 20:50:44 +01:00
fixtures.js add support for user and document fixtures 2017-05-27 15:34:21 -05:00
i18n.js Fire popupsand active/archive urls 2018-02-08 11:15:23 +01:00
index.js WIP(meteor3): boot progresses past linker + several async fixes 2026-07-13 23:46:45 +02:00
IPGeocoder.js smoke: REST API regression harness + baseline snapshots (Meteor 1.6.1.1) 2026-07-13 19:42:55 +02:00
isMaster.js Added master/worker pm2 detection and mail configuration 2018-04-04 08:42:02 +02:00
leaflet-workaround.js Refactor server startup: elimina segfaults, añade leaflet-workaround 2026-07-12 23:26:16 +02:00
migrations.js WIP(meteor3): boot progresses past linker + several async fixes 2026-07-13 23:46:45 +02:00
prerender.js Remove log 2018-02-17 08:52:50 +01:00
ravenLogger.js Log ravenLogger enabled/disabled 2018-05-22 18:19:37 +02:00
rest.js Rest api updated 2018-06-14 17:55:38 +02:00
sitemaps.js escala 2+3: Meteor 1.8.3 -> 2.3 (Mongo 3.2 compatible), dead-package remediation 2026-07-13 22:24:09 +02:00
subsUnion.js WIP(meteor3): boot progresses past linker + several async fixes 2026-07-13 23:46:45 +02:00