LogiFlow
a231a4074b
Merge pull request #224 from R0m1k3/1.1
...
Improve calendar visual distinction for weekend days
2025-08-18 14:58:18 +02:00
michaelschal
e0b06856bf
Improve calendar visual distinction for weekend days
...
Add weekend highlighting to the calendar grid component to visually separate Saturday and Sunday from weekdays.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/AvJXlQr
2025-08-18 12:57:46 +00:00
LogiFlow
d29cc5d07b
Merge pull request #223 from R0m1k3/1.1
...
Improve calendar weekend styling for better visual clarity
2025-08-18 14:55:07 +02:00
michaelschal
1256b6e432
Improve calendar weekend styling for better visual clarity
...
Apply custom CSS classes and inline styles to the Calendar component to ensure weekend days are consistently styled with a light gray background, addressing an issue where weekend backgrounds were not rendering correctly.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/AvJXlQr
2025-08-18 12:54:40 +00:00
LogiFlow
e5610abc6b
Merge pull request #222 from R0m1k3/1.1
...
Make weekend days in the calendar display with a light gray background
2025-08-18 14:50:42 +02:00
michaelschal
7087883c3b
Make weekend days in the calendar display with a light gray background
...
Adds weekend highlighting to the calendar component by applying a light gray background to Saturdays and Sundays.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/AvJXlQr
2025-08-18 12:50:10 +00:00
LogiFlow
5b2a277ac4
Merge pull request #221 from R0m1k3/1.1
...
Fix error when updating announcements by adding missing get announcem…
2025-08-18 14:40:54 +02:00
michaelschal
81a51c6540
Fix error when updating announcements by adding missing get announcement functionality
...
Add the `getAnnouncement` method to `AnnouncementStorage` implementations and update the `IAnnouncementStorage` interface to resolve a `TypeError` during announcement updates.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/JTP6mhE
2025-08-18 12:37:32 +00:00
LogiFlow
74c1d21a34
Merge pull request #220 from R0m1k3/1.1
...
Add debug tools to diagnose production announcement issues
2025-08-18 14:32:12 +02:00
michaelschal
978cff1c53
Add debug tools to diagnose production announcement issues
...
Add diagnostic endpoints and detailed logging to aid in debugging PostgreSQL connection and announcement update failures in production.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/JTP6mhE
2025-08-18 12:31:36 +00:00
LogiFlow
3304ca0ed2
Merge pull request #219 from R0m1k3/1.1
...
Fix errors when modifying announcements in production
2025-08-18 14:28:59 +02:00
michaelschal
3f6ad3bb23
Fix errors when modifying announcements in production
...
Correct PostgreSQL join condition in announcement update logic to use username instead of ID.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/JTP6mhE
2025-08-18 12:28:12 +00:00
LogiFlow
19a027b705
Merge pull request #218 from R0m1k3/1.1
...
Enhance announcement management and database interactions
2025-08-18 14:25:02 +02:00
michaelschal
8bbbd2476c
Enhance announcement management and database interactions
...
Update announcement storage to join on username instead of ID, add logging for announcement updates, and implement error handling for non-existent announcements. Also, update schema imports.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/JTP6mhE
2025-08-18 12:24:31 +00:00
LogiFlow
a22f45aeb8
Merge pull request #217 from R0m1k3/1.1
...
1.1
2025-08-18 14:18:57 +02:00
michaelschal
95710e690b
Remove author's name from announcement display
...
Removes the author's name and displays only the group name for announcements in the AnnouncementCard component.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/IUa1wDz
2025-08-18 12:18:25 +00:00
michaelschal
a75f7b66c4
Resolve unknown user display in announcements for better clarity
...
Fix user lookup in announcement messages to correctly display user names by selecting specific user fields and handling missing name data.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-18 12:16:03 +00:00
LogiFlow
bf35b6d30d
Merge pull request #216 from R0m1k3/1.1
...
Fix automatic database backup system for production
2025-08-18 14:07:12 +02:00
michaelschal
c851aacb28
Fix automatic database backup system for production
...
Resolves an issue where the automatic backup service was not initialized in the production environment, preventing daily backups. Updates `docker-compose.yml` to include a backup directory and volume, modifies `index.production.ts` to import and initialize the backup service, and enhances `replit.md` with details of the fix. A new verification script `scripts/verify-backup-system.sh` is added to confirm the system's functionality.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-18 12:06:40 +00:00
LogiFlow
96ff9037c8
Merge pull request #215 from R0m1k3/1.1
...
Improve sidebar consistency across different modules
2025-08-18 13:58:41 +02:00
michaelschal
b3ad47fe83
Improve sidebar consistency across different modules
...
Implement fixed width classes for the sidebar to ensure consistent sizing across all application modules, including the SAV module, and enhance localStorage handling for sidebar state persistence.
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/b03w3Om
2025-08-18 11:58:10 +00:00
LogiFlow
492f7b9dc1
Merge pull request #214 from R0m1k3/1.1
...
Show the latest announcement in a modal on the dashboard
2025-08-18 13:10:15 +02:00
michaelschal
070da4a129
Show the latest announcement in a modal on the dashboard
...
Fetch and display the most recent announcement created within the last two days in a modal on the dashboard page.
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/b03w3Om
2025-08-18 11:00:51 +00:00
LogiFlow
12975444f3
Merge pull request #213 from R0m1k3/1.1
...
Filter ticket views and stats by selected store for administrators
2025-08-18 12:25:28 +02:00
michaelschal
02809d6463
Filter ticket views and stats by selected store for administrators
...
Refactors the SAV tickets page to allow administrators to filter tickets and statistics based on a selected store (groupId). Updates backend routes to conditionally filter by groupId when provided in the query parameters for both ticket listings and statistics retrieval. Enables query fetching only when user and store are initialized for administrators.
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/icib2nb
2025-08-18 10:24:01 +00:00
LogiFlow
63ecc97318
Merge pull request #212 from R0m1k3/1.1
...
1.1
2025-08-18 12:19:36 +02:00
michaelschal
2028f761f3
Limit SAV ticket creation to administrative roles
...
Adjust SAV ticket creation permissions on both frontend and backend to restrict the 'employee' role, allowing only 'admin', 'directeur', and 'manager' roles to create tickets.
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 10:19:01 +00:00
michaelschal
2ff22c4821
Fix ticket assignment to ensure it's assigned to the user's store
...
Correctly assigns SAV tickets to the user's group, resolving an issue where tickets were not being assigned to the creating user's store. Includes backend and frontend logic adjustments for accurate group assignment based on user roles and available groups.
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 10:17:24 +00:00
LogiFlow
a47415b5e7
Merge pull request #211 from R0m1k3/1.1
...
Refine stock validation access for specific product statuses
2025-08-18 12:10:42 +02:00
michaelschal
32161ae797
Refine stock validation access for specific product statuses
...
Restrict stock validation button visibility based on product stock status, expiration, and user roles.
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 10:10:11 +00:00
LogiFlow
c482f98c8d
Merge pull request #210 from R0m1k3/1.1
...
Limit stock depletion button visibility to active products
2025-08-18 12:06:47 +02:00
michaelschal
e0bf48e41b
Limit stock depletion button visibility to active products
...
Hide the stock depletion button for expired or nearing expiration products, ensuring it's only visible for active items.
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 10:06:18 +00:00
LogiFlow
98ab272ef5
Merge pull request #209 from R0m1k3/1.1
...
Add helpful tips to explain icon functions for product stock status
2025-08-18 12:04:25 +02:00
michaelschal
4581b4239d
Add helpful tips to explain icon functions for product stock status
...
Adds tooltips to the "Mark out of stock" and "Restore stock" icons on the DlcPage to clarify their functionality and distinguish between "expired" and "out of stock" states.
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 10:03:24 +00:00
LogiFlow
4c2852a426
Merge pull request #208 from R0m1k3/1.1
...
Add stock status columns to product management
2025-08-18 11:58:04 +02:00
michaelschal
e5d66bd1d5
Add stock status columns to product management
...
Update database schema to include `stock_epuise`, `stock_epuise_by`, and `stock_epuise_at` columns in the `dlc_products` table and adjust Dockerfile and production commands for immediate application.
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:57:25 +00:00
LogiFlow
6476a4439d
Merge pull request #207 from R0m1k3/1.1
...
1.1
2025-08-18 11:55:31 +02:00
michaelschal
b383363e45
Ensure database tables are created automatically in production environments
...
Add a new script to synchronize missing database migrations and update the Docker entrypoint to execute it before starting the application.
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:54:50 +00:00
michaelschal
3645922bdb
Add stock depletion tracking to DLC products for better inventory management
...
Apply database migration to add `stock_epuise`, `stock_epuise_by`, and `stock_epuise_at` columns to the `dlc_products` table. Includes a new urgent production fix script to apply the migration and restart the application.
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:44:32 +00:00
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