Commit graph

46542 commits

Author SHA1 Message Date
ElementRobot
117ed038e8 v3.78.0-rc.1 2023-08-08 15:12:11 +01:00
ElementRobot
067c03c501 Prepare changelog for v3.78.0-rc.1 2023-08-08 15:12:09 +01:00
ElementRobot
9b84d32986 Upgrade matrix-js-sdk to 27.2.0-rc.1 2023-08-08 15:10:48 +01:00
Element Translate Bot
b5bfc5be21
Translations update from Weblate (#11380)
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Jan Schönfeld <jan.schoenfeld@tutanota.de>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Peter Scheu <peter.scheu@aceart.de>
Co-authored-by: quickverse <quickverse_qdc@hostux.ninja>
Co-authored-by: raspin0 <marcinekk13@interia.pl>
Co-authored-by: Ch. (Chanwhi Choi) <ccwpc@hanmail.net>
Co-authored-by: revblue <neosurpass@gmail.com>
Co-authored-by: Peter Chen <petercpg@gmail.com>
Co-authored-by: Victor Grousset <victor@tuxayo.net>
2023-08-08 14:49:37 +01:00
Germain
84d196776e
Change formatCount impl to use Intl.NumberFormat (#11379)
* Change formatCount impl to use Intl.NumberFormat

* Update formatCount JSDoc description
2023-08-08 11:45:20 +00:00
Michael Telatynski
033c600fa2
Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
Michael Telatynski
368b6b9355
Switch to importing models/{event-timeline{,set},user,device,event-status} from main js-sdk export (#11368) 2023-08-08 07:16:04 +00:00
Rashmit Pankhania
b08bdf7e0d
Fix "Export chat" not respecting configured time format in plain text mode (#10696)
* #23838 Fix "Export chat" time format in plain text mode

* #23838 Fix import of matrix-js-sdk

* Remove hardcoded locale

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

* Fix test for readability

Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>

* Fix test

Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>

* Fix test

Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>

* Fix test

Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>

* Use dateUtils formatFullDate function

Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>

---------

Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Co-authored-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-07 13:58:45 +00:00
Michael Telatynski
6a14362697
Mark more logs as debug to tidy the console (#11349) 2023-08-07 08:41:39 +00:00
Michael Telatynski
24703eea8f
Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
Michael Telatynski
22ce756f76
Fix some missing 1-count pluralisations around event list summaries (#11371) 2023-08-07 08:24:38 +00:00
Michael Telatynski
9afcf599ba
Fix create subspace dialog not working for public space creation (#11367) 2023-08-07 08:22:03 +00:00
Germain
aab0c9a9e1
Remove feature_right_panel_default_open (#11359)
* Remove feature_right_panel_default_open

* i18n
2023-08-07 08:14:49 +00:00
Michael Telatynski
93b66501f5
Make a11y related lint rules more strict (#11372) 2023-08-07 07:57:12 +00:00
Charly Nguyen
5152aad059
Allow knocking rooms (#11353)
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-08-07 06:27:09 +00:00
Michael Telatynski
e6af09e424
Switch to importing models/room-state & models/room-member from main js-sdk export (#11362)
* Switch to importing TypedEventEmitter from main js-sdk export

* Switch to importing js-sdk/matrix in cypress

* Remove duplicated imports

* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess

* Add lint rule

* Switch to importing models/Room from main js-sdk export

* Switch to importing models/room-state & models/room-member from main js-sdk export

* Fix cypress-axe import

* Fix more imports

* Fix cypress-axe import

* Fix bad merge
2023-08-04 11:22:08 +00:00
RiotRobot
f0d58d25dc Reset matrix-js-sdk back to develop branch 2023-08-04 09:26:06 +01:00
RiotRobot
fd7fbcd5d6 Merge branch 'master' into develop 2023-08-04 09:25:00 +01:00
RiotRobot
fd537cc5f7 v3.77.1 2023-08-04 09:24:44 +01:00
RiotRobot
50a22632ab Prepare changelog for v3.77.1 2023-08-04 09:24:41 +01:00
Michael Telatynski
e67ca33c4a
Switch to importing models/Room from main js-sdk export (#11361)
* Switch to importing TypedEventEmitter from main js-sdk export

* Switch to importing js-sdk/matrix in cypress

* Remove duplicated imports

* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess

* Add lint rule

* Switch to importing models/Room from main js-sdk export

* Fix cypress-axe import

* Fix more imports

* Fix cypress-axe import

* Fix duplicated lint rule
2023-08-04 07:36:16 +00:00
Peter Scheu
5ee8e61bf5
Search for users on paste (#11304)
Signed-off-by: Peter Scheu <peter.scheu@aceart.de>
2023-08-04 07:19:56 +00:00
Andy Balaam
c609829056
Merge pull request #11366 from matrix-org/backport-11365-to-staging
Merge pull request #11365 from matrix-org/andybalaam/revert-to-presence-api
2023-08-04 07:10:22 +01:00
Andy Balaam
a0d994ac59 Merge pull request #11365 from matrix-org/andybalaam/revert-to-presence-api
Revert "Switch to updating presence via /sync calls instead of PUT /presence"

(cherry picked from commit bbab65a4cd)
2023-08-03 17:20:40 +01:00
Travis Ralston
771d7e95e7
Support adding space-restricted joins on rooms not members of those spaces (#9017)
* Support adding space-restricted joins on rooms not members of those spaces

* add react dependencies

* Add snapshot test

* Fix snapshot stability

* Update snapshot

* Increase coverage

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-03 15:56:53 +00:00
Andy Balaam
bbab65a4cd
Merge pull request #11365 from matrix-org/andybalaam/revert-to-presence-api
Revert "Switch to updating presence via /sync calls instead of PUT /presence"
2023-08-03 17:14:03 +01:00
Andy Balaam
6c2ba201a6 Revert "Switch to updating presence via /sync calls instead of PUT /presence"
This reverts commit 7e5739494b1f956d03dc668d2e4431b457e7faa1.
Original PR: https://github.com/matrix-org/matrix-react-sdk/pull/11223
2023-08-03 16:52:37 +01:00
Michael Kaye
f20747b297
Add notes to PR template to make it easier to remeber to set type of PR. (#9866)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-08-03 14:09:10 +00:00
Michael Telatynski
47877ba2da
Switch to importing matrix-js-sdk from its main export (#11360)
* Switch to importing TypedEventEmitter from main js-sdk export

* Switch to importing js-sdk/matrix in cypress

* Remove duplicated imports

* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess

* Add lint rule

* Fix cypress-axe import

* Fix cypress-axe import
2023-08-03 12:56:30 +00:00
Michael Telatynski
44f51fd1cb
Clear requiresClient and show pop-out if widget-api fails to ready (#11321)
* Clear requiresClient and show pop-out if widget-api fails to ready

* Upgrade matrix-widget-api
2023-08-03 10:14:15 +00:00
Michael Telatynski
755f8d7ab0
Fix AppTile context menu not always showing up when it has options (#11358)
* Fix AppTile context menu not always showing up when it has options

* Comment

* Update snapshots
2023-08-03 09:23:20 +00:00
Germain
05b88d99ed
Upgrade compound-web@0.2.3 (#11357)
Because it did not work for production node environments before
2023-08-03 08:49:50 +00:00
Germain
d94808a197
Make room model mandatory on the RoomHeader (#11355)
* Remove oobData from RoomHeader

It is never used as the RoomHeader is not shown unless a Room model exists

* Make room model mandatory on the RoomHeader
2023-08-02 15:29:19 +00:00
Michael Telatynski
40442508de
Re-add typecheck without yarn link (#11338)
* Re-add typecheck without yarn link

* Update static_analysis.yaml
2023-08-02 14:11:50 +00:00
Germain
d49581344e
Integrate @vector-im/compound-web (#11354)
* Create useRoomName hook

Mark RoomName component as deprecated

* Pass out-of-band data to relevant RoomHeader component

* Mark LegacyRoomHeader as deprecated

* Fix incorrect search&replace in _RoomHeader.pcss

* lintfix

* Mark room as optional in room topic hook

* Fix i18n

* Discard use of useCallback

* Change export of useRoomName

* fix ts issue

* lints

* Add room topic to room header

* lintfix

* lintfix & clamp to one line

* Revert optimisations to DecoratedRoomAvatar

* Add test for opening the room summary

* Make transition honour prefer-reduced-motion

* Integrate @vector-im/compound-web

* Use compound type styles

* Use latest version of @vector-im/compound-web

* Change component name

* Fallback when room is undefined

* fix snapshot
2023-08-02 13:03:04 +00:00
Germain
33299af5c9
Add room topic and animation (#11352)
* Create useRoomName hook

Mark RoomName component as deprecated

* Pass out-of-band data to relevant RoomHeader component

* Mark LegacyRoomHeader as deprecated

* Fix incorrect search&replace in _RoomHeader.pcss

* lintfix

* Mark room as optional in room topic hook

* Fix i18n

* Discard use of useCallback

* Change export of useRoomName

* fix ts issue

* lints

* Add room topic to room header

* lintfix

* lintfix & clamp to one line

* Revert optimisations to DecoratedRoomAvatar

* Add test for opening the room summary

* Make transition honour prefer-reduced-motion

* Fallback when room is undefined

* fix snapshot
2023-08-02 10:54:06 +00:00
Michael Telatynski
8166306e0f
Fix clicking on home all rooms space notification not working (#11337)
* Fix clicking on home all rooms space notification not working

* Add test
2023-08-02 09:55:49 +00:00
Michael Telatynski
e6bf67ae8b
Fix joining a suggested room switching space away (#11347) 2023-08-01 19:22:15 +00:00
Michael Telatynski
2f2067e434
Fix home/all rooms context menu in space panel (#11350)
* Fix home/all rooms context menu in space panel

* Fix tests
2023-08-01 15:26:14 +00:00
Germain
5d9f5ccf0b
Create useRoomName hook (#11346)
* Create useRoomName hook

Mark RoomName component as deprecated

* Pass out-of-band data to relevant RoomHeader component

* Mark LegacyRoomHeader as deprecated

* Fix incorrect search&replace in _RoomHeader.pcss

* lintfix

* Fix i18n

* Discard use of useCallback

* Change export of useRoomName

* fix ts issue

* lints
2023-08-01 13:47:09 +00:00
ElementRobot
9026996d9e Reset matrix-js-sdk back to develop branch 2023-08-01 12:40:16 +01:00
ElementRobot
7c34675359 Resetting package fields for development 2023-08-01 12:39:49 +01:00
ElementRobot
7d72a011e3 Merge branch 'master' into develop 2023-08-01 12:39:45 +01:00
ElementRobot
dcd8f9a16f v3.77.0 2023-08-01 12:39:36 +01:00
ElementRobot
8d3799924a Prepare changelog for v3.77.0 2023-08-01 12:39:35 +01:00
ElementRobot
eda8cd88eb Upgrade matrix-js-sdk to 27.1.0 2023-08-01 12:38:11 +01:00
Germain
5ec2c35497
Adjust typography in key part of the app (#11313) 2023-08-01 10:31:21 +00:00
Michael Telatynski
340e301844
Make keyboard handling in and out of autocomplete completions consistent (#11344)
* Make keyboard handling in and out of autocomplete completions consistent

* Add test
2023-08-01 09:06:37 +00:00
Florian Duros
b2eac5b65c
Provide userId parameter to findVerificationRequestDMInProgress (#11292) 2023-08-01 08:18:34 +00:00
Germain
6ae7c033d5
Add feature flag 'feature_new_room_decoration_ui' and segrate legacy UI component (#11345)
* Move RoomHeader to LegacyRoomHeader

* Create new RoomHeader component
2023-08-01 07:32:53 +00:00