diff --git a/scripts/build/config/_sql/structure/aide.sql b/scripts/build/config/_sql/structure/aide.sql deleted file mode 100644 index 379b43e7b..000000000 --- a/scripts/build/config/_sql/structure/aide.sql +++ /dev/null @@ -1,18 +0,0 @@ --- --- Structure de la table `aide` --- - -CREATE TABLE IF NOT EXISTS `aide` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `methode` varchar(20) NOT NULL, - `champ` varchar(20) NOT NULL, - `texte` text NOT NULL, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8; - --- --- Contenu de la table `aide` --- - -INSERT INTO `aide` (`id`, `methode`, `champ`, `texte`) VALUES -(1, 'Identite', 'Nom', 'Raison sociale / Nom de l''entreprise (format court avec\r\nabréviations)'); diff --git a/scripts/build/config/_sql/structure/bilaninput.sql b/scripts/build/config/_sql/structure/bilaninput.sql deleted file mode 100644 index 8bcfc203b..000000000 --- a/scripts/build/config/_sql/structure/bilaninput.sql +++ /dev/null @@ -1,19 +0,0 @@ --- --- Structure de la table `bilaninput` --- - -CREATE TABLE IF NOT EXISTS `bilaninput` ( - `file` varchar(255) NOT NULL COMMENT 'Nom du fichier', - `sent` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 si fichier envoyé', - `dateUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Liste des bilans à transférer pour la saisie'; - --- --- Index pour les tables exportées --- - --- --- Index pour la table `bilaninput` --- -ALTER TABLE `bilaninput` - ADD PRIMARY KEY (`file`), ADD KEY `sent` (`sent`); \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/bilansaisie.sql b/scripts/build/config/_sql/structure/bilansaisie.sql deleted file mode 100644 index 175b2402a..000000000 --- a/scripts/build/config/_sql/structure/bilansaisie.sql +++ /dev/null @@ -1,22 +0,0 @@ --- --- Structure de la table `bilansaisie` --- - -CREATE TABLE IF NOT EXISTS `bilansaisie` ( - `ref` int(11) NOT NULL AUTO_INCREMENT, - `clientId` int(11) NOT NULL, - `utilisateurId` int(11) NOT NULL, - `utilisateurLogin` varchar(50) NOT NULL, - `utilisateurEmail` varchar(100) NOT NULL, - `method` varchar(20) NOT NULL, - `confidentiel` int(1) NOT NULL, - `siren` varchar(9) NOT NULL, - `bilanCloture` varchar(10) NOT NULL, - `format` varchar(1) NOT NULL, - `bilanDuree` int(2) NOT NULL, - `fichier` varchar(50) NOT NULL, - `env` varchar(20) NOT NULL, - `dateInsert` datetime NOT NULL, - `dateEnvoi` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - PRIMARY KEY (`ref`) -) DEFAULT CHARSET=utf8; diff --git a/scripts/build/config/_sql/structure/client_stat.sql b/scripts/build/config/_sql/structure/client_stat.sql deleted file mode 100644 index bf39d3b9e..000000000 --- a/scripts/build/config/_sql/structure/client_stat.sql +++ /dev/null @@ -1,12 +0,0 @@ -CREATE TABLE IF NOT EXISTS `client_stat` ( - `idStat` int(11) NOT NULL AUTO_INCREMENT, - `idClient` char(5) NOT NULL, - `login` varchar(20) NOT NULL, - `platform` varchar(20) NOT NULL, - `browserName` varchar(22) NOT NULL, - `browserVersion` varchar(15) NOT NULL, - `isMobile` varchar(1) NOT NULL, - `screenSize` varchar(9) NOT NULL, - `dateInsert` datetime NOT NULL, - PRIMARY KEY (`idStat`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='statistique des navigateurs des clients' ; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/commandes_erreur.sql b/scripts/build/config/_sql/structure/commandes_erreur.sql deleted file mode 100644 index 773ead0f0..000000000 --- a/scripts/build/config/_sql/structure/commandes_erreur.sql +++ /dev/null @@ -1,15 +0,0 @@ --- --- Structure de la table `commandes_erreur` --- - -CREATE TABLE IF NOT EXISTS `commandes_erreur` ( - `siren` varchar(9) NOT NULL, - `type` varchar(10) NOT NULL, - `ref` varchar(50) NOT NULL, - `dateCommande` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - `dateReception` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - `url` text NOT NULL, - `erreur` text NOT NULL, - `status` varchar(100) NOT NULL, - KEY `siren` (`siren`) -) DEFAULT CHARSET=utf8; diff --git a/scripts/build/config/_sql/structure/commandes_giants.sql b/scripts/build/config/_sql/structure/commandes_giants.sql deleted file mode 100644 index f7c0c3a61..000000000 --- a/scripts/build/config/_sql/structure/commandes_giants.sql +++ /dev/null @@ -1,10 +0,0 @@ -CREATE TABLE IF NOT EXISTS `commandes_giants` ( - `id` int(8) NOT NULL AUTO_INCREMENT, - `rapportId` int(8) NOT NULL, - `login` varchar(255) NOT NULL, - `date` date NOT NULL, - `typeReport` enum('FU','CO','CR','FL','NO','UR','FA') NOT NULL, - `price` float NOT NULL, - `pays` varchar(50) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/commandes_statut.sql b/scripts/build/config/_sql/structure/commandes_statut.sql deleted file mode 100644 index f2a937503..000000000 --- a/scripts/build/config/_sql/structure/commandes_statut.sql +++ /dev/null @@ -1,11 +0,0 @@ --- --- Structure de la table `commandes_statut` --- - -CREATE TABLE IF NOT EXISTS `commandes_statut` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `libStatut` varchar(200) NOT NULL, - `typeCommande` char(1) NOT NULL, - `ordre` int(11) NOT NULL, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8 ; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/commandes_tarifs.sql b/scripts/build/config/_sql/structure/commandes_tarifs.sql deleted file mode 100644 index 0ac76fc4b..000000000 --- a/scripts/build/config/_sql/structure/commandes_tarifs.sql +++ /dev/null @@ -1,61 +0,0 @@ --- --- Structure de la table `commandes_tarifs` --- - -CREATE TABLE IF NOT EXISTS `commandes_tarifs` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `type` varchar(20) NOT NULL, - `codeTribunal` varchar(255) NOT NULL, - `prix` float NOT NULL, - `enveloppe` tinyint(1) NOT NULL, - `ordre` varchar(255) NOT NULL, - `annee` int(4) NOT NULL, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8; - --- --- Contenu de la table `commandes_tarifs` --- - -INSERT INTO `commandes_tarifs` (`id`, `type`, `codeTribunal`, `prix`, `enveloppe`, `ordre`, `annee`) VALUES -(1, 'actes', 'CHARTC', 10.94, 0, '', 2010), -(2, 'bilans', 'CHARTC', 10.94, 0, '', 2010), -(3, 'actes', 'METZG', 10.94, 0, '', 2010), -(4, 'bilans', 'METZG', 10.94, 0, '', 2010), -(5, 'kbis', 'METZG', 3.11, 0, '', 2010), -(6, 'actes', 'COLMAG', 10.94, 0, '', 2010), -(7, 'bilans', 'COLMAG', 10.94, 0, '', 2010), -(8, 'kbis', 'COLMAG', 3.11, 0, '', 2010), -(9, 'privSecu', 'COLMAG', 3.11, 0, '', 2010), -(10, 'privTres', 'COLMAG', 3.11, 0, '', 2010), -(11, 'bilans', 'STRASG', 9.33, 1, 'Trésor Public', 2010), -(12, 'bilans', 'MULHOG', 9.33, 1, 'Trésor Public', 2010), -(13, 'bilans', 'COLMAG', 9.33, 1, 'Trésor Public', 2010), -(14, 'bilans', 'CAYENM', 7.8, 0, 'Régisseur TGI Cayenne', 2010), -(15, 'bilans', 'SARREI', 9.33, 1, 'Trésor Public', 2010), -(16, 'kbis', 'STRASG', 3.11, 1, 'Trésor Public', 2010), -(17, 'kbis', 'THIONG', 3.11, 1, 'Trésor Public', 2010), -(18, 'kbis', 'SAVERG', 3.11, 1, 'Trésor Public', 2010), -(19, 'kbis', 'SARREG', 3.11, 1, 'Trésor Public', 2010), -(20, 'actes', 'CHARTC', 10.94, 0, '', 2011), -(21, 'bilans', 'CHARTC', 10.94, 0, '', 2011), -(22, 'actes', 'METZG', 10.94, 0, '', 2011), -(23, 'bilans', 'METZG', 10.94, 0, '', 2011), -(24, 'kbis', 'METZG', 3.11, 0, '', 2011), -(25, 'actes', 'COLMAG', 10.94, 0, '', 2011), -(26, 'bilans', 'COLMAG', 10.94, 0, '', 2011), -(27, 'kbis', 'COLMAG', 3.11, 0, '', 2011), -(28, 'privSecu', 'COLMAG', 3.11, 0, '', 2011), -(29, 'privTres', 'COLMAG', 3.11, 0, '', 2011), -(30, 'bilans', 'STRASG', 9.33, 1, 'Trésor Public', 2011), -(31, 'bilans', 'MULHOG', 9.33, 1, 'Trésor Public', 2011), -(32, 'bilans', 'COLMAG', 9.33, 1, 'Trésor Public', 2011), -(33, 'bilans', 'CAYENM', 7.8, 0, 'Régisseur TGI Cayenne', 2011), -(34, 'bilans', 'SARREI', 9.33, 1, 'Trésor Public', 2011), -(35, 'kbis', 'STRASG', 3.11, 1, 'Trésor Public', 2011), -(36, 'kbis', 'THIONG', 3.11, 1, 'Trésor Public', 2011), -(37, 'kbis', 'SAVERG', 3.11, 1, 'Trésor Public', 2011), -(38, 'kbis', 'SARREG', 3.11, 1, 'Trésor Public', 2011), -(39, 'kbis', 'MULHOG', 3.11, 1, 'Trésor Public', 2011), -(40, 'kbis', 'FORTFM', 3.11, 0, 'Trésor Public', 2011), -(41, 'kbis', 'STDENM', 2.82, 1, 'TMX ST DENIS DE LA REUNION', 2011); diff --git a/scripts/build/config/_sql/structure/nouveautes.sql b/scripts/build/config/_sql/structure/nouveautes.sql deleted file mode 100644 index f9e1e5c36..000000000 --- a/scripts/build/config/_sql/structure/nouveautes.sql +++ /dev/null @@ -1,8 +0,0 @@ -CREATE TABLE IF NOT EXISTS `nouveautes` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `categorie` varchar(100) NOT NULL, - `intitule` varchar(100) NOT NULL, - `date` date NOT NULL DEFAULT '0000-00-00', - `fichier` varchar(100) NOT NULL, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8; diff --git a/scripts/build/config/_sql/structure/rapports_giants.sql b/scripts/build/config/_sql/structure/rapports_giants.sql deleted file mode 100644 index 585787e88..000000000 --- a/scripts/build/config/_sql/structure/rapports_giants.sql +++ /dev/null @@ -1,14 +0,0 @@ --- --- Structure de la table `rapports_giants` --- - -CREATE TABLE IF NOT EXISTS `rapports_giants` ( - `id` int(8) NOT NULL AUTO_INCREMENT, - `companyId` varchar(255) NOT NULL, - `date` date NOT NULL, - `pays` enum('FR','ES','BE','NL','UK','DE') NOT NULL, - `type` enum('FU','CO','CR','FL') DEFAULT NULL, - `lang` varchar(2) CHARACTER SET utf8 NOT NULL, - `report` longtext NOT NULL, - PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/tabDepartements.sql b/scripts/build/config/_sql/structure/tabDepartements.sql deleted file mode 100644 index 54a430075..000000000 --- a/scripts/build/config/_sql/structure/tabDepartements.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE IF NOT EXISTS `tabDepartements` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `numdep` char(3) NOT NULL, - `libdep` char(45) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Departements'; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/tabDevises.sql b/scripts/build/config/_sql/structure/tabDevises.sql deleted file mode 100644 index bc0bc6573..000000000 --- a/scripts/build/config/_sql/structure/tabDevises.sql +++ /dev/null @@ -1,12 +0,0 @@ -CREATE TABLE IF NOT EXISTS `tabDevises` ( - `devIso` char(3) DEFAULT NULL COMMENT 'Code devise selon la ISO 4217 (3 lettres)', - `devChiffres` smallint(3) unsigned zerofill NOT NULL COMMENT 'Code devise selon la ISO 4217 numérique (3 chiffres)', - `devInpi` smallint(3) unsigned zerofill DEFAULT NULL COMMENT 'Code devise utilisé par l''INPI', - `devNom` char(50) DEFAULT NULL COMMENT 'Nom de la devise', - `devPaysIso` char(255) DEFAULT NULL, - `devNewIso` char(3) DEFAULT NULL COMMENT 'Si ancienne devise, nouvelle devise utilisée', - `dateInsert` datetime NOT NULL, - `dateUpdate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP, - KEY `devIso` (`devIso`), - KEY `devInpi` (`devInpi`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Liste des devises'; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/tabEvenements.sql b/scripts/build/config/_sql/structure/tabEvenements.sql deleted file mode 100644 index 01185fbc1..000000000 --- a/scripts/build/config/_sql/structure/tabEvenements.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE TABLE IF NOT EXISTS `tabEvenements` ( - `codEven` smallint(4) unsigned zerofill NOT NULL DEFAULT '0000' COMMENT 'Code évènement du mouvement Bodacc', - `libEven` varchar(101) DEFAULT NULL COMMENT 'Libellé de l''évènement', - `libEvenEn` varchar(200) DEFAULT NULL COMMENT 'Libellé en Anglais', - PRIMARY KEY (`codEven`), - UNIQUE KEY `libEven` (`libEven`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Liste des évènements Scores & Décisions'; diff --git a/scripts/build/config/_sql/structure/tabFJur.sql b/scripts/build/config/_sql/structure/tabFJur.sql deleted file mode 100644 index baabcd07a..000000000 --- a/scripts/build/config/_sql/structure/tabFJur.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE TABLE IF NOT EXISTS `tabFJur` ( - `code` int(4) NOT NULL DEFAULT '0', - `libelle` varchar(100) DEFAULT NULL COMMENT 'Libellé de la forme juridique', - `libelleEn` varchar(100) NOT NULL COMMENT 'Traduction Anglaise', - PRIMARY KEY (`code`), - FULLTEXT KEY `libelle` (`libelle`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Référentiel des Formes Juridiques'; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/tabFctDir.sql b/scripts/build/config/_sql/structure/tabFctDir.sql deleted file mode 100644 index 2aada3229..000000000 --- a/scripts/build/config/_sql/structure/tabFctDir.sql +++ /dev/null @@ -1,5 +0,0 @@ -CREATE TABLE IF NOT EXISTS `tabFctDir` ( - `codeFct` smallint(4) unsigned zerofill NOT NULL DEFAULT '0000', - `libelle` varchar(255) DEFAULT NULL, - PRIMARY KEY (`codeFct`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Liste des fonctions de direction'; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/tabNaf5.sql b/scripts/build/config/_sql/structure/tabNaf5.sql deleted file mode 100644 index 2d9802b4e..000000000 --- a/scripts/build/config/_sql/structure/tabNaf5.sql +++ /dev/null @@ -1,10 +0,0 @@ -CREATE TABLE IF NOT EXISTS `tabNaf5tmp` ( - `codNaf5` char(5) NOT NULL DEFAULT '', - `libNaf5` varchar(255) DEFAULT NULL, - `libNaf5en` varchar(255) DEFAULT NULL, - `codNaf4` char(4) DEFAULT NULL, - `codNaf3` char(3) DEFAULT NULL, - `codNaf2` char(2) DEFAULT NULL, - `codNaf1` char(1) DEFAULT NULL, - PRIMARY KEY (`codNaf5`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Code NAF rév 3 de 2013 (5 positions)'; diff --git a/scripts/build/config/_sql/structure/tabPays.sql b/scripts/build/config/_sql/structure/tabPays.sql deleted file mode 100644 index abdd9d1fa..000000000 --- a/scripts/build/config/_sql/structure/tabPays.sql +++ /dev/null @@ -1,30 +0,0 @@ -CREATE TABLE IF NOT EXISTS `tabPays` ( - `codPays` char(2) NOT NULL COMMENT 'Code Pays ISO 3166-1 alpha-2 sur 2 lettres', - `numPays` smallint(3) unsigned zerofill DEFAULT NULL COMMENT 'Code Pays ISO 3166-1 numeric sur 3 chiffres', - `codPays3` char(3) DEFAULT NULL COMMENT 'Code Pays ISO 3166-1 alpha-3 sur 3 lettres', - `codePaysInpi` smallint(3) unsigned zerofill DEFAULT NULL COMMENT 'Code pays numérique INPI', - `codePaysInsee` smallint(3) unsigned zerofill NOT NULL DEFAULT '000' COMMENT 'COG Insee du pays 3 chiffres', - `codeFips` char(2) DEFAULT NULL COMMENT 'Code standard des USA - FIPS PUB 10-4', - `codeTld` char(4) DEFAULT NULL COMMENT 'National Tol-Level Domain Names (Internet)', - `codeIoc` char(3) DEFAULT NULL COMMENT 'Code Pays du CIO (Comité Inter. Olympique)', - `codeITU` char(3) DEFAULT NULL COMMENT 'Code géré par l''International Telecommunications Union', - `codeDS` char(3) DEFAULT NULL COMMENT 'Distinguishing Signs of vehicles in international traffic (oval bumper sticker codes)', - `codeWMO` char(2) DEFAULT NULL COMMENT 'Code pays dans les rapports météo (World Meteorological Organization)', - `codeGAUL` char(6) DEFAULT NULL COMMENT 'Code Global Administrative Unit Layers (Food and Agriculture Organization)', - `codeMARC` char(5) DEFAULT NULL COMMENT 'Code MAchine-Readable Cataloging (Library of Congress)', - `dependance` char(3) DEFAULT NULL COMMENT 'Souvereneté exercée par ISO3166 trigraph', - `libPaysEN` varchar(50) NOT NULL COMMENT 'Libellé Anglais du pays', - `libPays` varchar(50) NOT NULL COMMENT 'Libellé Français du pays', - `libPaysMajAuto` varchar(50) NOT NULL COMMENT 'Libellé Français du pays en MAJ automatique', - `zone` enum('Afrique','Amérique du Nord','Amérique du Sud et centrale','Antarctique','Antilles, caraïbes','Asie','Europe de l''est','Europe occidentale','Moyen orient','Pacifique') DEFAULT NULL COMMENT 'Zone du monde (Continents ou océans)', - `drapeau` varchar(20) NOT NULL COMMENT 'Fichier drapeau', - `devise` char(3) NOT NULL COMMENT 'Code devise selon la ISO 4217 (3 lettres)', - `indTel` char(20) DEFAULT NULL COMMENT 'Indicatif téléphonique du pays selon ITU-T recommandation E.164 (international dialing code), suivi parfois d''un code géographique. Plusieurs indicatifs possibles (séparateur virgule)', - `remarques` varchar(255) NOT NULL, - `dateInsert` datetime NOT NULL COMMENT 'Date Insertion en base S&D', - `dateUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - PRIMARY KEY (`codPays`), - UNIQUE KEY `codePays3` (`codPays3`), - UNIQUE KEY `numPays` (`numPays`), - UNIQUE KEY `codePaysInpi` (`codePaysInpi`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Liste des pays et correspondances des codes pays'; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/tabVilles.sql b/scripts/build/config/_sql/structure/tabVilles.sql deleted file mode 100644 index d1e7ae10b..000000000 --- a/scripts/build/config/_sql/structure/tabVilles.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE IF NOT EXISTS `tabVilles` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `code` mediumint(5) UNSIGNED ZEROFILL DEFAULT NULL, - `libelle` char(45) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Codes Postales'; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/worldcheck.sql b/scripts/build/config/_sql/structure/worldcheck.sql deleted file mode 100644 index b1a1c70c0..000000000 --- a/scripts/build/config/_sql/structure/worldcheck.sql +++ /dev/null @@ -1,12 +0,0 @@ -CREATE TABLE IF NOT EXISTS `worldcheck` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `idClient` char(5) NOT NULL, - `login` char(25) NOT NULL, - `nameIdentifier` varchar(23) NOT NULL, - `name` varchar(50) NOT NULL, - `siren` varchar(9) DEFAULT NULL, - `nameType` enum('INDIVIDUAL', 'ORGANISATION') NOT NULL, - `matchCount` int(4) DEFAULT NULL, - `dateInsert` date NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='worldcheck v2 2013-09-16'; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/worldcheck_a.sql b/scripts/build/config/_sql/structure/worldcheck_a.sql deleted file mode 100644 index ac277422b..000000000 --- a/scripts/build/config/_sql/structure/worldcheck_a.sql +++ /dev/null @@ -1,10 +0,0 @@ -CREATE TABLE IF NOT EXISTS `worldcheck_a` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `entityIdP` varchar(23) NOT NULL, - `entityId` varchar(23) NOT NULL, - `nameType` varchar(30) DEFAULT NULL, - `fullName` varchar(30) DEFAULT NULL, - `givenName` varchar(30) DEFAULT NULL, - `lastName` varchar(30) DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='worldcheck associates v1 2014-01-20'; \ No newline at end of file diff --git a/scripts/build/config/_sql/structure/worldcheck_list.sql b/scripts/build/config/_sql/structure/worldcheck_list.sql deleted file mode 100644 index eeeca1659..000000000 --- a/scripts/build/config/_sql/structure/worldcheck_list.sql +++ /dev/null @@ -1,9 +0,0 @@ -CREATE TABLE IF NOT EXISTS `worldcheck_list` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `entityId` varchar(23) NOT NULL, - `nameType` varchar(30) DEFAULT NULL, - `fullName` varchar(30) DEFAULT NULL, - `givenName` varchar(30) DEFAULT NULL, - `lastName` varchar(30) DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='worldcheck list of PP, PM v1 2014-01-20'; \ No newline at end of file diff --git a/scripts/build/configure.php b/scripts/build/configure.php deleted file mode 100644 index 05f4438d1..000000000 --- a/scripts/build/configure.php +++ /dev/null @@ -1,149 +0,0 @@ - "Affiche les informations d'utilisation", - 'install=s' => "Installe et configure", - 'incron' => "Create incron file", - 'cron' => "Create cron file", - ) - ); - $opts->parse(); -} catch (Zend_Console_Getopt_Exception $e) { - echo $e->getUsageMessage(); - exit; -} - -//Usage -if(isset($opts->help)) -{ - echo $opts->getUsageMessage(); - exit; -} - -if(isset($opts->install)) -{ - echo date('Y-m-d H:i:s')." - Démarrage de la configuration.\n"; - - // --- Copy configuration - $configDir = realpath(dirname(__FILE__)).'/profil'; - $appconfigDir = APPLICATION_PATH.'/configs'; - $profil = $opts->install; - - if ($profil == 'local') { - echo date('Y-m-d H:i:s')." - Local dev, copie scripts/build/profil/local/application.ini to application/configs/.\n"; - } else { - $result = copy($configDir.'/'.$profil.'/application.ini', $appconfigDir.'/application.ini'); - if ($result !== true) { - echo date('Y-m-d H:i:s')." - Impossible de copier la configuration.\n"; - exit(1); - } - } - - // --- Create application, bootstrap, and run - $application = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini'); - $c = new Zend_Config($application->getOptions()); - - // --- Create data directory and all his children - $path = $c->profil->path->shared; - $dirToCreate = array( - $path.'/temp/cache', - $path.'/temp/files', - $path.'/temp/pages/file/image/logo/q', - $path.'/temp/pages/file/streetview/img/q', - $path.'/temp/pages/imgcache', - $path.'/temp/sessions', - $path.'/temp/wsdl', - ); - foreach ($dirToCreate as $dir) { - if ( ! file_exists($dir) ) { - mkdir($dir, 0777, true); - // --- Modification des permissions - passthru('chown -Rv www-data: '.$dir); - } - } - - if ( substr(strtoupper(PHP_OS),0,3) == 'WIN' ) { - - echo "Windows OS : Créer les liens symboliques pour l'impression. Voir script."; - echo "\n"; - - } else { - - // Préparation et vérification - $dirToCheck = array( - $path.'/persist/association', - $path.'/persist/bilanclient', - $path.'/persist/bodacc', - $path.'/persist/groupes', - $path.'/persist/iris', - $path.'/persist/log', - $path.'/persist/logos', - $path.'/persist/marques', - $path.'/persist/nouveautes', - $path.'/persist/streetview', - ); - foreach ($dirToCheck as $dir) { - if ( ! file_exists($dir) ) { - echo "Lien data manquant : ".$dir."\n"; - } - } - - // Création des liens symboliques pour l'impression - passthru('ln -vsf '.APPLICATION_PATH.'/../public/themes '.$c->profil->path->shared.'/temp/pages/themes'); - passthru('ln -vsf '.$c->profil->path->shared.'/persist/streetview '.$c->profil->path->shared.'/temp/pages/file/streetview/img/q'); - passthru('ln -vsf '.$c->profil->path->shared.'/persist/logos '.$c->profil->path->shared.'/temp/pages/file/image/logo/q'); - - // Modification des permissions - passthru('chown -R www-data: '.APPLICATION_PATH.'/../'); - } - - echo date('Y-m-d H:i:s')." - End.\n"; -} - -if ( $opts->incron ) { - - echo "Création configuration incron.\n"; - - if ( !file_exist('/etc/incron.d') ) { - echo "incron is not install !\n"; - exit; - } - - //Send bilanclient - file_put_contents('/etc/incron.d/bilanclient', "/home/vhosts/data/bilanclient IN_CLOSE_WRITE php /home/vhosts/extranet/scripts/jobs/sendBilanClient.php --file $#"); - - echo "Don't forget to restart incron. sudo service incron restart.\n"; - echo "Fin de la configuration.\n"; -} - -if ( $opts->cron ) { - - echo "Création configuration cron.\n"; - - if ( !file_exist('/etc/cron.d') ) { - echo "cron is not install !\n"; - exit; - } - - //AltiScore - file_put_contents('/etc/cron.d/altiscore', "# AltiScore"); - file_put_contents('/etc/cron.d/altiscore', "00 04 * * 1-5 www-data php /home/vhosts/extranet/scripts/jobs/getAltiScore.php --cron >> /home/vhosts/data/log/altiscore.log", FILE_APPEND); - - echo "Don't forget to restart cron. sudo service cron restart."; - echo "End.\n"; -} - - diff --git a/scripts/build/profil/dev/application.ini b/scripts/build/profil/dev/application.ini deleted file mode 100644 index cae324087..000000000 --- a/scripts/build/profil/dev/application.ini +++ /dev/null @@ -1,58 +0,0 @@ -[production] -phpSettings.date.timezone = "Europe/Paris" -phpSettings.display_startup_errors = 0 -phpSettings.display_errors = 0 -phpSettings.soap.wsdl_cache_dir = "/home/vhosts/data/extranet/temp/wsdl" -bootstrap.path = APPLICATION_PATH "/Bootstrap.php" -bootstrap.class = "Bootstrap" -appnamespace = "Application" -resources.session.save_path = "/home/vhosts/data/extranet/temp/sessions" -resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php" -resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap" -resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" -resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth" -resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme" -resources.frontController.plugins.Lang = "Application_Controller_Plugin_Lang" -resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu" -resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf" -resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml" -resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu" -resources.frontController.params.displayExceptions = 0 -resources.layout.layout = "layout" -resources.layout.layoutPath = APPLICATION_PATH "/layouts/default" -resources.view.helperPath = APPLICATION_PATH "/layouts/helpers" -resources.view.basePath = APPLICATION_PATH "/views/default" - -; Scores configuration -profil.server.name = sdsrvdev01 -profil.webservice.url = "http://webservice.sd.lan"; -profil.mail.method = smtp -profil.mail.smtp_host = smtp.free.fr -profil.mail.username = yourusername -profil.mail.password = yourpassword -profil.mail.email.support = supportdev@scores-decisions.com -profil.mail.email.supportdev = supportdev@scores-decisions.com -profil.mail.email.contact = supportdev@scores-decisions.com -profil.mail.email.production = supportdev@scores-decisions.com -profil.path.shared = "/home/vhosts/data/extranet" -profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf" -profil.db.sdv1.adapter=mysqli -profil.db.sdv1.params.host=localhost -profil.db.sdv1.params.username=extranet -profil.db.sdv1.params.password=dMJNQwHER2A8jZFY -profil.db.sdv1.params.dbname=extranet -profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" - -[staging : production] -resources.frontController.params.displayExceptions = 0 -phpSettings.soap.wsdl_cache_enabled = 1 - -[development : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 0 -phpSettings.soap.wsdl_cache_enabled = 0 -resources.frontController.params.displayExceptions = 1 - -[testing : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 \ No newline at end of file diff --git a/scripts/build/profil/local/application.ini b/scripts/build/profil/local/application.ini deleted file mode 100644 index f96b0b597..000000000 --- a/scripts/build/profil/local/application.ini +++ /dev/null @@ -1,56 +0,0 @@ -[production] -phpSettings.date.timezone = "Europe/Paris" -phpSettings.display_startup_errors = 0 -phpSettings.display_errors = 0 -phpSettings.soap.wsdl_cache_dir = "/your/persistent/path/temp/wsdl" -bootstrap.path = APPLICATION_PATH "/Bootstrap.php" -bootstrap.class = "Bootstrap" -appnamespace = "Application" -resources.session.save_path = "/your/persistent/path/temp/sessions" -resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php" -resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap" -resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" -resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth" -resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme" -resources.frontController.plugins.Lang = "Application_Controller_Plugin_Lang" -resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu" -resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf" -resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml" -resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu" -resources.frontController.params.displayExceptions = 0 -resources.layout.layout = "layout" -resources.layout.layoutPath = APPLICATION_PATH "/layouts/default" -resources.view.helperPath = APPLICATION_PATH "/layouts/helpers" -resources.view.basePath = APPLICATION_PATH "/views/default" - -; Scores configuration -profil.server.name = development -profil.webservice.url = "http://webservice-2.8.sd.dev" -profil.mail.method = smtp -profil.mail.host = smtp.free.fr -profil.mail.email.support = supportdev@scores-decisions.com -profil.mail.email.supportdev = supportdev@scores-decisions.com -profil.mail.email.contact = supportdev@scores-decisions.com -profil.mail.email.production = supportdev@scores-decisions.com -profil.path.shared = "/your/persistent/path/" -profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf" -profil.db.sdv1.adapter=mysqli -profil.db.sdv1.params.host=127.0.0.1 -profil.db.sdv1.params.username=root -profil.db.sdv1.params.password=password -profil.db.sdv1.params.dbname=extranet -profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" - -[staging : production] -resources.frontController.params.displayExceptions = 0 -phpSettings.soap.wsdl_cache_enabled = 1 - -[development : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 -phpSettings.soap.wsdl_cache_enabled = 0 -resources.frontController.params.displayExceptions = 1 - -[testing : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 \ No newline at end of file diff --git a/scripts/build/profil/prod-online/application.ini b/scripts/build/profil/prod-online/application.ini deleted file mode 100644 index 2b3598647..000000000 --- a/scripts/build/profil/prod-online/application.ini +++ /dev/null @@ -1,56 +0,0 @@ -[production] -phpSettings.date.timezone = "Europe/Paris" -phpSettings.display_startup_errors = 0 -phpSettings.display_errors = 0 -phpSettings.soap.wsdl_cache_dir = "/home/vhosts/extranet/shared/temp/wsdl" -bootstrap.path = APPLICATION_PATH "/Bootstrap.php" -bootstrap.class = "Bootstrap" -appnamespace = "Application" -resources.session.save_path = "/home/vhosts/extranet/shared/temp/sessions" -resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php" -resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap" -resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" -resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" -resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth" -resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme" -resources.frontController.plugins.Lang = "Application_Controller_Plugin_Lang" -resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu" -resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf" -resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml" -resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu" -resources.frontController.params.displayExceptions = 0 -resources.layout.layout = "layout" -resources.layout.layoutPath = APPLICATION_PATH "/layouts/default" -resources.view.helperPath = APPLICATION_PATH "/layouts/helpers" -resources.view.basePath = APPLICATION_PATH "/views/default" - -; Scores configuration -profil.server.name = sd-46528 -profil.webservice.url = "http://wse.scores-decisions.com:8081"; -profil.mail.method = sendmail -profil.mail.email.support = support@scores-decisions.com -profil.mail.email.supportdev = supportdev@scores-decisions.com -profil.mail.email.contact = contact@scores-decisions.com -profil.mail.email.production = production@scores-decisions.com -profil.path.shared = "/home/vhosts/extranet/shared" -profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf" -profil.db.sdv1.adapter=mysqli -profil.db.sdv1.params.host=localhost -profil.db.sdv1.params.username=extranet -profil.db.sdv1.params.password=bGPZ9qYZQFHMYCnJ -profil.db.sdv1.params.dbname=extranet -profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" - -[staging : production] -resources.frontController.params.displayExceptions = 0 -phpSettings.soap.wsdl_cache_enabled = 1 - -[development : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 -phpSettings.soap.wsdl_cache_enabled = 0 -resources.frontController.params.displayExceptions = 1 - -[testing : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 \ No newline at end of file diff --git a/scripts/build/profil/prod-ovh/application.ini b/scripts/build/profil/prod-ovh/application.ini deleted file mode 100644 index a6f2f57e6..000000000 --- a/scripts/build/profil/prod-ovh/application.ini +++ /dev/null @@ -1,56 +0,0 @@ -[production] -phpSettings.date.timezone = "Europe/Paris" -phpSettings.display_startup_errors = 0 -phpSettings.display_errors = 0 -phpSettings.soap.wsdl_cache_dir = "/home/vhosts/extranet/shared/temp/wsdl" -bootstrap.path = APPLICATION_PATH "/Bootstrap.php" -bootstrap.class = "Bootstrap" -appnamespace = "Application" -resources.session.save_path = "/home/vhosts/extranet/shared/temp/sessions" -resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php" -resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap" -resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" -resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" -resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth" -resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme" -resources.frontController.plugins.Lang = "Application_Controller_Plugin_Lang" -resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu" -resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf" -resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml" -resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu" -resources.frontController.params.displayExceptions = 0 -resources.layout.layout = "layout" -resources.layout.layoutPath = APPLICATION_PATH "/layouts/default" -resources.view.helperPath = APPLICATION_PATH "/layouts/helpers" -resources.view.basePath = APPLICATION_PATH "/views/default" - -; Scores configuration -profil.server.name = ns359466 -profil.webservice.url = "http://wse.scores-decisions.com:8081"; -profil.mail.method = sendmail -profil.mail.email.support = support@scores-decisions.com -profil.mail.email.supportdev = supportdev@scores-decisions.com -profil.mail.email.contact = contact@scores-decisions.com -profil.mail.email.production = production@scores-decisions.com -profil.path.shared = "/home/vhosts/extranet/shared" -profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf" -profil.db.sdv1.adapter=mysqli -profil.db.sdv1.params.host=127.0.0.1 -profil.db.sdv1.params.username=extranet -profil.db.sdv1.params.password=dMJNQwHER2A8jZFY -profil.db.sdv1.params.dbname=sdv1 -profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" - -[staging : production] -resources.frontController.params.displayExceptions = 0 -phpSettings.soap.wsdl_cache_enabled = 1 - -[development : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 -phpSettings.soap.wsdl_cache_enabled = 0 -resources.frontController.params.displayExceptions = 1 - -[testing : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 \ No newline at end of file diff --git a/scripts/build/profil/staging-online/application.ini b/scripts/build/profil/staging-online/application.ini deleted file mode 100644 index 557a062ef..000000000 --- a/scripts/build/profil/staging-online/application.ini +++ /dev/null @@ -1,56 +0,0 @@ -[production] -phpSettings.date.timezone = "Europe/Paris" -phpSettings.display_startup_errors = 0 -phpSettings.display_errors = 0 -phpSettings.soap.wsdl_cache_dir = "/home/vhosts/extranet-ng/shared/temp/wsdl" -bootstrap.path = APPLICATION_PATH "/Bootstrap.php" -bootstrap.class = "Bootstrap" -appnamespace = "Application" -resources.session.save_path = "/home/vhosts/extranet-ng/shared/temp/sessions" -resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php" -resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap" -resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" -resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" -resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth" -resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme" -resources.frontController.plugins.Lang = "Application_Controller_Plugin_Lang" -resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu" -resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf" -resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml" -resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu" -resources.frontController.params.displayExceptions = 0 -resources.layout.layout = "layout" -resources.layout.layoutPath = APPLICATION_PATH "/layouts/default" -resources.view.helperPath = APPLICATION_PATH "/layouts/helpers" -resources.view.basePath = APPLICATION_PATH "/views/default" - -; Scores configuration -profil.server.name = sd-46528 -profil.webservice.url = "http://wsrec.scores-decisions.com:8000"; -profil.mail.method = sendmail -profil.mail.email.support = support@scores-decisions.com -profil.mail.email.supportdev = supportdev@scores-decisions.com -profil.mail.email.contact = contact@scores-decisions.com -profil.mail.email.production = production@scores-decisions.com -profil.path.shared = "/home/vhosts/extranet-ng/shared" -profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf" -profil.db.sdv1.adapter=mysqli -profil.db.sdv1.params.host=localhost -profil.db.sdv1.params.username=extranet -profil.db.sdv1.params.password=bGPZ9qYZQFHMYCnJ -profil.db.sdv1.params.dbname=extranet -profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" - -[staging : production] -resources.frontController.params.displayExceptions = 0 -phpSettings.soap.wsdl_cache_enabled = 1 - -[development : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 -phpSettings.soap.wsdl_cache_enabled = 0 -resources.frontController.params.displayExceptions = 1 - -[testing : production] -phpSettings.display_startup_errors = 1 -phpSettings.display_errors = 1 \ No newline at end of file