Compare commits

..

3 Commits

Author SHA1 Message Date
Pierre Tellier
90b5ba3efb feat: refactored front end 2025-02-04 15:21:13 +01:00
Pierre Tellier
3619e6684e feat: refactored front end 2025-02-04 15:18:59 +01:00
Pierre Tellier
8674625bb4 fix: added gitignore 2025-02-04 15:12:12 +01:00
46 changed files with 4114 additions and 14 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env
.idea

View File

@ -1,3 +1,3 @@
FROM openjdk:21-jdk FROM openjdk:21-jdk
COPY myinpulse/build/libs/myinpulse-0.0.1-SNAPSHOT.jar myinpulse.jar COPY MyINPulse-back/build/libs/myinpulse-0.0.1-SNAPSHOT.jar myinpulse.jar
ENTRYPOINT ["java","-jar","/myinpulse.jar"] ENTRYPOINT ["java","-jar","/myinpulse.jar"]

3
back/MyINPulse-back/.gitattributes vendored Normal file
View File

@ -0,0 +1,3 @@
/gradlew text eol=lf
*.bat text eol=crlf
*.jar binary

37
back/MyINPulse-back/.gitignore vendored Normal file
View File

@ -0,0 +1,37 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/

View File

@ -28,20 +28,20 @@ services:
KC_BOOTSTRAP_ADMIN_USERNAME: ${KEYCLOAK_ADMIN} KC_BOOTSTRAP_ADMIN_USERNAME: ${KEYCLOAK_ADMIN}
KC_BOOTSTRAP_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD} KC_BOOTSTRAP_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
KC_LOG_LEVEL: info KC_LOG_LEVEL: info
command: ["start-dev", "--http-port", "7080", "--https-port", "7443"] command: ["start-dev", "--http-port", "7080", "--https-port", "7443", "--hostname", "${KEYCLOAK_HOSTNAME}"]
ports: ports:
- "7080:7080" - "7080:7080"
- "7443:7443" - "7443:7443"
depends_on: depends_on:
- postgres - postgres
#front: front:
# build: build:
# context: ./front/ context: ./front/
# dockerfile: Dockerfile dockerfile: Dockerfile
# container_name: MyINPulse-front container_name: MyINPulse-front
# ports: ports:
# - 8080:80 - 8080:80
#back: #back:
# build: # build:

35
front/MyINPulse-front/.gitignore vendored Normal file
View File

@ -0,0 +1,35 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
.DS_Store
dist
dist-ssr
coverage
*.local
/cypress/videos/
/cypress/screenshots/
# Editor directories and files
.vscode/*
.vscode
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.tsbuildinfo
test-results/
playwright-report/

4026
front/MyINPulse-front/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -12,13 +12,9 @@
"type-check": "vue-tsc --build" "type-check": "vue-tsc --build"
}, },
"dependencies": { "dependencies": {
"@auth0/auth0-vue": "^2.4.0",
"@dsb-norge/vue-keycloak-js": "^3.0.1",
"axios": "^1.7.9", "axios": "^1.7.9",
"cors": "^2.8.5", "cors": "^2.8.5",
"keycloak-js": "^26.1.0", "keycloak-js": "^26.1.0",
"oidc-client-ts": "^3.1.0",
"oidc-spa": "^6.0.7",
"pinia": "^2.3.1", "pinia": "^2.3.1",
"pinia-plugin-persistedstate": "^4.2.0", "pinia-plugin-persistedstate": "^4.2.0",
"vue": "^3.5.13", "vue": "^3.5.13",

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 276 B

View File

@ -16,6 +16,5 @@ export default defineConfig({
}, },
}, },
server: { server: {
allowedHosts: ["localhost.ipb.fr", "cas.bordeaux-inp.fr"]
} }
}) })

1
keycloak/CAS/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
keycloak-cas

View File

@ -3,6 +3,7 @@
if [ ! -d "./keycloak-cas/" ] if [ ! -d "./keycloak-cas/" ]
then then
git clone https://github.com/RoboJackets/keycloak-cas git clone https://github.com/RoboJackets/keycloak-cas
patch $(find . | grep UrlHelper.java) https_patch
fi fi
if [ -d "./target/" ] if [ -d "./target/" ]
then then