Commit graph

428 commits

Author SHA1 Message Date
ashwin31
125aeee2ea security: remove leaked Google API key from repository
Remove google-services.json from tracking and add it to .gitignore.
Add a .json.template placeholder with dummy values so developers know
the file structure. Update README to reflect auto-created admin user.

The leaked key (AIzaSyDsA2wgQIw-bVgwODNMIF482gVRn5xdANU) must still
be revoked in Google Cloud Console by the project owner.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 12:55:33 +05:30
ashwin31
5086092d7d fix: address PR review feedback from CodeRabbit
- Remove invalid username= arg from create_superuser (User model has no
  username field, USERNAME_FIELD is email)
- Warn when ADMIN_PASSWORD is not set instead of silently using "admin"
- Fail fast if insecure SECRET_KEY is used in non-dev environments
- Remove duplicate DOMAIN_NAME assignment (lines 309 vs 333)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 12:35:45 +05:30
ashwin31
cbcab8636a fix: resolve setup and Docker issues preventing project from running
Use shared_task instead of standalone Celery apps so celery -A crm worker
discovers all tasks. Add safe defaults for all required env vars in
settings.py so missing .env no longer crashes Django. Create idempotent
management command to bootstrap a superuser in Docker. Populate
.env.example with working dev defaults.

Fixes #490, #493, #508, #388, #383, #382, #381, #441, #519

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 10:27:47 +05:30
ashwin31
1f6b797909 feat: add Docker Compose setup for local development
Dockerize the full stack so developers can run everything with
`docker compose up`. Replaces the outdated Dockerfile and
docker-compose.yml with a working 6-service setup: PostgreSQL,
Redis, Django backend, Celery worker, Celery beat, and SvelteKit
frontend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 10:01:50 +05:30
ashwin31
1aa676fc98 fix: remove URL from activation email recipients list
The activation URL was mistakenly added to the EmailMessage recipients
list alongside the user email. Recipients should only contain email
addresses; the activation link is already passed via the template context.

Fixes #560

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:28:21 +05:30
Ashwin Kumar
cc28cfb4ec
mobile app
M1
2026-01-19 23:39:23 +05:30
Ashwin
666c59ada8 m16 2026-01-19 22:02:37 +05:30
Ashwin
158c9bcad0 m15 2026-01-19 21:36:08 +05:30
Ashwin
12e6398d01 m14 2026-01-19 17:25:18 +05:30
Ashwin
3d7b269ff1 ui enhanced 2025-12-29 15:43:03 +05:30
Ashwin
26fe2eb52e m13 2025-12-28 17:22:29 +05:30
Ashwin
60917e85c0 . 2025-12-28 12:24:16 +05:30
Ashwin
4489805c7c m12 2025-12-28 11:11:42 +05:30
Ashwin
62fb884c36 m11 2025-12-21 01:34:11 +05:30
Ashwin
1612a05ecc m11 2025-12-21 01:17:14 +05:30
Ashwin
9400ce6338 comments added 2025-12-21 01:04:44 +05:30
Ashwin
6de835091f m10 2025-12-21 00:51:44 +05:30
Ashwin
7b8225a293 m9 2025-12-17 19:30:33 +05:30
Ashwin
99a1542fe1 m8 2025-12-17 19:17:04 +05:30
Ashwin
8f1719c5d5 m7 2025-12-17 19:06:36 +05:30
Ashwin
27f08d1043 m6 2025-12-17 18:55:28 +05:30
Ashwin
e5c6eac50e m5 2025-12-17 18:43:14 +05:30
Ashwin
6327e84f66 m4 2025-12-17 18:28:13 +05:30
Ashwin
b3647f8661 m3 2025-12-17 17:45:12 +05:30
Ashwin
253544508f m2 2025-12-17 16:10:48 +05:30
Ashwin
5b4cfecc0d m1 init 2025-12-17 14:36:03 +05:30
Ashwin Kumar
c39e4e4a57
Merge pull request #573 from MicroPyramid/dev
Dev
2025-12-10 18:39:20 +05:30
Ashwin
c5aec64dd9 Merge branch 'master' of github.com:MicroPyramid/Django-CRM into dev 2025-12-10 18:38:37 +05:30
Ashwin
ea4ca6e8ed fix 2025-12-10 18:38:07 +05:30
Ashwin Kumar
9112a4fd6d
ui enhancements
ui enhancements
2025-12-10 18:32:06 +05:30
Ashwin
ef596af632 Merge branch 'master' of github.com:MicroPyramid/Django-CRM into dev 2025-12-10 18:31:33 +05:30
Ashwin
fe88624508 ui enhancements 2025-12-10 18:31:04 +05:30
Ashwin Kumar
4bff7b9cd8
kanban
kanban
2025-12-09 16:30:49 +05:30
Ashwin
1413685934 Merge branch 'master' of github.com:MicroPyramid/Django-CRM into dev 2025-12-09 16:29:45 +05:30
Ashwin
b1fdffc1cc feat: Implement enterprise constraints, update models, serializers, views, and enhance UI components across the application. 2025-12-09 16:26:17 +05:30
Ashwin
0f52064047 migration fix 2025-12-09 16:19:45 +05:30
Ashwin
dadefeff99 feat: Add profile details to session type; refactor component prop defaults, update dynamic component syntax, and enhance type safety in form and error handling. 2025-12-09 16:10:31 +05:30
Ashwin
451b2fe81b kanban for cases 2025-12-09 16:07:08 +05:30
Ashwin
c878c13723 kanban for tasks 2025-12-09 15:29:31 +05:30
Ashwin
1efc486f71 kanban for leads 2025-12-09 14:55:52 +05:30
Ashwin Kumar
118f19ef03
invoices
invoices
2025-12-09 13:33:32 +05:30
Ashwin
f0acc5227e Merge branch 'master' of github.com:MicroPyramid/Django-CRM into dev 2025-12-09 13:32:36 +05:30
Ashwin
f15f4061da invoice module 2025-12-09 13:32:12 +05:30
Ashwin Kumar
3013c20d16
Merge pull request #569 from MicroPyramid/dev
0.2
2025-12-08 22:53:28 +05:30
Ashwin
975aa4b31c feat: Add invoicing feature implementation plan, improve security logging, and enable CSRF protection. 2025-12-08 08:52:00 +05:30
Ashwin
bae430856b feat: Add duplicate detection, workflow configurations, and enterprise constraints for CRM entities, alongside model and UI updates. 2025-12-08 08:48:25 +05:30
Ashwin
ecc4a539d8 feat: Implement account quick actions for cases and tasks, enhance account serializer, and add invoicing plan. 2025-12-08 08:09:05 +05:30
Ashwin
77c3441445 refactor: Replace PhoneNumberField with CharField for phone number fields across initial migrations. 2025-12-07 07:16:40 +05:30
Ashwin
0f2e13fbee docs: broaden PostgreSQL RLS setup grants to ALL PRIVILEGES and refactor Svelte AlertDialog trigger styling. 2025-12-07 06:17:14 +05:30
Ashwin
7f782b2027 feat: Implement user activation/deactivation functionality, update user role with PATCH, and align backend user lookup with user ID. 2025-12-07 04:58:32 +05:30