No description
Find a file
Goose 57ad45e884
Some checks failed
Build, Test, and Deploy / build-and-deploy (push) Failing after 36s
feat(custom_objects): display standard system objects in Object Manager and enable custom fields
2026-09-27 03:10:49 +00:00
.forgejo/workflows ci(deploy): apply k8s manifests before updating image in rollout 2026-09-27 01:27:57 +00:00
crm_core fix(security): enforce Activity target model allowlist and preserve audit log integrity across runs 2026-09-27 00:59:12 +00:00
custom_objects feat(custom_objects): display standard system objects in Object Manager and enable custom fields 2026-09-27 03:10:49 +00:00
docs docs: add Salesforce Flow Engine deep-dive architecture and OpenForce implementation blueprint 2026-09-26 17:26:11 +00:00
frontend feat(custom_objects): display standard system objects in Object Manager and enable custom fields 2026-09-27 03:10:49 +00:00
openforce ci(deploy): add production settings, Dockerfile, k8s manifests, and Forgejo deployment workflow 2026-09-27 01:16:13 +00:00
outreach fix(security): lock authority-bearing fields, enforce fail-closed runtime checks, and scope Activity mutations 2026-09-26 22:43:15 +00:00
tests fix(security): enforce Activity target model allowlist and preserve audit log integrity across runs 2026-09-27 00:59:12 +00:00
workflows fix(security): enforce Activity target model allowlist and preserve audit log integrity across runs 2026-09-27 00:59:12 +00:00
.coveragerc Scaffold Phase 1 CRM models and apps 2026-09-26 07:21:21 +00:00
.gitignore chore: gitignore frontend node_modules 2026-09-26 07:45:21 +00:00
Dockerfile ci(deploy): add production settings, Dockerfile, k8s manifests, and Forgejo deployment workflow 2026-09-27 01:16:13 +00:00
entrypoint.sh ci(deploy): add production settings, Dockerfile, k8s manifests, and Forgejo deployment workflow 2026-09-27 01:16:13 +00:00
k8s.yaml fix(deploy): use /static/ asset base in vite and remove explicit ingressClassName 2026-09-27 01:27:00 +00:00
manage.py Scaffold Phase 1 CRM models and apps 2026-09-26 07:21:21 +00:00
pytest.ini Scaffold Phase 1 CRM models and apps 2026-09-26 07:21:21 +00:00
README.md docs: add project README.md documenting architecture, features, and setup 2026-09-26 08:07:24 +00:00
requirements.txt ci(deploy): add production settings, Dockerfile, k8s manifests, and Forgejo deployment workflow 2026-09-27 01:16:13 +00:00

OpenForce — Salesforce Recreation in Django & Vue 3

OpenForce is an enterprise-grade Customer Relationship Management (CRM) platform recreating the core capabilities of Salesforce using Python/Django 4.2 REST Framework on the backend and Vue 3 + TailwindCSS + Pinia on the frontend.

Key Features

  1. Standard CRM Tracking:

    • Leads: Complete lifecycle tracking with atomic lead conversion (Lead -> Account + Contact + Opportunity).
    • Accounts: Hierarchical organization tracking (parent-child relationships).
    • Contacts: Person records mapped to accounts with full contact details.
    • Opportunities: Pipeline stage management with automatic expected revenue calculations (Amount * Probability%).
    • Activities & Tasks: Polymorphic task logging across Leads, Contacts, and Accounts with completion tracking.
  2. Dynamic Custom Objects Metamodel:

    • Create custom schemas (CustomObjectDefinition + CustomFieldDefinition) on the fly like Salesforce __c objects.
    • Dynamic JSONB storage with PostgreSQL GIN index (idx_custom_record_data_gin).
    • Dynamic Draft-07 JSONSchema validation on record creation and partial PATCH updates.
    • RESTful dynamic endpoints: /api/custom/<object_name>/.
  3. Visual Flow Builder (Automation DAG Engine):

    • Visual workflow editor powered by @vue-flow/core.
    • Kahn's algorithm topological sorting with cycle detection and dangling edge prevention.
    • Conditional branch evaluation and execution tracing with idempotency keys.
  4. Outreach & Email Campaigns:

    • Safe merge-tag template engine ({{ first_name }}, {{ company }}).
    • Campaign batch dispatching with 1x1 transparent tracking pixel injection.

Running Locally

Backend (Django)

python manage.py migrate
python manage.py collectstatic --noinput
python manage.py runserver 0.0.0.0:8000

Running Tests

pytest --cov=crm_core --cov=custom_objects --cov=workflows --cov=outreach