Commit Graph

2700 Commits

Author SHA1 Message Date
Ash McKenzie 7e7c31a227 Ignore warnings from lsof output (#175)
This seems to cause issues when running alongside
Docker, for example.
2024-08-19 17:51:18 +02:00
Emmo213 c409f01f3a Issue #170 - set timezone on the todays detection page (#171) 2024-08-15 08:30:21 +02: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
Emmo213 714519b35b Cleanup the Audio Settings section a little (#153) 2024-07-28 15:33:11 +02:00
frederik 774f0d4cfb singular of species is species 2024-07-24 23:01:46 +02:00
frederik ed1be8816a labels with wide letters should wrap sooner so they are not cut off 2024-07-17 20:59:29 +02:00
frederik 09dac978af cleanup: remove executable bit 2024-07-13 13:39:24 +02:00
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
Nachtzuster b76f6d7412 Merge pull request #115 from alexbelgium/patch-5
Fix : improve darkmode
2024-06-28 18:33:29 +02:00
Alexandre e44b30717e Light : correct dropdowns to white 2024-06-28 09:20:39 +02:00
Alexandre 5d8daff3cb Dark : improve halo 2024-06-28 09:15:37 +02:00
Alexandre c55cff6e45 Update play.php 2024-06-27 11:55:06 +02:00
Alexandre 4cece9014a Avoid logo halo 2024-06-27 11:52:13 +02:00
Alexandre 954319ded3 Avoid unecessary change 2024-06-26 16:22:07 +02:00
Alexandre eae16d0555 Cleaner 2024-06-26 08:53:50 +02:00
Alexandre ef2c535c12 More subtle halo 2024-06-26 08:49:37 +02:00
Alexandre 48ce98fd02 More diffuse shadow 2024-06-25 16:38:53 +02:00
Alexandre 0dad370921 Have a white halo around png on dark mode 2024-06-25 15:57:48 +02:00
Alexandre 475f03274a Remove useless space 2024-06-25 13:33:11 +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 136497c98a Spelling error in Readme.md (#120)
Luxembourgh -> Luxembourg
2024-06-23 09:16:18 +02:00
Alexandre 6e28c3a268 Color scheme added to phpsysinfo 2024-06-22 17:27:02 +02:00
Alexandre b22c253ba3 Lighter slider thumb 2024-06-22 16:48:03 +02:00
Alexandre f0d2a99557 Slide thumb grey 2024-06-22 16:46:36 +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 a675166552 Lighter green for drop down @hiemstra87
I used the same light green as already present in the css code for showpassword and rtspstream

Co-Authored-By: Hiemstra <145980686+hiemstra87@users.noreply.github.com>
2024-06-21 10:27:28 +02:00
Alexandre 87d330dd2e Align light css for sortbutton @hiemstra87
Co-Authored-By: Hiemstra <145980686+hiemstra87@users.noreply.github.com>
2024-06-21 10:23:32 +02:00
Alexandre 26de851669 Improve flickr overlay image dark layout 2024-06-21 10:19:47 +02:00
Alexandre 6b905b200c Css : fix adminer background 2024-06-21 09:47:13 +02:00
Alexandre f117a44623 Not needed anymore as css styles were defined for droplists 2024-06-21 09:33:54 +02:00
Alexandre 4384f32c83 Align remaining droplists with testbtn 2024-06-20 17:53:29 +02:00
Alexandre ec331c5fd6 Merge branch 'patch-5' of https://github.com/alexbelgium/BirdNET-Pi into patch-5 2024-06-20 17:47:59 +02:00
Alexandre f622b073dd Align droplists to testbtn style (already used) 2024-06-20 17:47:54 +02:00
Alexandre f09c9acab2 Return to gray scale @hiemstra87
Co-Authored-By: Hiemstra87 <145980686+hiemstra87@users.noreply.github.com>
2024-06-20 17:18:18 +02:00