Commit Graph

2991 Commits (8df2d7c2a981b07ed868cdd5c2b3e6f1b53918fe)

Author SHA1 Message Date
Rafael Fontenelle b8c197e082 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (99 of 99 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/pt_BR/
2020-08-17 10:17:59 +02:00
Rafael Fontenelle 85e0e0e66b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (242 of 242 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/pt_BR/
2020-08-17 10:17:59 +02:00
Rafael Fontenelle 32954ba4b2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 65.0% (996 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pt_BR/
2020-08-17 10:17:59 +02:00
Berto Te 4105017090 Translated using Weblate (Spanish)
Currently translated at 92.4% (1416 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-08-17 10:17:59 +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 aea53cc649
Fix incorrect resolution with webtorrent videos 2020-08-14 17:45:00 +02:00
Chocobozzz 496d784d05 Fix invalid refresh token in embed 2020-08-14 17:31:34 +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 e548a7c9b0 Remove unused markdown-it-emoji types dependency 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 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