Commit Graph

349 Commits

Author SHA1 Message Date
Oliver Gorwits
6b80626a29 better job queue stats in web 2023-10-27 15:32:06 +01:00
Oliver Gorwits
0631d59345 smoother refresh on jobqueue 2023-10-26 17:05:49 +01:00
Oliver Gorwits
21bc8cf63e backend field in jobqueue (#1114)
implements #969
2023-10-24 21:49:37 +01:00
Oliver Gorwits
d6e36dcad0 change order of totals in jobqueue report 2023-10-24 20:07:22 +01:00
Oliver Gorwits
ae3ad986f7 #969 add job queue totals to report 2023-10-24 20:03:14 +01:00
Oliver Gorwits
b1e253465a filtered web queue (#1113)
implements #969 partially
2023-10-24 18:29:48 +01:00
Oliver Gorwits
993edd0c6a ACL support for scheduled jobs (#1106)
implements #580
2023-09-27 12:03:49 +01:00
Oliver Gorwits
389823bf09 fix egregious typo in default config 2023-09-26 17:12:56 +01:00
Oliver Gorwits
370d483c5a add internal worker plugin to set fqdn for cli actions 2023-09-26 09:27:14 +01:00
Ambroise
f65e2970ba Update the statistics template to add an option to open external URL in (#1104)
a new tab
2023-09-26 09:23:11 +01:00
Oliver Gorwits
c27fa94e8c also show unknown/unknown platforms and releases in inventory 2023-09-24 20:56:56 +01:00
Oliver Gorwits
c651ff107b collapse on inventory for long lists (#1103)
implements #1083
2023-09-19 08:11:05 +01:00
Oliver Gorwits
3a820c06e4 #1084 move slow skiplist build to the first job on running backend 2023-09-05 22:55:33 +01:00
Oliver Gorwits
eb87ee00ee #1081 change ethernetCsmacd+notPresent ports from ignored to hidden 2023-09-02 19:24:52 +01:00
Oliver Gorwits
a0f4bbfbb4 #1081 change ethernetCsmacd+notPresent ports from ignored to hidden 2023-08-31 21:50:48 +01:00
Oliver Gorwits
3912134306 #1071 improve understanding of IP Inventory Last Seen column 2023-08-31 21:46:27 +01:00
Oliver Gorwits
bb15abce58 allow deferrable_actions exceptions to device deferrals 2023-08-12 19:51:05 +01:00
Oliver Gorwits
9eb537a4c1 #910 implement import of snmpwalk and more robust snapshot handling (#1086)
* initial work

* initial work

* initial work

* some fixes for time and Layer3 weird spec

* store again the snapshot after update for specific

* resolve the enums

* monkeypatch SNMP::translateObj to avoid hardware exception on macOS

* only save cache to db in the late phase worker

* no need to check for cache on transport, can just go ahead and try

* use database only for oidmap instead of netdisco-mibs

* rewrite device snapshot to gather loaded mib leafs only

* remove old walker code from snapshot worker

* allow snmp browser to work without snapshot

* only store snapshot leafs which the device responded on

* refactor to separate snapshot work from snmp transport work

* refactor to separate snapshot work from snmp transport work

* allow typeahead on MIB qualified leafs

* fixes for snmpwalk input after previous refactor

* add the extra stuff SNMP::Info device class uses into snapshot

* better width for snmp search box

* fix css for snmp options

* add spinner while snmp loading

* add spinner while snmp loading

* add spinner while snmp loading

* support SNMP::Info device class or named MIBs as extra on snapshot

* add final tidy and bug fix
2023-08-10 22:27:02 +01:00
Oliver Gorwits
47c4226788 refactor CustomFields so with_custom_fields is available on backend 2023-07-20 16:51:04 +01:00
Oliver Gorwits
04ee1e1613 #1064 display device and device port tags in web ui 2023-07-19 13:01:51 +01:00
Oliver Gorwits
4b99f0bb9c #1064 implement setting of tags on discovery based on config 2023-07-19 11:24:41 +01:00
Oliver Gorwits
f72acb6006 #1064 implement tags in database and ACL 2023-07-19 11:15:49 +01:00
Oliver Gorwits
eac55a581d #1066 implement snmp_try_slow_connect and fast device discover from queue 2023-07-14 17:37:52 +01:00
Oliver Gorwits
0eb26159f9 #1060 portctl_topology setting for web access to manual topo for port_control users 2023-07-12 21:53:38 +01:00
Oliver Gorwits
d7bdcc8edb delete device is now always a job 2023-07-01 09:37:27 +01:00
Oliver Gorwits
ef4e3f5181 explicitly use SameSite=Lax Cookie Attribute for dancer.session cookies 2023-06-28 16:39:24 +01:00
Oliver Gorwits
39562e0633 avoid CSS vulnerability in Job Queue page 2023-06-28 11:26:43 +01:00
Oliver Gorwits
8e0aa3a309 #975 RBAC for port control with new portctl_by_role setting 2023-06-28 10:00:01 +01:00
Oliver Gorwits
2cbb68889a #975 RBAC for port control with new portctl_by_role setting 2023-06-27 22:52:04 +01:00
Oliver Gorwits
bb046f036e tune the portvlanmismatch and include domain name in report view 2023-06-19 21:28:23 +01:00
Oliver Gorwits
f14e495e49 use new faster portvlanmismatch query without duplication 2023-06-13 17:41:20 +01:00
Oliver Gorwits
1aef847af3 add "phone" to phone_platforms default config for additional phones not using capabilities 2023-06-08 16:14:20 +01:00
Oliver Gorwits
b5a8f685ab add missing validate_remote_user default to config 2023-06-08 16:14:20 +01:00
Christian Ramseyer
5d6697b035 Add indexes for custom_fields in device + device_port (#1045) 2023-06-08 16:12:59 +01:00
Oliver Gorwits
3b4236ed90 fix mistaken release with device ports partial search default as on 2023-06-06 07:03:54 +01:00
Oliver Gorwits
339ecd429a #1038 ability to set "partial" default "on" in device ports sidebar 2023-06-05 17:50:32 +01:00
Oliver Gorwits
4391d60b99 upgrade jquery to 1.12.4 to fix XSS vuln 2023-06-05 17:37:57 +01:00
Oliver Gorwits
195f98dff1 make safe the api calls with potential for demo site damage 2023-06-05 17:28:34 +01:00
Oliver Gorwits
01928fa85d #1037 add new names for vlan 1003 and 1005 in Cisco-land 2023-05-31 20:10:38 +01:00
Oliver Gorwits
ac959ff6a6 add links for API, config, sponsor, to user menu 2023-05-31 17:35:43 +01:00
Oliver Gorwits
11bca7b80e add links for API, config, sponsor, to user menu 2023-05-31 14:46:46 +01:00
Oliver Gorwits
949aeb9eea delete hook (#1032)
* make log_message optional in delete_device

* add hooks support to delete job

* make delete job high prio

* web delete now queues job instead of inline delete

* move web logging into web package and remove userlog from device delete helper

* submit delete job for expire device instead of inline delete

* fixes to get web submit form for delete device to work

* enable delete hook functionality
2023-04-30 22:58:42 +01:00
Oliver Gorwits
e268b9d522 #1010 Search port descriptions 2023-04-03 22:02:43 +01:00
Oliver Gorwits
5baad7311d fix cosmetic bug in search text strikethrough when in tenant 2023-04-03 21:44:28 +01:00
Oliver Gorwits
d73ca69b82 Merge remote-tracking branch 'origin/master' 2023-03-16 11:34:08 +00:00
Oliver Gorwits
653ea75935 always make a sidebar for custom reports with bind params; add show_sidebar setting 2023-03-16 11:32:36 +00:00
Oliver Gorwits
4de2a916fc fix nonimpacting error in template html 2023-03-16 11:31:34 +00:00
Oliver Gorwits
1d988bbf7c implement ignore_layers, force_macsuck, force_arpnip config settings (#1002)
* implementation of ignore_layers, force_macsuck, force_arpnip and macwalk

* use new WalkJobs view to get devices needing macsuck

* also new query for discoverall, arpwalk, nbtwalk

* faux record has a last_defer stamp so we can see when the backend started

* fix typo
2023-03-15 14:44:42 +00:00
Oliver Gorwits
67a6e6560d better term 2023-03-09 21:03:13 +00:00
Oliver Gorwits
9fd1e71b8b #974 show all chassis serials in device details 2023-03-08 22:56:18 +00:00