todos-contra-el-fuego-web/imports/api
vjrj 637a749e8d meteor3: REST API async migration COMPLETE — smoke green on Meteor 3.1 + Mongo 7
All 12 Flutter REST endpoints byte-identical to the 1.6.1.1 baseline, running on
Meteor 3.1 against dockerized MongoDB 7. The 3.x jump works end-to-end.

- Rest.js: every endpoint action -> async; all Mongo calls -> *Async
  (findOneAsync/countAsync/fetchAsync/upsertAsync/removeAsync).
- Helpers to async: countRealFires (accepts array|cursor, forEachAsync->for-of),
  firesUnion (fetchAsync), fireFromHash/findOrCreateFire (await, dropped Fibers
  Promise.await), subscriptionsInsert/subscriptionsRemove, upsertFalsePositive,
  falsePositives.insert, subscriptions.update method, countFiresInRegions.
- getFires: countAsync() on a $near cursor throws on the mongodb 6 driver
  ($near not allowed in the aggregation countDocuments uses) -> fetch once and
  use array length for total.
- Route order: json-routes 3.0 matches in registration order, so
  mobile/subscriptions/all/:token/:mobileToken is now registered BEFORE
  :token/:mobileToken/:subsId (else GET .../all/x/y hit the delete-only route).
2026-07-14 06:21:35 +02:00
..
ActiveFires meteor3: REST API async migration COMPLETE — smoke green on Meteor 3.1 + Mongo 7 2026-07-14 06:21:35 +02:00
ActiveFiresUnion Minor changes in fires union 2018-12-23 13:31:41 +01:00
Comments escala 2+3: Meteor 1.8.3 -> 2.3 (Mongo 3.2 compatible), dead-package remediation 2026-07-13 22:24:09 +02:00
Common Added nasa link 2018-03-12 10:24:46 +01:00
Documents Lint fixes 2017-12-15 17:42:45 +01:00
FalsePositives meteor3: REST API async migration COMPLETE — smoke green on Meteor 3.1 + Mongo 7 2026-07-14 06:21:35 +02:00
FireAlerts Fix API now using track 2018-09-15 10:27:03 +02:00
Fires meteor3: REST API async migration COMPLETE — smoke green on Meteor 3.1 + Mongo 7 2026-07-14 06:21:35 +02:00
Industries Added more industries 2018-02-27 16:50:26 +01:00
Notifications Mobile notifications 2018-08-02 12:42:19 +02:00
OAuth/server corrections found while writing documentation 2017-06-05 16:44:35 -05:00
Rest meteor3: REST API async migration COMPLETE — smoke green on Meteor 3.1 + Mongo 7 2026-07-14 06:21:35 +02:00
SiteSettings Disable sitesettings methods 2018-02-14 11:26:14 +01:00
Subscriptions meteor3: REST API async migration COMPLETE — smoke green on Meteor 3.1 + Mongo 7 2026-07-14 06:21:35 +02:00
Users Rest api updated 2018-06-14 17:55:38 +02:00
Utility Fallback moved. Index points to telegran en bot 2018-05-10 09:00:05 +02:00