Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(users): Add blocking feature (#22)
* FEATURE(AUTH-CROSS): Implement the sign up screen with its components (#2) * refactor(widget_test): correct app name * feat(ui): add Palette class for managing colors * style(ui): modified Palette class * feat(auth): add signup route * feat(auth): add signup-ui * style(auth): add authTheme * refactor(auth): add auth widgets * refactor(auth): add dimensions and sizes classes * refactor(auth): change app name to telware * refactor(auth): add circle_button widget * style(auth): switch to dimensions and sizes classes * feat(auth): secure the password field * feat(auth): adding validations * chore(auth): adding shake and vibration packages * refactor(auth): correcting title name * refactor(auth): removing redundant import * refactor(auth): rename the theme * refactor(auth): convert to StatefulWidget and add TextButton * refactor(auth): convert to appTheme * refactor(auth): add extra dimension * refactor(auth): remove redundant condition * refactor(auth): remove redundant code and convert to StatefulWidget * FEAT(AUTH-CROSS): Initiate the basic structure of the model and view-model (#3) * fix: correct app name to telware * feat(login-flow): create an enum for the different states of authentication * feat(auth): create a token provider * feat: initialize custom_lints * feat(auth): create the local repository for authentication * feat(auth): create the authentication view model * feat(auth): initialize the authentication process in the TelWare widget * doc(auth): add a todo to create the user provider * feat(auth): open Hive box for auth tokens * feat(auth): create the splash screen --------- Co-authored-by: Marwan Alhameedy <[email protected]> * refactor(auth): simplify the sign-up screen code (#4) * FEAT(AUTH-CROSS): Build the UI for the Log In screen (#5) * refactor(auth): simplify the sign-up screen code * chor(auth-cross): add the social media login icons * feat: add new routes * feat(auth-cross): build login screen ui * refactor(auth-cross): move the social login widget to a separate file * feat(auth-cross): add forget password button to login screen * feat(auth-cross): make a widget for the auth floating action button --------- Co-authored-by: Marwan Alhameedy <[email protected]> * FEATURE(AUTH-CROSS): Implement sign up logic (#7) * feat(auth): add userModel * feat(auth): create user provider * refactor(auth): remove redundant import * feat(auth): create app error class * feat(auth): add user model to local repository * feat(auth): create remote repository * feat(auth): add signUp logic to auth-view-model * fix(auth): add null check * feat(auth): create dio base options * feat(auth): update signUp logic and convert to ConsumerStatefulWidget * refactor(auth): remove dummy files * refactor(auth): remove todo comments * feat(auth): open user model hive box * fix(auth): correct the image path * fix(auth): register the user model to hive * fix(auth): remove password field * fix(auth): syntax error * FEAT(AUTH-CROSS): Verification-UI (#8) * feat(auth): add action to on press function * refactor(auth): make the code more modular * chore(auth): add package for code verification * refactor(auth): modify names and input parameters for better usage. * feat(auth): add verification length * feat(auth): add verification screen ui * feat(auth): add confirmation dialog * refactor(auth): remove redundant code * refactor(auth): remove verification from login logic * chore(auth): add phone_form_field package * style(auth): enhancing the parameters for better usage * feat(auth): add phone field widget * refactor(auth): modify the input values * refactor(auth): improve ui styles * FEATURE(AUTH): Implement log in logic (#9) * feat(auth-cross): use the initial route property * fix(auth): remove unnecessary import * ref: add todo's to marwan * feat(auth): implement the log in functionality * feat(auth): implement log in and forgot password logic * feat(auth): update auth state to a class * feat(auth): add show toast and snack bar utils * feat(auth): add delete token or user functionalities to the authentication local repository * fix(auth): fix used status code in the log in logic * feat(auth): add the success state to the AuthStateType * feat(auth): connect the ui with the logic for the log in feature * feat(auth): add the log out functionality * fix(auth): handle different states for the forgot password method * fix(auth): recompile generated files --------- Co-authored-by: marwan2232004 <[email protected]> * feat(auth): add testing keys to the log in (#10) specify the type of the keys * feat(auth): handle log in without being verified scenario (#11) * FEAT: Change the app icon and Splash screen icon (#12) * feat: create app icon * feat: update the splash screen with the logo and app name * fix: correctly check success status codes * feat: update user model to match api documentation * fix: user correct key names in initialization * feat: change get user method name to get me * FIX: correctly validate passowrds and send email to verificatoin screen feat(auth): add password validator feat: add password validator and send the email to the verification screen * feat(user): add profile info submission and validation * feat(user): add profile info submission and validation * feat(user): add profile info submission and validation * feat(user): add profile header with animation * feat(user): add profile info submission and validation * feat(user): add profile info submission and validation * refact: Refactor main.dart and core files * feat(user): add change number option for the user * feat(auth): blocked users screen * refactor(auth): generalize the widgets * refactor(auth): generalize the widgets * feat(auth): blocked users section * style(user-profile): reformat code * refactor(user-profile): add new color * refactor(user-profile): optimize code * chore(user-profile): add lottie package * refactor(user-profile): add height to trailing * feat(user-profile): block user screen #turn 1 * feat(user-profile): easter duck tgs * feat(user-profile): modify settings widget * chore(user-profile): add dependencies * refactor(user-profile): optimize code. * feat(user-profile): add block users colors. * feat(user-profile): enhance ```formatPhoneNumber```, add getRandomColor. * feat(user-profile): add contacts hive box * feat(user-profile): put permission for reading contacts. * feat(user-profile): add contact model. * feat(user-profile): read and store contacts in hive. * feat(user-profile): add displaying image from memory or an avatar * feat(user-profile): empty chat screen widget * feat(user-profile): avatar generator from name initials * feat(user-profile): reading contacts from hive, adding tabBar * feat(user-profile): block user confirmation dialog. * feat(user-profile): block user navigations. * feat(block-users): solve testing problem. * feat(block-users): solve testing problem. --------- Co-authored-by: Ahmed Aladdin Mohamed <[email protected]> Co-authored-by: Ahmed Aladdin <[email protected]> Co-authored-by: Mo2Hefny <[email protected]>
- Loading branch information