Commit Graph

95 Commits

Author SHA1 Message Date
Alexandre 5b6016fdb1 Show as k if > 1000 2024-11-09 17:09:22 +01:00
Alexandre b451af0260 Add occurences Count to best recordings 2024-11-09 17:09:22 +01:00
Alexandre 0cb609a69f Update stats.php 2024-11-01 14:59:59 +01:00
Brian Dembinski 62e98ade0b Added sort by max confidence to Best Recordings page 2024-11-01 14:59:59 +01:00
frederik 3dc8b6db38 fix: properly decode species so apostrophe in the name survives the url encode 2024-09-14 10:36:41 +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 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 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
frederik be8093d663 allaboutbirds/ebird url generation 2024-05-31 14:12:53 +02:00
frederik 65bb886787 use english common name for allaboutbirds 2024-05-31 11:38:06 +02:00
frederik 5dcbc83621 refacture: extract get_com_en_name() 2024-05-31 11:36:41 +02:00
frederik 3a3e270449 stats.php: cleanup html 2024-04-09 17:52:39 +02:00
frederik a48bda055b convert service_controls.php system_controls.php 2024-03-29 13:21:18 +01:00
frederik b0eb5e063f add busyTimeout() to deal with concurrency. open read-write only when needed 2024-03-09 13:04:07 +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 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
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