Jeremy Stretch
8de5fa0ae2
Introduce NestedGroupModelSerializer
2021-02-25 17:15:42 -05:00
Jeremy Stretch
1faf3cadf7
Update object edit template to use fieldsets where possible
2021-02-25 13:51:48 -05:00
Jeremy Stretch
b58ad1384e
Standardize model types based on function
2021-02-24 21:01:16 -05:00
Jeremy Stretch
8823162432
Upgrade Django to 3.2b1
2021-02-24 19:00:14 -05:00
Brian Candler
183831c2c4
Raise exceptions for other inconsistencies when migrating custom field data
...
Fixes #5573
2021-01-05 15:05:17 +00:00
Jeremy Stretch
de9cdaef6c
Fixes #5558 : Fix regex validation support for custom URL fields
2020-12-31 10:21:01 -05:00
Jeremy Stretch
1ffc5f32e4
Closes #5549 : Eliminate extraneous database queries when using brief API calls
2020-12-29 11:41:44 -05:00
Jeremy Stretch
5e643def2c
Closes #5531 : Ensure consistent calls to parent clean() methods for models, forms
2020-12-28 12:54:42 -05:00
Jeremy Stretch
69a7136678
Fixes #5543 : Fix rendering of config contexts with cluster assignment for devices
2020-12-28 10:45:23 -05:00
Jeremy Stretch
3e90dc9154
Fixes #5510 : Fix filtering by boolean custom fields
2020-12-21 11:47:11 -05:00
Jeremy Stretch
68eafb180a
Rename get_subquery() to count_related()
2020-12-17 14:47:49 -05:00
Jeremy Stretch
cfbe7ec948
Call Coalesce() inside get_queryset()
2020-12-17 14:45:50 -05:00
Christian Loos
d84f0c234a
Fixes #5123 : Add tests for custom field select changelog
2020-12-16 18:50:55 +01:00
Jeremy Stretch
8f24db6a80
Tweak validation for custom date fields
2020-12-15 16:00:18 -05:00
Jeremy Stretch
911fa30c62
Fixes #5466 : Fix validation for required custom fields
2020-12-15 15:56:42 -05:00
Daniel Sheppard
b3999381f9
Fixes : #5450 - Added Coalesce to viewsets for the _count functions
2020-12-15 12:50:28 -06:00
Jeremy Stretch
d4535bc5c5
Merge branch 'develop' into develop-2.10
2020-12-11 16:57:04 -05:00
John Anderson
7c6986f235
fixes #5387 - Fix error when rendering config contexts when objects have multiple tags assigned ( #5447 )
2020-12-11 16:20:46 -05:00
Jeremy Stretch
458aeb9cce
Fixes #5446 : Fix validation for plugin version and required settings
2020-12-11 16:05:50 -05:00
Jeremy Stretch
2ea14c5464
Merge branch 'develop' into develop-2.10
2020-12-10 10:26:15 -05:00
Jeremy Stretch
4c406cdfd7
Closes #5424 : Allow passing Python code to nbshell using --command
2020-12-08 16:14:52 -05:00
Jeremy Stretch
030909261d
Closes #4711 : Rename Webhook.obj_type to content_types
2020-12-02 14:49:07 -05:00
Jeremy Stretch
a988a92f85
Closes #5400 : Store custom field defaults as JSON values
2020-12-01 16:05:23 -05:00
Jeremy Stretch
84fe653306
Merge branch 'develop' into develop-2.10
2020-12-01 11:42:55 -05:00
Jeremy Stretch
0b8eb6e329
Closes #4865 : Replace all Count() annotations with subqueries ( #5385 )
...
* Convert circuits to use subqueries
* Convert dcim to use subqueries
* Convert extras to use subqueries
* Convert ipam to use subqueries
* Convert secrets to use subqueries
* Convert virtualization to use subqueries
* Update global search view to use subqueries where appropriate
* Remove extraneous order_by() calls
2020-11-25 15:49:18 -05:00
Jeremy Stretch
0d1017f0c1
Merge branch 'develop' into develop-2.10
2020-11-24 16:50:21 -05:00
Jeremy Stretch
a4bca7508c
Fixes #5376 : Correct invalid custom field filter logic values
2020-11-24 10:28:34 -05:00
Jeremy Stretch
4ddad50562
Remove extraneous imports
2020-11-24 10:13:03 -05:00
Jeremy Stretch
d78f116448
Fix CustomFieldSerializer content_types queryset
2020-11-23 18:55:17 -05:00
Jeremy Stretch
e295996c02
Add REST API test for custom fields
2020-11-23 16:01:51 -05:00
Jeremy Stretch
21792f7076
Add REST API endpoint for custom fields
2020-11-23 15:54:42 -05:00
Jeremy Stretch
7be12816e1
Rename CustomFieldFilterSet
2020-11-23 14:47:54 -05:00
Jeremy Stretch
e3903c7971
Fixes #5309 : Avoid extraneous database queries when manipulating objects
2020-11-20 15:40:09 -05:00
Jeremy Stretch
caf79dbacb
Migrate all ObjectView subclasses to use get_extra_context()
2020-11-19 15:59:11 -05:00
Jeremy Stretch
61fed7e9a7
Fall back to base template if object template doesn't exist
2020-11-19 13:31:59 -05:00
Jeremy Stretch
e5817a926d
Update templates to use "object" context var
2020-11-19 13:22:33 -05:00
Jeremy Stretch
ebaf5d5bca
Update ObjectChangeLogView to use "object" context var
2020-11-19 11:49:37 -05:00
Jeremy Stretch
a7be281655
Standardize on "object" for ObjectView template context
2020-11-19 11:29:18 -05:00
Jeremy Stretch
c66edd974d
Enforce custom field validation on the model
2020-11-12 14:23:08 -05:00
Jeremy Stretch
cc0a79cb15
Check for extraneous custom field data on clean()
2020-11-12 12:18:31 -05:00
Jeremy Stretch
ebea60f263
Relocate and group generic views
2020-11-11 16:07:38 -05:00
Jeremy Stretch
bd7d66abac
Move selection field validation from admin form to model
2020-11-11 15:24:39 -05:00
Jeremy Stretch
b3423783b8
Consolidate middleware under NetBox core
2020-11-10 16:59:37 -05:00
Jeremy Stretch
6500b8cad7
Clean up CustomField regex validation
2020-11-10 10:21:18 -05:00
Jeremy Stretch
e77d851426
Merge branch 'develop' into develop-2.10
2020-11-09 20:58:59 -05:00
Jeremy Stretch
4cd1c9d7f2
Fixes #5316 : Dry running scripts should not trigger webhooks
2020-11-09 16:22:45 -05:00
Jeremy Stretch
0cce8ad27b
Fixes #5328 : Fix CreatedUpdatedFilterTest when running in non-UTC timezone
2020-11-09 16:04:09 -05:00
Jeremy Stretch
7e678cba52
Correct buttons() method in dummy plugin template content
2020-11-09 14:31:53 -05:00
991jo
657e2725a0
Fixed a UI Bug where there is no whitespace after grouped custom links.
...
See #5325 for details
2020-11-09 07:56:26 +01:00
John Anderson
bb987d0970
fixes #5314 - Fix config context rendering when multiple tags are assgined to an object
2020-11-06 16:47:07 -05:00