infos-pratiques:etalage.git
11 years agoUse latest version of JavaScript libraries in development mode.
Emmanuel Raviart [Thu, 1 Dec 2011 15:16:26 +0000 (16:16 +0100)]
Use latest version of JavaScript libraries in development mode.

11 years agoAdd controllers for embedded POI and minisite view.
Emmanuel Raviart [Thu, 1 Dec 2011 15:15:57 +0000 (16:15 +0100)]
Add controllers for embedded POI and minisite view.

11 years agoAdd "text-inline" to supported Petitpois IDs.
Emmanuel Raviart [Wed, 30 Nov 2011 17:31:12 +0000 (18:31 +0100)]
Add "text-inline" to supported Petitpois IDs.

11 years agoAdd slug to POI URL.
Emmanuel Raviart [Wed, 30 Nov 2011 17:30:31 +0000 (18:30 +0100)]
Add slug to POI URL.

11 years agoAdd last update informations to POIs and improve their view.
Emmanuel Raviart [Wed, 30 Nov 2011 16:14:11 +0000 (17:14 +0100)]
Add last update informations to POIs and improve their view.

11 years agoKeep current POI (ie the one with an open popup), when moving map.
Emmanuel Raviart [Wed, 30 Nov 2011 14:52:34 +0000 (15:52 +0100)]
Keep current POI (ie the one with an open popup), when moving map.

11 years agoAdd option to show territory filter.
Emmanuel Raviart [Wed, 30 Nov 2011 09:42:06 +0000 (10:42 +0100)]
Add option to show territory filter.

11 years agoImprove computation of map bounds when territory is not given.
Emmanuel Raviart [Tue, 29 Nov 2011 17:31:46 +0000 (18:31 +0100)]
Improve computation of map bounds when territory is not given.

11 years agoCorrect multi-terms search.
Emmanuel Raviart [Tue, 29 Nov 2011 17:15:40 +0000 (18:15 +0100)]
Correct multi-terms search.

11 years agoImprove indent of fields in POI view.
Emmanuel Raviart [Tue, 29 Nov 2011 16:52:33 +0000 (17:52 +0100)]
Improve indent of fields in POI view.

11 years agoImprove indent.
Emmanuel Raviart [Tue, 29 Nov 2011 10:29:19 +0000 (11:29 +0100)]
Improve indent.

11 years agoErase existing POIs when zooming, but keep them when dragging map.
Emmanuel Raviart [Tue, 29 Nov 2011 10:28:40 +0000 (11:28 +0100)]
Erase existing POIs when zooming, but keep them when dragging map.

11 years agoAdd home marker to maps.
Emmanuel Raviart [Mon, 28 Nov 2011 17:50:22 +0000 (18:50 +0100)]
Add home marker to maps.

11 years agoAdd missing translations.
Emmanuel Raviart [Mon, 28 Nov 2011 16:38:52 +0000 (17:38 +0100)]
Add missing translations.

11 years agoCorrect distance computation. Add distance URL parameter (used for POIs without notio...
Emmanuel Raviart [Mon, 28 Nov 2011 16:27:58 +0000 (17:27 +0100)]
Correct distance computation. Add distance URL parameter (used for POIs without notion of competence).

11 years agoShow autocompleters even when no character is given.
Emmanuel Raviart [Mon, 28 Nov 2011 13:45:46 +0000 (14:45 +0100)]
Show autocompleters even when no character is given.

11 years agoImprove directory view to better support categories and to link to map and list views.
Emmanuel Raviart [Mon, 28 Nov 2011 13:45:05 +0000 (14:45 +0100)]
Improve directory view to better support categories and to link to map and list views.

11 years agoRename bounding_box to bbox and always use a [left, bottom, right, top] list.
Emmanuel Raviart [Mon, 28 Nov 2011 10:19:53 +0000 (11:19 +0100)]
Rename bounding_box to bbox and always use a [left, bottom, right, top] list.

11 years agoSplit map search into 2 parts: 1 that computes bounds and one that returns found...
Emmanuel Raviart [Sun, 27 Nov 2011 18:45:24 +0000 (19:45 +0100)]
Split map search into 2 parts: 1 that computes bounds and one that returns found POIs.

This split allows to always display an interesting territory whatever filter is given.

11 years agoAdd notion of competence to clusters and POIs on map.
Emmanuel Raviart [Sun, 27 Nov 2011 15:54:46 +0000 (16:54 +0100)]
Add notion of competence to clusters and POIs on map.

11 years agoslightly reduce number of POIs on map.
Emmanuel Raviart [Sun, 27 Nov 2011 15:53:55 +0000 (16:53 +0100)]
slightly reduce number of POIs on map.

11 years agoHandle POIs sharing the exact same location.
Emmanuel Raviart [Sat, 26 Nov 2011 17:22:46 +0000 (18:22 +0100)]
Handle POIs sharing the exact same location.

11 years agoImprove JavaScript style.
Emmanuel Raviart [Sat, 26 Nov 2011 16:13:22 +0000 (17:13 +0100)]
Improve JavaScript style.

11 years agoRemove Leaflet attribution.
Emmanuel Raviart [Sat, 26 Nov 2011 16:12:57 +0000 (17:12 +0100)]
Remove Leaflet attribution.

11 years agoUse a different icon for clusters.
Emmanuel Raviart [Sat, 26 Nov 2011 16:12:13 +0000 (17:12 +0100)]
Use a different icon for clusters.

11 years agoTry to improve max number of clusters in map.
Emmanuel Raviart [Sat, 26 Nov 2011 16:10:45 +0000 (17:10 +0100)]
Try to improve max number of clusters in map.

11 years agoAdd a zoom to cluster content.
Emmanuel Raviart [Sat, 26 Nov 2011 13:20:29 +0000 (14:20 +0100)]
Add a zoom to cluster content.

11 years agoUse clusters and remove pager to display a map of POIs.
Emmanuel Raviart [Fri, 25 Nov 2011 22:51:45 +0000 (23:51 +0100)]
Use clusters and remove pager to display a map of POIs.

11 years agoReset page number when moving map.
Emmanuel Raviart [Thu, 24 Nov 2011 15:21:45 +0000 (16:21 +0100)]
Reset page number when moving map.

11 years agoDon't fail when displaying a map without center territory.
Emmanuel Raviart [Thu, 24 Nov 2011 14:55:13 +0000 (15:55 +0100)]
Don't fail when displaying a map without center territory.

11 years agoAdd pager and sort to POIs in map views.
Emmanuel Raviart [Thu, 24 Nov 2011 14:45:14 +0000 (15:45 +0100)]
Add pager and sort to POIs in map views.

11 years agoDisplay number of found items in map view.
Emmanuel Raviart [Thu, 24 Nov 2011 12:48:43 +0000 (13:48 +0100)]
Display number of found items in map view.

11 years agoNew converter str_to_postal_distribution_to_geolocated_territory.
Emmanuel Raviart [Thu, 24 Nov 2011 10:22:13 +0000 (11:22 +0100)]
New converter str_to_postal_distribution_to_geolocated_territory.

11 years agoDon't fail when no territory is specified.
Emmanuel Raviart [Thu, 24 Nov 2011 10:21:24 +0000 (11:21 +0100)]
Don't fail when no territory is specified.

11 years agoIn list view, show competent POIs before incompetent ones.
Emmanuel Raviart [Wed, 23 Nov 2011 17:04:09 +0000 (18:04 +0100)]
In list view, show competent POIs before incompetent ones.

11 years agoDon't show POIs without a notion of competence when looking for competent POIs.
Emmanuel Raviart [Wed, 23 Nov 2011 13:42:46 +0000 (14:42 +0100)]
Don't show POIs without a notion of competence when looking for competent POIs.

11 years agoIn list view, sort POIs by distance.
Emmanuel Raviart [Wed, 23 Nov 2011 13:41:38 +0000 (14:41 +0100)]
In list view, sort POIs by distance.

11 years agoAdd filter to select whether POIs should be filtered by competence or by presence...
Emmanuel Raviart [Wed, 23 Nov 2011 13:04:33 +0000 (14:04 +0100)]
Add filter to select whether POIs should be filtered by competence or by presence or not.

11 years agoAdd address of POIs in list view.
Emmanuel Raviart [Tue, 22 Nov 2011 16:10:13 +0000 (17:10 +0100)]
Add address of POIs in list view.

11 years agoHandle GeoJSON without feature. Rename variable geojsonLayer.
Emmanuel Raviart [Tue, 22 Nov 2011 15:48:14 +0000 (16:48 +0100)]
Handle GeoJSON without feature. Rename variable geojsonLayer.

11 years agoRefactorize converters.
Emmanuel Raviart [Tue, 22 Nov 2011 14:29:25 +0000 (15:29 +0100)]
Refactorize converters.

11 years agoCorrect variable name.
Emmanuel Raviart [Tue, 22 Nov 2011 11:33:44 +0000 (12:33 +0100)]
Correct variable name.

11 years agoRepair map page.
Emmanuel Raviart [Tue, 22 Nov 2011 11:32:49 +0000 (12:32 +0100)]
Repair map page.

11 years agoRework GeoJSON and KML. Remove unused imports.
Emmanuel Raviart [Tue, 22 Nov 2011 11:25:10 +0000 (12:25 +0100)]
Rework GeoJSON and KML. Remove unused imports.

11 years agoRework search of POIs based on competence and presence territory.
Emmanuel Raviart [Tue, 22 Nov 2011 10:37:23 +0000 (11:37 +0100)]
Rework search of POIs based on competence and presence territory.

11 years agoImprove directory view.
Emmanuel Raviart [Mon, 21 Nov 2011 14:14:28 +0000 (15:14 +0100)]
Improve directory view.

11 years agoAdd forgotten geo attribute to RAM-based territories.
Emmanuel Raviart [Mon, 21 Nov 2011 14:13:51 +0000 (15:13 +0100)]
Add forgotten geo attribute to RAM-based territories.

11 years agoCorrect use of attribute.
Emmanuel Raviart [Sun, 20 Nov 2011 11:54:16 +0000 (12:54 +0100)]
Correct use of attribute.

11 years agoRemove useless imports.
Emmanuel Raviart [Sun, 20 Nov 2011 11:53:53 +0000 (12:53 +0100)]
Remove useless imports.

11 years agoAdd internationalization and french localization.
Emmanuel Raviart [Sun, 20 Nov 2011 09:53:55 +0000 (10:53 +0100)]
Add internationalization and french localization.

11 years agoReplace last MongoDB queries with ramdb requests.
Emmanuel Raviart [Sat, 19 Nov 2011 12:39:05 +0000 (13:39 +0100)]
Replace last MongoDB queries with ramdb requests.

11 years agoCorrect longitude bounds when map is larger than 360 degrees.
Emmanuel Raviart [Fri, 18 Nov 2011 23:59:11 +0000 (00:59 +0100)]
Correct longitude bounds when map is larger than 360 degrees.

11 years agoAdd address to POIs list.
Emmanuel Raviart [Fri, 18 Nov 2011 21:07:00 +0000 (22:07 +0100)]
Add address to POIs list.

11 years agoAdd address to geoJSON POIs.
Emmanuel Raviart [Fri, 18 Nov 2011 20:50:41 +0000 (21:50 +0100)]
Add address to geoJSON POIs.

11 years agoReduce number of POIs to 20 in geoJSON.
Emmanuel Raviart [Fri, 18 Nov 2011 20:50:01 +0000 (21:50 +0100)]
Reduce number of POIs to 20 in geoJSON.

11 years agoAdd "internal" class to internal links and "external" rel to external links.
Emmanuel Raviart [Fri, 18 Nov 2011 19:48:14 +0000 (20:48 +0100)]
Add "internal" class to internal links and "external" rel to external links.

11 years agoInstead of removing all POIs in Leaflet before adding geoJSON features, only add...
Emmanuel Raviart [Fri, 18 Nov 2011 18:05:52 +0000 (19:05 +0100)]
Instead of removing all POIs in Leaflet before adding geoJSON features, only add and remove changed POIs.

11 years agoAdd parent/services relations to POIs.
Emmanuel Raviart [Fri, 18 Nov 2011 15:21:46 +0000 (16:21 +0100)]
Add parent/services relations to POIs.

11 years agoAdd id of field when warning for unknown attributes in metadata.
Emmanuel Raviart [Fri, 18 Nov 2011 14:42:14 +0000 (15:42 +0100)]
Add id of field when warning for unknown attributes in metadata.

11 years agoAdd traditional flag to ajax requests.
Emmanuel Raviart [Thu, 17 Nov 2011 23:18:17 +0000 (00:18 +0100)]
Add traditional flag to ajax requests.

11 years agoAdd dynamic maps, using geoJSON web service.
Emmanuel Raviart [Thu, 17 Nov 2011 23:07:47 +0000 (00:07 +0100)]
Add dynamic maps, using geoJSON web service.

11 years agoLoad territories in RAM. Remove "from_bson" class methods since they require non...
Emmanuel Raviart [Thu, 17 Nov 2011 14:56:30 +0000 (15:56 +0100)]
Load territories in RAM. Remove "from_bson" class methods since they require non standards arguments (ramdb items).

11 years agoChange tabs order.
Emmanuel Raviart [Thu, 17 Nov 2011 13:34:22 +0000 (14:34 +0100)]
Change tabs order.

11 years agoUpgrade to Biryani 0.9dev.
Emmanuel Raviart [Thu, 17 Nov 2011 13:34:03 +0000 (14:34 +0100)]
Upgrade to Biryani 0.9dev.

11 years agoAdd test to measure speed of CSV export (& compare it to Go version).
Emmanuel Raviart [Sun, 13 Nov 2011 15:34:14 +0000 (16:34 +0100)]
Add test to measure speed of CSV export (& compare it to Go version).

11 years agoFix syntax errors on tests.
Emmanuel Raviart [Sun, 13 Nov 2011 15:33:47 +0000 (16:33 +0100)]
Fix syntax errors on tests.

11 years agoImprove CSV fields generation.
Emmanuel Raviart [Sun, 13 Nov 2011 15:33:16 +0000 (16:33 +0100)]
Improve CSV fields generation.

11 years agoRemove methods add_to_ramdb, since they were called only once.
Emmanuel Raviart [Sat, 12 Nov 2011 13:55:16 +0000 (14:55 +0100)]
Remove methods add_to_ramdb, since they were called only once.

11 years agoResize gadget every 0.2 second for 5 seconds, to allow gadget height to expand when...
Emmanuel Raviart [Thu, 10 Nov 2011 18:03:46 +0000 (19:03 +0100)]
Resize gadget every 0.2 second for 5 seconds, to allow gadget height to expand when images are loaded.

11 years agoCorrectly handle links in map popups, when in gadget mode. Simplify handling of links...
Emmanuel Raviart [Thu, 10 Nov 2011 17:02:57 +0000 (18:02 +0100)]
Correctly handle links in map popups, when in gadget mode. Simplify handling of links and forms in gadget mode, by sending URLs to requestNavigateTo instead of dict of parameters.

11 years agoUpgrade to jQuery 1.7.
Emmanuel Raviart [Thu, 10 Nov 2011 10:09:03 +0000 (11:09 +0100)]
Upgrade to jQuery 1.7.

11 years agoUse now only one parameter in container's URL for path.
Emmanuel Raviart [Thu, 10 Nov 2011 09:21:49 +0000 (10:21 +0100)]
Use now only one parameter in container's URL for path.

11 years agoRepair rendering of organism type in POI view.
Emmanuel Raviart [Wed, 9 Nov 2011 21:59:00 +0000 (22:59 +0100)]
Repair rendering of organism type in POI view.

11 years agoRemove trailing "/" from HTML elements without content.
Emmanuel Raviart [Wed, 9 Nov 2011 21:47:46 +0000 (22:47 +0100)]
Remove trailing "/" from HTML elements without content.

11 years agoUse <strong> for field labels.
Emmanuel Raviart [Wed, 9 Nov 2011 21:44:32 +0000 (22:44 +0100)]
Use <strong> for field labels.

11 years agoSurround images with a div in POI view.
Emmanuel Raviart [Wed, 9 Nov 2011 21:40:54 +0000 (22:40 +0100)]
Surround images with a div in POI view.

11 years agoAdd geocoding accuracy warning.
Emmanuel Raviart [Wed, 9 Nov 2011 21:37:08 +0000 (22:37 +0100)]
Add geocoding accuracy warning.

11 years agoAdd "target" attribute to external links when in gadget mode.
Emmanuel Raviart [Wed, 9 Nov 2011 21:15:06 +0000 (22:15 +0100)]
Add "target" attribute to external links when in gadget mode.

11 years agoImprove rendering of territories in POI view.
Emmanuel Raviart [Wed, 9 Nov 2011 21:07:16 +0000 (22:07 +0100)]
Improve rendering of territories in POI view.

11 years agoUse internal links for list mode.
Emmanuel Raviart [Wed, 9 Nov 2011 19:08:03 +0000 (20:08 +0100)]
Use internal links for list mode.

11 years agoAdd title to directory mode.
Emmanuel Raviart [Wed, 9 Nov 2011 19:06:35 +0000 (20:06 +0100)]
Add title to directory mode.

11 years agoAdd map to organism view.
Emmanuel Raviart [Wed, 9 Nov 2011 18:01:35 +0000 (19:01 +0100)]
Add map to organism view.

11 years agoRemove None from navigation parameters.
Emmanuel Raviart [Wed, 9 Nov 2011 16:40:59 +0000 (17:40 +0100)]
Remove None from navigation parameters.

11 years agoDon't fail when the value of an URL parameter is an ObjectId.
Emmanuel Raviart [Wed, 9 Nov 2011 16:33:36 +0000 (17:33 +0100)]
Don't fail when the value of an URL parameter is an ObjectId.

11 years agoUse internal links in directory mode.
Emmanuel Raviart [Wed, 9 Nov 2011 16:33:08 +0000 (17:33 +0100)]
Use internal links in directory mode.

11 years agoRemove limit on the number of POIs.
Emmanuel Raviart [Wed, 9 Nov 2011 16:17:47 +0000 (17:17 +0100)]
Remove limit on the number of POIs.

11 years agoIn directory mode handle both competence and distance.
Emmanuel Raviart [Wed, 9 Nov 2011 16:07:47 +0000 (17:07 +0100)]
In directory mode handle both competence and distance.

11 years agoDon't fail in "directory" mode when search form contains an error.
Emmanuel Raviart [Wed, 9 Nov 2011 09:44:55 +0000 (10:44 +0100)]
Don't fail in "directory" mode when search form contains an error.

11 years agoIn "directory" mode, require a commune.
Emmanuel Raviart [Wed, 9 Nov 2011 09:36:20 +0000 (10:36 +0100)]
In "directory" mode, require a commune.

11 years agoDon't fail when an errors occurs in list form (ie when page=0).
Emmanuel Raviart [Wed, 9 Nov 2011 08:33:55 +0000 (09:33 +0100)]
Don't fail when an errors occurs in list form (ie when page=0).

11 years agoAdd titles to pages.
Emmanuel Raviart [Tue, 8 Nov 2011 21:43:04 +0000 (22:43 +0100)]
Add titles to pages.

11 years agoAdd redirection mechanism for gadgets. Use Bootstraps for alert messages.
Emmanuel Raviart [Tue, 8 Nov 2011 21:14:04 +0000 (22:14 +0100)]
Add redirection mechanism for gadgets. Use Bootstraps for alert messages.

11 years agoAdd gadget support for links and forms.
Emmanuel Raviart [Tue, 8 Nov 2011 13:30:29 +0000 (14:30 +0100)]
Add gadget support for links and forms.

11 years agoRename variable.
Emmanuel Raviart [Tue, 8 Nov 2011 12:37:54 +0000 (13:37 +0100)]
Rename variable.

11 years agoUse main postal distribution to display the territories of a POI.
Emmanuel Raviart [Tue, 8 Nov 2011 12:35:50 +0000 (13:35 +0100)]
Use main postal distribution to display the territories of a POI.

11 years agoAdd renderer for internal links (used in gadget mode).
Emmanuel Raviart [Tue, 8 Nov 2011 11:14:07 +0000 (12:14 +0100)]
Add renderer for internal links (used in gadget mode).

11 years agoAdjust gadget height.
Emmanuel Raviart [Tue, 8 Nov 2011 10:26:09 +0000 (11:26 +0100)]
Adjust gadget height.

11 years agoRemove vertical scrollbar from page when in gadget mode.
Emmanuel Raviart [Tue, 8 Nov 2011 10:23:42 +0000 (11:23 +0100)]
Remove vertical scrollbar from page when in gadget mode.

Currently Bootstrap always displays a scrollbar (cf
http://groups.google.com/group/twitter-bootstrap/browse_thread/thread/518705d21371a328).
But they should be removed from gadgets.

11 years agoUse tag.name instead of trying to display tag object.
Emmanuel Raviart [Tue, 8 Nov 2011 08:49:32 +0000 (09:49 +0100)]
Use tag.name instead of trying to display tag object.

11 years agoTypo.
Emmanuel Raviart [Tue, 8 Nov 2011 08:46:18 +0000 (09:46 +0100)]
Typo.