Commit History

Fix profile endpoint by aligning financial and asset fields with actual model definitions
7ea22f5

kamau1 commited on

Fix profile endpoint by replacing mime_type with file_type and removing nonexistent is_verified field
090b0a1

kamau1 commited on

Enhance profile endpoint to return full user data in one call with optional include parameters
620792e

kamau1 commited on

Fix 403 error by updating user view permissions for project managers, sales managers, and dispatchers
d078030

kamau1 commited on

fix(reconciliation): convert async DB logic to sync, update endpoints, and align with existing session architecture
27d7064

kamau1 commited on

reconcilliation endpoints
940d3bc

kamau1 commited on

fix-imports: resolved missing Ticket import and validated notification model imports
3f93263

kamau1 commited on

fix: Moved /stats and /stats/summary routes BEFORE the /{expense_id} route
87f3e2f

kamau1 commited on

Add project_id support and new /ticket-expenses/stats endpoint to replace unregistered /expenses/stats
10e827b

kamau1 commited on

Add notifications for bulk expense approval and CSV export to allow initiators to trace processed items
e2202f2

kamau1 commited on

Fix expense approval notifications by replacing asyncio.create_task with FastAPI BackgroundTasks
e44955a

kamau1 commited on

Use TicketCommentService._to_response() in ticket detail endpoint to include comment attachments
f003bca

kamau1 commited on

fix(expenses): replace nonexistent ticket_reference usage and add robust error handling for bulk export
1b333bd

kamau1 commited on

fix(bulk-export): add missing imports, improve error handling, and add logging
6226e01

kamau1 commited on

feat(expenses): add bulk-export-by-ids endpoint and update docs to fix frontend/export mismatch
0b549b3

kamau1 commited on

feat(expenses): add bulk approve/reject operations and update API docs
93fc720

kamau1 commited on

feat: add expense payment export, auto-populate payment details, and comprehensive filtering system
1804ee6

kamau1 commited on

fix(sqlalchemy): replace deprecated subquery() usages with select().scalar_subquery() across services to eliminate warnings
c54345d

kamau1 commited on

refactor(filters): migrate remaining endpoints (customers, notifications, inventory) to unified Query-based filter parsing system
5ef066f

kamau1 commited on

fix(filters): replace Pydantic Depends with custom Query-based parsers to correctly handle multi-value API filters
2fb09d0

kamau1 commited on

fix(api): replace Pydantic Depends model with custom query parser to correctly handle multi-value filters
e32684c

kamau1 commited on

feat(filtering): implement complete end-to-end server-side filtering infrastructure and migrate tickets/projects to new system
7b90d84

kamau1 commited on

Fix duplicate endpoint warnings in documents.py
e8183c0

kamau1 commited on

Implemented improved inventory requirements system with API endpoints, validation, and comprehensive documentation.
6b29be6

kamau1 commited on

feat: add complete Kenya regions data layer, validation, and location API endpoints; remove outdated tests
6c59dab

kamau1 commited on

add unified project overview endpoint with caching and role-based response
19dd95f

kamau1 commited on

Add profile_photo_url to /auth/me response for easier frontend access
eb78e1e

kamau1 commited on

Reorder document routes so /users/me endpoints take precedence over generic entity routes
9f54fd9

kamau1 commited on

Add dedicated /users/me document and profile photo endpoints to avoid UUID parsing errors
3e9b945

kamau1 commited on

Make account_name optional and auto-populate it for mobile money and bank accounts
a37b051

kamau1 commited on

Fix invalid Ticket attribute usage by replacing nonexistent ticket_reference/title with correct id and ticket_name in ticket expense API
be87f92

kamau1 commited on

Fix incorrect relationship reference by replacing ticket_assignment with assignment across service and API layers
428eb7e

kamau1 commited on

fix: enrich ticket-expense endpoints with full ticket + assignment context and add my-expenses + my-stats endpoints
d692297

kamau1 commited on

fix: populate assignment responses with inventory names and related context using eager loads + helper mapping
06b615f

kamau1 commited on

fix: make user_id optional for self-service and auto-set before auth check; update schema, service, and docs
c5fdc5d

kamau1 commited on

fix: reorder FastAPI routes so /my-stats and /my-inventory are matched before /{inventory_id}
dcd97c0

kamau1 commited on

feat: inventory management init
db7b74e

kamau1 commited on

feat: location trail for visualization
41d110f

kamau1 commited on

feat: ticket attachements
e5f65c7

kamau1 commited on

Fix expense query order to ensure assignments are fetched first for correct role-based filtering
ed6bcd1

kamau1 commited on

feat: add role-based expense visibility to ticket detail endpoint
816d2dd

kamau1 commited on

feat: add expense_date and implement fully robust ticket expenses service + API
d3e133f

kamau1 commited on

update: intergrate the tickets with the detail endpoint
4071b85

kamau1 commited on

feat: ticket comments
495529d

kamau1 commited on

fix: add complete status-history coverage, set started_at correctly, and harden dedup_key + location tracking
53b964c

kamau1 commited on

fix: replace string-based joinedload with class-bound attributes to restore completion-checklist relationship loading
0379dd9

kamau1 commited on

feat: file naming
b26895a

kamau1 commited on

fix: correctly detect uploaded checklist photos by parsing description and eager-loading images
3e23d36

kamau1 commited on

Add dedicated PUT /completion-data endpoint for partial updates to ticket completion data
807713e

kamau1 commited on

fix(ticket-assignment): resolve SQLAlchemy mapper initialization errors
94e7f53

kamau1 commited on