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
2491 3563 d 3 h aurelien /branches/v2.8-houe/jrest/services/ Dépublication des images sur suppression de l'observation associée  
/branches/v2.8-houe/jrest/services/Inventory.php
/branches/v2.8-houe/jrest/services/InventoryObservationList.php
2470 3565 d 8 h mathias /branches/v2.8-houe/ Création branche v2.8-houe  
/branches/v2.8-houe
2458 3570 d 0 h jpm /trunk/jrest/services/ Mise en forme et ajout des entêtes.  
/trunk/jrest/services/InventoryByDept.php
/trunk/jrest/services/InventoryCheck.php
/trunk/jrest/services/TestNameParser.php
/trunk/jrest/services/CoordSearch.php
/trunk/jrest/services/ExportXLS.php
/trunk/jrest/services/ImageContribution.php
/trunk/jrest/services/ImageDateList.php
/trunk/jrest/services/ImageProvider.php
/trunk/jrest/services/ImageRDF.php
/trunk/jrest/services/ImportXLS.php
/trunk/jrest/services/Inventory.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/InventoryImageList.php
/trunk/jrest/services/InventoryImageListPublic.php
/trunk/jrest/services/InventoryImport.php
/trunk/jrest/services/InventoryImportMail.php
/trunk/jrest/services/InventoryKeyWordImageLink.php
/trunk/jrest/services/InventoryKeyWordObsLink.php
/trunk/jrest/services/InventoryKeywordTree.php
/trunk/jrest/services/InventoryLocationList.php
/trunk/jrest/services/InventoryObservationCount.php
/trunk/jrest/services/InventoryObservationList.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/Name.php
/trunk/jrest/services/NameImage.php
/trunk/jrest/services/NameMap.php
/trunk/jrest/services/NameSearch.php
/trunk/jrest/services/NomsChampsEtendus.php
/trunk/jrest/services/Resume.php
/trunk/jrest/services/SelfRefList.php
/trunk/jrest/services/User.php
2394 3589 d 3 h aurelien /trunk/jrest/ Suppression du concept de label dans les champs étendus et ajout d'un catalogue décrivant les champs ayant un role précis  
/trunk/jrest/services/CatalogueChampsEtendus.php
/trunk/jrest/services/GroupesChampsEtendus.php
/trunk/jrest/lib/ChampEtendu.php
/trunk/jrest/lib/GestionChampsEtendus.php
/trunk/jrest/services/CelObs.php
/trunk/jrest/services/CelSyndicationObservation.php
/trunk/jrest/services/CelWidgetSaisie.php
/trunk/jrest/services/ImportXLS.php
/trunk/jrest/services/Inventory.php
/trunk/jrest/services/NomsChampsEtendus.php
1939 3884 d 1 h aurelien /trunk/jrest/services/ Ajout d'un service permettant d'autcompléter sur les clés et valeurs des champs étendus  
/trunk/jrest/services/NomsChampsEtendus.php
/trunk/jrest/services/Inventory.php
1681 4009 d 6 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 4012 d 5 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 4025 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
1628 4026 d 7 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 4038 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
1590 4040 d 2 h aurelien /trunk/jrest/services/ Ajout de suppression de slashes ajouté par le serveur  
/trunk/jrest/services/Inventory.php
1571 4054 d 4 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 4075 d 4 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 4585 d 3 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 4632 d 3 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 4642 d 7 h aurelien /trunk/jrest/services/ Suppression d'un ; de trop  
/trunk/jrest/services/Inventory.php
923 4684 d 0 h aurelien /trunk/jrest/services/ Correction nom de package erroné  
/trunk/jrest/services/Inventory.php
922 4684 d 0 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 4758 d 2 h aurelien /trunk/jrest/services/ ajout d'une fonction de recherche sur le nom retenu par copié collé  
/trunk/jrest/services/Inventory.php
605 4894 d 3 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

Show All