Commit graph

8296 commits

Author SHA1 Message Date
J. Ryan Stinnett
fb77bcf762 Remove spinner check
We may no longer see a spinner for some login paths with the changes to add a
complete security step.

Part of https://github.com/vector-im/riot-web/issues/11214
2020-01-16 16:07:49 +00:00
Travis Ralston
2652060e38
Merge pull request #11869 from vector-im/travis/jest
Use Jest for tests
2020-01-15 17:18:51 -07:00
Travis Ralston
3fb6b1ed63 Remove excessive sleep now that we're not using chrome 2020-01-15 15:31:08 -07:00
Travis Ralston
5cd54e9f6d Use jsdom 14 instead of 13 2020-01-15 15:30:40 -07:00
Travis Ralston
9ab40af430 Ensure autogenned files are present for tests 2020-01-15 14:52:26 -07:00
Travis Ralston
bcda501864 Replace usages of expect.toStartWith with boolean checks 2020-01-15 14:44:46 -07:00
Travis Ralston
c70d21a92e Force Jest to use exactly one copy of React and ReactDOM 2020-01-15 14:42:16 -07:00
Travis Ralston
5c915f3d02 Add canvas package so COLR check passes in tests
This is required for jsdom to do the right thing.

We also have to bump the jsdom version, but to do that we need an alternative test environment because Jest has it pinned lower.
2020-01-15 14:42:00 -07:00
Travis Ralston
f0dbc85ca5 Mock out browser-request to fix i18n 2020-01-15 14:06:55 -07:00
Travis Ralston
84439cff86 Import the cryptostore from the right place 2020-01-15 14:06:44 -07:00
Travis Ralston
e37da08730 Replace beforeEach with just a cleanLocalstorage call
The rest isn't needed anymore.
2020-01-15 14:06:24 -07:00
Travis Ralston
3c9c0ec447 Leave the language handler setup to the test init scripts 2020-01-15 14:05:55 -07:00
Travis Ralston
161a1342b2 Swap over to Jest, breaking everything 2020-01-15 13:24:19 -07:00
Travis Ralston
ae010ef649 Convert babel config to JS for Jest to pick up 2020-01-15 13:00:11 -07:00
Will Hunt
044720b7e5
Merge pull request #11858 from vector-im/hs/wasm-docker
Support application/wasm in Docker image
2020-01-15 18:02:39 +00:00
Travis Ralston
599b263e22
Merge pull request #11843 from vector-im/travis/sourcemaps
Fix sourcemaps by refactoring the build system
2020-01-15 10:11:39 -07:00
Will Hunt
625c21a8af
@babolivier showed me the way 2020-01-15 17:07:38 +00:00
Half-Shot
d515bad46f Support application/wasm in docker
Signed-off-by: Half-Shot <will@half-shot.uk>
2020-01-15 13:13:03 +00:00
Travis Ralston
f2da98b136 Revert change to electron updater exports 2020-01-14 10:03:24 -07:00
David Baker
ab758d2377
Merge pull request #11850 from vector-im/dbkr/disdable_event_indexing_on_develop
Disable event indexing on develop
2020-01-14 11:10:46 +00:00
David Baker
1a3e5a3c70 Disable event indexing on develop
develop is a web deploy and therefore unlikely to have to node
module available
2020-01-14 11:01:40 +00:00
Travis Ralston
a978a6734f Fix CI tests
There's a bunch of generated files that webpack relies on to work, and Karma works off webpack. To make both happy we've added
a new `build:genfiles` script which takes care of this for us. We also have to install and build our other layers to get the
same effect (like generating the react-sdk's component index, while we still have one).

This commit also fixes all the imports in the tests because they were just wrong. They should have been caught in the ES6ification
earlier, but were missed.
2020-01-13 20:40:00 -07:00
Travis Ralston
3b688aaeb8 Don't run linter on tests for now
We previously ignored this whole directory, and it's a bit of wishful thinking that we'll have these delinted as a result.

Switching to Jest should fix most of the problems anyways, so we can enable the linter when we get there.
2020-01-13 20:37:10 -07:00
Travis Ralston
f73d2bae1f Merge branch 'develop' into travis/sourcemaps 2020-01-13 11:22:47 -07:00
J. Ryan Stinnett
6ce5377747
Merge pull request #11792 from Eothred/develop
Updated blog url
2020-01-13 17:12:29 +00:00
Matthew Hodgson
619cd57bc6 fix the blog url 2020-01-13 16:50:46 +00:00
RiotRobot
d426847f4f Merge branch 'master' into develop 2020-01-13 13:22:11 +00:00
RiotRobot
2574841bf4 v1.5.7 2020-01-13 13:14:12 +00:00
RiotRobot
fd6b6dc597 Prepare changelog for v1.5.7 2020-01-13 13:14:12 +00:00
RiotRobot
54a88a94b7 v1.5.7 2020-01-13 13:12:56 +00:00
RiotRobot
057f78fadc released react-sdk & js-dk 2020-01-13 13:12:29 +00:00
David Baker
b4f210d68f
Merge pull request #11830 from vector-im/dbkr/feature-presence-indicator_rel
Enable and document presence in room list feature flag
2020-01-13 12:41:56 +00:00
J. Ryan Stinnett
2471b803e8 Enable and document presence in room list feature flag
Part of https://github.com/vector-im/riot-web/issues/11799
2020-01-13 12:38:46 +00:00
J. Ryan Stinnett
9e8358dc24
Merge pull request #11829 from vector-im/jryans/feature-presence-indicator
Enable and document presence in room list feature flag
2020-01-13 12:25:10 +00:00
J. Ryan Stinnett
12267159f2 Enable and document presence in room list feature flag
Part of https://github.com/vector-im/riot-web/issues/11799
2020-01-13 11:53: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
David Baker
1b1a8594c0
Merge pull request #11826 from RiotTranslateBot/weblate-riot-web-riot-web
Update from Weblate
2020-01-13 09:41:02 +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
455b7ae347
Merge pull request #11802 from vector-im/travis/sourcemaps-dev
Sourcemaps: develop -> feature branch
2020-01-09 14:09:35 -07:00
Travis Ralston
d877187d5e Remove postinstall script now that it's not needed 2020-01-09 13:43:33 -07:00
Travis Ralston
9bf1c65971 [CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-dev 2020-01-09 13:43:25 -07:00
Travis Ralston
a91bab29ff
Merge pull request #11801 from vector-im/travis/babel7-wp-scripts
Update build scripts for new process
2020-01-09 13:34:09 -07:00
Travis Ralston
929096b3f9
Merge pull request #11712 from vector-im/travis/babel7-wp-wp
Make the webpack config work for us
2020-01-09 13:32:46 -07:00
Travis Ralston
5445f97998
Merge pull request #11810 from besendorf/patch-1
Updates URL for Electron Command Line Switches
2020-01-09 09:50:11 -07:00
besendorf
a6015d46f4
Updates URL for Electron Command Line Switches
old URL is not accessible anymore
2020-01-09 15:48:12 +01:00
Travis Ralston
110b63b816 Fix buildkite pipeline 2020-01-08 16:14:01 -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
Travis Ralston
4482cac9b4 Merge branch 'travis/babel7-wp-wp' into travis/babel7-wp-scripts 2020-01-08 16:08:08 -07:00