Commit Graph

3645 Commits

Author SHA1 Message Date
billz
7a7bdda708 Delegate dnsmasq + dhcpcd config build/save to manager classes 2025-07-20 10:02:58 -07:00
billz
7cc436fbaa Add missing param in dnsmasq->saveConfig() 2025-07-20 10:00:15 -07:00
billz
87f55c8b1e Standardize array return/input type for build + save config 2025-07-20 09:58:56 -07:00
billz
98922434f2 Added buildConfigEx(), migrated from legacy controller 2025-07-20 08:07:51 -07:00
billz
83ab53dd87 WIP: refactored to use dnsmasq + dhcpcd manager classes 2025-07-20 06:39:59 -07:00
billz
1e2f77abcb Added buildEx, buildDefault, saveConfigDefault, remove, scanConfigDir methods 2025-07-20 06:38:33 -07:00
billz
8f19d759f2 Consolidate functions in their respective dhcpcd + dnsmasq classes 2025-07-20 06:36:43 -07:00
billz
ed1938d10b Migrate validate, remove + removeIface methods from global function defs 2025-07-20 06:35:19 -07:00
billz
9df3baa5f1 Minor: standardize comment header, declare strict_types=1 2025-07-20 02:08:33 -07:00
billz
cbc6ee74c3 Consolidate non-hostapd concerns under HotspotService class 2025-07-20 02:07:53 -07:00
billz
cf32a4ba01 Implement saveSettings(), consolidate hotspot functions + static methods 2025-07-20 02:06:40 -07:00
billz
636e04fa78 Migrate non-hostapd methods to HotspotService class 2025-07-20 02:05:05 -07:00
billz
5f4469ab32 Update legacy handler w/ dhcpcdManager->getInterfaceConfig() 2025-07-20 01:49:31 -07:00
billz
5a57d542c5 Normalize state flags, try-catch blocks for method calls, prune legacy dhcpcd routines 2025-07-19 15:11:37 -07:00
billz
3fe4990cfd Implement buildConfig, saveConfig, getInterfaceConfig methods 2025-07-19 15:08:13 -07:00
billz
92f9cf745e Add getHostapdIni, countHostapdConfigs methods 2025-07-19 15:04:16 -07:00
billz
c5ff6912ea Set properties from class methods, process txpower input 2025-07-19 06:07:54 -07:00
billz
e12be86c8c Add static methods for 802.11 standards, resolveHwMode() 2025-07-19 06:07:54 -07:00
billz
5cd07a83a9 Revise /sbin/iw permissions scope 2025-07-19 06:07:54 -07:00
billz
126f64a793 Fix PHP warning
Fix PHP warning
2025-07-19 06:07:52 -07:00
billz
3b352b12d8 WIP: migrate functions to class methods, refactor saveHostAPDConfig() 2025-07-19 06:07:52 -07:00
billz
b9642371e0 Use HostapdValidator, add deriveInterfaces, deriveModeStates, iwRegSet methods 2025-07-19 06:07:52 -07:00
billz
9dc6209b47 Minor: comment block
Minor: comment block
2025-07-19 06:07:49 -07:00
billz
9d03517896 Add getIfaceMetric public method 2025-07-19 03:17:17 -07:00
billz
fa38ac6153 Initial commit 2025-07-19 03:16:47 -07:00
billz
dd3b300931 Instantiate WiFiManager, update w/ $wifi->getSignalBars() 2025-07-19 00:26:53 -07:00
billz
da6f469982 Implement buildConfig() 2025-07-19 00:25:46 -07:00
billz
a91e441073 Implement persistHostapdIni() 2025-07-19 00:25:18 -07:00
billz
f1ced91811 Update w/ WiFiManager class method calls 2025-07-19 00:24:41 -07:00
billz
3ad5a98798 Replace global wifi_functions with WiFiManager class 2025-07-19 00:24:01 -07:00
billz
094ebdb85f Replace procedural code w/ dnsmasq->buildConfig, hostapd->persistHostapdIni 2025-07-19 00:23:14 -07:00
billz
dea3e7c485 Modify select to use selected_hw_mode from config 2025-07-19 00:19:24 -07:00
billz
4e55f5a97f Initial commit 2025-07-19 00:18:18 -07:00
billz
619bfdc04d Create getConfig(), saveConfig() class methods 2025-07-18 14:44:52 -07:00
billz
2b2a76c512 Update w/ reload dnsmasq.service 2025-07-18 14:43:47 -07:00
billz
b293355eac Replace procedural code w/ HostapdManager, DnsmasqManager method calls 2025-07-18 14:43:25 -07:00
Bill Zimmerman
2c4dbb87ba Merge pull request #1893 from tulik/fix/escape-color-output-compute-php
fix(color): add validation for CSS color formats in getColorOpt function
2025-07-17 14:53:24 +02:00
billz
99b46ce086 Update BACKERS.md 2025-07-16 23:48:04 -07:00
Bill Zimmerman
ee8d32383b Merge pull request #1905 from RaspAP/maint/js-assets-reorg
Maintenance: Reorg JavaScript assets
2025-07-17 08:47:20 +02:00
Lukasz Tulikowski
bad782deda fix(color): sanitize color output in SVG and CSS files to prevent XSS vulnerabilities 2025-07-16 10:22:30 +02:00
billz
e31ccd09e8 Group vendor related js into js/vendor 2025-07-16 01:14:38 -07:00
billz
134f80ada8 Replace monolithic custom.js with ajax + ui 2025-07-16 01:14:15 -07:00
billz
5040507750 Load scripts from js/vendor for sanity 2025-07-16 01:13:23 -07:00
billz
02b31a0254 Split custom.js into ajax/ + ui/ for sanity 2025-07-16 01:12:56 -07:00
billz
807d903c8a Add app/js/plugins/ to .gitignore 2025-07-16 01:12:04 -07:00
Lukasz Tulikowski
478ba9973f fix(color): enhance regex pattern for CSS color validation in getColorOpt function 2025-07-16 10:01:13 +02:00
billz
83a3057e7f Update BACKERS.md 2025-07-15 02:07:42 -07:00
billz
f29f0f2b53 Update release version 2025-07-15 00:11:37 -07:00
Bill Zimmerman
1382cdda33 Merge pull request #1900 from RaspAP/feat/insiders-2nd-edition
Feature: Insiders 2nd Edition goal reached 🎉
2025-07-15 09:08:19 +02:00
Bill Zimmerman
8f37b35088 Merge pull request #1904 from RaspAP/fix/static-lease-mac
Apply input mask to MAC address field using [0-9a-fA-F] pattern
2025-07-15 08:02:26 +02:00