Commit Graph

165 Commits

Author SHA1 Message Date
a34a27ea85 Update Tickets.tsx 2025-12-10 23:18:15 +01:00
5fbd9b9a59 Update server.js 2025-12-10 23:06:47 +01:00
88fe9c8cbb Update mockDb.ts 2025-12-10 23:06:12 +01:00
c2602a2da3 Update nginx.conf 2025-12-10 09:15:55 +01:00
75583aa1d4 Update Dockerfile 2025-12-10 09:15:37 +01:00
3573e99b03 Update .dockerignore 2025-12-10 09:15:18 +01:00
b79762acd1 Update Dockerfile 2025-12-10 09:14:50 +01:00
b860eb9fd8 feat: Refactor Docker configurations and server logic
Removes redundant Dockerfiles and configurations, consolidating them into a single set. Updates server logic for handling expense shares and notice targets to ensure correct parsing and deletion of associated records. Introduces a check for family association in the user's profile to prevent rendering payment options when a family is not assigned.
2025-12-09 23:41:17 +01:00
6f70631b78 Update ExtraordinaryUser.tsx 2025-12-09 23:39:48 +01:00
3fe4ce4266 Update server.js 2025-12-09 23:39:18 +01:00
2747cb03de Update nginx.conf 2025-12-09 23:26:36 +01:00
12a33f5fc5 Update Dockerfile 2025-12-09 23:26:19 +01:00
8413ccf3f5 Update .dockerignore 2025-12-09 23:25:52 +01:00
59286fb62e Update Dockerfile 2025-12-09 23:25:30 +01:00
8a43143ead feat(expenses): Add delete expense endpoint and functionality
Implements the ability to delete an expense, including its associated items and shares. Also refactors the expense update logic to correctly handle share updates and adds the corresponding API endpoint and mock DB function.
2025-12-09 23:25:06 +01:00
0d54da1cdf Update server.js 2025-12-09 23:19:45 +01:00
eabccd5774 Update nginx.conf 2025-12-09 23:14:18 +01:00
705ea0e168 Update Dockerfile 2025-12-09 23:13:57 +01:00
79f836dd34 Update .dockerignore 2025-12-09 23:13:36 +01:00
1289056633 Update Dockerfile 2025-12-09 23:13:13 +01:00
2a6da489aa feat: Refactor API services and UI components
This commit refactors the API service to use a consistent `fetch` wrapper for all requests, improving error handling and authorization logic. It also updates UI components to reflect changes in API endpoints and data structures, particularly around notifications and extraordinary expenses. Docker configurations are removed as they are no longer relevant for this stage of development.
2025-12-09 23:12:47 +01:00
38a3402deb Update nginx.conf 2025-12-09 23:02:00 +01:00
24fb89aefe Update Dockerfile 2025-12-09 23:01:29 +01:00
086f9ab8b5 Update .dockerignore 2025-12-09 23:01:09 +01:00
664092f4e8 Update Dockerfile 2025-12-09 23:00:42 +01:00
fa12a8de85 feat(extraordinary-expenses): Add module for extraordinary expenses
Introduces a new module to manage and track extraordinary expenses within condominiums. This includes defining expense items, sharing arrangements, and attaching relevant documents.

The module adds new types for `ExpenseItem`, `ExpenseShare`, and `ExtraordinaryExpense`. Mock database functions are updated to support fetching, creating, and managing these expenses. UI components in `Layout.tsx` and `Settings.tsx` are modified to include navigation and feature toggling for extraordinary expenses. Additionally, new routes are added in `App.tsx` for both administrative and user-facing views of these expenses.
2025-12-09 23:00:05 +01:00
048180db75 Update nginx.conf 2025-12-09 17:46:01 +01:00
b43e29d2e2 Update Dockerfile 2025-12-09 17:45:33 +01:00
d726697aa2 Update .dockerignore 2025-12-09 17:45:13 +01:00
0241e5c91a Update Dockerfile 2025-12-09 17:44:49 +01:00
76c1a097b5 feat: Add SMTP testing and improve Docker setup
Introduce a new feature to test SMTP configuration directly from the settings page. This involves adding a new API endpoint and corresponding UI elements to trigger and display the results of an SMTP test.

Additionally, this commit refactors the Docker setup by consolidating Dockerfiles and removing unnecessary configuration files. The goal is to streamline the build process and reduce image size and complexity.
2025-12-09 17:44:25 +01:00
22b076fff9 Update nginx.conf 2025-12-09 16:28:42 +01:00
90caf3b3ed Update Dockerfile 2025-12-09 16:28:23 +01:00
4576557dde Update .dockerignore 2025-12-09 16:28:04 +01:00
7e5e311a10 Update Dockerfile 2025-12-09 16:27:36 +01:00
a97dcfa33e feat: Implement ticket commenting functionality
Adds the ability for users to comment on tickets, view comments, and distinguish between user and admin responses. Also introduces a new 'SUSPENDED' status for tickets and refactors database schema and API endpoints to support comments.
2025-12-09 15:58:52 +01:00
4107051585 Update nginx.conf 2025-12-09 14:17:18 +01:00
d83a33c7ef Update Dockerfile 2025-12-09 14:16:56 +01:00
d96a3784c5 Update .dockerignore 2025-12-09 14:16:35 +01:00
bd38d760d4 Update Dockerfile 2025-12-09 14:16:12 +01:00
25eafb1c6e feat: Refine notice filtering and Docker setup
Implement granular notice filtering logic based on user roles and notice targeting.
Update Dockerfiles and .dockerignore for a cleaner build process.
2025-12-09 14:15:43 +01:00
891ea7a12c Update Dockerfile 2025-12-09 14:07:27 +01:00
7f495bf444 Update nginx.conf 2025-12-09 14:06:17 +01:00
83257e74d6 Update Dockerfile 2025-12-09 14:05:56 +01:00
35098abbad Update .dockerignore 2025-12-09 14:05:36 +01:00
b04d75c0b9 Update Dockerfile 2025-12-09 14:05:15 +01:00
ca38e891c9 feat: Add targeted notices to Condopay
Implements the ability to send notices to specific families within a condominium, rather than broadcasting to all. This includes:
- Updating the `Notice` type with `targetFamilyIds`.
- Adding a `target_families` JSON column to the `notices` table in the database, with a migration for existing installations.
- Modifying the API to handle the new `targetFamilyIds` field during notice creation and retrieval.
- Updating the UI to allow users to select specific families for notices.
2025-12-09 14:04:49 +01:00
bd6fce6f51 Update .dockerignore 2025-12-09 13:56:00 +01:00
d15e1e9b79 Update Dockerfile 2025-12-09 13:55:37 +01:00
3a0021c5d8 feat: Add PayPal configuration to settings
Introduces the ability to configure PayPal credentials for individual condos within the settings. This feature is only visible if PayPal is enabled in the global settings. Also removes and simplifies Dockerfile configurations.
2025-12-09 13:55:11 +01:00