Removed the generateMiniGraph function and its associated AJAX call for fetching detections. This change may affect how mini graphs are displayed on the page.
* Move chart to center
* Align css
* Align dark-style.css
* Add stats title
* Removed title : cleaner look
* Shorter titles for stats
* Shorter title, unique is implicit
* Invert Species Total and Today
* Re-add left chart
* Re-add left chart bis
* Adapt css for flexible layout
* Align with main css
* Restore overview-stats, add center-column
* Restore style, add center-column
* Restore css
* add center-column
* Remove useless change
* Prevents centering
* Prevents centering
* Aggregate ajax sqlite
* Ensured the 5 sqlite commands are centralized
* Load center only after left has completed (to sync values)
* Align with 3 logos : wikipedia ; info_site ; minigraph
* Add info & wiki.png
* Rename wikipedia.png to wiki.png
* Show icons on recent detections
* icons with white background
* Align icons with scientific name to center common name
* Add icons
* Not sure what this makes
* Correct link to info_site
* Restore initial cleaner layout
* Have same behavior for title than the overview
* Add icons of info and wikipedia to recordings
* Add icons
* Clean
* Improve icons size
* Add icons to species stats
* Put icons near sci_name
* Remove pictures from mobile on main page for small screens
* Other solution for mobile
* Improve visibility on smaller screen and consistency
* Improve visibility on smaller screen and consistency
* Improve readability on small screens
* Improve readability on small screens
* Set image size for smaller screens
* Make scientific name in italics
* Sci_name in italics
* Add sci_name in Italics for consistency
* Inline icons with scientific text for consistency
* Italics for todays scientific name
The Config and Advanced setting pages received changes to use the new setSetting() function which looks after creating or updated the setting in the required config files.
Optionally it also specification of a command to run after saving the settings.
Some variables like models, audio formats and frequency shift tools were also moved into common.php
Service Controls page received changes with the replacement of the actual command to execute with a sort of shorthand human friendly version e.g. service <action> <service_name> -- service restart livestream.service
These commands map to the original commands in serviceMaintenance() so this could be called through the API without needing the full-blown commend.
views.php was updated to accommodate this also
System Controls page received a small change to make the process checking for new git updates or getting the last commit hash a single function call.
Include and Exclude species updated to use getFilePath() to generate a path to the required file instead of the hard coded path
Views.php also received similar treatment with replacing some hard coded paths with generated paths, but logic changes to handle the change in running service commands
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
On mobile a new icon has been added to allow the user to jump to the detection's recording. Allowing the user listed to the recording as no playback controls are available when on mobile.
This is the same function available for the most recent recording