Commit Graph

62655 Commits

Author SHA1 Message Date
Robin
461bd8c572 Update matrix-widget-api to 1.1.1 (#23236)
* Update matrix-widget-api to 1.1.0

* Upgrade matrix-widget-api to 1.1.1
2022-09-14 14:18:21 +00:00
Robin
1617ab45db Fix the lockfile (#23278) 2022-09-14 14:42:42 +01:00
Michael Telatynski
216059c2e5 Update dockerhub.yaml (#23267) 2022-09-14 14:10:12 +01:00
Kerry
f20d86b7b8 Device manager - logout current session (PSG-743) (#9275)
* trigger verification of other devices

* add sign out of current device section in device details

* fix classname

* lint

* strict type fix

* fix test

* improve mocked VerifReq
2022-09-14 14:37:36 +02:00
Michael Weimann
41960b164b Fix unknonw div props in context menu (#9277) 2022-09-14 14:05:38 +02:00
Michael Telatynski
eace4d6894 Update image-media.ts (#9276) 2022-09-14 12:00:54 +01:00
Kerry
4623d84dd0 Device manager - verify other devices (PSG-724) (#9274)
* trigger verification of other devices

* tests

* fix strict errors

* add types
2022-09-14 10:40:26 +00:00
Dirk Klimpel
60157fffe2 Explain to load different configs depending on the domain in config.md (#23266) 2022-09-14 06:35:12 +00:00
David Baker
236ca2e494 Add missed removeListener (#9273) 2022-09-13 18:50:31 +00:00
Justin Carlson
348a006c6b Allow integration managers to remove users (#9211)
* Add kick action to Scalar Messaging API

* Fix docs

* Fix membership check

* Update style

* Update i18n

* Add e2e tests

* Fix test flakiness

* Fix variable type

* Check for when bot has joined

* Add missing semicolon

* Not a real token

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Improve test description

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Look for room kick message instead of checking room state

* Expand event summaries before checking for message

Co-authored-by: Travis Ralston <travisr@matrix.org>
Co-authored-by: Travis Ralston <travpc@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-09-13 08:59:04 -06:00
Michael Telatynski
b1cecccb57 Fix thumbnail generation when offscreen canvas fails (#9272) 2022-09-13 13:34:35 +01:00
RiotRobot
6e2f66987c Merge branch 'master' into develop
# Conflicts:
#	package.json
2022-09-13 13:11:15 +01:00
RiotRobot
75116b3361 v1.11.5 v1.11.5 2022-09-13 13:05:08 +01:00
RiotRobot
a5e00ae57c Prepare changelog for v1.11.5 2022-09-13 13:05:08 +01:00
RiotRobot
f5ffd4dd77 Upgrade matrix-react-sdk to 3.54.0 2022-09-13 13:03:03 +01:00
RiotRobot
226e189c4a Upgrade matrix-js-sdk to 19.5.0 2022-09-13 13:02:26 +01:00
RiotRobot
f67b8d0d32 Reset matrix-js-sdk back to develop branch 2022-09-13 12:48:49 +01:00
RiotRobot
4e3896040f Resetting package fields for development 2022-09-13 12:48:39 +01:00
RiotRobot
65a74c77aa Merge branch 'master' into develop 2022-09-13 12:48:35 +01:00
RiotRobot
68b3fd78c2 v3.54.0 2022-09-13 12:48:20 +01:00
RiotRobot
5f94138597 Prepare changelog for v3.54.0 2022-09-13 12:48:19 +01:00
RiotRobot
a1ab983e91 Upgrade matrix-js-sdk to 19.5.0 2022-09-13 12:46:37 +01:00
Michael Telatynski
6be85e7146 Prevent sliding sync from showing a room under multiple sublists (#9266)
* Prevent sliding sync from showing a room under multiple sublists

* Add tests

(cherry picked from commit 96656e4e17)
2022-09-12 16:16:37 +00:00
Šimon Brandner
28a418dd2a Remove support for unstable private read receipts (#9225) 2022-09-12 18:04:16 +02:00
Michael Telatynski
e52ef4522d Fix tile crash around tooltipify links (#9270) 2022-09-12 15:28:22 +01:00
Kerry
d69393a3aa Device manager - filter out nulled metadatas in device tile properly (PSG-703) (#9251)
* filter out nulled metadatas in device tile properly

* remove log
2022-09-12 11:06:12 +00:00
Michael Telatynski
0ab476b828 Upgrade @types (#9261)
* Upgrade @types

* Make typescript happier
2022-09-12 11:58:05 +01:00
kegsay
a9f04514fb bugfix: fix a sliding sync bug which could cause rooms to loop (#9268)
* bugfix: fix a sliding sync bug which could cause rooms to loop

With a Jest regression test.

* Linting
2022-09-12 10:55:46 +00:00
Michael Telatynski
c365949e85 Update cypress.yaml (#9269) 2022-09-12 10:17:44 +01:00
ElementRobot
9d0c3faa40 Fix issue with quiet zone around QR code (#9243) (#9257)
(cherry picked from commit b651b1c0c5)

Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
2022-09-12 09:09:05 +01:00
renovate[bot]
665f532301 Update all (#23223)
* Update all

* Upgrade @types

* Update lockfile

* Make typescript happier

* Make webpack happier, pin postcss-hexrgba

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-09-09 21:03:46 -06:00
Michael Telatynski
e3b13eb97c Update commit status earlier in cypress workflow_run (#9263) 2022-09-08 23:05:05 +00:00
Michael Telatynski
d87f4b0336 Revert "Add tests"
This reverts commit 96656e4e17.
2022-09-08 18:15:34 +01:00
Michael Telatynski
96656e4e17 Add tests 2022-09-08 18:13:03 +01:00
Kerry
61904778f5 Device manager - add verify current session button (PSG-527) (#9252)
* add verify current session button

* i18n

* strict type issues
2022-09-08 17:35:53 +02:00
Matthew Hodgson
8bc03aabba remove the grey gradient on images in bubbles in the timeline (#9241)
* remove the grey gradient on images in the timeline

given we now show timestamps with a nice lozenge overlay,
so the gradient is unnecessary and just screws up the image.

fixes https://github.com/vector-im/element-web/issues/21651

* put a lozenge on the timestamp rather than evil gradient
2022-09-08 15:54:35 +01:00
Matthew Hodgson
eb97b9674c add NotifPanel dot back. (#9242)
partially fixes https://github.com/vector-im/element-web/issues/17641
provides a dot, but not a badge. fixes chronic bug 87.
2022-09-08 15:53:57 +01:00
Michael Telatynski
52fc8ff255 Fix html export not including images (#9260)
* Fix html export not including images

* Respect showPlaceholder

* Add tests
2022-09-08 10:00:58 +00:00
Michael Telatynski
638175b7d7 Update cypress.yaml (#9262) 2022-09-08 10:05:43 +01:00
Michael Telatynski
9050ae4bb7 Fix possible soft crash from a race condition in space hierarchies (#9254)
* Fix possible soft crash from a race condition in space hierarchies

* Improve typing
2022-09-08 08:17:55 +00:00
Janne Mareike Koschinski
851606c7ed Disable all types of autocorrect, -complete, -capitalize, etc on Spotlight's search field (#9259) 2022-09-08 07:44:45 +00:00
Michael Telatynski
c76cc9aee1 Handle M_INVALID_USERNAME on /register/available (#9237)
* Handle M_INVALID_USERNAME on /register/available

* Add tests

* Make typescript check happier
2022-09-07 21:47:20 +00:00
Travis Ralston
db3ca10c91 Upgrade postcss-scss (#23229)
* Upgrade postcss-scss

The version conflict with the react-sdk can cause issues.

* Upgrade mini-css-extract-plugin too

* Actually add postcss as a dependency
2022-09-07 09:44:26 -06:00
kegsay
a215027c6b Implement MSC3575: Sliding Sync (#8328)
* Add labs flag for sliding sync; add sliding_sync_proxy_url to config.json

* Disable the labs toggle if sliding_sync_proxy_url is not set

* Do validation checks on the sliding sync proxy URL before enabling it in Labs

* Enable sliding sync and add SlidingSyncManager

* Get room subscriptions working

* Hijack renderSublists in sliding sync mode

* Add support for sorting alphabetically/recency and room name filters

* Filter out tombstoned rooms; start adding show more logic

list ranges update but the UI doesn't

* update the UI when the list is updated

* bugfix: make sure the list sorts numerically

* Get invites transitioning correctly

* Force enable sliding sync and labs for now

* Linting

* Disable spotlight search

* Initial cypress plugins for Sliding Sync Proxy

* Use --rm when running Synapse in Docker for Cypress tests

* Update src/MatrixClientPeg.ts

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Update src/components/views/rooms/RoomSublist.tsx

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Update src/settings/controllers/SlidingSyncController.ts

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Update src/components/views/rooms/RoomSublist.tsx

Co-authored-by: Travis Ralston <travisr@matrix.org>

* WIP add room searching to spotlight search

* Only read sliding sync results when there is a result, else use the local cache

* Use feature_sliding_sync not slidingSync

* Some review comments

* More review comments

* Use RoomViewStore to set room subscriptions

* Comment why any

* Update src/components/views/rooms/RoomSublist.tsx

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix cypress docker abstraction

* Iterate sliding sync proxy support

* Stash mostly functional test

* Update sliding sync proxy image

* i18n

* Add support for spaces; use list ID -> index mappings

- Mappings are more reusable and easier to understand than
  racing for index positions.
- Register for all spaces immediately on startup.

* When the active space is updated, update the list registration

* Set spaces filter in the correct place

* Skeleton placeholder whilst loading the space

* Filter out spaces from the room list

* Use the new txn_id promises

* Ensure we actually resolve list registrations

* Fix matrix-org/sliding-sync#30: don't show tombstoned search results

* Remove unused imports

* Add SYNCV3_SECRET to proxy to ensure it starts up; correct aliases for SS test

* Add another basic sliding sync e2e test

* Unbreak netlify

* Add more logging for debugging duplicate rooms

* If sliding sync is enabled, always use the rooms result even if it's empty

* Drop-in copy of RoomListStore for sliding sync

* Remove conditionals from RoomListStore - we have SlidingRoomListStore now

* WIP SlidingRoomListStore

* Add most sliding sync logic to SlidingRoomListStore

Still lots of logic in RoomSublist. Broken things:
 - Join count is wrong completely.
 - No skeleton placeholder when switching spaces.

* Migrate joined count to SS RLS

* Reinstate the skeleton UI when the list is loading

* linting

* Add support for sticky rooms based on the currently active room

* Add a bunch of passing SS E2E tests; some WIP

* Unbreak build from git merge

* Suppress unread indicators in sliding sync mode

* Add regression test for https://github.com/matrix-org/sliding-sync/issues/28

* Add invite test flows; show the invite list

The refactor to SS RLS removed the invite list entirely.

* Remove show more click as it wasn't the bug

* Linting and i18n

* only enable SS by default on netlify

* Jest fixes; merge conflict fixes; remove debug logging; use right sort enum values

* Actually fix jest tests

* Add support for favourites and low priority

* Bump sliding sync version

* Update sliding sync labs to be user configurable

* delint

* To disable SS or change proxy URL the user has to log out

* Review comments

* Linting

* Apply suggestions from code review

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Update src/stores/room-list/SlidingRoomListStore.ts

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Review comments

* Add issue link for TODO markers

* Linting

* Apply suggestions from code review

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* More review comments

* More review comments

* stricter types

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-09-07 15:42:39 +00:00
Michael Telatynski
5bdae150fa Tweak backport labels (#9258) 2022-09-07 14:15:03 +00:00
Michael Telatynski
4be1d85522 Update cypress.yaml 2022-09-07 13:12:03 +01:00
Michael Telatynski
06540633fc Update cypress.yaml 2022-09-07 12:58:27 +01:00
Michael Telatynski
f9ee80d314 Tweak backport labels (#23233) 2022-09-07 11:50:05 +00:00
Michael Telatynski
56326c75f1 Run Cypress in parallel (#9010)
* Update cypress.yaml

* Update cypress.yaml

* Make percy parallel-compatible

* Add PERCY_PARALLEL_NONCE

* Update cypress.yaml

* Merge performance measurement files
2022-09-07 12:48:37 +01:00
Janne Mareike Koschinski
b651b1c0c5 Fix issue with quiet zone around QR code (#9243) 2022-09-07 13:11:40 +02:00