Commit graph

359 commits

Author SHA1 Message Date
billz
5e374f3b84 Added locale support for Chinese simplified, thanks @BANKA2017 2018-10-17 15:51:27 +00:00
D9ping
9f5cf8a069 Allow empty passphrase to be entered on no security. #208
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-14 03:22:54 +02:00
D9ping
2104f620bc Allow creating not secured wi-fi. Fixes #208
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-12 13:05:15 +02:00
D9ping
ee41ed7e0f Added support for hidding SSID. Implement idea from #247.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-10 20:11:10 +02:00
D9ping
28f0c18c5a Merge branch 'master' into 802.11N 2018-10-04 18:07:07 +02:00
D9ping
73f5e4f2da Properly use for attribute for label tags on hostapd page.
Added support for id attribute for SelectorOptions function.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 22:20:06 +02:00
D9ping
b10b538896 Allow channel 14 for Japan in 802.11b mode.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 16:40:45 +02:00
D9ping
bf638dc2f2 Added support for selecting to use 802.11N
Limit channel selection for north america.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 14:40:55 +02:00
Tom
ec1f8022fe
Fix xss in interface parameter. 2018-10-02 12:58:50 +02:00
D9ping
f925a01807 Properly selected ininite lease if ininite is selected.
Made time units translatable.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-25 21:49:54 +02:00
D9ping
b9a1692d61 Merge branch 'master' into Branch_D9ping 2018-09-25 21:33:50 +02:00
D9ping
b292ee218c Fix for #240
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-25 21:32:31 +02:00
Bill Zimmerman
c0152612bf
Merge pull request #231 from D9ping/bandwidthmonitoring
Data usage monitoring page
2018-09-17 10:20:45 +02:00
D9ping
183f04f53f Enable data usage page by default.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-14 01:07:23 +02:00
D9ping
3bf4a74f3b Renamed bandwidth.php to data_usage.php.
Removed unused status_messages.php include in data_usage.php.
Use single quote style in bandwidthcharts.js.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-14 01:06:13 +02:00
D9ping
1526ae6b86 Fixed check client http header, not session.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-13 00:23:08 +02:00
D9ping
e4107870e8 Add dutch translations.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-12 16:43:23 +02:00
D9ping
b3d7c06c60 Translatable strings in bandwidthcharts.js.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-11 21:00:23 +02:00
D9ping
23d2718854 Renamed vnstat.php to bandwidth.php.
Disabled bandwidth page by default.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-11 16:15:31 +02:00
D9ping
7c3820d9ab Use seperate container for chart and datatable.
Cleanup unused code comments.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-10 21:41:35 +02:00
D9ping
7b2f42f326 Added Morris.Js chart and jquery.datatable to bandwidth page.
Use ajax for getting bandwidth data.
Added support for adding extra scripts in footer if needed.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-10 16:53:05 +02:00
D9ping
6d37fd79fa Added RASPI_VNSTAT_ENABLED to config.php.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-24 21:16:05 +02:00
D9ping
d6d89df024 Display bandwidth use total per day, week, month from vnstat.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-21 16:42:04 +02:00
D9ping
5988dab56e Fixed html option end tag.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-16 14:48:47 +02:00
Bill Zimmerman
a02b525fc1 Added missing double-quote. Fixes #222. Thanks @seebz 2018-08-15 11:30:24 -07:00
D9ping
fb7ba20055 Fixed php notices log messages.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-06 01:18:11 +02:00
D9ping
bbea02cc54 Fix for #212
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-04 14:03:14 +02:00
D9ping
2b03fa316d Escape client input, console output etc. before doing any echo.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-04 02:05:56 +02:00
D9ping
2ad03e1035 Fix for #210.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-07-31 23:37:52 +02:00
billz
55c6e332cc Label change, thanks Tino 2018-06-16 21:55:12 +00:00
billz
9dd2fc2b65 Added locale support for de_DE, thanks Tino 2018-06-15 18:23:47 +00:00
billz
ff4385753c Fixes #188. Thanks @bluthen 2018-06-12 17:08:27 +00:00
billz
ae171cfe46 Initial caps for locales in select list 2018-06-12 16:45:11 +00:00
billz
65f38845a3 Added local support for sv_SE 2018-05-29 22:20:08 +00:00
billz
b4c3fe1bd3 Added locale support for sv_SE 2018-05-29 22:19:27 +00:00
billz
534d44c03d Added language tab and selector 2018-05-29 19:16:40 +00:00
billz
2b8e37880e Bugfix: set locale SESSION var 2018-05-29 18:55:08 +00:00
billz
53cdbd2528 Added support for pt_BR, thx @dalmago 2018-05-28 20:36:08 +00:00
billz
b674f4f209 Mode change 2018-05-27 15:51:43 +00:00
billz
be4ccda6f7 Replaced strings with gettext() alias 2018-05-27 15:51:06 +00:00
billz
244148cbee Cleaned up locale detection 2018-05-27 15:50:16 +00:00
billz
628a60893d Replaced strings with gettext alias 2018-05-27 15:48:42 +00:00
billz
a21d633a77 added version to constants 2018-05-27 15:47:09 +00:00
Bill Zimmerman
164fd733b9
Updated with locale settings 2018-05-27 10:45:34 +02:00
Bill Zimmerman
d8f4f15db8
Merge branch 'master' into i18n 2018-05-27 10:42:54 +02:00
billz
2a05284be6 Specifies interface with -i option and wpa_cli. Resolves #163 2018-03-28 10:09:58 +00:00
Russ Marshall
5c04c1dbca preserve priority in wpa_supplicant.conf 2018-02-25 09:08:21 -05:00
Russ Marshall
ff36dbb3b4 support for 5GHz channels 2018-02-19 08:13:20 -05:00
Bill Zimmerman
75f6d53555
Merge pull request #140 from emmanuelgeoffray/master
Select wireless interface for wifi client, add globals to select services, memory output fix
2018-02-11 11:14:01 +01:00
arduino-man
d4010bd866
Patch dashboard.php to take dots in ESSID's
Patched dashboard.php so that the dashboard can display ESSID's that have dots in their names such as "kayton-2.4G". This was done by modifying the regex on line 38.
2017-12-26 11:55:30 -07:00
Emmanuel Geoffray
4325f9a9cf
Fixed memory used 2017-12-07 20:49:12 +01:00
Emmanuel Geoffray
674c38a54e
Reset to default config 2017-12-07 20:14:20 +01:00
Emmanuel Geoffray
3bcf16a3ba add globals to select visible services 2017-12-07 19:12:35 +00:00
Emmanuel Geoffray
3228114dd8 add global to select wireless interface for wifi client 2017-12-07 19:00:48 +00:00
billz
3b8a832cae Modified column class for better mobile compatibility 2017-11-06 12:38:57 +00:00
billz
d38ae7f334 Standardize UI elements 2017-11-04 20:24:23 +00:00
Lawrence
28513a91ee Removing conflict 2017-11-04 12:56:51 +08:00
Lawrence
39d743ae89 merge from upstream 2017-11-04 12:53:29 +08:00
Lawrence
068c4c519e Merge from Upstream 2017-11-04 12:49:48 +08:00
Bill Zimmerman
ef9dcbe06c
Merge branch 'master' into i18n 2017-11-02 23:41:33 +01:00
billz
8d1370e2fd Removed debug output 2017-11-02 20:46:46 +00:00
billz
c88d027ec6 Added standard div wrapper to new tab 2017-11-02 18:43:52 +00:00
Lawrence
f61cc31b20 Created new branch off master to help troubleshoot with #132 2017-11-02 22:43:41 +08:00
Lawrence
604b28130f Updating to help troubleshoot #132
Added the scripts to disable and enable logging for hostapd
Updated sudoers to allow running scripts
2017-11-02 22:33:11 +08:00
Lawrence
7845c8908b Initial commit to enable logging for hostapd 2017-11-02 22:13:36 +08:00
billz
03b5c6a695 Fixed typo. Thanks @bebora for catching it 2017-10-29 22:59:14 +00:00
Lawrence
8d77295fd3 Updated sudoers to accomodate restarting dhcpcd to apply network settings.
Updated installer to insert new lines
Created files to generate / modify / save dhcpcd files and networking configuration
2017-10-30 02:21:34 +08:00
Lawrence
6e786e41c2 Updating index to create new menu, custom.js with new code, moved config parameters from index.php to its own file 2017-10-29 12:31:51 +08:00
Lawrence
7749b79e2f Implemented start of web interface to update Static IP addresses or use DHCP.
Currently saves to files in /etc/raspap/networking, still need to build something to generate a working config for dhcpcd
2017-10-28 02:40:30 +08:00
billz
fc0df01a19 Adding gettext() to form button 2017-10-24 21:07:03 +00:00
billz
f43ecbeb95 Formatting 2017-10-24 13:51:12 +00:00
billz
1d41ef6da2 Updated static labels with gettext() 2017-10-24 13:50:43 +00:00
billz
4c94d29668 Updated static labels with gettext() 2017-10-24 13:50:30 +00:00
billz
ff18f84fd8 Updated static labels with gettext() 2017-10-24 13:50:17 +00:00
Bill Zimmerman
0374e41b62 Fixed typo in message 2017-10-24 12:26:00 +02:00
billz
039c00b0e2 Typo in description 2017-10-24 08:34:20 +00:00
billz
ebe2d4d3a4 Added es_ES to list of supported languages 2017-10-24 07:18:23 +00:00
billz
1212ef51f7 Added constants for locales 2017-10-23 20:02:39 +00:00
billz
062d5aeb4f Replaced interface labels with gettext() 2017-10-23 19:51:34 +00:00
billz
c8ca228dad initial commit 2017-10-23 17:28:51 +00:00
billz
5cc5d2528e mode change for consistency 2017-10-23 17:28:51 +00:00
billz
89e0e3f38a mode change for consistency 2017-10-23 17:28:50 +00:00
billz
81cd6391a4 mode change for consistency 2017-10-23 17:28:50 +00:00
Lawrence
64a7cb9d62 Merging upstream to repo 2017-10-23 00:27:33 +08:00
Lawrence
77316709e1 Creating networking interface to change between Static / Dynamic IPs 2017-10-23 00:26:49 +08:00
Lawrence
5c6991dfe5 Merge pull request #119 from SirLagz/master
Added a Web Console
2017-10-21 20:35:37 +08:00
Lawrence
241e3ddff9 Updating layout of webconsole page 2017-10-21 20:30:15 +08:00
Lawrence
f18b5785c8 Merge branch 'master' of https://github.com/SirLagz/raspap-webgui 2017-10-14 12:56:23 +08:00
Lawrence
4d04155895 Added webconsole to system pane, added tabs to system pane to allow for webconsole to be hidden/shown 2017-10-14 12:55:42 +08:00
Lawrence
a24d3d8f86 Moved RASPI_ADMIN_DETAILS file check to the admin.php page which will now create the file if it doesn't exist - to resolve #116. Commented out check on index.php 2017-10-14 11:36:42 +08:00
billz
8a501c075f Persist selected theme in dropdown 2017-10-09 14:04:59 +00:00
Bill Zimmerman
b6fe00b880 Merge pull request #115 from billz/theme-support
Support for themes
2017-10-08 18:19:11 +02:00
billz
63dc84764f Removed inline style 2017-10-06 23:18:42 +00:00
billz
508110a9c0 Support for themes 2017-10-06 23:08:06 +00:00
Lawrence
afa8e2d4aa Merge branch 'master' of https://github.com/billz/raspap-webgui 2017-10-04 01:30:16 +08:00
Lawrence
1fc0615452 Updated install script with new sudoers lines required. Updated uninstall script to resolve lighttpd directory contents not being removed
Updated dashboard.php file to remove IP addresses when taking wlan0 down.
2017-10-04 01:28:57 +08:00
billz
56c9fccda7 Fixed style class for rescan btn 2017-10-03 17:22:48 +00:00
Lawrence
1fcb82ff8d Still removing debug code 2017-10-04 00:19:43 +08:00
Lawrence
29aabf1bbe Removing debug code 2017-10-04 00:15:53 +08:00
Lawrence
47f6366bf9 Changed the dashboard to use ip rather than ifconfig for Jessie/Stretch compatibility 2017-10-04 00:09:50 +08:00
Lawrence
42381a2aef Updating dashboard to use ip rather than ifconfig 2017-10-03 12:46:02 +08:00
Lawrence
34c22e43a8 Merge pull request #105 from royord/resetButtonOnly
Reset button only
2017-10-03 11:53:33 +08:00
Lawrence
61d450d1c7 Fixed up a whole bunch of undefined variable warnings. Added a check to make sure raspap.auth exists before trying to include it. 2017-10-02 03:10:04 +08:00
Lawrence
a36e525f98 Fixed up PHP notices. Added text when IP Address, MAC Address, and Subnet mask aren't found.
Also added function to backup configuration files /etc/network/interfaces and /etc/hostapd/hostapd.conf files if found.
2017-10-01 20:54:16 +08:00
royord
df8f15acba rescan button moved into a better home 2017-09-15 04:42:49 +00:00
royord
348e3a07b4 added rescan 2017-09-15 04:27:25 +00:00
Bill Zimmerman
7048a991c8 Resolves #76 2017-06-03 14:25:11 +00:00
Bill Zimmerman
85992a67b7 Moved alert above tabs for consistency 2017-05-25 09:40:37 +00:00
Bill Zimmerman
aa08e64043 Fixed misplaced /div 2017-05-19 14:56:07 +00:00
Bill Zimmerman
66a211429b Resolves #60 2017-05-19 14:00:47 +00:00
Bill Zimmerman
d9baf397d4 Resolves #66 2017-05-19 13:44:51 +00:00
Bill Zimmerman
261c90473d Resolves #49 2017-05-19 13:25:47 +00:00
Joseph Haig
80fd46ff82 Merge pull request #59 from Headhunterzpw/master
Update dhcp.php
2017-03-20 16:01:37 +00:00
Jesse Geerts
ee288c32ca Update dhcp.php
Added ( ) for the 's' in the minutes, hours and days to make it look nicer
2017-03-17 18:40:41 +01:00
Challon Holt
0dce1fefcb Update system.php
Added Revision for Pi Zero 1.3 and PiZero W
2017-03-08 16:24:42 -05:00
Joe Haig
8e179f0614 Set form actions correctly 2016-09-11 20:48:12 +01:00
Joe Haig
20eb3b0107 Merge branch 'master' into dashboard 2016-08-16 20:44:22 +01:00
Joe Haig
66d6f3766c Find bitrate and signal level correctly
Also, display signal level as just a number rather than a graph
2016-08-15 12:45:37 +00:00
Joe Haig
f730aa1ffb Use status class 2016-08-15 12:25:20 +00:00
Joe Haig
9492330196 Indicated connected network 2016-08-14 17:25:53 +00:00
Joe Haig
b353dd77a8 Add password length check
Also remove most of the rest of the javascript as it is unused.
2016-08-14 16:56:13 +00:00
Joe Haig
e953e68556 Redo 'Configure client' page 2016-08-14 16:40:59 +00:00
Joe Haig
a87d7ee869 Allow open networks 2016-08-12 21:22:21 +00:00
Joe Haig
ad76f7651a Split out php from html 2016-08-12 20:53:44 +00:00
Joe Haig
c7ed97dd8b Change method of calculating channel and security 2016-08-12 17:29:56 +00:00
Joe Haig
fe3b0e9513 Move client wifi configuration into separate file 2016-08-12 17:00:43 +00:00
Joe Haig
4611bcc615 Change tabs to spaces 2016-08-08 21:37:44 +01:00
Joe Haig
095e1afa8c Move Dashboard function to separate file 2016-08-08 12:48:16 +00:00
Joe Haig
bdfcf270a7 Show Raspberry Pi revision information 2016-08-08 12:38:15 +00:00
Joe Haig
7406a5050c Move system page into separate file 2016-08-08 12:31:19 +00:00
Joe Haig
bff9dfbbbc Some validation on POST data 2016-08-05 20:38:02 +00:00
Joe Haig
671016e685 Add CSRF to hostapd config
And tidy things up a bit
2016-08-05 15:50:05 +01:00
Joe Haig
15a4ece433 Move function to save HostAPD config too 2016-07-27 20:48:27 +00:00
Joe Haig
bfb1332cdf Move HostAPD into separate file 2016-07-27 20:43:40 +00:00
Joseph Haig
bfae272b0f Better checking 2016-07-09 03:46:21 +01:00
Joseph Haig
46894ef91e Fix checking dnsmasq starting/stopping 2016-07-09 03:34:48 +01:00
Joseph Haig
3b043950de Add CSRF to DHCP form
Also, separate out into separate file and refactor
2016-07-09 01:26:13 +01:00
Joseph Haig
c65ddd010f Tabs to spaces 2016-07-09 01:00:53 +01:00
Joseph Haig
a28b926b3a Move status messages into new class 2016-07-09 00:55:03 +01:00
Joseph Haig
d92b01e8f2 Fix tabbing 2016-06-26 17:25:59 +01:00
Joe Haig
5c2492e785 Add CSRF token to password change page 2016-06-24 22:39:39 +01:00
Joe Haig
d431c3f767 Permit flags in the config 2016-06-19 23:23:03 +01:00
Joe Haig
443c75390a Set $status to avoid error 2016-06-19 23:01:22 +01:00
Joe Haig
2e8c97d421 Correctly find Received Bytes 2016-06-19 22:50:36 +01:00
Joe Haig
098caa1262 Remove spurious ' character 2016-06-19 22:16:32 +01:00
Bill Zimmerman
94a7465395 Updated panel icon 2016-06-14 13:06:19 +02:00
Bill Zimmerman
18a9fd8999 Updated panel icon + standarized label 2016-06-14 13:05:39 +02:00
zlolz
638f2e6d3d add cpu load bar, colour mem and cpu bars baased values (ok, warning, danger) 2016-06-12 04:16:59 +00:00
zlolz
de7c0f7d79 Add System Info and System Control (foundation) 2016-06-12 00:17:44 +00:00
zlolz
96e179e501 hostapd & dhcpd -- ensure all interfaces are selectable 2016-06-11 05:17:47 +00:00
Joe Haig
a3e37866e6 Clean up 2016-05-29 17:45:07 +01:00
Joseph Haig
4e77adce33 Add simple authentication 2016-05-29 16:38:43 +01:00
Joe Haig
926d7ba13b Add more PHP_EOLs 2016-05-28 21:12:02 +01:00
Joe Haig
98a9822897 Avoid breaking hostapd config file with tabs 2016-05-28 20:19:19 +01:00
Bill Zimmerman
ba9a3355df Replaced short tags for compatibility 2015-11-04 11:52:13 +01:00
Bill Zimmerman
5f8dce6271 Removed debug output 2015-02-28 10:59:43 +01:00
Bill Zimmerman
27bdfcda16 Debug DisplayWPAConfig 2015-02-27 16:11:56 +01:00
Bill Zimmerman
ae11bfe7fc Fixed nav collapse css issue 2015-02-25 15:18:46 +01:00
Bill Zimmerman
d5678d622e Added assets + dependencies 2015-02-25 14:08:14 +01:00