Abdullah Alassaf
5eee0a2bfd
Merged with SP-203
2024-07-25 14:15:06 +03:00
Abdullah Alassaf
e58732f7f8
Merged with dev branch
2024-07-25 13:35:10 +03:00
ashrafzarkanisala
3e20ba8f42
push delete automation
2024-07-25 00:34:00 +03:00
ashrafzarkanisala
8a4c5af2e7
push automation details and update automation
2024-07-25 00:25:48 +03:00
mohammad
69b901afed
profile page with HomeCubit
2024-07-24 16:03:22 +03:00
ashrafzarkanisala
7a773f1653
push autoamtion api connect
2024-07-24 01:41:10 +03:00
mohammad
e5e839248d
profile
2024-07-23 16:16:31 +03:00
ashrafzarkanisala
9f68e4695f
add autoamtion tasks
2024-07-22 23:56:33 +03:00
ashrafzarkanisala
033f33683c
new api paths
2024-07-22 10:46:22 +03:00
Abdullah Alassaf
79a1c69af1
Added env files and the read base url using the dotenv package
2024-07-21 11:45:49 +03:00
mohammad
8a4a158af5
profile changes
2024-07-16 14:05:54 +03:00
Abdullah Alassaf
ce94d91f83
Fetched devices based on the unit id
2024-07-01 22:27:15 +03:00
ashrafzarkanisala
32b992e276
connect delete api
2024-07-01 03:44:57 +03:00
ashrafzarkanisala
c01d9034fd
push put api
2024-07-01 01:57:13 +03:00
Abdullah Alassaf
6699866ff0
Added latest changes from dev and solved conflicts
2024-06-30 16:27:42 +03:00
mohammad
b00218ba5d
CreateTemporaryPassword
2024-06-30 14:59:18 +03:00
ashrafzarkanisala
6584b894c4
finished get scene details
2024-06-30 01:54:08 +03:00
mohammad
e8184c00ff
CreateTemporaryPassword
2024-06-29 23:38:52 +03:00
ashrafzarkanisala
043e8c1e2d
connected rest of the devices and functions and trigger api
2024-06-29 18:24:33 +03:00
ashrafzarkanisala
17881694e0
connected all apis , create functionality is working
2024-06-27 02:35:50 +03:00
Abdullah Alassaf
d4f4cfa1ba
Added latest changes and solved the conflicts
2024-06-26 22:46:29 +03:00
Abdullah Alassaf
61c225af45
Implemented devices groups
2024-06-26 22:30:56 +03:00
ashrafzarkanisala
9fe25b9bd3
finished adding tasks and removing them , added error handling
2024-06-26 20:32:34 +03:00
mohammad
417806146a
update devices edited
2024-06-26 12:15:34 +03:00
mohammad
ea4dc852f8
update devices
2024-06-26 11:53:32 +03:00
mohammadnemer1
1fb8a8d035
Merge pull request #26 from SyncrowIOT/forgot_pass
...
forget password added
2024-06-25 15:53:16 +03:00
mohammad
08d3ff3e0f
forget password added
2024-06-25 10:54:42 +03:00
ashrafzarkanisala
6413d2b876
working on functions view
2024-06-25 10:38:39 +03:00
Abdullah Alassaf
f98ebdb2ba
Added gateway screen and bloc
2024-06-25 02:21:35 +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
4257d69768
Implemented Ac functionality, and bug fixes
2024-05-20 02:40:50 +03:00
Mohammad Salameh
fbe2f5fe53
!! BIG CHANGE TO ASSETS GEN !!
...
changed the method of generating assets to be more declrative when it comes to names of the assets.
it now include the file path name e.g (asset in the path "assets/images/home-images/home.png" will be generated as this "String assetsImagesHomeImageshome = "path" ".
this will be very helpful in the future when we want to orgnize the assets dir.
2024-05-07 12:26:12 +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
fd03d29e93
Avoided null value in network_exception.dart when calling fromResponse
2024-04-16 15:47:03 +03:00
Mohammad Salameh
214c4bb749
Remove unnecessary developer log statements
2024-04-16 15:45:32 +03:00
Mohammad Salameh
95f7ade9e6
removed try-catch blocks from auth_api.dart, devices_api.dart and spaces_api.dart files
2024-04-16 15:45:04 +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
80d424f114
Refactor code for consistency and readability
...
- Removed unused imports and commented-out code
- Updated class inheritance for AuthState subclasses
- Reorganized code structure for better readability
- Cleaned up debug print statements and replaced with dart:developer logs
2024-04-15 12:03:25 +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
2ae0c07830
Update import statements from relative tok apsulote paths.
2024-04-13 18:05:19 +03:00
Mohammad Salameh
8c80283f9c
Update DefaultNavBar widget and ServerFailure class
...
Refactor DefaultNavBar widget to update page index on item tap.
Update ServerFailure class to handle 400 status code with list of errors.
2024-04-04 15:51:41 +03:00
Mohammad Salameh
a0c553f9ae
Refactor ServerFailure class to use 'message' field from response
...
Update ServerFailure class to extract error message from 'message' field in
response data instead of converting the entire data to a string.
2024-04-04 14:53:58 +03:00
Mohammad Salameh
bff4b9493c
Refactor device control logic and add temperature and fan speed enums
...
- Refactor device control logic in the app to improve readability and maintainability.
- Add temperature modes (hot, cold, wind) and fan speeds (auto, low, middle, high) enums.
- Update icon mappings and utility functions for temperature modes and fan speeds.
2024-04-03 18:54:21 +03:00
Mohammad Salameh
e49627d3e1
Add status model and fetch device statuses
...
Added a new StatusModel class to represent device statuses and implemented
functionality to fetch and update device statuses in the DevicesCubit and
DeviceModel classes. Also updated UI components to display device status
information.
2024-04-03 11:07:55 +03:00