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
2462 3547 d 6 h jpm /trunk/jrest/ Mise en forme, ajout d'entête et amélioration du code.  
/trunk/jrest/bibliotheque/CelRestClient.php
/trunk/jrest/bibliotheque/Decoupage.php
/trunk/jrest/bibliotheque/DecoupageNomLatin.php
/trunk/jrest/bibliotheque/Decoupage.class.php
/trunk/jrest/bibliotheque/DecoupageNomLatin.class.php
/trunk/jrest/bibliotheque/RechercheInfosTaxon.php
/trunk/jrest/services/CelRestClient.php
/trunk/jrest/bibliotheque/ChampEtendu.php
/trunk/jrest/bibliotheque/GenerateurPDF.php
/trunk/jrest/bibliotheque/GestionChampsEtendus.php
/trunk/jrest/bibliotheque/GestionMotsClesChemin.php
/trunk/jrest/bibliotheque/GestionObservation.php
/trunk/jrest/bibliotheque/ImageRecreation.php
/trunk/jrest/bibliotheque/NameParser.php
/trunk/jrest/bibliotheque/RechercheImage.php
/trunk/jrest/bibliotheque/RechercheInfosTaxonBeta.php
/trunk/jrest/bibliotheque/RechercheObservation.php
/trunk/jrest/services/CatalogueChampsEtendus.php
/trunk/jrest/services/CelImage.php
/trunk/jrest/services/CelImageDoublon.php
/trunk/jrest/services/CelRadiusPoints.php
/trunk/jrest/services/CelStatistique.php
/trunk/jrest/services/CelStatistiqueTxt.php
/trunk/jrest/services/CelSyndicationImage.php
/trunk/jrest/services/CelSyndicationObservation.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/CelWidgetMap.php
/trunk/jrest/services/CelWidgetMapPoint.php
/trunk/jrest/services/CelWidgetSaisie.php
/trunk/jrest/services/CelWidgetUploadImageTemp.php
/trunk/jrest/services/CoordSearch.php
2459 3549 d 0 h jpm /trunk/jrest/ Création d'un dossier "bibliotheque" contenant le code métier du CEL.
Déplacement des bibliothèques métiers du CEL dans le dossier "bibliotheque".
Ajout à l'autoload du dossier "bibliotheque".
 
/trunk/jrest/bibliotheque
/trunk/jrest/bibliotheque/Bdd.php
/trunk/jrest/bibliotheque/Bdd2.php
/trunk/jrest/bibliotheque/CartoGroupage.php
/trunk/jrest/bibliotheque/Cel.php
/trunk/jrest/bibliotheque/ChampEtendu.php
/trunk/jrest/bibliotheque/Decoupage.class.php
/trunk/jrest/bibliotheque/DecoupageNomLatin.class.php
/trunk/jrest/bibliotheque/ExtracteurMetadonnees.php
/trunk/jrest/bibliotheque/FormateurGroupeColonne.php
/trunk/jrest/bibliotheque/GenerateurPDF.php
/trunk/jrest/bibliotheque/GestionChampsEtendus.php
/trunk/jrest/bibliotheque/GestionImage.php
/trunk/jrest/bibliotheque/GestionMotsClesChemin.php
/trunk/jrest/bibliotheque/GestionObservation.php
/trunk/jrest/bibliotheque/ImageRecreation.php
/trunk/jrest/bibliotheque/NameParser.php
/trunk/jrest/bibliotheque/RechercheImage.php
/trunk/jrest/bibliotheque/RechercheInfosTaxon.php
/trunk/jrest/bibliotheque/RechercheInfosTaxonBeta.php
/trunk/jrest/bibliotheque/RechercheObservation.php
/trunk/jrest/lib/Bdd.php
/trunk/jrest/lib/Bdd2.php
/trunk/jrest/lib/CartoGroupage.php
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/ChampEtendu.php
/trunk/jrest/lib/Decoupage.class.php
/trunk/jrest/lib/DecoupageNomLatin.class.php
/trunk/jrest/lib/ExtracteurMetadonnees.php
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/lib/GenerateurPDF.php
/trunk/jrest/lib/GestionChampsEtendus.php
/trunk/jrest/lib/GestionImage.php
/trunk/jrest/lib/GestionMotsClesChemin.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/ImageRecreation.php
/trunk/jrest/lib/NameParser.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheInfosTaxon.php
/trunk/jrest/lib/RechercheInfosTaxonBeta.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/index.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/ImportXLS.php
2206 3716 d 3 h aurelien /trunk/jrest/lib/ Ajout d'une fonction pour renvoyer simplement l'id utilisateur associé à une obs  
/trunk/jrest/lib/RechercheObservation.php
2143 3752 d 1 h jpm /trunk/jrest/ Simplification des méthodes de requétage de la classe BDD.
Mise à jour de l'ensemble des services et bibliothèques
 
/trunk/jrest
/trunk/jrest/jrest.ini.php.defaut
/trunk/jrest/lib/Bdd2.php
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/lib/GestionChampsEtendus.php
/trunk/jrest/lib/GestionImage.php
/trunk/jrest/lib/GestionMotsClesChemin.php
/trunk/jrest/lib/GestionObservation.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/CelObs.php
/trunk/jrest/services/CelStatistique.php
/trunk/jrest/services/CelStatistiqueTxt.php
/trunk/jrest/services/CelSuppressionObservation.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/ImageDateList.php
/trunk/jrest/services/InventoryByDept.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/NomsChampsEtendus.php
/trunk/jrest/services/SelfRefList.php
2060 3780 d 3 h aurelien /trunk/jrest/ SUppression de classes devenues inutiles (laisonMotsCles et InventoryKeywordList) et adaptation des classes utilisatrices en conséquence  
/trunk/jrest/lib/LiaisonMotsCles.php
/trunk/jrest/services/InventoryKeyWordList.php
/trunk/jrest/lib/GestionMotsClesChemin.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/InventoryKeyWordImageLink.php
/trunk/jrest/services/InventoryKeyWordObsLink.php
/trunk/jrest/services/User.php
2059 3780 d 6 h aurelien /trunk/jrest/lib/ Utilisation d'un template pour la requete de recherche par id mot clé dans la recherche image et obs afin que les noms de tables et champs soient centralisés au même endroit  
/trunk/jrest/lib/GestionMotsClesChemin.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
2043 3782 d 7 h aurelien /trunk/jrest/lib/ Correction des noms de tables afférents aux mots clés + déplacement de fonctions d'une classe à l'autre  
/trunk/jrest/lib/GestionMotsClesChemin.php
/trunk/jrest/lib/LiaisonMotsCles.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
2042 3785 d 23 h aurelien /trunk/ 3/4 du passage à la nouvelle librairie de gestion de mots clés effectués (reste les widgets à gérer)  
/trunk/src/org/tela_botanica/client/util/MotsClesUtilitaire.java
/trunk/jrest/lib/Bdd2.php
/trunk/jrest/lib/GestionMotsClesChemin.php
/trunk/jrest/lib/LiaisonMotsCles.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/src/org/tela_botanica/client/image/ImageMediateur.java
/trunk/src/org/tela_botanica/client/image/ImageModele.java
/trunk/src/org/tela_botanica/client/modeles/dao/MotsClesAsynchroneDAO.java
/trunk/src/org/tela_botanica/client/observation/ObservationMediateur.java
/trunk/src/org/tela_botanica/client/observation/ObservationModele.java
/trunk/src/org/tela_botanica/client/vues/ArbreMotsClesFiltreVue.java
/trunk/src/org/tela_botanica/client/vues/ArbreMotsClesVue.java
/trunk/src/org/tela_botanica/client/vues/image/filtres/ArbreDateImageFiltreVue.java
/trunk/src/org/tela_botanica/client/vues/observation/filtres/ArbreDateObservationFiltreVue.java
/trunk/src/org/tela_botanica/client/vues/observation/filtres/ArbreMotsClesObservationVue.java
2039 3800 d 1 h aurelien /trunk/jrest/lib/ Tests sur les champs de tri et la direction afin d'éviter les injections sql (étant donné qu'on ne peut pas les "quoter")  
/trunk/jrest/lib/RechercheObservation.php
2035 3800 d 2 h aurelien /trunk/jrest/lib/ La recherche d'observation accepte désormais un tri pour le retour  
/trunk/jrest/lib/RechercheObservation.php
1838 3921 d 23 h raphael /trunk/jrest/lib/ InventoryObservationList: le test de NULLité se fait sur la valeur passée et non sur le nom, afin que, par exemple, ?lieudit=NULL test "IS NULL" et non "= 'NULL'" (cf filtrage par localités)  
/trunk/jrest/lib/RechercheObservation.php
1765 3975 d 2 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
1755 3975 d 6 h raphael /trunk/jrest/ divers bugfixes: notices, undefined variables, gestion d'erreur, débugage  
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/GestionImage.php
/trunk/jrest/lib/ImageRecreation.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/ExportXLS.php
/trunk/jrest/services/InventoryExport.php
1644 3997 d 1 h aurelien /trunk/jrest/ Refactorisation de la classe d'export + harmonisation linguistique  
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/ExportXLS.php
1634 4002 d 2 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 4004 d 7 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
1598 4017 d 2 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
1581 4030 d 23 h jpm /trunk/jrest/lib/ Mise en forme.  
/trunk/jrest/lib/RechercheObservation.php
1570 4033 d 4 h aurelien /trunk/jrest/lib/ Adaptation de la librairie de recherche obs pour les champs étendus version nouveau format  
/trunk/jrest/lib/RechercheObservation.php
1527 4068 d 4 h aurelien /trunk/jrest/ Factorisation de code + gestion des champs étendus pour les obs et les images  
/trunk/jrest/lib/GestionChampsTags.php
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/GestionChampsEtendus.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/RechercheInfosTaxonBeta.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/CelWidgetSaisie.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImportExcel.php
/trunk/jrest/services/NameImage.php
/trunk/jrest/services/NameMap.php
/trunk/jrest/services/NameSearch.php

Show All