Commit Graph
100 Commits
Author SHA1 Message Date
Jokob @NetAlertX da8b694a49 Update API documentation and schemas: clarify lock/unlock behavior for device fields and enhance error handling in device alias update 2026-04-08 22:38:43 +00:00
Jokob @NetAlertX 28e6d62ccb Update Device API documentation: clarify full-replace and partial-update semantics for device fields #1597 2026-04-08 22:34:08 +00:00
Jokob @NetAlertX b530a6e635 Enhance API documentation and schemas: add new device field locking/unlocking endpoints and expand allowed column names for updates #1598 2026-04-08 21:57:58 +00:00
Jokob @NetAlertX bda8ca3bd8 Fix timezone resolution in format_date_iso: handle specific exceptions for invalid configurations
🐳 ⚠ docker-unsafe from next_release branch / docker_dev_unsafe (push) Has been cancelled
2026-04-05 22:55:02 +00:00
Jokob @NetAlertX 2b3d9549dc Fix timezone handling in format_date_iso: ensure fallback to UTC for invalid configurations 2026-04-05 22:48:44 +00:00
Jokob @NetAlertX 36e606e1a1 Refactor MQTT plugin: replace prepTimeStamp with format_date_iso for timestamp formatting and add regression tests for format_date_iso function Events have wrong time in HA
🐳 ⚠ docker-unsafe from next_release branch / docker_dev_unsafe (push) Has been cancelled
Fixes #1587
2026-04-04 23:04:58 +00:00
Jokob @NetAlertX 0acc94ac28 Merge pull request #1588 from netalertx/main
sync
2026-04-05 08:51:06 +10:00
Jokob @NetAlertX a8131a6d69 Merge pull request #1585 from sebingel/fix/ordeable-typo-refactoring
✅ 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 dev / docker_dev (push) Has been cancelled
📘 Deploy MkDocs / deploy (push) Has been cancelled
Fix elementOptions: rename typo 'ordeable' to 'orderable'
2026-04-04 08:12:04 +11:00
Jokob @NetAlertX 9f3dbe2de1 Merge pull request #1583 from netalertx/next_release
✅ 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 dev / docker_dev (push) Has been cancelled
📘 Deploy MkDocs / deploy (push) Has been cancelled
feat(docs): Update coding standards to clarify database storage guide…
2026-04-03 13:02:09 +11:00
Jokob @NetAlertX 4f2fa86a49 feat(docs): Update coding standards to clarify database storage guidelines
🐳 ⚠ docker-unsafe from next_release branch / docker_dev_unsafe (push) Has been cancelled
2026-04-03 01:56:42 +00:00
Jokob @NetAlertX 4c7ea21bd8 Merge pull request #1582 from navnitan-7/fix/cve-2015-9251-jquery-ajax
📘 Deploy MkDocs / deploy (push) Has been cancelled
✅ 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 dev / docker_dev (push) Has been cancelled
Potential Vulnerability in Cloned Code
2026-04-02 07:42:51 +11:00
Jokob @NetAlertX d17256cff6 Merge pull request #1581 from netalertx/next_release
📘 Deploy MkDocs / deploy (push) Has been cancelled
✅ 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 dev / docker_dev (push) Has been cancelled
feat(plugins): Implement /plugins/stats endpoint for per-plugin row c…
2026-03-28 08:59:47 +11:00
Jokob @NetAlertX 3f80d2e57f feat(plugins): Implement /plugins/stats endpoint for per-plugin row counts with optional foreignKey filtering
🐳 ⚠ docker-unsafe from next_release branch / docker_dev_unsafe (push) Has been cancelled
2026-03-27 21:35:41 +00:00
Jokob @NetAlertX 82dafbb188 Merge pull request #1580 from netalertx/next_release
feat(plugins): Optimize plugin badge fetching and rendering to preven…
2026-03-27 22:02:03 +11:00
Jokob @NetAlertX b18cf98266 feat(plugins): Enhance plugin counts handling with fail-open support and improved comments 2026-03-27 10:59:22 +00:00
Jokob @NetAlertX 77369c3ce8 feat(plugins): Optimize plugin badge fetching and rendering to prevent flicker and enhance visibility 2026-03-27 10:41:18 +00:00
Jokob @NetAlertX 49b72acd82 Merge pull request #1579 from netalertx/next_release
feat(plugins): Refactor auto-hide functionality to leverage Bootstrap…
2026-03-27 21:16:38 +11:00
Jokob @NetAlertX cd0a3f6de0 feat(plugins): Refactor auto-hide functionality to leverage Bootstrap's tab management for improved visibility handling 2026-03-27 10:12:12 +00:00
Jokob @NetAlertX adc78e6a2d Merge pull request #1578 from netalertx/next_release
feat(plugins): Implement auto-hide functionality for empty plugin tabs
2026-03-27 21:03:37 +11:00
Jokob @NetAlertX 13e91731be feat(plugins): Improve auto-hide functionality for empty plugin tabs by ensuring proper visibility handling and Bootstrap integration 2026-03-27 09:49:21 +00:00
Jokob @NetAlertX 7ef19b1c12 feat(plugins): Implement auto-hide functionality for empty plugin tabs 2026-03-27 09:26:25 +00:00
Jokob @NetAlertX 448e17ce45 Merge pull request #1577 from netalertx/next_release
feat(plugins): Optimize badge fetching by using lightweight JSON inst…
2026-03-27 19:33:55 +11:00
Jokob @NetAlertX 4daead1f8f feat(plugins): Enhance badge fetching with conditional JSON and GraphQL support 2026-03-27 08:08:44 +00:00
Jokob @NetAlertX 48454f6f2f feat(plugins): Optimize badge fetching by using lightweight JSON instead of GraphQL 2026-03-27 07:30:13 +00:00
Jokob @NetAlertX 9b71662eda Merge pull request #1576 from netalertx/next_release
feat(api): Enhance session events, plugin objects API with pagination, sorting, and filtering
2026-03-27 17:54:10 +11:00
Jokob @NetAlertX 7305fd78e3 fix(pagination): Ensure page number is always at least 1 in apply_common_pagination 2026-03-27 06:51:17 +00:00
Jokob @NetAlertX ec3e4c8988 feat(api): Enhance session events API with pagination, sorting, and filtering
- Added support for pagination (page and limit) in the session events endpoint.
- Implemented sorting functionality based on specified columns and directions.
- Introduced free-text search capability for session events.
- Updated SQL queries to retrieve all events and added a new SQL constant for events.
- Refactored GraphQL types and helpers to support new plugin and event queries.
- Created new GraphQL resolvers for plugins and events with pagination and filtering.
- Added comprehensive tests for new GraphQL endpoints and session events functionality.
2026-03-26 20:57:10 +00:00
Jokob @NetAlertX 54a249f043 Merge pull request #1575 from KayJay7/main
FREEBOX plugin version 2
2026-03-27 07:07:20 +11:00
Jokob @NetAlertX 770ec9c447 Merge pull request #1574 from netalertx/next_release
DOCS: pin mkdocs version
2026-03-25 06:37:30 +11:00
Jokob @NetAlertX 30e363354b Merge pull request #1572 from netalertx/next_release
BE: lazy SQL execution caused devIsSleeping to be missing and tiles n…
2026-03-23 10:03:53 +11:00
Jokob @NetAlertX 8e72386a39 Merge pull request #1560 from netalertx/next_release
Next release
2026-03-22 08:43:21 +11:00
Jokob @NetAlertX 7278ee8cfa Refactor getTotals method to clarify API contract and ensure stable response structure #1569 #1561 2026-03-21 21:28:42 +00:00
Jokob @NetAlertX fa22523a0b Refactor device tiles SQL logic to use get_sql_devices_tiles function for improved maintainability Feature Request - Flapping and Sleeping nuances
Fixes #1567
2026-03-21 21:10:37 +00:00
Jokob @NetAlertX 7569923481 Refactor column name replacements to include variations for ObjectPrimaryID and ObjectSecondaryID 2026-03-21 20:55:24 +00:00
Jokob @NetAlertX d7c7bd2cd2 Enhance SQL templates to prevent duplicate notifications for 'Down Reconnected' devices in event section 2026-03-18 09:57:20 +00:00
Jokob @NetAlertX b311113575 Fix Spanish translations and improve HTML attributes in config files and report 2026-03-17 11:58:53 +00:00
Jokob @NetAlertX 43984132c4 Fix Spanish translations in config.json files for internet_speedtest, nmap_scan, and snmp_discovery plugins 2026-03-17 09:46:27 +00:00
Jokob @NetAlertX 0a7ecb5b7c Update config.json files to add 'ordeable' option and refactor cacheStrings function for consistency 2026-03-17 09:22:25 +00:00
Jokob @NetAlertX c7399215ec Refactor event and session column names to camelCase
- Updated test cases to reflect new column names (eve_MAC -> eveMac, eve_DateTime -> eveDateTime, etc.) across various test files.
- Modified SQL table definitions in the database cleanup and migration tests to use camelCase naming conventions.
- Implemented migration tests to ensure legacy column names are correctly renamed to camelCase equivalents.
- Ensured that existing data is preserved during the migration process and that views referencing old column names are dropped before renaming.
- Verified that the migration function is idempotent, allowing for safe re-execution without data loss.
2026-03-16 10:11:22 +00:00
Jokob @NetAlertX 0bb6db155b Merge branch 'next_release' of https://github.com/netalertx/NetAlertX into next_release 2026-03-15 01:42:23 +00:00
Jokob @NetAlertX 7221b4ba96 Keep all local changes while resolving conflicts 2026-03-15 01:19:34 +00:00
Jokob @NetAlertX c4904739b2 Merge pull request #1559 from netalertx/main
sync
2026-03-15 12:15:19 +11:00
Jokob @NetAlertX 67cab9d606 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-14 23:27:45 +00:00
Jokob @NetAlertX f75c53fc5d Implement notification text templates and update related settings for customizable notifications 2026-03-14 23:27:29 +00:00
Jokob @NetAlertX bff87f4d61 Merge pull request #1552 from MrMeatikins/fix-arp-flux-docs-issue-1546
docs: Clarify ARP flux sysctl limitations with host networking
2026-03-14 09:05:44 +11:00
Jokob @NetAlertX 6f7d2c3253 Rename db_count to dbCount in GraphQL response handling for consistency 2026-03-13 13:17:30 +00:00
Jokob @NetAlertX c9cb1f3fba Add db_count to DeviceResult and update GraphQL response handling; localize Device_NoMatch_Title in multiple languages 2026-03-13 13:08:26 +00:00
Jokob @NetAlertX 78a8030c6a Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-13 12:52:27 +00:00
Jokob @NetAlertX b5b0bcc766 work on stale cache #1554 2026-03-13 12:52:22 +00:00
Jokob @NetAlertX 2771a6e9c2 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-08 07:58:00 +00:00
Jokob @NetAlertX aba1ddd3df Handle JSON decoding errors in _get_data function 2026-03-08 07:57:52 +00:00
Jokob @NetAlertX d49abd9d02 Enhance code standards, update contributing guidelines, and add tests for SYNC plugin functionality 2026-03-07 21:34:38 +00:00
Jokob @NetAlertX abf024d4d3 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-06 22:34:25 +00:00
Jokob @NetAlertX 4eb5947ceb Update language folder path to include all language definitions 2026-03-06 22:34:19 +00:00
Jokob @NetAlertX f8c09d35a7 Enhance scan ETA display logic to reload data for newly discovered devices after scanning finishes 2026-03-05 20:24:57 +00:00
Jokob @NetAlertX 89811cd133 Merge pull request #1544 from adamoutler/built-in-tests
Improve built-in test used during system startup - thanks @adamoutler 🙏
2026-03-05 06:48:46 +11:00
Jokob @NetAlertX c73ce839f2 Refactor ensure_future_datetime to simplify logic and remove max_retries parameter 2026-03-04 03:07:37 +00:00
Jokob @NetAlertX ba26f34191 Enhance device section UI with collapsible filters and default collapse on mobile 2026-03-03 21:40:19 +00:00
Jokob @NetAlertX 37f8a44cb3 Update devIpLong field to String and handle empty string coercion for Int fields in devices data 2026-03-03 21:25:09 +00:00
Jokob @NetAlertX 76a259d9e5 Fix DataTable redraw logic and update empty message handling 2026-03-03 21:20:22 +00:00
Jokob @NetAlertX 1923a063f0 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-03 12:33:08 +00:00
Jokob @NetAlertX 01b6b9f04a whitespace 2026-03-03 12:32:07 +00:00
Jokob @NetAlertX ea77112315 next scan dsiplay DRY 2026-03-03 12:31:50 +00:00
Jokob @NetAlertX c533c2267c Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-03 06:37:44 +00:00
Jokob @NetAlertX ac407bd86e Update next scan message for clarity in device management 2026-03-03 06:37:37 +00:00
Jokob @NetAlertX da4d8a9675 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-03 06:36:36 +00:00
Jokob @NetAlertX 0f20fb38f0 Enhance scanning state handling and localization updates across multiple language files 2026-03-03 06:36:31 +00:00
Jokob @NetAlertX 2a4e6ba5e1 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-03 06:10:41 +00:00
Jokob @NetAlertX 5be7bbe07d Enhance scan ETA display with current scanning state and add localization for 'Scanning...' message 2026-03-03 06:09:56 +00:00
Jokob @NetAlertX ab74307ed1 Add next scan ETA display and update app state with scan timing information 2026-03-03 04:07:22 +00:00
Jokob @NetAlertX bc4f419927 Enhance device MAC address handling in tests to ensure lowercase normalization and skip tests when web protection is disabled 2026-03-02 10:42:36 +00:00
Jokob @NetAlertX 3a73817048 Enhance device down event handling for sleeping devices and improve down alerts query 2026-03-02 10:05:37 +00:00
Jokob @NetAlertX 6724d250d4 Refactor network tree data structure and improve device status handling
- Updated the network tree data structure to use consistent naming conventions for device properties (e.g., devName, devMac).
- Enhanced the initTree function to utilize the new property names and improved the rendering of device nodes.
- Refactored the getStatusBadgeParts function to include additional parameters for archived and new device statuses.
- Introduced convenience functions (badgeFromDevice and badgeFromDataAttrs) to streamline badge generation from device objects and data attributes.
- Updated various language files to include new status labels and ensure consistency across translations.
- Modified the renderSmallBox function to allow for custom icon HTML, improving flexibility in UI components.
2026-03-02 09:35:42 +00:00
Jokob @NetAlertX 3e237bb452 Normalize MAC addresses in SQL queries and add devCanSleep column to device schema 2026-03-02 06:03:18 +00:00
Jokob @NetAlertX 15807b7ab9 Add unit and integration tests for device down event handling and sleeping suppression 2026-03-02 05:53:28 +00:00
Jokob @NetAlertX 0497c2891e Fix formatting issues in DATABASE.md for improved readability 2026-03-02 04:35:36 +00:00
Jokob @NetAlertX 8e6efc3008 sleeping devices status #1519 2026-03-02 04:35:07 +00:00
Jokob @NetAlertX d9608b4760 Add database performance tuning guidelines and user-configurable WAL size limit 2026-03-01 06:43:07 +00:00
Jokob @NetAlertX 584aba2c7b Set journal size limit to 10 MB for SQLite connections to prevent unbounded WAL growth 2026-03-01 06:19:39 +00:00
Jokob @NetAlertX ea5585a8ef Add database cleanup for Sessions and optimize queries
- Implemented deletion of Sessions older than DAYS_TO_KEEP_EVENTS.
- Added index for Plugins_History to improve query performance.
- Introduced unit tests for Sessions trimming and database analysis.
2026-03-01 06:07:57 +00:00
Jokob @NetAlertX b96ace0447 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-03-01 04:55:40 +00:00
Jokob @NetAlertX e15c68d189 feat: enhance cacheStrings function to re-fetch plugin language strings on initialization 2026-03-01 04:55:35 +00:00
Jokob @NetAlertX 85badb0760 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-02-28 01:51:22 +00:00
Jokob @NetAlertX 814ba02d1c feat: implement languages endpoint and refactor language handling to use languages.json 2026-02-28 01:51:12 +00:00
Jokob @NetAlertX e57fd2e81e fix: update body text color in dark theme and remove unnecessary console log 2026-02-28 01:02:21 +00:00
Jokob @NetAlertX 4d0b7c944f Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-02-28 00:24:37 +00:00
Jokob @NetAlertX d9c263d506 feat: Update cache handling to normalize legacy device data format and improve logging 2026-02-28 00:13:22 +00:00
Jokob @NetAlertX 58e32a5b43 feat: Refactor device column management and integrate new device-columns.js for centralized field definitions 2026-02-28 00:06:04 +00:00
Jokob @NetAlertX b74b803d6c feat: Add devFlapping attribute to device management and update related UI components 2026-02-27 23:29:55 +00:00
Jokob @NetAlertX 173ffbe3b2 feat: Add cache clearing logic for imported settings in state update 2026-02-27 21:31:36 +00:00
Jokob @NetAlertX d2ebe0d452 Merge branch 'main' of https://github.com/netalertx/NetAlertX 2026-02-27 10:08:56 +00:00
Jokob @NetAlertX 4c0d5c7376 refactor: Consolidate tab initialization logic using shared utility function 2026-02-27 10:07:55 +00:00
Jokob @NetAlertX 9d64665599 fix: Remove trailing whitespace and clean up formatting in version.php 2026-02-26 04:21:57 +00:00
Jokob @NetAlertX 63cef590d6 Refactor network API calls to use centralized authentication context and improve cache handling
- Removed redundant getApiToken function and replaced its usage with getAuthContext in network-api.js, network-events.js, and network-init.js.
- Updated cache handling in network-events.js and network-init.js to use CACHE_KEYS constants for better maintainability.
- Introduced cache.js for centralized cache management functions and constants, including cache initialization and retrieval.
- Added app-init.js for application lifecycle management, including cache orchestration and initialization checks.
- Created app_config.php to securely fetch API token and GraphQL port from configuration.
- Improved error handling and logging throughout the codebase for better debugging and maintenance.
2026-02-26 04:21:29 +00:00
Jokob @NetAlertX 00042ab594 refactor: Clean up whitespace and improve API token verification in network initialization 2026-02-25 21:59:51 +00:00
Jokob @NetAlertX 786cc5ee33 feat: Implement network topology management with API integration
- Added network-api.js for handling API calls related to network devices and nodes.
- Introduced network-events.js to manage event handlers for node interactions and window resizing.
- Created network-init.js for initializing network topology on page load and fetching device data.
- Developed network-tabs.js for rendering network tabs and managing tab content.
- Implemented network-tree.js for constructing and rendering the tree hierarchy of network devices.
- Enhanced error handling and user feedback for API calls and data loading processes.
- Included caching mechanisms for user preferences regarding device visibility.
2026-02-25 21:59:40 +00:00
Jokob @NetAlertX 123f715241 Merge pull request #1533 from adamoutler/llm-docs
Add LLMs.txt
2026-02-23 15:01:37 +11:00
Jokob @NetAlertX 446545e7eb Merge pull request #1534 from MrMeatikins/feat/docker-install-docs
Docs: Add Docker install instructions for MCP Agents
2026-02-23 15:00:26 +11:00
Jokob @NetAlertX 57118bc9bd Merge pull request #1500 from netalertx/next_release
Next release - deep link support after log in and refactor of index.php
2026-02-22 16:22:08 +11:00
Jokob @NetAlertX 25a81556e3 Refactor: Simplify login redirection logic and clean up UI test code 2026-02-22 05:20:05 +00:00