Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.0.10 #17297

Merged
merged 42 commits into from
Aug 29, 2024
Merged

Release v4.0.10 #17297

merged 42 commits into from
Aug 29, 2024

Conversation

jeremystretch
Copy link
Member

Enhancements

  • #16857 - Scroll long rendered Markdown content within tables
  • #16905 - Enable filtering of device components by device status
  • #16949 - Add device count column to sites table
  • #17072 - Linkify email addresses & phone numbers in contact assignments list
  • #17177 - Add facility field to locations filter form

Bug Fixes

  • #16292 - Ensure consistent evaluation of queryset for both individual and list GraphQL API queries
  • #16385 - Restore support for white, gray, and black background colors
  • #16640 - Fix potential corruption of JSON values in custom fields that are not UI-editable
  • #16670 - Fix conflicts within OpenAPI schema definition regarding nested serializers
  • #16733 - Fix bulk edit/delete of objects when using "select all" widget
  • #16756 - Fix dynamic pagination of custom script results table
  • #16825 - Avoid NoReverseMatch exception when displaying count of related object type with no list view
  • #16946 - GraphQL API requests with an invalid filter should return an empty set
  • #16959 - Fix function of "reset" button on objects filter form
  • #16973 - Fix support for evaluating user token ($user) against custom field values in permission constraints
  • #17007 - Center SSO authentication icon when backend is unnamed
  • #17070 - Image height & width values should not be required when creating an image attachment via the REST API
  • #17108 - Ensure template date & time filters always return localtime-aware values
  • #17117 - Work around Safari rendering bug
  • #17186 - Fix display of custom links with default style under dark mode
  • #17219 - Fix system config view exception when custom validator classes are employed
  • #17230 - Ensure consistent rendering for all dashboard widget colors
  • #17256 - Fix VLAN group scope selection for non-English languages
  • #17278 - Ensure hierarchy is recalculated when bulk editing recursively nested object types (e.g. tenant groups)
  • #17279 - Do not regenerate key when updating a token via REST API
  • #17286 - Fix exception when adding member device to virtual chassis via web UI

jeremystretch and others added 30 commits August 14, 2024 10:27
* 16640 fix JSON custom field save nul

* 16640 explicitly check against None

* 16640 convert JSON field from str to dict
…nments table (#17233)

* Add linkify_email and apply with linkify_phone to ContactAssignmentTable

* Use EmailColumn instead of linkify_email
…bar (#17237)

* Add clamp_height to the markdown filter which limits max height to 200 (scrollable) on the container div

* Remove clamp_height option, apply scrolling style to all markdown divs inside td's
…re (#17267)

* Update isotime and isodate filters to be timezone-aware for display in templates (particularly Scripts)

* Handle naive datetimes gracefully
…7246)

* change caret to html entity to fix safari performacne issue

* change caret to html entity to fix safari performacne issue

* 17117 use material icon

* 17117 use material icon

* 17117 use material icon

* 17117 fix vertical align

* Add comments & tweak padding

---------

Co-authored-by: Jeremy Stretch <[email protected]>
… based on custom fields (#17268)

* Resolve $user token to User.id for use in permissions based on custom fields

* Cleaner type check

* Simplify User object check by updating tokens instead of resolved values
* 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 <[email protected]>
* 16959 fix filter reset button

* 16959 fix filter reset button

* Move reset button initialization logic to initFormElements()

---------

Co-authored-by: Jeremy Stretch <[email protected]>
* 16670 fix OpenAPI schema generation with nested serializers

* 16670 fix comment

* Add comment; misc cleanup

---------

Co-authored-by: Jeremy Stretch <[email protected]>
… 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
* 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 <[email protected]>
#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 <[email protected]>
* 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 <[email protected]>
github-actions bot and others added 12 commits August 28, 2024 05:02
…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 <[email protected]>
#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
* 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>
@jeremystretch jeremystretch merged commit e93e9ac into master Aug 29, 2024
6 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants