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
75b5dc57ee
Add class="sortbutton"
2024-06-20 12:32:23 +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
2fd75ccafc
Feat : change specie detected ( #62 )
...
* Add changedetection function
* Create birdnet_changeidentification.sh
* Add files via upload
* Use a modal box for display of the species
* Allow filtering on safari ios
* Reset the dropdown if cancelled
* Fix : click outside modal box to cancel it in safari ios
* Switch modal style to style.css
* Switch modal style to style.css
* Improves modal rendition on small screens
* Use ./scripts/labels.txt instead of hardcoded home
* Added physical cancel button
* ensure user pi executes the scripts
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
* Specify exec if not explicit
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
* Try another way to define the variables
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
* Align shebang with other scripts
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
* Allow different HOME
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
* Update birdnet_changeidentification.sh
* Align way to call sudo -u $user with other birdnet-pi code
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
* Align with proposal
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
* Successfully converted message
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
* Align "safe" variables logic to helpers.py
* Make birdnet_changeidentification.sh executable
* Force confidence to 1.001
* Set confidence to 0
https://github.com/Nachtzuster/BirdNET-Pi/pull/62
2024-05-30 11:30:09 +02:00
Alexandre
14eb89f38d
Add line break between shell and sqlite error outputs ( #60 )
2024-05-15 10:10:13 +02:00
frederik
6e6e9eab08
fix: do not crash if disk_check_exclude.txt is not created yet
2024-05-15 09:28:25 +02:00
Alexandre
43fcc09f4f
Feat : play.php output file or database deletion errors to user ( #49 )
...
* Checks sqlite deletion before deleting file, error output
* Restore initial logic
* Update play.php
* Update play.php
* Readd output
* Redirect err to output and parallelize deletions
* Update play.php
2024-05-13 09:30:51 +02:00
frederik
1c41fc3d8f
properly replace quotes
2024-04-23 19:26:08 +02:00
frederik
752ba555a8
make sure we get quotes back
2024-04-23 19:25:45 +02:00
frederik
e5a7294381
play.php: cleanup html
2024-04-09 17:52:39 +02:00
frederik
ec134fa2e3
prevent directory traversal
2024-03-29 13:21:18 +01:00
frederik
12efcc0249
convert play.php
2024-03-29 13:21:18 +01:00
frederik
ed42cbf1e2
rework deletion: we _do_ need to open read-write here
2024-03-09 13:17:49 +01:00
frederik
b0eb5e063f
add busyTimeout() to deal with concurrency. open read-write only when needed
2024-03-09 13:04:07 +01:00
frederik
be8a98bf59
fix: do not unset the session
2024-03-09 10:16:52 +01:00
frederik
6da33df8e9
fix: do not error out when disk_check_exclude.txt does not exist yet
2024-02-24 11:38:09 +01:00
lloydbayley
ed9b7c8055
Security Fixes, Mainly
2023-05-22 23:55:11 +10: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
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
1bb17f9705
Update play.php
2023-05-09 15:06:14 -04:00
ehpersonal38
4cc4406083
Update views.php
2023-05-09 13:58:24 -04:00
jaredb7
7169a172d6
Merge branch 'BirdNET-pi-main' into New-UI-API
2023-05-09 20:34:37 +10:00
jaredb7
69c4a6d3b1
Move remaining files to use new code
...
Include and Exclude list updated to use the calculated path to their respective x_species_list.txt files
Move play.php over to also use the new calculated paths to disk_check_exclude
Spectrogram.php remove unused code & replace setting save code with new function
Stats.php removed old code, update paths to use calculated path.
Rename setSetting func to saveSetting
Remove old code from other pages
2023-05-09 20:29:57 +10:00
ehpersonal38
53fa65e364
Merge pull request #896 from croisez/main
...
Modified play script to substitute href of <a> tag in case that <vide…
2023-05-08 17:52:22 -04:00
Louis Croisez
d1e0d91711
removed unnecessary logs
2023-05-08 17:56:14 +02:00
Louis Croisez
efe52a4638
Modified play script to substitute href of <a> tag in case that <video> tag is absent. This is for the ShiftFreq feature
2023-05-08 17:50:56 +02:00
jaredb7
bf0131cf27
Query Consolidate Code for API Preparations
...
All SQL Queries were moved into their respective functions and parameterized, there were some slight logic changes in the front end pages to accommodate data being returned differently but existing functionality is maintained
A common function is used to execute the queries and looks after binding any parameterized values that have been supplied.
Other code for deleting / protecting detection's, frequency shift, Flickr API call etc have also been moved into common.php to be used later by the API
Two new functions getDirectory and getFilePath were introduced in aims and make it easier to relocate files. This will be worked into all existing php files to replace hardcoded paths
2023-05-07 11:59:50 +10:00
ehpersonal38
f30e48356c
better purge exclude language
2023-05-02 12:45:35 -04:00
ehpersonal38
31cc358243
Removing /tmp/ file creation for pitch shifting
...
Co-Authored-By: croisez <1774281+croisez@users.noreply.github.com >
2023-03-21 20:02:45 -04:00
ehpersonal38
1a0bf359b3
Fix permissions issues, pt. 2
2023-03-21 17:41:36 -04:00
ehpersonal38
b5c4160c9c
Split "Recordings" species list into 3 columns to take up less vertical space
2023-03-12 19:42:38 -04:00
ehpersonal38
d257b144a1
Making recordings actually usable for huge amounts of detections
2023-02-15 13:46:38 -05:00
Louis Croisez
b49f8f730d
Bugfixes + added choice between ffmpeg and sox tools
2022-10-03 16:06:44 +02:00
Louis Croisez
88a9b63458
Added config parameters for frequency shift feature
2022-10-02 19:05:54 +02:00
Louis Croisez
3dfd740944
Adding feature: shifting down in frequency for earing impairment people
2022-10-02 16:31:29 +02:00
ehpersonal38
b5dabf937a
Update play.php
2022-08-10 19:04:09 -04:00
ehpersonal38
0de565b80b
copylink button title
2022-08-10 19:01:04 -04:00
ehpersonal38
495a787d14
Update play.php
2022-08-10 18:56:14 -04:00
ehpersonal38
13e79f31e8
only show purge excluded recordings
2022-07-17 13:37:20 -04:00
ehpersonal38
eeee9e77fe
delete improvements
2022-07-16 15:14:50 -04:00
ehpersonal38
0c9bc94ae2
Display errors
2022-07-15 17:20:01 -04:00
ehpersonal38
a2f3d42246
clearer language
2022-07-14 12:07:42 -04:00
mcguirepr89
c08e2e533f
deletes file as well -- thanks @ehpersonal38
2022-07-14 10:13:49 -04:00
ehpersonal38
d2d914f8ee
Delete files
2022-07-13 13:31:26 -04:00
mcguirepr89
39a0ba5697
unfortunately, lazy loading is not working on iOS
2022-06-27 10:49:54 -04:00
ehpersonal38
cb833d4866
Update play.php
2022-06-14 15:15:14 -04:00
ehpersonal38
c259b3a43e
Lazy loading, at last
2022-06-14 15:06:41 -04:00
ehpersonal38
f78acb5cf9
Update play.php
2022-05-29 18:26:00 -04:00
ehpersonal38
0462e1ec2b
Things have been made better
...
- All buttons and bird images now have nice transitions on hover
- Bird images have an added drop shadow for the aesthetics. 😎
- When hovering over sort icons, a tooltip describing the button is now displayed
- Best Recordings has been cleaned up and made a little clearer
2022-05-22 17:21:42 -04:00