Commit Graph

62566 Commits (8ebfaadeed9d63dae92987c15a959810c1af400e)

Author SHA1 Message Date
Florian Duros 78ed91041b
Merge branch 'develop' into fkwp/enable_ec_on_dev 2024-09-13 15:55:24 +02:00
David Langley a89f61a357 Add error text and title with server name 2024-09-13 14:48:48 +01:00
Florian Duros 804a57c80e
Merge pull request #28049 from element-hq/florianduros/change-react-sdk-repo
Replace `matrix.org/matrix-react-sdk` with `element-hq/matrix-react-sdk` in CI
2024-09-13 13:37:26 +00:00
Florian Duros 4e47537614
Replace `matrix.org/matrix-react-sdk` with `element-hq/matrix-react-sdk` in CI 2024-09-13 15:26:38 +02:00
David Baker 9426fec8c7
Fix timeout type (#40)
In the user profile timezone code, which was failing a ts check.
2024-09-13 13:15:10 +00:00
Michael Telatynski be59791db1
Add support for `org.matrix.cross_signing_reset` UIA stage flow (#34)
* Soften UIA fallback postMessage check to work cross-origin

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Do the same for the SSO UIA flow

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add support for `org.matrix.cross_signing_reset` UIA stage flow

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Check against MessageEvent::source instead

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* i18n

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove protected method

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-09-13 11:49:19 +00:00
Michael Telatynski 8044ce4c01
Fix tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-09-13 12:34:15 +01:00
Hubert Chathi b5058286e0
update test to work with newer Rust crypto (#32) 2024-09-13 11:29:25 +00:00
David Langley 0244aaeb2f use window.dispatchEvent 2024-09-13 12:18:32 +01:00
David Langley a6dec86374 Add mobile registration and dispatch event for mobile postmessage dance 2024-09-13 12:12:04 +01:00
Michael Telatynski a6e98b0b63
Use `strong` over `b` for improved a11y semantics
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-09-13 12:09:41 +01:00
fkwp 7584d58d11 enable Element Call on develop.element.io 2024-09-13 11:13:53 +02:00
Florian Duros 6b384fe9c1
Fix huge usage bandwidth and performance issue of pinned message banner. (#37)
* Return only the first 100 pinned messages

* Execute pinned message 10 by 10
2024-09-13 07:47:22 +00:00
ElementRobot 5740bdbd38
[create-pull-request] automated change (#39)
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
2024-09-13 06:20:25 +00:00
ElementRobot 0e8cd5badd
[create-pull-request] automated change (#38)
Co-authored-by: dbkr <dbkr@users.noreply.github.com>
2024-09-13 06:18:17 +00:00
Will Hunt eae9d9e248
Add timezone to user profile (#20)
* [create-pull-request] automated change (#12966)

Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>

* Add timezone to right panel profile.

* Add setting to publish timezone

* Add string for timezone publish

* Automatically update timezone when setting changes.

* Refactor to using a hook

And automatically refresh the timezone every minute.

* Check for feature support for extended profiles.

* lint

* Add timezone

* Remove unintentional changes

* Use browser default timezone.

* lint

* tweaks

* Set timezone publish at the device level to prevent all devices writing to the timezone field.

* Update hook to use external client.

* Add test for user timezone.

* Update snapshot for preferences tab.

* Hide timezone info if not provided.

* Stablize test

* Fix date test types.

* prettier

* Add timezone tests

* Add test for invalid timezone.

* Update screenshot

* Remove check for profile.

---------

Co-authored-by: ElementRobot <releases@riot.im>
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-09-12 13:18:25 +00:00
Florian Duros f31776378d
Reverse pinned message list (#19) 2024-09-12 12:43:07 +00:00
Michael Telatynski f1a9e080c3
Merge pull request #28040 from element-hq/t3chguy/transparent-logos
Update icons to include transparency
2024-09-12 11:57:35 +00:00
Michael Telatynski 96934a5a8d
Update icons to include transparency
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-09-12 11:57:59 +01:00
ElementRobot 85b4f17a56
[create-pull-request] automated change (#33)
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
2024-09-12 06:21:24 +00:00
David Baker a701e3afd7
Add config option to force verification (#29)
* Add config option to force verification

If this is set, users will not have the option to skip verification
on login (they will still be able to reload and continue unverified,
currently). Default off.

* Test for complete security dialog

* I hadn't set up prettier
2024-09-11 20:55:00 +00:00
David Baker 179ba97543
Merge pull request #28035 from element-hq/dbkr/force_verification
Add doc for 'force_verification config option
2024-09-11 19:59:04 +00:00
Florian Duros 75918f5b18
Reduce pinned message banner size (#28) 2024-09-11 15:44:16 +00:00
Richard van der Hoff 433c14e5a9
Log clearer errors when picklekey goes missing (#27)
* tokens.ts: improve documentation

Improve variable naming and documentation on the methods in `tokens.ts`.

* rename restoreFromLocalStorage

Since the session data isn't actually stored in localstorage, this feels like a
misleading name.

* Lifecycle: bail out if picklekey is missing

Currently, if we have an accesstoken which is encrypted with a picklekey, but
the picklekey has gone missing, we carry on with no access token at all. This
is sure to blow up in some way or other later on, but in a rather cryptic way.

Instead, let's bail out early.

(This will produce a "can't restore session" error, but we normally see one of
those anyway because we can't initialise the crypto store.)
2024-09-11 15:13:04 +00:00
David Baker 227b56a412 Add doc for 'force_verification config option
As per https://github.com/element-hq/matrix-react-sdk/pull/29
2024-09-11 16:01:13 +01:00
David Baker d337fba76e
Add labels file (#21)
* Add labels file

Copied from the old matrix-org react-sdk labels (which weren't
synced from github it seems).

* Add label sync workflow

* Remove labels that are defined in element-meta
2024-09-11 13:17:23 +00:00
Florian Duros 03004a55fd
Change settings to true by default (#25) 2024-09-11 11:16:52 +00:00
David Baker 8822a0b4b7
Merge pull request #28034 from element-hq/dbkr/default_widget_container_height_sample
Fix default_widget_container_height in sample config
2024-09-11 10:13:27 +00:00
Florian Duros 07125f554d
Remove release announcement of new header (#23) 2024-09-11 09:17:44 +00:00
David Baker 3a4e6302ad Fix default_widget_container_height in sample config
The key name was just wrong
2024-09-11 10:14:40 +01:00
ElementRobot ccb1a61f56
[create-pull-request] automated change (#24)
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
2024-09-11 06:21:47 +00:00
RiotRobot 7b19facce1 v1.11.77 2024-09-10 13:03:38 +00:00
RiotRobot e3a4b9ebad Upgrade dependency to matrix-react-sdk@3.109.0 2024-09-10 12:54:54 +00:00
RiotRobot 9520798c7f Upgrade dependency to matrix-js-sdk@34.5.0 2024-09-10 12:32:32 +00:00
Florian Duros 51495e7d07
Remove pinned message list screenshot which are flacky (#17) 2024-09-10 08:51:57 +00:00
ElementRobot 24fe2f239a
[create-pull-request] automated change (#18)
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
2024-09-10 06:21:20 +00:00
David Langley 491f0cd08a
Change license (#13)
* Copyright headers 1

* Licence headers 2

* Copyright Headers 3

* Copyright Headers 4

* Copyright Headers 5

* Copyright Headers 6

* Copyright headers 7

* Add copyright headers for html and config file

* Replace license files and update package.json

* Update with CLA

* lint
2024-09-09 13:57:16 +00:00
David Baker 4382c6721e
Change org to element-hq (#7) 2024-09-09 10:59:23 +00:00
David Baker 8c76fe4765
Merge pull request #28021 from element-hq/dbkr/element-react-sdk-2
Switch react-sdk in package.json too
2024-09-09 10:52:07 +00:00
David Baker 461da98528
Merge pull request #10 from element-hq/dbkr/changelog_repos
Update repos for changelog fetching
2024-09-09 11:21:56 +01:00
David Baker e8c0b65604
Merge branch 'develop' into dbkr/changelog_repos 2024-09-09 11:03:06 +01:00
David Baker 6dd67b3e71
Merge pull request #11 from element-hq/dbkr/update_org_sonar
Update GH org in the sonar config file
2024-09-09 11:02:46 +01:00
David Langley 7b8d9d3313
Merge pull request #28024 from element-hq/langleyd/change_license
Change Licence
2024-09-09 09:30:37 +00:00
David Baker c26ce7a0dd
Merge branch 'develop' into dbkr/changelog_repos 2024-09-09 09:57:32 +01:00
David Baker 3a42d2a2ab
Merge branch 'develop' into dbkr/update_org_sonar 2024-09-09 09:56:30 +01:00
David Baker d4771dd971
Merge pull request #3 from element-hq/dbkr/codeowners
Update codeowners to element-hq teams
2024-09-09 09:53:45 +01:00
ElementRobot 58331fb2d1
Merge pull request #15 from element-hq/actions/localazy-download
Localazy Download
2024-09-09 01:20:24 -05:00
dbkr 0acc7dd540 [create-pull-request] automated change 2024-09-09 06:03:18 +00:00
David Baker 272fd75976
remove meangingless change 2024-09-07 09:43:30 +01:00
David Baker 9fb871c8c5
poke the CI 2024-09-07 09:40:11 +01:00