The changes include a reorganization of the URL patterns in `urls.py` and improvements to code formatting in `views.py` for better readability and maintainability.
- **Enhancements & Refinements**:
- Reorganized URL patterns in `urls.py` to group related endpoints and improve structure.
- Improved code formatting in `views.py` for better readability, including consistent line breaks and indentation.
- Removed redundant imports and trailing whitespace in both files.
```
This commit introduces new endpoints for managing notifications, including listing and retrieving individual notification details.
**New Features:**
- Added `notification_list` endpoint to retrieve a list of notifications
- Added `notification_detail` endpoint to fetch details of a specific notification by ID
**Enhancements & Refinements:**
- Cleaned up trailing whitespace in `urls.py` and `views.py` files
```
- **New Features**:
- Added new URL route for notifications under `/notifications/` endpoint
- Integrated `src.api.notifications.urls` module into the main URL configuration
```
- **New Features**:
- Added new URL route for productivity API at `/productivity/`
- Integrated `src.api.productivity.urls` module into the main URL configuration
```
This update introduces new endpoints for expense management in the finance API, complementing the existing invoice functionality. The changes include new URL routes for listing and creating expenses, along with minor formatting improvements to the URL configuration file.
**New Features:**
- Added `/expenses/` endpoint for listing expenses
- Added `/expenses/create/` endpoint for creating new expenses
**Enhancements & Refinements:**
- Removed trailing whitespace and blank lines in `urls.py` for improved code consistency
- Reorganized imports to place Django imports first, followed by local imports
```
This commit modifies the migration file for altering the client phone field.
- **Enhancements & Refinements**:
- Removed an unnecessary blank line in the migration class definition
- Cleaned up formatting in the `0005_alter_client_phone.py` migration file
```
Added new API routing configuration for the finance module.
**New Features**
- **Finance API**: Integrated routing for the new finance module at `/finance/` endpoint.
This commit introduces a new finance module with dashboard analytics and full CRUD operations for invoices and expenses.
**New Features**
- **Finance Dashboard**: Displays recent invoices/expenses, total income, expenses, net profit, and pending income
- **Invoice Management**: Full CRUD operations for invoices with client/project associations
- **Expense Management**: Full CRUD operations for expenses with category tracking
**Enhancements & Refinements**
- Dashboard shows last 5 invoices and expenses for quick overview
- All lists ordered by descending date for better visibility
- HTMX support for delete operations
- Form validations for required fields in create/edit operations
Simplify third-party app configuration by removing the unused Babel integration and adjusting whitespace for better readability.
- **New Features**
- Added django_tailwind_cli and django_browser_reload to THIRD_PARTY_APPS list to support new frontend tooling.
- **Enhancements & Refinements**
- Removed deprecated babel library from THIRD_PARTY_APPS to reduce unnecessary dependencies.
- Improved code formatting in base.py for consistent spacing and alignment.
A new migration file has been created to modify the client model's phone field.
**New Features**
- Added migration `0005_alter_client_phone.py` to alter the client phone field using `phonenumber_field`
**Enhancements & Refinements**
- Updated client phone field to use `PhoneNumberField` with extended length support and region flexibility
Simplify third-party app configuration by removing the unused Babel integration and adjusting whitespace for better readability.
- **New Features**
- Added django_tailwind_cli and django_browser_reload to THIRD_PARTY_APPS list to support new frontend tooling.
- **Enhancements & Refinements**
- Removed deprecated babel library from THIRD_PARTY_APPS to reduce unnecessary dependencies.
- Improved code formatting in base.py for consistent spacing and alignment.
Simplify third-party app configuration by removing the unused Babel integration and adjusting whitespace for better readability.
- **New Features**
- Added django_tailwind_cli and django_browser_reload to THIRD_PARTY_APPS list to support new frontend tooling.
- **Enhancements & Refinements**
- Removed deprecated babel library from THIRD_PARTY_APPS to reduce unnecessary dependencies.
- Improved code formatting in base.py for consistent spacing and alignment.
The API now includes support for projects by adding the new projects endpoints.
**New Features**
- **projects**: Added new route for projects API endpoints via `src.api.projects.urls`
This commit introduces the core functionality for managing projects and tasks, including forms, views, and URL routing. It enables CRUD operations for projects and tasks, along with interactive features like drag-and-drop task management.
**New Features**
- Added **ProjectForm** and **TaskForm** with styled form widgets
- Implemented **project management views** (list, create, detail, edit, delete)
- Created **task management views** (create, update status, edit, detail, delete)
- Added **kanban-style task management** with status-based task grouping
- Introduced **HTMX-compatible endpoints** for dynamic task updates
**Enhancements & Refinements**
- Configured form widgets with Tailwind CSS classes for consistent styling
- Added logging and error handling for task operations
- Implemented responsive task cards with context menus for actions
- Included date formatting and display logic for task due dates
- Structured URL patterns for RESTful project/task navigation
The changes introduce a new API route for client-related functionality.
- **New Features**
- Added `/clients/` endpoint routing to `src.api.clients.urls` module
- **New Features**
- Added `django_htmx.middleware.HtmxMiddleware` to the `MIDDLEWARE` list to enable HTMX support
- **Enhancements & Refinements**
- Updated security headers configuration in `base.py` to improve XSS and content type protections
- Reorganized middleware order for optimal request processing
This update modifies the Client model fields and introduces new data validation methods. Key changes include removing the hard-coded phone region and adding validation for email and short codes.
**New Features**
- Added `validate_email` method to ensure proper email formatting
- Added `validate_short_code` method to enforce alphanumeric short codes
**Enhancements & Refinements**
- Removed hard-coded 'NP' region from `phone` field to support international numbers
Implement client management functionality with CRUD operations, including list, create, edit, and delete views. The changes introduce URL routing and form handling for client interactions.
**New Features**
- **Client CRUD operations**: Added views for listing, creating, editing, and deleting client records
- **ClientForm**: Introduced a model form with phone number formatting and initial country code
- **HTMX support**: Implemented conditional template rendering for HTMX-based partial updates
**Enhancements & Refinements**
- **Form styling**: Enhanced phone number input fields with custom widget attributes
- **Form behavior**: Disabled short_code field input while maintaining model structure
- **Route organization**: Structured URL patterns for client operations in `urls.py`
Add favicon.ico to the static directory to provide a site icon for better branding and user experience.
- **New Features**
- Add `favicon.ico` to the static assets for browser tab and bookmark visibility.
This commit updates the `.gitignore` file to ensure that temporary files generated by the Django Tailwind CSS CLI are not tracked by Git.
**Enhancements & Refinements**
* Added `.django_tailwind_cli` to `.gitignore` to prevent generated files from the Django Tailwind CLI from being committed.
This commit introduces `django-tailwind-cli` for simplified Tailwind CSS integration and `django-browser-reload` for automatic development server reloading. It also refines static and template file configurations.
* **New Features**
* Integrated `django-tailwind-cli` into `THIRD_PARTY_APPS` for managing Tailwind CSS builds.
* Enabled DaisyUI with Tailwind CSS by setting `TAILWIND_CLI_USE_DAISY_UI = True`.
* Added `django-browser-reload` to `THIRD_PARTY_APPS` and `MIDDLEWARE` for live development reloading.
* **Enhancements & Refinements**
* Configured Django `TEMPLATES` to explicitly search for templates in `BASE_DIR / "templates"`.
* Defined `STATICFILES_DIRS` to include `BASE_DIR / "static"` and adjusted `STATIC_URL` to `/static/`.
* Removed `django_components` from `THIRD_PARTY_APPS`.
This commit introduces the foundational home and login page for the API base application, establishing core routing and view logic.
**New Features**
* Added `urls.py` to define routing for the base API application.
* Introduced `views.py` with a `home` view function.
* Configured the root URL (`/`) to be served by the `home` view.
* The `home` view is responsible for rendering the `base/login.html` template.