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
1734 4010 d 2 h raphael /branches/topic-dbsingleton/jrest/lib/ DB/singleton: partie 10, substitution des appels utilisés dans Cel.php  
/branches/topic-dbsingleton/jrest/lib/Cel.php
1730 4010 d 22 h raphael /branches/topic-dbsingleton/jrest/ DB/singleton: partie 9, substitution des appels pour le pattern "array_map(array(,'proteger'))"  
/branches/topic-dbsingleton/jrest/lib/GestionChampsEtendus.php
/branches/topic-dbsingleton/jrest/lib/GestionImage.php
/branches/topic-dbsingleton/jrest/lib/GestionObservation.php
/branches/topic-dbsingleton/jrest/lib/RechercheObservation.php
/branches/topic-dbsingleton/jrest/services/CelWidgetSaisie.php
1729 4010 d 22 h raphael /branches/topic-dbsingleton/jrest/lib/ DB/singleton: partie 8, suppression des wrappers de compatibilité pour les 7 fonctions substituées automatiquement  
/branches/topic-dbsingleton/jrest/lib/Cel.php
1728 4010 d 22 h raphael /branches/topic-dbsingleton/jrest/services/ DB/singleton: partie 7, modification manuelle de ImportXLS.php: simplification des prototypes de fonctions  
/branches/topic-dbsingleton/jrest/services/ImportXLS.php
1727 4010 d 23 h raphael /branches/topic-dbsingleton/jrest/services/ DB/singleton: partie 6, substitutions automatiques des appels à $this->bdd->quote(): 25 substitutions effectuées  
/branches/topic-dbsingleton/jrest/services/CelImageDoublon.php
/branches/topic-dbsingleton/jrest/services/CelStatistique.php
/branches/topic-dbsingleton/jrest/services/CelStatistiqueTxt.php
/branches/topic-dbsingleton/jrest/services/CelSyndicationImage.php
/branches/topic-dbsingleton/jrest/services/CelSyndicationObservation.php
/branches/topic-dbsingleton/jrest/services/CelWidgetMap.php
/branches/topic-dbsingleton/jrest/services/CelWidgetMapPoint.php
/branches/topic-dbsingleton/jrest/services/CelWidgetSaisie.php
/branches/topic-dbsingleton/jrest/services/ImportXLS.php
1725 4010 d 23 h raphael /branches/topic-dbsingleton/jrest/services/ DB/singleton: partie 4, modification manuelle des appels de jrest/services/CelSyndicationImage.php  
/branches/topic-dbsingleton/jrest/services/CelSyndicationImage.php
1724 4010 d 23 h raphael /branches/topic-dbsingleton/jrest/ DB/singleton: partie 3, substitutions automatiques des appels dans jrest/ effectuée par script:
* 489 appels modifiés
* 1 fichier reste à modifier manuellement car il surcharge certaines méthodes: jrest/services/CelSyndicationImage.php

La commande, générée, appliquée est:
sed -i -E 's;\$this->(requeter|executer|protegerRequete|proteger|executerRequeteSimple|executerRequete|getTxt)\(;Cel::db()->\1(;g' \
jrest/lib/RechercheObservation.php \
jrest/lib/GestionObservation.php \
jrest/lib/RechercheInfosTaxonBeta.php \
jrest/lib/GestionImage.php \
jrest/lib/RechercheInfosTaxon.php \
jrest/lib/LiaisonMotsCles.php \
jrest/lib/RechercheImage.php \
jrest/lib/GestionChampsEtendus.php \
jrest/services/CelObs.php \
jrest/services/CelWidgetMap.php \
jrest/services/CelWidgetMapPoint.php \
jrest/services/InventoryImageCount.php \
jrest/services/InventoryObservationList.php \
jrest/services/Name.php \
jrest/services/InventoryImageList.php \
jrest/services/InventoryImageLink.php \
jrest/services/CelSyndicationObservation.php \
jrest/services/InventoryLocationList.php \
jrest/services/InventoryCheck.php \
jrest/services/ImageDateList.php \
jrest/services/ImageContribution.php \
jrest/services/ImportXLS.php \
jrest/services/CelWidgetSaisie.php \
jrest/services/User.php \
jrest/services/InventoryKeyWordObsLink.php \
jrest/services/CelImage.php \
jrest/services/CelValidationObservation.php \
jrest/services/InventoryByDept.php \
jrest/services/CelWidgetExport.php \
jrest/services/Inventory.php \
jrest/services/InventoryKeyWordList.php \
jrest/services/InventoryPDF.php \
jrest/services/NameMap.php \
jrest/services/CelStatistique.php \
jrest/services/CelStatistiqueTxt.php \
jrest/services/InventoryImageListPublic.php \
jrest/services/InventoryImportExcel.php \
jrest/services/InventoryKeyWordImageLink.php \
jrest/services/ExportXLS.php \
jrest/services/Resume.php \
jrest/services/InventoryImportMail.php \
jrest/services/LicenceUtilisateur.php \
jrest/services/SelfRefList.php \
jrest/services/InventoryContributionList.php \
jrest/services/CoordSearch.php \
jrest/services/ImageProvider.php \
jrest/services/InventoryImage.php \
jrest/services/InventoryExport.php \
jrest/services/InventoryObservationCount.php \
jrest/services/CelMessage.php \
jrest/services/InventoryUserList.php \
jrest/services/InventoryImport.php \
jrest/services/CelMotCle.php \
jrest/services/InventoryDateList.php \
jrest/services/NameSearch.php \
jrest/services/LocationSearch.php \
jrest/services/InventoryTransmit.php \
jrest/services/ImageRDF.php \
jrest/services/NameImage.php \
jrest/services/CelImageDoublon.php
 
/branches/topic-dbsingleton/jrest/lib/GestionChampsEtendus.php
/branches/topic-dbsingleton/jrest/lib/GestionImage.php
/branches/topic-dbsingleton/jrest/lib/GestionObservation.php
/branches/topic-dbsingleton/jrest/lib/LiaisonMotsCles.php
/branches/topic-dbsingleton/jrest/lib/RechercheImage.php
/branches/topic-dbsingleton/jrest/lib/RechercheInfosTaxon.php
/branches/topic-dbsingleton/jrest/lib/RechercheObservation.php
/branches/topic-dbsingleton/jrest/services/CelImage.php
/branches/topic-dbsingleton/jrest/services/CelImageDoublon.php
/branches/topic-dbsingleton/jrest/services/CelMotCle.php
/branches/topic-dbsingleton/jrest/services/CelStatistique.php
/branches/topic-dbsingleton/jrest/services/CelStatistiqueTxt.php
/branches/topic-dbsingleton/jrest/services/CelSyndicationObservation.php
/branches/topic-dbsingleton/jrest/services/CelWidgetMap.php
/branches/topic-dbsingleton/jrest/services/CelWidgetMapPoint.php
/branches/topic-dbsingleton/jrest/services/CelWidgetSaisie.php
/branches/topic-dbsingleton/jrest/services/CoordSearch.php
/branches/topic-dbsingleton/jrest/services/ImageContribution.php
/branches/topic-dbsingleton/jrest/services/ImageDateList.php
/branches/topic-dbsingleton/jrest/services/ImageRDF.php
/branches/topic-dbsingleton/jrest/services/ImportXLS.php
/branches/topic-dbsingleton/jrest/services/InventoryByDept.php
/branches/topic-dbsingleton/jrest/services/InventoryCheck.php
/branches/topic-dbsingleton/jrest/services/InventoryContributionList.php
/branches/topic-dbsingleton/jrest/services/InventoryDateList.php
/branches/topic-dbsingleton/jrest/services/InventoryImageLink.php
/branches/topic-dbsingleton/jrest/services/InventoryImportExcel.php
/branches/topic-dbsingleton/jrest/services/InventoryKeyWordList.php
/branches/topic-dbsingleton/jrest/services/InventoryLocationList.php
/branches/topic-dbsingleton/jrest/services/InventoryPDF.php
/branches/topic-dbsingleton/jrest/services/InventoryTransmit.php
/branches/topic-dbsingleton/jrest/services/InventoryUserList.php
/branches/topic-dbsingleton/jrest/services/LicenceUtilisateur.php
/branches/topic-dbsingleton/jrest/services/LocationSearch.php
/branches/topic-dbsingleton/jrest/services/Resume.php
/branches/topic-dbsingleton/jrest/services/SelfRefList.php
/branches/topic-dbsingleton/jrest/services/User.php
1722 4010 d 23 h raphael /branches/topic-dbsingleton/jrest/lib/ DB/singleton: partie 2, exemple des substitutions avec le fichier FormateurGroupeColonne.php, et réadaptation des prototypes  
/branches/topic-dbsingleton/jrest/lib/FormateurGroupeColonne.php
1721 4011 d 1 h raphael /branches/topic-dbsingleton/jrest/lib/ DB/singleton: partie 1, implémentation de la classe d'accès et mise en place de la quasi-totalité des wrappers nécessaires dans Cel  
/branches/topic-dbsingleton/jrest/lib/Bdd2.php
/branches/topic-dbsingleton/jrest/lib/Cel.php
1720 4011 d 2 h raphael /branches/topic-dbsingleton/ création d'une branche dbsingleton dédiée à rendre l'accès aux fonctions de base de données plus aisé  
/branches/topic-dbsingleton
1719 4011 d 3 h aurelien /trunk/jrest/services/ Ajout d'un exit à la fin de la fonction createElement pour éviter que le retour ne soit pourri par d'autres envois suivants  
/trunk/jrest/services/CelWidgetSaisie.php
1718 4011 d 3 h raphael /trunk/jrest/lib/ export/champs étendus: bugfix de notice en cas d'absence de champs étendus pour un set d'observations  
/trunk/jrest/lib/FormateurGroupeColonne.php
1716 4011 d 4 h raphael /trunk/jrest/ export: déplacement de l'autre partie de la gestion des champs étendus dans
FormateurGroupeColonne (la fonction d'alteration de ligne): partie 2/2
(reste la gestion unifiée des entêtes de colonnes)
 
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/CelWidgetExport.php
1715 4011 d 4 h raphael /trunk/jrest/ export: déplacement d'une partie de la gestion des champs étendus dans
FormateurGroupeColonne (notamment la fonction de préchargement rapide): partie 1/2
 
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/CelWidgetExport.php
1714 4011 d 5 h raphael /trunk/ export: bugfix pour la sérialisation des valeurs de checkboxes[] multiples par jQuery
+ amélioration dans la détection et validation des noms de groupe de champs
+ insertion initiale des champs étendus dans l'API de colonnes
 
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/CelWidgetExport.php
/trunk/widget/modules/export/squelettes/js/export.js
1712 4011 d 21 h raphael /trunk/ export: correction du traitement des paramètres dans le cas d'envoi de variables
n'étant pas des chaînes et correction du nom utilisé par les checkboxes pour passer
des valeurs multiples sous un même nom de variable.
 
/trunk/jrest/lib/Cel.php
/trunk/widget/modules/export/squelettes/export.tpl.html
1711 4011 d 21 h raphael /trunk/jrest/ export: meilleure vérification de certains paramètres, notamment les noms de groupes
de champs (= les colonnes exportées) qui peuvent désormais être passées indistinctement
sous forme de comma-separated string ou de tableau[] en provenance de checkboxes.
 
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/CelWidgetExport.php
1709 4011 d 21 h raphael /trunk/jrest/services/ export: ne pas générer inutilement une liste complète d'observations en l'absence de paramètres passés à CelWidgetExport  
/trunk/jrest/services/CelWidgetExport.php
1707 4011 d 22 h raphael /trunk/jrest/lib/ export: en cas de date invalide, la colonne exportée est vide plutôt que d'afficher 00/00/0000  
/trunk/jrest/lib/FormateurGroupeColonne.php
1706 4011 d 22 h raphael /trunk/jrest/lib/ export/baseflor: bugfix + compat PHP 5.2  
/trunk/jrest/lib/FormateurGroupeColonne.php
1703 4011 d 23 h raphael /trunk/jrest/services/ export/baseflor: partie 2/2, intégration du support baseflor dans CelWidgetExport (xls et csv)
(en réalité seule la gestion des intitulés de colonne doit encore être
faite hors de l'API proposée par FormateurColonnes)
 
/trunk/jrest/services/CelWidgetExport.php
1702 4011 d 23 h raphael /trunk/jrest/lib/ export/baseflor: partie 1/2, ajout des fonctions de récupération des données baseflor/baseveg
depuis cel_references dans le FormateurColonnes.

Les modes de récupération par ligne et par par groupe d'observations (preload/préchargement) sont tous deux supportés.
 
/trunk/jrest/lib/FormateurGroupeColonne.php
1700 4012 d 22 h raphael /trunk/jrest/services/ export: désactivation des STRICT warnings (causés par la librairie de génération des PDF)  
/trunk/jrest/services/CelWidgetExport.php
1699 4012 d 22 h raphael /trunk/jrest/ import/export: Ajout de l'altitude à l'export et support de l'import  
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/ImportXLS.php
1698 4012 d 22 h raphael /trunk/jrest/ import/export: suppression de code de débuggage et correction de l'import des date/time.  
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/ImportXLS.php
1697 4013 d 2 h raphael /trunk/jrest/services/ import: compat PHP 5.2, suppression des gotos  
/trunk/jrest/services/ImportXLS.php
1696 4013 d 2 h raphael /trunk/jrest/services/ export: suppression d'une notice  
/trunk/jrest/services/CelWidgetExport.php
1695 4013 d 2 h raphael /trunk/jrest/ export/colonnes: fix d'une notice et bugfix dans l'utilisation du cache pour les noms communs  
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/CelWidgetExport.php
1694 4013 d 2 h raphael /trunk/jrest/ export/colonnes: ajout d'une possibilité de préchargement efficace des données
par les fonctions de colonnes en amont des appels récurrent par ligne.
Utilisation de ce système pour le préchargement des nom communs lors de l'export.
 
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/CelWidgetExport.php
1692 4013 d 5 h raphael /trunk/jrest/services/ export widget: quelques nettoyage et staticification de fonctions  
/trunk/jrest/services/CelWidgetExport.php
1690 4013 d 5 h raphael /trunk/jrest/services/ export: réduction du nombre d'appels de fonction imbriquées pour les données
moins variable (intitulés des colonnes)
 
/trunk/jrest/services/CelWidgetExport.php
1689 4013 d 5 h raphael /trunk/jrest/lib/ export: optimisation de DB, pas de test systématique d'existence de 'cel_references'  
/trunk/jrest/lib/FormateurGroupeColonne.php
1688 4013 d 6 h raphael /trunk/jrest/services/ import: quelques ajout d'infos additionnelles à propos de la tentative de
détermination des noms scientifiques avec la nouvelle table cel_references.
 
/trunk/jrest/services/ImportXLS.php
1687 4013 d 6 h raphael /trunk/jrest/lib/ export: correction de l'appel du traitement des images et des noms communs  
/trunk/jrest/lib/FormateurGroupeColonne.php
1686 4013 d 6 h aurelien /trunk/jrest/ Corrections pour l'export dans le cas ou l'on est pas identifié ou bien s'il n'y a pas d'obs  
/trunk/jrest/lib/GestionChampsEtendus.php
/trunk/jrest/services/User.php
1685 4016 d 1 h raphael /trunk/jrest/ export: récupération des noms communs dans `cel_references`, si celle-ci existe.
(fait suite à l'ajout du script de génération de cette table dans eflore/projet (r737-739))
 
/trunk/jrest/lib/Cel.php
/trunk/jrest/lib/FormateurGroupeColonne.php
/trunk/jrest/services/ExportXLS.php
1684 4016 d 3 h raphael /trunk/jrest/lib/ export/pdf: correction d'un second bug d'affichage de la date (strtotime())  
/trunk/jrest/lib/GenerateurPDF.php
1683 4016 d 3 h raphael /trunk/jrest/lib/ export/pdf: correction d'un bug d'affichage de la date  
/trunk/jrest/lib/GenerateurPDF.php
1682 4016 d 4 h raphael /trunk/jrest/lib/ export/pdf: changements de présentation des étiquettes
* affichage du nom saisi plutôt que du nom retenu
* affichage de la date et des coordonnées géographiques uniquement
si elles sont valides
* majuscule pour la famille
* suppression d'une virgule pour les localités vides
* suppression du référentiel
 
/trunk/jrest/lib/GenerateurPDF.php
1681 4016 d 4 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