Arthur Hanson
ffce5d968d
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
jeremystretch
b0ba9bd83d
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:17:58 -04:00
jeremystretch
a0bae06ff7
Replace static journaling, changelog URL paths with dynamic resolution
2022-10-06 16:21:23 -04:00
jeremystretch
c481a1b6a2
Merge branch 'develop' into feature
2022-10-05 10:28:48 -04:00
jeremystretch
bdefd8ea8c
Fixes #10562 : Correct URL for contacts table tags column
2022-10-05 08:13:33 -04:00
jeremystretch
10352ff5ad
Merge branch 'develop' into feature
2022-09-30 17:17:18 -04:00
Arthur Hanson
af8bb0c4b9
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
Arthur
02ffc2ddee
10491 improve error message for ProtectedError on contact assignment
2022-09-30 09:09:21 -07:00
jeremystretch
f51415cf2c
Replace unique_together with UniqueConstraints
2022-09-27 15:35:24 -04:00
jeremystretch
2d9852d6f1
Fixes #10408 : Fix validation when attempting to add redundant contact assignments
2022-09-27 13:11:57 -04:00
Andreas Nieß
0b5478ad2d
Fixes #9895 : Change DictField serializers to JSONField
2022-08-29 08:02:38 +02:00
Arthur
8b1a462a60
#10094 changes from code review
2022-08-23 09:29:55 -07:00
Arthur
9fddd193b9
#10094 fix Contact AddAnother
2022-08-22 16:31:41 -07:00
jeremystretch
8cd5a24409
#9414 : Clean up clone_fields on all models
2022-08-11 09:58:37 -04:00
Kim Johansson
6904666e2a
Remove deprecated usage of prefetch_related
...
Fixes #9699
2022-07-30 01:18:30 +02:00
jeremystretch
abf11fbcb8
Merge branch 'develop' into feature
2022-07-20 12:20:33 -04:00
jeremystretch
e07dd3ddcb
Define NESTED_SERIALIZER_PREFIX constant
2022-07-15 15:31:42 -04:00
jeremystretch
3eb6b6c07f
Clean up core API imports
2022-07-13 16:18:55 -04:00
jeremystretch
c380fd00bf
Merge branch 'develop' into feature
2022-07-11 12:58:24 -04:00
jeremystretch
e2af716a81
#9686 : Add default accessor to TenantGroupColumn
2022-07-11 10:03:45 -04:00
Kim Johansson
bd60d46b82
Table mixin for Tenancy columns
...
A mixin to add the Tenant and Tenant Group columns to a table.
2022-07-10 15:08:55 +02:00
Kim Johansson
3c2a55a521
Add TenantGroupColumn to display Tenant Group on tables
...
Works the same as the existing TenantColumn, but displats the Tenant Group of
the Tenant.
Views should prefetch the Tenants Group for this to be efficient in large
tables.
2022-07-10 11:58:45 +02:00
jeremystretch
7dd5f9e720
Closes #9177 : Add tenant assignment for wireless LANs & links
2022-06-27 11:30:52 -04:00
jeremystretch
c81c3d11ed
Fixes #9495 : Correct link to contacts in contact groups table column
2022-06-09 10:20:44 -04:00
jeremystretch
36c65b7b22
Closes #8893 : Include count of IP ranges under tenant view
2022-06-07 11:12:40 -04:00
kkthxbye-code
8ad203f97a
Added contact_group to region, site, manufacturer, tenant filters
2022-05-14 17:53:40 +02:00
kkthxbye-code
aba4e03d3b
Add contact_group to ContactModelFilterSet
2022-05-14 17:48:37 +02:00
jeremystretch
39a9ebaeee
Fixes #9313 : Remove HTML code from CSV output of many-to-many relationships
2022-05-06 10:26:02 -04:00
jeremystretch
422ec7ecec
Fixes #9311 : Permit creating contact assignment without a priority via the REST API
2022-05-06 09:25:40 -04:00
jeremystretch
0301aec409
Closes #9260 : Apply user preferences to tables under object detail views
2022-05-04 15:46:13 -04:00
jeremystretch
c1b7f09530
Ensure legacy data checks run before other migrations
2022-04-05 15:56:21 -04:00
jeremystretch
cdacd2a951
Closes #8593 : Add link field to contact model
2022-03-30 16:19:12 -04:00
jeremystretch
ba1e6e91b9
Rename ObjectEditView.model_form to form
2022-03-21 10:22:30 -04:00
jeremystretch
8d53b46e82
Merge branch 'develop' into feature
2022-03-18 13:17:11 -04:00
Alex Gittings
50bc0caccf
Fix issues with ordering and add field_groups
2022-03-18 14:58:51 +00:00
jeremystretch
6170138124
Rename ActionsColumn sequence to actions
2022-03-14 13:45:21 -04:00
jeremystretch
245cff887c
Move q filter to NetBoxModelFilterSet
2022-03-11 16:16:58 -05:00
jeremystretch
59aba52b03
Rename OrderedDefaultRouter to NetBoxRouter & document for plugins
2022-03-11 15:59:03 -05:00
jeremystretch
ffc29d14a8
Add tags field to NetBoxModelForm
2022-03-10 15:08:23 -05:00
Alex Gittings
342f1d31be
fix pycodestyle issues
2022-03-09 17:55:45 +00:00
Alex Gittings
ef6576bdd6
merge develop into issue
2022-03-09 17:47:58 +00:00
Alex Gittings
27dab262de
add columns for each model table that has contacts
2022-03-09 17:35:25 +00:00
Alex Gittings
412c1df15a
acidentally removed NestedContactAssignmentSerializer in previous commit
2022-03-09 16:48:29 +00:00
Alex Gittings
73af3ba095
remove contacts from api endpoints
2022-03-09 16:45:19 +00:00
jeremystretch
bbdeae0ed9
Move CustomFieldModelViewSet functionality into NetBoxModelViewSet
2022-03-09 11:44:55 -05:00
jeremystretch
a11abf87ec
Refactor API serializers
2022-03-09 10:59:22 -05:00
jeremystretch
d4d2af46ac
Refactor tables modules
2022-03-03 15:16:23 -05:00
jeremystretch
fab4d95156
Merge branch 'develop' into feature
2022-02-25 14:06:45 -05:00
Djothi Carpentier
c137fa2022
Add description filter for Tenant & ContactRole
2022-02-25 18:15:33 +01:00
Alex Gittings
36d6dd1ca9
Fixes #8645 ; Allow filtering on core models in the UI and API for contact assignments
2022-02-24 17:08:38 +00:00