diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9ff2b8a0..8377d3939 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ name : CI -on : [push, pull_request] +on : [pull_request] jobs : client-linting: name : "Client: Linting" @@ -40,7 +40,7 @@ jobs : runs-on : ubuntu-latest strategy : matrix: - php: [7.4, 7.3, 7.2, 7.1] + php: [7.4, 7.3] defaults : { run: { working-directory: ./server }} services : mysql: diff --git a/CHANGELOG.md b/CHANGELOG.md index caac88484..50e5af479 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Ce projet adhère au principe du [Semantic Versioning](https://semver.org/spec/v - Corrige un problème avec le nom de la base de données de test (#128 et #129). - Ajoute la création / suppression de devis pour les événements (#5). +- __[CHANGEMENT CRITIQUE]__ Robert requiert maintenant au minimum PHP 7.3 pour fonctionner (#78). ## 0.12.0 (2021-03-29) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 83ae05b49..5ad0efc33 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -81,7 +81,7 @@ Cette commande vous permet de lancer un serveur de développement front-end, ave qui servira les sources JS, CSS et les assets, à l'adresse `http://localhost:8081/`. Pour travailler, créez un fichier `.env` dans le dossier `server/` qui contient la variable `APP_ENV=development`, -puis ouvrez l'application sur son serveur back-end (par ex. `http://robert.local`). +puis ouvrez l'application sur son serveur back-end (par ex. `http://robert2.local`). #### `yarn build` @@ -90,7 +90,7 @@ _(Pensez à exécuter cette commande et à commiter le résultat dans votre PR l ## URL de l'API en développement -En développement, l'hôte par défaut utilisé par la partie client pour communiquer avec l'API est `http://robert.local`. +En développement, l'hôte par défaut utilisé par la partie client pour communiquer avec l'API est `http://robert2.local`. Si vous souhaitez modifier ceci, vous pouvez créer un fichier `.env.development.local` à la racine du dossier client et surcharger la variable d'environnement `VUE_APP_API_URL` avec votre propre URL d'API (par diff --git a/client/.env.development b/client/.env.development index d23150e0f..da429c19b 100644 --- a/client/.env.development +++ b/client/.env.development @@ -1 +1 @@ -VUE_APP_API_URL='http://robert.local' +VUE_APP_API_URL='http://robert2.local' diff --git a/client/package.json b/client/package.json index 7d917350a..677d9bb1d 100644 --- a/client/package.json +++ b/client/package.json @@ -7,44 +7,41 @@ "test": "vue-cli-service test:unit" }, "dependencies": { - "@fortawesome/fontawesome-free": "~5.15.3", - "axios": "~0.21.1", - "core-js": "~3.10.1", - "debounce": "~1.2.1", - "deep-freeze-strict": "~1.1.1", - "js-cookie": "~2.2.1", - "moment": "~2.29.1", - "sweetalert2": "~10.15.5", - "v-tooltip": "~2.1.3", - "vue": "~2.6.12", - "vue-click-outside": "~1.1.0", - "vue-js-modal": "~2.0.0-rc.6", - "vue-router": "~3.5.1", - "vue-select": "~3.11.2", - "vue-slim-tabs": "~0.4.0", - "vue-tables-2": "~2.2.1", - "vue-visjs": "~0.4.2", - "vuejs-datepicker": "~1.6.2", - "vuex": "~3.6.2", - "vuex-i18n": "~1.13.1" + "@fortawesome/fontawesome-free": "5.15.3", + "@robert2/vis-timeline": "file:./vendors/vis-timeline", + "axios": "0.21.1", + "debounce": "1.2.1", + "deep-freeze-strict": "1.1.1", + "js-cookie": "2.2.1", + "moment": "2.29.1", + "sweetalert2": "10.16.7", + "v-tooltip": "2.1.3", + "vue": "2.6.12", + "vue-click-outside": "1.1.0", + "vue-js-modal": "2.0.0-rc.6", + "vue-router": "3.5.1", + "vue-select": "3.11.2", + "vue-slim-tabs": "0.4.0", + "vue-tables-2": "2.2.2", + "vuejs-datepicker": "1.6.2", + "vuex": "3.6.2", + "vuex-i18n": "1.13.1" }, "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.12", - "@vue/cli-plugin-eslint": "^4.5.12", - "@vue/cli-plugin-unit-jest": "^4.5.12", - "@vue/cli-service": "^4.5.12", - "@vue/eslint-config-airbnb": "^5.3.0", - "@vue/test-utils": "1.1.4", + "@babel/core": "7.14.0", + "@vue/cli-plugin-babel": "4.5.12", + "@vue/cli-plugin-eslint": "4.5.12", + "@vue/cli-plugin-unit-jest": "4.5.12", + "@vue/cli-service": "4.5.12", + "@vue/eslint-config-airbnb": "5.3.0", + "@vue/test-utils": "1.2.0", "babel-core": "7.0.0-bridge.0", - "babel-eslint": "^10.1.0", - "babel-jest": "^26.6.3", - "eslint": "^7.24.0", - "eslint-plugin-vue": "^7.9.0", - "node-sass": "^5.0.0", - "sass-loader": "^10.1.1", - "vue-template-compiler": "^2.6.12" - }, - "resolutions": { - "vis-timeline": "7.3.9" + "babel-eslint": "10.1.0", + "babel-jest": "26.6.3", + "eslint": "7.25.0", + "eslint-plugin-vue": "7.9.0", + "node-sass": "5.0.0", + "sass-loader": "10.1.1", + "vue-template-compiler": "2.6.12" } } diff --git a/client/src/components/ErrorDetails/ErrorDetails.vue b/client/src/components/ErrorDetails/ErrorDetails.vue index 76438f9c4..aa3cffb93 100644 --- a/client/src/components/ErrorDetails/ErrorDetails.vue +++ b/client/src/components/ErrorDetails/ErrorDetails.vue @@ -18,18 +18,18 @@ {{ $t('errors.details-intro3') }} Github.
-+
{{ $t('errors.details-intro-not-detailed') }}
- `{{ data.requested }}` + `{{ requested }}`