Commit Graph

3455 Commits (2e4b8ae4858616572deec6ebdaa38f20ae96be7a)

Author SHA1 Message Date
Kimsible 51a8397006
User dropdown and notifications popover improvements (#3344)
* hove user dropdown on avatar and username
* rename avatar-notification to notification component
* use a link on mobile for notification component
* add profile user dropdown and mobile notifications link as reusable active link
* replace markAllAsRead inbox glyphicon to ok in notification popover
* remove keyboard shortcuts from user dropdown on mobile
* use common bell icon instead of inbox-full for notifications
* remove duplicated notification in user dropdown since the bell appears on the right
* adjust sensitive icon in user dropdown
* align vertically user buttons popover and dropdown
* adjust ellipsis on user display name and username in menu
* adjust notification bell for mobile in menu
* display background of user dropdown avatar and username for touchscreens
* add right arrow indicator on mobile

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-13 14:54:12 +01:00
kontrollanten e134eb03cb admin config: fix typo
https://www.grammarly.com/blog/know-your-latin-i-e-vs-e-g/
2020-12-11 10:38:15 +01:00
Chocobozzz 19b163d045
Fix comments count 2020-12-10 10:22:27 +01:00
Chocobozzz dc1f314efd
Fix socket io with angular 2020-12-10 10:20:04 +01:00
Chocobozzz e43b5a3fa8
Improve live player responsive 2020-12-10 09:37:53 +01:00
Chocobozzz a800dbf345
Live views update 2020-12-09 16:31:42 +01:00
Chocobozzz 5cac83a78d
Refactor views component 2020-12-09 15:33:16 +01:00
Rigel Kent e0fea785bf
add previous button to registration form, with alignment 2020-12-09 13:20:58 +01:00
Rigel Kent 23cd3129a9
fix tabindex on login page 2020-12-09 13:01:00 +01:00
Rigel Kent f2eb23cd87
emit more specific status codes on video upload (#3423)
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +01:00
Chocobozzz 6c53d8bf1d
Fix loading data twice in rest tables 2020-12-08 11:56:31 +01:00
Chocobozzz e46c70d858
Fix ; 2020-12-07 17:03:22 +01:00
Chocobozzz 6a882bc400
Relax webtorrent file check 2020-12-07 16:53:11 +01:00
kontrollanten 77002f5291 wt-plugin: tighten sanity check 2020-12-07 16:52:35 +01:00
kontrollanten a325db1776 Revert "refactor(wt-plugin): create getVideoFile fn"
This reverts commit 9110f52c4f.
2020-12-07 16:52:35 +01:00
kontrollanten 8426a71144 Revert "refactor(wt-plugin): tighten TS definitions"
This reverts commit cdca521e15.
2020-12-07 16:52:35 +01:00
kontrollanten d94ca8d0b7 refactor(wt-plugin): tighten TS definitions 2020-12-07 16:52:35 +01:00
kontrollanten 46d992d208 refactor(wt-plugin): create getVideoFile fn 2020-12-07 16:52:35 +01:00
kontrollanten a5a69fc727 wt-plugin: clearify err msg 2020-12-07 16:52:35 +01:00
Kimsible 40360c17d8
improvements to login and sign-up pages (#3357)
* New login form ui
* Move InstanceAboutAccordion to shared components
* Update closed registration alert text
* Add alert for opened registration and move them bellow login form
* Adjust flex block on signup and login views
* Replace toggle accordion with expand on links in signup and login + scrollTo
* Improve display of login alerts
* Fix missing Component suffix
* Define min-width instance-information block sign-up and login for mobile screens
* Add ability to select specific panels in instanceAboutAccorddion
* Add instance title and short-description to common instanceAboutAccordion
* Clarify title alert in login page
* Add step terms for signup

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-07 16:34:07 +01:00
Chocobozzz 10f26f4203
Fix viewers for lives 2020-12-07 16:07:52 +01:00
Chocobozzz 17b7d4b315
Don't allow manual redundancy of live videos 2020-12-07 16:07:52 +01:00
Chocobozzz 8e0a2f2a05
Use new primeng i18n api 2020-12-07 16:07:00 +01:00
kontrollanten adc1f09c0d hls-plugin: destroy hls upon third err
According to hls.js docs `hls.destroy()` should be called
https://github.com/video-dev/hls.js/blob/master/docs/API.md#final-step-destroying-switching-between-streams
2020-12-07 08:59:08 +01:00
Chocobozzz 95bd9515b8
Update translations 2020-12-04 16:51:11 +01:00
Adrià Martín a247e9458d Translated using Weblate (Catalan)
Currently translated at 27.8% (473 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ca/
2020-12-04 16:41:55 +01:00
Adrià Martín e333b5b257 Translated using Weblate (Catalan)
Currently translated at 26.6% (452 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ca/
2020-12-04 16:41:55 +01:00
Adrià Martín 230fad3062 Translated using Weblate (Catalan)
Currently translated at 26.1% (444 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ca/
2020-12-04 16:41:55 +01:00
Ivan Ip 1129f22221 Added translation using Weblate (Chinese (Traditional, Hong Kong)) 2020-12-04 16:41:55 +01:00
Jeff Huang b4849d9faa Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1697 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-12-04 16:41:55 +01:00
kontrollanten e5918b5910 Translated using Weblate (Swedish)
Currently translated at 94.1% (1598 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-12-04 16:41:55 +01:00
kontrollanten 4f5961d60b Translated using Weblate (Swedish)
Currently translated at 93.4% (1585 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-12-04 16:41:55 +01:00
Alexander Ivanov ee2267d453 Translated using Weblate (Russian)
Currently translated at 94.0% (1596 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2020-12-04 16:41:55 +01:00
Mark Van den Borre cf93b6be52 Translated using Weblate (Dutch)
Currently translated at 99.5% (1689 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2020-12-04 16:41:55 +01:00
Rigel Kent dcee01f862 Translated using Weblate (French (France))
Currently translated at 99.2% (1684 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-12-04 16:41:55 +01:00
x 916cab6b63 Translated using Weblate (Italian)
Currently translated at 99.9% (1696 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/it/
2020-12-04 16:41:55 +01:00
Ajeje Brazorf 6b52fce12f Translated using Weblate (Sardinian)
Currently translated at 3.3% (56 of 1668 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sc/
2020-12-04 16:41:55 +01:00
Porrumentzio 598ec5f8a5 Translated using Weblate (Basque)
Currently translated at 100.0% (101 of 101 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/eu/
2020-12-04 16:41:55 +01:00
Porrumentzio 18433ca83f Translated using Weblate (Basque)
Currently translated at 100.0% (246 of 246 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/eu/
2020-12-04 16:41:55 +01:00
qwerty ffaa00ff0f Translated using Weblate (Italian)
Currently translated at 99.1% (1682 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/it/
2020-12-04 16:41:55 +01:00
josé m 0debd613e3 Translated using Weblate (Galician)
Currently translated at 100.0% (1697 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2020-12-04 16:41:55 +01:00
Porrumentzio 19bd54c1c9 Translated using Weblate (Basque)
Currently translated at 51.3% (872 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2020-12-04 16:41:55 +01:00
Berto Te 2477aa9087 Translated using Weblate (Spanish)
Currently translated at 100.0% (1697 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-12-04 16:41:55 +01:00
Arco 7b6983c1ef Translated using Weblate (German)
Currently translated at 90.8% (1542 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2020-12-04 16:41:55 +01:00
Arco 2f6195e888 Translated using Weblate (French (France))
Currently translated at 99.1% (1683 of 1697 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-12-04 16:41:55 +01:00
Chocobozzz 5f8327c507
Update i18n with new player keys 2020-12-04 16:37:21 +01:00
Florian CUNY 171528373e
add 'total downloaded' stats from server and peers in player (#3394)
Implements https://github.com/Chocobozzz/PeerTube/issues/3384
This will only work with HLS. The display for Webtorrent is left untouched.

Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-12-04 16:30:01 +01:00
Rigel Kent f8b530e0a5
unify inputs requiring buttons like password inputs 2020-12-04 16:01:53 +01:00
Chocobozzz e772bdf14c
Load video in permanent live after last one ended 2020-12-04 15:38:32 +01:00
Chocobozzz 312644ce3a
Add badge for permanent live in live info modal 2020-12-04 09:24:14 +01:00
Chocobozzz b2dd58a808
Fix login guard to videos from subscriptions 2020-12-03 15:21:16 +01:00
Chocobozzz bb4ba6d94c
Add permanent live support 2020-12-03 15:21:16 +01:00
Rigel Kent 19b7ebfaa8
refactor 404 page 2020-12-03 14:55:47 +01:00
Chocobozzz 5bfc33b6f1
Fix lint 2020-12-03 10:39:43 +01:00
Rigel Kent d4132d3f56 more explicit error messages for file uploads 2020-12-03 10:15:49 +01:00
kontrollanten 09c55770bc register: hide channel step if upload quota is 0
fix #782
2020-12-03 09:54:41 +01:00
Chocobozzz 543e187262
Fix duplicate ids in admin config form 2020-12-01 15:11:23 +01:00
Chocobozzz 15feebd97a
Fix socket io messages angular changes 2020-12-01 15:04:38 +01:00
Chocobozzz a7299d9d85
Fix 401 error in embeds 2020-12-01 15:04:38 +01:00
Florian CUNY a3f1595f79
Select first available channel when accepting ownership change (#3382)
* Select first available channel when accepting ownership change

Implements https://github.com/Chocobozzz/PeerTube/issues/2240

* Made use of #patchValue() to set the default selected value

And removed the disabled state for the Accept button
2020-12-01 15:04:29 +01:00
Mathieu Brunot a742b4b0e2
Fix themes colors by using SCSS variables (#3376)
* 💄 Use foreground var for code

* 💄 Use submenu var color

* 💄 Use foreground var color for menu

* 🐛 Fix var used in menu
2020-11-30 16:45:22 +01:00
Chocobozzz 617f4f5cb2
Fix scroll check in infinite scroller directive 2020-11-30 16:33:48 +01:00
Florian CUNY f45c7cc770
Added Markdown formatting in all the fields of the "About" page (#3371)
* Added Markdown formatting in all the fields of the "About" page

Fixes https://github.com/Chocobozzz/PeerTube/issues/3368

* Fixed compilation error in AboutInstanceComponent

Moved creationReason, maintenanceLifetime and businessModel into the html dict

* Removed textareaHeight for all md textareas in EditCustomConfig HTML

* Fixed failing bundlewatch
2020-11-30 15:05:57 +01:00
madmath03 972de8f111 Add input-password #3375 2020-11-30 14:49:44 +01:00
Chocobozzz 6b88559bab
Fix local e2e tests 2020-11-30 09:11:12 +01:00
Chocobozzz adf7a7ccb9
Fix weblate conflicts 2020-11-27 16:20:05 +01:00
Chocobozzz 26300126f9
Merge remote-tracking branch 'weblate/develop' into develop 2020-11-27 16:18:50 +01:00
Jeff Huang f64615efa6 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1694 of 1694 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-11-27 16:13:46 +01:00
Mark Van den Borre 35ae874da4 Translated using Weblate (Dutch)
Currently translated at 99.5% (1687 of 1694 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2020-11-27 16:13:46 +01:00
josé m fec50a715e Translated using Weblate (Galician)
Currently translated at 100.0% (1694 of 1694 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2020-11-27 16:13:46 +01:00
Berto Te f3540ba4a6 Translated using Weblate (Spanish)
Currently translated at 100.0% (1694 of 1694 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-11-27 16:13:45 +01:00
Cedric F 3cd963da03 Translated using Weblate (French (France))
Currently translated at 99.3% (1683 of 1694 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-11-27 16:13:45 +01:00
Chocobozzz e6ccdce2ea
Update translations 2020-11-27 16:13:24 +01:00
Chocobozzz 4ec25ae825
Refactor last PR 2020-11-27 15:57:38 +01:00
Chocobozzz 68f6c87a27
Various front optimizations 2020-11-27 15:46:49 +01:00
Tanguy BERNARD 992f498e31
add title attribute for exact view counters (#3365) 2020-11-27 14:27:14 +01:00
Chocobozzz e6ad431685
Fix notification width 2020-11-27 11:52:18 +01:00
Chocobozzz e2c1f77957
Profile settings title consistency 2020-11-26 16:39:43 +01:00
Chocobozzz 7fd03a2c8f
Create a dedicated transcoding tab in admin config 2020-11-26 15:09:57 +01:00
Chocobozzz 0151c41c65
Do not display wait transcoding checkbox
If this is a live and save replay is not enabled
2020-11-26 11:30:18 +01:00
Chocobozzz ae48a71d57
Remove unused i18n build 2020-11-26 11:30:18 +01:00
Chocobozzz ffeb3bf40d
Merge remote-tracking branch 'weblate/develop' into develop 2020-11-25 17:22:36 +01:00
x 95a1653999 Translated using Weblate (Italian)
Currently translated at 100.0% (1670 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/it/
2020-11-25 17:18:57 +01:00
x fc19391eb7 Translated using Weblate (Italian)
Currently translated at 97.5% (1629 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/it/
2020-11-25 16:55:21 +01:00
Chocobozzz c5ce27f864
Regen translations 2020-11-25 16:54:59 +01:00
Chocobozzz 2b199db4fc
Merge remote-tracking branch 'weblate/develop' into develop 2020-11-25 16:52:11 +01:00
Chocobozzz 2245e3df8c
Update scripts to update translations 2020-11-25 16:52:02 +01:00
josé m e529a80314 Translated using Weblate (Galician)
Currently translated at 100.0% (1670 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2020-11-25 15:57:16 +01:00
Porrumentzio eee505b47f Translated using Weblate (Basque)
Currently translated at 46.0% (769 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2020-11-25 15:57:16 +01:00
Ch 74b23a53bd Translated using Weblate (Korean)
Currently translated at 100.0% (234 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/ko/
2020-11-25 15:57:16 +01:00
Phongpanot fa7054927a Translated using Weblate (Thai)
Currently translated at 50.2% (840 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/th/
2020-11-25 15:57:16 +01:00
Mark Van den Borre b5b4e2113f Translated using Weblate (Dutch)
Currently translated at 100.0% (1670 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2020-11-25 15:57:16 +01:00
Ajeje Brazorf 397fc175ac Translated using Weblate (Sardinian)
Currently translated at 3.1% (53 of 1668 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sc/
2020-11-25 15:57:16 +01:00
Ajeje Brazorf 7b18f35c7d Translated using Weblate (Sardinian)
Currently translated at 3.1% (52 of 1668 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sc/
2020-11-25 15:57:16 +01:00
Ajeje Brazorf 4783ffdec7 Translated using Weblate (Sardinian)
Currently translated at 2.8% (47 of 1668 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sc/
2020-11-25 15:57:16 +01:00
Adrià Martín 27520a8f9d Translated using Weblate (Sardinian)
Currently translated at 2.8% (47 of 1668 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sc/
2020-11-25 15:57:16 +01:00
Adrià Martín e9ab86f8dd Added translation using Weblate (Sardinian) 2020-11-25 15:57:16 +01:00
josé m 28574b8f5e Translated using Weblate (Galician)
Currently translated at 100.0% (1670 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2020-11-25 15:57:16 +01:00
josé m 60ef6278d7 Translated using Weblate (Galician)
Currently translated at 97.9% (1636 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2020-11-25 15:57:16 +01:00
Phongpanot 85302e0077 Translated using Weblate (Thai)
Currently translated at 49.5% (828 of 1670 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/th/
2020-11-25 15:57:16 +01:00