Commit Graph

213 Commits

Author SHA1 Message Date
b358f5d7b7 feat: Implement delete confirmation modal and restrict delete access to team leads 2026-01-22 21:51:37 +01:00
84f63c37ce feat: Implement sortable project list with dynamic sorting functionality 2026-01-22 21:43:08 +01:00
d49bea8f15 feat: Add start date and completion date fields to project model and forms 2026-01-22 20:22:27 +01:00
3d2065d8fb feat: Add contract summary calculations and update dashboard to display data by contract 2026-01-22 20:01:22 +01:00
3a382a28c0 feat: Add functionality to copy WP/Investment number to clipboard with user feedback 2026-01-22 19:49:18 +01:00
6dfb0224ab feat: Add team lead authorization for project deletion and implement delete confirmation modal in edit project page 2026-01-22 19:33:37 +01:00
daea67fddb docs: Add comprehensive update and fix plan for map system layers 2026-01-16 12:23:17 +01:00
e993d02a1b docs: Create LAYER_NOTES.md for map layers documentation and implementation notes 2026-01-16 12:13:50 +01:00
d4f16d344d feat: Implement comprehensive Contacts Management System with API and UI integration
- Added new `contacts` and `project_contacts` database tables for managing contacts.
- Created API endpoints for CRUD operations on contacts and linking them to projects.
- Developed UI components including `ContactForm` and `ProjectContactSelector`.
- Integrated navigation and translations for Polish language support.
- Documented usage, features, and future enhancements for the contacts system.

feat: Introduce DOCX Template System for generating documents from templates

- Enabled creation and management of DOCX templates with placeholders for project data.
- Documented the process for creating templates, uploading, and generating documents.
- Included detailed information on available variables and custom data fields.
- Implemented troubleshooting guidelines for common issues related to template generation.

feat: Add Radicale CardDAV Sync Integration for automatic contact synchronization

- Implemented automatic syncing of contacts to a Radicale server on create/update/delete actions.
- Documented setup instructions, including environment variable configuration and initial sync script.
- Provided troubleshooting steps for common sync issues and error codes.

feat: Develop Route Planning Feature with Optimization using OpenRouteService API

- Integrated multi-point routing and automatic optimization for project locations.
- Documented setup, usage, and technical implementation details for route planning.
- Included performance considerations and troubleshooting for common routing issues.

chore: Remove unnecessary files and scripts from the codebase

- Deleted temporary, debug-related, and test-specific files that are not needed in production.
- Reviewed and ensured core application code and essential documentation remain intact.
2026-01-16 11:11:29 +01:00
9ea67b626b fix: update and restructure the development roadmap for clarity and completeness 2026-01-16 10:42:45 +01:00
5369c799d0 Update Readme 2026-01-16 10:30:43 +01:00
1ac0c09ae2 Remove obsolete test scripts and update admin username
- Deleted various test scripts related to due date reminders, edge compatibility, logged-in flow, logging, mobile view, NextAuth, notifications API, notifications working, project API, project creation, Radicale sync configuration, safe audit logging, task API, task sets, user tracking, and verification scripts.
- Removed the script for updating admin username from email to a simple "admin".
- Cleaned up unused PowerShell script for updating queries.
2026-01-16 10:18:37 +01:00
ca618a7109 fix: update background color for loading and access denied states in AdminPage
fix: refactor ContactsPage to use PageContainer and PageHeader components
fix: refactor TeamLeadsDashboard to use PageContainer for consistent layout
fix: update background color in DropdownTestPage for improved visibility
2026-01-14 09:53:45 +01:00
a01f941891 fix: update color scheme for unrealised value in TeamLeadsDashboard 2026-01-14 08:20:19 +01:00
e29f703d16 fix: update project type display in TeamLeadsDashboard to use translation keys 2026-01-14 07:59:26 +01:00
b16cc688b1 fix: remove favicon references from layout and delete unused favicon files 2026-01-13 13:31:57 +01:00
7520e9d422 fix: await params in GET request and update Content-Disposition header for special characters 2026-01-13 13:25:05 +01:00
b1f64d37bb feat: add favicon support by including favicon.ico in metadata 2026-01-13 12:05:47 +01:00
f3f0dca3e5 feat: create admin page with session management and access control 2026-01-12 12:33:10 +01:00
e35f9b3e7b feat: add cron job management functionality with status retrieval and action handling 2026-01-12 12:22:00 +01:00
a8db92731f fix: update file path handling for template file operations 2026-01-12 12:03:34 +01:00
97a12a3bcd feat: implement template storage and download functionality with Docker support 2026-01-09 08:07:18 +01:00
661f57cace fix: adjust memory settings in Dockerfile 2025-12-29 11:03:13 +01:00
10c1c4d69e fix: set Node options to prevent memory issues during build 2025-12-29 10:01:27 +01:00
afd0c26fbb feat: add cleanup plan for obsolete files and migration script for project status constraint 2025-12-19 13:49:22 +01:00
2b27583c28 feat: add due date reminders functionality with cron jobs and test scripts 2025-12-19 09:54:27 +01:00
8b11dc5083 feat: implement template update functionality with file handling and validation 2025-12-18 11:00:01 +01:00
75b8bfd84f fix: update custom fields in DocumentGenerator and DOCX_TEMPLATES_README for better usability 2025-12-16 11:23:50 +01:00
1fb435eb87 fix: add docxtemplater and pizzip dependencies in package.json and package-lock.json 2025-12-16 09:56:44 +01:00
c0d357efdd feat: Add document template management functionality
- Created migration script to add `docx_templates` table with necessary fields and indexes.
- Implemented API routes for uploading, fetching, and deleting document templates.
- Developed document generation feature using selected templates and project data.
- Added UI components for template upload and listing, including a modal for document generation.
- Integrated document generation into the project view page, allowing users to generate documents based on selected templates.
- Enhanced error handling and user feedback for template operations.
2025-12-16 09:50:19 +01:00
abad26b68a fix: update next package version to 15.1.11 in package.json and package-lock.json 2025-12-12 20:01:23 +01:00
b75fd6f872 fix: update package versions for next and add concurrently dependency 2025-12-11 12:20:02 +01:00
b1a1735a12 feat: implement project contacts fetching and display in ProjectViewPage 2025-12-10 14:54:59 +01:00
628ace4ad5 fix: remove availableContacts state and update contact filtering logic 2025-12-10 11:03:40 +01:00
ad6338ecae fix: update contact URL structure for Radicale sync functions 2025-12-04 12:02:08 +01:00
1bc9dc2dd5 feat: refactor Radicale contact sync logic to include retry mechanism and improve error handling 2025-12-04 11:56:07 +01:00
3292435e68 feat: implement Radicale CardDAV sync utility and update contact handling for asynchronous sync 2025-12-04 11:37:13 +01:00
22503e1ce0 feat: add script to export contacts as VCARDs and upload to Radicale 2025-12-04 11:25:38 +01:00
05ec244107 feat: update createContractHandler to return the newly created contract with its ID 2025-12-03 22:22:26 +01:00
77f4c80a79 feat: add customer contract number to project view and update project query 2025-12-03 22:15:50 +01:00
5abacdc8e1 feat: update contract handling to include customer contract number and improve status filtering 2025-12-03 22:04:48 +01:00
5b794a59bc feat: enhance contact phone handling to support multiple numbers and improve form submission 2025-12-03 21:06:42 +01:00
9dd208d168 feat: redesign contacts list to use a table layout for improved readability and organization 2025-12-03 20:58:18 +01:00
02f31cb444 fix: update notes handling in contact migration to preserve original contact info 2025-12-03 20:46:27 +01:00
60b79fa360 feat: add contact management functionality
- Implemented ContactForm component for creating and editing contacts.
- Added ProjectContactSelector component to manage project-specific contacts.
- Updated ProjectForm to include ProjectContactSelector for associating contacts with projects.
- Enhanced Card component with a new CardTitle subcomponent for better structure.
- Updated Navigation to include a link to the contacts page.
- Added translations for contact-related terms in the i18n module.
- Initialized contacts database schema and created necessary tables for contact management.
- Developed queries for CRUD operations on contacts, including linking and unlinking contacts to projects.
- Created a test script to validate contact queries against the database.
2025-12-03 16:23:05 +01:00
c9b7355f3c fix: update cron job command to use the correct node path for backups 2025-12-03 08:01:02 +01:00
eb41814c24 feat: add settings table and backup notification functionality 2025-12-02 11:30:13 +01:00
e6fab5ba31 feat: add deployment guide, backup functionality, and cron jobs for automated backups 2025-12-02 11:11:47 +01:00
99853bb755 Merge branch 'ui-fix' of https://git.wastpol.pl/admin/Panel into ui-fix 2025-12-02 11:06:34 +01:00
9b84c6b9e8 feat: implement notifications system with API endpoints for fetching and marking notifications as read 2025-12-02 11:06:31 +01:00