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
1659 4032 d 6 h aurelien /trunk/jrest/ Adaptation au formateur groupe colonnes + ajout des champs étendus dans l'export  
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/lib/GestionChampsEtendus.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/services/CelWidgetExport.php
1657 4032 d 22 h raphael /trunk/jrest/lib/ export: typo critique dans FormateurGroupeColonne (self::$cache)  
/trunk/jrest/lib/FormateurGroupeColonne.php
1656 4032 d 22 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
1654 4033 d 3 h aurelien /trunk/jrest/ Prise en compte des groupes de colonnes dans l'export + utilisable maintenant par le cel  
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/CelWidgetExport.php
1644 4038 d 23 h aurelien /trunk/jrest/ Refactorisation de la classe d'export + harmonisation linguistique  
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/ExportXLS.php
1637 4041 d 7 h raphael /trunk/jrest/lib/ svn/cel: ajout d'une propriété svn:externals dans lib/ pour PHPExcel (github svn wrapper)  
/trunk/jrest/lib
1634 4044 d 0 h raphael /trunk/jrest/ export/xls: observation, ajoute la possibilité d'effectuer des requêtes arbitraires
à travers le constructeur de requêtes SQL sans nuire pour autant à la sécurité générale
de l'application.

+ oublie d'un require(PHPExcel)
+ ajout de debug temporaire
+ sécurisation du calcul du range() pour éviter des débordements via des valeurs nuisibles
 
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/ExportXLS.php
1631 4046 d 4 h raphael /trunk/jrest/ Cel/API: RechercheObservation->rechercherObservations() ne n'exécute plus d'emblée
la requête générée et par conséquent ne retourne pas ses résultats,
à l'exception de l'objet ($this) dont l'attribut public $requete_selection_observations
est initialisé.

La méthode get(), elle, exécute la requête et retourne les données résultantes.
Et puisque rechercherObservations() retourne l'objet, il est donc possible d'enchaîner les deux
appels en utilisant désormais la syntaxe RechercheObservation->rechercherObservations()->get().

Cela permet de découpler la génération de la requête de son exécution et donc possiblement
de manipuler la requête en plusieurs temps.
Cela pourrait s'avérer utile dans les cas où le script traitant les données souhaiterait s'architecturer
sous la forme d'un flux au fil de la récupération des enregistrements en BDD plutôt que de
compter sur l'exécution intégrale de la requête et d'attendre le retour exhaustif des données.
 
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/CelObs.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryObservationList.php
1624 4051 d 0 h aurelien /trunk/jrest/lib/OLE/PPS/ Ajout d'un @ pour empecher l'export excel de planter à cause d'une erreur PEAR (voir bug http://pear.php.net/bugs/bug.php?id=14391&edit=3)  
/trunk/jrest/lib/OLE/PPS/File.php
/trunk/jrest/lib/OLE/PPS/Root.php
1621 4051 d 23 h raphael /trunk/jrest/lib/ExcelReader/ cel/import: fix d'un bug de la librairie Excel_reader qui hardcode un encoding erroné.
(Les tableurs enregistrés par LibreOffice comportent des caractères en latin9)
 
/trunk/jrest/lib/ExcelReader/excel_reader2.php
1618 4052 d 2 h aurelien /trunk/jrest/lib/ Ajout d'une fonction permettant de supprimer le numéro de version d'un référentiel pour n'avoir que son code  
/trunk/jrest/lib/Cel.php
1615 4054 d 2 h raphael /trunk/jrest/ import: encodage utf-8 désormais postulé pour les fichiers Excel
en entrée utilisés pour l'import.
 
/trunk/jrest/lib/ExcelReader.php
/trunk/jrest/services/InventoryImportExcel.php
1605 4055 d 2 h raphael /trunk/jrest/lib/Spreadsheet/Excel/Writer/ pear: correction des erreurs PHP 5.4
pear bugs: #19359 et #19773
(http://pear.php.net/bugs/19359)
 
/trunk/jrest/lib/Spreadsheet/Excel/Writer/BIFFwriter.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Workbook.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Worksheet.php
1604 4055 d 2 h raphael /trunk/jrest/lib/ pear: mises à jour
Spreadsheet_Excel_Writer en 0.9.3
OLE en 1.0.0RC2
 
/trunk/jrest/lib/OLE
/trunk/jrest/lib/OLE.php
/trunk/jrest/lib/OLE/ChainedBlockStream.php
/trunk/jrest/lib/OLE/PPS
/trunk/jrest/lib/OLE/PPS.php
/trunk/jrest/lib/OLE/PPS/File.php
/trunk/jrest/lib/OLE/PPS/Root.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Validator.php
/trunk/jrest/lib/Spreadsheet/Excel/.directory
/trunk/jrest/lib/Spreadsheet/Excel/Writer/.directory
/trunk/jrest/lib/Spreadsheet/Excel/Writer/OLEwriter.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/BIFFwriter.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Format.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Parser.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Workbook.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Worksheet.php
1603 4055 d 4 h raphael /trunk/jrest/lib/ jrest: Excel/libs: fix des notices de référencement de variables PHP  
/trunk/jrest/lib/ExcelReader/excel_reader2.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Workbook.php
1598 4059 d 0 h raphael /trunk/jrest/ fix des "Call-time pass-by-reference" (notation supprimée en PHP-5.4)

Recherche basique des occurences:
$ find . -iname '*.php' -exec grep -iE "(\(&)|( &[a-z])" {} \;|grep -v 'function'
 
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryObservationList.php
1591 4061 d 0 h aurelien /trunk/jrest/lib/ Meilleur parsing des dates incomplètes  
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/RechercheInfosTaxonBeta.php
1585 4067 d 23 h jpm /trunk/jrest/ Mise en forme.
Compatibilité php 5.4 : passages par référence seulement dans les définitions de méthodes.
 
/trunk/jrest/lib/CartoGroupage.php
/trunk/jrest/services/CelWidgetMapPoint.php
1581 4072 d 21 h jpm /trunk/jrest/lib/ Mise en forme.  
/trunk/jrest/lib/RechercheObservation.php
1574 4075 d 0 h jpm /trunk/jrest/lib/ Amélioration de la gestion de la création des mots clés à partir des labels.  
/trunk/jrest/lib/GestionChampsEtendus.php

Show All