66263440bb
fix: broken SQL in update manifests — line-by-line instead of complete statements
...
build-update.ps1 was reading SQL migrations line-by-line, causing
multi-line CREATE TABLE/INSERT statements to be stored as fragments
in manifests. Fixed to strip comments, join lines, and split by
semicolons. Fixed ver_0.324_manifest.json with correct SQL statements.
Added try-catch in UpdateRepository to prevent fatal crashes on SQL errors.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 14:48:08 +01:00
077cf3a800
build: update package v0.325
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 13:52:59 +01:00
7b3b4b0092
build: update package v0.324
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-27 13:32:36 +01:00
4168eeec23
build: update package v0.323
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-24 21:12:48 +01:00
3f0972cce5
build: update package v0.322
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 14:13:19 +01:00
b7521686e5
build: update package v0.321
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 14:00:08 +01:00
904b649760
build: update package v0.320
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 13:35:13 +01:00
a294d541ab
build: update package v0.319
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 12:35:35 +01:00
7da1fb2a01
build: update package v0.318
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 11:59:04 +01:00
4181b4302a
build: update package v0.317
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 23:31:39 +01:00
3b627e9c73
build: update package v0.316
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 18:01:50 +01:00
1bf8a77d42
build: update package v0.315
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 17:52:58 +01:00
1c3aa85b8f
build: update package v0.314
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 12:34:26 +01:00
7904b09f9f
build: update package v0.313
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 11:45:45 +01:00
87ce6d1fb6
build: update package v0.312
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 11:12:33 +01:00
6376c559c6
build: update package v0.311
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 10:51:50 +01:00
e75a06cee9
build: update package v0.310
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 09:57:20 +01:00
e7b43b0df5
build: update package v0.309
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 09:32:51 +01:00
c7aaf60e47
build: update package v0.308
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 21:01:37 +01:00
56e10913ad
build: update package v0.307
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 18:04:02 +01:00
c082c72dc1
build: rebuild update packages v0.304, v0.305 with fixed .updateignore
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 17:16:26 +01:00
4e6962a569
build: update package v0.306
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 17:13:01 +01:00
31c9f6169b
remove ver_0.304_sql.txt from updates/ — SQL lives only in migrations/
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 16:50:29 +01:00
0d8a70f6e2
fix: UTF-8 BOM in update SQL files causing MariaDB syntax error
...
PowerShell 5.1 Out-File -Encoding UTF8 adds BOM (EF BB BF) which
breaks SQL execution on production. Also fix manifest JSON serializing
full PS objects instead of plain strings.
- build-update.ps1: use UTF8Encoding($false) for all file writes
- build-update.ps1: force .ToString() on Get-Content results
- UpdateRepository.php: strip BOM and normalize line endings in executeSql
- Rebuild ver_0.304 package files (clean SQL + manifest)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 16:49:23 +01:00
0ece86f5a8
build: update packages v0.304, v0.305
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 16:39:20 +01:00
6e6fc86451
build: update package v0.303
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 15:05:19 +01:00
6fdbe61916
ver. 0.302: REST API product variants, attributes dictionary, attribute filtering
...
- Add variant CRUD endpoints (variants, create_variant, update_variant, delete_variant)
- Add dictionaries/attributes endpoint with multilingual names and values
- Add attribute_* filter params for product list filtering by attribute values
- Enrich product detail attributes with translated names (attribute_names, value_names)
- Include variants array in product detail response for parent products
- Add price_brutto validation on product create
- Batch-load attribute/value translations (4 queries instead of N+1)
- Add 43 new unit tests (730 total, 2066 assertions)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 14:42:52 +01:00
38cc4f28c1
build: update package v0.301
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 13:58:59 +01:00
0c3b87d831
ver. 0.300: Manifest-based update system with checksum verification and file backup
...
Replaces the manual ZIP packaging workflow with an automated build script.
UpdateRepository now supports both manifest JSON format (new) and legacy
_sql.txt/_files.txt format (fallback), enabling a smooth transition for
existing client instances.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-21 23:30:58 +01:00