Commit Graph

14 Commits

Author SHA1 Message Date
frederik 464b2240d8 convert to standard html 2024-04-09 17:52:39 +02:00
ehpersonal38 9c1f4175e2 Revert "Code Consolidation for API preparations & hard coded path replacements" 2023-05-19 20:03:02 -04:00
jaredb7 ac9a0e4cbe Consolidate code in remaining pages, setting page updates
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
2023-05-08 23:24:15 +10:00
ehpersonal38 2ca0cf4477 alert to click the species if none selected 2023-04-10 21:36:21 -04:00
jaredb7 1018fbf40d Fix Excluded Species search for Chrome
Appears to be a issue scrolling a select list option into view and then setting it's selected state to true (as if the user had clicked on it) this seems to break all future calls of scrollIntoView on any options, regardless if the selected state if removed from all options.

scrollIntoView works perfectly otherwise and opted to apply a style to visually highlight the option. This turned out way better
2023-04-07 19:19:05 +10:00
jaredb7 3cdc9634aa Search Enhancement for Excluded Species List
Added basic functionality for the user to fileter/search for specie labels when looking for species to exclude. When a result is found, that option is selected and scrolled into view for the user to see.
2023-04-01 22:14:37 +10:00
mcguirepr89 045afcdd11 handles apostrophes now -- thanks @jerrajerra 2022-06-04 07:14:26 -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 9a1eb093a2 styled custom labels pages 2022-03-09 13:04:08 -05:00
mcguirepr89 78f5024235 styled exclude species list settings page 2022-03-08 15:51:15 -05:00
mcguirepr89 c5a49c1cca newif overhauls so far 2022-02-25 11:35:47 -05:00
mcguirepr89 eb218030e5 adding full species list editor 2022-01-31 12:10:11 -05:00