Commit Graph

645 Commits

Author SHA1 Message Date
jeremystretch
a2965b2f96 Ensure legacy data checks run before other migrations 2022-04-05 15:56:21 -04:00
jeremystretch
09845ac191 Merge branch 'develop' into feature 2022-04-01 09:13:37 -04:00
jeremystretch
dc9c030fb3 Closes #9012: Linkify circuits count in providers list 2022-04-01 09:06:44 -04:00
jeremystretch
7ca4b857be Closes #8496: Enable assigning multiple ASNs to a provider 2022-03-30 17:17:36 -04:00
jeremystretch
59d50f26a6 Introduce local ChoiceField and MultipleChoiceField classes 2022-03-21 15:08:05 -04:00
jeremystretch
2980550d62 Rename ObjectEditView.model_form to form 2022-03-21 10:22:30 -04:00
jeremystretch
fdc44c65ee Merge branch 'develop' into feature 2022-03-18 13:17:11 -04:00
Alex Gittings
7b2ee7744e Fix issues with ordering and add field_groups 2022-03-18 14:58:51 +00:00
minitriga
af6182ce14 Update netbox/circuits/filtersets.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-03-18 14:39:22 +00:00
jeremystretch
0213862900 Move q filter to NetBoxModelFilterSet 2022-03-11 16:16:58 -05:00
jeremystretch
46fb20c2d0 Rename OrderedDefaultRouter to NetBoxRouter & document for plugins 2022-03-11 15:59:03 -05:00
jeremystretch
23e1cb9c59 Add tags field to NetBoxModelForm 2022-03-10 15:08:23 -05:00
Alex Gittings
42819d0a7d merge develop into issue 2022-03-09 17:47:58 +00:00
Alex Gittings
fd1430b2d8 remove contacts from api endpoints 2022-03-09 16:45:19 +00:00
jeremystretch
d9993c5b76 Move CustomFieldModelViewSet functionality into NetBoxModelViewSet 2022-03-09 11:44:55 -05:00
jeremystretch
b0621f7fca Refactor API views 2022-03-09 11:27:42 -05:00
jeremystretch
c813f56a27 Refactor API serializers 2022-03-09 10:59:22 -05:00
jeremystretch
2b8428dfc8 Fixes #8792: Fix creation of circuit terminations via UI 2022-03-03 16:42:48 -05:00
jeremystretch
66736d8d14 Refactor tables modules 2022-03-03 15:16:23 -05:00
jeremystretch
1402a9097b Closes #8779: Enable the use of ChoiceSet by plugins 2022-03-02 11:43:28 -05:00
jeremystretch
a8ee0f1e4d Merge branch 'develop' into feature 2022-02-25 14:06:45 -05:00
Djothi Carpentier
98d422dece Add description filter for ProviderNetwork, CircuitType, Circuit & CircuitTermination 2022-02-25 18:15:22 +01:00
Alex Gittings
f2bbfcf74a Fixes #8645; Allow filtering on core models in the UI and API for contact assignments 2022-02-24 17:08:38 +00:00
jeremystretch
db7aafc734 Standardize on get_FOO_color() method for returning ChoiceField colors 2022-02-11 14:25:13 -05:00
jeremystretch
d8610ccec4 Improve ChoiceFieldColumn to not rely on model method to derive label color 2022-02-10 16:29:19 -05:00
jeremystretch
fa165df5fd #8334: Move object changelog & journaling to generic views 2022-02-09 16:24:10 -05:00
jeremystretch
02f4b84512 Move configure_table() logic to NetBoxTable.configure() 2022-02-09 14:10:54 -05:00
jeremystretch
e17be35d53 Closes #8463: Change the created field on all change-logged models from date to datetime 2022-02-08 14:41:44 -05:00
jeremystretch
8adc4c7fa2 Expose BaseObjectType and NetBoxObjectType for plugins 2022-02-04 15:07:35 -05:00
jeremystretch
998496a25d Enable the use of fieldsets on bulk edit forms 2022-02-04 09:59:53 -05:00
jeremystretch
c364bb6efb Move pk field declaration under NetBoxModelBulkEditForm 2022-02-01 11:40:23 -05:00
jeremystretch
52c2f07804 Set model as attribute on bulk edit forms 2022-02-01 11:00:18 -05:00
jeremystretch
a2d0b75d25 Move nullable_fields out of Meta for bulk edit forms 2022-01-31 16:15:40 -05:00
jeremystretch
5ff4a32705 Replace filter_groups with fieldsets on filter forms 2022-01-31 16:03:26 -05:00
jeremystretch
b0d5078136 Move fieldsets out of Meta for model forms 2022-01-31 15:52:36 -05:00
jeremystretch
3b0617aad4 Clean up nullable fields declaration for bulk edit forms 2022-01-28 16:47:54 -05:00
jeremystretch
ab6f19cf0c Establish 4 core forms in netbox.forms.base 2022-01-28 15:48:15 -05:00
jeremystretch
4b3f58e57d Split out NetBoxTable from BaseTable 2022-01-27 16:00:38 -05:00
jeremystretch
c8d9089cd3 Closes #8469: Move BaseTable, columns to netbox core app 2022-01-27 15:00:10 -05:00
jeremystretch
32d2caf639 Closes #8453: Rename PrimaryModelFilterSet to NetBoxModelFilterSet & expose for plugins 2022-01-27 09:27:33 -05:00
jeremystretch
515c7f56a3 Rename PrimaryModel to NetBoxModel 2022-01-26 20:57:14 -05:00
jeremystretch
dc4436f02d Refactor to_objectchange() 2022-01-26 20:25:23 -05:00
jeremystretch
ff4c8848a6 Closes #8454: Set DEFAULT_AUTO_FIELD to BigAutoField 2022-01-25 17:37:06 -05:00
jeremystretch
75a5bf6980 Move TagFilter to PrimaryFilterSet 2022-01-25 16:11:49 -05:00
jeremystretch
77e1aa34e4 Closes #8195: Ensure all GenericForeignKey ID fields employ PositiveBigIntegerField 2022-01-24 16:02:54 -05:00
jeremystretch
cb80cf7488 Remove extras_features() decorator 2022-01-19 15:16:10 -05:00
jeremystretch
cd4b695f9d Merge v3.1.6 2022-01-17 11:12:54 -05:00
Jason Yates
1eaf7912a8 Fixes #8342
created & last_updated fields are missing from some REST API calls. Added missing fields to the following API calls

/api/dcim/virtual-chassis/
/api/dcim/cables/
/api/dcim/power-panels/
/api/dcim/rack-reservations/
/api/circuits/circuit-terminations/
/api/extras/webhooks/
/api/extras/custom-fields/
/api/extras/custom-links/
/api/extras/export-templates/
/api/extras/tags/
2022-01-13 19:13:28 -08:00
Jason Yates
f99c52c51e Add created & last updated as available fields to all tables
Adds two fields to all relevant tables to allow the addition of Created & Last Updated columns.

All tables with a Configure Table option were updated.

Some sections reformatted to comply with E501 line length as a result of changes
2022-01-13 09:22:32 +00:00
jeremystretch
e5d3730ad8 Merge branch 'develop' into feature 2022-01-11 16:16:13 -05:00