Commit Graph

18 Commits

Author SHA1 Message Date
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
Jurriaan Pruis 6c40e00d87 Fix nocache param in history.php 2023-03-29 19:14:03 +02:00
ehpersonal38 5642daccf6 Update history.php 2022-08-05 12:41:36 -04:00
ehpersonal38 c49a837611 ebird csv fixes 2022-08-03 19:38:09 -04:00
ehpersonal38 15db1c4664 Update history.php 2022-08-01 11:38:13 -04:00
ehpersonal38 0c9bc94ae2 Display errors 2022-07-15 17:20:01 -04:00
ehpersonal38 b550421be0 UI tweaks 2022-05-13 14:09:34 -04:00
mcguirepr89 aaeda89f14 spectrogram, species stats, and log now have navigation bar
changed all POSTs to GET
2022-04-15 12:01:46 -04:00
mcguirepr89 f69f04d19d changes that remove the default pi user 2022-04-11 17:29:00 -04:00
mcguirepr89 023b68f386 making changes to accomodate removing the pi user 2022-04-11 10:16:54 -04:00
mcguirepr89 500eade8ce centered history 2022-03-01 11:45:13 -05:00
mcguirepr89 a8b833cd2e I like this so far 2022-02-27 10:06:33 -05:00
mcguirepr89 cf0a3436f7 new ui 2022-02-23 22:18:35 -05:00
mcguirepr89 857fd981a9 rewritten php and some python for SQLITE 2022-02-19 13:09:32 -05:00
mcguirepr89 a0722fbf0f more testing 2022-02-18 12:47:17 -05:00
mcguirepr89 db624d5518 adding history and its needed updates
removed viewday.php since history will make it redundant
2022-02-17 12:12:01 -05:00