Commit graph

5 commits

Author SHA1 Message Date
gsmithun4
14614bb254 Merge branch 'main' into release/v3.21.35-beta 2026-05-21 13:19:55 +05:30
Shantanu Mane
c2d8ba08ea
Add invitation token and invite URL generation for external API users and expand test coverage (#16413)
* feat(external-api): return per-workspace inviteUrl in POST /ext/users response

* test(external-api): expand POST /ext/users coverage — roles, multi-group, and failure conditions

Adds 8 new e2e tests covering role assignment, per-workspace role variance,
multiple custom groups, and all key failure paths (duplicate email, missing
workspace, default group in groups field, nonexistent group, end-user/builder
group conflict). Also seeds the builder default group in maybeCreateDefaultGroupPermissions
to unblock role-assignment tests against test orgs.

* test(external-api): clarify conflicting-permissions error shape in users spec

* feat(external-api): update default status to INVITED in user-related DTOs and add defaultOrganizationId field

* feat(external-api): enhance invited user session guard and expand user creation tests for archived status

* feat(external-api): add tests for org-invite URL behavior based on user and workspace status

* feat(external-api): update user status handling and invite URL logic in tests

* feat(external-api): update invite URL logic and OrganizationUser status handling for active users
2026-05-21 00:50:03 +05:30
gsmithun4
5b48e4f71e Merge branch 'lts-3.16' into release/v3.21.30-beta 2026-05-09 01:36:54 +05:30
Shantanu Mane
44aec5b8b4
Feature: Save Version External API (#16344)
* feat: add SAVE_APP_VERSION feature key and config

* feat: add SaveVersionBodyDto

* feat: add saveAppVersion CE interface stub and controller stub

* test: add e2e tests for save-version external API

* test: fix save-version seed helpers to avoid module_reference_id column

* feat: add SAVE_APP_VERSION feature key and update save-version e2e tests

* feat: add git tag creation tests for save version external API
2026-05-08 21:23:05 +05:30
Shantanu Mane
0fb732600a
Feature: Import/Export Modules External API (#16300)
* feat(external-apis): add LIST_MODULES, EXPORT_MODULE, IMPORT_MODULE feature keys, DTOs, and ability grants

* feat(external-apis): add CE stub modules controller and register in module

* feat(external-apis): add end-to-end tests for ExternalApisModulesController

* refactor(external-apis): simplify exportModule method signature in ExternalApisModulesController

* feat(external-apis): enhance tests for ExternalApisModulesController with additional cases for non-existent UUIDs

* feat(external-apis): update exportModule method to include exportTjdb parameter and enhance tests for its functionality

* feat(external-apis): enhance tooljet_database import schema validation and add module import/export helpers

* feat(external-apis): add tests for ExternalApisModulesController in starter and CE plans with appropriate status checks

* feat(external-apis): add tests for module and app import endpoints to validate JSON rejection
2026-05-08 21:16:38 +05:30