Commit graph

39 commits

Author SHA1 Message Date
eb3aec82ae meteor3: purge dead client packages — web UI renders on 3.1
alanning:roles removed (client crashed the whole bundle; plain user.roles
checks instead), selaias:cookie-consent replaced by in-repo React banner,
publish-performant-counts vendored with countAsync, Meteor.autorun dropped
(App)/Tracker.autorun (FiresMap), and the map publications not covered by
the REST smoke (activefiresmyloc, activefiresunionmyloc, fireAlerts,
oauth.verifyConfiguration) converted to async APIs.

Verified in browser: / and /fires render with map + cookie banner, zero
uncaught exceptions. REST smoke byte-identical (12/12).
2026-07-14 11:32:19 +02:00
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
vjrj
6abe668740 Added fires union (wip) 2018-11-18 11:48:03 +01:00
vjrj
df47bef794 Fix API now using track 2018-09-15 10:27:03 +02:00
vjrj
f144c986b7 Added fire stats in zone to API 2018-05-20 17:45:25 +02:00
vjrj
03acf8ba65 Fix for firestats increased by one 2018-05-05 09:01:34 +02:00
vjrj
88a3eb9639 Adjusts in tweet texts 2018-05-04 11:27:12 +02:00
vjrj
032f6939f6 Remove tweet sample in dev 2018-05-03 20:33:02 +02:00
vjrj
7bb004cdd2 Improved tweets when many fires 2018-05-02 19:03:30 +02:00
vjrj
cd63f88e72 Improved tweet sizes 2018-05-02 17:44:33 +02:00
vjrj
e60adc574b Fix server import 2018-04-27 20:05:38 +02:00
vjrj
a4053e6dcd Added debug to countFires 2018-04-27 17:32:03 +02:00
vjrj
4bdebc0af4 Added raven to countFires 2018-04-27 17:31:53 +02:00
vjrj
1eb6e45dfe Added EU fire stats tweets 2018-03-22 17:42:13 +01:00
vjrj
452f6baf45 Last fire detected 2018-03-22 16:38:27 +01:00
vjrj
9ee01a6ef8 Improved autonomies names, cron job return 2018-03-22 09:38:40 +01:00
vjrj
de7c56d99b Improved autonomies names 2018-03-22 09:09:53 +01:00
vjrj
681c70f80c Better calculation of fires in tweets 2018-03-22 08:47:24 +01:00
vjrj
a326000474 Remove space in tweets 2018-03-18 20:31:20 +01:00
vjrj
0c56bcf7e0 Added cron tweets for active fires in 'es' and 'pt' 2018-03-17 20:06:00 +01:00
vjrj
ccbfe642a8 Added industries collection 2018-02-26 12:11:23 +01:00
vjrj
f0bf995584 Fire page now shows also false positives 2018-02-20 07:55:26 +01:00
vjrj
237269f761 Fix some FireMaps data retrieving 2018-02-17 08:43:01 +01:00
vjrj
2a6d8bea78 False positives only for active fires 2018-02-16 20:40:41 +01:00
vjrj
eca58df6c2 Fire popupsand active/archive urls 2018-02-08 11:15:23 +01:00
vjrj
2fec833aef Better publication and count of active fires in current map 2018-01-30 18:05:11 +01:00
vjrj
3bf21c8caf Added web and email notifications. Tests. Fire page 2018-01-16 16:19:29 +01:00
vjrj
df05b33e82 Fix in IPGeocode (download, and fallback). Schema improvements 2018-01-11 12:28:55 +01:00
vjrj
4227389a67 Login/Auth and pariticipate. Telegram auth (wip) 2017-12-22 09:33:37 +01:00
vjrj
7a672bca87 Added confirm 2017-12-20 12:59:25 +01:00
vjrj
918103a17b More work with subscriptions 2017-12-17 02:00:53 +01:00
vjrj
316e14f0ea Added subs management (wip) 2017-12-16 18:47:08 +01:00
vjrj
56a7468ae3 Improved firesmap 2017-12-15 17:43:45 +01:00
vjrj
e0f55a02cf Warn on no connection IP 2017-12-14 10:21:50 +01:00
vjrj
ccf0716d3e Improving Fires publish 2017-12-13 22:24:02 +01:00
vjrj
81a0a4a61c Lint fixes 2017-12-13 08:12:37 +01:00
vjrj
2e36c9cd17 Improved FiresMap (makers checkbox, better calcs, etc) 2017-12-03 16:54:24 +01:00
vjrj
fe7a314d92 Added geolocation. Improved map subs. FireMap page 2017-12-01 21:18:10 +01:00
vjrj
0b4f895506 Map of active fires 2017-12-01 13:33:24 +01:00