Commit Graph

110 Commits

Author SHA1 Message Date
jeremystretch
16587255cf Fixes #11185: Fix TemplateSyntaxError when viewing custom script results 2022-12-15 12:55:09 -05:00
jeremystretch
3e24689149 PRVB 2022-12-14 14:24:46 -05:00
jeremystretch
a24429311c Release v3.4.0 2022-12-14 13:10:22 -05:00
jeremystretch
78f0bb3004 Closes #11163: Auto-detect data format during bulk import 2022-12-14 10:09:59 -05:00
jeremystretch
0b409e3540 Clean up v3.4 release notes 2022-12-12 16:49:00 -05:00
jeremystretch
ab20470b69 Fixes #11154: Index VM interface MAC address and MTU for global search 2022-12-12 10:43:48 -05:00
jeremystretch
6c955b5e2a Closes #10675: Add max_weight field to track maximum load capacity for racks 2022-12-09 12:45:02 -05:00
jeremystretch
9065ec80b6 Closes #10371: Add operational status field for modules 2022-12-09 10:43:29 -05:00
jeremystretch
d6b6cb51c9 Fixes #10950: Fix validation of VDC primary IPs 2022-12-09 09:49:01 -05:00
jeremystretch
8ec9422555 Changelog for #10945 2022-12-08 18:18:51 -05:00
jeremystretch
084b6ac4a1 Changelog for #11022 2022-12-08 10:00:21 -05:00
jeremystretch
481241a77d Changelog for #11000, #11046 2022-12-02 13:02:13 -05:00
jeremystretch
8697fe71e2 Closes #11090: Add regular expression support to global search engine 2022-12-02 12:54:35 -05:00
jeremystretch
4457d174b6 Fixes #10984: Fix navigation menu expansion for plugin menus comprising multiple words 2022-11-21 08:38:44 -05:00
jeremystretch
9cbaf59327 Fixes #10982: Catch NoReverseMatch exception when rendering tabs with no registered URL 2022-11-21 08:06:12 -05:00
jeremystretch
08ef820b9e Fixes #10973: Fix device links in VDC table 2022-11-18 16:33:06 -05:00
jeremystretch
6e05fd72e7 Fixes #10980: Fix view tabs for plugin objects 2022-11-18 16:26:08 -05:00
jeremystretch
0cb898fe7d Closes #815: Enable specifying terminations when bulk importing circuits 2022-11-18 15:22:24 -05:00
jeremystretch
1c4a6f6f53 Changelog for #10946, #10948 2022-11-17 12:41:24 -05:00
jeremystretch
81ee92f9ab Fixes #10957: Add missing VDCs column to interface tables 2022-11-17 12:29:30 -05:00
jeremystretch
2350557d90 #8366: Add started field to JobResult 2022-11-15 15:06:11 -05:00
jeremystretch
d4717a4889 #8366: name scheduled_time to scheduled for consistency with other fields 2022-11-15 13:37:13 -05:00
jeremystretch
e5f3ff8ff9 #4347: Rename NetBoxModelCSVForm to NetBoxModelImportForm 2022-11-15 12:24:57 -05:00
jeremystretch
20afa9b2c3 Add missing milestones to release notes 2022-11-14 17:07:39 -05:00
jeremystretch
0a49ecbfac Changelog for #4751, #10694, #10851 2022-11-14 14:06:30 -05:00
jeremystretch
8a6143efdb Changelog & documentation for #7854 2022-11-11 08:25:44 -05:00
jeremystretch
92b8da8aa9 #4347: Changelog & cleanup 2022-11-10 11:05:44 -05:00
jeremystretch
d8b60e70e7 Closes #10052: The cf attribute now returns deserialized custom field data 2022-11-04 14:53:18 -04:00
jeremystretch
4eb2c387c3 Changelog for #7376, #10710 2022-11-04 13:46:15 -04:00
Jeremy Stretch
acc750ad70 Closes #10545: Standardize description & comment fields on primary models (#10834)
* Standardize description & comments fields on primary models

* Update REST API serializers

* Update forms

* Update tables

* Update templates
2022-11-04 08:28:09 -04:00
jeremystretch
3c74cb97d3 Closes #8485: Enable journaling for all organizational models 2022-11-03 13:31:51 -04:00
jeremystretch
e97e39a479 Closes #10698: Omit app label from content type in table columns 2022-11-02 16:26:26 -04:00
jeremystretch
be56bb22cf Closes #10821: Enable data localization 2022-11-02 15:55:39 -04:00
jeremystretch
5ef76f2b2a Closes #10820: Switch timezone library from pytz to zoneinfo 2022-11-02 15:54:41 -04:00
jeremystretch
67799fa422 Closes #10697: Move application registry into core app 2022-11-02 15:25:22 -04:00
Arthur Hanson
c42b209f79 8853 Prevent the retrieval of API tokens after creation (#10645)
* 8853 hide api token

* 8853 hide key on edit

* 8853 add key display

* 8853 cleanup html

* 8853 make token view accessible only once on POST

* Clean up display of tokens in views

* Honor ALLOW_TOKEN_RETRIEVAL in API serializer

* Add docs & tweak default setting

* Include token key when provisioning with user credentials

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-02 12:45:00 -04:00
jeremystretch
c55cb7a5ed Closes #10816: Pass the current request when instantiating a FilterSet within UI views 2022-11-02 11:00:09 -04:00
jeremystretch
b4099b2091 Changelog for #10781 2022-10-31 15:17:24 -04:00
jeremystretch
f51d378408 Changelog for #7961 2022-10-27 13:24:20 -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
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
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
718a85cf58 Closes #10699: Remove custom import_object() function 2022-10-19 10:40:39 -04:00
jeremystretch
327b79908c Changelog for #8245 2022-10-12 13:43:31 -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
679a731f2c Changelog for #9880 2022-09-30 17:30:18 -04:00
jeremystretch
dc85a56118 Changelog for #9654, #10348 2022-09-30 16:37:07 -04:00
jeremystretch
9327341ad1 Changelog for #9045, #9046, #9071 2022-09-28 17:18:31 -04:00
jeremystretch
6693570832 Changelog for #9249 2022-09-27 16:52:14 -04:00
jeremystretch
ecb31214cb Changelog & cleanup for #9892 2022-09-27 09:55:35 -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