Commit Graph
100 Commits
Author SHA1 Message Date
Rigel KentandChocobozzz 276250f0a3 prevent multiple post-process triggering of upload-resumable (#4175)
* prevent multiple post-process triggering of upload-resumable

* switch from 409 to 503 for upload being processed

* Improve resumable upload check

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-25 17:42:20 +02:00
Rigel Kent 307b3db45e (doc) move irc webchat link to web.libera.chat 2021-06-15 09:51:13 +02:00
Rigel Kent 37ede348bb (doc) add note in config that tmp is also used while processing 2021-06-08 11:45:03 +02:00
Rigel Kent 2951065162 allow public video privacy to be deleted in the web client 2021-06-08 09:22:06 +02:00
Rigel Kent fd1b2d6953 fix colspan for user view of reports 2021-06-07 13:17:31 +02:00
Rigel Kent c756bae079 add video upload types, add doc middleware to more routes 2021-06-06 10:21:06 +02:00
Rigel Kent 1333ab1f2d add operationId doc middleware to so API endpoints 2021-06-04 09:21:46 +02:00
Rigel Kent 1c627fd8d2 refactor docMiddleware to support operationId-only form 2021-06-04 09:21:46 +02:00
Rigel Kent a31e9b183e add invalid_token error to openapi spec 2021-06-04 08:40:08 +02:00
Rigel Kent 81628e5069 refactor error code values for URI compatibility 2021-06-02 16:57:07 +02:00
Rigel Kent 3866ea02d4 correct error codes and backward compat 2021-06-02 16:57:07 +02:00
Rigel Kent 1cfbdd30d9 refactor deprecated body-parser usage 2021-06-02 16:57:07 +02:00
Rigel Kent 76148b27f7 refactor API errors to standard error format 2021-06-02 16:57:07 +02:00
Rigel Kent 3dd6d6cd42 move dependencies link to engines.yaml 2021-06-02 10:48:03 +02:00
Rigel Kent 7dab0bd698 improve api param message for video names and tags
closes #4026
2021-05-31 20:47:59 +02:00
Rigel Kent 70330f6323 improve api param message for dates 2021-05-31 19:47:24 +02:00
Rigel Kent 99c5d041fc prioritize matrix support for quick q/a 2021-05-26 14:46:18 +02:00
Rigel Kent e2adb8cb40 add operationId to common operations 2021-05-26 14:24:51 +02:00
Rigel Kent 3f71c4c068 fix typo in operationId in openapi spec 2021-05-24 19:24:44 +02:00
Rigel Kent 3cf8874f1a add code examples for login in openapi spec 2021-05-14 19:19:10 +02:00
Rigel Kent c76ecc3ff7 paginate response for abuse list in openapi spec
closes #4094
2021-05-13 23:40:50 +02:00
Rigel Kent 65cb01a252 modify response for adding abuse in openapi spec
closes #4093
2021-05-13 23:37:39 +02:00
Rigel Kent ca98c8f844 modify return code for adding/removing blocked servers in openapi spec
closes #4095
2021-05-13 23:33:24 +02:00
Rigel Kent 06dc7a1b96 add accept/reject routes for server followers in openapi spec 2021-05-13 14:52:31 +02:00
Rigel Kent da35b419cd fix route prefix for blocklist routes in openapi spec
closes #4091
2021-05-13 14:20:04 +02:00
Rigel Kent a4ce422305 fix route prefix for video redundancy routes in openapi spec
closes #4090
2021-05-13 14:18:02 +02:00
Rigel Kent b036eb057e more faithful error description in openapi spec 2021-05-13 14:10:11 +02:00
Rigel Kent e2464d22a5 add login/logout routes in openapi spec 2021-05-12 21:49:00 +02:00
Rigel Kent 0ae3ebb03e add cors section in openapi spec 2021-05-12 21:21:52 +02:00
Rigel Kent c00100b607 fix video playlistId/videoId for video playlists in openapi spec
closes #4081
2021-05-12 14:33:19 +02:00
Rigel Kent 9a320a06b6 add response content for createVideoChannel endpoint in openapi spec
closes #4077
2021-05-12 13:44:40 +02:00
Rigel Kent 4c440cedcc add rating field for video like endpoint in openapi spec
closes #4080
2021-05-11 21:44:32 +02:00
Rigel Kent 77b0c6b58f add missing user update me fields in openapi spec 2021-05-11 21:38:33 +02:00
Rigel Kent bf3c3feafb add missing video comment fields in openapi spec
closes #4079
2021-05-11 20:19:45 +02:00
Rigel Kent ac2a5b5427 factorized upload and import post fields in openapi spec
closes #4075
2021-05-11 10:07:43 +02:00
Rigel Kent 2c4876f215 added descriptions for video files/import fields in openapi spec 2021-05-11 01:50:42 +02:00
Rigel Kent de3876b815 explicit error formatting variant in openapi spec 2021-05-11 01:50:42 +02:00
Rigel Kent b8375da931 provide more schema examples in openapi spec 2021-05-11 01:50:42 +02:00
Rigel Kent 045bcd0d18 refactor subscriptions response from list to totalDataList in openapi spec
closes #4067
2021-05-10 14:43:44 +02:00
Rigel Kent 985ece5755 refactor abuses response list to totalDataList in openapi spec
closes #4066
2021-05-10 14:26:21 +02:00
Rigel Kent 40cfb36b9d specify operationId in openapi spec and factorize videoconstant ids 2021-05-10 14:17:35 +02:00
Rigel Kent fd5586b337 specify getUserId variant in openapi spec
closes #4062
2021-05-10 12:01:49 +02:00
Rigel Kent 6bd7f09781 secify username patterns for user create/register in openapi spec
closes #4061
2021-05-10 11:27:35 +02:00
Rigel Kent 5844dde3b8 fix imports list response in openapi spec
closes #4063
2021-05-10 11:27:35 +02:00
Rigel Kent 30b40713f4 fix response in openapi spec for quota and video ratings
closes #4064
closes #4065
2021-05-10 11:27:35 +02:00
Rigel Kent 52fe952642 relax guarantee on openapi rate limit doc accuracy 2021-05-07 09:52:36 +02:00
Rigel Kent 64df4b65ae add subscriptions feed api to openapi spec 2021-05-07 02:15:02 +02:00
Rigel Kent 3c5e02f38f add rate limit table to openapi spec 2021-05-07 01:40:21 +02:00
Rigel Kent b76db2ffb4 round volume in stats card 2021-05-04 13:21:51 +02:00
Rigel Kent 0c1145687b add examples and descriptions to some video fields in openapi spec 2021-05-04 11:20:58 +02:00
Rigel Kent f880a5e704 factorize uuid type in openapi spec 2021-05-04 10:44:33 +02:00
Rigel Kent 4ca669e361 make streaming playlists pivotable objects in openapi spec 2021-05-04 10:25:09 +02:00
Rigel Kent c540d8654f make hls/webtorrent fields closely documented in the openapi spec 2021-05-04 09:13:24 +02:00
Rigel Kent dfcb6f50a6 add description with operation link to category/licence/language constants 2021-05-03 14:34:46 +02:00
Rigel Kent 4302058c4d fix video channel parameters limit in openapi spec 2021-05-03 14:14:45 +02:00
Rigel Kent bdac05840d fix name limit for video in openapi spec 2021-05-03 12:17:30 +02:00
Rigel Kent b5fdfcbd89 fix FAQ link in production guide 2021-05-01 15:43:28 +02:00
Rigel Kent ff563914bb add stats videojs plugin 2021-04-28 09:05:44 +02:00
Rigel Kent a073c91270 modify tests to support current behaviour regarding plaintext description 2021-04-13 15:45:09 +02:00
Rigel Kent 84bced652c render markdown and plainify descriptions on previews 2021-04-13 15:45:09 +02:00
Rigel Kent 83ff548125 add icons in contextmenu 2021-04-12 15:35:39 +02:00
Rigel Kent de779034cd add link to open video on origin instance
closes #3624
2021-04-12 15:35:31 +02:00
Rigel Kent fe19f600da add channel and playlist stats to server stats endpoint (#3747)
* add channel and playlist stats to nodeinfo

* add tests for active video channels stats

* fix tests for active channel stats
2021-04-12 11:19:07 +02:00
Rigel Kent a472cf0330 add loop toggle to the player contextmenu 2021-04-12 10:50:22 +02:00
Rigel Kent 86598013a3 fix localization on page not found 2021-04-12 09:02:01 +02:00
Rigel Kent 8e286cdca4 add sort select to my videos, change default sort to -publishedAt
fixes #3779
2021-04-06 10:03:19 +02:00
Rigel Kent 0a25749f14 simplify channels/playlists name in account/channel views 2021-04-02 15:01:54 +02:00
Rigel Kent a3caabe228 Adjust search results note for i18n, adjust typeahead helper 2021-03-24 14:48:31 +01:00
Rigel Kent 3d4e112d16 add best trending strategy based on Reddit's best
inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/
this implementation only adds freshness, and doesn't personalize based
on subscribed communities yet.
2021-02-04 09:04:47 +01:00
Rigel Kent fb7b009d63 fix trending page scroll
fixes #3665
2021-02-01 19:19:50 +01:00
Rigel Kent c9b369096d exclude support for non-release external dependencies 2021-02-01 17:47:10 +01:00
Rigel Kent e01146559a fix nginx units 2021-01-31 22:17:37 +01:00
Rigel Kent 8a23909fe2 add description to live transcoding profile selector 2021-01-29 09:04:40 +01:00
Rigel Kent 149e4cc597 add description to transcoding profile selector 2021-01-28 17:21:08 +01:00
Rigel Kent a59db27090 take into account mime-encoding in nginx client_max_body_size
fixes #3656
2021-01-28 16:15:45 +01:00
Rigel Kent 923d3d5ad5 add test and openapi for hot sort parameter 2021-01-28 15:55:34 +01:00
Rigel Kent ba5d4a849c move from trending routes to alg param 2021-01-28 15:55:34 +01:00
Rigel Kent 3da68f0a78 add default trending page choice, revert comments count for hot strategy 2021-01-28 15:55:34 +01:00
Rigel Kent 28eeb811c4 only count comments from people other than the video author 2021-01-28 15:55:34 +01:00
Rigel Kent 5bcbcbe338 modularize abstract video list header and implement video hotness recommendation variant 2021-01-28 15:55:34 +01:00
Rigel Kent df7b786f09 add proxy_ignore_client_abort flag to Nginx conf
The `proxy_ignore_client_abort` flag specifies whether nginx will
monitor possible connection close while waiting for an upstream
server response. If an error occurs while sending a response, the
connection will be closed regardless of the flag, much like if
there were no nginx at all.

fixes #3484
2021-01-25 17:15:04 +01:00
Rigel KentandChocobozzz 2a6cf69cff prettify SQL queries during debug (#3635)
* prettify SQL queries during debug

* Use sql-formatter

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-01-25 15:37:41 +01:00
Rigel Kent ab398a05e9 redirect to login on 401, display error variants in 404 component 2021-01-25 15:37:26 +01:00
Rigel Kent 92c871b405 advertise live streaming as a feature in readme 2021-01-24 23:02:04 +01:00
Rigel Kent 370240824e Allow users/visitors to search through an account's videos (#3589)
* WIP: account search

* add search to account view

* add tests for account search
2021-01-19 13:43:33 +01:00
Rigel Kent c86fa51b8a fix video download modal select width 2021-01-18 14:05:53 +01:00
Rigel Kent bfc75aaa47 adjust logged-in-block width to fill space 2021-01-17 20:48:50 +01:00
Rigel Kent 82479cf13f add space before type name in download popup title
fixes #3599
2021-01-17 18:47:20 +01:00
Rigel Kent 52a3f561f5 add username information in profile settings 2021-01-17 18:13:05 +01:00
Rigel Kent 111e6c1807 add routes to 2MB cap in nginx config
fixes #3611
2021-01-17 17:00:12 +01:00
Rigel Kent 454c20fa7c stricter youtubedl format selectors (#3516)
* stricter youtubedl format selectors

make sure selectors avoid av1, and otherwise match as closely to the
maximum resolution enabled for transcoding

* add support for merge formats in youtubedl

* avoid vp9.2 in youtubedl to avoid any HDR

* move getEnabledResolutions, safer replace of imported extension

* add test for youtube-dl selectors
2021-01-15 15:56:56 +01:00
Rigel Kent 56f0876184 fix undefined dropdown on user logout 2021-01-14 15:35:03 +01:00
Rigel Kent 4b4635bdb1 prevent sending search GET parameter if undefined in my watch history 2021-01-13 16:07:30 +01:00
Rigel Kent 6632d4cc94 add admin reminder in case of transcode with no selected resolution to generate 2021-01-13 15:58:25 +01:00
Rigel Kent 7abb6060a9 specific niceness for live transcoding 2021-01-13 09:16:44 +01:00
Rigel Kent d8b34ee55b Allow user to search through their watch history (#3576)
* allow user to search through their watch history

* add tests for search in watch history

* Update client/src/app/shared/shared-main/users/user-history.service.ts
2021-01-13 09:16:15 +01:00
Rigel Kent 22078471fb show first decimal for views above a thousand (#3564)
* show first decimal for views above a thousand

* Update client/src/app/shared/shared-main/angular/number-formatter.pipe.ts
2021-01-13 09:15:43 +01:00
Rigel Kent b7085c7132 add support for 1440p (Quad HD/QHD/WQHD) videos 2021-01-13 09:14:09 +01:00
Rigel Kent 7185dab3ff add test for script printing command 2021-01-13 09:13:31 +01:00
Rigel Kent 0984960345 add script printing command to generate a resolution for a given file 2021-01-13 09:13:31 +01:00