-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[0.0.21] Signup Email + Bug Fixes (#139)
* copy regarding alpha in ios only * iOS issues * signup bug fixes, standardizing secure text inputs, drafting step-email, colour clean up * more drafting of email step in signup process * adding global alerts provider with empty scaffold, color cleanup * dynamically add signup steps based on homeserver * fixing regex and email validation errors * properly sending email verficiation, drafting email verification waiting screen * email verification now works with matrix.org * allow manual check for verfication from server * cleanup and signup on auth state change bug * adding back on login view * adding read receipts * more intro flow UI touchups
- Loading branch information
Showing
63 changed files
with
1,958 additions
and
958 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 +1 @@ | ||
58eeeb327edd86c20605308dcccf607d | ||
211ec0c685daabf82f10bc1ab4a21d76 |
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 was deleted.
Oops, something went wrong.
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,45 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
/** | ||
* British localization because | ||
* google monopolized the namespaces | ||
*/ | ||
class Colours { | ||
static const cyanSyphon = 0xff34C7B5; | ||
static const cyanSyphonAlpha = 0xAA34C7B5; | ||
|
||
static const blueBubbly = 0xff4476CC; | ||
|
||
static const greyEnabled = 0xffFAFAFA; | ||
static const greyDisabled = 0xffD8D8D8; | ||
static const greyDark = 0xff4D5767; | ||
static const greyBubble = 0xffEEEEEE; | ||
|
||
static const blackDefault = 0xff121212; | ||
static const greyDefault = 0xFF9E9E9E; | ||
static const whiteDefault = 0xffFEFEFE; | ||
|
||
// Material colors at shades of 700 | ||
static const chatRed = 0xFFC62828; | ||
static const chatOrange = 0xFFF57C00; | ||
static const chatPurple = 0xFF7B1FA2; | ||
static const chatGreen = 0xFF388E3C; | ||
static const chatMagenta = 0xFFC2185B; | ||
static const chatTeal = 0xFF00796B; | ||
static const chatBlue = 0xFF1976D2; | ||
|
||
static const chatColors = [ | ||
Color(Colours.chatRed), | ||
Color(Colours.chatOrange), | ||
Color(Colours.chatPurple), | ||
Color(Colours.chatTeal), | ||
Color(Colours.chatMagenta), | ||
Color(Colours.chatGreen), | ||
Color(Colours.chatBlue), | ||
]; | ||
} | ||
|
||
Color hashedColor(String hashable) { | ||
int hash = hashable.codeUnits.reduce((value, element) => value + element); | ||
return Colours.chatColors[hash % Colours.chatColors.length]; | ||
} |
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
class MatrixErrors { | ||
static const String room_unknown = 'M_UNKNOWN'; | ||
static const String not_authorized = 'M_UNAUTHORIZED'; | ||
static const String room_not_found = 'M_NOT_FOUND'; | ||
static const String user_in_use = 'M_USER_IN_USE'; | ||
static const String unknown_token = 'M_UNKNOWN_TOKEN'; | ||
static const String email_in_use = 'M_THREEPID_IN_USE'; | ||
} |
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
Oops, something went wrong.