diff --git a/electron_app/package.json b/electron_app/package.json index 4d6f9124b..bad87a3fc 100644 --- a/electron_app/package.json +++ b/electron_app/package.json @@ -1,6 +1,6 @@ { "name": "criptext", - "version": "0.8.2", + "version": "0.9.0", "author": { "name": "Criptext Inc.", "email": "info@criptext.com", diff --git a/email_login/src/utils/RegexUtils.js b/email_login/src/utils/RegexUtils.js index 7f692c92b..fa5143535 100644 --- a/email_login/src/utils/RegexUtils.js +++ b/email_login/src/utils/RegexUtils.js @@ -1 +1 @@ -export const usernameRegex = /^[a-z][a-z0-9._-]*[a-z0-9]+$/; +export const usernameRegex = /(?=^([a-z0-9]([._-]{0,2}[a-z0-9])+)$)(?:^.{3,64}$)/; diff --git a/email_mailbox/package.json b/email_mailbox/package.json index 2e9cc7be6..d558a57cf 100644 --- a/email_mailbox/package.json +++ b/email_mailbox/package.json @@ -1,6 +1,6 @@ { "name": "email_mailbox", - "version": "0.8.2", + "version": "0.9.0", "private": true, "dependencies": { "animejs": "^2.2.0", diff --git a/email_mailbox/src/components/PanelWrapper.js b/email_mailbox/src/components/PanelWrapper.js index c6c81e459..5f670d5f3 100644 --- a/email_mailbox/src/components/PanelWrapper.js +++ b/email_mailbox/src/components/PanelWrapper.js @@ -138,7 +138,7 @@ class PanelWrapper extends Component { if (isNewEmailInMailbox && isRenderingMailbox) { props.onLoadThreads({ labelId: Number(currentLabelId), - limit: props.threadsCount + 1 + clear: true }); } if (isRenderingThread) {