michaelschal
98089c6d41
Add database table and migration for BAP webhook configuration
...
Adds the `webhook_bap_config` table and a default configuration entry, along with a `migrations` table to track schema changes. Also includes a fix to prevent the application from exiting in production if database migrations fail during startup.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/DPQVTPV
2025-09-03 13:38:31 +00:00
michaelschal
49a5d6cf2b
Update project configuration to improve startup behavior
...
Reorders integrations in the .replit file, potentially affecting module loading order and startup dependencies.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/vzUkIk6
2025-09-03 13:19:05 +00:00
michaelschal
f938fdb95d
Add configuration interface for enterprise task webhook
...
Implement a new UI component and backend routes for configuring and testing enterprise task webhooks, including database schema and migration scripts.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/vzUkIk6
2025-09-03 13:15:50 +00:00
michaelschal
6ce9ec90a4
Update webhook request to use POST method with JSON payload
...
Modify the webhook integration to send data via POST request with a JSON payload, resolving a "400 Request Header Or Cookie Too Large" error caused by excessive custom headers.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/7RlGXpp
2025-09-03 13:01:12 +00:00
michaelschal
7a37fcacbd
Update webhook to use GET request and add file details
...
Correct the HTTP method for the webhook request to GET and include additional file-related headers in server/routes.ts. Also, reorders integrations in .replit for clarity.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/7RlGXpp
2025-09-03 12:52:42 +00:00
michaelschal
c000067327
Update webhook integration to use JSON instead of form-data
...
Removes the use of the `form-data` package and modifies the webhook payload to send data as JSON.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/uD8abDf
2025-09-03 12:44:10 +00:00
michaelschal
4247e2d218
Improve webhook request handling and error logging for admin tasks
...
Enhance the webhook route to improve user authentication checks, add robust error handling for form-data imports and fetch requests, and implement detailed logging for debugging webhook interactions.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/DIlaeG2
2025-09-03 12:38:37 +00:00
michaelschal
bd6b25e608
Update webhook integration to use JSON for sending PDF data
...
Replaces multipart form data handling with JSON payload for the webhook API call, sending PDF content as a base64 encoded string. This change also removes the `busboy` dependency.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/WbfLPZt
2025-09-03 09:41:06 +00:00
michaelschal
caee73e16b
Update file upload handling to use Busboy for improved efficiency
...
Replace Multer with Busboy for multipart/form-data parsing in the webhook endpoint, enhancing file handling and dependency management.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/0kKwZtc
2025-09-03 09:37:05 +00:00
michaelschal
fdbbb14a4f
Add feature to send PDF files to a webhook for processing
...
Implement a new API endpoint `/api/bap/send-webhook` that accepts PDF uploads and recipient data, processing them via a n8n webhook. This includes client-side state management for file uploads and processing feedback, along with server-side validation and error handling. Dependencies for `form-data`, `multer`, and `node-fetch` were also updated.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/nLNyJ0g
2025-09-03 09:28:21 +00:00
michaelschal
13dc0db957
Add a BAP button for admins to send PDF reports via webhook
...
Update dependencies for openid-client, jose, and oauth4webapi.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-03 09:20:44 +00:00
michaelschal
6c853052f1
Update development server configuration for better integration
...
Remove Javascript database integration from the .replit file to align with current project setup.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: daf3525c-b971-454a-b0c0-7a9845e786cc
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-31 07:18:17 +00:00
michaelschal
a3889dd088
Add ability for administrators to edit existing announcements
...
Implement update functionality for announcements via a PUT API endpoint, including necessary backend storage and client-side UI adjustments.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/HjMubBV
2025-08-16 13:21:24 +00:00
LogiFlow
2485f71dd7
latest
2025-08-11 14:43:48 +00:00