]> git.openstreetmap.org Git - rails.git/log
rails.git
10 years agoImprove error-handling
Richard Fairhurst [Sat, 8 Mar 2014 12:07:54 +0000 (12:07 +0000)]
Improve error-handling

10 years agoAdd spinner while awaiting route
Richard Fairhurst [Sat, 8 Mar 2014 11:14:48 +0000 (11:14 +0000)]
Add spinner while awaiting route

10 years agoReformat string to avoid long line
Richard Fairhurst [Sat, 8 Mar 2014 10:43:29 +0000 (10:43 +0000)]
Reformat string to avoid long line

10 years agoMerge pull request #12 from danstowell/jsrouting-bboxzoom
Richard Fairhurst [Sat, 8 Mar 2014 10:29:54 +0000 (10:29 +0000)]
Merge pull request #12 from danstowell/jsrouting-bboxzoom

jsrouting: zoom to bbox on getting fresh geocoded route, but not on drag etc

10 years agojsrouting: zoom to bbox on getting fresh geocoded route, but not on drag etc
Dan Stowell [Sat, 8 Mar 2014 09:39:51 +0000 (09:39 +0000)]
jsrouting: zoom to bbox on getting fresh geocoded route, but not on drag etc

10 years agoMerge pull request #11 from danstowell/jsrouting-pulldownchange
Richard Fairhurst [Fri, 7 Mar 2014 15:58:04 +0000 (15:58 +0000)]
Merge pull request #11 from danstowell/jsrouting-pulldownchange

refresh search if showing and user changes provider

10 years agoMerge pull request #10 from danstowell/jsrouting-credits
Richard Fairhurst [Fri, 7 Mar 2014 15:57:40 +0000 (15:57 +0000)]
Merge pull request #10 from danstowell/jsrouting-credits

add a credits line for each routing service

10 years agorefresh search if showing and user changes provider
Dan Stowell [Sun, 23 Feb 2014 21:40:21 +0000 (21:40 +0000)]
refresh search if showing and user changes provider

10 years agoremove the todo that I addressed
Dan Stowell [Sun, 23 Feb 2014 21:58:28 +0000 (21:58 +0000)]
remove the todo that I addressed

10 years agoadd a credits line for each routing service
Dan Stowell [Sun, 23 Feb 2014 21:56:39 +0000 (21:56 +0000)]
add a credits line for each routing service

10 years agoFiiiix siiiiilly direeeeections
Richard Fairhurst [Mon, 3 Feb 2014 18:08:53 +0000 (18:08 +0000)]
Fiiiix siiiiilly direeeeections

10 years agoMerge pull request #6 from apmon/jsroute
Richard Fairhurst [Mon, 3 Feb 2014 17:35:44 +0000 (09:35 -0800)]
Merge pull request #6 from apmon/jsroute

Make more of the javascript routing functions internationalizable

10 years agoMake more of the javascript routing functions internationalizable
Kai Krueger [Sun, 2 Feb 2014 04:10:54 +0000 (21:10 -0700)]
Make more of the javascript routing functions internationalizable

10 years agoRemove some repeated-query funkiness
Richard Fairhurst [Thu, 23 Jan 2014 22:53:07 +0000 (22:53 +0000)]
Remove some repeated-query funkiness

10 years agoRemove a couple of TODOs
Richard Fairhurst [Thu, 23 Jan 2014 22:32:39 +0000 (22:32 +0000)]
Remove a couple of TODOs

10 years agoRepair Go button
Richard Fairhurst [Thu, 23 Jan 2014 22:31:44 +0000 (22:31 +0000)]
Repair Go button

10 years agoApparently 'final' is a reserved word in JS...
Richard Fairhurst [Thu, 23 Jan 2014 22:29:09 +0000 (22:29 +0000)]
Apparently 'final' is a reserved word in JS...

10 years agoIntegrate marker & geocoding behaviours
Richard Fairhurst [Thu, 23 Jan 2014 21:10:11 +0000 (21:10 +0000)]
Integrate marker & geocoding behaviours

10 years agoAdd GraphHopper engine (thanks @karussell!)
Richard Fairhurst [Thu, 23 Jan 2014 20:19:06 +0000 (20:19 +0000)]
Add GraphHopper engine (thanks @karussell!)

10 years agoMore draggable routes work
Richard Fairhurst [Thu, 23 Jan 2014 11:38:01 +0000 (11:38 +0000)]
More draggable routes work

10 years agoMore work on draggable markers
Richard Fairhurst [Thu, 23 Jan 2014 10:26:04 +0000 (10:26 +0000)]
More work on draggable markers

10 years agoStart work on drag-and-drop start/end markers
Richard Fairhurst [Thu, 23 Jan 2014 00:49:00 +0000 (00:49 +0000)]
Start work on drag-and-drop start/end markers

10 years agoRemove logging
Richard Fairhurst [Wed, 22 Jan 2014 20:31:58 +0000 (20:31 +0000)]
Remove logging

10 years agoAllow user to click Go before geocode result
Richard Fairhurst [Wed, 22 Jan 2014 20:29:38 +0000 (20:29 +0000)]
Allow user to click Go before geocode result

10 years agoParse CloudMade directions
Richard Fairhurst [Wed, 22 Jan 2014 18:53:30 +0000 (18:53 +0000)]
Parse CloudMade directions

10 years agoParse MapQuest directions
Richard Fairhurst [Wed, 22 Jan 2014 18:38:07 +0000 (18:38 +0000)]
Parse MapQuest directions

10 years agoMove more engine-specific stuff out of main .js
Richard Fairhurst [Wed, 22 Jan 2014 18:20:07 +0000 (18:20 +0000)]
Move more engine-specific stuff out of main .js

10 years agoStart MapQuest Open support
Richard Fairhurst [Wed, 22 Jan 2014 15:53:35 +0000 (15:53 +0000)]
Start MapQuest Open support

10 years agoSimplify usage, fix closures
Richard Fairhurst [Wed, 22 Jan 2014 12:52:51 +0000 (12:52 +0000)]
Simplify usage, fix closures

10 years agoMove routing engines into their own files
Richard Fairhurst [Wed, 22 Jan 2014 09:52:01 +0000 (09:52 +0000)]
Move routing engines into their own files

10 years agoStart work on second engine
Richard Fairhurst [Tue, 21 Jan 2014 23:47:50 +0000 (23:47 +0000)]
Start work on second engine

10 years agoShow little popup on click
Richard Fairhurst [Tue, 21 Jan 2014 22:39:51 +0000 (22:39 +0000)]
Show little popup on click

10 years agoStart to make turn-by-turn instructions clickable
Richard Fairhurst [Tue, 21 Jan 2014 21:44:09 +0000 (21:44 +0000)]
Start to make turn-by-turn instructions clickable

10 years agoClose directions
Richard Fairhurst [Tue, 21 Jan 2014 21:15:49 +0000 (21:15 +0000)]
Close directions

10 years agoQuery options presentation
Richard Fairhurst [Tue, 21 Jan 2014 20:57:55 +0000 (20:57 +0000)]
Query options presentation

10 years agoPresentation of directions
Richard Fairhurst [Tue, 21 Jan 2014 20:42:31 +0000 (20:42 +0000)]
Presentation of directions

10 years agoPrecompile routing JS
Richard Fairhurst [Tue, 21 Jan 2014 20:41:55 +0000 (20:41 +0000)]
Precompile routing JS

10 years agoPresentation work
Richard Fairhurst [Tue, 21 Jan 2014 19:22:50 +0000 (19:22 +0000)]
Presentation work

10 years agoBeginning of JavaScript-only routing UI
Richard Fairhurst [Tue, 21 Jan 2014 13:29:05 +0000 (13:29 +0000)]
Beginning of JavaScript-only routing UI

10 years agoCompile the fixthemap javascript
Tom Hughes [Sun, 19 Jan 2014 20:19:33 +0000 (20:19 +0000)]
Compile the fixthemap javascript

10 years agoReserve enough space for the buttons at the bottom of the message list
Marco Antonio Frias Butrón [Thu, 16 Jan 2014 04:13:26 +0000 (00:13 -0400)]
Reserve enough space for the buttons at the bottom of the message list

10 years agoAdd a tests for the fixthemap page
Tom Hughes [Sun, 19 Jan 2014 13:52:17 +0000 (13:52 +0000)]
Add a tests for the fixthemap page

10 years agoAdd a landing page for "fix the map / report a problem" links
Simon Poole [Sun, 19 Jan 2014 13:48:27 +0000 (13:48 +0000)]
Add a landing page for "fix the map / report a problem" links

10 years agoChanging the note search limit from 9999 to 10000
Toby Murray [Thu, 16 Jan 2014 08:28:34 +0000 (02:28 -0600)]
Changing the note search limit from 9999 to 10000

The documentation says the limit is 10000 which seems like a
nicer round number anyway.

10 years agoStick with dalli 2.6.x for now until ruby-openid is updated
Tom Hughes [Sat, 18 Jan 2014 16:54:20 +0000 (16:54 +0000)]
Stick with dalli 2.6.x for now until ruby-openid is updated

https://github.com/openid/ruby-openid/pull/67
https://github.com/mperham/dalli/issues/424

10 years agoRemove code to populate countries table
Tom Hughes [Fri, 17 Jan 2014 19:57:58 +0000 (19:57 +0000)]
Remove code to populate countries table

10 years agoLoad soap4r so IP geolocation works
Tom Hughes [Fri, 17 Jan 2014 19:57:20 +0000 (19:57 +0000)]
Load soap4r so IP geolocation works

10 years agoReplace the country table with a static XML countries file
Tom Hughes [Fri, 17 Jan 2014 19:25:58 +0000 (19:25 +0000)]
Replace the country table with a static XML countries file

Storing the countries in the database is overkill, so just use a
copy of the geonames countryInfo data that is loaded into a hash
the first time it is used.

10 years agoHighlight erroneous fields by adding a class to them
Tom Hughes [Wed, 15 Jan 2014 21:09:54 +0000 (21:09 +0000)]
Highlight erroneous fields by adding a class to them

The default rails scheme for highlighting errors is to wrap the
field in a div, but that changes the structure of the page and can
change the meaning of CSS rules applied to the fields.

As an alternative we now apply a class to the fields, and use that
in the CSS to apply a highlight.

10 years agoChange attribute names for diary/message titles to match UI labels
Tom Hughes [Wed, 15 Jan 2014 20:26:22 +0000 (20:26 +0000)]
Change attribute names for diary/message titles to match UI labels

10 years agoReenable the note search API
Tom Hughes [Wed, 15 Jan 2014 19:58:58 +0000 (19:58 +0000)]
Reenable the note search API

Add a postgress freetext index on the note comments, and enable
note searching using freetext matching.

10 years agoPreserve aspect ratio when scaling a user thumbnail
Tom Hughes [Sun, 12 Jan 2014 20:32:33 +0000 (20:32 +0000)]
Preserve aspect ratio when scaling a user thumbnail

Fixes #675

10 years agoSet empty alt text on user images
Tom Hughes [Sun, 12 Jan 2014 19:28:01 +0000 (19:28 +0000)]
Set empty alt text on user images

This stops a stupidly long URL being shown if something goes wrong
with the gravatar redirect back to the default image.

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Sat, 11 Jan 2014 17:02:33 +0000 (17:02 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoUpdate to iD v1.3.5
John Firebaugh [Thu, 9 Jan 2014 02:06:33 +0000 (18:06 -0800)]
Update to iD v1.3.5

10 years agoDisable notes search until it can be made scalable
Tom Hughes [Thu, 9 Jan 2014 08:41:59 +0000 (08:41 +0000)]
Disable notes search until it can be made scalable

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 6 Jan 2014 11:21:23 +0000 (11:21 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Sat, 28 Dec 2013 18:00:47 +0000 (18:00 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoUpdate bundle
Tom Hughes [Mon, 23 Dec 2013 20:28:53 +0000 (20:28 +0000)]
Update bundle

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 23 Dec 2013 20:23:19 +0000 (20:23 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Fri, 20 Dec 2013 11:05:55 +0000 (11:05 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoUpdate bundle
Tom Hughes [Thu, 19 Dec 2013 17:32:23 +0000 (17:32 +0000)]
Update bundle

10 years agoAdd details for Finland to copyright page
Tom Hughes [Thu, 19 Dec 2013 17:30:15 +0000 (17:30 +0000)]
Add details for Finland to copyright page

10 years agoAdd a close icon to the feature warning panel
Tom Hughes [Wed, 18 Dec 2013 00:14:29 +0000 (00:14 +0000)]
Add a close icon to the feature warning panel

Fixes #660

10 years agoStop the "Load" button overlaying text in the data browser warning
Tom Hughes [Tue, 17 Dec 2013 21:49:18 +0000 (21:49 +0000)]
Stop the "Load" button overlaying text in the data browser warning

Fixes #959

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Tue, 17 Dec 2013 09:01:42 +0000 (09:01 +0000)]
Localisation updates from https://translatewiki.net.

10 years agoRestore the duplicate search form in the header
Tom Hughes [Mon, 16 Dec 2013 09:39:54 +0000 (09:39 +0000)]
Restore the duplicate search form in the header

It turns out the duplicate form is used, for the the mobile view.

10 years agoChange "My Inbox" to "My Messages" in user menu
Tom Hughes [Sun, 15 Dec 2013 22:36:00 +0000 (22:36 +0000)]
Change "My Inbox" to "My Messages" in user menu

Fixes #661

10 years agoAdd an index on created_at to the note_comments table
Tom Hughes [Thu, 12 Dec 2013 12:49:13 +0000 (12:49 +0000)]
Add an index on created_at to the note_comments table

10 years agoFix typo in diary form html
Martin Raifer [Thu, 12 Dec 2013 09:40:29 +0000 (10:40 +0100)]
Fix typo in diary form html

10 years agoFix typo
Richard Fairhurst [Wed, 11 Dec 2013 16:12:15 +0000 (16:12 +0000)]
Fix typo

restauraunt => restaurant

10 years agoMake rich text edit controls use as much space as possible
Tom Hughes [Thu, 12 Dec 2013 08:55:26 +0000 (08:55 +0000)]
Make rich text edit controls use as much space as possible

Use CSS3 calculations to set the width of a rich text edit control
to the maximum possible while still allowing space for the help.

Also set the subject/title fields to the same width.

Fixes #657

10 years agoAllow word-breaks in changeset comments
Tom Hughes [Wed, 11 Dec 2013 17:56:22 +0000 (17:56 +0000)]
Allow word-breaks in changeset comments

10 years agoIssue all _osm_location cookies against the root path
Tom Hughes [Wed, 11 Dec 2013 00:19:49 +0000 (00:19 +0000)]
Issue all _osm_location cookies against the root path

To ensure that any old cookies issued against other paths are
removed we make sure to do a removeCookie call first without a
path being specified so that any cookie for the current page is
removed before we add a new one against the root.

Fixes #652

10 years agoUpdate jquery.cookie
Tom Hughes [Wed, 11 Dec 2013 00:12:39 +0000 (00:12 +0000)]
Update jquery.cookie

10 years agoRestore autofocusing of the search field
Tom Hughes [Tue, 10 Dec 2013 19:45:28 +0000 (19:45 +0000)]
Restore autofocusing of the search field

Use the HTML5 autofocus attribute, and focus on load for browsers
which don't support it.

Also change the removal of the "Where am I?" prompt to happen on
input rather than when the field is focused, so that it is properly
removed and restored when the field has been autofocused.

Fixes https://trac.openstreetmap.org/ticket/5065

10 years agoRemove duplicate (hidden) search box from header
Tom Hughes [Tue, 10 Dec 2013 18:52:49 +0000 (18:52 +0000)]
Remove duplicate (hidden) search box from header

10 years agoRefine zooming and panning for note and data layers
Aaron Lidman [Mon, 9 Dec 2013 16:24:51 +0000 (11:24 -0500)]
Refine zooming and panning for note and data layers

Fixes #629
Fixes #643

10 years agoRequire i18n-js 3.0.0.rc5.3 for proper dependency on configuration
Tom Hughes [Mon, 9 Dec 2013 10:18:31 +0000 (10:18 +0000)]
Require i18n-js 3.0.0.rc5.3 for proper dependency on configuration

10 years agoUpdate gitignore
Tom Hughes [Mon, 9 Dec 2013 10:04:12 +0000 (10:04 +0000)]
Update gitignore

10 years agoRemove export rule for translations which no longer exist
Tom Hughes [Mon, 9 Dec 2013 09:29:21 +0000 (09:29 +0000)]
Remove export rule for translations which no longer exist

10 years agoUpdate page title when switching to the front page view
Tom Hughes [Mon, 9 Dec 2013 09:28:13 +0000 (09:28 +0000)]
Update page title when switching to the front page view

Fixes https://trac.openstreetmap.org/ticket/5063

10 years agoDrop redundant monkey patches
Tom Hughes [Sun, 8 Dec 2013 22:49:31 +0000 (22:49 +0000)]
Drop redundant monkey patches

10 years agoAdd functions tests for the oauth_clients controller
Tom Hughes [Sun, 8 Dec 2013 21:54:21 +0000 (21:54 +0000)]
Add functions tests for the oauth_clients controller

10 years agoRemove unused controllers
Tom Hughes [Sun, 8 Dec 2013 19:15:23 +0000 (19:15 +0000)]
Remove unused controllers

10 years agoRemove stub test for non-existent controller
Tom Hughes [Sun, 8 Dec 2013 19:15:12 +0000 (19:15 +0000)]
Remove stub test for non-existent controller

10 years agoDon't linkify comments in the changeset list
Tom Hughes [Sun, 8 Dec 2013 13:11:48 +0000 (13:11 +0000)]
Don't linkify comments in the changeset list

It's confusing to make links in comments active in the changeset list
as the rest of the comment is an active link to the changeset.

We do want to make them active in the changeset view however, so add
linkification to the comment there.

Fixes https://trac.openstreetmap.org/ticket/5061

10 years agoDon't show lat/lon for a deleted node, in case it is redacted
Tom Hughes [Sun, 8 Dec 2013 11:18:55 +0000 (11:18 +0000)]
Don't show lat/lon for a deleted node, in case it is redacted

Fixes #642

10 years agoFix untranslatable string
Tom Hughes [Sun, 8 Dec 2013 11:02:43 +0000 (11:02 +0000)]
Fix untranslatable string

10 years agoTest XHR rendering of pages which can load in the sidebar
Tom Hughes [Sat, 7 Dec 2013 17:40:19 +0000 (17:40 +0000)]
Test XHR rendering of pages which can load in the sidebar

10 years agoDo basic testing of all site controller methods
Tom Hughes [Sat, 7 Dec 2013 17:21:17 +0000 (17:21 +0000)]
Do basic testing of all site controller methods

10 years agoRevert "Remove unused file"
Tom Hughes [Sat, 7 Dec 2013 16:34:23 +0000 (16:34 +0000)]
Revert "Remove unused file"

This reverts commit db41978f098f6044bf007b051525ff9d1c9149c9.

10 years agoAdd link to per-user RSS feed on diary view page
Tom Hughes [Sat, 7 Dec 2013 15:07:25 +0000 (15:07 +0000)]
Add link to per-user RSS feed on diary view page

10 years agoImprove display of alternative download sources
Roland Olbricht [Sat, 7 Dec 2013 14:56:47 +0000 (14:56 +0000)]
Improve display of alternative download sources

Makes the list of alternative sources displayed all the time
rather than just when the bounding box is too large, and adds
the Overpass API to the list of sources.

Fixes #606
Fixed #635

10 years agoRemove unused file
Tom Hughes [Sat, 7 Dec 2013 14:34:13 +0000 (14:34 +0000)]
Remove unused file

10 years agoPut all feed discovery tags in the auto_discovery_link_tag section
Tom Hughes [Sat, 7 Dec 2013 14:33:52 +0000 (14:33 +0000)]
Put all feed discovery tags in the auto_discovery_link_tag section

10 years agoDiary and trace feeds are RSS not Atom
Tom Hughes [Sat, 7 Dec 2013 14:31:59 +0000 (14:31 +0000)]
Diary and trace feeds are RSS not Atom

Fixes #638

10 years agoMake title of "More" menu translatable
Tom Hughes [Sat, 7 Dec 2013 11:24:44 +0000 (11:24 +0000)]
Make title of "More" menu translatable

10 years agoFix interpolation variable errors
Tom Hughes [Sat, 7 Dec 2013 11:16:02 +0000 (11:16 +0000)]
Fix interpolation variable errors

10 years agoAdd some more unit tests for the Trace model
Tom Hughes [Sat, 7 Dec 2013 00:28:01 +0000 (00:28 +0000)]
Add some more unit tests for the Trace model