add filter:api.user.signup.requires-approval.result (#7446)

* add filter:api.user.signup.requires-approval.result

closes #6691

* update test

* signup: dont mark /registrations/request as deprecated

* fix broken tests

* changes after review

* Add offensive test for video filename check

* PR fixes

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
kontrollanten
2026-03-24 16:25:38 +01:00
committed by GitHub
co-authored by Chocobozzz
parent cc13efbf92
commit 5a9c09be7f
15 changed files with 319 additions and 57 deletions
+22 -2
View File
@@ -2790,8 +2790,20 @@ paths:
tags:
- Register
responses:
'204':
'200':
description: successful operation
content:
application/json:
schema:
type: object
properties:
state:
type: object
properties:
id:
$ref: '#/components/schemas/UserRegistrationState'
label:
type: string
'400':
description: request error
'403':
@@ -2818,7 +2830,15 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserRegistration'
type: object
properties:
state:
type: object
properties:
id:
$ref: '#/components/schemas/UserRegistrationState'
label:
type: string
'400':
description: request error or signup approval is not enabled on the instance
'403':