Commit Graph

310 Commits

Author SHA1 Message Date
frederik 296cc091e0 index.php: cleanup html 2024-04-09 17:52:39 +02:00
frederik 4f8300d5a1 views.php: cleanup html 2024-04-09 17:52:39 +02:00
frederik eb68e0eb53 spacing 2024-04-09 17:52:39 +02:00
frederik f3833cb201 fix css errors 2024-04-09 17:52:39 +02:00
frederik 464b2240d8 convert to standard html 2024-04-09 17:52:39 +02:00
frederik 68cbb337fd convert index.php 2024-03-29 13:21:18 +01:00
frederik 5f03b703f2 convert views.php 2024-03-29 13:21:18 +01:00
Nachtzuster 26311d4cd1 Added swipeL + swipeR + arrowL + arrowR events to DailyCharts form (#22)
* Added swipeL + swipeR + arrowL + arrowR events to DailyCharts form

* Added swipeL + swipeR + arrowL + arrowR events to DailyCharts form

* changed indicator from div to img, using spinner.gif

* changed indicator from div to img, using spinner.gif

* invert swipe directions

---------

Co-authored-by: Louis Croisez <louis.croisez@gmail.com>
2024-03-17 09:34:56 +01:00
Nachtzuster 459fe5df6f Merge pull request #19 from lloydbayley/main
Correct link on main page to point to this repo.
2024-03-10 14:56:27 +01:00
Lloyd Bayley 74eb351ea1 Update index.php 2024-03-10 22:04:53 +11:00
frederik 68e61d2517 only check git when logged in 2024-03-09 13:17:49 +01:00
frederik 1ff01f1b4f make sure config is defined 2024-03-09 13:17:49 +01:00
frederik 1d2c2d6faa make casual git checking non-blocking-y, also check every 24h 2024-03-09 13:17:49 +01:00
frederik 421575423c fix: do not rely on /etc/timezone to get the time zone. timedatectl does not update it immediately (anymore), it only gets updated after a reboot 2024-02-24 11:31:36 +01:00
frederik 189ef116d0 Add ram drive support in the ui 2024-02-13 18:06:57 +01:00
frederik 18c51f80d1 fix: un-escape quotes before writing to file 2024-02-13 10:57:35 +01:00
frederik da80128436 remove obsolete services 2024-02-13 10:57:35 +01:00
ehpersonal38 5336736b38 reinstate scrollbars 2023-06-01 22:30:24 -04:00
ehpersonal38 126c7a080b #933 remove scrollbars on IE and Firefox 2023-05-30 13:07:19 -04:00
ehpersonal38 f050a60cc1 Revert "fix the things"
This reverts commit 88ccda11f3.
2023-05-28 13:40:16 -04:00
ehpersonal38 509a63e4f4 fix # of updates needed text overflow if > 99 2023-05-27 21:44:58 -04:00
ehpersonal38 88ccda11f3 fix the things 2023-05-25 15:54:54 -04:00
lloydbayley ed9b7c8055 Security Fixes, Mainly 2023-05-22 23:55:11 +10:00
Louis Croisez 64603f146f Correction done on https://github.com/mcguirepr89/BirdNET-Pi/issues/903 2023-05-20 11:12:57 +02:00
croisez 21e10dd0bd Merge branch 'mcguirepr89:main' into main 2023-05-12 16:03:30 +02:00
Louis Croisez d019486798 Correction done on iframe height to avoid loss of 4 last lines on Gotty terminal 2023-05-12 16:02:57 +02:00
ehpersonal38 4cc4406083 Update views.php 2023-05-09 13:58:24 -04:00
ehpersonal38 712121e432 warn user on every page if lon/lat aren't set 2023-04-17 11:05:46 -04:00
ehpersonal38 9359f78a59 more cache busting
Co-Authored-By: Jared <799998+jaredb7@users.noreply.github.com>
2023-04-10 21:26:15 -04:00
jaredb7 94481bf915 Update service restart command to support multi service resstart
When restarting the Livestream service, the IceCast2 is restarted too, after fixing command to restart IceCast only it's status returned (since it's the last service)

Added in a small loop to try get both the service names so we can get the status of both.
2023-04-09 21:59:59 +10:00
jaredb7 4e882e3eef Dynamic style,css cache busting
Keeps the existing format used to version the style sheet but it's now based off the file modification time.
2023-04-08 13:58:42 +10:00
jaredb7 d16d4f60a3 Fix error when restarting the Live Stream service
Changed command to use systemctl to restart the icecast2 service, the error wasn't fatal but just made it look like restarting the live stream service had failed.
2023-04-08 11:14:04 +10: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 7972452d61 Merge branch 'BirdNET-pi-main' into Misc-Fixes-and-Enhancements__mcguirepr89- 2023-04-07 08:50:29 +10:00
ehpersonal38 815e744755 nocache for this update 2023-04-06 14:46:55 -04:00
jaredb7 e695852d19 Make PHP use the systems timezone setting
The timezone in the PHP INI file could differ from the timezone set on the system itself and result incorrect time display on webpages and wherever date functions are used.

Simple fix to read the systems timezone and make PHP use the correct one.
2023-04-02 00:27:08 +10:00
jaredb7 ae94cbc189 Enhancement to allow simultaneous RTSP stream recording
Updated birdnet_recording.sh
With a functional change around how ffmpeg is used to make use if it's functionality to accept multiple input streams and map each to a output file.
Due to the original implementation generating a  filename that contain the date/time streams would be writing to the same file - a small change was make each stream go to it's one file with unique filenames.

Updated livestream.sh & spectrogram.php
The Livestream service would fail if the RTSP stream setting was more than 1 stream (i.e comma separated list of streams)
Made some improvements so streaming is possible from any of the URL's, The Spectrogram page received a new control and some Javascript that allows the user to change between streams, the setting gets saved and the livestream service restarted so it uses's the correct stream.
This control is not visible if there are no RTSP streams configured
By default the livestream service will stream the the first RTSP URL, if the setting is not set or invalid

Updated advanced.php
With a small GUI change around RTSP steam entry by providing a input field for each URL and a button to add more fields.
In the background nothing changes as we use some Javascript to extract the valus entered and fill in the original rtsp_stream value with the correct comma separated string

Updated server.py
To work with the recording filename changes so that the correct filename is stored in the DB

Updated update_birdnet_snippets.sh
To support a new setting RTSP_STREAM_TO_LIVESTREAM on the Spectrogram page and in the livestream service
2023-04-01 22:29:02 +10:00
ehpersonal38 e799b7154a Patching minor XSS vulnerability
The update output shows the name of the current commit your local installation is on. So if a commit is named <script>alert("xss");</script>, for example, that code will execute when someone updates their installation.

Not a huge deal since we'd notice if someone made a rogue pull request with any commit names like that before ever accepting it into the repo.
2023-03-07 18:57:50 -05:00
ehpersonal38 77356659a2 Switching <b> for font-weight:bold 2023-03-07 18:26:55 -05:00
ehpersonal38 7e825d6009 Handle # of commits behind by, in case the main branch is amended/rebased 2023-03-07 18:20:51 -05:00
ehpersonal38 5e40772b42 More colorizing 2023-03-06 18:21:26 -05:00
ehpersonal38 73bd2a4e2c Fixing colorize bugs - it works now! 2023-03-06 18:10:14 -05:00
ehpersonal38 60700ac2bc Trying to colorize diff --stat in Update output 2023-03-06 16:51:02 -05:00
ehpersonal38 504942006b Initial chart commit 2023-03-05 14:45:07 -05:00
ehpersonal38 292e63c76c better update count 2023-02-15 11:54:03 -05:00
ehpersonal38 d08a0556b4 Merge branch 'new_model' 2023-02-03 13:03:13 -05:00
lloydbayley e6323e2546 Update index.php 2023-01-21 12:24:58 -05:00
ehpersonal38 28ff83b7f4 Merge branch 'main' into new_model 2023-01-20 14:38:25 -05:00
ehpersonal38 c23c661fa7 issue #704 2023-01-20 14:37:41 -05:00
ehpersonal38 b11ae6c10f issue #704 2023-01-20 14:37:26 -05:00