infos-pratiques:etalage.git
8 years agoAdd unicode marqueur on strings. preprod
Romain Soufflet [Mon, 2 Jun 2014 14:30:11 +0000 (16:30 +0200)]
Add unicode marqueur on strings.

8 years agoMerge remote-tracking branch 'origin/schauvel'
Romain Soufflet [Mon, 2 Jun 2014 14:22:40 +0000 (16:22 +0200)]
Merge remote-tracking branch 'origin/schauvel'

8 years agoslight improvement of save_widgets_urls script (cleaning/refactoring)
Sébastien Chauvel (sinma) [Mon, 2 Jun 2014 13:29:48 +0000 (15:29 +0200)]
slight improvement of save_widgets_urls script (cleaning/refactoring)

8 years agoscript now use a different var from Piwik, cleaning, now PEP8 compliant
Sébastien Chauvel (sinma) [Tue, 27 May 2014 15:40:19 +0000 (17:40 +0200)]
script now use a different var from Piwik, cleaning, now PEP8 compliant

8 years agoAdd a third piwik var in markers.
Romain Soufflet [Tue, 27 May 2014 12:48:11 +0000 (14:48 +0200)]
Add a third piwik var in markers.

8 years agoAdd gadget ID to piwik trackers.
Romain Soufflet [Tue, 27 May 2014 08:38:29 +0000 (10:38 +0200)]
Add gadget ID to piwik trackers.

8 years agoScript now (mostly working) add URL not registered with a registered domain name...
Sébastien Chauvel (sinma) [Thu, 22 May 2014 15:28:49 +0000 (17:28 +0200)]
Script now (mostly working) add URL not registered with a registered domain name into DB

8 years agoRemove script that produce CSV; create one that check if Piwik retrieved widgets...
Sébastien Chauvel (sinma) [Wed, 21 May 2014 15:49:48 +0000 (17:49 +0200)]
Remove script that produce CSV; create one that check if Piwik retrieved widgets-displaying address are registered by a subcriber

8 years agoBuild "safe inputs" dict to use in JSON var.
Romain Soufflet [Tue, 6 May 2014 15:43:09 +0000 (17:43 +0200)]
Build "safe inputs" dict to use in JSON var.

8 years agoDon't use inputs in JavaScript area.
Romain Soufflet [Tue, 6 May 2014 15:04:58 +0000 (17:04 +0200)]
Don't use inputs in JavaScript area.

8 years agoadd command line options and use same structure as other scripts
Sébastien Chauvel (sinma) [Mon, 5 May 2014 07:46:37 +0000 (09:46 +0200)]
add command line options and use same structure as other scripts

8 years agoAdd a script to retrieve Piwik custom variables and export some pieces of information...
Sébastien Chauvel (sinma) [Fri, 2 May 2014 15:07:12 +0000 (17:07 +0200)]
Add a script to retrieve Piwik custom variables and export some pieces of information to CSV

8 years agoReject misencoded requests to avoid internal errors.
Romain Soufflet [Mon, 28 Apr 2014 15:35:01 +0000 (17:35 +0200)]
Reject misencoded requests to avoid internal errors.

8 years agoUpdate french translation.
Romain Soufflet [Fri, 18 Apr 2014 14:00:24 +0000 (16:00 +0200)]
Update french translation.

8 years agoExtract more message for translation. And translate them.
Romain Soufflet [Fri, 18 Apr 2014 13:54:45 +0000 (15:54 +0200)]
Extract more message for translation. And translate them.

9 years agoFix some pyflakes error.
Romain Soufflet [Mon, 13 Jan 2014 15:18:32 +0000 (16:18 +0100)]
Fix some pyflakes error.

9 years agoReturn JSON in API Errors instead of HTML.
Romain Soufflet [Mon, 13 Jan 2014 15:14:22 +0000 (16:14 +0100)]
Return JSON in API Errors instead of HTML.

9 years agoAdd petitpois_url in POIs bson.
Romain Soufflet [Mon, 6 Jan 2014 17:22:27 +0000 (18:22 +0100)]
Add petitpois_url in POIs bson.

9 years agoAdd name for link fields in POI API.
Romain Soufflet [Wed, 18 Dec 2013 14:38:31 +0000 (15:38 +0100)]
Add name for link fields in POI API.

9 years agoCleanup POIs API.
Romain Soufflet [Tue, 17 Dec 2013 15:01:41 +0000 (16:01 +0100)]
Cleanup POIs API.

9 years agoAdd complete list of fields in JSON of /api/v1/poi.
Romain Soufflet [Tue, 17 Dec 2013 14:21:18 +0000 (15:21 +0100)]
Add complete list of fields in JSON of /api/v1/poi.

9 years agoFix calls to data_to_render_poi.
Romain Soufflet [Tue, 10 Dec 2013 13:54:30 +0000 (14:54 +0100)]
Fix calls to data_to_render_poi.

9 years agoFix JSON encodre error.
Romain Soufflet [Tue, 10 Dec 2013 11:07:37 +0000 (12:07 +0100)]
Fix JSON encodre error.

9 years agoAdd converter to encode POI objects as JSON
Romain Soufflet [Wed, 4 Dec 2013 14:33:59 +0000 (15:33 +0100)]
Add converter to encode POI objects as JSON

9 years agoFix pyflake warnings.
Romain Soufflet [Wed, 4 Dec 2013 14:32:52 +0000 (15:32 +0100)]
Fix pyflake warnings.

9 years agoAdd a controller to access POI details through REST API.
Romain Soufflet [Wed, 4 Dec 2013 14:31:34 +0000 (15:31 +0100)]
Add a controller to access POI details through REST API.

9 years agoAdd a controller to access POI list through REST API.
Romain Soufflet [Wed, 4 Dec 2013 14:30:30 +0000 (15:30 +0100)]
Add a controller to access POI list through REST API.

9 years agoAdd "page_max_size" argument to categories autocompleter.
Romain Soufflet [Wed, 4 Dec 2013 14:29:17 +0000 (15:29 +0100)]
Add "page_max_size" argument to categories autocompleter.

9 years agoDeactivate previous link when current page show poi_index 1.
Romain Soufflet [Fri, 22 Nov 2013 14:50:20 +0000 (15:50 +0100)]
Deactivate previous link when current page show poi_index 1.

9 years agoRemove wrong line in "each" loop.
Romain Soufflet [Fri, 22 Nov 2013 13:41:58 +0000 (14:41 +0100)]
Remove wrong line in "each" loop.

9 years agoFix POI subclasses initialization.
Romain Soufflet [Thu, 17 Oct 2013 14:49:31 +0000 (16:49 +0200)]
Fix POI subclasses initialization.

9 years agoFix default URL to hogan.js
Romain Soufflet [Wed, 16 Oct 2013 22:46:25 +0000 (00:46 +0200)]
Fix default URL to hogan.js

9 years agoAdd a middleware ensuring we can decode URL.
Romain Soufflet [Thu, 3 Oct 2013 13:07:02 +0000 (15:07 +0200)]
Add a middleware ensuring we can decode URL.

9 years agoFix error when category is None.
Romain Soufflet [Mon, 2 Sep 2013 09:53:21 +0000 (11:53 +0200)]
Fix error when category is None.

9 years agoDisplay all export formats in export pages.
Romain Soufflet [Mon, 2 Sep 2013 09:52:19 +0000 (11:52 +0200)]
Display all export formats in export pages.

9 years agoAdd hogan.js to environnement.py.
Romain Soufflet [Mon, 2 Sep 2013 09:48:08 +0000 (11:48 +0200)]
Add hogan.js to environnement.py.

9 years agoUse biryani1 instead of biryani.
Romain Soufflet [Mon, 2 Sep 2013 09:47:55 +0000 (11:47 +0200)]
Use biryani1 instead of biryani.

9 years agoRemove limits for csv exports.
Romain Soufflet [Mon, 2 Sep 2013 09:47:05 +0000 (11:47 +0200)]
Remove limits for csv exports.

9 years agoAdd hogan templates to map.js.
Romain Soufflet [Fri, 9 Aug 2013 13:56:46 +0000 (15:56 +0200)]
Add hogan templates to map.js.

9 years agoCreate subclasses for Schemas even if they don't own any POI.
Romain Soufflet [Wed, 19 Jun 2013 09:48:48 +0000 (11:48 +0200)]
Create subclasses for Schemas even if they don't own any POI.

9 years agoUse 'in' instead of deprecated 'has_key'.
Romain Soufflet [Mon, 17 Jun 2013 09:47:31 +0000 (11:47 +0200)]
Use 'in' instead of deprecated 'has_key'.

9 years agoDon't use poi variable, because it doesn't exist.
Emmanuel Raviart [Fri, 14 Jun 2013 08:00:13 +0000 (10:00 +0200)]
Don't use poi variable, because it doesn't exist.

9 years agoUse poi_bson instead of non existing poi object.
Romain Soufflet [Thu, 13 Jun 2013 14:53:18 +0000 (16:53 +0200)]
Use poi_bson instead of non existing poi object.

9 years agoRemove closing '/' in link tag.
Romain Soufflet [Thu, 13 Jun 2013 08:33:26 +0000 (10:33 +0200)]
Remove closing '/' in link tag.

9 years agoUse full URL for canonical link.
Romain Soufflet [Thu, 13 Jun 2013 08:29:24 +0000 (10:29 +0200)]
Use full URL for canonical link.

9 years agoAdd canonical link in POI pages to avoid duplicate content from search engines.
Romain Soufflet [Thu, 13 Jun 2013 08:19:47 +0000 (10:19 +0200)]
Add canonical link in POI pages to avoid duplicate content from search engines.

9 years agoUpdate french localization.
Emmanuel Raviart [Thu, 13 Jun 2013 08:08:05 +0000 (10:08 +0200)]
Update french localization.

9 years agoUse navbar only when called from poi controller.
Romain Soufflet [Wed, 12 Jun 2013 17:04:37 +0000 (19:04 +0200)]
Use navbar only when called from poi controller.

9 years agoFix missing argument in mako render.
Romain Soufflet [Wed, 12 Jun 2013 16:59:43 +0000 (18:59 +0200)]
Fix missing argument in mako render.

9 years agoDon't fail when schema isn't found.
Romain Soufflet [Wed, 12 Jun 2013 16:26:07 +0000 (18:26 +0200)]
Don't fail when schema isn't found.

9 years agoUse geoJson params in order to keep search params in URL.
Romain Soufflet [Wed, 12 Jun 2013 16:25:32 +0000 (18:25 +0200)]
Use geoJson params in order to keep search params in URL.

9 years agoCreate a Poi subclass for each schema in each database.
Romain Soufflet [Wed, 12 Jun 2013 14:40:08 +0000 (16:40 +0200)]
Create a Poi subclass for each schema in each database.

9 years agoAdd previous/back/next buttons to organism pages.
Romain Soufflet [Wed, 12 Jun 2013 13:56:58 +0000 (15:56 +0200)]
Add previous/back/next buttons to organism pages.

9 years agoFix indexes "ids_by_begin_datetime" and "ids_by_end_datetime" orders.
Romain Soufflet [Wed, 12 Jun 2013 08:43:13 +0000 (10:43 +0200)]
Fix indexes "ids_by_begin_datetime" and "ids_by_end_datetime" orders.

9 years agoAdd icon_url information in a subclass of POI.
Romain Soufflet [Mon, 10 Jun 2013 16:20:21 +0000 (18:20 +0200)]
Add icon_url information in a subclass of POI.

9 years agoRemove useless imports.
Emmanuel Raviart [Mon, 10 Jun 2013 16:17:16 +0000 (18:17 +0200)]
Remove useless imports.

9 years agoEnsure that when creating a POI it uses a subclass instead of root POI class.
Emmanuel Raviart [Mon, 10 Jun 2013 16:11:32 +0000 (18:11 +0200)]
Ensure that when creating a POI it uses a subclass instead of root POI class.

9 years agoDon't use easyXDM.DomHelper.requiresJSON because it doesn't work with some versions...
Emmanuel Raviart [Fri, 7 Jun 2013 14:28:54 +0000 (16:28 +0200)]
Don't use easyXDM.DomHelper.requiresJSON because it doesn't work with some versions of IE7.

9 years agoImprove use of Piwik configuration and Mako indentation.
Emmanuel Raviart [Thu, 6 Jun 2013 12:31:55 +0000 (14:31 +0200)]
Improve use of Piwik configuration and Mako indentation.

9 years agoAdd support for multiple databases of POIs and multiple back-offices.
Emmanuel Raviart [Thu, 6 Jun 2013 12:30:11 +0000 (14:30 +0200)]
Add support for multiple databases of POIs and multiple back-offices.

9 years agoUpgrade for Webob 1.2 that uses unicode for script_name and path_info.
Emmanuel Raviart [Thu, 6 Jun 2013 12:28:47 +0000 (14:28 +0200)]
Upgrade for Webob 1.2 that uses unicode for script_name and path_info.

9 years agoDatetime information must be inserted in the right order in indexes.
Romain Soufflet [Fri, 31 May 2013 17:20:32 +0000 (19:20 +0200)]
Datetime information must be inserted in the right order in indexes.

9 years agoAdd scheme to swf URL (fix IE6, 7).
Romain Soufflet [Mon, 27 May 2013 14:57:42 +0000 (16:57 +0200)]
Add scheme to swf URL (fix IE6, 7).

9 years agoAdd quotes arround piwik URLs.
Romain Soufflet [Thu, 16 May 2013 07:59:36 +0000 (09:59 +0200)]
Add quotes arround piwik URLs.

9 years agoReplace hard coded piwik siteId by its configuration value.
Romain Soufflet [Mon, 13 May 2013 09:13:26 +0000 (11:13 +0200)]
Replace hard coded piwik siteId by its configuration value.

9 years agoPut piwik URLs in configuration file.
Romain Soufflet [Mon, 13 May 2013 09:01:35 +0000 (11:01 +0200)]
Put piwik URLs in configuration file.

9 years agoLimit bounding box size when searching competence by nature.
Romain Soufflet [Tue, 7 May 2013 16:44:42 +0000 (18:44 +0200)]
Limit bounding box size when searching competence by nature.

9 years agoAdd piwik marker id in config validator.
Romain Soufflet [Mon, 6 May 2013 09:11:59 +0000 (11:11 +0200)]
Add piwik marker id in config validator.

9 years agouse get method to avoir key error.
Romain Soufflet [Thu, 2 May 2013 09:31:34 +0000 (11:31 +0200)]
use get method to avoir key error.

9 years agoChange précision wording.
Romain Soufflet [Tue, 30 Apr 2013 09:45:21 +0000 (11:45 +0200)]
Change précision wording.

9 years agoImport subscribtion check codes from Metanol.
Romain Soufflet [Tue, 30 Apr 2013 09:45:09 +0000 (11:45 +0200)]
Import subscribtion check codes from Metanol.

9 years agoFix undefined variable related_territories_id.
Romain Soufflet [Wed, 24 Apr 2013 12:10:42 +0000 (14:10 +0200)]
Fix undefined variable related_territories_id.

9 years agoAdd "handle_competence_territories" config variable.
Romain Soufflet [Tue, 23 Apr 2013 16:36:30 +0000 (18:36 +0200)]
Add "handle_competence_territories" config variable.

9 years agoRemove "filter" notion.
Romain Soufflet [Fri, 19 Apr 2013 09:18:44 +0000 (11:18 +0200)]
Remove "filter" notion.

9 years agoOpen external links in new tab.
Romain Soufflet [Wed, 17 Apr 2013 14:20:24 +0000 (16:20 +0200)]
Open external links in new tab.

9 years agoDecode request URL and script name before adding them to JSON responses.
Emmanuel Raviart [Fri, 19 Apr 2013 15:49:47 +0000 (17:49 +0200)]
Decode request URL and script name before adding them to JSON responses.

9 years agoAdd request URL to JSON responses.
Emmanuel Raviart [Mon, 15 Apr 2013 13:40:23 +0000 (15:40 +0200)]
Add request URL to JSON responses.

9 years agoReplace controller_name with req.script_name.
Emmanuel Raviart [Fri, 12 Apr 2013 16:08:32 +0000 (18:08 +0200)]
Replace controller_name with req.script_name.

9 years agoFix an error when displaying categories error.
Romain Soufflet [Fri, 12 Apr 2013 14:01:24 +0000 (16:01 +0200)]
Fix an error when displaying categories error.

9 years agoAdd target="_blank" to feed links.
Romain Soufflet [Fri, 12 Apr 2013 14:00:48 +0000 (16:00 +0200)]
Add target="_blank" to feed links.

9 years agoUse document.body instead of document.
Romain Soufflet [Fri, 12 Apr 2013 13:59:12 +0000 (15:59 +0200)]
Use document.body instead of document.

9 years agoFix: remove deleted POI from index.
Romain Soufflet [Mon, 8 Apr 2013 14:57:49 +0000 (16:57 +0200)]
Fix: remove deleted POI from index.

9 years agoWhen sort_key is changed, return to first page
Romain Soufflet [Mon, 8 Apr 2013 13:13:11 +0000 (15:13 +0200)]
When sort_key is changed, return to first page

9 years agoIndex slugs in order to improve sorting.
Romain Soufflet [Mon, 8 Apr 2013 09:25:05 +0000 (11:25 +0200)]
Index slugs in order to improve sorting.

9 years agoParse "container_base_url" and "gadget_id" input params first. (if there is an error...
Romain Soufflet [Fri, 5 Apr 2013 09:26:04 +0000 (11:26 +0200)]
Parse "container_base_url" and "gadget_id" input params first. (if there is an error, it can be displayed in gadget mode)

9 years agoRemove slugify method from sorting key (performance issues).
Romain Soufflet [Fri, 5 Apr 2013 09:19:14 +0000 (11:19 +0200)]
Remove slugify method from sorting key (performance issues).

9 years agoChange translation of "Export" from "Exporter" to "Télécharger".
Romain Soufflet [Fri, 5 Apr 2013 08:51:00 +0000 (10:51 +0200)]
Change translation of "Export" from "Exporter" to "Télécharger".

9 years agoDisplay correctly errors on feed page.
Romain Soufflet [Thu, 4 Apr 2013 15:38:44 +0000 (17:38 +0200)]
Display correctly errors on feed page.

9 years agoFix bug when POIs are deleted in "list_of_tuples" indexes.
Romain Soufflet [Tue, 2 Apr 2013 09:21:04 +0000 (11:21 +0200)]
Fix bug when POIs are deleted in "list_of_tuples" indexes.

10 years agoAdd "list_of_tuples" options to find_existing method.
Romain Soufflet [Fri, 29 Mar 2013 17:07:33 +0000 (18:07 +0100)]
Add "list_of_tuples" options to find_existing method.

10 years agoField value can be an ObjectId instead of basestring for Organism fields.
Romain Soufflet [Fri, 29 Mar 2013 14:12:54 +0000 (15:12 +0100)]
Field value can be an ObjectId instead of basestring for Organism fields.

10 years agoHandle date indexes which are not dict (sorted list of datetimes).
Romain Soufflet [Fri, 29 Mar 2013 14:11:11 +0000 (15:11 +0100)]
Handle date indexes which are not dict (sorted list of datetimes).

10 years agoSearch among base categories with OR instead of AND.
Romain Soufflet [Thu, 21 Mar 2013 13:29:42 +0000 (14:29 +0100)]
Search among base categories with OR instead of AND.

10 years agoFix flake8 indentation warning.
Romain Soufflet [Wed, 20 Mar 2013 14:58:18 +0000 (15:58 +0100)]
Fix flake8 indentation warning.

10 years agoAdd atom feeds for search form.
Romain Soufflet [Wed, 20 Mar 2013 14:20:17 +0000 (15:20 +0100)]
Add atom feeds for search form.

10 years agoFix flake8 errors.
Romain Soufflet [Fri, 15 Mar 2013 17:55:32 +0000 (18:55 +0100)]
Fix flake8 errors.

10 years agoAdd date support.
Romain Soufflet [Fri, 15 Mar 2013 17:32:48 +0000 (18:32 +0100)]
Add date support.

10 years agoForbid IE to replace relative paths by absolute paths.
Romain Soufflet [Tue, 19 Mar 2013 17:56:54 +0000 (18:56 +0100)]
Forbid IE to replace relative paths by absolute paths.

10 years agoWhen no territory kind is given (by gadget in URL) use only territories kinds given...
Emmanuel Raviart [Mon, 18 Mar 2013 09:08:56 +0000 (10:08 +0100)]
When no territory kind is given (by gadget in URL) use only territories kinds given in configuration instead of all of them.

10 years agoAdd possibility to hide legend with "hide_legend" gadget param.
Romain Soufflet [Thu, 14 Mar 2013 16:48:54 +0000 (17:48 +0100)]
Add possibility to hide legend with "hide_legend" gadget param.