Dominik Henneke
65f7545ba5
Bump @matrix-org/react-sdk-module-api from 1.0.0 to 2.0.0 ( #25986 )
2023-08-18 12:03:28 +00:00
Michael Telatynski
ff9d4905d5
Fix export type "Current timeline" to match its behaviour to its name ( #11426 )
...
* Fix export type "Current timeline" to match its behaviour to its name
* Iterate tests
2023-08-18 11:58:58 +00:00
Germain
c026879237
Fix path separator for Windows based systems ( #25997 )
2023-08-18 11:56:07 +01:00
Germain
d9b4e531b0
Allow external assets loading ( #25998 )
2023-08-18 09:45:32 +01:00
Michael Telatynski
062e93a5d2
Tidy and improve dev scripts ( #25978 )
2023-08-18 08:34:56 +01:00
Richard van der Hoff
4a5b686aaa
Update MatrixChat-test to restoreAllMocks after each test ( #11424 )
...
* Update MatrixChat to `restoreAllMocks` after each test
This helps keep tests independent.
* more MatrixChat fixes
2023-08-17 19:06:45 +00:00
Denis Kasak
5aefd4652a
Treat lists with a single empty item as plain text, not Markdown. ( #6833 )
...
* Treat lists with a single empty item as plain text, not Markdown.
This allows users to send simple messages such as `-`, `+`, `*` and
`2021.` without Element Web mangling them into a nonsensical empty list.
As soon as any non-whitespace content is added to the item, it switches
back to treating it as a list of one item.
Fixes vector-im/element-web#7631 .
* Fix type errors.
* Lint.
---------
Co-authored-by: Michael Weimann <michaelw@matrix.org >
Co-authored-by: Johannes Marbach <johannesm@element.io >
2023-08-17 16:37:19 +00:00
Michael Telatynski
96c652ef08
Switch to nested object pluralisation format for i18n files ( #25970 )
2023-08-17 09:37:59 +01:00
Dominik Henneke
33ec7147d6
Pin the action buttons to the bottom of the scrollable dialogs ( #11407 )
...
* Let scrollable dialogs shrink to the size of the content
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
* Pin the action buttons to the bottom of the scrollable dialogs
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
---------
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net >
2023-08-17 07:12:44 +00:00
renovate[bot]
4a91a29d8c
Update dependency eslint-config-prettier to v9 ( #11389 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 04:28:29 +00:00
Michael Telatynski
aee6247ad8
Switch to nested object pluralisation format for i18n files ( #11412 )
2023-08-16 20:08:54 +01:00
Richard van der Hoff
523e691136
MatrixChat-test: stop mocking localStorage ( #11419 )
...
We have a perfectly good localStorage impl; no need to do a half-arsed mock of
it.
2023-08-16 16:28:46 +00:00
Michael Telatynski
6b14ecfdf9
Re-key all |zero-pluralised translations for Localazy compatibility ( #11417 )
...
* Re-key all |zero-pluralised translations for Localazy compatibility
* Add missing interpolation variable
* i18n
* Add test coverage
* Improve coverage
2023-08-16 15:26:21 +00:00
Element Translate Bot
a5107518b5
Translations update from Weblate ( #11418 )
...
Co-authored-by: Jeff Huang <s8321414@gmail.com >
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com >
Co-authored-by: Jozef Gaal <preklady@mayday.sk >
Co-authored-by: Priit Jõerüüt <riot@joeruut.com >
Co-authored-by: Weblate <translate@riot.im >
Co-authored-by: Vri <element@vrifox.cc >
Co-authored-by: Glandos <bugs-github@antipoul.fr >
Co-authored-by: random <dictionary@tutamail.com >
Co-authored-by: waclaw66 <waclaw66@seznam.cz >
Co-authored-by: Linerly <linerly@protonmail.com >
Co-authored-by: Someone <hahahahacker2009@gmail.com >
Co-authored-by: LinAGKar <linus.kardell@gmail.com >
Co-authored-by: Nicholas Winterhalter <gewinum@gmail.com >
Co-authored-by: phardyle <bradney_ccea@aleeas.com >
Co-authored-by: Bubanio85 <brwa.baban@bearingpoint.com >
2023-08-16 15:54:10 +01:00
Michael Telatynski
3828c9f66a
Fix Room Settings > Notifications file upload input being shown superfluously ( #11415 )
2023-08-16 10:55:21 +00:00
Richard van der Hoff
7a6d81c3b8
Update Jest to more recent release ( #11409 )
...
* Update Jest to more recent release
I want to use things like `jest.advanceTimersByTimeAsync`
* more jest updates
* add dep on types/prettier
* fix LegacyRoomHeader-test
* fix MatrixChat-test
* fix RoomView-test
* fix PollHistory-test
* update SidebarUserSettingsTab-test
* fix PipContainer-test
* fix UserOnboardingPage-test
* fix WidgetContextMenu-test.tsx
* Avoid `mockImplementation` for mock `matchMedia` impl
`mockImplementation` is (now) reset by `jest.resetAllMocks` and
`jest.restoreAllMocks`, which we don't really want here.
Fixes `theme-test`
* Move `mediaDevices` mock out of `setupManualMocks`
This doesn't work well in test suites with multiple tests, because the
`mockReturnValue` is reset for subsequent tests.
In any case, having it mocked out automagically is *magical*. Let's make it
opt-in.
* fix FormattingButtons-test.tsx
* fix DeviceListenerTest
* fix RoomTile-test
2023-08-16 10:20:48 +00:00
Germain
f8e1c54768
Remove dead CSS ( #11414 )
2023-08-16 09:23:20 +00:00
Richard van der Hoff
3fda0299a5
Move mediaDevices mock out of setupManualMocks ( #11413 )
...
* Move `mediaDevices` mock out of `setupManualMocks`
This doesn't work well in test suites with multiple tests, because the
`mockReturnValue` is reset for subsequent tests.
In any case, having it mocked out automagically is *magical*. Let's make it
opt-in.
* clarify ts-ignore
2023-08-16 08:29:34 +00:00
Charly Nguyen
d569ba0cfe
Allow managing room knocks ( #11404 )
...
* Allow managing room knocks
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net >
* Apply PR feedback
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net >
* Apply Sonar feedback
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net >
---------
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net >
2023-08-16 08:16:19 +00:00
Richard van der Hoff
4f138ed041
Cypress tests for soft logout ( #11402 )
2023-08-16 07:40:09 +00:00
Germain
373a34c3d1
Create flexbox layout helper ( #11411 )
2023-08-15 17:43:39 +00:00
Michael Telatynski
017fbb3793
Remove redundant makeRegistrationUrl prop ( #25953 )
2023-08-15 16:18:55 +01:00
Michael Telatynski
ad73b0c16e
Switch to importing most things from the main matrix-js-sdk export ( #11406 )
...
* Switch to importing most things from the main matrix-js-sdk export
* fix imports
* Iterate
* Fix tests
2023-08-15 15:00:17 +00:00
Michael Telatynski
0842559fb2
Simplify registration with email validation ( #11398 )
2023-08-15 16:14:53 +01:00
Michael Telatynski
beafe686a9
Wire up more high level read receipt tests ( #11408 )
...
* Improve existing tests
* Wire up more tests
* Wire up more tests
* Wire up more tests
* Wire up more tests
2023-08-15 14:08:53 +00:00
ElementRobot
6bce017823
Reset matrix-js-sdk back to develop branch
2023-08-15 13:38:45 +01:00
ElementRobot
f9b7372883
Reset matrix-react-sdk back to develop branch
2023-08-15 13:38:23 +01:00
ElementRobot
6755448e86
Merge branch 'master' into develop
...
# Conflicts:
# yarn.lock
2023-08-15 13:37:44 +01:00
ElementRobot
9a650bd12a
v1.11.39
v1.11.39
2023-08-15 13:33:32 +01:00
ElementRobot
7dabb3ce9a
Prepare changelog for v1.11.39
2023-08-15 13:33:31 +01:00
ElementRobot
8c33ebfd52
Upgrade matrix-js-sdk to 27.2.0
2023-08-15 13:29:15 +01:00
ElementRobot
70742e0432
Upgrade matrix-react-sdk to 3.78.0
2023-08-15 13:28:41 +01:00
ElementRobot
65b518dfe1
Reset matrix-js-sdk back to develop branch
2023-08-15 13:24:41 +01:00
ElementRobot
789cfec9ed
Resetting package fields for development
2023-08-15 13:24:31 +01:00
ElementRobot
bba980cd8a
Merge branch 'master' into develop
2023-08-15 13:24:27 +01:00
ElementRobot
be24a15a62
v3.78.0
2023-08-15 13:24:19 +01:00
ElementRobot
275c4b1154
Prepare changelog for v3.78.0
2023-08-15 13:24:17 +01:00
ElementRobot
50d1122823
Upgrade matrix-js-sdk to 27.2.0
2023-08-15 13:22:28 +01:00
Michael Telatynski
27d79458da
Remove dead & duplicated code ( #11405 )
...
* Remove dead code
* Make dead code happier
* DRY pickle additional data calculation
* Iterate
2023-08-15 08:43:15 +00:00
Richard van der Hoff
672ad98ec7
Clean up the MatrixChat initSession code ( #11403 )
...
`async` functions are a thing, and they make this much more comprehensible.
2023-08-14 12:52:08 +00:00
Richard van der Hoff
f65c6726c9
Add a cypress test for SSO login ( #11401 )
...
* Allow `startHomeserver` to take an options object
... so that we can add more options
* Add a Cypress test for SSO login
2023-08-14 11:08:12 +00:00
Neeraj Vageele
6f455217d1
correct home server URL ( #11391 )
...
* correct home server URL
* update snapshot
---------
Co-authored-by: Neeraj <neerajv@thirdrocktechkno.com >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2023-08-14 09:08:34 +00:00
Michael Telatynski
d2c6577024
Switch to importing more things from the main js-sdk export ( #11394 )
2023-08-14 08:58:55 +00:00
Michael Telatynski
aa6f27dde2
Update static_analysis.yaml
2023-08-14 09:43:47 +01:00
Travis Ralston
180fcaa70f
Support Matrix 1.1 (drop legacy r0 versions) ( #9819 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2023-08-14 09:25:13 +01:00
renovate[bot]
fb984abf12
Update all non-major dependencies ( #25938 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-14 09:16:12 +01:00
Michael Telatynski
7351c722be
Fix tests for Matrix v1.1 requirement ( #25898 )
2023-08-14 09:07:43 +01:00
Michael Telatynski
f9e79fd5d6
Stabilise Percy snapshot of the user view ( #11399 )
2023-08-14 07:40:02 +00:00
Michael Telatynski
4a9c4198b0
Avoid using state for immutable fields ( #11397 )
2023-08-10 18:30:43 +00:00
Milton Moura
d240f06810
Include non-matching DMs in Spotlight recent conversations when the DM's userId is part of the search API results ( #11374 )
...
* This addresses two issues:
1. Include non-matching DMs in Spotlight suggestions if the userId of the DM is included in the user directory search results
2. The user directory search results order is kept when there is no relevant activity between users, instead of sorting by MXID
* Applying feedback from PR:
1. Updated comments
2. Renamed users to userDirectorySearchResults
3. Makes sure linter is happy
2023-08-10 17:27:24 +00:00