jeremystretch
d6fcd22752
Fixes #6110 : Fix handling of TemplateColumn values for table export
2021-04-08 10:30:13 -04:00
jeremystretch
ae18693715
Add 'add export template' link to dropdown
2021-04-05 15:13:35 -04:00
jeremystretch
3ad7622bf0
Catch AttributeError when generating ContentType labels
2021-04-05 15:11:29 -04:00
Jeremy Stretch
d82f2e289a
Use ContentTypeChoiceField for all ContentType fields
2021-04-02 10:55:16 -04:00
Jeremy Stretch
73e9842877
Introduce ContentTypeChoiceField
2021-04-02 10:54:13 -04:00
Jeremy Stretch
a292ff5cc0
Remove brief_mode parameter from DynamicModelChoiceMixin
2021-03-30 21:34:50 -04:00
Jeremy Stretch
7885ec5511
Clean up custom field column implementation
2021-03-29 17:51:45 -04:00
Tom Grozev
be3d33eebd
Add support for custom fields in tables ( #5460 )
...
* Add support for custom fields in tables
* Fix empty list displays as none
Co-authored-by: TomGrozev <TomGrozev@users.noreply.github.com>
Co-authored-by: Jeremy Stretch <jeremy@netverity.dev>
2021-03-29 17:15:21 -04:00
Jeremy Stretch
93353e94a2
Note that 'table' is a reserved name for ExportTemplates
2021-03-29 11:25:57 -04:00
Jeremy Stretch
1544823d73
Closes #5926 : Strip leading/trailing whitespace from TemplateColumns rendered for export
2021-03-26 16:20:01 -04:00
Jeremy Stretch
981e7017bb
Enable get view tests for organizational objects
2021-03-26 15:15:59 -04:00
Jeremy Stretch
bb00f2ff46
Introduce paginate_table() utility to simplify table pagination
2021-03-26 13:02:55 -04:00
Jeremy Stretch
c828806b67
Merge branch 'develop' into feature
2021-03-25 16:09:28 -04:00
checktheroads
58841e85db
update css classes for bootstrap 5 colors
2021-03-17 23:31:15 -07:00
checktheroads
46cd22ea7e
style textareas supporting markdown with monospace font
2021-03-17 23:30:39 -07:00
checktheroads
8ea2949d84
Update sidenav menu data with Locations and SiteGroups
2021-03-17 22:25:51 -07:00
checktheroads
e4af9ebc6f
fix import/export styles
2021-03-17 22:25:20 -07:00
checktheroads
7a3af8de83
Merge branch 'feature' of https://github.com/netbox-community/netbox into feature
...
# Conflicts:
# netbox/dcim/tables/template_code.py
# netbox/netbox/forms.py
# netbox/templates/dcim/cable_connect.html
# netbox/templates/dcim/consoleport.html
# netbox/templates/dcim/consoleserverport.html
# netbox/templates/dcim/device.html
# netbox/templates/dcim/device/base.html
# netbox/templates/dcim/device_edit.html
# netbox/templates/dcim/interface.html
# netbox/templates/dcim/rack.html
# netbox/templates/dcim/rack_edit.html
# netbox/templates/dcim/site.html
# netbox/templates/extras/configcontext.html
# netbox/templates/extras/objectchange.html
# netbox/templates/generic/object.html
# netbox/templates/inc/nav_menu.html
# netbox/templates/ipam/ipaddress_edit.html
# netbox/templates/ipam/vrf.html
# netbox/utilities/templates/buttons/export.html
2021-03-17 22:02:43 -07:00
Jeremy Stretch
889316085c
Closes #5998 : Introduce ContentTypeColumn
2021-03-17 16:29:43 -04:00
Jeremy Stretch
7f1d9aeaf8
Skip secondary check if get_absolute_url() not defined for model
2021-03-16 16:48:08 -04:00
Jeremy Stretch
a694dbb020
Closes #5990 : Deprecated display_field parameter for custom script ObjectVar and MultiObjectVar fields
2021-03-16 11:08:34 -04:00
Jeremy Stretch
c64f96d65b
Drop usage of display_field on DynamicModelChoiceFields
2021-03-16 10:29:15 -04:00
checktheroads
b0d634a89e
add startswith helper
2021-03-15 08:53:28 -07:00
checktheroads
187f4fa4aa
fix device & device component templates
2021-03-14 17:26:33 -07:00
checktheroads
59d8c0b321
handle server-side form errors
2021-03-14 01:06:51 -07:00
checktheroads
94c25b0ff4
update templates & rendering for bootstrap 5
2021-03-13 02:27:32 -07:00
checktheroads
1d9e55ca6e
implement layout changes
2021-03-13 02:20:50 -07:00
checktheroads
9b89afd6dc
begin bootstrap 5 migration, update templates
2021-03-13 02:19:42 -07:00
Jeremy Stretch
61d23df83a
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
Abraham Vegh
720b88048d
Skip the cheatsheet link when tabbing
2021-03-11 22:40:03 -05:00
Jeremy Stretch
e703d9ff78
Introduce UtilizationColumn to render utilization graphs consistently
2021-03-04 20:58:43 -05:00
Jeremy Stretch
32501c96e5
Introduce MPTTColumn to represent MPTT models
2021-03-04 20:47:24 -05:00
Jeremy Stretch
a8a272b068
Enable table-based export
2021-03-04 16:58:56 -05:00
Jeremy Stretch
23b58ccbe8
Override value() on custom table columns
2021-03-04 15:56:12 -05:00
Jeremy Stretch
9c967ee3ea
Fixes #5913 : Improve change logging ( #5924 )
...
* Initial work on #5913
* Provide per-line diff highlighting
* BulkDeteView should delete objects individually to secure a pre-change snapshot
* Add changelog tests for bulk operations
2021-03-04 13:06:04 -05:00
Jeremy Stretch
8de20fcd1f
Closes #5375 : Add 'speed' attribute to console port models
2021-03-03 10:20:08 -05:00
Jeremy Stretch
6a9b50f95d
Closes #5873 : Use numeric IDs in all object URLs
2021-02-26 17:23:23 -05:00
Jeremy Stretch
2a517cde9f
Add support for form fieldsets
2021-02-25 13:08:02 -05:00
Jeremy Stretch
992657cbe0
Introduce SelectSpeedWidget
2021-02-25 11:47:26 -05:00
Jeremy Stretch
0a6ebdee48
Upgrade Django to 3.2b1
2021-02-24 19:00:14 -05:00
Daniel Sheppard
3d3748d6f5
Fixes : #5315 - Make "null_option" on DynamicModelChoiceField also null the value on the model. ( #5704 )
...
Fixes : #5315 - Fix site unassignment from VLAN when using "None" option
2021-02-12 10:53:40 -06:00
Jeremy Stretch
e3e928f1c4
Fixes #5718 : Fix bulk editing of services when no port(s) are defined
2021-02-04 13:01:55 -05:00
Daniel Sheppard
fc8f02c180
Corrects error with ListSerializer as request_body
2021-01-26 14:03:46 -06:00
Jeremy Stretch
5e962719ca
Closes #5542 : Show cable trace lengths in both meters and feet
2021-01-20 21:29:23 -05:00
Jeremy Stretch
b2e05aafc1
Closes #5531 : Ensure consistent calls to parent clean() methods for models, forms
2020-12-28 12:54:42 -05:00
Jeremy Stretch
278c881059
as_range: Catch TypeErrors
2020-12-21 11:54:35 -05:00
Jeremy Stretch
1e5778e6db
Clean up prefix hierarchy annotation
2020-12-18 15:43:15 -05:00
Jeremy Stretch
4a066a1913
Rename get_subquery() to count_related()
2020-12-17 14:47:49 -05:00
Jeremy Stretch
91083fd6c5
Call Coalesce() inside get_queryset()
2020-12-17 14:45:50 -05:00
Jeremy Stretch
c835ec5102
Fixes #5470 : Fix exception when making OPTIONS request for a REST API list endpoint
2020-12-15 21:04:47 -05:00