Arthur Hanson
1eca1c3d17
15803 localize help_text ( #15804 )
2024-04-22 11:42:20 -04:00
Jeremy Stretch
e87877b6ea
Fixes #15771 : Show id field as supported on all bulk import forms
2024-04-22 11:08:36 -04:00
Jeremy Stretch
1f2f0860fe
Merge branch 'develop' into feature
2023-12-27 16:34:38 -05:00
Jeremy Stretch
99467e8f66
Fixes #12731 : Support custom validation for many-to-many fields ( #14516 )
...
* WIP
* Enforce custom validators during bulk edit
* Add bulk edit M2M validation test
* Clean up tests
* Add custom validation test for bulk import
* Misc cleanup
2023-12-22 10:01:05 -05:00
Jeremy Stretch
25e67eb555
Merge branch 'develop' into feature
2023-12-15 16:52:42 -05:00
kkthxbye
8d39181842
Fixes #12751 - Usability improvements for object selector ( #14387 )
...
* Usability improvements for object selector:
* Adds preselected filters
* Applies the filter on selection instead of requiring the search button to be pushed
* Declare selector_fields on base form class
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-12-15 16:07:15 -05:00
Jeremy Stretch
18422e1d26
Closes #14326 : Move form mixins ( #14327 )
...
* Move form mixins from extras app to netbox app
* Remove obsolete extras/admin.py
2023-11-22 13:49:26 -05:00
Jeremy Stretch
a73ba00aa0
Closes #13299 : Improve options for controlling custom field visibility ( #14289 )
...
* Add ui_visible and ui_editable fields
* Extend migration to map new visible/editable values
* Remove ui_visibility field
* Update docs
2023-11-20 13:06:34 -05:00
Jeremy Stretch
9aa7444bf9
Fixes #13782 : Fix tag exclusion support for contact assignments
2023-09-18 11:08:49 -04:00
Jeremy Stretch
914588f55d
Merge branch 'develop' into feature
2023-08-09 15:31:21 -04:00
kkthxbye-code
9b1406a1a7
Don't hide HIDDEN_IFUNSET custom fields from bulk import fields
2023-08-09 14:47:20 -04:00
Jeremy Stretch
f1c182bb65
Fixes #13376 : Restrict add/remove tag fields by model on bulk edit forms
2023-08-04 13:09:07 -04:00
Jeremy Stretch
43e6308d90
Closes #11732 : Protect against errant overwriting of data via web UI forms
2023-08-01 09:06:51 -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
Jeremy Stretch
1056e513b1
Closes #11541 : Support for limiting tag assignments by object type ( #12982 )
...
* Initial work on #11541
* Merge migrations
* Limit tags by object type during assignment
* Add tests for object type validation
* Fix form field parameters
2023-06-23 14:08:14 -04:00
jeremystretch
e19ce69238
Closes #10923 : Remove unused NetBoxModelCSVForm class
2023-02-19 20:09:51 -05:00
Arthur Hanson
eca624b13d
11487 remove set null from read-only custom fields bulk edit ( #11552 )
...
* 11487 remove set null from read-only custom fields bulk edit
* 11487 removes unreleased sentry-sdk
2023-01-23 08:48:14 -05:00
jeremystretch
80ced6b782
Closes #11163 : Auto-detect data format during bulk import
2022-12-14 10:09:59 -05:00
jeremystretch
ad78f9e075
#7961 : Fix updating via import when custom fields are absent
2022-12-12 14:19:27 -05:00
jeremystretch
23c0ca456f
#4347 : Rename NetBoxModelCSVForm to NetBoxModelImportForm
2022-11-15 12:24:57 -05:00
jeremystretch
d9d25ff4e7
Cleanup for #4347
2022-11-15 12:09:03 -05:00
jeremystretch
355678274d
#9623 : Add slug field to SavedFilter
2022-11-15 10:44:12 -05:00
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -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
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
dda193247a
Fixes #10470 : Omit read-only custom fields from CSV import forms
2022-09-26 16:47:34 -04:00
jeremystretch
2463e4efd3
Fixes #10461 : Enable filtering by read-only custom fields in the UI
2022-09-26 16:42:11 -04:00
jeremystretch
466931d2fb
Fixes #9829 : Arrange custom fields by group when editing objects
2022-07-26 12:41:51 -04:00
jeremystretch
d4f1cb5d6a
Fixes #9158 : Do not list tags field for CSV forms which do not support tag assignment
2022-04-18 09:39:36 -04:00
jeremystretch
ffc29d14a8
Add tags field to NetBoxModelForm
2022-03-10 15:08:23 -05:00
jeremystretch
60e87cd496
Enable the use of fieldsets on bulk edit forms
2022-02-04 09:59:53 -05:00
jeremystretch
5af18c2d8a
Move pk field declaration under NetBoxModelBulkEditForm
2022-02-01 11:40:23 -05:00
jeremystretch
d38620bad2
Fix bulk nullification of custom fields
2022-02-01 11:31:11 -05:00
jeremystretch
3621b1a0d0
Set model as attribute on bulk edit forms
2022-02-01 11:00:18 -05:00
jeremystretch
bfb1a82754
Update docstrings for base form classes
2022-01-31 16:23:23 -05:00
jeremystretch
ccb3a75281
Move fieldsets out of Meta for model forms
2022-01-31 15:52:36 -05:00
jeremystretch
e4eee1cdfc
Clean up nullable fields declaration for bulk edit forms
2022-01-28 16:47:54 -05:00
jeremystretch
f4776731ec
Establish 4 core forms in netbox.forms.base
2022-01-28 15:48:15 -05:00