Commit Graph

2546 Commits (252e16e158d7a1e192126802d0ec32208f8f80be)

Author SHA1 Message Date
Chocobozzz df1db951c5
Support RTMPS 2021-11-05 11:38:17 +01:00
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