Commit graph

10429 commits

Author SHA1 Message Date
Germain Souquet
86c61cab33 Move i18n utils to its own module 2021-04-26 16:52:11 +01:00
Germain Souquet
dc4cc02682 Change lang type to allow for multiple locales 2021-04-26 13:54:17 +01:00
Germain Souquet
f5c2d51f1e Implement IPC call to Electron to set language 2021-04-23 17:14:40 +01:00
Travis Ralston
947c913d1c
Merge pull request #17013 from vector-im/travis/voice/event_type
Register RecorderWorklet from react-sdk
2021-04-22 14:42:04 -06:00
Travis Ralston
69b4296fa7 Merge branch 'develop' into travis/voice/event_type 2021-04-22 14:37:23 -06:00
Germain
8692d6fa89
Merge pull request #17039 from vector-im/gsouquet-preload-fonts 2021-04-22 17:15:06 +01:00
Germain Souquet
83359afe5d Remove deprecated velocity-animate dependency from lock file 2021-04-22 16:28:21 +01:00
Germain Souquet
8abc7cd87c Only inject Inter fonts to HtmlWebpackPlugin 2021-04-22 14:31:06 +01:00
J. Ryan Stinnett
11b40eeff4
Merge pull request #17041 from vector-im/jryans/disable-calc-warn
Disable `postcss-calc`'s noisy `warnWhenCannotResolve` option
2021-04-22 13:18:24 +01:00
J. Ryan Stinnett
9cf35ab199 Disable postcss-calc's noisy warnWhenCannotResolve option
While it sounds like a useful warning at first, it turns out the warnings it
prints are ones we're unlike to ever act on, such as adding percentages and
pixels, which seem fine to have. This resets to default behaviour, which leaves
the warning off.
2021-04-22 13:05:02 +01:00
Germain Souquet
87806b8a67 Remove overzealous linter fixes 2021-04-22 12:22:10 +01:00
Germain Souquet
417835fcca Preload Inter font to avoid FOIT on slow connections 2021-04-22 12:09:50 +01:00
Germain Souquet
708f6a26b1 Upgrade html-webpack-plugin to v4.5.2 2021-04-22 10:22:52 +01:00
J. Ryan Stinnett
571807d226
Merge pull request #17031 from RiotTranslateBot/weblate-element-web-element-web
Translations update from Weblate
2021-04-21 16:29:26 +01:00
Priit Jõerüüt
9960277ad0 Translated using Weblate (Estonian)
Currently translated at 100.0% (34 of 34 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/et/
2021-04-21 15:28:35 +00:00
Weblate
4e0035b0a7 Merge branch 'origin/develop' into Weblate. 2021-04-21 15:20:05 +00:00
Travis Ralston
9c3627dca9 Register RecorderWorklet from react-sdk 2021-04-19 21:51:25 -06:00
Travis Ralston
36f8a37bd4
Merge pull request #17010 from vector-im/dependabot/npm_and_yarn/ssri-6.0.2
Bump ssri from 6.0.1 to 6.0.2
2021-04-19 16:01:34 -06:00
dependabot[bot]
0fa062ccf6
Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 21:57:14 +00:00
J. Ryan Stinnett
dd303b292a
Merge pull request #17003 from vector-im/jryans/node-env-develop
Fix `NODE_ENV` value for CI environments
2021-04-19 16:04:10 +01:00
J. Ryan Stinnett
53f9895901 Set NODE_ENV in a different way
With the approach in https://github.com/vector-im/element-web/pull/16969,
Webpack seems to sometimes do what we want, sometimes not... I haven't quite
worked out why. Perhaps there's some conflict or race in Webpack's defaults...?

This new approach seems to work as expected when running
`./scripts/ci_package.sh`, which matches what development deployments are doing.
2021-04-19 15:52:24 +01:00
J. Ryan Stinnett
14c23f1387 Remove old -d argument when packaging on CI
This `-d` argument was removed from `package.sh` ages ago
(ec66069e96), but we seem to have missed removing
it here.
2021-04-19 15:45:16 +01:00
Germain
4d6a8f9194
Merge pull request #16969 from vector-im/gsouquet-nightly-react-prod 2021-04-19 09:19:57 +01:00
Sven Grewe
cddbe86481 Translated using Weblate (German)
Currently translated at 100.0% (33 of 33 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/de/
2021-04-18 12:34:25 +00:00
libexus
5e86344293 Translated using Weblate (German)
Currently translated at 100.0% (33 of 33 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/de/
2021-04-18 12:34:25 +00:00
Sagititi
2ffb9e8438 Translated using Weblate (Occitan)
Currently translated at 63.6% (21 of 33 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/oc/
2021-04-18 12:34:23 +00:00
Thai Localization
ed4c6a77d1 Translated using Weblate (Thai)
Currently translated at 48.4% (16 of 33 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/th/
2021-04-18 12:34:22 +00:00
Germain Souquet
84d6dcf498 Revert overzealous ESLint updates 2021-04-16 09:18:32 +01:00
Travis Ralston
e4c9444fe3
Merge pull request #16962 from vector-im/travis/dnd
Labs documentation for DND mode
2021-04-15 08:37:06 -06:00
Germain Souquet
0532c9c37b Use React production for CI builds
When running Nightly build we want to benefit from the fast runtime that React production offers and get rid of the runtime overhead that comes with development.

We are setting NODE_ENV and not "webpack.mode" to not loose sourcemaps and have minified sources in that environment
2021-04-15 15:17:24 +01:00
Germain Souquet
f06eb14c48 Linter recommendations 2021-04-15 15:15:48 +01:00
Germain
1b349023ed
Merge pull request #16965 from vector-im/gsouquet-ignorelist-rename
Rename blackboxing to new option ignore list
2021-04-15 14:08:39 +01:00
Germain
72f987a42b
Rename blackboxing to new option ignore list 2021-04-15 10:57:54 +01:00
Germain
1c18379b5c
Merge pull request #16963 from vector-im/gsouquet-deprecate-velocity
Remove velocity-animate from lockfile
2021-04-15 09:05:54 +01:00
Germain Souquet
325cf2c08b remove velocity animate from lockfile 2021-04-15 08:39:34 +01:00
Travis Ralston
4c96b7826c Labs documentation for DND mode 2021-04-15 00:50:35 -06:00
J. Ryan Stinnett
3228a3abd1 Update security notice
New information came to light after the original report, so this updates the
notice to match the latest details.
2021-04-14 12:43:49 +01:00
Travis Ralston
ddbfab4fc5
Merge pull request #16890 from vector-im/travis/custom-mobile-apps
Add mobile download link configuration
2021-04-13 14:04:33 -06:00
Thai Localization
b744e97fd0 Translated using Weblate (Thai)
Currently translated at 45.4% (15 of 33 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/th/
2021-04-13 08:34:24 +00:00
Travis Ralston
cd7fd24b1a Translated using Weblate (English (United States))
Currently translated at 100.0% (33 of 33 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/en_US/
2021-04-13 08:34:21 +00:00
Travis Ralston
1de7828e4d Write out docs explicitly. 2021-04-12 14:59:56 -06:00
RiotRobot
fb0bc34042 Reset matrix-react-sdk back to develop branch 2021-04-12 15:33:08 +01:00
RiotRobot
f38aedae85 Reset matrix-js-sdk back to develop branch 2021-04-12 15:32:56 +01:00
RiotRobot
ecf41e6fa5 Merge branch 'master' into develop 2021-04-12 15:32:45 +01:00
RiotRobot
643897a204 Merge branch 'develop' of github.com:vector-im/element-web into develop 2021-04-12 15:32:40 +01:00
RiotRobot
0bc5a01228 v1.7.25 2021-04-12 15:29:40 +01:00
RiotRobot
95fb11a2b9 Prepare changelog for v1.7.25 2021-04-12 15:29:40 +01:00
RiotRobot
19748762a5 Upgrade matrix-react-sdk to 3.18.0 2021-04-12 15:27:10 +01:00
RiotRobot
d1d6ef55ff Upgrade matrix-js-sdk to 9.11.0 2021-04-12 15:26:37 +01:00
Qt Resynth
c6e9aba308 Translated using Weblate (English (United States))
Currently translated at 100.0% (33 of 33 strings)

Translation: Element Web/element-web
Translate-URL: https://translate.element.io/projects/element-web/element-web/en_US/
2021-04-10 03:38:23 +00:00