Commit graph

249 commits

Author SHA1 Message Date
billz
c1ddac7f4e Update release version 2019-12-01 11:15:08 +00:00
billz
ef2286152a Added includes/torproxy 2019-11-12 21:04:30 +00:00
billz
e3c5b0243c Added includes/openvpn 2019-11-12 16:00:51 +00:00
billz
f8b1f407f7 Added option to disable system tab. Thanks @sedgett 2019-11-08 08:20:47 +00:00
glaszig
313852a698 handle configuration in a conflict-free way
* config defaults in includes/defaults.php
* removed includes/config.php, added to gitignore
* during installation copy config/config.php
  to includes/config.php
2019-11-05 15:30:08 +01:00
billz
5a3f27ea73 Minor: fix indents 2019-11-01 09:09:38 +00:00
billz
23c60010b3 Update release version 2019-10-31 09:14:10 +00:00
billz
b72087db64 Fix: load linkquality.js 2019-10-31 09:06:35 +00:00
billz
c557a846f0 Update cookie cname, fix class to center sidebar toggler 2019-10-29 14:19:49 +00:00
billz
7ca6a859ef Read sidebar togglestate from cookie, conditonally load linkquality.js 2019-10-29 10:02:06 +00:00
billz
cd555f6b13 Update fontawesome icons 2019-10-24 23:34:22 +01:00
billz
b98f2f1a02 Classes for sidebar toggle/hide on small displays 2019-10-24 21:41:03 +01:00
billz
669fe09ea4 Removed *-gray classes 2019-10-20 18:30:42 +01:00
billz
741c14a583 Remove datatables js (redundant jquery) 2019-10-19 23:28:59 +01:00
billz
84dc254cb0 Added datatables css/js 2019-10-19 23:26:35 +01:00
billz
8b200b3aec Update sidebar w/ new fontawesome icon 2019-10-15 13:43:47 +01:00
billz
f31dcd3660 Update with bootstrap4-toggle 2019-10-15 01:17:42 +01:00
billz
5c5ff6c5bb Add linkquality.js 2019-10-14 11:33:02 +01:00
billz
2b6fa0c4df Work in progress 2019-10-13 23:48:09 +01:00
billz
dd7354fc84 Work in progress 2019-10-13 18:03:32 +01:00
billz
7712d9f4be Work in progress 2019-10-13 00:25:35 +01:00
billz
40e408dd98 Work in progress 2019-10-12 23:04:27 +01:00
billz
5b8f7056dc Update for sb-admin-2 4.0.7 2019-10-11 20:37:59 +01:00
billz
976ae2a6bb Update release version 2019-10-10 18:17:39 +01:00
billz
cee0f80164 Remove obsolete css reference, update comments 2019-10-08 19:22:55 +01:00
billz
0eece20f0b Update path 2019-10-08 19:09:39 +01:00
billz
11bdecf8b7 Update paths in line with gulp build 2019-10-08 18:35:32 +01:00
billz
40bc7a7d51 Update release version 2019-10-06 12:43:35 +01:00
Bill Zimmerman
f59faabf1d
Merge branch 'master' into feature/templates 2019-08-27 15:16:56 +02:00
billz
40d196c9cd Updated version and project title 2019-08-20 10:18:12 +01:00
glaszig
61f38ceda6 removed obosolete js file 2019-08-19 22:37:22 +02:00
glaszig
56097d5629 send proper csrf header 2019-08-08 00:14:12 +02:00
Bill Zimmerman
f6f85d1c11
Merge pull request #356 from glaszig/security/always-verify-csrf-token
always verify csrf token for resource-modifying requests
2019-08-07 21:53:39 +02:00
glaszig
c70433585a move all other favicon-types into dist/icons folder,
point to icons via link and meta tags,
leave favicon.ico in root old browsers,
added custom jekyll layout file to use the icons
for the project website as well.

https://help.github.com/en/articles/customizing-css-and-html-in-your-jekyll-theme
https://github.com/pages-themes/minimal/blob/master/_layouts/default.html
https://stackoverflow.com/a/48969053
2019-08-06 22:24:13 +02:00
glaszig
2104ccb91a favicons and sorts can stay in subdirectories
and be pointed to by proper meta tags.
do not copy these around during installation and poison the git tree.
2019-08-06 21:36:52 +02:00
glaszig
da69d3d768 send CSRF token in a response header,
update the page's CSRF tokens with the new token
from the response header,
verify csrf token in ajax endpoints,
initialize a session for every endpoint
2019-08-06 21:34:58 +02:00
glaszig
b9e9b7fe39 move csrf token initialization into function 2019-08-06 20:55:16 +02:00
glaszig
d53517a34a removed useless line of code 2019-08-06 20:55:16 +02:00
glaszig
20bb9fe42f add csrf meta tag (for use with xhr, for example) 2019-08-06 20:55:16 +02:00
glaszig
f989b8060b always verify csrf token for resource-modifying requests,
that is post, put, patch, delete
2019-08-06 20:55:16 +02:00
Bill Zimmerman
470d6ac707 Updated minor version 2019-06-12 21:14:26 +02:00
billz
a179ef05e0 Updated with hi-res icons. Resolves #321 2019-04-23 21:30:00 +00:00
billz
dd63294a37 Updated version number 2019-04-13 15:19:13 +00:00
billz
c0570b616e Processed with phpcs for PSR-2 coding standard 2019-04-10 08:37:35 +00:00
Bill Zimmerman
96717deea1
Merge pull request #297 from billz/wificlient-ap
Wifi client AP mode
2019-04-08 20:22:02 +02:00
billz
1e5dd6011b Updated with about page 2019-03-15 12:39:03 +00:00
billz
6b0373dee5 Added bootstrap-toggle css+js 2019-03-06 10:43:36 +00:00
billz
d1edf51c82 Added option to enable/disable wifi client config 2019-01-27 20:23:57 +00: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
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
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
a86c8e4553 Fix for #211.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-07-31 23:51:15 +02:00
billz
74842aac62 Minor nav label change 2018-05-29 22:44:18 +00:00
billz
c1fab759e4 Moved session_start() before includes 2018-05-29 18:52:41 +00:00
Bill Zimmerman
e29dc74e06 Fix indents 2018-05-27 22:41:21 +02:00
billz
23b7a76c6a Replaced strings with gettext() alias 2018-05-27 15:52:14 +00:00
Bill Zimmerman
d8f4f15db8
Merge branch 'master' into i18n 2018-05-27 10:42:54 +02:00
billz
2176988898 Updated with minified sb-admin-2.css 2018-03-09 10:08:52 +00:00
billz
902281294f Added vendor directory & gulp support for better dependency organization + compiling less & js files. added gulp
support for a browser sync task as well for easier development
2018-03-09 02:03:53 +00:00
Emmanuel Geoffray
3bcf16a3ba add globals to select visible services 2017-12-07 19:12:35 +00:00
billz
f6cfd65a55 Moved sublevel item to top level (for now) 2017-11-04 20:23:55 +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
d42e265365 Updated version number to reflect big functionality update 2017-10-28 02:44:45 +08:00
Lawrence
fe60945949 Removed commented out code from index.php. configuratin parameters have been moved to includes/config.php 2017-10-28 02:42:40 +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
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
6fb18e1649 Added gettext for i18n support 2017-10-23 17:37:59 +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
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
billz
508110a9c0 Support for themes 2017-10-06 23:08:06 +00:00
Lawrence
ecdf34467b Updating version and sudoers 2017-10-04 01:34:44 +08:00
Lawrence
0be196d708 Updated version numbers. Fixed up Sudoers file to include latest ip commands. 2017-10-04 01:06:47 +08:00
Lawrence
18fa472d2c Fixed email address typo 2017-10-03 12:32:30 +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
Joe Haig
20eb3b0107 Merge branch 'master' into dashboard 2016-08-16 20:44:22 +01:00
Joe Haig
fe3b0e9513 Move client wifi configuration into separate file 2016-08-12 17:00:43 +00:00
Joe Haig
095e1afa8c Move Dashboard function to separate file 2016-08-08 12:48:16 +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
bfb1332cdf Move HostAPD into separate file 2016-07-27 20:43:40 +00:00
Joe Haig
2131842fe7 Tidy up some whitespace
Sorry, I don't like tab indentation.
(and I definitely don't like a mixture of tab and space indentation)
2016-07-27 20:34:56 +00: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
Joe Haig
5c2492e785 Add CSRF token to password change page 2016-06-24 22:39:39 +01:00
Bill Zimmerman
43d17f2a96 Updated phpDoc header 2016-06-14 21:00:17 +02:00
Bill Zimmerman
dc76fd4d4a Updated panel icons + simplified header 2016-06-14 13:04:45 +02:00
zlolz
de7c0f7d79 Add System Info and System Control (foundation) 2016-06-12 00:17:44 +00:00
Joseph Haig
4e77adce33 Add simple authentication 2016-05-29 16:38:43 +01:00
Bill Zimmerman
3348bf7744 Updated favicon 2015-02-27 17:18:38 +01:00
Bill Zimmerman
f7ef0e7bf0 Updated branding 2015-02-27 16:12:26 +01:00
Bill Zimmerman
ae11bfe7fc Fixed nav collapse css issue 2015-02-25 15:18:46 +01:00
Bill Zimmerman
cb37f12f56 Stable, before fixing nav css 2015-02-25 14:06:48 +01:00
Bill Zimmerman
4b69104df5 Initial setup of project 2015-02-16 10:30:58 +01:00