Skip to content

enterprise: fix expired license's users being counted#14451

Merged
BeryJu merged 3 commits intomainfrom
enterprise/fix-expired-license-users-counted
May 13, 2025
Merged

enterprise: fix expired license's users being counted#14451
BeryJu merged 3 commits intomainfrom
enterprise/fix-expired-license-users-counted

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented May 9, 2025

Details

REPLACE ME


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

@BeryJu BeryJu requested a review from a team as a code owner May 9, 2025 16:52
@netlify
Copy link

netlify bot commented May 9, 2025

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 2d686c7
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/682348217cc86b000896ae01
😎 Deploy Preview https://deploy-preview-14451--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.

@netlify
Copy link

netlify bot commented May 9, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 2d686c7
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/682348217cc86b000896adff

@BeryJu
Copy link
Member Author

BeryJu commented May 9, 2025

/cherry-pick version-2025.4

@codecov
Copy link

codecov bot commented May 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (ae2af6e) to head (2d686c7).
Report is 9 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14451      +/-   ##
==========================================
- Coverage   92.75%   92.70%   -0.06%     
==========================================
  Files         809      809              
  Lines       41518    41525       +7     
==========================================
- Hits        38511    38494      -17     
- Misses       3007     3031      +24     
Flag Coverage Δ
e2e 47.80% <15.38%> (-0.13%) ⬇️
integration 24.41% <15.38%> (+<0.01%) ⬆️
unit 90.55% <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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@BeryJu BeryJu force-pushed the enterprise/fix-expired-license-users-counted branch from d112b39 to eae9c02 Compare May 10, 2025 17:08
BeryJu added 2 commits May 12, 2025 15:17
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the enterprise/fix-expired-license-users-counted branch 2 times, most recently from 0d333e4 to b595fd4 Compare May 12, 2025 14:44
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the enterprise/fix-expired-license-users-counted branch from b595fd4 to 2d686c7 Compare May 13, 2025 13:24
@github-actions
Copy link
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-2d686c7d6f78591528573577263107a2a9c7271d
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
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-2d686c7d6f78591528573577263107a2a9c7271d

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

@BeryJu BeryJu merged commit 427597e into main May 13, 2025
91 checks passed
@BeryJu BeryJu deleted the enterprise/fix-expired-license-users-counted branch May 13, 2025 13:59
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request May 13, 2025
* enterprise: fix expired license's users being counted

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

* tests to the rescue

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

* hmm

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

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
BeryJu added a commit that referenced this pull request May 13, 2025
…4451) (#14496)

enterprise: fix expired license's users being counted (#14451)

* enterprise: fix expired license's users being counted



* tests to the rescue



* hmm



---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request May 22, 2025
* main: (60 commits)
  website: bump the build group in /website with 6 updates (#14502)
  core: remove `OldAuthenticatedSession` content type (#14507)
  core: bump msgraph-sdk from 1.29.0 to 1.30.0 (#14503)
  core: bump twilio from 9.6.0 to 9.6.1 (#14505)
  core: bump psycopg[c,pool] from 3.2.8 to 3.2.9 (#14504)
  enterprise: fix expired license's users being counted (#14451)
  website/integrations: fix missing closing brace for semaphore (#14467)
  tests/e2e: Add E2E tests for Flow SFE (#14484)
  website: bump semver from 7.7.1 to 7.7.2 in /website (#14491)
  core: bump django from 5.1.8 to 5.1.9 (#14483)
  core: bump psycopg[c,pool] from 3.2.7 to 3.2.8 (#14481)
  core: bump sentry-sdk from 2.27.0 to 2.28.0 (#14482)
  root: pin package version in pyproject for dependabot (#14469)
  core: fix session migration when old session can't be loaded (#14466)
  root: temporarily deactivate database pool option (#14443)
  website: bump the build group in /website with 3 updates (#14475)
  website/docs: stages: fix-typo (#14477)
  website/docs: Update Kubernetes Bootstrap Instructions (#14471)
  root: improve sentry distributed tracing (#14468)
  Revert "web/admin: fix enterprise menu display" (#14458)
  ...
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.

2 participants