jokob-sk
5f772b3e0f
docs
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
v25.10.1
2025-09-29 13:11:58 +10:00
Adam Outler
dc4848acd0
Information on default config and entrypoints for debug
2025-09-28 21:59:06 -04:00
jokob-sk
7015ba2f86
LOADED_PLUGINS not processed #1195
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-29 08:04:53 +10:00
Adam Outler
c6efe5ac06
All services moved to deployed filesystem
2025-09-28 17:10:15 -04:00
Jokob @NetAlertX
8485f6fe48
Merge pull request #1205 from ingoratsdorf/mqtt-optimisations
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Mqtt optimisations and TZ fixes
2025-09-28 20:22:50 +10:00
Ingo Ratsdorf
e3327d8718
adding CodeRabbit suggestion plus disconnect()
2025-09-28 19:08:38 +13:00
Ingo Ratsdorf
af986aa540
Fixes timezone issue in publishing
...
Ref: Issue https://github.com/jokob-sk/NetAlertX/issues/1204
2025-09-28 17:29:21 +13:00
Ingo Ratsdorf
06c38322ed
tweaks
2025-09-28 16:09:21 +13:00
Ingo Ratsdorf
3ece89379f
Merge branch 'jokob-sk:main' into mqtt-optimisations
2025-09-28 15:33:43 +13:00
Adam Outler
d182a552b8
Move filesystem to more generic name & add perms
2025-09-27 21:58:00 -04:00
Adam Outler
b47df7b33f
capcheck
2025-09-27 19:48:36 -04:00
Adam Outler
46097bb6e8
solid hardened config
2025-09-27 19:15:07 -04:00
Adam Outler
c5d7480e6c
Merge branch 'jokob-sk:main' into hardening
2025-09-27 09:00:46 -04:00
Jokob @NetAlertX
d9fedddae2
Merge pull request #1203 from ingoratsdorf/pluginloader-fix
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Make plugin loader more robust
2025-09-27 16:26:30 +10:00
Jokob @NetAlertX
1fc015fe2d
Merge pull request #1202 from ingoratsdorf/scheduler-fix
...
make scheduler setup more robust against wrong scheduling
2025-09-27 16:24:24 +10:00
Ingo Ratsdorf
5395524511
Make plugin loader more robust
...
Against stray folders, leftover artefacts and missing configs
2025-09-27 17:20:34 +12:00
Ingo Ratsdorf
4fef4a7dd4
make scheduler setup more robust against wrong scheduling
...
is the schedule input is incorrect, an error message is logged and the plugin will NOT run.
Creating a dummy schedule would throw the system out of balance as there's the danger of schedules running out of sync.
2025-09-27 16:52:50 +12:00
Jokob @NetAlertX
2c8fa55edb
Merge pull request #1201 from ingoratsdorf/ubuntu24-rewrite
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Ubuntu 24 Installer rewrite
2025-09-27 12:16:51 +10:00
Ingo Ratsdorf
246777a290
Ubuntu 24 Installer rewrite
...
`setup.sh` and `start.sh` combined into a single script
netalertx now starts and runs via systemd unit, can be started, stopped and restarted
`systemctl start netalertx`
`systemctl stop netalertx`
`systemctl status netalertx`
etc
Logs to `journalctl` and output can be followed with `journalctl -f`
Amalgamated chmods
tuned chmods based on earlier feedback and discussion
install script accepts command line parameter:
- 'install' to continue and DELETE ALL!
- 'update' to just update from GIT (keeps your db and settings)
- 'start' to do nothing, leave install as-is (just run the start script, set up services etc)
Please have a look, comments welcome :-)
2025-09-27 13:18:43 +12:00
Adam Outler
2def3f1dac
Validated launch on runner & hardend
2025-09-26 21:01:58 -04:00
Adam Outler
2419a268b2
updated devcontainer dockerfile
2025-09-26 17:52:17 +00:00
Adam Outler
bad67b2e69
fix dockerfile error
2025-09-26 17:52:11 +00:00
Adam Outler
178fb54bb4
Python up and debuggable
2025-09-26 17:32:58 +00:00
Adam Outler
b0a6f889aa
Update gitignore
2025-09-26 17:14:20 +00:00
Adam Outler
798d2462d6
expand initial filesystem
2025-09-26 11:56:27 +00:00
Adam Outler
c228d45cea
Devcontainer operational, services all down
2025-09-25 23:03:55 +00:00
Adam Outler
dfcc375fba
Non-root launch
2025-09-25 14:10:06 -04:00
Adam Outler
8ed21a8c07
monolithic alpine container
2025-09-25 07:43:42 -04:00
Ingo Ratsdorf
1823a8139b
Merge branch 'jokob-sk:main' into mqtt-optimisations
2025-09-25 19:43:09 +12:00
Adam Outler
2e694a752d
using 4 startup scripts instead of RC6
2025-09-24 19:46:11 -04:00
Adam Outler
29aa884836
architectural change 1
2025-09-24 16:29:15 -04:00
Jokob @NetAlertX
3dd5c4bfcc
Merge pull request #1194 from adamoutler/patch-3
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Rework Logging in restart-backend.sh
2025-09-24 15:46:26 +10:00
Adam Outler
d843fd4443
Apply suggestion from @coderabbitai[bot]
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-23 12:00:59 -04:00
Adam Outler
9dda02d430
Modify restart script to overwrite log files
2025-09-23 11:59:52 -04:00
Adam Outler
47f23fcc4f
Rework Logging in restart-backend.sh
...
The stdout and stderr are useful logs when debugging and trying to figure out why plugin output is causing backend to stop and exception. This commit enables output redirection to `/app/stdout.log` and `/app/stderr.log` from the backend. This may need backporting to production as it appears the fields are unused in the backend.
Additionally, when searching logs in the UI, the old logs appear first and your search results will invariably find old information when searching with ctrl-f-"string"-enter. So upon backend start and to keep them relevant, the stdout, stderr, and app logs are cleared.
2025-09-22 21:55:55 -04:00
Ingo Ratsdorf
75ef310e9b
Merge branch 'jokob-sk:main' into mqtt-optimisations
2025-09-22 12:28:41 +12:00
Jokob @NetAlertX
b78758976e
Merge pull request #1191 from adamoutler/main
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Improve I/O performance with ramdisks
2025-09-22 10:05:50 +10:00
Jokob @NetAlertX
6a17edc694
Merge pull request #1192 from adamoutler/patch-2
...
Document standard plugin formats and logging practices
2025-09-22 10:03:06 +10:00
Adam Outler
e88374e246
Document standard plugin formats and logging practices
...
Added standard plugin formats and logging guidelines for AI assistants.
2025-09-21 17:40:09 -04:00
Adam Outler
2c940b3422
Speed up devcontainer with ramdisk
2025-09-21 21:17:14 +00:00
Jokob @NetAlertX
739cc0e639
Merge pull request #1190 from adamoutler/patch-1
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Fix log directory setup in setup.sh
2025-09-21 20:05:40 +10:00
Adam Outler
a7fa58151a
Fix log directory setup in setup.sh
2025-09-21 05:54:30 -04:00
jokob-sk
a6df61e22c
integration tests cleanup
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-21 16:20:38 +10:00
jokob-sk
a981c9eec1
integration tests cleanup
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-21 16:17:20 +10:00
Jokob @NetAlertX
c62b9c5848
Merge pull request #1182 from PreistlyPython/fix-sql-injection-1179
...
Security: Fix SQL injection vulnerabilities (Issue #1179 )
2025-09-21 13:13:10 +10:00
Claude Code
be5931f439
test: add comprehensive integration testing suite
...
completed all maintainer-requested verification:
- fresh install compatibility ✅
- existing db/config compatibility ✅
- notification testing (email, apprise, webhook, mqtt) ✅
- settings persistence ✅
- device operations ✅
- plugin functionality ✅
- error handling and logging ✅
- performance impact measurement ✅
- sql injection prevention validation ✅
- backward compatibility ✅
100% success rate across all 10 test scenarios.
performance: 0.141ms avg execution time.
security: all injection patterns blocked.
ready for production deployment.
2025-09-20 20:10:16 -07:00
Jokob @NetAlertX
b1b6ce3c5c
Merge pull request #1189 from adamoutler/patch-5
...
Missed commit for devcontainer setup
2025-09-21 12:44:51 +10:00
Adam Outler
25d739fc67
Missed commit for devcontainer setup
2025-09-20 22:40:56 -04:00
jokob-sk
f83a909a94
devcontainer docs
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-21 10:42:35 +10:00
jokob-sk
4ed1b6e8e6
devcontainer docs
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-09-21 10:41:06 +10:00