Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1781 4007 d 13 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 4008 d 12 h raphael /trunk/jrest/services/ import: refus des date d'observation postérieures à demain  
/trunk/jrest/services/ImportXLS.php
1778 4008 d 12 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 4011 d 13 h raphael /trunk/jrest/services/ import: suppression de notices  
/trunk/jrest/services/ImportXLS.php
1765 4012 d 15 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 4012 d 15 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 4012 d 19 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 4014 d 14 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 4014 d 19 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 4015 d 15 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 4015 d 17 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 4019 d 21 h raphael /trunk/jrest/services/ import: typo dans le prototype du constructeur  
/trunk/jrest/services/ImportXLS.php
1699 4022 d 13 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 4022 d 13 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 4022 d 17 h raphael /trunk/jrest/services/ import: compat PHP 5.2, suppression des gotos  
/trunk/jrest/services/ImportXLS.php
1688 4022 d 21 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 4027 d 12 h raphael /trunk/jrest/services/ import: stub pour l'import des mots-clefs (bis)  
/trunk/jrest/services/ImportXLS.php
1677 4027 d 12 h raphael /trunk/jrest/services/ import: stub pour l'import des mots-clefs  
/trunk/jrest/services/ImportXLS.php
1675 4027 d 15 h raphael /trunk/jrest/services/ import: compatibilité PHP 5.2 (fonctions anonymes indisponibles)  
/trunk/jrest/services/ImportXLS.php
1656 4028 d 13 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 4029 d 19 h raphael /trunk/jrest/services/ import/bugfix: n'écrase plus le nom d'espèce saisi (nom_sel)  
/trunk/jrest/services/ImportXLS.php
1650 4029 d 19 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 4029 d 20 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 4032 d 14 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 4033 d 15 h raphael /trunk/jrest/services/ import: changement nom_d_ensemble_vers_liste_de_colonnes() => nomEnsembleVersListeColonnes() suite à r1644  
/trunk/jrest/services/ImportXLS.php
1642 4034 d 18 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 4036 d 12 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 4036 d 21 h raphael /trunk/jrest/services/ import/export xls: francisation du code (sorry)  
/trunk/jrest/services/ExportXLS.php
/trunk/jrest/services/ImportXLS.php
1636 4039 d 12 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