Commit Graph

19 Commits

Author SHA1 Message Date
frederik 3265a7ceb9 consolidate weekly stats and make common name agnostic 2025-10-07 18:26:43 +02:00
Alexandre a1adae7079 Fix background on weekly report 2024-06-20 10:26:30 +02:00
frederik b309b725b4 simplify html, to keep Telegram happy 2024-04-09 10:26:04 +02:00
frederik 078d394f9e handle division by zero safely 2024-04-04 10:37:26 +02:00
frederik b0eb5e063f add busyTimeout() to deal with concurrency. open read-write only when needed 2024-03-09 13:04:07 +01:00
ehpersonal38 9c1f4175e2 Revert "Code Consolidation for API preparations & hard coded path replacements" 2023-05-19 20:03:02 -04:00
jaredb7 69c4a6d3b1 Move remaining files to use new code
Include and Exclude list updated to use the calculated path to their respective x_species_list.txt files

Move play.php over to also use the new calculated paths to disk_check_exclude

Spectrogram.php remove unused code & replace setting save code with new function

Stats.php removed old code, update paths to use calculated path.

Rename setSetting func to saveSetting
Remove old code from other pages
2023-05-09 20:29:57 +10:00
jaredb7 bf0131cf27 Query Consolidate Code for API Preparations
All SQL Queries were moved into their respective functions and parameterized, there were some slight logic changes in the front end pages to accommodate data being returned differently but existing functionality is maintained

A common function is used to execute the queries and looks after binding any parameterized values that have been supplied.

Other code for deleting / protecting detection's, frequency shift, Flickr API call etc have also been moved into common.php to be used later by the API

Two new functions getDirectory and getFilePath were introduced in aims and make it easier to relocate files. This will be worked into all existing php files to replace hardcoded paths
2023-05-07 11:59:50 +10:00
lloydbayley 743074b9df Update weekly_report.php 2023-05-03 23:01:39 +10:00
bogey3 b0e2a1caa4 Resolved division by 0 error that occurs in a weekly report for the first week of use where no previous data exists. 2023-02-27 13:27:30 -05:00
ehpersonal38 2693adbca8 issue #666 2022-11-28 13:37:59 -05:00
ehpersonal38 576740996b Update weekly_report.php
will test this later
2022-10-31 14:32:34 -04:00
ehpersonal38 aceec502ad Update weekly_report.php 2022-07-06 09:51:22 -04:00
ehpersonal38 b6bf1bedca More stats, formatting 2022-06-29 17:09:38 -04:00
ehpersonal38 5b147caa89 Update weekly_report.php 2022-06-29 09:02:53 -04:00
ehpersonal38 23c35e4fe0 fixing formatting on email 2022-06-29 09:01:51 -04:00
ehpersonal38 828d9d8757 Initial notification support 2022-06-28 11:11:11 -04:00
ehpersonal38 4e3d880b1d Species Seen for the First Time 2022-06-27 19:01:32 -04:00
ehpersonal38 9c58e58d90 Weekly Report start 2022-06-27 14:28:31 -04:00