Commit Graph

26 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
c22c879983 fix: Remove faulty memcached code (not related to distributed polling) (#7881) 2017-12-10 20:40:45 +00:00
NetworkNub
e5d248ea8a fix missing config entries on global settings page 2016-10-25 14:10:33 -04:00
Neil Lathwood
c71035bf1f fix: Stop displaying sensitive info in the settings page (#4724)
fix: Stop displaying sensitive info in the settings page
2016-10-09 20:48:10 +03:00
Tony Murray
5ce1fd207e Fix code style 2016-08-20 11:06:27 -05:00
Tony Murray
9babc10820 Use tabs for global settings 2016-08-20 10:16:56 -05:00
Tony Murray
7b7d7b3bfa Extra settings buttons
Fix issues with extra buttons from using v2, which doesn't set config_group
2016-08-20 08:08:24 -05: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
laf
2734cd327e Updated userlevel access on settings page 2015-12-14 22:01:01 +00:00
laf
e9deae1315 Centralised the date selector for graphs for re-use 2015-10-20 21:35:08 +00:00
laf
fcb584c897 Some page updates 2015-10-12 22:14:04 +00:00
laf
83ad9b36d2 Created generic function for dynamic config pages 2015-10-12 21:28:31 +00:00
Daniel Preussker
511f4e9037 Excluded more pages from caching 2015-09-30 20:27:12 +00:00
Arjit Chaudhary
4ddbcfe7e4 Added page title and header 2015-09-01 19:21:49 +05:30
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
5b57e75b2e Final work getting alerts dynconfig done 2015-05-28 17:00:26 +01:00
laf
b769af2459 More work on alerting config 2015-05-17 03:20:28 +01:00
laf
d0a0df4e88 More updates to dynconfig + alert settings 2015-05-16 14:06:48 +01:00
laf
8327466d14 Adding alerting config 2015-05-15 14:19:45 +01:00
laf
6e84535031 Dynamic config system 2015-05-14 21:54:33 +01:00
Neil Lathwood
2cb5d727b4 Updated to support a demo user 2015-02-16 23:45:28 +00:00
f0o
36b5683b0b Added nested table to represent $config in Global Settings page /settings 2015-01-10 07:28:40 +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
177d482f44 some prettier access denied pages, and updated about
git-svn-id: http://www.observium.org/svn/observer/trunk@1433 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-19 11:27:47 +00:00
Adam Amstrong
84745fe2c1 better name, and include in menu
git-svn-id: http://www.observium.org/svn/observer/trunk@1333 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-10 12:31:19 +00:00