Commit Graph

18741 Commits (8a028029eea3a2e0b797ff746823bcd648744317)

Author SHA1 Message Date
Bruno Windels 8a028029ee
Update test/end-to-end-tests/install.sh
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-10-18 12:28:04 +00:00
Bruno Windels 6236909d93
Update test/end-to-end-tests/README.md
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-10-18 12:27:52 +00:00
Bruno Windels 683947e0b7
Update test/end-to-end-tests/README.md
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-10-18 12:27:43 +00:00
Bruno Windels d20b2ee9eb document how to run the e2e tests locally 2019-10-10 16:54:10 +02:00
Bruno Windels 15bbf3a999 fix the lint fix 2019-10-10 12:12:13 +02:00
Bruno Windels 4b9a29cb60 put exec perms back on install script 2019-10-10 11:55:31 +02:00
Bruno Windels 867739e8be switch e2e tests to xlarge queue 2019-10-10 11:45:35 +02:00
Bruno Windels 6f9604992b copyright 2019-10-10 11:42:59 +02:00
Bruno Windels 645a9d836f install static webserver for server symlinked riot on CI 2019-10-10 11:40:04 +02:00
Bruno Windels 2d848bba29 fix lint 2019-10-09 17:57:55 +02:00
Bruno Windels 3e971e4880 provide yarn command to run e2e tests
this assumes the riot-web local dev server is running
2019-10-09 17:38:18 +02:00
Bruno Windels ebc2bba0c3 warn if not installed yet when running e2e tests 2019-10-09 17:37:57 +02:00
Bruno Windels f8358fa4d0 make e2e test safe to run from anywhere 2019-10-09 17:37:41 +02:00
Bruno Windels 59cc36ca65 don't fetch riot/master by default when installing e2e tests 2019-10-09 17:34:40 +02:00
Bruno Windels de21cb24e0 Merge remote-tracking branch 'e2etests/bwindels/use-cider' into bwindels/merge-e2e-tests 2019-10-09 17:12:50 +02:00
Bruno Windels 5b9bfae320 first attempt at running local e2e tests from CI 2019-10-09 17:03:01 +02:00
Bruno Windels cad71913e9 only run riot static server if no riot url has been provided 2019-10-09 16:59:00 +02:00
Bruno Windels ae38e0b357 Merge remote-tracking branch 'e2etests/bwindels/bigmerge' into bwindels/merge-e2e-tests 2019-10-09 16:55:32 +02:00
Bruno Windels ca86969f92 move everything to subfolder to merge into react-sdk 2019-10-09 16:52:48 +02:00
Bruno Windels 6cb9ef7e65 remove editorconfig 2019-10-09 16:51:35 +02:00
J. Ryan Stinnett 4635b1319a
Merge pull request #3533 from matrix-org/jryans/null-client-soft-crash
Unmount React components before stopping the client
2019-10-08 23:23:40 +01:00
J. Ryan Stinnett e81df88ec2
Merge pull request #3532 from matrix-org/jryans/join-soft-crash
Fix soft crash on room join
2019-10-08 23:22:57 +01:00
Bruno Windels 051fd0fd92
Merge pull request #3528 from matrix-org/bwindels/addemailerror
Fix:  Unable to verify email address error
2019-10-08 16:49:51 +00:00
Bruno Windels 8c8b1430e4 fix spelling 2019-10-08 18:39:35 +02:00
Bruno Windels 14bbaae585
Merge pull request #3509 from matrix-org/bwindels/createroomenter
Fix: submit create room dialog when pressing enter
2019-10-08 16:36:05 +00:00
J. Ryan Stinnett 2880ade45c Unmount React components before stopping the client
This fixes an entire class of React soft crashes that can happen when you:

1. Log out, causing the client peg to become `null`
2. Some async process (event handler, timeout, request, etc.) tries to use the
   client in a component before it unmounts, triggering a soft crash
3. Several moments later, the app actually unmounts

With this change, we change the app's view and unmount components first and then
after that we stop the client.

Fixes https://github.com/vector-im/riot-web/issues/11078
2019-10-08 17:10:19 +01:00
J. Ryan Stinnett 1dc2ae007f Fix soft crash on room join
This fixes a soft crash that can happen on room join if you keep the right panel
open (which is the default). The `MainSplit` component was not properly testing
for the edge cases of when the resize container would be mounted.

Fixes https://github.com/vector-im/riot-web/issues/10997
2019-10-08 15:43:57 +01:00
J. Ryan Stinnett f384d4e5c1
Merge pull request #3531 from matrix-org/jryans/cyclic-rageshake
Allow cyclic objects in console logs
2019-10-08 14:41:00 +01:00
J. Ryan Stinnett 538c3795d8 Allow cyclic objects in console logs
This fixes a bug in rageshake handling that would throw an error if you log a
cyclic object, which can be convenient during development.
2019-10-08 14:29:03 +01:00
Bruno Windels 5bcb4b0fb6
Merge pull request #3530 from matrix-org/bwindels/watchemoticonsetting
Fix: watch emoticon autoreplace setting
2019-10-08 12:53:54 +00:00
Bruno Windels 91d593cb71 watch emoticon autoreplace setting 2019-10-08 14:40:10 +02:00
Bruno Windels 15e7559d5b
Merge pull request #3508 from matrix-org/bwindels/redact-all-more-robust
Make "remove recent messages" more robust
2019-10-08 06:58:21 +00:00
Bruno Windels cbeb45abd3 update i18n 2019-10-08 08:56:34 +02:00
Bruno Windels 1ab19be46c also show dialog here
unsure why this code seems duplicated?
2019-10-08 08:54:23 +02:00
Bruno Windels 978866ea96 dont assume id server when verifying phone numbers either 2019-10-08 08:54:23 +02:00
Bruno Windels 040bc5e157 show dialog when server says e-mail hasn't been verified yet
as it's confusing to have nothing happen at all when clicking
continue straight away.
2019-10-08 08:54:21 +02:00
Bruno Windels 48b8044937 don't try to get id server domain when not asked to bind 2019-10-08 08:52:35 +02:00
Bruno Windels 6bb303c381 add singular translation string 2019-10-08 08:46:13 +02:00
Bruno Windels 80ec77a144 dont rely on timeline linkage to find events to redact 2019-10-08 08:46:13 +02:00
David Baker c97d1d5b05
Merge pull request #3527 from matrix-org/dbkr/label_submit_button
Label submit button in UI auth password prompt
2019-10-07 17:48:51 +01:00
David Baker 1dec534493 Label submit button in UI auth password prompt
Fixes https://github.com/vector-im/riot-web/issues/10739
2019-10-07 13:13:30 +01:00
Travis Ralston 9200c55ce0
Merge pull request #3526 from matrix-org/travis/recaptcha-fix
Null-guard the recaptcha setup
2019-10-07 13:05:52 +01:00
Travis Ralston 495513028c Appease the linter 2019-10-07 12:46:14 +01:00
Travis Ralston c547367b62
Merge pull request #3513 from matrix-org/travis/mask-eye
Use a mask instead of an img for "Show image" eye
2019-10-07 12:45:22 +01:00
Travis Ralston afaaa6774e Update i18n 2019-10-07 12:43:30 +01:00
Travis Ralston e841bd5442
Update src/components/views/auth/InteractiveAuthEntryComponents.js
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-10-07 12:43:07 +01:00
Travis Ralston 082ebe636e Null-guard the recaptcha setup
Fixes https://github.com/vector-im/riot-web/issues/11069
2019-10-07 12:36:20 +01:00
David Baker 7d96517139
Merge pull request #3523 from matrix-org/dbkr/rageshake_limit_once
Only limit the rageshake log size in one place
2019-10-07 12:06:30 +01:00
Travis Ralston b091cf1f6d
Merge pull request #3525 from MichaelKohler/fix-constant-name
Rename UPPER_CAMEL_CASE to UPPER_SNAKE_CASE in Coding Style
2019-10-06 09:44:16 -06:00
Michael Kohler 8eb07197cc Rename UPPER_CAMEL_CASE to UPPER_SNAKE_CASE in Coding Style 2019-10-06 13:08:46 +02:00