Commit Graph

2695 Commits (910744fb084499a110d26bf5542abebb8a750b19)

Author SHA1 Message Date
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
Ramiellll b58a894bc9 Fix titles do not trim leading and trailing spaces 2021-02-25 09:55:34 +01:00
Chocobozzz 9556ce48e7
Fix async issues with channels list 2021-02-25 09:09:41 +01:00
Chocobozzz c15d61f5fe
Display the preview image on waiting lives 2021-02-22 10:53:25 +01:00
Chocobozzz 0a6817f0ba
Correctly load live information when not started 2021-02-22 10:46:52 +01:00
Chocobozzz 15bedeebd7
Fix loading things twice on trending page 2021-02-22 10:35:37 +01:00
Chocobozzz 07f81d9dee
Fix NSFW policy on account/channel videos 2021-02-19 13:47:37 +01:00
Chocobozzz 9d6b9d10ef
Fix video comments display with deleted comments 2021-02-19 10:06:52 +01:00
Chocobozzz 6d22ea006b
Fix jobs type list order 2021-02-19 08:26:59 +01:00
Chocobozzz 7a8d858e97
Fix lint 2021-02-18 15:07:42 +01:00
Chocobozzz 288bcd7a60
Remember last log type 2021-02-18 14:24:30 +01:00
Chocobozzz b3d5cb92b1 Add ability to update torrents cache in client 2021-02-18 13:38:09 +01:00
Chocobozzz 9817060fb7
Use new doc website links 2021-02-12 10:12:19 +01:00
Chocobozzz 06bee93748
Fix complete description loading 2021-02-12 09:13:15 +01:00
Chocobozzz 0dbc6c141a
Link to auto follow documentation 2021-02-12 09:03:22 +01:00
Chocobozzz 241609f194
Fix NSFW policy in my videos list 2021-02-11 15:51:16 +01:00
Chocobozzz 81f790af78
Fix comments sorting dropdown z-index 2021-02-11 10:36:10 +01:00
Chocobozzz 45ba09fef3
Improve edit config submit error 2021-02-10 12:06:26 +01:00
Chocobozzz 4e55c132a0
Add missing live config validators 2021-02-10 11:42:10 +01:00
Chocobozzz 70e3351584
Small edit config refactor 2021-02-10 11:36:40 +01:00
Chocobozzz 5f46d28cca
Split admin conf page 2021-02-10 11:36:40 +01:00
Chocobozzz 53e4e20179
Add fragment support in admin conf page 2021-02-10 11:36:40 +01:00
Chocobozzz 21e493d4d8
Add ability to set a custom quota 2021-02-10 11:36:40 +01:00
Chocobozzz ead64cdf8d
Support custom value in ng-select 2021-02-10 11:36:40 +01:00
Chocobozzz 9129b7694d Allow to specify transcoding and import jobs concurrency 2021-02-08 15:38:45 +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
Chocobozzz 72aa835e17
Upgrade client dependencies 2021-02-03 11:44:43 +01:00
Chocobozzz 2666fd7c75
Fix small UI bugs 2021-02-02 10:37:52 +01:00
Chocobozzz 40930fda86
Transcode audio uploads to lower resolutions
Better consistency
2021-02-02 09:45:42 +01:00
Rigel Kent fb7b009d63
fix trending page scroll
fixes #3665
2021-02-01 19:19:50 +01:00
Chocobozzz 6d989edc66
Add ability to update plugin auth 2021-02-01 15:39:13 +01:00
kontrollanten 68018040f2
localize decimal separator in video miniatures (#3643)
* fix(client): localize decimal separator

* fix(client/numpipe): handle Intl failure gently

* Revert "fix(client/numpipe): handle Intl failure gently"

This reverts commit e275049f1f.

* client: switch from Intl to ng formatNumber
2021-01-29 14:36:21 +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
Chocobozzz 80ac2e5548
Support transcoding profile in client admin 2021-01-28 16:10:09 +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
Chocobozzz 5d84d717b2
Force update live boolean 2021-01-26 15:41:51 +01:00
Chocobozzz fd0fdc4696
Don't update live attributes if they did not change 2021-01-26 15:28:38 +01:00
Chocobozzz ddb62a85c5
Fix wait transcoding checkbox display 2021-01-26 10:56:55 +01:00
Chocobozzz 83e7467041
Add refresh button in jobs list 2021-01-26 10:00:23 +01:00
Rigel Kent ab398a05e9 redirect to login on 401, display error variants in 404 component 2021-01-25 15:37:26 +01:00
Chocobozzz 6939cbac48 Safely remove webtorrent files
Only remove them on max quality HLS playlist generation
2021-01-25 14:38:52 +01:00
Chocobozzz 77d7e851dc Add priority to transcoding jobs
(1 = highest priority)

100 for new resolutions
10 for original file optimization

Add a malus for transcoding jobs depending on how many uploads the user did in the
last 7 days
2021-01-25 14:38:52 +01:00
Marcin Mikołajczak 128bb176bf
add missing i18n tag in login form (#3628) 2021-01-22 22:05:39 +01:00
Chocobozzz ed4bc63141
Fix job table colspan 2021-01-21 16:01:30 +01:00
Chocobozzz 3b01f4c0ac
Support progress for ffmpeg tasks 2021-01-21 14:42:43 +01:00
Chocobozzz fd7ca7a72c
Fix about page layout 2021-01-20 10:45:48 +01:00
Chocobozzz d487a997c8
Import in private, and then set the chosen privacy 2021-01-19 16:36:20 +01:00
Chocobozzz 1ef7f32304
Cleanup update video button 2021-01-19 16:36:20 +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
Chocobozzz 9dfaa38c9a
username field consistency 2021-01-18 11:53:27 +01:00
Chocobozzz 1d22d2514f
Fix service worker 2021-01-18 11:16:37 +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
Marcin Mikołajczak 1fa8740534
ui: rename inbound relationship to Follows (#3594) 2021-01-16 14:47:17 +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
Chocobozzz d43c6b1ffc Implement remote interaction 2021-01-15 10:49:10 +01:00
Chocobozzz f19a9e4b68
Add missing translations 2021-01-15 10:25:58 +01:00
Chocobozzz 7af5ded409
Put feed url as link 2021-01-15 10:23:40 +01:00
Chocobozzz d29ae17f30
Load user when auth service is ready 2021-01-15 10:23:40 +01:00
Rigel Kent 56f0876184
fix undefined dropdown on user logout 2021-01-14 15:35:03 +01:00
Chocobozzz 51de2c7ff3
Update project description 2021-01-14 09:43:06 +01:00
Chocobozzz 606bcaf29e
Fix display all videos filter 2021-01-13 17:06:46 +01:00
Rigel Kent 4b4635bdb1
prevent sending search GET parameter if undefined in my watch history 2021-01-13 16:07:30 +01:00
Marcin Mikołajczak 5188db66c7 Add missing `i18n` 2021-01-13 16:05:13 +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
Chocobozzz 6d0110ad7b
Fix loading bar for HTTP requests 2021-01-13 11:29:55 +01:00
Chocobozzz 0e4ca570fa
Avatar info component optimizations 2021-01-13 10:52:17 +01:00
Chocobozzz d95bc70290
Add title to left menu toggle 2021-01-13 10:44:34 +01:00
Chocobozzz 9c1a88e3a1
Move orange admin buttons on the left side 2021-01-13 10:39:26 +01:00
Chocobozzz 9bb720f3f9
It's 2021! 2021-01-13 09:19:33 +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 1ea7da819e
add ability to remove one's avatar for account and channels (#3467)
* add ability to remove one's avatar for account and channels

* add ability to remove one's avatar for account and channels

* only display avatar edition options after input change
2021-01-13 09:12:55 +01:00
Chocobozzz 26171379d0 Use source sans 3 font 2021-01-13 09:05:22 +01:00
Rigel Kent 490109c766
better subscribe button display for accounts 2021-01-12 01:18:34 +01:00
Rigel Kent 2522fea71b
fix remote subscribe input alignment 2021-01-11 22:53:54 +01:00
Chocobozzz a11a782f5c
Fix duplicate entry in job list page 2021-01-11 15:39:15 +01:00
Chocobozzz 1acb947504
Retrieve user by id instead of username 2021-01-11 13:53:08 +01:00
Chocobozzz f8be7bae3f
Fix twitter config description
It's not optional
2021-01-11 11:36:54 +01:00
Chocobozzz 078b4716cd
Fix theme npm link 2021-01-11 10:46:02 +01:00
Chocobozzz 4f20856ed4
Add more hints regarding live port 2021-01-11 09:20:44 +01:00
Rigel Kent 04b2996bb0
reflect location origin for application feed url in production 2021-01-10 22:19:51 +01:00
Marcin Mikołajczak eaf3367549 Mark 'These settings apply only to' string as i18n-able 2021-01-09 00:01:00 +01:00
Chocobozzz 1227fe070e
Don't display log level in audit logs view 2020-12-30 14:18:32 +01:00
Chocobozzz dfed7846e2
Clearer anonymous settings modal title 2020-12-30 14:03:33 +01:00
Chocobozzz 2345e13853
Fix login error display 2020-12-29 15:23:03 +01:00
Chocobozzz 1916c9663a
Fix some accessibility issues 2020-12-22 12:05:32 +01:00
Chocobozzz 3f6441e09a
Fix admin table filters 2020-12-17 15:48:54 +01:00
Chocobozzz 18429d011e
Don't update timestamps for a live 2020-12-17 14:14:28 +01:00
Chocobozzz 91f884d139
Fix live miniatures 2020-12-17 13:46:52 +01:00
Chocobozzz bcbf643249
Fix about and display live info layout 2020-12-16 14:27:12 +01:00
Chocobozzz ddca257699
Don't display max duration if disabled 2020-12-16 14:18:50 +01:00
Chocobozzz c5ac9fe7c1
Fix about follows page 2020-12-16 13:46:20 +01:00
Chocobozzz 48586fe070
Fix ng-select width 2020-12-15 11:45:29 +01:00
Chocobozzz d89fcd1e5e
Fix password input in edit user 2020-12-15 10:54:53 +01:00
Chocobozzz c9bc850e93
Use -1 for max live duration unlimited 2020-12-15 09:26:37 +01:00
Chocobozzz d1742ede65
Fix ng select in admin 2020-12-15 08:57:49 +01:00
Rigel Kent 728a1236ae
restore live transcoding to live streaming tab 2020-12-14 16:31:14 +01:00
Rigel Kent ea5cdc11ff
slightly clearer layout of transcoding configuration 2020-12-14 14:34:34 +01:00
Chocobozzz cd5dc7188b
Add link to the documentation for live streaming 2020-12-14 12:21:07 +01:00
Chocobozzz 0d7c73142c
Simplify a little bit about follows more logic 2020-12-14 10:23:34 +01:00
mahdi ed8b4014ce
Show count of instances and fix show/hide button 2020-12-14 09:57:41 +01:00
Rigel Kent 2b6ea97f1c
fix merge conflicts 2020-12-14 09:57:41 +01:00
MahdiTurki 92f62f108b
Fix coding style 2020-12-14 09:57:41 +01:00
MahdiTurki 2ce949454f
Add hide list 2020-12-14 09:57:41 +01:00
MahdiTurki bd49f8e988
Change button 2020-12-14 09:57:41 +01:00
MahdiTurki 49c4dd7ec3
Add button to display full list in About page 2020-12-14 09:57:41 +01:00
Chocobozzz 8a9e6ee4a8
Fix themes in about page 2020-12-14 09:30:53 +01:00
Rigel Kent 040d6896a3
add display of logs matching any state 2020-12-13 19:27:25 +01:00
Kimsible 51a8397006
User dropdown and notifications popover improvements (#3344)
* hove user dropdown on avatar and username
* rename avatar-notification to notification component
* use a link on mobile for notification component
* add profile user dropdown and mobile notifications link as reusable active link
* replace markAllAsRead inbox glyphicon to ok in notification popover
* remove keyboard shortcuts from user dropdown on mobile
* use common bell icon instead of inbox-full for notifications
* remove duplicated notification in user dropdown since the bell appears on the right
* adjust sensitive icon in user dropdown
* align vertically user buttons popover and dropdown
* adjust ellipsis on user display name and username in menu
* adjust notification bell for mobile in menu
* display background of user dropdown avatar and username for touchscreens
* add right arrow indicator on mobile

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-13 14:54:12 +01:00
kontrollanten e134eb03cb admin config: fix typo
https://www.grammarly.com/blog/know-your-latin-i-e-vs-e-g/
2020-12-11 10:38:15 +01:00
Chocobozzz 19b163d045
Fix comments count 2020-12-10 10:22:27 +01:00
Chocobozzz dc1f314efd
Fix socket io with angular 2020-12-10 10:20:04 +01:00
Chocobozzz e43b5a3fa8
Improve live player responsive 2020-12-10 09:37:53 +01:00
Chocobozzz a800dbf345
Live views update 2020-12-09 16:31:42 +01:00
Chocobozzz 5cac83a78d
Refactor views component 2020-12-09 15:33:16 +01:00
Rigel Kent e0fea785bf
add previous button to registration form, with alignment 2020-12-09 13:20:58 +01:00
Rigel Kent 23cd3129a9
fix tabindex on login page 2020-12-09 13:01:00 +01:00
Rigel Kent f2eb23cd87
emit more specific status codes on video upload (#3423)
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +01:00
Chocobozzz 6c53d8bf1d
Fix loading data twice in rest tables 2020-12-08 11:56:31 +01:00
Kimsible 40360c17d8
improvements to login and sign-up pages (#3357)
* New login form ui
* Move InstanceAboutAccordion to shared components
* Update closed registration alert text
* Add alert for opened registration and move them bellow login form
* Adjust flex block on signup and login views
* Replace toggle accordion with expand on links in signup and login + scrollTo
* Improve display of login alerts
* Fix missing Component suffix
* Define min-width instance-information block sign-up and login for mobile screens
* Add ability to select specific panels in instanceAboutAccorddion
* Add instance title and short-description to common instanceAboutAccordion
* Clarify title alert in login page
* Add step terms for signup

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-07 16:34:07 +01:00
Chocobozzz 17b7d4b315
Don't allow manual redundancy of live videos 2020-12-07 16:07:52 +01:00
Chocobozzz 8e0a2f2a05
Use new primeng i18n api 2020-12-07 16:07:00 +01:00
Rigel Kent f8b530e0a5
unify inputs requiring buttons like password inputs 2020-12-04 16:01:53 +01:00
Chocobozzz e772bdf14c
Load video in permanent live after last one ended 2020-12-04 15:38:32 +01:00
Chocobozzz 312644ce3a
Add badge for permanent live in live info modal 2020-12-04 09:24:14 +01:00
Chocobozzz b2dd58a808
Fix login guard to videos from subscriptions 2020-12-03 15:21:16 +01:00
Chocobozzz bb4ba6d94c
Add permanent live support 2020-12-03 15:21:16 +01:00
Rigel Kent 19b7ebfaa8
refactor 404 page 2020-12-03 14:55:47 +01:00
Chocobozzz 5bfc33b6f1
Fix lint 2020-12-03 10:39:43 +01:00
Rigel Kent d4132d3f56 more explicit error messages for file uploads 2020-12-03 10:15:49 +01:00
kontrollanten 09c55770bc register: hide channel step if upload quota is 0
fix #782
2020-12-03 09:54:41 +01:00
Chocobozzz 543e187262
Fix duplicate ids in admin config form 2020-12-01 15:11:23 +01:00
Chocobozzz 15feebd97a
Fix socket io messages angular changes 2020-12-01 15:04:38 +01:00
Florian CUNY a3f1595f79
Select first available channel when accepting ownership change (#3382)
* Select first available channel when accepting ownership change

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

* Made use of #patchValue() to set the default selected value

And removed the disabled state for the Accept button
2020-12-01 15:04:29 +01:00
Mathieu Brunot a742b4b0e2
Fix themes colors by using SCSS variables (#3376)
* 💄 Use foreground var for code

* 💄 Use submenu var color

* 💄 Use foreground var color for menu

* 🐛 Fix var used in menu
2020-11-30 16:45:22 +01:00
Chocobozzz 617f4f5cb2
Fix scroll check in infinite scroller directive 2020-11-30 16:33:48 +01:00
Florian CUNY f45c7cc770
Added Markdown formatting in all the fields of the "About" page (#3371)
* Added Markdown formatting in all the fields of the "About" page

Fixes https://github.com/Chocobozzz/PeerTube/issues/3368

* Fixed compilation error in AboutInstanceComponent

Moved creationReason, maintenanceLifetime and businessModel into the html dict

* Removed textareaHeight for all md textareas in EditCustomConfig HTML

* Fixed failing bundlewatch
2020-11-30 15:05:57 +01:00
madmath03 972de8f111 Add input-password #3375 2020-11-30 14:49:44 +01:00
Chocobozzz 6b88559bab
Fix local e2e tests 2020-11-30 09:11:12 +01:00
Chocobozzz 4ec25ae825
Refactor last PR 2020-11-27 15:57:38 +01:00
Chocobozzz 68f6c87a27
Various front optimizations 2020-11-27 15:46:49 +01:00
Tanguy BERNARD 992f498e31
add title attribute for exact view counters (#3365) 2020-11-27 14:27:14 +01:00
Chocobozzz e2c1f77957
Profile settings title consistency 2020-11-26 16:39:43 +01:00
Chocobozzz 7fd03a2c8f
Create a dedicated transcoding tab in admin config 2020-11-26 15:09:57 +01:00
Chocobozzz 0151c41c65
Do not display wait transcoding checkbox
If this is a live and save replay is not enabled
2020-11-26 11:30:18 +01:00
test2a 832a12b0e8
adjust registration form width on mobile (#3274)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-11-25 15:57:10 +01:00
Chocobozzz d07b2944db
Fix comment account external URL
It did not work, and I think it's better to target the local account
page anyway
2020-11-25 15:11:57 +01:00
Chocobozzz 69524f6ed1
Fix circular dep issue 2020-11-25 11:44:31 +01:00
kimsible c418d48300 Add new default different avatar for channel and account 2020-11-25 11:12:06 +01:00
Chocobozzz 18490b0765 Fix migration and test 2020-11-25 11:07:56 +01:00
Rigel Kent 5beb89f223 refactor scoped token service 2020-11-25 11:07:56 +01:00
Rigel Kent afff310e50 allow private syndication feeds via a user feedToken 2020-11-25 11:07:56 +01:00
Kimsible 123f619336
Add pixel size to tooltip and gif support with FFmpeg for avatar upload (#3329)
* Add avatar pixel size upload in tooltip

* Add gif support for avatar

* Add ffmpeg GIF process

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-25 09:26:31 +01:00
Kimsible c07fac202d
fix user preferences column width for notifications table (#3352)
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-24 14:54:08 +01:00
Kimsible ab0beac72f
fix forgotten/reset password UI (#3351)
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-11-24 13:47:24 +01:00
kimsible 01d0147ef5 Add tooltip to maximize button and remove grey background 2020-11-22 01:15:38 +01:00
Rigel Kent c5dcdab330
add explicit numbers in configuration number inputs
fixes #1346
2020-11-21 12:44:05 +01:00
Chocobozzz 74fd2643b4 Provide express request to onLogout call
+ pluginInfo related changes
2020-11-20 15:36:43 +01:00
Chocobozzz da2516fde1
Fix playlist update element dropdown ux 2020-11-20 14:38:57 +01:00
Chocobozzz 07098c33df
Improve playlist add dropdown ux 2020-11-20 14:32:57 +01:00
Chocobozzz 8b57efbf1b
Fix dropdowns z-index 2020-11-20 14:19:23 +01:00
Chocobozzz 939917705f
Add ability to bulk delete comments 2020-11-20 13:59:21 +01:00
Chocobozzz 3fba4b6bce
Fix no history message 2020-11-19 16:52:45 +01:00
Chocobozzz 369e77543b
Lazy load emoji 2020-11-19 16:26:32 +01:00
Chocobozzz b355b39408
Lazy load linkifier 2020-11-19 16:23:19 +01:00
Chocobozzz c4f7fe09cd
Use sass instead of deprecated node sass 2020-11-19 15:57:52 +01:00
Chocobozzz 4f926722ea
Upgrade client dependencies
Migrate removed primeng theme to custom CSS
2020-11-19 15:25:41 +01:00
Chocobozzz 4ddcb7c3ba
Fix video tag validator 2020-11-18 16:25:37 +01:00
Chocobozzz 16a173bbc9
Automatically enable videos auto block on signup 2020-11-18 16:13:38 +01:00
Chocobozzz 0aa52e1707
Add ability to display all channel/account videos 2020-11-18 15:29:38 +01:00
Chocobozzz ff2cac9fa3
Fix accept ownership change accept 2020-11-18 14:21:26 +01:00
Chocobozzz 4166caabc6
Clearer periods in videos list 2020-11-18 12:12:14 +01:00
kimsible aa9cf3b98d Disable auto-focus markdown textarea on touchdevices 2020-11-18 09:08:21 +01:00
kimsible 363726fe9a Memorize scroll position when maximized mode used with markdown textarea 2020-11-18 09:08:21 +01:00
Chocobozzz 47dc5db9c3
Fix client build 2020-11-17 14:52:57 +01:00
Chocobozzz 9ff36c2d70
Refactor markdown/sanitize html code 2020-11-17 14:34:09 +01:00
Kimsible f3081d6401
small refactor + clipboard copy on anchor click in instance page (#3318)
* Refacto scrollTo top and anchors

* Add on click clipboard copy and notifier to anchors about/instance page

* Fix margin top anchor middle title about page

* Use viewportscroller for scrolltoanchor

* Add  to Link copied notification on instance page

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-17 14:04:44 +01:00
Chocobozzz 12c8a46362
Fix about scrolling behaviour 2020-11-16 16:46:15 +01:00
Chocobozzz a75eb7489c
Fix channel's playlist infinite scrolling 2020-11-16 16:11:58 +01:00
Chocobozzz 805bec52cd
Replace keyboard shortcut icon
Use svg instead
2020-11-16 15:55:18 +01:00
Chocobozzz c195975c54
Use badge in video block list 2020-11-16 15:41:15 +01:00
Chocobozzz f0048d5edd
In my account -> in my library 2020-11-16 15:02:53 +01:00
Chocobozzz 5ed46c1bce
Refactor rest table search filter 2020-11-16 14:47:05 +01:00
Chocobozzz 7706b3703a
Put admin actions on the left 2020-11-16 14:26:50 +01:00
Chocobozzz 19149d45b8
Merge branch 'feature/admin-comments' into develop 2020-11-16 13:57:14 +01:00
Chocobozzz f127331459
Add admin view to manage comments 2020-11-16 13:48:58 +01:00
Frank Sträter 2b8d7a7d59
add help popup for choosing license (#3306)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-11-15 11:57:13 +01:00
Chocobozzz 0f8d00e314
Implement video comment list in admin 2020-11-13 16:38:23 +01:00
Chocobozzz dc13623baa
Fix player height on mobile 2020-11-13 14:49:27 +01:00
Chocobozzz 5c0904fc66
Cleanup lives on server restart 2020-11-13 14:36:30 +01:00
Chocobozzz 17119e4a54 Reorganize left menu and account menu
Add my-settings and my-library in left menu
Move administration below my-library
Split account menu: my-setting and my library
2020-11-13 12:02:21 +01:00
Rigel Kent dc5bb5cea5
reword unclear sentences, check for grammar
fixes #3222
2020-11-12 21:09:28 +01:00
Chocobozzz 7a4ea93246
Remove deprecated abuse api 2020-11-10 14:50:16 +01:00