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
John Firebaugh
e50229c0bc
Update to iD v1.3.7
2014-02-26 00:33:48 +00:00
Tom Hughes
e83fdf09e2
Add some more tests for library code
2014-02-26 00:33:19 +00:00
Tom Hughes
1c46fb5891
Remove unused session model
2014-02-26 00:13:47 +00:00
Tom Hughes
98184dfb9c
Reorganise tests to match modern rails test layout
2014-02-26 00:13:19 +00:00
Tom Hughes
1ea64ea977
Add a test to check that html.dir is sensible in every locale
2014-02-23 00:20:57 +00:00
Tom Hughes
d1313a89d6
Uniqify lists of containing ways/relations
...
Fixes #707
2014-02-23 00:08:51 +00:00
Tom Hughes
c26cdeb557
The html.dir key should not be translated...
...
Fixes #709
2014-02-23 00:05:24 +00:00
Tom Hughes
a949f98ced
Apparently asin now throws Math::DomainError instead of Errno::EDOM
2014-02-20 09:12:41 +00:00
John Firebaugh
41b1bd4a70
Fix updateLinks({lat: 0, lon: 0}, ...)
...
Fixes openstreetmap/iD#2130
2014-02-18 17:20:52 -08:00
Tom Hughes
60fd6e2f5b
Update to rails 4.0.3
2014-02-18 21:38:43 +00:00
Tom Hughes
c02fa94d5e
Fixed missing translation
2014-02-17 20:10:29 +00:00
Tom Hughes
f9ae6d252f
Drop the slim layout
...
The slim layout is not really needed since the redesign as the
pages it was used for in the OAuth flow now have less chrome and
work fine on small screens with the normal layout.
Fixes #689
2014-02-16 16:03:00 +00:00
Tom Hughes
457ba2e5e8
Add some more shortlink tests
2014-02-15 12:46:09 +00:00
Tom Hughes
47841829d8
Improve redirection of shortlinks
...
If a shortlink includes an object reference then redirect to a new
style browse URL for that object.
Fixes #702
2014-02-15 12:42:52 +00:00
Tom Hughes
b947358134
Include selected layer in short links
...
Fixes #703
2014-02-15 12:05:30 +00:00
Tom Hughes
ee3e5d56d2
Remove https load test
2014-02-11 08:23:55 +00:00
Tom Hughes
e36aa53f49
Update to paperclip 4.x and add content type validation
2014-02-10 00:34:23 +00:00
Tom Hughes
6d8fb474af
Removed bogus translations
2014-02-09 15:43:31 +00:00
Siebrand Mazeland
56f8aa98e7
Localisation updates from https://translatewiki.net .
2014-02-09 15:35:43 +00:00
Tom Hughes
3a582889cb
More interpolation fixes
2014-02-09 12:53:22 +00:00
Tom Hughes
e5c9dc60e4
Fix various broken interpolations
...
Fixes #699
2014-02-09 12:43:42 +00:00
Tom Hughes
a7f9ca32b7
Fix some mixed content issues
2014-02-08 17:43:34 +00:00
Richard Fairhurst
78c040d575
Make it clear that notes are for map improvements
...
...and use friendlier-sounding language. Should help avoid
instances like http://www.openstreetmap.org/note/114639 and
http://www.openstreetmap.org/note/114640 , though I'm sorely
tempted to add "amenity=brian" and "amenity=george" in response
to these.
2014-02-07 13:58:19 +00:00
Tom Hughes
e5ff267073
Avoid using one translation as the key for a second
...
Translation keys need to be fixed, so we can't use the result of
one lookup to derive the key for another...
Fixes #697
2014-02-06 09:14:06 +00:00
Tom Hughes
ef448ea494
Boost https tile traffic to 20%
2014-02-05 19:43:44 +00:00
John Firebaugh
b76bfe379e
Update to iD v1.3.6
2014-02-05 18:39:54 +00:00
Tom Hughes
6b843cc158
Send 5% of users tiles over https as a test
2014-02-05 18:38:36 +00:00
Tom Hughes
25b93471c1
Preserve message details over validation errors
...
If a validation error occurs while saving a message then make
sure the values are preserved in the new form.
2014-02-04 22:31:44 +00:00
Tom Hughes
a52242ccbc
Fix broken interpolation variables
2014-02-02 15:35:56 +00:00
Siebrand Mazeland
fd97eb635c
Localisation updates from https://translatewiki.net .
2014-02-02 13:13:49 +00:00
Tom Hughes
3ec53f38a6
Remove version lock on dalli now that ruby-openid is updated
2014-01-29 22:47:17 +00:00
Tom Hughes
339ac9d239
Pass preferred language to geonames API calls
2014-01-27 21:14:17 +00:00
Tom Hughes
ccebb796ab
Use api.geonames.org for reverse searches
2014-01-27 21:14:17 +00:00
Tom Hughes
b28b5509b8
Fix interpolation variables
2014-01-24 20:37:29 +00:00
Siebrand Mazeland
e9825a84e3
Localisation updates from https://translatewiki.net .
2014-01-24 20:15:41 +00:00
Tom Hughes
1db1277a5f
Compile the fixthemap javascript
2014-01-19 20:19:33 +00:00
Marco Antonio Frias Butrón
b01bda9238
Reserve enough space for the buttons at the bottom of the message list
2014-01-19 17:15:05 +00:00
Tom Hughes
affe17a31a
Add a tests for the fixthemap page
2014-01-19 13:52:17 +00:00
Simon Poole
a24f52dec7
Add a landing page for "fix the map / report a problem" links
2014-01-19 13:48:27 +00:00