Commit Graph

1802 Commits

Author SHA1 Message Date
frederik 1ec411e070 fix: make non-interactive 2024-07-13 13:38:19 +02:00
frederik b8ab289d1f cleanup: birdnet_server does not exist anymore 2024-07-13 11:23:00 +02:00
frederik 919dbaa0c6 fix executable bits 2024-07-13 10:49:24 +02:00
frederik f4afdaed93 tweak input box sizes 2024-07-13 10:49:00 +02:00
Alexandre b77f579e35 Feat : limit the number of audio files to keep per species (#121)
* New disk usage settings

* Use sudo for rm, just in case

* Remove set -x

* Correct code for png

* Correct today

* Correct dates

* Accepts date format of different distributions

* Avoid message

* Very significant processing time optimisation

* Update disk_species_clean.sh

* Avoid locking database

* Update disk_species_clean.sh

* Disable set -x (again)

* Add number of remaining files

* Add new variables to update_birdnet_snippets.sh

* Consolidate disk management elements

* Update disk_species_clean.sh

* Update disk_species_clean.sh

* Protect last 7 days

* Add options to advanced.php, in same style

* Remove from config

* Update config.php

* Reset max_disk_usage to hard 95

* Improve layout

* Remove automatic addition of MAX_FILE_SPECIES if not defined https://github.com/alexbelgium/hassio-addons/issues/1458

* Cosmetic white-listed changed to whitelist

* Add comma in text

* Update scripts/advanced.php

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

* Update crontab if less than 5 #birdnet occurence (= all scripts not installed)

* Made .sh file executable

* Remove unused field k5 (second field of year) ; add explanations

* Call functions without ()

* Uninstall current cron before reinstalling them

* Update update_birdnet_snippets.sh

* Use $HOME instead of $mydir

---------

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-07-12 18:18:27 +02:00
frederik 20c392b145 fix: return early, if the photo is null everything wil fail anyway 2024-07-10 20:42:38 +02:00
frederik f7cc269495 fix: delete picture early, we might not find a replacement later on to overwrite it 2024-07-10 20:41:03 +02:00
frederik 25f2c531c0 fix: the picture url for the big modal image was generated incorrectly 2024-07-04 17:02:17 +02:00
Alexandre a9c8d9a235 Fix : set testbtn as css style for species change dropdown (align with all dropdown) (#129) 2024-07-02 21:16:10 +02:00
frederik 1f2c3a2d0b revert Species range model default back to V1 like the original BirdNET-Pi, seems to do a better job 2024-06-30 11:17:04 +02:00
Alexandre 18693fae06 Feat : add species whitelist (#110)
* Add white_list to server.py

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

* Create whitelist_list.php

* Add whitelist to views

* Make more explicit the usage

* Update views.php

* Align with uppercase

* Align with "species"

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

* Update views.php

* Correct python code

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

* Align clear_all_data.sh

* Align install_services.sh

* Embed whitelist_species_list in PREDICTED_SPECIES_LIST

* Only embed whitelist in predicted list

* Correct python append @dalogue1

https://github.com/Nachtzuster/BirdNET-Pi/issues/108#issuecomment-2183508903

* Update scripts/server.py

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

* Use preexisting functions

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

* Alert not a recommended WoW

---------

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-06-30 10:18:32 +02:00
frederik 8a92469f45 cleanup: remove debug info 2024-06-29 19:32:01 +02:00
Alexandre b959325605 Feat : proposal to standardize behavior of click on Com_Name and Sci_Name (#116)
* 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
2024-06-29 10:15:30 +02:00
Alexandre c55cff6e45 Update play.php 2024-06-27 11:55:06 +02:00
Alexandre 954319ded3 Avoid unecessary change 2024-06-26 16:22:07 +02:00
Alexandre e58c067a0e Merge branch 'Nachtzuster:main' into patch-5 2024-06-25 08:19:21 +02:00
Alexandre ed68f06617 Feat : Add site_info to the title of the species accessed through Recordings or Unique species (#113)
* Add description to title

* Update play.php

* Add get_sci_name function

* Implement get_sci_name

* Removed as less relevant

* Add info_site also when opening from filenames

* Correct

* Restore initial name

* Need to use labels.txt for right language

* Use $_labels in get_sci_name
2024-06-23 09:52:20 +02:00
Lloyd Bayley 884b0b5f9c Remove unnecessary userAgent Checks (#118)
For some reason "Mac" and "Chrome" were included, stopping live spectrogram on Macs. Only needs to be iPhone because it doesn't work on there. Tested on Mac FF, Chrome & Safari.
2024-06-22 10:12:39 +02:00
Alexandre cf56e50985 Use color_scheme config option for filemanager 2024-06-21 21:24:44 +02:00
Alexandre 51160afc76 Fix rtsp address in livestream 2024-06-21 20:45:57 +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
Alexandre 8fa422adcf Update php + dark css @hiemstra87
Co-Authored-By: Hiemstra87 <145980686+hiemstra87@users.noreply.github.com>
2024-06-20 14:45:09 +02:00
Alexandre 15898dc251 Add class in div 2024-06-20 12:39:45 +02:00
Alexandre 75b5dc57ee Add class="sortbutton" 2024-06-20 12:32:23 +02:00
Alexandre a2bd84c30e Align stats.php with css @hiemstra87
Co-Authored-By: Hiemstra87 <145980686+hiemstra87@users.noreply.github.com>
2024-06-20 12:10:57 +02:00
Alexandre 218b5ea619 Use css for sortbuttons style
Thanks #hiemstra87 https://github.com/Nachtzuster/BirdNET-Pi/pull/115

Co-Authored-By: Hiemstra87 <145980686+hiemstra87@users.noreply.github.com>
2024-06-20 12:07:39 +02:00
Alexandre a1adae7079 Fix background on weekly report 2024-06-20 10:26:30 +02:00
Alexandre 1c5691dd1b Consolidate css 2024-06-19 09:10:04 +02:00
Alexandre dfb98b7565 Consolidate css 2024-06-19 09:09:18 +02:00
frederik d3b6ccf65d fix: collectrtspUrls(); is needed to actually save the rtsp urls 2024-06-18 19:10:18 +02:00
frederik 76e06d2754 fix: set /etc/timezone too 2024-06-16 12:19:10 +02:00
frederik eb7d7abebf make advanced setting page behave a bit more as the basic settings page 2024-06-16 11:09:49 +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
Alexandre cafbf5ab1e Try to fix https://github.com/Nachtzuster/BirdNET-Pi/issues/100 (#103) 2024-06-15 13:41:54 +02:00
frederik 2c4fe69505 fix: use a font that can actually render the characters 2024-06-15 12:57:02 +02:00
frederik 0a09e73549 fix: this_run was removed, so use get_settings 2024-06-10 21:07:22 +02:00
frederik e63ed0479f cleanup: remove unused import 2024-06-09 11:18:02 +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
Alexandre ac780884e3 Accept any file extension instead of just mp3 (#82)
https://github.com/Nachtzuster/BirdNET-Pi/issues/81
2024-06-02 10:25:41 +02:00
frederik 780ec060c3 bump apprise version to 1.8.0 2024-06-01 10:34:48 +02:00
frederik 6717e5fde0 cleanup: thisrun.txt is not used anymore 2024-06-01 09:22:41 +02:00
frederik a76f85269b cleanup: the birdweather procedure has changed 2024-06-01 09:22:41 +02:00
frederik 3d8944187a python 3.12 2024-06-01 09:22:41 +02:00
frederik d18c98d7ce cleanup: apt depencies: only include direct dependencies, apt will resolve the rest.
remove ftp it is deprecated
2024-06-01 09:22:41 +02:00
frederik 26c34561d7 Merge branch 'ebird' 2024-06-01 09:22:04 +02:00
Alexandre eeb2048ca6 Adminer iframe ? (#78)
* Show Adminer in iframe

* Add a link to open in a new page if needed

* X-Frame-Options to SameOrigin

* Use uppercase as per standard
2024-06-01 09:03:54 +02:00
frederik c4c40a1217 add INFO_SITE to ui config 2024-05-31 14:12:53 +02:00
frederik 179f16f4bb add INFO_SITE to config 2024-05-31 14:12:53 +02:00