Commit Graph
18 Commits
Author SHA1 Message Date
Rigel Kent dbe3040e36 merge optional modules within standard ones in support/nginx/peertube 2021-01-13 09:17:13 +01:00
Rigel Kent 5e755fff9d add Content Security Policy (#1252)
* add Content Security Policy

* remove reflect-metadata on production builds to get rid of unsafe-eval

* fix baseCSP usage

* add SRI to CSP

* add blob: to media-src

* remove SRI

* CSP set to reportOnly

* adding data: to connect-src CSP

* remove block-all-mixed-content

* add report-uri support
2018-12-13 09:49:45 +01:00
Rigel Kent 408f50ebc7 (ffmpeg) force pixel format yuv420p (#1394) 2018-11-12 15:43:51 +01:00
Rigel Kent 660d11e91e refactor subscribe button and comment-add for visitor-interact UX (#1100)
* refactor subscribe button for visitor-subscribe UX
* refactor comment-add for visitor-interact UX
2018-09-25 15:42:58 +02:00
Rigel Kent 2d9fea161f watch view visual tweaks and search/comment placeholder dismiss on focus (#983)
- make the placeholder disappear on focus in the search bar
- make the placeholder disappear on focus in the comment textarea
- make the texarea resize automagically
- refactor the watch view to use bootstrap 4's flexgrid
- move action buttons of the watch view to the right of the video info
- responsive tweaks and margin adjustments in the watch view
2018-08-30 11:15:22 +02:00
Rigel Kent ee1fc23a87 keyboard shortcuts and key map view (#974) 2018-08-28 09:32:03 +02:00
Rigel Kent 8b1c694406 Adding a more specific phrasing for yarn installation (#487) 2018-04-09 22:28:53 +02:00
Rigel Kent 09e10ac0c9 add .editorconfig to maintain consistent coding styles (#429)
Signed-off-by: Rigel Kent <sendmemail@rigelk.eu>
2018-03-29 11:07:51 +02:00
Rigel Kent 1869c87535 show quota in stats, display quota on the about page, fixes #405 (#421)
move videoQuota under a user object, use byte PipeTransform
2018-03-27 13:42:57 +02:00
Rigel Kent 761fc1ddfe Add sign language to the index of languages (#420) 2018-03-27 11:06:18 +02:00
Rigel Kent 45b8a42ca1 truncating long video names in import-videos.js (fixes #392) (#415) 2018-03-26 14:07:45 +02:00
Rigel Kent 48e35415c7 per missing field error in upload.js (fixes #414) (#416) 2018-03-26 13:13:01 +02:00
Rigel Kent d40cd86bf5 Selective route permission to use embeds, fixes #322 in a better way (#364) 2018-03-20 17:28:41 +01:00
Rigel Kent 2db6f2b0c1 Explain our position towards steem, ads, and other incentives in FAQ (#335) 2018-03-16 10:36:15 +01:00
Rigel Kent 416c359cb5 Fix typo in "user already exist" error message (PR #333 from WildYorkies) 2018-03-11 17:43:10 +01:00
Rigel Kent 2256035bef Create CODE_OF_CONDUCT.md (#304)
We want to be inclusive to the largest number of participants, with the most varied and diverse backgrounds possible. As such, we should take position as to how we will defend our contributors. Better settle on how we handle dire situations before they happen.

Nota: the code of conduct isn't clear on the disclosure of an incident per se. That should be investigated further.
2018-02-20 14:26:14 +01:00
Rigel Kent e883399fa6 Precisions and security enhancements to the production guide (#287)
- added precisions and suggestions about how to generate Let's Encrypt certificates. Users have reported their installations didn't work when the problem came from missing certificates (false positives).
- security defaults of Nginx follow the basic robustness principle "be conservative in what you send, be liberal in what you accept", which isn't enough with modern security standards, so we should be picky with the cipher suites we use, among other things. Extra comments (especially for the TLS1.3 protocol support parameter) make the requirement of a recent Nginx installation obvious, and the downgrade alternative remains clear to the system administrator.

All in all, we should aknowledge users will most often copy and paste the configuration files. Making them secure by default may force a few users to read their configuration, but on the long run we are making the fediverse more secure.

Since I've come to modify a bit the Nginx config in `support/doc/production.md`, I've merged it with the template so that they stay consistent.
2018-02-14 11:11:49 +01:00
Rigel Kent f41e76cd4a Show a message on client when JavaScript is disabled (#200) 2018-01-15 08:36:39 +01:00