Commit History

Add report viewing and exporting permissions to manager and dispatcher roles
f978499

kamau1 commited on

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

kamau1 commited on

Add invite_users permission to PM/Dispatcher/Sales Manager roles for bulk invites
b00cab2

kamau1 commited on

Add contractor invoice stats endpoint and provide focused frontend integration documentation
5f49829

kamau1 commited on

Expand manage_org_users permissions and update org-based checks so managers can manage users within their organization
7755587

kamau1 commited on

feat: add expense notifications (approve/reject), fix field agent upload permissions, and update expense documentation
8a1c125

kamau1 commited on

feat(tasks): add comprehensive tasks API with notification integration and documentation
a15e3da

kamau1 commited on

fix: resolve inventory permission issues, endpoint routing conflict, and audit service params
254572e

kamau1 commited on

feat(sales_orders): enhance permission checks and validation for bulk imports
80fa958

kamau1 commited on

fix: Improve Supabase signup error handling and auto-confirm emails
7e93600

kamau1 commited on

Add 'manage_projects' permission to various roles for project management capabilities
1929c9f

kamau1 commited on

CRITICAL PERFORMANCE FIX: Database connection optimization - Increased SQLAlchemy connection pool from 5 to 20 - Added connection recycling (5 min TTL) - Made SupabaseAuth singleton to reuse connections - Changed audit logging from commit() to flush() to batch writes - Added comprehensive performance fix documentation See PERFORMANCE_FIX.md for CRITICAL step: Must update DATABASE_URL to use Supabase connection pooler (port 6543)
54e6861

kamau1 commited on

feat: implement org admin permissions, org-scoped filtering, and audit log updates
b43d99a

kamau1 commited on

feat: hub tracking and last active project preference
ae9649e

kamau1 commited on

fix: require_role decorator to handle both sync and async functions
335bbf8

kamau1 commited on

fix: require_role decorator to handle strings and enums
803ed1a

kamau1 commited on

feat: implement automatic token refresh for Supabase Free tier
3bc697e

kamau1 commited on

feat(org-permissions): allow org admins to create client and contractor organizations
a7a8704

kamau1 commited on

feat: config admin email, enhance RBAC
e36ac68

kamau1 commited on

RBAC on key routes, otp to admin email on account creation
62c6607

kamau1 commited on

fix: add missing Supabase admin client module and update users.py import to restore admin password reset functionality
dd886a4

kamau1 commited on

hide urls and reoder startup sequence
08ec64b

kamau1 commited on

feat: redics, user delete, link profile to media service
0a9d112

kamau1 commited on

fix: health check bucket listing and add Supabase storage RLS policies setup
9929ac7

kamau1 commited on

feat: profile photo maps to user_document_links, enhanced initial health check for supabase buckets, added smart fallback with force_provider support
6490f91

kamau1 commited on

revert: undo ClientOptions implementation and return to stable Supabase init for v2.0.3
12702ac

kamau1 commited on

fix: replace dict with ClientOptions in Supabase client init to restore stateless config
9a648e8

kamau1 commited on

fix: disable Supabase auto-refresh for stateless backend and switch logging to ISO 8601 timestamps
5dcb32d

kamau1 commited on

fix(auth): sync User model and auth responses with actual schema
2259bd0

kamau1 commited on

feat(auth): integrate Supabase Auth and remove local password handling
13ca341

kamau1 commited on

update models, disable auto-create, add health checks and WhatsApp
d35f8ca

kamau1 commited on

feat/fix: update User model to match Supabase schema, disable auto table creation, and introduce startup DB health checks with connection and table validation
212bf52

kamau1 commited on

fix: remove unnecessary services like prometheus
ad4d1e4

kamau1 commited on

Iniital Commit
74de430

kamau1 commited on