643 Commits
Author SHA1 Message Date
SourceDoctorandGitHub 17698a36f0 Natural Sort Applications by Display Name (#11577)
* Natural Sort Applications by Display Name

* some optimizations

* .
2020-05-15 18:32:09 +02:00
SourceDoctorandGitHub e305a39d31 Sort Health table alphabetic (#11586) 2020-05-12 15:51:30 -05:00
Lars Elgtvedt SusaasandGitHub aca95b5554 bugfix: addhost (web) snmp v3 not used first (#11536)
* Update addhost.inc.php

bugfix: push snmp v3 user settings to the front of the config array and not the back.

To reproduce the bug:
Force add new snmp v3 device.
The v3 settings added to the database will not be the same as entered in the webpage

* Update addhost.inc.php

Minor change in order to trigger travis build
2020-05-12 15:49:39 -05:00
louis-ouiandGitHub c9155bf5ea disable auto-refresh for notifications and alert history (#11589) 2020-05-11 23:07:14 +02:00
SourceDoctorandGitHub 38abff264a Show Hardware Details on Network Adapters in Inventory (#11545) 2020-05-11 20:28:42 +02:00
SourceDoctorandGitHub 8d3f39743a Application DisplayName in Overview Hover (#11576) 2020-05-09 20:34:14 +02:00
Vitali KariandGitHub 918cf86eae Add acknowledgment notes to eventlog (#11575) 2020-05-09 20:33:50 +02:00
ospfbgpandGitHub 05f3314061 Fix display of device modules (#11543) 2020-05-06 09:09:14 -05:00
SourceDoctorandGitHub d1f20bb045 Correct OS Overlib in Inventory (#11551) 2020-05-04 18:59:44 -05:00
Tony MurrayandGitHub 070cbc8d8e Fix apps overview link (#11535)
* Fix apps overview link
(easy way)

* more modern url
2020-05-03 12:57:51 +02:00
7f8b660c05 Update Table UI (#11529)
* Update Cisco Meraki logo

* Update table UI

* Revert "Merge branch 'master' of https://github.com/arjitc/librenms"

This reverts commit 05e52d51c3, reversing
changes made to a48207d78f.

* Update sensors-common.php

Co-authored-by: Tony Murray <[email protected]>
2020-05-02 17:52:17 -05:00
Vitali KariandGitHub 1108f7d530 MPLS updates and bugfixing (#11468)
* MPLS updates and bugfixing

* Tests

* tests

* code climate, tests

* tests

* tests

* remove nokiaIfName(), fetch ifName from the database instead

* restore from messed rebase

* tests

* btw, fix travis about the missing docs

* tests

* tests

* clean the messed up test data an generate new for timos

* rebase
2020-05-01 23:05:51 -05:00
Tony MurrayandGitHub 5ac05e9221 Fix new bill search input (#11524)
* Work around select2 in a modal

* Update select2
2020-05-01 21:49:36 -05:00
SourceDoctorandGitHub d941fbe91b Adjust RRDCached Event Graph Adjustment (#11528) 2020-05-01 21:46:58 -05:00
Arjit ChaudharyandGitHub 08a8f082ce sync bootstrapSwitch style with the other tabs (offColor danger) (#11513) 2020-05-01 14:13:31 +02:00
Arjit ChaudharyandGitHub e23329aa30 Limit port, seconds, retries, max repeats and max OIDs to numeric type (#11512) 2020-05-01 01:54:18 +02:00
Arjit ChaudharyandGitHub 5eef90b9ad put all the stats into the optionbar (#11501)
* put all the stats into the optionbar

* display output in 1 line
2020-05-01 01:30:33 +02:00
055abcf443 Device page dropdown hero button, Performance -> Latency (#11328)
* Throw some shit together, rough outline.

* Reorganize tabs, use tab controllers

* Implement performance (into the latency tab)

* Update resources/views/device/header.blade.php

Co-Authored-By: Jellyfrog <[email protected]>

* Add more tabs

* All controllers created

* Implement routes

* Implement smokeping

* routing and auth

* fix smokeping check

* Implement device dropdown menu

* Update deviceUrl to new style

* Use Gates

* Fix style

* use more appropriate gates

* add show-config gate
remove Laravel helper

* Only show vlan tab if VLANs exist for the device :D

* Fix rancid file check will return false

* revert over-zealous file name changes

* don't need to request the location parameter, just cast to string to avoid bugs when not found

* Move latency tab (ping/performance) to the position of performance instead of ping.

Co-authored-by: Jellyfrog <[email protected]>
2020-04-29 07:25:13 -05:00
SourceDoctorandGitHub e28b86a295 Fix - Show OS specific mouseover (#11457) 2020-04-26 13:11:13 +02:00
Hans ErasmusandGitHub aa68be59a2 Fixed a small typo (#11487) 2020-04-26 12:52:43 +02:00
Johan "Zwixxel" ZaxmyandGitHub 7bfc2f9f57 Fixes evaluation order so unathenticated access works (#11485) 2020-04-26 12:45:31 +02:00
Mathieu PoussinandGitHub fc391090e1 BGP Polling: Add error code management (#11424)
* BGP Polling: Add error code polling

* Rework describe_bgp_error_code and fix bgp error fields migration

* Add real test data for IOS-XR and Arista EOS
2020-04-24 22:47:20 -05:00
Tony MurrayandGitHub 52e1187314 Fix two more jpgraph (#11448)
* missed one jpgraph string

* missed one jpgraph string
2020-04-20 15:32:11 -05:00
Tony MurrayandGitHub 22dd4333d0 missed one jpgraph string (#11447) 2020-04-20 15:25:36 -05:00
SourceDoctorandGitHub d1bdbe2125 Alert rule in, not_in remove (#11437)
* Global Settings - Alert Default Settings

* Revert "Global Settings - Alert Default Settings"

This reverts commit a1af62b146.

* remove in, not_in cause of non functional
2020-04-19 12:23:44 +02:00
Tony MurrayandGitHub 1c08c11a77 Remove Laravel helpers (#11428)
* Remove Laravel helpers

* Replace qualifier with import
2020-04-18 00:37:56 +02:00
Tony MurrayandGitHub e4b49f59f6 Delete ports via eloquent event (#11354)
* Delete ports via eloquent event
Chunk delete during purge all operations so we don't use too much memory.

* protect against missing device

* fix whitespace

* fetch less from the database when deleting a device's ports
fix output
2020-04-16 09:19:58 -05:00
Tony MurrayandGitHub e2eea17ee8 Work around jpgraph bug (#11425)
apparently GD now returns false when getting the bounding box of empty strings, this causes jpgraph to throw an incorrect error.  Work around that by setting all possible text to a single space character.
2020-04-16 09:18:44 -05:00
Arjit ChaudharyandGitHub 7dfc2263e5 Prevent breaking of interface name into 2 words/parts (#11420) 2020-04-14 21:46:20 +02:00
4a6a0af489 honoring config option force_ip_to_sysname in bill creation and editing (#10382)
* honoring config option `force_ip_to_sysname` in bill creation and editing

* refactored variable name to match it in edit.inc.php

* forgot one variable

* and one more :S

* Update new_bill.inc.php

* Update edit.inc.php

* Update new_bill.inc.php

* Update edit.inc.php

* Update edit.inc.php

* Update edit.inc.php

Co-authored-by: Neil Lathwood <[email protected]>
Co-authored-by: Tony Murray <[email protected]>
2020-04-11 19:10:45 -05:00
Mathieu PoussinandGitHub 909035b180 BGP API: fix search by ipv6 when using compressed addresses (#11394)
* BGP API: fix search by ipv6
* BGP API: Add error when giving a wrong IP as parameter
2020-04-12 01:11:57 +02:00
Tony Murray d4ce98a5d9 Convert alert-schedule to new style
Improved sorting customization
2020-04-11 18:03:19 -05:00
Tony Murray 89bfecc926 fix up some ui issues 2020-04-11 11:01:52 -05:00
Tony Murray cf23336329 Fix SQL to handle outside times 2020-04-11 10:02:07 -05:00
Tony Murray 6b166cd13a WIP UI 2020-04-10 21:20:15 -05:00
Tony Murray 0bca7c99f4 Schedule creation updated 2020-04-10 18:34:55 -05:00
Tony Murray bf54634e4b Table display working (and using Eloquent) 2020-04-10 17:05:09 -05:00
Tony MurrayandGitHub 76e58b6cb2 Clarify that you can use IP or hostname to add device (#11393)
Remove overwrite IP when adding devices, it is very rare this should be used and the setting is misleading.
2020-04-09 23:39:37 +02:00
Mathieu PoussinandGitHub 29748fe306 BGP API: Allow to filter by local and remote peer address. (#11340) 2020-04-05 17:16:16 +02:00
Tony MurrayandGitHub 217969e140 Update php-codesniffer (#11368)
* PHPCS 3.5+

* Fix newly detected style issues
2020-04-03 08:41:24 -05:00
Tony MurrayandGitHub 7d2a1ae799 Display custom types as in the config file (with ucwords) (#11367)
* Display custom types as in the config file (with ucwords)

* filter same line
2020-04-02 23:38:38 +02:00
JellyfrogandGitHub 69280b3501 Fix dashboard html escaping and javascript redirect (#11370) 2020-04-02 23:33:18 +02:00
HaydenandGitHub e469d15493 check if lat/long exist for each device with link (#11366) 2020-04-02 10:49:28 +02:00
JellyfrogandGitHub daf451cef7 Convert overview page to laravel (#10757)
* Convert overview page to laravel

* Convert more pages

* More fixes
2020-03-31 23:03:02 -05:00
UrthandGitHub 8145e1c580 Fix bills api percentage calculation with cdr/quota of zero (#11352)
PHP allows division by zero but the api will fail when trying to encode
the response to json as reported at
https://github.com/librenms/librenms/pull/11295#issuecomment-604290389
2020-03-27 00:18:17 +01:00
Tony MurrayandGitHub a59ab553be Don't show deleted ports in device overview (#11344) 2020-03-25 15:10:14 +01:00
fusedsynapseandGitHub 68f957e0bc Fix invalid paths introduced in librenms/librenms#9883 (#11337) 2020-03-24 12:48:18 +01:00
8263046c00 Builder View Fix for Collection Selector (#11290)
* Builder View Fix for Collection Selector

* change rule, to set priority on builder rule like in backend code

* builder key existance verification

* Update alert_rule_collection.inc.php

Co-authored-by: Tony Murray <[email protected]>
2020-03-24 12:11:12 +01:00
PipoCanajaandGitHub b29103441e Use format_hostname in dependencies list (#11333) 2020-03-23 19:39:46 +01:00
SourceDoctorandGitHub 9802179030 Alert Rule - add Operator 'in' and 'not in' (#11327)
* Alert Rule - add Operator 'in' and 'not in'

* .
2020-03-23 08:36:44 -05:00