Commit graph

6410 commits

Author SHA1 Message Date
Tom Hughes
2bdd542d9b Require the migration support code 2014-05-12 15:55:00 +01:00
Siebrand Mazeland
c627cb4d3b Localisation updates from https://translatewiki.net. 2014-05-12 13:43:23 +00:00
Tom Hughes
bdc3917f20 Update to rails 4.0.5 2014-05-11 10:03:05 +01:00
Siebrand Mazeland
340bcbbd6c Localisation updates from https://translatewiki.net. 2014-05-08 08:44:59 +00:00
Tom Hughes
a5b296a298 Qualify SCALE in tests 2014-04-27 19:19:16 +01:00
Tom Hughes
b369d786db Add correct icon for caravan parks 2014-04-27 19:19:03 +01:00
Tom Hughes
d56b449bdb Remove unused CSS rules that refer to non-existent images 2014-04-27 19:18:56 +01:00
Tom Hughes
a5cef0cd80 Remove non-existent image from leaflet URL map 2014-04-27 19:18:45 +01:00
Tom Hughes
360333d37d Modernise use of find and update_all in database migrations 2014-04-27 19:18:35 +01:00
Tom Hughes
1a38e9b315 Don't pass strings to set_fixture_class 2014-04-27 19:16:42 +01:00
Tom Hughes
e85bcf9c4d Don't try and route to a note with no ID
Fixes #733
2014-04-26 00:13:49 +01:00
Siebrand Mazeland
b700d30ae4 Localisation updates from https://translatewiki.net. 2014-04-21 09:27:51 +00:00
John Firebaugh
76c6409b67 Update to iD v1.3.9 2014-04-09 15:07:54 -04:00
Siebrand Mazeland
77e726d5ab Localisation updates from https://translatewiki.net. 2014-04-06 17:12:22 +00:00
Tom Hughes
5e5c6b3a29 Add support for remote edit over https on port 8112 2014-04-01 19:17:15 +01:00
Siebrand Mazeland
878bdabee8 Localisation updates from https://translatewiki.net. 2014-03-31 21:44:36 +00:00
Tom Hughes
883a375d1a Ignore clicks on history entries if the mouse has moved
Ignore click events on history events if the mouse moves so that
drag selection can work. Fixes #581.
2014-03-31 11:25:40 +01:00
John Firebaugh
5c58f00c2e Update to iD v1.3.8 2014-03-28 11:59:03 -07:00
Siebrand Mazeland
69b9cafb57 Localisation updates from https://translatewiki.net. 2014-03-18 12:29:59 +00:00
Tom Hughes
4cad1970fb Make sure the hash updates properly on browse pages
Rework the way the move listener is disabled during initial
positiong of pages to avoid accidentally leaving it disabled
for the first user move of the map in some cases.
2014-03-16 14:11:29 +00:00
Tom Hughes
faa77f7bcd Update to rails 4.0.4 2014-03-14 18:58:02 +00:00
Tom Hughes
24e22dde6e Don't call updateLayers if the new state has no layer config
Fixes #719
2014-03-13 21:36:33 +00:00
Tom Hughes
82ff8ef58d Remove unused (and bogus) code 2014-03-13 17:33:46 +00:00
Tom Hughes
b4a2b23025 Block submission of the export form when the area is too large 2014-03-13 17:33:06 +00:00
Tom Hughes
d79b286723 Fix more links to use new style #map links 2014-03-13 16:02:50 +00:00
Tom Hughes
4b3d4782ce Remove unused file 2014-03-13 16:01:17 +00:00
Tom Hughes
9b35270d0b Update map state when following a client side route 2014-03-13 13:37:45 +00:00
Tom Hughes
07082c35e6 Fix link 2014-03-13 13:37:39 +00:00
Tom Hughes
54890300a4 Generate a new style links for node locations in the data browser 2014-03-13 13:19:50 +00:00
Siebrand Mazeland
029f9217e9 Localisation updates from https://translatewiki.net. 2014-03-12 13:01:16 +00:00
Shaun McDonald
28a4508aec Add some additional information to help people starting out on the project using vagrant, especially if you haven't used vagrant before. 2014-03-09 16:48:04 +00:00
Matt Amos
581d871827 Migrate the database on vagrant up.
Also fix the provisioning script so that it runs correctly when
the VM is upped, regardless of whether it's a clean install or
an 'up' of a previously halted VM.
2014-03-08 11:33:52 +00:00
Matt Amos
b460deaead Added some docs for Vagrant usage.
It doesn't currently recomment using Vagrant - there are probably
some bugs to work out in the process before we can do that.
2014-03-08 10:45:51 +00:00
Matt Amos
f2d13c0756 Merge remote-tracking branch 'upstream/master' into vagrant 2014-03-08 10:18:24 +00:00
Tom Hughes
8c82be0537 Make the search form a GET form with no extra fields
We only accept GET requests for the search, and although the form is
never normally submitted directly some browsers offer an option to
create a bookmark from a form, so make that work.
2014-03-07 19:18:24 +00:00
Tom Hughes
d65e019823 Add more helper tests 2014-03-05 22:54:59 +00:00
Tom Hughes
0c80a486b4 Remove an unused method 2014-03-05 22:54:50 +00:00
Tom Hughes
1e45b8f521 Update to Leaflet 0.7.2 2014-03-04 15:53:40 +00:00
Tom Hughes
0de7fdb4df Add more tests for BrowseHelper 2014-03-01 16:02:06 +00:00
Tom Hughes
733108588c Update config/wiki_pages.yml 2014-03-01 12:36:30 +00:00
João G. Packer
18734786a1 Fixed wikipedia link reference to specific sections
When creating  a wikipedia link from a tag, the function
is (correctly) appending "?userlang=#{I18N.lang}" to the URL,
but doing this breaks the reference to a specific section
of a wikipedia article (if there is any).

For example, if the tag is "wikipedia=Article#Section", the function
would create a link to "../Article#Section?uselang=xx", and then the
browser wouldn't be able to correctly find the section. The correct
link result should be "../Article?uselang=xx#Section".

This commit fixes this by verifying if there is a reference to a
specific section of the article, and then putting "?uselang=#{I18N.lang}"
between the article's name and the section name.
2014-03-01 00:26:37 +00:00
Tom Hughes
109dcfff19 Add tests for BrowseHelper#wikipedia_link 2014-03-01 00:25:33 +00:00
Tom Hughes
42b7c5802d Add tests for OSM.locationCookie 2014-02-28 00:28:26 +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
bf797f4380 Update osm.js tests for changes and add some more 2014-02-27 19:10:36 +00:00
Tom Hughes
66039dedb0 Move zoomPrecision function to the OSM namespace 2014-02-27 18:15:54 +00:00
John Firebaugh
665abc501c Use Konacha for testing JavaScript 2014-02-27 16:03:22 +00:00
Tom Hughes
28b8863627 Remove unused (and non-functioning) code 2014-02-26 18:53:25 +00:00
Matt Amos
3c1371adaf Move vagrant provisioning script to a better location. 2014-02-26 11:35:43 +00:00