Commit Graph

2697 Commits (314a0a9628feed8c0fe7b67d5d05f7fcd8d6b887)

Author SHA1 Message Date
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
Waazdakka e9b8b63c85 Translated using Weblate (French (France))
Currently translated at 99.9% (1531 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-08-20 11:06:43 +02:00
Chocobozzz a9f6802e7d
Fix user video languages settings 2020-08-20 11:05:45 +02:00
Guillaume Pérution-Kihli ad22e87c27 Translated using Weblate (French (France))
Currently translated at 98.8% (1515 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-08-19 17:28:38 +02:00
Chocobozzz ebc8dd52ca
Correctly fix autoplay with webtorrent 2020-08-19 16:27:44 +02:00
Waazdakka c0639ba04d Translated using Weblate (French (France))
Currently translated at 97.1% (1488 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-08-19 16:19:33 +02:00
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
Jeff Huang 668f9620fe Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (99 of 99 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/zh_Hant/
2020-08-19 11:30:29 +02:00
Jeff Huang 06df541204 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (242 of 242 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/zh_Hant/
2020-08-19 11:30:28 +02:00
Kemal Oktay Aktoğan 21d852a73e Translated using Weblate (Turkish)
Currently translated at 100.0% (98 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/tr/
2020-08-19 11:30:28 +02:00
Kemal Oktay Aktoğan 004304f791 Translated using Weblate (Turkish)
Currently translated at 100.0% (234 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/tr/
2020-08-19 11:30:28 +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
Kemal Oktay Aktoğan 777db82ee6 Translated using Weblate (Turkish)
Currently translated at 49.5% (116 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/tr/
2020-08-18 09:54:31 +02:00
Kemal Oktay Aktoğan 57f1ba762f Translated using Weblate (Turkish)
Currently translated at 4.7% (73 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/tr/
2020-08-18 09:54:31 +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
Jeff Huang ee2c7f4225 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (99 of 99 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/zh_Hant/
2020-08-17 10:18:00 +02:00
Jeff Huang 2190b96f25 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (242 of 242 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/zh_Hant/
2020-08-17 10:18:00 +02:00
Jeff Huang 0ca1ef62a2 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1532 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-08-17 10:18:00 +02:00
Jeff Huang a6bcdd173f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1532 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-08-17 10:18:00 +02:00
Filip Bengtsson 0c8885bafe Translated using Weblate (Swedish)
Currently translated at 100.0% (99 of 99 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/sv/
2020-08-17 10:18:00 +02:00
Antimidia 9c08ff81db 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:18:00 +02:00
Berto Te d668e02716 Translated using Weblate (Spanish)
Currently translated at 100.0% (99 of 99 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/es/
2020-08-17 10:17:59 +02:00
Filip Bengtsson fddab2b666 Translated using Weblate (Swedish)
Currently translated at 100.0% (242 of 242 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/sv/
2020-08-17 10:17:59 +02:00
Filip Bengtsson b62e1a22a9 Translated using Weblate (Swedish)
Currently translated at 88.4% (1355 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-08-17 10:17:59 +02:00
Antimidia c2f34620d6 Translated using Weblate (Portuguese (Brazil))
Currently translated at 66.7% (1022 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 f2c6ebc61b Translated using Weblate (Spanish)
Currently translated at 100.0% (1532 of 1532 strings)

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

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/es/
2020-08-17 10:17:59 +02:00
Jeff Huang a7415e3f04 Translated using Weblate (Chinese (Traditional))
Currently translated at 97.3% (1491 of 1532 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-08-17 10:17:59 +02:00
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 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 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