ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix video upload with some characters in filename
Chocobozzzf4120aea7a4b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9acd4b1160..7f0426a567 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -36,10 +36,10 @@* Add an intro at the beginning and/or an outro at the end of the video* Add an icon/watermark in the top right corner of the video* PeerTube will automatically transcode the new video and replace the original one- * :tada: Add advanced video statistics :tada:+ * :tada: Add advanced statistics of a specific video :tada:* Provide *Average watch time*, *Total watch time* and *Peak viewers* video statistics* Display total viewers, aggregated watch time and audience retention in interactive time series graphs- * Display viewer countries in bar chart if enabled by admins+ * Display viewer countries in bar chart if not disabled by admins* :tada: Add latency setting support for lives (small latency without P2P or high latency to increase P2P ratio) :tada:* :tada: Add ability to save a replay of every streaming session of a permanent live :tada:* Add simple subtitle edition from video captions tab in video edition form [#4666](https://github.com/Chocobozzz/PeerTube/pull/4666)diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.tsindex 7cb3d8300f..663955d271 100644--- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts+++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts@@ -136,7 +136,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroyreturn this.refereshTokenAndRetryUpload()}- const error = state.response?.error || 'Unknow error'+ const error = state.response?.error?.message || state.response?.error || 'Unknown error'this.handleUploadError({error: new Error(error),diff --git a/package.json b/package.jsonindex 44f0a22d4b..d9ff46f188 100644--- a/package.json+++ b/package.json@@ -83,7 +83,7 @@"@babel/parser": "7.17.8","@peertube/feed": "^5.0.1","@peertube/http-signature": "^1.6.0",- "@uploadx/core": "^5.1.0",+ "@uploadx/core": "^5.1.2","async": "^3.0.1","async-lru": "^1.1.1","bcrypt": "5.0.1",diff --git a/yarn.lock b/yarn.lockindex a3de036603..d09f7329ca 100644--- a/yarn.lock+++ b/yarn.lock@@ -2235,10 +2235,10 @@resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44"integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==-"@uploadx/core@^5.1.0":- version "5.1.0"- resolved "https://registry.yarnpkg.com/@uploadx/core/-/core-5.1.0.tgz#292d6f0c2a2e8f21283eed7879a73ee856334ac0"- integrity sha512-C19Hne2X7PaaJ8J8clj0XE+iAqAtIx/8DnsSMMe8LWtIcGnquRsj5acaawuhOr7SrYOpI1CHCY5HC4SPtykb7g==+"@uploadx/core@^5.1.2":+ version "5.1.2"+ resolved "https://registry.yarnpkg.com/@uploadx/core/-/core-5.1.2.tgz#6e4dbfa586c58dd358765bdc5590536c2ba26267"+ integrity sha512-/91wxm4g/Cn0/AcFN96MOWUaQzSQ8rPv2ObHhmHrl5sId2DJqnUiY2Ll4Xkw+WDzuHNF3V9yVwSh53eR1TUDpQ==dependencies:bytes "^3.1.0"debug "^4.3.1"