Skip to content

Releases: Plant-for-the-Planet-org/FireAlert

2025-07-17

28 Aug 10:22
8544582
Compare
Choose a tag to compare

What's Changed

Natural Protected Areas

Protected Area Backend - #208 & #223

  • APIs for Protected Site Search, Create, Update.
  • Updates for CreateNotifications for these sites (since new site’s userId is linked through SiteRelation table).
  • Site.userId is no longer mandatory & necessary changes.

Protected Area Mobile - #193

  • Screens & UI For the Protected Areas
  • API Integration

Protected Area Data Import - #207

  • Added a script to automate importing the natural protected areas dataset into a PostgreSQL database.
  • Introduced a Dockerfile and Docker Compose configuration for containerized execution of the import process.
  • Prisma Schema changes + Migrations

2025-05-02

12 May 03:55
667c671
Compare
Choose a tag to compare

What's Changed

Notification Fixes

  • Updated disableCodes list
  • SMS & Whatsapp notification can be enabled using env variable switches. by default they are disabled due to some internal reasons.
  • New metadata & isSkipped field added, to store relevant informations for the notificaions.
  • Twilio Webhooks implemented
    • Initially sms status handled by existing logic
    • Upon handling Webhook's request metadata matches the twilio's status where isDelivered will be kept true if delivered status found else it will be turned to false.
  • Rewroked the Retry & Failure Handling
    • Max Retry is kept at 0 - means if fails to send notification won’t retry & skip.
    • On failed notification, method.failCount will be incremented & upon reaching a threshold method will be disabled.

Better handling of environment variables

  • Application will no longer require non-essential env variable to run, app will be able to run, but certain feature will be disabled & they will log accordingly.

Minor changes

  • Formatting, Type & Syntax fixes.
  • .prettierrc added for consistent formatting.

Full Changelog: 2025-03-25...2025-05-02

2025-03-25

31 Mar 07:41
f189b24
Compare
Choose a tag to compare

What's Changed

Site Sync

Objectives

  1. For all projects that eligible for donations
  2. Bring those Projects & Users (& AlertMethods)
  3. Bring Sites of those Projects
  4. Enable monitoring for those Sites by default. If Site is deleted, dissociate from the project.

Cache Duration

Fixes Cache duration for previously released Fires API.
CDN Cache Control. 1 day
Browser cache 30 min
Corrected URL for caching