Arthur Hanson
b3fb393490
14033 raise validation error if A and B term go to same object ( #14050 )
...
* 14033 raise validation error if A and B term go to same object
* 14033 move check to cable model clean
* 14033 fix tests
2023-11-01 16:30:10 -04:00
Jamie (Bear) Murphy
f6338abf14
Closes #13690 : List all objects to be deleted ( #14089 )
...
* show objects that would be deleted by cascade
* some items were not showing (eg ips on devices)
* dont include the item being deleted in the list of related items
* Revert "dont include the item being deleted in the list of related items"
This reverts commit 298a7860b2
.
* cleanup
- migrate code to use collector directly instead of the NestedObjects wrapper from admin.utils
- adjust object names and text output
* requested adjustments
* remove comma from end of list
* linting
* refactor, add accordion
* migrate to defaultdict, use title for capitalisation of accordian titles
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-01 15:13:45 -04:00
Jeremy Stretch
944008d475
Closes #12135 : Prevent the deletion of interfaces with children ( #14091 )
...
* Closes #12135 : Prevent the deletion of interfaces with children
* Change PROTECT to RESTRICT
* Extend handle_protectederror() to also handle RestrictedError
* Fix string translation
* Update migrations
* Support bulk removal of parent interfaces via UI if all children are included
* Add support for the bulk deletion of restricted objects via REST API
2023-11-01 13:47:14 -04:00
Jeremy Stretch
c2d1988cb3
Closes #14035 : Order global search results of equivalent weight by value ( #14140 )
2023-11-01 11:56:14 -04:00
Jeremy Stretch
77208bf5f3
Fix migrations
2023-10-31 08:41:24 -04:00
Jeremy Stretch
7323668dd0
Closes #13334 : Record error message on failed jobs ( #14106 )
2023-10-31 08:34:57 -04:00
Jeremy Stretch
edc4a35296
Initial work on #10244 : Protection rules ( #14097 )
2023-10-30 14:36:56 -04:00
Jeremy Stretch
c4e765c4a8
Closes #14141 : translation cleanup ( #14143 )
...
* Translations cleanup
* Tweak variable names; misc string cleanup
* Misc cleanup
2023-10-30 13:38:03 -04:00
Jeremy Stretch
30ce9edf1c
Closes #13381 : Enable plugins to register custom data backends ( #14095 )
...
* Initial work on #13381
* Fix backend type display in table column
* Fix data source type choices during bulk edit
* Misc cleanup
* Move backend utils from core app to netbox
* Move backend type validation from serializer to model
2023-10-24 11:35:53 -04:00
Arthur Hanson
7274e75b26
13230 Allow Devices to be excluded from Rack utilization ( #14099 )
...
* 13230 add exclusion flag to device type
* 13230 forms, detail views
* 13230 add tests
* 13230 extraneous model field
* 13230 extraneous form field
* Update netbox/dcim/forms/bulk_edit.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* 13230 review feedback
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-24 11:29:24 -04:00
Arthur Hanson
ae447bd187
12216 Add color to circuit-type and add to SVG rendering ( #14098 )
...
* 12216 add color to model
* 12216 add forms, serializers for color
* 12216 color to detail view, add type to svg
* 12216 add color to svg
* 12216 review changes
2023-10-24 08:19:04 -04:00
Jeremy Stretch
450790ab4a
Closes #13550 : Refactor view action mappings ( #14062 )
...
* Merge actions and action_perms into a single mapping
* Update obsolete permission maps
* Update obsolete action lists
* Normalize empty permission mappings
* Cleanup
* Add deprecation warnings
* Introduce DEFAULT_ACTION_PERMISSIONS constant
2023-10-20 15:08:09 -04:00
Jeremy Stretch
3f40ee5501
Closes #14036 : Move extras.plugins to netbox.plugins ( #14086 )
...
* Move extras.plugins to netbox.plugins & add deprecation warnings
* Move plugin template tags from extras to utilities
* Move plugins tests from extras to netbox
* Add TODO reminders for v4.0
2023-10-20 11:24:08 -04:00
Jeremy Stretch
5b2f29480a
Tweak translation issue form
2023-10-18 11:57:21 -04:00
Jeremy Stretch
809b049590
YAML fix
2023-10-18 11:29:31 -04:00
Jeremy Stretch
2a0a7d45aa
Add GitHub issue template for translations
2023-10-18 11:24:14 -04:00
Jeremy Stretch
7efbfabc0b
PRVB
2023-10-17 13:07:29 -04:00
Jeremy Stretch
d195f9c6ea
Merge pull request #14057 from netbox-community/develop
...
Release v3.6.4
2023-10-17 13:04:39 -04:00
Jeremy Stretch
de298224f1
Pin django-mptt to v0.14.0, for Python 3.8
2023-10-17 12:48:42 -04:00
Jeremy Stretch
3fd8e48fac
Release v3.6.4
2023-10-17 12:37:14 -04:00
Jeremy Stretch
ab9de43447
Changelog for #12336 , #13957 , #13962 , #13972 , #14025 , #14042
2023-10-17 12:25:49 -04:00
Jeremy Stretch
51ef4fb920
Closes #13962 : Add a copy-to-clipboard button to the key field of the API token creation form
2023-10-17 11:34:37 -04:00
Arthur Hanson
7983c2590e
14025 fix script name checking ( #14030 )
...
* 14025 fix script name checking
* 14025 fix script name checking
* 14025 add file extension validation and simplify get logic
* 14025 match start of string with regex
* 14025 backout changes to model_forms
* 14025 add filepatch checking to reports
2023-10-17 10:57:50 -04:00
Arthur Hanson
d77d45e795
12336 make region API calls atomic ( #13942 )
...
* 12336 make region API calls atomic
* 12336 switch to pg locks
* 12336 add locks to all views using mptt models
* 12336 fix ADVISORY_LOCK_KEYS reference
* 12336 review changes
* Tweak advisory lock numbering
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-17 10:35:01 -04:00
Arthur Hanson
a24864bc6d
14042 mptt cache count ( #14048 )
...
* 14042 fix cache count for mptt child delete
* 14042 add test
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-17 10:31:58 -04:00
Prince Kumar
c671ac2f28
Add dns_name filter on the IP Address page ( #14046 )
...
* Add dns_name filter on the IP Address page #13957
* add dns_name field in the filterset field and remove extra method
2023-10-17 10:06:33 -04:00
Arthur Hanson
18a813aa39
13972 allow filtering of cables if have terminations ( #13949 )
...
* 10769 allow filtering of cables if have terminations
* 10769 change to termianted
* 10769 add test case
* 10769 review cleanup
2023-10-17 09:32:42 -04:00
Jeremy Stretch
14447befb9
Changelog for #12872 , #14013 , #14023 , #14026
2023-10-13 14:01:08 -04:00
Daniel Sheppard
06ed7ac8a5
Fixes : #14023 - Fixes bulk disconnecting with multiple components attached to the same cable ( #14029 )
...
* Fixes : #14023 - Fixes bulk disconnecting with multiple components attached to the same cable
* Update netbox/dcim/views.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/dcim/views.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/dcim/views.py
Co-authored-by: Daniel Sheppard <dans@dansheps.com>
* Code cleanup & i18n fix
* Restore original termination count logic
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-13 13:57:58 -04:00
Tobias Genannt
72f01b3e89
Fix #14026 : Only get the needed amount of objects
2023-10-13 09:25:12 -04:00
Jeremy Stretch
2522056bd1
Closes #12872 : Introduce DATA_UPLOAD_MAX_MEMORY_SIZE config parameter
2023-10-13 08:54:06 -04:00
Arthur
01c894e625
14013 fix device role filter
2023-10-13 08:51:22 -04:00
Jeremy Stretch
4286c1cde2
Closes #12831 : Include circuit description in cable trace SVG image
2023-10-06 15:14:33 -04:00
Jeremy Stretch
383285fb94
Closes #13997 : Update runner versions ( #13998 )
...
* Update runner versions
* Update stale & lock runners
2023-10-06 13:34:25 -04:00
Jeremy Stretch
e23b246d46
Changelog for #11987 , #13440 , #13746 , #13876 , #13950
2023-10-05 16:55:15 -04:00
Arthur
a543bd469a
11987 change cable bulk import to check if same cable
2023-10-05 16:48:48 -04:00
Arthur Hanson
d03859b27b
13746 fix available ips API for posting custom-fields ( #13889 )
2023-10-05 15:53:57 -04:00
Arthur Hanson
bbb133019d
13815 document view permissions for scripts ( #13943 )
...
* 13815 document view permissions for scripts
* Replicate permissions note for reports
* Remove duplicated text
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-05 15:15:50 -04:00
sleepinggenius2
285187542d
Adds selection custom field labels to UI
2023-10-05 15:02:22 -04:00
Arthur
4d13f4d252
13850 add requests to requirements
2023-10-05 13:37:38 -04:00
Jeremy Stretch
e4a9cad756
Changelog for #12328 , #13064 , #13872 , #13910 , #13944
2023-10-04 14:11:28 -04:00
Jeremy Stretch
b93b331d86
Fixes #13966 : Restore 'last login' column on users table
2023-10-04 14:09:29 -04:00
Jeremy Stretch
a46255ddda
Fixes #13064 : Ensure unchecked checkboxes do not revert to original values upon HTMX form refresh
2023-10-04 11:57:52 -04:00
Arthur Hanson
6093debb71
12328 update GFK object in clean ( #13946 )
...
* 12328 update GFK object in clean
* Add missing import statement
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-10-03 15:41:40 -04:00
yash-pal1
6dc560596d
added device button under platform view pre-populated role field instead of platform field
2023-10-03 15:09:10 -04:00
Arthur
5cb1a6b790
13872 fix bulk import
2023-10-03 14:52:59 -04:00
Arthur
ef460a38ed
13944 fix report detail api
2023-10-03 14:39:46 -04:00
Jeremy Stretch
786f0cc7f3
PRVB
2023-09-26 16:31:33 -04:00
Jeremy Stretch
ccc9e89e1a
Merge pull request #13907 from netbox-community/develop
...
Release v3.6.3
2023-09-26 16:26:29 -04:00
Jeremy Stretch
9e35cefaf2
Release v3.6.3
2023-09-26 15:48:03 -04:00