34e524616d
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)
38 lines
1.2 KiB
Properties
38 lines
1.2 KiB
Properties
quarkus.http.port=8080
|
|
quarkus.http.host=0.0.0.0
|
|
|
|
quarkus.application.name=shot-crafter-calculator
|
|
|
|
# H2 file-based
|
|
quarkus.datasource.db-kind=h2
|
|
quarkus.datasource.jdbc.url=jdbc:h2:file:./data/shots;DB_CLOSE_DELAY=-1;WRITE_DELAY=0;LOCK_MODE=0;MV_STORE=TRUE
|
|
quarkus.datasource.username=sa
|
|
quarkus.datasource.password=
|
|
quarkus.hibernate-orm.database.generation=validate
|
|
quarkus.hibernate-orm.log.sql=false
|
|
# Flyway maneja el schema. validate hace que Hibernate solo valide
|
|
# que el schema en DB coincide con las entities, sin tocarlo.
|
|
quarkus.flyway.migrate-at-start=true
|
|
quarkus.flyway.baseline-on-migrate=true
|
|
|
|
# JWT
|
|
mp.jwt.verify.issuer=shot-crafter-calculator
|
|
mp.jwt.verify.publickey.location=publicKey.pem
|
|
smallrye.jwt.sign.key.location=privateKey.pem
|
|
|
|
# Cookie auth
|
|
app.auth.cookie-name=auth-token
|
|
app.auth.cookie-max-age-seconds=86400
|
|
|
|
# Security
|
|
quarkus.http.auth.proactive=false
|
|
|
|
# Bootstrap admin (default user created on first boot of an empty DB)
|
|
app.bootstrap.admin.enabled=true
|
|
app.bootstrap.admin.username=admin
|
|
|
|
# Static resources are served from META-INF/resources/static/* by default.
|
|
# Nothing else to configure.
|
|
|
|
%native.quarkus.native.resources.includes=META-INF/resources/.*,publicKey.pem,privateKey.pem
|