Commit Graph

1051 Commits

Author SHA1 Message Date
billz
8f19d759f2 Consolidate functions in their respective dhcpcd + dnsmasq classes 2025-07-20 06:36:43 -07:00
billz
636e04fa78 Migrate non-hostapd methods to HotspotService class 2025-07-20 02:05:05 -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
c5ff6912ea Set properties from class methods, process txpower input 2025-07-19 06:07:54 -07:00
billz
3b352b12d8 WIP: migrate functions to class methods, refactor saveHostAPDConfig() 2025-07-19 06:07:52 -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
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
5040507750 Load scripts from js/vendor for sanity 2025-07-16 01:13:23 -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
f29f0f2b53 Update release version 2025-07-15 00:11:37 -07:00
billz
378e04939e Merge branch 'master' into feat/insiders-2nd-edition 2025-07-14 22:37:52 -07:00
billz
918f7daa74 Refactor nearbyWifiStations() to use iw instead of wpa_cli 2025-07-14 09:30:10 -07:00
billz
c0df273c36 Refactor hostapd cfg parse/write (source: raspap-insiders) 2025-07-14 03:18:53 -07:00
billz
7a0b93a0e8 Update networking w/ speedtestUI.js, diagnostics tab 2025-07-14 03:18:53 -07:00
billz
c21d5a1790 Update w/ checkHTTPAccess() 2025-07-14 03:18:53 -07:00
billz
4f57e259dd Define RASPI_IPTABLES_CONF, ACCESS_CHECK_* 2025-07-14 03:18:53 -07:00
billz
51d528fd42 Add $extraFooterScripts param to DisplayNetworkingConfig() 2025-07-14 03:18:53 -07:00
billz
b5e79b9148 Enable wg kill switch 2025-07-14 03:18:39 -07:00
billz
80a5d97eee Update release version 2025-07-12 00:37:17 -07:00
billz
96aa833477 Fix: Replace match in detectBrowserLocale() for PHP 7.4 2025-07-11 10:53:16 -07:00
billz
eee8575d3f Initial commit 2025-07-11 02:29:54 -07:00
billz
7fc7b25479 Cleanup obsolete/deprecated files 2025-07-10 23:57:36 -07:00
Lukasz Tulikowski
3152e8c288 fix(color): add validation for CSS color formats in getColorOpt function 2025-07-08 20:26:05 +02:00
billz
5822914890 Update release version 2025-06-25 01:39:44 -07:00
Bill Zimmerman
2a4f2f356c Merge pull request #1885 from RaspAP/feat/system-diskuse
Feature: System disk storage use
2025-06-24 13:38:47 +02:00
Bill Zimmerman
665520234a Merge pull request #1884 from RaspAP/fix/sanitize-locale
Fix: Sanitize user input, add detectBrowserLocale()
2025-06-24 13:37:21 +02:00
billz
72d7028e25 Fetch disk storage from system->usedDisk, create getResourceStatus() 2025-06-21 01:54:47 -07:00
billz
f514f5a12e Sanitize user input w/ $validLocales, add detectBrowserLocale() 2025-06-21 01:19:17 -07:00
billz
575876406c Update blocklistProviders, extract names from json 2025-06-17 06:59:14 -07:00
billz
8dc0308a1d Update release version 2025-06-05 01:43:05 -07:00
billz
290cad8107 Update getWirelessClients() w/ interface parameter 2025-05-24 10:15:58 -07:00
billz
e55d24db66 Log generic error message on token verify fail 2025-05-14 00:57:19 -07:00
billz
2a2b429e75 Handle missing tokens gracefully, support multiple state-changing HTTP methods 2025-05-14 00:54:38 -07:00
billz
be260d4b39 Update release version 2025-05-13 00:18:31 -07:00
billz
0dc9e24f65 Refactor dhcpcd.conf handling w/ updateDhcpcdConfig() 2025-05-12 07:16:32 -07:00
billz
16afef3e13 Update release version 2025-04-29 06:27:34 -07:00
billz
5d8b71b768 Delegate raspap-network-activity@*.service control to raspapd.service 2025-04-28 00:14:04 -07:00
billz
cc215530d3 Stop raspap-network-activity@*.service, start service template w/ iface 2025-04-27 01:35:21 -07:00
billz
08528c8843 Merge branch 'master' into feat/net-activity-led 2025-04-25 00:40:23 -07:00
Bill Zimmerman
36610ac519 Merge pull request #1833 from no-sec-marko/fix/rce-hostapd
Add interface validation and improve shell argument escaping
2025-04-25 08:45:37 +02:00
billz
6899389a81 Read/set wgInterface, update SaveWireGuardUpload(), enumerate interfaces 2025-04-24 04:46:41 -07:00
Marko Winkler
52a4acced8 Add interface validation and improve shell argument escaping
- Introduced validateInterface() to ensure only existing network interfaces are used
- Used escapeshellarg() for user-supplied interfaces in shell commands (iw, iwgetid)
- Replaced direct usage of $_POST['interface'] with validated fallback to RASPI_WIFI_AP_INTERFACE
- Improved code readability by reducing redundant assignments
2025-04-23 21:31:38 +02:00
billz
73df916184 Add hostapd-led to fas class in template 2025-04-19 06:06:28 -07:00
billz
6fe48d0e4e Update status panel w/ hostapd-led ID 2025-04-18 12:33:14 -07:00
billz
c3175459ab Update release version 2025-04-17 05:44:30 -07:00
Bill Zimmerman
3bf682d752 Merge pull request #1811 from RaspAP/feat/csrf-tokenizer
Feature: CSRF tokenizer class
2025-04-17 14:32:58 +02:00
billz
a21b0a8f99 Check for presence of custom blocklist in RASPI_ADBLOCK_LISTPATH 2025-04-16 23:33:13 -07:00
billz
484b89718a Add validateRequest(), token check outside class 2025-03-26 04:00:34 -07:00