Commit Graph

2529 Commits

Author SHA1 Message Date
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
Chocobozzz d470441424
Rename upload button to publish 2020-11-10 14:24:32 +01:00
Chocobozzz 25b7c84724
Try to optimize sha segments fetching 2020-11-10 14:21:26 +01:00
Chocobozzz 210856a7be
Try to fix live segments check 2020-11-10 14:15:59 +01:00
Chocobozzz d88c490d38
Fix channel deletion 2020-11-10 10:52:05 +01:00
Chocobozzz 3bc68dfd61 Fix audio sync after saving replay
hls.js seems to not correctly handle audio gaps with fragmented mp4
(but can with a ts playlist)
2020-11-09 15:33:04 +01:00
Chocobozzz f8c00564e7 Add live info in watch page 2020-11-09 15:33:04 +01:00
Chocobozzz 99fa5c5bad Fix theater mode 2020-11-09 15:33:04 +01:00
Chocobozzz 97969c4edf Add check constraints live tests 2020-11-09 15:33:04 +01:00
Chocobozzz c29039e7c0 Add warning below live stream key field 2020-11-09 15:33:04 +01:00
Chocobozzz a056ca4813 Add max lives limit 2020-11-09 15:33:04 +01:00
Chocobozzz d846d99c6c Add modal to display live information 2020-11-09 15:33:04 +01:00
Chocobozzz da0310f821 Add thumbnail info if live 2020-11-09 15:33:04 +01:00
Chocobozzz b5b687550d Add ability to save live replay 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
kimsible 110d463fec Restore line feed for markdown lists support in comments 2020-11-08 16:44:43 +01:00
Kimsible f34cc2a48e
Improve markdown-it emoji list column display (#3253)
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-11-08 11:35:09 +01:00
Kimsible 6a9498e37c Correct break line display for re-draft comments 2020-11-06 18:14:15 +01:00
test2a 214ff6fa00
changed video rating popover text with link to login page (#3168)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-10-30 11:30:21 +01:00
Jeena dd1e2f2f96 Add possibility to share origin URL to video if it's not local
It's very difficult to share the original URL for a video when you watch it on your
own instance while it's not from it but from a different instance. Right now when
you use the share UI you only can share a link so a person can watch it on your
own instance, this patch adds a checkbox to the share UI to share the origin URL
instead if needed.
2020-10-29 09:06:40 +01:00
Rigel Kent 7f0d856169 jobs/logs view select and empty state visual improvements 2020-09-28 13:25:50 +02:00
Chocobozzz 30b1e10603
Fix privacy/channel select on upload 2020-09-04 10:47:52 +02:00
Chocobozzz d3bb7994fe
Improve report labels 2020-09-03 16:09:22 +02:00
Chocobozzz 1a568b6fca
Fix play of videos on ios
When the user already played a video
2020-08-27 08:39:44 +02:00
Chocobozzz e6abf95e9f
Add redirection on unavailable video due to follow constraints 2020-08-26 09:14:14 +02:00
Chocobozzz ca00baa75a
Avoid 404 when changing language 2020-08-26 08:54:19 +02:00
Chocobozzz 365d9083c9
Fix video block in abuse table 2020-08-26 08:45:48 +02:00
Chocobozzz d6eace77db Fix playlist element dropdown overflow 2020-08-25 14:42:16 +02:00
Chocobozzz 2856af48ac Fix z-index dropdown icon
Was on top of the header
2020-08-25 14:42:16 +02:00
Chocobozzz 781ba98126 Add ability to set a description to dynamic fields 2020-08-21 15:39:51 +02:00
Chocobozzz 0cd6ffc09c Send videojs to action player hooks 2020-08-21 15:39:51 +02:00
Chocobozzz 79f392a657 Fix tokens loading 2020-08-21 15:39:51 +02:00
Chocobozzz 7294aab0c8 Add ability to set custom field to video form 2020-08-21 15:39:51 +02:00
Chocobozzz f95628636b Support plugin hooks in embed 2020-08-20 14:23:57 +02:00
Chocobozzz a9f6802e7d
Fix user video languages settings 2020-08-20 11:05:45 +02:00
test2a ce4e63c181 Update video-import-url.component.html
changed wording of raw mp4 file to media file as we can import variety of formats both audio and video
2020-08-19 11:41:13 +02:00
test2a 1c840ca482 Update video-import-torrent.component.html
changed wording of mp4 file to media file as we can import variety of formats both audio and video
2020-08-19 11:41:13 +02:00
Chocobozzz 2d0d756e85 Fix responsive playlist elements 2020-08-19 11:30:21 +02:00
Chocobozzz 2711491ce1 Remove unused class in playlists elements 2020-08-19 11:30:21 +02:00
Chocobozzz d142c7b9c0 Use playlistPosition for playlists instead of videoId 2020-08-19 11:30:21 +02:00
Chocobozzz 3c6a44a181 Fix video playlist resuming 2020-08-19 11:30:21 +02:00
Chocobozzz e79df4eefb Update playlist add component to accept multiple times the same video 2020-08-19 11:30:21 +02:00
Chocobozzz b75410b87d Fix playlist dropdown active color 2020-08-19 11:30:21 +02:00
Chocobozzz 50a1e91dcc Fix startAt/stopAt playlist element edition 2020-08-19 11:30:21 +02:00
Chocobozzz 60ea8f7a31 Fix playlist deletion 2020-08-19 11:30:21 +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 1bfc7b7379
Some code style fixes 2020-08-17 10:19:53 +02:00
Kim 245b9d27bc
On touchscreens add content overlay for opened menu (#3088)
* Overflow:hidden on touchscreen when modal-open

* Do not display menu by default on touchscreens

* Add content overlay on touchscreens when menu is opened

* Fix zIndex overlay for search infos

* On touchscreens close menu on swipe left

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-17 10:17:54 +02:00
Kim 30d55e75ca
Add restore scroll position on user-dropdown anchors links and scroll to top on active sub-menu links (#3066)
* Add restore scroll position on router same url

* Remove settings top anchor

* Add scrollToTop on active links fixed sub-menu

* Add restore scroll position on notification avatar links

* Toggle menu and close pophover when click on active dropdown menu-left link

* Add onSameUrlRestoreScrollPosition on user dropdown channels link

* Same behavior scrollTop and scroll to anchor everywhere

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-17 10:13:31 +02:00
Chocobozzz 28fbb88f93
Fix css lint 2020-08-17 09:42:51 +02:00
test2a 39392b24e2
removed minimum width css to fit mobile devices with lesser width (#3090)
* Update instance-features-table.component.scss

removed this minimum width option because on mobile phones this resulted in page being larger than the phone width

* Update instance-features-table.component.scss

removed blank lines as requested
2020-08-17 09:34:08 +02:00
Chocobozzz b4c3c51dc8
Fix circular dependencies 2020-08-14 17:28:54 +02:00
Chocobozzz 93e903ac16
Fix lint 2020-08-14 15:04:58 +02:00
kimsible da188b9f9e Migrate i18n to localize 2020-08-14 15:03:38 +02:00
kimsible 230c3ba24b Use this.user.account.id instead of recall authService.getUser() 2020-08-14 15:03:38 +02:00
kimsible c537763a23 Fix autoclose md popover when click on emoji list link inside 2020-08-14 15:03:38 +02:00
kimsible fdd1296521 Small refactor comments 2020-08-14 15:03:38 +02:00
kimsible ee3bd9db05 Add emoji list to markdown infos 2020-08-14 15:03:38 +02:00
kimsible fd9c3c8d66 Refactor popover markdown, add code style 2020-08-14 15:03:38 +02:00
kimsible 04c7f70175 Use commonjs instead of esm typescript for light emojis 2020-08-14 15:03:38 +02:00
kimsible 0672dc769b Add unicode emoji to markdown 2020-08-14 15:03:38 +02:00
kimsible 438c256b26 Move markdown icon on right and correct colors 2020-08-14 15:03:38 +02:00
kimsible ddb0303f4d Fix i18n on delete modal and linter 2020-08-14 15:03:38 +02:00
kimsible 3c176894ba Add markown compatible help icon in comment textarea 2020-08-14 15:03:38 +02:00
kimsible cb54210c19 Use comment as label for comments-thread add button 2020-08-14 15:03:38 +02:00
kimsible c311596094 Add icons to dropdown actions (report, remove and remove & re-draft) 2020-08-14 15:03:38 +02:00
kimsible 45ae994a44 Move delete, delete & redraft actions to options 2020-08-14 15:03:38 +02:00
kimsible f63c03fb6e Add delete & re-draft for comments without replies 2020-08-14 15:03:38 +02:00
kimsible 09f8f73fbc Hide deleted comment message when no replies 2020-08-14 15:03:38 +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
Chocobozzz 3d25d5de33
Move form modules in the form shared module 2020-08-11 09:54:42 +02:00
Chocobozzz c9ea405f10
Fix playlist position in my playlists 2020-08-11 09:48:40 +02:00
Chocobozzz 9abd170dec
Fix tags in search filters 2020-08-11 09:41:55 +02:00
Rigel Kent 02c01341f4 add ng-select for templatable select options
- create select-tags component to replace ngx-chips
- create select-options to factorize option selection in forms
- create select-channel to simplify channel selection
- refactor tags validation
2020-08-11 09:03:39 +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 c2165d607e Add anchor links to about/instance 2020-08-11 08:34:04 +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 ae2dd04617
Correctly fix sub menu 2020-08-10 09:43:44 +02:00
Chocobozzz 82f443de1a
Add buttons in playlist page
To delete/edit/share the playlist
2020-08-10 09:43:44 +02:00
Chocobozzz 10846ef656
Fix playlist layout on mobile 2020-08-10 09:43:44 +02:00
Aman Sharma 203d594f2d
Resume video playback on close of support modal (#3052)
* Resume video playback on close of support modal #2995

* Fix lint issues
2020-08-10 08:32:10 +02:00
Rigel Kent b47d6282fb
revert upload bar text color to white 2020-08-09 13:29:23 +02:00
Chocobozzz 241c1a558c
Fix icon names 2020-08-07 14:55:55 +02:00
Chocobozzz 951b582f52
Add ability to share playlists in modal 2020-08-07 13:43:48 +02:00
Chocobozzz 189ab8deb3
Add ability to disable peertube button link in embed 2020-08-07 11:42:53 +02:00
Chocobozzz 193b9ba7c0
Fix loading bar color 2020-08-07 11:34:22 +02:00
Chocobozzz 5abc96fca2 Add logic to handle playlist in embed 2020-08-07 08:58:29 +02:00
Chocobozzz a4ff3100d3 Cleanup tokens logic in embed 2020-08-07 08:55:02 +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
Chocobozzz c7a53f6121
Correctly finish upload before updating video 2020-08-05 16:22:13 +02:00
Rigel Kent 9e8929d633
adjust help component, fix its instances in video-edit 2020-08-05 11:23:37 +02:00
Rigel Kent 830c762bb6
reword intellectual property
fixes #3010
2020-08-04 21:20:46 +02:00
Rigel Kent 6863f814b0 special display case for logged-out users to display download in watch page 2020-08-04 16:06:40 +02:00
Rigel Kent 9a42363291
correct column toggle z-index for user list 2020-08-03 23:43:23 +02:00
kimsible a7eaeae1dc Fix regression blocklist-accounts icon in sub-title 2020-08-03 16:52:40 +02:00
kimsible 8bed61815d Fix regression subscriptions icon in dropdown sub-menu 2020-08-03 16:52:40 +02:00
kimsible d607fc2463 Fix regressions sub-menu titles on mobile-view 2020-08-03 16:52:40 +02:00
Chocobozzz 7c87bce471
Fix anonymous user theme 2020-07-31 16:55:32 +02:00
Chocobozzz d45f3641d0
Fix fullscreen on ios 2020-07-31 15:54:52 +02:00
Chocobozzz 805d6a354b
Fix top menu dropdown 2020-07-31 13:39:42 +02:00
Chocobozzz e29dc2832e
Fix user list view 2020-07-31 13:33:05 +02:00
Chocobozzz 2f712d2bff
Fix build
(my bad)
2020-07-31 12:02:15 +02:00
Chocobozzz 41130b4ce3 Fix tests 2020-07-31 11:35:19 +02:00
Chocobozzz d573926e9b Add migrations for abuse messages 2020-07-31 11:35:19 +02:00
Chocobozzz 594d3e48d8 Add abuse messages/states notifications 2020-07-31 11:35:19 +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
kimsible 837fe4f3fb Revert user-menu dropdown active class on sub-menu and autoclose only on outside click 2020-07-31 11:31:45 +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 7b3909644d test search for subscriptions and video-channels 2020-07-29 18:15:53 +02:00
Rigel Kent 225a7682e6 adapt notifications buttons for small screens 2020-07-29 18:15:53 +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
Rigel Kent 654a188f80 allow sorting notifications 2020-07-29 18:15:53 +02:00
Rigel Kent 292c17b894 fix margin-left for edit-button 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 a949f67636
correct regressions on sub-menu for account and admin (#3004) 2020-07-24 23:29:39 +02:00
Kim 2e7f262724
Display user quota progress bars above upload form (#2981)
* Move user-quota to my-user-quota shared component

* Add user-quota to upload form

* Increase progress bar height and make it focusable

* Correct syntax parenthesis

* Add explicit title to user-quota bars + tooltip with quota values

* Hide user-quota in second upload step

* Customize focus styles on user-quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-24 08:53:25 +02:00
Kim b40a219338
Hide generic channel display name and avatar on watch view (#2988)
* Hide generic channel display name on watch view

* Hide generic channel avatar on watch view

* Add Default username channel as a generic channel display-name

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-24 08:49:59 +02:00
Rigel Kent 2e2e4cf426
separate menu options from their values, remove their chevron 2020-07-23 15:44:32 +02:00
Chocobozzz f4a2dc5092
Fix compilation 2020-07-23 15:35:18 +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 2291a412d2
Merge branch 'release/2.3.0' into develop 2020-07-21 11:16:28 +02:00
Chocobozzz 2e03d65032
Fix E2E tests 2020-07-21 09:38:26 +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
kimsible cd801c6907 Correct action button selection mode styles 2020-07-20 16:57:47 +02:00
kimsible b5366b3c7e Correct maximized icon padding since new icons set implemented 2020-07-20 16:56:59 +02:00
Chocobozzz 0bdad52fbb
Fix issues with external links in search page 2020-07-20 11:37:06 +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
Chocobozzz 310b5219b3 Add new abuses tests 2020-07-10 14:02:41 +02:00
Chocobozzz 4f32032fed Add migrations 2020-07-10 14:02:41 +02:00
Chocobozzz d95d155988 Use 3 tables to represent abuses 2020-07-10 14:02:41 +02:00
Chocobozzz 72493e44e9
Fix embed url 2020-07-10 11:13:41 +02:00
Kim caf2aaf4f9
Add ability to override client assets : logo - favicon - PWA icons - PWA manifest name and description (#2897)
* Add client-overrides storage to config

* Add static-serve for client overrides

* Move backgroun-image logo from bundle to css tag for runtime content hash

* Add dynamic JSON manifest

* Add content hash for manifest, favicon and logo

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-10 10:20:11 +02:00
Chocobozzz 767bb14a38
Fix external user edition 2020-07-06 11:03:05 +02:00
Chocobozzz 9e5dd0d96e
Fix admin layout 2020-07-06 11:02:21 +02:00
Rigel Kent ea7337cfde
add check-params test for user list
fixes #2918
2020-07-03 10:29:03 +02:00
Rigel Kent 8491293b02
add blocked filter in users list to filter banned users
fixes #2914
2020-07-02 22:50:33 +02:00
Rigel Kent 2b587cad93
align feed icons to the right for video listings 2020-07-02 19:45:21 +02:00
Rigel Kent 2d011d94aa
rename rss 2.0 to media rss 2.0 2020-07-02 16:30:52 +02:00
Chocobozzz 35f0a5e665
Fix player menu on mobile 2020-07-02 15:10:06 +02:00
Chocobozzz 57e56eb294
Fix lint 2020-07-02 10:35:05 +02:00
Chocobozzz 41bec13718
Don't reload videos on mute 2020-07-02 10:25:35 +02:00
Rigel Kent 0a4cb95c98 simplify navigation within most admin menus 2020-07-02 09:22:59 +02:00
Rigel Kent c7b836303c
remove extraneous user-list table attribute 2020-07-02 08:59:16 +02:00
Rigel Kent 97990c6eb0
align danger colors for user-edit 2020-07-01 17:28:50 +02:00
Rigel Kent 6c808af9a2 fix reactive file upload button 2020-07-01 17:03:48 +02:00
Rigel Kent 1fe1e14cb3 fix video update button, add color to danger zone 2020-07-01 17:03:48 +02:00
Rigel Kent c41c0e28ed switch from softies to feathericons
also organize icons in folders per origin
2020-07-01 17:03:48 +02:00
Rigel Kent 9b01cfc788
distinct style for rows of banned users in listing, saving space 2020-07-01 12:09:23 +02:00
Rigel Kent 4ee63ec648
remove extra action for when the video block type is set to manual 2020-06-28 20:28:59 +02:00
Rigel Kent 1c5d24e5b5
slight improvement for column size in imports table 2020-06-28 17:16:38 +02:00
Rigel Kent d473fd94ce
allow muting from the miniature options
initial implementation with a listing refresh except on search results
2020-06-28 16:55:17 +02:00
Rigel Kent 4c9e9d2ee9
align ownership change video list table with moderation tables 2020-06-28 16:20:23 +02:00
Rigel Kent afa4456c1a
fix typo in blocked notice in login 2020-06-28 16:11:00 +02:00
Rigel Kent 0350384781
replace current ownership transfer icon with softies forward icon 2020-06-28 14:15:38 +02:00
Rigel Kent 287124d110
fix quota representation in profile settings 2020-06-28 01:17:59 +02:00
Rigel Kent 0242861ece
add user account-blocklist missing scss mixin 2020-06-28 00:53:36 +02:00
Chocobozzz cc0e0d32ea
Fix query string parsing 2020-06-26 16:08:53 +02:00
Chocobozzz d8b382912e
Fix search filter in video reports 2020-06-26 15:41:35 +02:00
Chocobozzz 983aa6f287
Fix missing module for my-account 2020-06-24 15:32:52 +02:00
Chocobozzz f0b56fdd0c
Put empty module in app module 2020-06-24 15:29:08 +02:00
Chocobozzz 187b2e2346
Fix upload page 2020-06-24 11:50:54 +02:00
Chocobozzz 71489890a8
Use pointer for search suggestions 2020-06-24 11:50:53 +02:00
Chocobozzz f6f371ae5f
Add P2P concept for HLS config 2020-06-24 11:50:53 +02:00
Chocobozzz 7ede74add2
Support player hotkeys when it is not focused 2020-06-23 16:57:35 +02:00
Chocobozzz 1942f11d5e Lazy load all routes 2020-06-23 16:00:49 +02:00
Chocobozzz 67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +02:00
Rigel Kent 1ebddadd07
predefined report reasons & improved reporter UI (#2842)
- added `startAt` and `endAt` optional timestamps to help pin down reported sections of a video
- added predefined report reasons
- added video player with report modal
2020-06-22 13:00:39 +02:00
Rigel Kent 6567e5a796
soft border-radius for search typeahead suggestions 2020-06-18 12:10:20 +02:00
Caroline Chuong d6d951ddc0 Remove uneccessary details to link titles 2020-06-18 09:02:23 +02:00
Chocobozzz 1ba471c55f
Add videos count in channels list 2020-06-16 14:13:01 +02:00
Chocobozzz af75e2d8df
Correctly fix client build 2020-06-16 13:51:50 +02:00
Chocobozzz 6f787ea25d
Fix client compilation 2020-06-16 12:01:11 +02:00
Chocobozzz c4a6f7901c
Add channel information in my videos 2020-06-16 11:44:54 +02:00
Chocobozzz b27b12552b
Add video dropdown in discover page 2020-06-16 11:26:46 +02:00
Chocobozzz 5c20a45518
Fix anonymous nsfw policy 2020-06-16 11:26:46 +02:00
Chocobozzz 64e0f8cf12
Fix scrolling with hash in url 2020-06-16 11:26:46 +02:00
Chocobozzz c1466c52fb
Remove unused service 2020-06-15 15:04:51 +02:00
Chocobozzz ff9c3d9b18
Use local search for recommended videos 2020-06-15 15:04:51 +02:00
Chocobozzz 12e6b31486
Fix search error loop 2020-06-15 15:04:51 +02:00
Rigel Kent 228393302d
factorize account/server blocklists for users and instance (#2875) 2020-06-15 13:18:22 +02:00
Rigel Kent 7dfe352886
replace title with video name in moderation listings 2020-06-13 11:56:23 +02:00
Caroline Chuong c9e3565dc8
fix headings order or add missing ones (#2871)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-06-13 00:53:56 +02:00
Rigel Kent 46788f21f6
switch margin-bottom rules to padding-bottom now used in miniature 2020-06-12 12:27:37 +02:00
Rigel Kent d39db21a88
match margin of abstract-video-list and sub-menu's fixed margin 2020-06-12 12:26:48 +02:00
Rigel Kent 435258ea3c
fix miniature fixed height, add link/title to avatar, remove pr-2 on channels list 2020-06-12 09:51:16 +02:00
Chocobozzz 8b381422b8
Fix lint 2020-06-12 08:27:59 +02:00
Caroline Chuong adcf921271
add keyboard navigation for video actions (#2854)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-06-11 19:19:23 +02:00
Caroline Chuong 45800f7e63
add scope tags and aria-labels to instance table (#2866)
also move label to caption element in table
2020-06-11 18:12:52 +02:00
Chocobozzz cf78883c70
Limit thumbnail sizes 2020-06-11 16:41:51 +02:00
Rigel Kent 7e4022a554
rephrase warning for self-hostable services 2020-06-11 13:13:06 +02:00
Rigel Kent a7257b0e3e
prevent video-bottom overflow in video-miniature 2020-06-11 12:23:01 +02:00
Rigel Kent e95bede8fe
support type as override to search in listBlocks 2020-06-10 21:12:09 +02:00
Rigel Kent 3487330d30
preserve original variable names server-side 2020-06-10 21:12:09 +02:00
Rigel Kent 5baee5fca4
rename blacklist to block/blocklist, merge block and auto-block views
- also replace whitelist with allowlist
- add advanced filters for video-block-list view
- move icons in video-block-list and video-abuse-list to left side
for visibility
- add robot icon to depict automated nature of a block in
video-block-list

resolves #2790
2020-06-10 21:12:05 +02:00
Rigel Kent d840487fed
smaller miniature average size in fluid grid, updated admin instructions for global search 2020-06-10 21:09:31 +02:00
Caroline Chuong 1bab226f5c Add explicit step and aria-current attribute in register form 2020-06-10 17:38:00 +02:00
Chocobozzz 3b0bd70aa0 Add search target check params 2020-06-10 14:02:41 +02:00
Chocobozzz 7c87746e4b Fix search query when updating from typeahead 2020-06-10 14:02:41 +02:00
Chocobozzz 5fb2e2888c First implem global search 2020-06-10 14:02:41 +02:00
Rigel Kent e6dfa58689 space optimizations for `node_modules` and client stats removal
- replace sharp with lighter jimp alternative
- remove stats in builds

fixes #2807
2020-06-10 14:01:49 +02:00
Caroline Chuong d8d8de7f87
change focus color instead of opacity of video play button (#2845) 2020-06-09 13:35:30 +02:00
Rigel Kent e66883b37a
`fitWidth` for `video-miniature`, fluid grid (#2830)
* Fluid abstract video list

* normalize timestamp display on miniatures

* use grid for abstract-video-list

- refactor scss function var to pvar to avoid overriding css variables
- move fluid-grid margins to adapt-margin-content-width mixin for maintainability
- fix video-miniature-name margin-top on small screen

* move sceenratio function in a mixin

* display no miniature avatar in channel videos view
2020-06-09 09:33:28 +02:00
Caroline Chuong 6ad971d5f5
add aria-hidden to non-descriptive icons (#2844) 2020-06-08 19:42:51 +02:00
Rigel Kent c2caa99b94
Add channel/account avatars in miniature (#2838)
* add small avatar to miniature

* fix svg size for trending and search icons in plugins view

* parametrize avatar in miniature display options
2020-06-08 08:52:06 +02:00
Rigel Kent c87d45df9b
ensure menu footer respects spacing across translations 2020-06-07 11:55:17 +02:00
Caroline Chuong 0c23363a2d Add lang attribute in languages list menu 2020-06-05 15:55:29 +02:00
Chocobozzz 3e95b68343
Fix default anonymous theme 2020-06-05 09:15:59 +02:00
Chocobozzz 92128fff7e
Fix config form issue with index URL 2020-06-05 09:10:05 +02:00
Rigel Kent 80c7779efe
fix mascot sizes, fix tick, delete extraneous .png icons
follows PR #2822
2020-06-04 20:57:10 +02:00
Rigel Kent 81fe3c67c5 fix duplicate id in svg, empty alt in base email 2020-06-04 09:05:44 +02:00
Rigel Kent 140ea386de inject lang in document to match current locale 2020-06-04 09:05:44 +02:00
Chocobozzz cdd8f7790c
Merge branch 'release/2.2.0' into develop 2020-06-02 09:00:39 +02:00
Chocobozzz fa11e79d4a
Fix regression scrollbar bgcolor mdtextarea maximized-mode
By kimsible
2020-06-02 08:56:00 +02:00
Chocobozzz 2a39506c7d
Revert "Remove oc locale support"
This reverts commit 8323c435c1.
2020-05-29 17:09:55 +02:00
Chocobozzz 72c33e716f Support broadcast messages 2020-05-29 09:32:12 +02:00
Chocobozzz 923ff87da2 Add bulk comment actions on account dropdown 2020-05-29 09:21:26 +02:00
Chocobozzz c123027fd9
Fix grey color theme 2020-05-22 11:21:55 +02:00
Chocobozzz 5f57df5462
Fix action button icons theme 2020-05-22 11:15:31 +02:00
Chocobozzz fd8f73cf6d
Fix lint 2020-05-22 08:50:31 +02:00
Chocobozzz f33dc6ab2d
Fix input/textarea themes 2020-05-20 13:52:12 +02:00
Chocobozzz e0433a5f8f
Fix dropdown menu overflow 2020-05-20 11:58:03 +02:00
Chocobozzz 3bf07dd8c2
Explicit theme colors for inputs and textarea 2020-05-20 11:39:31 +02:00
Chocobozzz b66c5e58f1
Fix upload button color in dark mode 2020-05-20 10:57:59 +02:00
Chocobozzz 6189b699fb
Fix broken client when cookies are disabled 2020-05-20 10:37:46 +02:00
Chocobozzz 572bf73be6
Fix action button overflow in tables 2020-05-20 10:29:40 +02:00
Chocobozzz 9a7fd9600b
Fix external auth email/password update
Also check if an actor does not already exist when creating the user
2020-05-20 10:17:27 +02:00
Chocobozzz e00aa3535e
Fix deleting highlighted thread 2020-05-14 14:54:10 +02:00
Chocobozzz 83e9886eed
Add link to the account page in comment 2020-05-14 14:41:24 +02:00
Chocobozzz 089af69bc8
Fix old edge HLS compat 2020-05-13 10:39:54 +02:00
Chocobozzz 1d904806f6
10 items per page for my videos 2020-05-12 11:40:09 +02:00
Chocobozzz 5ff523664f
Fix user dropdown overflow 2020-05-11 18:05:16 +02:00
Chocobozzz 399b3bc9a6
Update translations 2020-05-11 13:39:06 +02:00
Chocobozzz 3b072f5a9d
Fix top menu dropdown hovering 2020-05-11 11:24:55 +02:00
Kim 8a3183e50d
Fix non-fixed header and menu when overflow-x body on touchscreens (#2711)
* Make my-account-videos responsive on small screens

* Make my-account-channels responsive for small screens

* Make search result responsive on small screen

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-05-11 11:16:21 +02:00
Kim 8544d8f561
Fix regression my-account menu overflow-x on screen width < 800px (#2707)
* Fix: correct my-account menu overflow-x on touchscreens

* Add menuLeftDisplayed support for account-sub-menu

* Handle menu in screen service + clean top-menu-dropdown

* Add comment on menuWidth menu service to allow backtracking

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

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-05-11 11:12:58 +02:00
kimsible 70afd522ba Fix displaying more dropdown on touchscreen 2020-05-11 11:11:06 +02:00
kimsible bedf0e6073 Add edit button to scroll watch playlist on touchscreens 2020-05-11 11:11:06 +02:00
Rigel Kent b72ec06bbe
Display video redundancy entries as table link objects 2020-05-08 18:41:32 +02:00
Rigel Kent 1d26d05fd9 Align follower handle display on instance display in tables 2020-05-08 15:31:51 +02:00
Rigel Kent df4c603dea Switch emails to pug templates and provide richer html/text-only versions 2020-05-08 15:31:51 +02:00
Chocobozzz 3cc665f48f
Add last login date to users 2020-05-07 10:39:09 +02:00
Chocobozzz feb34f6b6b Use video abuse filters on client side 2020-05-07 08:33:34 +02:00
Chocobozzz d4eea02801
Fix relative links in video description 2020-05-06 14:21:10 +02:00
Chocobozzz f375bb3db4
Add ability to override login signup message 2020-05-06 14:03:23 +02:00
Rigel Kent 86ab22921b
Support pagination rowsPerPage change in instance account/server blocklists 2020-05-06 13:08:03 +02:00
Chocobozzz d056b01956
Fix mobile miniature information margin 2020-05-06 10:15:13 +02:00
Chocobozzz fde37dc99c
Add ability for video owners to delete comments 2020-05-05 17:22:11 +02:00
Chocobozzz 06827932a2
Fix textarea size 2020-05-05 13:54:30 +02:00
Chocobozzz 8bb71f2e33
Add auth plugin info in users list 2020-05-05 13:54:30 +02:00
Rigel Kent 97601690d6
Fix video-abuse-details avatar display and user-list dropdown placement 2020-05-05 12:02:57 +02:00
Chocobozzz f66b8d1226
Re generate translations 2020-05-05 09:19:50 +02:00
Chocobozzz bc90883f1a Handle external login errors 2020-05-04 16:21:39 +02:00
Chocobozzz a4995eb7ac Add ability to unregister plugin auths 2020-05-04 16:21:39 +02:00
Chocobozzz dadc90bca2 Client calls revoke-token endpoint on logout 2020-05-04 16:21:39 +02:00
Chocobozzz ebefc902f5 Add external login buttons 2020-05-04 16:21:39 +02:00
Chocobozzz 4a8d113b9b Begin support for external auths 2020-05-04 16:21:39 +02:00
Rigel Kent 8d41976378
Fix video-abuse-list init abuse duplication 2020-05-04 16:13:35 +02:00
Rigel Kent 25a42e293b Fix rowsPerPage change, add filter clear button, update video-abuse-list search query param dynamically 2020-05-04 15:01:44 +02:00
Rigel Kent 801d957155 Move abuse-list details into its own component 2020-05-04 15:01:44 +02:00
Rigel Kent 0db536f1e0 Only show updatedAt date of abuse if different from createdAt 2020-05-04 15:01:44 +02:00
Rigel Kent d405118360 Bind expanded rows to item ids instead of row number 2020-05-04 15:01:44 +02:00
Rigel Kent 9b1fa49b60 Support is:blacklisted as video-abuse-list filter 2020-05-04 15:01:44 +02:00
Rigel Kent 7f979fd8aa Reduce createdAt column size by using short date format 2020-05-04 15:01:44 +02:00
Rigel Kent 0d3a2982a9 Switching to a named filters/single input on video-abuse 2020-05-04 15:01:44 +02:00
Rigel Kent c2a89b70ce
Fix margin-content and miniature thumbnail width on mobile, fix media queries for tables above lg breakpoint 2020-05-01 23:24:05 +02:00
Kim ca4b1594a7
Fix dropdown-user placement and menu-left scroll on touchscreens (#2706) 2020-05-01 20:05:19 +02:00
Rigel Kent d1261d9a3c Add links from user-edit 2020-05-01 16:41:02 +02:00
Rigel Kent efa012edad Add reportee stats for deleted videos 2020-05-01 16:41:02 +02:00
Rigel Kent 0251197e24 Factorize rest-table and fix/simplify SQL 2020-05-01 16:41:02 +02:00
Rigel Kent b8cf27c0f8 Unify paginator disabling when no result is displayable, fix batch domain add for non-https 2020-05-01 16:41:02 +02:00
Rigel Kent 36004aa7b0 Support search param in URL for video abuses 2020-05-01 16:41:02 +02:00
Rigel Kent 042daa7072 Fixing circular dependency and table variable access 2020-05-01 16:41:02 +02:00
Rigel Kent d384061366 Empty states for tables 2020-05-01 16:41:02 +02:00
Rigel Kent e0a929179a Add filter inputs for blacklisted videos and muted accounts/servers 2020-05-01 16:41:02 +02:00
Rigel Kent aeb1bed983 Factorize video display in table for moderation components, apply it to blacklisted videos as well 2020-05-01 16:41:02 +02:00
Rigel Kent 5fd4ca0051 Add nth abuse count for a given video, add reporter/reportee reports stats 2020-05-01 16:41:02 +02:00
Rigel Kent 844db39ee5 Add search for video, reporter and channel name fields 2020-05-01 16:41:02 +02:00
Rigel Kent 36d0677ec9 Add tooltip on caption upload to specify which formats are supported 2020-05-01 16:41:02 +02:00
Rigel Kent 988af781ac Rename duplicate to more universal mirror, add to miniature for quick access by admins 2020-05-01 16:41:02 +02:00
Rigel Kent 86521a67b2 Add video channel and video thumbnail, rework video appearance in row 2020-05-01 16:41:02 +02:00
Rigel Kent 9b4241e33b Increase rows per page, add reporter muting for abuse list 2020-05-01 16:41:02 +02:00
Rigel Kent 68d19a0ace Make sure a report doesn't get deleted upon the deletion of its video 2020-05-01 16:41:02 +02:00
Kim 165ee2929b
Fix tables width, paginators, button on mobile / touchscreens (#2695) 2020-05-01 10:45:07 +02:00
Kim 7a03209d28
Make admin sub-navs, selects, buttons responsive (#2702) 2020-05-01 00:51:09 +02:00
Kim 0ac458bffb
Remove border-bottom on header to prevent header redimensioning (#2691) 2020-04-30 22:33:27 +02:00
Kim d363ef5360
Use modal instead of dropdown menu in small/mobile views (#2674)
Co-Authored-By: Rigel Kent <par@rigelk.eu>
2020-04-30 19:23:54 +02:00
kimsible 62365adc75 Fix buttons display on mobile history view 2020-04-28 18:30:42 +02:00
Kim b15fe00f74
Add maximized mode to markdown-textarea + CSS improvements (#2660)
* Add arrows-angle-contract/expand bootstrap icons

* Add grey textarea-background-color

* Add maximized support to markdown-textarea + improve column display

* Refactor CSS + add ResizeObservable

* Replace bootstrap icons with softies

* Add ResizeObserver typing definition

* Add focus on textarea + Fix Observables

* Propage component changes on markdown plugins

* Ignore ResizeObserver not implemented in typescript yet

* Move observers from constructor to click event

* Add scss and css variables

* Replace textareaWidth with textareaMaxWidth to fix others textareas

* Clean unused css rules

* Fix ResizeObserver unknown by TypeScript compiler

* Set max-width: 100% for small and mobile views

* Fix textarea/preview height on maximized mode

* Add common padding textarea/preview side-by-side

* Hide scrollbar sub-menu on small-views

* Add maximized mode for mobile views

* Fix sass calculate syntax

* Revert custom CSS variable for inputBorderRadius and inputBorderColor

* Remove unsued methods

* Fix missing implement method

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-28 14:53:43 +02:00
Kim 4682468d4d
Fix broken views on mobile and small screens (#2671)
* Fix mobile CSS for my-account-settings

* Fix mobile CSS for my-account-videos

* Fix mobile CSS my-account-video-channels

* Fix mobile CSS for my-account-playlists

* Fix CSS mobile for user-subscriptions header

* Fix CSS mobile my-account-video-channel-edit

* Fix CSS mobile / small view for textarea

* Fix margin-right my-delete-button on inside span

* Fix CSS mobile on accounts page

* Fix indent

* Fix CSS mobile for my-account-notifications

* Fix CSS mobile / small view my-account-videos

* Fix search small-view channels

* Use miniature width for title of video on mobile

* Add dots to ellipsis multilines

* Fix controls and title video width small views

* Fix my-account-playlist small and mobile views

* Fix channels header + account header mobile

* Fix CSS mobile/small view for my-account/subscriptions

* Fix align followers channel item

* Center header elements user account page on mobile

* Fix margins on a element and img

* Fix margin img channel or video

Co-Authored-By: Rigel Kent <par@rigelk.eu>

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-04-27 14:57:50 +02:00
Kim 9181bc0c80
Make video-add-nav tabs scrollable on small devices (#2677)
* Make video-add-nav tabs scrollable on small devices

* Handle video-add-nav scroll with menu

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-27 08:59:19 +02:00
Kim 8c7725dc3c
Add markdown support to plugins (#2654)
* Add markdown renderer to plugins

* Chore: add doc for markdown plugins

* Fix typing markdown plugin helpers

* Add lines between components in template

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 14:51:24 +02:00
Kim b1770a0af4
Add thumbnail / preview generation from url on the fly (#2646)
* Add thumbnails generation on the fly to URL import

* Display generated preview to import first edit

* Use ternary to get type inference

* Move preview/thumbnail test just after import

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 10:28:38 +02:00
Chocobozzz bb3933ef37
Fix unknown video language label 2020-04-16 17:04:02 +02:00
Chocobozzz 891bc2ffad
Support rel="me" links in markdown 2020-04-16 16:13:28 +02:00
Kim 437e8e06eb
Add custom modal to plugin helpers (#2631)
* Add custom modal component

* Add custom modal to app and plugins helpers

* Fixes custom modal component

* Add doc for custom modal

* Fix newline end of file html and scss files

* Move my-custom-modal component outside component for UserLoggedIn modals

* Move initializeCustomModal to ngAfterViewInit()

* Wrap events and conditionnals

* Replace ng-show with ngIf*

* Add modalRef to open only one modal + onCloseClick

* Refacto + Fix access methods of custom modal

* Fix methods names custom-modal.component

* Fix implement AfterViewInit & no default boolean

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 15:35:41 +02:00
Chocobozzz 45c14ae1b2
Update translations 2020-04-15 14:39:59 +02:00
Chocobozzz 62068f4153
Merge branch 'pr/2629' into develop 2020-04-15 14:16:40 +02:00
Chocobozzz f757be65b8
Better plugin notifier typings 2020-04-15 09:21:06 +02:00
Kim 74c2dece42
Add notifier to plugin helpers (#2627)
* Add notifier to client PeerTubeHelpers plugin

* Add doc for notifier PeerTubeHelpers

* Add getBaseClientScriptsRoute to client PeerTubeHelpers plugin

* Add doc for getBaseClientScriptsRoute PeerTubeHelpers

* Remove unused helper

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 09:08:59 +02:00
Rigel Kent bb152476c8 Refactor follow/mute as modals in admin, add actions in abuse list 2020-04-14 15:53:37 +02:00
kimsible 50ad0a1c16 Add getSubs to YoutubeDL video import 2020-04-14 14:39:30 +02:00
Chocobozzz e713698f3d
Fix cancel upload 2020-04-14 09:54:22 +02:00
Chocobozzz 8e4aff44b0
Fix lint 2020-04-14 09:46:42 +02:00
Rigel Kent 471ee39496
Fix lint 2020-04-14 01:38:41 +02:00
Rigel Kent d6af81469b
Rich reporter field and video embed in moderation abuse list 2020-04-13 19:57:57 +02:00
Rigel Kent 2bc9bd08cd
Improving select displays, focus box-shadows for paginators, instructions for index url 2020-04-13 18:03:21 +02:00
Rigel Kent 92e4ca0d95
Fix my-video-imports display when a video gets deleted 2020-04-12 14:11:17 +02:00
Rigel Kent 66be521333
Revert 41a94d0, keep the fix for years 2020-04-12 11:10:44 +02:00
Rigel Kent 1242fd55f9
Improve from-now pipe readability 2020-04-11 19:05:11 +02:00
Rigel Kent 41a94d07f0
Refactor from-now pipe to display the two most significant intervals 2020-04-11 16:05:50 +02:00
Rigel Kent 62eacb4209
Place private/unlisted labels in thumbnail instead of miniature 2020-04-11 16:05:50 +02:00
Rigel Kent 58e1765aff
Remove unused interface section for interface language 2020-04-11 16:05:50 +02:00
Rigel Kent b7e2168115
Improve highlighted comment scrollTo, improve reply comment display 2020-04-10 16:51:02 +02:00
Chocobozzz b1f3b635ed
Improve admin tables row expand 2020-04-08 14:05:55 +02:00
Chocobozzz a911462d02
Increase debug font size 2020-04-08 10:54:39 +02:00
Chocobozzz 8e11a1b37c
Fix sort in admin tables 2020-04-08 10:49:26 +02:00
Chocobozzz 14f83c68f1
Cleanup menu footer links 2020-04-08 10:30:58 +02:00
Chocobozzz 9870329f69
Fix playlist autoplay 2020-04-08 09:41:43 +02:00
Rigel Kent be6343d26e
Fix search after first type on input 2020-04-07 02:20:26 +02:00
Rigel Kent b9177868b3
Fix lint relative to DragDropDirective 2020-04-03 16:56:22 +02:00
Chocobozzz 1fe654e096
Fix peertube interface i18n 2020-04-03 14:56:05 +02:00
Chocobozzz a7d3671dc3
Fix privacy warning ok button placement 2020-04-03 14:56:05 +02:00
Rigel Kent 947d01023d
Improve channel and account display on medium devices 2020-04-03 14:13:28 +02:00
Rigel Kent 6a4c30de0e
Put box-shadow for input focus in variables, apply form-control to p-multiselect 2020-04-03 12:30:56 +02:00
Chocobozzz 23f1b9da15
Fix video add nave hiding 2020-04-03 11:46:43 +02:00
Rigel Kent c9ff8a08a0
Support drag and drop for video upload and torrent file import 2020-04-03 00:22:06 +02:00
Rigel Kent b515c98c6b
Refactor torrent-or-magnet divider in video import 2020-04-03 00:20:02 +02:00
Rigel Kent 22a59f33de
Fix help component border 2020-04-03 00:18:15 +02:00
Rigel Kent 6f02515e2a
Enlarge right column in video-edit on small screens 2020-04-02 17:55:03 +02:00
Rigel Kent a6d5ff7604
Use form-control to display box-shadow on form inputs/selects upon focus 2020-04-02 11:39:14 +02:00
Chocobozzz 45c6bcf312
Remove deprecated NgbTabsetModule module 2020-04-01 16:52:59 +02:00
Chocobozzz 4adebd513e
Client dependencies upgrade 2020-04-01 14:06:46 +02:00
Rigel Kent 6541071b4a Lazy-load video-channels 2020-03-31 10:29:24 +02:00
Rigel Kent 3d527ba173 Use inner join and document code for viewr stats for channels 2020-03-31 10:29:24 +02:00
Rigel Kent 747c562837 Put channel stats behind withStats flag 2020-03-31 10:29:24 +02:00
Rigel Kent 8165d00ac6 View stats for channels 2020-03-31 10:29:24 +02:00
Rigel Kent 628c155338
Align layout for create/edit video-playlists (my-account) on create/edit user (admin) 2020-03-28 23:54:40 +01:00
Rigel Kent 03a3ad9194
Align layout for create video-channel (my-account) on create user (admin) 2020-03-28 22:53:32 +01:00
Rigel Kent 76314386ae
Add overview of a user's actions in user-edit (#2558) 2020-03-27 15:19:03 +01:00
Rigel Kent 5411da31d1
Describe user video settings checkboxes, put emphasis on p2p
Also improve more info links about p2p and privacy in PeerTube,
present in the privacy concern notice and in the video settings.
2020-03-23 23:43:53 +01:00
Chocobozzz 677119c914
Remove unnecessary margin 2020-03-20 15:15:37 +01:00
Chocobozzz 6cb5564490
Fix add comment in threads with deleted comments 2020-03-20 14:43:12 +01:00
Chocobozzz 34450e1e55
Update manage labels 2020-03-19 10:29:43 +01:00
Chocobozzz b06904bee1
Fix lint 2020-03-18 15:48:46 +01:00
Chocobozzz 03db5c3f97
Correctly format video duration 2020-03-18 15:46:48 +01:00
Chocobozzz a31bec5155
Fix user role edition 2020-03-18 10:22:36 +01:00
Chocobozzz fad0759cab
Add padding bottom to main container 2020-03-18 10:11:59 +01:00
Chocobozzz d2cc8e797b
Fix P2P message 2020-03-18 10:04:14 +01:00
Rigel Kent 6dd873d6a9
Fix next video button to support playlist videos
fixes #2523
2020-03-17 15:05:30 +01:00
Rigel Kent 79671021e2
Fix video-ccomment-add cancellation 2020-03-15 16:05:37 +01:00
Rigel Kent e61151b01c
Replace p-progressbar and bootstrap progressbar with pure CSS alt 2020-03-13 20:38:50 +01:00
Rigel Kent c4741804bc
Fix margins/widths with top-menu and main-col on small screens 2020-03-13 15:30:27 +01:00
Rigel Kent 8c966daab3
Normalize create buttons 2020-03-13 01:43:52 +01:00
Rigel Kent df8914c9a2
More modern avatar upload, quota represented with progress bars 2020-03-13 01:43:52 +01:00
Rigel Kent 8227643bce
hide RSS for comments, normalize video-channel edit with account edit 2020-03-12 00:46:48 +01:00
Rigel Kent c9ad38f4cb
Declutter interface, hide RSS until hovering section title 2020-03-11 22:31:17 +01:00
Rigel Kent 45e0d6697c
Properly scroll to anchors in links, especially in admin config 2020-03-11 19:38:17 +01:00
Chocobozzz 111fdc267b
Handle overview pagination in client 2020-03-11 16:45:09 +01:00
Rigel Kent 310e95d857
Add descriptions and links to admin configuration sections 2020-03-11 13:52:02 +01:00
Rigel Kent 680b549692
Migrate palette to HSL 2020-03-11 13:51:24 +01:00
Rigel Kent 75264e371c
Fix toast close icon 2020-03-11 11:13:24 +01:00
BitTube cf387740f2
Action hook: thread replies loaded (#2550)
* Add thread replies hook onLoaded

* Cleaning spaces

* Fixing travis CI lint errors (spaces)

* Fixing travis 'irregular whitespace not allowed'

* Changing action name for consistency

Co-authored-by: ICabaleiro <i.cabaleiro@devcups.com>
2020-03-11 09:59:41 +01:00
Rigel Kent 03efb1419d
Better use of space and icons in plugins administration interface 2020-03-10 23:48:12 +01:00
Rigel Kent 9b3078581f
Replace helpers with descriptions in admin configuration 2020-03-10 21:46:19 +01:00
Chocobozzz ac940348cd
Fix lint 2020-03-10 16:37:25 +01:00
Rigel Kent 482fa503e5 Use grid to organise settings in admin, my-account 2020-03-10 16:23:40 +01:00
Rigel Kent 3b20bdd6dc Servicify menu, close menu on admin for small and medium screens 2020-03-10 16:22:52 +01:00
Rigel Kent 8319d6ae72
Add video file metadata to download modal, via ffprobe (#2411)
* Add video file metadata via ffprobe

* Federate video file metadata

* Add tests for file metadata generation

* Complete tests for videoFile metadata federation

* Lint migration and video-file for metadata

* Objectify metadata from getter in ffmpeg-utils

* Add metadataUrl to all videoFiles

* Simplify metadata API middleware

* Load playlist in videoFile when requesting metadata
2020-03-10 14:39:40 +01:00
Chocobozzz edb868655e
Fix lint 2020-03-10 14:08:42 +01:00
Rigel Kent 937b7a6af8
Better display of accounts and channel pages on small screens 2020-03-09 10:22:11 +01:00
Rigel Kent 758f0d19f2
Improve nav in admin/configuration 2020-03-07 00:15:49 +01:00
Rigel Kent 54e7884775
Normalize modal close buttons, and cancel/submit button styles 2020-03-06 16:58:55 +01:00
Rigel Kent de702865f4
Share modal light UI simplification 2020-03-06 15:05:19 +01:00
Rigel Kent 0503e975b1
Fix lint error introduced in #2539 2020-03-06 13:10:34 +01:00
Rigel Kent 25ae4f9572
Remove title attribute from thumbnail in video miniature 2020-03-06 11:50:20 +01:00
Rigel Kent 288c78eaae
Always copy full actor handle in video-channels view 2020-03-05 23:49:12 +01:00
Rigel Kent 5ed19b4b8b
Remove accounts from hinted potential search targets 2020-03-05 22:00:40 +01:00
Chocobozzz 0840ca76a2
Add action hook, comments loaded (#2539)
* Adding action hook for video watch comments loaded

* Adding requested changes for PR #2539
2020-03-05 13:14:26 +01:00
Rigel Kent 52e3beb90d
Switch back to original text in privacy-concerns warning 2020-03-05 10:01:57 +01:00
Chocobozzz b0e769bbf6
Add ability to override search endpoint 2020-03-04 16:11:21 +01:00
BitTube 34102d19a1
Fixing load more comments on infinite scroll (#2535)
* Fixing load more comments on infinite scroll

* Requested changes for load more comments fix

* Removing extra space
2020-03-04 14:03:37 +01:00
Chocobozzz 340ce5c52f
Fix i18n generation 2020-02-28 14:09:18 +01:00
Chocobozzz 8ada87ac50
Fix lint 2020-02-28 13:54:31 +01:00
Rigel Kent d3217560a6
Add visitor settings, rework logged-in dropdown (#2514)
* Add visitor settings, rework logged-in dropdown

* Make user dropdown P2P switch functional

* Fix lint

* Fix unnecessary notification when user logs out

* Simplify visitor settings code and remove unnecessary icons

* Catch parsing errors and reindent menu styles
2020-02-28 13:52:21 +01:00
Chocobozzz 818c449b3c
Merge branch 'release/2.1.0' into develop 2020-02-26 15:26:02 +01:00
Chocobozzz c002261381
Correctly fix menu overflow on mobile 2020-02-26 15:25:09 +01:00
Rigel Kent 555fdc8c79
Provide z-index centralisation for lower components 2020-02-21 21:25:55 +01:00
Filip Bengtsson 97eae8382e
Mark additional strings as translatable (#2507) 2020-02-21 18:51:05 +01:00
Rigel Kent 14571f1995
Replace uppercase text-transform by capitalized text source
fixes #2085
2020-02-21 16:51:34 +01:00
Chocobozzz 4c1def5fd8
Merge branch 'release/2.1.0' into develop 2020-02-20 10:43:33 +01:00
Chocobozzz c06be12950
Fix scroll menu on touch devices 2020-02-20 10:43:07 +01:00
Rigel Kent 80adb0366f
Properly hide Watch Later when user logs out 2020-02-19 09:33:49 +01:00
Rigel Kent 71e75ef27e
Fix search parameter initialisation for search-typeahead 2020-02-18 14:33:07 +01:00
Chocobozzz 2ad9dcda24
Merge branch 'release/2.1.0' into develop 2020-02-17 15:34:42 +01:00
Chocobozzz 017fbe1855
Fix instance get config 2020-02-17 11:56:28 +01:00
Chocobozzz ec10e8ed5b
Fix playlist cache error 2020-02-17 11:47:47 +01:00
Chocobozzz 4c1c170934
Refactor email enabled function 2020-02-17 10:27:00 +01:00
John Livingston 45f1bd72a0
Creating a user with an empty password will send an email to let him set his password (#2479)
* Creating a user with an empty password will send an email to let him set his password

* Consideration of Chocobozzz's comments

* Tips for optional password

* API documentation

* Fix circular imports

* Tests
2020-02-17 10:16:52 +01:00
Rigel Kent c4be50cd94
Fix search instructions for videos 2020-02-13 17:12:02 +01:00
Rigel Kent 8a979d73c3
Simplify code for search-typeahead 2020-02-13 16:48:46 +01:00
Rigel Kent 9b8a7aa8ea
Improve search typeahead performance and use native events 2020-02-13 16:35:24 +01:00
Rigel Kent ece3029bd9
Media queries to use variables when possible 2020-02-13 16:34:16 +01:00
Rigel Kent 9677fca772
Make the search helper change based on the server config 2020-02-13 16:32:58 +01:00
Rigel Kent 52cc0d5485
Gracefully downsize search bar for mobile devices 2020-02-13 16:32:58 +01:00
Rigel Kent 6af662a596
Add keyboard navigation and hepler to typeahead 2020-02-13 16:32:21 +01:00
Rigel Kent f409f0c3b9
Search typeahead initial design 2020-02-13 16:32:21 +01:00
Rigel Kent 36f2981f7d
Manage z-indexes in variables 2020-02-13 15:09:36 +01:00
Chocobozzz 68ca61941e
Fix list overflow when refreshing the page 2020-02-13 10:41:43 +01:00
Chocobozzz 72ab1bc82d
Fix menu z-index on mobile on watch page 2020-02-13 10:28:42 +01:00
Rigel Kent 24e7916c68 Add ListOverflow component to prevent sub-menu overflow 2020-02-13 10:25:22 +01:00
Rigel Kent eb7c7a5179
Fix user dropdown menu with long texts
closes #2480
2020-02-12 16:58:03 +01:00
Chocobozzz 8cc56c7fdd
Only use basehref
Will allow us to use the localize option
2020-02-12 14:09:55 +01:00
Chocobozzz 5289137643
Remove resume parameter when sharing a video 2020-02-10 16:49:40 +01:00
Chocobozzz 3fa9efa0c7 Lint components 2020-02-10 16:39:28 +01:00
Chocobozzz 7811819b1a Use angular 9 clipboard cdk 2020-02-10 16:39:28 +01:00
Chocobozzz be27ef3b46 Strict templates enabled 2020-02-10 16:39:28 +01:00
Chocobozzz 361dcebc75 Support i18n build 2020-02-10 16:39:28 +01:00
Chocobozzz f77eb73b5e Fix angular 9 build 2020-02-10 16:39:28 +01:00
Chocobozzz 2f5d2ec5ea Update to angular 9 2020-02-10 16:39:28 +01:00
Chocobozzz 338eb9d33a
Merge branch 'release/2.1.0' into develop 2020-02-07 09:10:59 +01:00
Chocobozzz 99d362de0c
Support wma and wav audio files 2020-02-07 09:02:04 +01:00
Chocobozzz 0b1de58658
Fix i18n 2020-02-04 17:16:09 +01:00
Rigel Kent cbdbdae05e
Rephrase account/channel signup description 2020-02-03 18:14:31 +01:00
DontUseGithub 1bd4d4eb18 text rewording (2)
>  The channel name is a unique identifier of your channel on this and all the other instances.

this is true if we consider "cats@domain.com" as "a channel". If by "a channel" you only mean "cats" then the text needs to be changed to something like:

> The channel name is a unique identifier of your channel on this instance. Together with the domain name - it becomes unique across all instances.

In any case, English native speakers I'm open to suggestions on how to improve this :)
2020-02-03 16:09:44 +01:00
DontUseGithub ebd8ff6457 text rewording
>  The username is a unique identifier of your account on this and all the other instances.

this is true if we consider "john@domain.com" as "an account". If by "an account" you only mean "john" then the text needs to be changed to something like:

> The username is a unique identifier of your account on this instances. Together with the domain name - it becomes unique across all instances.

In any case, English native speakers I'm open to suggestions on how to improve this :)
2020-02-03 15:47:36 +01:00
Chocobozzz b42f9c400e
Use a resolver for the about page 2020-02-03 10:33:08 +01:00
Filip Bengtsson a2e0046cc9 Clearer description of the options
This is a more clear description of what the options will do.
2020-02-02 12:10:35 +01:00
Rigel Kent e40afb5bc4 Fix signup limit validator, and add warning message. 2020-01-31 08:56:20 +01:00
Chocobozzz 14aa85562c
Cleanup some client FIXME 2020-01-29 16:00:28 +01:00
Chocobozzz c910f667d2
Add origin instance URL in watch page 2020-01-29 13:59:40 +01:00
Chocobozzz b764380ac2 Add ability to list redundancies 2020-01-28 11:35:26 +01:00
Chocobozzz 44d4ee4fcb
Fix e2e tests 2020-01-23 14:59:44 +01:00
Chocobozzz fef213cae1
Fix is managaeble for channels 2020-01-22 15:01:38 +01:00
Chocobozzz 496b02e38f
Fix is managaeble error 2020-01-22 14:14:14 +01:00
Chocobozzz f0ad471007
Update a little bit user dropdown message 2020-01-21 14:05:22 +01:00
Chocobozzz 7c1f3e7366
Center search fields (my videos/playlists) 2020-01-21 13:58:33 +01:00
Rigel Kent 9b82d49da8 Add action dropdown descriptions 2020-01-21 11:59:41 +01:00
Chocobozzz 21e6dc811d
Cleanup login form 2020-01-21 11:03:46 +01:00
Chocobozzz 4ee6a8b13e
Fix admin config form for auto follow 2020-01-21 10:47:56 +01:00
Rigel Kent 7738273b80 Accessibility fixes for #2149 2020-01-21 10:08:10 +01:00
Rigel Kent aa0f19635a Add manage buttons for own channels and account, video counts (#2421)
* Add manage buttons for own channels and account, video counts

* Change manage button color and introduce secondary color
2020-01-21 09:35:23 +01:00
Rigel Kent 96a4a7c332
Add description for sensitive configuration options, reword others 2020-01-15 12:15:31 +01:00
Rigel Kent f8b65c22a9
Fix OnInit for subscribe button
Fixing regression introduced in a004ff1726
that initialized component for accounts with no channels before changing
the input a second time.
2020-01-14 10:58:42 +01:00
Rigel Kent 2ba5ac3354
Add link to video in update view and smooth progress bar repositioning 2020-01-13 22:14:04 +01:00
Rigel Kent a004ff1726
Add naive aggregation from channels to account display of subscribers 2020-01-10 16:23:55 +01:00
Rigel Kent 333952bc64
Reinstate routerLink property of upload button 2020-01-10 15:52:25 +01:00
Rigel Kent f24c8b142d
Fix missing service initializer property 2020-01-10 15:46:26 +01:00
Rigel Kent a6f01388c3
Reword/update PeerTube page about P2P & Privacy 2020-01-10 14:21:46 +01:00
Rigel Kent 000eb0e40d
Add informational message at login for visitors coming from upload button
resolves #1880
2020-01-10 14:01:23 +01:00
Chocobozzz ab4d4db44a
Avoid follow SQL conflicts 2020-01-10 13:34:20 +01:00
Chocobozzz db84cf89bc
Fix client build 2020-01-10 13:34:18 +01:00
Rigel Kent 2d0d88a0cb
Fix subscribe-button for logged-out users 2020-01-10 11:42:53 +01:00
Chocobozzz 62fca05de4
Fix default avatar URL 2020-01-10 10:30:39 +01:00
Rigel Kent 9270ccf6dc Make subscribe buttons observe subscription statuses to synchronise 2020-01-10 10:12:09 +01:00
Rigel Kent b061c8edb0 Add extra text to button when partially subscribed to all channels 2020-01-10 10:12:09 +01:00
Rigel Kent 41eb700fce Refactor my-subscribe-button to support full account subscription 2020-01-10 10:12:09 +01:00
Rigel Kent fc2df421a9
Better placement for help tooltip 2020-01-09 16:54:59 +01:00
Chocobozzz f44a284a3e
Fix playlist observable cache 2020-01-09 14:06:29 +01:00
Chocobozzz 240458d0c9
Remove ElementEvent 2020-01-09 09:30:08 +01:00
Chocobozzz 6b0c3c7ca9
Optimize list my playlists SQL query 2020-01-09 09:27:21 +01:00
Rigel Kent c511c3f010 Show default avatar on network error for comments 2020-01-09 09:25:32 +01:00
Chocobozzz fb770ff9e6
Remove useless translation 2020-01-09 08:51:24 +01:00
Rigel Kent ae689853d8
Display total of number of video comments via pagination
fixes #2391
2020-01-08 23:28:08 +01:00
Rigel Kent 5c7a411c45
Set a default background color for account avatar
fixes #2392
2020-01-08 22:57:46 +01:00
Chocobozzz f332ffa2a2
Generate translations 2020-01-08 20:00:52 +01:00
Chocobozzz e612209767
Try to fix subscriptions inconsistencies 2020-01-08 15:44:41 +01:00
Chocobozzz 440d39c52d
Skip videos count on client if we don't use it 2020-01-08 14:40:08 +01:00
Rigel Kent 8ba9c205ba Add option to download subtitles in download modal 2020-01-07 17:09:21 +01:00
Rigel Kent df8340b7b8 Add duration to video attributes in watch view 2020-01-07 14:47:50 +01:00
Rigel Kent 31174a272a
Improve miniature & buttons display in my-account-videos list 2020-01-07 13:19:42 +01:00
Rigel Kent 13adf228d0
Add button in subscriptions to go to subscriptions list 2020-01-07 12:12:43 +01:00
Chocobozzz 04cda1d7a5
Add warning if admin disables webtorrent 2020-01-06 17:10:02 +01:00
Chocobozzz 218b0874ed
Add get user cache for comments 2020-01-06 16:13:26 +01:00
Chocobozzz bc6f886347
Fix mark all as read notifications 2020-01-06 15:59:17 +01:00
Chocobozzz 93d54cc769
Align search field with checkboxes in playlist add 2020-01-06 15:14:25 +01:00
Rigel Kent 6a07a05861
Fix misplaced i18n tag in admin system config 2020-01-06 15:13:59 +01:00
Rigel Kent eb1c46e9a8
Enhance variable width column for id column in jobs list 2020-01-06 15:10:20 +01:00
Julien Maulny 4271212172
Enhance jobs list displaying on smaller screens 2020-01-06 15:10:19 +01:00
Chocobozzz 51b34a11b2
Share playlists state 2020-01-06 13:34:08 +01:00
Rigel Kent 46db9430af
Add checkbox focus shadows, and admin resolution descriptions 2020-01-06 12:41:14 +01:00
Chocobozzz a6051ba746
Fix build 2020-01-05 09:09:43 +01:00
Chocobozzz b7819090de
Move watch later logic in miniature 2020-01-03 15:01:17 +01:00
Chocobozzz c469c05b0f
Hide warning if p2p is disabled 2020-01-03 10:08:50 +01:00
Rigel Kent 3fbba1d28a
Display all miniature actions on hover and focus 2020-01-02 16:26:18 +01:00
Rigel Kent 29128b2f5c
Add miniature quick actions to add video to Watch later playlist 2020-01-02 14:50:14 +01:00
DontUseGithub 6066b91525 small grammar fix
small grammar fix
2019-12-30 11:44:59 +01:00
Chocobozzz 1f3a605e10
Fix support modal title 2019-12-30 10:40:10 +01:00
Rigel Kent 9d45db2919
Fix my-account{videos,video-playlists} loading mecanism 2019-12-29 02:10:17 +01:00
Rigel Kent c62a34d36b
Better spacing beetween comments 2019-12-28 12:41:04 +01:00
Rigel Kent 5b0413ddaa
Add author indicator to the comment replies loader 2019-12-28 11:48:53 +01:00
Rigel Kent bf64ed4196
Add search bars for a user's videos and playlist library 2019-12-28 01:10:26 +01:00
Rigel Kent 1053480b25
Slightly more personal support modal 2019-12-27 17:03:48 +01:00
Rigel Kent c1125bcadc
Add comment filtering by reply count 2019-12-27 17:02:44 +01:00
Chocobozzz 6f79be110d
Fix video support field update 2019-12-27 14:41:50 +01:00
Chocobozzz f27a885a43
Better error message in videos list 2019-12-27 13:10:50 +01:00
Chocobozzz 0a9131f961
Remove peertube version of footer 2019-12-27 12:35:42 +01:00
Rigel Kent 0240da5c32
(css) transparent buttons in watch page 2019-12-27 12:12:42 +01:00
Rigel Kent edf1a4e520 Add user moderation dropdown to comments 2019-12-27 10:11:10 +01:00
Rigel Kent c06af5012e
Add playlist search option and search input for add-to-video-playlist dropdown
fixes #2138
2019-12-26 11:52:52 +01:00
Rigel Kent 5def76ebba
Add autoplay tooltip, use of flex-wrap in video-info and other-videos 2019-12-21 09:25:02 +01:00
Rigel Kent 3921166d78
(css) vertical-center modals, bullet as separator 2019-12-20 21:15:28 +01:00
Rigel Kent 223b24e618
Fix upnext, refactor avatar menu, add to playlist overflow 2019-12-20 17:49:57 +01:00
Rigel Kent 1dc240a948
Add next video button to the player 2019-12-19 21:34:45 +01:00
Rigel Kent c5c09c1e50
fix deleted comment layout and its notification display 2019-12-19 18:08:21 +01:00
Rigel Kent 10475dea7d
improve notification popup interactivity: read all, layout, position
fixes #1730
2019-12-19 14:53:01 +01:00
Rigel Kent 96f6278f3e
respect video history on explicit playlist click
also correct font-weight for .title-page-single, and tooltip dynamic
text for playlist loop button.

fixes #1889
2019-12-18 23:39:11 +01:00
Rigel Kent 62ab565d1c
Add play/pause bezels to the video player 2019-12-18 20:20:11 +01:00
Chocobozzz 2a5518a667
Fix lint & tests 2019-12-18 16:47:54 +01:00
Chocobozzz ba430d7516
Lazy load static objects 2019-12-18 15:40:59 +01:00
Rigel Kent 5dfb7c1dec
Add commentor name alongside fid for video comments 2019-12-18 13:28:29 +01:00
Chocobozzz 3f9c4955af
Speedup embed first paint 2019-12-18 10:14:22 +01:00
Nassim Bounouas f88ee4a952 Feature/password reset link expiration (#2305)
* #1928 Add a sentence indicating the reset time limit on form and email

* #1928 Customizable password reset lifetime

* #1928 Add a route to verify reset link and call it on reset form init

* Revert "#1928 Customizable password reset lifetime"

This reverts commit 0ed97453f8.

* #1928 Reset password lifetime hardcoded to one hour

* Remove useless modifications for #1928
2019-12-18 09:59:00 +01:00
Rigel Kent ae05c99125
comment name emphasis for video author 2019-12-18 00:17:23 +01:00
Rigel Kent c8277d7139
(css) optimize .other-videos width 2019-12-17 22:42:19 +01:00
Rigel Kent ddefb8c9e5
(fix) upnext timeout set to 10s 2019-12-17 16:59:43 +01:00
Rigel Kent 3bcb4fd741
add 'up next' screen on autoplay 2019-12-17 16:49:33 +01:00
Chocobozzz 208c7e92e9
Fix support button style 2019-12-17 09:59:26 +01:00
Rigel Kent b29bf61dbd Provide native links for description timestamps, and re-clickability for these 2019-12-17 09:45:02 +01:00
Lesterpig d68ebf0b4a Add hyperlink video timestamps in description
Fix #1312 (duplicates: #1728 and #2007)
The modification is also applied to comments and video editing.
2019-12-17 09:45:02 +01:00
Rigel Kent a0dedc02ca
(consistency) channel nameWithHost copy button, comment avatar link 2019-12-16 22:13:07 +01:00
Rigel Kent 2de7f588eb
improve likes-dislikes bar usability 2019-12-16 00:13:31 +01:00
Rigel Kent 88adad2d0f
improve comment form: cancel button and full width 2019-12-15 22:44:31 +01:00
Rigel Kent dd4f25eea8
add channel avatar to watch view 2019-12-15 21:58:11 +01:00
Rigel Kent 44efbebac4
Show number of comments under a video in watch view
resolves #2338
2019-12-13 22:23:26 +01:00
Chocobozzz 3adf3196c5
Fix support icon 2019-12-13 10:35:55 +01:00
Chocobozzz dbdf2d51c6
Add peertube version in features table 2019-12-13 10:19:41 +01:00
Chocobozzz ee83ad12ca
Hide hardware information if empty 2019-12-13 09:50:53 +01:00
Chocobozzz 8adc5ddbc0
Update translations 2019-12-13 09:36:24 +01:00
Chocobozzz 7c93905d14
Fix theme loading 2019-12-13 09:33:06 +01:00
Rigel Kent 94dfca3e35 video description/account alignment, watch view basic tooltips 2019-12-13 09:13:43 +01:00
Rigel Kent 706c5a4743 change repeat icon and factorize functions 2019-12-13 09:13:43 +01:00
Rigel Kent 1ae3f52a16 search bar shadow on focus 2019-12-13 09:13:43 +01:00
Rigel Kent 88a7f93f8e add loop setting for playlists, and use sessionStorage 2019-12-13 09:13:43 +01:00
Rigel Kent 12f18b90ba make playlists ignore user history 2019-12-13 09:13:43 +01:00
Rigel Kent bee29df8a9 autoplay next video support for playlists 2019-12-13 09:13:43 +01:00
Rigel Kent d816f3a063 autoplay next video switch for both user and visitors 2019-12-13 09:13:43 +01:00
Chocobozzz 22a73cb879
Add internal privacy mode 2019-12-12 16:51:59 +01:00
Chocobozzz 566c125d6e
Serve audit logs to client 2019-12-11 14:14:01 +01:00
Chocobozzz fc641dedd6
Improve comment tree UI 2019-12-10 11:02:58 +01:00
Chocobozzz cd3d847d63
Add a warning when uploading videos using root 2019-12-10 10:02:23 +01:00
Chocobozzz 1aa7543403
Support basic markdown in comments 2019-12-09 11:21:39 +01:00
Rigel Kent 7fc441cc4e (css) improve video-watch title display on small screens 2019-12-09 10:23:16 +01:00
Rigel Kent 41f8f6207a miniature duration visibility and overlay background opacity 2019-12-09 09:16:08 +01:00
Chocobozzz 39aad8cc85
Don't seed on cellular networks 2019-12-06 17:25:15 +01:00
Chocobozzz 349be1eaa9
Fix enable history label 2019-12-06 14:08:16 +01:00
Chocobozzz 3131c13e02
Don't support images in account descriptions 2019-12-06 14:01:28 +01:00
Chocobozzz 7e049ea467
Handle HTML in account descriptions 2019-12-06 13:57:57 +01:00
Chocobozzz d8232bac6a
Add peertube applications links in about page 2019-12-06 11:40:35 +01:00
Chocobozzz 3d216ea0f7
Fix dropdown on video miniature for unlogged users 2019-12-06 11:07:30 +01:00
Chocobozzz 941c5eac17
Add missing hotkeys to the watch page 2019-12-06 10:05:49 +01:00
Chocobozzz 0912f1b4ca
Fix build 2019-12-06 08:45:51 +01:00
Chocobozzz c2023a9f02
Add ability to update icons content 2019-12-05 17:26:58 +01:00
Chocobozzz 3d9a63d3d8
Add hook to alter player build options 2019-12-05 17:06:18 +01:00
Chocobozzz 0d3a9be9f1
Add likes/dislikes counts in the buttons 2019-12-05 16:28:05 +01:00
Chocobozzz 03aff3c6f6
Fix build 2019-12-05 10:40:09 +01:00
Chocobozzz 3a1fed11c5
Support playlists in share modal 2019-12-05 10:05:00 +01:00
Chocobozzz 689a4f6946
Pause the video when a modal is opened 2019-12-05 09:21:09 +01:00
Rigel Kent 2526690866 search filtering improvements per #1654 2019-12-05 09:06:01 +01:00
Chocobozzz 1061c73fde
Add ability to filter per job type 2019-12-04 14:49:59 +01:00
Chocobozzz 44df5c755c
Skip channel search on empty search 2019-12-04 13:29:40 +01:00
Chocobozzz 66fd15160e
Clearer video quota label in user settings 2019-12-04 13:20:02 +01:00
Julien Maulny 69222afac8 Soft delete video comments instead of detroy 2019-12-04 09:36:45 +01:00
Chocobozzz 2fcc229497
Test a color for the support button 2019-12-03 20:10:27 +01:00
Chocobozzz 64ff48cb8d
Change the support icon 2019-12-03 18:54:49 +01:00
bikepunk 47594fd702 Excplicit the tag limit #1815 related 2019-12-03 13:40:22 +01:00
Chocobozzz eccf70f020
Fix private video download 2019-12-03 10:41:23 +01:00
Rigel Kent eb8f702c83 (plugins) add helper to know if user is logged-in 2019-12-02 09:19:34 +01:00
Chocobozzz 1689176a7b
Fix channel playlist miniatures overflow 2019-11-29 16:20:23 +01:00
Chocobozzz 43c66a91df
Add ability to disable P2P in HLS player too 2019-11-29 14:14:47 +01:00
Chocobozzz 20f1ec8d9d
Improve video languages user settings label 2019-11-29 14:06:03 +01:00
Chocobozzz cb5ce4cb13
Add more filters to admin follows table 2019-11-29 11:16:43 +01:00
Chocobozzz 97ecddae10
Filter on follows actor types in about page 2019-11-29 10:55:17 +01:00
Chocobozzz f5b72c3937
Fix brackets truncation in video description 2019-11-29 10:18:40 +01:00
Chocobozzz b8f4167fb6
Only display accepted followers/followings in about page 2019-11-28 11:37:32 +01:00
Chocobozzz d275e75453
Focus player on video loading 2019-11-28 11:08:04 +01:00
Chocobozzz 24e0d90069
Fix overflow in menu 2019-11-27 14:19:49 +01:00
Chocobozzz 2a53942d9e
Fix overflow when creating a channel 2019-11-27 10:41:08 +01:00
Chocobozzz 414131338d
Fix welcome modal when saving config 2019-11-27 10:29:29 +01:00
Chocobozzz 2fa9c40e20
Fix tests 2019-11-27 10:29:27 +01:00
Rigel Kent 2dbbf86086 (plugins) adding checkbox and textarea as possible input types, add links in form label 2019-11-25 11:19:45 +01:00
Rigel Kent ba7b7e572f (plugins) adding signup scope and init hook, modifying ensureUserRegistrationAllowed allowedParams 2019-11-25 11:16:12 +01:00
Chocobozzz efcd6f2e62
Fix fragmented download URL 2019-11-25 10:59:50 +01:00
frankdelange 5c7d650827
Add audio-only option to transcoders and player
This patch adds an audio-only option to PeerTube by means of a new transcoding configuration which creates mp4 files which only contain an audio stream. This new transcoder has a resolution of '0' and is presented in the preferences and in the player resolution menu as 'Audio-only' (localised). When playing such streams the player shows the file thumbnail as background and disables controls autohide.

Audio-only files can be shared and streamed just like any other file. They can be downloaded as well, the resulting file will be an mp4 container with a single audio stream.

This patch is a proof of concept to show the feasibility of 'true' audio-only support. There are better ways of doing this which also enable multiple audio streams for a given video stream (e.g. DASH) but as this would entail a fundamental change in the way PeerTube works it is a bridge too far for a simple proof of concept.
2019-11-25 10:59:47 +01:00
Chocobozzz 5a71acd254
Disable webtorrent support in client 2019-11-25 10:59:46 +01:00
Marco Zehe 14981d7331 Add missing button roles for the language chooser and keyboard shortcut menu items 2019-11-25 09:51:00 +01:00
Chocobozzz ee2b7df045
Try to improve notification i18n translations 2019-11-18 17:38:01 +01:00
Rigel Kent 5f85f8aa1c
Video-watch hooks modifications for videojs 2019-11-18 10:12:23 +01:00
Chocobozzz a42294c5ed
Merge branch 'weblate' into develop 2019-11-13 10:05:27 +01:00
Chocobozzz 350131cbaf
Make build works 2019-11-13 10:04:16 +01:00
Yorwba f88e73f740 Fix link for account creation on another instance 2019-11-13 08:58:17 +01:00
Chocobozzz f1d9b2d6bf
Fix start/stop of first element when loading a playlist 2019-11-06 09:14:18 +01:00
Chocobozzz 4ba8469c0e
Pull translations 2019-11-05 15:51:41 +01:00
Chocobozzz 5f697f3ddb
Add missing i18n tags 2019-11-05 15:19:04 +01:00
Chocobozzz 5d9e4eaabe
Add ability to enabled HLS in the admin panel 2019-11-05 10:13:37 +01:00
Chocobozzz f0876a2c35
Add mascot in peertube about page 2019-11-04 14:43:16 +01:00
Chocobozzz 4618b6867a
Update translations 2019-10-30 11:38:58 +01:00
Chocobozzz 2377a7f3ce
Add mascot to configure warning modal 2019-10-30 11:15:55 +01:00
Chocobozzz e81461950a
Increase 404 mascot size 2019-10-30 11:05:45 +01:00
Chocobozzz 006b83927b
Add mascot in welcome modal 2019-10-30 11:00:08 +01:00
Chocobozzz 767619f639
Add mascot to 404 page 2019-10-30 10:04:53 +01:00
Chocobozzz f003ef1b54
Don't redirect on verify account page after login 2019-10-28 08:47:17 +01:00
Chocobozzz 4586328858
Fix other videos width to avoid layout movement 2019-10-25 11:31:52 +02:00
Chocobozzz 9ea6541488
Add class to views elements 2019-10-25 11:12:15 +02:00
Chocobozzz a2ffd046d6
Speedup theme injection 2019-10-25 10:57:23 +02:00
Chocobozzz ce78f1f6f0
More robust new instance follower notification 2019-10-25 09:45:38 +02:00
Julien Maulny 0c695c5c96 Add a drag&drop delay on playlist videos to allow user scroll on small screens (#2154)
* Add delay on playlist element reordering to fix user scroll on mobile

Signed-off-by: Julien Maulny <julien.maulny@protonmail.com>

* Upgrade @angular/cdk to include bugfix about drag&drop

Signed-off-by: Julien Maulny <julien.maulny@protonmail.com>

* add delay on playlist drag&drop on all touch screens

Signed-off-by: Julien Maulny <julien.maulny@protonmail.com>
2019-10-23 18:12:22 +02:00
Filip Bengtsson 34398be429 Some language fixes (#2198)
* Fix preposition

* Fix French colon spacing

* Some grammar fixes

* Preposition fix

* Update signup-success.component.html

After suggestion from @frankstrater.
2019-10-23 14:39:09 +02:00
Julien Maulny e805020896 Allow to toggle video publication date to display absolute date 2019-10-23 10:47:34 +02:00
Chocobozzz 18c9772876
Fix checkbox themes 2019-10-22 11:14:58 +02:00
Chocobozzz 1cd4fe501d
Fix i18n generation script 2019-10-22 10:30:09 +02:00
Chocobozzz e771dbe0aa
Update translations 2019-10-22 09:25:26 +02:00
Chocobozzz baeb429d06
Fix search with account video languages 2019-10-21 13:31:58 +02:00
Autom 4386e66e55 Fix typo
Fixing a typo in the statistics section of the /about/instance/ page.
2019-10-21 08:55:12 +02:00
Knackie b37a508283 Update user-edit.component.html
fixes #1943
2019-10-19 12:46:10 +02:00
Julien Maulny 3d05209c9a Add statistics section in about page 2019-10-18 15:13:30 +02:00
Julien Maulny 235b055dc5 Allow to choose 'Most liked videos' page as default client route 2019-10-18 14:04:10 +02:00
Julien Maulny c07eb94653 Add 'Most liked videos' page 2019-10-18 14:04:10 +02:00
Frank Sträter 405ec98b91 Change button with onclick to link with href 2019-10-18 10:30:28 +02:00
Chocobozzz 85c1df6ae8
Add auto play next video migration 2019-09-24 10:35:36 +02:00
LoveIsGrief 6aa5414813 Autoplay next recommended video (#2137)
* Start working on autoplay of next video

* Ignore changes made by gitpod

* Apply changes from PR#1370

* Correct the spelling of recommendations

* Fix linting errors

* Move boolean check to existing onEnded handler

* Pick a random video until the recommendations are improved

* Add simple tests for autoPlayNextVideo

* Fix lint

...again
2019-09-24 08:48:01 +02:00
Lukas Winkler 32d7f2b754 fix a few typos (#2141)
* fix a few typos

* apply changes to original files instead

* additional correction
2019-09-23 08:17:42 +02:00
Chocobozzz 2e0fdd27e0
Add missing translation tags 2019-09-18 15:52:54 +02:00
Chocobozzz 8d5e65349d
Merge branch 'release/1.4.0' into develop 2019-09-06 09:47:55 +02:00
Chocobozzz 606793b917
Fix menu x overflow 2019-09-06 09:47:33 +02:00
Chocobozzz 1eb23e12f7
Add contributors in about peertube page 2019-09-05 15:40:09 +02:00
Chocobozzz 5819e694ba
Better video publishing notification 2019-09-05 10:30:51 +02:00
Chocobozzz b3879928b6
Clearer debug IP message 2019-09-05 10:23:12 +02:00
Chocobozzz 43d35494b5
Fix old auto blacklist notifications 2019-09-05 10:20:14 +02:00
Chocobozzz 00aab0666c
Merge branch 'release/1.4.0' into develop 2019-09-05 10:19:35 +02:00
Chocobozzz be04c6fdab Add hardware information in instance config 2019-09-05 10:17:02 +02:00
Chocobozzz 592c735c19 Better welcome modal 2019-09-05 10:17:02 +02:00
Chocobozzz 8ae03c3718 Add creation reason 2019-09-05 10:17:02 +02:00
Chocobozzz 589d9f55f6 Add config instance warning modal 2019-09-05 10:17:02 +02:00
Chocobozzz 43d0ea7f4b Add welcome modal 2019-09-05 10:17:02 +02:00
Chocobozzz bc20aaed46 Fix register checkbox 2019-09-05 10:17:02 +02:00
Chocobozzz 9fe1bc6855 Use badges for instance languages/categories 2019-09-05 10:17:02 +02:00
Chocobozzz 421d935d25 Add about information in registration page 2019-09-05 10:17:02 +02:00
Chocobozzz 4402b54dce Add categories and languages to about page 2019-09-05 10:17:02 +02:00
Chocobozzz a00045a218 Improve features table 2019-09-05 10:17:02 +02:00
Chocobozzz ccc00cb2aa Add more attributes to about page 2019-09-05 10:17:02 +02:00
Chocobozzz e1b49ee534 Implement auto follow in client 2019-09-04 16:24:58 +02:00
Chocobozzz 8424c4026a Add auto follow back support for instances 2019-09-04 16:24:58 +02:00
Chocobozzz 5eb9bde8aa
Rename signup steps 2019-09-04 15:08:56 +02:00
Chocobozzz dedc7abb7b
Fix auto blacklist view 2019-09-04 15:03:50 +02:00
Chocobozzz 60c2bc80b8
Go back when cancel NSFW modal
Instead of redirecting on the homepage
2019-08-22 17:14:44 +02:00
Chocobozzz 4334445d04
Dismiss modals on pop state 2019-08-22 16:13:26 +02:00