Commit Graph
117 Commits
Author SHA1 Message Date
sankalp 2435061423 feat(templates): modernize base layout with Tailwind, HTMX, Alpine and authenticated UI
Replace Django default templates with Tailwind‑styled layout, add reusable sidebar/topbar, integrate Alpine.js and HTMX for interactivity, include Chart.js placeholder, and streamline markup for authenticated views.

New Features
- Introduce Tailwind CSS via django‑tailwind‑cli for consistent styling
- Add Alpine.js and HTMX for client‑side behavior
- Add Chart.js script for future visualisation
- Create reusable sidebar and topbar components for authenticated templates

Enhancements
- Refactor base.html to reduce duplication and improve maintainability
- Add dynamic title block and extra_head/slots for extensibility
- Adopt responsive layout with min‑h-screen and fixed navigation

Bug Fixes- Remove stale static CSS reference that caused layout issues
- Fix missing user role display and related styling
- Correct viewport meta tag and charset handling
2026-05-27 23:59:59 +05:45
sankalp 18acdde6e5 feat(apps): add role‑based CustomUser admin and ticketing system
- New Features
  * Introduce CustomUser with role field and admin integration
  * Add ProjectMembership model linking users to projects
  * Add Ticket model with status, type, creator, and project relationships
  * Register CustomUser and ProjectMembership in Django admin with list views
  * Add URLs and views for account management and ticket CRUD operations
- Enhancements
  * Provide pagination and filtering for ticket listings
  * Improve admin UI with role‑specific fieldsets
- Bug Fixes  * Remove obsolete serializers and placeholder files
2026-05-27 23:33:20 +05:45
sankalp 15eef203fa feat(templates/partials): add issue comment list and kanban card partials
Add partial templates for rendering issue comments and Kanban cards.

Details:
- New Features  - Add `comment_list.html` to display comment author, timestamp, and body.
  - Add `kanban/card.html` for draggable Kanban card UI with edit link and due date.
2026-05-27 23:33:16 +05:45
sankalp 06ea5d2945 feat(config): streamline configuration and remove dev‑only settingsAdd custom user model and improve static/media handling.
- New Features
  - Introduce `AUTH_USER_MODEL` for a custom user.
  - Add `STATICFILES_DIRS` to explicitly point to the static directory.
  - Simplify email backend configuration using environment variables.

- Enhancements
  - Remove djinit boilerplate and development‑only settings.
  - Drop `corsheaders` middleware and `rest_framework_simplejwt.token_blacklist`.
  - Update `TEMPLATES` to include project templates via `BASE_DIR / "templates"`.
  - Clean up URL patterns, removing deprecated JWT endpoint comments.
  - Reorganize security settings and static storage configuration.

- Bug Fixes
  - (none)
2026-05-27 23:33:10 +05:45
sankalp 0357d78939 chore(root): remove DRF stack and update configuration
This change removes unused DRF-related dependencies, updates .env.sample and .gitignore to reflect new configuration, and adds a comprehensive project architecture plan (PLAN.md). It simplifies the stack and prepares the codebase for a modular, permission‑driven design.

New Features
- Added detailed PLAN.md outlining project structure, apps, permissions, and tech stack.
Enhancements
- Cleaned up .env.sample by removing obsolete environment variables.
- Updated .gitignore to exclude generated directories and track migrations properly.
Bug Fixes
- No bug fixes included in this commit.
2026-05-27 23:33:00 +05:45
sankalp 001e6fac48 feat(templates): add core UItemplates for authentication and ticket management
New Features
- Added `templates/base.html` with Tailwind, HTMX, and project management title block.
- Introduced `templates/base/base.html` as a minimal fallback layout.
- Created `templates/components/navbar.html` with authenticated navigation menu.
- Implemented `templates/pages/accounts/login.html` for user authentication.
- Developed ticket management templates:
  - `templates/pages/tickets/ticket_list.html` for displaying tickets.
  - `templates/pages/tickets/ticket_form.html` for creating/editing tickets.

Enhancements
- Structured all new templates to inherit from the shared base layout.
- Integrated Tailwind CSS and HTMX via CDN for consistent styling and interactivity.
- Provided placeholder blocks for extra head and scripts to allow future extensions.

Bug Fixes- No bug fixes included in this commit.
2026-05-27 23:32:54 +05:45
sankalp 04aaab7890 fix(.github): adjust DJANGO_SETTINGS_MODULE in CI workflow
- Enhancements:
  - Align CI configuration with updated settings module location- Bug Fixes:
  - Correct misreferenced DJANGO_SETTINGS_MODULE to prevent test environment issues
2026-05-27 23:18:34 +05:45
sankalp a0555810fe feat(apps): scaffoldnew apps (accounts, activity, projects, tickets)
Add new Django apps generated by djinit for accounts, activity, projects, and tickets, providing full scaffold files (models, serializers, views, urls, admin, apps.py, migrations, tests) and updating imports to use the new app configs.

New Features:
- Created apps/accounts, apps/activity, apps/projects, apps/tickets with complete scaffold (models, serializers, views, urls, admin, apps.py, migrations, tests).
- Added AppConfig entries for each new app.

Enhancements:
- Renamed admin directory and adjusted imports to align with the new app namespace.

Bug Fixes:
- Corrected import paths after renaming admin files.
2026-05-27 23:18:30 +05:45
sankalp e6e8406d60 refactor(core): remove auto‑generated configuration scaffolding
Removed the initial Django core configuration files (asgi.py, settings, urls.py, wsgi.py) that were originally scaffolded by djinit, as the project's settings have been migrated to the repository root and are no longer needed in the core package.

- New Features:
- Enhancements: Cleaned up redundant core scaffolding directories.
- Bug Fixes:
2026-05-27 23:18:22 +05:45
sankalp eedb1f1ab6 chore(root): renameproject to config and update configuration files
Enhancements:
- Rename project name from "." to "config" in .djinit and .env.sample
- Update DJANGO_SETTINGS_MODULE references from core to config
- Adjust Procfile, justfile, manage.py, and pyproject.toml to reference config
- Refactor README to reflect new folder layout under config/
- Remove LICENSE file
2026-05-27 23:18:17 +05:45
sankalp 7196c4a299 feat(config): add generatedconfiguration skeleton
New Features
- Add ASGI entry point (`asgi.py`) with environment‑based settings.
- Create base and production settings modules (`base.py`, `production.py`) for shared and production‑specific configurations.
- Generate root `urls.py` with DRF JWT endpoints and included app URLs.
- Provide `wsgi.py` configured for production settings.

Enhancements
- Include `django-jazzmin`, `drf-spectacular`, and `django-cors-headers` defaults.
- Set up `django-tailwind-cli` and `django-htmx` middleware configurations.

Bug Fixes
- (none)
2026-05-27 23:18:13 +05:45
sankalp 4764865ec2 chore(.github): add Django CI workflow
- New Features
  - Added CI pipeline that runs on push and pull‑request to main and develop, including PostgreSQL service for integration tests.  - Enhancements
  - Integrated linting (ruff), formatting check, migration validation, and security scanning with Django’s --deploy flag.
- Bug Fixes
  - (none)
2026-05-27 23:15:21 +05:45
sankalp a0921f9aa6 chore(apps/models):add empty __init__.py placeholder 2026-05-27 23:15:17 +05:45
sankalp 4c2d8035b7 feat(apps): addnew Django app skeleton
New Features
- Added initial app structure including admin, API, serializers, tests, and views modules
- Created AppsConfig class in apps/apps.py
- Added API v1 URL namespace setup
2026-05-27 23:15:13 +05:45
sankalp 1095c6b6a7 feat(root): scaffold Django project with djinit
Add initial project skeleton using djinit to enable rapid development, CI integration, and deployment setup.

New Features
- Create .djinit with unified project structure and Tailwind/HTMX enabled.
- Add .env.sample with default Django, database, and frontend URLs.
- Generate comprehensive .gitignore covering Python, Django, OS, and secret files.
- Provide Procfile for Gunicorn web process and release migrations.
- Scaffold README.md with project overview and features.
- Add manage.py enhanced with environ for .env support.
- Initialize pyproject.toml with modern metadata and ruff linting config.
- Add requirements.txt mirroring dependencies.
- Include runtime.txt pinning Python 3.13.
- Update uv.lock to lock dependency versions.

Enhancements
- Upgrade to latest Django 6.0.5 and DRF ecosystem.
- Configure ruff with line-length 88 and isort settings.
- Use gunicorn with optimal worker configuration.
- Include dj-database-url and psycopg binary for robust PostgreSQL connectivity.

Bug Fixes
- None.
2026-05-27 23:15:10 +05:45
sankalp c461084ad7 chore(core): scaffold Django core structure with settings, urls, asgi, wsgi
- New Features
  - Add core project entry points (asgi.py, wsgi.py, urls.py)
  - Create settings hierarchy (base.py, production.py) with environment parsing
  - Configure DRF, JWT, Swagger, Tailwind, and HTMX defaults out‑of‑the‑box- Enhancements
  - Set up CORS and security defaults for dev and prod environments
  - Enable WhiteNoise and Tailwind CLI for static file handling
2026-05-27 23:14:58 +05:45
sankalp 0810ef5a54 Initial commit 2026-05-27 23:12:02 +05:45