Michael Telatynski
eb62972aed
Merge pull request #12258 from vector-im/t3chguy/csp
...
Embed CSP meta tag and stop using script-src unsafe-inline
2020-02-06 12:15:17 +00:00
Michael Telatynski
3a5a904afb
Update src/vector/index.html
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-02-06 11:54:05 +00:00
Michael Telatynski
7d68c2c465
re-add child-src as the common ancestor of worker-src and frame-src for backwards compat and split onto multiple lines for readability
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-06 11:52:21 +00:00
Michael Telatynski
074a3cfaaf
fix font-src of CSP
2020-02-06 10:17:38 +00:00
Michael Telatynski
2b5e028cbe
add comment
2020-02-05 16:37:19 +00:00
Michael Telatynski
ec20e1ece2
Embed CSP meta tag and stop using script-src unsafe-inline
2020-02-05 16:35:23 +00:00
Michael Telatynski
7d49078f22
Change them to Modernizr tests and add more rules
2020-02-05 14:05:46 +00:00
Michael Telatynski
032efafe2e
Rejig things around to catch Promises not being a thing at all
2020-02-04 13:35:05 +00:00
Michael Telatynski
087bcf0ae6
fix declaration order
2020-02-04 11:11:06 +00:00
Michael Telatynski
cdc1202bbe
Add custom browser checks outside of Modernizr
2020-02-04 11:08:52 +00:00
Michael Telatynski
bceca49cdc
Update vendored modernizr
2020-02-04 11:00:47 +00:00
Weblate
192f2b8892
Merge branch 'origin/develop' into Weblate.
2020-01-24 13:40:37 +00:00
Damir Jelić
7aff020d4d
Merge branch 'poljar/seshat-ui' into develop
2020-01-24 14:40:54 +01:00
Weblate
3d804665da
Merge branch 'origin/develop' into Weblate.
2020-01-24 13:39:07 +00:00
Damir Jelić
c0558f3527
Merge branch 'poljar/seshat-filepanel' into develop
2020-01-24 14:38:20 +01:00
Balázs Meskó
d6a5d701fe
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/hu/
2020-01-24 10:23:08 +00:00
Damir Jelić
e1e3bba290
ElectronPlatform: Replace the indexSize method with the getStats method.
2020-01-21 13:35:29 +01:00
Damir Jelić
e556bb242f
ElectronPlatform: Add the indexSize method.
2020-01-21 13:35:29 +01:00
Travis Ralston
99e1ff9477
Load as little as possible in index.js for the skinner
...
Imports are optimized to be concurrent/async by webpack, which means that when the old index.js referenced the Lifecycle from the react-sdk it caused the app to explode. This is because in another branch the Lifecycle references a class member of a skinnable component, leading to the skinner complaining that the skin hasn't been loaded.
To work around this, we've shoved all the app stuff to a new app.js file, leaving just the skinning and some early bootstrap work in the index.js
2020-01-20 19:52:11 -07:00
Weblate
674adfb81e
Merge branch 'origin/develop' into Weblate.
2020-01-18 01:36:54 +00:00
Travis Ralston
cdd25ea45f
Fix rageshake post-sourcemaps
2020-01-17 18:27:37 -07:00
catborise
4191c51b42
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/tr/
2020-01-17 20:22:42 +00:00
Damir Jelić
a2e256b4c9
ElectronPlatform: Add the ability to load file events from the event index.
2020-01-17 10:11:57 +01:00
Travis Ralston
f73d2bae1f
Merge branch 'develop' into travis/sourcemaps
2020-01-13 11:22:47 -07:00
Matthew Hodgson
619cd57bc6
fix the blog url
2020-01-13 16:50:46 +00:00
J. Ryan Stinnett
0e65d2ecfa
Merge pull request #11774 from daleharvey/service-worker
...
Add stub service worker so users can install on desktop with Chrome
2020-01-13 10:06:35 +00:00
catborise
2fdaf65244
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/tr/
2020-01-11 17:22:25 +00:00
MamasLT
1cb0e39dcc
Translated using Weblate (Lithuanian)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/lt/
2020-01-11 17:22:25 +00:00
Dale Harvey
a41484cb35
Add stub service worker so users can install on desktop with Chrome
...
Signed-off-by: Dale Harvey <dale@arandomurl.com>
2020-01-10 19:08:56 +00:00
Travis Ralston
9bf1c65971
[CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-dev
2020-01-09 13:43:25 -07:00
Travis Ralston
ec66069e96
Update build scripts for new process
...
We have to convert *something* to TypeScript so it doesn't complain that there's nothing to compile, so this converts the easiest utility library.
Many of the scripts are copied from the react-sdk.
2020-01-08 16:09:42 -07:00
catborise
7a285ead7e
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/tr/
2019-12-28 20:47:40 +00:00
Valeh Farzaliyev
e25fee6f99
Translated using Weblate (Azerbaijani)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/az/
2019-12-25 22:29:58 +00:00
Valeh Farzaliyev
01f14a7211
Translated using Weblate (Azerbaijani)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/az/
2019-12-25 22:29:33 +00:00
Valeh Farzaliyev
e993eee97c
Translated using Weblate (Azerbaijani)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/az/
2019-12-25 22:28:51 +00:00
Valeh Farzaliyev
7744dcc508
Translated using Weblate (Azerbaijani)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/az/
2019-12-25 22:28:21 +00:00
Valeh Farzaliyev
f98ac9dda1
Translated using Weblate (Azerbaijani)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/az/
2019-12-25 22:27:48 +00:00
Valeh Farzaliyev
af76adf866
Translated using Weblate (Azerbaijani)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/az/
2019-12-25 22:27:25 +00:00
ferhad.necef
1c0bb1101b
Translated using Weblate (Azerbaijani)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/az/
2019-12-25 22:27:25 +00:00
Travis Ralston
9beb4e94d7
Merge pull request #11714 from vector-im/travis/babel7-wp-es6-src-imp
...
Import from src/ for the react-sdk and js-sdk
2019-12-25 15:13:00 -07:00
Travis Ralston
17e332bb48
Import from src/ for the react-sdk and js-sdk
...
We compile directly for accuracy of sourcemaps.
2019-12-23 20:02:11 -07:00
Travis Ralston
8e754765e2
Convert components to ES6 exports
2019-12-23 19:59:15 -07:00
catborise
262b5a56ca
Translated using Weblate (Turkish)
...
Currently translated at 95.7% (22 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/tr/
2019-12-22 14:47:13 +00:00
XoseM
15bded694b
Translated using Weblate (Galician)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/gl/
2019-12-22 14:47:12 +00:00
Ganzo DG
df3517d7bf
Translated using Weblate (Mongolian)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/mn/
2019-12-11 10:37:50 +00:00
Ganzo DG
a30ad77d10
Added translation using Weblate (Mongolian)
2019-12-11 05:05:09 +00:00
David Baker
89d622b8b2
Remove the code that calls the origin migrator
...
This will have done its job now, everyone's had long enough to
install a newer version of Riot and migrate to the new origin.
Laves the code on the backend that handles it for the time being,
as per comment.
2019-12-09 11:57:43 +00:00
David Baker
c063cec4d7
remove draft CSS reference
2019-12-06 13:44:51 +00:00
Travis Ralston
53366f62c1
Remove unused translations
...
```
F:\Workspaces\riot-web\riot-web>yarn prunei18n
yarn run v1.19.1
$ matrix-prune-i18n
ar.json: removed 20 translations
az.json: removed 1 translations
bg.json: removed 29 translations
bn_IN.json: removed 1 translations
ca.json: removed 28 translations
cs.json: removed 28 translations
da.json: removed 27 translations
de_DE.json: removed 29 translations
el.json: removed 27 translations
en_US.json: removed 28 translations
eo.json: removed 28 translations
es.json: removed 28 translations
eu.json: removed 28 translations
fa.json: removed 26 translations
fi.json: removed 27 translations
fr.json: removed 29 translations
ga.json: removed 3 translations
gl.json: removed 28 translations
he.json: removed 26 translations
hi.json: removed 28 translations
hr.json: removed 27 translations
hu.json: removed 29 translations
id.json: removed 27 translations
is.json: removed 27 translations
it.json: removed 29 translations
ja.json: removed 27 translations
jbo.json: removed 27 translations
ka.json: removed 27 translations
ko.json: removed 28 translations
lt.json: removed 27 translations
lv.json: removed 28 translations
ml.json: removed 25 translations
nb_NO.json: removed 16 translations
nl.json: removed 29 translations
nn.json: removed 28 translations
pl.json: removed 28 translations
pt.json: removed 27 translations
pt_BR.json: removed 28 translations
ro.json: removed 28 translations
ru.json: removed 29 translations
sk.json: removed 28 translations
sl.json: removed 3 translations
sq.json: removed 29 translations
sr.json: removed 28 translations
sr_Latn.json: removed 1 translations
sv.json: removed 28 translations
ta.json: removed 7 translations
te.json: removed 2 translations
th.json: removed 25 translations
tr.json: removed 28 translations
uk.json: removed 28 translations
vi.json: removed 9 translations
vls.json: removed 2 translations
zh_Hans.json: removed 28 translations
zh_Hant.json: removed 29 translations
Done in 0.19s.
```
Fixes https://github.com/vector-im/riot-web/issues/11539
2019-12-02 20:34:21 -07:00
Weblate
480e06a140
Merge branch 'origin/develop' into Weblate.
2019-11-28 16:22:54 +00:00
Aaron Raimist
3397165036
Remove mention of vector.im as default identity server on mobile guide
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-27 19:26:22 -06:00
take100yen
565f033330
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ja/
2019-11-27 15:45:42 +00:00
tleydxdy
0c423c224b
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/zh_Hans/
2019-11-27 15:45:42 +00:00
Damir Jelić
222fea969d
Merge branch 'poljar/seshat-pr' into develop
2019-11-26 18:47:58 +01:00
Michael Telatynski
6b1ba5e150
Merge pull request #11301 from vector-im/t3chguy/remove_bluebird
...
get rid of bluebird
2019-11-25 13:31:03 +00:00
Alexis
33e72a9c08
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/pt/
2019-11-24 15:45:31 +00:00
dreboy30
99edcc0f97
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/pt/
2019-11-24 15:45:31 +00:00
Michael Telatynski
eac6c46d28
Merge branches 'develop' and 't3chguy/remove_bluebird' of https://github.com/vector-im/riot-web into t3chguy/remove_bluebird
2019-11-22 14:00:02 +00:00
David Baker
8b2ca56283
Merge pull request #11445 from vector-im/dbkr/dedup_theming_code
...
De-dup theming code
2019-11-21 09:44:22 +00:00
David Baker
135d5f4cc7
Merge pull request #11442 from vector-im/dbkr/system_dark_mode
...
Use new theme API in react-sdk
2019-11-20 16:32:32 +00:00
David Baker
e34c46c893
Dedup theming code
...
Following on from https://github.com/matrix-org/matrix-react-sdk/pull/3637
this removes the code dealing with themes in vector/index.js and uses the
code from react-sdk. The two did almost exactly the same thing but in
subtley different ways.
This code can be incredibly subtle though, so doing this a separate
PR.
2019-11-20 15:42:15 +00:00
Bruno Windels
5e049efc87
Merge pull request #11441 from vector-im/bwindels/fix-roomstatus-e2e-icon
...
preload warning triangle
2019-11-20 14:36:41 +00:00
David Baker
7294bec1c8
Use new theme API in react-sdk
...
A thesis presented in two parts. This part has the absolute minimum
logic changes to the themeing code in vector/index.js because I know
how subtle and fragile this code is. However, it also looks like it's
completely duplicated from react-sdk, so in the next part I'm going
to remove that logic and make it use the logic in react-sdk, then we
can see what breaks.
Requires https://github.com/matrix-org/matrix-react-sdk/pull/3637
2019-11-20 13:43:08 +00:00
Bruno Windels
0c9f0e52bd
preload warning triangle
2019-11-20 12:42:31 +01:00
Alexis
a142a5a30c
Translated using Weblate (Portuguese)
...
Currently translated at 87.0% (20 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/pt/
2019-11-20 05:45:16 +00:00
Damir Jelić
137bedb3f9
ElectronPlatform: Update the path for the BaseEventIndexManager class.
2019-11-19 13:34:00 +01:00
Damir Jelić
73b302f432
ElectronPlatform: Fix some type annotations.
2019-11-19 13:34:00 +01:00
Damir Jelić
4a25252626
ElectronPlatform: Rename the SeshatIndexerManager.
2019-11-19 13:34:00 +01:00
Volodymyr Kostyrko
eabd91c29c
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/uk/
2019-11-15 21:45:01 +00:00
Weblate
0eff02c69b
Merge branch 'origin/develop' into Weblate.
2019-11-14 16:25:24 +00:00
Damir Jelić
dd2c210cfb
electron-main: Rework the event index initialization and deletion.
2019-11-14 16:14:48 +01:00
Damir Jelić
7147af8f80
ElectronPlatform: Don't scope the event index per user.
2019-11-14 14:14:59 +01:00
Travis Ralston
6cf4fc1026
Trigger a theme change on startup, not just a tint change
...
Fixes https://github.com/vector-im/riot-web/issues/11370
2019-11-13 14:00:22 -07:00
Damir Jelić
c3c5756c7a
ElectronPlatform: Implement the EventIndexManager for Seshat.
2019-11-13 15:55:07 +01:00
take100yen
d7c4ef2fe7
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ja/
2019-11-13 11:44:52 +00:00
Travis Ralston
71fb2e04a9
fix catch block indentation
2019-11-12 15:14:11 -07:00
Travis Ralston
e84861f770
Apparently our eslint rules are different in different layers
2019-11-12 15:04:56 -07:00
Travis Ralston
ec9a38c2fe
Perform favicon updates twice in Chrome
...
See diff for why this arcane magic is needed.
Fixes https://github.com/vector-im/riot-web/issues/11347
2019-11-12 15:02:52 -07:00
Stanislav Lukeš
52a3f4e1a8
Translated using Weblate (Czech)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/cs/
2019-11-11 10:05:14 +00:00
Elwyn Malethan
b8af903703
Translated using Weblate (Welsh)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/cy/
2019-11-10 19:44:44 +00:00
shuji narazaki
f61aae7e3f
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ja/
2019-11-08 11:23:24 +00:00
dreamerchris
146ccc37a2
Translated using Weblate (Greek)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/el/
2019-11-06 13:44:29 +00:00
David Baker
7af68bddea
Remove the 'auto hide menu bar' option on Mac
...
The menu bar is at the top of the screen on Mac so this setting
does absolutely nothing.
2019-11-05 20:31:08 +00:00
Michael Telatynski
10e1d9093e
transform-async-to-promises: get rid of bluebird
2019-11-04 12:46:28 +00:00
shuji narazaki
7e3eee2591
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ja/
2019-11-04 06:44:22 +00:00
Elwyn Malethan
5c747f9db6
Added translation using Weblate (Welsh)
2019-11-03 11:35:39 +00:00
Daniel Løvbrøtte Olsen
ffa4616acf
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 78.3% (18 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/nb_NO/
2019-11-02 04:44:12 +00:00
MamasLT
ec091ce8de
Translated using Weblate (Lithuanian)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/lt/
2019-11-01 04:57:54 +00:00
Michael Telatynski
eab6ffe7db
Merge pull request #11258 from vector-im/t3chguy/hide_tray_icon
...
Add ability to hide tray icon on non-Mac (which has no tray icon)
2019-10-30 16:31:47 +00:00
Michael Telatynski
9820e59559
Merge hide-to-tray-icon with show-tray-icon
2019-10-30 14:32:28 +00:00
Michael Telatynski
1498872214
Add ability to hide tray icon on non-Mac (which has no tray icon)
2019-10-29 11:37:42 +00:00
Michael Telatynski
7062015e25
Merge pull request #11254 from vector-im/t3chguy/fix_skinning_replaces
...
Fix skinning replaces being broken since being rewritten as React FC's
2019-10-29 10:17:19 +00:00
Michael Telatynski
5ffdc79bc7
Fix skinning replaces being broken since being rewritten as React FC's
2019-10-28 18:17:52 +00:00
J. Ryan Stinnett
716c5c828b
Remove unneeded help about identity servers
...
The custom server path no longer shows an identity server field (for modern
homeservers), so it's confusing to have the help dialog reference it.
Fixes https://github.com/vector-im/riot-web/issues/11236
2019-10-28 15:44:41 +00:00
MamasLT
7e6d07ea88
Translated using Weblate (Lithuanian)
...
Currently translated at 62.5% (15 of 24 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/lt/
2019-10-24 03:24:39 +00:00
Walter
8440abcee5
Translated using Weblate (Russian)
...
Currently translated at 100.0% (24 of 24 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ru/
2019-10-23 08:14:11 +00:00
Weblate
24e4162e76
Merge branch 'origin/develop' into Weblate.
2019-10-20 10:45:09 +00:00
Matthew Hodgson
4e619b1693
Merge branch 'develop' into patch-3
2019-10-20 11:44:38 +01:00
J. A. Durieux
83eae467f0
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (24 of 24 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/nl/
2019-10-16 17:53:22 +00:00
Nils J. Haugen
36243fb4d3
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 100.0% (24 of 24 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/nn/
2019-10-12 21:52:11 +00:00