Ashwin Kumar
3e557e54e8
fix: convert all remaining SQLx macros in handlers to runtime API
2026-04-09 08:11:26 +02:00
Ashwin Kumar
83c62a1c5e
fix: convert all SQLx macros to runtime API, remove SQLX_OFFLINE requirement
2026-04-09 07:40:15 +02:00
Ashwin Kumar
1d3d07f001
fix: add Docker Hub login + switch runtime to AWS ECR Public to avoid rate limits
2026-04-09 06:26:01 +02:00
Ashwin Kumar
085b3169f6
fix: limit CARGO_BUILD_JOBS=2 to reduce OOM during parallel matrix builds
2026-04-09 05:55:50 +02:00
Ashwin Kumar
329f650079
fix: add SQLx offline cache and SQLX_OFFLINE=true for Docker builds
2026-04-09 05:46:32 +02:00
Ashwin Kumar
a2fa6cfbb9
fix: use rust:latest image tag (1.88 tag does not exist yet)
2026-04-09 05:34:07 +02:00
Ashwin Kumar
3318a0aec1
fix: bump Rust to 1.88 to satisfy dependency toolchain requirements
2026-04-09 01:49:34 +02:00
Ashwin Kumar
0a067bcb7b
fix: add libssl-dev and Cargo.lock to all service Dockerfiles
2026-04-09 01:43:28 +02:00
Ashwin Kumar
4b4a45f90d
fix: bump Rust to 1.85 to support required dependency features
2026-04-09 01:23:44 +02:00
Ashwin Kumar
2ded64e71b
feat: extend admin/user flows with settings, verification, and approval updates
2026-04-08 22:40:54 +02:00
Ashwin Kumar
23c2edd567
feat: improve startup and routing
...
- Create scripts/init-db.sql for DB schema initialization
- Enhance start-services.sh to auto-initialize DB if needed
- Fix users admin handler: change root route from '/users' to '/' to avoid double prefix
- Remove deprecated handlers (departments/designations/employees) from users service
- Add missing admin route mappings for users and approval/case endpoints in gateway
- Update gateway to correctly handle /api/admin/users, /api/admin/approvals, etc.
- Update .env.example and docs
These changes enable running the stack without Docker and fix admin panel routing.
2026-04-07 22:12:37 +02:00
Ashwin Kumar
cb53b68f49
feat: complete backend implementation - payments service, admin endpoints, auth guards, submit-for-verification for all roles
...
- Add payments service proxying to Beeceptor mock gateway (create-order, verify, status)
- Add companies admin approve/reject/suspend + get detail endpoints
- Apply require_admin auth guards to all employee/department/designation handlers
- Add submit-for-verification endpoint to all 12 roles (10 professions + job seekers + customers + companies)
- Fix port conflict (employees moved from 8085 to 8096)
- Add submit_for_verification methods to all profile repositories
2026-04-06 06:19:10 +02:00
Ashwin Kumar
ec34423b86
feat(phase1): wire email notifications, shared email crate, AppState for services
...
- Create crates/email shared Mailer with 18+ templates (auth, approvals, jobs, leads, tracecoins)
- users/mail.rs now re-exports from shared crate (lettre dep removed)
- Wire password changed/reset emails in users auth handlers
- Wire profile approval/rejection emails in users approvals handlers (company, customer, all 9 professional types)
- Wire job approved/rejected emails in users approvals handlers
- Wire requirement approved email in users approvals handlers
- Add AppState (pool + mail) to companies service; wire submit_job and update_application_status emails
- Add AppState (pool + mail) to customers service; wire submit_requirement, approve_request, reject_request emails (incl. contact-exchange on lead acceptance)
- Add AppState (pool + storage) to job_seekers service with resume upload multipart handler
- Wire lead cancellation and accepted-leads handlers in contracts/profession_shared.rs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 01:42:48 +02:00
Ashwin Kumar
e1ea3f5ffe
Align role handlers and shared profession contract updates
2026-03-25 23:03:12 +01:00
Ashwin Kumar
9764a7acdd
feat: commit remaining service files, migrations, and model updates
...
- gateway, companies, customers, job_seekers apps updated
- users config/mod/mail handlers
- auth middleware and jwt crate updates
- db models: user, config, mod updates
- all remaining migrations: portfolio, notifications, reviews, kb, support, coupons, onboarding states
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 22:59:47 +01:00
Ashwin Kumar
5640cd4ee5
feat: complete rust microservices migration with real db logic
2026-03-17 20:42:51 +01:00