Commit Graph

223 Commits

Author SHA1 Message Date
Jokob @NetAlertX b5b0bcc766 work on stale cache #1554 2026-03-13 12:52:22 +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 4c0d5c7376 refactor: Consolidate tab initialization logic using shared utility function 2026-02-27 10:07:55 +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-sk 07277985b1 FE: refactor apiBase
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-10 08:46:16 +11:00
jokob-sk 0f1b19bddc FE+BE: BACKEND_API_URL for reverse proxies #1390
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-09 14:20:25 +11:00
jokob-sk ee5de27413 FE+BE: deviceDetials migration to graphQL endpoints
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-12-25 11:39:28 +11:00
jokob-sk 9b0c916bba FE: cleaner getMac()
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-12-23 10:21:49 +11:00
jokob-sk 333d23d704 FE: device name in tab title #1162
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-10-06 09:23:23 +11:00
jokob-sk e73c8e830a better check for available device #1132 2025-08-11 19:52:16 +10:00
jokob-sk 9502ee0cd0 UNIFIAPI v0.2, not ofund mac handling #1132 2025-08-10 20:08:09 +10:00
jokob-sk dac7eaba6d localized spinner support 2025-08-03 08:40:09 +10:00
jokob-sk afebc8dc39 systeminfo refactor #1124 2025-08-03 07:44:11 +10:00
jokob-sk 3f5ae334a2 new device button #1126 2025-08-01 08:15:32 +10:00
jokob-sk a84f0d4faf cache fix on details page, small css fixes 2025-07-29 20:01:50 +10:00
jokob-sk acac02a672 fixes 2025-07-26 17:19:05 +10:00
jokob-sk 54fa2743f9 refactor, tab async loading on focus 2025-07-26 12:58:45 +10:00
jokob-sk 170a3c0ae1 presence rework #1119, plugin history filter 2025-07-26 08:45:07 +10:00
jokob-sk 10a0921e35 plugins columns cleanup, devDetail cleanup, better icon selector CUSTPROP 2025-07-23 22:25:35 +10:00
jokob-sk 5779fd34c5 treeviz flatdata experiment + better invalid TZ handling 2025-02-08 07:52:13 +11:00
jokob-sk b63b00f30c Revert DataTable upgrade, new default docker-compose, performance tip 2024-12-22 11:24:44 +11:00
jokob-sk 7913d42699 Bootstrap + DataTables cleanup 2024-12-20 14:11:16 +11:00
jokob-sk daff0ee7f2 📚Docs 2024-12-07 10:38:34 +11:00
jokob-sk e92d1bb0ad Icon selector 2024-12-04 21:03:35 +11:00
jokob-sk afaac3277d Device Edit Rebuild + New Dummy Device 2024-11-30 23:34:20 +11:00
jokob-sk 67fd08a093 chore:AdminLTE removal of bloat 2024-11-23 10:39:09 +11:00
jokob-sk f1f40021ee chore:Settings DB table refactor 2024-11-23 09:28:40 +11:00
jokob-sk 0bc8b39cec 🔺GraphQL v0.1 + Devices table rebuild + removal of backend compatible scripts 2024-11-10 21:22:45 +11:00
jokob-sk 4c46b27643 🔌Plugins page rebuild with DataTables 2024-10-24 21:51:16 +11:00
johnwang16 aa1a18015d Implement ui theme selector 2024-10-18 22:08:58 -04:00
jokob-sk 97a5cb6737 HomeAssistant docs + Delete listed Plugin Obj #813 2024-10-02 08:53:29 +10:00
jokob-sk 02077d4654 CSV Export - encode quotes #808 2024-09-29 08:18:00 +10:00
jokob-sk c58bbf21b1 chore: 🧹 Code Cleanup 2024-09-28 10:28:05 +10:00
jokob-sk 10df7363d6 Merge pull request #798 from ingoratsdorf/contrib
docker / docker_dev (push) Waiting to run
Fixes to CSS and scripts not loading properly
2024-09-22 19:16:50 +10:00
jokob-sk 06e49f7adb 📚Docs 2024-09-22 17:05:49 +10:00
Ingo Ratsdorf c6888a79fd Fixes CSS typo in deviceDetails 2024-09-22 08:13:09 +12:00
jokob-sk b544734209 NEWDEV_dev_Icon preview #789
docker / docker_dev (push) Waiting to run
2024-09-21 17:40:41 +10:00
jokob-sk 48e92a186e 🧪 Override Settings via ENV variable [experimental] #687 2024-09-08 13:57:08 +10:00
jokob-sk 1f7a38593d 🔄Cache + Settings work 2024-08-03 21:07:12 +10:00
jokob-sk cac33fde2b ⚙ Settings rework 2 2024-07-09 20:27:48 +10:00
jokob-sk 6ea3d14480 ⚙ Settings rework 2024-07-07 23:11:30 +10:00
jokob-sk 1cc471d56c 🚦COlors and icons for device status label #706 + DeviceDetails fields 2024-06-15 16:26:33 +10:00
jokob-sk de561e1ad0 🔒DB lock v0.4 #685 + 🔔userNotifications 2024-06-01 20:05:15 +10:00
jokob-sk 2e9aa37cd2 🔒DB lock v0.3 #685 + cleanup 2024-05-31 19:30:11 +10:00
jokob-sk df071c0835 🆕 db locked icon #685 2024-05-26 15:28:37 +10:00
jokob-sk 1dcca191d9 Loading cleanup #660 🔄 2024-05-01 20:47:54 +10:00
jokob-sk 584fdb7734 Add version to JS files to flush cache #659 2024-05-01 18:25:48 +10:00
jokob-sk 9cef7848c5 encode special characters when saving device details #644🚑 2024-04-22 07:37:31 +10:00
jokob-sk 9f1247141e More icons work - default icon fix🔨 2024-04-15 20:51:17 +10:00
jokob-sk 8e7e437b4c More icons work 🔨 2024-04-14 12:34:14 +10:00