swiftops-backend / docs /devlogs /browser /browserconsole.txt

Commit History

fix: add pricing_tier to allowed line item types in invoice schema
e7d310d

kamau1 commited on

fix: convert Decimals to float in invoice generation additional_metadata for JSON serialization
8d20770

kamau1 commited on

fix: convert Decimal to float in invoice pricing rules for JSON serialization
8f5c70d

kamau1 commited on

Fix report endpoints to be async for compatibility with permission decorator
93e3d85

kamau1 commited on

Fix payroll stats 422 by removing duplicate /stats endpoint and correcting route ordering.
bb7143c

kamau1 commited on

Fix timesheets 404/403 by adding missing permissions and reordering routes to prevent path conflicts.
9962ce3

kamau1 commited on

fix: add 60s timeout to Cloudinary uploads with Supabase fallback for large images
756bc21

kamau1 commited on

refactor: remove reconciliation system and all related code, tasks, and docs
d12a170

kamau1 commited on

fix(auth): properly update user password and use valid audit enum values
d9b6bad

kamau1 commited on

feat: updated the pm ticket detail endpoint to give back proper actions
24bb10d

kamau1 commited on

Fix timezone-aware datetime comparisons and correct CORS config requiring explicit allowed origins
938ea18

kamau1 commited on

Improve invoice generation by auto-deriving contractor/client from project and updating schemas, logic, and docs accordingly
c651639

kamau1 commited on

Enhance available-tickets endpoint to auto-derive contractor from project and support contractor_id=auto
5a1264e

kamau1 commited on

Fix contractor invoice list route by removing trailing slash to prevent 307 redirects and CORS failures
337e2ae

kamau1 commited on

Fix contractor invoice route prefix conflict and update frontend docs to match corrected API paths
717d701

kamau1 commited on

Fix Tende Pay export critical edge cases: only mark exported expenses as paid, skip invalid amounts/users, warn on mixed payment methods
d566e9e

kamau1 commited on

Corrected Timesheet enum storage by configuring SQLAlchemy Enum to persist .value strings and preventing unwanted enum coercion.
e9639af

kamau1 commited on

Fixed enum-case mismatch by allowing string-based status values and passing lowercase status directly to DB.
3071dc4

kamau1 commited on

Fixed enum mismatch by updating schema and endpoints to use lowercase TimesheetStatus string values aligning with DB enum
3f304b5

kamau1 commited on

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

kamau1 commited on

reconcilliation endpoints
940d3bc

kamau1 commited on

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

kamau1 commited on

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

kamau1 commited on

fix(notifications): update service to use correct filter fields (from_date/to_date) to prevent AttributeError
66d100e

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 ProjectSubcontractor import scope in dashboard_service.py
b0f8513

kamau1 commited on

fix: add missing ProjectTeam import in dashboard_service to resolve endpoint error
b463025

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 backend permissions to allow field agents to update full basic profile info
b6832d2

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: replace utcnow() with timezone-aware datetime.now(timezone.utc) in days_issued to prevent offset-naive/aware errors
33d9190

kamau1 commited on

fix: correct ProjectTeam import to use app.models.project_team instead of app.models.project
9191671

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

Fix LocationTrailResponse by including required action and related fields in service response
fccae56

kamau1 commited on

Update expense validation rules for completed/cancelled tickets and add same-day completion grace period
6590cd4

kamau1 commited on

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

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

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

kamau1 commited on

Remove Base inheritance from TicketStatusHistory so SQLAlchemy can correctly register the model
4c66bec

kamau1 commited on

Remove BaseModel inheritance to match ticket status history table schema
0d59441

kamau1 commited on

Fix column name mismatch between model and database for ticket status history
fd9d839

kamau1 commited on

feat(ticket-completion): allow incremental photo uploads and enforce full validation only at completion
d3b4695

kamau1 commited on

Fix JSONB journey history not persisting by flagging journey_location_history as modified in update_location service.
4c3de8e

kamau1 commited on

Fix circular import by registering TicketStatusHistory before Ticket in models init to resolve SQLAlchemy mapper errors.
0f127a7

kamau1 commited on

Fix customer field references and update endpoint with correct model fields
39f910d

kamau1 commited on