Commit Graph

48385 Commits

Author SHA1 Message Date
David Langley
a89f61a357 Add error text and title with server name 2024-09-13 14:48:48 +01: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
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
David Baker
33791cab2d
Merge pull request #12965 from matrix-org/florianduros/pinned-messages/analytics-event
Add analytics event for pinned messages
2024-09-05 16:27:56 +01:00
Florian Duros
08d1b6ceae
Add analytics event for pinned messages 2024-09-05 16:56:18 +02:00
Florian Duros
bce710e34e
Upgrade @matrix-org/analytics-events to 0.25.0 2024-09-05 16:54:34 +02:00
Florian Duros
5bfbca9eb0
Migrate all pinning checks and actions into PinningUtils (#12964) 2024-09-05 14:37:24 +00:00
renovate[bot]
26399237f6
Update browserslist (#12953)
* Update browserslist

* Increment version in user-agent string

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2024-09-05 14:32:02 +00:00
Richard van der Hoff
649074273e
Log phases in the verification process (#12963)
When the EncryptionPanel (which does the work of the verification flow) changes
"phase", log it. I hope this will be helpful when diagnosing stuck
verifications.
2024-09-05 09:34:39 +00:00
Sahil Silare
cdffbdb81a
Add error handling for room publish toggle (#12941)
* feat: added error handling for room publish toggle

* chore: fixed the messages and removed `console.log`

* chore: added minor comment that was removed

* fix: addressed review comments

* fix: fixed linting
2024-09-05 09:01:10 +00:00
Florian Duros
1e3320da1e
Pinned message list: prevent sender name to overflow pinned event tile (#12947)
* Prevent sender name to overflow pinned event tile

* Add tooltip to display the sender name
2024-09-04 09:45:18 +00:00
Florian Duros
ab1e28bfea
Compute with of content of pinned event tile (#12951) 2024-09-04 09:07:53 +00:00
Florian Duros
60fe70b3cc
Add a prefix to file, poll, image, video and audio in the pinned message banner (#12950)
* Move event preview to its own component

* Remove unused parameter

* Add prefix to file, audio, video and image in the pinned message banner

* Add prefix to poll in the pinned message banner

* Add tests
2024-09-04 09:07:19 +00:00
renovate[bot]
9d8c5b6a1c
Update dependency @testing-library/jest-dom to v6.5.0 (#12957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:36:25 +00:00
renovate[bot]
dbc8c9f5b1
Update peter-evans/create-pull-request action to v7 (#12960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:35:44 +00:00
renovate[bot]
33404e42fd
Update stylelint (#12958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:35:18 +00:00
renovate[bot]
df82c8a84f
Update dependency @sentry/browser to v8.27.0 (#12956)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:21:20 +00:00