]> git.openstreetmap.org Git - rails.git/log
rails.git
9 years agoHighlight search results when the mouse is over them
Tom Hughes [Sun, 15 Jun 2014 13:11:17 +0000 (14:11 +0100)]
Highlight search results when the mouse is over them

Fixes #748

9 years agoForce coordinates into range for "Where am I" queries
Tom Hughes [Sun, 15 Jun 2014 10:08:25 +0000 (11:08 +0100)]
Force coordinates into range for "Where am I" queries

Fixes #753

9 years agoDon't force a login to use a remote editor
Tom Hughes [Sun, 15 Jun 2014 10:00:49 +0000 (11:00 +0100)]
Don't force a login to use a remote editor

Fixes #754

9 years agoAdded telephone links into tag detail browser
Štefan Baebler [Sun, 15 Jun 2014 08:30:17 +0000 (09:30 +0100)]
Added telephone links into tag detail browser

International phone numbers become links using the official URI scheme
as per http://tools.ietf.org/html/rfc3966.

It is not limited to key=phone, so it can be used in other keys as well.

9 years agoUpdate to iD v1.4.0
John Firebaugh [Thu, 29 May 2014 23:13:08 +0000 (16:13 -0700)]
Update to iD v1.4.0

9 years agoUpdate wiki pages index
João G. Packer [Fri, 23 May 2014 20:54:08 +0000 (17:54 -0300)]
Update wiki pages index

Now redirect pages that contain the template `KeyDescription` are processed.

Newly written wiki pages added.

Some keys and tags weren't recognized before because the script didn't
recognize all localized variant of the template `KeyDescription` (e.g.
`DE:KeyDescription` and `Uk:KeyDescription`). That's not a problem anymore
because the template `KeyDescription` was *internationalized* and *unified*.

9 years agoChange wiki preprocessing script to read redirect pages
João G. Packer [Fri, 23 May 2014 20:44:28 +0000 (17:44 -0300)]
Change wiki preprocessing script to read redirect pages

The script that preprocess keys and tags metadata from the wiki
was filtering redirect pages when looking for wiki pages with the
template `KeyDescription`.

Some wiki pages like `Key:admin_level` currently redirects to others
like `Tag:boundary=administrative`, but even so, they still contain
a `KeyDescription` template so their metadata can be read by other
programs.

The parameter `eifilterredir` was changed and tested. For more
details, see this parameter in the feature `list=embeddedin` from
https://www.mediawiki.org/w/api.php.

9 years agoClarify text for note creation
Simon Poole [Wed, 4 Jun 2014 09:43:15 +0000 (10:43 +0100)]
Clarify text for note creation

Clarify text for note creation as suggested by Michael Collinson.

9 years agoAdd support for ACL blocks on note commenting
Tom Hughes [Tue, 3 Jun 2014 19:59:25 +0000 (20:59 +0100)]
Add support for ACL blocks on note commenting

9 years agoAdd missing </p> tags
Tom Hughes [Sat, 24 May 2014 15:47:07 +0000 (16:47 +0100)]
Add missing </p> tags

9 years agoFix typo
Tom Hughes [Sat, 24 May 2014 15:47:01 +0000 (16:47 +0100)]
Fix typo

9 years agoTry harder to find a name in the right language
Tom Hughes [Sat, 24 May 2014 11:52:09 +0000 (12:52 +0100)]
Try harder to find a name in the right language

9 years agoUpdate to latest leaflet-locationfilter plugin
Tom Hughes [Fri, 23 May 2014 09:48:39 +0000 (10:48 +0100)]
Update to latest leaflet-locationfilter plugin

9 years agoReapply leaflet.locate patch
Tom Hughes [Fri, 23 May 2014 09:47:48 +0000 (10:47 +0100)]
Reapply leaflet.locate patch

9 years agoUpdate leaflet.locate
Tom Hughes [Fri, 23 May 2014 09:45:38 +0000 (10:45 +0100)]
Update leaflet.locate

9 years agoUpdate to Leaflet 0.7.3
Tom Hughes [Fri, 23 May 2014 09:43:24 +0000 (10:43 +0100)]
Update to Leaflet 0.7.3

9 years agoUpdate to iD v1.3.10
John Firebaugh [Wed, 21 May 2014 21:17:15 +0000 (14:17 -0700)]
Update to iD v1.3.10

9 years agoRemove bogus sort that is implied by the intermate association
Tom Hughes [Fri, 16 May 2014 21:39:53 +0000 (22:39 +0100)]
Remove bogus sort that is implied by the intermate association

9 years agoQualify SCALE in tests
Tom Hughes [Fri, 16 May 2014 21:39:38 +0000 (22:39 +0100)]
Qualify SCALE in tests

9 years agoWrap the ID in <bdi> tags for RTL locales
Tom Hughes [Sun, 18 May 2014 23:16:48 +0000 (00:16 +0100)]
Wrap the ID in <bdi> tags for RTL locales

9 years agoReplace <bdi> and </bdi> with Unicode markers in titles
Tom Hughes [Sun, 18 May 2014 23:16:28 +0000 (00:16 +0100)]
Replace <bdi> and </bdi> with Unicode markers in titles

9 years agoInstruct iD to load gpx file
Martin Raifer [Sun, 18 May 2014 15:07:31 +0000 (17:07 +0200)]
Instruct iD to load gpx file

When one clicks on the edit link of an uploaded GPX file, this instructs
the iD editor to load the respective GPX data from the appropriate URL.

See https://github.com/openstreetmap/iD/issues/970#issuecomment-43439476.

9 years agoIsolate object names from the database with a <bdi> tag
Tom Hughes [Sun, 18 May 2014 16:16:36 +0000 (17:16 +0100)]
Isolate object names from the database with a <bdi> tag

Fixes #743

9 years agoRequire the migration support code
Tom Hughes [Mon, 12 May 2014 14:55:00 +0000 (15:55 +0100)]
Require the migration support code

9 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 12 May 2014 13:43:23 +0000 (13:43 +0000)]
Localisation updates from https://translatewiki.net.

9 years agoUpdate to rails 4.0.5
Tom Hughes [Sun, 11 May 2014 09:03:05 +0000 (10:03 +0100)]
Update to rails 4.0.5

9 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Thu, 8 May 2014 08:44:59 +0000 (08:44 +0000)]
Localisation updates from https://translatewiki.net.

9 years agoQualify SCALE in tests
Tom Hughes [Fri, 25 Apr 2014 17:40:57 +0000 (18:40 +0100)]
Qualify SCALE in tests

9 years agoAdd correct icon for caravan parks
Tom Hughes [Fri, 25 Apr 2014 17:29:06 +0000 (18:29 +0100)]
Add correct icon for caravan parks

9 years agoRemove unused CSS rules that refer to non-existent images
Tom Hughes [Fri, 25 Apr 2014 17:17:14 +0000 (18:17 +0100)]
Remove unused CSS rules that refer to non-existent images

9 years agoRemove non-existent image from leaflet URL map
Tom Hughes [Fri, 25 Apr 2014 17:15:09 +0000 (18:15 +0100)]
Remove non-existent image from leaflet URL map

9 years agoModernise use of find and update_all in database migrations
Tom Hughes [Thu, 24 Apr 2014 23:41:39 +0000 (00:41 +0100)]
Modernise use of find and update_all in database migrations

9 years agoDon't pass strings to set_fixture_class
Tom Hughes [Thu, 24 Apr 2014 23:22:43 +0000 (00:22 +0100)]
Don't pass strings to set_fixture_class

10 years agoDon't try and route to a note with no ID
Tom Hughes [Fri, 25 Apr 2014 23:13:49 +0000 (00:13 +0100)]
Don't try and route to a note with no ID

Fixes #733

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 21 Apr 2014 09:27:51 +0000 (09:27 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoUpdate to iD v1.3.9
John Firebaugh [Wed, 9 Apr 2014 19:07:54 +0000 (15:07 -0400)]
Update to iD v1.3.9

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Sun, 6 Apr 2014 17:12:22 +0000 (17:12 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoAdd support for remote edit over https on port 8112
Tom Hughes [Tue, 1 Apr 2014 18:17:15 +0000 (19:17 +0100)]
Add support for remote edit over https on port 8112

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 31 Mar 2014 21:44:36 +0000 (21:44 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoIgnore clicks on history entries if the mouse has moved
Tom Hughes [Mon, 31 Mar 2014 10:25:40 +0000 (11:25 +0100)]
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.

10 years agoUpdate to iD v1.3.8
John Firebaugh [Fri, 28 Mar 2014 18:58:55 +0000 (11:58 -0700)]
Update to iD v1.3.8

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Tue, 18 Mar 2014 12:29:59 +0000 (12:29 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoMake sure the hash updates properly on browse pages
Tom Hughes [Sun, 16 Mar 2014 14:11:29 +0000 (14:11 +0000)]
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.

10 years agoUpdate to rails 4.0.4
Tom Hughes [Fri, 14 Mar 2014 18:58:02 +0000 (18:58 +0000)]
Update to rails 4.0.4

10 years agoDon't call updateLayers if the new state has no layer config
Tom Hughes [Thu, 13 Mar 2014 21:36:10 +0000 (21:36 +0000)]
Don't call updateLayers if the new state has no layer config

Fixes #719

10 years agoRemove unused (and bogus) code
Tom Hughes [Thu, 13 Mar 2014 17:33:46 +0000 (17:33 +0000)]
Remove unused (and bogus) code

10 years agoBlock submission of the export form when the area is too large
Tom Hughes [Thu, 13 Mar 2014 17:33:06 +0000 (17:33 +0000)]
Block submission of the export form when the area is too large

10 years agoFix more links to use new style #map links
Tom Hughes [Thu, 13 Mar 2014 16:02:50 +0000 (16:02 +0000)]
Fix more links to use new style #map links

10 years agoRemove unused file
Tom Hughes [Thu, 13 Mar 2014 16:01:17 +0000 (16:01 +0000)]
Remove unused file

10 years agoUpdate map state when following a client side route
Tom Hughes [Thu, 13 Mar 2014 13:37:45 +0000 (13:37 +0000)]
Update map state when following a client side route

10 years agoFix link
Tom Hughes [Thu, 13 Mar 2014 13:37:39 +0000 (13:37 +0000)]
Fix link

10 years agoGenerate a new style links for node locations in the data browser
Tom Hughes [Thu, 13 Mar 2014 13:19:50 +0000 (13:19 +0000)]
Generate a new style links for node locations in the data browser

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Wed, 12 Mar 2014 13:01:16 +0000 (13:01 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoAdd some additional information to help people starting out on the project using...
Shaun McDonald [Sun, 9 Mar 2014 12:16:41 +0000 (12:16 +0000)]
Add some additional information to help people starting out on the project using vagrant, especially if you haven't used vagrant before.

10 years agoMigrate the database on `vagrant up`.
Matt Amos [Sat, 8 Mar 2014 11:33:52 +0000 (11:33 +0000)]
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.

10 years agoAdded some docs for Vagrant usage.
Matt Amos [Sat, 8 Mar 2014 10:45:51 +0000 (10:45 +0000)]
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.

10 years agoMerge remote-tracking branch 'upstream/master' into vagrant
Matt Amos [Sat, 8 Mar 2014 10:18:24 +0000 (10:18 +0000)]
Merge remote-tracking branch 'upstream/master' into vagrant

10 years agoMake the search form a GET form with no extra fields
Tom Hughes [Fri, 7 Mar 2014 19:18:24 +0000 (19:18 +0000)]
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.

10 years agoAdd more helper tests
Tom Hughes [Wed, 5 Mar 2014 22:54:59 +0000 (22:54 +0000)]
Add more helper tests

10 years agoRemove an unused method
Tom Hughes [Wed, 5 Mar 2014 22:54:50 +0000 (22:54 +0000)]
Remove an unused method

10 years agoUpdate to Leaflet 0.7.2
Tom Hughes [Tue, 4 Mar 2014 15:53:40 +0000 (15:53 +0000)]
Update to Leaflet 0.7.2

10 years agoAdd more tests for BrowseHelper
Tom Hughes [Sat, 1 Mar 2014 16:02:06 +0000 (16:02 +0000)]
Add more tests for BrowseHelper

10 years agoUpdate config/wiki_pages.yml
Tom Hughes [Sat, 1 Mar 2014 12:36:30 +0000 (12:36 +0000)]
Update config/wiki_pages.yml

10 years agoFixed wikipedia link reference to specific sections
João G. Packer [Fri, 28 Feb 2014 01:30:30 +0000 (22:30 -0300)]
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.

10 years agoAdd tests for BrowseHelper#wikipedia_link
Tom Hughes [Sat, 1 Mar 2014 00:25:33 +0000 (00:25 +0000)]
Add tests for BrowseHelper#wikipedia_link

10 years agoAdd tests for OSM.locationCookie
Tom Hughes [Fri, 28 Feb 2014 00:28:26 +0000 (00:28 +0000)]
Add tests for OSM.locationCookie

10 years agoApply zoomPrecision to location cookie
Tom Hughes [Fri, 28 Feb 2014 00:26:34 +0000 (00:26 +0000)]
Apply zoomPrecision to location cookie

10 years agoMove cookieContent to OSM.locationCookie
Tom Hughes [Fri, 28 Feb 2014 00:10:55 +0000 (00:10 +0000)]
Move cookieContent to OSM.locationCookie

10 years agoUpdate osm.js tests for changes and add some more
Tom Hughes [Thu, 27 Feb 2014 19:10:36 +0000 (19:10 +0000)]
Update osm.js tests for changes and add some more

10 years agoMove zoomPrecision function to the OSM namespace
Tom Hughes [Thu, 27 Feb 2014 18:15:54 +0000 (18:15 +0000)]
Move zoomPrecision function to the OSM namespace

10 years agoUse Konacha for testing JavaScript
John Firebaugh [Tue, 11 Sep 2012 15:54:50 +0000 (08:54 -0700)]
Use Konacha for testing JavaScript

10 years agoRemove unused (and non-functioning) code
Tom Hughes [Wed, 26 Feb 2014 18:53:25 +0000 (18:53 +0000)]
Remove unused (and non-functioning) code

10 years agoMove vagrant provisioning script to a better location.
Matt Amos [Wed, 26 Feb 2014 11:35:43 +0000 (11:35 +0000)]
Move vagrant provisioning script to a better location.

10 years agoAdd vagrant config.
Matt Amos [Wed, 26 Feb 2014 02:09:45 +0000 (02:09 +0000)]
Add vagrant config.

Added Vagrantfile and simple provisioning script. This sets up the
packages, gems and databases so that `rake db:migrate` is ready to
run. This might be too much and perhaps more should be done by the
user themselves, I'm not sure...

10 years agoUpdate to iD v1.3.7
John Firebaugh [Wed, 26 Feb 2014 00:09:18 +0000 (16:09 -0800)]
Update to iD v1.3.7

10 years agoAdd some more tests for library code
Tom Hughes [Wed, 26 Feb 2014 00:33:19 +0000 (00:33 +0000)]
Add some more tests for library code

10 years agoRemove unused session model
Tom Hughes [Wed, 26 Feb 2014 00:13:47 +0000 (00:13 +0000)]
Remove unused session model

10 years agoReorganise tests to match modern rails test layout
Tom Hughes [Wed, 26 Feb 2014 00:13:19 +0000 (00:13 +0000)]
Reorganise tests to match modern rails test layout

10 years agoAdd a test to check that html.dir is sensible in every locale
Tom Hughes [Sun, 23 Feb 2014 00:20:57 +0000 (00:20 +0000)]
Add a test to check that html.dir is sensible in every locale

10 years agoUniqify lists of containing ways/relations
Tom Hughes [Sun, 23 Feb 2014 00:08:51 +0000 (00:08 +0000)]
Uniqify lists of containing ways/relations

Fixes #707

10 years agoThe html.dir key should not be translated...
Tom Hughes [Sun, 23 Feb 2014 00:04:59 +0000 (00:04 +0000)]
The html.dir key should not be translated...

Fixes #709

10 years agoApparently asin now throws Math::DomainError instead of Errno::EDOM
Tom Hughes [Thu, 20 Feb 2014 09:12:41 +0000 (09:12 +0000)]
Apparently asin now throws Math::DomainError instead of Errno::EDOM

10 years agoFix updateLinks({lat: 0, lon: 0}, ...)
John Firebaugh [Wed, 19 Feb 2014 01:20:52 +0000 (17:20 -0800)]
Fix updateLinks({lat: 0, lon: 0}, ...)

Fixes openstreetmap/iD#2130

10 years agoUpdate to rails 4.0.3
Tom Hughes [Tue, 18 Feb 2014 21:38:43 +0000 (21:38 +0000)]
Update to rails 4.0.3

10 years agoFixed missing translation
Tom Hughes [Mon, 17 Feb 2014 20:10:29 +0000 (20:10 +0000)]
Fixed missing translation

10 years agoDrop the slim layout
Tom Hughes [Sun, 16 Feb 2014 16:03:00 +0000 (16:03 +0000)]
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

10 years agoAdd some more shortlink tests
Tom Hughes [Sat, 15 Feb 2014 12:46:09 +0000 (12:46 +0000)]
Add some more shortlink tests

10 years agoImprove redirection of shortlinks
Tom Hughes [Sat, 15 Feb 2014 12:42:52 +0000 (12:42 +0000)]
Improve redirection of shortlinks

If a shortlink includes an object reference then redirect to a new
style browse URL for that object.

Fixes #702

10 years agoInclude selected layer in short links
Tom Hughes [Sat, 15 Feb 2014 12:05:30 +0000 (12:05 +0000)]
Include selected layer in short links

Fixes #703

10 years agoRemove https load test
Tom Hughes [Tue, 11 Feb 2014 08:23:55 +0000 (08:23 +0000)]
Remove https load test

10 years agoUpdate to paperclip 4.x and add content type validation
Tom Hughes [Mon, 10 Feb 2014 00:34:23 +0000 (00:34 +0000)]
Update to paperclip 4.x and add content type validation

10 years agoRemoved bogus translations
Tom Hughes [Sun, 9 Feb 2014 15:43:31 +0000 (15:43 +0000)]
Removed bogus translations

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Sun, 9 Feb 2014 15:35:43 +0000 (15:35 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoMore interpolation fixes
Tom Hughes [Sun, 9 Feb 2014 12:53:22 +0000 (12:53 +0000)]
More interpolation fixes

10 years agoFix various broken interpolations
Tom Hughes [Sun, 9 Feb 2014 12:43:42 +0000 (12:43 +0000)]
Fix various broken interpolations

Fixes #699

10 years agoFix some mixed content issues
Tom Hughes [Sat, 8 Feb 2014 17:43:34 +0000 (17:43 +0000)]
Fix some mixed content issues

10 years agoMake it clear that notes are for map improvements
Richard Fairhurst [Fri, 7 Feb 2014 13:41:25 +0000 (13:41 +0000)]
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.

10 years agoAvoid using one translation as the key for a second
Tom Hughes [Thu, 6 Feb 2014 09:14:06 +0000 (09:14 +0000)]
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

10 years agoBoost https tile traffic to 20%
Tom Hughes [Wed, 5 Feb 2014 19:43:44 +0000 (19:43 +0000)]
Boost https tile traffic to 20%

10 years agoUpdate to iD v1.3.6
John Firebaugh [Wed, 5 Feb 2014 18:17:25 +0000 (10:17 -0800)]
Update to iD v1.3.6