Commit Graph

2019 Commits

Author SHA1 Message Date
Alexandre 5e70dcabbb UI : align overview and todays UI with centered stats #182 (#191)
* Move chart to center

* Align css

* Align dark-style.css

* Add stats title

* Removed title : cleaner look

* Shorter titles for stats

* Shorter title, unique is implicit

* Invert Species Total and Today

* Re-add left chart

* Re-add left chart bis

* Adapt css for flexible layout

* Align with main css

* Restore overview-stats, add center-column

* Restore style, add center-column

* Restore css

* add center-column

* Remove useless change

* Prevents centering

* Prevents centering

* Aggregate ajax sqlite

* Ensured the 5 sqlite commands are centralized

* Load center only after left has completed (to sync values)
2024-10-15 19:52:56 +02:00
Alexandre 305e1813d0 UI : Convert checkbox to toggleswitch (#209)
* Convert checkbox to toggleswitch

* Keep previous code layout

* Improve layout : gray border, dark toggle

* Avoid changing unneeded things

* Updated layout

* Better transparency

* Use ✓ instead of ON

* Improve alignment and font size
2024-10-12 11:29:46 +02:00
Lloyd Bayley de843a81dd Update Apprise from v1.8.0 to v1.9.0 (#205)
Upgrade Apprise from v1.80 to v1.90 to allow for the MQTT retain flag.
2024-10-01 22:20:59 +02:00
Alexandre 96df8e781d Feat : sort species by max confidence (#198)
* Add sort by occurence button

* sort_conf icon

* Optimized svg
2024-09-30 20:50:59 +02:00
Alexandre a264eb9f8d Feat : error messages for detections rejections #138 (#190)
* Error messages for detections rejections

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

* Update server.py

* Use log.warning
2024-09-30 20:42:17 +02:00
frederik 3d99530ee5 Merge branch 'fix_apostrophe' 2024-09-14 10:43:42 +02:00
frederik 3dc8b6db38 fix: properly decode species so apostrophe in the name survives the url encode 2024-09-14 10:36:41 +02:00
frederik 61347ecf04 fix: remove apostrophe from common name like php code does 2024-09-14 10:36:31 +02:00
Alexandre 0248964a15 Ensure non ambiguity of sci_names https://github.com/Nachtzuster/BirdNET-Pi/issues/186 (#187)
* Ensure non ambiguity of sci_names

* Use direct comparison

* Apply same logic to eng_name
2024-09-13 18:41:00 +02:00
Jason Rhubottom b18172304e Changed paths to relative to support home-assistant ingress (#179) 2024-08-25 09:55:17 +02:00
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 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