Loading CHANGELOG.md +5 −0 Changes for CHANGELOG.md: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Journal des modifications ========================= 3.0.11 ----- - [FIX] Changement de signatures de fonctions pour une meilleure compatibilité - Ajout de la liste des soutenances à venir dans l'index de l'application 3.0.10 ----- - Ajout de la mention "La réservation du lieu de soutenance n'est pas faite automatiquement et reste à votre charge" Loading doc/release-notes/v3.0.11.md 0 → 100644 +18 −0 Changes for doc/release-notes/v3.0.11.md: 18 added lines, 0 removed lines. Original line number Diff line number Diff line # Version 3.0.11 ## 1. Sur le serveur d'application - Placez-vous dans le répertoire de l'application puis lancez la commande suivante pour installer la nouvelle version : ```bash git fetch --tags && git checkout --force 3.0.11 && bash ./install.sh ``` - Selon le moteur PHP que vous avez installé, rechargez le service, exemple : - php7.3-fpm : `service php7.3-fpm reload` - apache2-mod-php7.3 : `service apache2 reload` ## 2. Dans la base de données RAS No newline at end of file module/Application/src/Application/Controller/IndexController.php +1 −0 Changes for module/Application/src/Application/Controller/IndexController.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -79,6 +79,7 @@ class IndexController extends AbstractController 'estDoctorant' => (bool) $this->userContextService->getIdentityDoctorant(), 'url' => $this->actualiteService->isActif() ? $this->actualiteService->getUrl() : null, 'offre' => $this->actualiteService->isOffre() ? $this->getEcoleDoctoraleService()->getOffre() : null, 'ecoles' => $this->getEcoleDoctoraleService()->getRepository()->findAll(true), 'informations' => $this->informationService->getInformations(true), ]); Loading module/Application/src/Application/Entity/Db/These.php +1 −0 Changes for module/Application/src/Application/Entity/Db/These.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ use Assert\Assertion; use BadMethodCallException; use DateInterval; use DateTime; use Doctorant\Entity\Db\Doctorant; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use UnicaenApp\Entity\HistoriqueAwareInterface; Loading module/Application/src/Application/Service/EcoleDoctorale/EcoleDoctoraleService.php +15 −0 Changes for module/Application/src/Application/Service/EcoleDoctorale/EcoleDoctoraleService.php: 15 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ use Application\Service\Role\RoleServiceAwareTrait; use Application\SourceCodeStringHelperAwareTrait; use Doctrine\ORM\OptimisticLockException; use UnicaenApp\Exception\RuntimeException; use Zend\Mvc\Controller\AbstractActionController; /** * @method EcoleDoctorale|null findOneBy(array $criteria, array $orderBy = null) Loading Loading @@ -173,4 +174,18 @@ class EcoleDoctoraleService extends BaseService throw new RuntimeException("Erreur lors de l'enregistrement de l'ED", null, $e); } } /** * @param AbstractActionController $controller * @param string $param * @return EcoleDoctorale|null */ public function getRequestedEcoleDoctorale(AbstractActionController $controller, string $param='ecole') : ?EcoleDoctorale { $id = $controller->params()->fromRoute($param); /** @var EcoleDoctorale|null $ecole */ $ecole = $this->getRepository()->find($id); return $ecole; } } No newline at end of file Loading
CHANGELOG.md +5 −0 Changes for CHANGELOG.md: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Journal des modifications ========================= 3.0.11 ----- - [FIX] Changement de signatures de fonctions pour une meilleure compatibilité - Ajout de la liste des soutenances à venir dans l'index de l'application 3.0.10 ----- - Ajout de la mention "La réservation du lieu de soutenance n'est pas faite automatiquement et reste à votre charge" Loading
doc/release-notes/v3.0.11.md 0 → 100644 +18 −0 Changes for doc/release-notes/v3.0.11.md: 18 added lines, 0 removed lines. Original line number Diff line number Diff line # Version 3.0.11 ## 1. Sur le serveur d'application - Placez-vous dans le répertoire de l'application puis lancez la commande suivante pour installer la nouvelle version : ```bash git fetch --tags && git checkout --force 3.0.11 && bash ./install.sh ``` - Selon le moteur PHP que vous avez installé, rechargez le service, exemple : - php7.3-fpm : `service php7.3-fpm reload` - apache2-mod-php7.3 : `service apache2 reload` ## 2. Dans la base de données RAS No newline at end of file
module/Application/src/Application/Controller/IndexController.php +1 −0 Changes for module/Application/src/Application/Controller/IndexController.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -79,6 +79,7 @@ class IndexController extends AbstractController 'estDoctorant' => (bool) $this->userContextService->getIdentityDoctorant(), 'url' => $this->actualiteService->isActif() ? $this->actualiteService->getUrl() : null, 'offre' => $this->actualiteService->isOffre() ? $this->getEcoleDoctoraleService()->getOffre() : null, 'ecoles' => $this->getEcoleDoctoraleService()->getRepository()->findAll(true), 'informations' => $this->informationService->getInformations(true), ]); Loading
module/Application/src/Application/Entity/Db/These.php +1 −0 Changes for module/Application/src/Application/Entity/Db/These.php: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ use Assert\Assertion; use BadMethodCallException; use DateInterval; use DateTime; use Doctorant\Entity\Db\Doctorant; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use UnicaenApp\Entity\HistoriqueAwareInterface; Loading
module/Application/src/Application/Service/EcoleDoctorale/EcoleDoctoraleService.php +15 −0 Changes for module/Application/src/Application/Service/EcoleDoctorale/EcoleDoctoraleService.php: 15 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ use Application\Service\Role\RoleServiceAwareTrait; use Application\SourceCodeStringHelperAwareTrait; use Doctrine\ORM\OptimisticLockException; use UnicaenApp\Exception\RuntimeException; use Zend\Mvc\Controller\AbstractActionController; /** * @method EcoleDoctorale|null findOneBy(array $criteria, array $orderBy = null) Loading Loading @@ -173,4 +174,18 @@ class EcoleDoctoraleService extends BaseService throw new RuntimeException("Erreur lors de l'enregistrement de l'ED", null, $e); } } /** * @param AbstractActionController $controller * @param string $param * @return EcoleDoctorale|null */ public function getRequestedEcoleDoctorale(AbstractActionController $controller, string $param='ecole') : ?EcoleDoctorale { $id = $controller->params()->fromRoute($param); /** @var EcoleDoctorale|null $ecole */ $ecole = $this->getRepository()->find($id); return $ecole; } } No newline at end of file