Commit Graph

62655 Commits

Author SHA1 Message Date
Šimon Brandner
ee3b9c3310 Improve dead code detection (#22829) 2022-07-25 09:35:48 +00:00
Šimon Brandner
bc30713b5e Use flex-end instead of end (#9094) 2022-07-25 11:14:01 +02:00
Suguru Hirahara
92fce71e39 Align the right edge of info tile lines with normal ones on IRC layout (#9058)
* Apply inline start margin to info event tile line to align the right edge with normal event tile lines

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Rename the variable

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Add a test to check inline start margin

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Rerun CI

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Improve tests a little bit

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-07-25 10:05:32 +01:00
Michael Weimann
c5eaeafe8e Prepare utils for local rooms (#9084)
* Prepare utils for local rooms

* Split up direct-messages module
2022-07-25 10:17:40 +02:00
Kerry
0a8adb6bfe Add e2e tests for pin drop location share (#9081)
* pin drop location test case

* own static location test

* remove unused bots

* lint

* enable labs flag

* remove own location test bc geolocation perms are hard
2022-07-25 08:13:47 +00:00
Šimon Brandner
787ace9dc5 Add Reply in thread button to the right-click message context-menu (#9004) 2022-07-23 12:13:49 +00:00
Eric Eastwood
dfa844a035 Error resistant data dump from TimelinePanel (#9079)
Error resistant data dump from `TimelinePanel` so we still have some data to dump if one of the pieces errors out.

Example error that can happen (as seen in https://github.com/matrix-org/element-web-rageshakes/issues/14197):

```
Uncaught TypeError: Cannot read properties of null (reading 'getEvents')
    at TimelineWindow.getEvents (timeline-window.ts:378:37)
    at TimelinePanel_TimelinePanel.onDumpDebugLogs (TimelinePanel.tsx:434:60)
    at Object.ID_727 (TimelinePanel.tsx:609:22)
    at MatrixDispatcher._invokeCallback (Dispatcher.js:198:1)
    at MatrixDispatcher.dispatch (Dispatcher.js:174:1)
    at sentryWrapped (helpers.js:77:1)
```
2022-07-22 11:38:44 -05:00
Janne Mareike Koschinski
e694e87814 Prevent email verification from overriding existing sessions (#9075) 2022-07-22 11:45:26 +02:00
Yaya Usman
81653cf5fd Merge pull request #9086 from yaya-usman/favouriteMessages_Panel
Starred_Messages_Feature_Contd_II/Outreachy
2022-07-21 18:41:19 +03:00
yaya-usman
a53f7f8302 Merge branch 'develop' of https://github.com/yaya-usman/matrix-react-sdk into favouriteMessages_Panel 2022-07-21 18:16:48 +03:00
grimhilt
35ba389d61 Use "frequently used emojis" for autocompletion in composer (#8998)
Co-authored-by: grimhilt <grimhilt@users.noreply.github.com>
2022-07-21 15:27:11 +02:00
yaya-usman
fa577429a0 eslint error fix 2022-07-21 16:17:36 +03:00
yaya-usman
c5e982f5b0 added the starred item button to the left panel 2022-07-21 15:53:09 +03:00
Hubert Chathi
b3b8e2e0a2 Merge pull request #22906 from uhoreg/olm_3.2.12
bump olm version to match bump in matrix-js-sdk
2022-07-21 08:17:59 -04:00
dependabot[bot]
a6a1e1fffd Bump terser from 4.8.0 to 4.8.1 (#22900) 2022-07-20 16:06:37 +02:00
Hubert Chathi
dd82f4b47d bump olm version to match bump in matrix-js-sdk 2022-07-20 09:21:11 -04:00
Michael Weimann
9edd49818c Prepare room components for local rooms (#9082) 2022-07-20 15:07:06 +02:00
Michael Weimann
c980885d6b Extract RoomStatusBarUnsentMessages (#9080) 2022-07-20 14:41:43 +02:00
Šimon Brandner
dca4b8b291 Fix wrong buttons being used when exploring public rooms (#9062) 2022-07-20 12:48:31 +02:00
Kerry
be0f4a1fe5 add cypress test case for simple poll flow (#9073)
* add cypress test case for simple poll flow

* tidy comments

* actually correct comments

* add polls x thread test

* tweak comments

* pr improvements
2022-07-20 07:56:52 +00:00
Michael Weimann
fa1bff67cf Wire local room logic (#9078)
* Wire local room logic

* Migrate to testling-lib; update test descriptions
2022-07-20 09:26:25 +02:00
Michael Weimann
66f7c9f564 Remove obsolete crypto e2e test scenario (#9077)
It has been replaced by cypress tests
2022-07-19 18:02:38 +02:00
Michael Weimann
2179be299a Update pr-details to 1.2 (#9076) 2022-07-19 15:05:02 +00:00
Travis Ralston
0053f21286 Update lockfile per yarn's decision (#9074) 2022-07-19 07:58:04 +02:00
Kerry
43773e134a dont trigger unread counts for beacon location events (#9071) 2022-07-18 14:23:24 +00:00
Michael Telatynski
42ff9d6dc8 Move Lazy Loading tests from Puppeteer to Cypress (#8982)
* Remove Puppeteer Lazy Loading tests

* Remove Puppeteer Lazy Loading tests

* Remove Puppeteer Lazy Loading tests

* Stash lazy loading cypress tests

* Stash lazy loading cypress tests

* Update cypress-real-events

* Stash offline-less test

* Add offline/online'ing
2022-07-18 13:16:44 +01:00
Kerry
77d8a242af unit test eventTriggersUnreadCount (#9070)
* unit test eventTriggersUnreadCount

* Update test/Unread-test.ts

Co-authored-by: Michael Weimann <michaelw@matrix.org>

Co-authored-by: Michael Weimann <michaelw@matrix.org>
2022-07-18 12:00:56 +00:00
Kat Gerasimova
1519d5672e Update issue automation for the design team (#22879)
The design team would like to see all of their issues on their board for triage now
2022-07-18 10:48:47 +01:00
Kerry
dc6ceb1d1c Live location share - focus on user location on list item click (PSG-609) (#9051)
* extract preventDefaultWrapper into utils

* add click handling to beacon list item

* add click handling to dialog sidebar

* focus in on beacons when clicked in list

* stylelint

* fussy import ordering

* test beacon focusing in beaocnviewdialog
2022-07-18 08:34:39 +00:00
Suguru Hirahara
38a913488f Improve clickability of view source event toggle button (#9068)
* Improve clickability of view source event toggle button

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix compression

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Make it easy to select subsequent events

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-07-18 09:41:01 +02:00
Suguru Hirahara
b90ea87d11 Re-add inline start padding to EventTile_line of GenericEventListSummary (#9063) 2022-07-16 12:15:12 +00:00
Suguru Hirahara
161a333a51 Improve clickability of "collapse" link button on bubble layout (#9037) 2022-07-16 09:31:29 +00:00
Janne Mareike Koschinski
787d4c4135 Merge pull request #22858 from vector-im/justjanne/task/22846-remove-old-room-directory
Disable tests relying on old room directory
2022-07-16 00:52:24 +02:00
Yaya Usman
72afc206d3 Merge pull request #22818 from yaya-usman/feature_favMessages_docs
Add docs for feature_favourite_messages
2022-07-15 23:22:15 +03:00
Yaya Usman
48552c2342 Merge pull request #8842 from yaya-usman/star_feature
Starred_Messages_Feature/Outreachy
2022-07-15 23:18:28 +03:00
yaya-usman
017f489be6 nits fixes 2022-07-15 22:55:11 +03:00
RiotRobot
9518e61eae v1.11.1-rc.2 v1.11.1-rc.2 2022-07-15 15:03:05 +01:00
RiotRobot
dffc6acc1a Prepare changelog for v1.11.1-rc.2 2022-07-15 15:03:05 +01:00
Michael Telatynski
01f4bb8c78 Rename PostCSS files to .pcss (#9013)
* Rename PostCSS files to `.pcss`

* Make Stylelint happy

* Delint

* Rename new files too

* delint

* Fix bad comment placement
2022-07-15 14:53:23 +01:00
Michael Telatynski
64ed6ebdad Rename PostCSS files to .pcss (#22769)
* Rename PostCSS files to `.pcss`

* Make Stylelint happy

* Make Stylelint happy v2

* Update CompatibilityView.tsx

* Update res/css/structures/ErrorView.pcss

Co-authored-by: Michael Weimann <mail@michael-weimann.eu>

* Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/pcss

 Conflicts:
	package.json
	res/css/_components.scss
	res/css/structures/_NotificationPanel.pcss
	res/css/views/dialogs/_SpotlightDialog.pcss
	res/css/views/rooms/_EventTile.pcss
	res/css/views/rooms/_ReadReceiptGroup.pcss
	yarn.lock

* Only use CI_PACKAGE mode on develop, it skips minification which can find some errors

* Keep name to not break existing PRs

Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
2022-07-15 14:53:21 +01:00
RiotRobot
73df4077da Upgrade matrix-react-sdk to 3.49.0-rc.2 2022-07-15 14:51:16 +01:00
RiotRobot
bbf28603ef v3.49.0-rc.2 2022-07-15 14:47:03 +01:00
RiotRobot
5efa58baff Prepare changelog for v3.49.0-rc.2 2022-07-15 14:47:02 +01:00
Janne Mareike Koschinski
85363efba5 Prefer using the canonical alias in spotlight search (#9055) (#9059)
* Prefer using the canonical alias in spotlight search

Public rooms on other homeservers are not joinable via the roomId if they haven't been joined by other users on your homeserver.

* Ensure we call the action with the room_alias

* lint

* Drop display

* Always provide roomId

* Add rationale to room_id, room_alias

* whoops

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

Co-authored-by: Will Hunt <will@half-shot.uk>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-15 13:56:41 +01:00
Will Hunt
7842d5165c Prefer using the canonical alias in spotlight search (#9055)
* Prefer using the canonical alias in spotlight search

Public rooms on other homeservers are not joinable via the roomId if they haven't been joined by other users on your homeserver.

* Ensure we call the action with the room_alias

* lint

* Drop display

* Always provide roomId

* Add rationale to room_id, room_alias

* whoops

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-15 11:22:40 +00:00
Janne Mareike Koschinski
e873e84130 Disable tests relying on old room directory 2022-07-15 12:22:33 +02:00
Michael Weimann
ecda0a1073 Adapt to new ValidatedServerConfig location (#22842) 2022-07-14 15:04:32 +02:00
Michael Weimann
742b21ca46 Extract ValidatedServerConfig (#9054) 2022-07-14 15:03:34 +02:00
ElementRobot
9414af4dca Upgrade dependencies (#22428)
* [create-pull-request] automated change

* Pin postcss-hexrgba as 2.1.0 needs postcss 8

* Bump typescript version

Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-13 17:11:22 +01:00
ElementRobot
7b7181be18 Upgrade dependencies (#8749)
* [create-pull-request] automated change

* Remove conflicting HTMLStyleElement type improvement

* Pin postcss-hexrgba as 2.1.0 needs postcss 8

* Bump typescript version

* Add missing crypto stub

Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-13 17:11:19 +01:00