Commit Graph
28 Commits
Author SHA1 Message Date
gabspereira 744868caa1 feat(go-crm): full auth, routing, middleware, and supporting infra
- Add auth handlers (signup, login, logout, account management) with bcrypt
- Add client, customer, service, scheduling, payment, question, answer handlers
- Add dashboard, monthly report, and lead pipeline pages
- Add UTF-8 middleware to force charset on HTML responses
- Add config package with env-based overrides for DB path, secrets, endpoints
- Add parser package for WhatsApp message ingestion
- Add clean-arch layers: pkg/domain, pkg/repo, pkg/usecase for leads
- Add cmd/migrate utility for DB migrations
- Add Makefile, README, run-tests.sh, and dev scripts
- Update docker-compose.yml with memory limits
- Update .air.toml to exclude DB files and stop on errors
- Update whatsapp-sync dependencies and add src/index.js entrypoint
- Add whatsme standalone WhatsApp reader app (source only)
- Untrack .opencode-sandbox/data/go-crm.db from git history
- Expand root .gitignore: ngrok, tmp dirs, sandbox DBs, compiled binaries
2026-05-23 16:55:55 -03:00
gabspereira 57920d45d6 feat(leads): add lead pipeline, keyword/status mapping, and encoding fixes
- Add lead ingestion, review queue, and keyword/status management
- Add DB schema: leads, service_keywords, lead_statuses, processed_messages
- Add migration with default keyword/status seeding per client
- Fix SQLite read/write deadlock in sanitizeEncoding
- Fix UTF-8 corruption: replace byte-iterating replaceAll with strings.ReplaceAll
- Add utf8.ValidString guard to decodeLatin1 to avoid double-encoding
- Remove hardcoded internal-secret; use config.InternalSecret() everywhere
- Add .gitignore for binaries, SQLite DBs, build artifacts, WhatsApp sessions
2026-05-23 16:49:43 -03:00
gabspereira 57e6e5a6fd Add leads handlers, WhatsApp integration, and test files 2026-05-02 17:40:38 +00:00
gabspereira 8833e38b80 remove not necessary files to publish 2026-05-02 14:37:59 -03:00
gabspereira 31247a63f6 go-crm improvements 2026-05-01 15:43:13 -03:00
gabspereira ee6673265f enabling skills to opencode 2026-04-25 15:08:18 -03:00
gabspereira fcaec5ea46 new skills according to mattpocock 2026-04-25 14:52:24 -03:00
gabspereira f8135d0e1b go-crm initial 2026-04-21 17:34:58 -03:00
gabspereira 5b8107c169 Add GOTH stack CRM platform skeleton
- Go module with chi router, bcrypt
- SQLite schema for 9 tables
- Auth, Clients, Customers, Services, Scheduling, Payments, Q&A handlers
- HTMX template layouts
2026-04-21 15:56:40 +00:00
gabspereira 31039ea4af add caveman 2026-04-20 15:41:33 -03:00
gabspereira 000e7b5104 fix: configure SSH to use port 222 for Gitea and improve entrypoint resilience 2026-04-05 21:38:47 +00:00
gabspereira 0e601a254e fix opencode and gitea integration 2026-04-05 21:09:15 +00:00
gabspereira 30ccdab8af chore(opencode-sandbox): add SSH config, git safe directory, and test setup 2026-04-05 20:16:52 +00:00
gabspereira 299de83f2f chore(opencode-sandbox): fix SSH key permissions and remove read-only flag 2026-04-05 18:55:28 +00:00
gabspereira 32e5eb8906 chore(opencode-sandbox): add SSH auth and workspace mount for Gitea
- Mount host workspace at /home/ga/workspace
- Add SSH key and known_hosts for Gitea auth
- Configure git user identity in container
2026-04-05 18:19:34 +00:00
gabspereira e8bb767884 feat: initial setup with WhatsApp CRM apps and sync services 2026-04-05 17:29:28 +00:00
gabspereira d983027450 adding opencode to the environment 2026-04-04 17:07:29 +00:00
gabspereira 590037e1c4 adding some spaces for better reading 2026-03-26 21:09:42 +00:00
gabspereira f79abea0e9 renamed 2026-03-26 21:07:46 +00:00
gabspereira 2a10a06a90 renamed 2026-03-26 21:07:29 +00:00
gabspereira ad15f16dd1 renamed 2026-03-26 21:07:00 +00:00
gabspereira 2fbf801dcd renamed 2026-03-26 21:06:35 +00:00
gabspereira e5c2f9889f fix and improve screeshots naming convention 2026-03-26 21:05:46 +00:00
gabspereira cbd7e6f7b6 update dir 2026-03-26 21:00:20 +00:00
gabspereira 1f959133a0 screenshots from app 2026-03-26 20:59:00 +00:00
gabspereira 1eefa50bc9 adding some screeshots 2026-03-26 20:57:07 +00:00
gabspereira 3a3ab1cf6b update credential from udacity 2026-03-26 19:54:58 +00:00
gabspereira 40cea11f02 Initial commit 2026-03-25 21:45:25 -03:00