Commit Graph

5678 Commits

Author SHA1 Message Date
jokob-sk
c0f4fe9e12 DOCS+FE: authoritative fields + show devVlan
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-25 15:32:28 +11:00
jokob-sk
4619a13bcb LANG: weblate
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-25 15:12:48 +11:00
jokob-sk
2292f904b8 Merge branch 'main' of https://github.com/jokob-sk/NetAlertX 2026-01-25 12:44:15 +11:00
jokob-sk
ff206b8fc7 PLG: add online option only via PIHOLEAPI_GET_OFFLINE #1436
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-25 12:43:51 +11:00
Jokob @NetAlertX
a3062105fd Merge pull request #1456 from matt-shelley-IT/patch-1
Update INSTALLATION.md
2026-01-25 12:32:39 +11:00
jokob-sk
e61133c557 DOCS: reverse proxy
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-25 12:29:35 +11:00
matt-shelley-IT
f8f70141c8 Update INSTALLATION.md
spelling mistake for "searching"
2026-01-25 11:56:35 +11:00
jokob-sk
96e4909bf0 feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-25 11:40:29 +11:00
jokob-sk
27f7bfd129 Merge branch 'main' of https://github.com/jokob-sk/NetAlertX 2026-01-25 00:21:01 +11:00
Jokob @NetAlertX
3342427ec2 Merge pull request #1435 from netalertx/next_release
feat: Authoritative plugin fields
2026-01-25 00:20:36 +11:00
jokob-sk
4991b058d3 feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-25 00:20:06 +11:00
jokob-sk
8ea84a22e9 feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-25 00:04:06 +11:00
jokob-sk
899017fdd8 feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-24 23:37:51 +11:00
jokob-sk
abfe452996 feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-24 23:02:02 +11:00
jokob-sk
3775e21dc7 feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-24 22:20:30 +11:00
jokob-sk
2acc180fd5 feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-24 16:24:43 +11:00
jokob-sk
be381488aa feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-24 16:19:27 +11:00
Jokob @NetAlertX
9da1d2a456 Merge pull request #1451 from adamoutler/patch-12
Update Docker Compose capabilities for root-entrypoint
2026-01-23 14:37:23 +11:00
Adam Outler
44a7f15440 Update Docker Compose capabilities for root-entrypoint
Added necessary capabilities for root-entrypoint operations.
2026-01-22 22:08:36 -05:00
Jokob @NetAlertX
cafa36f627 feat: Enhance readonly input styles and improve device data handling 2026-01-22 09:57:48 +00:00
Jokob @NetAlertX
49e689f022 Refactor authoritative field handling and enhance device update logic
- Updated `get_source_for_field_update_with_value` to determine source values based on new field values, including handling for empty and unknown values.
- Introduced `get_overwrite_sql_clause` to build SQL conditions for authoritative overwrite checks based on plugin settings.
- Enhanced `update_devices_data_from_scan` to utilize new authoritative settings and conditions for updating device fields.
- Added new tests for source value determination and device creation to ensure proper handling of source fields.
- Created in-memory SQLite database fixtures for testing device creation and updates.
2026-01-22 04:33:49 +00:00
jokob-sk
422a048806 feat: authoritative plugin fields
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-22 11:17:46 +11:00
Jokob @NetAlertX
97bc220866 Merge pull request #1442 from adamoutler/patch-11
Refactor Dockerfile.debian for multi-stage build and hardening
2026-01-22 09:58:27 +11:00
Adam Outler
319731b664 Update Dockerfile.debian
Co-authored-by: Jokob @NetAlertX <96159884+jokob-sk@users.noreply.github.com>
2026-01-21 16:32:36 -05:00
Adam Outler
ea2c5184a9 Refactor Dockerfile for multi-stage build and hardening
Refactor Dockerfile to improve structure and security.
2026-01-21 13:09:58 -05:00
Jokob @NetAlertX
c843ea5575 feat: Add GitHub Actions workflow for docker-unsafe builds with dynamic versioning 2026-01-21 09:51:33 +00:00
Jokob @NetAlertX
3109b5d253 feat: Update plugin descriptions for authoritative column handling and overwrite conditions 2026-01-21 09:38:53 +00:00
Jokob @NetAlertX
fcbe4ae88a feat: Implement forced device status updates and enhance related tests 2026-01-21 09:21:55 +00:00
Jokob @NetAlertX
9f1d04bcd4 feat: Update plugin configurations to include additional SET_EMPTY options 2026-01-21 08:48:47 +00:00
Jokob @NetAlertX
54d01f0a65 feat: Enhance authoritative field handling with new locking mechanisms and update tests 2026-01-21 04:46:07 +00:00
Jokob @NetAlertX
97e684dba4 change 2026-01-21 02:01:05 +00:00
Jokob @NetAlertX
478b018fa5 feat: Enhance plugin configurations and improve MAC normalization 2026-01-21 01:58:52 +00:00
Jokob @NetAlertX
3ee21ac830 review fixes 2026-01-21 00:17:54 +00:00
Jokob @NetAlertX
22695a633c TEST: small test fixes 2026-01-19 11:35:47 +00:00
Jokob @NetAlertX
3b203536b8 ALL:Authoritative plugin fields 2026-01-19 11:28:37 +00:00
Jokob @NetAlertX
1e289e94e3 Merge pull request #1432 from netalertx/main
sync
2026-01-19 15:57:47 +11:00
jokob-sk
beb101bd2c png cleanup 2026-01-19 13:53:01 +11:00
jokob-sk
ecaacec9c9 Merge branch 'main' of https://github.com/jokob-sk/NetAlertX 2026-01-19 13:51:31 +11:00
Jokob @NetAlertX
3ee690d391 Merge pull request #1429 from adamoutler/mcp-swagger-rebase
feat(api): MCP, OpenAPI & Dynamic Introspection
2026-01-19 13:11:04 +11:00
Jokob @NetAlertX
ddebc2418f feat(api): allow all origins for CORS 2026-01-19 02:04:47 +00:00
Jokob @NetAlertX
6c2a843f9a descriptions cleanup 2026-01-19 01:44:07 +00:00
Adam Outler
bb0c0e1c74 Coderabbit fixes:
- Mac
- Flask debug
- Threaded flask
- propagate token in GET requests
- enhance spec docs
- normalize MAC x2
- mcp disablement redundant private attribute
- run all tests imports
2026-01-19 01:12:48 +00:00
Jokob @NetAlertX
866ce566d7 Merge pull request #1431 from adamoutler/patch-10
Enhance API_TOKEN retrieval instructions in tests
2026-01-19 08:08:46 +11:00
Jokob @NetAlertX
fd0037e66b Merge pull request #1427 from adamoutler/crash-fixes
speed up devcontainer remove extension
2026-01-19 08:07:29 +11:00
Adam Outler
640bbd95c1 Enhance API_TOKEN retrieval instructions in tests
Updated instructions for retrieving API_TOKEN in tests.
2026-01-18 16:02:48 -05:00
jokob-sk
5e46e7889f DOCS: updates
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-19 07:39:26 +11:00
Adam Outler
ecea1d1fbd feat(api): MCP, OpenAPI & Dynamic Introspection
New Features:
- API endpoints now support comprehensive input validation with detailed error responses via Pydantic models.
- OpenAPI specification endpoint (/openapi.json) and interactive Swagger UI documentation (/docs) now available for API discovery.
- Enhanced MCP session lifecycle management with create, retrieve, and delete operations.
- Network diagnostic tools: traceroute, nslookup, NMAP scanning, and network topology viewing exposed via API.
- Device search, filtering by status (including 'offline'), and bulk operations (copy, delete, update).
- Wake-on-LAN functionality for remote device management.
- Added dynamic tool disablement and status reporting.

Bug Fixes:
- Fixed get_tools_status in registry to correctly return boolean values instead of None for enabled tools.
- Improved error handling for invalid API inputs with standardized validation responses.
- Fixed OPTIONS request handling for cross-origin requests.

Refactoring:
- Significant refactoring of api_server_start.py to use decorator-based validation (@validate_request).
2026-01-18 18:16:18 +00:00
Adam Outler
100e67156e Remove buggy pytest extension 2026-01-18 15:13:30 +00:00
Hosted Weblate
cea3369b5e Merge branch 'origin/main' into Weblate. 2026-01-18 11:02:24 +00:00
mid
284260d5f3 Translated using Weblate (Japanese)
Currently translated at 100.0% (766 of 766 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/ja/
2026-01-18 12:01:55 +01:00