Skip to content

api: allow configuring default page_size and max_page_size - #18165

Merged
rissson merged 8 commits into
goauthentik:mainfrom
nalves599:nunoalves/pagination-configuration
Dec 11, 2025
Merged

rissson merged 8 commits into
goauthentik:mainfrom
nalves599:nunoalves/pagination-configuration

Conversation

@nalves599

@nalves599 nalves599 commented Nov 14, 2025 •

Copy link
Copy Markdown
Contributor

Details

Adds options to configure pagination settings:

  • pagination.max_page_size: Allows setting the maximum number of items returned per page on paginated endpoints.
  • pagination.page_size: Default number of items per page (Default: 100)

Closes #18158


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 docs)

@netlify

netlify Bot commented Nov 14, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 46934c4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/693acf14f6198e0008e7e43a

@netlify

netlify Bot commented Nov 14, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations canceled.

Name Link
🔨 Latest commit 46934c4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/693acf145f1c6e0008603c89

@netlify

netlify Bot commented Nov 14, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 46934c4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/693acf142a958e0008a2de1e

@nalves599
nalves599 force-pushed the nunoalves/pagination-configuration branch from b65cfcb to 89daecb Compare November 14, 2025 22:40
@codecov

codecov Bot commented Nov 14, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.17%. Comparing base (1f21d2e) to head (46934c4).
⚠️ Report is 30 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18165      +/-   ##
==========================================
- Coverage   93.26%   93.17%   -0.09%     
==========================================
  Files         942      946       +4     
  Lines       51586    51772     +186     
==========================================
+ Hits        48111    48238     +127     
- Misses       3475     3534      +59     
Flag Coverage Δ
e2e 44.77% <100.00%> (-0.04%) ⬇️
integration 23.25% <42.85%> (-0.03%) ⬇️
unit 91.45% <85.71%> (-0.03%) ⬇️
unit-migrate 91.50% <85.71%> (-0.03%) ⬇️

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.

@nalves599
nalves599 force-pushed the nunoalves/pagination-configuration branch from 89daecb to 7bdecd1 Compare November 17, 2025 10:08
@rissson rissson changed the title api: allow configuring default page_size and max_page_size (#18158) api: allow configuring default page_size and max_page_size Nov 17, 2025
@BeryJu BeryJu added this to the Release 2026.2 milestone Nov 27, 2025
@nalves599
nalves599 force-pushed the nunoalves/pagination-configuration branch from 7bdecd1 to eb2b8ca Compare November 28, 2025 14:06
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu requested a review from a team as a code owner December 10, 2025 03:34
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>

# Conflicts:
#	web/src/admin/admin-settings/AdminSettingsForm.ts
Comment thread authentik/tenants/models.py Resolved
Comment thread authentik/root/settings.py Resolved
BeryJu and others added 3 commits December 11, 2025 12:28
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Dec 11, 2025
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
@rissson
rissson enabled auto-merge (squash) December 11, 2025 14:35
@rissson
rissson merged commit 196bce3 into goauthentik:main Dec 11, 2025
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Dec 11, 2025
kensternberg-authentik added a commit that referenced this pull request Dec 11, 2025
* main: (69 commits)
  website/docs: fix incorrect menu reference in data exports doc (#18752)
  translate: Updates for project authentik and language zh-Hans (#18756)
  translate: Updates for project authentik and language tr_TR (#18758)
  translate: Updates for project authentik and language fi_FI (#18759)
  translate: Updates for project authentik and language pl_PL (#18754)
  translate: Updates for project authentik and language ru_RU (#18745)
  translate: Updates for project authentik and language ko_KR (#18760)
  translate: Updates for project authentik and language ja_JP (#18755)
  translate: Updates for project authentik and language de_DE (#18749)
  translate: Updates for project authentik and language nl_NL (#18751)
  translate: Updates for project authentik and language pt_BR (#18746)
  translate: Updates for project authentik and language es_ES (#18748)
  translate: Updates for project authentik and language it_IT (#18750)
  translate: Updates for project authentik and language cs_CZ (#18753)
  translate: Updates for project authentik and language fr_FR (#18747)
  stages/identification: Add WebAuthn conditional UI (passkey autofill) support (#18377)
  api: allow configuring default page_size and max_page_size (#18165)
  root: do not require backend approval for npm workspace dependencies (#18738)
  outpost/proxyv2: more tests, fix pg password with spaces, and existing session on restart (#18211)
  web: bump @types/guacamole-common-js from 1.5.4 to 1.5.5 in /web (#18717)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add option to set maximum page size

3 participants