Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './lib/Vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
"openapi": "generate-spec --verbose && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')",
"openapi": "generate-spec && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')",
"rector:check": "rector --dry-run",
"rector:fix": "rector",
"psalm": "psalm --no-cache --threads=$(nproc)",
Expand Down
32 changes: 32 additions & 0 deletions openapi-backend-recording.json
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,22 @@
"default": "v1"
}
},
{
"name": "talk-recording-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-recording-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the recording backend",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -640,6 +656,22 @@
"pattern": "^[a-z0-9]{4,30}$"
}
},
{
"name": "talk-recording-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-recording-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the recording backend",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down
16 changes: 16 additions & 0 deletions openapi-backend-signaling.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,22 @@
"default": "v3"
}
},
{
"name": "spreed-signaling-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "spreed-signaling-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the signaling backend",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down
113 changes: 113 additions & 0 deletions openapi-backend-sipbridge.json
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,23 @@
{
"name": "x-nextcloud-federation",
"in": "header",
"description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request",
"schema": {
"type": "string"
}
},
{
"name": "talk-sipbridge-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-sipbridge-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the Sipbridge",
"schema": {
"type": "string"
}
Expand Down Expand Up @@ -1145,6 +1162,22 @@
"pattern": "^\\d{7,32}$"
}
},
{
"name": "talk-sipbridge-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-sipbridge-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the Sipbridge",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1337,6 +1370,22 @@
"pattern": "^[a-z0-9]{4,30}$"
}
},
{
"name": "talk-sipbridge-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-sipbridge-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the Sipbridge",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1546,6 +1595,22 @@
"pattern": "^[a-z0-9]{4,30}$"
}
},
{
"name": "talk-sipbridge-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-sipbridge-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the Sipbridge",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1765,6 +1830,22 @@
"default": "v4"
}
},
{
"name": "talk-sipbridge-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-sipbridge-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the Sipbridge",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1968,6 +2049,22 @@
"pattern": "^[a-z0-9]{4,30}$"
}
},
{
"name": "talk-sipbridge-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-sipbridge-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the Sipbridge",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -2128,6 +2225,22 @@
"type": "string"
}
},
{
"name": "talk-sipbridge-random",
"in": "header",
"description": "Random seed used to generate the request checksum",
"schema": {
"type": "string"
}
},
{
"name": "talk-sipbridge-checksum",
"in": "header",
"description": "Checksum over the request body to verify authenticity from the Sipbridge",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down
48 changes: 48 additions & 0 deletions openapi-federation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,14 @@
]
}
},
{
"name": "x-nextcloud-federation",
"in": "header",
"description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1134,6 +1142,14 @@
"type": "string"
}
},
{
"name": "x-nextcloud-federation",
"in": "header",
"description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1234,6 +1250,14 @@
]
}
},
{
"name": "x-nextcloud-federation",
"in": "header",
"description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1321,6 +1345,14 @@
"type": "string"
}
},
{
"name": "x-nextcloud-federation",
"in": "header",
"description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1839,6 +1871,14 @@
"pattern": "^[a-z0-9]{4,30}$"
}
},
{
"name": "x-nextcloud-federation",
"in": "header",
"description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -1967,6 +2007,14 @@
"type": "string"
}
},
{
"name": "x-nextcloud-federation",
"in": "header",
"description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request",
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down
Loading
Loading