mohammad
790479effb
restrict_spaceMemberUser_and_change_SignUpModel
2025-01-23 18:35:01 +03:00
mohammad
7a22bb4bc8
count_down_ac
2025-01-08 17:17:52 +03:00
mohammad
8be05fbd91
change_password
2024-12-30 16:51:35 +03:00
mohammad
7071f50d49
auth_change
2024-10-31 08:35:32 +03:00
mohammad
bfd9c557ce
remove_real_time
2024-10-30 11:56:12 +03:00
mohammad
ef232e9cd5
password_changes&_routine_changes
2024-10-29 17:21:31 +03:00
mohammad
429009aefa
bug fixes 2
2024-09-23 14:37:07 +03:00
hannathkadher
340ac35b3e
display multiple error
2024-09-19 13:25:21 +04:00
hannathkadher
bf69399af2
Merge remote-tracking branch 'origin/dev' into bugfix/SP-292
2024-09-02 13:27:08 +04:00
hannathkadher
a72fc0b466
Added dialogue for success message
2024-09-02 13:25:58 +04:00
hannathkadher
b3bb0b9eea
fix: Correct error message and improve consistency in passwordValidator
2024-08-29 16:37:49 +04:00
Abdullah Alassaf
e58732f7f8
Merged with dev branch
2024-07-25 13:35:10 +03:00
mohammad
69b901afed
profile page with HomeCubit
2024-07-24 16:03:22 +03:00
mohammad
e5e839248d
profile
2024-07-23 16:16:31 +03:00
Abdullah Alassaf
980d1017eb
Improved the performance of the AC device
2024-07-21 02:10:04 +03:00
Abdullah Alassaf
c7d26d0e6e
Bug fixes, and updated the build number
2024-07-02 13:14:17 +03:00
Abdullah Alassaf
288ea6a1e2
Bug fixes
2024-06-30 15:10:01 +03:00
Abdullah Alassaf
f52309a59d
Fixed Flutter secure storage issue for Android
2024-06-27 15:20:35 +03:00
Abdullah Alassaf
57b29abf74
Bug fixes and removed the unused code in the auth cubit
2024-06-25 15:44:00 +03:00
mohammad
3efe1a540b
notes modified
2024-06-25 14:58:33 +03:00
mohammad
04b9336f50
notes modified
2024-06-25 14:42:26 +03:00
mohammad
08d3ff3e0f
forget password added
2024-06-25 10:54:42 +03:00
Abdullah Alassaf
48ef0f054f
Fixed token issue
2024-06-13 12:48:04 +03:00
Abdullah Alassaf
76f5c6d325
bug fixes and read sensors states
2024-06-06 11:14:25 +03:00
Abdullah Alassaf
631ba53d7a
Implemented home management and user invitation flows
2024-06-05 03:42:00 +03:00
Abdullah Alassaf
6a9c2967d2
Implemented home creation and add counter to the sign up screen
2024-06-03 00:26:07 +03:00
Abdullah Alassaf
9877dde78e
Added create a unit screen, and implemented otp screen bloc and view
2024-05-30 10:59:22 +03:00
Abdullah Alassaf
28576f2cd5
Implemented sign up and otp screens
2024-05-29 01:51:36 +03:00
Abdullah Alassaf
f7db91f212
Added sign up screen and model
2024-05-23 14:08:40 +03:00
Abdullah Alassaf
0f75c3def1
Fixed logout issue
2024-05-18 23:45:23 +03:00
Mohammad Salameh
d802c2e045
Merge pull request #23 from SyncrowIOT/Syncing_with_backend
...
Synced with the backend
2024-04-30 12:14:10 +03:00
Mohammad Salameh
a12f006d63
Added Control functoinalty on the DoorLock
2024-04-29 11:38:11 +03:00
Mohammad Salameh
f8358a0877
Updated the API Endpoints, API Calls, Data Models and cubits to the lateset changes from the backend
2024-04-29 10:00:58 +03:00
Mohammad Salameh
09e0695bcc
syncing to origin/dev
2024-04-17 16:29:27 +03:00
Mohammad Salameh
6266780258
Update form key to be a final field and add validators for email and password
...
- Make the form key a final field in the AuthCubit class
- Add validators for email and password fields in the AuthCubit class
- Update the LoginForm widget to use the form key from AuthCubit class
- Add validators for email and password fields in the LoginForm widget
2024-04-16 16:44:17 +03:00
Mohammad Salameh
df13c66b1a
Refactor API error handling and add try-catch blocks
...
Added try-catch blocks for error handling in API's files to rethrow the errors to the cubit so cubits can update the UI based on them.
Refactored error handling in HTTPInterceptor and HTTPService classes.
2024-04-15 15:47:13 +03:00
Mohammad Salameh
cfc395e210
Refactor HTTPInterceptor and add CustomSnackBar helper
...
Refactor HTTPInterceptor to handle error responses and add a CustomSnackBar
helper to display snack bars. This will improve error handling and user
feedback in the application.
2024-04-15 12:02:34 +03:00
Mohammad Salameh
e17c0af144
Add HomeCubit and HomeState classes
...
This commit adds the HomeCubit class along with its corresponding HomeState
class. It also includes necessary imports and updates references to the
previously used SpacesCubit to the new HomeCubit in various files.
handled the multible onCreate -- HomeCubit
2024-03-24 14:43:13 +03:00
Mohammad Salameh
c0bfd24751
Refactor device-related views and add error handling
...
Refactor device-related views to improve code structure and readability.
Add error handling for authentication token in the splash view.
Remove unnecessary NavCubit from the app initialization.
2024-03-21 13:58:20 +03:00
Mohammad Salameh
d4a9cfb7ab
Refactor error handling in AuthCubit and ServerFailure
...
Update error handling in AuthCubit to use toString() method and mdified
handling of badResponse in ServerFailure class.
2024-03-19 15:13:00 +03:00
Mohammad Salameh
79279180df
Refactor code for better readability and maintainability
...
- Add method to get token and validate in AuthCubit
- Update AuthState with loading, success, and error states for token
- Use BlocBuilder in SplashView for token validation and navigation
This commit refactors the code in AuthCubit to include a method to get the token and validate it. It also updates the AuthState with loading, success, and error states for token handling. In SplashView, BlocBuilder is now used to handle token validation and navigation based on the token status.
2024-03-19 11:15:45 +03:00
Mohammad Salameh
024f15728b
getting spaces and rooms from api {null checks}
2024-03-13 13:52:22 +03:00
Mohammad Salameh
0f3cc453ce
Semi-implemented getting spaces feature
2024-03-12 11:14:31 +03:00
Mohammad Salameh
d3bd10730c
Modified Devices Pages
2024-03-11 12:04:26 +03:00
Mohammad Salameh
2c4543e83f
Added Login with email model instead of json encode
2024-03-10 10:20:06 +03:00
Mohammad Salameh
5a7787b42d
Added Error handling
2024-03-10 08:56:06 +03:00
Mohammad Salameh
d70c370c2e
Added form validation for login view
2024-03-07 15:33:14 +03:00
Mohammad Salameh
f734801e94
Initialized Auth pages for future work
...
Implemented Login functionality
2024-03-07 10:29:19 +03:00
Mohammad Salameh
643b206d4c
cleaned some warring messages
2024-03-03 13:10:03 +03:00
Mohammad Salameh
3190361901
initialized Application theme
2024-02-17 16:27:27 +03:00