11 Commits

Author SHA1 Message Date
704e01669f fix: db update bug, add action log with 30-day purge, rebuild exe
- main.py: _pending_record_id locks resolved DB key at Add/Update time;
  show original barcode in update frame; auto-focus mass field on open;
  clear all fields and return focus to ID input after confirm/reset
- database_manager.py: buffered=True cursors on all SELECTs; no
  fetchall() after DML; replace ON DUPLICATE KEY UPDATE VALUES() with
  explicit UPDATE then INSERT fallback; add app_actions.log with
  structured per-action entries; purge_old_action_logs(30) on startup
- dist/DatabaseApp.exe: rebuilt single-file Windows binary (30.9 MB)
- remove unused files: README, WINDOWS_README, run_app.sh,
  setup_database.sh, setup_user.sql, test_database.py, sept.csv"
2026-04-09 11:00:37 +03:00
3604a46421 fix: restore collect_all for mysql.connector to fix no localization for language eng 2026-04-07 17:09:26 +03:00
0f7e157406 fix: dynamic height layout + bundle mysql locales to fix 'no localization for eng' error\n\n- Replace all fixed pixel heights in content_layout with size_hint_y proportions\n so the 6 rows fill available space on any screen (800p, 1080p, etc.)\n- Remove AnchorLayout wrapper that caused dead space above content\n- Bundle mysql/connector/locales in PyInstaller build (spec + build_windows.py)\n- Add mysql.connector.plugins hidden imports to spec and build script" 2026-04-07 16:52:10 +03:00
65c34314b0 feat: responsive layout scaling + centered content
- All widget heights, fonts, padding and spacing derived from
  Window.height so layout fits any screen (800p, 1080p, etc.)
- Content block wrapped in AnchorLayout (anchor_y=center) so it
  sits centered in the space above the numpad instead of bottom-aligned
- Rebuilt DatabaseApp.exe (30.9 MB)
2026-04-07 16:04:39 +03:00
e0f510cebc feat: move Exit button to title row, reduce spacing above numpad
- Exit button relocated from bottom-right overlay to right side of title row
- Spacing between action buttons and update frame reduced 40px -> 10px
- Rebuilt DatabaseApp.exe (30.9 MB)
2026-04-07 14:40:19 +03:00
df4a75ceaf fix: use collect_all for mysql.connector to fix No module named 'mysql' in exe
mysql-connector-python 9.x restructured its package hierarchy. PyInstaller
fails to auto-discover submodules (aio, plugins, locales, etc.).
Updated DatabaseApp.spec to use collect_all('mysql.connector') which
walks the full package tree and bundles all required files.
Rebuilt DatabaseApp.exe (30.9 MB).
2026-04-07 13:49:09 +03:00
d053aa5816 build: add Windows binary with mysql localization fix 2026-04-06 15:52:14 +03:00
50558ce464 fix: add mysql.connector.locales to hiddenimports to resolve 'no localization support for language eng' error in PyInstaller build 2026-04-06 15:37:42 +03:00
scheianu
3ca7eac4b8 release: rebuild DatabaseApp.exe with use_pure=True fix for mysql_native_password auth plugin 2026-04-03 23:18:12 +03:00
scheianu
cb1a00bcf4 prepering for a new build as i fix the mysql connector error 2026-04-03 23:02:35 +03:00
scheianu
c595b41781 release: add DatabaseApp.exe to dist/ 2026-04-01 21:05:15 +03:00