Commit Graph

2537 Commits

Author SHA1 Message Date
frederik 56a3f86b98 fix: going to todays detections did not work due to typo 2024-03-20 13:15:34 +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 03dd046c47 ignore netbeans data 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
Nachtzuster 26311d4cd1 Added swipeL + swipeR + arrowL + arrowR events to DailyCharts form (#22)
* Added swipeL + swipeR + arrowL + arrowR events to DailyCharts form

* Added swipeL + swipeR + arrowL + arrowR events to DailyCharts form

* changed indicator from div to img, using spinner.gif

* changed indicator from div to img, using spinner.gif

* invert swipe directions

---------

Co-authored-by: Louis Croisez <louis.croisez@gmail.com>
2024-03-17 09:34:56 +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 3246b61c41 fix: don't send unsolicited stuff: this might break json 2024-03-14 11:55:31 +01:00
frederik 6c6247cf19 with the new analysis pipeline .wav and .wav.json do not exist at the same time. make labeling work with json alone. also tweak the timing 2024-03-14 11:55:31 +01:00
frederik 1f7aad7873 fix: write json file: spectrogram.php needs it 2024-03-14 11:55:31 +01:00
frederik 5c3b2d5691 fix: RTSP_STREAM_TO_LIVESTREAM was missing from config file 2024-03-14 11:55:31 +01:00
frederik b7225ca1d2 fix: use hostname like the python code does 2024-03-14 11:55:31 +01:00
cdkl a5e88f9c77 Read lat/lon from config 2024-03-14 10:42:40 +01:00
cdkl 37b023b84d Fix sunrise/sunset scatter plots (#16)
* Fix sunrise/sunset scatters

Sunrise/sunset scatter plots are misplaced for
* Date ranges that are a subset of the entire DB date range
* Species whose first/last detections are inside the bounds of the current date range.

This fixes those problems.

* Clean up lint errors

* Fix the lint errors created by fixing lint errors

* Restore old lat/lon determination

We'll enhance this separately
2024-03-13 00:06:16 +01:00
Nachtzuster 459fe5df6f Merge pull request #19 from lloydbayley/main
Correct link on main page to point to this repo.
2024-03-10 14:56:27 +01:00
Lloyd Bayley 74eb351ea1 Update index.php 2024-03-10 22:04:53 +11:00
Nachtzuster 017734037a Merge pull request #18 from lloydbayley/main
Change repo in System Controls
2024-03-09 17:48:26 +01:00
Lloyd Bayley a192039980 Update system_controls.php 2024-03-10 00:30:57 +11:00
frederik e3b8cd134a allow x86_64 for development purposes 2024-03-09 13:31:36 +01:00
frederik 15aaedbacc add tflite_runtime for x86_64 2024-03-09 13:31:36 +01:00
frederik 91007f63e4 gotty multiarch 2024-03-09 13:31:36 +01:00
frederik a9fbb571ab update README 2024-03-09 13:31:36 +01:00
frederik c8b15b65ce Merge branch 'sqlite-timeout' 2024-03-09 13:27:10 +01:00
Nachtzuster a285de823d Merge pull request #17 from lloydbayley/main
Update config.php
2024-03-09 13:26:41 +01:00
frederik 68e61d2517 only check git when logged in 2024-03-09 13:17:49 +01:00
frederik 1ff01f1b4f make sure config is defined 2024-03-09 13:17:49 +01:00
frederik 1d2c2d6faa make casual git checking non-blocking-y, also check every 24h 2024-03-09 13:17:49 +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 90d53a3a43 ensure_db_ok (): on error: do not refresh immediately, but wait for one second. put helpers in common.php 2024-03-09 13:03:05 +01:00
frederik be8a98bf59 fix: do not unset the session 2024-03-09 10:16:52 +01:00
Lloyd Bayley 3b4da2e2b6 Update config.php 2024-03-09 01:16:59 +11:00
frederik 0c00e6fadd bump seaborn==0.13.2 2024-03-01 12:41:20 +01:00
frederik b99367d298 fix deprecation warnings 2024-03-01 12:41:20 +01:00
frederik cafe172241 fix check for vcgencmd 2024-02-28 11:52:14 +01:00
frederik e0484b8caf fix: make sure the UI reflects the change 2024-02-28 10:21:06 +01:00
frederik 63da546d98 stderror sometimes has useful info 2024-02-27 20:21:25 +01:00
Nachtzuster c3686b58a3 Merge pull request #10 from cdkl/patch-1
Remove utc to localtime conversion from daily_plot.py
2024-02-27 18:16:59 +01:00
cdkl 0448eb8134 Remote utc to localtime conversion from daily_plot.py
Introduction of yesterday/today handling added a bug that expresses itself on systems whose timezones are behind UTC. Specifically, the 'localtime' modifier to DATE() attempts to interpret the date to the left as UTC, and convert to localtime. The result is that in timezones behind UTC, the date selected is always 1 earlier than intended.

No timezone conversion should be done. The db data is in local time already.

Here's a demonstration of calling DATE() in various ways in North America EST:

sqlite> select DATE('now');
2024-02-26
sqlite> select DATETIME('now');
2024-02-26 17:20:46
sqlite> select DATE('2024-02-26');
2024-02-26
sqlite> select DATETIME('2024-02-26');
2024-02-26 00:00:00
sqlite> select DATE('now', 'localtime');
2024-02-26
sqlite> select DATE('2024-02-26', 'localtime');
2024-02-25   <--- this is the bug
2024-02-26 12:25:10 -05:00
frederik bff4c3f377 try to avoid broken installs 2024-02-24 12:01:07 +01:00
frederik 819f390614 gotty: fix: forward compatibility with v1.5 2024-02-24 11:55:56 +01:00
frederik 019632232d log the git ref 2024-02-24 11:38:25 +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
frederik 0d601f0bcf Merge branch 'fix_timezone' 2024-02-24 11:34:08 +01:00
frederik 421575423c fix: do not rely on /etc/timezone to get the time zone. timedatectl does not update it immediately (anymore), it only gets updated after a reboot 2024-02-24 11:31:36 +01:00
frederik a8d60c2fc1 apprise does not work with paho-mqtt==2.0.0 for now 2024-02-21 18:46:03 +01:00
frederik 4ba418e836 fix: make sure timezone is set or we get utc 2024-02-21 17:22:18 +01:00
frederik 6873ee44f7 fix README 2024-02-20 14:23:28 +01:00
frederik add216750d README: add list changes 2024-02-20 11:41:27 +01:00