Commit Graph

185 Commits

Author SHA1 Message Date
frederik e36884ecc3 Add Korean Arabic Romanian and Turkish to ui 2025-05-04 11:06:56 +02:00
frederik 3b5160b789 update install_language_label.sh and callers 2025-05-04 11:06:56 +02:00
frederik 33e2cb9e96 fix: php: preserve quotes 2025-02-10 19:37:54 +01:00
Emmo213 73d2ba5b48 Dark daily chart (#152)
* Updated daily chart to use the theme selector

* Added sleep after changing theme so the chart can update

* Added code for pink theme, made it easier to add more themes in the future

* Added blue chart for future blue theme

* Set chart background to none so it's transparent

* Added back background for dark mode.

* Change daily chart based on file based settings. Only support light/dark mode.

* Cleanup

* Added borders around the bars on the bar chart

* Updated background color for dark theme

* Merge from main

* Fixed some spacing

* Updating Python version for linting

* Cleanup

* Back leveled to Python 3.9

* Update scripts/daily_plot.py

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Coding suggestions

---------

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-08-05 21:38:33 +02:00
Emmo213 2412deb02f Fixed spelling of occurrence (#164) 2024-08-03 10:23:10 +02:00
frederik f4afdaed93 tweak input box sizes 2024-07-13 10:49:00 +02:00
Alexandre 4384f32c83 Align remaining droplists with testbtn 2024-06-20 17:53:29 +02:00
Alexandre f622b073dd Align droplists to testbtn style (already used) 2024-06-20 17:47:54 +02:00
frederik 76e06d2754 fix: set /etc/timezone too 2024-06-16 12:19:10 +02:00
Alexandre 0ab46e3637 Proposal to move success message to js alert (#95)
* Proposal to move success message to js alert

https://github.com/Nachtzuster/BirdNET-Pi/issues/92

* Align with basic

* Fix advanced.php

https://github.com/Nachtzuster/BirdNET-Pi/pull/95
2024-06-15 14:25:09 +02:00
OliNau e6f48f8b61 Add additional apprise notification option (#88)
* Update config.php

Added $maskedlistenurl as an option for apprise notifications.

* Update notifications.py

Make sure $maskedlistenurl also works with default detections, and not only when testing.

* Update config.php

Changed maskedlistenurl to friendlyurl

* Update notifications.py

Changed maskedlistenurl to friendlyurl
2024-06-09 11:16:02 +02:00
Alexandre f84c44bad4 Feature proposal : darkmode (#85)
* Create dark-style.css

* Add call to get_color_scheme

* Add call to get_color_scheme

* Create get_color_scheme function

* Add selection box in config.php

* Accept both lower and uppercase COLOR_SCHEME

* Add COLOR_SCHEME

* Add COLOR_SCHEME

* Change birdnet.conf after color scheme selection

* Move css to static to enable it

* Adapt css location to static

* Improve opacity value

* Fix logo background issues on smaller screens

* Avoid overlap of logos

* Ensure clean look (same margin as before but different location)

* Default background as transparent to avoid white on white

* Avoid black on dark ; improve readability

* Last element of green is homogenized to grayscale

* Enable site reload after color_scheme change
2024-06-08 11:44:21 +02:00
frederik c4c40a1217 add INFO_SITE to ui config 2024-05-31 14:12:53 +02:00
Lloyd Bayley 30d47dfc93 Update BirdWeather ID procedure (#68)
* Update BirdWeather procedure

* Update config.php

Fixed an oops in the a href

* Update config.php

Add linebreak to make it look nicer
2024-05-21 09:22:39 +02:00
frederik 18ce5c7db9 add warning: changing database language on a running install will mess up the stats 2024-05-15 09:54:46 +02:00
frederik 3844f7da83 tidy input boxes 2024-04-09 17:52:39 +02:00
frederik 54a9a8041d tidy location settings 2024-04-09 17:52:39 +02:00
frederik 63d2da0910 tidy apprise 2024-04-09 17:52:39 +02:00
frederik 464b2240d8 convert to standard html 2024-04-09 17:52:39 +02:00
frederik b61a78ed55 fix: require_once 2024-03-29 13:21:18 +01:00
frederik abdffccc2e convert advanced.php config.php 2024-03-29 13:21:18 +01:00
frederik b58abdeb95 make sure input box fits the api key 2024-03-29 13:17:36 +01:00
frederik 3246b61c41 fix: don't send unsolicited stuff: this might break json 2024-03-14 11:55:31 +01:00
frederik b7225ca1d2 fix: use hostname like the python code does 2024-03-14 11:55:31 +01:00
frederik c8b15b65ce Merge branch 'sqlite-timeout' 2024-03-09 13:27:10 +01:00
frederik b0eb5e063f add busyTimeout() to deal with concurrency. open read-write only when needed 2024-03-09 13:04:07 +01:00
Lloyd Bayley 3b4da2e2b6 Update config.php 2024-03-09 01:16:59 +11:00
frederik e0484b8caf fix: make sure the UI reflects the change 2024-02-28 10:21:06 +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 299c4cee28 add DATA_MODEL_VERSION to config.php 2024-02-19 16:54:25 +01:00
frederik a3a2ea6dc4 fix: avoid using escapeshellcmd() by injecting $body via STDIN. not very elegant, but keeps with the spirit of escapeshellcmd() 2024-02-18 10:59:22 +01:00
frederik c100d19da1 bookwork fix: make php version independant 2024-02-13 18:06:57 +01:00
frederik 3761d945a1 use only double quotes 2024-02-13 10:57:35 +01:00
ehpersonal38 d47719a443 make 2.4 the default model 2023-06-09 18:01:49 -04:00
ehpersonal38 fd7cdd4b57 Model Update: V2.4 2023-06-04 18:58:47 -04:00
ehpersonal38 a3c8e4efc0 fix confidencepct for test notification 2023-05-30 12:57:04 -04:00
ehpersonal38 5af7dd9ced Merge branch 'main' into feature/add-confidencepct-variable-to-apprise-notification 2023-05-30 12:30:14 -04:00
ehpersonal38 0ee4fbe260 Fix settings requiring refresh to display updated values after changes 2023-05-28 17:11:42 -04:00
ehpersonal38 f0be69d79a Revert "fix species list tester"
This reverts commit 4b6b75a649.
2023-05-28 13:40:19 -04:00
ehpersonal38 f050a60cc1 Revert "fix the things"
This reverts commit 88ccda11f3.
2023-05-28 13:40:16 -04:00
ehpersonal38 f47b9e040e resolve #934 2023-05-28 13:39:55 -04:00
ehpersonal38 88ccda11f3 fix the things 2023-05-25 15:54:54 -04:00
ehpersonal38 049b62d6ae add flowchart 2023-05-23 14:19:53 -04:00
ehpersonal38 4b6b75a649 fix species list tester 2023-05-23 13:52:32 -04:00
ehpersonal38 9c1f4175e2 Revert "Code Consolidation for API preparations & hard coded path replacements" 2023-05-19 20:03:02 -04:00
jaredb7 a80d39d7b6 Replace all authentication code with a function that does the auth for us
Makes things a little tidier and easier to change in the future, a custom message can be passed to authenticateUser() and this is output if the authentication fails.

Added protection around Include and Exclude species pages as these still accessible & data can still be written to include and exclude species.txt even with a password.
2023-05-13 01:07:19 +10:00
jaredb7 e99129f5f5 Config.php - Replace apprise.txt hard-coded paths with calculated paths 2023-05-10 23:05:22 +10:00
jaredb7 92bd190334 Authenticate user for all system actions
Wired in an additional check to verify user is authenticated before executing any code that makes changes to the system like saving settings or command execution.
This is a 2nd layer on top of the front end pages authenticating the user

Added in escaping of arguments for set date and change timezone just in case
2023-05-10 23:02:11 +10:00
jaredb7 eee84587f9 Merge branch 'BirdNET-pi-main' into New-UI-API
# Resolve Conflicts due to code movement:
#	homepage/views.php
#	scripts/config.php
#	scripts/play.php
2023-05-10 22:57:49 +10:00
ehpersonal38 4cc4406083 Update views.php 2023-05-09 13:58:24 -04:00