Commit Graph

2856 Commits

Author SHA1 Message Date
Oliver Gorwits
6a7e732ea3 try to work around change from 5.36.0 to 5.36.1 2023-05-30 19:16:03 +01:00
Oliver Gorwits
517b20a325 update copyright year in license 2023-05-30 12:17:43 +01:00
Oliver Gorwits
0e010959f9 release 2.062000 2023-05-30 09:55:00 +01:00
Oliver Gorwits
9355f5c2b9 Refactored ACL support with multi-object compare
Squashed commit of the following:

commit 4081e22202693bd7c4ea00e95daad8e628c6fd5a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon May 29 21:02:07 2023 +0100

    large rename of check_acl* to acl_matches*

commit 3cfa284ddd24d68765c255578cc5c184afbdcd83
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri May 19 20:39:03 2023 +0100

    update permission doc

commit 8c7bb93cc5e9fafb770f98f446e45cbd94b14894
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed May 17 21:50:07 2023 +0100

    migrate most check_acl_only to acl_matches_only

commit c47f699f2a22f08f2f3e093ed0f24c891e6f9a82
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed May 17 21:39:19 2023 +0100

    rename check_acl* to be acl_matches*

commit a884a22c3ab1f3262118c3a47ed8e25b0b0a7336
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 14 16:50:42 2023 +0100

    update macsuck_no_deviceports to use acl_matches

commit 8c256af728721329b64d071fa529dfc844073ac6
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 7 22:54:33 2023 +0100

    update hide_deviceports to use acl_matches multi @things

commit cd5d9978aba1da459be4fed4500f395df13f7784
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 7 22:53:38 2023 +0100

    check_acl fix to allow all @things to offer a property before fallback to missing as empty string

commit 1a3ab9a7646e9f994f03126d45fc36e9e5a13ed5
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 2 15:31:17 2023 +0100

    add ignore_deviceports to portproperties discover; improve comments

commit 51385ce89458dc939587dae902fda431719c22c9
Merge: b97c07d2 3f8ffe78
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 2 15:21:48 2023 +0100

    Merge branch 'master' into og-acl_multidict

commit b97c07d237d750c1d9eb3095d8ff3908512eac2a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Mar 25 14:37:53 2023 +0000

    add support for arrayref of items, and unblessed hash, to check_acl
2023-05-29 21:32:07 +01:00
Oliver Gorwits
3f8ffe787f hooks only queued if their trigger job is successful (done) 2023-04-30 22:59:20 +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
d338c2d15a release 2.061001 2023-04-27 16:31:24 +01:00
Oliver Gorwits
0a1f1bcb73 api for actions (#1031)
* implementation of GET and DELETE for Job Queue API

* implement POST jobs submission to queue via API

* implement GET /queue/backends API endpoint to get backend names
2023-04-27 16:26:26 +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
678c5c03df release 2.061000 2023-03-29 11:39:34 +01:00
Oliver Gorwits
5c1e753c14 #1013 undef error in Nodes interfaces 2023-03-29 11:17:06 +01:00
Oliver Gorwits
701ef51a53 #990 API error: Not Authorized due to time zone calc error 2023-03-29 10:58:01 +01:00
Oliver Gorwits
6586815fc6 #1001 support for FQDN node search while domain_suffix is set; add fallback to IPv4 host lookup search 2023-03-16 15:53:25 +00:00
Oliver Gorwits
2b8a45ef08 better name for variable 2023-03-16 13:54:59 +00: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
062895df10 allow 3min for port last_change compare to uptime, do not assume wrapped 2023-03-15 08:07:45 +00:00
Oliver Gorwits
9fc79ed147 release 2.060010 2023-03-10 18:09:05 +00:00
Oliver Gorwits
1849735717 release 2.060009 2023-03-10 18:05:31 +00:00
Oliver Gorwits
e758a78c18 fix error with unused reports menu categories 2023-03-10 18:04:37 +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
Oliver Gorwits
91e783e96f fix bug with ILIKE/LIKE on UTF8 encoded field 2023-03-08 22:52:13 +00:00
Oliver Gorwits
137f84e0f9 release 2.060008 2023-03-08 17:18:06 +00:00
Oliver Gorwits
81e54b2d3c fix for ND2_DB_ROLLBACK on netdisco-db-deploy where it cannot work on initial schema setup 2023-03-08 17:04:50 +00:00
Oliver Gorwits
c6e0ad75b9 #985 allow netdisco-{deploy,do,db-deploy} on custom tenant with NETDISCO_DB_TENANT 2023-03-08 14:15:12 +00:00
Oliver Gorwits
db112d99cd #989 netdisco-deploy and netdisco-db-deploy respect ND2_DB_ROLLBACK 2023-03-08 13:49:02 +00:00
Oliver Gorwits
b33737a335 bump copyright year 2023-03-07 21:35:07 +00:00
Oliver Gorwits
3ee0c7692c #991 Recently Added Devices report 2023-03-07 20:42:20 +00:00
Oliver Gorwits
2848877d74 #977 add comment to netdisco-do renumber about device_identity 2023-03-07 20:15:54 +00:00
Oliver Gorwits
1505a8637b #952 support user-supplied net-snmp options in SNMP Transport 2023-03-07 18:17:30 +00:00
Oliver Gorwits
0ab2cb08e5 #986 advise users to use UTC 2023-03-07 09:36:53 +00:00
Oliver Gorwits
02537fbfba #921 IPs on Multiple Devices report 2023-03-06 21:37:10 +00:00
Oliver Gorwits
75f8ffdcc2 sort Report menu items by label 2023-03-06 20:28:51 +00:00
Oliver Gorwits
c033687ec1 #921 Devices with Multiple Addresses report 2023-03-06 17:14:03 +00:00
Oliver Gorwits
08a88f8337 support pseudo/offline device renumber and also pseudo device autovivification 2023-03-05 20:57:05 +00:00
Oliver Gorwits
6d596c3e0f release 2.060007 2023-03-03 15:40:22 +00:00
Oliver Gorwits
4bb9b25ae9 #901 node_ip time_last can be before time_first 2023-03-03 15:34:16 +00:00
Oliver Gorwits
1d00ebc91e #949 inconsistencies in time values due to time zone handling 2023-03-03 15:01:06 +00:00
Oliver Gorwits
9ade0b21dd #949 replace other occurances of now() with LOCALTIMESTAMP 2023-03-03 14:56:24 +00:00
Oliver Gorwits
214b98d28f #949 replace other occurances of now() with LOCALTIMESTAMP 2023-03-03 14:22:21 +00:00
Oliver Gorwits
cbc32eb032 #949 replace other occurances of now() with LOCALTIMESTAMP 2023-03-03 14:21:18 +00:00
Oliver Gorwits
d9a384d1d0 #949 replace other occurances of now() with LOCALTIMESTAMP 2023-03-03 14:17:38 +00:00
Oliver Gorwits
29402f0726 #949 replace now() with LOCALTIMESTAMP and cast to_timestamp() as ::timestamp 2023-03-03 14:08:10 +00:00
Oliver Gorwits
de1ec0dc67 #981 inspect ports lastchange for uptime wrap only after filtering ports 2023-02-27 18:00:21 +00:00
Oliver Gorwits
692a797f7c #478 csv 2023-02-25 16:54:04 +00:00
Oliver Gorwits
252c9c7e66 #478 rewrite wireless client count report which was bobbins 2023-02-25 14:07:44 +00:00