Commit Graph

5659 Commits

Author SHA1 Message Date
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
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
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 @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
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
ود علم الهدي
12d69d50b1 Translated using Weblate (Arabic)
Currently translated at 90.0% (690 of 766 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/ar/
2026-01-18 12:01:51 +01:00
Jokob @NetAlertX
b49adaf717 Merge pull request #1423 from adamoutler/main
php xdebug log location
2026-01-18 12:44:18 +11:00
Adam Outler
f8f1d6ef76 fix log location for xdebug 2026-01-18 00:49:17 +00:00
Jokob @NetAlertX
45a78dc426 Merge pull request #1422 from adamoutler/github-testing-fixes
Add system pytest and use it instead
2026-01-18 10:36:05 +11:00
Adam Outler
5146d405a7 Add system pytest and use it instead 2026-01-17 23:30:13 +00:00
jokob-sk
61c2cc6c3a Merge branch 'main' of https://github.com/jokob-sk/NetAlertX 2026-01-18 10:16:59 +11:00
jokob-sk
d0279585ef BE: lint
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 10:16:35 +11:00
Jokob @NetAlertX
6bc2f34351 Merge pull request #1421 from adamoutler/random-ai-help
coderabbit parser and gemini instructions
2026-01-18 10:10:07 +11:00
jokob-sk
52ada3f6d5 BE: VERSION_PREV removal
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 10:08:49 +11:00
Adam Outler
4b69226f89 coderabbit parser and gemini instructions 2026-01-17 23:01:21 +00:00
jokob-sk
afe276e7bb GIT: workflows - no log in for PRs
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 09:48:16 +11:00
jokob-sk
313de80c8f DOCS: update CAPS across docs
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 09:42:05 +11:00
jokob-sk
9d377d7527 GIT: workflows - ensure old images
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 09:22:14 +11:00
jokob-sk
30247c9df0 DOCS: reverse proxy clean up
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 09:04:30 +11:00
jokob-sk
6919fdc522 DOCS: reverse proxy clean up
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 09:01:57 +11:00
jokob-sk
e56dd4e4cb FE: ad-hoc Settings events execution work #1419
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 08:31:57 +11:00
jokob-sk
c45af09fd7 DOCS: v25.11.29 migration
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 08:05:26 +11:00
jokob-sk
0035834c54 GIT+DOCS: workflows - ensure old images + v25.11.29 migration
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-18 08:01:09 +11:00
jokob-sk
8a2c48931b GIT: workflows - ensure old images
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-17 17:11:01 +11:00