Adam Outler
2bf3ff9f00
Add MCP server
2025-11-28 17:03:18 +00:00
jokob-sk
e90fbf17d3
DOCS: Network parent
...
Code checks / check-url-paths (push) Has been cancelled
Code checks / lint (push) Has been cancelled
Code checks / docker-tests (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-11-25 08:16:39 +11:00
jokob-sk
139447b253
BE: mylog() better code radability
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-25 07:54:17 +11:00
Jokob @NetAlertX
fa9fc2c8e3
Merge pull request #1304 from adamoutler/hadolint-fixes
...
Code checks / check-url-paths (push) Has been cancelled
Code checks / lint (push) Has been cancelled
Code checks / docker-tests (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Fix Hadolint Linting Issues Across Dockerfiles
2025-11-24 17:28:50 +11:00
Adam Outler
30071c6848
Merge branch 'main' into hadolint-fixes
2025-11-23 19:25:45 -05:00
Adam Outler
b0bd3c8191
fix hadolint errors
2025-11-24 00:20:42 +00:00
Jokob @NetAlertX
c753da9e15
Merge pull request #1303 from adamoutler/shell-check-fixes
...
Code checks / check-url-paths (push) Has been cancelled
Code checks / lint (push) Has been cancelled
Code checks / docker-tests (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
ShellCheck Lint: Fix All Reported Issues in Service Scripts
2025-11-24 10:24:54 +11:00
Adam Outler
4770ee5942
undo previous change for unwritable
2025-11-23 23:19:12 +00:00
Adam Outler
5cd53bc8f9
Storage permission fix
2025-11-23 22:58:45 +00:00
Adam Outler
5e47ccc9ef
Shell Check fixes
2025-11-23 22:13:01 +00:00
Jokob @NetAlertX
f5d7c0f9a0
Merge pull request #1302 from adamoutler/supercronic
...
Replace crond with Supercronic, improve cron logging & backend restart behavior
2025-11-24 07:29:50 +11:00
Adam Outler
35b7e80be4
Remove additional "tests" from instructions.
2025-11-23 16:43:28 +00:00
Adam Outler
07eeac0a0b
remove redefined variable
2025-11-23 16:38:03 +00:00
Adam Outler
240d86bf1e
docker tests
2025-11-23 16:31:04 +00:00
Adam Outler
274fd50a92
Adjust healthchecks and fix docker test scripts
2025-11-23 15:56:42 +00:00
Adam Outler
bbf49c3686
Don't kill container on backend restart commanded
2025-11-23 01:27:51 +00:00
Adam Outler
e3458630ba
Convert from crond to supercronic
2025-11-23 01:14:21 +00:00
Jokob @NetAlertX
2f6f1e49e9
Merge pull request #1300 from jokob-sk/linting-fixes
...
Code checks / docker-tests (push) Has been cancelled
Code checks / check-url-paths (push) Has been cancelled
Code checks / lint (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
BE: linting fixes
2025-11-22 21:55:54 +11:00
Jokob @NetAlertX
4f5a40ffce
lint and test fixes
2025-11-22 10:52:12 +00:00
jokob-sk
f5aea55b29
BE: linting fixes 5
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-22 21:30:12 +11:00
jokob-sk
e3e7e2f52e
BE: linting fixes 4
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-22 21:20:46 +11:00
jokob-sk
872ac1ce0f
BE: linting fixes 3
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-22 21:06:03 +11:00
jokob-sk
ebeb7a07af
BE: linting fixes 2
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-22 20:43:36 +11:00
jokob-sk
5c14b34a8b
BE: linting fixes
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-22 13:14:06 +11:00
jokob-sk
f0abd500d9
BE: test fixes
...
Code checks / check-url-paths (push) Has been cancelled
Code checks / lint (push) Has been cancelled
Code checks / docker-tests (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-11-21 05:54:19 +11:00
jokob-sk
8503cb86f1
BE: test fixes
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-21 05:43:30 +11:00
jokob-sk
5f0b670a82
LNG: weblate add Japanese
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-21 05:28:43 +11:00
jokob-sk
9df814e351
BE: github action better code check
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-20 17:47:25 +11:00
jokob-sk
88509ce8c2
PLG: NMAPDEV better FAKE_MAC description
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-20 17:47:00 +11:00
Jokob @NetAlertX
995c371f48
Merge pull request #1299 from adamoutler/main
...
Code checks / check-url-paths (push) Has been cancelled
Code checks / lint (push) Has been cancelled
Code checks / docker-tests (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
feat: docker-based testing
2025-11-20 17:40:10 +11:00
Adam Outler
aee5e04b9f
fix(ci): Correct quoting in code_checks workflow (again)
2025-11-20 05:01:08 +01:00
Adam Outler
e0c96052bb
fix(ci): Correct quoting in code_checks workflow
2025-11-20 04:37:35 +01:00
Adam Outler
fd5235dd0a
CI Checks
...
Uses the new run_docker_tests.sh script which is self-contained and handles all dependencies and test execution within a Docker container. This ensures that the CI environment is consistent with the local devcontainer environment.
Fixes an issue where the job name 'test' was considered invalid. Renamed to 'docker-tests'.
Ensures that tests marked as 'feature_complete' are also excluded from the test run.
2025-11-20 04:34:59 +01:00
Adam Outler
f3de66a287
feat: Add run_docker_tests.sh for CI/CD and local testing
...
Introduces a comprehensive script to build, run, and test NetAlertX within a Dockerized devcontainer environment, replicating the setup defined in . This script ensures consistency for CI/CD pipelines and local development.
The script addresses several environmental challenges:
- Properly builds the Docker image.
- Starts the container with necessary capabilities and host-gateway.
- Installs Python test dependencies (, , ) into the virtual environment.
- Executes the script to initialize services.
- Implements a healthcheck loop to wait for services to become fully operational before running tests.
- Configures to use a writable cache directory () to avoid permission issues.
- Includes a workaround to insert a dummy 'internet' device into the database, resolving a flakiness in caused by its reliance on unpredictable database state without altering any project code.
This script ensures a green test suite, making it suitable for automated testing in environments like GitHub Actions.
2025-11-20 04:19:30 +01:00
Jokob @NetAlertX
9a4fb35ea5
Refine labels and descriptions in issue template
...
Code checks / check-url-paths (push) Has been cancelled
Code checks / lint (push) Has been cancelled
Code checks / test (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Updated labels and descriptions for issue template fields to improve clarity and formatting.
2025-11-18 13:59:34 +11:00
Jokob @NetAlertX
a1ad904042
Enhance issue template with Docker logs instructions
...
Added instructions for pasting Docker logs in the issue template.
2025-11-18 13:54:59 +11:00
Jokob @NetAlertX
81ff1da756
Merge pull request #1289 from adamoutler/more-code-checks
...
Improve CI code checks (URL path, Python syntax, linting, tests)
2025-11-18 13:43:07 +11:00
Jokob @NetAlertX
85c9b0b99b
Merge pull request #1296 from adamoutler/patch-6
...
Update Docker Compose documentation for volume usage
2025-11-18 13:42:27 +11:00
Adam Outler
4ccac66a73
Update Docker Compose documentation for volume usage
...
Clarified the preferred volume layout for NetAlertX and explained the bind mount alternative.
2025-11-17 18:31:37 -05:00
Jokob @NetAlertX
c7b9fdaff2
Merge pull request #1291 from adamoutler/test-fixes
...
Test fixes
2025-11-18 09:47:21 +11:00
Jokob @NetAlertX
c7dcc20a1d
Merge pull request #1295 from adamoutler/main
...
Add VERSION file creation
2025-11-18 09:46:39 +11:00
Adam Outler
bb365a5e81
UID 20212 for read only before definition.
2025-11-17 20:57:18 +00:00
Adam Outler
e2633d0251
Update from docker v3 to v6
2025-11-17 20:54:18 +00:00
Adam Outler
09c40e76b2
No git in Dockerfile generation.
2025-11-17 20:47:11 +00:00
Adam Outler
abc3e71440
Remove redundant chown; read only version.
2025-11-17 20:45:52 +00:00
Adam Outler
d13596c35c
Coderabbit suggestion
2025-11-17 20:27:27 +00:00
Adam Outler
7d5dcf061c
Add VERSION file creation
2025-11-17 15:18:41 -05:00
Adam Outler
6206e483a9
Remove files that shouldn't be in PR: db.php, cron files
2025-11-17 02:57:42 +00:00
Adam Outler
f1ecc61de3
Tests Passing
2025-11-17 02:45:42 +00:00
Jokob @NetAlertX
92a6a3a916
Merge pull request #1290 from adamoutler/get-version-out-of-commits
...
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
Add .VERSION to gitignore
2025-11-17 13:35:24 +11:00