Commit Graph

4040 Commits

Author SHA1 Message Date
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
tcely
4fc78d5965 Merge pull request #1472 from meeb/tcely-hat-syslog
feat(logging): switch to `hat-syslog`
2026-05-23 11:11:49 -04:00
tcely
4cd02ed690 fix(nginx): do not write these under /usr/local 2026-05-23 09:45:19 -04:00
tcely
ac09fa4ce9 Merge pull request #1477 from meeb/tcely-delete-media-glob-fix
fix(ui): use `glob_quote` when deleting media files
2026-05-22 15:18:59 -04:00
tcely
6bd08ee8a3 ci adjustments 2026-05-18 02:10:05 -04:00
tcely
2dc949878e feat: logging from Django to hat-syslog 2026-05-17 21:20:00 -04:00
tcely
78fb6516f6 Add hat-syslog patches to Dockerfile 2026-05-17 21:19:56 -04:00
tcely
30c25a1253 Create hat-syslog_tool.py 2026-05-17 21:19:53 -04:00
tcely
898de6d678 Create hat_busybox.py
Implement BusyBox RFC 3164 log message parser with tests.
2026-05-17 21:19:51 -04:00
tcely
de678068cd feat: proxy the web interface for stored logs 2026-05-17 21:19:48 -04:00
tcely
0267bf641b fix: use glob_quote when deleting media files 2026-05-16 10:23:14 -04:00
tcely
93033d6cc4 chore: clean up extra white-space 2026-05-16 07:13:28 -04:00
tcely
0b3be91894 chore: configure syslog for web servers 2026-05-16 07:13:25 -04:00
tcely
f53a70baca feat: add the busybox-syslogd service 2026-05-13 18:52:14 -04:00
tcely
0deb95e02c feat: add the hat-syslog-server service 2026-05-02 08:10:39 -04:00
tcely
19f65c3738 chore: install busybox-syslogd 2026-05-02 08:10:37 -04:00
tcely
9e76e89e17 fix: refactor service dependencies 2026-05-02 08:10:34 -04:00
tcely
298147817f Merge pull request #1470 from meeb/release-2026-005
Release for 2026-005
2026-04-29 16:30:51 -04:00
tcely
c41e8a6aec chore: install hat-syslog 2026-04-27 19:10:21 -04:00
tcely
6853836b09 Merge pull request #1471 from meeb/tcely-install-scripts
Create `install_tailwindcss.sh`
2026-04-27 01:29:57 -04:00
tcely
6383801369 chore: incorporate verify_digest into download_asfald.func.inc.sh 2026-04-27 01:16:51 -04:00
tcely
265f805506 fix: verify both digests for deno 2026-04-25 00:34:36 -04:00
tcely
36396604b9 chore: unset prefixed variables 2026-04-25 00:34:31 -04:00
tcely
c96c1d7edd chore: reorder output 2026-04-25 00:34:28 -04:00