Commit Graph

98 Commits

Author SHA1 Message Date
frederik cea5dbfd97 Only Flickr does blacklisting 2025-08-19 11:12:50 +02:00
frederik 99ef84a6c7 shorten displayed text if needed 2025-08-19 11:12:50 +02:00
frederik ec7131391d switch to neutral image_provider 2025-08-19 11:12:50 +02:00
frederik 7191387c85 fix: use sci name in the statistics, a change in common name translation would break the statistics 2025-05-17 11:35:48 +02:00
Alexandre 7c22e2593e New feat : Redesigned audio player (#279)
* New audio player

* New style

* Readd vertical bar

* Improve appearance safari

* Improve layout

* Improve alignement of bottom elements

* Align
2025-04-12 10:09:03 +02:00
Alexandre f9d166d4f0 Set custom duration for minigraphs 2025-01-25 12:02:00 +01:00
Alexandre abcbcb6018 Update scripts/todays_detections.php
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-11-25 20:37:43 +01:00
Alexandre 5c62ad6ebb Update scripts/todays_detections.php
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-11-25 20:37:43 +01:00
Alexandre 535444f752 Ensure ' used for minigraphs 2024-11-25 20:37:43 +01:00
Alexandre 5e70dcabbb UI : align overview and todays UI with centered stats #182 (#191)
* Move chart to center

* Align css

* Align dark-style.css

* Add stats title

* Removed title : cleaner look

* Shorter titles for stats

* Shorter title, unique is implicit

* Invert Species Total and Today

* Re-add left chart

* Re-add left chart bis

* Adapt css for flexible layout

* Align with main css

* Restore overview-stats, add center-column

* Restore style, add center-column

* Restore css

* add center-column

* Remove useless change

* Prevents centering

* Prevents centering

* Aggregate ajax sqlite

* Ensured the 5 sqlite commands are centralized

* Load center only after left has completed (to sync values)
2024-10-15 19:52:56 +02:00
Emmo213 c409f01f3a Issue #170 - set timezone on the todays detection page (#171) 2024-08-15 08:30:21 +02:00
frederik f4afdaed93 tweak input box sizes 2024-07-13 10:49:00 +02:00
frederik 25f2c531c0 fix: the picture url for the big modal image was generated incorrectly 2024-07-04 17:02:17 +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 1c5691dd1b Consolidate css 2024-06-19 09:10:04 +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 0d5eadb880 flickr db: keep a local cache of flickr urls to improve ui responsiveness 2024-04-24 09:55:36 +02:00
frederik 1c41fc3d8f properly replace quotes 2024-04-23 19:26:08 +02:00
frederik f0b7043842 todays_detectionns.php: cleanup html 2024-04-09 17:52:39 +02:00
frederik ff58215ebe convert history.php todays_detections.php 2024-03-29 13:21:18 +01:00
frederik 940fc8ef69 fix: deleting detection did not delete the files due to incomplete path 2024-03-17 10:32:10 +01:00
frederik 38841b4950 cleanup: make sure $kiosk is defined 2024-03-17 10:32:10 +01:00
frederik 38712fa016 use the same style as in overview.php to make it clear the numbers are clickable 2024-03-17 10:28:33 +01:00
frederik 141fb67653 fix: minichart only worked first time pt2 2024-03-16 18:07:56 +01:00
frederik 086fbf65a6 fix: minichart only worked first time 2024-03-16 17:40:25 +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 ae9cd73407 fix: do not error out on a missing blacklisted_images.txt file 2024-02-18 14:35:23 +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 6b5282037c Merge branch 'BirdNET-pi-main' into New-UI-API 2023-05-17 20:04:19 +10:00
Louis Croisez 098e956e60 Makes DetectionsPanel disappear if it was already displayed, before displaying a new one 2023-05-09 10:02:57 +02:00
jaredb7 ac9a0e4cbe Consolidate code in remaining pages, setting page updates
The Config and Advanced setting pages received changes to use the new setSetting() function which looks after creating or updated the setting in the required config files.
Optionally it also specification of a command to run after saving the settings.
Some variables like models, audio formats and frequency shift tools were also moved into common.php

Service Controls page received changes with the replacement of the actual command to execute with a sort of shorthand human friendly version e.g. service <action> <service_name> -- service restart livestream.service

These commands map to the original commands in serviceMaintenance() so this could be called through the API without needing the full-blown commend.
views.php was updated to accommodate this also

System Controls page received a small change to make the process checking for new git updates or getting the last commit hash a single function call.

Include and Exclude species updated to use getFilePath() to generate a path to the required file instead of the hard coded path

Views.php also received similar treatment with replacing some hard coded paths with generated paths, but logic changes to handle the change in running service commands
2023-05-08 23:24:15 +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 a97679633a add delete button to Today's Detections 2023-04-29 17:19:27 -04:00
ehpersonal38 2c77964b1a fix #876 2023-04-27 14:53:02 -04:00
ehpersonal38 5de300caa5 fix kiosk mode 2023-04-25 16:10:21 -04:00
jaredb7 2efc15eb94 Some element tag fixes and added a link to the recording when on mobile
On mobile a new icon has been added to allow the user to jump to the detection's recording. Allowing the user listed to the recording as no playback controls are available when on mobile.
This is the same function available for the most recent recording
2023-04-01 22:14:35 +10:00
ehpersonal38 af8e7d433f clarifying some language 2023-03-24 14:46:48 -04:00
ehpersonal38 5dec3cb76a Flickr new policy compliance, user agents are now required 2023-03-22 13:22:14 -04:00
ehpersonal38 865fba64f2 Add license URL to Flickr images 2023-03-16 13:50:49 -04:00
ehpersonal38 fbed94e209 Blacklist Flickr images from the web interface 2023-03-15 19:37:17 -04:00
ehpersonal38 aaffa6f5c5 Adding support for blacklisting certain Flickr images 2023-03-14 15:59:58 -04:00
ehpersonal38 534004acf6 Making charts more mobile friendly on "Today's Detections" 2023-03-07 18:10:24 -05:00
ehpersonal38 19c4f3d6aa Chart fixes / adding to Overview 2023-03-05 18:55:49 -05:00
ehpersonal38 504942006b Initial chart commit 2023-03-05 14:45:07 -05:00
ehpersonal38 53b5ad6868 Update todays_detections.php 2023-02-15 20:23:20 -05:00
ehpersonal38 c23c661fa7 issue #704 2023-01-20 14:37:41 -05:00
ehpersonal38 e2062362b8 Update todays_detections.php 2023-01-12 18:04:15 -05:00
ehpersonal38 18d933759c kiosk mode 2023-01-11 17:44:48 -05:00