Commit Graph

63 Commits

Author SHA1 Message Date
77f4c80a79 feat: add customer contract number to project view and update project query 2025-12-03 22:15:50 +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
eb41814c24 feat: add settings table and backup notification functionality 2025-12-02 11:30:13 +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
acb7117c7d feat: add internationalization support for TeamLeadsDashboard with translations for various labels and messages 2025-11-14 15:22:36 +01:00
9b1f42c4ec feat: add completion_date field to projects and update related functionalities in forms and queries 2025-11-14 10:01:49 +01:00
3f87ea16f2 feat: add wartosc_zlecenia field to projects table and update related functionalities 2025-11-14 09:04:46 +01:00
23b3c0e9e8 feat: add team_lead role to user management and update related functionalities 2025-11-14 08:08:01 +01:00
27247477c9 feat: add phone number filter and related translations in project list 2025-10-17 16:00:44 +02:00
0e237a9549 feat: add filter for user's assigned tasks and update translation for 'mine' 2025-10-14 12:55:28 +02:00
f1e7c2d7aa feat: implement password reset functionality with token verification and change password feature 2025-10-10 09:15:29 +02:00
7ec4bdf620 feat: update project titles in metadata and translations for consistency 2025-10-10 08:59:22 +02:00
ac5fedb61a feat: implement project export to Excel with API endpoint and UI button 2025-10-09 20:43:53 +02:00
cdfc37c273 feat: add 'can_be_assigned' field to users with updates to user creation, retrieval, and assignment queries 2025-10-09 14:55:11 +02:00
1288fe1cf8 feat: add 'not_started' task status with updates to task creation, status handling, and translations 2025-10-09 12:39:43 +02:00
33c5466d77 feat: implement 'not_started' task status with validation and UI updates 2025-10-07 23:07:15 +02:00
a6ef325813 feat: add task_category field to tasks with validation and update related forms 2025-10-07 22:22:10 +02:00
952caf10d1 feat: add task sets functionality with CRUD operations and UI integration
- Implemented NewTaskSetPage for creating task sets with templates.
- Created TaskSetsPage for listing and filtering task sets.
- Enhanced TaskTemplatesPage with navigation to task sets.
- Updated ProjectTaskForm to support task set selection.
- Modified PageHeader to support multiple action buttons.
- Initialized database with task_sets and task_set_templates tables.
- Added queries for task sets including creation, retrieval, and deletion.
- Implemented applyTaskSetToProject function for bulk task creation.
- Added test script for verifying task sets functionality.
2025-10-07 21:58:08 +02:00
80a53d5d15 feat: Add notifications dropdown to navigation and update translations for notifications 2025-10-06 16:01:29 +02:00
119b03a7ba feat: Update date handling to use local time formatting across various components and queries 2025-10-04 19:44:35 +02:00
50760ab099 feat: Integrate translation support in FieldWithHistory component and update i18n strings 2025-10-02 09:57:51 +02:00
a59dc83678 feat: Add 'mine' filter to ProjectListPage and update translations 2025-09-29 22:07:18 +02:00
769fc73898 feat: Add ProjectAssigneeDropdown component and integrate it into ProjectViewPage 2025-09-29 20:09:11 +02:00
6ab87c7396 feat: Add assigned user initial to project details and update translations 2025-09-29 19:50:22 +02:00
e589d6667f feat: Add initial identifier field to user management and update related functions 2025-09-29 19:41:49 +02:00
fc5f0fd39a feat: Enhance EditProjectPage with translation support and refactor ProjectForm to use forwardRef 2025-09-29 19:32:08 +02:00
e68b185aeb feat: Update task assignment logic to exclude admin users and enhance project page layout 2025-09-29 19:25:15 +02:00
5aac63dfde feat: Implement route planning feature with project selection and optimization
- Added route planning functionality to the map page, allowing users to select projects for routing.
- Implemented state management for route projects, start/end points, and search functionality.
- Integrated OpenRouteService API for route calculation and optimization.
- Enhanced UI with a route planning panel, including search and drag-and-drop reordering of projects.
- Added visual indicators for route start and end points on the map.
- Included translations for route planning features in both Polish and English.
- Created utility functions for route calculations, optimizations, and formatting of route data.
2025-09-26 00:18:10 +02:00
fd87b66b06 feat: Implement dark mode support across components and UI elements
- Added dark mode styles to TaskStatusDropdown, TaskStatusDropdownDebug, and TaskStatusDropdownSimple components.
- Introduced ThemeProvider and useTheme hook for managing theme state.
- Updated Button, Card, Input, Loading, Navigation, PageContainer, PageHeader, ProjectCalendarWidget, ProjectMap, SearchBar, States, Tooltip, and other UI components to support dark mode.
- Created ThemeToggle component for switching between light and dark modes.
- Enhanced i18n translations for settings related to theme and language preferences.
- Configured Tailwind CSS to support dark mode with class-based toggling.
2025-09-25 08:58:03 +02:00
142b6490cc feat: Implement task template management with translation support and improved UI components 2025-09-18 12:36:03 +02:00
8964a9b29b feat: Enhance note creation and project cancellation with user information and translations 2025-09-18 11:11:22 +02:00
029b091b10 feat: Add translation support for map-related components and improve loading messages 2025-09-16 16:32:04 +02:00
cf8ff874da feat: Update project and contract terminology for consistency in UI and translations 2025-09-16 14:44:01 +02:00
e5955a31fd feat: Integrate translation support for contract-related components and improve user feedback messages 2025-09-16 11:20:14 +02:00
99f3d657ab feat: Update audit log queries to improve clarity and accuracy in statistics 2025-09-12 11:41:51 +02:00
95ef139843 feat: Add support for project cancellation status across the application 2025-09-11 16:19:46 +02:00
2735d46552 feat: Add finish date update tracking for projects 2025-09-11 15:50:48 +02:00
0dd988730f feat: Implement internationalization for task management components
- Added translation support for task-related strings in ProjectTaskForm and ProjectTasksSection components.
- Integrated translation for navigation items in the Navigation component.
- Created ProjectCalendarWidget component with Polish translations for project statuses and deadlines.
- Developed Tooltip component for enhanced user experience with tooltips.
- Established a field change history logging system in the database with associated queries.
- Enhanced task update logging to include translated status and priority changes.
- Introduced server-side translations for system messages to improve localization.
2025-09-11 15:49:07 +02:00
639a7b7eab feat: Implement file upload and management system with database integration 2025-07-30 11:37:25 +02:00
07b4af5f24 feat: Refactor user management to replace email with username across the application 2025-07-28 22:25:23 +02:00
8e35821344 Refactor project tasks page and navigation components
- Updated the description in ProjectTasksPage to a placeholder.
- Commented out the display of assigned email in ProjectTasksList.
- Removed the dashboard link from the navigation items.
- Changed the main link in the navigation to point to projects instead of the dashboard.
- Commented out the LanguageSwitcher and user role display in the navigation.
- Translated "Project Location" to "Lokalizacja projektu" in ProjectMap.
- Commented out the instruction for using the layer control in ProjectMap.
- Removed the label "Coordinates:" from the coordinates display in ProjectMap.
- Updated project and contract subtitles in translations to placeholders.
- Added a new empty validation schema file.
2025-07-28 20:56:04 +02:00
Chop
747a68832e feat(i18n): Add Polish translations for task management components and update search placeholder 2025-07-27 23:54:56 +02:00
Chop
e828aa660b feat(i18n): Implement multilingual support with Polish and English translations
- Added translation context and provider for managing language state.
- Integrated translation functionality into existing components (TaskStatusDropdown, Navigation).
- Created LanguageSwitcher component for language selection.
- Updated task statuses and navigation labels to use translations.
- Added Polish translations for various UI elements, including navigation, tasks, projects, and contracts.
- Refactored utility functions to return localized strings for deadlines and date formatting.
2025-07-27 22:01:15 +02:00
Chop
51d37fc65a feat: Implement task editing functionality with validation and user assignment 2025-07-10 23:35:17 +02:00
Chop
33ea8de17e feat: Add coordinate formatting utility and update project views 2025-07-10 22:56:03 +02:00
Chop
b1a78bf7a8 feat(audit-logging): Implement Edge-compatible audit logging utility and safe logging module
- Added `auditLogEdge.js` for Edge Runtime compatible audit logging, including console logging and API fallback.
- Introduced `auditLogSafe.js` for safe audit logging without direct database imports, ensuring compatibility across runtimes.
- Enhanced `auth.js` to integrate safe audit logging for login actions, including success and failure cases.
- Created middleware `auditLog.js` to facilitate audit logging for API routes with predefined configurations.
- Updated `middleware.js` to allow API route access without authentication checks.
- Added tests for audit logging functionality and Edge compatibility in `test-audit-logging.mjs` and `test-edge-compatibility.mjs`.
- Implemented safe audit logging tests in `test-safe-audit-logging.mjs` to verify functionality across environments.
2025-07-09 23:08:16 +02:00
Chop
90875db28b feat: Add user tracking to project tasks and notes
- Implemented user tracking columns in project_tasks and notes tables.
- Added created_by and assigned_to fields to project_tasks.
- Introduced created_by field and is_system flag in notes.
- Updated API endpoints to handle user tracking during task and note creation.
- Enhanced database initialization to include new columns and indexes.
- Created utility functions to fetch users for task assignment.
- Updated front-end components to display user information for tasks and notes.
- Added tests for project-tasks API endpoints to verify functionality.
2025-06-26 00:17:51 +02:00
Chop
294d8343d3 feat: Implement user tracking in projects
- Added user tracking features to the projects module, including:
  - Database schema updates to track project creator and assignee.
  - API enhancements for user management and project filtering by user.
  - UI components for user assignment in project forms and listings.
  - New query functions for retrieving users and filtering projects.
  - Security integration with role-based access and authentication requirements.

chore: Create utility scripts for database checks and project testing

- Added scripts to check the structure of the projects table.
- Created tests for project creation and user tracking functionality.
- Implemented API tests to verify project retrieval and user assignment.

fix: Update project creation and update functions to include user tracking

- Modified createProject and updateProject functions to handle user IDs for creator and assignee.
- Ensured that project updates reflect the correct user assignments and timestamps.
2025-06-25 23:08:15 +02:00
988a4eb71b feat: Implement user management functionality with CRUD operations; add user edit page, API routes for user actions, and enhance authentication middleware 2025-06-25 13:37:10 +02:00
1524e1e9bb feat: add authentication test page and API testing scripts; implement debug auth endpoint and enhance task route with read permissions 2025-06-25 12:54:37 +02:00