Commit Graph

82 Commits

Author SHA1 Message Date
Alex
453cb54f19 Refactored Andriod project to use MVVM structure (Need to apply this so sales too after merge)
- Used MVVM structure so fragments are not doing all the operation from views to data and calls
- organized the structure of our proejct
2026-04-04 23:35:38 -06:00
Alex
44877cd4ad fix photo loading issue on pets and products 2026-04-04 21:21:25 -06:00
Alex
f59624f9c3 integrated Jetpack navigation to project so we dont have to manually code the functionallities of loading to different fragments 2026-04-04 20:08:40 -06:00
Alex
eee724d4f5 fixed retrofit client, but will delete this file after merges
- kept class so nothing will break when merge
- then delete after merge buy making other files use Hilt
2026-04-04 18:23:15 -06:00
Alex
1516b92a6c integrated hilt so we dont have to manually pass context and inject retrofit in andriod 2026-04-04 18:15:05 -06:00
Alex
933a6bff6b Added calendar view to adoptions in andriod 2026-04-04 17:16:44 -06:00
Alex
313ec4a57b Added enter send message and login for andriod feilds 2026-04-04 16:54:29 -06:00
Alex
5fa9cfd5d6 added calendar view to appointments
- NOTE: may have to change appointments abit after backend is updated
2026-04-03 19:37:43 -06:00
Alex
8401d9ef62 Added images to products for android
- also added the option to delete the images to profile and pets
2026-04-02 19:21:55 -06:00
Alex
0216435221 made it so we can put attachments to chat
- Sending not implemented until backend is complete
2026-04-02 18:23:49 -06:00
410b68520a Fix android backend url 2026-03-30 00:03:27 -06:00
Alex
67f77f4b19 added pet images to petfragment and changed other views to look consistant 2026-03-29 21:47:49 -06:00
c397bfcad1 Fix status bar and navigation bar layout 2026-03-29 18:20:10 -06:00
d66508137b Fix Android app connection and timeout issues
Add proper timeout configuration to OkHttpClient (30s connect/read/write)
Update OkHttp logging-interceptor to 4.12.0 to match OkHttp version
Improve error messages to show server URL for debugging
Configure backend to listen on all interfaces (0.0.0.0)
Remove EdgeToEdge calls that interfered with layout
2026-03-29 17:54:23 -06:00
55caf434d6 Merge main into nomorebreaking 2026-03-29 17:07:35 -06:00
Nikitha
324e5d4e17 sales files
basic sale view and builtfiles
2026-03-29 16:54:41 -06:00
Nikitha
862ece691a purchaseorder view
Purchase Order view only so changes only to view
2026-03-29 16:33:27 -06:00
Nikitha
13916236eb connected files
files connected to load
2026-03-29 16:32:25 -06:00
Nikitha
2ad097413b Product files
loads details of product, categories and cost of it
2026-03-29 16:29:40 -06:00
Nikitha
653ae3f233 ProductSupplier
prodcutSupllier -loads all product supplier details and  with cost details
2026-03-29 16:28:19 -06:00
Nikitha
87a4404c20 Inventory
Inventory- details of product loads with id and described with filter, and categories selection
2026-03-29 16:26:21 -06:00
Nikitha
55f40572de Adoption files
adoption
2026-03-29 16:24:14 -06:00
Nikitha
7e832a139f Appointments
validation, time slots for booking appointment , date, store. connected to service Type, pet name, customer name. Loads from database
2026-03-29 16:20:38 -06:00
Alex
8272c49b44 Changed android app icon 2026-03-26 22:45:28 -06:00
Alex
38e1a29f34 Added petprofile images and uploads in petprofilefragment 2026-03-26 22:07:51 -06:00
Alex
2c61e6e664 Make chat notification display messengers name and disable notifying if already in chat view 2026-03-26 21:31:36 -06:00
Alex
dbb24085b2 Added push notifications when reciving any message and added filter status on pets in Andriod 2026-03-26 20:13:27 -06:00
Alex
75c39312fe Added profile photo loading and uploading
- profile photos now load from backend
- profile photos can be uploaded to the backend
- RetrofitClient now automatically determines if the device is an emulator or hardware so we dont have to comment and uncomment everytime we test with a different device
2026-03-26 16:50:02 -06:00
Alex
aec9f7b9e0 Added role based access to android login
- Admin has access to everything
- Staff has limited access to what they can edit in listfragment
- Customers cannot login to app
- added validations to pets, supplier and services in their detailed view
2026-03-26 16:50:02 -06:00
Alex
d3a69b7aea added push notification when a new conversation is made 2026-03-24 22:41:54 -06:00
Alex
b46705396d Profile now loads from backend
- can update profile from app
- loads profile details from backend to display
- changed inputValidator to use andriod phone pattern
- added ErrorResponse so we can fetch error messages from the backend
- Added UserDTO to get profile info

TODO:
Still need to get profile images from the backend and beable to load and update them using the backend
2026-03-24 18:31:12 -06:00
66395139e0 Add 'android/' from commit '4e3261e9879f36679271f2dbdf6023ad01334265'
git-subtree-dir: android
git-subtree-mainline: 58b37b52384ca0a702c23297a2cd9bdad595c660
git-subtree-split: 4e3261e987
2026-03-18 19:23:20 -06:00