Tom Hughes
e9f62a8c30
Rename piwik to matomo and merge configuration into settings
2022-08-01 22:42:04 +01:00
Tobias Speicher
be878df097
Replace deprecated String.prototype.substr()
...
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-02-20 22:11:11 +01:00
Tom Hughes
32cc04fa5c
Switch to using js-cookie to manage cookies from javascript
2021-05-17 18:57:48 +01:00
Tom Hughes
a78da07f0b
Correct path for mapnik marker images
...
Fixes #2759
2020-08-08 11:00:47 +01:00
Tom Hughes
79447e7549
Replace querystring parser with qs yarn module
2020-08-06 20:51:55 +01:00
Tom Hughes
6dd451c7ee
Stop creating a shared global querystring variable
2019-07-15 20:28:54 +01:00
Tom Hughes
a47c0a4411
Update querystring references
2019-07-15 10:03:09 +01:00
Tom Hughes
141df02e67
Move status into the settings object
...
Only the very early boot code needs to look at the value
from the environment directly.
2019-03-17 11:15:34 +00:00
Andy Allan
b3e74b0650
Instruct sprockets to recompile this file based on the settings files changing
2019-03-13 18:06:23 +01:00
Andy Allan
d102c9aaf4
Move all settings to settings.yml
...
We leave the STATUS setting alone, since it's required before rails
boots. The test-specific settings now live in config/settings/test.yml
2019-03-13 18:06:23 +01:00
Simon Poole
26102f581f
Remove old MapQuest Directions routing support
2019-01-29 20:19:36 +00:00
Simon Poole
067290f19f
Remove old OSRM routing support
2019-01-29 20:19:36 +00:00
Simon Poole
8937099429
Add support for FOSSGIS routing server
2019-01-29 20:19:36 +00:00
Tom Hughes
83d97699cc
Use configured server protocol for shared URLs
...
Closes #939
2018-02-05 21:03:45 +00:00
Tom Hughes
9340c46173
Remove dependencies on mapzen services
2018-01-02 18:45:20 +00:00
Tom Hughes
d7b4f88d5e
Remove inline javascript from page header
2017-03-01 21:19:32 +00:00
Tom Hughes
d13348c0ea
Remove inline javascript from user views
2017-02-27 22:51:03 +00:00
Tom Hughes
3eda7be919
Use an API key for thunderforest tile layers
2016-09-08 16:16:45 +01:00
Tom Hughes
e128e78408
Move routing API endpoint addresses to config file
2016-01-11 19:03:47 +00:00
Tom Hughes
e20bb507f1
Fix issues with bogus % encoded sequences in URLs
...
Add a URI sanitizer to the rack stack avoid rack throwing
exceptions on the server side, and ignore errors decoding
components on the client side.
Fixes #1101
2015-12-07 13:52:20 +00:00
Tom Hughes
d1d784bcca
Ensure assets are recompiled when configuration changes
2015-09-30 19:34:14 +01:00
Tom Hughes
e54eadea95
Add support for Mapzen's Valhalla routing engine
2015-09-29 15:37:04 +01:00
Tom Hughes
2d6fb571dc
Make MapQuest API key conditional
2015-09-28 13:54:49 +01:00
Tom Hughes
7dd23a4b56
Move the MapQuest API key to the configuration file
2015-09-28 13:45:01 +01:00
Tom Hughes
1dae6a712e
Fix path for icons in the leaflet images directory
...
Fixes #910
2015-02-24 17:04:25 +00:00
Tom Hughes
e256c837b5
Eliminate templating from most javascript
2015-02-23 21:45:57 +00:00
Tom Hughes
5f970fe334
Make overpass server URL configurable
2014-03-16 16:18:13 +00:00
Tom Hughes
479b22ca77
Filter out nodes which are too far away
2014-03-16 16:18:13 +00:00
Tom Hughes
0de6885a91
Drop client side parsing of lat/lon parameters
...
The server always redirects these to a new style link with the
position in the hash, so we don't need to do it client side
2014-03-16 12:56:32 +00:00
Tom Hughes
8c9992f695
Apply zoomPrecision to location cookie
2014-02-28 00:26:34 +00:00
Tom Hughes
1f22b625a0
Move cookieContent to OSM.locationCookie
2014-02-28 00:10:55 +00:00
Tom Hughes
66039dedb0
Move zoomPrecision function to the OSM namespace
2014-02-27 18:15:54 +00:00
John Firebaugh
07976676de
Restore support for #layers=X with no map parameter
...
https://trac.openstreetmap.org/ticket/5056
2013-12-03 19:37:25 +00:00
John Firebaugh
69fdcfd163
Restore legacy bbox/min/max params support
...
https://trac.openstreetmap.org/ticket/5050
https://trac.openstreetmap.org/ticket/5051
2013-12-02 11:38:54 -08:00
Tom Hughes
ec8a601309
Test for the map argument correctly
2013-11-30 14:18:08 +00:00
Tom Hughes
a2b9f593f5
Don't throw an exception if the hash doesn't contain a map argument
2013-11-30 13:20:31 +00:00
John Firebaugh
415f6a42c7
Add explanatory comment
2013-11-25 13:12:04 -08:00
Tom Hughes
560763d224
Revert "Remove redundant code"
...
This reverts commit 28530085fb
.
2013-11-25 20:41:33 +00:00
Tom Hughes
47385464cd
Remove redundant code
...
Attempts to view an object are now redirected to the browse pages
so we will never see a node/way/relation parameter here.
2013-11-24 16:38:53 +00:00
Aaron Lidman
fec9dc84c0
No hash on browse pages, closes #35
2013-11-14 17:41:20 -08:00
John Firebaugh
a805e0b545
Use our own hash implementation
...
We need more flexibility than L.Hash provides.
2013-11-11 14:42:59 -08:00
John Firebaugh
e2f55c1c1b
L.hash expects parseHash to return false if there isn't a location
2013-11-06 12:26:32 -08:00
John Firebaugh
6157280d19
Refactor browsed object loading
2013-10-13 14:46:08 -07:00
John Firebaugh
08a55ed1b5
Remove unused bounds parameters
...
These were used by "View on larger map" links,
which no longer exist.
2013-10-13 14:46:05 -07:00
John Firebaugh
99775524b3
Fix display of browsed objects on map
2013-10-13 14:45:58 -07:00
Tom Hughes
26855add38
Rework piwik configuration
2013-08-24 12:54:51 +01:00
John Firebaugh
78d6bde485
Support background hash parameter for iD
...
Fixes systemed/iD#1590
Fixes systemed/iD#1682
2013-08-12 23:53:41 +01:00
John Firebaugh
f18740a7af
Fix "Edit area" links
2013-08-06 20:20:31 +01:00
John Firebaugh
7ee58d77b7
Wrap permalink coordinates
2013-08-06 09:12:20 -07:00
Tom Hughes
afc46bcd9b
Recognise locations in the hash correctly
2013-08-06 10:23:51 +01:00