Commit Graph

2902 Commits

Author SHA1 Message Date
Chocobozzz 9eccae74c8
Try to fix autoplay with ios/safari
* Disable autoplay on first load because we have weird issues (player
 starts to play and stop so we loose the big play button). We also don't
 want to autoplay muted videos (bad UX IMHO and we don't have ads to
 display)
 * Enable autoplay when we already played a video (fixes the issue with
 playlists)
2020-08-19 16:17:39 +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 1a95f0b962
Update translations 2020-08-17 10:34:58 +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 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