-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from studoo-app/2.0.1
Release v2.0.1 > Branch v2.1
- Loading branch information
Showing
17 changed files
with
304 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
# Changelog | ||
|
||
**Présentation des versions du framework Edu Framework** | ||
|
||
## v2.1.0 (en cours de dev) | ||
|
||
### new features | ||
- [#87](https://github.com/studoo-app/edu-framework/issues/87) À partir du nom d'une route, reconstruire URL getNameToPath() | ||
|
||
<br> | ||
|
||
> Release notes for v2.1.0 \ | ||
> [https://github.com/studoo-app/edu-framework/milestone/v2.1.0](https://github.com/studoo-app/edu-framework/milestone/12) | ||
<br> | ||
|
||
## v2.0.1 (en cours de dev) | ||
|
||
### bug Fixes | ||
- [#88](https://github.com/studoo-app/edu-framework/issues/88) Correction sur le probleme avec DatabaseService dans la ligne de command | ||
|
||
<br> | ||
|
||
> Release notes for v2.0.1 \ | ||
> [https://github.com/studoo-app/edu-framework/milestone/v2.0.1](https://github.com/studoo-app/edu-framework/milestone/14) | ||
<br> | ||
|
||
## v2.0.0 - 06/04/2024 | ||
|
||
### new features | ||
- [#73](https://github.com/studoo-app/edu-framework/issues/73) ajout de la commande `php bin/edu make:api` pour générer un controller de type API | ||
- [#70](https://github.com/studoo-app/edu-framework/issues/70) ajout de la commande `php bin/edu make:command` pour générer une commande console | ||
- [#59](https://github.com/studoo-app/edu-framework/issues/59) ajout d'une page par défaut sur la route | ||
|
||
### deprecations | ||
- [#68](https://github.com/studoo-app/edu-framework/issues/68) Suppression des anciennes configurations Docker | ||
- [#72](https://github.com/studoo-app/edu-framework/issues/72) Bootstrap 5.3 Clean | ||
|
||
### bug Fixes | ||
- [#83](https://github.com/studoo-app/edu-framework/issues/83) Docker compose.yaml: version is obsolete | ||
- [#78](https://github.com/studoo-app/edu-framework/issues/78) Barre de debug dans les pages d'erreur | ||
|
||
### Documentation | ||
- Nouvelle interface et organisation par chapitre | ||
- new [Request : La gestion des requêtes HTTP](https://studoo-app.github.io/edu-framework-doc/fr-resquet.html) | ||
- update [Comment installer EduFrame](https://studoo-app.github.io/edu-framework-doc/fr-comment-installer-edu.html#cr-ation-du-projet) : Nouvelle installation par version | ||
- update [Comment installer les services](https://studoo-app.github.io/edu-framework-doc/fr-comment-installer-services.html) : Refactoring Docker | ||
- update [Arborescence](https://studoo-app.github.io/edu-framework-doc/fr-arborescence.html) : Nouvelle arbo v2.0 | ||
- update [Comment faire un controller](https://studoo-app.github.io/edu-framework-doc/fr-controller-edu.html) : Plus de detail | ||
- update [Comment faire un post dans un controller](https://studoo-app.github.io/edu-framework-doc/fr-controller-post-edu.html) : Plus de detail | ||
|
||
<br> | ||
|
||
> Release notes for v2.0.0 \ | ||
> [https://github.com/studoo-app/edu-framework/milestone/v2.0.0](https://github.com/studoo-app/edu-framework/milestone/11?closed=1) | ||
<br> | ||
|
||
# v1.2.0 - 25/03/2024 | ||
|
||
## new features | ||
- [#66](https://github.com/studoo-app/edu-framework/issues/66) ajout de la commande `php bin/edu start` pour démarrer le serveur de développement | ||
- [#62](https://github.com/studoo-app/edu-framework/issues/62) ajout de la commande `php bin/edu check:config` pour vérifier la configuration du framework | ||
- [#26](https://github.com/studoo-app/edu-framework/issues/26) Implement PHPDebugBar | ||
|
||
## bug fixes | ||
|
||
- [#81](https://github.com/studoo-app/edu-framework/issues/81) Probleme de récupération des variables dynamiques passées dans la route via {} | ||
|
||
<br> | ||
|
||
> Release notes for v1.2.0 \ | ||
> [https://github.com/studoo-app/edu-framework/milestone/v1.2.0](https://github.com/studoo-app/edu-framework/milestone/11?closed=1) | ||
<br> | ||
|
||
## v1.1 (03/2024) | ||
Version beta de la bar de debug avec les fonctionnalités suivantes : | ||
- Mise en place de la bar de debug en beta sur environnement de développement | ||
- Refonte de docker pour l'installation des services | ||
- Correction de bugs mineurs | ||
- Docker : correction sur le reseau des services Mydql et PhpMyAdmin | ||
|
||
## v1.0 (2024) | ||
Version définitive du framework avec les fonctionnalités suivantes : | ||
- Création de controller via la commande `php bin/edu make:controller` | ||
|
||
## v0.6 (2023) | ||
Version stable du framework avec les fonctionnalités suivantes : | ||
- Création de controller | ||
- Création de template | ||
- Création de route | ||
- Mise en place de la base de données | ||
|
||
## v0.1 à v0.5 (2022-2023) | ||
Versions de développement du framework avec les fonctionnalités suivantes : | ||
- Mise en place et conception de l'architecture du framework (MVC) | ||
- plusieurs POC des couches du MVC | ||
- Tests unitaires | ||
- Mise en place de la documentation du framework (Writerside) | ||
- Gestion de la configuration du framework (DotEnv) | ||
- Gestion de dépendances (Composer) | ||
- Gestion des services (Docker) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Security Policy | ||
|
||
> Ce framework n'est pas adapté à une utilisation en production. Il est destiné à des fins pédagogiques. | ||
En suivant ce postulat, la sécurité ne doit pas être considérée comme prioritaire. \ | ||
Néanmoins, la plateforme CODACY effectue un audit à chaque PR (pull resquet) | ||
|
||
Voici le dashboard AUDIT CODACY :[https://app.codacy.com/gh/studoo-app/edu-framework/dashboard](https://app.codacy.com/gh/studoo-app/edu-framework/dashboard) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/* | ||
* Edu Framework by studoo | ||
* | ||
* @author Benoit Foujols | ||
* | ||
* Pour les informations complètes sur les droits d'auteur et la licence, | ||
* veuillez consulter le fichier LICENSE qui a été distribué avec ce code source. | ||
*/ | ||
|
||
namespace Studoo\EduFramework\Core\Exception; | ||
|
||
class BadRouteException extends \Exception | ||
{ | ||
/** | ||
* Message de l'exception | ||
* @var string | ||
*/ | ||
protected $message = "Le paramètre ou la route n'existe pas"; | ||
|
||
/** | ||
* Code de l'excpetion | ||
* @var integer | ||
*/ | ||
protected $code = 400; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
index: | ||
uri: / | ||
controller: Controller\HomeController | ||
httpMethod: [GET] | ||
httpMethod: [GET] | ||
user: | ||
uri: /user/{id} | ||
controller: Controller\UserController | ||
httpMethod: [GET,POST] | ||
userUpdate: | ||
uri: /user/{id}/update | ||
controller: Controller\UserController | ||
httpMethod: [GET,POST] | ||
userName: | ||
uri: /user/{id:\d+}[/{name}] | ||
controller: Controller\UserController | ||
httpMethod: [GET,POST] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.