Jeremy Stretch
2afce6c94b
Introduce ContactsMixin
2023-08-04 10:15:50 -04:00
Jeremy Stretch
caedc8dbe3
Closes #13352 : Translation support for model verbose names ( #13354 )
...
* Update verbose_name & verbose_name_plural Meta attributes on all models
* Alter makemigrations to ignore verbose_name & verbose_name_plural changes
2023-08-03 10:41:10 -04:00
Abhimanyu Saharan
cbf4b43b35
Adds tags on contact assignment ( #13328 )
...
* adds tags on contact assignments #12882
* updated migration
* added tags on import form
* adds TagsMixin on ContactAssignmentType #12882
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-08-01 11:52:14 -04:00
Arthur Hanson
e625a5667c
Closes #13279 : Wrap choice labels with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 17:31:07 -04:00
Arthur Hanson
e284cd7e54
Closes #13150 : Wrap table column headers with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 14:35:28 -04:00
Arthur Hanson
b7a9649269
Closes #13149 : Wrap form field labels with gettext_lazy()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 12:52:38 -04:00
Arthur Hanson
83bebc1bd2
Closes #13132 : Wrap verbose_name and other model text with gettext_lazy() (i18n)
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 11:28:07 -04:00
Abhimanyu Saharan
36f95f7842
Adds tenant on power feed ( #13300 )
...
* adds tenant on power feed
* cleanup
* adds power feed count on tenant object view
* Misc cleanup; add filterset tests
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 08:20:48 -04:00
Abhimanyu Saharan
2aa51d0d94
Adds contact assignment bulk import ( #13109 )
...
* adds contact assignment bulk import #11307
* Remove unsupported tags field added by NetBoxModelImportForm
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-28 09:23:22 -04:00
Abhimanyu Saharan
8143c6e03b
adds object change for contact assignment #13065
2023-07-06 09:45:31 -04:00
Abhimanyu Saharan
183c7deb81
adds contact accessor fields on assignment table #12955
2023-06-29 14:50:30 -04:00
jeremystretch
b3bd03a1e9
Fixes #12715 : Use contact assignments table to display the contacts assigned to an object
2023-05-30 14:51:16 -04:00
Abhimanyu Saharan
e2f9a3c07a
fixes contact assignments filter to include parent content type #12730
2023-05-26 08:42:04 -04:00
Abhimanyu Saharan
4eb5e90ccc
Adds contact tabs ( #12460 )
...
* adds contact tabs #11599
* fixed lint issues
* changes as per review
* changes as per review
* replaces generic object template with base template
2023-05-12 10:26:26 -04:00
Arthur
fbcf4c268b
12436 remove add button from contactassignment list view
2023-05-02 16:35:23 -04:00
Jeremy Stretch
d470848b29
Closes #12246 : General cleanup of utilities modules
...
* Clean up base modules
* Clean up forms modules
* Clean up templatetags modules
* Replace custom simplify_decimal filter with floatformat
* Misc cleanup
* Merge ReturnURLForm into ConfirmationForm
* Clean up import statements for utilities.forms
* Fix field class references in docs
2023-04-14 10:33:53 -04:00
jeremystretch
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
jeremystretch
085cfc58f4
Fixes #12184 : Fix filtered bulk deletion for various models
2023-04-07 10:25:36 -04:00
jeremystretch
6d6299f0cb
#11584 : Linkify assigment counts in contacts table
2023-04-05 12:53:39 -04:00
Arthur Hanson
ecd0c56554
Closes #9608 : Move from drf-yasg to spectacular
...
Co-authored-by: arthanson <worldnomad@gmail.com >
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-03-30 14:32:59 -04:00
Arthur Hanson
c57d71a9db
11291 optimize GraphQL queries ( #11943 )
...
* 11291 initial optimize graphql queries
* 11291 add optimizer to schemas
* 11291 cleanup fields.py
* 11291 fix fragment query
2023-03-23 08:42:18 -04:00
jeremystretch
c35e7b8ee5
#11584 : Add bulk edit view & tests
2023-03-21 13:47:08 -04:00
Jeremy Stretch
206d578bc3
Closes #10242 : Redirect to filtered objects list after bulk import ( #12001 )
...
* Redirect user to filtered objects list after bulk import
* Remove obsolete table attribute from bulk import views
2023-03-17 09:23:40 -04:00
jeremystretch
2a9178af12
Merge branch 'develop' into feature
2023-03-13 11:58:37 -04:00
Aron Bergur Jóhannsson
fa60f9d2a8
Closes #11294 : Markdown Preview ( #11894 )
...
* MarkdownWidget
* Change border and color of active markdown tab
* Fix template name typo
* Add render markdown endpoint
* Static assets for markdown widget
* widget style fix and unique ids based on name
* Replace SmallTextArea with SmallMarkdownWidget
* Clear innerHTML before swapping
* render markdown directly in template
* change render markdown view path
* remove small markdown widget
* Simplify rendering logic
* Use a form to clean input Markdown data
---------
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2023-03-09 08:21:13 -05:00
jeremystretch
8a08d3621b
Closes #10374 : Require unique tenant names & slugs per group (not globally)
2023-02-28 20:03:41 -05:00
Jeremy Stretch
b9bd96f0c7
Closes #11765 : Remove StaticSelect & StaticSelectMultiple ( #11767 )
...
* Remove StaticSelect, StaticSelectMultiple form widgets
* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
2023-02-19 20:09:51 -05:00
kkthxbye-code
c73829fe92
Fix issues with the ContactAssignmentListView
2023-02-19 20:09:51 -05:00
jeremystretch
96a79c2126
Closes #11737 : ChangeLoggedModel should inherit WebhooksMixin
2023-02-19 20:09:51 -05:00
kkthxbye-code
8d68b6a2e6
Fixes #11694 - Remove obsolete SmallTextarea widget
2023-02-19 20:09:51 -05:00
jeremystretch
2669068429
#11517 : Standardize display of contact assignments
2023-02-19 20:09:51 -05:00
jeremystretch
157bf89e89
Closes #11584 : Add a list view for contact assignments
2023-02-19 20:09:51 -05:00
jeremystretch
91b81d51da
Standardize related model display for nested models
2023-02-19 20:09:51 -05:00
jeremystretch
0c9e7aa074
Clean up related objects for sites, tenants
2023-02-19 20:09:51 -05:00
Jeremy Stretch
1a2dae3471
Closes #8184 : Enable HTMX for embedded tables ( #11518 )
...
* Enable HTMX rendering for embedded tables
* Start converting embedded tables to use HTMX (WIP)
* Additional table conversions (WIP)
* Standardize HTMX usage for nested group models
* Enable HTMX for additional emebedded tables
* Fix HTMX table rendering for ObjectChildrenView
* Standardize usage of inc/panel_table.html
* Hide selection boxes in embedded tables
2023-02-19 20:09:51 -05:00
jeremystretch
9e09e46700
Fixes #11522 : Correct tag links under contact & tenant list views
2023-01-17 10:32:22 -05:00
jeremystretch
064e3ff605
Merge branch 'develop' into feature
2022-12-13 17:17:05 -05:00
jeremystretch
96a796ebde
Fixes #11173 : Enable missing tags columns for contact, L2VPN lists
2022-12-13 14:04:50 -05:00
jeremystretch
2f96fdd135
Merge branch 'develop' into feature
2022-11-16 11:42:32 -05:00
jeremystretch
23c0ca456f
#4347 : Rename NetBoxModelCSVForm to NetBoxModelImportForm
2022-11-15 12:24:57 -05:00
jeremystretch
355678274d
#9623 : Add slug field to SavedFilter
2022-11-15 10:44:12 -05:00
jeremystretch
ecf5304a14
#10560 : Add new fields to indexers
2022-11-15 10:37:35 -05:00
Arthur
7401fd7050
10909 add l2vpn to tenant stats
2022-11-14 14:16:18 -05:00
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
Daniel Sheppard
b374351154
Closes : #7854 - Add VDC/Instances/etc ( #10787 )
...
* Work on #7854
* Move to new URL scheme.
* Fix PEP8 errors
* Fix PEP8 errors
* Add GraphQL and fix primary_ip missing
* Fix PEP8 on GQL Type
* Fix missing NestedSerializer.
* Fix missing NestedSerializer & rename VDC to VDCs
* Fix migration
* Change Validation for identifier
* Fix missing migration
* Rebase to feature
* Post-review changes
* Remove VDC Type
* Remove M2M Enforcement logic
* Interface related changes
* Add filter fields to filterset for Interface filter
* Add form field to filterset form for Interface filter
* Add VDC display to interface detail template
* Remove VirtualDeviceContextTypeChoices
* Accommodate recent changes in feature branch
* Add tests
Add missing search()
* Update tests, and fix model form
* Update test_api
* Update test_api.InterfaceTest create_data
* Fix issue with tests
* Update interface serializer
* Update serializer and tests
* Update status to be required
* Remove error message for constraint
* Remove extraneous import
* Re-ordered devices menu to place VDC below virtual chassis
* Add helptext for `identifier` field
* Fix breadcrumb link
* Remove add interface link
* Add missing tenant and status fields
* Changes to tests as per Jeremy
* Change for #9623
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
* Update filterset form for status field
* Remove Rename View
* Change tabs to spaces
* Update netbox/dcim/tables/devices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
* Update netbox/dcim/tables/devices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
* Fix tenant in bulk_edit
* Apply suggestions from code review
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
* Add status field to table.
* Re-order table fields.
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2022-11-11 07:55:49 -05:00
Arthur Hanson
cdeb65e2fb
7376 csv tags ( #10802 )
...
* 7376 add tags to CSV import
* 7376 change help text
* 7376 validate tags
* 7376 fix tests
* 7376 add tag validation tests
* Introduce CSVModelMultipleChoiceField for CSV import tag assignment
* Clean up CSVImportTestCase
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-11-04 10:50:43 -04:00
Jeremy Stretch
bc6b5bc4be
Closes #10545 : Standardize description & comment fields on primary models ( #10834 )
...
* Standardize description & comments fields on primary models
* Update REST API serializers
* Update forms
* Update tables
* Update templates
2022-11-04 08:28:09 -04:00
jeremystretch
e2f5ee661a
Clean up redundant NestedGroupModel, OrganizationalModel fields
2022-11-03 13:59:44 -04:00
Jeremy Stretch
484efdaf75
Closes #9623 : Implement saved filters ( #10801 )
...
* Initial work on saved filters
* Return only enabled/shared filters
* Add tests
* Clean up filtering of usable SavedFilters
2022-11-02 12:27:53 -04:00
jeremystretch
0b24d3d892
Merge branch 'develop' into feature
2022-11-01 17:13:11 -04:00