[Devel] [GIT] OpenBioMaps GIT repository, branch devel_2.2 updated: cron job for creating custom alert/notify

git at vocs.unideb.hu git at vocs.unideb.hu
Mon Apr 9 18:10:12 CEST 2018


    The project "OpenBioMaps GIT repository":

    The branch, devel_2.2 has been updated
       via  b6ad42fff5b878bc29aad7ea56d0a00b903bcece (commit)
       via  6fd72b536f4e918c3f474f6d47b7fd9a724204ed (commit)
      from  5f8ffb4530a4c0b5a4dd690adb32fe06ca0504e1 (commit)


- Log -----------------------------------------------------------------
commit b6ad42fff5b878bc29aad7ea56d0a00b903bcece
Author: Bán Miklós <banm at vocs.unideb.hu>
Date:   Mon Apr 9 17:56:17 2018 +0200

cron job for creating custom alert/notify
the new job.php can be used from the intial/templates to create custom
alerts when users upload some kind of data.
In this example users will use QGIS to draw polygons on the map and fill
some attributes related to the polygons ('kaszálási bejelentő') and
finally add append rows to a table ('kaszálási bejelentő').
The new rows in this table automatically creates rows in the alert
table. The alert table rows will containts data from the main data based
on spatial intersect with the qgis-edited table.
The alert table will be queried periodically from cron for sending mails
to people (to whome it may concern based on an other spatial
intersection query) with details of the data rows and alert.

commit 6fd72b536f4e918c3f474f6d47b7fd9a724204ed
Author: Bán Miklós <banm at vocs.unideb.hu>
Date:   Mon Apr 9 17:52:45 2018 +0200

result_specieslist update:
Big queries caused server hangup if specieslist module was enabled. Now
I removed the specieslist from the results creation process. It will be
created when user click on the blue 'plus' icon.

-----------------------------------------------------------------------

Summary of changes:
 libs/afuncs.php                      |  60 +++++++++++
 libs/default_modules.php             |   9 +-
 libs/js/main.js                      |   6 ++
 libs/modules/results_specieslist.php |  38 ++++---
 libs/results_builder.php             |  26 ++---
 templates/initial/root/job.php       | 195 +++++++++++++++++++++++++++++++++++
 templates/initial/shiny/server.R     |   5 +-
 7 files changed, 305 insertions(+), 34 deletions(-)
 create mode 100644 templates/initial/root/job.php

-- 
OpenBioMaps GIT repository


More information about the Devel mailing list