Jeremy Stretch
ccb7568462
#8684 : Drop support for 'obj' context var when rendering custom links (v3.5)
2023-08-01 15:33:25 -04:00
Jeremy Stretch
6208e0f7f6
#12591 : Add extras.ConfigRevision to EXEMPT_EXCLUDE_MODELS
2023-08-01 14:56:59 -04:00
Jeremy Stretch
7b998cfeb4
#11732 : Exclude _init_time from import form fields list
2023-08-01 11:53:35 -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
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
Jeremy Stretch
80376abedf
Closes #13309 : Introduce the account app ( #13310 )
...
* Introduce 'accounts' app for user-specific views & resources
* Move UserTokenTable to account app
* Move login & logout views to account app
2023-07-31 09:22:04 -04:00
Jeremy Stretch
07f68ae579
Closes #13038 : Establish DEFAULT_PERMISSIONS
config parameter ( #13308 )
...
* Introduce the DEFAULT_PERMISSIONS config parameter
* Establish default permissions for user token management
2023-07-30 15:04:58 -04:00
Jeremy Stretch
ca634be7ad
Closes #13311 : Always use get_permission_for_model() to resolve permission names
2023-07-30 14:32:02 -04:00
Jeremy Stretch
cf1b1a83eb
Closes #12194 : Add pre-defined custom field choices ( #13219 )
...
* Initial work on custom field choice sets
* Rename choices to extra_choices (prep for #12194 )
* Remove CustomField.choices
* Add & update tests
* Clean up table columns
* Add order_alphanetically boolean for choice sets
* Introduce ArrayColumn for choice lists
* Show dependent custom fields on choice set view
* Update custom fields documentation
* Introduce ArrayWidget for more convenient editing of choices
* Incorporate PR feedback
* Misc cleanup
* Initial work on predefined choices for custom fields
* Misc cleanup
* Add IATA airport codes
* #13241 : Add support for custom field choice labels
* Restore ArrayColumn
* Misc cleanup
* Change extra_choices back to a nested ArrayField to preserve choice ordering
* Hack to bypass GraphQL API test utility absent support for nested ArrayFields
2023-07-28 11:24:21 -04:00
Jeremy Stretch
9d3bb585a2
Update version
2023-07-28 10:36:44 -04:00
Jeremy Stretch
d52c18ce38
Merge branch 'develop' into feature
2023-07-28 10:36:09 -04:00
Jeremy Stretch
006c353d46
PRVB
2023-07-28 10:31:54 -04:00
Jeremy Stretch
4f984c0831
Release v3.5.7
2023-07-28 10:11:16 -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
Jeremy Stretch
9b6e32896d
Clean up users & account URLs
2023-07-25 15:48:40 -04:00
Arthur Hanson
7600d7b344
Closes #13228 : Move token management views to primary UI
2023-07-25 13:43:40 -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
Arthur Hanson
a4acb50edd
12589 move user and group admin from admin ( #12877 )
...
Move admin views for users, groups, and object permissions from the admin site to the NetBox frontend
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-20 16:22:08 -04:00
Jeremy Stretch
96ea0ac9c7
Closes #12988 : Introduce custom field choice sets ( #13195 )
...
* Initial work on custom field choice sets
* Rename choices to extra_choices (prep for #12194 )
* Remove CustomField.choices
* Add & update tests
* Clean up table columns
* Add order_alphanetically boolean for choice sets
* Introduce ArrayColumn for choice lists
* Show dependent custom fields on choice set view
* Update custom fields documentation
* Introduce ArrayWidget for more convenient editing of choices
* Incorporate PR feedback
* Misc cleanup
2023-07-19 10:26:24 -04:00
Jeremy Stretch
837be4d45f
Merge branch 'develop' into feature
2023-07-11 10:09:26 -04:00
Jeremy Stretch
0f0cf683c4
PRVB
2023-07-10 16:55:17 -04:00
Jeremy Stretch
1c30a44b4e
Release v3.5.6
2023-07-10 16:35:53 -04:00
Jeremy Stretch
63c33ff4be
PRVB
2023-07-06 16:40:11 -04:00
Jeremy Stretch
53a75a3dd7
Release v3.5.5
2023-07-06 16:20:14 -04:00
Daniel Sheppard
f69d99ea67
Fixes #12760 - Adds Vary header to cause cache to be keyed based on URL and the HX-Request header (or lack thereof)
2023-06-29 15:53:57 -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
Harm Geerts
34d32374a8
Fix #12983 bulk edit of M2M fields when nothing is selected
...
Partially revert 41c92483a0
to restore
bulk edit with m2m fields. The m2m cleaned_data yields a empty queryset
when nothing is selected. By setting the m2m relation unless set null is
checked even when nothing is selected the m2m relation is always
cleared.
This commit only sets the m2m relation when a selection is made.
2023-06-27 08:28:19 -04:00
rmanyari
c99e565426
fix remote auth backend check
2023-06-27 08:09:50 -04:00
Abhimanyu Saharan
c83b2499f0
fix db maintenance mode exception #12966
2023-06-23 14:36:50 -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
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
Arthur Hanson
518fd8cca6
12794 change User ref to get_user_model ( #12905 )
...
* 12794 change User ref to get_user_model
* 12794 call get_user_model once in tests
* 12794 call get_user_model once in tests
* 12794 use settings.AUTH_USER_MODEL for FK reference
2023-06-22 08:26:50 -04:00
Jeremy Stretch
e7edccd9ba
Merge branch 'develop' into feature
2023-06-20 14:53:07 -04:00
Jeremy Stretch
70c2b358ad
PRVB
2023-06-20 14:27:18 -04:00
Jeremy Stretch
54622b5f92
Release v3.5.4
2023-06-20 13:56:09 -04:00
Luke Anderson
e11991c7a4
Fix #12865 - Include Add Nav Buttons for Report and Script Objects ( #12909 )
2023-06-15 15:04:08 -04:00
Jeremy Stretch
7fc69f3945
Fixes #12914 : Clear stored ordering from user config when cleared by request
2023-06-15 14:59:52 -04:00
Arthur
e635f0defd
Merge branch 'develop' into feature
2023-06-14 16:32:56 -07:00
Arthur
b4a3156046
9077 audit alters_data=True
2023-06-14 14:23:55 -04:00
Sudheesh Singanamalla
82cd6c5f4c
Fixes #12862 - Add Button for Wireless Links in Sidebar
...
Signed-off-by: Sudheesh Singanamalla <sudheesh@cs.washington.edu >
2023-06-11 12:17:32 -07:00
jeremystretch
4a88d5e3d9
PRVB
2023-06-02 15:42:34 -04:00
jeremystretch
46d1d5a44a
Release v3.5.3
2023-06-02 14:17:01 -04:00
Abhimanyu Saharan
dbd3c6de24
Fixes return_url for image attachment ( #12721 )
...
* fixes return_url for image attachment #12538
* simplified conditions
* handle nonetype error
* fixed request check
* Introduce htmx_table template tag for embedding HTMX-backed object tables
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-31 15:22:37 -04:00
Arthur Hanson
8b051ea2f3
7503 do device validate-create in serial ( #12222 )
...
* 7503 do device validate-create in serial
* 7503 fix single instance
* 7503 atomic transaction
* 7503 fix return data for bulk operations
* 7503 add test
* Move sequential creation logic to a mixin
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-31 09:06:09 -04:00
Abhimanyu Saharan
d7ca453f26
Adds hide-if-unset to custom field ( #12723 )
...
* adds hide-if-unset to custom field #12597
* moved hide logic from template to python
* fix indentation
* Update logic for omit_hidden under get_custom_fields()
* Update docs
* Account for False values
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-30 09:42:37 -04:00
Jeremy Stretch
24a51dd86e
Fixes #11539 : Use BooleanFilter for 'empty' lookups ( #11784 )
...
* Use BooleanFilter for 'empty' lookups
* Always use BooleanFilter for 'empty' lookups
* Restore Empty lookup logic
2023-05-25 15:20:08 -04:00
jeremystretch
6160e03426
PRVB
2023-05-22 17:00:29 -04:00
jeremystretch
fbc7811f56
Release v3.5.2
2023-05-22 16:24:30 -04:00