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
907 3917 d 6 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
903 3918 d 4 h raphael /trunk/services/tests/0.1/baseveg/ tests: simple reformatage suite aux r901 et r902 optimisant les appels d'ontologies de baseveg  
/trunk/services/tests/0.1/baseveg/SyntaxonsTest.php
902 3918 d 4 h raphael /trunk/services/modules/0.1/baseveg/syntaxons/ baseveg/ontologies: follow-up r901, suppression d'un error_log() oublié  
/trunk/services/modules/0.1/baseveg/syntaxons/SyntaxonsCommun.php
901 3918 d 4 h raphael /trunk/services/modules/0.1/baseveg/ baseveg/ontologies: ajout d'un cache aux appels d'ontologies pour les syntaxons baseveg.

Par exemple la requête suivante:
/service:eflore:0.1/baseveg/syntaxons?masque.niveau=ORD
ne fait plus qu'un unique appel HTTP à l'URL suivante:
/service:eflore:0.1/baseveg/ontologies/UP:ORD
plutôt que 100 auparavant.
 
/trunk/services/modules/0.1/baseveg/Ontologies.php
/trunk/services/modules/0.1/baseveg/syntaxons/SyntaxonsCommun.php
900 3918 d 5 h raphael /trunk/services/tests/0.1/bdtfx/ tests: ajout de tests sur les meta-données bdtfx et correction de
tests vis-à-vis de bdtfx 1.02 (jamais mise en -prod) et 2.00.
 
/trunk/services/tests/0.1/bdtfx/BdtfxLMetaTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
899 3918 d 5 h raphael /trunk/services/modules/0.1/commun/ api/aide: correction de "service.wikini" (suppression du "." dans le nom de page)
afin de pointer vers une page wikini valide.
 
/trunk/services/modules/0.1/commun/Aide.php
898 3918 d 5 h raphael /trunk/services/modules/0.1/bdtfx/ bdtfx/taxons: suppression de l'espace blanc final du nom_sci_complet en cas d'absence de
ajouterCompositionNom().

Ex: /service:eflore:0.1/bdtfx/taxons/13609/relations/superieurs?version.projet=1.01
 
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
897 3918 d 6 h raphael /trunk/services/tests/0.1/ tests: API phpunit: assertEquals(*, count(*)) => assertCount()

Substitution effectuée ainsi:
$ sed -ri "s|assertEquals\('?([0-9]+)'? *, *count\(([^)]+)\),|assertCount(\1, \2,|" $(egrep -rl "assertEquals\('?[0-9]+'? *, *count" *)
 
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
/trunk/services/tests/0.1/commun/CommunOntologiesTest.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
/trunk/services/tests/0.1/nvjfl/NvjflOntologiesTest.php
889 3924 d 0 h raphael /trunk/services/tests/0.1/nvjfl/ tests: r888 follow-up: présence de code_langue dans les retours de nvjfl  
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
888 3924 d 0 h raphael /trunk/services/modules/0.1/nvjfl/ regression de r784: "code_langue" est un attribut utilisé par eflore consultation, "langue.code" par les tests  
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
886 3924 d 2 h raphael /trunk/services/modules/0.1/moissonnage/cartes/ misc: DB logging  
/trunk/services/modules/0.1/moissonnage/cartes/SourceDonnees.php
881 3928 d 23 h raphael /trunk/services/configurations/ config: changement du chemin des webservices en -test  
/trunk/services/configurations/test-conf.sed
/trunk/services/configurations/test-sous-conf.sed
878 3929 d 1 h aurelien /trunk/services/modules/0.1/moissonnage/cartes/ Utilisateur du service utilisateurs pour remplacer les emails par les noms dans les données floradata  
/trunk/services/modules/0.1/moissonnage/cartes/SourceDonnees.php
877 3930 d 2 h raphael /trunk/services/bibliotheque/ cache: compatibilité PHP-5.2  
/trunk/services/bibliotheque/CacheEflore.php
875 3931 d 4 h aurelien /trunk/services/modules/0.1/moissonnage/cartes/ Correction d'un commentaire pour le rendre plus précis  
/trunk/services/modules/0.1/moissonnage/cartes/FormateurSVG.php
874 3931 d 4 h aurelien /trunk/services/modules/0.1/moissonnage/cartes/ Correction d'un bug dans le test sur le rang taxonomique dans le commit précédent  
/trunk/services/modules/0.1/moissonnage/cartes/FormateurSVG.php
873 3931 d 5 h aurelien /trunk/services/modules/0.1/moissonnage/cartes/ Correction temporaire pour empêcher qu'une requête sur les familles ne s'étende de manière gigantesque  
/trunk/services/modules/0.1/moissonnage/cartes/FormateurSVG.php
871 3932 d 3 h delphine /trunk/services/configurations/ changement de version bdtfx et bdnt
ajout champs + mise en variable nom table ontologies
 
/trunk/services/configurations/config_bdtfx.ini
870 3932 d 3 h delphine /trunk/services/modules/0.1/bdtfx/ changement de version bdtfx et bdnt
ajout champs + mise en variable nom table ontologies
 
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
864 3936 d 1 h raphael /trunk/services/modules/0.1/coste/ coste: code retour 409 en certains cas.
Le cas d'une demande d'index par num_nom bdtfx ne pouvant pas être
traitée par le webservice rentre tout à fait dans le cadre du code 409 (Conflict).
[ cf http://tools.ietf.org/html/rfc2616#section-10.4.5 ]
 
/trunk/services/modules/0.1/coste/Textes.php
863 3937 d 0 h raphael /trunk/services/ coste: ajout d'un retour.indexBy permettant de formater le retour des résultat indexé par coste:nn ou bdtfx:nn + tests  
/trunk/services/modules/0.1/coste/Textes.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
862 3937 d 0 h raphael /trunk/services/ coste: ajout d'un masque sur numéro taxonomique + tests  
/trunk/services/modules/0.1/coste/Textes.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
861 3937 d 0 h raphael /trunk/services/ coste: correction, le sens de l'attribut "num_nom" est différent selon coste et bdtfx  
/trunk/services/modules/0.1/coste/Textes.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
860 3937 d 1 h aurelien /trunk/services/modules/0.1/moissonnage/cartes/ Ajout d'un test pour ne pas effectuer la requete de recherche des communes lorsqu'il n'y a pas de code insee associé  
/trunk/services/modules/0.1/moissonnage/cartes/SourceDonnees.php
859 3937 d 4 h raphael /trunk/services/ coste: support du multi-num_nom: sanitization et ajout de tests  
/trunk/services/modules/0.1/coste/Textes.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
858 3937 d 5 h raphael /trunk/services/modules/0.1/coste/ coste/textes: support de requête sur de multiples numéros nomenclaturaux  
/trunk/services/modules/0.1/coste/Textes.php
857 3937 d 5 h raphael /trunk/services/configurations/ config: coste: suppression des directives inutiles/inutilisées  
/trunk/services/configurations/config_coste.ini
856 3937 d 5 h raphael /trunk/services/ coste/textes: remplacement de l'ancien webservice par la version réécrite  
/trunk/services/modules/0.1/coste/Textes2.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
855 3938 d 0 h raphael /trunk/services/tests/0.1/ coste/textes/tests: ajouts de tests pour la prochaine version du webservice coste/textes  
/trunk/services/tests/0.1/coste
/trunk/services/tests/0.1/coste/CosteNomsTest.php
/trunk/services/tests/0.1/ServiceEflorePhpUnit.php
854 3938 d 0 h raphael /trunk/services/modules/0.1/coste/ API: coste/textes: réécriture du webservice  
/trunk/services/modules/0.1/coste/Textes2.php
852 3939 d 0 h raphael /trunk/services/modules/0.1/ api: Projets passe désormais la base de données courante comme 3ème paramètre optionnel des services->consulter()  
/trunk/services/modules/0.1/Projets.php
851 3939 d 0 h raphael /trunk/services/bibliotheque/ cache: le cache (utilisé par Projet->consulter()), passe l'intégralité des paramètres reçus et non plus seulement les 2 premiers  
/trunk/services/bibliotheque/CacheEflore.php
848 3942 d 2 h raphael /trunk/services/modules/0.1/nvjfl/ nvjfl: fix 2 notices  
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
847 3942 d 2 h aurelien /trunk/services/modules/0.1/commun/ Correction des noms trop longs par troncage (temporaire normalement)  
/trunk/services/modules/0.1/commun/Commun.php
846 3942 d 5 h raphael /trunk/services/modules/0.1/cel/ cel: images: déduplications des emails générés afin d'obtenir les identités auprès de l'API de Tela.
Pour l'Acer Mons par exemple, 213 emails étaient demandés auprès de:
http://www.tela-botanica.org/service:annuaire:utilisateur/identite-par-courriel/
(autant que d'images).
En dédupliquant les identités, ce chiffres descend à 23 ce qui est moins susceptible d'atteindre
la limite de GET Apache (4096).
 
/trunk/services/modules/0.1/cel/Images.php
845 3942 d 5 h raphael /trunk/services/bibliotheque/ lib: Utilisateurs: clarification de la classe (en attendant que le RestClient soit un toolkit "stateless"  
/trunk/services/bibliotheque/Utilisateurs.php
841 3942 d 7 h raphael /trunk/services/modules/0.1/eflore/ eflore: 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, moyennant l'application manuelle du hunk #1, le patch représentant
l'historique du passage au multiplexage pour les ontologies bdnt s'applique
à eflore:
$ svn diff -r300:HEAD services/modules/0.1/commun/Ontologies.php|patch -p4 -F3

Les ontologies eflore sont nécessaires à de nombreux endroits, à commencer
par les fiches d'eflore consultation mais aussi à d'autres webservices
(par exemple meta-donnees)

Avec ce commit il est désormais possible de multiplexer les critères:
/service:eflore:0.1/eflore/ontologies/contactType:o,contactType:p,datum:wgs84
Les valeurs sont retournées dans un tableau indexé par critère, eg:
{ "datum:wgs84": { ... }, "contactType:o": { ... } }

commits connexes: 732,733,832,836
TODO: tests phpunit
 
/trunk/services/modules/0.1/eflore/Ontologies.php
839 3942 d 23 h raphael /trunk/ revert r838 (commit problem)  
/trunk/Changelog
/trunk/scripts/modules/eflore/get-donnees-fiches-eflore.php
/trunk/scripts/modules/nvjfl/Nvjfl.php
/trunk/services/bibliotheque/ReponseHttp.php
838 3942 d 23 h raphael /trunk/ misc: ajout Changelog  
/trunk/Changelog
/trunk/scripts/modules/eflore/get-donnees-fiches-eflore.php
/trunk/scripts/modules/nvjfl/Nvjfl.php
/trunk/services/bibliotheque/ReponseHttp.php
837 3942 d 23 h raphael /trunk/services/modules/0.1/commun/ meta-données: ajout d'un cache pour les ontologies redondantes  
/trunk/services/modules/0.1/commun/MetaDonnees.php