Skip to content

Releases: linuxmuster/linuxmuster-api

Release 7.4.10 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 17 Aug 20:34
  • [linbo] Open /linbo/changes, /linbo/hosts/query, /linbo/grub-configs,
    /linbo/dhcp/export/isc-dhcp, /linbo/hosts/scan and
    /linbo/dhcp/export/dnsmasq-proxy to school-administrators, scoped to
    their own school. startconfs/configs/images/boot-logs/wol stay
    global-admin-only until linuxmusterTools.linbo has real per-school
    ownership (documented as TODOs in linbo.py).
  • [devices] Add GET /v1/devices/roles, listing the computer roles
    configured in sophomorix.ini's [computerrole.*] sections (until now
    hardcoded client-side). Merge pull request #34 from
    edulution-io/add-computer-roles-endpoint (@TomlDev).

Release 7.4.9 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 08 Aug 14:12
  • [security] check_user_header(), check_host_header() and
    BasicAuthChecker (GET /v1/auth/) now catch
    linuxmusterTools.common.LdapNotProvisionedError and return a 503
    "linuxmuster is not provisioned yet" instead of a raw 500 (header.py)
    or a misleading 400 "Malformated username" (basic_auth.py) on a fresh
    install where Samba hasn't been provisioned yet.
  • [tests] Add pytests/test_header.py and pytests/test_basic_auth.py,
    mocking the LDAP layer directly (no TestClient needed).

Release 7.4.8 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 07 Aug 13:14
  • [sophomorix] sophomorix-check now runs as a background job like
    sophomorix-apply already did, polled via GET
    /listmanagement/sophomorix-jobs/status/{pid}. Fixes -jj's JSON output
    being written to stderr and never captured by the job's own output
    redirection.
  • [managementgroups] Add/remove members through
    linuxmuster-tools' GroupManager (batch, proper errors) instead of
    LMNMgmtGroup (per-member loop, silently warning instead of failing on
    an unknown user). Scope group/member changes to a given school via
    @require_school, like the rest of the API.

Release 7.4.7 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 05 Aug 12:49
  • [passwords] Use LMNUser.set_actual_password() instead of the removed
    samba_util.UserManager for setting the account's current password.
  • Fix authentication broken by the linuxmuster-tools
    test_password()/check_password() rename (JWT issuance via Basic Auth
    was failing).
  • [security] Exempt local requests (127.0.0.1/::1, e.g.
    linuxmuster-webui7 on the same host) from the rate limiter.
  • [linbo] Add LINBO Windows driver API endpoints. (@amolani)
  • [tests] Add/update tests for the password endpoints, policy
    constraints, and the rate limiter's loopback exemption.

Release 7.4.6 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 22 Jul 20:35
  • [passwords] Return a clear 404 instead of silently no-op'ing when a
    school-administrator tries to write password constraints before a
    global-administrator has created the config file.
  • Fix school scoping across several endpoints: enforce a required
    school parameter for global-administrators, restrict
    school-administrators to their own school, fix decorator order and a
    dict-assignment bug found along the way. Fixes #22, #23, #24, #26.
  • List routers explicitly instead of relying on a private FastAPI method.
    Fix #25.
  • [groups] Add custom fields handling to lmngroups.

Release 7.4.5 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 16 Jul 20:39
  • [linbo] Add endpoints to write raw start.conf or delete start.conf

Release 7.4.4 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 15 Jul 09:15
  • Fix endpoint list
  • [groups] New endpoints for lmngroups.
  • [subnets] New endpoints to manage subnets (@hermanntoast)

Release 7.4.3 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 20 Jun 15:32
  • Use right method for as_dict.

Release 7.4.2 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 16 Jun 15:24
  • Avoid var shadowing with lmntools
  • Batch users request to optimize load time
  • Lifespan to handle secrets only on app start
  • Add expiry date to token
  • Use pdflatex as default for passwords

Release 7.4.1 (lmn74)

Choose a tag to compare

@github-actions github-actions released this 25 Apr 16:13
  • New package for 7.4.