Commit Graph

558 Commits

Author SHA1 Message Date
Bill Zimmerman 78557aaf6b Added messages for Data usage 2018-09-19 10:24:31 +02:00
Bill Zimmerman 046a440029 Added messages for Data usage 2018-09-19 10:23:49 +02:00
billz 6e6567b925 Merge branch 'master' of https://github.com/billz/raspap-webgui 2018-09-19 08:15:11 +00:00
billz 1a8b114edf Added strings for Data usage 2018-09-19 07:29:45 +00:00
D9ping 93ce6b9d09 Merge branch 'master' of https://github.com/billz/raspap-webgui 2018-09-18 20:12:08 +02:00
Bill Zimmerman da1f602f86
Added vnstat to list of dependencies 2018-09-17 22:23:44 +02:00
billz 99a451a3e9 Style additions for data usage UI 2018-09-17 11:37:19 +00: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 79e6270dba Merge branch 'master' of https://github.com/billz/raspap-webgui 2018-09-14 00:20:10 +02:00
Bill Zimmerman 39605c14db
Merge pull request #233 from D9ping/translation-dutch
Bug fix should check http header, not session.
2018-09-13 23:33:59 +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 5113cfac88 Merge branch 'master' of https://github.com/billz/raspap-webgui 2018-09-13 00:16:35 +02:00
Bill Zimmerman 7eec560a7c
Updated translations with Nederlands (thx @D9ping) 2018-09-12 19:15:05 +02:00
Bill Zimmerman 988533a743
Merge pull request #232 from D9ping/translation-dutch
Dutch translations.
2018-09-12 17:25:50 +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 6397852591 Merge branch 'master' of https://github.com/billz/raspap-webgui 2018-09-07 20:30:17 +02:00
D9ping 76a1236eb6 Merge branch 'master' into bandwidthmonitoring 2018-09-06 23:12:41 +02:00
D9ping e90b9899a3 Merge branch 'master' of https://github.com/billz/raspap-webgui into bandwidthmonitoring 2018-09-06 21:31:38 +02:00
billz 8000364d70 Merge branch 'D9ping-Branch_D9ping' 2018-09-06 08:13:07 +00:00
billz e6784d7d2b Merge branch 'Branch_D9ping' of https://github.com/D9ping/raspap-webgui into D9ping-Branch_D9ping 2018-09-06 08:12:30 +00:00
Tom a492829052
Merge pull request #1 from billz/D9ping-Branch_D9ping
Mods to branch d9ping
2018-09-05 20:49:26 +02:00
billz 22c791e1f3 Standardized messages, modified php config install order 2018-09-05 12:59:49 +00:00
D9ping d67df7ebe7 Merge branch 'master' of https://github.com/billz/raspap-webgui into Branch_D9ping 2018-09-04 21:54:33 +02:00
Bill Zimmerman 9da474af43
Merge pull request #135 from matthova/master
Added access point walkthrough
2018-09-04 17:34:44 +02:00
billz e0e78cb0f9 Merge branch 'Branch_D9ping' of https://github.com/D9ping/raspap-webgui into D9ping-Branch_D9ping 2018-09-03 08:31:38 +00:00
D9ping 03f2620e48 Backup php.ini to $raspap_dir/backups folder.
Ask for before changing php configuration of httpOnly and opcache.
Do not change session.use_strict_mode, no extra question.
Ask to restore backup of php.ini from $raspap_dir/backups folder in uninstall.sh.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-31 23:38:30 +02:00
D9ping e428271ef2 Fix for #225, (Credits to DrStacheWH)
Removed duplicated create_logging_scripts function.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-27 23:10:56 +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 aa96780c0b Backup php configuration before changing it.
Removed support for disabling php extensions.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-24 10:36:20 +02:00
D9ping 8355c1cbfe Use sed regular expressions to deal with changing php configuration.
Don't try turn on not existing Zend Opcache under php 5<=
Turn on session.use_strict_mode if off.
Don't change decreated expose_php.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-23 00:44:12 +02:00
D9ping 19f123b0c4 WIP: Php default configuration hardening.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-21 23:43:50 +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
Bill Zimmerman 1ac167bf29
Merge pull request #223 from D9ping/Branch_D9ping
Fixed stray html option end tag.
2018-08-16 07:20:48 -07: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
Bill Zimmerman 833690a1b8
Merge pull request #220 from D9ping/Branch_D9ping
Multiple security fixes
2018-08-06 16:39:28 +02:00
D9ping 182a6509e9 Don't allow to read ini file everywhere on filesystem.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-06 15:02:57 +02: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
billz 6be3680f8f Merge branch 'randyoo-master'. Related to #196. Thanks @randyoo 2018-08-02 12:43:24 +00:00
billz 52b227992b Merge branch 'master' of https://github.com/randyoo/raspap-webgui into randyoo-master 2018-08-02 12:41:59 +00:00
billz 417f11ea1a Merge feature branch. Fixes #210 & #217. Thanks @D9ping 2018-08-02 12:36:55 +00:00
D9ping a86c8e4553 Fix for #211.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-07-31 23:51:15 +02:00