Commit Graph

155 Commits

Author SHA1 Message Date
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
4111ceebfe Update nginx.conf 2025-12-09 13:36:52 +01:00
3fe50b264f Update Dockerfile 2025-12-09 13:36:29 +01:00
190cd251b2 Update .dockerignore 2025-12-09 13:36:08 +01:00
cf8a75fdae Update Dockerfile 2025-12-09 13:35:45 +01:00
a5645a32c0 feat: Add reports feature
Enables a new reports section in the application. This includes:
- Adding a `reports` flag to `AppFeatures` and `AppSettings`.
- Including a new "Reportistica" link in the main navigation for privileged users.
- Adding a `getCondoPayments` endpoint to the mock DB service.
- Updating the backend to support filtering payments by `condoId`.
- Providing a basic `ReportsPage` component.
2025-12-09 13:35:10 +01:00
25d84e7b51 Update nginx.conf 2025-12-07 23:32:22 +01:00
153e0c64fa Update Dockerfile 2025-12-07 23:31:50 +01:00
9ddb9f792c Update .dockerignore 2025-12-07 23:31:28 +01:00
dd95302689 Update Dockerfile 2025-12-07 23:31:06 +01:00
0f82df517b feat: Enhance admin access and UI for privileged users
Grant 'poweruser' role access to administrative settings and sections. Update UI to reflect elevated privileges and adjust default tab navigation for these users. Modify server-side access control to include 'poweruser' alongside 'admin' for privileged routes.
2025-12-07 23:30:06 +01:00