fix(bot): remove redundant deposit amount step, add Visa/MC label, Mercuryo auth note, enforce product completeness
- Remove deposit amount-selection step; deposit_wallet_<TYPE> now routes directly to instruction - Add VISA / Mastercard text to Mercuryo card button (i18n en/es/de) - Add deposit_important5: Mercuryo 1-payment-without-auth + top-up-reserve warning - Admin validation: description + photo required on product create/update (products.js, catalogProducts.js) - Cleanup orphan uploaded files on validation failure (catalogProducts.js) - Bot guards: fallback to products.no_description / products.no_photo for incomplete products - Add vitest + 7 purchase edge-case tests (src/__tests__/userProductHandler.test.js) - Bump version to v1.2.1
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<svg class="sa-icon sa-thin">
|
||||
<use href="/icons/sprite.svg#tag"></use>
|
||||
</svg>
|
||||
<span class="fs-xs opacity-70">v1.2.0</span>
|
||||
<span class="fs-xs opacity-70">v1.2.1</span>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
@@ -43,9 +43,16 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="alert alert-info mb-3">
|
||||
<strong>Current:</strong> v1.2.0 · 2026-07-08
|
||||
<strong>Current:</strong> v1.2.1 · 2026-07-18
|
||||
</div>
|
||||
|
||||
<h6 class="fw-bold mb-2">v1.2.1 <span class="text-muted fs-sm">— 2026-07-18</span></h6>
|
||||
<ul class="small mb-3">
|
||||
<li><span class="badge bg-info">refactor</span> Removed deposit amount-selection step; deposit_wallet_ now goes directly to Mercuryo instructions</li>
|
||||
<li><span class="badge bg-primary">feat</span> Updated Mercuryo button text to include VISA/Mastercard branding in all locales</li>
|
||||
<li><span class="badge bg-primary">feat</span> Added deposit_important5 note about Mercuryo authorization limits and top-up reserve</li>
|
||||
</ul>
|
||||
|
||||
<h6 class="fw-bold mb-2">v1.2.0 <span class="text-muted fs-sm">— 2026-07-08</span></h6>
|
||||
<ul class="small mb-3">
|
||||
<li><span class="badge bg-warning text-dark">fix</span> Disabled CSRF checks in admin panel for Tor / onion zone compatibility</li>
|
||||
|
||||
Reference in New Issue
Block a user