Loading CHANGELOG.md +9 −0 Original line number Diff line number Diff line Journal des modifications ========================= 1.4.9 (08/09/2020) ------------------ - Changement de catégorie pour les privilèges associés aux pages d'information. - Ajout d'une configuration pour le fil d'actualité. - Ajout du champ IdREF pour toutes les structures et modification de l'affichage/saisie des informations. - Changement de l'affichage des structures fermées dans le filtre des thèses. - Nouveau message "Dépôt terminé" au doctorant sur la page Rendez-vous BU. 1.4.8 (01/09/2020) ------------------ Loading doc/release-notes/v1.4.9.md 0 → 100644 +31 −0 Original line number Diff line number Diff line # Version 1.4.9 ## 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 1.4.9 && \ bash ./install.sh ``` - Selon le moteur PHP que vous avez installé, rechargez le service, exemple : - php7.0-fpm : `service php7.0-fpm reload` - apache2-mod-php7.0 : `service apache2 reload` ## 2. Dans la base de données - Création d'une catégorie pour les pages d'information. - Changement du privilège associé à la modification des pages d'information ```SQL INSERT INTO SYGAL_DEV.CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) VALUES (7, 'page-information', 'Pages d''information', 15); UPDATE PRIVILEGE SET CATEGORIE_ID=7 WHERE ID=10; ``` - Ajout de la colonne *ID_REF* dans la table *STRUCTURE* ```SQL ALTER TABLE STRUCTURE ADD "ID_REF" VARCHAR2(1024); ``` No newline at end of file docker-compose.yml +6 −7 Original line number Diff line number Diff line version: '2.2' services: sygal: container_name: sygal-container sygal-zf2: container_name: sygal-zf2-container build: args: PHP_VERSION: 7.0 context: . ports: - "8000:80" - "443:443" - "8002:443" volumes: - .:/app - /tmp:/tmp Loading module/Application/src/Application/Controller/IndexController.php +7 −2 Original line number Diff line number Diff line Loading @@ -35,8 +35,7 @@ class IndexController extends AbstractController public function indexAction() { // $config = ($this->getServiceLocator()->get('config')); $config = ($this->getServiceLocator()->get('config')); // $this->pretty_print($config); /** Loading @@ -55,9 +54,15 @@ class IndexController extends AbstractController return $response; } // $activite = $config['actualite']; // $url = $config['actualite']['url']; // $actif = $config['actualite']['actif']; $vm = new ViewModel([ 'role' => $this->userContextService->getSelectedIdentityRole(), 'estDoctorant' => (bool) $this->userContextService->getIdentityDoctorant(), 'url' => $config['actualite']['flux'], 'actif' => $config['actualite']['actif'], ]); if ($response instanceof ViewModel) { Loading module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.Structure.dcm.xml +1 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ <field name="fax" type="string" column="FAX" length="256" nullable="true"/> <field name="email" type="string" column="EMAIL" length="256" nullable="true"/> <field name="siteWeb" type="string" column="SITE_WEB" length="256" nullable="true"/> <field name="idRef" type="string" column="ID_REF" length="1024" nullable="true"/> <many-to-one field="typeStructure" target-entity="Application\Entity\Db\TypeStructure"> <join-columns> Loading Loading
CHANGELOG.md +9 −0 Original line number Diff line number Diff line Journal des modifications ========================= 1.4.9 (08/09/2020) ------------------ - Changement de catégorie pour les privilèges associés aux pages d'information. - Ajout d'une configuration pour le fil d'actualité. - Ajout du champ IdREF pour toutes les structures et modification de l'affichage/saisie des informations. - Changement de l'affichage des structures fermées dans le filtre des thèses. - Nouveau message "Dépôt terminé" au doctorant sur la page Rendez-vous BU. 1.4.8 (01/09/2020) ------------------ Loading
doc/release-notes/v1.4.9.md 0 → 100644 +31 −0 Original line number Diff line number Diff line # Version 1.4.9 ## 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 1.4.9 && \ bash ./install.sh ``` - Selon le moteur PHP que vous avez installé, rechargez le service, exemple : - php7.0-fpm : `service php7.0-fpm reload` - apache2-mod-php7.0 : `service apache2 reload` ## 2. Dans la base de données - Création d'une catégorie pour les pages d'information. - Changement du privilège associé à la modification des pages d'information ```SQL INSERT INTO SYGAL_DEV.CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) VALUES (7, 'page-information', 'Pages d''information', 15); UPDATE PRIVILEGE SET CATEGORIE_ID=7 WHERE ID=10; ``` - Ajout de la colonne *ID_REF* dans la table *STRUCTURE* ```SQL ALTER TABLE STRUCTURE ADD "ID_REF" VARCHAR2(1024); ``` No newline at end of file
docker-compose.yml +6 −7 Original line number Diff line number Diff line version: '2.2' services: sygal: container_name: sygal-container sygal-zf2: container_name: sygal-zf2-container build: args: PHP_VERSION: 7.0 context: . ports: - "8000:80" - "443:443" - "8002:443" volumes: - .:/app - /tmp:/tmp Loading
module/Application/src/Application/Controller/IndexController.php +7 −2 Original line number Diff line number Diff line Loading @@ -35,8 +35,7 @@ class IndexController extends AbstractController public function indexAction() { // $config = ($this->getServiceLocator()->get('config')); $config = ($this->getServiceLocator()->get('config')); // $this->pretty_print($config); /** Loading @@ -55,9 +54,15 @@ class IndexController extends AbstractController return $response; } // $activite = $config['actualite']; // $url = $config['actualite']['url']; // $actif = $config['actualite']['actif']; $vm = new ViewModel([ 'role' => $this->userContextService->getSelectedIdentityRole(), 'estDoctorant' => (bool) $this->userContextService->getIdentityDoctorant(), 'url' => $config['actualite']['flux'], 'actif' => $config['actualite']['actif'], ]); if ($response instanceof ViewModel) { Loading
module/Application/src/Application/Entity/Db/Mapping/Application.Entity.Db.Structure.dcm.xml +1 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ <field name="fax" type="string" column="FAX" length="256" nullable="true"/> <field name="email" type="string" column="EMAIL" length="256" nullable="true"/> <field name="siteWeb" type="string" column="SITE_WEB" length="256" nullable="true"/> <field name="idRef" type="string" column="ID_REF" length="1024" nullable="true"/> <many-to-one field="typeStructure" target-entity="Application\Entity\Db\TypeStructure"> <join-columns> Loading