Commit graph

29708 commits

Author SHA1 Message Date
Jason Robinson
cd836be809 Rename everything HostingSignup -> EMSElementPro
This setup flow ended up quite specific due to all the various moving parts.
2020-12-15 10:50:38 +02:00
Jason Robinson
04bd5f648f Add confirmation dialog before transferring account data 2020-12-11 16:25:22 +02:00
Jason Robinson
518c4c5dc9 HostingSignupDialog now returns requested data in one message 2020-12-11 16:03:18 +02:00
Jason Robinson
31c7c05f2e Convert ConfirmCloseHostingSignupDialog to typescript 2020-12-02 11:12:45 +02:00
Jason Robinson
c03a50e34b
Semiclon
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:51:46 +02:00
Jason Robinson
8f7b012ec1
Interface syntax
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:50:58 +02:00
Jason Robinson
85ce95e066
Interface syntax
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:50:42 +02:00
Jason Robinson
f112f4fcef
Method scoping
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:49:47 +02:00
Jason Robinson
a67ad0750d
Code styling
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:49:04 +02:00
Jason Robinson
cdf8aa13cc Merge branch 'develop' into jaywink/hosting-provider-iframe 2020-11-27 16:01:29 +02:00
Michael Telatynski
e5047e7f83
Merge pull request #5436 from SimonBrandner/feature-change-password-validation
Add live password validation to change password dialog
2020-11-27 14:01:15 +00:00
Šimon Brandner
eb64e5b2af Merge branch 'develop' into feature-change-password-validation 2020-11-27 14:46:08 +01:00
Jason Robinson
ad49dedec3 Document hosting_signup config option in source 2020-11-27 15:10:35 +02:00
Jason Robinson
835e417333 Translate all the strings 2020-11-27 15:10:35 +02:00
Jason Robinson
5ad9b83870 Fix copyright strings 2020-11-27 15:10:35 +02:00
Jason Robinson
94fba82227 Fix hostingSignupIFrame rendering in UserMenu after latest develop changes 2020-11-27 15:10:35 +02:00
Jason Robinson
c818a719bf Try a slightly larger HostingSignupDialog
Make HostingSignupBaseDialog larger
2020-11-27 15:10:35 +02:00
Jason Robinson
2aa36acae0 Change some messageHandler actions
setup_complete does not close the dialog but
just allows marking the setup as completed.

close_dialog closes the dialog immediately.
2020-11-27 15:10:35 +02:00
Richard Lewis
116f109a62 Improve setup initiation link 2020-11-27 15:10:35 +02:00
Jason Robinson
d089eb720f Remove the signup iframe link text from the ProfileSettings.js 2020-11-27 15:10:35 +02:00
Jason Robinson
bdab1faf16 Fix hosting signup dialog height 2020-11-27 15:10:35 +02:00
Jason Robinson
d607999cff Send also domain and user localpart to HostingSignupDialog iframe 2020-11-27 15:10:35 +02:00
Jason Robinson
b3b3f5ebeb Fix HostingSignupDialog layouting inside dialog 2020-11-27 15:10:35 +02:00
Jason Robinson
1e699b7ef3 Enable token request for HostingSignupDialog
Needed for the last part of setup which is triggering
a migration process to the new host.
2020-11-27 15:10:35 +02:00
Jason Robinson
a37e0db3e1 Move HostingSignupDialog to the dialogs folder 2020-11-27 15:10:35 +02:00
Jason Robinson
e6582c140f Dont' allow HostingSignupDialog to close
Except via confirmed cancel action or host setup success postmessage.
2020-11-27 15:10:35 +02:00
Jason Robinson
a1d750a4aa Rename a few things, make hosting signup config an object 2020-11-27 15:10:35 +02:00
Jason Robinson
54b22290e7 Add hosting_signup_domains for controlling which users see the hosting signup dialog 2020-11-27 15:10:35 +02:00
Jason Robinson
48fefa0d3e Implement fetching OpenID token for hosting provider iframe
And then pass it via postMessage when requested.

Send whole OpenID credentials object to Hosting Provider iframe
2020-11-27 15:10:35 +02:00
Jason Robinson
c7706ac3d5 Add possibility for hosting provider IFrame
Add config option hosting_signup_iframe that
will render an action in the UserMenu and ProfileSettings
for setting up a host with some hosting provider
that provides an HTML to do that.

Add iframe for hosting provider signup content
2020-11-27 15:10:35 +02:00
J. Ryan Stinnett
826466179a
Merge pull request #5244 from akissinger/katex
LaTeX rendering in element-web using KaTeX
2020-11-27 11:55:26 +00:00
J. Ryan Stinnett
e64b6b07c9
Merge pull request #5448 from matrix-org/jryans/lifecycle-customisations
Add lifecycle customisation point after logout
2020-11-27 11:45:48 +00:00
J. Ryan Stinnett
25cc4b89b8 Add lifecycle customisation point after logout
This will help specific deployments that need to do something custom here such
as redirect the user or call some API after Element has logged out and cleared
storage.
2020-11-27 11:23:01 +00:00
J. Ryan Stinnett
86b2cd1f82 Use typeof in customisations to avoid repeating 2020-11-27 11:11:11 +00:00
Michael Telatynski
edd5bf5842
Merge pull request #5421 from matrix-org/t3chguy/fix/15700
Simplify UserMenu for Guests as they can't use most of the options
2020-11-27 10:57:54 +00:00
Michael Telatynski
00b1cd01eb Update copy 2020-11-27 09:44:04 +00:00
Aleks Kissinger
79baea9c4a fixed indent 2020-11-26 17:54:11 +00:00
Aleks Kissinger
494ae3e421 parse html for latex rendering inside settings block 2020-11-26 17:45:11 +00:00
Aleks Kissinger
7013483dad UK spelling maths 2020-11-26 17:26:42 +00:00
Aleks Kissinger
dacef10fa6 reverted US translation 2020-11-26 16:22:10 +00:00
Šimon Brandner
acd148d807 Remove nonsense lines 2020-11-26 16:58:34 +01:00
Travis Ralston
6066645207
Merge pull request #5444 from matrix-org/travis/modal-widget-fixes
Fix known issues with modal widgets
2020-11-26 08:00:10 -07:00
Travis Ralston
24f3ecb69a
Merge branch 'develop' into travis/modal-widget-fixes 2020-11-26 08:00:02 -07:00
Travis Ralston
32b7e795f7
Merge pull request #5443 from matrix-org/travis/fix-permissions
Fix existing widgets not having approved capabilities for their function
2020-11-26 07:00:23 -07:00
Travis Ralston
c2cb791f7d Appease the linter 2020-11-25 18:58:30 -07:00
Travis Ralston
fc820c4b1a Construct modal widgets in the same way we do any other widget
Fixes https://github.com/vector-im/element-web/issues/15800
2020-11-25 18:51:27 -07:00
Travis Ralston
51f6205258 Fix modal buttons not being disabled by disabling them
Looks like this was just a missed block of code, but also the important bit.

Fixes https://github.com/vector-im/element-web/issues/15801
2020-11-25 18:48:18 -07:00
Travis Ralston
5da27aed94 Replace the concept of a Widget Security Key with an OIDC state
The security key naming/practice was misguided, so let's call it what it is (a settings key) and abstract away the complexity to a new store.

Fixes https://github.com/vector-im/element-web/issues/15820 while we're here.
2020-11-25 18:39:11 -07:00
Travis Ralston
c91dc55bc1 Make modal widgets static to avoid being destroyed
Fixes https://github.com/vector-im/element-web/issues/15818
2020-11-25 18:35:00 -07:00
Travis Ralston
3780afff7d Fix existing widgets not having approved capabilities for their function
Fixes https://github.com/vector-im/element-web/issues/15827

This also fixes sticker pickers.
2020-11-25 14:40:01 -07:00