Subversion Repositories eFlore/Applications.del

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
1471 3909 d 22 h aurelien /trunk/src/org/tela_botanica/del/client/ Images : possibilité de supprimer un vote + renvoi de l'identifiant du vote lors de l'ajout de celui ci afin de pouvoir le modifier et le supprimer  
/trunk/src/org/tela_botanica/del/client/services/rest/async/AjoutVoteProtocoleCallback.java
/trunk/src/org/tela_botanica/del/client/composants/votes/moyennevotes/MoyenneVotePresenteur.java
/trunk/src/org/tela_botanica/del/client/composants/votes/moyennevotes/MoyenneVoteVue.java
/trunk/src/org/tela_botanica/del/client/composants/votes/moyennevotes/MoyenneVoteVue.ui.xml
/trunk/src/org/tela_botanica/del/client/composants/votes/moyennevotes/moyenne.css
/trunk/src/org/tela_botanica/del/client/i18n/Vocabulary.java
/trunk/src/org/tela_botanica/del/client/i18n/Vocabulary.properties
/trunk/src/org/tela_botanica/del/client/modeles/Image.java
/trunk/src/org/tela_botanica/del/client/services/rest/VoteProtocoleService.java
/trunk/src/org/tela_botanica/del/client/services/rest/VoteProtocoleServiceConcret.java
/trunk/src/org/tela_botanica/del/client/utils/UtilitairesServiceResultat.java
1470 3910 d 2 h mathias /trunk/ Ajouté un paramètre de config "serviceUtilisateursBaseUrl" pour les appels à l'annuaire - permet de s'authentifier sur le même domaine et ainsi contourner le pb du cookie refusé car provenant d'api-test  
/trunk/src/org/tela_botanica/del/client/config/Config.java
/trunk/src/org/tela_botanica/del/client/services/rest/PreferencesServiceConcret.java
/trunk/src/org/tela_botanica/del/client/services/rest/UtilisateurServiceConcret.java
/trunk/war/config/config.defaut.js
1469 3910 d 22 h mathias /trunk/ Ajouté un paramètre "urlImages" à la config pour paramétrer le chemin des images dans la page de résultats - attention à bien mettre à jour la config !!  
/trunk/src/org/tela_botanica/del/client/config/Config.java
/trunk/src/org/tela_botanica/del/client/utils/UtilitairesServiceResultat.java
/trunk/war/config/config.defaut.js
1468 3915 d 1 h raphael /trunk/services/modules/0.1/determinations/ détermination: diverses corrections et réduction de code  
/trunk/services/modules/0.1/determinations/ListeImagesDeterminationsProbables.php
1467 3915 d 2 h aurelien /trunk/src/org/tela_botanica/del/client/ Changement d'url dynamique dans la barre d'adresse sur les actions de recherche et changement de protocole (ne fonctionne que sur des navigateurs connaissant l'api history html 5)  
/trunk/src/org/tela_botanica/del/client/cache/CacheClient.java
/trunk/src/org/tela_botanica/del/client/composants/partageurl/PartageUrlPresenteur.java
/trunk/src/org/tela_botanica/del/client/gestionhistorique/ConstantesNavigation.java
/trunk/src/org/tela_botanica/del/client/gestionhistorique/GestionnaireHistorique.java
/trunk/src/org/tela_botanica/del/client/services/rest/ObservationServiceConcret.java
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplantePresenteur.java
/trunk/src/org/tela_botanica/del/client/vues/pictoflora/moteur/MoteurPictofloraPresenteur.java
1466 3920 d 23 h raphael /trunk/services/modules/0.1/determinations/ determinations-probables: corrections du retour des mots-clefs et jointure correcte sur del_utilisateurs (!)  
/trunk/services/modules/0.1/determinations/ListeImagesDeterminationsProbables.php
1465 3921 d 1 h raphael /trunk/services/modules/0.1/determinations/ 1464 followup: ajout du référentiel à chargerLiaisons2() ainsi qu'effectué pour chargerLiaisons() dans r1455  
/trunk/services/modules/0.1/determinations/ListeImagesDeterminationsProbables.php
1464 3921 d 1 h raphael /trunk/services/modules/0.1/determinations/ backend déterminations-probables: ajout de chargerLiaisons2(), optimisé pour
utiliser del_image_stat et ainsi éviter de coûteuses requêtes dépendant de fonctions
d'aggrégation (AVG()).
 
/trunk/services/modules/0.1/determinations/ListeImagesDeterminationsProbables.php
1463 3922 d 20 h raphael /trunk/war/config/ config: changement URL de profil (r1371 followup)  
/trunk/war/config/config.defaut.js
1462 3922 d 22 h mathias /trunk/ Changé le nom de fichier pour la config des mots clés  
/trunk
/trunk/services/modules/0.1/MotsCles.php
1461 3924 d 4 h aurelien /trunk/scripts/modules/commentaires/ script : Correction d'un bug qui pouvait omettre certains commentaires sur des obs  
/trunk/scripts/modules/commentaires/AlerteMailCommentaires.php
1460 3928 d 22 h raphael /trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/ ui: texte, follow-up, oublie d'un "s"  
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplanteVue.ui.xml
1459 3928 d 22 h raphael /trunk/ build/misc: ajout de debug à quelques requêtes SQL + chemins de libs *.jar dans build.xml  
/trunk/build.xml
/trunk/services/bibliotheque/ControleAcces.php
1458 3928 d 22 h raphael /trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/ ui: texte onglet Validées/Vérifiée + passage comme dernier onglet  
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplanteVue.ui.xml
1457 3928 d 23 h raphael /trunk/services/ config: clarification à propos de l'appel au webservice de validation du Cel dans le cas d'une utilisation sur un domaine indépendant d'Eflore  
/trunk/services/configurations/config.defaut.ini
/trunk/services/modules/0.1/determinations/ValiderDetermination.php
1456 3929 d 18 h raphael /trunk/services/modules/0.1/determinations/ fix d'une notice en cas d'erreur de retour de modifierObservationParDetermination().
C'est notamment le cas si le retour de CelValidationObservation est vide.
Ce cas peut entre autres se produire lorsque l'appel au webservice est fait via une redirection.

En effet:
http://www.ietf.org/rfc/rfc2616.txt , "10.3.2 301 Moved Permanently"
If the 301 status code is received in response to a request other
than GET or HEAD, the user agent MUST NOT automatically redirect the
request unless it can be confirmed by the user, since this might
change the conditions under which the request was issued.

Les POST sont donc par défaut transformés en GET, mais même avec l'option de forçage disponible dans cURL,
les données POSTées ne suivent pas la redirection.
Auquel cas GET CelValidationObservation ne renvoie rien se qui se traduirait désormais par une erreur.
 
/trunk/services/modules/0.1/determinations/ValiderDetermination.php
1455 3930 d 23 h aurelien /trunk/services/modules/0.1/determinations/ Ajout du référentiel dans le retour du service déterminations probables  
/trunk/services/modules/0.1/determinations/ListeImagesDeterminationsProbables.php
1454 3932 d 1 h raphael /trunk/services/modules/0.1/ identiplante: substitution de l'ancien backend par le backend réécrit (2/2)  
/trunk/services/modules/0.1/Observations.php
1453 3932 d 2 h raphael /trunk/services/configurations/ revert 1452 car la config_observations.ini est aussi utilisé par modules/0.1/observations/ListeObservationsWidget.php qui est utilisé par widget/modules/vote/Vote.php (le premier duplique une part importante du code existant): à travailler  
/trunk/services/configurations/config_observations.ini
1452 3932 d 2 h raphael /trunk/services/ identiplante: config cleanup  
/trunk/services/configurations/config_observations.ini
/trunk/services/modules/0.1/observations/ListeObservations.php
1451 3932 d 2 h raphael /trunk/services/modules/0.1/ identiplante: substitution de l'ancien backend par le backend réécrit  
/trunk/services/modules/0.1/observations/ListeObservations2.php
/trunk/services/modules/0.1/images/ListeImages2.php
/trunk/services/modules/0.1/observations/Observation.php
1450 3935 d 20 h raphael /trunk/services/modules/0.1/determinations/ détermination: la validation entraine désormais la mise à jour du champ "certitude"
ainsi que la suppression du mot-clef "adeterminer" si celui-ci est présent.
(dépend de r1872 et r1873 du CEL)
 
/trunk/services/modules/0.1/determinations/ValiderDetermination.php
1449 3936 d 2 h raphael /trunk/scripts/modules/maj/ revert r1446: la définition de vues en SQL SECURITY INVOKER ne résoud pas les problèmes de permission. Pire, il les délaye au run-time plutôt que d'échouer à l'import  
/trunk/scripts/modules/maj/201309-index-views.sql
1448 3936 d 3 h mathias /trunk/services/ Ajout possibilité de masque sur nt, méthode "image par id", masques sur de multiples nn  
/trunk/services/configurations/config_images.ini
/trunk/services/modules/0.1/images/ListeImages.php
1447 3936 d 21 h raphael /trunk/scripts/modules/maj/ scripts: ajout d'un IF EXISTS pour un DROP PROCEDURE  
/trunk/scripts/modules/maj/201310-propret.sql
1446 3936 d 21 h raphael /trunk/ misc: changelog + TODO + SECURITY INVOKER pour les vues remplacées (facilite mysqldump)  
/trunk/TODO
/trunk/Changelog
/trunk/scripts/modules/maj/201309-index-views.sql
/trunk/services/tests/0.1/images/ImagesTest.php
1445 3936 d 23 h raphael /trunk/ misc/build: ajout d'un build-target Ant "rapide", eg: `ant quick`  
/trunk/build.properties
/trunk/src/org/tela_botanica/del/Del-test.gwt.xml
/trunk/build.xml
1444 3936 d 23 h raphael /trunk/ identiplante: ajout d'un onglet présentant les "observations validées par le processus collaboratif".
- Un champ proposition_retenue, au rôle éponyme, est (enfin) créé.
- Un script de migration tente vaille que vaille de déterminer à postériori
les propositions retenues.
$ make o_maj2 celdb=tb_cel_test deldb=tb_del_test
$ mysql < maj2.comp.sql
- un onglet correspondant et créé dans l'UI d'IP et le support du backend implémenté
- enfin, lorsqu'une proposition est "retenue" par l'auteur, le champ
proposition_retenue est mis à jour comme il se doit en cas de succès de
la requête de mise à jour de l'observation dans CEL (via service:cel:CelValidationObservation).
 
/trunk/scripts/modules/maj/201310-propret.sql
/trunk/doc/bdd/schema_bdd_del.mwb
/trunk/doc/bdd/schema_bdd_del.pdf
/trunk/doc/bdd/sql/del.sql
/trunk/scripts/modules/maj/Makefile
/trunk/services/modules/0.1/determinations/ValiderDetermination.php
/trunk/services/modules/0.1/observations/ListeObservations2.php
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplantePresenteur.java
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplanteVue.java
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplanteVue.ui.xml
1443 3937 d 5 h mathias /trunk/services/modules/0.1/ Ajout méthode au service del/images : consultation par id_image, de la forme service:del:0.1/images/1234  
/trunk/services/modules/0.1/Images.php
/trunk/services/modules/0.1/images/ListeImages.php
1442 3937 d 22 h raphael /trunk/services/modules/0.1/observations/ observations: recherche insensible à la casse pour les noms/prénoms et pour les tags  
/trunk/services/modules/0.1/observations/ListeObservations2.php
1441 3938 d 0 h mathias /trunk/services/modules/0.1/images/ Correction bug service del/Images : remplacement de LIKE par = sur le num_nom  
/trunk/services/modules/0.1/images/ListeImages.php
1440 3938 d 1 h raphael /trunk/services/modules/0.1/determinations/ misc: fixes cosmétiques: constructions simples + statification  
/trunk/services/modules/0.1/determinations/ValiderDetermination.php
1439 3938 d 21 h raphael /trunk/services/modules/0.1/images/ pictoflora (ancien): retourne du JSON vide si aucune liaison n'existe plutôt que des requêtes infini + obtention du nom_referentiel systématique  
/trunk/services/modules/0.1/images/ListeImages.php
1438 3938 d 22 h raphael /trunk/services/modules/0.1/images/ pictoflora: ajout de debug sur les requêtes SQL existantes + commentaire à propos des goulets d'étranglement dûs à MySQL pour images2  
/trunk/services/modules/0.1/images/ListeImages.php
/trunk/services/modules/0.1/images/ListeImages2.php
1437 3938 d 22 h aurelien /trunk/src/org/tela_botanica/del/client/composants/ Vérification supplémentaire lors de l'affichage du lien vers eflore dans les propositions de taxon  
/trunk/src/org/tela_botanica/del/client/composants/formulaires/autocompletion/AutoCompletionComboBoxPresenteur.java
/trunk/src/org/tela_botanica/del/client/composants/forum/interventions/ForumInterventionPresenteur.java
1436 3939 d 0 h raphael /trunk/services/modules/0.1/motscles/ tags: ajout du "trigger" d'update de del_image_stat lorsqu'un tags est ajouté/supprimé.
Les valeurs moyenne et nb_votes restent inchangées.

Ex: curl -so - -X PUT -d auteur.id=XXX -d mot_cle=test1,test2 -d image=YYY "http://eflore/del/services/0.1/mots-cles";
 
/trunk/services/modules/0.1/motscles/MotClePictoflora.php
/trunk/services/modules/0.1/motscles/AjouterMotCle.php
/trunk/services/modules/0.1/motscles/SupprimerMotCle.php
1435 3939 d 0 h aurelien /trunk/services/modules/0.1/observations/ Ajout du référentiel des propositions dans ce qui est renvoyé par le service observation  
/trunk/services/modules/0.1/observations/Observation.php
1434 3939 d 1 h aurelien /trunk/war/config/ config: Correction du paramètre par défaut du lien vers une fiche eflore  
/trunk/war/config/config.defaut.js
1433 3939 d 4 h raphael /trunk/services/modules/0.1/images/ images: retourne un résultat vide plutôt qu'une 404 en cas d'absence de résultats  
/trunk/services/modules/0.1/images/ListeImages2.php
1432 3939 d 5 h aurelien /trunk/ bdd: correction, ajout du champ mot clés pour la table des tags  
/trunk/doc/bdd/schema_bdd_del.mwb
/trunk/doc/bdd/schema_bdd_del.pdf
/trunk/scripts/modules/maj/201309-index-views.sql