LogiFlow
4566e73eca
Merge pull request #206 from R0m1k3/1.1
...
Fix Docker entrypoint and apply database migrations for production
2025-08-18 11:42:42 +02:00
michaelschal
f279774f04
Fix Docker entrypoint and apply database migrations for production
...
Update Dockerfile to correctly copy and execute the entrypoint script, revert CMD to node dist/index.js, and update the SOLUTION_IMMEDIATE.md and add fix-docker-entrypoint.sh to address the 'exec /app/scripts/docker-entrypoint.sh: no such file or directory' error by manually applying database migrations for DLC products.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/i2gFnxm
2025-08-18 09:42:19 +00:00
LogiFlow
867c38e20b
Merge pull request #205 from R0m1k3/1.1
...
1.1
2025-08-18 11:39:51 +02:00
michaelschal
a2554c4962
Automate database migrations on Docker startup for production
...
Update Dockerfile and entrypoint script to automatically run database migrations and apply schema changes upon container initialization.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/i2gFnxm
2025-08-18 09:39:20 +00:00
michaelschal
f55a7a6217
Add missing stock status columns and documentation for DLC products
...
Add `stock_epuise`, `stock_epuise_by`, and `stock_epuise_at` columns to the `dlc_products` table, including SQL migration scripts and production deployment instructions to resolve a missing column error.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/i2gFnxm
2025-08-18 09:37:56 +00:00
michaelschal
43776944cb
Fix error when fetching product stock information
...
Address a database error where the `stock_epuise` column is missing in the `dlc_products` table, preventing product stock data from being retrieved.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/i2gFnxm
2025-08-18 09:36:03 +00:00
LogiFlow
c47733da8d
Merge pull request #204 from R0m1k3/1.1
...
1.1
2025-08-18 11:33:42 +02:00
michaelschal
98d1e62200
Prepare system for database migrations and French localization improvements
...
Update Dockerfile to include migration scripts, configure PostgreSQL credentials in docker-compose.yml, and enhance the auto-migration script to support full database migration with French localization.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/JKfj3tT
2025-08-18 09:32:34 +00:00
michaelschal
785105814a
Add stock depletion tracking for products
...
Introduce new columns to the products table to track stock depletion status, including who depleted it and when. This enhances product management by distinguishing between expired and out-of-stock items. This change includes database migrations, Docker updates, and deployment scripts to ensure a smooth rollout.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/JKfj3tT
2025-08-18 09:29:31 +00:00
michaelschal
20f7c977ff
Fix error when retrieving product information due to missing database column
...
Resolve "column dlc_products.stock_epuise does not exist" error in the GET /api/dlc-products endpoint by addressing a discrepancy between the application's expected schema and the PostgreSQL database.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/JKfj3tT
2025-08-18 09:23:01 +00:00
LogiFlow
bc996b0119
Merge pull request #203 from R0m1k3/1.1
...
1.1
2025-08-18 11:19:06 +02:00
michaelschal
a4931ce1cd
Add stock management for out-of-stock products and update deployment scripts
...
Implement new fields in the database and update deployment scripts to include a feature for managing out-of-stock products.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/JKfj3tT
2025-08-18 09:14:12 +00:00
michaelschal
4881833925
Add ability to mark products as out of stock and restore them
...
Introduce new API endpoints and storage logic for managing product stock status, including 'stock épuisé' and 'restore stock' functionalities with role-based access control.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/JKfj3tT
2025-08-18 09:10:15 +00:00
LogiFlow
8b39f54a1d
Merge pull request #202 from R0m1k3/1.1
...
Improve SAV ticket details display and refresh behavior
2025-08-18 09:58:30 +02:00
michaelschal
08698d6fe6
Improve SAV ticket details display and refresh behavior
...
Update the SAV ticket detail modal to use real-time data and adjust the layout for better usability, including fixing the status display bug.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/bqNYoDM
2025-08-18 07:58:01 +00:00
LogiFlow
8891b8960f
Merge pull request #201 from R0m1k3/1.1
...
1.1
2025-08-18 09:35:57 +02:00
michaelschal
50a8807019
Improve SAV ticket management by fixing status updates and adding new comment indicators
...
Implement ticket status update mutation, show new comment badges, and refactor SAV modal layout for better client and product information separation.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/GCVoWnM
2025-08-18 07:32:44 +00:00
michaelschal
5974b1a29e
Saved your changes before starting work
...
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-18 07:24:53 +00:00
LogiFlow
ec513c1dad
Merge pull request #200 from R0m1k3/1.1
...
Improve invoice verification cache reliability and add expiration han…
2025-08-17 18:45:50 +02:00
michaelschal
4ff83da545
Improve invoice verification cache reliability and add expiration handling
...
Fix database storage to correctly check cache expiration and delete expired entries, preventing stale data from being served. Added logs for cache hits, misses, and expirations.
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/6kmwY2j
2025-08-17 16:34:37 +00:00
LogiFlow
52bf762c3c
Merge pull request #199 from R0m1k3/1.1
...
Restore database connection for production environment
2025-08-17 18:13:06 +02:00
michaelschal
971bda0012
Restore database connection for production environment
...
Fix issue in server/storage.ts where DatabaseStorage was not being used in production, causing database connection errors.
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/6kmwY2j
2025-08-17 16:12:44 +00:00
LogiFlow
ec3b6ba246
Merge pull request #198 from R0m1k3/1.1
...
Improve invoice verification cache with in-memory storage and logging
2025-08-17 18:10:18 +02:00
michaelschal
8339afd4cf
Improve invoice verification cache with in-memory storage and logging
...
Implement in-memory caching for invoice verification results with enhanced logging and expiration handling in MemStorage.
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/6kmwY2j
2025-08-17 16:08:53 +00:00
LogiFlow
0aa75793c1
Merge pull request #197 from R0m1k3/1.1
...
Update announcement priorities and icons for better clarity
2025-08-17 17:23:29 +02:00
michaelschal
2e0823eef6
Update announcement priorities and icons for better clarity
...
Modify the AnnouncementCard component to change the 'error' type label and icon to 'Nouveauté' with a 'Sparkles' icon, and update the 'success' type to 'Important' with a 'Star' icon, aligning with user feedback for improved announcement categorization.
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/6kmwY2j
2025-08-17 15:20:15 +00:00
LogiFlow
826c7e248c
Merge pull request #196 from R0m1k3/1.1
...
Remove the blue square preceding announcements
2025-08-17 15:30:54 +02:00
michaelschal
ff08a168d4
Remove the blue square preceding announcements
...
Removed the blue square element from the AnnouncementCard component in the client.
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/eKY7rVw
2025-08-17 12:30:50 +00:00
LogiFlow
91d2fb2b51
Merge pull request #195 from R0m1k3/1.1
...
1.1
2025-08-17 14:27:01 +02:00
michaelschal
7cc9a090e7
Add status icons next to announcement titles for better clarity
...
Update AnnouncementCard to display relevant status icons (error, warning, success, info) next to announcement titles, improving visual communication of priority.
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/LmEMw65
2025-08-17 12:14:38 +00:00
michaelschal
ba0de5e1c7
Show the full text of announcements to improve readability
...
Update AnnouncementCard component to display the entire announcement content without truncation, using `whitespace-pre-wrap` and `break-words` for proper formatting.
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/g53hZO6
2025-08-17 12:13:30 +00:00
LogiFlow
4e97d0170c
Merge pull request #194 from R0m1k3/1.1
...
Enable administrators to delete announcements in production environments
2025-08-17 14:01:45 +02:00
michaelschal
2a94ea69f8
Enable administrators to delete announcements in production environments
...
Implement PostgreSQL deletion logic for announcements and add detailed logging for the deletion process.
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/TG5LVcw
2025-08-17 12:00:57 +00:00
LogiFlow
26aade5a05
Merge pull request #193 from R0m1k3/1.1
...
Fix announcement display issues and improve user data association
2025-08-17 11:33:31 +02:00
michaelschal
cefa4b7c22
Fix announcement display issues and improve user data association
...
Address critical production bug in the announcement system by ensuring correct filtering for global and store-specific announcements, and fix author association by using username instead of ID for PostgreSQL compatibility.
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/dnQ3tT8
2025-08-17 09:22:36 +00:00
LogiFlow
0e64ec5499
Merge pull request #192 from R0m1k3/1.1
...
Improve announcement card display and fix creation bug
2025-08-17 11:18:13 +02:00
michaelschal
243240701c
Improve announcement card display and fix creation bug
...
Update the announcement card component to match the dashboard's visual style and resolve an issue where new announcements were not displaying correctly due to incorrect data handling and display logic.
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/dnQ3tT8
2025-08-17 09:17:43 +00:00
LogiFlow
2a52ccd2be
Merge pull request #191 from R0m1k3/1.1
...
Update announcement system to use production database and improve car…
2025-08-17 11:08:09 +02:00
michaelschal
9f694d0251
Update announcement system to use production database and improve card design
...
Integrate PostgreSQL for announcement storage, aligning with production requirements and updating the announcement card UI for better visual consistency and user experience.
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/DII5ZDt
2025-08-17 09:02:23 +00:00
LogiFlow
6524d75d6b
Merge pull request #190 from R0m1k3/1.1
...
1.1
2025-08-17 10:52:50 +02:00
michaelschal
3b180b84a4
Add icons to announcement cards to visually represent announcement types
...
Integrate type icons into the AnnouncementCard component by importing getTypeIcon and rendering the icon next to the announcement title, improving visual clarity.
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/7I4lS2Q
2025-08-17 08:49:58 +00:00
michaelschal
3c2639d9b9
Improve announcement display by adjusting layout and content visibility
...
Refactor AnnouncementCard component to adjust flex layout, remove unused TypeIcon import, and modify div structure for better presentation.
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/dMHQVxZ
2025-08-17 08:40:00 +00:00
michaelschal
5f270c0aa8
Improve announcement card display and production database usage
...
Update announcement card UI to match task card styling and integrate PostgreSQL for production announcements, using the `DASHBOARD_MESSAGES` table.
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/BFQBiA5
2025-08-17 08:31:06 +00:00
michaelschal
25ffad696f
Improve the visual appearance and behavior of announcement messages
...
Update AnnouncementCard component styling to match Task card background and remove message persistence from the database.
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/CNzb9L3
2025-08-17 08:27:27 +00:00
LogiFlow
5caf19c1e5
Merge pull request #189 from R0m1k3/1.1
...
Update announcement cards to match task card design and add type icons
2025-08-17 10:22:55 +02:00
michaelschal
26d1a7aada
Update announcement cards to match task card design and add type icons
...
Refactors the `AnnouncementCard` component to replicate the styling of the "To Do" task card, including icon placement next to titles, grey message text, square message corners, and right-aligned priority information with corresponding icons.
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/ZIhswcI
2025-08-17 08:22:15 +00:00
LogiFlow
172cb7bc0a
Merge pull request #188 from R0m1k3/1.1
...
Remove store selection and simplify announcement creation
2025-08-16 16:52:09 +02:00
michaelschal
ce92323060
Remove store selection and simplify announcement creation
...
Remove the store selection field and associated logic from the announcement creation form and backend API to simplify the process and ensure all announcements are globally applicable.
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/CvLQ6E2
2025-08-16 14:47:02 +00:00
LogiFlow
f9933c42e2
Merge pull request #187 from R0m1k3/1.1
...
Update announcement cards to show different message types
2025-08-16 16:36:45 +02:00
michaelschal
ec1fe2284f
Update announcement cards to show different message types
...
Refactor the announcement card component to support new message types (info, warning, error, success) and update form schemas and UI elements accordingly.
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/k6mBZF3
2025-08-16 14:36:16 +00:00