Commit graph

3343 commits

Author SHA1 Message Date
RiotRobot
23608855c6 Merge branch 'master' into develop 2022-03-28 16:28:42 +01:00
RiotRobot
6ceefe2a27 Upgrade matrix-react-sdk to 3.42.1 2022-03-28 16:22:21 +01:00
RiotRobot
33e515608f Upgrade matrix-js-sdk to 16.0.1 2022-03-28 16:21:39 +01:00
RiotRobot
2520d81784 Reset matrix-js-sdk back to develop branch 2022-03-28 16:19:31 +01:00
RiotRobot
7507d4f43d Merge branch 'master' into develop 2022-03-28 16:19:20 +01:00
RiotRobot
eb51ba1d2a Upgrade matrix-js-sdk to 16.0.1 2022-03-28 16:16:39 +01:00
dependabot[bot]
e844938235
Bump minimist from 1.2.5 to 1.2.6 (#8156)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 10:43:59 -06:00
Michael Telatynski
bc01efa124
Improve handling of animated GIF and WEBP images (#8153) 2022-03-25 16:31:40 +00:00
dependabot[bot]
6ae7d60f4a
Bump minimist from 1.2.5 to 1.2.6 (#21561)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 15:23:00 +00:00
Šimon Brandner
3534e9b6ce
Upgrade emojibase and twemoji (#7286)
Co-authored-by: Tulir Asokan <tulir@maunium.net>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-23 17:08:34 +00:00
RiotRobot
ee66e3e127 Upgrade matrix-react-sdk to 3.42.1-rc.1 2022-03-22 21:52:16 +00:00
RiotRobot
5ab6374bc0 Upgrade matrix-js-sdk to 16.0.1-rc.1 2022-03-22 21:51:44 +00:00
RiotRobot
cbb704fb24 Upgrade matrix-js-sdk to 16.0.1-rc.1 2022-03-22 21:46:47 +00:00
Michael Telatynski
7a22682a80
Install typings for escape-html package (#8098) 2022-03-21 17:02:22 +00:00
RiotRobot
1f97bc2325 Reset matrix-react-sdk back to develop branch 2022-03-15 14:46:00 +00:00
RiotRobot
cce4e9e87a Reset matrix-js-sdk back to develop branch 2022-03-15 14:45:32 +00:00
RiotRobot
f74a7a69c7 Upgrade matrix-react-sdk to 3.42.0 2022-03-15 14:37:40 +00:00
RiotRobot
c8d3d1b8a8 Upgrade matrix-js-sdk to 16.0.0 2022-03-15 14:36:43 +00:00
RiotRobot
2778fd135e Reset matrix-js-sdk back to develop branch 2022-03-15 14:34:00 +00:00
RiotRobot
ddb3f57470 Upgrade matrix-js-sdk to 16.0.0 2022-03-15 14:26:48 +00:00
RiotRobot
fb523fcd36 Upgrade matrix-react-sdk to 3.42.0-rc.1 2022-03-08 14:59:30 +00:00
RiotRobot
59eefdbcd8 Upgrade matrix-js-sdk to 16.0.0-rc.1 2022-03-08 14:58:52 +00:00
RiotRobot
6dbcf837e5 Upgrade matrix-js-sdk to 16.0.0-rc.1 2022-03-08 14:53:26 +00:00
Michael Telatynski
6721a7162f
Install types for ua-parser-js (#21277) 2022-03-02 17:52:09 +00:00
Kerry
9a17a61809
add svgr loader for icons (#21248)
* add svgr loader for icons

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fix config, move dep to dev

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add svg types

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add aria-hidden and role=img to svg

Signed-off-by: Kerry Archibald <kerrya@element.io>

* make svgProps explicitly overridable

Signed-off-by: Kerry Archibald <kerrya@element.io>

* role presentatino

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update copyright

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-02 09:14:30 +00:00
RiotRobot
ce7094182d Reset matrix-react-sdk back to develop branch 2022-03-01 12:08:23 +00:00
RiotRobot
46dd44dd70 Upgrade matrix-react-sdk to 3.41.1 2022-03-01 12:00:27 +00:00
RiotRobot
c8127dc4b6 Reset matrix-react-sdk back to develop branch 2022-02-28 17:29:12 +00:00
RiotRobot
a154696962 Reset matrix-js-sdk back to develop branch 2022-02-28 17:28:58 +00:00
RiotRobot
15497a143b Merge branch 'master' into develop 2022-02-28 17:28:44 +00:00
RiotRobot
8c3c8f6daa Upgrade matrix-react-sdk to 3.41.0 2022-02-28 17:21:58 +00:00
RiotRobot
302e7a56cc Upgrade matrix-js-sdk to 15.6.0 2022-02-28 17:21:33 +00:00
RiotRobot
b02d5ecb97 Merge branch 'master' into develop 2022-02-28 17:01:22 +00:00
RiotRobot
9feae296f4 Upgrade matrix-js-sdk to 15.6.0 2022-02-28 16:48:46 +00:00
Michael Telatynski
75e41b4c1c
Basic threads analytics into Posthog MVP (#7871) 2022-02-28 14:11:14 +00:00
dependabot[bot]
db55c75ada
Bump url-parse from 1.5.7 to 1.5.10 (#21231)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 07:48:38 +00:00
Kerry
6e143c313e
eslint to 8.9.0 (#7889)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-24 15:54:06 +01:00
Kerry Archibald
a2b0cf9248 eslint to 8.9.0
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-24 10:27:25 +01:00
RiotRobot
ee0aaf1c33 Upgrade matrix-react-sdk to 3.41.0-rc.1 2022-02-22 13:54:09 +00:00
RiotRobot
d8ce23c767 Upgrade matrix-js-sdk to 15.6.0-rc.1 2022-02-22 13:52:55 +00:00
RiotRobot
a793815aa2 Upgrade matrix-js-sdk to 15.6.0-rc.1 2022-02-22 13:39:33 +00:00
Andy Balaam
eed8db4c26 Bump matrix-events-sdk to 0.0.1-beta.7 (#7837)
* Bump matrix-events-sdk to 0.0.1-beta.7

* Update lockfile
2022-02-22 13:00:03 +00:00
Andy Balaam
213b32bf14
Bump matrix-events-sdk to 0.0.1-beta.7 (#7837)
* Bump matrix-events-sdk to 0.0.1-beta.7

* Update lockfile
2022-02-22 11:54:56 +00:00
Kerry
9db59d75b9
Bump react-focus-lock (#7858)
* react-focus-lock to 2.5.1

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use enzyme in ASSD test so focus lock finds active element

Signed-off-by: Kerry Archibald <kerrya@element.io>

* findById and flushPromises to test utils

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-21 17:09:01 +00:00
Michael Telatynski
38a547b5d0
Remove ResizeObserver Polyfill (#7844) 2022-02-18 13:51:27 +00:00
Michael Telatynski
53f6282a53
Add Modernizr check for ResizeObserver (#21124) 2022-02-18 13:48:50 +00:00
dependabot[bot]
8d0f616ffa
Bump url-parse from 1.5.4 to 1.5.7 (#21116)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.4 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.4...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 20:45:43 +00:00
Michael Telatynski
658590e5bc
More posthog tracking around joining rooms and room search (#7807) 2022-02-17 18:03:27 +00:00
Travis Ralston
aba61fa390 Revert "Support refresh tokens (#7802)"
This reverts commit 839593412c.
2022-02-16 12:32:38 -07:00
Travis Ralston
839593412c
Support refresh tokens (#7802)
MSC: https://github.com/matrix-org/matrix-doc/pull/2918
Fixes https://github.com/vector-im/element-web/issues/18698
Fixes https://github.com/vector-im/element-web/issues/20648
**Requires https://github.com/matrix-org/matrix-js-sdk/pull/2178**

**Note**: There's a lot of logging in this PR. That is intentional to ensure that if/when something goes wrong we can chase the exact code path. It does not log any tokens - just where the code is going. Overall, it should be fairly low volume spam (and can be relaxed at a later date).

----

This approach uses indexeddb (through a mutex library) to manage which tab actually triggers the refresh, preventing issues where multiple tabs try to update the token. If multiple tabs update the token then the server might consider the account hacked and hard logout all the tokens.

If for some reason the timer code gets it wrong, or the user has been offline for too long and the token can't be refreshed, they should be sent to a soft logout screen by the server. This will retain the user's encryption state - they simply need to reauthenticate to get an active access token again.

This additionally contains a change to fix soft logout not working, per the issue links above.

Of interest may be the IPC approach which was ultimately declined in favour of this change instead: https://github.com/matrix-org/matrix-react-sdk/pull/7803
2022-02-15 20:16:49 +00:00