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
Arthur Hanson
149a496011
6347 Cache the number of each component type assigned to devices/VMs ( #12632 )
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-25 09:39:05 -04:00
Sudheesh Singanamalla
c5f71c0c19
Fixes #12847 - Include Missing Add buttons to Views
...
Signed-off-by: Sudheesh Singanamalla <sudheesh@cs.washington.edu >
2023-06-14 10:05:43 -07:00
jeremystretch
fa3bedb947
Fixes #12642 : Fix bulk tenant assignment via cluster import form
2023-05-22 13:07:40 -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
jeremystretch
47f3023401
Fixes #12412 : Device/VM interface MAC addresses can be nullified via REST API
2023-05-01 13:06:10 -04:00
Arthur
15d80f4e1b
12195 remove incorrect null=True on choice fields
2023-04-21 12:23:07 -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
Abhimanyu Saharan
c26fe266cc
Moved interface filterset under common class ( #12200 )
...
* moved interface filterset under common class #12007
* lint fix
2023-04-07 10:54:39 -04:00
jeremystretch
085cfc58f4
Fixes #12184 : Fix filtered bulk deletion for various models
2023-04-07 10:25:36 -04:00
jeremystretch
b032742418
Closes #12133 : Move any instance mutations inside clean() to save()
2023-04-03 16:26:07 -04:00
jeremystretch
872b70c2b5
Fixes #12145 : Employ HTMXSelect widget to fix inclusion of <select> field values during form regeneration
2023-04-03 12:49:26 -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
00088cba6d
#11559 : Add device config API endpoint & cleanup
2023-03-21 17:00:06 -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
Jeremy Stretch
d1f76bec37
Closes #10054 : Implement advanced UI controls for object selection ( #11952 )
...
* WIP
* WIP
* WIP
* Make object selector functional
* Replace extraneous form fields with selector widgets
* Avoid overlap with filterset field names
* Show checkmarks next to visibile filters
* Update results automatically when searching
* Include selector for device/VM component parent fields
* Use selector for filtering VLAN group/site
* Limit selector to 100 results
2023-03-13 12:44:26 -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
c44eb65993
Closes #11325 : Move help_texts from model forms to models
2023-03-01 17:31:54 -05:00
jeremystretch
6ea30798bf
#10058 : Enable primary IP search for virtual machines too
2023-02-27 14:41:34 -05:00
jeremystretch
c84f0de8f8
#11625 : Employ HTMX form rendering for device & VM interfaces
2023-02-19 20:09:52 -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
8d68b6a2e6
Fixes #11694 - Remove obsolete SmallTextarea widget
2023-02-19 20:09:51 -05:00
jeremystretch
0f6995e92a
Use embedded table to show assigned services under object view
2023-02-19 20:09:51 -05:00
jeremystretch
94797bb956
Standardize related model display for organizational models
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
4bfc3bf412
#11118 : Extend L2VPN filters to device & VM interfaces
2023-01-20 09:58:58 -05:00
jeremystretch
19da92b510
#11488 : Additional cleanup
2023-01-17 10:26:34 -05:00
Abhimanyu Saharan
beb1f4e172
added missing description field on the api serializers
2023-01-17 10:20:34 -05:00
kkthxbye-code
735fa4aa31
Add summed resource card to cluster view
2022-12-27 10:24:46 -05:00
jeremystretch
8809fc949b
Fixes #11154 : Index VM interface MAC address and MTU for global search
2022-12-12 10:43:48 -05:00
jeremystretch
83a0576ca4
#9072 : Add weight parameter to influence ViewTab ordering
2022-12-09 14:50:13 -05:00
jeremystretch
ebf555e1fb
Use strings to specify prerequisite models
2022-11-16 17:22:09 -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
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
jeremystretch
fe73e90b7b
Reorganize virtualization models
2022-11-04 13:51:30 -04: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
Arthur Hanson
cb815ede60
7961 CSV bulk update ( #10715 )
...
* 7961 add csv bulk update
* temp checkin - blocked
* 7961 bugfix and cleanup
* 7961 change to id, add docs
* 7961 add tests cases
* 7961 fix does not exist validation error
* 7961 fix does not exist validation error
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 optimize loading csv test data
* 7961 update tests remove redundant code
* 7961 avoid MPTT issue in test cases
2022-10-27 13:10:18 -04:00
jeremystretch
c4dcd34ce9
Merge branch 'develop' into feature
2022-10-26 10:25:49 -04:00
jeremystretch
eb91934d70
Fixes #10745 : Correct display of status field in clusters list
2022-10-25 16:41:07 -04:00