Commit graph

185 commits

Author SHA1 Message Date
Tracewebstudio Dev
f1308aebec ci: fix woodpecker registry secrets and base images 2026-04-17 01:39:21 +02:00
Tracewebstudio Dev
dde727b2c7 ci: fix linter errors - remove concurrency root, remove unused service_name secret 2026-04-17 01:28:40 +02:00
Tracewebstudio Dev
fb5073c8db ci: trigger woodpecker 2026-04-17 01:26:53 +02:00
Tracewebstudio Dev
ddd3d3d712 ci: explicitly wire secrets with from_secret in environment 2026-04-17 01:25:09 +02:00
Tracewebstudio Dev
54cc66bff0 ci: explicitly wire secrets with from_secret in environment 2026-04-17 01:10:52 +02:00
Tracewebstudio Dev
dd51b8ca80 ci: fix secrets injection using secrets: block 2026-04-17 01:01:45 +02:00
Tracewebstudio Dev
b7f86356db ci: use docker cli directly - images already in registry 2026-04-17 00:51:45 +02:00
Tracewebstudio Dev
192a90d128 ci: use registry.nxtgauge.com/kaniko:2.1.1 explicitly 2026-04-17 00:45:15 +02:00
Tracewebstudio Dev
b2c2e78963 ci: use kaniko:2.1.1 from registry (not woodpeckerci/plugin-kaniko) 2026-04-17 00:41:09 +02:00
Tracewebstudio Dev
b97cc789fa ci: use kaniko, registry host from secret, remove hardcoded values 2026-04-17 00:38:21 +02:00
Tracewebstudio Dev
4435025421 ci: pull docker cli from registry.nxtgauge.com instead of Docker Hub 2026-04-17 00:35:32 +02:00
Tracewebstudio Dev
4bfbfdd865 ci: restore matrix for all Rust services 2026-04-17 00:32:57 +02:00
Tracewebstudio Dev
5f6199290e ci: standardize woodpecker secret names 2026-04-17 00:31:45 +02:00
Tracewebstudio Dev
83cacb8c62 ci: use docker cli instead of kaniko - more reliable with registry configuration 2026-04-17 00:09:29 +02:00
Tracewebstudio Dev
9dae12df35 ci: fix kaniko image path - use registry.nxtgauge.com/kaniko:2.1.1 2026-04-17 00:05:35 +02:00
Tracewebstudio Dev
00b864787b ci: use kaniko from registry.nxtgauge.com instead of Docker Hub 2026-04-16 23:58:49 +02:00
Tracewebstudio Dev
d7ebbcb706 ci: use registry.nxtgauge.com without port (server fixed) 2026-04-16 23:21:22 +02:00
Tracewebstudio Dev
cc65771a77 ci: revert to registry.nxtgauge.com:5000 (from 4d6de95 - working config) 2026-04-16 23:08:06 +02:00
Tracewebstudio Dev
9c8cee50b3 ci: revert to woodpeckerci plugin-kaniko from Docker Hub 2026-04-16 22:38:36 +02:00
Tracewebstudio Dev
7f1ca0e387 ci: use kaniko from registry.nxtgauge.com 2026-04-16 22:28:29 +02:00
Tracewebstudio Dev
3fde2917cd ci: revert backend to direct kaniko build (no crane) 2026-04-16 22:16:33 +02:00
Tracewebstudio Dev
9444056297 ci: mirror base images first, then build services
- First step: crane copy rust:alpine, rust:1.87-alpine, alpine:3.20 to registry
- Second step: kaniko build each service with mirrored base images
- No DinD required
2026-04-16 21:32:40 +02:00
Tracewebstudio Dev
770ebcbfc6 fix(build): remove rustup target in Dockerfile.simple
- rust:alpine image already includes x86_64-unknown-linux-musl target
- Remove rustup target add command causing 'not found' error
2026-04-16 20:54:24 +02:00
Tracewebstudio Dev
09df0323f3 fix(ci): use mirrored rust:alpine from private registry
- Change FROM rust:alpine to FROM registry.nxtgauge.com/rust:alpine
- Fixes Docker Hub rate limiting/UNAUTHORIZED errors in Woodpecker builds
- Requires manually pulling and pushing rust:alpine to registry.nxtgauge.com first
2026-04-16 18:37:17 +02:00
Tracewebstudio Dev
d08449185e feat: add v1 users API routes for backward compatibility
- Add /api/v1/users path routing to users service in gateway
- Add v1_router() in auth.rs with resend-otp endpoint
- Nest /api/v1/users route in main.rs
- Support legacy /api/v1/users/resend-otp endpoint
2026-04-16 18:06:06 +02:00
Tracewebstudio Dev
31d4570356 fix(email): update company name and address in email footer
- Change company name from 'Nxtgauge Technologies Pvt. Ltd.' to 'Traceworks Technologies LLP'
- Update address from Bangalore to: 13th main road, Anna nagar west, Chennai - 600040
- Remove GSTIN field from footer
2026-04-16 17:24:49 +02:00
Tracewebstudio Dev
f3d686d076 feat(email): use Nxtgauge logo image instead of text logo
- Replace text 'NXTGAUGE' with actual logo image in email header
- Use hosted logo URL: https://nxtgauge.com/nxtgauge-logo.png
- Copy logo to email/public directory for future use
2026-04-16 17:21:24 +02:00
Tracewebstudio Dev
5ca90d111b fix(ci): use registry.nxtgauge.com for db-migrate image
- Remove :5000 from registry in db-migrate build step
- Ensure all images push to registry.nxtgauge.com
2026-04-16 12:06:46 +02:00
Tracewebstudio Dev
d29c755899 fix(users): add missing password_hash bind parameter in user create
- INSERT statement had only 4 placeholders but 5 columns specified
- Add  placeholder for password_hash and bind it properly
2026-04-16 10:35:47 +02:00
Tracewebstudio Dev
52ed6d7975 fix(support): add missing status bind parameter in admin create case
- Fix INSERT statement to use , ,  instead of hardcoded 'new' with placeholders
- Add .bind("new") for status parameter
2026-04-16 10:28:05 +02:00
Tracewebstudio Dev
ebc0a29437 fix(ai): use Ollama cluster URL and gemma3:270m model defaults
- Default OLLAMA_BASE_URL to http://ollama.nxtgauge-ai.svc.cluster.local:11434
- Default OLLAMA_CHAT_MODEL to gemma3:270m (matches gitops configmap)
2026-04-15 19:54:58 +02:00
Tracewebstudio Dev
430711a0ae feat: add AI endpoints for chat, tickets, form extraction via Ollama
- Add /api/ai/chat/message: LLM-powered chat with intent classification
- Add /api/ai/tickets/create and /api/ai/tickets/🆔 AI ticket management
- Add /api/ai/forms/extract: LLM-powered form field extraction
- Add /api/support/tickets/ai/create: unauthenticated ticket creation for AI service
- Add reqwest to workspace dependencies
2026-04-15 18:19:07 +02:00
Tracewebstudio Dev
4fa5005559 fix: use registry.nxtgauge.com without port 2026-04-15 14:58:40 +02:00
Tracewebstudio Dev
3456829063 fix: hardcode registry with port 5000 2026-04-15 14:50:51 +02:00
Tracewebstudio Dev
a3076ed526 feat: update DB schema - split users.first_name, users.last_name, roles split 2026-04-15 06:23:27 +02:00
Tracewebstudio Dev
92ded2b43d Fix role/config schema alignment and external dashboard runtime loading 2026-04-15 00:16:25 +02:00
Tracewebstudio Dev
2a65d79aea chore: remove gitops update step (handled server-side) 2026-04-14 18:52:19 +02:00
Tracewebstudio Dev
37b17b8b77 fix: use GITOPS_REPO_URL with GHCR auth 2026-04-14 18:44:09 +02:00
Tracewebstudio Dev
e133bd0f2d fix: use GHCR_TOKEN/GHCR_USERNAME for gitops push 2026-04-14 18:31:55 +02:00
Tracewebstudio Dev
a2c995992e fix: use GITOPS_REPO_URL secret for git clone 2026-04-14 18:30:50 +02:00
Tracewebstudio Dev
99b8dc929e fix: use GITHUB_TOKEN for git clone 2026-04-14 18:27:56 +02:00
Tracewebstudio Dev
747a4cb108 ci: add gitops update step while keeping original registry config 2026-04-14 14:34:00 +02:00
Tracewebstudio Dev
4d6de951bf fix: use explicit registry.nxtgauge.com:5000 with REGISTRY_* secrets 2026-04-14 14:32:28 +02:00
Tracewebstudio Dev
c5b097d20c ci: update gitops for all services (not just gateway/users) 2026-04-14 14:30:04 +02:00
Tracewebstudio Dev
d3cdd56ba4 ci: simplify GitOps update to use Woodpecker's Git access 2026-04-14 14:28:21 +02:00
Tracewebstudio Dev
0d01e70576 fix: use GHCR_USERNAME/GHCR_TOKEN instead of REGISTRY_* 2026-04-14 14:26:55 +02:00
Tracewebstudio Dev
d4c7fdcddd ci: add GitOps update step to Woodpecker pipeline
- After building gateway/users images, update GitOps with new SHA tag
- Update apps/nxtgauge-backend-rust/overlays/prod/kustomization.yaml
- Requires secrets: GITOPS_REPO_URL, GITOPS_BRANCH, GITOPS_TOKEN
2026-04-14 14:18:00 +02:00
Tracewebstudio Dev
30d8eeb279 ci: force Woodpecker rebuild - signup fix deployment 2026-04-14 12:51:22 +02:00
Tracewebstudio Dev
0b71e39ce0 ci: trigger woodpecker for phone/full_name fix deployment 2026-04-14 10:57:57 +02:00
Tracewebstudio Dev
15100d20f3 ci: trigger woodpecker build 2026-04-13 23:28:23 +02:00