This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "Physics reactivity for collider component updates and order dependenc…" (#10876) This reverts commit 33afb3b. * fix collider reactivity (#10877) * fix collider reactivity * fix tests * optimize * fix duplicate new scene (#10880) * rigidbody initialization quick fix (#10883) * Upload drag drop files MT fix (#10881) * Upload drag drop files MT fix * Array length check * LerpTransform from rigid body uses rigid body instead of scene entity (#10882) * remove old workflows (#10886) * fix rigidbody crash server (#10891) * IR-3561: Magic Link template support for mobile and desktop (#10889) * feat: refactor magic link email template to support desktop and mobile chore: layout template to reuse styles in other templates * Fixed logo link --------- Co-authored-by: Hanzla Mateen <[email protected]> * Fixed bugs in instanceserver connections (#10887) * Fixed bugs in instanceserver connections There were still some bugs surrounding a client connecting to an instanceserver if the instance record for that server no longer existed. updateInstance needed to return false in that situation. This still led to a situation where the client would be stuck trying to authenticate forever. Added a step prior to authentication where the client listens for a message with { instanceReady: true }, which is sent by setupSocketFunctions. If the server isn't ready within 10 seconds, then it returns { instanceReady: false }, and the client will do a new instanceserver provision and hopefully connect properly this time. * make eslint happy --------- Co-authored-by: Josh Field <[email protected]> --------- Co-authored-by: Josh Field <[email protected]> Co-authored-by: Michael Estes <[email protected]> Co-authored-by: Daniel Belmes <[email protected]> Co-authored-by: lucas3900 <[email protected]> Co-authored-by: Kyle Baran <[email protected]> Co-authored-by: José Galván <[email protected]> Co-authored-by: Hanzla Mateen <[email protected]>
- Loading branch information
1 parent
bde4b45
commit 4e57a1c
Showing
7 changed files
with
205 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
//- layout.pug | ||
doctype html | ||
html | ||
head | ||
style. | ||
body{ | ||
font-family: Roboto, Arial; | ||
height: 100%; | ||
width: auto; | ||
background: #fff; | ||
margin: 0; | ||
padding-top: 2.5rem; | ||
} | ||
.container { | ||
width: 75%; | ||
max-width: 75%; | ||
height: auto; | ||
margin: 0 auto; | ||
background: #383650; | ||
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; | ||
padding: 2rem; | ||
padding-bottom: 4rem; | ||
border-radius: 10px; | ||
} | ||
.main { | ||
margin: 0 auto; | ||
max-width: 90%; | ||
} | ||
.header { | ||
padding-bottom: 2rem; | ||
} | ||
.logo{ | ||
display: block; | ||
margin: 0 auto; | ||
heigh: auto; | ||
max-width: 3em; | ||
max-height: 4em; | ||
} | ||
.title-container{ | ||
background: #5045AB; | ||
padding: 2rem; | ||
} | ||
.message-container{ | ||
background: #fff; | ||
padding: 2rem; | ||
} | ||
h1 { | ||
color: #fff; | ||
font-size: 1.8rem; | ||
text-wrap: wrap; | ||
text-overflow: ellipsis; | ||
} | ||
h2 { | ||
color: #918EAD; | ||
} | ||
p { | ||
color: #8f9299; | ||
font-weight: bold; | ||
} | ||
a { | ||
word-wrap: break-word; | ||
} | ||
.link-btn { | ||
width: 96%; | ||
display: inline-block; | ||
background: #5045AB; | ||
text-align: center; | ||
padding: 0.6rem; | ||
border-radius: 5px; | ||
text-decoration: none; | ||
color: #fff !important; | ||
font-weight: bold; | ||
font-size: 1.2rem; | ||
} | ||
body | ||
div(class='container') | ||
.header | ||
img(src=logo, class='logo') | ||
.main | ||
block content |
27 changes: 11 additions & 16 deletions
27
packages/server-core/email-templates/account/magiclink-email.pug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
doctype html | ||
body(style='margin: 0;') | ||
div(style='margin: 0 auto; width:75%;background: #fff;') | ||
div(style='margin-top:40px;height: auto;background: #383650;box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;padding: 4rem; border-radius: 10px;') | ||
.hd(style='padding-bottom:30px') | ||
img(src=logo, style='display: block; margin: 0 auto; max-width: 6em;') | ||
.main | ||
div(style='background: #5045AB;padding: 3rem 4rem 1.5rem 4rem;') | ||
h1(style='font-family: Roboto, Arial; color: #fff;font-size: 1.8rem;') You've Got The Magic Link! | ||
div(style='background: #fff;padding: 2rem;') | ||
h2(style='font-family: Roboto, Arial;color: #918EAD;') Hi 👋! | ||
p(style='font-family: Roboto, Arial;color: #8f9299;font-weight: bold;') You asked us to send you a magic link for quickly signing into your account. | ||
a(href=hashLink, style='font-family: Roboto, Arial;width: 96%;display: inline-block;background: #5045AB;text-align: center;padding: 0.6rem;border-radius: 5px;text-decoration: none;color: #fff;font-weight: bold;font-size: 1.2rem;font-family: Roboto, Arial;') Sign In Now! | ||
div | ||
p(style='color: #8f9299;font-weight: bold;font-family: Roboto, Arial;') Or copy and paste this link into your browser: | ||
a(style='word-wrap: break-word;', href=hashLink) #{hashLink} | ||
extends layout.pug | ||
block content | ||
.title-container | ||
h1 You've Got The Magic Link! | ||
.message-container | ||
h2 Hi 👋! | ||
p You asked us to send you a magic link for quickly signing into your account. | ||
a(href=hashLink class='link-btn') Sign In Now! | ||
div | ||
p Or copy and paste this link into your browser: | ||
a(href=hashLink) #{hashLink} |