Subversion Repositories eFlore/Applications.cel

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1936 3906 d 9 h raphael /branches/v1.7-croissant/jrest/ merge: r1914 à r1935 de /jrest  
/branches/v1.7-croissant/jrest/php.ini
/branches/v1.7-croissant/jrest
/branches/v1.7-croissant/jrest/JRest.php
/branches/v1.7-croissant/jrest/lib/GestionObservation.php
/branches/v1.7-croissant/jrest/lib/RechercheInfosTaxonBeta.php
/branches/v1.7-croissant/jrest/services/ImportXLS.php
/branches/v1.7-croissant/jrest/services/InventoryObservationList.php
/branches/v1.7-croissant/jrest/tests/api.php
/branches/v1.7-croissant/jrest/tests/cmd-test.php
1914 3914 d 8 h raphael /branches/v1.7-croissant/ merge: réintégration du trunk/ dans v1.7-croissant  
/branches/v1.7-croissant/TODO
/branches/v1.7-croissant/build.properties
/branches/v1.7-croissant/jrest/services/CelWidgetUploadImageTemp.php
/branches/v1.7-croissant/jrest/services/squelettes/image_temp.tpl.xml
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-from-nom-ret.result.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-from-nom-ret.test.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-ref-badbdnffnn.result.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-ref-badbdnffnn.test.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nom-nonum.result.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nom-nonum.test.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nom-num.result.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nom-num.test.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nonom-nonum.result.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nonom-nonum.test.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nonom-num.result.php
/branches/v1.7-croissant/jrest/tests/phptests/ref-nonom-num.test.php
/branches/v1.7-croissant/src/org/tela_botanica/cel-test.gwt.xml
/branches/v1.7-croissant/src/org/tela_botanica/public
/branches/v1.7-croissant/vendors
/branches/v1.7-croissant/vendors/PHPExcel
/branches/v1.7-croissant
/branches/v1.7-croissant/Changelog
/branches/v1.7-croissant/build.xml
/branches/v1.7-croissant/doc
/branches/v1.7-croissant/doc/bdd/cel_v2.sql
/branches/v1.7-croissant/doc/bdd/schema_bdd_cel_v2.mwb
/branches/v1.7-croissant/jrest/jrest.ini.php.defaut
/branches/v1.7-croissant/jrest/lib/Cel.php
/branches/v1.7-croissant/jrest/lib/GestionObservation.php
/branches/v1.7-croissant/jrest/lib/ImageRecreation.php
/branches/v1.7-croissant/jrest/lib/LiaisonMotsCles.php
/branches/v1.7-croissant/jrest/lib/RechercheInfosTaxonBeta.php
/branches/v1.7-croissant/jrest/services/CelImageDoublon.php
/branches/v1.7-croissant/jrest/services/CelValidationObservation.php
/branches/v1.7-croissant/jrest/services/CelWidgetMapPoint.php
/branches/v1.7-croissant/jrest/services/ImportXLS.php
/branches/v1.7-croissant/jrest/services/InventoryKeyWordImageLink.php
/branches/v1.7-croissant/jrest/services/InventoryKeyWordList.php
/branches/v1.7-croissant/jrest/services/InventoryKeyWordObsLink.php
/branches/v1.7-croissant/jrest/services/InventoryObservationList.php
/branches/v1.7-croissant/jrest/services/InventoryTransmit.php
/branches/v1.7-croissant/jrest/tests/api.php
/branches/v1.7-croissant/jrest/tests/cmd-test.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-badref-bdnffnn.result.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-bdnffnt.result.php
/branches/v1.7-croissant/jrest/tests/phptests/determ-espece-noref-bdnffnn.result.php
/branches/v1.7-croissant/jrest/tests/phptests/transmission.result.php
/branches/v1.7-croissant/src/org/tela_botanica/cel2.gwt.xml
/branches/v1.7-croissant/src/org/tela_botanica/client/vues/observation/FormulaireSaisieObservationVue.java
/branches/v1.7-croissant/war/config.defaut.js
/branches/v1.7-croissant/widget/modules/cartopoint/squelettes/carte_defaut.tpl.html
/branches/v1.7-croissant/widget/modules/photo/Photo.php
/branches/v1.7-croissant/widget/modules/photo/config.defaut.ini
/branches/v1.7-croissant/widget/modules/saisie
/branches/v1.7-croissant/widget/modules/saisie/Saisie.php
/branches/v1.7-croissant/widget/modules/saisie/squelettes/biodiversite34/js/biodiversite34.js
/branches/v1.7-croissant/widget/modules/saisie/squelettes/defaut/defaut.tpl.html
/branches/v1.7-croissant/widget/modules/saisie/squelettes/defaut/js/defaut.js
/branches/v1.7-croissant/widget/modules/saisie/squelettes/florileges/florileges.tpl.html
/branches/v1.7-croissant/widget/modules/saisie/squelettes/sauvages/js/sauvages.js
/branches/v1.7-croissant/widget/modules/saisie/squelettes/sauvages/sauvages.tpl.html
/branches/v1.7-croissant/widget/widget.ini.defaut.php
1840 3964 d 11 h raphael /branches/v1.7-croissant/ branche: création de la branche "v1.7-croissant"  
/branches/v1.7-croissant
1818 3993 d 15 h raphael /trunk/jrest/ import[+tests]: typage de la colonne de CP (doubles avec leading 0) et correction de la détection du code postal + tests associés  
/trunk/jrest/tests/phptests/localisation-comm-PHPExcel-double.result.php
/trunk/jrest/tests/phptests/localisation-comm-PHPExcel-double.test.php
/trunk/jrest/tests/phptests/localisation-cp-PHPExcel-double.result.php
/trunk/jrest/tests/phptests/localisation-cp-PHPExcel-double.test.php
/trunk/jrest/services/ImportXLS.php
1814 3997 d 14 h raphael /trunk/jrest/ import: suppression du n° de version des référentiels qui posait problème lors de la détection du motif d'espèce '<ref>:(nt|nn):\d+'  
/trunk/jrest/lib/Cel.php
/trunk/jrest/services/ImportXLS.php
1812 3998 d 6 h raphael /trunk/jrest/services/ import: correction de l'ajout du pluriel, quote du ce_utilisateur lors de l'insertion et possibilité de quoter un entier lorsque cela s'avère nécessaire  
/trunk/jrest/services/ImportXLS.php
1797 4010 d 8 h raphael /trunk/jrest/services/ import: meilleure gestion du parsing de la localité (mais encore loin d'être clean)  
/trunk/jrest/services/ImportXLS.php
1792 4010 d 9 h raphael /trunk/jrest/services/ import: remplace %c => %s du printf() pouvant aboutir à des %00 dans le texte de rapport d'import  
/trunk/jrest/services/ImportXLS.php
1784 4012 d 15 h raphael /trunk/jrest/ import: changement du pattern "BDNFF(nn|nt)XXXX" en "(bdtfx|bdtxa|isfan):(nt|nn):XXXX": modification de la recherche de taxons, de l'import et des tests  
/trunk/jrest/lib/RechercheInfosTaxonBeta.php
/trunk/jrest/services/ImportXLS.php
/trunk/jrest/tests/phptests/determ-espece-bdnffnn.test.php
/trunk/jrest/tests/phptests/determ-espece-bdnffnt.test.php
/trunk/jrest/tests/phptests/determ-espece-syno-bdnff.test.php
1781 4013 d 7 h raphael /trunk/jrest/services/ import: prise en compte des changement de r1780 par l'import: rapprochement des appels de fonctions auprès des webservices  
/trunk/jrest/services/ImportXLS.php
1779 4014 d 6 h raphael /trunk/jrest/services/ import: refus des date d'observation postérieures à demain  
/trunk/jrest/services/ImportXLS.php
1778 4014 d 7 h raphael /trunk/jrest/services/ import: suppression de notices et définition d'un référentiel par défaut pour la recherche des taxons  
/trunk/jrest/services/ImportXLS.php
1770 4017 d 7 h raphael /trunk/jrest/services/ import: suppression de notices  
/trunk/jrest/services/ImportXLS.php
1765 4018 d 9 h raphael /trunk/ merge: branche "topic-dbsingleton"  
/trunk/jrest/lib/Bdd2.php
/trunk/scripts/modules/maj-code-DB-access-201307.sh
/trunk
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/lib/GestionChampsEtendus.php
/trunk/jrest/lib/GestionImage.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/LiaisonMotsCles.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheInfosTaxon.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/CelImage.php
/trunk/jrest/services/CelImageDoublon.php
/trunk/jrest/services/CelMotCle.php
/trunk/jrest/services/CelStatistique.php
/trunk/jrest/services/CelStatistiqueTxt.php
/trunk/jrest/services/CelSyndicationImage.php
/trunk/jrest/services/CelSyndicationObservation.php
/trunk/jrest/services/CelWidgetMap.php
/trunk/jrest/services/CelWidgetMapPoint.php
/trunk/jrest/services/CelWidgetSaisie.php
/trunk/jrest/services/CoordSearch.php
/trunk/jrest/services/ImageContribution.php
/trunk/jrest/services/ImageDateList.php
/trunk/jrest/services/ImageRDF.php
/trunk/jrest/services/ImportXLS.php
/trunk/jrest/services/InventoryByDept.php
/trunk/jrest/services/InventoryCheck.php
/trunk/jrest/services/InventoryContributionList.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImportExcel.php
/trunk/jrest/services/InventoryKeyWordList.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryPDF.php
/trunk/jrest/services/InventoryTransmit.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LicenceUtilisateur.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/SelfRefList.php
/trunk/jrest/services/User.php
/trunk/src/org/tela_botanica/client/vues/image/GalerieImageVue.java
/trunk/widget/modules/saisie
1760 4018 d 10 h raphael /trunk/jrest/services/ import: support du format de date DD/MM/YYYY + référentiel par défaut = "autre"  
/trunk/jrest/services/ImportXLS.php
1756 4018 d 13 h raphael /trunk/jrest/services/ import: correction de l'import des images (quoting) et du résultat de détection d'une commune vide  
/trunk/jrest/services/ImportXLS.php
1751 4020 d 8 h raphael /trunk/jrest/services/ import: passage du référentiel comme argument du RechercheInfosTaxonBeta(), utile pour la détermination et notamment pour le motif d'espèce BDNFF(nt|nn)XXXX  
/trunk/jrest/services/ImportXLS.php
1747 4020 d 13 h raphael /trunk/jrest/services/ import: suppression de notices et restauration de la détection d'espèce sur BDNFF(nt|nn)XXXX  
/trunk/jrest/services/ImportXLS.php
1743 4021 d 9 h raphael /trunk/jrest/services/ import: restauration de l'utilisation de la recherche sur pattern BDNFFnnXXXXX/BDNFFntXXXXX pour le nom d'espèce saisie  
/trunk/jrest/services/ImportXLS.php
1741 4021 d 11 h raphael /trunk/jrest/ export: quick and dirty implementation de l'ordre des champs étendus, spécifiquement pour Florilèges  
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/ImportXLS.php
1732 4025 d 15 h raphael /trunk/jrest/services/ import: typo dans le prototype du constructeur  
/trunk/jrest/services/ImportXLS.php
1699 4028 d 7 h raphael /trunk/jrest/ import/export: Ajout de l'altitude à l'export et support de l'import  
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/ImportXLS.php
1698 4028 d 7 h raphael /trunk/jrest/ import/export: suppression de code de débuggage et correction de l'import des date/time.  
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/ImportXLS.php
1697 4028 d 11 h raphael /trunk/jrest/services/ import: compat PHP 5.2, suppression des gotos  
/trunk/jrest/services/ImportXLS.php
1688 4028 d 15 h raphael /trunk/jrest/services/ import: quelques ajout d'infos additionnelles à propos de la tentative de
détermination des noms scientifiques avec la nouvelle table cel_references.
 
/trunk/jrest/services/ImportXLS.php
1678 4033 d 6 h raphael /trunk/jrest/services/ import: stub pour l'import des mots-clefs (bis)  
/trunk/jrest/services/ImportXLS.php
1677 4033 d 7 h raphael /trunk/jrest/services/ import: stub pour l'import des mots-clefs  
/trunk/jrest/services/ImportXLS.php
1675 4033 d 9 h raphael /trunk/jrest/services/ import: compatibilité PHP 5.2 (fonctions anonymes indisponibles)  
/trunk/jrest/services/ImportXLS.php
1656 4034 d 7 h raphael /trunk/jrest/ export: mise à jour de FormateurGroupeColonne
* suppression du code déplacé de ExportXLS
* mise à jour de ImportXLS en conséquence
* gestion du cas particulier FormateurGroupeColonne::getImages()
* indent/header
 
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/ExportXLS.php
/trunk/jrest/services/ImportXLS.php
1651 4035 d 13 h raphael /trunk/jrest/services/ import/bugfix: n'écrase plus le nom d'espèce saisi (nom_sel)  
/trunk/jrest/services/ImportXLS.php
1650 4035 d 13 h raphael /trunk/jrest/services/ import: correction/finalisation de l'association des images mentionnées dans le fichier importé  
/trunk/jrest/services/ImportXLS.php
1649 4035 d 15 h raphael /trunk/jrest/services/ import: changements mineurs au niveau de l'échappement et de l'initialisation des PDO::Statements  
/trunk/jrest/services/ImportXLS.php
1648 4038 d 9 h raphael /trunk/jrest/services/ import: implémentation des insertions sous forme de PDOStatement multiples.
Reste le problème du typage des données (bool, float) qui n'est pas
encore résolu (nécessiterait des named-placeholders + PDO::bindParam())
 
/trunk/jrest/services/ImportXLS.php
1646 4039 d 9 h raphael /trunk/jrest/services/ import: changement nom_d_ensemble_vers_liste_de_colonnes() => nomEnsembleVersListeColonnes() suite à r1644  
/trunk/jrest/services/ImportXLS.php
1642 4040 d 12 h raphael /trunk/jrest/services/ import/export:
Import:
* gestion des images
* détection de la localisation, repris et amélioré depuis InventoryImportExcel.php
* gestion des valeurs NULL inserées en BDD
* gestion des retours d'erreurs/avertissements

Export:
* correction du status "importable" et "extra" des champs + coloration des entêtes
* support du paramètre "format" (xls, xlsx, csv)

L'import/export commence à être fonctionnel, exemple:
$ POST http://cel/jrest/ExportXLS/22506<<<"format=csv&range=342212"; | \
curl -F "upload=@-" -F utilisateur=22506 "http://cel/jrest/ImportXLS";
# 1 observation importée
 
/trunk/jrest/services/ExportXLS.php
/trunk/jrest/services/ImportXLS.php
1640 4042 d 6 h raphael /trunk/jrest/services/ import/xls: diverses améliorations significatives
* lecture de fichier XLS par chunks (par 30 lignes pour l'instant)
* introduction et réutilisation du code d'Aurélien de détection de l'espèce saisie
* meilleur traitement des dates
* support préliminaire de l'association aux images importées, tout en conservant
la possibilité d'INSERT multiples
* quelques fonctions, inutil(isé?)es relatives aux lon/lat et BBox de référentiels
 
/trunk/jrest/services/ImportXLS.php
1638 4042 d 15 h raphael /trunk/jrest/services/ import/export xls: francisation du code (sorry)  
/trunk/jrest/services/ExportXLS.php
/trunk/jrest/services/ImportXLS.php
1636 4045 d 7 h raphael /trunk/jrest/services/ import/xls: Réécriture d'une version [initiale] d'un web-service d'import
de fichier XLS.
* basé sur PHPExcel
* mutualise les informations de colonnes (à partir de ExportXLS)

Ce afin d'assurer pérennité, consistance (et autant que possible flexibilité)
au système d'import/export XLS.
Les champs importés/exportés et leurs usages pouvant être amenés à évoluer,
l'infrastructure tente d'éviter tout risque d'incohérence dans le reconnaissance des
champs tout en permettant des traitements particuliers.
 
/trunk/jrest/services/ImportXLS.php