Commit Graph

326 Commits

Author SHA1 Message Date
Jeremy Stretch
4ffd2ba841 Initial work on #151: Object journaling 2021-03-16 15:00:08 -04:00
Jeremy Stretch
fdaa4a6eb8 Add 'display' field to all REST API serializers 2021-03-16 10:06:25 -04:00
Jeremy Stretch
c60149a72a Closes #5972: Bulk edit support for organizational models (#5974)
* Enable bulk editing of organizational models

* Enable bulk editing of nested group models

* Changelog for #5972
2021-03-12 16:14:42 -05:00
Jeremy Stretch
ae80b4f5f4 Clean up base serializers 2021-03-12 13:31:28 -05:00
Jeremy Stretch
e3e0fbe8c5 Remove redundant TreeManager from TenantGroup 2021-03-10 14:35:44 -05:00
Jeremy Stretch
b5c6613682 Declare TaggableManager on PrimaryModel base class 2021-03-10 14:32:50 -05:00
Jeremy Stretch
a6b8a92510 Clean up extraneous imports 2021-03-05 12:48:53 -05:00
Jeremy Stretch
341031016a Introduce MPTTColumn to represent MPTT models 2021-03-04 20:47:24 -05:00
Jeremy Stretch
32b2693767 Introduce TenantColumn to simplify representation 2021-03-04 16:07:55 -05:00
Jeremy Stretch
1bf7d7e293 Closes #5894: Use primary keys when filtering object lists by related objects in the UI 2021-03-01 17:24:30 -05:00
Jeremy Stretch
6d5ff412a0 Closes #5873: Use numeric IDs in all object URLs 2021-02-26 17:23:23 -05:00
Jeremy Stretch
2d234e3b3a Closes #5370: Extend custom field support to organizational models 2021-02-26 16:25:37 -05:00
Jeremy Stretch
f17479680c Closes #1638: Migrate all primary keys to 64-bit integers 2021-02-26 16:12:52 -05:00
Jeremy Stretch
f28eda1d24 Update organizational models to use custom field forms 2021-02-26 11:25:23 -05:00
Jeremy Stretch
8de5fa0ae2 Introduce NestedGroupModelSerializer 2021-02-25 17:15:42 -05:00
Jeremy Stretch
ec5da40a4a Add custom field support for organizational models to API serializers 2021-02-25 15:58:13 -05:00
Jeremy Stretch
ca97f69a8e Merge tags fields with primary object fields in form display 2021-02-25 14:03:14 -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
6a2cf2f420 Changelog and test for #5786 2021-02-24 14:39:09 -05:00
pgnuta
944a2bcec5 Update serializers.py
Group should be nullable via API to match frontend functionality and Swagger documentation.
2021-02-11 11:49:57 +13:00
Jeremy Stretch
9bdf303ad1 Avoid wrapping text in hierarchical table columns 2020-12-30 15:30:31 -05:00
Jeremy Stretch
f626baec77 Clean up hierarchical table columns 2020-12-22 16:14:16 -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
Daniel Sheppard
b3999381f9 Fixes: #5450 - Added Coalesce to viewsets for the _count functions 2020-12-15 12:50:28 -06:00
Jeremy Stretch
7be12816e1 Rename CustomFieldFilterSet 2020-11-23 14:47:54 -05:00
Jeremy Stretch
caf79dbacb Migrate all ObjectView subclasses to use get_extra_context() 2020-11-19 15:59:11 -05:00
Jeremy Stretch
e5817a926d Update templates to use "object" context var 2020-11-19 13:22:33 -05:00
Jeremy Stretch
ebea60f263 Relocate and group generic views 2020-11-11 16:07:38 -05:00
Jeremy Stretch
4a703a6085 Clean up stray Font Awesome icons 2020-11-06 15:06:45 -05:00
Jeremy Stretch
5e9ff3a409 Merge branch 'develop' into develop-2.10 2020-11-05 15:33:07 -05:00
Jeremy Stretch
85d16cf0a6 Add initial_params to all forms 2020-11-04 11:09:13 -05:00
Jeremy Stretch
5ce315aff8 Remove extraneous prefetch_related() calls from object list views 2020-10-30 16:54:41 -04:00
Jeremy Stretch
2865224b4f Closes #5011: Standardized name field lengths across all models 2020-10-15 15:37:34 -04:00
Jeremy Stretch
219d07f997 Reorganize REST API components under netbox app 2020-10-13 15:57:21 -04:00
Jeremy Stretch
29741ecf7f Introduce LinkedCountColumn to standardize approach to counting related items in tables 2020-09-25 12:42:17 -04:00
Jeremy Stretch
c4271ce131 Add test for API bulk updates 2020-09-22 13:50:55 -04:00
Jeremy Stretch
0aa6c4c670 Use DjangoJSONEncoder for encoding custom field data 2020-08-25 13:57:18 -04:00
Jeremy Stretch
2e6fb7fcf5 Drop CustomFieldValue 2020-08-21 16:21:11 -04:00
Jeremy Stretch
68cbcf20cf Initial work on reimplementing custom fields 2020-08-21 15:16:33 -04:00
Jeremy Stretch
61d2692029 Closes #4997: Introduce OrderedDefaultRouter; move root API views to views.py 2020-08-13 12:49:49 -04:00
Jeremy Stretch
4c6b88ee30 Update cable termination forms to use DynamicModelChoiceField 2020-08-12 12:58:32 -04:00
Jeremy Stretch
320edff57b Add support for referencing peer field values in query_params 2020-08-12 12:37:17 -04:00
Jeremy Stretch
ba37ec0e33 Replace 'nullable' attribute with null_option 2020-08-12 10:05:12 -04:00
Jeremy Stretch
693fd1cb9b Move null_option to DynamicModelChoiceMixin 2020-08-12 09:47:13 -04:00
Jeremy Stretch
35038f1c44 Remove value_field from APISelect; reference to_field_name on field 2020-08-11 17:19:40 -04:00
Jeremy Stretch
05e7af702b Remove restriction enforcement from RestrictedQuerySet 2020-07-23 12:48:03 -04:00
Jeremy Stretch
43a4590014 Closes #4871: Specify ordering for querysets using annotate() to count related objects 2020-07-20 12:07:19 -04:00
Jeremy Stretch
19c7c2ddcc Move abstract ChangeLoggedModel under extras 2020-07-09 17:07:25 -04:00