Loading CHANGELOG.md +6 −0 Original line number Diff line number Diff line Journal des modifications ========================= 4.0.1 ----- - [FIX] signature des fonctions de StructureSubstitHelper string => ?string - [FIX] les résumés pour la BU se chevauchaient p class='resume pre-scrollable' => p class='pre-scrollable' - [FIX] ajustement des css de la page proposition 4.0.0 ----- - Migration vers Laminas (back-end PHP). Loading doc/release-notes/v4.0.1.md 0 → 100644 +18 −0 Original line number Diff line number Diff line # Version 4.0.1 ## 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 4.0.1 && 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 R.A.S. No newline at end of file module/Application/src/Application/View/Helper/StructureSubstitHelper.php +4 −4 Original line number Diff line number Diff line Loading @@ -16,10 +16,10 @@ class StructureSubstitHelper extends AbstractHelper /** * @param StructureConcreteInterface $structurestructureConcrete * @param string $logoContent * @param string|null $logoContent * @return string */ public function structureSource(StructureConcreteInterface $structurestructureConcrete, $logoContent) public function structureSource(StructureConcreteInterface $structurestructureConcrete, ?string $logoContent) { $texte = '<div class="card" id="panel_' . $structurestructureConcrete->getId() . '" >'; $texte .= '<div class="card-header bg-info">'; Loading Loading @@ -71,10 +71,10 @@ class StructureSubstitHelper extends AbstractHelper /** * @param Structure $structure * @param string $logoContent * @param string|null $logoContent * @return string */ function structureCible(Structure $structure, string $logoContent) function structureCible(Structure $structure, ?string $logoContent) { $texte = ""; $texte .= '<div class="card">'; Loading module/Application/view/application/these/partial/description.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ $langueAutreTitre = function() use ($metadonnee) { </div> <dl class="metadonnees"> <dt>Résumé</dt> <dd><p class="resume pre-scrollable"><?php echo $this->escapeText()->render($metadonnee->getResume()) ?></p></dd> <dd><p class="pre-scrollable"><?php echo $this->escapeText()->render($metadonnee->getResume()) ?></p></dd> <dt>Résumé en anglais</dt> <dd><p class="resume pre-scrollable"><?php echo $this->escapeText()->render($metadonnee->getResumeAnglais()) ?></p></dd> <dd><p class="pre-scrollable"><?php echo $this->escapeText()->render($metadonnee->getResumeAnglais()) ?></p></dd> </dl> No newline at end of file module/Soutenance/src/Soutenance/Service/Notifier/NotifierSoutenanceService.php +56 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ use Application\Service\These\TheseServiceAwareTrait; use Application\Service\Utilisateur\UtilisateurServiceAwareTrait; use Application\Service\Variable\VariableServiceAwareTrait; use DateTime; use InvalidArgumentException; use Notification\Exception\NotificationException; use Notification\Notification; use Notification\Service\NotifierService; Loading Loading @@ -251,6 +252,9 @@ class NotifierSoutenanceService extends NotifierService 'panic' => $panic, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible pour l'unité de recherche (".__METHOD__."::TheseId#". $these->getId()."|UniteRecherche#".$these->getUniteRecherche()->getId().")" ); } } Loading Loading @@ -278,6 +282,9 @@ class NotifierSoutenanceService extends NotifierService 'panic' => $panic, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible pour l'école doctorale (".__METHOD__."::TheseId#". $these->getId()."|EcoleDoctorale#".$these->getEcoleDoctorale()->getId().")" ); } } Loading @@ -302,6 +309,9 @@ class NotifierSoutenanceService extends NotifierService 'panic' => false, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible pour l'établissement (".__METHOD__."::TheseId#". $these->getId()."|Etablissement#".$these->getEtablissement()->getId().")" ); } } Loading @@ -328,6 +338,8 @@ class NotifierSoutenanceService extends NotifierService 'these' => $these, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } Loading @@ -346,6 +358,8 @@ class NotifierSoutenanceService extends NotifierService 'these' => $these, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } Loading Loading @@ -376,7 +390,10 @@ class NotifierSoutenanceService extends NotifierService 'these' => $these, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** ENGAGEMENT IMPARTIALITE ***************************************************************************************/ Loading Loading @@ -404,7 +421,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -428,7 +448,10 @@ class NotifierSoutenanceService extends NotifierService 'membre' => $membre, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -459,7 +482,10 @@ class NotifierSoutenanceService extends NotifierService 'membre' => $membre, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -483,7 +509,10 @@ class NotifierSoutenanceService extends NotifierService 'membre' => $membre, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -509,7 +538,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -529,7 +561,10 @@ class NotifierSoutenanceService extends NotifierService 'these' => $these, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -561,7 +596,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -592,7 +630,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } Loading Loading @@ -625,7 +666,10 @@ class NotifierSoutenanceService extends NotifierService 'avis' => $avis, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -655,7 +699,10 @@ class NotifierSoutenanceService extends NotifierService 'proposition' => $proposition, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -686,7 +733,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -712,7 +762,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -743,7 +796,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading
CHANGELOG.md +6 −0 Original line number Diff line number Diff line Journal des modifications ========================= 4.0.1 ----- - [FIX] signature des fonctions de StructureSubstitHelper string => ?string - [FIX] les résumés pour la BU se chevauchaient p class='resume pre-scrollable' => p class='pre-scrollable' - [FIX] ajustement des css de la page proposition 4.0.0 ----- - Migration vers Laminas (back-end PHP). Loading
doc/release-notes/v4.0.1.md 0 → 100644 +18 −0 Original line number Diff line number Diff line # Version 4.0.1 ## 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 4.0.1 && 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 R.A.S. No newline at end of file
module/Application/src/Application/View/Helper/StructureSubstitHelper.php +4 −4 Original line number Diff line number Diff line Loading @@ -16,10 +16,10 @@ class StructureSubstitHelper extends AbstractHelper /** * @param StructureConcreteInterface $structurestructureConcrete * @param string $logoContent * @param string|null $logoContent * @return string */ public function structureSource(StructureConcreteInterface $structurestructureConcrete, $logoContent) public function structureSource(StructureConcreteInterface $structurestructureConcrete, ?string $logoContent) { $texte = '<div class="card" id="panel_' . $structurestructureConcrete->getId() . '" >'; $texte .= '<div class="card-header bg-info">'; Loading Loading @@ -71,10 +71,10 @@ class StructureSubstitHelper extends AbstractHelper /** * @param Structure $structure * @param string $logoContent * @param string|null $logoContent * @return string */ function structureCible(Structure $structure, string $logoContent) function structureCible(Structure $structure, ?string $logoContent) { $texte = ""; $texte .= '<div class="card">'; Loading
module/Application/view/application/these/partial/description.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ $langueAutreTitre = function() use ($metadonnee) { </div> <dl class="metadonnees"> <dt>Résumé</dt> <dd><p class="resume pre-scrollable"><?php echo $this->escapeText()->render($metadonnee->getResume()) ?></p></dd> <dd><p class="pre-scrollable"><?php echo $this->escapeText()->render($metadonnee->getResume()) ?></p></dd> <dt>Résumé en anglais</dt> <dd><p class="resume pre-scrollable"><?php echo $this->escapeText()->render($metadonnee->getResumeAnglais()) ?></p></dd> <dd><p class="pre-scrollable"><?php echo $this->escapeText()->render($metadonnee->getResumeAnglais()) ?></p></dd> </dl> No newline at end of file
module/Soutenance/src/Soutenance/Service/Notifier/NotifierSoutenanceService.php +56 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ use Application\Service\These\TheseServiceAwareTrait; use Application\Service\Utilisateur\UtilisateurServiceAwareTrait; use Application\Service\Variable\VariableServiceAwareTrait; use DateTime; use InvalidArgumentException; use Notification\Exception\NotificationException; use Notification\Notification; use Notification\Service\NotifierService; Loading Loading @@ -251,6 +252,9 @@ class NotifierSoutenanceService extends NotifierService 'panic' => $panic, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible pour l'unité de recherche (".__METHOD__."::TheseId#". $these->getId()."|UniteRecherche#".$these->getUniteRecherche()->getId().")" ); } } Loading Loading @@ -278,6 +282,9 @@ class NotifierSoutenanceService extends NotifierService 'panic' => $panic, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible pour l'école doctorale (".__METHOD__."::TheseId#". $these->getId()."|EcoleDoctorale#".$these->getEcoleDoctorale()->getId().")" ); } } Loading @@ -302,6 +309,9 @@ class NotifierSoutenanceService extends NotifierService 'panic' => false, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible pour l'établissement (".__METHOD__."::TheseId#". $these->getId()."|Etablissement#".$these->getEtablissement()->getId().")" ); } } Loading @@ -328,6 +338,8 @@ class NotifierSoutenanceService extends NotifierService 'these' => $these, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } Loading @@ -346,6 +358,8 @@ class NotifierSoutenanceService extends NotifierService 'these' => $these, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } Loading Loading @@ -376,7 +390,10 @@ class NotifierSoutenanceService extends NotifierService 'these' => $these, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** ENGAGEMENT IMPARTIALITE ***************************************************************************************/ Loading Loading @@ -404,7 +421,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -428,7 +448,10 @@ class NotifierSoutenanceService extends NotifierService 'membre' => $membre, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -459,7 +482,10 @@ class NotifierSoutenanceService extends NotifierService 'membre' => $membre, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -483,7 +509,10 @@ class NotifierSoutenanceService extends NotifierService 'membre' => $membre, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -509,7 +538,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -529,7 +561,10 @@ class NotifierSoutenanceService extends NotifierService 'these' => $these, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -561,7 +596,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -592,7 +630,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } Loading Loading @@ -625,7 +666,10 @@ class NotifierSoutenanceService extends NotifierService 'avis' => $avis, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -655,7 +699,10 @@ class NotifierSoutenanceService extends NotifierService 'proposition' => $proposition, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -686,7 +733,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading @@ -712,7 +762,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading Loading @@ -743,7 +796,10 @@ class NotifierSoutenanceService extends NotifierService 'url' => $url, ]); $this->trigger($notif); } else { throw new InvalidArgumentException("Aucun mail de disponible (".__METHOD__."::TheseId#".$these->getId().")"); } } /** Loading