Loading CHANGELOG.md +11 −0 Original line number Diff line number Diff line Journal des modifications ========================= 3.0.8 ----- - Changement pour récupération des logos sur la page de couvertures (les co-directions sont maintenant utilisée) - Le manque de justificatifs de soutenances n'est plus bloquant il s'agit plus que d'un warning - [FIX] Retrait de l'appel à un css inexistant - Filtrage des soutenances sans date dans la vue des soutenances pour les structures. - Ajout des mentions Co-encadrant/Co-encadrante sur la page de couverture - Complétion des données pour la page de couverture depuis le dossier de soutenance en cas de manque - Ajout de la memtion de la date limite de rendu dans le tableau de bord des rapporteurs - Completion des mails avec la table des utilisateurs pour les notifications 3.0.7 ----- - Nouveau critère de bloquage des soutenances basé sur la validité des rapporteurs. Loading doc/release-notes/v3.0.8.md 0 → 100644 +20 −0 Original line number Diff line number Diff line # Version 3.0.8 ## 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.8 && 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 ```sql INSERT INTO soutenance_etat (code, libelle) VALUES ('ETABLISSEMENT', 'Validation du dossier par l établissement'); ``` module/Application/src/Application/Entity/Db/Acteur.php +7 −7 Original line number Diff line number Diff line Loading @@ -92,21 +92,21 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estDirecteur() public function estDirecteur() : bool { return in_array($this->getRole()->getCode(), [ Role::CODE_DIRECTEUR_THESE, ] ); } public function estCodirecteur() public function estCodirecteur() : bool { return in_array($this->getRole()->getCode(), [ Role::CODE_CODIRECTEUR_THESE, ] ); } public function estCoEncadrant() public function estCoEncadrant() : bool { return in_array($this->getRole()->getCode(), [ Role::CODE_CO_ENCADRANT, Loading @@ -119,7 +119,7 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estRapporteur() public function estRapporteur() : bool { return $this->getRole()->getCode() === Role::CODE_RAPPORTEUR_JURY; } Loading @@ -129,7 +129,7 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estRapporteurAbsent() public function estRapporteurAbsent() : bool { return $this->getRole()->getCode() === Role::CODE_RAPPORTEUR_ABSENT; } Loading @@ -139,7 +139,7 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estPresidentJury() public function estPresidentJury() : bool { return ($this->getRole()->getCode() === Role::CODE_PRESIDENT_JURY); } Loading @@ -149,7 +149,7 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estMembreDuJury() public function estMembreDuJury() : bool { return $this->getRole()->getCode() === Role::CODE_MEMBRE_JURY; } Loading module/Application/src/Application/Service/CoEncadrant/Exporter/JustificatifCoencadrements/JustificatifCoencadrementPdfExporter.php +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ class JustificatifCoencadrementPdfExporter extends PdfExporter public function export($filename = null, $destination = self::DESTINATION_BROWSER, $memoryLimit = null) { $this->addBodyHtml('<style>' . file_get_contents(APPLICATION_DIR . '/public/css/page-unicaen.css') . '</style>'); // $this->addBodyHtml('<style>' . file_get_contents(APPLICATION_DIR . '/public/css/page-unicaen.css') . '</style>'); $this->setHeaderScript('empty.phtml'); $this->setFooterScript('footer.phtml'); $this->addBodyScript('justificatif-coencadrements.phtml', false, $this->vars); Loading module/Application/src/Application/Service/These/Factory/TheseServiceFactory.php +4 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ use Application\Service\Utilisateur\UtilisateurService; use Application\Service\Validation\ValidationService; use Application\Service\Variable\VariableService; use Interop\Container\ContainerInterface; use Soutenance\Service\Membre\MembreService; use UnicaenAuth\Service\AuthorizeService; use UnicaenAuth\Service\User as UserService; use Webmozart\Assert\Assert; Loading @@ -30,6 +31,7 @@ class TheseServiceFactory /** * @var ActeurService $acteurService * @var ValidationService $validationService * @var MembreService $membreService * @var NotifierService $notifierService * @var FichierTheseService $fichierTheseService * @var VariableService $variableService Loading @@ -40,6 +42,7 @@ class TheseServiceFactory */ $acteurService = $container->get(ActeurService::class); $validationService = $container->get('ValidationService'); $membreService = $container->get(MembreService::class); $notifierService = $container->get(NotifierService::class); $fichierTheseService = $container->get('FichierTheseService'); $variableService = $container->get('VariableService'); Loading @@ -57,6 +60,7 @@ class TheseServiceFactory $service = new TheseService(); $service->setActeurService($acteurService); $service->setValidationService($validationService); $service->setMembreService($membreService); $service->setNotifierService($notifierService); $service->setFichierTheseService($fichierTheseService); $service->setVariableService($variableService); Loading Loading
CHANGELOG.md +11 −0 Original line number Diff line number Diff line Journal des modifications ========================= 3.0.8 ----- - Changement pour récupération des logos sur la page de couvertures (les co-directions sont maintenant utilisée) - Le manque de justificatifs de soutenances n'est plus bloquant il s'agit plus que d'un warning - [FIX] Retrait de l'appel à un css inexistant - Filtrage des soutenances sans date dans la vue des soutenances pour les structures. - Ajout des mentions Co-encadrant/Co-encadrante sur la page de couverture - Complétion des données pour la page de couverture depuis le dossier de soutenance en cas de manque - Ajout de la memtion de la date limite de rendu dans le tableau de bord des rapporteurs - Completion des mails avec la table des utilisateurs pour les notifications 3.0.7 ----- - Nouveau critère de bloquage des soutenances basé sur la validité des rapporteurs. Loading
doc/release-notes/v3.0.8.md 0 → 100644 +20 −0 Original line number Diff line number Diff line # Version 3.0.8 ## 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.8 && 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 ```sql INSERT INTO soutenance_etat (code, libelle) VALUES ('ETABLISSEMENT', 'Validation du dossier par l établissement'); ```
module/Application/src/Application/Entity/Db/Acteur.php +7 −7 Original line number Diff line number Diff line Loading @@ -92,21 +92,21 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estDirecteur() public function estDirecteur() : bool { return in_array($this->getRole()->getCode(), [ Role::CODE_DIRECTEUR_THESE, ] ); } public function estCodirecteur() public function estCodirecteur() : bool { return in_array($this->getRole()->getCode(), [ Role::CODE_CODIRECTEUR_THESE, ] ); } public function estCoEncadrant() public function estCoEncadrant() : bool { return in_array($this->getRole()->getCode(), [ Role::CODE_CO_ENCADRANT, Loading @@ -119,7 +119,7 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estRapporteur() public function estRapporteur() : bool { return $this->getRole()->getCode() === Role::CODE_RAPPORTEUR_JURY; } Loading @@ -129,7 +129,7 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estRapporteurAbsent() public function estRapporteurAbsent() : bool { return $this->getRole()->getCode() === Role::CODE_RAPPORTEUR_ABSENT; } Loading @@ -139,7 +139,7 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estPresidentJury() public function estPresidentJury() : bool { return ($this->getRole()->getCode() === Role::CODE_PRESIDENT_JURY); } Loading @@ -149,7 +149,7 @@ class Acteur implements HistoriqueAwareInterface, ResourceInterface, IndividuAwa * * @return bool */ public function estMembreDuJury() public function estMembreDuJury() : bool { return $this->getRole()->getCode() === Role::CODE_MEMBRE_JURY; } Loading
module/Application/src/Application/Service/CoEncadrant/Exporter/JustificatifCoencadrements/JustificatifCoencadrementPdfExporter.php +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ class JustificatifCoencadrementPdfExporter extends PdfExporter public function export($filename = null, $destination = self::DESTINATION_BROWSER, $memoryLimit = null) { $this->addBodyHtml('<style>' . file_get_contents(APPLICATION_DIR . '/public/css/page-unicaen.css') . '</style>'); // $this->addBodyHtml('<style>' . file_get_contents(APPLICATION_DIR . '/public/css/page-unicaen.css') . '</style>'); $this->setHeaderScript('empty.phtml'); $this->setFooterScript('footer.phtml'); $this->addBodyScript('justificatif-coencadrements.phtml', false, $this->vars); Loading
module/Application/src/Application/Service/These/Factory/TheseServiceFactory.php +4 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ use Application\Service\Utilisateur\UtilisateurService; use Application\Service\Validation\ValidationService; use Application\Service\Variable\VariableService; use Interop\Container\ContainerInterface; use Soutenance\Service\Membre\MembreService; use UnicaenAuth\Service\AuthorizeService; use UnicaenAuth\Service\User as UserService; use Webmozart\Assert\Assert; Loading @@ -30,6 +31,7 @@ class TheseServiceFactory /** * @var ActeurService $acteurService * @var ValidationService $validationService * @var MembreService $membreService * @var NotifierService $notifierService * @var FichierTheseService $fichierTheseService * @var VariableService $variableService Loading @@ -40,6 +42,7 @@ class TheseServiceFactory */ $acteurService = $container->get(ActeurService::class); $validationService = $container->get('ValidationService'); $membreService = $container->get(MembreService::class); $notifierService = $container->get(NotifierService::class); $fichierTheseService = $container->get('FichierTheseService'); $variableService = $container->get('VariableService'); Loading @@ -57,6 +60,7 @@ class TheseServiceFactory $service = new TheseService(); $service->setActeurService($acteurService); $service->setValidationService($validationService); $service->setMembreService($membreService); $service->setNotifierService($notifierService); $service->setFichierTheseService($fichierTheseService); $service->setVariableService($variableService); Loading