Skip to content

Commit

Permalink
Merge branch 'release/2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubois54 committed Sep 28, 2023
2 parents 5f20c87 + 74fac17 commit 8cd6898
Show file tree
Hide file tree
Showing 233 changed files with 7,466 additions and 2,377 deletions.
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
# build
node/
node_modules/
frontend/generated/
src/main/dev-bundle/
/target/
webpack.generated.js
drivers/
/config/


# IDE
.classpath
.factorypath
.project
.settings
.idea/
*.iml
.DS_Store


# local dev
**/application.properties
**/application.yml
**/~*.docx
**/~*.tmp


# local dev test
**/test.properties
Expand All @@ -29,7 +42,9 @@ helmchart
helmchart/**/.*

pnpmfile.js
pnpm-lock.yaml
/.apt_generated/
/.apt_generated_tests/
/package-lock.json
/bin/
/.pnpmfile.cjs
/.npmrc
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include:
- project: 'dn-sied/ci-config'
file: '/.gitlab-ci-template.yml'
file: '/.gitlab-ci-template-jdk17.yml'

variables:
MAVEN_ADDITIONAL_CLI_OPTS: "-Pcoverage,production"
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changelog

Se reporter au [WIKI ESUP](https://www.esup-portail.org/wiki/x/C4DEPg).
Se reporter au [WIKI ESUP](https://www.esup-portail.org/wiki/x/C4DEPg)

8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Stage that builds the application, a prerequisite for the running stage
FROM maven:3-jdk-11 as build
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
FROM maven:3.8.5-openjdk-17-slim as build
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get update -qq && apt-get install -qq --no-install-recommends nodejs

# Stop running as root at this point
Expand All @@ -16,14 +16,14 @@ RUN mvn dependency:go-offline -Pproduction
# Copy all needed project files to a folder
COPY --chown=myuser:myuser src src
COPY --chown=myuser:myuser frontend frontend
COPY --chown=myuser:myuser package.json webpack.config.js ./
COPY --chown=myuser:myuser package.json pnpm-lock.yaml webpack.config.js ./


# Build the production package, assuming that we validated the version before so no need for running tests again
RUN mvn clean package -DskipTests -Pproduction

# Running stage: the part that is used for running the application
FROM tomcat:9-jdk11
FROM tomcat:9-jdk17
COPY --from=build /usr/src/app/target/*.war /usr/local/tomcat/webapps/ROOT.war
#RUN export JAVA_OPTS="$JAVA_OPTS -Dspring.config.location=/usr/local/application.properties"
EXPOSE 8080
Expand Down
23 changes: 23 additions & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<!--
This file is auto-generated by Vaadin.
-->

<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body, #outlet {
height: 100vh;
width: 100%;
margin: 0;
}
</style>
<!-- index.ts is included here automatically (either by the dev server or during the build) -->
</head>
<body>
<!-- This outlet div is where the views are rendered -->
<div id="outlet"></div>
</body>
</html>
19 changes: 0 additions & 19 deletions frontend/src/set-dark-mode.js

This file was deleted.

4 changes: 2 additions & 2 deletions frontend/styles/mdw-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
border-bottom:1px solid;
border-image : linear-gradient(45deg,var(--header-card-separator-color),#ffffff) 1;
width: 100%;
margin-bottom: 0.5em;
/*border-color:var(--main-color);*/
/* margin-bottom: 0.5em; */
/* border-color:var(--main-color); */
}

.card-title-bordered-closed {
Expand Down
2 changes: 2 additions & 0 deletions frontend/styles/vaadin-app-layout.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[part="navbar"] {
padding: var(--lumo-space-s);
align-items: baseline;
background-color: var(--main-color)!important;
color: white;
min-height: var(--lumo-size-l) !important;
}

[part="navbar"]::before {
Expand Down
2 changes: 1 addition & 1 deletion frontend/styles/vaadin-drawer-toggle.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

:host {
color: white;
color: white !important;
}

Loading

0 comments on commit 8cd6898

Please sign in to comment.