Skip to content

Various bug fixes for new release.#555

Merged
danieltigse merged 1 commit intoCriptext:masterfrom
jorgeblacio:release_0_21_17
Oct 17, 2019
Merged

Various bug fixes for new release.#555
danieltigse merged 1 commit intoCriptext:masterfrom
jorgeblacio:release_0_21_17

Conversation

@jorgeblacio
Copy link
Copy Markdown
Collaborator

No description provided.

fun addCriptextFooter(body: String): String{
val watermarkString = "<div></div><br><br>Sent with <a href=\"https://goo.gl/qW4Aks\" " +
"style=\"color: rgb(0,145,255)\">Criptext</a> secure email"
val watermarkString = "<div></div><br><br>Sent with <i>Criptext</i> secure email"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
val watermarkString = "<div></div><br><br>Sent with <i>Criptext</i> secure email"
val watermarkString = "<div></div><br><br><i>Sent with Criptext secure email</i>"

<string name="rate_us_message">Si es así, ayúdanos con una calificación. ¡Gracias por tu apoyo!</string>
<string name="rate_us">Calificar</string>
<string name="rate_remind_later">Recordar Luego</string>
<string name="username_is_not_criptext">No es un usuario o dirección de correo de Criptext.</string>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<string name="username_is_not_criptext">No es un usuario o dirección de correo de Criptext.</string>
<string name="username_is_not_criptext">El usuario o dirección de correo no pertenece a Criptext.</string>

fun `validateEmailAddress should return valid if receives a valid address`() {
val address = "[email protected]"
AccountDataValidator.validateEmailAddress(address) `should equal` FormData.Valid(address)
AccountDataValidator.validateUsername(address) `should equal` FormData.Valid(address)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would create another test where validateUsernameOnly fails when an email is passed

@danieltigse danieltigse merged commit 6813197 into Criptext:master Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants