6e4d629cbe
re added the api url
Build frontend / build (push) Successful in 48s
2026-06-24 01:32:21 +03:00
8d3a745cc3
fixed the api url
Build frontend / build (push) Successful in 56s
2026-06-23 23:45:48 +03:00
199478f237
added the elmeent on the nav and fixed the payments transactions
Build frontend / build (push) Successful in 1m27s
2026-06-23 23:32:07 +03:00
bf45a48504
fixing the build
Build frontend / build (push) Successful in 59s
2026-06-16 19:03:15 +03:00
f892fc4a4d
Added terms with api
Build frontend / build (push) Failing after 1m30s
2026-06-16 13:59:17 +03:00
a9eb1cc684
Merge branch 'main' of http://45.93.137.91:3000/Rahaf/SweetHome
Build frontend / build (push) Failing after 1m18s
2026-06-14 08:33:02 -07:00
13b563e35e
fixing SendGeneralReport
2026-06-14 08:22:59 -07:00
51850b85c2
Added blocked page with api
2026-06-14 18:04:05 +03:00
71b1a71904
Delete admin
Build frontend / build (push) Failing after 1m20s
2026-06-10 19:50:49 +03:00
ce6caf08eb
Added Active or DeActive for owner with API
Build frontend / build (push) Successful in 1m10s
2026-06-09 18:21:52 +03:00
471332b59f
fixing agent api
Build frontend / build (push) Successful in 57s
2026-06-06 03:55:53 -07:00
53a83494b7
owner account
Build frontend / build (push) Successful in 1m16s
2026-06-05 18:33:51 -07:00
09bbf07d8c
edited the edit properrty
Build frontend / build (push) Successful in 44s
2026-05-26 04:35:03 +03:00
00ccf5f262
the best in the west is mouaz
Build frontend / build (push) Successful in 55s
2026-05-25 21:27:39 +03:00
1198c18004
Merge branch 'main' of http://45.93.137.91:3000/Rahaf/SweetHome
Build frontend / build (push) Successful in 1m28s
2026-04-28 13:17:57 -07:00
481f683e64
fixed booking date selection and reservation request
2026-04-28 12:57:06 -07:00
5d3ead55ca
Added API for rating
Build frontend / build (push) Successful in 54s
2026-04-26 13:46:30 +03:00
7e0d5eaf8d
edited the api request
Build frontend / build (push) Successful in 40s
2026-04-16 22:40:59 +03:00
beccd8b24f
added debugging on the admin confirm
Build frontend / build (push) Successful in 41s
2026-04-16 22:33:19 +03:00
7e9a9d79f2
there is no endpoint in name /Reservations/GetReservations
Build frontend / build (push) Successful in 41s
2026-04-16 22:13:14 +03:00
04fa34107b
linked the admin confirm deposte
Build frontend / build (push) Successful in 1m9s
2026-04-16 21:15:21 +03:00
5a7d0ef265
Added confirm button for admin
Build frontend / build (push) Successful in 46s
2026-04-15 12:28:01 +03:00
0ba435fd7e
Merge branch 'main' of http://45.93.137.91:3000/Rahaf/SweetHome
Build frontend / build (push) Successful in 1m56s
2026-04-15 12:10:45 +03:00
9c2a748ae9
Added API for notifications and edit style
2026-04-15 12:07:39 +03:00
db949aaeba
Fix build errors: corrected import paths, added missing RatingList component, fixed syntax errors in rating components
Build frontend / build (push) Successful in 54s
2026-04-14 14:23:17 +00:00
6ad2457e74
fix: use HTTPS URL in firebase.js
Build frontend / build (push) Successful in 40s
2026-03-31 22:53:34 +00:00
98c3f51df2
fix: switch API base URL to HTTPS (nip.io)
Build frontend / build (push) Successful in 42s
2026-03-31 22:48:50 +00:00
a824fb0c7c
fix: send FCM token to User/SetFCMToken endpoint
Build frontend / build (push) Successful in 43s
2026-03-31 21:24:43 +00:00
9e87aa90e8
feat: send FCM token to backend on permission grant
Build frontend / build (push) Failing after 25s
2026-03-31 20:20:52 +00:00
199e78d6b1
chore: set VAPID key for FCM
Build frontend / build (push) Successful in 1m11s
2026-03-31 20:09:07 +00:00
2bea2d190c
feat: integrate Firebase Cloud Messaging for push notifications
Build frontend / build (push) Failing after 24s
2026-03-31 19:50:48 +00:00
cf7f51b514
fix: update GetMyRentListings endpoint (userId removed from URL)
Build frontend / build (push) Successful in 1m3s
2026-03-31 18:46:12 +00:00
3b9831a513
Integrate FavoriteProperty API: add/remove/get favorites with real backend
Build frontend / build (push) Successful in 42s
2026-03-30 17:54:42 +00:00
505dcd4bb0
Fix image upload field name: 'file' -> 'image'
...
Build frontend / build (push) Successful in 40s
Endpoint expects field named 'image', returns path like /Pictures/abc123.jpg
2026-03-30 01:15:57 +00:00
4299968764
Add image upload to property form via FilesController
...
Build frontend / build (push) Successful in 52s
- Added uploadPicture() API function for POST /Files/UploadPicture
- Images uploaded immediately on selection, paths stored
- PropertyInformation.images sent with server-side paths
- Remove image also removes from uploaded paths
2026-03-30 00:57:52 +00:00
0c3b454015
Owner properties page fetches from API via GetMyRentListings
...
Build frontend / build (push) Successful in 41s
- Calls /RentProperties/GetMyRentListings/{userId} with user ID from JWT
- Maps API response (nested propertyInformation + detailsJSON) to UI format
- Removed mock data and localStorage fallback
2026-03-29 22:17:49 +00:00
f22bc45a4f
Fix booking: use correct BookReservation endpoint + price from selected dates
...
Build frontend / build (push) Successful in 38s
- Fixed endpoint: /Reservations/BookReservation/book (was /Reservations/Book)
- bookReservation now takes (propertyId, startDate, endDate) params
- Pricing updates dynamically based on selected date range
- Deposit read from API response instead of hardcoded
- Removed demo fallback that always showed success
2026-03-29 21:23:51 +00:00
86b8fc591b
Add availability calendar to property detail page
...
Build frontend / build (push) Successful in 42s
- Fetches available date ranges from /Reservations/GetAvailableDates/available/{id}
- Custom month calendar with green (available), amber (selected), gray (unavailable)
- Click start date then end date to select a range
- Validates entire range is available before confirming
- Shows selected dates and day count
- Month navigation with prev/next arrows
2026-03-29 21:16:00 +00:00
ca1d83967e
Fix duplicate addRentProperty definition in api.js
Build frontend / build (push) Successful in 39s
2026-03-29 15:58:54 +00:00
00dab824c3
Fix add property page to match Flutter request body structure
...
Build frontend / build (push) Failing after 39s
- Remove 'For sale' offer type (rent only)
- Remove salePrice field and UI
- Fix rentTypeMap: 0=Monthly, 1=Daily (was wrong)
- Fix propertyType: uses RentPropertyCondition (furnished/unfurnished)
- Fix type field: uses RentPropertyType (furnished/unfurnished)
- Fix services: use enum API names in detailsJSON (Electricity, Internet...)
- Fix terms: use enum API names in detailsJSON (NoSmoking, NoAnimals...)
- Fix detailsJSON structure to match Flutter (services array, terms array, room object)
- Replace getCurrencies with static Currency enum dropdown
- Remove duplicate MapClickHandler
- Use all new enums from enums/index.js
2026-03-29 15:48:48 +00:00
16038a80dd
Add currency dropdown and deposit field to add property form
...
Build frontend / build (push) Successful in 53s
- Added getCurrencies() API function for /Currency/GetAll
- Currency dropdown fetched on mount, populated with available currencies
- Added deposit input field (مبلغ الضمان)
- CurrencyId sent in RentPropertyDto instead of hardcoded 1
2026-03-28 19:40:03 +00:00
d94b32a670
Add property form submits to API as RentPropertyDto
...
Build frontend / build (push) Successful in 43s
- Added addRentProperty() API function for POST /RentProperties/AddRentProperty
- handleSubmit builds correct RentPropertyDto with nested PropertyInformation
- Maps UI fields to API enums (BuildingType, RentType, RentPropertyType, PropertyStatus)
- Services/terms stored in DetailsJSON as JSON string
- Console logs the full payload before sending
2026-03-28 18:00:44 +00:00
b6e9f01938
Profile page fetches full data from API via GetByUserId
...
Build frontend / build (push) Successful in 39s
- Added getCustomerByUserId and getOwnerByUserId API functions
- Profile page extracts user ID (SID) from JWT, calls appropriate endpoint
- Falls back to JWT/localStorage if API call fails
- Maps API fields (firstName, lastName, whatsAppNumber, phone, etc.) to form
2026-03-28 17:03:40 +00:00
de7636f852
Fix token key mismatch in verify functions
...
Build frontend / build (push) Successful in 40s
AuthService stores token as 'auth_token', but verifyEmail/verifyPhone
were reading 'token'. Now uses AuthService.getToken() consistently.
2026-03-28 16:31:27 +00:00
5a4b018c07
Send JWT token with verify email/phone endpoints
...
Build frontend / build (push) Successful in 39s
- authFetch now accepts optional token parameter
- verifyEmail/verifyPhone read token from localStorage and send as Bearer header
2026-03-28 16:17:14 +00:00
c99689a995
Add Phone field to FormData in addCustomer and addOwner
Build frontend / build (push) Successful in 38s
2026-03-28 15:51:25 +00:00
d698305d79
Update registration to match new API schema
...
Build frontend / build (push) Successful in 37s
- FullName split into FirstName + LastName in both forms and API
- File fields renamed: FrontIdCarImage -> FrontIdCarImagePath, RearIdCarImage -> RearIdCarImagePath
- Added Language field to form data
- getRentProperty now uses /RentProperties/GetRentPropertyById/{id}
2026-03-28 15:29:06 +00:00
2424da2d45
Fix registration 415: send multipart form data with ID images
...
Build frontend / build (push) Successful in 1m10s
- addCustomer/addOwner now use FormData with multipart upload
- Front and back ID images appended as FrontIdCarImage/RearIdCarImage
- Registration pages pass idImages.front and idImages.back to API
- Field names mapped to PascalCase for .NET API (FullName, Email, etc.)
2026-03-28 15:15:09 +00:00
eff0b41b78
Add enums, AuthService, and integrate backend registration endpoints
...
Build frontend / build (push) Successful in 57s
- Add separate enum files: BuildingType, PropertyStatus, BookingStatus, CommissionType, IdentityType, UserRole, City, LoginMethod, OwnerType, CustomerType
- Add AuthService (addToken/getToken/deleteToken)
- Update api.js: use AuthService, add Owner/Add and Customer/Add endpoints
- Update login page to use AuthService for token storage
- Rewrite owner register: 3-step flow with OwnerType dropdown, backend integration, OTP verification
- Rewrite tenant register: 2-step flow with CustomerType dropdown, backend integration, OTP verification
- Update homepage and property detail to use enums instead of hardcoded maps
- Update AddPropertyForm to import from enums directly
- Add console logs and status toasts linked to API response messages
2026-03-27 18:03:12 +00:00
2fb55db360
changed the appVersion
Build frontend / build (push) Successful in 1m6s
2026-03-27 00:06:13 +00:00