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
2c77964b1a
fix #876
2023-04-27 14:53:02 -04:00
ehpersonal38
5dec3cb76a
Flickr new policy compliance, user agents are now required
2023-03-22 13:22:14 -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
0de565b80b
copylink button title
2022-08-10 19:01:04 -04:00
ehpersonal38
a48ab9176f
Dialog polyfill
...
https://github.com/GoogleChrome/dialog-polyfill
2022-06-27 15:32:54 -04:00
ehpersonal38
61adf3fec5
No leaky Flickr API keys on error
2022-05-26 12:10:11 -04:00
ehpersonal38
138a031591
Update stats.php
2022-05-25 13:20:11 -04:00
Patrick McGuire
c54c0c7f17
Merge branch 'main' into remove-python-shebangs
2022-05-24 12:09:53 -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
mcguirepr89
9fd68a913c
removed style not used
2022-05-21 19:04:56 -04:00
mcguirepr89
86fcdafbe2
make the image the link
2022-05-21 18:36:10 -04:00
mcguirepr89
477143a9c4
I thought I did this?
2022-05-21 18:34:00 -04:00
mcguirepr89
22d3b2361b
silencing errors if no Flickr API Key
2022-05-21 09:33:53 -04:00
Patrick McGuire
160e4a37ee
removing the hardcoded key
2022-05-21 08:53:59 -04:00
Patrick McGuire
ac0bccebfc
removed hardcoded API key
2022-05-20 09:55:17 -04:00
ehpersonal38
bd7fee9012
Update stats.php
2022-05-20 09:51:26 -04:00
ehpersonal38
e7e823bece
Much better Best Recordings > disk_check_exclude.txt logic
2022-05-20 09:42:56 -04:00
mcguirepr89
7e2ffcb9b5
typo
2022-05-19 09:38:25 -04:00
ehpersonal38
787c5d65a9
better search results
...
also adding percentage conf to other files
2022-05-19 08:30:48 -04:00
ehpersonal38
fb703030c7
Flickr Implementation
2022-05-18 14:03:49 -04:00
ehpersonal38
f59d04a7bc
Allow specific recordings to be "delete protected" from disk-check.sh
...
@mcguirepr89 I'm very happy with how this turned out! 😄
2022-05-16 10:58:04 -04:00
ehpersonal38
470e5d142d
Round confidence to 2 decimals
2022-05-14 15:48:03 -04:00
ehpersonal38
72b9dccd7e
Revert "replacing wiki images with flickr"
...
This reverts commit 01d0cf3058 .
2022-05-12 11:23:30 -04:00
ehpersonal38
b064a58acd
Revert "typo"
...
This reverts commit 22a53ee1dc .
2022-05-12 11:23:28 -04:00
ehpersonal38
12de78cbf6
Revert "Changing Wiki references to Flickr"
...
This reverts commit 37865b2675 .
2022-05-12 11:23:20 -04:00
Patrick McGuire
37865b2675
Changing Wiki references to Flickr
2022-05-12 10:48:52 -04:00
Patrick McGuire
22a53ee1dc
typo
2022-05-12 10:47:40 -04:00
ehpersonal38
01d0cf3058
replacing wiki images with flickr
2022-05-12 10:35:06 -04:00
ehpersonal38
d469b1a759
Prevent disk_check from erasing our "Best Recordings"
...
let me know what you think
@mcguirepr89
2022-05-09 12:46:49 -04:00
ehpersonal38
ceb249c341
Update stats.php
2022-04-22 17:46:59 -04:00
ehpersonal38
62debe4b69
Revert "Revert "Sorting: Improvements to last commit""
...
This reverts commit 931c96ef74 .
2022-04-22 13:29:30 -04:00
ehpersonal38
931c96ef74
Revert "Sorting: Improvements to last commit"
...
This reverts commit a77fdfaaf8 .
2022-04-22 13:28:10 -04:00
ehpersonal38
a77fdfaaf8
Sorting: Improvements to last commit
2022-04-22 13:27:44 -04:00
ehpersonal38
f203fde9f4
Sort recordings by ABC, or occurrences
2022-04-22 10:45:46 -04:00
ehpersonal38
209b4e86ff
Fixing style.css again
...
Hopefully this fixes things for good, had to move class="relative" to the td instead of the tr...
2022-04-18 17:27:49 -04:00
ehpersonal38
14635d4e84
Update stats.php
...
After clicking a species on Best Recordings, this scrolls the user down to exactly what they requested (especially helpful on mobile).
2022-04-18 09:18:18 -04:00
ehpersonal38
b2c80f0db7
Adding links to recordings
...
This should add a link to all the recordings, so you can copy and share with a friend, or save somewhere.
There's better ways some of this can be done, but it works for now.
(please test this! not sure if I copied all the right files to git)
2022-04-17 14:42:08 -04:00
ehpersonal38
2a7fb1cd37
Update stats.php
...
Species selector on Best Recording's didn't show up on mobile - removing "left" class solves it.
2022-04-17 09:51:26 -04:00
mcguirepr89
aaeda89f14
spectrogram, species stats, and log now have navigation bar
...
changed all POSTs to GET
2022-04-15 12:01:46 -04:00
ehpersonal38
6b03f1ff47
QOL improvements to live stream
...
If a user starts playing a recording while the live stream is already playing, the live stream volume will be set to 0 until the recording is finished playing. Prevents overlapping audio.
Open to feedback/suggestions. Thanks!
2022-04-15 09:41:13 -04:00
mcguirepr89
f69f04d19d
changes that remove the default pi user
2022-04-11 17:29:00 -04:00
mcguirepr89
023b68f386
making changes to accomodate removing the pi user
2022-04-11 10:16:54 -04:00
mcguirepr89
8a6f67ff75
removed unnecessary style links (for alternative stlye sheets?)
2022-03-08 15:58:48 -05:00
mcguirepr89
f9a894d5d3
tweaks
2022-03-06 13:54:40 -05:00
mcguirepr89
7578e1d7ef
I love this version!!!
2022-03-03 18:14:56 -05:00
mcguirepr89
99018f7128
adding the old toolset back to the newif
2022-03-03 15:55:35 -05:00
mcguirepr89
147358a9c5
added new changes
2022-03-03 09:18:21 -05:00
mcguirepr89
a76e319c10
fixed some heading issues
2022-03-01 10:00:15 -05:00
mcguirepr89
8b8427a5bb
better stats
2022-03-01 09:57:42 -05:00