Commit graph

286 commits

Author SHA1 Message Date
billz
c3a219e340 Update class w/ namespace, phpcbf formatting 2021-08-03 15:20:08 +01:00
Fabrice Colas
17597cd2cc DHCP static leases w/ optional comment
* Ability to add an optional Comment to DHCP  static Leases
    * Sort DHCP static leases by IP (more human readable)
2021-07-27 18:33:00 +02:00
billz
1adaca1ea1 Set file upload as default wg config method 2021-07-06 23:11:16 +01:00
billz
de586e0024 Work in progress: WG server config panels 2021-07-06 22:18:43 +01:00
billz
8cd2c59ca1 Update w/ namespace 2021-07-04 11:16:21 +01:00
billz
8ae0fce366 Initial commit 2021-07-03 23:01:35 +01:00
zbchristian
f721c08dc9
Fix openvpn activation of configuration 2021-06-12 14:29:37 +02:00
billz
06476b9a61 Merge with upstream master 2021-06-05 12:02:26 +01:00
billz
083e19d631 Update About page insiders logo 2021-06-05 10:16:35 +01:00
billz
04fc73326b Update release version 2021-06-05 08:10:43 +01:00
billz
ac6f31fa22 Adjust hr color + padding 2021-06-01 14:31:38 +01:00
glaszig
ba438faaa2 fix service status vertical alignment 2021-06-01 03:26:46 +01:00
glaszig
d711acb52d use css grid for wifi stations layout (better width equality) 2021-06-01 03:02:05 +01:00
glaszig
d9212737e5 fix layout issues, mainly margins and centering 2021-06-01 03:02:05 +01:00
glaszig
9dc1f14ccb separate connected from known from nearby wifi stations in ui 2021-06-01 03:02:04 +01:00
glaszig
1c7f57467f add missing css class to lightsout theme 2021-05-11 17:38:08 -03:00
billz
4841d9336a Remove locale include (unused) 2021-05-10 07:49:16 +01:00
glaszig
947ccf7021 add margin to wifi qr code to have it work with dark background (i.e. dark theme) 2021-05-08 14:29:59 -03:00
glaszig
45a50edc41 use special multibyte shell escaping to support unicode ssid names with qr code 2021-05-08 14:24:36 -03:00
glaszig
e76c31c9c6 revert part of 3a41b52c to respect http method's purpose 2021-05-06 19:12:58 -03:00
billz
90aea4ca93 Set locale for utf-8 support, remove mb_escapeshellarg (deprecated) 2021-05-02 07:02:30 +01:00
billz
3a41b52c1d Update method to POST + escapeshellarg() 2021-05-01 17:24:37 +01:00
billz
6c674537bb WIP: txpower feature 2021-04-20 15:19:00 +01:00
Bill Zimmerman
0c9152fff3
Merge branch 'master' into feature/zbchristian-clients 2021-04-15 09:00:48 +02:00
billz
d3c769b748 Layout fix: dashboard client widget + openvpn ipv4 2021-04-09 15:05:40 +01:00
billz
f9e907e3ce Tweak layout of dashboard client widget 2021-04-06 22:59:40 +01:00
Bill Zimmerman
0f333bd261
Merge pull request #19 from RaspAP/zbchristian-mods-openvpn
Allow to configure OpenVPN with a client certificate
2021-04-06 14:22:09 +02:00
billz
594c5dad1c Merge with upstream master 2021-04-05 10:06:44 +01:00
glaszig
6196bcd311 add 'default route' toggle to network interface configuration ui 2021-04-03 00:43:42 +01:00
billz
1503d81317 Apply styles to themes css 2021-04-02 17:03:35 +01:00
root
ec3fa1002b improving layout, text and styles of wifi client box 2021-04-02 00:17:17 +01:00
Christian Zeitnitz
5b9d4ca814 Add unconfigured client state to dashboard.php
Add tun device as client_udev_prototypes.json
2021-03-27 17:43:15 +01:00
Christian Zeitnitz
720e6c3e77 Add certificate option to openvpn GUI
add JS code to display options and selected ovpn file
2021-03-27 10:29:09 +01:00
zbchristian
e16844294b
Merge branch 'master' into feature/zbchristian-clients 2021-03-21 18:00:40 +01:00
Christian Zeitnitz
159e3674e5 cleanup common.sh
typo in wifi-qr-code.php corrected
2021-03-16 22:31:00 +01:00
Christian Zeitnitz
f77fb660bf Fix missing mobiledata.ini and some cleanup 2021-03-16 19:11:40 +01:00
billz
c7c8eacb0c Minor: remove debug output 2021-03-15 10:38:14 +00:00
billz
1c158eade7 Add handler for wg client.conf download 2021-03-15 10:12:18 +00:00
Christian Zeitnitz
76e2eecaec Correct internet device GUI and udev config 2021-03-10 23:45:04 +01:00
billz
1e7438da23 Code cleanup, update Endpoint default value 2021-03-07 19:06:53 +00:00
Christian Zeitnitz
8b0383dd20 Implement Client configuration
- add mobile date network devices and configuration
- add client configuration via udev
- add GUI under networking tab
- add scripts to handle mobile data devices
2021-03-07 18:36:48 +01:00
billz
96bd34f07f Add event listener for Bootstrap form validation 2021-03-07 13:19:56 +00:00
billz
55e94adb2b Add PHP_EOLs to parsed client.conf 2021-03-07 10:39:33 +00:00
billz
3ac70a3a3c Move qr_encode() to inc/functions 2021-03-07 10:28:14 +00:00
billz
4515ac95fb Improved private key handling (security) 2021-03-04 23:44:45 +00:00
billz
6b484d383c Progress commit: wg-qr-code 2021-03-02 23:15:47 +00:00
billz
3ec81ba085 Get/set pub+priv keys, create wg0.conf 2021-02-24 18:07:19 +00:00
billz
b7ed2960c1 Update wg-keygen for server + peer 2021-02-24 10:32:07 +00:00
billz
796ed558f7 Handle peer defaults 2021-02-24 09:12:31 +00:00
billz
ad6a14fa50 Added generateWgKey() 2021-02-24 08:45:53 +00:00
billz
9c2cd82562 Merge branch 'feature/wireguard' of https://github.com/RaspAP/raspap-insiders into feature/wireguard 2021-02-23 20:17:38 +00:00
billz
a6caea05f2 Night mode tweaks 2021-02-18 07:03:58 +00:00
billz
4378ff7add Implement night mode toggle in top navbar 2021-02-15 19:02:13 +00:00
billz
faffbfea51 Update client settings tab 2021-02-12 19:02:58 +00:00
billz
677e06807a Update about template 2021-02-10 17:06:51 +00:00
billz
0f7ff60a81 Update about page 2021-02-10 16:20:43 +00:00
billz
b9a87df343 Update openvpn template 2021-02-08 07:32:40 +00:00
billz
c073d18133 Cleanup + fadeOut deleted cfg 2021-02-07 18:51:21 +00:00
billz
ee1da31da0 Code cleanup 2021-02-07 13:50:55 +00:00
billz
6432efcf34 Progress commit: bootstrap modal event handlers 2021-02-07 11:59:16 +00:00
billz
e5ce7b9fb2 Add modal dialog to configure client 2021-02-02 16:55:46 +00:00
billz
5ec25e56d9 Bugfix: break on pageload event 2021-02-02 04:30:24 +00:00
billz
6d3f5e9f37 Cleanup commented code 2021-01-30 16:59:36 +00:00
Mark Pointing
6966bc7f3a Changed routing system to use the more common path approach instead of query strings. 2021-01-30 16:06:33 +00:00
billz
cb10bf684c Update en_US messages, compile .mo files 2020-12-26 08:51:45 +00:00
billz
8e8ce320d4 Implement hostapd modal dialog 2020-12-24 20:52:18 +00:00
Bill Zimmerman
16f4c47f00
Merge branch 'master' into feature/dhcp-eth0 2020-12-12 17:41:41 +01:00
billz
da0e714f86 Openvpn template layout, relative img paths. Closes #716 2020-12-07 11:37:57 +00:00
billz
a21009e049 Remove networking dhcp config (deprecated) 2020-11-30 17:33:17 +00:00
billz
495f33eaa3 Added subnet mask display/edit 2020-11-30 12:10:44 +00:00
billz
57174245ad Updated w/ set toggle states 2020-11-27 16:25:46 +00:00
billz
6d331c3ebd Add static IP fields, fallback, toggle state 2020-11-26 17:16:54 +00:00
billz
b63a53e182 Set default dhcp interface on page load 2020-11-21 13:52:20 +00:00
billz
04590dc889 Load default iface on page load 2020-11-19 12:31:48 +00:00
billz
e4856484d9 Add advanced fields to JSON response 2020-11-17 11:18:10 +00:00
billz
e0235d640a Added loadInterfaceDHCPSelect() 2020-11-16 18:19:40 +00:00
billz
dd5ab7bdc2 Remove webconsole, fixes RCE via json-rpc. Thanks @lb0x 2020-08-22 23:23:06 +01:00
billz
5be1ad5844 Merge billz/raspap-webgui master 2020-08-22 14:43:26 +01:00
billz
44e9ae75ae Remove webconsole, fixes RCE via json-rpc. Thanks @lunchb0x 2020-08-22 11:41:33 +01:00
billz
7d8fc65ef0 Block direct file access 2020-07-11 09:03:23 +01:00
billz
695cdd2d35 Revert file access check 2020-07-10 15:39:36 +01:00
billz
7af8b302e9 Prevent direct file access. Resolves #622 2020-07-10 14:46:55 +01:00
billz
520b706ef3 Delete obsolete file 2020-07-01 10:36:32 +01:00
billz
434021a9a1 Remove console.log 2020-07-01 10:34:40 +01:00
billz
7fcfacaeae Update w/ getColorOpt() 2020-07-01 10:32:31 +01:00
billz
7b92f56cda Dynamic svg logo 2020-06-30 23:38:32 +01:00
billz
4b77a0b144 Renamed svg > php 2020-06-30 23:38:02 +01:00
billz
2916bd1998 Dynamic theme color support 2020-06-30 16:54:30 +01:00
billz
77d59c9788 Initial commit 2020-06-30 16:46:51 +01:00
billz
4eb3d6b24c Convert to dynamic css 2020-06-30 16:46:04 +01:00
billz
159d539f59 Style fontawesome glyphs 2020-06-29 16:07:38 +01:00
billz
dbb71d10c9 Style update for font-based logo 2020-04-30 13:35:17 +01:00
billz
5c4814585a Style tweaks 2020-04-20 22:36:34 +01:00
billz
8f37f19ba3 Theme style tweaks 2020-04-12 11:27:02 +01:00
billz
b0eb7c63eb Update About page 2020-04-11 16:17:40 +01:00
billz
4eb6a5a2f7 Change last updated text on success 2020-04-02 08:12:59 +01:00
billz
ff14e64bf9 add list download progress indicator 2020-03-31 00:04:52 +00:00
billz
ca7bde25c6 Update ajax handler + indicate status 2020-03-27 09:24:48 +00:00
billz
6299540216 Add blocklist status classes 2020-03-27 08:50:18 +00:00
billz
422a46e92c Fix PHP notices 2020-03-24 18:48:35 +00:00
billz
35f915d42e Style tweak: dark mode 2020-03-17 07:30:26 +00:00
billz
de86082034 Style tweaks: dark mode 2020-03-16 23:18:35 +00:00
Bill Zimmerman
6f8a60c9ac
Style tweak for dark mode 2020-03-10 12:56:03 +01:00
billz
c44d58d51b Stats display for the Adafruit Mini PiTFT 2020-03-08 17:40:40 +00:00
billz
227fc3d775 Dark mode style tweak 2020-03-07 07:07:55 +00:00
billz
51e736c79b Update for dark theme 2020-03-06 18:57:16 +00:00
billz
88f0859955 Terminal theme => Lights Out 2020-03-06 18:40:47 +00:00
Bill Zimmerman
3ba6c135a8
Merge pull request #506 from glaszig/feature/dhcp-upstream-server
[WIP] added ui to manage upstream dns servers
2020-03-04 23:07:35 +01:00
glaszig
cfa3f9cfd3 added selectable hosted dns servers 2020-03-04 19:43:22 +01:00
billz
3193cf068c Style tweak for left nav labels 2020-03-01 17:00:50 +00:00
glaszig
a3c8def120 added ui to manage upstream dns servers 2020-02-28 23:41:56 +01:00
Bill Zimmerman
2120b0e215
Merge pull request #504 from billz/glaszig-feature/wifi-qr-code
Glaszig feature/wifi qr code
2020-02-28 08:30:28 +01:00
glaszig
806ce22970 add etag header to wifi qr code to improve
browser caching behavior
2020-02-27 23:53:48 +00:00
glaszig
ad1ca08de3 escape qrencode arguments in multibyte-safe way 2020-02-27 23:52:35 +00:00
billz
f63c4688bc Update with click handler, genPassword() 2020-02-27 17:21:57 +00:00
glaszig
695ea7b969 show wifi qr code in "hotspot > security" section
resolves #469.
2020-02-27 02:37:00 +00:00
billz
f97a701697 Style tweak 2020-02-06 12:37:09 +00:00
billz
3394c9cecc Style tweaks 2020-02-03 18:54:58 +00:00
billz
bbd545b97a Style tweaks for new dashboard 2020-02-03 12:33:31 +00:00
billz
5f0e2b3f11 Added .chart-container 2020-02-03 09:34:17 +00:00
billz
36e4d5baf0 Tweak svc status colors 2020-02-02 15:34:53 +00:00
billz
373a7f28ef Update hires .png from .svg 2020-02-02 15:06:15 +00:00
billz
af361d3c18 Update hires .png from .svg 2020-02-02 15:05:20 +00:00
billz
2121a77e29 Deprecated old logo64px 2020-02-02 15:04:29 +00:00
billz
d15fd5692d Unique id, prevent conflict w/ data usage 2020-02-02 14:58:35 +00:00
billz
9dc2a67d70 Update beforeDraw as inline plugin 2020-02-02 13:40:41 +00:00
billz
f0e94780b8 Added svc status warn 2020-02-02 12:35:21 +00:00
billz
631963dfdf Dashboard widget + data usage styles 2020-02-02 11:37:23 +00:00
billz
2faf80959d Update maintainAspectRatio 2020-02-02 11:34:08 +00:00
billz
82db0a34b9 WIP: dashboard redesign 2020-02-02 08:37:15 +00:00
billz
1bbeefca7c Add hostapdStatus to System 2020-02-01 11:06:41 +00:00
Weylin-fr
6fc73851aa
Update system.php
get CPU temp from "/sys/class/thermal/thermal_zone0/temp"
2020-01-20 16:27:19 +01:00
billz
6106c3196a Bugfix. Resolves #470 2020-01-04 18:59:19 +00:00
billz
f41bfa93aa Fetch wireless regulatory data from config/wireless.json 2019-12-31 19:10:48 +00:00
billz
ba8d245eca Revert "Expanded 5Ghz country list (testing)"
This reverts commit f1ff34af6d.
2019-12-30 04:41:07 +00:00
billz
f1ff34af6d Expanded 5Ghz country list (testing) 2019-12-28 00:04:50 +00:00
billz
597f1b04cf Fetch ajax channel value 2019-12-27 06:43:49 +00:00
billz
93514a6787 Minor: comments + formatting 2019-12-27 01:26:37 +00:00
billz
6a961e09b8 Added loadChannelSelect() to document.ready 2019-12-26 21:37:23 +00:00
billz
0b6362e611 Updated with loadChannelSelect() 2019-12-26 06:14:03 +00:00
billz
22eac80306 Tweak info-item 2019-11-17 12:01:36 +00:00
billz
1bc99e6729 Replaces absolute paths w/ relative. Enables #294 2019-11-04 16:15:04 +00:00
billz
43af89cd2e Minor: cleanup 2019-11-04 15:57:45 +00:00
billz
8f9d494437 Adjust chartjs linkQuality graph 2019-11-03 17:02:45 +00:00
billz
5ba9122aaa Added @media query to optimize display on small devices 2019-11-01 09:11:48 +00:00
billz
35177d32ba Style tweaks 2019-10-29 18:30:07 +00:00
billz
e054a963f6 Adjust sidebar toggle behavior on >768 displays 2019-10-29 14:18:16 +00:00
billz
7b02c1fa72 Remove easing transition on sidebar toggle 2019-10-29 14:07:54 +00:00
billz
8726456168 Remove toggle state from window load/resize 2019-10-29 10:03:28 +00:00
billz
f9b9329182 Cleanup 2019-10-28 20:22:32 +00:00