Michael Telatynski
0899165d9e
Move state update listeners from constructor to componentDidMount ( #28341 )
...
* Move state update listeners from constructor to componentDidMount
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-01 17:39:08 +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
Richard van der Hoff
489bc32674
Remove references to some deprecated js-sdk identifiers ( #12729 )
...
* IKeyBackupInfo -> KeyBackupInfo
* ICryptoCallbacks -> CryptoCallbacks
* IRoomEncryption -> RoomEncryptionEventContent
* MEGOLM_ALGORITHM -> a single local constant
* UserTrustLevel -> UserVerificationStatus
2024-07-04 15:50:07 +00:00
Richard van der Hoff
d36c1b39fd
Clean up some references to internal js-sdk classes ( #12363 )
...
* Fix references to `crypto-api/verification`
This is supposed to be an internal module; use the front door instead.
* `IRecoveryKey` -> `GeneratedSecretStorageKey`
`IRecoveryKey` is just a backwards-compatibility alias for
`GeneratedSecretStorageKey`
* `ISecretStorageKeyInfo` -> `SecretStorage.SecretStorageKeyDescription`
Again, same thing
* `IPassphraseInfo` -> `SecretStorage.PassphraseInfo`
* Remove unused import restriction exceptions
2024-03-22 12:28:13 +00:00
Michael Telatynski
e1cfde0c6e
Migrate more strings to translation keys ( #11694 )
2023-10-03 19:17:26 +01:00
R Midhun Suresh
0518af70ac
Localazy: Convert more strings ( #11675 )
2023-09-28 08:21:30 +01:00
Michael Telatynski
d5cacff6c3
Create more action_*
common strings ( #11438 )
2023-08-23 11:57:22 +01:00
Michael Telatynski
df4a2218d7
Align action_*
strings with Element X project in Localazy ( #11437 )
2023-08-22 20:55:15 +01:00
Michael Telatynski
ac70f7ac9b
Fix instances of double translation and guard translation calls using typescript ( #11443 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-08-22 16:32:05 +01:00
Richard van der Hoff
06fa49a9da
Use new accessors for VerificationRequest
( #11092 )
...
* Switch verification request accessors to go via CryptoApi
part of https://github.com/vector-im/crypto-internal/issues/97
* Update references to `requestVerification`
https://github.com/vector-im/crypto-internal/issues/98
2023-06-16 10:27:56 +00:00
Michael Telatynski
dd46db4817
Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* ( #10988 )
2023-06-15 15:11:49 +01:00
Richard van der Hoff
b9b93264b6
Remove references to VerificationRequest
( #11050 )
...
* Update references to `VerificationRequestEvent`
* Update references to `Phase`
* update references to legacy `PHASE_*` constants
* Replace `request.canAccept` with `canAcceptVerificationRequest`
* Replace `VerificationRequest` with the interface throughout
* Minor strict type fixes
* Add a couple of tests
2023-06-14 14:35:32 +00:00
Michael Telatynski
6a3f59cc76
Make more of the codebase conform to strict types ( #10857 )
2023-05-16 14:25:43 +01:00
Michael Telatynski
f758cbd38a
Make more of the codebase conform to strict types ( #10859 )
2023-05-12 09:49:37 +01:00
Michael Telatynski
f152613f83
Apply strictNullChecks
to src/components/auth/*
( #10484
...
* Apply `strictNullChecks` to `src/components/auth/*`
* fix
* strict types
2023-03-31 09:26:15 +01:00
Michael Telatynski
127a3b667c
Conform more of the codebase to strictNullChecks
( #10350
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Generics ftw
* Iterate
2023-03-10 14:55:06 +00:00
Suguru Hirahara
d3923c0b8a
Capitalization of security key and phrase ( #10158 )
2023-02-14 10:05:58 +00:00
Michael Telatynski
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Michael Telatynski
030b7e90bf
Enable @typescript-eslint/explicit-function-return-type
in /src ( #9788 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
* Enable `@typescript-eslint/explicit-function-return-type` in /src
* Fix types
* tsc strict fixes
* Delint
* Fix test
* Fix bad merge
2023-01-12 13:25:14 +00:00
Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility
on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Michael Telatynski
3c5c2bef6d
Remove Piwik support ( #8835 )
...
* Remove all mentions of Piwik
* Kill off all consumer of the old Piwik Analytics module
* Simplify ModalManager interface
* i18n
* Attempt to fix old e2e tests
* Remove unused component
* Iterate PR
2022-06-14 17:51:51 +01:00
Suguru Hirahara
b5ed051ecc
Use AccessibleButton for 'Reset All' link button on SetupEncryptionBody ( #8730 )
...
- Remove ButtonResetDefault to respect the concept of cascading
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-03 08:07:18 +02:00
Travis Ralston
997d6d40bf
Step 1: Remove all usage of @replaceableComponent
2022-03-28 14:02:31 -06:00
Faye Duxovni
36ae0ea49d
Fix styling on reset button in verification dialog ( #7888 )
2022-02-24 09:31:14 -05:00
Kerry
fed53a268b
A11y - fix anchors-as-buttons ( #7444 )
...
* add link_inline accessiblebutton variant
* valid anchors in SecurityRoomSettingsTab
Signed-off-by: Kerry Archibald <kerrya@element.io>
* new room intro link button
Signed-off-by: Kerry Archibald <kerrya@element.io>
* replace anchor with button in rerequest encryption keys message
Signed-off-by: Kerry Archibald <kerrya@element.io>
* inline button in UrlPreviewSettings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* ButtonResetDefault mixin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* inline link buttons in TextForEvent
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in InviteDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in DevToolsDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in login/registration/reset pword flows
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix types after fixing anchors in devtools
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in MemberEventListSummary
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in ReactionsRow and RoomUpgrade
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in ReplyChain
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix more anchors
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix anchors in auth comps
* stylelint fixes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove ignore of jsx-a11y rule that is not added yet
Signed-off-by: Kerry Archibald <kerrya@element.io>
* devtools style important explainer
Signed-off-by: Kerry Archibald <kerrya@element.io>
* translate button alt in devtools dialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* AccessibleButton is reactionsrow
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix viewsourcevent button placement, use AccessibleButton
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use AccessibleButton in EventTile
Signed-off-by: Kerry Archibald <kerrya@element.io>
* unignore jsx-a11y/anchor-is-valid
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix lint issue in test jsx
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update coment
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-07 10:40:53 +01:00
Faye Duxovni
a4fda7e25d
Consistently use the word "device", rather than "session" or "login", in verification dialog ( #7474 )
2022-01-06 16:57:49 -05:00
Aaron Raimist
7b94e13a84
Merge branch 'develop' into sort-imports
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 08:34:20 +00:00
Faye Duxovni
d61a83a7b9
Remove all directional quotation marks in the codebase ( #7059 )
2021-10-29 21:59:21 -04:00
Faye Duxovni
d88b8efd19
Improve device list in Security & Privacy settings ( #7004 )
...
Overhaul the device list in the "Security and Privacy" settings tab to include device trust status, provide buttons for verifying unverified devices, and improve overall usability and style. This should now be the primary interface for checking and changing the trust status of your own devices, rather than looking at your own user profile in the right panel.
2021-10-29 18:11:39 -04:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:23:37 -05:00
Faye Duxovni
9a16b4636f
Make cross-signing dialog clearer and more context-aware
...
- Don't show loading spinners while waiting for user action
- When checking if there are other devices we can verify against, only
look for devices that are actually cross-signed.
- Adjust displayed options depending on whether other devices and/or
recovery keys exist, and add an option to reset cross-signing keys
if necessary.
- Various minor clarifying adjustments to UI styling/text
Signed-off-by: Faye Duxovni <fayed@element.io>
2021-10-05 00:54:20 -04:00
Dariusz Niemczyk
2d1d42b90e
Globally replace all console.logs via codemod ( #6827 )
...
This commit replaces all the `console.log` to `logger.log` via an automated script.
Related: vector-im/element-web#18425
2021-09-21 09:48:09 -06:00
Michael Telatynski
ce78cdf4ad
Conform to new react and typescript eslint rules
2021-07-19 22:43:11 +01:00
David Baker
086a8cbbb3
Update import location for types
...
Apparently all the types themselves are fine, even though some of
the function signatures have been updated to return Promises... we
were alreaady await-ing on them.
2021-07-07 20:19:52 +01:00
David Baker
c6d1dc7e8e
lint
2021-07-01 15:11:18 +01:00
David Baker
16fb24fa09
Remove unused prop
2021-07-01 14:03:01 +01:00
David Baker
642405dbd0
Use new types
2021-07-01 13:55:57 +01:00
David Baker
70a3679d43
more ts
2021-07-01 13:49:58 +01:00
David Baker
46b2f0404a
Basic ts-ification of SetupEncryptionBody
2021-07-01 13:45:33 +01:00