Arthur
5cb1a6b790
13872 fix bulk import
2023-10-03 14:52:59 -04:00
Abhimanyu Saharan
b7cfb2f7d9
Adds csv dialect detection to bulk import view ( #13563 )
...
* adds csv dialect detection to bulk import view #13239
* adds sane delimiters for dialect detection #13239
* adds csv delimiter tests #13239
* adds csv delimiter on the form
* pass delimiter to clean_csv method #13239
* fix tests for csv import #13239
* fix tests for csv import #13239
* fix tests for csv import #13239
* fix tests for csv import #13239
* Improve auto-detection of import data format
* Misc cleanup
* Include tab as a supported delimiting character for auto-detection
* Move delimiting chars to a separate constant for easy reference
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-09-12 16:48:40 -04:00
Jeremy Stretch
39cb9c32d6
Clean up blocktrans template tags (i18n)
2023-09-11 16:17:02 -04:00
Jeremy Stretch
75b71890a4
Misc i18n cleanup
2023-09-11 15:59:50 -04:00
Jeremy Stretch
026386db50
Fixes #13706 : Restore extra filters dropdown on device interfaces list
2023-09-11 14:13:55 -04:00
Jeremy Stretch
210d7bb573
Display last_updated time only if defined
2023-08-30 11:13:02 -04:00
Jeremy Stretch
856cc0f885
Fixes #13437 : Display bookmark button only for relevant objects
2023-08-10 13:55:03 -04:00
Jeremy Stretch
89d8f7aa70
Add missing load tag for i18n
2023-08-10 10:32:56 -04:00
Jeremy Stretch
23b3f72dee
Apply missed string translations
2023-08-10 09:38:12 -04:00
Jeremy Stretch
914588f55d
Merge branch 'develop' into feature
2023-08-09 15:31:21 -04:00
Abhimanyu Saharan
545769ad88
Adds generic object children template ( #13388 )
...
* adds generic tab view template #12110
* Rename view_tab.html and move to generic/
* Fix console ports template
* Move bulk operations view resolution to template
* Avoid setting default template_name on ObjectChildrenView
* Move base_template and table_config context vars to base context
* removed bulk_delete_control from templates
* refactored bulk_controls view
* fixed table_config
* renamed object_tab.html to objectchildren_list.html
* removed unused import
* Refactor template blocks for bulk operation buttons
* Rename object children generic template
* Move disconnect bulk action into a separate template for device components
* Fix cluster devices & VM interfaces views
* minor button label change
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-08-09 14:16:03 -04:00
Jeremy Stretch
04a2543e68
Fixes #13351 : Fix missing text due to incorrectly applied translation tags
2023-08-02 14:53:32 -04:00
Arthur Hanson
7c17d2e932
Closes #13102 : Establish initial translation support in templates
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-28 16:30:25 -04:00
Jeremy Stretch
6e222f8dce
Closes #8248 : User bookmarks ( #13035 )
...
* Initial work on #8248
* Add tests
* Fix tests
* Add feature query for bookmarks
* Add BookmarksWidget
* Correct generic relation name
* Add docs for bookmarks
* Remove inheritance from ChangeLoggedModel
2023-06-29 14:36:11 -04:00
Arthur Hanson
148278a74a
12591 config params admin ( #12904 )
...
* 12591 initial commit
* 12591 detail view
* 12591 add/edit view
* 12591 edit button
* 12591 base views and forms
* 12591 form cleanup
* 12591 form cleanup
* 12591 form cleanup
* 12591 review changes
* 12591 move check for restrictedqueryset
* 12591 restore view
* 12591 restore page styling
* 12591 remove admin
* Remove edit view for ConfigRevision instances
* Order ConfigRevisions by creation time
* Correct permission name
* Use RestrictedQuerySet for ConfigRevision
* Fix redirect URL
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-06-22 14:04:24 -04:00
jeremystretch
59a6b3e71b
Merge branch 'develop' into feature
2023-04-12 17:38:16 -04:00
Austin de Coup-Crank
bb9a125934
Closes #12040 : fix bulk import tab selection
2023-04-12 13:01:04 -04:00
jeremystretch
63a0ec7a79
Fixes #12190 : Fix form layout for plugin textarea fields
2023-04-07 10:03:47 -04:00
jeremystretch
1446b07f8c
Closes #11780 : Enable loading import data from remote sources
2023-03-14 14:53:26 -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
e65b2a9fb3
Closes #11625 : Add HTMX support to ObjectEditView
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
2381317eb3
Closes #10604 : Remove unused extra_tabs block from object.html generic template
2023-02-19 20:09:51 -05:00
jeremystretch
ccc108a217
Closes #11598 : Add buttons to easily switch between rack list and elevations views
2023-01-26 10:53:59 -05:00
Arthur
c59d527664
11178 fix quick search press enter button
2022-12-15 13:01:21 -05:00
jeremystretch
2f96fdd135
Merge branch 'develop' into feature
2022-11-16 11:42:32 -05:00
jeremystretch
d9d25ff4e7
Cleanup for #4347
2022-11-15 12:09:03 -05:00
Arthur Hanson
27bf7b4a9a
4751 Enable plugins to inject content within object list views ( #10901 )
...
* 4751 add plugin buttons to list templates
* 4751 add plugin buttons to list templates
* 4751 add documentation
* 4751 fix object reference
* 4751 update docs
2022-11-14 13:51:58 -05:00
Arthur Hanson
93e7457e0d
4347 Add JSON/YAML import support for all objects ( #10367 )
...
* 4347 initial code for json import
* 4347 initial code for json import
* Clean up form processing logic
* Consolidate import forms
* Consolidate object import/update logic
* Clean up bulk import view
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-11-10 11:01:52 -05:00
Arthur
43da786016
10829 fix top edit selected button
2022-11-04 16:54:24 -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
dbe66596f9
Closes #9887 : Inspect docs_url property to determine link to model documentation
2022-10-27 09:44:09 -04:00
jeremystretch
5e1a0733e4
Replace active_tab context for object views
2022-10-07 12:14:19 -04:00
jeremystretch
0d7851ed9d
#9072 : Implement a mechanism for dynamically registering model detail views
2022-10-06 16:20:35 -04:00
Jeremy Stretch
c4b7ab067a
Fixes #10247 : Allow changing selected device/VM when creating a new component ( #10312 )
...
* Initial work on #10247
* Continued work on #10247
* Clean up component creation tests
* Move valdiation of replicated field to form
* Clean up ordering of fields in component creation forms
* Omit fieldset header if none
* Clean up ordering of fields in component template creation forms
* View tests should not move component templates to new device type
* Define replication_fields on VMInterfaceCreateForm
* Clean up expandable field help texts
* Update comments
* Update component bulk update forms & views to support new replication fields
* Fix ModularDeviceComponentForm parent class
* Fix bulk creation of VM interfaces (thanks @kkthxbye-code!)
2022-09-15 10:10:32 -04:00
jeremystretch
1379b9c9fb
Tweak display of prerequisite model warning
2022-08-25 14:25:47 -04:00
Arthur
25ec624e4e
#6454 suggested review changes
2022-08-22 12:59:26 -07:00
Arthur
a972174706
#6454 changes from PR review
2022-08-22 11:46:41 -07:00
Arthur
38a8ddcd77
#6454 fix merge conflicts
2022-08-18 15:31:54 -07:00
Arthur
eb3d3dcbc4
#6454 add prerequisite alert
2022-08-18 13:58:40 -07:00
jeremystretch
abf11fbcb8
Merge branch 'develop' into feature
2022-07-20 12:20:33 -04:00
jeremystretch
44586743ea
Fixes #9437 : Standardize form submission buttons and behavior when using enter key
2022-07-19 14:21:20 -04:00
jeremystretch
f9d81fd362
Closes #9414 : Add clone() method to NetBoxModel for copying instance attributes
2022-06-23 15:21:10 -04:00
Kim Johansson
e8b970608e
Replace None in templates with placeholder filter
...
To be consistent, all uses of — or None is replaced with the
placeholder filter.
Fixes #9537
2022-06-15 22:33:21 +02:00
jeremystretch
76445bd19c
Move bulk edit/delete buttons to template tags
2022-03-10 16:27:53 -05:00
jeremystretch
5a3e99626d
Simplify add/import/export button invocation
2022-03-10 15:56:09 -05:00
jeremystretch
21e3159711
Hide table checkboxes when no bulk actions are enabled
2022-03-02 16:13:59 -05:00
jeremystretch
0953bba0a3
Closes #8747 : Rename ObjectListView action_buttons to actions
2022-02-24 16:33:51 -05:00
jeremystretch
e8df373abf
Change results tab name for clarity
2022-02-18 09:28:34 -05:00
jeremystretch
1319b62acb
Standardize on get_FOO_color() method for returning ChoiceField colors
2022-02-11 14:25:13 -05:00