Commit Graph

10 Commits

Author SHA1 Message Date
TheGreatDoc
c30d494505 Fixed edit dashboard permissions + moved to toastr (#9236)
* Fixed edit dashboard permissions + moved to toastr

* Moved $_POST to $vars
2018-09-20 12:21:38 -05:00
Tony Murray
32a7c50189 Use Laravel authentication (#8702)
* Use Laravel for authentication
Support legacy auth methods
Always create DB entry for users (segregate by auth method)

Port api auth to Laravel

restrict poller errors to devices the user has access to

Run checks on every page load.  But set a 5 minute (configurable) timer.
Only run some checks if the user is an admin

Move toastr down a few pixels so it isn't as annoying.

Fix menu not loaded on laravel pages when twofactor is enabled for the system, but disabled for the user.
Add two missing menu entries in the laravel menu

Rewrite 2FA code
Simplify some and verify code before applying

Get http-auth working
Handle legacy $_SESSION differently.  Allows Auth::once(), etc to work.

* Fix tests and mysqli extension check

* remove duplicate Toastr messages

* Fix new items

* Rename 266.sql to 267.sql
2018-09-11 07:51:35 -05:00
Tony Murray
7250376104 refactor: Don't access $_SESSION directly for Auth (#8513)
* Don't access $_SESSION directly for Auth

* fix style

* add property annotations
2018-04-07 21:55:28 +01:00
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
pblasquez
d2be07b49c Ajax headers for dashboard/config forms 2016-04-26 14:47:03 -07:00
Daniel Preussker
26d7851539 Fix permissions in update-dashboard-config.inc.php 2015-09-11 20:14:37 +01:00
Daniel Preussker
2ce10cf6df Add multiple dashboard support 2015-09-09 20:06:10 +01:00
Daniel Preussker
9951c98e70 Added edit-page
Added responsive resizing support for graph widget
2015-09-06 13:18:54 +01:00
Daniel Preussker
41cff31941 Allow multiple instances of the same widget 2015-09-05 15:53:43 +01:00
laf
261cd020f3 Moved forms folder to includes and added some safety checks for non-admin users 2015-08-10 15:13:27 +00:00