Commit History

  1. feat: add flexible invoice pricing system with tiered, flat rate, time-based, and custom pricing models

    f18d2f1

  1. feat: unified sync notification system, realtime timesheets and payroll, simplified project role compensation

    95005e1

  1. Add new simple compensation types (per_day, per_week, per_ticket) with corresponding rate fields and update models, schemas, enums, and migration with full backward compatibility

    c43adb1

  1. Implement full end-to-end invoice generation & public viewing system (migrations, models, schemas, services, routes)

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

    e9639af

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

    6b29be6

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

    6c59dab

  1. fix: replace utcnow() with timezone-aware datetime.now(timezone.utc) in days_issued to prevent offset-naive/aware errors

    33d9190
  2. feat: inventory management init

    db7b74e

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

    6590cd4
  2. feat: add expense_date and implement fully robust ticket expenses service + API

    d3e133f
  3. fix(models): restore Base inheritance to TicketStatusHistory model⁠

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

    4c66bec
  5. Remove BaseModel inheritance to match ticket status history table schema

    0d59441
  6. Fix column name mismatch between model and database for ticket status history

    fd9d839

  1. Add ticket completion fields, integrate project requirements caching via cachetools, update completion service, and implement cache invalidation on project updates.

    867ae6b
  2. Fix circular import by registering TicketStatusHistory before Ticket in models init to resolve SQLAlchemy mapper errors.

    0f127a7
  3. Add TicketStatusHistory model and integrate automatic status logging into ticket assignment workflow.

    a71d9fe
  4. Implement full dynamic ticket action system with enum rename, self-assign auto-accept, updated assignment logic, and new documentation.

    101c6eb

  1. fix: correct TaskStatus enum usage, update Postgres ENUM definition, and add validator for empty task_scheduled_date

    0a3426b

  1. feat: scope notification to a project, added project id to the notifications table as a nullable field

    e90be6b
  2. fix(tickets): resolve 500/422 errors by correcting response schema, timezone handling, and route ordering

    e02cc07

  1. fix: correct database schema mismatches in dashboard queries⁠

    8a46bf1
  2. fix: add values_callable to all ENUM columns and fix Notification model inheritance

    157a11c
  3. fix: correct database schema mismatches in Ticket, Notification, and TicketExpense queries

    3522180
  4. fix: add values_callable to ENUM to use enum values instead of names

    dd53dfa
  5. fix: use PostgreSQL ENUM from sqlalchemy.dialects.postgresql for project_type

    9dd1d74
  6. fix: revert project_type to TEXT with check constraint instead of enum

    59398b7
  7. fix: force rebuild to reload projecttype enum metadata

    1ed1ebd
  8. fix: update project_type enum to match Python code and improve data integrity⁠

    3250102
  9. feat: introduce ProjectType enum and update project model to use it for improved data integrity

    b5808a8
  10. fix: resolve runtime error in add_existing_user_to_project endpoint⁠

    9cbadb3

  1. fix(invite): implement project-level invitations with validation and notifications

    cd8df9d
  2. feat: project setup person at project creation

    2a684b9

  1. added invited name to user invitaitons

    710ac90
  2. feat: org ids for clients and contractors inside swiftops

    2b747fd

  1. fix SAWarning overlapping relationships between User.project_memberships and ProjectTeam.user

    fa8b99b
  2. feat: hub tracking and last active project preference

    ae9649e
  3. feat: self assignment'

    96d849a
  4. feat: ticket progress reports, tickets incidents

    dad7dc2

  1. feat: default theme is now darkmode, updated invitaion to refresh tokens for a reinvite, scoped apps by role better

    eabe4ec
  2. feat: user preferences support

    b06a903
  3. fix: sync audit log model with database schema⁠

    fa6790b

  1. fix(ticket): correct typo in sales_order primaryjoin (source_type → source)

    708058c
  2. fix: add missing ForeignKeys and correct broken Ticket–ContractorInvoice link

    c591eda
  3. fix(orm): correct asymmetric relationships, add missing back_populates, and remove invalid model refs

    d9b075a
  4. fix(models): rebuild __init__.py to import all models in correct dependency order

    3f30780
  5. fix(models): restore Client–Customer relationship and resolve SQLAlchemy mapping error

    5dccf83
  6. feat(auth): fix platform admin registration flow and update OTP/registration schemas

    ab3ba46
  7. fix: add missing Subscription model class - maps to subscriptions table for customer service subscriptions

    8324cf9