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
3917 919 d 0 h delphine /trunk/jrest/bibliotheque/ debug : programme dans mot-clés  
/trunk/jrest/bibliotheque/RechercheObservation.php
3134 2297 d 5 h delphine /trunk/ widget export : données standard  
/trunk/jrest/bibliotheque/FormateurGroupeColonne.php
/trunk/jrest/bibliotheque/RechercheObservation.php
/trunk/jrest/bibliotheque/RechercheObservationExport.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/widget/modules/export/squelettes/export.tpl.html
3113 2521 d 6 h killian /trunk/jrest/bibliotheque/ On désactive le tri sur ordre complètement en fait (en attendant de meilleurs services)  
/trunk/jrest/bibliotheque/RechercheImage.php
/trunk/jrest/bibliotheque/RechercheObservation.php
3101 2544 d 2 h killian /trunk/jrest/bibliotheque/ typo  
/trunk/jrest/bibliotheque/RechercheObservation.php
3100 2544 d 3 h killian /trunk/jrest/bibliotheque/ Suppression du tri par défaut sur ordre des obs du CEL  
/trunk/jrest/bibliotheque/RechercheObservation.php
2570 3469 d 2 h aurelien /trunk/jrest/bibliotheque/ correction d'un paramètre de recherche mal nommé  
/trunk/jrest/bibliotheque/RechercheObservation.php
2538 3497 d 2 h aurelien /trunk/jrest/ Ajout de la gestion du champ pays  
/trunk/jrest/bibliotheque/RechercheInfosZoneGeo.php
/trunk/jrest/bibliotheque/FormateurGroupeColonne.php
/trunk/jrest/bibliotheque/GestionObservation.php
/trunk/jrest/bibliotheque/RechercheObservation.php
/trunk/jrest/jrest.ini.php.defaut
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/CoordSearch.php
/trunk/jrest/services/ImportXLS.php
/trunk/jrest/services/InventoryObservationList.php
2462 3549 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 3550 d 23 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 3718 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 3754 d 0 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 3782 d 2 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 3782 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 3784 d 6 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 3787 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 3802 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 3802 d 1 h aurelien /trunk/jrest/lib/ La recherche d'observation accepte désormais un tri pour le retour  
/trunk/jrest/lib/RechercheObservation.php
1838 3923 d 22 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 3977 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 3977 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 3999 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 4004 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 4006 d 6 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 4019 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 4032 d 23 h jpm /trunk/jrest/lib/ Mise en forme.  
/trunk/jrest/lib/RechercheObservation.php
1570 4035 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 4070 d 3 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 4109 d 6 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 4383 d 6 h aurelien /trunk/jrest/ AMélioration des tris et de l'export  
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/InventoryExport.php
1395 4383 d 7 h aurelien /trunk/jrest/ Ajout d'un paramètre de tri pour la recherche image  
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/InventoryImageListPublic.php
1390 4385 d 1 h aurelien /trunk/jrest/lib/ Correction d'un critère mal affecté  
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
1388 4385 d 6 h aurelien /trunk/jrest/lib/ Correction sous requete mots clés obs  
/trunk/jrest/lib/RechercheObservation.php
1386 4385 d 7 h aurelien /trunk/jrest/lib/ Remplacemen t d'une fonction de requete qui bugguait par un autre  
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/GestionImage.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheInfosTaxon.php
/trunk/jrest/lib/RechercheObservation.php
1380 4391 d 0 h aurelien /trunk/ Correction style des erreurs + ajout de départements multiples  
/trunk/jrest/lib/RechercheObservation.php
/trunk/widget/modules/export/squelettes/css/export.css
/trunk/widget/modules/export/squelettes/export.tpl.html
/trunk/widget/modules/export/squelettes/js/export.js
1378 4391 d 23 h aurelien /trunk/jrest/ Ajout d'un critère date début et fin pour la recherche obs  
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/CelWidgetExport.php
1332 4405 d 2 h aurelien /trunk/ Gestion des NULL est des valeurs vides dans la recherche et dans l'ajout  
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/src/org/tela_botanica/client/modeles/dao/ImageUploaderAsynchroneDAO.java
/trunk/src/org/tela_botanica/client/modeles/objets/ReferentielCommune.java
/trunk/src/org/tela_botanica/client/observation/ObservationMediateur.java
/trunk/src/org/tela_botanica/client/util/Util.java
/trunk/src/org/tela_botanica/client/vues/observation/FormulaireSaisieObservationVue.java
/trunk/src/org/tela_botanica/client/vues/observation/ListeObservationVue.java
1311 4425 d 1 h aurelien /trunk/jrest/ Fin correction pour nouvelle bdd + ajout recherche par tag dans recherche libre observation  
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
/trunk/jrest/services/CoordSearch.php
/trunk/jrest/services/InventoryImageList.php
1295 4431 d 3 h aurelien /trunk/jrest/lib/ adaptation de la recherche pas mots clés aux nouveau noms de la base de données  
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
1162 4495 d 23 h aurelien /trunk/jrest/lib/ Début adaptation recherche image et obs à la nouvelle base  
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheObservation.php
995 4613 d 2 h aurelien /trunk/jrest/lib/ Mise à jour fonctions depréciées  
/trunk/jrest/lib/GestionImage.php
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/lib/JrestService.php
/trunk/jrest/lib/NameParser.php
/trunk/jrest/lib/RechercheImage.php
/trunk/jrest/lib/RechercheInfosTaxon.php
/trunk/jrest/lib/RechercheObservation.php