Commit Graph

121 Commits

Author SHA1 Message Date
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
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
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
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
jeremystretch
eb400bc6b2 Closes #6954: Remember users' table ordering preferences 2022-01-10 14:03:07 -05:00
jeremystretch
45e4a3a5c0 Always include actions as a default column 2022-01-07 10:36:58 -05:00
jeremystretch
1db7c3cfef Initial work on #7679 2022-01-06 16:53:24 -05:00
jeremystretch
c4728545e9 Fixes #8255: Fix bulk editing of authentication parameters for wireless LANs and links 2022-01-06 08:54:05 -05:00
jeremystretch
630da49b92 Merge v3.1.3 2021-12-29 12:41:56 -05:00
jeremystretch
b94c5e807f Fixes #7290: Defer loading API-backed form fields 2021-12-29 09:30:43 -05:00
jeremystretch
64dff2dd7d Merge branch 'develop' into feature 2021-12-23 08:32:40 -05:00
jeremystretch
d0823d1bd2 Fixes #8140: Restore missing fields on wireless LAN & link REST API serializers 2021-12-22 10:55:06 -05:00
jeremystretch
a4a4d4d0c6 Merge v3.1.2 2021-12-20 16:28:11 -05:00
jeremystretch
8e5abf10f3 Changelog & PEP8 cleanup for #7999 2021-12-20 14:17:52 -05:00
Jeremy Stretch
a9182b5564 Merge pull request #8000 from joni1993/more-channels
feat: add 6GHz & 60Ghz channels
2021-12-20 14:16:12 -05:00
Christian Jonak
c03cbcaf49 fix: non 20Mhz-wide channel centers 2021-12-16 19:28:39 +01:00
Christian Jonak
225a3bf167 fix: use center freq instead of beginning of freq range for 6Ghz 2021-12-16 18:14:56 +01:00
jeremystretch
26823615ad Support CSS class definition directly in CHOICES iterable 2021-12-16 10:03:23 -05:00
jeremystretch
1c79e87aa2 Fixes #8001: Correct verbose name for wireless LAN group model 2021-12-08 10:45:27 -05:00
Christian Jonak-Möchel
0f4d53d2fb feat: add 6GHz & 60Ghz channels 2021-12-07 15:14:17 +01:00
jeremystretch
182e061cf6 Closes #7886: Introduce a base FilterForm class 2021-11-19 15:12:45 -05:00
jeremystretch
605ec608f8 Clean up imports 2021-11-18 16:48:29 -05:00
jeremystretch
d6c98d1a00 Apply BootstrapMixin to CustomFieldModelFilterForm 2021-11-18 16:27:06 -05:00
jeremystretch
df7ae3ebf3 Apply BootstrapMixin to BulkEditForm 2021-11-18 16:23:26 -05:00
jeremystretch
f2c4ca514b Apply BootstrapMixin to CustomFieldModelForm 2021-11-18 16:19:25 -05:00
jeremystretch
841e54b61c Housekeeping: Use RestrictedQuerySet for default manager on base models 2021-11-11 15:04:22 -05:00
jeremystretch
24dc612950 Clean up filtersets 2021-11-03 16:58:31 -04:00
jeremystretch
82f1395c51 Optimize wireless migrations 2021-11-01 11:23:58 -04:00
jeremystretch
d741af0997 Cleanup & API changelog for #3979 2021-10-25 11:07:15 -04:00
jeremystretch
c321e963fa #6497: Add missing tag fields to filter forms 2021-10-21 15:29:52 -04:00
jeremystretch
12290d64b7 #3979 cleanup 2021-10-21 14:20:47 -04:00
jeremystretch
325ca76a86 Merge branch 'feature' into 3979-wireless 2021-10-21 13:19:52 -04:00
jeremystretch
2a8d24390f Add tests for wireless 2021-10-20 13:34:39 -04:00
jeremystretch
216c7dcd60 Add wireless authentication attributes 2021-10-20 10:58:15 -04:00
jeremystretch
b8e5ddf29c #3979: UI cleanup 2021-10-15 12:24:07 -04:00
jeremystretch
b0047e2c98 Store channel frequency & width as independent values 2021-10-15 11:39:53 -04:00
jeremystretch
ebd5b86cd9 Remove choices from rf_channel_width 2021-10-15 10:06:49 -04:00
jeremystretch
1fdcd62230 Move wireless field choices to wireless app 2021-10-15 10:00:03 -04:00
jeremystretch
239fb6950b Merge branch 'feature' into 3979-wireless 2021-10-14 16:32:24 -04:00
jeremystretch
646d192149 Optimize migrations 2021-10-14 15:11:03 -04:00
jeremystretch
5327cd57ce Add devices to WirelessLinkForm 2021-10-14 10:02:05 -04:00
jeremystretch
30c8df8d3d Include WirelessLAN attached interfaces 2021-10-14 09:48:12 -04:00
jeremystretch
3915a96d07 Add WirelessLANGroup model 2021-10-13 16:40:12 -04:00
jeremystretch
adafa80607 Add status field to WirelessLink 2021-10-13 14:31:30 -04:00
jeremystretch
d84dbcf02c Rename cable_peer fields to link_peer 2021-10-13 14:04:53 -04:00
jeremystretch
cdc7c701d2 Resolve test errors 2021-10-13 13:39:14 -04:00
jeremystretch
e1f0a1c435 Record wireless links as part of cable path 2021-10-13 13:28:14 -04:00
jeremystretch
7ce57234fb Reference WirelessLink on both attached Interfaces 2021-10-13 11:54:52 -04:00
jeremystretch
594709d1fb Add WirelessLink model 2021-10-13 09:46:17 -04:00
jeremystretch
8a94779059 Rename SSID model to WirelessLAN 2021-10-12 17:06:31 -04:00
jeremystretch
95fc490cde Enable attachment of wireless interfaces to SSIDs 2021-10-12 13:48:06 -04:00
jeremystretch
6bd55b7a07 Introduce the wireless app and SSID model 2021-10-12 12:48:36 -04:00