Commit Graph

1799 Commits

Author SHA1 Message Date
Steve Dodd 9aeee82c01 The GeoIP service doesn't always return 4 decimal places - so just
check for its own 'success' state and don't try to validate the
numbers
2023-07-28 08:21:11 +01:00
Steve Dodd aeb6df232d Check the disk usage of the filesystem hosting the processed
recordings, not necessarily the root filesystem
2023-07-06 17:50:40 +01:00
Steve Dodd 479bd272e9 Simplify handle_client loop / indent, check for EOF when reading from socket. 2023-07-01 21:39:11 +01:00
ehpersonal38 6bdff30283 Update update_birdnet_snippets.sh 2023-06-13 20:42:06 -04:00
ehpersonal38 0cf2584acc Update install_services.sh 2023-06-13 20:41:11 -04:00
ehpersonal38 20b27194d5 Update install_services.sh 2023-06-13 20:38:37 -04:00
ehpersonal38 c0284206c9 allow analysis client to only run for 5 min 2023-06-13 20:35:57 -04:00
ehpersonal38 7d410e5cb0 perms 2023-06-12 15:44:27 -04:00
ehpersonal38 f7f0a28bd1 fix flickr_labels.txt being deleted 2023-06-09 18:07:40 -04:00
ehpersonal38 d47719a443 make 2.4 the default model 2023-06-09 18:01:49 -04:00
Jochen Oberreiter 41f918474b Update install_services.sh
Added net-tools to the needed packages.
2023-06-08 15:47:24 +02:00
ehpersonal38 07adfa95a2 Update server.py 2023-06-05 14:16:08 -04:00
ehpersonal38 b20e91e11f Update update_birdnet_snippets.sh 2023-06-04 19:10:08 -04:00
ehpersonal38 a724a25043 fix 2023-06-04 19:04:41 -04:00
ehpersonal38 fd7cdd4b57 Model Update: V2.4 2023-06-04 18:58:47 -04:00
ehpersonal38 5336736b38 reinstate scrollbars 2023-06-01 22:30:24 -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
Louis Croisez 44da4243df Merge branch 'main' of https://github.com/croisez/BirdNET-Pi 2023-05-29 16:29:45 +02:00
Louis Croisez 53fabaaa50 Added units indication in advanced config page 2023-05-29 16:29:35 +02:00
croisez e04fed6c41 Merge branch 'mcguirepr89:main' into main 2023-05-29 16:26:28 +02:00
Louis Croisez cf8493aef3 Added config variable for livestream reconnection delay, for freqshift purpose 2023-05-29 16:26:07 +02: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
lloydbayley ed9b7c8055 Security Fixes, Mainly 2023-05-22 23:55:11 +10:00
ehpersonal38 6313cb1d91 Merge pull request #912 from croisez/main
Added possibility in Spectrogram view to activate frequency shifting
2023-05-20 18:14:18 -04:00
Louis Croisez e92da07637 correction bug for var init 2023-05-20 09:49:26 +02:00
ehpersonal38 9c1f4175e2 Revert "Code Consolidation for API preparations & hard coded path replacements" 2023-05-19 20:03:02 -04:00
ehpersonal38 09b4c56c96 Merge pull request #901 from jaredb7/New-UI-API
Code Consolidation for API preparations & hard coded path replacements
2023-05-19 20:00:10 -04:00
ehpersonal38 f25d43d133 make species stats up to 70% faster 2023-05-19 19:48:50 -04:00
jaredb7 aba13452f8 Update common.php 2023-05-19 21:37:29 +10:00
jaredb7 4ffefa8dfb Change the method of how the filepath are generated
To avoid having to update file or directory paths in 3 script locations (PHP Common, Shell Common and Python File path resolver)

The .json file will references by all 3 systems, allowing  them to generate paths from one central location. Files can be then moved around, the file updated and all 3 languages will up to date without any other work.
2023-05-19 21:25:37 +10:00
jaredb7 6b5282037c Merge branch 'BirdNET-pi-main' into New-UI-API 2023-05-17 20:04:19 +10:00
Louis Croisez 38e60f23be correction bug in https://github.com/mcguirepr89/BirdNET-Pi/pull/898 2023-05-16 23:34:42 +02:00
ehpersonal38 0e40aa562a no special characters message 2023-05-16 12:36:32 -04:00
Louis Croisez 04dae073f6 Added option in Spectrogram view to activate a frequency shift in the audio livestream 2023-05-16 10:46:43 +02:00
jaredb7 e998742517 Update to return IdentifiedSoFar.txt - IDFILE location 2023-05-15 23:32:31 +10:00
jaredb7 7a125a6ed8 Create test for common.php filepath resolver
Quick test for the common.php directory and filepath resolver to ensure it's generating the correct paths

And small fix for incorrect firstrun.ini location (thanks test case :) )
2023-05-14 18:38:30 +10:00
jaredb7 9594f3344b Add additional paths to directory and file path resolver 2023-05-14 17:35:52 +10: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
croisez 21e10dd0bd Merge branch 'mcguirepr89:main' into main 2023-05-12 16:03:30 +02:00
jaredb7 66863f2e6b Save password last to avoid auth check preventing saving other settings
Because saveSetting() checks each time to see that the user has authenticated, if the password is changed first then very next setting will cause a auth prompt (as the password changed) and if cancelled then the other setting won't save.

Putting it last will allow us to save all the other setting and then change the password, then the next attempt to execute a action or access a page that required auth will prompt the user the the password.
2023-05-12 23:09:15 +10:00
jaredb7 6af59a2908 Fix caddyfile not updating due to command execution being intercepted by auth prompt
We always want this command to execute regardless and rebuild the caddy config accordingly.
2023-05-11 06:55:29 +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