Subversion Repositories eFlore/Projets.eflore-projets

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1299 1397 d 22 h delphine /branches/v5.12-baouque/services/ commit des modifs en prod suite au changement serveur / cel  
/branches/v5.12-baouque/services/bibliotheque/Utilisateurs.php
/branches/v5.12-baouque/services/configurations/config_bdtfx.ini
/branches/v5.12-baouque/services/configurations/config_bdtfxr.ini
/branches/v5.12-baouque/services/configurations/config_coste.ini
/branches/v5.12-baouque/services/configurations/config_moissonnage.ini
/branches/v5.12-baouque/services/modules/0.1/baseflor/InformationsBaseflor.php
/branches/v5.12-baouque/services/modules/0.1/baseflor/InformationsTaxonsSup.php
/branches/v5.12-baouque/services/modules/0.1/baseveg/syntaxons/SyntaxonsCommun.php
/branches/v5.12-baouque/services/modules/0.1/bdtfx/CommunNomsTaxons.php
/branches/v5.12-baouque/services/modules/0.1/bdtxa/cartes/LegendeCartes.php
/branches/v5.12-baouque/services/modules/0.1/cel/Images.php
/branches/v5.12-baouque/services/modules/0.1/chorodep/cartes/LegendeCartes.php
/branches/v5.12-baouque/services/modules/0.1/commun/MetaDonnees.php
/branches/v5.12-baouque/services/modules/0.1/coste/Textes.php
/branches/v5.12-baouque/services/modules/0.1/eflore/cartes/CbnmedFormateur.php
/branches/v5.12-baouque/services/modules/0.1/eflore/cartes/CelFormateur.php
/branches/v5.12-baouque/services/modules/0.1/eflore/cartes/GeneralFormateur.php
/branches/v5.12-baouque/services/modules/0.1/eflore/cartes/LegendeCartes.php
1285 1560 d 21 h killian /branches/v5.12-baouque/services/modules/0.1/ Fix string as array  
/branches/v5.12-baouque/services/modules/0.1/apd/Noms.php
/branches/v5.12-baouque/services/modules/0.1/apd/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/aublet/Noms.php
/branches/v5.12-baouque/services/modules/0.1/aublet/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/baseflor/CommunGraphiques.php
/branches/v5.12-baouque/services/modules/0.1/baseflor/Informations.php
/branches/v5.12-baouque/services/modules/0.1/baseflor/InformationsBaseflor.php
/branches/v5.12-baouque/services/modules/0.1/baseflor/Ontologies.php
/branches/v5.12-baouque/services/modules/0.1/baseveg/Ontologies.php
/branches/v5.12-baouque/services/modules/0.1/baseveg/syntaxons/SyntaxonsRelation.php
/branches/v5.12-baouque/services/modules/0.1/bdtfx/Noms.php
/branches/v5.12-baouque/services/modules/0.1/bdtfx/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/bdtfxr/Noms.php
/branches/v5.12-baouque/services/modules/0.1/bdtfxr/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/bdtre/Noms.php
/branches/v5.12-baouque/services/modules/0.1/bdtre/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/bdtxa/Noms.php
/branches/v5.12-baouque/services/modules/0.1/bdtxa/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/chorodep/Ontologies.php
/branches/v5.12-baouque/services/modules/0.1/chorodep/cartes/TaxonsCartes.php
/branches/v5.12-baouque/services/modules/0.1/commun/Commun.php
/branches/v5.12-baouque/services/modules/0.1/commun/MetaDonnees.php
/branches/v5.12-baouque/services/modules/0.1/commun/Ontologies.php
/branches/v5.12-baouque/services/modules/0.1/coste/Noms.php
/branches/v5.12-baouque/services/modules/0.1/eflore/Ontologies.php
/branches/v5.12-baouque/services/modules/0.1/florical/Noms.php
/branches/v5.12-baouque/services/modules/0.1/florical/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/insee-d/ZoneGeo.php
/branches/v5.12-baouque/services/modules/0.1/isfan/Noms.php
/branches/v5.12-baouque/services/modules/0.1/isfan/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/iso-3166-1/ZoneGeo.php
/branches/v5.12-baouque/services/modules/0.1/iso-639-1/Langues.php
/branches/v5.12-baouque/services/modules/0.1/lbf/Noms.php
/branches/v5.12-baouque/services/modules/0.1/lbf/Taxons.php
/branches/v5.12-baouque/services/modules/0.1/moissonnage/Ontologies.php
/branches/v5.12-baouque/services/modules/0.1/nva/NomsVernaculaires.php
/branches/v5.12-baouque/services/modules/0.1/nvjfl/NomsVernaculaires.php
/branches/v5.12-baouque/services/modules/0.1/nvps/NomsVernaculaires.php
/branches/v5.12-baouque/services/modules/0.1/osm/ZoneAdmin.php
1175 3338 d 3 h mathias /branches/v5.12-baouque/ Branche v5.12-baouque  
/branches/v5.12-baouque
1016 3718 d 1 h delphine /trunk/services/modules/0.1/baseflor/ debug graphique baseflor valeur vide ne s'affiche plus comme 0  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
988 3794 d 4 h mathias /trunk/services/modules/0.1/baseflor/ Protection du graphique Baseflor contre les données NULL  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
/trunk/services/modules/0.1/baseflor/GraphiquesBaseflor.php
968 3838 d 2 h raphael /trunk/services/modules/0.1/baseflor/ "config/baseflor: le paramètre \"graduations_id\", fait partie de la sous-section \"Paramètre\".
D'où suppression de la tolérance de ce paramètre à la racine du tableau configuration.
 
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
967 3838 d 2 h raphael /trunk/services/modules/0.1/baseflor/ baseflor: lors d'une indirection vers TaxonsSup (depuis Informations.php l. 70), les paramètres limite et départ (non-supportés) faisaient échouer la requête initiale  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
964 3841 d 19 h raphael /trunk/services/modules/0.1/baseflor/ baseflor: clarification de l'indirection sur TaxonSup ou Baseflor selon que le taxon est un nom retenu ou non
+ retour d'un tableau json vide en cas d'absence de données pour un taxon existant.
Cela évite des notices liées à un échec de json_decode() dans eflore/consultation
dans le cas d'un taxon étant un synonyme (ex: 83587)
 
/trunk/services/modules/0.1/baseflor/Informations.php
960 3841 d 21 h raphael /trunk/services/ baseveg: factorisation de code + tests (+ bugfix baseflor, follow-up r959  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseveg/syntaxons/SyntaxonsCommun.php
/trunk/services/tests/0.1/baseveg/SyntaxonsTest.php
959 3841 d 22 h raphael /trunk/services/ baseflor: factorisation de code + tests  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
958 3841 d 23 h raphael /trunk/services/ config: baseflor: la directive "champs_ontologiques" est dans la section [Paramètres]  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
950 3845 d 0 h raphael /trunk/services/modules/0.1/ tests: fix de notices dans les webservices baseflor  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseveg/syntaxons/SyntaxonsCommun.php
/trunk/services/modules/0.1/baseveg/syntaxons/SyntaxonsRelationsToutes.php
/trunk/services/modules/0.1/baseveg/syntaxons/SyntaxonsTous.php
942 3845 d 5 h delphine /trunk/services/modules/0.1/baseflor/ changement de version remplacement de idiotaxon par nom_sci  
/trunk/services/modules/0.1/baseflor/GraphiquesBaseflor.php
/trunk/services/modules/0.1/baseflor/Informations.php
916 3866 d 1 h jpm /trunk/services/modules/0.1/ Mise en forme.  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
/trunk/services/modules/0.1/bdtxa/cartes/TaxonsCartes.php
/trunk/services/modules/0.1/chorodep/cartes/TaxonsCartes.php
907 3872 d 4 h delphine /trunk/services/modules/0.1/baseflor/ champ idiotaxon est devenu nom_sci dans nouvelle version  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
836 3898 d 1 h raphael /trunk/services/modules/0.1/baseflor/ baseflor: Support des requêtes ontologies multiplexées.
Le code des ontologies communes aux référentiels (bdnt) et celui des
ontologies baseflor était à l'origine *quasi-similaire*.

Ainsi à l'aide d'un peu de fuzzing et quelques tweaks, le patch représentant
l'historique du passage au multiplexage pour les ontologies bdnt s'applique
à baseflor:
$ svn diff -r300:HEAD services/modules/0.1/commun/Ontologies.php|patch -p4 -F3

Un peu de contexte: les ontologies baseflor sont nécessaires:
* lors de l'affichage de l'onglet "écologie" d'eflore consultation
* plus précisément dans les graphiques
* plus précisément encore dans les légendes

Ainsi ce n'était pas moins de 94 requêtes HTTP (moyenne) qui étaient
effectuées sur le modèle suivant:
/service:eflore:0.1/baseflor/ontologies/VES:8
/service:eflore:0.1/baseflor/ontologies/VEC:6
...

Avec ce commit il est désormais possible de multiplexer les critères:
/service:eflore:0.1/baseflor/ontologies/VEL:1,VEL:2,VEL:3,VEL:4,VEL:5,VEL:6,VEL:7,VEL:8 ...
Les valeurs sont retournées dans un tableau indexé par critère, eg:
{ "VEHE:7": { ... }, "VER:7": { ... } }

Le côté client sera implémenté dans:
eflore consultation: metier/api_0.1/Graphiques.php

TODO: tests phpunit
 
/trunk/services/modules/0.1/baseflor/Ontologies.php
808 3903 d 23 h raphael /trunk/services/modules/0.1/baseflor/ r807 follow-up: conflit de nom de méthode pour convertirEnPNGAvecRsvg|indexerFichierPng dans CommunGraphiques.php  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
797 3905 d 3 h raphael /trunk/services/ config: substitution des directives de configuration `cache.*` par `cache_*`

Commande effectuée:
$ sed -i -r \
-e 's/cache\.(stockageChemin|miseEnCache|dureeDeVie)/cache_\1/' \
-e "s/\$this->config\['cache'\]\['(stockageChemin|miseEnCache|dureeDeVie)'\]/\$this->config['cache_\1']/" \
$(egrep -rl 'cache.*(miseEnCache|dureeDeVie|stockageChemin)')
 
/trunk/services/configurations/config_baseflor.ini
/trunk/services/configurations/config_bdtxa.ini
/trunk/services/configurations/config_chorodep.ini
/trunk/services/configurations/config_eflore.ini
/trunk/services/configurations/config_moissonnage.ini
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
/trunk/services/modules/0.1/bdtxa/cartes/TaxonsCartes.php
/trunk/services/modules/0.1/chorodep/cartes/TaxonsCartes.php
794 3905 d 21 h raphael /trunk/services/modules/0.1/ projets/tests: correction d'une régression de r791: les segments d'URL supplémentaires n'étaient pas pris en compte  
/trunk/services/modules/0.1/Projets.php
/trunk/services/modules/0.1/baseflor/Ontologies.php
791 3905 d 22 h raphael /trunk/services/modules/0.1/ projets/tests: workaround autour du fait qu'on cherche à utiliser parfois simultanément
plusieurs classes distinctes utilisant le même nom sans namespace (PHP-5.2)... no comment
testsuite "services": 13 échecs
 
/trunk/services/modules/0.1/Projets.php
/trunk/services/modules/0.1/baseflor/Ontologies.php
/trunk/services/modules/0.1/baseveg/Ontologies.php
/trunk/services/modules/0.1/chorodep/Ontologies.php
/trunk/services/modules/0.1/eflore/Ontologies.php
/trunk/services/modules/0.1/moissonnage/Ontologies.php

Show All