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
1681 3988 d 5 h raphael /trunk/jrest/services/ ajout/edit obs: fix d'une régression: champ date devenu obligatoire par inadvertance.
Après r1628 la date est devenue obligatoire. r1653 remédiait partiellement à ceci
(pour l'édition). Ici l'ajout d'une nouvelle observation sans date est à nouveau permise.
 
/trunk/jrest/services/Inventory.php
1653 3991 d 4 h aurelien /trunk/jrest/services/ Correction d'un bug de suppression des obs + correction d'un bug sur la présence de la date  
/trunk/jrest/services/Inventory.php
1631 4004 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
1628 4005 d 5 h raphael /trunk/ cel/saisie: Refus de la saisie lors de l'ajout ou de la modification d'une entrée
comportant une date "invalide", c'est à dire postérieur à now().
* côté client, le DateField GWT se voit donc appliqué une contrainte de date maximum (setMaxValue())
* côté backend, une 400 (Bad Request) est renvoyée
 
/trunk/jrest/JRest.php
/trunk/jrest/services/Inventory.php
/trunk/src/org/tela_botanica/client/modeles/dao/ObservationAsynchroneDAO.java
/trunk/src/org/tela_botanica/client/vues/observation/FormulaireSaisieObservationVue.java
1598 4017 d 1 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
1590 4019 d 1 h aurelien /trunk/jrest/services/ Ajout de suppression de slashes ajouté par le serveur  
/trunk/jrest/services/Inventory.php
1571 4033 d 3 h aurelien /trunk/jrest/services/ Modification des services pour s'adapter aux nouveaux formats des champs étendus  
/trunk/jrest/services/CelSyndicationObservation.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/jrest/services/CelWidgetSaisie.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryObservationList.php
1548 4054 d 3 h aurelien /trunk/jrest/ Ajout de la gestion des champs étendus dans l'ajout et la modification unitaire des observations  
/trunk/jrest/lib/GestionObservation.php
/trunk/jrest/services/Inventory.php
1014 4564 d 2 h aurelien /trunk/jrest/services/ Petites optimisation de code + réparation mots clés  
/trunk/jrest/services/CelWidgetMap.php
/trunk/jrest/services/ImageDateList.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryImage.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryKeyWordList.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryObservationCount.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LicenceUtilisateur.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Name.php
/trunk/jrest/services/NameImage.php
/trunk/jrest/services/NameMap.php
/trunk/jrest/services/NameSearch.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/SelfRefList.php
/trunk/jrest/services/User.php
996 4611 d 2 h aurelien /trunk/jrest/ Mise à jour fonctions depréciées  
/trunk/jrest/lib/ExcelReader/excel_reader2.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Parser.php
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Worksheet.php
/trunk/jrest/services/Cel.php
/trunk/jrest/services/ImageContribution.php
/trunk/jrest/services/ImageDateList.php
/trunk/jrest/services/ImageRDF.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryByDept.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImage.php
/trunk/jrest/services/InventoryImageCount.php
/trunk/jrest/services/InventoryImageExport.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryImport.php
/trunk/jrest/services/InventoryImportExcel.php
/trunk/jrest/services/InventoryKeyWordImageLink.php
/trunk/jrest/services/InventoryKeyWordList.php
/trunk/jrest/services/InventoryKeyWordObsLink.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryMaintenance.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/InventoryPDF.php
/trunk/jrest/services/InventoryTransmit.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/SelfRefList.php
/trunk/jrest/services/User.php
983 4621 d 5 h aurelien /trunk/jrest/services/ Suppression d'un ; de trop  
/trunk/jrest/services/Inventory.php
923 4662 d 23 h aurelien /trunk/jrest/services/ Correction nom de package erroné  
/trunk/jrest/services/Inventory.php
922 4662 d 23 h aurelien /trunk/jrest/services/ Migration du service crud d'observation pour qu'il utilise la librairie gestionObservation (un peu de doc sur les fonctions à faire)  
/trunk/jrest/services/Inventory.php
738 4737 d 1 h aurelien /trunk/jrest/services/ ajout d'une fonction de recherche sur le nom retenu par copié collé  
/trunk/jrest/services/Inventory.php
605 4873 d 1 h aurelien /trunk/jrest/services/ Mise à jour des derniers services jrest  
/trunk/jrest/services/LicenceUtilisateur.php
/trunk/jrest/services/ImageRecreation.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryImageListPublic.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/User.php
423 4985 d 0 h aurelien /trunk/jrest/services/ Suppression d'un appel à une classe devenue inutile (JSON) remplacée par un appel à une fonction native de php  
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryItemList.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryStationList.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Name.php
/trunk/jrest/services/NameImage.php
/trunk/jrest/services/NameMap.php
/trunk/jrest/services/NameSearch.php
/trunk/jrest/services/User.php
/trunk/jrest/services/UserOpenId.php
416 4985 d 2 h aurelien /trunk/jrest/ Import des services jrest dans le dossier du carnet en ligne  
/trunk/jrest
/trunk/jrest/services
/trunk/jrest/services/.directory
/trunk/jrest/services/Cel.php
/trunk/jrest/services/CelDao.php
/trunk/jrest/services/CelImageDoublon.php
/trunk/jrest/services/CelStatistique.php
/trunk/jrest/services/CelSyndicationImage.php
/trunk/jrest/services/CelSyndicationObservation.php
/trunk/jrest/services/CelWidgetMap.php
/trunk/jrest/services/CodeAsync.php
/trunk/jrest/services/CoordSearch.php
/trunk/jrest/services/ImageContribution.php
/trunk/jrest/services/ImageRDF.php
/trunk/jrest/services/ImageRss.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/InventoryByDept.php
/trunk/jrest/services/InventoryCheck.php
/trunk/jrest/services/InventoryContributionList.php
/trunk/jrest/services/InventoryDateList.php
/trunk/jrest/services/InventoryExport.php
/trunk/jrest/services/InventoryImage.php
/trunk/jrest/services/InventoryImageCount.php
/trunk/jrest/services/InventoryImageExport.php
/trunk/jrest/services/InventoryImageLink.php
/trunk/jrest/services/InventoryImageList.php
/trunk/jrest/services/InventoryImport.php
/trunk/jrest/services/InventoryItemList.php
/trunk/jrest/services/InventoryKeyWordList.php
/trunk/jrest/services/InventoryKeyWordObsLink.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryMaintenance.php
/trunk/jrest/services/InventoryObservationCount.php
/trunk/jrest/services/InventoryObservationList.php
/trunk/jrest/services/InventoryPDF.php
/trunk/jrest/services/InventoryStationList.php
/trunk/jrest/services/InventoryTransmit.php
/trunk/jrest/services/InventoryUserList.php
/trunk/jrest/services/LocationSearch.php
/trunk/jrest/services/Name.php
/trunk/jrest/services/NameImage.php
/trunk/jrest/services/NameMap.php
/trunk/jrest/services/NameSearch.php
/trunk/jrest/services/PlantNetRss.php
/trunk/jrest/services/PlantNetRssParEspece.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/User.php
/trunk/jrest/services/UserOpenId.php
/trunk/jrest/services/export
/trunk/jrest/services/export/.directory
/trunk/jrest/services/include
/trunk/jrest/services/include/.directory
/trunk/jrest/services/include/extract_metadonnee.php
/trunk/jrest/services/include/stockage_fichier.php
/trunk/jrest/services/squelettes
/trunk/jrest/services/squelettes/.directory
/trunk/jrest/services/squelettes/atom.tpl.xml
/trunk/jrest/services/squelettes/carte_defaut.tpl.html
/trunk/jrest/services/squelettes/doublon_defaut.tpl.html
/trunk/jrest/services/squelettes/markerclusterer_compiled.js
/trunk/jrest/services/squelettes/opml.tpl.xml
/trunk/jrest/services/squelettes/rss1.tpl.xml
/trunk/jrest/services/squelettes/rss2.tpl.xml