Subversion Repositories eFlore/Applications.coel

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1712 3871 d 5 h raphael /trunk/ build: la génération de apropos n'a plus besoin d'un script spécifique
et se base sur un template de macros m4 dans apropos.js.m4 permettant de générer un
fichier apropos.js approprié selon le dépôt d'origine.

Par exemple, `ant config` peut exécuter ce type de commande:
m4 -D _JREST_SERVICES_PATH_=jrest/services -D _SUFFIX_=" - beta version" < war/config/apropos.js.m4 > war/config/apropos.js

cf: build.xml
cf: m4(1)
 
/trunk/war/config/apropos.js.m4
/trunk/Coel-config
/trunk/war/config/apropos.defaut.js
/trunk/build.xml
1711 3872 d 1 h raphael /trunk/jrest/services/ r1691 follow-up (autocompletion sur nom de structure)  
/trunk/jrest/services/CoelStructure.php
1710 3876 d 3 h raphael /trunk/src/org/tela_botanica/client/modeles/projet/ structure: le champ Projet n'est plus effacé lorsque la valeur saisie fait partie de la seconde page  
/trunk/src/org/tela_botanica/client/modeles/projet/ProjetAsyncDao.java
1709 3876 d 3 h raphael /trunk/jrest/services/ geocoding: deuxième tentative auprès de Nominatim en cas d'échec et de présence de code postal + fix de l'obtention des pays à partir des codes de meta  
/trunk/jrest/services/Coel.php
/trunk/jrest/services/CoelStructure.php
1708 3876 d 5 h raphael /trunk/ ui: r1673 follow-up, 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 l'ajout d'une nouvelle structure.
 
/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
1707 3876 d 5 h raphael /trunk/jrest/services/ regions: suppression d'une notice lors de la recherche des régions pour une pays non-existant  
/trunk/jrest/services/CoelValeurListe.php
1706 3876 d 5 h raphael /trunk/jrest/services/ coel-structure: factorisation, notamment de l'appel à Nominatim + NULLification des lon/lat à 0  
/trunk/jrest/services/CoelStructure.php
1705 3877 d 1 h raphael /trunk/war/ ui/html: suppression d'un warning GWT sur le doctype  
/trunk/war/Coel.html
1704 3877 d 1 h raphael /trunk/ recherche/widget/carto: ajout du support de recherche par code région
(tels que définis par http://download.geonames.org/export/dump/admin1CodesASCII.txt)
 
/trunk/jrest/services/CoelRecherche.php
/trunk/widget/modules/cartodepartement/CartoDepartement.php
/trunk/widget/modules/cartodepartement/squelettes/carto_departement.tpl.html
/trunk/widget/modules/cartodepartement/squelettes/scripts/carto.js
1703 3877 d 2 h raphael /trunk/widget/modules/cartodepartement/ widget/carto: support de la spécification des institutions par code(s) de pays  
/trunk/widget/modules/cartodepartement/CartoDepartement.php
/trunk/widget/modules/cartodepartement/squelettes/carto_departement.tpl.html
/trunk/widget/modules/cartodepartement/squelettes/scripts/carto.js
1702 3877 d 2 h raphael /trunk/jrest/services/ recherche: support de la recherche par pays à l'aide du paramètre d'URL "pays", acceptant une liste de code iso 3166-1 séparés par des virgules  
/trunk/jrest/services/CoelRecherche.php
1701 3877 d 2 h raphael /trunk/widget/modules/cartodepartement/squelettes/scripts/ carto: simplification du chargement du comptage des collections (no-async + text/plain)  
/trunk/widget/modules/cartodepartement/squelettes/scripts/carto.js
1700 3877 d 2 h raphael /trunk/jrest/services/ recherche: support de passage de plusieurs départements français + retour en format text/plain  
/trunk/jrest/services/CoelRecherche.php
1699 3877 d 3 h raphael /trunk/jrest/services/ recherche: support de limit=-1 pour éviter toute limite à la recherche  
/trunk/jrest/services/CoelRecherche.php
1698 3877 d 3 h raphael /trunk/jrest/services/ recherche: clarification du SQL builder  
/trunk/jrest/services/CoelRecherche.php
1697 3877 d 4 h raphael /trunk/ sec: nettoyage des paramètres limit/start  
/trunk/jrest/services/Coel.php
/trunk/widget/modules/cartodepartement/CartoDepartement.php
1696 3877 d 4 h raphael /trunk/scripts/ scripts/config: niveau erronés des directives de configurations + quelques fixes  
/trunk/scripts/configurations/config.ini
/trunk/scripts/modules/201310-bulk-coord-update.php
/trunk/scripts/modules/communes/Communes.php
1695 3877 d 4 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
1694 3877 d 4 h raphael /trunk/src/org/tela_botanica/client/vues/structure/ r1693 follow-up: les groupes de boutons radios.get(X) ont X à l'inverse de getValue() dans le modèle.
C'est à dire que si conservation.getFormationInteret() == 0 (qui signifie "non"), il faut activer
le bouton radio 1 (celui qui signifie "non") et vice-versa.
 
/trunk/src/org/tela_botanica/client/vues/structure/StructureFormConservation.java
1693 3877 d 5 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
1692 3878 d 2 h raphael /trunk/scripts/modules/ r1690 follow-up: par défaut, NULLifiage de tous les cs_nbre_personne lorsque ceux-ci valent 0  
/trunk/scripts/modules/201310-bulk-coord-update.php
1691 3878 d 2 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
1690 3878 d 3 h raphael /trunk/src/org/tela_botanica/client/ structure: r1685 follow-up: cs_nbre_personne peut désormais être réellement NULLifié  
/trunk/src/org/tela_botanica/client/modeles/structure/Structure.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureDetailVue.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureFormIdentification.java
1689 3878 d 3 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 3878 d 4 h raphael /trunk/jrest/services/ backend/structures: clarification du SQL builder  
/trunk/jrest/services/CoelStructure.php
1687 3878 d 5 h raphael /trunk/src/org/tela_botanica/client/ ui/pager: support du filtre de recherche lors d'un changement de page.
Précédement, le filtre était ignoré lors des requêtes issues du pager (page suivante,
page précédente, ...).

Désormais le filtre de recherche est passé à BarrePaginationVue() et le changement
de page tente d'utiliser une nouvelle méthode créée pour l'occasion (filtrerParNomEtPage)
de l'interface ListePaginable.

Son implémentation dépend du type de liste, mais en général revient à effectuer peu ou prou
changerNumeroPage() suivi d'un filtrerParNom().
 
/trunk/src/org/tela_botanica/client/composants/ChampFiltreRecherche.java
/trunk/src/org/tela_botanica/client/interfaces/ListePaginable.java
/trunk/src/org/tela_botanica/client/modeles/collection/CollectionListe.java
/trunk/src/org/tela_botanica/client/modeles/commentaire/CommentaireListe.java
/trunk/src/org/tela_botanica/client/modeles/personne/PersonneListe.java
/trunk/src/org/tela_botanica/client/modeles/projet/ProjetListe.java
/trunk/src/org/tela_botanica/client/modeles/publication/PublicationListe.java
/trunk/src/org/tela_botanica/client/modeles/structure/StructureListe.java
/trunk/src/org/tela_botanica/client/vues/BarrePaginationVue.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionListeVue.java
/trunk/src/org/tela_botanica/client/vues/commentaire/CommentaireListeVue.java
/trunk/src/org/tela_botanica/client/vues/personne/PersonneListeVue.java
/trunk/src/org/tela_botanica/client/vues/projet/ProjetListeVue.java
/trunk/src/org/tela_botanica/client/vues/publication/PublicationListeVue.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureListeVue.java
1686 3878 d 7 h raphael /trunk/jrest/services/ geo: nominatim timeout à 4 secondes  
/trunk/jrest/services/Coel.php
1685 3878 d 7 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
1684 3878 d 7 h raphael /trunk/jrest/services/ backend/post: les NULL ne sont plus traités comme empty ("").
En effet, "" induit 0 pour les INTEGER(), y compris lorsque NULL aurait une signification différente de 0.
 
/trunk/jrest/services/Coel.php
1683 3878 d 8 h raphael /trunk/src/org/tela_botanica/client/vues/ ui: le page accepte désormais les n° de page à l'aide de la touche Shift (+ simplification: NumberField)  
/trunk/src/org/tela_botanica/client/vues/BarrePaginationVue.java
1682 3883 d 5 h raphael /trunk/ misc/build: mise à jour du build.xml pour la config  
/trunk/build.xml
1681 3883 d 6 h mathias /trunk/src/org/tela_botanica/client/images/icones/ Remplacement de l'ancien logo coelacanthe par le nouveau logo coel - en mode "qui marche encore mieux"  
/trunk/src/org/tela_botanica/client/images/icones/coel.png
1680 3883 d 6 h raphael /trunk/ gxt: upgrade à l'API de GXT 2.3.x  
/trunk/build.xml
/trunk/src/org/tela_botanica/client/Mediateur.java
/trunk/src/org/tela_botanica/client/composants/AideFenetre.java
/trunk/src/org/tela_botanica/client/composants/AproposFenetre.java
/trunk/src/org/tela_botanica/client/composants/IdentificationFenetre.java
/trunk/src/org/tela_botanica/client/composants/LicenceFenetre.java
/trunk/src/org/tela_botanica/client/vues/EnteteVue.java
/trunk/src/org/tela_botanica/client/vues/FenetreForm.java
/trunk/src/org/tela_botanica/client/vues/FenetreJournal.java
/trunk/src/org/tela_botanica/client/vues/FiltreVue.java
/trunk/src/org/tela_botanica/client/vues/MenuVue.java
/trunk/src/org/tela_botanica/client/vues/NavigationVue.java
/trunk/src/org/tela_botanica/client/vues/StatutVue.java
/trunk/src/org/tela_botanica/client/vues/accueil/AccueilVue.java
/trunk/src/org/tela_botanica/client/vues/accueil/Applette.java
/trunk/src/org/tela_botanica/client/vues/accueil/AppletteStatistique.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionForm.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormCommentaire.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormContenu.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormDescription.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormGeneral.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormPersonne.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionFormPublication.java
/trunk/src/org/tela_botanica/client/vues/collection/CollectionListeVue.java
/trunk/src/org/tela_botanica/client/vues/commentaire/CommentaireForm.java
/trunk/src/org/tela_botanica/client/vues/commentaire/CommentaireListeVue.java
/trunk/src/org/tela_botanica/client/vues/personne/PersonneForm.java
/trunk/src/org/tela_botanica/client/vues/personne/PersonneFormPublication.java
/trunk/src/org/tela_botanica/client/vues/personne/PersonneListeVue.java
/trunk/src/org/tela_botanica/client/vues/projet/ProjetForm.java
/trunk/src/org/tela_botanica/client/vues/projet/ProjetListeVue.java
/trunk/src/org/tela_botanica/client/vues/publication/PublicationForm.java
/trunk/src/org/tela_botanica/client/vues/publication/PublicationListeVue.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureForm.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureFormIdentification.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureFormPersonne.java
/trunk/src/org/tela_botanica/client/vues/structure/StructureListeVue.java
1679 3883 d 6 h raphael /trunk/doc/code/ gxt: fix du script upgrade à l'API de GXT 2.3.x  
/trunk/doc/code/UPGRADE-gxt2.2-gxt2.3.sh
1678 3883 d 6 h raphael /trunk/doc/code/ gxt: ajout du script upgrade à l'API de GXT 2.3.x  
/trunk/doc/code/UPGRADE-gxt2.2-gxt2.3.sh
1677 3883 d 6 h mathias /trunk/ Mise à jour de la notice A_LIRE  
/trunk/A_LIRE.txt
1676 3884 d 3 h mathias /trunk/src/org/tela_botanica/client/images/icones/ Remplacement de l'ancien logo coelacanthe par le nouveau logo coel - en mode "qui marche"  
/trunk/src/org/tela_botanica/client/images/icones/coel.png
1675 3884 d 3 h raphael /trunk/ build/config: changement des commandes de synchro de config/apropos par défaut  
/trunk/build.xml
1674 3884 d 3 h raphael /trunk/ build/config: changement des commandes de synchro de config/apropos par défaut  
/trunk/build.properties
1673 3884 d 3 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