David Langley
69ee8fd96a
Change License: AGPL + Element Commercial ( #28856 )
...
* Add commercial licence and update config files
* Update license in headers
* Revert "Update license in headers"
This reverts commit 7ed7949485 .
* Update only spdx id
* Remove LicenseRef- from package.json
LicenseRef- no longer allowed in npm v3 package.json
This fixes the warning in the logs and failing build check.
2025-01-06 11:18:54 +00:00
Michael Telatynski
db02f26005
Delabs native OIDC support ( #28615 )
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2024-12-20 13:13:41 +00:00
Michael Telatynski
cd7cf86b96
Remove AccountPasswordStore and related flows ( #28750 )
...
* Remove AccountPasswordStore and related flows
As they are no longer needed since MSC3967
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 >
* Improve coverage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Update src/CreateCrossSigning.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update comment
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2024-12-19 11:55:05 +00:00
David Langley
1f5571062e
Mobile registration optimizations and tests ( #62 )
...
* Mobile registration optimizations
- don't autocaptialize or autocorrect on username field
- show each password field in their own row
- improve position of tooltip on mobile so that it's visible
* Use optional prop rather than default prop.
* Redirect to welcome screen if mobile_registration is requested but not enabled in the config.
* autocorrect value should be "off"
* Add unit tests for mobile registration
* Fix test typo
* Fix typo
2024-09-20 11:24:39 +00:00
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
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
Michael Telatynski
090586439f
Preparations for React 18 ( #12860 )
...
* Add missing types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Eagerly add `children` to props in prep for React 18
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Avoid assuming that setState immediately sets `this.state` values
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Add missing context declaration
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Fix UserFriendlyError types to work with React 18
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2024-08-05 07:59:27 +00:00
Michael Telatynski
4941327c78
Avoid using deprecated exports & methods from matrix-js-sdk ( #12359 )
2024-03-25 12:21:02 +00:00
Kerry
5d169afb8a
OIDC: register ( #11727 )
...
* update uses of ValidatedDelegatedAuthConfig to broader OidcClientConfig type
* add OIDC register flow to registration page
* pass prompt param to auth url creation
* update type
* lint
* test registration oidc button
* fix: reference state inside setState
* comment
2023-10-11 21:44:46 +00:00
Michael Telatynski
54c88c57ed
Migrate more strings to translation keys ( #11665 )
2023-09-25 18:12:41 +01:00
Michael Telatynski
1c16eab1cd
Undo Localazy key clobber ( #11630 )
...
* Iterate
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 >
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2023-09-20 11:45:24 +00:00
Michael Telatynski
e9c9377e78
Migrate more strings to translation keys ( #11608 )
2023-09-19 07:17:31 +01:00
Michael Telatynski
8c35abbb04
Migrate more strings to translation keys ( #11601 )
2023-09-13 09:30:56 +01:00
Michael Telatynski
d5cacff6c3
Create more action_* common strings ( #11438 )
2023-08-23 11:57:22 +01:00
Michael Telatynski
99e80dd296
Consume more imports from matrix-js-sdk/src/matrix ( #11449 )
2023-08-23 09:04:25 +00: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
Michael Telatynski
ad73b0c16e
Switch to importing most things from the main matrix-js-sdk export ( #11406 )
...
* Switch to importing most things from the main matrix-js-sdk export
* fix imports
* Iterate
* Fix tests
2023-08-15 15:00:17 +00:00
Michael Telatynski
0842559fb2
Simplify registration with email validation ( #11398 )
2023-08-15 16:14:53 +01:00
Michael Telatynski
c3574c2050
Switch to importing client from main js-sdk export ( #11370 )
2023-08-09 07:18:41 +00:00
Michael Telatynski
8107f1d271
Conform more of the codebase to strict types ( #11191 )
2023-07-05 11:53:22 +01:00
Michael Telatynski
a294ba2ad4
Conform more of the codebase to strictNullChecks + noImplicitAny ( #11179 )
2023-07-04 14:49:27 +01:00
Michael Telatynski
dd46db4817
Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* ( #10988 )
2023-06-15 15:11:49 +01:00
Michael Telatynski
456c66db5b
Conform more of the codebase to strictNullChecks ( #10800 )
2023-05-10 08:41:55 +01:00
Michael Telatynski
1281c0746b
Conform more of the codebase to strictNullChecks ( #10731 )
2023-04-28 09:45:36 +01:00
Michael Telatynski
0a22ed90ef
Consolidate login errors ( #10722 )
2023-04-27 09:05:31 +01:00
Michael Telatynski
605ef084ec
Conform more of the codebase to strictNullChecks ( #10573 )
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
2023-04-13 08:52:57 +01:00
Michael Telatynski
32aa18ff2e
Apply strictNullChecks to src/components/views/auth/* ( #10299
...
* Apply `strictNullChecks` to src/components/views/auth/*
* Iterate PR
2023-03-07 10:45:55 +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
Hugh Nimmo-Smith
d698193196
Implementation of MSC3824 to make the client OIDC-aware ( #8681 )
2023-01-27 11:06:10 +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
590b845f3f
Remove all usages of UNSAFE_* React methods ( #9583 )
2022-11-18 09:22:43 +00:00
Mahdi Bagvand
7c33fc6cf6
fix wrong error message in registration when phone number threepid is in use. ( #9571 )
2022-11-13 16:58:40 +00:00
Michael Telatynski
5f540eb25c
Update types to match js-sdk --strict mode ( #9528 )
...
Co-authored-by: Michael Weimann <michaelw@matrix.org >
2022-11-03 12:50:07 +00:00
Travis Ralston
8d6a67e67d
Fully move auth types to js-sdk ( #9499 )
...
* Fully move auth types to js-sdk
The SSO buttons were the only consumer of these types, so let's just move them. They've been in the js-sdk for a while now, and webpack is screaming about missing exports (because they're all interfaces and types, which don't exist after transpiling).
* Fix the other cases too
2022-10-25 17:00:23 -06:00
Michael Telatynski
d5db131eef
Spike AXE A11Y testing in Cypress ( #9111 )
...
* Spike AXE A11Y testing in Cypress
* Fix NewRoomIntro breaking html/aria list rules
* Fix HeaderButtons breaking aria role semantics rules
* missing type
* Switch left panel from aside to nav and include space panel
* Give the page a main heading of the room name when viewing a room
* Use header landmark on RoomHeader
* Improve aria attributes on composer when autocomplete is closed
* Fix aria-owns on RoomHeader
* Give Spinner an aria role
* Give server picker help button an aria label
* Improve auth aria attributes and semantics
* Improve heading semantics in use case selection screen
* Fix autocomplete attribute to be valid
* Fix heading semantics on login page
* Improve Cypress axe testing
* Add axe tests
* Stop synapse after the timeline tests
* Await spinners to fade before percy snapshotting timeline tests
* Improve naming of plugin
* Update snapshots
* Fix accidental heading change
* Fix double synapse stoppage
* Fix Cypress timeline avatar assertions to be DPI agnostic
* Fix aria attributes on date separators
* delint
* Update snapshots
* Revert style change
* Skip redundant call
2022-08-01 08:31:14 +01:00
Janne Mareike Koschinski
e694e87814
Prevent email verification from overriding existing sessions ( #9075 )
2022-07-22 11:45:26 +02:00
Michael Weimann
742b21ca46
Extract ValidatedServerConfig ( #9054 )
2022-07-14 15:03:34 +02:00
Suguru Hirahara
731776d189
Improve link buttons and inline link buttons styling ( #8238 )
...
* Set padding: 0 to both "link" and "link_inline"
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - _SpotlightDialog.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - JoinRuleSettings
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - _ViewSourceEvent.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - _RoomDirectory.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - _InviteDialog.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - ServerOfflineDialog
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - UpdateCheckButton
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - NonUrgentEchoFailureToast
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant settings - CallView
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove unused styles - _RoomSettingsDialogBridges.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Replace "link" with "link_inline" for inline links
- src/components/structures/UserMenu.tsx
- src/components/views/dialogs/BetaFeedbackDialog.tsx
- src/components/views/dialogs/FeedbackDialog.tsx
- src/components/views/rooms/NewRoomIntro.tsx
- src/components/views/settings/tabs/room/NotificationSettingsTab.tsx
- src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx
- src/components/views/spaces/SpaceCreateMenu.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Replace "link_inline" with "link" for links not inline
- src/async-components/views/dialogs/security/CreateKeyBackupDialog.tsx
- src/async-components/views/dialogs/security/CreateSecretStorageDialog.tsx
- src/components/structures/auth/ForgotPassword.tsx
- src/components/structures/auth/Registration.tsx
- src/components/views/auth/InteractiveAuthEntryComponents.tsx
- src/components/views/dialogs/security/AccessSecretStorageDialog.tsx
- src/components/views/dialogs/security/RestoreKeyBackupDialog.tsx
- src/components/views/messages/TileErrorBoundary.tsx
- src/components/views/messages/ViewSourceEvent.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove a redundant declaration - _SetupEncryptionBody.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove a redundant declaration - _ReplyChain.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove a redundant declaration - _EventTile.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove an obsolete style block - _RoomPreviewCard.scss
The block was transferred from _SpaceRoomView.scss with ec24dc661edb6979ba901936067e5bc731dafa59
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove a redundant declaration - _SecurityUserSettingsTab.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove element='span' - NewRoomIntro.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove redundant declarations - _ServerPicker.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Replace 'link' with 'link_inline' - AnalyticsToast.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2022-06-29 22:37:34 +00:00
Janne Mareike Koschinski
01a3150d44
Automatically log in after registration ( #8654 )
2022-05-20 19:14:17 +02:00
Janne Mareike Koschinski
6d6cfcde11
registration: redesign email verification page ( #8554 )
2022-05-13 14:10:22 +00:00
Christian Paul
1a0af54ccb
Grammar fix: by it's administrator -> by its administrator ( #8467 )
...
* by it's administrator -> by its administrator
* Fix typo in ServerLimitToast: by it's administrator
2022-05-05 03:50:30 +00:00
Yaya Usman
b4da870af1
Patch: "Reloading the registration page should warn about data loss" ( #8377 )
2022-04-29 09:42:40 +00:00
Michael Telatynski
b4bcbb2f30
Fix race in Registration between server change and flows fetch ( #8359 )
2022-04-20 14:04:42 -04:00
Travis Ralston
997d6d40bf
Step 1: Remove all usage of @replaceableComponent
2022-03-28 14:02:31 -06:00
Travis Ralston
aba61fa390
Revert "Support refresh tokens ( #7802 )"
...
This reverts commit 839593412c .
2022-02-16 12:32:38 -07:00