Commit Graph

5876 Commits

Author SHA1 Message Date
Rigel Kent 901c36d5f4
fix internal redirection cycle whithin nginx client-override optimization 2020-11-17 11:40:14 +01:00
Rigel Kent 5f59cf077f
refresh nginx config and optimize delivery (#3313)
refactors the Nginx configuration for the following points:
- update tls version to include 1.3 by default. so far it was not included by default to make room for previous versions of Nginx, but since 2018 Debian stable has included Nginx in version 1.14.1, and tls 1.3 is available since Nginx 1.13.0.
- clearly indicate that new minimum required version.
- update outdated ssl_ciphers to remove cipher required to support android 4.4, since that version is unsupported since March 2020.
- reordered configuration in sections for easier maintenance: performance optimizations are separated from the vital application/websocket parts.
- move parts that always require manual configuration at the top: peertube host and server name, use server_name 
- move peertube host to a more flexible upstream block: it allows to configure it in one place instead of 3, and is future-proof regarding load-balancing.
- simplified port 80 block: Let’s Encrypt supports 301 redirects.
- group certificate-related config together.
- remove reslover config: it defaults to /etc/resolv.conf which is more than enough.
- align values with their neighbors for easier reading
- always specify units
- always specify default values when they differ from the values set
- use ’m’ for minutes, ’M’ for megabytes
- add consensual optimizations wrt file serving:
  - add timeout optimizations
  - add file descriptor cache optimizations
  - enable sendfile with chunk size > rate limit
  - enable threading
  - tcp optimizations
  - point to further, more system-specific optimizations in the section description
- CDN configuration reduced to one line change
2020-11-16 19:16:49 +01:00
Chocobozzz 12c8a46362
Fix about scrolling behaviour 2020-11-16 16:46:15 +01:00
Chocobozzz a75eb7489c
Fix channel's playlist infinite scrolling 2020-11-16 16:11:58 +01:00
Chocobozzz 805bec52cd
Replace keyboard shortcut icon
Use svg instead
2020-11-16 15:55:18 +01:00
Chocobozzz c195975c54
Use badge in video block list 2020-11-16 15:41:15 +01:00
Chocobozzz f0048d5edd
In my account -> in my library 2020-11-16 15:02:53 +01:00
Chocobozzz 5ed46c1bce
Refactor rest table search filter 2020-11-16 14:47:05 +01:00
Chocobozzz 7706b3703a
Put admin actions on the left 2020-11-16 14:26:50 +01:00
Chocobozzz 9be63f123e
Dropdown should be on top of everything 2020-11-16 14:23:09 +01:00
Chocobozzz 19149d45b8
Merge branch 'feature/admin-comments' into develop 2020-11-16 13:57:14 +01:00
Chocobozzz f127331459
Add admin view to manage comments 2020-11-16 13:48:58 +01:00
Kimsible 8872828d59
add client overrides to nginx configuration (#3297)
Co-authored-by: Rigel Kent <par@rigelk.eu>
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-16 10:34:05 +01:00
Frank Sträter 2b8d7a7d59
add help popup for choosing license (#3306)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-11-15 11:57:13 +01:00
Chocobozzz 0f8d00e314
Implement video comment list in admin 2020-11-13 16:38:23 +01:00
Chocobozzz dc13623baa
Fix player height on mobile 2020-11-13 14:49:27 +01:00
Chocobozzz 5c0904fc66
Cleanup lives on server restart 2020-11-13 14:36:30 +01:00
Chocobozzz 786b855af7
Fix live sha segments with multiple resolutions 2020-11-13 12:02:29 +01:00
Chocobozzz 17119e4a54 Reorganize left menu and account menu
Add my-settings and my-library in left menu
Move administration below my-library
Split account menu: my-setting and my library
2020-11-13 12:02:21 +01:00
Frank Sträter b4bc269e55
fix CONTRIBUTING.md command order (#3305) 2020-11-13 11:53:30 +01:00
Chocobozzz 30ae75f977
Regenerate strings after @rigelk changes 2020-11-13 08:25:13 +01:00
chris@famichiki.tube 727c5cce0a Translated using Weblate (Japanese)
Currently translated at 100.0% (101 of 101 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/ja/
2020-11-12 21:23:39 +01:00
chris@famichiki.tube 9fbdd87d96 Translated using Weblate (Japanese)
Currently translated at 98.7% (243 of 246 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/ja/
2020-11-12 21:23:39 +01:00
Mark Van den Borre e6d0c5ef9c Translated using Weblate (Dutch)
Currently translated at 99.6% (1644 of 1650 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2020-11-12 21:23:39 +01:00
chris@famichiki.tube 3e5c0a3e99 Translated using Weblate (Japanese)
Currently translated at 50.4% (832 of 1650 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2020-11-12 21:23:39 +01:00
josé m 1b8fd9034d Translated using Weblate (Galician)
Currently translated at 100.0% (1650 of 1650 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2020-11-12 21:23:39 +01:00
Rigel Kent 324b73646c Translated using Weblate (French (France))
Currently translated at 100.0% (1650 of 1650 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2020-11-12 21:23:39 +01:00
Mélanie Chauvel ce1c6de3e6 Translated using Weblate (French (France))
Currently translated at 100.0% (101 of 101 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/fr_FR/
2020-11-12 21:23:39 +01:00
Mélanie Chauvel b7a3c10bf8 Translated using Weblate (French (France))
Currently translated at 100.0% (246 of 246 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/fr_FR/
2020-11-12 21:23:39 +01:00
x f08546abfd Translated using Weblate (Italian)
Currently translated at 100.0% (1650 of 1650 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/it/
2020-11-12 21:23:39 +01:00
Rigel Kent dc5bb5cea5
reword unclear sentences, check for grammar
fixes #3222
2020-11-12 21:09:28 +01:00
Chocobozzz 501af82d99
Delay notification when waiting for a live 2020-11-12 17:13:32 +01:00
Chocobozzz 2122606318
Increase live segment file name 2020-11-12 16:56:37 +01:00
Chocobozzz 6297bae0c1
Fix live infohash of original resolution 2020-11-12 16:55:13 +01:00
Chocobozzz 374e419738
Update my email 2020-11-12 16:29:32 +01:00
Chocobozzz 797d05bdd9
Force signed headers in http signatures
Thanks Roger
2020-11-12 16:29:32 +01:00
Chocobozzz 2a9562fc58
Increase tests waits 2020-11-12 16:29:32 +01:00
Arman b8fa24491c
remove duplicate file checks in video model (#3289)
- server/models/video/video.ts (delete duplicate): build duplicate file id addition in buildAPIResult
2020-11-11 20:44:58 +01:00
Rigel Kent a30995fc27
consistent documentation and configuration in compose file 2020-11-11 16:45:46 +01:00
Rigel Kent b8f3e6b00b
move traefik to its own override file 2020-11-11 16:45:46 +01:00
Rigel Kent e604efcb71
Do not expose containers by default in traefik 2020-11-11 16:45:46 +01:00
Rigel Kent 1a9b141d83
Add nginx behind traefik in docker-compose + image updates
- support/docker/production/docker-compose.yml: addition of a nginx
image reusing support/nginx/peertube nginx conf to improve performance,
and lessen setup differences between the docker-compose install and the
typical production install.
- support/docker/production/docker-compose.yml: postgres 10 -> postgres
12, redis 4 -> redis 5. Postgres major updates implies manual upgrade.
- support/nginx/peertube: HTTP -> HTTPS redirection is now commented
by default, to allow its reuse in support/docker/production/docker-compose.yml.
2020-11-11 16:45:46 +01:00
Frank Sträter 8e98e6124d
fix link in dependencies version guide (#3288)
also fix rights elevation when automatically checking them
2020-11-11 15:40:40 +01:00
Chocobozzz adbf1ed8c4
Use our implementation of randomInt 2020-11-10 17:04:09 +01:00
Chocobozzz b9da21bd5a
Hide dock if there are no title/description 2020-11-10 16:47:25 +01:00
Chocobozzz 2af337c839
Cleanup follows of orphean actors 2020-11-10 16:29:35 +01:00
Chocobozzz b9cf3fb638
Fix email footer
Do not include notif preferences in contact form email
2020-11-10 15:56:13 +01:00
Chocobozzz 10c8b0b743
Fix comments federation 2020-11-10 15:26:33 +01:00
Chocobozzz a25507f6c4
Fix tests 2020-11-10 15:04:08 +01:00
Chocobozzz 93ab83893d
Fix npm run test 2020-11-10 15:04:08 +01:00