Commit Graph

30 Commits

Author SHA1 Message Date
Javier
90f30db915 fix: clear input field on scan error, version 0.18.3 - Fixes #1 2026-02-12 09:57:48 -06:00
Javier
0df35b015b feat: add archive/delete/restore sessions with header preview 2026-02-11 11:51:05 -06:00
Javier
caeefa5d61 bump: version 0.18.1 2026-02-11 09:25:02 -06:00
Javier
363295762a feat: Implement Smart Router workflow with User Input and Duplicate Logic (v0.18.0)
Major update to the scanning engine to support "Pause & Resume" workflows.
The system can now halt execution to ask for user input (e.g. Weight) and resume
processing seamlessly.

Key Changes:
- Backend (Global Actions): Added `OPEN_FORM` action type to pause pipeline and request manual input.
- Backend (Routes): Updated `scan_lot` to handle `extra_data` payloads, allowing the pipeline to resume after user input.
- Backend (Logic): Implemented `confirm_duplicate` gatekeeper to handle "Warn vs Block" logic dynamically.
- Frontend (JS): Added `processSmartScan` to handle router signals (Open Modal, Warn Duplicate).
- Frontend (JS): Added `saveSmartScanData` to send original barcode + new form data back to the engine.
- UI: Fixed modal ID/Name conflicts (forcing use of `name` attribute for DB compatibility).
- UI: Restored missing "Cancel" button to Details Modal.
- Config: Added "User Input" rule type to the Rule Editor.

Ver: 0.18.0
2026-02-09 00:34:41 -06:00
Javier
ea8551043f v0.17.3 - Updated the way Gunicorn restarts the server 2026-02-08 02:08:58 -06:00
Javier
b41e64be64 Bug: added gunicorn config file 2026-02-08 01:53:03 -06:00
Javier
3b9680455c v0.17.1 - added Gunicorn to Docker 2026-02-08 01:16:31 -06:00
Javier
56b0d6d398 feat: Complete modular plugin architecture v0.17.0
Major architectural refactor:
- Convert invcount and conssheets to self-contained modules
- Add Module Manager with upload/install/uninstall
- Implement auto-restart after module installation
- Add drag-and-drop module upload system
- Create triple-confirmation uninstall flow
- Redesign Module Manager UI with card layout
- Support dynamic module loading from /modules/

This enables easy distribution and installation of new modules
without code changes to core application.
2026-02-08 00:54:12 -06:00
Javier
22d7a349a2 Bug: Fixed Imports of Consumption Sheets Module 2026-02-07 12:15:47 -06:00
Javier
406219547d feat: Implement modular plugin architecture
- Convert invcount to self-contained module
- Add Module Manager for install/uninstall
- Create module_registry database table
- Support hot-reloading of modules
- Move data imports into invcount module
- Update all templates and routes to new structure

Version bumped to 0.16.0
2026-02-07 01:47:49 -06:00
Javier
2a649fdbcc V0.15.0 - Not done yet 2026-02-01 16:22:59 -06:00
Javier
2d333c16a3 v0.14.0 - Major Logic Overhaul & Real-Time Dashboard
Logic: Implemented "One User, One Bin" locking to prevent duplicate counting.

    Integrity: Standardized is_deleted = 0 and tightened "Matched" criteria to require zero weight variance.

    Refresh: Added silent 30-second dashboard polling for all 6 status categories and active counter list.

    Tracking: Built user-specific activity tracking to identify who is counting where in real-time.

    Stability: Resolved persistent 500 errors by finalizing the active-counters-fragment structure.
2026-01-31 19:17:36 -06:00
Javier
a6d8767c28 Refactor Admin Dashboard and organize Counts module 2026-01-30 10:30:17 -06:00
Javier
5097ceb82f v0.13.0 - Add Consumption Sheets module and database migration system 2026-01-29 22:12:55 -06:00
Javier
d955a13f3d v0.13.0 - Add Consumption Sheets module
New module for tracking production consumption with lot scanning:
- Admin configuration for process types (AD WIP, etc.)
- Dynamic table creation per process
- Flexible header/detail field definitions with Excel cell mapping
- Duplicate detection with configurable key field
- Staff scanning interface with duplicate warnings (same session/cross session)
- Excel export using uploaded templates with multi-page support
- Template settings for rows per page and detail start row
2026-01-29 12:33:34 -06:00
Javier
b11421a8f5 Completed:
 Admin: Process creation, field configuration, template upload
 Staff: Session list, new session (header form), scanning interface
 Duplicate detection (same session = blue, other session = orange)
 Weight entry popup, edit/delete scans
2026-01-28 12:53:59 -06:00
Javier
ac73045ef2 v0.12.1 - Updated the Readme.md file 2026-01-26 11:49:27 -06:00
Javier
21671d6bee v0.12.0 - Add modular system architecture with user-based module access
- Add Modules and UserModules database tables
- Create home page with module selection grid
- Implement per-user module assignment in user management
- Add route guards for module access control
- Refactor navigation: login -> home -> modules, admin console via button
- Add Font Awesome icons
2026-01-26 11:35:29 -06:00
Javier
cbd7e535e6 v0.11.3 - Forgot to change version number in app.py, fixed. 2026-01-25 21:18:25 -06:00
Javier
38212653f4 v0.11.2 - Added code to initialize DB if it's not there. 2026-01-25 21:17:18 -06:00
Javier
136fe03e07 v0.11.1 - Fixed weight Discrepancy bug 2026-01-25 20:40:51 -06:00
Javier
ff577a6cbf v0.11.0 - Added a block so no bins can be counted until a master file has been uploaded. 2026-01-25 20:17:37 -06:00
Javier
672591c736 v0.10.0 - Add session archive/activate feature with access controls 2026-01-25 02:23:18 -06:00
Javier
1a5168d155 v0.9.0 - CSS refactor: split into device files, scanner UI improvements, scroll buttons 2026-01-24 16:01:40 -06:00
Javier
53158e76e4 V0.8.6 - Frefractor: Counting.py 2026-01-23 11:45:35 -06:00
Javier
6789f0899a V1.0.0.5 - Refactor app.py: Split User, Session, and Admin logic into blueprints 2026-01-23 09:14:20 -06:00
Javier
2f705b1e22 V1.0.0.4 - Refactor: Sessions.py 2026-01-23 01:35:11 -06:00
Javier
518c9478dc V1.0.0.2 - Refactor: Moved user Management out of App.py and into users.py 2026-01-23 01:06:30 -06:00
Javier
c747375f79 V1.0.0.2 - Refactor: Split DB and Import logic, fixed CSV upload columns 2026-01-22 01:47:35 -06:00
Javier
4c5a588197 Initial V1 Backup 2026-01-22 00:36:01 -06:00