Skip to content

Commit 22bc98c

Browse files
committed
Merge branch 'develop' into noscript
2 parents b571ff7 + 769c8b1 commit 22bc98c

16 files changed

Lines changed: 1287 additions & 1341 deletions

File tree

‎.modernizr.json‎

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,30 @@
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",
27+
28+
"test/cors",
29+
"test/iframe/sandbox",
30+
"test/json",
2131
"test/network/fetch",
22-
"test/iframe/sandbox"
32+
"test/storage/localstorage"
2333
]
2434
}

‎README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ Riot has several tiers of support for different environments:
1111

1212
* Supported
1313
* Definition: Issues **actively triaged**, regressions **block** the release
14-
* Last 2 major versions of Chrome, Firefox, and Safari
15-
* Latest release of official Riot Desktop app on macOS, Windows, and Linux versions that are actively supported by the OS vendor and receive security updates
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
1618
* Experimental
1719
* Definition: Issues **accepted**, regressions **do not block** the release
1820
* Riot as an installed PWA via current stable version of Chrome, Firefox, and Safari

‎docs/shortcuts.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ The modifier is <kbd>Ctrl</kbd> on Windows & Linux and <kbd>⌘</kbd> on Mac.
1010
- <kbd>↑</kbd>/<kbd>↓</kbd> - next/prev room when focus in room list
1111
- <kbd>Alt</kbd>+<kbd>↑</kbd>/<kbd>↓</kbd> - resend previous messages when the composer is in focus
1212
- <kbd>PageUp</kbd>/<kbd>PageDown</kbd> - scroll timeline up/down
13-
- <kbd>Ctrl</kbd>/<kbd>⌘</kbd>+<kbd>Home</kbd>/<kbd>End</kbd> - jump to timeline start/end
13+
- <kbd>Ctrl</kbd>/<kbd>⌘</kbd>+<kbd>Home</kbd>/<kbd>End</kbd> - jump to
14+
start/end of the composer when focused, otherwise jump to timeline start/end
1415
- <kbd>Ctrl</kbd>/<kbd>⌘</kbd>+<kbd>`</kbd> - toggle the top left menu

‎electron_app/src/webcontents-handler.js‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,6 @@ function onEditableContextMenu(ev, params) {
174174

175175
module.exports = (webContents) => {
176176
webContents.on('new-window', onWindowOrNavigate);
177-
// XXX: The below now does absolutely nothing because of
178-
// https://github.com/electron/electron/issues/8841
179-
// Whilst this isn't a security issue since without
180-
// node integration and with the sandbox, it should be
181-
// no worse than opening the site in Chrome, it obviously
182-
// means the user has to restart Riot to make it usable
183-
// again (often unintuitive because it minimises to the
184-
// system tray). We therefore need to be vigilant about
185-
// putting target="_blank" on links in Riot (although
186-
// we should generally be doing this anyway since links
187-
// navigating you away from Riot in the browser is
188-
// also annoying).
189177
webContents.on('will-navigate', onWindowOrNavigate);
190178

191179
webContents.on('context-menu', function(ev, params) {

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
},
154154
"build": {
155155
"appId": "im.riot.app",
156-
"electronVersion": "7.1.12",
156+
"electronVersion": "8.0.2",
157157
"files": [
158158
"node_modules/**",
159159
"src/**"

‎scripts/electron_afterSign.js‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ exports.default = async function(context) {
1010
// from the keychain, so we need to get it from the environment.
1111
const userId = process.env.NOTARIZE_APPLE_ID;
1212
if (userId === undefined) {
13-
throw new Error("User ID not found. Set NOTARIZE_APPLE_ID.");
13+
console.warn(
14+
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" +
15+
"! Skipping macOS notarisation. !\n" +
16+
"! User ID not found, set NOTARIZE_APPLE_ID. !\n" +
17+
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
18+
);
19+
return;
1420
}
1521

1622
console.log("Notarising macOS app. This may be some time.");

‎scripts/electron_winSign.js‎

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,31 @@ exports.default = async function(options) {
88
const appOutDir = path.dirname(inPath);
99

1010
// get the token passphrase from the keychain
11-
const tokenPassphrase = await new Promise((resolve, reject) => {
12-
execFile(
13-
'security',
14-
['find-generic-password', '-s', 'riot_signing_token', '-w'],
15-
{},
16-
(err, stdout) => {
17-
if (err) {
18-
console.error("Couldn't find signing token in keychain", err);
19-
// electron-builder seems to print '[object Object]' on the
20-
// console whether you reject with an Error or a string...
21-
reject(err);
22-
} else {
23-
resolve(stdout.trim());
24-
}
25-
},
11+
let tokenPassphrase;
12+
try {
13+
tokenPassphrase = await new Promise((resolve, reject) => {
14+
execFile(
15+
'security',
16+
['find-generic-password', '-s', 'riot_signing_token', '-w'],
17+
{},
18+
(err, stdout) => {
19+
if (err) {
20+
reject(err);
21+
} else {
22+
resolve(stdout.trim());
23+
}
24+
},
25+
);
26+
});
27+
} catch (err) {
28+
console.warn(
29+
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n" +
30+
"! Skipping Windows signing. !\n" +
31+
"! Signing token not found in keychain. !\n" +
32+
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
2633
);
27-
});
34+
return;
35+
}
2836

2937
return new Promise((resolve, reject) => {
3038
let cmdLine = 'osslsigncode sign ';

‎src/components/structures/VectorEmbeddedPage.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default class VectorEmbeddedPage extends EmbeddedPage {
2929
translate(s) {
3030
s = sanitizeHtml(_t(s));
3131
// ugly fix for https://github.com/vector-im/riot-web/issues/4243
32-
s = s.replace(/\[matrix\]/, '<a href="https://matrix.org" target="_blank" rel="noopener"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="welcome/images/matrix.svg"/></a>');
32+
s = s.replace(/\[matrix\]/, '<a href="https://matrix.org" target="_blank" rel="noreferrer noopener"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="welcome/images/matrix.svg"/></a>');
3333
return s;
3434
}
3535
}

‎src/components/views/auth/VectorAuthFooter.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const VectorAuthFooter = () => {
3434
const authFooterLinks = [];
3535
for (const linkEntry of links) {
3636
authFooterLinks.push(
37-
<a href={linkEntry.url} key={linkEntry.text} target="_blank" rel="noopener">
37+
<a href={linkEntry.url} key={linkEntry.text} target="_blank" rel="noreferrer noopener">
3838
{linkEntry.text}
3939
</a>,
4040
);
@@ -43,7 +43,7 @@ const VectorAuthFooter = () => {
4343
return (
4444
<div className="mx_AuthFooter">
4545
{authFooterLinks}
46-
<a href="https://matrix.org" target="_blank" rel="noopener">{ _t('powered by Matrix') }</a>
46+
<a href="https://matrix.org" target="_blank" rel="noreferrer noopener">{ _t('powered by Matrix') }</a>
4747
</div>
4848
);
4949
};

‎src/i18n/strings/hu.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"Custom Server Options": "Egyedi szerverbeállítások",
3-
"Dismiss": "Eltüntet",
3+
"Dismiss": "Eltüntetés",
44
"powered by Matrix": "Matrix hajtja",
55
"%(appName)s via %(browserName)s on %(osName)s": "%(appName)s alkalmazás %(browserName)s böngészőn %(osName)s rendszeren",
66
"Riot Desktop on %(platformName)s": "Riot Desktop itt: %(platformName)s",
7-
"Unknown device": "Ismeretlen készülék",
7+
"Unknown device": "Ismeretlen eszköz",
88
"You need to be using HTTPS to place a screen-sharing call.": "Képernyőmegosztás indításához HTTPS-t kell használnod.",
99
"Welcome to Riot.im": "Üdvözöl a Riot.im",
1010
"Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Decentralizált, titkosított csevegés és kollaboráció [matrix] alapokon",

0 commit comments

Comments
 (0)