aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-11-20 11:29:33 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-11-20 11:29:37 +0100
commit64b5c2476ab750512676ef8a0ae9e9ab6ddb0d91 (patch)
tree7cacb51afed8829e9d74c315faa9372ad5af0bc1
parentde94ac86a211dec657332d964693857ec235ce40 (diff)
downloadPeerTube-64b5c2476ab750512676ef8a0ae9e9ab6ddb0d91.tar.gz
PeerTube-64b5c2476ab750512676ef8a0ae9e9ab6ddb0d91.tar.zst
PeerTube-64b5c2476ab750512676ef8a0ae9e9ab6ddb0d91.zip
remove outdated badges, add authorization to caption routes
-rw-r--r--README.md12
-rw-r--r--server/tools/package.json3
-rw-r--r--support/doc/api/openapi.yaml48
3 files changed, 27 insertions, 36 deletions
diff --git a/README.md b/README.md
index cfd44f560..abf0021fe 100644
--- a/README.md
+++ b/README.md
@@ -43,10 +43,6 @@ Be part of a network of multiple small federated, interoperable video hosting pr
43 43
44 <br /> 44 <br />
45 45
46 <a href="https://david-dm.org/Chocobozzz/PeerTube?path=client&type=dev">
47 <img src="https://david-dm.org/Chocobozzz/PeerTube/dev-status.svg?path=client" alt="devDependency Status" />
48 </a>
49
50 <a href="https://automate.browserstack.com/public-build/T2g0SVQyMTJtYVRWaEZQTE9LdU9UU1ZDSkY5dTJ6dGlNRUVIajd4QlIwST0tLVdTQ1NUZ0pUTzRZT3lyZzkvWGNSZ1E9PQ==--278d3c68ae0827ce57e245e9f5a3b8c35d6e2278%"> 46 <a href="https://automate.browserstack.com/public-build/T2g0SVQyMTJtYVRWaEZQTE9LdU9UU1ZDSkY5dTJ6dGlNRUVIajd4QlIwST0tLVdTQ1NUZ0pUTzRZT3lyZzkvWGNSZ1E9PQ==--278d3c68ae0827ce57e245e9f5a3b8c35d6e2278%">
51 <img src="https://automate.browserstack.com/badge.svg?badge_key=T2g0SVQyMTJtYVRWaEZQTE9LdU9UU1ZDSkY5dTJ6dGlNRUVIajd4QlIwST0tLVdTQ1NUZ0pUTzRZT3lyZzkvWGNSZ1E9PQ==--278d3c68ae0827ce57e245e9f5a3b8c35d6e2278%"/> 47 <img src="https://automate.browserstack.com/badge.svg?badge_key=T2g0SVQyMTJtYVRWaEZQTE9LdU9UU1ZDSkY5dTJ6dGlNRUVIajd4QlIwST0tLVdTQ1NUZ0pUTzRZT3lyZzkvWGNSZ1E9PQ==--278d3c68ae0827ce57e245e9f5a3b8c35d6e2278%"/>
52 </a> 48 </a>
@@ -65,14 +61,6 @@ Be part of a network of multiple small federated, interoperable video hosting pr
65 <img alt="test suite status" src="https://github.com/Chocobozzz/PeerTube/workflows/Test%20Suite/badge.svg" /> 61 <img alt="test suite status" src="https://github.com/Chocobozzz/PeerTube/workflows/Test%20Suite/badge.svg" />
66 </a> 62 </a>
67 63
68 <a href="https://david-dm.org/Chocobozzz/PeerTube">
69 <img src="https://david-dm.org/Chocobozzz/PeerTube.svg" alt="Dependencies Status" />
70 </a>
71
72 <a href="https://david-dm.org/Chocobozzz/PeerTube?type=dev">
73 <img src="https://david-dm.org/Chocobozzz/PeerTube/dev-status.svg" alt="devDependency Status" />
74 </a>
75
76 <a href="http://standardjs.com/"> 64 <a href="http://standardjs.com/">
77 <img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg" alt="JavaScript Style Guide" /> 65 <img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg" alt="JavaScript Style Guide" />
78 </a> 66 </a>
diff --git a/server/tools/package.json b/server/tools/package.json
index 3821850c0..ae31d1ace 100644
--- a/server/tools/package.json
+++ b/server/tools/package.json
@@ -8,8 +8,5 @@
8 "netrc-parser": "^3.1.6", 8 "netrc-parser": "^3.1.6",
9 "webtorrent-hybrid": "^4.0.1" 9 "webtorrent-hybrid": "^4.0.1"
10 }, 10 },
11 "summon": {
12 "silent": true
13 },
14 "devDependencies": {} 11 "devDependencies": {}
15} 12}
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index c16914eb2..4feca5d99 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -306,7 +306,7 @@ paths:
306 - Config 306 - Config
307 security: 307 security:
308 - OAuth2: 308 - OAuth2:
309 - admin 309 - admin
310 responses: 310 responses:
311 '200': 311 '200':
312 description: successful operation 312 description: successful operation
@@ -320,7 +320,7 @@ paths:
320 - Config 320 - Config
321 security: 321 security:
322 - OAuth2: 322 - OAuth2:
323 - admin 323 - admin
324 responses: 324 responses:
325 '200': 325 '200':
326 description: successful operation 326 description: successful operation
@@ -336,7 +336,7 @@ paths:
336 - Config 336 - Config
337 security: 337 security:
338 - OAuth2: 338 - OAuth2:
339 - admin 339 - admin
340 responses: 340 responses:
341 '200': 341 '200':
342 description: successful operation 342 description: successful operation
@@ -345,7 +345,7 @@ paths:
345 summary: List instance jobs 345 summary: List instance jobs
346 security: 346 security:
347 - OAuth2: 347 - OAuth2:
348 - admin 348 - admin
349 tags: 349 tags:
350 - Job 350 - Job
351 parameters: 351 parameters:
@@ -455,7 +455,7 @@ paths:
455 post: 455 post:
456 security: 456 security:
457 - OAuth2: 457 - OAuth2:
458 - admin 458 - admin
459 tags: 459 tags:
460 - Instance Follows 460 - Instance Follows
461 summary: Follow a server 461 summary: Follow a server
@@ -481,7 +481,7 @@ paths:
481 summary: Create a user 481 summary: Create a user
482 security: 482 security:
483 - OAuth2: 483 - OAuth2:
484 - admin 484 - admin
485 tags: 485 tags:
486 - Users 486 - Users
487 responses: 487 responses:
@@ -545,7 +545,7 @@ paths:
545 summary: Delete a user 545 summary: Delete a user
546 security: 546 security:
547 - OAuth2: 547 - OAuth2:
548 - admin 548 - admin
549 tags: 549 tags:
550 - Users 550 - Users
551 operationId: delUserId 551 operationId: delUserId
@@ -634,7 +634,7 @@ paths:
634 summary: Get video imports of my user 634 summary: Get video imports of my user
635 security: 635 security:
636 - OAuth2: 636 - OAuth2:
637 - user 637 - user
638 tags: 638 tags:
639 - Videos 639 - Videos
640 - My User 640 - My User
@@ -711,7 +711,7 @@ paths:
711 summary: Get my user subscriptions 711 summary: Get my user subscriptions
712 security: 712 security:
713 - OAuth2: 713 - OAuth2:
714 - user 714 - user
715 tags: 715 tags:
716 - My Subscriptions 716 - My Subscriptions
717 parameters: 717 parameters:
@@ -727,7 +727,7 @@ paths:
727 summary: Add subscription to my user 727 summary: Add subscription to my user
728 security: 728 security:
729 - OAuth2: 729 - OAuth2:
730 - user 730 - user
731 requestBody: 731 requestBody:
732 content: 732 content:
733 application/json: 733 application/json:
@@ -752,7 +752,7 @@ paths:
752 summary: Get if subscriptions exist for my user 752 summary: Get if subscriptions exist for my user
753 security: 753 security:
754 - OAuth2: 754 - OAuth2:
755 - user 755 - user
756 tags: 756 tags:
757 - My Subscriptions 757 - My Subscriptions
758 parameters: 758 parameters:
@@ -797,7 +797,7 @@ paths:
797 summary: Get subscription of my user 797 summary: Get subscription of my user
798 security: 798 security:
799 - OAuth2: 799 - OAuth2:
800 - user 800 - user
801 tags: 801 tags:
802 - My Subscriptions 802 - My Subscriptions
803 parameters: 803 parameters:
@@ -813,7 +813,7 @@ paths:
813 summary: Delete subscription of my user 813 summary: Delete subscription of my user
814 security: 814 security:
815 - OAuth2: 815 - OAuth2:
816 - user 816 - user
817 tags: 817 tags:
818 - My Subscriptions 818 - My Subscriptions
819 parameters: 819 parameters:
@@ -1801,8 +1801,8 @@ paths:
1801 summary: Delete an abuse 1801 summary: Delete an abuse
1802 security: 1802 security:
1803 - OAuth2: 1803 - OAuth2:
1804 - admin 1804 - admin
1805 - moderator 1805 - moderator
1806 parameters: 1806 parameters:
1807 - $ref: '#/components/parameters/abuseId' 1807 - $ref: '#/components/parameters/abuseId'
1808 responses: 1808 responses:
@@ -1873,8 +1873,8 @@ paths:
1873 summary: Block a video 1873 summary: Block a video
1874 security: 1874 security:
1875 - OAuth2: 1875 - OAuth2:
1876 - admin 1876 - admin
1877 - moderator 1877 - moderator
1878 tags: 1878 tags:
1879 - Video Blocks 1879 - Video Blocks
1880 parameters: 1880 parameters:
@@ -1886,8 +1886,8 @@ paths:
1886 summary: Unblock a video by its id 1886 summary: Unblock a video by its id
1887 security: 1887 security:
1888 - OAuth2: 1888 - OAuth2:
1889 - admin 1889 - admin
1890 - moderator 1890 - moderator
1891 tags: 1891 tags:
1892 - Video Blocks 1892 - Video Blocks
1893 parameters: 1893 parameters:
@@ -1904,8 +1904,8 @@ paths:
1904 summary: List video blocks 1904 summary: List video blocks
1905 security: 1905 security:
1906 - OAuth2: 1906 - OAuth2:
1907 - admin 1907 - admin
1908 - moderator 1908 - moderator
1909 parameters: 1909 parameters:
1910 - name: type 1910 - name: type
1911 in: query 1911 in: query
@@ -1968,6 +1968,9 @@ paths:
1968 /videos/{id}/captions/{captionLanguage}: 1968 /videos/{id}/captions/{captionLanguage}:
1969 put: 1969 put:
1970 summary: Add or replace a video caption 1970 summary: Add or replace a video caption
1971 security:
1972 - OAuth2:
1973 - user
1971 tags: 1974 tags:
1972 - Video Captions 1975 - Video Captions
1973 parameters: 1976 parameters:
@@ -1993,6 +1996,9 @@ paths:
1993 description: video or language not found 1996 description: video or language not found
1994 delete: 1997 delete:
1995 summary: Delete a video caption 1998 summary: Delete a video caption
1999 security:
2000 - OAuth2:
2001 - user
1996 tags: 2002 tags:
1997 - Video Captions 2003 - Video Captions
1998 parameters: 2004 parameters: