Commit Graph

18 Commits

Author SHA1 Message Date
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
561846a44b fix: Fiedx issues with new config init (#8242)
* Fix non-config defaults

* update processConfig and remove file
2018-02-12 09:15:44 +00:00
Aldemir Akpinar
57c9151363 webui: Add bootgrid for authlog page, and fix poll-log searchbar layout on smaller screens (#6805) 2017-06-09 19:50:56 +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
Arjit Chaudhary
0e3d5a35ac Removed <hr> 2015-09-23 20:38:01 +05:30
Arjit Chaudhary
d055902487 Table UI fixes 2015-09-23 15:48:53 +05:30
Arjit Chaudhary
1f8c48ac66 Fixed :) 2015-08-29 22:35:13 +05:30
Arjit Chaudhary
c69596314a Added header to authlog page 2015-08-29 22:10:19 +05:30
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
6496e6ece4 Consistent date formatting from MySQL 2015-05-22 13:38:52 +01:00
Neil Lathwood
2cb5d727b4 Updated to support a demo user 2015-02-16 23:45:28 +00:00
Tom Laermans
a0a1939995 more title sets
git-svn-id: http://www.observium.org/svn/observer/trunk@2691 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-18 14:41:19 +00:00
Adam Amstrong
f1285f2e31 more db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2310 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 13:52:01 +00:00
Tom Laermans
d52305e1b0 widen authlog ip column for long v6 address
git-svn-id: http://www.observium.org/svn/observer/trunk@2189 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-28 09:09:37 +00:00
Tom Laermans
f55a30f744 some formatting cleanups, introduce some more FIXMEs to look at, plus replace mysql_fetch_array by mysql_fetch_assoc, for great justice
git-svn-id: http://www.observium.org/svn/observer/trunk@2029 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 13:54:50 +00:00
Tom Laermans
834989df95 restructure/reindent/htmlfix html pages, remove dead code
git-svn-id: http://www.observium.org/svn/observer/trunk@1897 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 00:09:20 +00:00
Adam Amstrong
1a1750b0c3 inc.php plx
git-svn-id: http://www.observium.org/svn/observer/trunk@1336 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-10 12:52:04 +00:00