Skip to content

Commit

Permalink
Updated to latest Quarkus
Browse files Browse the repository at this point in the history
  • Loading branch information
FroMage committed Mar 19, 2024
1 parent 2f1c1ad commit 42a7f68
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.3.2</quarkus.platform.version>
<quarkus.platform.version>3.8.3</quarkus.platform.version>
<surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
<renarde.version>3.0.4</renarde.version>
<renarde.version>3.0.9</renarde.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/tags/input.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
{#if autofocus??}autofocus{/if}
{#if id??}id="{id}"{/if}
class="form-control {#ifError name}is-invalid{/ifError}"
maxlength="{VARCHAR_SIZE}"
maxlength="{global:VARCHAR_SIZE}"
value="{inject:flash.get(name) ?: value??}"/>
2 changes: 1 addition & 1 deletion src/main/resources/templates/tags/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- FIXME: there appears to be a size value coming from outer space -->
<span class="user-link" title="{it.userName}">
{#if img??}
{#gravatar it.email size=size.or(20) default='mm' /}
{#gravatar it.email size=size.or(20)/}
{/if}
{it.userName}<i class="bi bi-{it.iconType}"></i></span>
{/if}
4 changes: 2 additions & 2 deletions src/test/java/fr/epardaud/TodoResourceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private void testLoggedIn(String userName, String icon, Filter cookieFilter) {
.body(containsString("Welcome, "+userName))
// user gravatar in menu
.body(containsString("<span class=\"user-link\" title=\""+userName+"\">\n"
+ "<img src=\"https://www.gravatar.com/avatar/"+JavaExtensions.gravatarHash(userName+"@example.com")+"?s=20\"/>\n"
+ "<img src=\"https://www.gravatar.com/avatar/"+JavaExtensions.gravatarHash(userName+"@example.com")+"?s=20\" />"
+ userName+"<i class=\"bi bi-"+icon+"\"></i></span>"))
// Todo link
.body(containsString("<a class=\"nav-link\" aria-current=\"page\" href=\"/Todos/index\">Todos</a>"))
Expand Down Expand Up @@ -386,7 +386,7 @@ private void finishConfirmation(RenardeCookieFilter cookieFilter, String confirm
.body(containsString("Welcome, "+userName))
// user gravatar in menu
.body(containsString("<span class=\"user-link\" title=\""+userName+"\">\n"
+ "<img src=\"https://www.gravatar.com/avatar/"+JavaExtensions.gravatarHash(email)+"?s=20\"/>\n"
+ "<img src=\"https://www.gravatar.com/avatar/"+JavaExtensions.gravatarHash(email)+"?s=20\" />"
+ userName+"<i class=\"bi bi-shield-check\"></i></span>"))
// Todo link
.body(containsString("<a class=\"nav-link\" aria-current=\"page\" href=\"/Todos/index\">Todos</a>"))
Expand Down

0 comments on commit 42a7f68

Please sign in to comment.