Commit Graph
13 Commits
Author SHA1 Message Date
sankalp 5d6b3a6220 feat(src/projects): add authorized move-to-status logic and permission model
Allow fine‑grained control over which statuses a role can move tickets to and store permissions centrally.
2026-06-28 19:32:14 +05:45
sankalp 4937c99fe6 refactor(src/projects): adjust external access import path and clean up unused import
Use absolute import to avoid app label dependencies and improve code clarity
2026-06-28 18:35:57 +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 9487fce284 chore(src/projects): remove outdated migration files
Remove generated Django migration files that are no longer needed after refactoring the project schema, ensuring consistent migrations and preventing migration conflicts.
2026-06-28 16:12:25 +05:45
sankalp eb717b3a5e feat(src/projects): add prefetch_related and select_related for better performance
Improve query efficiency by prefetching related objects and using select_related, reducing DB hits.
2026-06-28 16:06:11 +05:45
sankalp 0f37f9bedb feat(src/projects): add database index on ProjectMember user and project
Improve query performance for user‑project lookups and enforce uniqueness efficiently.
2026-06-28 16:00:30 +05:45
sankalp d66e03c0ce feat(src/projects): add ProjectNoteInline to ProjectAdmin
Add ProjectNoteInline to allow inline note management in project admin.
Restrict queryset to users with appropriate project memberships.
2026-06-28 15:45: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 610d95bf04 refactor(src/projects): adjust imports from apps.* to src.* namespace
Switch to absolute imports under src to align with package structure and avoid circular import issues.
2026-06-25 23:30:21 +05:45
sankalp 03bda8889b feat(src/projects): add Project and ProjectMember models with API serializers and views
Implement project management infrastructure to support ticket workflows and dashboard statistics
2026-06-25 23:09:28 +05:45
sankalp 996777f937 initialize project 2026-06-25 22:58:45 +05:45