- 01 Jul, 2018 1 commit
-
-
Baptiste Jonglez authored
-
- 30 Jun, 2018 3 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
With lots of reference points, the current sorting by distance is really not usable. Sorting by name allows to more easily find a given refpoint in the list. While we're at it, display the distance in the dropdown menu so that it's easier to check if it's the right refpoint.
-
Baptiste Jonglez authored
-
- 27 Mar, 2018 1 commit
-
-
Baptiste Jonglez authored
-
- 14 Nov, 2017 1 commit
-
-
zorun authored
-
- 09 Oct, 2017 1 commit
-
-
olb authored
-
- 12 Sep, 2017 3 commits
- 06 Jul, 2017 8 commits
-
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
Starting from Django 1.9.11, ALLOWED_HOSTS is also taken into account when DEBUG is turned on. See https://docs.djangoproject.com/en/1.10/releases/1.9.11/#dns-rebinding-vulnerability-when-debug-true
-
Baptiste Jonglez authored
This fixes an issue with recent browsers that do not seem to correctly get the CSRF token from a variable, resulting in 403 responses for AJAX requests.
-
Baptiste Jonglez authored
-
- 15 Apr, 2017 3 commits
- 21 Mar, 2017 3 commits
- 20 Mar, 2017 3 commits
- 17 Mar, 2017 2 commits
-
-
Samuel authored
- 16 Feb, 2017 1 commit
-
-
Samuel authored
-
- 31 Oct, 2016 1 commit
-
-
Samuel authored
-
- 21 Oct, 2016 1 commit
-
-
julpec authored
-
- 20 Oct, 2016 5 commits
-
-
Baptiste Jonglez authored
Use "requests" to avoid compatibility issues with urllib/urllib2 between python2 and python3. Also add more validation about what api.geonames.org might return.
-
Baptiste Jonglez authored
This fixes issue #23 related to mixed HTTP/HTTPS content, because api.geonames.org is not available over HTTPS for free-of-charge usage. This also has the advantage of defining a generic interface, so that we can support other sources of altitude data with different formatting (e.g. IGN) without changing the javascript code. While we are at it, also cache the result of API calls in Django. This will avoid hammering on the real API server if our javascript code is too enthusiastic. Proxying has a slight disadvantage: if the API server performs rate-limiting based on IP address, then we will reach the limit much more quickly. This is because all requests will now come from the celutz server, instead of from each individual client broswer.
-
Baptiste Jonglez authored
-
Baptiste Jonglez authored
-
julpec authored
validation de la recherche de lieu avec la touche enter + positionnement auto du curseur sur le champ de recherche
-
- 11 Oct, 2016 1 commit
-
-
Samuel authored
Link update_map with draw_image (simplify lot of thing + more logical...) + place window.onload after the initialization of the leaflet variable. All together should fix issue #18
-
- 05 Oct, 2016 2 commits