Todos contra el fuego — aplicación web (Meteor)
Find a file
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
.meteor WIP(meteor3): boot progresses past linker + several async fixes 2026-07-13 23:46:45 +02:00
bin Added more industries 2018-02-27 16:50:26 +01:00
client WIP(meteor3): server BOOTS on 3.1 + Mongo 7; restivus async-patched 2026-07-14 06:11:00 +02:00
cucumber Added optional chimp configuration 2018-11-18 18:01:17 +01:00
designs Greater icon 2018-06-12 06:08:11 +02:00
imports meteor3: REST API async migration COMPLETE — smoke green on Meteor 3.1 + Mongo 7 2026-07-14 06:21:35 +02:00
packages/nimble-restivus WIP(meteor3): server BOOTS on 3.1 + Mongo 7; restivus async-patched 2026-07-14 06:11:00 +02:00
private Privacy updated 2018-08-04 18:42:37 +02:00
public Merge remote-tracking branch 'origin/tcef-master' into tcef-master 2018-08-16 09:03:55 +00:00
server WIP(meteor3): server BOOTS on 3.1 + Mongo 7; restivus async-patched 2026-07-14 06:11:00 +02:00
smoke WIP: Meteor 2.5 -> 3.1 migration (package resolution done; build blocked) 2026-07-13 23:25:29 +02:00
test Added activeFiresUnion (wip) 2018-10-28 20:27:38 +01:00
.gitignore chore: ignorar settings-production-*.json y settings-tests.json (secretos) 2026-07-12 23:26:16 +02:00
.meteorignore smoke: REST API regression harness + baseline snapshots (Meteor 1.6.1.1) 2026-07-13 19:42:55 +02:00
API.md API doc 2018-04-12 10:53:43 +02:00
COPYRIGHT.md More doc, licenses, etc 2018-01-30 07:42:50 +01:00
fonts.json Trying to fix fonts issue 'Failed to decode downloaded' because of wrong path 2018-02-19 16:31:05 +01:00
History.md Add attribution to issues in v.NEXT 2017-11-03 15:50:31 -05:00
LICENSE.md More doc, licenses, etc 2018-01-30 07:42:50 +01:00
package-lock.json escala 1: Meteor 1.6.1.1 -> 1.8.3 2026-07-13 19:59:58 +02:00
package.json WIP: Meteor 2.5 -> 3.1 migration (package resolution done; build blocked) 2026-07-13 23:25:29 +02:00
README.md Improved chimp command in README 2018-11-18 18:01:38 +01:00
settings-development-sample.json Mobile notifications 2018-08-02 12:42:19 +02:00
UPGRADE.md docs: confirm Mongo 3.2 ceiling = Meteor 2.5 (2.6 driver 4.x rejects wire v4) 2026-07-13 22:40:40 +02:00

Tod@s contra el Fuego (All Against Fire)

Build Status

This is web service that notifies about fires detected in an area of your interest. It helps the early detection of fires and facilitates local mobilization, while the professional extinction services arrive.

Install

Prerrequisites: a running meteor (we share the fuegos database with the telegram bot).

Install meteor and run meteor npm install and npm start

Some other development deps (in debian & ubuntu):

apt-get install libcairo2-dev libjpeg-dev libgif-dev pkg-config

GeoIP

Configure mirror and cron of the geoip database.

Telegram bot

See our bot.

More platforms and services in the future...

Tests

We do tests via:

TEST_PORT=3000 TEST_WATCH=1 TEST_CLIENT=0 MONGO_URL=mongodb://localhost:27017/fuegostest  meteor --settings settings-development.json test --driver-package meteortesting:mocha --port 3010

# and

node_modules/.bin/chimp --watch --ddp=http://localhost:3000 --path=cucumber

# and

node_modules/.bin/chimp --ddp=http://localhost:3000 --path=cucumber

FAQ & Troubleshooting

Q - I get something like (...) /node_modules/fibers/future.js:280 (...) Error: Could not locate the bindings file. What can I do? A - Try meteor npm rebuild

Data source acknowledgements

We acknowledge the use of data and imagery from LANCE FIRMS operated by the NASA/GSFC/Earth Science Data and Information System (ESDIS) with funding provided by NASA/HQ.

License

GNU APLv3. See our LICENSE, for a complete text.

Thanks & other acknowlegments

Thanks indeed to:

  • Lupe Bao Reixa for Galician translation