Commit Graph
113 Commits
Author SHA1 Message Date
jokob-sk 66d13bd55c BE+FE: System info -> Performance section 2026-09-28 15:11:24 +10:00
jokob-sk 0fc6082c73 BE: IP ordering fixes #1797 2026-09-19 09:48:33 +10:00
jokob-sk 6ab220fd8c BE+FE: async event execution 2026-09-14 18:17:06 +10:00
jokob-sk cddb237cd3 FE+DOCS: Wildcards in custom props #1773 2026-09-05 10:36:19 +10:00
Valiante 9fedd49e4a Fix: theme reverts to Light after header reload (#943)
Theme was applied on raw $(document).ready, which fires before the async cacheSettings() call has necessarily populated the settings cache. clearCache() (the header reload button) wipes localStorage immediately before reloading, so that reload could read an empty cache and hard-override the theme to Light via setCookie, even with Dark or System configured. Gated the theme application on callAfterAppInitialized(), which is already used elsewhere for this class of race.

Fixes #943
2026-08-21 17:44:21 +01:00
Valiante 229755bf56 Fix: clock shows wrong timezone after header reload (#1640)
tz/LOCALE were evaluated once as module-level consts at script-load time. clearCache() (the header reload button) wipes localStorage right before reloading, so that reload could read an empty settings cache, fall back to the hardcoded 'Europe/Berlin' default, and stay locked to that wrong value for the rest of the page's life. Moved the reads inside localizeTimestamp() so they're evaluated fresh on every call instead.
2026-08-12 15:35:23 +01:00
jokob-sk 1aea4e8216 DOCS: email 2026-07-25 10:25:33 +10:00
jokob-sk 02987fa558 BE+FE: NOTI TEXT template -> textarea 2026-07-25 09:58:15 +10:00
jokob-sk 2396bb610a DOCS: email update 2026-07-25 08:11:08 +10:00
jokob-sk b133d102ab BE: css fixes 2026-07-10 11:57:38 +10:00
jokob-sk 887de65eb9 BE+FE: change log 2026-07-06 13:03:38 +10:00
jokob-sk 214959f5a1 FE: skeleton uplift 2026-06-28 11:07:10 +10:00
jokob-sk 86cc8a3683 FE: skeleton uplift 2026-06-25 07:43:22 +10:00
jokob-sk c98e068272 FE: skeleton uplift 2026-06-23 16:03:46 +10:00
Jokob @NetAlertX 8cb466e722 feat: Implement settings loading skeleton and enhance UI elements 2026-06-20 00:40:01 +00:00
Jokob @NetAlertX 5f62d25e23 Implement XSS prevention by encoding special characters in device names across multiple files 2026-05-21 00:09:07 +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 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 e741ff51b5 LANG: Vietnamese (vi_vn)
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-02-12 19:20:44 +11:00
jokob-sk b57d36607a BE+FE: refactor timezone UTC #1506
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-02-11 16:15:49 +11:00
Jokob @NetAlertX 933004e792 fixes 2026-02-11 03:56:37 +00:00
Jokob @NetAlertX 45157b6156 timestamp cleanup 2026-02-11 01:55:02 +00:00
jokob-sk 2954b929a6 FE+BE: timexone fixes 1 #1440
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-02-01 15:48:28 +11:00
jokob-sk 4506aa3b1f FE: None❌ value fixes and overrides of setting values
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-31 11:13:35 +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 @NetAlertX 5a0332bba5 feat: implement Server-Sent Events (SSE) for real-time updates and notifications 2026-01-11 06:15:27 +00:00
Jokob @NetAlertX 2bdf25ca59 FE: refactor API call in restartBackend function to use dynamic URL and token 2026-01-11 03:18:24 +00:00
Jokob @NetAlertX 63222f4503 FE: update authorization method to use API_TOKEN setting 2026-01-11 03:16:41 +00:00
Jokob @NetAlertX c8c70d27ff FE: update API calls to use new endpoint; enhance settings form submission tests 2026-01-11 03:14:41 +00:00
Jokob @NetAlertX d849583dd5 refactor UI backend calls to python endpoints 2026-01-10 03:06:02 +00:00
jokob-sk 1eca02a0f4 FE+BE: use of new events endpoint
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-03 11:38:22 +11:00
jokob-sk 039189ff4b FE+BE: use of new sessions endpoint
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-03 10:54:10 +11:00
jokob-sk 494451b316 FE: cleaner getMac() + #1371
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-12-29 07:51:46 +11:00
jokob-sk 8ea63cdb56 FE+BE: allow ❌None as a value in DeviceEdit for fields with other default NEWDEV values
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-12-23 09:27:11 +11:00
jokob-sk 08e6e0e15e FE: locale for date formats #1335
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-12-11 21:29:52 +11:00
jokob-sk 6c28a08bee FE: YYYY-DD-MM timestamp handling #1312
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-12-01 08:03:13 +11:00
jokob-sk 9634e4e0f7 FE: YYYY-DD-MM timestamp handling #1312
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-30 09:36:56 +11:00
jokob-sk 8586c5a307 FE: delay UI_DEFAULT_PAGE_SIZE setting check after cahce rebuilt #1181
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-29 15:45:28 +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 6034b12af6 FE: better isBase64 check
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-15 13:36:50 +11:00
jokob-sk 533c99eb61 LNG: Swedish (sv_sv) 2025-10-31 20:55:59 +11:00
jokob-sk 314b7e0974 weblate - Farsi - fa_fa + cleanup
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-10-06 11:21:33 +11:00
jokob-sk ae12195439 localizeTimestamp 2 #1147
Signed-off-by: jokob-sk <jokob-sk@gmail.com>
2025-08-27 07:34:43 +10:00
jokob-sk d88aa9d6eb FE more defensive localizeTimestamp #1147 2025-08-26 07:33:11 +10:00
jokob-sk e10c1c9c8d Added pt_pt language file 2025-08-16 08:18:23 +10: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 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