rails.git
5 years agoMerge branch 'rails41'
Tom Hughes [Mon, 21 Jul 2014 07:53:44 +0000 (08:53 +0100)]
Merge branch 'rails41'

5 years agoAdded tests for wikidata links in the browse helper
Florian M. Schäfer [Sun, 20 Jul 2014 05:35:36 +0000 (07:35 +0200)]
Added tests for wikidata links in the browse helper

5 years agoAdded wikidata links to the browse helper
Florian M. Schäfer [Sun, 20 Jul 2014 05:33:59 +0000 (07:33 +0200)]
Added wikidata links to the browse helper

Analogous to wikipedia tags this links any wikidata tag with its item
page on wikidata.

For now it's restricted to the plain wikidata=* tag (namespaces like
operator:wikidata=* and similar are not yet supported) and only accepts
the values with the format Q<number>.

5 years agoUpdate to iD v1.5.2
John Firebaugh [Tue, 15 Jul 2014 23:53:21 +0000 (16:53 -0700)]
Update to iD v1.5.2

5 years agoThe rubygem is called bundler not bundle
Shaun McDonald [Mon, 14 Jul 2014 11:49:48 +0000 (12:49 +0100)]
The rubygem is called bundler not bundle

Also I'm that needs to be installed with sudo as gems won't normally install into the home user directory without more setup

5 years agoUpdate "Metro Extracts" link
Tom Hughes [Fri, 11 Jul 2014 19:00:52 +0000 (20:00 +0100)]
Update "Metro Extracts" link

Fixes #780

5 years agoUpdate to iD v1.5.1
John Firebaugh [Thu, 10 Jul 2014 17:13:01 +0000 (10:13 -0700)]
Update to iD v1.5.1

5 years agoUpdate to iD v1.5.0
Aaron Lidman [Wed, 9 Jul 2014 00:07:33 +0000 (20:07 -0400)]
Update to iD v1.5.0

5 years agoRemove debug statement
Tom Hughes [Fri, 4 Jul 2014 18:58:03 +0000 (19:58 +0100)]
Remove debug statement

5 years agoUpdate to rails 4.1.4
Tom Hughes [Thu, 26 Jun 2014 20:16:31 +0000 (21:16 +0100)]
Update to rails 4.1.4

5 years agoDon't assume we know what ID the new block will have
Tom Hughes [Wed, 28 May 2014 08:55:34 +0000 (09:55 +0100)]
Don't assume we know what ID the new block will have

5 years agoUpdate for API change in CPK 7.x
Tom Hughes [Tue, 27 May 2014 23:44:26 +0000 (00:44 +0100)]
Update for API change in CPK 7.x

5 years agoMake sure all environment can see asset precompilation rules
Tom Hughes [Sat, 24 May 2014 23:24:41 +0000 (00:24 +0100)]
Make sure all environment can see asset precompilation rules

5 years agoMake sure we restore I18n.locale when tests complete
Tom Hughes [Tue, 13 May 2014 18:25:06 +0000 (19:25 +0100)]
Make sure we restore I18n.locale when tests complete

5 years agoSort tags alphabetically for consistent results
Tom Hughes [Tue, 13 May 2014 18:21:01 +0000 (19:21 +0100)]
Sort tags alphabetically for consistent results

5 years agoUpdate postgres connection adaptor patches
Tom Hughes [Thu, 24 Apr 2014 23:43:24 +0000 (00:43 +0100)]
Update postgres connection adaptor patches

5 years agoRename Trace#public to Trace#visible_to_all
Tom Hughes [Thu, 24 Apr 2014 23:20:05 +0000 (00:20 +0100)]
Rename Trace#public to Trace#visible_to_all

5 years agoRename User#public to User#identifiable
Tom Hughes [Thu, 24 Apr 2014 23:16:35 +0000 (00:16 +0100)]
Rename User#public to User#identifiable

5 years agoUpdate to rails 4.1.1
Tom Hughes [Thu, 24 Apr 2014 21:58:30 +0000 (22:58 +0100)]
Update to rails 4.1.1

5 years agoImprove testing of emails
Tom Hughes [Wed, 28 May 2014 08:55:13 +0000 (09:55 +0100)]
Improve testing of emails

Make sure we test that everything which should send email does
and that we clear the pending emails afterwards.

5 years agoFix database offline mode
Tom Hughes [Wed, 2 Jul 2014 10:07:27 +0000 (11:07 +0100)]
Fix database offline mode

5 years agoFix attribution links for Thunderforest layers
Tom Hughes [Thu, 26 Jun 2014 09:42:16 +0000 (10:42 +0100)]
Fix attribution links for Thunderforest layers

5 years agoUpdate to latest leaflet-osm plugin
Tom Hughes [Wed, 25 Jun 2014 17:54:12 +0000 (18:54 +0100)]
Update to latest leaflet-osm plugin

5 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 23 Jun 2014 12:44:35 +0000 (12:44 +0000)]
Localisation updates from https://translatewiki.net.

5 years agoFix line height for buttons in Firefox 30
Tom Hughes [Sun, 22 Jun 2014 09:25:08 +0000 (10:25 +0100)]
Fix line height for buttons in Firefox 30

This is pretty ugly, but it's the best solution I have at the
current time. Seems to fix Firefox 30 without breaking Chrome
or Opera and doesn't make IE8 any worse.

Fixes #756

5 years agoRemove ancient documentation.
Andy Allan [Thu, 19 Jun 2014 13:59:13 +0000 (14:59 +0100)]
Remove ancient documentation.

5 years agoImprove blocking of characters not allowed in XML
Tom Hughes [Wed, 18 Jun 2014 23:25:18 +0000 (00:25 +0100)]
Improve blocking of characters not allowed in XML

5 years agoStyle trace edit form to match trace creation form
Tom Hughes [Wed, 18 Jun 2014 21:48:23 +0000 (22:48 +0100)]
Style trace edit form to match trace creation form

5 years agoIncrease field widths on trace upload form
Tom Hughes [Wed, 18 Jun 2014 21:38:22 +0000 (22:38 +0100)]
Increase field widths on trace upload form

Fixes #664

5 years agoUpdate wiki link data
Tom Hughes [Wed, 18 Jun 2014 18:54:45 +0000 (19:54 +0100)]
Update wiki link data

5 years agoLook for key pages using Template:Feature
Tom Hughes [Wed, 18 Jun 2014 18:54:25 +0000 (19:54 +0100)]
Look for key pages using Template:Feature

5 years agoFix update-wiki-pages to resolve redirects correctly
Tom Hughes [Wed, 18 Jun 2014 18:47:30 +0000 (19:47 +0100)]
Fix update-wiki-pages to resolve redirects correctly

5 years agoUse correct translation for back button
Tom Hughes [Wed, 18 Jun 2014 08:51:36 +0000 (09:51 +0100)]
Use correct translation for back button

5 years agoMake sure we pan immediately when a search result is clicked
Tom Hughes [Wed, 18 Jun 2014 08:36:02 +0000 (09:36 +0100)]
Make sure we pan immediately when a search result is clicked

Fixes #763

5 years agoDecode entities in the title
Tom Hughes [Wed, 18 Jun 2014 08:25:01 +0000 (09:25 +0100)]
Decode entities in the title

They will get reencoded (if necessary) when they are output. Fixes #764.

5 years agoRemove redundant robot rules
Tom Hughes [Tue, 17 Jun 2014 21:14:36 +0000 (22:14 +0100)]
Remove redundant robot rules

5 years agoMake parking icon less blurry
Paul Norman [Tue, 17 Jun 2014 20:30:42 +0000 (21:30 +0100)]
Make parking icon less blurry

Fixes #760

5 years agoRewrite layer parameters in shortlinks correctly
Tom Hughes [Tue, 17 Jun 2014 20:15:36 +0000 (21:15 +0100)]
Rewrite layer parameters in shortlinks correctly

Fixes #762

5 years agoImprove behaviour of new search markers
Tom Hughes [Tue, 17 Jun 2014 18:12:32 +0000 (19:12 +0100)]
Improve behaviour of new search markers

5 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Tue, 17 Jun 2014 11:55:45 +0000 (11:55 +0000)]
Localisation updates from https://translatewiki.net.

5 years agoProbit control characters in user names
Tom Hughes [Sun, 15 Jun 2014 15:30:55 +0000 (16:30 +0100)]
Probit control characters in user names

5 years agoStrip illegal characters from member roles in AMF uploads, part 2
Tom Hughes [Sun, 15 Jun 2014 14:55:30 +0000 (15:55 +0100)]
Strip illegal characters from member roles in AMF uploads, part 2

Fixes #758

5 years agoStrip illegal characters from member roles in AMF uploads
Tom Hughes [Sun, 15 Jun 2014 14:50:31 +0000 (15:50 +0100)]
Strip illegal characters from member roles in AMF uploads

Fixes #758

5 years agoUse the exclusion list returned by nominatim
Tom Hughes [Sun, 15 Jun 2014 14:20:50 +0000 (15:20 +0100)]
Use the exclusion list returned by nominatim

When constructing a "more results" link for nominatim, use the
exclusion list returned by the previous query instead of trying
to make on up ourselves.

Fixes #701

5 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

5 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

5 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

5 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.

5 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

5 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*.

5 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.

5 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.

5 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

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

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

5 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

5 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

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

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

5 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

5 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

5 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

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

5 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

5 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

5 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.

5 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

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

5 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.

5 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

5 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.

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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.

5 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

5 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.

5 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

5 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.

5 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.

5 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

5 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.

5 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.

5 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

5 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

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

5 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

5 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

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

5 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

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

5 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

5 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.

5 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.

5 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.

5 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.