Commit Graph

617 Commits (9bc3622320dc43474ce4b60c222ec25e6e657b97)

Author SHA1 Message Date
Chocobozzz 15f35256af
Add help to custom markdown textarea 2021-05-31 11:01:42 +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 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
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 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 428ccb8b7a
Reorganize plugin models 2021-05-11 13:33:11 +02:00
Chocobozzz ce4b4495ff
Refactor video edit css 2021-05-07 14:08:35 +02:00
Kimsible 7188739644 Make /a and /c default URLs for accounts and channels 2021-05-05 11:48:25 +02:00
Chocobozzz 2e46eb9715
Refactor search filters 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 931d343018
Move to stylelint 2021-04-28 17:53:57 +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 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 0ea9f463a9
Add action:admin-plugin-settings.init client hook 2021-04-22 11:18:13 +02:00
Chocobozzz 205e4f56f3
Refactor feed component 2021-04-15 15:31:03 +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 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
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 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 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 cdeddff142 Add ability to update the banner 2021-04-08 10:07:53 +02:00
Chocobozzz 218f730c7b
Theme breaking: --submenuColor becomes --submenuBackgroundColor 2021-03-31 09:07:25 +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
Chocobozzz a3664dfdc9
Auto focus plugin search input 2021-03-24 18:18:41 +01:00
Rigel Kent a3caabe228
Adjust search results note for i18n, adjust typeahead helper 2021-03-24 14:48:31 +01:00
Chocobozzz 253d4ab621
Fix default boolean plugin setting 2021-03-09 13:51:02 +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 6d22ea006b
Fix jobs type list order 2021-02-19 08:26:59 +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 0dbc6c141a
Link to auto follow documentation 2021-02-12 09:03:22 +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 6d989edc66
Add ability to update plugin auth 2021-02-01 15:39:13 +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
Chocobozzz 83e7467041
Add refresh button in jobs list 2021-01-26 10:00:23 +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
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
Rigel Kent 454c20fa7c
stricter youtubedl format selectors (#3516)
* stricter youtubedl format selectors

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

* add support for merge formats in youtubedl

* avoid vp9.2 in youtubedl to avoid any HDR

* move getEnabledResolutions, safer replace of imported extension

* add test for youtube-dl selectors
2021-01-15 15:56:56 +01:00
Rigel Kent 6632d4cc94
add admin reminder in case of transcode with no selected resolution to generate 2021-01-13 15:58:25 +01:00
Chocobozzz 9c1a88e3a1
Move orange admin buttons on the left side 2021-01-13 10:39:26 +01:00
Rigel Kent b7085c7132 add support for 1440p (Quad HD/QHD/WQHD) videos 2021-01-13 09:14:09 +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
Chocobozzz 1227fe070e
Don't display log level in audit logs view 2020-12-30 14:18:32 +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 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
Rigel Kent 040d6896a3
add display of logs matching any state 2020-12-13 19:27:25 +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
Rigel Kent f8b530e0a5
unify inputs requiring buttons like password inputs 2020-12-04 16:01:53 +01:00
Chocobozzz 543e187262
Fix duplicate ids in admin config form 2020-12-01 15:11:23 +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
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
kimsible c418d48300 Add new default different avatar for channel and account 2020-11-25 11:12:06 +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
Rigel Kent c5dcdab330
add explicit numbers in configuration number inputs
fixes #1346
2020-11-21 12:44:05 +01:00
Chocobozzz 939917705f
Add ability to bulk delete comments 2020-11-20 13:59:21 +01:00
Chocobozzz 4f926722ea
Upgrade client dependencies
Migrate removed primeng theme to custom CSS
2020-11-19 15:25:41 +01:00
Chocobozzz 16a173bbc9
Automatically enable videos auto block on signup 2020-11-18 16:13:38 +01:00
Chocobozzz c195975c54
Use badge in video block list 2020-11-16 15:41:15 +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
Chocobozzz 0f8d00e314
Implement video comment list in admin 2020-11-13 16:38:23 +01:00
Rigel Kent dc5bb5cea5
reword unclear sentences, check for grammar
fixes #3222
2020-11-12 21:09:28 +01:00
Chocobozzz 210856a7be
Try to fix live segments check 2020-11-10 14:15:59 +01:00
Chocobozzz 97969c4edf Add check constraints live tests 2020-11-09 15:33:04 +01:00
Chocobozzz a056ca4813 Add max lives limit 2020-11-09 15:33:04 +01:00
Chocobozzz fb7194043d Check live duration and size 2020-11-09 15:33:04 +01:00
Chocobozzz a5cf76afa3 Add watch messages if live has not started 2020-11-09 15:33:04 +01:00
Chocobozzz c6c0fa6cd8 Live streaming implementation first step 2020-11-09 15:33:04 +01:00
Rigel Kent 7f0d856169 jobs/logs view select and empty state visual improvements 2020-09-28 13:25:50 +02:00
Chocobozzz 7294aab0c8 Add ability to set custom field to video form 2020-08-21 15:39:51 +02:00
Chocobozzz 7ed1edbbe4 We don't need services anymore for validators 2020-08-17 15:12:55 +02:00
Chocobozzz f29f487ef8
Use localize for page titles 2020-08-17 10:30:59 +02:00
Chocobozzz 66357162f8
Migrate to $localize
* Remove i18n polyfill to translate things in components
 * Reduce bundle sizes
 * Improve runtime perf
 * Reduce a lot the time to make a full client build
 * Reduce client build complexity
 * We don't need a service to translate things anymore (so we will be able to translate title pages etc)

Unfortunately we may loose some translations in the migration process.
I'll put a message on weblate to notify translators
2020-08-14 10:28:30 +02:00
Chocobozzz fe9cc7183f
Remove useless i18n tags 2020-08-14 09:19:30 +02:00
Rigel Kent 857961f0ee
adapt my-select-checkbox placeholder to its context 2020-08-11 16:52:26 +02:00
Chocobozzz 94676e631c
Remove angular pipes module 2020-08-11 16:50:00 +02:00
Chocobozzz 52c4976fcf
Use ng select for multiselect 2020-08-11 16:18:42 +02:00
kimsible 4abe9c593a Add validator channel name 2020-08-11 08:46:35 +02:00
kimsible 62fc691548 Add channel_name field to create-user view 2020-08-11 08:46:35 +02:00
kimsible 7034b3c908 Refactor - improve offset content handling with fixed sub-menu and broadcast-message 2020-08-11 08:03:28 +02:00
Kim 4a53fc8204
Add new anchors in my-settings and handle offset sub-menu height (#3032)
* Add anchors setting and handle offset with sub-meu

* Use PeerTube scroll logic

* Add anchor for top my-settings

* Improve scroller with smooth behavior and css offset

* Fix anchor position when using history navigation

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-10 15:57:37 +02:00
Rigel Kent fccbbc1a77 add and document new additional video extensions supported at upload 2020-08-10 09:46:59 +02:00
Chocobozzz 951b582f52
Add ability to share playlists in modal 2020-08-07 13:43:48 +02:00
Chocobozzz a02b93ce75 Fix lint 2020-08-07 08:28:14 +02:00
Chocobozzz bd45d503e5 Reorganize shared models 2020-08-07 08:28:14 +02:00
Chocobozzz 583eb04b54 Upgrade to angular 10 2020-08-07 08:28:14 +02:00
Rigel Kent 4504f09f6e deal with refresh token in embed 2020-08-06 15:08:58 +02:00
Rigel Kent 71ab65d02f decouple video abuse details from embed, add embed to block list details 2020-08-06 15:08:58 +02:00
Rigel Kent 9a42363291
correct column toggle z-index for user list 2020-08-03 23:43:23 +02:00
Chocobozzz e29dc2832e
Fix user list view 2020-07-31 13:33:05 +02:00
Chocobozzz 94148c9028 Add abuse messages management in my account 2020-07-31 11:35:19 +02:00
Chocobozzz 441e453ae5 Add abuse message management in admin 2020-07-31 11:35:19 +02:00
Kim 30814423ae
Improve (accessibility title) and move action-buttons on left in tables (#2980)
* Improve and move action-buttons on left in tables

* Focus on my-delete and my-button

* Correct spaces syntax

* Move user-action dropdown on the left

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-31 11:30:57 +02:00
Rigel Kent 66927c0588 modify user-quota to match account settings style 2020-07-29 18:15:53 +02:00
Rigel Kent 4f5d045960 harmonize search for libraries 2020-07-29 18:15:53 +02:00
Rigel Kent bc99dfe54e variable columns for users list, more columns possible, badge display for statuses 2020-07-29 18:15:53 +02:00
Kim dfe3f7b72e
Add alert and hide upload view when no upload is possible (#2966)
* Add alert and hide upload view when no upload is possible

* Add about instance link to alert

* Hide videos and imports links when no upload is possible

* Correct curly spacing lint

* Put logic canUpload to User model + add isHidden param to to-menu-dropdown

* Use canSeeVideoLinks from user model

* Rename and change logic canUpload to isUploadDisabled

* Use isDisplayed() method intead of isHidden value

* Refactor client and check videos count using quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2020-07-28 15:18:38 +02:00
Kim ed5bb51726
Improve navigation sub-menu and tabs effects (#2971)
* Improve nav border and colors on active and non-active

* Remove margin-top effect on active nav

* Use opacity / bold instead of color change on nav

* Remove dropdown items label in sub-menu and add a class active

* Position sub-menu to fixed

* Autoclose dropdown sub-menu only on outside click

* Remove open dropdown on hover in sub-menu

* Show reusable h1 for dropdown item in sub-menu

* Put reusable sub-menu h1 styles to mixins

* Add icons to sub-menu dropdown-item h1

* Make all the sub-menu accessible with focus

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 15:09:15 +02:00
Kim 345b4a22a8
Update my-account sub-menus icons (#2977)
* Update user sub-menus icons

* Update admin sub-menu icons

* Add solendp to credits

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 14:42:06 +02:00
Chocobozzz ec903c010e
Merge branch 'release/2.3.0' into develop 2020-07-20 17:00:58 +02:00
kimsible 2170f1db6e Fix accessibility action buttons and display on imports and followers list 2020-07-20 17:00:28 +02:00
kimsible 2821595787 Correct missing test in user-edit template 2020-07-20 16:58:09 +02:00
Chocobozzz cfde28bac3 Add ability to report account 2020-07-10 14:02:41 +02:00
Chocobozzz 8ca56654a1 Add ability to report comments in front end 2020-07-10 14:02:41 +02:00