Commit Graph
13 Commits
Author SHA1 Message Date
sankalp 84cb41790c feat(src/tickets): assign request user as ticket updater
Ensure audit trail of status changes by recording requesting user.
2026-06-29 07:49:51 +05:45
sankalp d30cfd61c3 fix(src/tickets): wrap move ticket view in atomic transaction with select_for_update
Ensures data integrity and prevents race conditions when moving tickets.
2026-06-29 07:20:47 +05:45
sankalp 7600b7b773 fix(src/tickets): adjust permission check for moving tickets to use user_can_move_to_status
Clarify error message and strengthen security validation
2026-06-28 19:35:03 +05:45
sankalp 04a7965a2a fix(src/tickets): prevent moving tickets to completed status without admin rights
Non-admin users cannot move tickets to completed statuses to avoid accidental closure.
2026-06-28 19:15:10 +05:45
sankalp 04e0d032b7 Revert "fix(src): commit migration files to prevent InconsistentMigrationHistory"
This reverts commit 9f0f771213.
2026-06-28 18:23:52 +05:45
sankalp 9f0f771213 fix(src): commit migration files to prevent InconsistentMigrationHistory
Remove src/*/migrations/ from .gitignore and commit all generated
migration files. The admin.0001_initial migration uses
swappable_dependency(AUTH_USER_MODEL) which requires accounts.0001_initial
to exist before admin migrations can be applied. Without committed migration
files, running migrate before makemigrations causes admin to apply first
(since accounts appears to have no migrations), leading to an
InconsistentMigrationHistory error when makemigrations is run later.

This follows Django's recommended workflow of committing migrations.
2026-06-28 18:20:46 +05:45
sankalp c81a7ca935 chore(src/tickets): delete generated migration files
Remove outdated migration files to clean the repository state and prevent version conflicts.
2026-06-28 16:12:42 +05:45
sankalp 2350d8c1f0 perf(src/tickets): add database indexes for ticket‑related lookups 2026-06-28 16:00:47 +05:45
sankalp ab0e71f7eb feat(src): add ticketing REST API and admin UI for tickets, settings, and branding
Introduce DRF views for ticket creation, listing, updating, and commenting, integrate admin registrations for new models, and provide a demo data command to seed initial content. This enables full project management workflow within the backend.
2026-06-28 14:16:16 +05:45
sankalp 71bfd63799 update 2026-06-28 12:36:16 +05:45
sankalp b8070e292c refactor(src/tickets): update serializer imports to src.* namespace
Switch from apps.* to src.* imports for consistency with project structure
2026-06-25 23:30:43 +05:45
sankalp e220cfdaa3 feat(tickets): add Ticketing app with models, admin, serializers and views
Adds full ticketing functionality for issue tracking, including priority and status management, comments, history, and API endpoints.
2026-06-25 23:11:07 +05:45
sankalp 996777f937 initialize project 2026-06-25 22:58:45 +05:45