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
Adam Outler
8a89f3b340
Remove VERSION file from repo and generate dynamic
2025-11-17 02:18:00 +00:00
Adam Outler
a93e87493f
Update Python setup action to version 5
2025-11-16 20:33:53 -05:00
Adam Outler
c7032bceba
Upgrade Python setup action and dependencies
...
Updated Python setup action to version 5 and specified Python version 3.11. Also modified dependencies installation to include pyyaml.
2025-11-16 20:32:08 -05:00
Adam Outler
0cd7528284
Fix cron restart
2025-11-17 00:20:08 +00:00
Adam Outler
2309b8eb3f
Add linting and testing steps to workflow
2025-11-16 18:58:20 -05:00
jokob-sk
dbd1bdabc2
PLG: NMAP make param handling more robust #1288
...
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-11-16 10:16:23 +11:00
jokob-sk
093d595fc5
DOCS: path cleanup, TZ removal
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-16 09:26:18 +11:00
jokob-sk
c38758d61a
PLG: PIHOLEAPI skipping invalid macs #1282
...
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-11-15 13:48:18 +11:00
jokob-sk
6034b12af6
FE: better isBase64 check
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-15 13:36:50 +11:00
jokob-sk
972654dc78
PLG: PIHOLEAPI #1282
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-15 13:36:22 +11:00
jokob-sk
ec417b0dac
BE: REMOVAL dev workflow
...
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-11-14 22:33:42 +11:00
jokob-sk
2e9352dc12
BE: dev workflow
...
Signed-off-by: jokob-sk <jokob.sk@gmail.com >
2025-11-14 22:29:32 +11:00
Jokob @NetAlertX
566b263d0a
Run Unit tests in GitHub workflows
2025-11-14 11:22:58 +00:00
Jokob @NetAlertX
61b42b4fea
BE: Fixed or removed failing tests - can be re-added later
2025-11-14 11:18:56 +00:00
Jokob @NetAlertX
a45de018fb
BE: Test fixes
2025-11-14 10:46:35 +00:00
Jokob @NetAlertX
bfe6987867
BE: before_name_updates change #1251
2025-11-14 10:07:47 +00:00
jokob-sk
b6567ab5fc
BE: NEWDEV setting to disable IP match for names
...
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-11-13 20:22:34 +11:00
jokob-sk
f71c2fbe94
Merge branch 'main' of https://github.com/jokob-sk/NetAlertX
2025-11-13 18:29:22 +11:00
Jokob @NetAlertX
aeb03f50ba
Merge pull request #1287 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
Add missing .VERSION file
2025-11-13 13:26:49 +11:00
Adam Outler
734db423ee
Add missing .VERSION file
2025-11-13 00:35:06 +00:00
Jokob @NetAlertX
4f47dbfe14
Merge pull request #1286 from adamoutler/port-fixes
...
Fix: Fix for ports
2025-11-13 08:23:46 +11:00
Adam Outler
d23bf45310
Merge branch 'jokob-sk:main' into port-fixes
2025-11-12 15:02:36 -05:00
Adam Outler
9c366881f1
Fix for ports
2025-11-12 12:02:31 +00:00