Commit Graph

6278 Commits (078b4716cdd4dbf1b15c1a864ccab999ed3d0e8e)

Author SHA1 Message Date
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
Chocobozzz 0d8de2756f
Fix live tests 2020-12-09 14:45:47 +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
Chocobozzz b49f22d8f9 Upgrade sequelize to v6 2020-12-09 11:41:22 +01:00
Rigel Kent 6c8c15f914
disable x-powered-by even with csp disabled
follows Express and helmet recommendations
2020-12-09 04:18:48 +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 c977fd3ec9
Try to improve tools doc 2020-12-08 12:00:58 +01:00
Chocobozzz 6c53d8bf1d
Fix loading data twice in rest tables 2020-12-08 11:56:31 +01:00
Chocobozzz 8e2392e512
Fix config test 2020-12-08 11:37:24 +01:00
Chocobozzz a59f210ff3 Refactor a little bit client canonical URL 2020-12-08 11:15:11 +01:00
Thomas Citharel e5024f5181 Add tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-08 11:15:11 +01:00
Thomas Citharel 106fa2249d Set canonical link to original video/playlist url
The local URL was used instead of the original url

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-08 11:15:11 +01:00
kontrollanten 2805cb7cb6 server/mw/oauth: res.loc.auth to true upon auth
Setting res.locals.authenticated explicity to
true makes it's more clear whether the req is
authenticated when using optionalAuthenticate
middlware.
2020-12-08 10:40:08 +01:00
kontrollanten f17faefb30 plugins: add optional authentication for routes 2020-12-08 10:40:08 +01:00
Chocobozzz c824e8a0c7
Fix hook test 2020-12-08 10:38:47 +01:00
Chocobozzz 2539011cfc
Add unlimited max live duration by default 2020-12-08 10:38:37 +01:00
Chocobozzz 38267c0c8a Use dedicated hooks for account/channel videos 2020-12-08 10:33:23 +01:00
kontrollanten 1bfc07e4cc server accounts/videos: trigger filter hook 2020-12-08 10:33:23 +01:00
kontrollanten 05e85b59c7
contributing documentation: add `parallel` as dependency (#3421)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-12-07 21:27:25 +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 7b9f22ed2a
Remove unused code climate 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
Chocobozzz 5b9b403a20
Fix replay last segments loop 2020-12-07 16:07:00 +01:00
Rigel Kent 2d53be0267
replace numbers with typed http status codes (#3409) 2020-12-07 14:32:36 +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
Agron 59bc5f7dc0
update install documentation toc to include Centos 8 (#3411) 2020-12-07 01:27:21 +01:00
Jan Keromnes ef62d58674 Fix PostreSQL initialization for Gitpod 2020-12-06 13:58:00 +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