Commit Graph

2965 Commits (b2c76204f9d2900b9fd58e6618e343059821d601)

Author SHA1 Message Date
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 5a6de09313
Update locales with the new localization system 2020-08-14 10:34:16 +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 8c36074799
Update build steps for localization 2020-08-14 09:34:07 +02:00
Chocobozzz ef78fdbb2e
Update player and server translations 2020-08-14 09:32:20 +02:00
Chocobozzz 6f0db095f8
Regenerate translations 2020-08-14 09:20:27 +02:00
Chocobozzz fe9cc7183f
Remove useless i18n tags 2020-08-14 09:19:30 +02:00
Chocobozzz 954511f3ff
Update translations 2020-08-14 09:17:41 +02:00
Filip Bengtsson cce8f1dccc Translated using Weblate (Swedish)
Currently translated at 95.5% (1426 of 1492 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-08-12 09:17:00 +02:00
Berto Te 05ea02b581 Translated using Weblate (Spanish)
Currently translated at 100.0% (1492 of 1492 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-08-12 09:17:00 +02:00
Laurent Ettouati 108e3d138f Translated using Weblate (French (France))
Currently translated at 99.9% (1491 of 1492 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-08-12 09:16:59 +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 e752c75e55 Fix expanded margin content css var unapplied 2020-08-11 08:03:47 +02:00
kimsible 7034b3c908 Refactor - improve offset content handling with fixed sub-menu and broadcast-message 2020-08-11 08:03:28 +02:00
Chocobozzz 560605026b
Remove smooth scroll behaviour
It's not adapted to a SPA because the scroll is updated when we change page
2020-08-10 16:00:21 +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
Chocobozzz 207612dff8 Continue without token on error in embed 2020-08-10 15:15:48 +02:00
kimsible 41fafa9ef9 Do not display videojs poster when video is starting 2020-08-10 13:46:04 +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
kimsible 17384fd856 Avoid lost scroll position when modal open 2020-08-10 08:18:54 +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 61c299eb24
Add ipad e2e test 2020-08-07 14:20:38 +02:00
Chocobozzz d5cefc1fa5
Merge branch 'feature/e2e' into develop 2020-08-07 14:01:11 +02:00
Chocobozzz 3efa3f4d35
Fix play overlay icon 2020-08-07 13:46:58 +02:00
Chocobozzz 951b582f52
Add ability to share playlists in modal 2020-08-07 13:43:48 +02:00
Chocobozzz 4891e4c77b
Regenerate translations 2020-08-07 11:48:00 +02:00
Chocobozzz 956f0a814c
Merge remote-tracking branch 'weblate/develop' into develop 2020-08-07 11:45:06 +02:00
Chocobozzz 189ab8deb3
Add ability to disable peertube button link in embed 2020-08-07 11:42:53 +02:00
Tzafrir Cohen 32f6fdd49d Translated using Weblate (Hebrew)
Currently translated at 13.2% (13 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/he/
2020-08-07 11:35:06 +02:00
Tzafrir Cohen 967884dff9 Added translation using Weblate (Hebrew) 2020-08-07 11:35:06 +02:00
Rigel Kent 0ec02c3ff7 Translated using Weblate (French (France))
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-08-07 11:35:06 +02:00
Yury Bulka 545c90d94d Translated using Weblate (Ukrainian)
Currently translated at 12.9% (186 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2020-08-07 11:35:06 +02:00
Chocobozzz 193b9ba7c0
Fix loading bar color 2020-08-07 11:34:22 +02:00
Chocobozzz 7f90579c04
Add playlist embed E2E test 2020-08-07 11:12:59 +02:00
Chocobozzz 5ab7fd9da9
Save 2020-08-07 09:14:25 +02:00
Chocobozzz be59656c82
Correctly error network errors in embed 2020-08-07 09:13:32 +02:00
Chocobozzz 92d54714b9 Fix control bar on small screens 2020-08-07 08:58:29 +02:00
Chocobozzz 4485dafb0e Fix playlist menu overflow 2020-08-07 08:58:29 +02:00
Chocobozzz 6fad8e51c4 Handle playlist oembed 2020-08-07 08:58:29 +02:00
Chocobozzz a75292db78 Align dock padding with playlist button 2020-08-07 08:58:29 +02:00
Chocobozzz 9054a8b6e5 Handle playlist methods in embed api 2020-08-07 08:58:29 +02:00
Chocobozzz 2a71d286ce Handle playlist position in URL 2020-08-07 08:58:29 +02:00
Chocobozzz fb13852d30 Load all playlist elements 2020-08-07 08:58:29 +02:00
Chocobozzz 1a8c2d74d1 Handle start at/stop at in playlist embed 2020-08-07 08:58:29 +02:00
Chocobozzz 56674bb9f8 Handle unavailable videos in embed playlists 2020-08-07 08:58:29 +02:00
Chocobozzz a950e4c82b Add previous button 2020-08-07 08:58:29 +02:00
Chocobozzz 4572c3d0d9 Handle basic playlist in embed 2020-08-07 08:58:29 +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 d88c9eb9db Remove angular build warning 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 a3b5e78af3 Analyze embed too with bundlewatch 2020-08-06 10:58:36 +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 b12ce2b851
Fix isIOS function 2020-08-03 16:07:22 +02:00
Chocobozzz dca0fe12ec
Fix resolution for portrait videos 2020-08-03 16:03:52 +02:00
Chocobozzz 2045b57223
Fix about page layout with fixed submenu 2020-08-03 11:49:24 +02:00
Chocobozzz 7a09c3007a
Fix player hotkeys part 2 2020-08-03 08:56:32 +02:00
Chocobozzz e85bfe96fd
Fixes video hotkey part 1
A patch has to be merged in videojs hotkey plugin too
2020-07-31 17:11:28 +02:00
Chocobozzz 08d9ba0f85
Add ability to disable peertube link in embed 2020-07-31 17:03:57 +02:00
Chocobozzz 7c87bce471
Fix anonymous user theme 2020-07-31 16:55:32 +02:00
Chocobozzz b6a8cfc571
Detect ipad desktop as ios too 2020-07-31 16:08:52 +02:00
Chocobozzz d45f3641d0
Fix fullscreen on ios 2020-07-31 15:54:52 +02:00
chocobozzz 3991fcf29f Translated using Weblate (Spanish)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-07-31 15:22:50 +02:00
chocobozzz 144a8695f5 Translated using Weblate (Spanish)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-07-31 15:18:38 +02:00
chocobozzz 23b2a81df0 Translated using Weblate (Spanish)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-07-31 15:08:29 +02:00
Yury Bulka feb27e46bb Translated using Weblate (Ukrainian)
Currently translated at 11.6% (168 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2020-07-31 13:50:34 +02:00
Yury Bulka a79bb6c23d Translated using Weblate (Ukrainian)
Currently translated at 11.0% (158 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2020-07-31 13:50:34 +02:00
Yury Bulka 7c9375a733 Translated using Weblate (Ukrainian)
Currently translated at 8.4% (121 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2020-07-31 13:50:34 +02:00
Quentin PAGÈS 801bddba17 Translated using Weblate (Occitan)
Currently translated at 72.4% (1041 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/oc/
2020-07-31 13:50:34 +02:00
Laurent Ettouati 7e0d27071d Translated using Weblate (French (France))
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-07-31 13:50:34 +02:00
Александр aa9ed19873 Translated using Weblate (Russian)
Currently translated at 69.7% (1002 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2020-07-31 13:50:34 +02:00
Filip Bengtsson 7b1fb44064 Translated using Weblate (Swedish)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-07-31 13:50:34 +02:00
Rigel Kent cf8ecab5ce Translated using Weblate (French (France))
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-07-31 13:50:34 +02:00
Laurent Ettouati 79f5d43949 Translated using Weblate (French (France))
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-07-31 13:50:34 +02:00
Tirifto ca7988d822 Translated using Weblate (Esperanto)
Currently translated at 99.0% (1422 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2020-07-31 13:50:34 +02:00
Tirifto 59ef87e786 Translated using Weblate (Esperanto)
Currently translated at 98.5% (1415 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2020-07-31 13:50:34 +02:00
Filip Bengtsson b86d6cb396 Translated using Weblate (Swedish)
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-07-31 13:50:34 +02:00
Laurent Ettouati 0e8800d6af Translated using Weblate (French (France))
Currently translated at 100.0% (1436 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-07-31 13:50:34 +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 e13d7ae45c
fix position for sub-menus with actor
fixes ed5bb51726
2020-07-23 21:32:28 +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
kimsible 8110705d02 Fix: disable vertical scroll instead of hide on desktop browsers 2020-07-23 14:32:04 +02:00
Chocobozzz 2291a412d2
Merge branch 'release/2.3.0' into develop 2020-07-21 11:16:28 +02:00
Chocobozzz 97aaeadad5
Bumped to version v2.3.0 2020-07-21 10:03:58 +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 69a019968e
Fallback to built in HLS if possible 2020-07-20 10:13:56 +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
chocobozzz a42a3d34a1 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.1% (1424 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-07-10 10:36:44 +02:00
chocobozzz b13186e3a7 Translated using Weblate (Russian)
Currently translated at 69.2% (994 of 1436 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2020-07-10 10:30:15 +02:00