Skip to content

events: ensure all models' __str__ can be called without any further lookups (cherry-pick #9480)#9485

Merged
BeryJu merged 1 commit intoversion-2024.4from
cherry-pick-ba1053-version-2024.4
Apr 27, 2024
Merged

events: ensure all models' __str__ can be called without any further lookups (cherry-pick #9480)#9485
BeryJu merged 1 commit intoversion-2024.4from
cherry-pick-ba1053-version-2024.4

Conversation

@gcp-cherry-pick-bot
Copy link
Copy Markdown
Contributor

Cherry-picked events: ensure all models' str can be called without any further lookups (#9480)

  • events: ensure all models' str can be called without any further lookups

Signed-off-by: Jens Langhammer jens@goauthentik.io

  • allow for additional queries for models using default_token_key

Signed-off-by: Jens Langhammer jens@goauthentik.io


Signed-off-by: Jens Langhammer jens@goauthentik.io

…lookups (#9480)

* events: ensure all models' __str__ can be called without any further lookups

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* allow for additional queries for models using default_token_key

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@gcp-cherry-pick-bot gcp-cherry-pick-bot bot requested a review from a team as a code owner April 27, 2024 20:19
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 27, 2024

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit bfc340d
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/662d5ddefd954c0008722ac0
😎 Deploy Preview https://deploy-preview-9485--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.44%. Comparing base (82d4ea9) to head (bfc340d).

Additional details and impacted files
@@               Coverage Diff               @@
##           version-2024.4    #9485   +/-   ##
===============================================
  Coverage           92.44%   92.44%           
===============================================
  Files                 668      669    +1     
  Lines               32675    32695   +20     
===============================================
+ Hits                30207    30226   +19     
- Misses               2468     2469    +1     
Flag Coverage Δ
e2e 50.64% <0.00%> (-0.03%) ⬇️
integration 26.00% <0.00%> (-0.02%) ⬇️
unit 89.72% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ghcr.io/goauthentik/dev-server:gh-bfc340df160328e1aa0f7dfa4f1592729923ae9c
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ghcr.io/goauthentik/dev-server:gh-bfc340df160328e1aa0f7dfa4f1592729923ae9c-arm64
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-bfc340df160328e1aa0f7dfa4f1592729923ae9c

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-bfc340df160328e1aa0f7dfa4f1592729923ae9c-arm64

Afterwards, run the upgrade commands from the latest release notes.

@BeryJu BeryJu merged commit 9d6816b into version-2024.4 Apr 27, 2024
@BeryJu BeryJu deleted the cherry-pick-ba1053-version-2024.4 branch April 27, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant