Skip to content

Commit 9c7a348

Browse files
Merge 'master' into AMP.chat
Change-Id: I88d38051f84ce0fffa97b078c36f708b7a230c43
2 parents 38a63c5 + 413b26d commit 9c7a348

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+2378
-1892
lines changed

.buildkite/pipeline.yaml

Lines changed: 0 additions & 82 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ electron/pub
2020
/config.local*.json
2121
/src/component-index.js
2222
/.tmp
23+
/webpack-stats.json

.modernizr.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,33 @@
55
"setClasses"
66
],
77
"feature-detects": [
8+
"test/css/animations",
89
"test/css/displaytable",
10+
"test/css/filters",
911
"test/css/flexbox",
10-
"test/es5/specification",
1112
"test/css/objectfit",
12-
"test/storage/localstorage",
13+
14+
"test/es5/date",
15+
"test/es5/function",
16+
"test/es5/object",
17+
"test/es5/undefined",
18+
1319
"test/es6/array",
1420
"test/es6/collections",
1521
"test/es6/promises",
22+
"test/es6/string",
23+
1624
"test/svg",
1725
"test/svg/asimg",
1826
"test/svg/filters",
19-
"test/css/animations",
20-
"test/css/filters",
21-
"test/network/fetch"
27+
28+
"test/url/parser",
29+
"test/url/urlsearchparams",
30+
31+
"test/cors",
32+
"test/iframe/sandbox",
33+
"test/json",
34+
"test/network/fetch",
35+
"test/storage/localstorage"
2236
]
2337
}

CHANGELOG.md

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,147 @@
1+
Changes in [1.5.14](https://github.com/vector-im/riot-web/releases/tag/v1.5.14) (2020-03-30)
2+
============================================================================================
3+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.14-rc.1...v1.5.14)
4+
5+
* Upgrade JS SDK to 5.2.0 and React SDK to 2.3.0
6+
7+
Changes in [1.5.14-rc.1](https://github.com/vector-im/riot-web/releases/tag/v1.5.14-rc.1) (2020-03-26)
8+
======================================================================================================
9+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.13...v1.5.14-rc.1)
10+
11+
* Upgrade JS SDK to 5.2.0-rc.1 and React SDK to 2.3.0-rc.1
12+
* Update from Weblate
13+
[\#12890](https://github.com/vector-im/riot-web/pull/12890)
14+
* App load tweaks
15+
[\#12869](https://github.com/vector-im/riot-web/pull/12869)
16+
* Add review policy doc
17+
[\#12730](https://github.com/vector-im/riot-web/pull/12730)
18+
* Fix artifact searching in redeployer
19+
[\#12875](https://github.com/vector-im/riot-web/pull/12875)
20+
* Fix Jitsi wrapper being large by getting the config from elsewhere
21+
[\#12845](https://github.com/vector-im/riot-web/pull/12845)
22+
* Add webpack stats which will be used by CI and stored to artifacts
23+
[\#12832](https://github.com/vector-im/riot-web/pull/12832)
24+
* Revert "Remove useless app preloading from Jitsi widget wrapper"
25+
[\#12842](https://github.com/vector-im/riot-web/pull/12842)
26+
* Remove useless app preloading from Jitsi widget wrapper
27+
[\#12836](https://github.com/vector-im/riot-web/pull/12836)
28+
* Update from Weblate
29+
[\#12829](https://github.com/vector-im/riot-web/pull/12829)
30+
* Fix version for Docker builds
31+
[\#12799](https://github.com/vector-im/riot-web/pull/12799)
32+
* Register Mac electron specific Cmd+, shortcut to User Settings
33+
[\#12800](https://github.com/vector-im/riot-web/pull/12800)
34+
* Use a local widget wrapper for Jitsi calls
35+
[\#12780](https://github.com/vector-im/riot-web/pull/12780)
36+
* Delete shortcuts.md
37+
[\#12786](https://github.com/vector-im/riot-web/pull/12786)
38+
* Remove remainders of gemini-scrollbar and react-gemini-scrollbar
39+
[\#12756](https://github.com/vector-im/riot-web/pull/12756)
40+
* Update electron to v7.1.14
41+
[\#12762](https://github.com/vector-im/riot-web/pull/12762)
42+
* Add url tests to Modernizr
43+
[\#12735](https://github.com/vector-im/riot-web/pull/12735)
44+
* ElectronPlatform: Add support to remove events from the event index.
45+
[\#12703](https://github.com/vector-im/riot-web/pull/12703)
46+
* Bump minimist from 1.2.0 to 1.2.2 in /electron_app
47+
[\#12744](https://github.com/vector-im/riot-web/pull/12744)
48+
* Add docs and flag for custom theme support
49+
[\#12731](https://github.com/vector-im/riot-web/pull/12731)
50+
* Declare jsx in tsconfig for IDEs
51+
[\#12716](https://github.com/vector-im/riot-web/pull/12716)
52+
* Remove stuff that yarn install doesn't think we need
53+
[\#12713](https://github.com/vector-im/riot-web/pull/12713)
54+
* yarn upgrade
55+
[\#12691](https://github.com/vector-im/riot-web/pull/12691)
56+
* Support TypeScript for React components
57+
[\#12696](https://github.com/vector-im/riot-web/pull/12696)
58+
59+
Changes in [1.5.13](https://github.com/vector-im/riot-web/releases/tag/v1.5.13) (2020-03-17)
60+
============================================================================================
61+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.13-rc.1...v1.5.13)
62+
63+
* Upgrade to JS SDK 5.1.1 and React SDK 2.2.3
64+
65+
Changes in [1.5.13-rc.1](https://github.com/vector-im/riot-web/releases/tag/v1.5.13-rc.1) (2020-03-11)
66+
======================================================================================================
67+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.12...v1.5.13-rc.1)
68+
69+
* Update from Weblate
70+
[\#12688](https://github.com/vector-im/riot-web/pull/12688)
71+
* Fix Docker image version for develop builds
72+
[\#12670](https://github.com/vector-im/riot-web/pull/12670)
73+
* docker: optimize custom sdk builds
74+
[\#12612](https://github.com/vector-im/riot-web/pull/12612)
75+
* riot-desktop open SSO in browser so user doesn't have to auth twice
76+
[\#12590](https://github.com/vector-im/riot-web/pull/12590)
77+
* Fix SSO flows for electron 8.0.2 by re-breaking will-navigate
78+
[\#12585](https://github.com/vector-im/riot-web/pull/12585)
79+
* index.html: Place noscript on top of the page
80+
[\#12563](https://github.com/vector-im/riot-web/pull/12563)
81+
* Remove will-navigate comment after Electron fix
82+
[\#12561](https://github.com/vector-im/riot-web/pull/12561)
83+
* Update loading test for JS SDK IDB change
84+
[\#12552](https://github.com/vector-im/riot-web/pull/12552)
85+
* Upgrade deps
86+
[\#12528](https://github.com/vector-im/riot-web/pull/12528)
87+
88+
Changes in [1.5.12](https://github.com/vector-im/riot-web/releases/tag/v1.5.12) (2020-03-04)
89+
============================================================================================
90+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.11...v1.5.12)
91+
92+
* Upgrade to React SDK 2.2.1
93+
* Revert to Electron 7.1.12 to fix Arch Linux tray icon
94+
* Fix image download links so they open in a new tab
95+
96+
Changes in [1.5.11](https://github.com/vector-im/riot-web/releases/tag/v1.5.11) (2020-03-02)
97+
============================================================================================
98+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.11-rc.1...v1.5.11)
99+
100+
* Upgrade to JS SDK 5.1.0 and React SDK 2.2.0
101+
* Fix SSO flows for Electron 8.0.2 by disabling will-navigate
102+
[\#12585](https://github.com/vector-im/riot-web/pull/12585)
103+
104+
Changes in [1.5.11-rc.1](https://github.com/vector-im/riot-web/releases/tag/v1.5.11-rc.1) (2020-02-26)
105+
======================================================================================================
106+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.10...v1.5.11-rc.1)
107+
108+
* Upgrade to JS SDK 5.1.0-rc.1 and React SDK 2.2.0-rc.1
109+
* Change Windows signing to warning when missing token
110+
[\#12523](https://github.com/vector-im/riot-web/pull/12523)
111+
* Modernizr remove t3st/es6/contains
112+
[\#12524](https://github.com/vector-im/riot-web/pull/12524)
113+
* Switch out any eval-using Modernizr rules
114+
[\#12519](https://github.com/vector-im/riot-web/pull/12519)
115+
* Update from Weblate
116+
[\#12522](https://github.com/vector-im/riot-web/pull/12522)
117+
* Notify electron of language changes
118+
[\#12487](https://github.com/vector-im/riot-web/pull/12487)
119+
* Relax macOS notarisation check to print a warning
120+
[\#12503](https://github.com/vector-im/riot-web/pull/12503)
121+
* Clarify supported tier means desktop OSes
122+
[\#12486](https://github.com/vector-im/riot-web/pull/12486)
123+
* Use noreferrer in addition to noopener for edge case browsers
124+
[\#12477](https://github.com/vector-im/riot-web/pull/12477)
125+
* Document start / end composer shortcuts
126+
[\#12466](https://github.com/vector-im/riot-web/pull/12466)
127+
* Update from Weblate
128+
[\#12480](https://github.com/vector-im/riot-web/pull/12480)
129+
* Remove buildkite pipeline
130+
[\#12464](https://github.com/vector-im/riot-web/pull/12464)
131+
* Remove exec so release script continues
132+
[\#12435](https://github.com/vector-im/riot-web/pull/12435)
133+
* Use Persistent Storage where possible
134+
[\#12425](https://github.com/vector-im/riot-web/pull/12425)
135+
136+
Changes in [1.5.10](https://github.com/vector-im/riot-web/releases/tag/v1.5.10) (2020-02-19)
137+
============================================================================================
138+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.9...v1.5.10)
139+
140+
* Get rid of dependence on usercontent.riot.im
141+
[\#12292](https://github.com/vector-im/riot-web/pull/12292)
142+
* Add experimental support tier
143+
[\#12377](https://github.com/vector-im/riot-web/pull/12377)
144+
1145
Changes in [1.5.9](https://github.com/vector-im/riot-web/releases/tag/v1.5.9) (2020-02-17)
2146
==========================================================================================
3147
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.9-rc.1...v1.5.9)

README.md

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
11
Riot
22
====
33

4-
Riot (formerly known as Vector) is a Matrix web client built using the [Matrix React SDK](https://github.com/matrix-org/matrix-react-sdk).
5-
6-
Riot is officially supported on the web in the last 2 major versions of Chrome, Firefox, and Safari. For Riot on Desktop (electron),
7-
only the officially published app is supported. Other browsers and packages may work, however official support is not provided.
8-
For accessing Riot on an Android or iOS device, check out [riot-android](https://github.com/vector-im/riot-android)
9-
and [riot-ios](https://github.com/vector-im/riot-ios) - riot-web does not support mobile devices.
4+
Riot (formerly known as Vector) is a Matrix web client built using the [Matrix
5+
React SDK](https://github.com/matrix-org/matrix-react-sdk).
6+
7+
Supported Environments
8+
======================
9+
10+
Riot has several tiers of support for different environments:
11+
12+
* Supported
13+
* Definition: Issues **actively triaged**, regressions **block** the release
14+
* Last 2 major versions of Chrome, Firefox, and Safari on desktop OSes
15+
* Latest release of official Riot Desktop app on desktop OSes
16+
* Desktop OSes means macOS, Windows, and Linux versions for desktop devices
17+
that are actively supported by the OS vendor and receive security updates
18+
* Experimental
19+
* Definition: Issues **accepted**, regressions **do not block** the release
20+
* Riot as an installed PWA via current stable version of Chrome, Firefox, and Safari
21+
* Mobile web for current stable version of Chrome, Firefox, and Safari on Android, iOS, and iPadOS
22+
* Not supported
23+
* Definition: Issues only affecting unsupported environments are **closed**
24+
* Everything else
25+
26+
For accessing Riot on an Android or iOS device, we currently recommend the
27+
native apps [riot-android](https://github.com/vector-im/riot-android)
28+
and [riot-ios](https://github.com/vector-im/riot-ios).
1029

1130
Getting Started
1231
===============
@@ -52,15 +71,6 @@ We have put some coarse mitigations into place to try to protect against this
5271
situation, but it's still not good practice to do it in the first place. See
5372
https://github.com/vector-im/riot-web/issues/1977 for more details.
5473

55-
The same applies for end-to-end encrypted content, but since this is decrypted
56-
on the client, Riot needs a way to supply the decrypted content from a separate
57-
origin to the one Riot is hosted on. This currently done with a 'cross origin
58-
renderer' which is a small piece of javascript hosted on a different domain.
59-
To avoid all Riot installs needing one of these to be set up, riot.im hosts
60-
one on usercontent.riot.im which is used by default.
61-
https://github.com/vector-im/riot-web/issues/6173 tracks progress on replacing
62-
this with something better.
63-
6474
Building From Source
6575
====================
6676

@@ -213,6 +223,11 @@ Before attempting to develop on Riot you **must** read the [developer guide
213223
for `matrix-react-sdk`](https://github.com/matrix-org/matrix-react-sdk), which
214224
also defines the design, architecture and style for Riot too.
215225

226+
Before starting work on a feature, it's best to ensure your plan aligns well
227+
with our vision for Riot. Please chat with the team in
228+
[#riot-dev:matrix.org](https://matrix.to/#/#riot-dev:matrix.org) before you
229+
start so we can ensure it's something we'd be willing to merge.
230+
216231
You should also familiarise yourself with the ["Here be Dragons" guide
217232
](https://docs.google.com/document/d/12jYzvkidrp1h7liEuLIe6BMdU0NUjndUYI971O06ooM)
218233
to the tame & not-so-tame dragons (gotchas) which exist in the codebase.

config.sample.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"https://scalar-staging.vector.im/api",
2323
"https://scalar-staging.riot.im/scalar/api"
2424
],
25-
"integrations_jitsi_widget_url": "https://scalar.vector.im/api/widgets/jitsi.html",
2625
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
2726
"defaultCountryCode": "GB",
2827
"showLabsSettings": false,
@@ -52,5 +51,9 @@
5251
},
5352
"settingDefaults": {
5453
"breadcrumbs": true
54+
},
55+
"jitsi": {
56+
"preferredDomain": "jitsi.riot.im",
57+
"externalApiUrl": "https://jitsi.riot.im/libs/external_api.min.js"
5558
}
5659
}

docs/config.md

Lines changed: 8 additions & 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,8 +82,15 @@ 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").
87+
1. `jitsi`: Used to change the default conference options.
88+
1. `preferredDomain`: The domain name of the preferred Jitsi instance. Defaults
89+
to `jitsi.riot.im`. This is used whenever a user clicks on the voice/video
90+
call buttons - integration managers may use a different domain.
91+
1. `externalApiUrl`: The URL to the Jitsi Meet API script. This is required
92+
for showing any Jitsi widgets, no matter the source. Defaults to
93+
`https://jitsi.riot.im/libs/external_api.min.js`.
9294

9395
Note that `index.html` also has an og:image meta tag that is set to an image
9496
hosted on riot.im. This is the image used if links to your copy of Riot

0 commit comments

Comments
 (0)