Skip to content

Commit 2c572bb

Browse files
authored
Merge pull request element-hq#12292 from vector-im/t3chguy/usercontent
Get rid of dependence on usercontent.riot.im
2 parents 5ac9902 + 44ec819 commit 2c572bb

5 files changed

Lines changed: 15 additions & 19 deletions

File tree

‎.modernizr.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"test/svg/filters",
1919
"test/css/animations",
2020
"test/css/filters",
21-
"test/network/fetch"
21+
"test/network/fetch",
22+
"test/iframe/sandbox"
2223
]
2324
}

‎README.md‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,6 @@ We have put some coarse mitigations into place to try to protect against this
6969
situation, but it's still not good practice to do it in the first place. See
7070
https://github.com/vector-im/riot-web/issues/1977 for more details.
7171

72-
The same applies for end-to-end encrypted content, but since this is decrypted
73-
on the client, Riot needs a way to supply the decrypted content from a separate
74-
origin to the one Riot is hosted on. This currently done with a 'cross origin
75-
renderer' which is a small piece of javascript hosted on a different domain.
76-
To avoid all Riot installs needing one of these to be set up, riot.im hosts
77-
one on usercontent.riot.im which is used by default.
78-
https://github.com/vector-im/riot-web/issues/6173 tracks progress on replacing
79-
this with something better.
80-
8172
Building From Source
8273
====================
8374

‎docs/config.md‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ For a good example, see https://riot.im/develop/config.json.
5757
1. `update_base_url` (electron app only): HTTPS URL to a web server to download
5858
updates from. This should be the path to the directory containing `macos`
5959
and `win32` (for update packages, not installer packages).
60-
1. `cross_origin_renderer_url`: URL to a static HTML page hosting code to help display
61-
encrypted file attachments. This MUST be hosted on a completely separate domain to
62-
anything else since it is used to isolate the privileges of file attachments to this
63-
domain. Default: `https://usercontent.riot.im/v1.html`. This needs to contain v1.html from
64-
https://github.com/matrix-org/usercontent/blob/master/v1.html
6560
1. `piwik`: Analytics can be disabled by setting `piwik: false` or by leaving the piwik config
6661
option out of your config file. If you want to enable analytics, set `piwik` to be an object
6762
containing the following properties:
@@ -87,7 +82,7 @@ For a good example, see https://riot.im/develop/config.json.
8782
default homeserver when signing up or logging in.
8883
1. `permalinkPrefix`: Used to change the URL that Riot generates permalinks with.
8984
By default, this is "https://matrix.to" to generate matrix.to (spec) permalinks.
90-
Set this to your Riot instance URL if you run an unfederated server (eg:
85+
Set this to your Riot instance URL if you run an unfederated server (eg:
9186
"https://riot.example.org").
9287

9388
Note that `index.html` also has an og:image meta tag that is set to an image

0 commit comments

Comments
 (0)