Commit Graph

12 Commits

Author SHA1 Message Date
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-sk
c58bbf21b1 chore: 🧹 Code Cleanup 2024-09-28 10:28:05 +10:00
jokob-sk
0b6071a272 dnsmasq dhcp.leases v0.1 #661 2024-05-02 20:57:55 +10:00
jokob-sk
584fdb7734 Add version to JS files to flush cache #659 2024-05-01 18:25:48 +10:00
jokob-sk
5cb7553ed5 Rename work 🏗 2024-04-12 19:44:29 +10:00
jokob-sk
7653ddce63 PiAlert -> NetAlertX ✍ 2024-04-07 09:44:37 +10:00
Jokob-sk
50699ed01f Scheduler, Systeminfo.php, Plugin obj insertion fixes 2023-08-19 07:00:40 +10:00
Carlos V
a38d254877 Update version.php
Update path file
2023-08-07 19:30:41 +02:00
Carlos V
3ca4e19199 Update version.php
Updated blank spaces
2023-08-07 18:18:57 +02:00
Carlos V
9bdac0edbf Update version.php
Created creators banner
2023-08-07 17:44:40 +02:00
Carlos V
25bdc36183 Create version.php
Created file version.php
Added new php code to search for version file and if it doesn't find it, it shows the file not found error.
2023-08-07 17:12:10 +02:00