Commit Graph

4013 Commits

Author SHA1 Message Date
tcely
5608ffbcec chore: include the latest wiki changes 2026-06-11 16:10:30 -04:00
tcely
e52ab57be5 fix: do not over-quote with shell_quote 2026-06-11 11:20:23 -04:00
tcely
7261f5b9bf fix: keep using the more restrictive decimal format for the count 2026-06-11 03:55:13 -04:00
meeb
76319acd23 patch yt-dlp subshell for GHSA-69qj-pvh9-c5wg, resolves #1505 2026-06-11 17:15:21 +10:00
tcely
c6a3098144 Revert "chore: specify open for a known default"
This reverts commit c1b4fb7b74.
2026-06-11 03:04:20 -04:00
tcely
482e9c4c9c Merge pull request #1503 from meeb/tcely-postgresql-pool
fix: use get_close_db_for_queue for signals
2026-06-10 23:12:46 -04:00
tcely
6f32f6c7a0 fix: use get_close_db_for_queue for signals 2026-06-10 20:59:32 -04:00
tcely
c1b4fb7b74 chore: specify open for a known default 2026-06-10 20:58:57 -04:00
tcely
94e9190627 Merge pull request #1501 from meeb/tcely-delete-optimization
fix: remove an extra save during deletion of Media
2026-06-04 12:46:34 -04:00
tcely
8c91e97f14 fix: remove an extra save during deletion of Media 2026-06-04 06:18:06 -04:00
tcely
f7154cf4a6 fix: cleanup logged errors from the missing /dev/log socket 2026-06-02 09:45:37 -04:00
tcely
18425f9a14 Bump version to 0.18.1 2026-06-02 08:18:37 -04:00
tcely
a93c05a205 chore(ci): switch runner for info to ubuntu-slim 2026-06-02 07:57:48 -04:00
tcely
0f77ec680f chore(ci): add ejs latest release retrieval 2026-06-02 01:05:01 -04:00
tcely
6846220168 chore: update YTDLP_EJS_VERSION to 0.8.0 2026-06-01 16:16:06 -04:00
tcely
426f116bd5 chore: pin hat-syslog version to 0.7.28 2026-06-01 16:08:17 -04:00
tcely
71497c7fee fix: use space-padded day of the month numbers 2026-06-01 12:41:35 -04:00
tcely
5b09689a08 chore: move advanced usage guides to the wiki 2026-06-01 12:11:16 -04:00
tcely
43c8326232 Merge pull request #1492 from meeb/tcely-use-more-metadata
feat: set more metadata from `.info.json` files
2026-05-30 05:16:57 -04:00
tcely
789de92c4c feat: set more metadata from .info.json files 2026-05-30 01:07:41 -04:00
tcely
81ee8baabd fix: broken --help with import-existing-media.py 2026-05-29 21:19:50 -04:00
tcely
3aa3bf6be9 chore: use full wiki URLs 2026-05-29 08:42:24 -04:00
tcely
05954ec6db chore: move FAQ content to the wiki 2026-05-29 08:33:08 -04:00
tcely
68f1e91d0a chore: move the logs link to the bottom of cards 2026-05-29 06:27:13 -04:00
tcely
cd8838c578 Merge pull request #1491 from prattik-wav/fix/web-logs-dashboard-link
Add /web-logs/index.html link to the dashboard
2026-05-29 02:49:26 -04:00
prattik-wav
6208a8629b Add /web-logs/index.html link to the dashboard 2026-05-29 11:56:03 +05:30
tcely
35a6f7e57a Merge pull request #1486 from meeb/tcely-peekable-simple-queue
feat: implement `PeekableSimpleQueue`
2026-05-29 02:05:29 -04:00
tcely
147fa1e8d2 chore(README): update the logging and debugging section 2026-05-29 02:01:19 -04:00
tcely
63886680dd Merge pull request #1478 from meeb/release-2026-006
Release for 2026-006
2026-05-29 01:01:17 -04:00
tcely
c1ed71d1d0 Merge pull request #1483 from meeb/tcely-hat-handler-connection-abort
feat(logs): give up on missing connections
2026-05-28 02:10:34 -04:00
tcely
c65357a84a Merge pull request #1482 from meeb/tcely-common-logging-restructure
chore: restructure common logs
2026-05-28 02:07:57 -04:00
tcely
5325980fce feat: implement PeekableSimpleQueue 2026-05-27 12:52:54 -04:00
meeb
e9471ed826 remove legacy incorrect error page message, resolves #1485 2026-05-28 01:53:01 +10:00
tcely
0c6503d088 feat(logging): give up on missing connections
Implement an isolated, unit-based reconnection tracking engine inside the background logging handler thread.
This structure natively handles both instant startup dropouts (never listening)
and long-term service disappearances without tracking raw wall-clock timers.

Key architectural controls:
- Encapsulates dynamic telemetry properties (budget, first-failure snapshot, timeout values, and bonus/cost configurations) directly inside a private _ReconnectionState dataclass instantiated inside the thread.
- Implements a 2:1 recovery ratio (failures cost 5 units; successful handshakes reward 10 units plus 1 unit per item sent) capped strictly at 1,000 units.
- Implements a narrow-band jitter range combined with a 1.0+ additive guard. This prevents rapid-fire sub-second retry loops on early drops while injecting fractional millisecond variance to break up concurrent thundering herds.
2026-05-27 07:05:46 -04:00
tcely
50c0349b17 log debug messages with hat-syslog handler for app_logger 2026-05-27 07:02:30 -04:00
tcely
3e120e3dd8 disable the core syslog handler for app_logger 2026-05-27 07:02:27 -04:00
tcely
f0b32d2a46 add hat-syslog handler to app_logger 2026-05-27 07:02:24 -04:00
tcely
bb2daa2315 add core handlers to app_logger 2026-05-27 06:29:51 -04:00
tcely
af59f4c640 import app_logger 2026-05-27 06:04:57 -04:00
tcely
4cef285701 fix comments 2026-05-27 05:47:17 -04:00
tcely
4dcee6fae7 chore: revise and update local_settings.* files 2026-05-27 05:39:44 -04:00
tcely
4dd0b16bfc chore(logs): provide a default app_logger 2026-05-27 05:39:42 -04:00
tcely
53c560efdf fix: do not shadow logging inside common 2026-05-27 04:40:40 -04:00
tcely
5e58965d4c fix: do not shadow json inside common 2026-05-27 03:11:38 -04:00
tcely
35ec4606b4 Refactor common.logging to include both syslog handlers 2026-05-25 14:18:23 -04:00
tcely
16b68b5a78 Merge pull request #1481 from meeb/tcely-hat-syslog_tool
feat: export mode for `hat-syslog_tool.py`
2026-05-25 10:46:20 -04:00
tcely
7f50278bd4 hat-syslog_tool/1.1 2026-05-25 10:43:59 -04:00
tcely
245990670a fix(logging): reduce repeated messages from health checks 2026-05-25 09:48:37 -04:00
tcely
e4df824579 chore(ci): reset dive to reasonable settings
To work around an outdated and broken Debian image / packages combination I had relaxed the limits and disabled our `/etc/debconf.conf` changes.

This commit reverses those temporary changes.
2026-05-23 23:00:04 -04:00
tcely
748cfd0618 Release for 2026-006 2026-05-23 11:28:31 -04:00