Commit graph

163 commits

Author SHA1 Message Date
f7e90ebaeb feat: add backend models, serializers, views, and frontend page for sellers
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 3m17s
2026-11-10 19:25:31 +05:30
c3a887b192 fix(crm): resolve product rejection persistence by querying by product pk, fixing use:enhance form unmount, and returning reactive product status
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 1m59s
2026-11-08 18:06:19 +05:30
07cde931e6 fix(crm): overhaul modal colors, typography contrast, CloudFront image formatting, and reactive image error fallbacks
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 1m56s
2026-11-08 17:52:48 +05:30
d7aa44979e feat: implement sellers serializers and frontend details views
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 1m53s
2026-11-08 17:30:31 +05:30
7b4f51e23d feat: add seller detail page and product management view
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 1m58s
2026-11-08 17:18:09 +05:30
a4e46dc22c feat: add sellers app, database router, serializers, views, and frontend pages
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 2m8s
2026-11-08 17:09:07 +05:30
593c108c12 feat: add serializers and details page view for sellers
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 2m3s
2026-11-01 16:27:32 +05:30
1a0cca1eeb chore: update favicon and logo to styled Tradhox artisan T
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 2m29s
2026-11-01 13:48:53 +05:30
4d6f1ad73e feat: add sellers app models, serializers, views, urls, and frontend UI pages
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 2m6s
2026-10-31 16:59:47 +05:30
04959bc552 fix(frontend): align seller and customer pages with backend API responses
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 1m46s
2026-10-24 16:37:17 +05:30
0a9020d03b feat: Add full A-to-Z Seller and Customer management to Django-CRM
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 1m48s
2026-10-24 16:29:51 +05:30
a2892a3cda feat(auth): enable sign in with user id/email and password
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 1m48s
2026-10-24 15:13:20 +05:30
af1d160464 Revert "Convert frontend to React JS and add S3 deployment workflows"
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 35s
This reverts commit e10f9829ee.
2026-10-24 14:42:05 +05:30
e10f9829ee Convert frontend to React JS and add S3 deployment workflows
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 33s
Deploy Frontend Beta (S3) / deploy-frontend (push) Successful in 20s
2026-10-24 14:33:11 +05:30
Ashwin
e91258eed5 Record where each new org came from, alert stale deals only for orgs in use, and offer industries on the phone's new-org screen (1.25.0) 2026-10-24 11:34:07 +05:30
Ashwin
f5c06542bc Show only the modules an org uses, on web and phone (1.24.0) 2026-10-23 19:16:58 +05:30
Ashwin
cffe004746 Link a deal only to an account its editor can open, and hide automation where the API has none (1.22.1) 2026-10-22 20:11:24 +05:30
Ashwin
5341cd86a3 Add automation rule screens on web and phone (1.22.0) 2026-10-22 18:37:19 +05:30
Ashwin
0643e84c82 Re-check custom objects before Related once the 404 memo lapses (1.20.1) 2026-10-21 20:48:08 +05:30
Ashwin
785d6ccb87 Add custom object pages and screens, hidden unless the server offers them (1.20.0) 2026-10-21 20:39:48 +05:30
Ashwin
601ca1da48 clean up 2026-10-21 09:25:18 +05:30
Ashwin
8e45236d5a clean up 2026-10-21 08:47:20 +05:30
Ashwin
3b90b5a08e upload 2026-10-20 21:48:14 +05:30
Ashwin
ce02cda571 Update license and project details to reflect new ownership and version increment
- Updated LICENSE file to include copyright for RunCode Inc. (2026).
- Revised README.md to change commercial support contact and sponsorship details to RunCode Inc.
- Incremented version number in pyproject.toml and uv.lock from 1.17.0 to 1.17.1.
- Removed outdated funding.json file and updated frontend README for clarity on project structure and setup.
- Adjusted login page links for terms of service.
2026-10-20 14:15:21 +05:30
Ashwin
f6e453098b Refactor imports to use new aliasing convention and update environment variable handling
- Changed imports from '$lib' to '#lib' for consistency across the codebase.
- Updated environment variable imports to use the new structure from '$app/env/public' and '$app/env/private'.
- Removed deprecated svelte.config.js and adjusted vite.config.js to accommodate new configurations.
- Added stubs for environment variables in tests to ensure compatibility with the new import structure.
2026-10-15 20:38:58 +05:30
Ashwin
8eb68b5431 feat: implement invoice and estimate numbering settings (#802)
- Added fields for invoice and estimate number prefixes, date parts, padding, and starting numbers in the organization settings.
- Updated the organization edit and display screens to show examples of new invoice and estimate numbers based on the selected settings.
- Introduced validation for number prefixes and padding, ensuring compliance with server requirements.
- Implemented tests for the new numbering functionality, covering various scenarios including prefix validation and starting number rules.
- Enhanced the mobile app to reflect these changes in the organization settings and display screens.
2026-10-15 19:38:02 +05:30
Ashwin
8d79ff0c2e feat: add account statement feature with PDF download
- Implemented a new endpoint for generating account statements as PDFs.
- Added API configuration for fetching account statements and their PDFs.
- Created data models for account statements, including sections and entries.
- Developed a provider for managing account statement data retrieval.
- Introduced a new screen for displaying account statements with options to change the date range.
- Enhanced the account detail screen to include a button for accessing statements.
- Implemented unit tests for account statement functionality and provider behavior.
- Updated invoice formatting to correctly display negative amounts for payments and credits.
2026-10-15 18:45:23 +05:30
Ashwin
00f13ec90d feat(bulk): enforce a maximum of 200 IDs for bulk update/delete actions and handle refusals gracefully 2026-10-15 17:23:18 +05:30
Ashwin
1de4401be8 feat: update version to 1.14.4 and enhance form submission handling to prevent duplicate entries 2026-10-02 11:27:28 +05:30
Ashwin
3d3330bcbf fix: update referrer policy to same-origin for CSRF protection 2026-10-02 09:53:33 +05:30
Ashwin
5b6bc01687 feat(audit): enhance visitor tracking with user agent and IP address
- Updated the audit log to record the user's IP address and user agent from relayed requests.
- Introduced a new `user_agent` function in `request_meta.py` to handle user agent extraction.
- Modified the `AuditLogger` to utilize the new `user_agent` function.
- Added tests to ensure correct logging of relayed visitor information in `test_audit_log.py`.
- Updated various views and tests to accommodate the new user agent handling, including `public_views.py`, `test_invoices_api.py`, and frontend hooks.
- Enhanced relay headers to include user agent information for better tracking.
- Updated documentation and comments to reflect changes in user agent handling.
2026-10-02 08:32:51 +05:30
Ashwin
22c660ef44 chore: bump version to 1.14.0 and update currency options
- Updated version from 1.13.0 to 1.14.0 in backend/pyproject.toml and backend/uv.lock.
- Added South African Rand (ZAR) to currency options in frontend and mobile applications.
- Refactored currency and country options to use a centralized list in mobile and frontend.
- Added tests to ensure South African Rand and country options are correctly included.
2026-09-27 14:44:49 +05:30
Ashwin
ed4263a534 Refactor tests and add new functionality for ticket closing and mailbox handling
- Updated phone viewport test to check for new text related to SNS topics.
- Enhanced audit log screen tests with new credential events and filters.
- Modified mailbox form sheet tests to handle SNS Topic ARN correctly.
- Introduced new tests for ticket form close date functionality, ensuring correct behavior for optional close dates.
- Added support for organization timezone handling in tests, ensuring accurate date calculations based on user organization.
- Improved unit tests for mailbox and organization date handling, ensuring proper behavior for various scenarios.
- Implemented bulk close date functionality in ticket selection tests, verifying correct behavior for date selection and submission.
2026-09-27 11:43:51 +05:30
Ashwin
2be3f51efc Add comprehensive tests for ticket closing, calendar feed, deal board, macros, session caches, and web form models
- Implement tests for closing tickets via menu and status picker, ensuring correct API interactions and error handling.
- Create tests for calendar feed provider, verifying throttling behavior and success responses.
- Add tests for deal board provider, covering reading and moving deals, including edge cases for card movement and filters.
- Enhance macro tests to validate action parsing and application to tickets, including error handling.
- Introduce session cache tests to ensure proper cleanup on sign-out and validate session-scoped providers.
- Extend web form model tests to cover lead rotation functionality, ensuring correct serialization and defaults.
2026-09-27 06:28:09 +05:30
Ashwin
66421bbad0 Add ticket approval panel tests and enhance ticket board functionality
- Implement tests for ticket approval panel to verify approval request logic and visibility based on user roles.
- Add functionality to handle ticket movement based on server response for both tickets and leads.
- Introduce new tests for duplicate checking API to ensure correct handling of duplicates and merging logic.
- Remove outdated permissions tests that are no longer relevant.
- Update ticket board and lead board providers to include 'can_move' field for better control over ticket actions.
- Refactor existing tests to improve coverage and ensure accurate representation of API responses.
2026-09-26 23:33:20 +05:30
Ashwin
073c3bc666 refactor: update Sentry configuration and improve data privacy
- Removed enableLogs option from Sentry client initialization.
- Added dataCollection settings to Sentry server initialization to prevent sending user info, cookies, and HTTP bodies.
- Updated import path for Sentry SvelteKit in Vite configuration to use the correct module.
- Simplified source maps upload options in Vite configuration.
2026-09-26 21:08:01 +05:30
Ashwin
dd6ca2958d Add unit tests for organization admin checks and saved views provider
- Implement tests for `isOrgAdminProvider` to validate admin roles based on organization membership and role.
- Create tests for `saved_views_provider` to ensure correct API interactions for saving, renaming, and deleting saved views.
- Enhance ticket tree tests to accurately reflect inactive and merged ticket handling.
- Update CSV import tests to verify error handling and file saving functionality.
- Introduce tests for deal cards to ensure correct display of next steps and task statuses.
2026-09-26 20:38:32 +05:30
Ashwin
3f46e09aed chore: update frontend and backend URLs to use port 5181 for local development 2026-09-26 17:24:25 +05:30
Ashwin
e26ab380fc Add unit tests for ticket board provider, status settable, web forms, CSV import, deal aging badge, and tickets selection
- Implement comprehensive tests for the ticket board provider to validate kanban and pipeline modes, including ticket movement and error handling.
- Create tests for ticket status settable to ensure proper status selection logic.
- Enhance web form model tests to cover ticket-specific fields and submission behavior.
- Introduce CSV import sheet tests to verify file handling and error reporting.
- Add deal aging badge tests to confirm correct display of aging statuses.
- Implement tickets selection tests to ensure UI responsiveness and functionality at various screen sizes.
2026-09-26 16:53:22 +05:30
Ashwin
794ff2dbd4 Refactor ticket and contact handling to improve visibility and access control
- Updated task views to utilize new access functions for accounts and contacts, ensuring users only see what they can access.
- Enhanced contact editing to maintain linked accounts even when not visible in the picker, preventing accidental unlinking.
- Introduced tests for contact form to verify linked account behavior.
- Implemented parent ticket handling to correctly display restricted tickets, ensuring hidden parents are represented accurately in the UI.
- Added tests for ticket parent visibility and interaction, confirming that restricted parents do not allow navigation.
- Improved ticket tree structure to handle restricted nodes, ensuring proper functionality during close operations.
2026-09-26 12:17:45 +05:30
Ashwin
41d4148edb feat: Enhance goal tracking with currency support and separate totals
- Updated goal model to include currency, allowing for multiple currencies in goals.
- Modified goal totals calculation to keep currencies separate and accurately reflect targets and achievements.
- Added tests to ensure correct handling of multiple currencies in goal tracking.
- Enhanced invoice reports to support multiple currencies, ensuring accurate reporting without summing across different currencies.
- Implemented lead board provider tests to validate lead movement and pipeline functionality.
- Introduced record edit verb tests for accounts, contacts, and leads, ensuring PATCH requests are correctly formed.
- Improved tag normalization to handle non-Latin scripts and prevent duplicates.
2026-09-26 10:06:25 +05:30
Ashwin
6e9fd8c98c chore: update dependencies and configurations
- Updated `pnpm-workspace.yaml` to force patch for `cookie` package to address GHSA-pxg6-pf52-xh8x vulnerability.
- Modified `vitest.config.js` to set `maxWorkers` to '50%' for improved test performance.
- Bumped version in `pubspec.yaml` from 1.2.1+12 to 1.9.0+13 for mobile application.
2026-09-05 22:49:29 +05:30
Ashwin
41250838ad Add comprehensive tests for web forms functionality
- Implement tests for web forms screen to ensure proper rendering and behavior on different devices.
- Create unit tests for web form model to validate JSON serialization and deserialization.
- Add tests for web forms provider to verify API interactions and state management.
- Ensure that publishing rules and field validations are correctly enforced in the tests.
2026-08-17 13:33:14 +05:30
Ashwin
8b20bc0edb feat: add goal history screen and integrate with goals screen
- Implemented GoalHistoryScreen to display finished goal periods and their attainment.
- Added navigation from GoalsScreen to GoalHistoryScreen via a history icon.
- Enhanced GoalsScreen to support filtering goals with a search bar and filter chips.
- Updated formatGoalValue function to handle new goal type 'ACTIVITIES'.
- Added unit tests for goal history, filtering, and goal types.
- Improved error handling and empty states for goal history and goals list.
2026-08-16 19:05:23 +05:30
Ashwin
d2a2d690fc feat: add time report feature with CSV export
- Implemented a new time report page in the frontend that displays totals by agent, ticket, or account over a specified date range.
- Added a CSV export functionality for the time report, allowing users to download their report data.
- Created API endpoint for exporting time report data in CSV format.
- Developed data models and providers for managing time report data in the mobile application.
- Integrated time report navigation into the mobile app, allowing users to access the report from the timesheet screen.
- Added unit tests for time report data parsing and API request handling.
2026-08-16 10:23:02 +05:30
Ashwin
3726150a2e feat: add SLA targets to escalation policies and tickets
- Enhance escalation policy tests to include first response and resolution hours.
- Introduce new SLA target fields in escalation policies and ensure they are correctly handled in the API.
- Implement SLA target handling in ticket properties, including at-risk and breached states.
- Update UI components to display SLA targets and their default values.
- Add validation for SLA hours input in forms, ensuring proper error handling.
- Create unit tests for SLA target functionality in both escalation policies and tickets.
2026-08-16 09:24:18 +05:30
Ashwin
cab3e92c60 feat: enhance article management with tagging system
- Implemented tagging functionality in the article editing and creation forms, allowing users to select tags for articles.
- Updated the article detail view to display related articles based on shared tags.
- Added a new portal view for customers to access help articles, including search functionality.
- Introduced a suggestions feature in the request form to display relevant articles based on user input.
- Enhanced the mobile solution detail screen to support tag selection and display.
- Updated data models to include tag IDs for articles, ensuring proper handling of tags in the backend.
- Added tests to verify the correct behavior of the tagging system in the solution detail screen.
2026-08-16 07:29:38 +05:30
Ashwin
a9e0dd9bc3 feat: enhance customer portal case management and article publishing
- Implemented a new customer portal for users to manage their support requests.
- Added functionality for users to create and view their support cases.
- Updated article publishing logic to clarify the distinction between approval and visibility in the ticket reply panel.
- Enhanced the comment model to include the author's name when comments are made through the customer portal.
- Improved UI/UX for the solutions and cases pages, ensuring better clarity on article status and visibility.
- Updated documentation to reflect changes in the API and customer portal features.
2026-08-15 23:59:44 +05:30
Ashwin
49c5db94d1 fix: update CodeQL workflow to include permissions and use latest actions versions; adjust publish job dependencies 2026-08-12 21:16:08 +05:30
Ashwin
f8f7dc0c11 feat: add email templates for assigned contacts, leads, and opportunities
- Created new email templates for notifying users when a contact, lead, or opportunity is assigned to them.
- Added a health check HTML template for server status.
- Introduced magic link email templates for sign-in codes and links.
- Implemented a new root email template for consistent styling across emails.
- Updated packaging tests to ensure all templates are included in the wheel.
- Modified settings to remove project-level template directories, ensuring templates are sourced from app directories.
- Added new templates for goal milestones and stale deals alerts in the opportunity module.
- Bumped version to 1.3.0 and updated dependencies in the project configuration.
- Enhanced Dockerfile for better build management and added .dockerignore for cleaner builds.
- Introduced CSAT rating functionality in the frontend with corresponding tests.
2026-08-12 20:19:53 +05:30