Subversion Repositories eFlore/Applications.coel

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
1695 3869 d 19 h raphael /trunk/ structure/conservation: possibilité de ne pas remplir certains champs représentés par bouton radio (NULL != 0):
csc_mark_acces_controle, csc_mark_restauration, csc_mark_traitement, csc_mark_acquisition_collection, csc_mark_acquisition_echantillon

`csc_mark_collection_commune` est NOT NULL dans "coel_structure_conservation" : l'optionalité est désactivée
pour ce champ pour l'instant en attendant de statuer dessus.
 
/trunk/jrest/services/CoelStructure.php
/trunk/src/org/tela_botanica/client/modeles/structure/StructureAsyncDao.java
/trunk/src/org/tela_botanica/client/modeles/structure/StructureConservation.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureDetailVue.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureFormConservation.java
1693 3869 d 20 h raphael /trunk/ structure/conservation: possibilité de ne pas remplir les champs csc_mark_formation et csc_mark_formation_interet (NULL != 0)  
/trunk/jrest/services/CoelStructure.php
/trunk/src/org/tela_botanica/client/modeles/structure/StructureAsyncDao.java
/trunk/src/org/tela_botanica/client/modeles/structure/StructureConservation.java
/trunk/src/org/tela_botanica/client/vues/DetailVue.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureFormConservation.java
1691 3870 d 17 h raphael /trunk/ structure: l'autocompletion se base désormais uniquement sur le nom de la structure,
mais sans l'ancrer en début de ligne.

D'autre part l'ajout de "%" est relégué plus en amont, dans le ProxyStructure, plutôt que
systématiquement dans StructureAsyncDao.

Le fait de dissocier l'appel en mode "completion" de l'appel en mode "filtre recherche" implique
un nouveau paramètres aux différents wrapper java ainsi que le support d'une nouvelle variable dans
le backend PHP général (Coel.php) et son traitement par CoelStructure.php.
 
/trunk/jrest/services/Coel.php
/trunk/jrest/services/CoelStructure.php
/trunk/src/org/tela_botanica/client/Mediateur.java
/trunk/src/org/tela_botanica/client/Modele.java
/trunk/src/org/tela_botanica/client/composants/pagination/ProxyStructures.java
/trunk/src/org/tela_botanica/client/modeles/structure/StructureAsyncDao.java
/trunk/src/org/tela_botanica/client/modeles/structure/StructureListe.java
1689 3870 d 18 h raphael /trunk/jrest/services/ r1688 follow-up: le JSON utilisé par l'UI GWT ne doit *pas* contenir d'élement NULL et "nbElements" doit être un entier  
/trunk/jrest/services/CoelStructure.php
1688 3870 d 20 h raphael /trunk/jrest/services/ backend/structures: clarification du SQL builder  
/trunk/jrest/services/CoelStructure.php
1685 3870 d 22 h raphael /trunk/ structure: possibilité de ne pas remplir le champ cs_nbre_personne (NULL != 0)  
/trunk/jrest/services/CoelStructure.php
/trunk/src/org/tela_botanica/client/modeles/structure/Structure.java
/trunk/src/org/tela_botanica/client/modeles/structure/StructureAsyncDao.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureFormIdentification.java
1673 3876 d 18 h raphael /trunk/ ui: rafraîchissement du panel de vue d'une structure avec les nouvelles coordonnées
lorsque celles-ci ont été générées par le serveur lors de la mise à jour

Côté serveur nous ne pouvons souffrir le pseudo-traitement des paramètres par getElementParDefaut().
C'est donc getElement() qui s'en charge de son côté en laissant libre updateElement() des paramètres passés.
 
/trunk/jrest/services/CoelStructure.php
/trunk/src/org/tela_botanica/client/modeles/structure/StructureAsyncDao.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureForm.java
1670 3876 d 18 h raphael /trunk/jrest/services/ api/sql: autoriser les mises à jour sans contrainte de WHERE sur certaines sous-boucles de maj de structure, r1669 follow-up  
/trunk/jrest/services/CoelStructure.php
1669 3876 d 21 h raphael /trunk/jrest/services/ api/sql: ne pas autoriser les mises à jour sans contrainte de WHERE.
Précédemment, une requête telle que:
/jrest/CoelStructure/1"<<<"a=a&"
passait dans Structure::updateElement() qui ne faisait aucun test sur le
paramètre "&cs_id_structure=" ce qui pouvait alors induire un écrasement de
toutes les structure dans la BDD.

Désormais ce check est rajouté, et un autre, en aval au moment de Coel::modifier()
rajouter aussi (ce qui évite par ailleurs une notice pourtant bien utile à propos
de la non-définition de 'champs_valeurs_id')
 
/trunk/jrest/services/Coel.php
/trunk/jrest/services/CoelStructure.php
1651 3889 d 15 h raphael /trunk/jrest/services/ geoloc: implémentation initiale et préprocessing basique des adresses  
/trunk/jrest/services/Coel.php
/trunk/jrest/services/CoelStructure.php
1649 3890 d 16 h raphael /trunk/jrest/services/ geoloc: ajout de stub-functions pour la future implémentation de geocoding Nominatim  
/trunk/jrest/services/Coel.php
/trunk/jrest/services/CoelStructure.php
1648 3890 d 16 h raphael /trunk/jrest/services/ misc: notices cleanup + cosmetics  
/trunk/jrest/services/Coel.php
/trunk/jrest/services/CoelStructure.php
1636 4022 d 20 h aurelien /trunk/jrest/services/ Extension des possibilités de la recherche  
/trunk/jrest/services/CoelCollection.php
/trunk/jrest/services/CoelCommentaire.php
/trunk/jrest/services/CoelPersonne.php
/trunk/jrest/services/CoelProjet.php
/trunk/jrest/services/CoelPublication.php
/trunk/jrest/services/CoelStructure.php
1595 4149 d 18 h aurelien /trunk/jrest/services/ Correction d'un bug qui envoyait trop de données sur certaines requetes  
/trunk/jrest/services/CoelCommentaire.php
/trunk/jrest/services/CoelCorrection.php
/trunk/jrest/services/CoelPersonne.php
/trunk/jrest/services/CoelProjet.php
/trunk/jrest/services/CoelPublication.php
/trunk/jrest/services/CoelPublicationAPersonne.php
/trunk/jrest/services/CoelStructure.php
1581 4833 d 17 h jpm /trunk/jrest/services/ Ajout d'une limitation des résultat sen fonction des projets  
/trunk/jrest/services/CoelRecherche.php
/trunk/jrest/services/CoelStructure.php
1526 5061 d 19 h jpm /trunk/ Correction bogue FS#701 - [Publication] - Champ "editeur" ne conserve pas les données.  
/trunk/jrest/services/CoelProjet.php
/trunk/jrest/services/CoelStructure.php
/trunk/src/org/tela_botanica/client/Mediateur.java
/trunk/src/org/tela_botanica/client/Modele.java
/trunk/src/org/tela_botanica/client/composants/ChampComboBoxRechercheTempsReelPaginable.java
/trunk/src/org/tela_botanica/client/composants/pagination/ChargeurListe.java
/trunk/src/org/tela_botanica/client/composants/pagination/Proxy.java
/trunk/src/org/tela_botanica/client/composants/pagination/ProxyProjets.java
/trunk/src/org/tela_botanica/client/composants/pagination/ProxyStructures.java
/trunk/src/org/tela_botanica/client/modeles/structure/StructureAsyncDao.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormGeneral.java
/trunk/src/org/tela_botanica/client/vues/publication/PublicationForm.java
1497 5120 d 20 h jpm /trunk/jrest/ Simplification Jrest/Coel, utilisation dans Coel de la version 1.0 de Jrest.  
/trunk/jrest
/trunk/jrest/.htaccess
/trunk/jrest/JRest.php
/trunk/jrest/index.php
/trunk/jrest/jrest.ini.php.defaut
/trunk/jrest/services
/trunk/jrest/services/Coel.php
/trunk/jrest/services/CoelAide.php
/trunk/jrest/services/CoelCollection.php
/trunk/jrest/services/CoelCollectionACommentaire.php
/trunk/jrest/services/CoelCollectionAPersonne.php
/trunk/jrest/services/CoelCollectionAPublication.php
/trunk/jrest/services/CoelCommentaire.php
/trunk/jrest/services/CoelCorrection.php
/trunk/jrest/services/CoelPersonne.php
/trunk/jrest/services/CoelProjet.php
/trunk/jrest/services/CoelPublication.php
/trunk/jrest/services/CoelPublicationAPersonne.php
/trunk/jrest/services/CoelRecherche.php
/trunk/jrest/services/CoelStatistique.php
/trunk/jrest/services/CoelStructure.php
/trunk/jrest/services/CoelStructureAPersonne.php
/trunk/jrest/services/CoelSyndication.php
/trunk/jrest/services/CoelUtilisateur.php
/trunk/jrest/services/CoelValeurListe.php