Commit Graph

86 Commits

Author SHA1 Message Date
ehpersonal38 903a261593 Suppressing "Database is busy" 2022-05-29 15:27:07 -04:00
ehpersonal38 c3c1e9d942 5 most recent detections on overview 2022-05-29 11:07:44 -04:00
ehpersonal38 61adf3fec5 No leaky Flickr API keys on error 2022-05-26 12:10:11 -04:00
ehpersonal38 e78eaa1e75 Reverting DB Optimizations
I have to admit the old way is much more efficient
2022-05-26 08:21:41 -04:00
mcguirepr89 969e5928bb underscore to space to %20, set hike! 2022-05-25 13:29:03 -04:00
ehpersonal38 aba6760875 oops 2022-05-25 13:17:30 -04:00
ehpersonal38 e4a595bacc No more + signs in attribution titles 2022-05-25 12:05:44 -04:00
ehpersonal38 76367a9f9d Pesky newlines
It's interesting, looping through the labels.txt file gives us a $line that also has a \n at the end of it, thus a search for "House Finch" becomes just "House". But only on certain species? It seems that 95% of other species weren't affected by this newline. Anyways this fixes it :)
2022-05-25 11:58:18 -04:00
mcguirepr89 8802173f79 nevermind 2022-05-25 11:43:10 -04:00
mcguirepr89 54608428a6 removed this line and that seemed to fix it 2022-05-25 11:42:01 -04:00
ehpersonal38 ef25d83d23 Update overview.php
*whistles
2022-05-25 09:24:35 -04:00
ehpersonal38 45c05ea427 Flickr now uses English names
This is totally the right way to add files to a folder that's in .gitignore. Right? _Right..._ @mcguirepr89
2022-05-25 09:19:12 -04:00
ehpersonal38 87f34b494b Using $_SESSION for storing and retrieving Flickr URLs
Significantly decreases API calls
2022-05-23 16:46:20 -04:00
Patrick McGuire c3788298ce fixing image link protocol:wq 2022-05-21 10:45:01 -04:00
ehpersonal38 fe84992b98 Update overview.php 2022-05-21 07:44:10 -04:00
ehpersonal38 63a74499b6 Adding detections to the spectrogram 2022-05-20 14:25:33 -04:00
ehpersonal38 d94a734c1b Fixing bugs I created when I was fixing bugs 2022-05-20 08:38:42 -04:00
ehpersonal38 78b009abff Fixing bugs 2022-05-20 08:34:01 -04:00
ehpersonal38 5cbe301fd8 Larger bird images upon click 2022-05-19 18:29:14 -04:00
ehpersonal38 787c5d65a9 better search results
also adding percentage conf to other files
2022-05-19 08:30:48 -04:00
ehpersonal38 c3fe4828f1 Let's actually use CC images! 2022-05-19 08:16:20 -04:00
mcguirepr89 7bdb351c93 since we're rounding, let's do percent 2022-05-18 20:50:32 -04:00
ehpersonal38 53bc242fff searching fix 2022-05-18 14:16:20 -04:00
ehpersonal38 5bd1835b6f better mobile formatting 2022-05-18 14:14:59 -04:00
ehpersonal38 fb703030c7 Flickr Implementation 2022-05-18 14:03:49 -04:00
ehpersonal38 470e5d142d Round confidence to 2 decimals 2022-05-14 15:48:03 -04:00
ehpersonal38 0470cda32d Update overview.php 2022-05-06 08:31:31 -04:00
Patrick McGuire fc6cf7bd84 Typo 2022-05-03 12:03:23 -04:00
ehpersonal38 1f9a104be4 Update overview.php
This makes it so overview always shows the most recent detection (and not a blank div), by selecting the newest detection that also has a valid image.
2022-05-03 11:05:25 -04:00
mcguirepr89 80e533d84b moved class to td 2022-04-21 14:06:25 -04:00
mcguirepr89 ad8c559605 adding copy button back to overview.php
added <br> between Common Scientific links
2022-04-19 14:41:04 -04:00
ehpersonal38 9bdd049c5f Update overview.php 2022-04-19 11:30:13 -04:00
ehpersonal38 33fbbb8be2 DB optimizations for overview.php 2022-04-19 11:27:47 -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 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
mcguirepr89 3d080b2ca3 moving adjustments to style.css 2022-04-17 11:30:56 -04:00
ehpersonal38 19cd8f6d48 nit-picky UI stuff 2022-04-17 11:08:53 -04:00
ehpersonal38 73b87a215b Update overview.php 2022-04-16 13:54:05 -04:00
ehpersonal38 2027967b7b Update overview.php
Now the left tally chart updates with JS too!

Also cleaned up & optimized a few lines of code.
2022-04-16 13:31:20 -04:00
mcguirepr89 5ec4116228 removed the refresh 2022-04-16 11:51:11 -04:00
mcguirepr89 df9f00218f all three images update that way now! thanks! 2022-04-16 11:45:38 -04:00
ehpersonal38 2cec5efd25 Update overview.php 2022-04-16 10:49:46 -04:00
ehpersonal38 a3f2fe943c JS refresh of most recent detection
Hello!

I've gone ahead and implemented some JS into overview.php that will automatically refresh the most recent audio detection, if there is a newer one. This means you don't have to manually refresh overview anymore.

Open to feedback/suggestions!
-Ethan
2022-04-16 10:29:13 -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 0614e3fd7e "Today" link in species stats on Overview page
now goes to "Today's Detections"
2022-04-05 11:11:59 -04:00
mcguirepr89 0e5fc324d5 "Species detected today" now goes to the recordings for
today by species
2022-04-05 09:55:14 -04:00
mcguirepr89 b606d61470 final css adjustments to overview 2022-04-02 12:38:57 -04:00