Commit Graph

1676 Commits

Author SHA1 Message Date
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 c8b15b65ce Merge branch 'sqlite-timeout' 2024-03-09 13:27:10 +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
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 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 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 4ba418e836 fix: make sure timezone is set or we get utc 2024-02-21 17:22:18 +01:00
frederik 299c4cee28 add DATA_MODEL_VERSION to config.php 2024-02-19 16:54:25 +01:00
frederik 31e1379f14 server.py add support for Data_Model_V2 2024-02-19 16:54:25 +01:00
frederik b4e8fee59e cleanup loading of M_INTERPRETER 2024-02-19 16:54:25 +01:00
frederik 8b1da71398 add DATA_MODEL_VERSION to config 2024-02-19 16:54:25 +01:00
frederik ae9cd73407 fix: do not error out on a missing blacklisted_images.txt file 2024-02-18 14:35:23 +01:00
frederik a3a2ea6dc4 fix: avoid using escapeshellcmd() by injecting $body via STDIN. not very elegant, but keeps with the spirit of escapeshellcmd() 2024-02-18 10:59:22 +01:00
frederik a10067cc09 fix: File Manager needs group read permissions 2024-02-17 12:47:30 +01:00
frederik ff09690286 Merge branch 'fix_PrivacyThreshold' 2024-02-17 12:44:40 +01:00
frederik 5e18e0c803 fix: File Manager needs group read permissions 2024-02-17 12:41:44 +01:00
frederik 53633440c6 fix: when tmpfs is active, analyzing_now.txt does not exist at startup, so create it before watching 2024-02-16 10:27:16 +01:00
frederik 17ff415217 correct privacy explanation 2024-02-16 09:57:23 +01:00
frederik f9460a429d fix: priv_thresh is a percentage, not a fraction 2024-02-15 15:20:03 +01:00
frederik 090b41775f preinstalling wheel, to make sure we can build a wheel for inotify: the legacy 'setup.py install' method will be deprecated with pip 23.1 2024-02-13 18:06:57 +01:00
frederik ab8e3b1d68 add place holder stub until we figure out how to do releases 2024-02-13 18:06:57 +01:00
frederik 189ef116d0 Add ram drive support in the ui 2024-02-13 18:06:57 +01:00
frederik a4122b5bcc write transient files to tmpfs aka ram drive 2024-02-13 18:06:57 +01:00
frederik 35db8bcb3b centralise transient files 2024-02-13 18:06:57 +01:00
frederik b248ded6ed move analyzing_now.txt to StreamData to centralise transient files 2024-02-13 18:06:57 +01:00
frederik a16cb0e63a security update, not clear if it is relevant, but seems to work 2024-02-13 18:06:57 +01:00
frederik 23dfa3bb99 fix: changing advanced settings was not updating on a fresh install ed. CHANNELS, RECORDING_LENGHT, ... simplify 2024-02-13 18:06:57 +01:00
frederik 44430a1727 bookwork fix: caddy need to be able to list the home dir 2024-02-13 18:06:57 +01:00
frederik c100d19da1 bookwork fix: make php version independant 2024-02-13 18:06:57 +01:00
frederik 2a68bb2e43 bookwork fix: move php to the back so we first hit php-fpm and not pull in apache2 2024-02-13 18:06:57 +01:00
frederik 7317e0ef95 remove whl 2024-02-13 18:06:57 +01:00
frederik 5e687f9373 initial bookworm support 2024-02-13 18:06:57 +01:00
frederik 823df318b6 fix: config file was missing 2024-02-13 18:06:57 +01:00
frederik 1579e6b5bf debug 2024-02-13 18:06:57 +01:00
frederik c4a4cba8e2 fix: /etc/systemd/system/getty@tty1.service.d does not exist on Raspbian Bullseye 2024-02-13 18:06:57 +01:00
frederik 4ba13c2de8 BirdNET_GLOBAL_6K_V2.4_Model_FP16 is the default now 2024-02-13 18:06:57 +01:00
frederik eb0e54f58d fix: new detections are not shown: disable caching get_data() 2024-02-13 18:06:57 +01:00