Commit Graph

48399 Commits

Author SHA1 Message Date
Kegan Dougal
7662b990a3 Drop initial room load from 20 per list to 10 2024-09-18 12:02:59 +01:00
Kegan Dougal
7621fe2682 User bumpStamp if it is present 2024-09-17 12:11:25 +01:00
Kegan Dougal
0b142b496d Remove SS code related to registering lists and managing ranges
- Update the spidering code to spider all the relevant lists.
- Add canonical alias to the required_state to allow room name calcs to work.

Room sort order is busted because we don't yet look at `bump_stamp`.
2024-09-17 11:52:55 +01:00
Kegan Dougal
be76852529 Dont' filter by space as synapse doesn't support it 2024-09-16 16:31:35 +01:00
Kegan Dougal
ee85f73ad1 Control the race condition when swapping between rooms 2024-09-16 15:10:26 +01:00
Kegan Dougal
8325c5934d Debug logging 2024-09-16 09:34:14 +01:00
Kegan Dougal
797ef2d053 Merge branch 'develop' into dbkr/sss 2024-09-16 08:10:33 +01:00
Kegan Dougal
48eec705ec Linting 2024-09-13 14:54:02 +01:00
Kegan Dougal
194362a487 Remove well-known proxy URL lookup; always use native
This is actually required for SSS because otherwise it would use
the proxy over native support.
2024-09-13 14:33:29 +01: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
Kegan Dougal
7fbac10490 Adjust tests to use new behaviour 2024-09-13 13:45:40 +01: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
Hubert Chathi
b5058286e0
update test to work with newer Rust crypto (#32) 2024-09-13 11:29:25 +00: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
David Baker
df7bb61a5b Experimental SSS
Working branch to get SSS functional on element-web.

Requires https://github.com/matrix-org/matrix-js-sdk/pull/4400
2024-09-12 14:42:27 +01: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
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
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
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
Florian Duros
07125f554d
Remove release announcement of new header (#23) 2024-09-11 09:17:44 +00: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
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
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 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
ElementRobot
caa6f26e3b
Merge pull request #14 from element-hq/actions/playwright-image-updates
Playwright Docker image updates
2024-09-07 01:21:20 -05:00
dbkr
92b3eb5427 [create-pull-request] automated change 2024-09-07 06:05:10 +00:00
David Baker
deeeffa104 Update project key too
because for reasons known only to sonar, they're not namespaced per-org
2024-09-06 15:40:27 +01:00
David Baker
35f96b47a1 Update GH org in the sonar config file 2024-09-06 15:26:21 +01:00
David Baker
9601be583b Update tests 2024-09-06 14:16:25 +01:00
David Baker
f8da257769 Update repos for changelog fetching 2024-09-06 14:08:23 +01:00
David Baker
774222f74b Update codeowners to element-hq teams 2024-09-06 11:22:50 +01:00
ElementRobot
78059e1ca6
Merge pull request #1 from element-hq/actions/playwright-image-updates
Playwright Docker image updates
2024-09-06 04:38:42 -05:00
dbkr
eb14223e21 [create-pull-request] automated change 2024-09-06 09:38:36 +00:00