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

feat: add limit and offset parameters to routes that fetch lists from db #277

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 7, 2023

  1. feat: add limit and offset parameters to routes that fetch lists from db

    - add limit and offset parameters with descriptions, to all routes that fetch lists from db (fix #243, #250)
    - use crud.fetch_all in all the routes above, to limit the number of items returned for non-admin users (fix #276)
    - forbid /installation/site-devices to access site outside of group, instead of filtering devices
    - improve test_installations.py (test_get_active_devices_on_site)
    - Dockerfile-dev: update FROM image name
    Bruno Lenzi committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    95cd027 View commit details
    Browse the repository at this point in the history
  2. fix: black

    Bruno Lenzi committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    a94ceb9 View commit details
    Browse the repository at this point in the history