Tony Murray and GitHub
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
TheGreatDoc and Tony Murray
d475665601
Added BGP Peer Descriptions ( #9165 )
...
* Added BGP Peer Descriptions
* Fixed formatting
* Added to device routing tab too
* Some text formatting
* Test files
* Added default null to bgpPeerDescr
* Added db_schema.yaml
* Fix default value for bgpPeerDescr
* Fixed Order and Search box
* Added glyphicon for success/error
* Switch to toastr notification
* Removed unused bootstrap code
2018-09-10 22:54:46 -05:00
Tony Murray and Neil Lathwood
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 and GitHub
1d777693e1
feature: New IP parsing classes. Removes usage of Pear Net_IPv4 and Net_IPv6. ( #7106 )
...
* Refactor remove use of pear Net_IPv4 and Net_IPv6
Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%. Please test.
Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.
Add support for ipv6 fo ipInNetwork() function
Add phpdocs to functions
Remove accidental inclusion
Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()
tidy parsing cidr network
Change to a class based implementation.
Update phpdocs.
Fully catch exceptions for hex parsing.
Fix mistake.
support older phpunit versions
Fix php shifting to negative with php 5
* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.
* Also remove colons from hex strings.
* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
2017-08-08 14:14:58 -05:00
Ben Klang and Neil Lathwood
b7f1e09be5
webui: Updated bgp table to use bootstrap properly ( #6406 )
...
* Apply Bootstrap table spacing to BGP session list
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md
2017-04-12 22:30:01 +01:00
Neil Lathwood and GitHub
38cebc5fd7
feature: Added better BGP support for Arista ( #6046 )
...
* feature: Added better BGP support for Arista
2017-03-11 23:16:49 +00:00
Tony Murray and Neil Lathwood
cbaab1462f
Change the size of the bgp updates arrows. ( #5913 )
2017-02-15 23:16:03 +00:00
Richard Mayhew and Neil Lathwood
6a1fd3ec05
webui: Additional Font Awesome icons ( #5572 )
2017-01-25 17:42:26 +00:00
Neil Lathwood and Tony Murray
da5783d917
feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY ( #5327 )
...
* feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY
* fix all schema errors and update system
2017-01-07 11:32:38 -06: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
Neil Lathwood and GitHub
e09f5c552c
Merge pull request #3800 from murrant/rrd-create-remote
...
RRD Cleanup: centralize rrd_exists check, utilize data_update() and rrd_name()
2016-08-10 18:44:45 +01:00
laf
d56ff8b87f
More updates for junos bgp polling
2016-08-03 16:49:41 +01:00
Tony Murray
57650e4ffc
Remove nfs requirement for distributed poller (with rrdtool 1.5+)
...
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00
Aaron Daniels
4ebc2b1f33
- Modified code to use graph generation functions instead of calling overlib directly.
...
The graph generation functions check for the status of 'web_mouseover'.
2016-02-03 06:41:20 +10:00
Mike Rostermund
91bb7b9c1f
Fixed background color to white in a few overlib graphs
2015-11-27 08:31:08 -08:00
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
laf
88c838ca23
Added running status for bgp peers
2015-07-08 00:07:39 +01:00
laf
cc40aaeca6
Mainly for a scrut run
2015-06-09 23:39:05 +01:00
laf
d24a79f2ba
Webui updates for BGP
2015-06-09 14:30:31 +01:00
laf
77b9adabc2
More updates to bgp polling/disco and webui
2015-06-09 14:30:19 +01:00
Mike Rostermund
def585b784
Fixed typo in UI
2015-02-21 04:51:53 -08:00
Adam Amstrong
b273e04241
/// -> //
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55
# -> / for phpdoc
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong
4db1454e92
move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans
8df2b9b3f5
remove legacy variables, hopefully i didn't mess anything up
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3134 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 18:38:11 +00:00
Adam Amstrong
a12c71df4e
quadgraphs -> graphrow
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3093 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 16:49:38 +00:00
Tom Laermans
ebc03a87b2
change more tables to css colouring, some more to do but not for now...
...
git-svn-id: http://www.observium.org/svn/observer/trunk@3020 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-10 17:21:49 +00:00
Tom Laermans
2667649d3c
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2970 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-06 13:56:23 +00:00
Adam Amstrong
6a6ee9cb7f
fixes to graph widths
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2874 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-17 00:19:18 +00:00
Adam Amstrong
5dbfd5c855
remove shutdown sessions from alerted bgp session list
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2872 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-16 17:34:28 +00:00
Adam Amstrong
726df0ca5f
fixes to BGP global page
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2871 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-16 16:43:11 +00:00
Tom Laermans
a369c442eb
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 14:38:54 +00:00
Tom Laermans
2dc8b807e9
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2642 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 09:10:21 +00:00
Tom Laermans
ae558c7dbd
fixup device vlan tab
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2596 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-27 13:04:04 +00:00
Tom Laermans
6b8cba3d24
syntaxer run
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2580 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-26 16:06:18 +00:00
Adam Amstrong
6a8f2362a2
routing/bgp masterpiece!
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2579 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-26 14:53:55 +00:00
Adam Amstrong
50488aae88
border radius 4px on tabs. fix /routing/ almost fix /routing/bgp/
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2577 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-26 14:39:07 +00:00
Tom Laermans
83f822a423
fix bgp links
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2563 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-23 14:17:58 +00:00
Tom Laermans
9a1bee1458
more code cleanup (last commit for now)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:37:54 +00:00
Tom Laermans
d864ce234f
kill a whole bunch of trailing spaces
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Adam Amstrong
6c0d7a9c9a
more db*
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2329 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-16 09:38:44 +00:00
Tom Laermans
6e5558db82
cleanups etc
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2213 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-01 17:26:06 +00:00
Adam Amstrong
dddcf485dc
fixes and visual representation of CEF switching.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2211 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-01 12:37:43 +00:00
Adam Amstrong
7b13ceef8f
improve mac accounting (why was it in port? am i mental?)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2201 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-29 16:49:37 +00:00
Adam Amstrong
28558969c4
improvements to BGP stuff
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2200 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-29 16:32:55 +00:00
Adam Amstrong
b40b218f43
fix BGP a bit. move CEF to routing.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2102 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-19 21:54:43 +00:00
Adam Amstrong
a04e4b9fae
prettier BGP
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2098 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-18 16:56:51 +00:00
Tom Laermans
6233db61a0
fix more bgp links
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2095 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-18 11:50:49 +00:00
Adam Amstrong
23a6293c27
fixes to BGP displaying. better way of pointing out alerted things? (bordercolour = OMGRED!!!1!!TWELVE)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2094 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-18 11:28:42 +00:00
Adam Amstrong
89b0437a0c
moar
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2092 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-17 17:22:46 +00:00