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
2206 3712 d 1 h aurelien /trunk/jrest/lib/ Ajout d'une fonction pour renvoyer simplement l'id utilisateur associé à une obs  
/trunk/jrest/lib/RechercheObservation.php
2143 3747 d 23 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 3776 d 1 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 3776 d 4 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 3778 d 5 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 3781 d 21 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 3795 d 23 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 3796 d 0 h aurelien /trunk/jrest/lib/ La recherche d'observation accepte désormais un tri pour le retour  
/trunk/jrest/lib/RechercheObservation.php
1838 3917 d 21 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 3971 d 0 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 3971 d 4 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 3992 d 23 h aurelien /trunk/jrest/ Refactorisation de la classe d'export + harmonisation linguistique  
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/ExportXLS.php
1634 3998 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 4000 d 5 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 4013 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
1581 4026 d 21 h jpm /trunk/jrest/lib/ Mise en forme.  
/trunk/jrest/lib/RechercheObservation.php
1570 4029 d 2 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 4064 d 2 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
1491 4103 d 5 h aurelien /trunk/jrest/lib/ Ajout de méthodes renvoyant l'email d'un utilisateur suivant un id image ou obs donné  
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
1398 4377 d 4 h aurelien /trunk/jrest/ AMélioration des tris et de l'export  
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/InventoryExport.php

Show All