Commit Graph

2695 Commits (910744fb084499a110d26bf5542abebb8a750b19)

Author SHA1 Message Date
Florian CUNY 8dd754c767
Added 144p encoding (#4492)
* Added 144p encoding

Implements https://github.com/Chocobozzz/PeerTube/issues/4428

* Fixed typo in core-utils

* Increased BitPerPixel for 144p

* Disabled 144p by default in test.yaml

* Another try at fixing tests

* Fixed test in video-transcoder (api-3)

* Fixed test in video-imports (api-4)

* Fixed test in live-constraints (api-2)

* Tried to fix tests in api-3 again

* Revert "Tried to fix tests in api-3 again"

This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14.

* Fixed test in config.ts (api-2)

* Try to fix test in video-hls.ts (api-3)

* Fixed test in video-transcoder.ts (api-3)

* Fix tests

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-11-05 10:23:02 +01:00
Chocobozzz dd6d2a7ce5
Improve advanced input filter 2021-11-03 14:23:55 +01:00
Chocobozzz d324756edb
Add ability to filter by file type 2021-11-03 11:32:41 +01:00
Chocobozzz d5d9c5b79e
Add ability to filter live videos 2021-11-03 09:59:53 +01:00
Chocobozzz 9814ea9f04
Fix lint 2021-11-03 09:40:50 +01:00
Chocobozzz 05ac4ac7ed
Move admin stuff in +admin 2021-11-02 14:14:26 +01:00
Chocobozzz 047f9585dd
Fix select in share modal 2021-11-02 11:52:55 +01:00
Chocobozzz 256fb92e67
Better moderation label 2021-11-02 11:51:23 +01:00
Chocobozzz 231ff4af3b
Add ability to exclude muted accounts 2021-11-02 11:50:03 +01:00
Chocobozzz 61f85385bb
Add admin videos loading animation 2021-11-02 11:17:17 +01:00
Chocobozzz 7e7d8e4853
Some fixes for admin videos list 2021-11-02 11:13:13 +01:00
Chocobozzz f1c861727c
Add ability to preview embed in share modal 2021-11-02 10:01:28 +01:00
Chocobozzz eeae81428e
Remove useless components 2021-10-29 11:52:58 +02:00
Chocobozzz 3c10840fa9 Add video file size info in admin videos list 2021-10-29 11:48:21 +02:00
Chocobozzz 2760b454a7 Deprecate filter video query
Introduce include and isLocal instead
2021-10-29 11:48:21 +02:00
Chocobozzz e4611b5491 Always use my-table-expander-icon 2021-10-29 11:48:21 +02:00
Chocobozzz 33f6dce136 Add videos list admin component 2021-10-29 11:48:21 +02:00
Chocobozzz 00004f7f6b Put admin users in overview tab 2021-10-29 11:48:21 +02:00
Chocobozzz bd898dd76b
Add message if registration is disabled 2021-10-29 11:16:36 +02:00
Florian CUNY db581cf7b9
Added label on the next autoplayed video and hide the hr line if unnecessary (#4497)
* Added label on the next autoplayed video

Implements https://github.com/Chocobozzz/PeerTube/issues/4280

Also hid the hr line if autoplay is disabled

* Applied code suggestion

* Applied code suggestion

* Applied the last remaining code suggestion
2021-10-26 17:15:12 +02:00
Florian CUNY 754b6f5f41
Made the video channels limit (per user) server-wide configurable (#4491)
* Made the video channels limit (per user) server-wide configurable

Implements https://github.com/Chocobozzz/PeerTube/issues/3092

Also added a "quota bar" in the account's settings page

* Fixed lint errors

* Another pass at fixing lint errors

* Applied code suggestions

* Removed 'video channels quota'
2021-10-26 16:42:10 +02:00
Poslovitch 9f3bf1432d Added Markdown formatting in playlist descriptions
Implements https://github.com/Chocobozzz/PeerTube/issues/3627
2021-10-26 08:48:17 +02:00
Poslovitch 3c4d6c1d9c Changed label of "sort by views" to "sort by recent views"
Fixes https://github.com/Chocobozzz/PeerTube/issues/4421
2021-10-26 08:37:40 +02:00
Rigel Kent 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
Chocobozzz 60dd77c692
Cleanup video playlist element miniature code 2021-10-22 16:05:57 +02:00
Chocobozzz 0ba9696c01
Cleanup video update component 2021-10-22 15:51:02 +02:00
Nataly Rocha 382258676c
Add warning and update privacy on share playlist (#4469)
* add warning and update privacy on share

* update playlist display name on toast

* change privacy update to link

* remove conditional

* Improve share private warning styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-22 15:11:45 +02:00
Chocobozzz ab4001aade
Provide origin URL to client and fix remote share 2021-10-22 14:11:58 +02:00
Chocobozzz fe228901ce
Hide live transcoding features if disabled 2021-10-21 11:00:53 +02:00
Chocobozzz a2c3564a31
Improve moderation dropdown UX 2021-10-21 10:19:42 +02:00
Chocobozzz 5196817c5d
Fix privacy concern for remote videos 2021-10-21 09:24:22 +02:00
Chocobozzz ebe9b6b3f3
Fix ng select tags height 2021-10-20 14:50:46 +02:00
Chocobozzz 64553e8809
Add ability to filter logs by tags 2021-10-20 14:33:38 +02:00
Chocobozzz 1243729899
Refactor log level choice 2021-10-20 13:52:56 +02:00
Chocobozzz d94b8ecf7d
Improve admin tables responsive 2021-10-20 11:35:09 +02:00
Chocobozzz dbb76162b9
Admin menu header consistency for system entries 2021-10-20 10:27:51 +02:00
Chocobozzz 05c114f5b4
Fix max pagination in find in bulk 2021-10-20 09:25:44 +02:00
Chocobozzz 978c87e7f5
Add channel filters for my videos/followers 2021-10-20 09:25:44 +02:00
Chocobozzz 7e76cc3800
Add quick filter for followers 2021-10-20 09:25:44 +02:00
Chocobozzz 4beda9e12a
Add ability to view my followers 2021-10-20 09:25:44 +02:00
Chocobozzz e960932517
Optimize channel with video in homepage 2021-10-18 15:41:20 +02:00
Chocobozzz 2cc276f92f
Fix find in bulk 2021-10-18 11:44:54 +02:00
Chocobozzz 1e2fe802d1
Force live type specification in first step 2021-10-15 11:45:03 +02:00
Chocobozzz 3eb7ee658d
Try to improve permanent live label 2021-10-15 10:54:12 +02:00
Chocobozzz ca44cb3692
Fix my videos search on refresh 2021-10-15 10:30:39 +02:00
Chocobozzz afb7d2d5c6
Remove protractor workaround
We don't use it anymore
2021-10-14 11:50:22 +02:00
Chocobozzz cf0c8ee588
Fix admin edition disabling feature 2021-10-14 11:35:43 +02:00
Chocobozzz f8ddccf239
Upgrade linkifyjs 2021-10-12 15:16:31 +02:00
Chocobozzz 80dea8f4d6
Rename config key 2021-10-12 14:25:30 +02:00
kontrollanten 7399a79f73
add option to always show channel display name (#4422)
* add option to always show channel display name

closes #4040

* show avatar in video miniatures

closes #4040

* Revert "show avatar in video miniatures"

This reverts commit 79b1a84140.

* channel display name: fix review comments
2021-10-12 14:23:44 +02:00
Chocobozzz 10ef089102
Merge branch 'release/3.4.0' into develop 2021-10-12 13:50:48 +02:00
kontrollanten c80e458afb
extend client-overrides with default images (#4392)
* extend client-overrides with default images

Add:
* default-playlist.png
* default-avatar-account.png
* default-avatar-videochannel.png

solves #4108

* Rename to default-avatar-video-channel.png

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-12 13:50:40 +02:00
kontrollanten c3bb04413e
add ...playlist.elements.loaded hook (#4387)
* client: add ...playlist.elements.loaded hook

closes #4385

* fix linting error

* client: add playlist metadata to video-watch hooks

* Prefer using a filter for playlist elements hook

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-12 13:45:55 +02:00
Jelle Besseling 8d8a037e3f
Allow configuration to be static/readonly (#4315)
* Allow configuration to be static/readonly

* Make all components disableable

* Improve disabled component styling

* Rename edits allowed field in configuration

* Fix CI
2021-10-12 13:33:44 +02:00
Chocobozzz 221d876fa7
Fix upload can deactivate 2021-10-12 10:53:26 +02:00
Chocobozzz c55d76206c
Remove redundant attribute 2021-10-11 14:55:06 +02:00
Chocobozzz 9fb2ed5f83
Remove useless assignment 2021-10-11 14:40:00 +02:00
Chocobozzz 0fe87dc5a1
Remove unused function 2021-10-11 12:00:29 +02:00
Chocobozzz 0af2a8c5d6
Correctly disable infinite scroll for reuse 2021-10-11 09:37:27 +02:00
Chocobozzz e0b1231b20
Fix autoblock message on upload page 2021-10-11 09:37:26 +02:00
Chocobozzz b51e5b7401
Correctly disable infinite scroll for reuse 2021-10-08 15:59:05 +02:00
Chocobozzz 8e7442d0d8
Fix autoblock message on upload page 2021-10-08 11:26:17 +02:00
Chocobozzz 335fe15c47
Disable chunk upload on ios
See https://github.com/kukhariev/ngx-uploadx/issues/316#issuecomment-915858713
2021-09-09 10:31:30 +02:00
Chocobozzz 8a7abfef88
Fix video filters for non english UI 2021-09-08 15:13:12 +02:00
Chocobozzz 9e8a7e0837
Ensure we return a boolean 2021-09-08 10:19:03 +02:00
Chocobozzz 0ea2f79d45
Safer image preview 2021-09-08 10:16:39 +02:00
Ms Kimsible 4546d92e40 Fix undefined this.user.videoChannels on production build 2021-09-08 10:16:33 +02:00
Ms Kimsible b16e0cf248
Fix broken delete buttons of admin federation lists (#4378)
* Add ellipsis on my-delete button of federation admin

* Add ellipsis on button label to define (max-)width on host component

Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
2021-09-08 10:12:38 +02:00
Chocobozzz 02b286f890
More robust webtorrent redundancy download
Avoid issues with inconsistencies between magnet infohash and torrent
infohash, blocking webtorrent upload that will timeout
2021-09-06 16:19:49 +02:00
Chocobozzz 6d210220be
Fix NSFW filter and add tests 2021-09-03 16:35:18 +02:00
Chocobozzz af6766e375
Fix login modal error 2021-08-30 17:13:16 +02:00
Chocobozzz 1199515781
Fix video update redirection id 2021-08-30 09:39:09 +02:00
Chocobozzz 1b20624552
Don't display scope fitler on account/channel pages 2021-08-30 09:37:18 +02:00
Ms Kimsible 94b13cf4b3 Add account setup message to welcome alert after signup 2021-08-30 09:24:36 +02:00
Chocobozzz 8f58172565
Allow accounts to skip account setup modal 2021-08-27 10:15:55 +02:00
Chocobozzz 1ff15061b3
Avoid layout shift in account setup modal 2021-08-27 09:30:32 +02:00
Chocobozzz bf80903fde
Don't display account setup modal on signup
Don't bother user with a modal just after signup
2021-08-27 09:26:45 +02:00
Chocobozzz 0dce48c1e2
Custom markup container default to space between 2021-08-26 13:44:54 +02:00
Chocobozzz 818045ef04
Update client dependencies 2021-08-26 10:01:42 +02:00
Chocobozzz 98ab5dc810
Remove useless async 2021-08-26 10:01:42 +02:00
Ms Kimsible 52a354ab7a
Fix user quota alerts always displayed (#4354)
* Fix user quota alerts display on upload page

* Fix border-radius upload messages alerts

Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
2021-08-26 08:40:18 +02:00
Ms Kimsible 7dca45f99d
Inform user to fill account profile and channels (#4352)
* Add account-setup modal when login

* Add channels-setup alert into my-channels, my-playlists and upload page

Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
2021-08-26 08:22:33 +02:00
Chocobozzz fdec51e384
Merge branch 'feature/video-filters' into develop 2021-08-25 11:42:30 +02:00
Chocobozzz 59c8902a57
Update upload message filter hook name 2021-08-25 11:41:10 +02:00
Ms Kimsible 4e1592daa4
Alert user for low quota and video auto-block on upload page (#4336)
* Replace wording of instance contact

* Add contact-us button to no-quota alert on upload page

* Add alert for accounts with auto-blocked videos on upload page

* Add alert for accounts without enough quota + refacto on upload page

* Using ng-container and ng-template

* Add alert for daily quota

* Add hook filter for upload page alert messages

* Add instance name as subtitle in contact modal

* Fix eslint max-len on  string

* Fix missing word in quota left daily message - upload page

Co-authored-by: Kimsible <kimsible@users.noreply.github.com>
2021-08-25 11:38:10 +02:00
Chocobozzz dd24f1bb0a
Add video filters to common video pages 2021-08-25 11:24:11 +02:00
Chocobozzz 2e80d256cc
Fix live/upload redirection 2021-08-18 11:39:45 +02:00
Chocobozzz 9df52d660f
Migrate client to eslint 2021-08-18 08:35:06 +02:00
Chocobozzz 1378c0d343
Fix client lint 2021-08-17 14:01:45 +02:00
Jelle Besseling 0305db28c9
Add support for saving video files to object storage (#4290)
* Add support for saving video files to object storage

* Add support for custom url generation on s3 stored files

Uses two config keys to support url generation that doesn't directly go
to (compatible s3). Can be used to generate urls to any cache server or
CDN.

* Upload files to s3 concurrently and delete originals afterwards

* Only publish after move to object storage is complete

* Use base url instead of url template

* Fix mistyped config field

* Add rudenmentary way to download before transcode

* Implement Chocobozzz suggestions

https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-891670478

The remarks in question:
    Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names
    Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket
    Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET)
    I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs)
    https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer
    I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs

* Import correct function

* Support multipart upload

* Remove import of node 15.0 module stream/promises

* Extend maximum upload job length

Using the same value as for redundancy downloading seems logical

* Use dynamic part size for really large uploads

Also adds very small part size for local testing

* Fix decreasePendingMove query

* Resolve various PR comments

* Move to object storage after optimize

* Make upload size configurable and increase default

* Prune webtorrent files that are stored in object storage

* Move files after transcoding jobs

* Fix federation

* Add video path manager

* Support move to external storage job in client

* Fix live object storage tests

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-08-17 08:26:20 +02:00
Chocobozzz 134006b0d4
Update client dependencies 2021-08-11 11:49:01 +02:00
Chocobozzz 27db78400c
Fix backend channel name validator consistency 2021-08-05 13:54:35 +02:00
Chocobozzz ff4de38385
Filter videos by live in custom markup 2021-08-02 17:10:07 +02:00
Chocobozzz 3da38d6e9f
Fetch things in bulk for the homepage 2021-08-02 15:40:09 +02:00
Chocobozzz 171efc48e6
Merge branch 'release/3.3.0' into develop 2021-07-30 11:38:19 +02:00
Chocobozzz 3ce48a0cd0
Hide schedule privacy if private does not exist 2021-07-30 11:24:38 +02:00
Chocobozzz 916bf5283b
Fix empty search 2021-07-29 15:51:19 +02:00
Chocobozzz 7e8f19603b
Redirect to search page for origin instance 2021-07-29 15:35:41 +02:00
Chocobozzz af7fd04a67
Add ability to filter by host in search page 2021-07-29 15:19:22 +02:00
Chocobozzz 29837f8885
Add ability to search by host in server 2021-07-27 17:10:52 +02:00
Chocobozzz ac27887774
Merge branch 'release/3.3.0' into develop 2021-07-26 15:18:46 +02:00
Chocobozzz 84c6eadc33
Fix moderation embeds 2021-07-26 15:17:59 +02:00
Chocobozzz a00056c0c8
Fix description timestamp click 2021-07-26 15:14:17 +02:00
Chocobozzz 15a7eafb89
Refactor video links builders 2021-07-26 15:04:37 +02:00
Chocobozzz 9162fdd363
Refactor video links building 2021-07-26 14:12:50 +02:00
Chocobozzz d91714ca56
Fix privacy descriptions 2021-07-26 14:03:46 +02:00
Chocobozzz c4fa01f7c4
Merge branch 'release/3.3.0' into develop 2021-07-23 15:23:43 +02:00
Kimsible c1936140b9 Fix user-dropdown-indicator position on touchscreens 2021-07-23 15:23:22 +02:00
Chocobozzz c318541398
Add missing localization keys 2021-07-21 16:22:18 +02:00
Chocobozzz a24bd1ed41
Merge branch 'next' into develop 2021-07-21 15:51:30 +02:00
Kimsible 435990290a Correct privacymsg z-index to avoid hover dropdown on scroll 2021-07-21 15:33:59 +02:00
Chocobozzz c63830f154
Rename captions commands 2021-07-21 13:58:35 +02:00
Chocobozzz 4d029ef8ec
Add ability for instances to follow any actor 2021-07-21 13:35:31 +02:00
Chocobozzz 7f28f2ddba
Warning when using capitalized letter in login 2021-07-20 15:27:19 +02:00
Chocobozzz 01af646261
Channel deletion consistency 2021-07-20 15:27:19 +02:00
Chocobozzz c0e8b12e7f
Refactor requests 2021-07-20 15:27:18 +02:00
Chocobozzz 98fb490eb6
Fix signup button display 2021-07-20 13:49:46 +02:00
Chocobozzz f4e5ac1ffe
Fix user creation form 2021-07-16 16:26:20 +02:00
Chocobozzz a3f45a2ab3
Fix default privacy when plugins deleted private 2021-07-13 08:46:51 +02:00
Chocobozzz b980bcff7b
Fix privacy input altered by plugins 2021-07-12 14:48:57 +02:00
Chocobozzz 77d873c56d
Fix subscribe hotkey 2021-07-12 10:04:48 +02:00
Chocobozzz cf7f583098
Use show uuid for playlist miniatures 2021-07-05 09:27:53 +02:00
Chocobozzz c4238d68fb
Remove unused variable 2021-07-02 14:42:42 +02:00
Chocobozzz 787409e64a
Fix search module import 2021-07-02 08:49:54 +02:00
Chocobozzz f6c1251def
Use consistent margins 2021-07-01 18:05:08 +02:00
Chocobozzz 674d903b0e
Support accountHandle and channelHandle 2021-07-01 17:41:03 +02:00
Chocobozzz 8b61dcaf23
Homepage error handling 2021-07-01 17:28:47 +02:00
Chocobozzz c894a1ea72
Move watch attributes in a dedicated component 2021-06-30 09:49:45 +02:00
Chocobozzz 2453589a28
Move video alert in a dedicated component 2021-06-30 08:56:14 +02:00
Chocobozzz d4f0b2ecec
Relax watch CSS 2021-06-30 08:50:20 +02:00
Chocobozzz 8d64a72b4c
Refactor a little bit watch html 2021-06-29 18:08:59 +02:00
Chocobozzz 06a5557979
Move watch action buttons in a dedicated component 2021-06-29 18:01:02 +02:00
Chocobozzz 6ebdd12f88
Move privacy concerns in a dedicated component 2021-06-29 17:36:28 +02:00
Chocobozzz 911186dae4
Reorganize watch components 2021-06-29 17:18:39 +02:00
Chocobozzz b0c43e36db
Create a dedicated component for video description 2021-06-29 17:15:05 +02:00
Chocobozzz 6ea59f4154
Create a dedicated component for video rating 2021-06-29 17:00:30 +02:00
Chocobozzz 0ca454e3bd
Only display homepage when components are loaded 2021-06-29 16:16:12 +02:00
Chocobozzz 76b8d72e32
Playlist miniature consistent font size 2021-06-29 15:27:40 +02:00
Chocobozzz 24893b524c
Fix peertube container in markdown preview 2021-06-29 15:17:01 +02:00
Chocobozzz d4a8e7a65f Support short uuid for GET video/playlist 2021-06-29 14:56:35 +02:00
Chocobozzz 50cb778ee6
Fix daily quota display 2021-06-28 11:00:54 +02:00
Chocobozzz 8cbc40b2fe
Move to sass module 2021-06-28 10:54:02 +02:00
Chocobozzz fa12eacc01
Move to sass @use 2021-06-28 09:36:35 +02:00
Chocobozzz 262f8ff631
Fix subtitle download 2021-06-25 17:23:33 +02:00
Chocobozzz 37a44fc915 Add ability to search playlists 2021-06-25 14:44:01 +02:00
Chocobozzz 5c16e6bc97 Cleanup contact form with URL
Parent component still have the responsability to explicitely open the
modal
Rely on data router param to open or not the modal
2021-06-15 14:15:10 +02:00
Kimsible 089cfa6569 Fix input size of contact form on mobile view 2021-06-15 14:15:10 +02:00
Kimsible 47162a9c96 Fix CSS input displaying contact form + remove contact button underline 2021-06-15 14:15:10 +02:00
Kimsible dfca0f5fc2 Add /about/instance/contact contact-form route with prefilled queryParams subject&body 2021-06-15 14:15:10 +02:00
Chocobozzz 0f6521fa6b
Fix plugin modal/notifier 2021-06-14 13:44:17 +02:00
kontrollanten 72f611ca15 add client hook filter:videojs.options
closes #4086
2021-06-14 13:35:48 +02:00
Chocobozzz 4ead40e776
Cache refresh actor promise 2021-06-09 13:34:40 +02:00
Chocobozzz 5d6395af72
Add max rows to videos list 2021-06-09 10:59:20 +02:00
Chocobozzz 61cbafc1f8
Improve channel card custom markup 2021-06-09 10:31:27 +02:00
Chocobozzz 9105634f16
Add more filters for video miniatures 2021-06-09 09:32:47 +02:00
Chocobozzz f7894f0964
Create peertube-container html tag 2021-06-09 09:19:36 +02:00
Chocobozzz 5982ffc4b5
Fix console error when rewriting a comment 2021-06-08 10:40:38 +02:00
Chocobozzz 2f6a237f30
ACCOUNT instead of PEERTUBE ACCOUNT
Since we can also have mastodon/pleroma etc accounts
2021-06-08 10:20:52 +02:00
Rigel Kent 2951065162 allow public video privacy to be deleted in the web client 2021-06-08 09:22:06 +02:00
Chocobozzz 27bc958674
Bidi support 2021-06-07 18:14:05 +02:00
Chocobozzz 8beea2d37d
Add ability to filter menu links 2021-06-07 13:20:08 +02:00
Rigel Kent fd1b2d6953
fix colspan for user view of reports 2021-06-07 13:17:31 +02:00
Chocobozzz fc21ef5c62
Speed up plugins loading 2021-06-04 15:45:44 +02:00
Chocobozzz 2989628b79
Use HTML config when possible 2021-06-04 15:45:44 +02:00
Chocobozzz 8e08d415f9
Load server config on app init 2021-06-04 15:45:44 +02:00
Chocobozzz 584ac47a32
Add debug logs to plugin service 2021-06-04 15:45:44 +02:00
John Livingston 9777fe9eeb
Adding frontend peertubeHelpers.getBaseRouterRoute. (#4153)
* Adding frontend peertubeHelpers.getBaseRouterRoute.

* Fix doctoc.
2021-06-03 12:28:26 +02:00
Chocobozzz e030bfb59d
Refactor server errors handler 2021-06-02 18:15:41 +02:00
Rigel Kent 76148b27f7 refactor API errors to standard error format 2021-06-02 16:57:07 +02:00
Chocobozzz 0114ee15d5
Fix live image aspect ratio in theatre mode 2021-06-01 11:03:52 +02:00
kontrollanten 732c95cc97
Show logo in mobile view (#4141)
* client: show logo in mobile view

* client(menu): add space between burger and logo
2021-05-31 16:39:07 +02:00
Chocobozzz 11e4090dbb
Remove unused code 2021-05-31 14:50:50 +02:00
Chocobozzz 698a8c6508
Fix /:@actor redirection
Fixes https://github.com/Chocobozzz/PeerTube/issues/4134
2021-05-31 14:46:18 +02:00
Chocobozzz 8ee25e17b8
Add ability to set custom markdown in description 2021-05-31 11:33:49 +02:00
Chocobozzz 15f35256af
Add help to custom markdown textarea 2021-05-31 11:01:42 +02:00
Chocobozzz 6304213923
Support peertube button in custom markup 2021-05-28 15:23:17 +02:00
Chocobozzz 5351a0584f
Replace local menu icon 2021-05-28 14:56:42 +02:00
Chocobozzz 1c5e49e752
Merge branch 'release/3.2.0' into develop 2021-05-28 14:25:03 +02:00
Chocobozzz 1025ce5df9
Fix create account button 2021-05-28 14:24:17 +02:00
Chocobozzz daa45ded44
Remove unused component 2021-05-28 14:01:18 +02:00
Poslovitch 1f256e7d3c
Implemented configurable minimum signup age
Implements https://github.com/Chocobozzz/PeerTube/issues/3612

Fixed lint and removed debug

Fixed another lint error

Apply suggestions from code review

Co-authored-by: Chocobozzz <chocobozzz@cpy.re>

Add tests for min signup age config
2021-05-28 13:56:05 +02:00
Chocobozzz a1eda903a4
Support '/w/' and '/w/p/' for watch page
And use them as default in client
2021-05-28 11:38:08 +02:00
Chocobozzz 012580d98f
Cleanup
We must not expose private actor objects to clients
Just make 2 GET requests on channel/accounts instead
2021-05-28 10:22:50 +02:00
Chocobozzz d6d96bed80
Merge branch 'develop' into shorter-URLs-channels-accounts 2021-05-28 09:10:57 +02:00
Chocobozzz 94fbe5c49c
Use separate file for plugin placeholder component 2021-05-27 16:32:06 +02:00
Chocobozzz 8e5c2fdc33
Fix home routing 2021-05-27 16:31:54 +02:00
Chocobozzz 8f608a4cb2
Merge branch 'develop' into shorter-URLs-channels-accounts 2021-05-27 16:12:41 +02:00
Chocobozzz 0f01a8bacd Remove ngx-meta
Unmaintained
2021-05-27 16:00:13 +02:00
Frank Sträter 7e6bdb5ae5 change license to licence
Change "license" to "licence" for consistency in the user interface in English. 

License is both a noun and a verb in the United States.
If you live in any other English-speaking country, you will spell it "licence" when you use it as a noun and "license" when you use it as a verb.
2021-05-27 16:00:04 +02:00
Chocobozzz 2539932e16
Instance homepage support (#4007)
* Prepare homepage parsers

* Add ability to update instance hompage

* Add ability to set homepage as landing page

* Add homepage preview in admin

* Dynamically update left menu for homepage

* Inject home content in homepage

* Add videos list and channel miniature custom markup

* Remove unused elements in markup service
2021-05-27 15:59:55 +02:00
Chocobozzz 74654b2ee2
Fix from now pipe 2021-05-27 13:34:19 +02:00
Chocobozzz 35f676e5d3
Merge branch 'release/3.2.0' into develop 2021-05-26 16:00:21 +02:00
Chocobozzz b45afe12f9
Fix UI overflows 2021-05-26 16:00:09 +02:00
Chocobozzz 20213fbd2a
Merge branch 'release/3.2.0' into develop 2021-05-25 15:28:01 +02:00
Chocobozzz ceb8f32211
Fix live ending banner 2021-05-25 15:27:43 +02:00
Chocobozzz 1e4d2cb5ae
Merge branch 'release/3.2.0' into develop 2021-05-25 13:50:11 +02:00
Chocobozzz d11eae7edc
Fix local plugin auth select 2021-05-25 13:49:52 +02:00
Chocobozzz 2c2631e42a
Fix broadcast message level 2021-05-25 11:35:29 +02:00
Chocobozzz 7e47e2aa5e
Fix broadcast message level 2021-05-14 14:25:30 +02:00
Chocobozzz 5b1a6d45b5
Merge branch 'release/3.2.0' into develop 2021-05-14 14:18:13 +02:00
Chocobozzz cb4bab61c1
Fix logger warning level 2021-05-14 14:17:53 +02:00
Chocobozzz bc529ef7f0
Fix recommended banner size 2021-05-14 14:00:00 +02:00
Chocobozzz aea0b0e7cd
Inject server config in HTML 2021-05-14 13:37:23 +02:00
Chocobozzz 5c48aa8c3e
Default to dark theme if requested by user 2021-05-11 15:41:13 +02:00
Chocobozzz 3914a50b07
Remember tab in upload page 2021-05-11 15:03:39 +02:00
Chocobozzz 32985a0a77
Error if importing a torrent with multiple files 2021-05-11 14:56:30 +02:00
Chocobozzz 428ccb8b7a
Reorganize plugin models 2021-05-11 13:33:11 +02:00
Chocobozzz 71fb8b5a34
Fix paused upload message 2021-05-11 08:42:13 +02:00
Chocobozzz 1fa23d6f5e
Fix video update 2021-05-10 15:48:10 +02:00
Chocobozzz ff0497fee8
Fix button icon in admin plugins 2021-05-10 15:31:18 +02:00
Chocobozzz 6661537764
Fix miniature overflow 2021-05-10 15:17:06 +02:00
kontrollanten f6d6e7f861
Resumable video uploads (#3933)
* WIP: resumable video uploads

relates to #324

* fix review comments

* video upload: error handling

* fix audio upload

* fixes after self review

* Update server/controllers/api/videos/index.ts

Co-authored-by: Rigel Kent <par@rigelk.eu>

* Update server/middlewares/validators/videos/videos.ts

Co-authored-by: Rigel Kent <par@rigelk.eu>

* Update server/controllers/api/videos/index.ts

Co-authored-by: Rigel Kent <par@rigelk.eu>

* update after code review

* refactor upload route

- restore multipart upload route
- move resumable to dedicated upload-resumable route
- move checks to middleware
- do not leak internal fs structure in response

* fix yarn.lock upon rebase

* factorize addVideo for reuse in both endpoints

* add resumable upload API to openapi spec

* add initial test and test helper for resumable upload

* typings for videoAddResumable middleware

* avoid including aws and google packages via node-uploadx, by only including uploadx/core

* rename ex-isAudioBg to more explicit name mentioning it is a preview file for audio

* add video-upload-tmp-folder-cleaner job

* stronger typing of video upload middleware

* reduce dependency to @uploadx/core

* add audio upload test

* refactor resumable uploads cleanup from job to scheduler

* refactor resumable uploads scheduler to compare to last execution time

* make resumable upload validator to always cleanup on failure

* move legacy upload request building outside of uploadVideo test helper

* filter upload-resumable middlewares down to POST, PUT, DELETE

also begin to type metadata

* merge add duration functions

* stronger typings and documentation for uploadx behaviour, move init validator up

* refactor(client/video-edit): options > uploadxOptions

* refactor(client/video-edit): remove obsolete else

* scheduler/remove-dangling-resum: rename tag

* refactor(server/video): add UploadVideoFiles type

* refactor(mw/validators): restructure eslint disable

* refactor(mw/validators/videos): rename import

* refactor(client/vid-upload): rename html elem id

* refactor(sched/remove-dangl): move fn to method

* refactor(mw/async): add method typing

* refactor(mw/vali/video): double quote > single

* refactor(server/upload-resum): express use > all

* proper http methud enum server/middlewares/async.ts

* properly type http methods

* factorize common video upload validation steps

* add check for maximum partially uploaded file size

* fix audioBg use

* fix extname(filename) in addVideo

* document parameters for uploadx's resumable protocol

* clear META files in scheduler

* last audio refactor before cramming preview in the initial POST form data

* refactor as mulitpart/form-data initial post request

this allows preview/thumbnail uploads alongside the initial request,
and cleans up the upload form

* Add more tests for resumable uploads

* Refactor remove dangling resumable uploads

* Prepare changelog

* Add more resumable upload tests

* Remove user quota check for resumable uploads

* Fix upload error handler

* Update nginx template for upload-resumable

* Cleanup comment

* Remove unused express methods

* Prefer to use got instead of raw http

* Don't retry on error 500

Co-authored-by: Rigel Kent <par@rigelk.eu>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-05-10 11:13:41 +02:00
Chocobozzz dc2b2938c2
Sort channels by -updatedAt 2021-05-10 09:38:11 +02:00
Chocobozzz 4076e2ef6b Increase test timeout 2021-05-07 15:42:23 +02:00
Chocobozzz ce4b4495ff
Refactor video edit css 2021-05-07 14:08:35 +02:00
Chocobozzz bc4c9cc1d7
Fix mask-image property
Needed by chrome
2021-05-07 11:26:09 +02:00
Chocobozzz 7a22a0a56a
Add ability to search live videos 2021-05-05 12:10:00 +02:00
Kimsible 030ccfce59 Use userId key to distinct Account or VideoChannel actor 2021-05-05 11:48:25 +02:00
Kimsible 7188739644 Make /a and /c default URLs for accounts and channels 2021-05-05 11:48:25 +02:00
Kimsible 69e076ddb0 Refactor client @actorName matcher with new API route 2021-05-05 11:47:03 +02:00
Kimsible ff8c5ccf09 Add shorter URLs for accounts and channels client-side 2021-05-05 11:47:03 +02:00
Chocobozzz 936441b9ed
Fix non logged add comment avatar 2021-05-05 09:52:33 +02:00
Chocobozzz 06ec4bdd15
Fix miniature avatar size 2021-05-05 09:44:24 +02:00
Chocobozzz f676e0e321
More efficient advanced input filter 2021-05-03 16:42:15 +02:00
Chocobozzz 1a7d0887b6
Refactor parseQueryStringFilter boolean handler 2021-05-03 16:42:15 +02:00
Chocobozzz 1de8740195
Display a message on no channel 2021-05-03 16:42:15 +02:00
Chocobozzz 2e46eb9715
Refactor search filters 2021-05-03 16:42:15 +02:00
Chocobozzz 514e8168fb
Reduce advanced search input debounce time 2021-05-03 16:42:15 +02:00
Chocobozzz 12e4154917
Fix avatar in report page 2021-05-03 16:42:15 +02:00
Chocobozzz 1fd61899ea
Add ability to filter my videos by live 2021-05-03 16:42:15 +02:00
Chocobozzz faf7eab7d9
Cleanup plugins admin CSS 2021-04-29 09:50:31 +02:00
Chocobozzz cd262619ab
Fix my library/account/admin sub titles alignment 2021-04-29 09:29:00 +02:00
Chocobozzz 8b5c8cd1e5
Fix actor avatar background 2021-04-29 09:10:57 +02:00
Chocobozzz 931d343018
Move to stylelint 2021-04-28 17:53:57 +02:00
Chocobozzz 7d026caf68
Remove avatarUrl from models 2021-04-28 15:59:46 +02:00
Chocobozzz 746018f6b8
Refactor actor avatar display 2021-04-28 11:49:34 +02:00
Chocobozzz ec489ce2f7
Rename actor image edit module 2021-04-28 09:45:49 +02:00
Chocobozzz dbef40433f
Better video languages filter UX
Don't throw if the user did not select any language, automatically
select "all languages" instead
2021-04-28 09:41:50 +02:00
Chocobozzz 9e1409713d
Fix overview page with new thumbnail size 2021-04-28 09:18:02 +02:00
Chocobozzz 2d6f28a2d9
Clearer nsfw "do not list" label 2021-04-28 09:05:53 +02:00
kontrollanten 0979075453
Use account initial as default avatar (#4002)
* client: use account initial as default avatar

* fix UI in user list

Avatars was cutted in the top and bottom
2021-04-27 16:08:10 +02:00
Chocobozzz 0c12054ae3
Use server config to display supported videos ext 2021-04-27 09:24:36 +02:00
Chocobozzz e1a5ad703f
Fix playlist position error 2021-04-27 09:02:35 +02:00
Chocobozzz 27b785dcfc
Fix video actions dropdown overflow 2021-04-26 16:23:34 +02:00
Chocobozzz d3de25552b
Playlist miniature consistency 2021-04-26 16:07:36 +02:00
Chocobozzz 27f4a1ecbc
Fix menu dropdown overflow
Weird issue conflicting with the dropdown config from the menu component
2021-04-26 15:56:49 +02:00
Chocobozzz ab5b66891b
Fix eye button for password input 2021-04-26 14:37:24 +02:00
Poslovitch 53c6b2b405 Added ability to reply to comments with remote interaction
Implements https://github.com/Chocobozzz/PeerTube/issues/3725
2021-04-26 11:18:52 +02:00
Florian CUNY e771e82dfa
Added "last" and a reversed ?playlistPosition in playlist URL (#3974)
* Added "last" and a reversed playlistPosition

Implements https://github.com/Chocobozzz/PeerTube/issues/3897

* Fixed lint errors in video-watch component

* Applied requested changes

* Removed debug logs

* Fixed lint

* Playlist position styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-04-26 11:01:29 +02:00
Chocobozzz fd78d2e247 Refactor next/prev logic 2021-04-26 10:54:02 +02:00
Poslovitch 5bb2ed6b81 Fixed lint error 2021-04-26 10:54:02 +02:00
Poslovitch dfdcbb948a Fixed "previous" button showing when not watching a playlist 2021-04-26 10:54:02 +02:00
Poslovitch 33d21a9b47 Added a "previous" button on player when watching playlist
Implements https://github.com/Chocobozzz/PeerTube/issues/3485
2021-04-26 10:54:02 +02:00
Chocobozzz 0f31933406
Add ability to hide plugin form fields 2021-04-22 14:35:49 +02:00
Chocobozzz 4eca42ffb4
Add getAuthHeader client helper 2021-04-22 11:29:06 +02:00
Chocobozzz 0ea9f463a9
Add action:admin-plugin-settings.init client hook 2021-04-22 11:18:13 +02:00
Chocobozzz 3e0e8d4afd
Revert "Fix context menu when watching a playlist"
This reverts commit e8bb5b6b3a.

We'll refactor this error handler in hls.js v1 upgrade
2021-04-21 15:28:12 +02:00
Chocobozzz e8bb5b6b3a
Fix context menu when watching a playlist 2021-04-21 15:18:22 +02:00
Florian CUNY 84294ae9c9
rephrase signup limit validator error (#3984)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2021-04-21 10:46:40 +02:00
Chocobozzz 9929fbd6f4
Fix welcome/warning modal 2021-04-20 15:18:37 +02:00
Chocobozzz 205e4f56f3
Refactor feed component 2021-04-15 15:31:03 +02:00
Chocobozzz f1ac63488c
Refactor menu css 2021-04-15 13:43:50 +02:00
Chocobozzz fe88ca697d
Refactor comment add css 2021-04-15 11:41:57 +02:00
Chocobozzz 126a6352ec
Don't always use a link for account avatar 2021-04-15 11:21:00 +02:00
Chocobozzz 5e7b5fc864
Remove unused class in download modal 2021-04-15 10:34:19 +02:00
kontrollanten fbdcd4ec9f
Add AccountAvatarComponent (#3965)
* refactor(client): create account-avatar component

* continue implement account-avatar

* fix review comments
2021-04-15 10:01:27 +02:00
Chocobozzz 266947e5ef
Refactor modal buttons style 2021-04-14 16:39:37 +02:00
Chocobozzz 251a82ffbb
Fix lint 2021-04-14 11:54:47 +02:00
Chocobozzz db5814c047
Move player style in watch component 2021-04-14 11:45:14 +02:00
Chocobozzz 456c9bfddb
Use published at sort for recommended videos 2021-04-14 11:45:14 +02:00
Chocobozzz 1748e92aaa
Put "owner account" in card
Just a test
2021-04-13 15:57:05 +02:00
Chocobozzz ace396c4e0
Display account/channel creation date in title
It's not a really important information
2021-04-13 15:57:05 +02:00
Rigel Kent de779034cd add link to open video on origin instance
closes #3624
2021-04-12 15:35:31 +02:00
Chocobozzz 62bc0352d9
Add plugin placeholder elements support 2021-04-12 11:19:15 +02:00
Chocobozzz c96e457bde
Add settings button after plugin install 2021-04-12 11:19:15 +02:00
Chocobozzz 40a5242168
Add alert modal in plugins on major upgrade 2021-04-12 11:19:15 +02:00
Rigel Kent 86598013a3 fix localization on page not found 2021-04-12 09:02:01 +02:00
Chocobozzz a44be3bf8b
Fix player responsive height 2021-04-12 08:57:32 +02:00
Chocobozzz 32af2ea6fa
Fix client build 2021-04-12 08:56:06 +02:00
Marcin Mikołajczak e043674139
Add `i18n` prop where it is missing (#3946)
* Add  `i18n` prop

* Update video-comment-list.component.html

* Update account-blocklist.component.html

* Update server-blocklist.component.html

* Update video-redundancies-list.component.html

* Update following-list.component.html

* Update followers-list.component.html
2021-04-12 08:43:40 +02:00
Chocobozzz 023edc8a54
Fix plugin checkbox placement 2021-04-09 14:02:27 +02:00
Chocobozzz 3c47fa3bc0
Add ability to hide plugin settings 2021-04-09 13:50:31 +02:00
Chocobozzz c713017f3c
Translate plugin options 2021-04-09 13:23:25 +02:00
Chocobozzz 32d13b203b
Plugins can register html/select settings 2021-04-09 11:19:14 +02:00
Chocobozzz 55b84d5346
Add playlist and video in watch action hook 2021-04-09 10:54:34 +02:00
Chocobozzz dc48fdbe68
Merge branch 'release/3.1.0' into develop 2021-04-08 15:16:01 +02:00
Chocobozzz b06f1ead3b
Fix updating transcoding profiles 2021-04-08 14:41:15 +02:00
Chocobozzz 27ec473f53
Set channel banner/avatar in creation form 2021-04-08 13:38:04 +02:00
kontrollanten ca87329289
Don't pause video upon modal open (#3909)
* client: dont pause video upon modal open

closes #3816

* client(video/watch): remove obsolete code

* gitignore: add vscode and vim swp files
2021-04-08 13:37:57 +02:00
aschaap 97c116edf9
Fixing disappearing hamburger menu for narrow screens (#3929)
* Made top search bar more scalable for (physically) narrow screens

Removing `flex: auto` on `.top-left-block` for screens narrower than
`350px`allows the search bar to resize to fill up the remaining space.
Setting `width: 70px` on `#typeahead-container input` for mobile widths
prevents the hamburger button from being squished at certain widths.
Given that the padding adds up to `50px`, setting what amounts to the
minimum width of the search field to `70px` seems reasonable.

Fixes #3199.

* Making hamburger button margin and spacing narrower for mobile

The clickable area is restricted to the icon anyway, and the extra space
benefits the search field width on narrow screens.
2021-04-08 11:07:18 +02:00
aschaap 9a8c02c9da
correct inconsistency in spacing "Sort By" for narrow screens (#3938)
Mimicked the approach used in other tabs under "My Library":
* Adding bottom margin to search field to keep distance from "Sort By"
* Fixing extra left margin on "Sort By" for narrow screens
* Removed the `ml-2` class so that `!important` is no longer needed
* Removed unnecessary `!important` from account video search field width
2021-04-08 10:44:43 +02:00
Chocobozzz 02dd4f3c65 Display banner on channel page 2021-04-08 10:07:53 +02:00
Chocobozzz cdeddff142 Add ability to update the banner 2021-04-08 10:07:53 +02:00
Chocobozzz f479685678 Agnostic actor image storage 2021-04-08 10:07:53 +02:00
Chocobozzz 968aaed206 Fix notification scrollbar color 2021-04-08 10:07:53 +02:00
Chocobozzz 0df302ca8d
Remove unused sort param 2021-04-06 10:08:21 +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
aschaap 43a3d281fe
Minimal PeertubeModalService to open settings from "can be redefined..." (#3923)
* Minimal PeertubeModalService to open settings from "can be redefined..."

* Linter changes

* Removed unused parameter, made Subject type reflect this, and formatting
2021-04-06 08:57:30 +02:00
Chocobozzz 4e6276c493
Fix account empty description display 2021-04-05 11:44:09 +02:00
Chocobozzz 4363ce0e3e
Increase thumbnail size on server 2021-04-05 11:44:09 +02:00
Chocobozzz fcd8d3e030
Fix actor overflows 2021-04-05 11:44:09 +02:00
Chocobozzz 55da09587a
Fix miniature overflow 2021-04-05 11:44:09 +02:00
Jonas Sulzer 37ecefa256 🐛 FIX: player width/heigth aspect ratio
to remove unnecessary black border above and below the video

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2021-04-05 09:16:35 +02:00
Rigel Kent 0a25749f14
simplify channels/playlists name in account/channel views 2021-04-02 15:01:54 +02:00
Chocobozzz 559b3cccb7
Remove useless thumbnailSize 2021-04-01 17:01:57 +02:00
Chocobozzz 038907bcb2
Limit search entry width 2021-04-01 16:59:57 +02:00
Chocobozzz 4429a4a6e7
Responsive search 2021-04-01 16:54:49 +02:00
Chocobozzz 4d5e572f52
Account/channel videos display as rows 2021-04-01 16:54:49 +02:00
Chocobozzz 0f7407d926
Refactor video miniature
Less dirty code, better responsive
Prepare for some regressions
Increase default miniature size
2021-04-01 16:54:49 +02:00
Chocobozzz 33253c1aa6
Fix multiline ellipsis 2021-04-01 16:54:49 +02:00
kontrollanten 58b9ce3080
Resume videos for non-logged in users (#3885)
* client: resume videos for non-logged in users

closes #3866

* fix build for embeded

* Update client/src/app/app.component.ts

* fix review comments
2021-03-31 11:26:32 +02:00
Chocobozzz d794137057
Refactor horizontal margins 2021-03-31 11:21:10 +02:00
Chocobozzz 218f730c7b
Theme breaking: --submenuColor becomes --submenuBackgroundColor 2021-03-31 09:07:25 +02:00
Chocobozzz 733dbc535d Channel/account page redesign feedbacks
Fix owner default avatar
Semi bold orange inverted button
Max width account description
Increase account's channels padding
Use owner avatar/display name links
Move "view owner account" link on mobile
Try to always display channel in video miniatures
Add small border radius for channel's avatar
Use main foreground color for the magnifying glass
2021-03-31 09:05:51 +02:00
Chocobozzz c8e80d1461 Use the channel URL behind the account in miniature 2021-03-31 09:05:51 +02:00
Chocobozzz 7f18840602 Display channel in miniature
With some exceptions though
2021-03-31 09:05:51 +02:00
Chocobozzz deb8b9cdb0 Square channel avatar consistency 2021-03-31 09:05:51 +02:00
Chocobozzz 100d9ce23b Add support button in channel page 2021-03-31 09:05:51 +02:00
Chocobozzz 900f782081 Redesign account's channels page 2021-03-31 09:05:51 +02:00
Chocobozzz 67264e060b Redesign account page 2021-03-31 09:05:51 +02:00
Chocobozzz 60c35932f6 Redesign channel page 2021-03-31 09:05:51 +02:00
Thavarasa Prasanth 4097c6d66c
fix missing title attribute on <iframe> tag suggested for embedding (#3901)
* title attribute is missing on <iframe> tag suggested for embedding #3861

* fix #3901

* fix: escapeHTML #3901

* fix: playlist title instead of video title #3901

* fix #3901

* assign title directly #3901
2021-03-31 08:32:05 +02:00
kontrollanten cf3c36247d
show less information by default in download modal (#3890)
* client(video/download): collapse advanced informaton by default
* fix(client/video-dl): update metadata upon resolution change

closes #3810

Co-authored-by: Rigel Kent <par@rigelk.eu>
2021-03-29 13:51:33 +02:00
Chocobozzz a3664dfdc9
Auto focus plugin search input 2021-03-24 18:18:41 +01:00
kontrollanten 7bd455cb7f
client(video/download): set direct dl as default 2021-03-24 18:18:41 +01:00
Chocobozzz faeec106ef
Add auth user client hook actions 2021-03-24 18:18:41 +01:00
Chocobozzz 2e257e36b7
Add client action hooks for pubish pages 2021-03-24 18:18:41 +01:00
Chocobozzz 4bc45da342
Add hooks support for video download 2021-03-24 18:18:41 +01:00
kontrollanten 6b1ef95699
Change copy icon (#3867)
* client: change copy icon to glypicon-duplicate

* client: add "copy" text to copy icons
2021-03-24 18:18:41 +01:00
Chocobozzz f43db2f46e
Refactor auth flow
Reimplement some node-oauth2-server methods to remove hacky code needed by our external
login workflow
2021-03-24 18:18:41 +01:00
Chocobozzz 32a18cbf33
Add new plugin/peertube version notifs 2021-03-24 18:18:41 +01:00
Chocobozzz 829523cfa5
Reduce bundle size using a const enum 2021-03-24 18:18:40 +01:00
Chocobozzz 5d43dae369
Try to reduce CSS size 2021-03-24 18:18:40 +01:00
Chocobozzz db8b2f56c0
Update english strings 2021-03-24 18:18:40 +01:00
Chocobozzz 51294901cf
Add warning in download modal if needed 2021-03-24 18:18:40 +01:00
Chocobozzz e6ea0cac44
Hide best strategy if not logged in 2021-03-24 18:18:40 +01:00
Chocobozzz b5ab0e5bf7
Add warning in download modal if needed 2021-03-24 17:06:50 +01:00
Chocobozzz fd73468885
Hide best strategy if not logged in 2021-03-24 17:06:37 +01:00
Rigel Kent a3caabe228
Adjust search results note for i18n, adjust typeahead helper 2021-03-24 14:48:31 +01:00
Chocobozzz 61fd98341f
Fix mention notification with deleted comment 2021-03-22 09:49:23 +01:00
Chocobozzz 30a94566c9
Fix checkbox ids in plugin settings 2021-03-09 13:53:18 +01:00
Chocobozzz 253d4ab621
Fix default boolean plugin setting 2021-03-09 13:51:02 +01:00
Marcin Mikołajczak 0edcbd7530 Improve validator text, I guess 2021-03-04 14:28:08 +01:00
Chocobozzz 0bd6d35f13
Add watch redirection for playlists 2021-03-04 09:04:10 +01:00
Chocobozzz 74d249bc13
Add ability to cleanup remote AP interactions 2021-03-03 10:08:08 +01:00
Chocobozzz 8795d6f254
Fix broken local actors
Some channels can't federate because they don't have public/private
keys, maybe because the generation failed for various reasons
2021-02-26 14:22:25 +01:00
Chocobozzz cb2e36618c
Fix updating boolean anonymous settings 2021-02-26 09:39:47 +01:00
Chocobozzz 88cfa3e8fa
Fix preview upload with capitalized ext 2021-02-26 09:16:31 +01:00
Chocobozzz 24d3352ce4
Fix anonymous user settings 2021-02-25 10:26:10 +01:00
Chocobozzz 0221f8c9b1
Trim video name also on server 2021-02-25 10:01:33 +01:00