Commit Graph

62554 Commits

Author SHA1 Message Date
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
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 Langley
ea89fe3955 revert modernizr header change 2024-09-06 16:07:10 +01:00
David Langley
aa8d22984e Update shell script 2024-09-06 15:44:43 +01:00
David Langley
69c28ad74f Update license files 2024-09-06 15:44:31 +01: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 Langley
85d5c2aafc Update contributing guidelines, config files and add licence files. 2024-09-06 15:02:58 +01:00
David Baker
bad5edae68 Update lockfile too 2024-09-06 14:58:02 +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
c32994f6f7 Switch react-sdk in package.json too 2024-09-06 12:59:58 +01:00