Commit Graph
2 Commits
Author SHA1 Message Date
darroyo 30037bc5cb fix: add ?v=5 cache-busting to all script tags
CI / Build Native (push) Successful in 6m44s
El error 'window.api.updateCharacterWeight is not a function' se daba
porque el browser tenía cacheada la versión vieja de api.js (que
tenía updateCharacterInventory en vez de updateCharacterWeight).

Agregar ?v=5 a los script src fuerza al browser a re-descargar el JS
cuando el URL cambia (con cada nueva versión bump n). Previene
errores 'is not a function' después de deploys que agregan/renombran
métodos.

Aplica a todos los archivos HTML que cargan JS estático.
2026-08-23 12:49:24 -04:00
darroyo 34e524616d chore: commit all missing files from Qute/Alpine migration
CI / Build Native (push) Successful in 7m9s
This commit adds all the files that were created during the frontend
migration (Qute templates + Alpine.js) but were never committed to git.

Includes:
- TemplateData.java (shared Qute page helpers)
- Static resources: app.js, defaults.js, calc.js, alpine.min.js, pico.min.css, favicon.svg
- Qute templates: changePassword, formulas, insumos, login, register, usuarios
- Partial templates: header.html, layout/base.html
- Modified: MustChangePasswordFilter.java (added login/register paths)
- Modified: AppState.java (added price fields)
- Modified: format.js (simplified number formatting)
- Modified: application.properties (static resources comment)
- Modified: calculadora.html (Qute/Alpine rewrite)
2026-08-18 10:26:10 -04:00