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
122c83bfb3
chore(src): delete stale Django migration files
...
Remove migrations that no longer correspond to active models.
2026-06-28 16:12:59 +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
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
61ff8f4d42
chore(src/notifications): remove DeadlineReminderLog migration and related index migrations
...
Removed the DeadlineReminderLog migration and its index migration files to clean up obsolete code and eliminate migration conflicts.
2026-06-28 16:12:09 +05:45
sankalp
2e1add0a54
chore(src/notes): remove generated migration and __init__ files
...
Clean up leftover migration artifacts and dependency list to prevent stale imports.
2026-06-28 16:11:52 +05:45
sankalp
df6df1b407
feat(src): cache branding lookup and improve leaderboard performance
...
Prevent DB hits by caching site branding and refactor leaderboard query using annotate
2026-06-28 16:07:05 +05:45
sankalp
b17e810531
chore(src/accounts): refactor migration dependencies and index formatting
...
Update dependencies and AddIndex formatting to improve consistency and readability.
2026-06-28 16:06:29 +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
9f3a81e313
feat(src/notifications): add select_related to Notification queryset
...
Optimize database query by prefetching related user data
2026-06-28 16:05:55 +05:45
sankalp
f60fe64c84
feat(src): add indexes for role and user-group lookups
...
Improve query performance for role‑based filtering and user‑group constraints.
2026-06-28 16:01:05 +05:45
sankalp
2350d8c1f0
perf(src/tickets): add database indexes for ticket‑related lookups
2026-06-28 16:00:47 +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
86df5d7286
feat(src/notifications): add indexes for deadline reminder and notification models
...
Prevent missing indexes that slow queries on ticket/user and user/created_at fields.
2026-06-28 16:00:12 +05:45
sankalp
51ad3809dd
feat(external): add index to ExternalAccess for project and is_active
...
Improves query performance on project and is_active lookups.
2026-06-28 15:59:55 +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
0d11aa0e16
refactor(src/notes): remove admin registration for ProjectNote and add inline comment
...
The changes reduce admin duplication and align with ProjectAdmin inline registration.
2026-06-28 15:45:27 +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
70fd9711b5
feat(src): replace config with Django settings and add board view with context processors for dashboard metrics
...
Replace decouple config calls for Google OAuth credentials with settings; add new board view and associated context processors to render project board and dashboard charts; update serializer import path; centralize configuration and improve maintainability.
2026-06-25 23:31:04 +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
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
660d55f4f4
feat(protocol): add ProtocolState implementation
...
Introduce model, admin, serializers, views and URL routes for managing protocol states.
2026-06-25 23:12:35 +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
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
0851411be7
feat(src/notes): add note CRUD API
...
Implement models, serializers, views and URLs for managing project notes; enables structured association of notes with projects and users, improving organization and auditability.
2026-06-25 23:07:58 +05:45
sankalp
72a4c81028
feat(src/external): add ExternalAccess model and serializer and view for external token authentication
...
Add token generation, password field, and secure login endpoint to manage external service access.
2026-06-25 23:06:37 +05:45
sankalp
aeedeb6ea0
feat(src/epics): scaffold epic module with models, admin, serializers, urls, views
...
Implement core Epic model and API for managing project epics, enabling CRUD operations and integration with admin and DRF.
2026-06-25 23:04:37 +05:45
sankalp
493cb6774f
feat(auth): add Google OAuth2 login flow and token endpoint
...
Added GoogleLoginView and GoogleAuthUrlView to exchange auth code for tokens, create or link users, and return refresh/access tokens. Updated User model with Google ID and serializers for profile data.
2026-06-25 23:02:25 +05:45
sankalp
996777f937
initialize project
2026-06-25 22:58:45 +05:45