Commit Graph
1523 Commits
Author SHA1 Message Date
LogiFlow bad2665fc6 Merge pull request #529 from R0m1k3/1.1
feat: implement mobile task management page with create and edit task…
2025-12-10 13:04:07 +01:00
Michael 5894b486b7 feat: implement mobile task management page with create and edit task form 2025-12-10 13:03:30 +01:00
LogiFlow e912de9c9c Merge pull request #528 from R0m1k3/1.1
feat: introduce responsive task management with a dedicated mobile ta…
2025-12-10 12:52:59 +01:00
Michael b51687f301 feat: introduce responsive task management with a dedicated mobile tasks page and form 2025-12-10 12:51:58 +01:00
LogiFlow 1d0b371e40 Merge pull request #527 from R0m1k3/1.1
feat: Add publicities management page with year/month filtering, list…
2025-12-10 12:06:36 +01:00
Michael 1df477927a feat: Add publicities management page with year/month filtering, list/calendar views, and CRUD functionality. 2025-12-10 12:06:14 +01:00
Michael 6b719fb111 feat: implement Sidebar component including navigation, user details, logout, and BAP document upload with webhook integration. 2025-12-08 09:12:45 +01:00
LogiFlow 9ec9cfcca3 Merge pull request #526 from R0m1k3/1.1
Remove Multer dependency and implement custom multipart form data par…
2025-11-04 17:49:12 +01:00
LogiFlow 359cbdcf16 Update package.json 2025-11-04 17:46:31 +01:00
LogiFlow 2d77fd2b86 Update build script to use esbuild 2025-11-04 17:43:23 +01:00
michaelschal cca262230e Remove Multer dependency and implement custom multipart form data parsing
Replace Multer with a custom multipart form data parser in the invoice sending route to handle file uploads manually.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 06ccc22f-0202-44ef-842e-1398da8ca1f8
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: c4f6adde-b136-457f-ac0c-fcdc03a680db
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/06ccc22f-0202-44ef-842e-1398da8ca1f8/leGOKHM
2025-11-04 16:42:20 +00:00
LogiFlow ee88fa24c3 Merge pull request #525 from R0m1k3/1.1
Update invoice sending to use Multer for file uploads
2025-11-04 17:38:51 +01:00
michaelschal 881a747ebc Update invoice sending to use Multer for file uploads
Replace Busboy with Multer for handling multipart/form-data uploads for the invoice sending API endpoint in `server/routes.ts`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 06ccc22f-0202-44ef-842e-1398da8ca1f8
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 57dda692-8f64-40f3-b873-418a8c7efa67
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/06ccc22f-0202-44ef-842e-1398da8ca1f8/leGOKHM
2025-11-04 16:38:21 +00:00
LogiFlow 8b4849bb97 Merge pull request #524 from R0m1k3/1.1
1.1
2025-11-04 17:33:03 +01:00
michaelschal 1b34e274b9 Add file upload capability to the system
Integrate Busboy to handle multipart/form-data requests for file uploads.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 06ccc22f-0202-44ef-842e-1398da8ca1f8
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: bfef1078-7f0e-4c03-aedc-d4660547e68a
2025-11-04 15:40:15 +00:00
michaelschal 8c803118a7 Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 06ccc22f-0202-44ef-842e-1398da8ca1f8
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: aa1ed600-fe9b-4592-8866-be941903ef4c
2025-11-04 15:33:08 +00:00
michaelschal 4a13ed24f6 Improve error logging and user search functionality for enterprise tasks
Adds detailed log entries for user searches, including success and failure cases, and enhances announcement fetching logic by querying the PostgreSQL DASHBOARD_MESSAGES table.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: dcc2bb67-c5b7-44cd-ab53-25ebb1dd1d09
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:30:19 +00:00
LogiFlow c94366f0c7 Merge pull request #523 from R0m1k3/1.1
Improve invoice sending by proxying requests through the backend
2025-11-04 16:27:17 +01:00
michaelschal ca576dc289 Improve invoice sending by proxying requests through the backend
Introduces a new backend API endpoint to proxy invoice sending requests, resolving CORS issues and enhancing error handling.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: df58cf24-9a7e-4197-bdbe-786d56d0c35e
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:26:40 +00:00
LogiFlow 857b612d51 Merge pull request #522 from R0m1k3/1.1
Update invoice sending to directly use webhook URL and add timeout
2025-11-04 16:21:50 +01:00
michaelschal e3785d4457 Update invoice sending to directly use webhook URL and add timeout
Replaced the backend proxy route for sending invoices with a direct fetch to the webhook URL, incorporating a 60-second timeout using AbortController. Also added 'busboy' and '@types/busboy' to package.json.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: ca0ae43e-5b56-4b02-8cb5-0e76adf608ba
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:21:16 +00:00
LogiFlow b2739e138c Merge pull request #521 from R0m1k3/1.1
Improve invoice sending by proxying through backend
2025-11-04 16:17:51 +01:00
michaelschal 89211e4f28 Improve invoice sending by proxying through backend
Replaces direct webhook calls for invoice sending with a backend API endpoint, utilizing multer for file uploads and form-data for robust data transmission. Includes improved error handling and logging.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: e89da884-7d51-4b3d-8af5-22493ce6f2c1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:17:17 +00:00
LogiFlow 3939b16788 Merge pull request #520 from R0m1k3/1.1
Update invoice sending to use direct webhook requests with timeouts
2025-11-04 16:13:26 +01:00
michaelschal 4dffada355 Update invoice sending to use direct webhook requests with timeouts
Refactors BLReconciliation.tsx to replace the backend proxy call with a direct fetch to the webhook URL, implementing FormData for file uploads and adding a 60-second timeout using AbortController.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 4d220e6b-5c4b-4c79-badc-e764c86cbe43
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:12:48 +00:00
LogiFlow 47ebf2172a Merge pull request #519 from R0m1k3/1.1
Update file upload handling to use native Node.js FormData
2025-11-04 16:09:04 +01:00
michaelschal fb6c06d150 Update file upload handling to use native Node.js FormData
Migrate from the 'form-data' npm package to Node.js's built-in 'node:buffer' module for FormData, File, and Blob to resolve dynamic require errors and improve compatibility with newer Node.js versions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: fb46322f-df17-46db-ba41-3f694e6331a9
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 15:08:20 +00:00
LogiFlow fdb9ee0243 Merge pull request #518 from R0m1k3/1.1
Add ability to upload files to external webhooks
2025-11-04 16:04:57 +01:00
michaelschal e9827c333d Add ability to upload files to external webhooks
Import and utilize the 'form-data' library in server/routes.ts to construct and send multipart/form-data payloads to external webhooks.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 181f13b7-a0a2-4b4f-989d-214861ea2c19
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:54:28 +00:00
LogiFlow 7ee495916b Merge pull request #517 from R0m1k3/1.1
1.1
2025-11-04 15:50:47 +01:00
michaelschal cbcef39aa2 Enable admins and directors to send invoices via webhook
Introduce a new backend route `/api/reconciliation/send-invoice-webhook` to proxy invoice data to external webhooks, converting files to base64 and handling CORS issues.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6f3c3694-5a67-4b47-b27c-af49da7ad447
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:49:08 +00:00
michaelschal 0f497eb447 Improve error handling for director role access
Fix an issue where users with the director role encounter an error when accessing certain functionalities, while admin roles function correctly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6e25cf99-6627-4391-aa4b-689f0acef7c9
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:45:39 +00:00
michaelschal bfb69f8e72 Address visual inconsistencies in the user interface
Investigate and resolve visual glitches causing grayed-out lines at the beginning of the interface.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: e41c4ad0-bd40-4298-9fbd-e4517326a95a
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:43:02 +00:00
LogiFlow 10cd3c8245 Merge pull request #516 from R0m1k3/1.1
1.1
2025-11-04 15:31:54 +01:00
michaelschal c55ee2aabe Update product sorting to show active items first
Modify the database query in `server/storage.ts` to prioritize active products (status not 'valides' and not processed/stock épuisé) to appear before processed, stock épuisé, or valides products in the results.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 427b5397-73ab-43e6-8938-8421d3c5aef4
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:31:01 +00:00
michaelschal a7f2d3448e Display processed products prominently and ensure they appear online
Update the UI to prominently display processed products, making them visible at the beginning of the list.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 3ff37aee-5784-4d5b-b73d-47425f9ce072
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:29:10 +00:00
LogiFlow e0b8fdfec9 Merge pull request #515 from R0m1k3/1.1
Display processed products first and visually indicate their status
2025-11-04 15:26:29 +01:00
michaelschal 42a7c494f2 Display processed products first and visually indicate their status
Adjusted product display logic to prioritize and style products that have been processed or validated, ensuring they appear at the beginning of the list with a distinct visual treatment.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 7b704198-c867-4dc2-bcfa-f3fd0e9ea029
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:24:37 +00:00
LogiFlow c776f4c5e3 Merge pull request #514 from R0m1k3/1.1
1.1
2025-11-04 15:21:37 +01:00
michaelschal 5f30c68676 Improve DCL product sorting logic to show active items first
Update DCL product sorting in DatabaseStorage to prioritize active products (status 'valides', not out of stock, not processed) by assigning them a lower CASE value, and then sort by expiryDate.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: d092b7f6-df07-4bbf-8198-16c2b8bfdfa4
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:20:48 +00:00
michaelschal 9eace1a1af Improve how new tasks are displayed on the main screen
Fix a bug where the task list does not update automatically after adding a new task.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6116afdf-db6b-4148-9369-7e5b941f81ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 14:18:01 +00:00
michaelschal f257234f64 Improve delivery deletion by updating the local cache and refetching data
Implement optimistic UI updates for delivery deletion by using `setQueryData` to remove the item from the cache locally and then using `refetchQueries` to ensure data consistency with the server. Includes error handling to refetch on failure.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 3527f812-5444-4cba-9693-7eb9aae7ec50
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 14:11:04 +00:00
michaelschal fe193b7120 Enable users to delete deliveries from their private server
Fixes an issue where users were unable to delete deliveries from their private server environment.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: ebc58f17-b345-4c45-bcf6-019551cc004f
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 14:09:47 +00:00
LogiFlow 3ec49a2df8 Merge pull request #513 from R0m1k3/1.1
Adjust invoice validation and tab navigation
2025-11-04 15:01:58 +01:00
michaelschal 351b22186e Adjust invoice validation and tab navigation
Remove success toast for verified invoices and update tab switching logic after validation/invalidation.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 711f132b-0305-4599-b521-607de6b4a3da
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 14:01:19 +00:00
LogiFlow a3dfda16f4 Merge pull request #512 from R0m1k3/1.1
Improve reconciliation validation feedback and cache updates
2025-11-04 14:57:36 +01:00
michaelschal 76d113f538 Improve reconciliation validation feedback and cache updates
Update BLReconciliation.tsx to remove toast for non-found invoices, implement optimistic cache updates using queryClient.setQueryData for immediate UI feedback, and add error handling with queryClient.refetchQueries to revert optimistic updates.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 3bd41b38-9ebe-4ea0-9772-0a0dd5178be1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 13:56:55 +00:00
LogiFlow 55a5fc3baf Merge pull request #511 from R0m1k3/1.1
Improve reconciliation to only check for unchecked invoices
2025-11-04 14:52:47 +01:00
michaelschal 3a8a2cb0b3 Improve reconciliation to only check for unchecked invoices
Refine BLReconciliation page logic to only perform initial verification for deliveries that have not yet been found (i.e., have no invoice amount) and have not already been processed or are currently being verified.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 1e02676a-c064-41b5-8cc9-18cc13f26b5d
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 13:51:54 +00:00
LogiFlow 31fa183ab4 Merge pull request #510 from R0m1k3/1.1
Fix issue preventing delivery reconciliation status from displaying
2025-11-04 14:47:58 +01:00