Commit Graph

2983 Commits

Author SHA1 Message Date
Arthur Hanson
8fd293bc1c 7961 CSV bulk update (#10715)
* 7961 add csv bulk update

* temp checkin - blocked

* 7961 bugfix and cleanup

* 7961 change to id, add docs

* 7961 add tests cases

* 7961 fix does not exist validation error

* 7961 fix does not exist validation error

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 update tests

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 make test cases more explicit

* 7961 optimize loading csv test data

* 7961 update tests remove redundant code

* 7961 avoid MPTT issue in test cases
2022-10-27 13:10:18 -04:00
jeremystretch
e09958486d Closes #9832: Add mounting_depth field to rack model 2022-10-27 10:50:54 -04:00
jeremystretch
c18eb4f679 Closes #9887: Inspect docs_url property to determine link to model documentation 2022-10-27 09:44:09 -04:00
jeremystretch
c9e46b7812 Changelog for #10666 (missed in v3.3.6) 2022-10-26 15:11:44 -04:00
jeremystretch
f8424ddefc Closes #10761: Enable associating an export template with multiple object types 2022-10-26 13:30:45 -04:00
jeremystretch
42b4660b77 Closes #8274: Enable associating a custom link with multiple object types 2022-10-26 11:39:26 -04:00
jeremystretch
9a7a3e5793 Merge branch 'develop' into feature 2022-10-26 10:25:49 -04:00
jeremystretch
cd5088ce99 PRVB 2022-10-26 10:23:50 -04:00
jeremystretch
de21de794a Release v3.3.6 2022-10-26 09:58:31 -04:00
jeremystretch
abbf100669 Fixes #10682: Correct home view links to connection lists 2022-10-26 09:32:29 -04:00
jeremystretch
fee8fd6812 Fixes #10719: Prevent user without sufficient permission from creating an IP address via FHRP group creation 2022-10-26 08:44:20 -04:00
jeremystretch
03636ac212 Fixes #10723: Distinguish between inside/outside NAT assignments for device/VM primary IPs 2022-10-26 08:23:50 -04:00
jeremystretch
d20c0aa44a Fixes #10745: Correct display of status field in clusters list 2022-10-25 16:41:07 -04:00
jeremystretch
e16ccf30ae Fixes #10746: Add missing status attribute to cluster view 2022-10-25 16:38:32 -04:00
jeremystretch
2adc148744 Closes #10739: Introduce get_queryset() method on generic views 2022-10-25 11:33:20 -04:00
Jeremy Stretch
68cf700a3e Closes #10560: New global search (#10676)
* Initial work on new search backend

* Clean up search backends

* Return only the most relevant result per object

* Clear any pre-existing cached entries on cache()

* #6003: Implement global search functionality for custom field values

* Tweak field weights & document guidance

* Extend search() to accept a lookup type

* Move get_registry() out of SearchBackend

* Enforce object permissions when returning search results

* Add indexers for remaining models

* Avoid calling remove() on non-cacheable objects

* Use new search backend by default

* Extend search backend to filter by object type

* Clean up search view form

* Enable specifying lookup logic

* Add indexes for value field

* Remove object type selector from search bar

* Introduce SearchTable and enable HTMX for results

* Enable pagination

* Remove legacy search backend

* Cleanup

* Use a UUID for CachedValue primary key

* Refactoring search methods

* Define max search results limit

* Extend reindex command to support specifying particular models

* Add clear() and size to SearchBackend

* Optimize bulk caching performance

* Highlight matched portion of field value

* Performance improvements for reindexing

* Started on search tests

* Cleanup & docs

* Documentation updates

* Clean up SearchIndex

* Flatten search registry to register by app_label.model_name

* Clean up search backend classes

* Clean up RestrictedGenericForeignKey and RestrictedPrefetch

* Resolve migrations conflict
2022-10-21 13:16:16 -04:00
jeremystretch
c18a7f09bc Merge branch 'feature' into 8366-job-scheduling 2022-10-20 17:03:57 -04:00
jeremystretch
fd3435cb4c Changelog for #9584, #10580, #10639 2022-10-20 16:31:52 -04:00
jeremystretch
a8ec25d635 Merge branch 'develop' into feature 2022-10-20 16:07:03 -04:00
jeremystretch
b5d77a7776 Fixes #10712: Fix ModuleNotFoundError exception when generating API schema under Python 3.9+ 2022-10-20 15:49:13 -04:00
kkthxbye-code
1781414a7a Allow scheduling jobs via. the API 2022-10-20 21:36:43 +02:00
jeremystretch
718a85cf58 Closes #10699: Remove custom import_object() function 2022-10-19 10:40:39 -04:00
jeremystretch
5acc7a941b Changelog for #10643, #10646 2022-10-19 09:02:09 -04:00
jeremystretch
cedc528a4b Revert PR #10621 2022-10-19 08:55:30 -04:00
jeremystretch
99925720f9 Closes #10685: Position A/Z termination cards above the fold under circuit view 2022-10-18 16:51:37 -04:00
kkthxbye-code
d92e689a1c Added documentation describing job scheduling 2022-10-16 18:15:45 +02:00
Arthur
f1944bce18 10631 add extra GraphQL documentation 2022-10-13 08:08:26 -04:00
jeremystretch
327b79908c Changelog for #8245 2022-10-12 13:43:31 -04:00
jeremystretch
63e5728c79 Changelog for #10575, #10596 2022-10-12 08:41:41 -04:00
Arthur Hanson
597578f5c3 10571 replace deprecated mkdoc settings (#10622)
* 10571 replace deprecated mkdoc settings

* Omit landing page from docs nav menu

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-12 08:36:02 -04:00
jeremystretch
89e63f54c3 Changelog for #9817, #10595 2022-10-11 12:35:50 -04:00
Arthur Hanson
f63ee79a35 8927 plugin search (#10489)
* #7016 base search classes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 8927 refactor search

* 8927 refactor search

* 8927 refactor search

* 8927 refactor search

* 8927 get search choices working

* 8927 cleanup - optimize

* 8927 use backend search function

* 8927 fix for plugin search

* 8927 add docs

* Move search app to a module under netbox/

* Utilize global registry to register model search classes

* Build search form options from registry

* Determine search categories from model app by default

* Enable dynamic search registration for plugins

* Update docs & improve plugin support

* Clean up search backend class

* Docs for #8927

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-10 14:00:59 -04:00
Jeremy Stretch
f470f9620b Merge pull request #10597 from netbox-community/9072-plugin-view-tabs
#9072: Custom model view tabs for plugins
2022-10-07 15:22:04 -04:00
jeremystretch
2a065f7603 Docs and test for #9072 2022-10-07 15:03:52 -04:00
jeremystretch
56f2747e77 Changelog for #9478 2022-10-06 16:54:19 -04:00
jeremystretch
2351c53e77 Changelog for #10556 2022-10-05 15:53:50 -04:00
jeremystretch
388170b9c2 Changelog for #9669, #9722 2022-10-05 12:04:47 -04:00
Jeremy Stretch
a0f9906faf Merge pull request #10567 from scanplus/ldap-ca-cert
Added LDAP_CA_CERT_* to LDAP settings
2022-10-05 12:01:39 -04:00
jeremystretch
cd34f23465 Merge branch 'develop' into feature 2022-10-05 10:28:48 -04:00
jeremystretch
8bb27a4aca PRVB 2022-10-05 10:13:02 -04:00
jeremystretch
1d40c41603 Release v3.3.5 2022-10-05 09:47:55 -04:00
Tobias Genannt
8351ca3a2a Added LDAP_CA_CERT_* to LDAP settings
These options can be used to specify a CA certificate to validate the LDAP
server certificate
2022-10-05 14:28:30 +02:00
jeremystretch
1a87ca810d Fixes #10562: Correct URL for contacts table tags column 2022-10-05 08:13:33 -04:00
jeremystretch
b1eb8b768c Fixes #10559: Permit the pinning of a VM to a particular device within a cluster which has no site assignment 2022-10-04 15:46:55 -04:00
jeremystretch
e4705fb8b6 Fixes #10423: Enforce object type validation when creating journal entries 2022-10-04 15:26:52 -04:00
jeremystretch
0b23092c35 Fixes #10460: Restore missing connection details for device components 2022-10-03 16:11:24 -04:00
jeremystretch
11df4a4e53 Fixes #10517: Automatically inherit site assignment from cluster when creating a virtual machine 2022-10-03 15:35:45 -04:00
jeremystretch
639b0935b5 Changelog for #10352 2022-10-03 15:03:28 -04:00
jeremystretch
d48b15a559 Changelog for #8424, #10491 2022-10-03 13:58:04 -04:00
jeremystretch
e3e3656a70 Closes #10346: Document how to access plugin config parameters 2022-10-03 13:56:46 -04:00
jeremystretch
8d6c315513 Fixes #10513: Disable the reassignment of a module to a new device 2022-10-03 11:11:51 -04:00
jeremystretch
679a731f2c Changelog for #9880 2022-09-30 17:30:18 -04:00
jeremystretch
be18d8e389 Docs cleanup 2022-09-30 17:18:12 -04:00
Jonathan Senecal
addd7fecfb Update plugins development docs 2022-09-30 17:18:12 -04:00
jeremystretch
4a4fea40f5 Merge branch 'develop' into feature 2022-09-30 17:17:18 -04:00
jeremystretch
dc85a56118 Changelog for #9654, #10348 2022-09-30 16:37:07 -04:00
Arthur Hanson
57cbd5243d 9654 device weight (#10448)
* 9654 add weight fields to devices

* 9654 changes from code review

* 9654 change _abs_weight to grams

* Resolve migrations conflict

* 9654 code-review changes

* 9654 total weight on devices

* Misc cleanup

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-09-30 16:31:04 -04:00
Arthur Hanson
84f997dff4 10348 add decimal custom field (#10422)
* 10348 add decimal custom field

* 10348 fix tests

* 10348 add documentation

* Rearrange custom fields to be ordered consistently

* Rename number_field to integer_field for clarity

* Clean up validation logic

* Apply suggested changes from PR

* Store decimal custom field values natively

* Fix filter test

* Update custom field model migrations to use new encoder

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-30 16:03:24 -04:00
jeremystretch
9327341ad1 Changelog for #9045, #9046, #9071 2022-09-28 17:18:31 -04:00
Jeremy Stretch
5f550fecbe Merge pull request #10441 from netbox-community/9071-plugin-menu
9071 add header to plugin menu
2022-09-28 17:08:10 -04:00
jeremystretch
222ee23c00 Add documentation for PluginMenu 2022-09-28 16:44:16 -04:00
jeremystretch
8ba74fa337 Refactor navigation resources and menu 2022-09-28 15:56:09 -04:00
jeremystretch
544d3bbbfb Fixes #10496: Use page.canonical_url to identify ReadTheDocs builds 2022-09-28 09:30:38 -04:00
jeremystretch
6693570832 Changelog for #9249 2022-09-27 16:52:14 -04:00
jeremystretch
8019761364 Fixes #10408: Fix validation when attempting to add redundant contact assignments 2022-09-27 13:11:57 -04:00
jeremystretch
48df2874c7 Changelog for #10465, #10480 2022-09-27 11:53:11 -04:00
jeremystretch
ecb31214cb Changelog & cleanup for #9892 2022-09-27 09:55:35 -04:00
Jeremy Stretch
6382958b60 Merge pull request #10424 from netbox-community/9892-fhrpgroup-name
9892 fhrpgroup name
2022-09-27 09:48:11 -04:00
Arthur
1baf35c9dc 9071 add documentation 2022-09-26 14:41:46 -07:00
jeremystretch
8b6ad9da55 Fixes #10470: Omit read-only custom fields from CSV import forms 2022-09-26 16:47:34 -04:00
jeremystretch
2f20fa7e08 Fixes #10461: Enable filtering by read-only custom fields in the UI 2022-09-26 16:42:11 -04:00
jeremystretch
971a0556d7 Fixes #10445: Avoid rounding virtual machine memory values 2022-09-26 15:45:58 -04:00
Arthur
055dd4ce6d 9892 add supporting tests, form fields 2022-09-26 11:39:43 -07:00
jeremystretch
2b65e1311a Merge branch 'develop' into feature 2022-09-26 11:55:58 -04:00
jeremystretch
d9e0780fb7 Changelog for #10435, #10439 2022-09-26 10:27:35 -04:00
Arthur Hanson
e6cc0911af 10407 fix documentation link to requests (#10409)
* 10407 fix documentation link to requests

* Append page heading to URL

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-26 09:17:02 -04:00
Arthur
ee8752a94a Merge branch 'develop' into feature 2022-09-20 08:52:37 -07:00
Daniel Sheppard
db8f4223b2 Update changelog for #9497 2022-09-20 09:49:46 -05:00
Daniel Sheppard
b19fe81c15 Fixes #9651 - Document Pre-Change process for scripts 2022-09-20 09:46:23 -05:00
Arthur
d46a239597 Merge branch 'develop' into feature 2022-09-19 15:51:54 -07:00
jeremystretch
c107ae3c86 PRVB 2022-09-16 13:41:09 -04:00
jeremystretch
b19c7c3d53 Release v3.3.4 2022-09-16 13:14:14 -04:00
jeremystretch
f0ddc3642f Fixes #10383: Fix assignment of component templates to module types via web UI 2022-09-16 08:30:46 -04:00
jeremystretch
00ddcc2212 Fixes #10387: Fix MultiValueDictKeyError exception when editing a device interface 2022-09-16 08:20:24 -04:00
jeremystretch
364ed2b6ac Merge branch 'develop' into feature 2022-09-15 14:30:24 -04:00
jeremystretch
2956e477d8 PRVB 2022-09-15 14:29:43 -04:00
Arthur
ed00bb829d Release v3.3.3 2022-09-15 11:04:12 -07:00
jeremystretch
924fa11063 Fixes #10353: Table action buttons should reserve return URL parameters 2022-09-15 13:40:39 -04:00
jeremystretch
9d7e9871e1 Fixes #10337: Display SSO links when local authentication fails 2022-09-15 13:17:04 -04:00
Jeremy Stretch
26fbd275d9 Merge pull request #10369 from netbox-community/10359-add-region-column
#10359 add region column to site table
2022-09-15 13:07:59 -04:00
jeremystretch
1156531ff6 #10359: Add region and site group columns to the devices table 2022-09-15 12:55:21 -04:00
jeremystretch
0025a5c75a Changelog for #10247, #10258, #10305, #10362 2022-09-15 10:14:16 -04:00
jeremystretch
d250c5c149 Closes #10358: Raise minimum required PostgreSQL version from 10 to 11 2022-09-14 17:10:14 -04:00
jeremystretch
0bf0bf848f Closes #10314: Move clone() method from NetBoxModel to CloningMixin 2022-09-13 14:36:37 -04:00
jeremystretch
70416bb0fe Closes #9577: Add has_front_image and has_rear_image filters for device types 2022-09-13 14:14:18 -04:00
jeremystretch
552e53ce99 Changelog for #8580, #10333 2022-09-12 17:17:53 -04:00
jeremystretch
a1931e099d Changelog for #10304, #10307 2022-09-09 17:08:12 -04:00
jeremystretch
f226d984c9 Changelog for #10250, #10294 2022-09-08 16:50:16 -04:00
Jeremy Stretch
53cb7d802b Merge pull request #10286 from netbox-community/10259-prefix-flat-link
Fixes #10259: Fix NoReverseMatch exception when listing available prefixes with "flat" column displayed
2022-09-08 16:47:27 -04:00
jeremystretch
8508aa76a8 Annotate upgrade paths in upgrade documentation 2022-09-08 10:17:46 -04:00