Jeremy Stretch
2f2a30ae94
Fixes #17337 : Fix ordering of virtual device contexts by device name
2024-09-03 08:58:13 -04:00
Arzhel Younsi
8af41a65cc
runscript: use the previously defined "user"
...
There is already a logic set earlier in the code to define "user" if --user is passed as parameter, and default to the user with the lowest ID no none is provided.
This patch uses this "user" to run the job instead of always applying the default.
2024-09-03 08:42:37 -04:00
Jeremy Stretch
b413db87b3
Closes #17288 : Limit the number of aliases within a GraphQL API requests to 10 ( #17329 )
...
* Closes #17288 : Limit the number of aliases within a GraphQL API request to 10
* Introduce GRAPHQL_MAX_ALIASES config parameter
2024-09-02 09:30:41 -04:00
Jeremy Stretch
5ce4a2aeb8
Fixes #17301 : Fix script module edit & delete button styling ( #17328 )
2024-09-02 08:38:16 -04:00
Arthur Hanson
6e923bdd3b
17289 enforce minimum password strength ( #17299 )
...
* 17289 add password validation
* 17289 add password validation
* 17289 fix tests
* 17289 fix tests
* Update netbox/utilities/password_validation.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/utilities/password_validation.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Update netbox/utilities/password_validation.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* 17289 update tests
* 17289 remove common password check
* 17289 fix user create
* 17289 revert _post_clean
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-30 17:23:01 -04:00
Daniel Sheppard
45754798e7
Fixes : #17310 - Properly restrict GraphQL related object queries ( #17312 )
...
* Fixes : #17310 - Fix GraphQL restriction of related objects
* Fix some failing tests
* Fix test
2024-08-30 14:22:58 -04:00
Jeremy Stretch
a0a199cec3
#8198 : Rename CustomField.validation_unique to unique ( #17325 )
...
* #8198 : Rename CustomField.validation_unique to unique
* Update CustomField model documentation
2024-08-30 13:44:03 -04:00
Arthur Hanson
f2cb70c7dc
12826 make RackType.form_factor required ( #17327 )
...
* 12826 make RackType.form_factor required
* 12826 fix tests
2024-08-30 13:43:07 -04:00
Jeremy Stretch
c8a1ae939a
Update changelog
2024-08-30 13:31:41 -04:00
Arthur Hanson
d7f55cc796
11969 remove airflow from racktype ( #17324 )
...
* 11969 remove airflow from racktype
* 11969 remove airflow from racktype
* 11969 update docs
* 11969 fix rack edit
* Rename migration
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-30 13:30:51 -04:00
Jeremy Stretch
2895d52726
Closes #17318 : Include provider in nested API representation of circuits
2024-08-30 13:13:33 -04:00
Jeremy Stretch
30e7466b5c
#17051 : Tag ISOLATED_DEPLOYMENT as a v4.1 feature
2024-08-30 10:19:22 -04:00
Jeremy Stretch
2d76f446b7
#17143 : Update docs for nested serializer use
2024-08-30 10:18:29 -04:00
Jeremy Stretch
fbaf952a34
#16782 : Fix help text on form field
2024-08-30 09:36:27 -04:00
Jeremy Stretch
1497f22e6b
#15106 : Put distance & distance_unit on same line in model form
2024-08-30 08:40:16 -04:00
github-actions
d5769502cd
Update source translation strings
2024-08-30 05:02:15 +00:00
Jeremy Stretch
61fc65e60b
#14692 : Correct VirtualDisk model docs
2024-08-29 16:48:48 -04:00
Arthur Hanson
c2ac12e5e2
17302 fix log level filtering
2024-08-29 15:58:13 -04:00
Arthur Hanson
822fa64a83
17306 fix vlan group utilization
2024-08-29 15:56:06 -04:00
Jeremy Stretch
4024f322c4
#11969 : Cleanup ( #17308 )
...
* Shorten choice constant names
* Add filter tests for airflow
2024-08-29 15:47:11 -04:00
Jeremy Stretch
0ef02c348d
#10500 : Cleanup ( #17305 )
...
* Use MPTTColumn for module bays
* Fix return URLs
* Omit extraneous relationships from nested serializers
* Add note re: v4.1
2024-08-29 15:38:53 -04:00
Jeremy Stretch
174fab9f66
#7025 : Cleanup
2024-08-29 15:38:16 -04:00
Jeremy Stretch
fbdc68851b
Merge branch 'develop' into feature
2024-08-29 10:51:38 -04:00
Jeremy Stretch
b4c0fdc8e6
PRVB
2024-08-29 09:51:06 -04:00
Jeremy Stretch
15f2ce7e4c
Merge pull request #17297 from netbox-community/develop
...
Release v4.0.10
2024-08-29 09:47:31 -04:00
Jeremy Stretch
ac107adb49
Release v4.0.10
2024-08-29 09:25:58 -04:00
transifex-integration[bot]
8666b4d1b0
Updates for project NetBox ( #17296 )
...
* Translate django.po in cs
100% translated source file: 'django.po'
on 'cs'.
* Translate django.po in es
100% translated source file: 'django.po'
on 'es'.
* Translate django.po in de
100% translated source file: 'django.po'
on 'de'.
* Translate django.po in da
100% translated source file: 'django.po'
on 'da'.
* Translate django.po in fr
100% translated source file: 'django.po'
on 'fr'.
* Translate django.po in it
100% translated source file: 'django.po'
on 'it'.
* Translate django.po in uk
100% translated source file: 'django.po'
on 'uk'.
* Translate django.po in pt
100% translated source file: 'django.po'
on 'pt'.
* Translate django.po in zh
100% translated source file: 'django.po'
on 'zh'.
* Translate django.po in ja
100% translated source file: 'django.po'
on 'ja'.
* Translate django.po in nl
100% translated source file: 'django.po'
on 'nl'.
* Translate django.po in tr
100% translated source file: 'django.po'
on 'tr'.
* Translate django.po in pl
100% translated source file: 'django.po'
on 'pl'.
* Translate django.po in ru
100% translated source file: 'django.po'
on 'ru'.
---------
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-08-29 09:21:52 -04:00
Jeremy Stretch
b71087e29d
Fix broken intra-page links
2024-08-29 09:13:02 -04:00
Jeremy Stretch
ef65a382a7
Update change log
2024-08-29 09:01:23 -04:00
bctiemann
fbce6144e0
Fixes : #16905 - Allow filtering on Device Status in InventoryItemTable ( #17260 )
...
* Add device_status as filtering option (and configurable column) for InventoryItemTable
* Add device_status to common superclasses for Device Components, and refactor ChoiceFieldColumn to support a "color" callable allowing get_FOO_color behavior to be overridden
* Remove unnecessary 'device_status' in fields
* Add unit tests for device_status
2024-08-29 08:10:30 -04:00
Jeremy Stretch
933393b41a
Fixes #17279 : Do not regenerate key when updating a token via REST API
2024-08-29 07:51:09 -04:00
github-actions
4509ee3ac8
Update source translation strings
2024-08-29 05:02:20 +00:00
Jeremy Stretch
c9b9104f91
Fixes #17278 : Rebuild the tree after bulk editing MPTT-enabled object types
2024-08-28 16:25:36 -04:00
Jeremy Stretch
85e8dbabe5
Fixes #16756 : Fix table pagination for custom script results
2024-08-28 16:24:16 -04:00
Arthur Hanson
6b57352146
17286 fix add member to virtual chassis
2024-08-28 12:29:04 -04:00
Daniel Sheppard
bc97b12bd2
Fixes : #16292 - Properly restrict GraphQL queries for querys with pk set ( #17244 )
...
* Fixes : #16292 - Properly restrict GraphQL queries for querys with pk set
* Update netbox/netbox/settings.py
* Apply schema adaptations across all apps
* Extend GraphQL API tests
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-28 12:23:25 -04:00
github-actions
765a12378d
Update source translation strings
2024-08-28 05:02:04 +00:00
Jeremy Stretch
1c4a8d0055
Update changelog
2024-08-27 17:09:16 -04:00
Arthur Hanson
dc0e7a6acd
16733 fix bulk edit/delete buttons with quick search ( #17130 )
...
* 16733 fix bulk edit/delete buttons with quick search
* 16733 fix bulk edit/delete buttons with quick search
* 16733 fix bulk edit/delete buttons with quick search
* Wrap bulk action buttons with .bulk-action-buttons for replacement via HTMX
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-27 16:50:05 -04:00
mcmehrtens
a1cf5d6114
Closes #17007 : Center SSO if display name is an empty string
2024-08-27 16:41:40 -04:00
Arthur Hanson
f0c4299b8a
17186 change custom link button color from outline-dark to outline-se… ( #17248 )
...
* 17186 change custom link button color from outline-dark to outline-secondary
* 17186 change choice to default
* 17186 change choice to default
* 17186 change choice to default
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-27 15:08:39 -04:00
Arthur Hanson
ccdafb3bc6
17219 fix custom validator display if function ( #17247 )
...
* 17219 fix custom validator display if function
* 17219 fix custom validator display if function
* 17219 use custom json encoder
* Fix system config export
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-27 14:19:16 -04:00
Jeremy Stretch
ce1fc5b454
Closes #17256 : Fix translation support in VLAN group scope assignment form ( #17270 )
...
* Closes #17256 : Fix translation support in VLAN group scope assignment form
* Disable scope field if scope type not selected; update label on type change
* Reset selected scope object when changing scope type
2024-08-27 13:58:56 -04:00
Arthur Hanson
5e1c190dfc
16670 fix OpenAPI schema generation with nested serializers ( #17078 )
...
* 16670 fix OpenAPI schema generation with nested serializers
* 16670 fix comment
* Add comment; misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-27 12:57:14 -04:00
Jeremy Stretch
20d0985fb6
Update changelog
2024-08-27 12:08:02 -04:00
Arthur Hanson
ae089b734d
16959 Fix filter reset button ( #17154 )
...
* 16959 fix filter reset button
* 16959 fix filter reset button
* Move reset button initialization logic to initFormElements()
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-27 12:01:16 -04:00
Arthur Hanson
5686a72475
16946 return empty queryset if filterset is not valid ( #17015 )
...
* 16946 raise error if filterset is not valid
* 16946 cleanup
* 16946 change to None qs return and add test
* Remove obsolete logic
* Clean up test case
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-08-27 10:59:14 -04:00
Jeremy Stretch
eae4e44601
Fixes #17230 : Ensure consistent rendering for all dashboard widget colors
2024-08-27 10:14:07 -04:00
Jonathan Senecal
0be6c55571
Update related_objects.html
2024-08-27 09:35:21 -04:00
Jeremy Stretch
06f90b68dd
Fixes #16385 : Restore support for white, gray, and black background colors
2024-08-27 09:12:40 -04:00