11 Commits

Author SHA1 Message Date
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
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
b63c2ac3bf webui: device page refresh (#7963)
* various device page style fixes and alignments with new look

* blank line fix
2017-12-28 23:36:49 -06:00
245a1fe015 fix for alert graph not showing 2016-09-18 15:26:44 +03:00
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
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
f0o
c27cb00eae Fixed unsanitized variable in Alert-Stats 2015-04-25 10:44:24 +00:00
laf
384c037613 Removed php echo - not needed 2015-04-15 13:01:35 +01:00
laf
14e8195b26 Changed to exlcude ok state + user configurable for resolution 2015-04-15 12:55:34 +01:00
laf
73fb0ca7ff Updated alert_log query to get alerts based on minute interval 2015-04-15 12:35:20 +01:00
8a68c91f4f Basic Alert Stats Page
- Diagrams from visjs
- Basic Alert Stats Global Page
- Basic Alert Stats Device Specific Page

Big thanks to lafwood for the help.
2015-04-12 01:10:48 +02:00