Subversion Repositories eFlore/Projets.eflore-projets

Rev

Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
974 3818 d 23 h jpm /tags/v5.2-alpage/ Tag de la v5.2-alpage  
/tags/v5.2-alpage
968 3849 d 0 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 3849 d 0 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 3852 d 16 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 3852 d 19 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 3852 d 20 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 3852 d 21 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 3855 d 22 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 3856 d 2 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 3876 d 23 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 3883 d 2 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 3908 d 23 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 3914 d 21 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 3916 d 1 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 3916 d 19 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 3916 d 20 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
788 3917 d 20 h raphael /trunk/services/ webservices: fix des tests sur baseflor/informations (paramètres depart/limite)  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
783 3917 d 23 h raphael /trunk/services/ webservices: actualisation de plusieurs tests (ontologies/baseflor)  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
/trunk/services/tests/0.1/commun/CommunOntologiesTest.php
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
765 3945 d 2 h raphael /trunk/services/modules/0.1/ ontologies: follow-up r759 et r762: utilisation de Bdd::MODE_OBJET pour le fetch PDO [dépend de la r429 du Framework]  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
764 3945 d 2 h raphael /trunk/services/modules/0.1/baseflor/ ontologies: suppression de l'appel au webservice des ontologies baseflor (InformationsBaseflor) par une requête SQL directe hyper-simplifiée [dépend de la r429 du Framework]  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
763 3945 d 3 h raphael /trunk/services/modules/0.1/baseflor/ ontologies: suppression de l'appel au webservice des ontologies baseflor (CommunGraphiques) par une requête SQL directe hyper-simplifiée [dépend de la r429 du Framework]  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
762 3945 d 4 h raphael /trunk/services/modules/0.1/baseflor/ ontologies: suppression de l'appel au webservice des ontologies baseflor (InformationsTaxonsSup) par une requête SQL directe hyper-simplifiée  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
761 3945 d 4 h raphael /trunk/services/modules/0.1/baseflor/ baseflor: gestion d'erreur: reformulations/typo mineures  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
725 3980 d 2 h raphael /trunk/services/modules/0.1/baseflor/ svg: synchro trunk/eflore-test qui pose la question des valeurs à 0
pour ce qui concerne les données d'optimum écologique.
 
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
712 3987 d 3 h aurelien /trunk/services/modules/0.1/baseflor/ Ajout de try catch sur la récupération d'ontologie  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
/trunk/services/modules/0.1/baseflor/GraphiquesTaxonsSup.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
698 4019 d 19 h delphine /trunk/services/modules/0.1/baseflor/ modification de la modif precedent  
/trunk/services/modules/0.1/baseflor/GraphiquesTaxonsSup.php
697 4020 d 3 h aurelien /trunk/services/modules/0.1/baseflor/ debug  
/trunk/services/modules/0.1/baseflor/GraphiquesBaseflor.php
/trunk/services/modules/0.1/baseflor/GraphiquesTaxonsSup.php
647 4090 d 20 h aurelien /trunk/services/modules/0.1/baseflor/ Correction fonction mal appelée sur baseflor  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
618 4262 d 1 h mathilde /trunk/services/modules/0.1/baseflor/ on ne renvoie pas les liens vers des graphiques sans valeurs écologiques  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
617 4262 d 2 h mathilde /trunk/services/modules/0.1/baseflor/ pas de lien vers un service-web graphique si pas de données écologiques  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
615 4266 d 4 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/Informations.php
614 4266 d 21 h mathilde /trunk/services/modules/0.1/baseflor/ nouveau paramètre masque.cat  
/trunk/services/modules/0.1/baseflor/Informations.php
612 4279 d 1 h mathilde /trunk/services/modules/0.1/baseflor/ ajout parametre masque sur le catminat  
/trunk/services/modules/0.1/baseflor/Informations.php
596 4296 d 2 h mathilde /trunk/services/modules/0.1/baseflor/ correction du traitement des versions pour Informations  
/trunk/services/modules/0.1/baseflor/Informations.php
592 4301 d 23 h mathilde /trunk/services/modules/0.1/baseflor/ ajout de la possibilité d'appeler une liste de résultats sans limites  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
585 4302 d 1 h mathilde /trunk/services/modules/0.1/baseflor/ corrections  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
580 4316 d 23 h mathilde /trunk/services/modules/0.1/baseflor/ changement dans les champs.  
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
579 4317 d 0 h mathilde /trunk/services/modules/0.1/baseflor/ modification pour ajout d'un sous-service relations/catminat  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
560 4332 d 3 h aurelien /trunk/services/modules/0.1/baseflor/ Correction d'un bug de dimension des graphiques qui les faisait planter sous chrome et safari  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
556 4337 d 23 h mathilde /trunk/services/modules/0.1/baseflor/  
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php