Commit Graph
25 Commits
Author SHA1 Message Date
Przemyslaw Kukulski bb7ba42b90 fix: small template marketplace fixes (#6916)
* fix: small template marketplace fixes

* Review feedback
2026-11-30 21:08:04 +01:00
Przemyslaw Kukulski 41277db4ec feat: notify admins and authors about user template reviews (#6845)
* feat: notify admins and authors about user template reviews

* Review feedback
2026-11-26 15:35:14 +01:00
Przemyslaw Kukulski becb8db5a1 feat: track template marketplace usage in PostHog (#6847) 2026-11-26 12:40:30 +01:00
Przemyslaw Kukulski ed9eb7d3a7 feat: turn user templates off for a whole instance (#6842)
* feat: turn user templates off for a whole instance

* Review feedback
2026-11-26 11:12:23 +01:00
Przemyslaw Kukulski 6508fbbc32 feat: list private templates on the admin Templates page (#6769)
* feat: list private templates on the admin Templates page

* Review feedback
2026-11-19 21:08:50 +01:00
Przemyslaw Kukulski 7ea2f1c56b feat: template marketplace tweaks and fixes (#6741)
* feat: template marketplace tweaks and fixes

* Review feedback
2026-11-19 20:25:02 +01:00
Przemyslaw Kukulski 47ef996921 feat: a way back for a blocked user template (#6696)
* feat: a blocked user template has a way back

* Review feedback
2026-11-16 12:09:41 +01:00
Przemyslaw Kukulski 7121039db6 feat: block and unblock user templates from the admin Templates page (#6661)
* feat: block and unblock user templates from the admin Templates page

* Review feedback
2026-11-12 20:24:32 +01:00
Peter Evans 8e37e1ec3a fix: sign users out of existing sessions when an admin changes their password (#6629)
* fix: sign users out of existing sessions when an admin changes their password

* fix: keep admins signed in after changing their own password in the admin panel

* fix: send other tabs to the login page after a password change instead of crashing

* chore: add changelog entry for the password change tab crash fix

* fix: send users with two-factor auth to the login page after changing their own password
2026-11-11 10:10:17 +00:00
Przemyslaw Kukulski 13ac9fc914 feat: manage every user template from the admin Templates page (#6654)
* feat: manage every user template from the admin Templates page

* Review feedback
2026-11-10 20:14:11 +01:00
Przemyslaw Kukulski 91df1115d3 feat: review user templates from the admin page, with an approval setting (#6549)
* feat: review user templates from the admin page, with an approval setting

* Review feedback

* Review feedback 2

* Review feedback 3
2026-11-10 12:27:38 +01:00
Peter EvansandJeremie Pardou 31552d5e97 feat: show who effectively has access in the share dialog (#6463)
* show who effectively has access in the share dialog

* optimise the effective access query

* add a loading spinner for the effective access too

* fix: navigate inherited access within the sharing modal

* fix: restore invitation popup and scrollable access lists

* fix: return accurate team counts in scope access lists

* refactor: centralize subject avatar rendering and styling

* fix: keep team counts in field permissions and restore template icons

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-10-27 14:19:07 +00:00
Bram 35866e79de All workspaces homepage [2/7] Added all workspaces page and sidebar (#5980)
* Added all workspaces page and sidebar

* Show error if workspace is not found

* Fixed feedback

* Fixed feedback

* Fix test
2026-09-23 22:44:24 +02:00
Bram c736860333 feat: Reject decorative characters in name and workspace (#6073) 2026-09-11 14:50:40 +02:00
Davide Silvestri 4feb259e10 chore(deps): upgrade Nuxt to 4.5.0 and Vue ecosystem (#5763) 2026-08-05 16:05:01 +00:00
Bram 1fd27d407c feat: Added admin views listing (#5751) 2026-07-22 16:30:17 +02:00
Bram 9ce66289e3 Hardened workspace invitation emails and user name validation (#5659) 2026-07-07 12:27:45 +00:00
alamin-br 4ded9a7d37 Allow instance admins to manage users' 2FA state (#5517)
* feat: add password-free TwoFactorAuthHandler.disable_for_user

* feat: add UserAdminHandler.disable_user_two_factor_auth

* feat: add AdminDisableTwoFactorAuthActionType for audit logging

* feat: expose two_factor_auth status in admin users list

* feat: add admin endpoint to remove a user's two-factor authentication

* feat: show 2FA status column in admin users table

* feat: allow admins to remove a user's 2FA from the edit user modal

* chore: add changelog entry for admin 2FA management

* style: add styling for the remove 2FA link in the edit user modal

* fix: correct admin users 2FA column width and edit-modal layout

Give the new 2FA column an explicit width so it no longer sizes to its
content and pushes the row past the container, which had clipped the
rightmost "Highest Role" badge.

Wrap the edit modal's 2FA badge and remove link in a centered flex row
with a gap, and tighten the link so it aligns with the badge instead of
out-weighing the primary Save action.

* fix(review): register AdminDisableTwoFactorAuthActionType in apps.py

The new admin 2FA-removal action type was not registered in the action
type registry like every sibling user action. Audit log entries were
still created (the action_done signal carries the type directly), but the
action was absent from the enterprise audit-log export filter choices
(action_type_registry.get_types()) and unresolvable via the registry.
Register it alongside the other user action types and add a regression
test asserting it is registered.

* fix: show admin users active state as an icon only to free column space

Drop the "Active"/"Deactivated" text label from each row and keep just
the status icon (with a tooltip), so the table reclaims horizontal space
and the enterprise "Highest Role" billable badge is no longer clipped.
Both states keep an icon. Also drop the 2FA column width override, which
over-reserved space without helping.

* test: parametrize admin user password and name validation tests

Collapse the three password-validation tests and the two name-length
tests into test.each cases. Same coverage, less duplication, and a new
validation case only needs another data row.

* fix(review): annotate 2FA serializer schema and document 403

- Add @extend_schema_field(TwoFactorAuthSerializer) to get_two_factor_auth
  so the OpenAPI spec reflects the {type, is_enabled} shape instead of a
  bare object.
- Make the empty-provider case an explicit {} return rather than relying on
  TwoFactorAuthSerializer(None).data, which only yields {} because both
  fields are read_only.
- Document the 403 response on the admin two-factor-auth DELETE endpoint
  (IsAdminUser returns 403 for authenticated non-staff users).

* test: cover admin 2FA self-removal and modal error path

Add a backend test asserting an admin can remove their own 2FA (the
handler intentionally allows self-removal since it can't lock anyone
out), locking in that behavior against a future self-modification guard.

Add a frontend test for the DisableTwoFactorAuthModal failure path: on a
non-204 response the error surfaces in the modal and the optimistic row
clear is not applied, so the 2FA badge stays as-is.

* fix(review): drop misleading 2FA required marker and document empty schema

- Remove required attribute from the read-only 2FA FormGroup in UserForm
  (it wraps a display badge, not an input, so the indicator misled admins).
- Annotate get_two_factor_auth with a raw OpenAPI object schema that omits
  required, so the empty {} (no provider) case is valid while still
  documenting the {type, is_enabled} shape. Response data is unchanged.

* fix(review): null 2FA state, register 2FA actions, trim raises doc

- Return null (not {}) from get_two_factor_auth when no provider is
  configured; document the field as a nullable typed object. Propagated to
  admin/enterprise tests, EditUserModal optimistic update, and the user
  fixture. Make TwoFactorAuthField null-safe so the cell tolerates null.
- Register the pre-existing ConfigureTwoFactorAuthActionType and
  DisableTwoFactorAuthActionType so they appear in the audit-log dropdown.
- Drop the TwoFactorAuthNotConfigured :raises from disable(); it is raised by
  disable_for_user, which already documents it.
2026-06-22 15:34:37 +02:00
716d43a9a8 Nuxt 3 migration (#4342)
Update the nuxt3 version.

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
Co-authored-by: Cezary <cezary@baserow.io>
Co-authored-by: Tsering Paljor <tsering@baserow.io>
Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io>
Co-authored-by: Bram <bram2w@users.noreply.github.com>
2026-01-22 10:27:19 +01:00
Bram Wiepjes cdfe6a6c43 Show highest role on admin listing page 2025-08-18 07:54:20 +00:00
Bram Wiepjes 89ec974dfc Fix various validations and errors 2025-03-17 15:41:05 +00:00
Jonathan Adeline abdbf94e67 Re-add blur event listeners 2025-03-04 17:47:13 +00:00
Jonathan Adeline a58e6a3300 Vuelidate upgrade 2025-02-17 13:17:35 +00:00
Przemyslaw Kukulski f491f439af Upgrade vue-chartjs from 4.X to 5.X 2025-01-29 11:17:34 +00:00
Bram Wiepjes ecceffa968 Move admin dashboard, user, and workspace to core 2024-12-12 19:41:04 +00:00