Commit 79cbc8e87066ff5375a5a155a42b5c8722efa549
Exists in
master
and in
3 other branches
Merge branch 'master' of https://gitlab.irap.omp.eu/epallier/labinvent
Showing
7 changed files
with
32 additions
and
13 deletions
Show diff stats
README-LABINVENT.md
... | ... | @@ -21,14 +21,14 @@ Logiciel testé et validé sur les configurations suivantes : |
21 | 21 | - Mysql : 5.1.73-3.el6_5 |
22 | 22 | - Apache : 2.2.15-39.el6.centos |
23 | 23 | |
24 | -- (TODO) Debian GNU/Linux 8.5 (jessie) (version IAS) : | |
25 | - - PHP : 5.6.20-0+deb8u1 (version de la distrib) | |
26 | - - Mysql : | |
27 | - - Apache : | |
28 | - | |
29 | -- (TODO) Centos 6.4 (version test Etienne Pallier linux) : | |
30 | - - PHP : 5.3.3 (to be upgraded to 5.6) | |
31 | - - MYSQL : 5.1.73 | |
24 | +- Debian GNU/Linux 8.5 (jessie) (version IAS) : | |
25 | + - PHP : 5.6.22 | |
26 | + - Mysql : MariaDB 10.0.25 | |
27 | + - Apache : 2.4.10 | |
28 | + | |
29 | +- Centos 6.4 (version test Etienne Pallier linux) : | |
30 | + - PHP : 5.6.23 | |
31 | + - MYSQL : 5.5.50 | |
32 | 32 | - APACHE : 2.2.15 |
33 | 33 | |
34 | 34 | - (TODO) Linux CentOS (version test Elodie Bourrec) | ... | ... |
database/.gitignore
database/update/script_sql/.gitignore
database/update/script_sql/db-update-2016-06-27-irap.sql
... | ... | @@ -2,8 +2,13 @@ use database; |
2 | 2 | |
3 | 3 | set foreign_key_checks=0; |
4 | 4 | |
5 | +ALTER TABLE `documents` DROP FOREIGN KEY `fk_documents_type_documents_id`; | |
5 | 6 | ALTER TABLE `documents` DROP `type_document_id`; |
6 | 7 | |
8 | +ALTER TABLE type_documents ENGINE=innoDB; | |
9 | +ALTER TABLE users ENGINE=innoDB; | |
10 | +ALTER TABLE configurations ENGINE=innoDB; | |
11 | + | |
7 | 12 | ALTER TABLE `documents` ADD `type_document_id` int(11) DEFAULT NULL; |
8 | 13 | ALTER TABLE `documents` ADD CONSTRAINT `fk_documents_type_documents_id` FOREIGN KEY (`type_document_id`) REFERENCES `type_documents` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; |
9 | 14 | ... | ... |
database/update/script_sql/db-update-2016-06-27.sql
... | ... | @@ -10,6 +10,10 @@ CREATE TABLE IF NOT EXISTS `type_documents` ( |
10 | 10 | PRIMARY KEY (`id`) |
11 | 11 | ); |
12 | 12 | |
13 | +ALTER TABLE type_documents ENGINE=innoDB; | |
14 | +ALTER TABLE users ENGINE=innoDB; | |
15 | +ALTER TABLE configurations ENGINE=innoDB; | |
16 | + | |
13 | 17 | ALTER TABLE `documents` ADD CONSTRAINT `fk_documents_type_documents_id` FOREIGN KEY (`type_document_id`) REFERENCES `type_documents` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; |
14 | 18 | |
15 | 19 | ALTER TABLE `documents` DROP `chemin`; | ... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +# Pour Mac OS recent (10.10, Yosemite), la syntaxe du SED est differente | |
2 | +# Il faut donc transformer les instructions sed a l'interieur des fichiers bash | |
3 | + | |
4 | +# USAGE: ./installation-macos.sh | |
5 | + | |
6 | +macosfile=installation.macos.temp.sh | |
7 | +cp installation.sh $macosfile | |
8 | +sed -e "s/ -i / -i '' /" -i '' $macosfile | |
9 | +chmod +x $macosfile | |
10 | +./$macosfile | |
11 | +rm -f $macosfile | ... | ... |
src/Template/Configurations/view.ctp
... | ... | @@ -117,11 +117,11 @@ |
117 | 117 | echo '</div>'; |
118 | 118 | |
119 | 119 | if ($configuration->use_ldap): |
120 | - echo '<h3 id="t_informations_fichiers" style="cursor: pointer;">'; | |
121 | - echo '<i class="icon-chevron-down" style="font-size: 14px;" id="i_informations_fichiers"></i>'; | |
120 | + echo '<h3 id="t_fichiers" style="cursor: pointer;">'; | |
121 | + echo '<i class="icon-chevron-down" style="font-size: 14px;" id="i_fichiers"></i>'; | |
122 | 122 | echo '<span style="text-decoration: underline;">LDAP</span>'; |
123 | 123 | echo '</h3>'; |
124 | - echo '<div id="informations_fichiers" style="margin-bottom: 20px;">'; | |
124 | + echo '<div id="fichiers" style="margin-bottom: 20px;">'; | |
125 | 125 | echo '<table>'; |
126 | 126 | echo '<tr><th style="width: 250px;"></th><th></th></tr>'; |
127 | 127 | $displayElement(__('Utilisation du LDAP'), $ldap); | ... | ... |