]>
git.openstreetmap.org Git - rails.git/log
Tom Hughes [Tue, 4 Feb 2014 22:31:44 +0000 (22:31 +0000)]
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.
Tom Hughes [Sun, 2 Feb 2014 15:35:56 +0000 (15:35 +0000)]
Fix broken interpolation variables
Siebrand Mazeland [Sun, 2 Feb 2014 13:13:49 +0000 (13:13 +0000)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Wed, 29 Jan 2014 22:47:17 +0000 (22:47 +0000)]
Remove version lock on dalli now that ruby-openid is updated
Tom Hughes [Mon, 27 Jan 2014 21:07:34 +0000 (21:07 +0000)]
Pass preferred language to geonames API calls
Tom Hughes [Mon, 27 Jan 2014 21:02:00 +0000 (21:02 +0000)]
Use api.geonames.org for reverse searches
Tom Hughes [Fri, 24 Jan 2014 20:37:29 +0000 (20:37 +0000)]
Fix interpolation variables
Siebrand Mazeland [Fri, 24 Jan 2014 20:15:41 +0000 (20:15 +0000)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Sun, 19 Jan 2014 20:19:33 +0000 (20:19 +0000)]
Compile the fixthemap javascript
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
Tom Hughes [Sun, 19 Jan 2014 13:52:17 +0000 (13:52 +0000)]
Add a tests for the fixthemap page
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
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.
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
Tom Hughes [Fri, 17 Jan 2014 19:57:58 +0000 (19:57 +0000)]
Remove code to populate countries table
Tom Hughes [Fri, 17 Jan 2014 19:57:20 +0000 (19:57 +0000)]
Load soap4r so IP geolocation works
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.
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.
Tom Hughes [Wed, 15 Jan 2014 20:26:22 +0000 (20:26 +0000)]
Change attribute names for diary/message titles to match UI labels
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.
Tom Hughes [Sun, 12 Jan 2014 20:32:33 +0000 (20:32 +0000)]
Preserve aspect ratio when scaling a user thumbnail
Fixes #675
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.
Siebrand Mazeland [Sat, 11 Jan 2014 17:02:33 +0000 (17:02 +0000)]
Localisation updates from https://translatewiki.net.
John Firebaugh [Thu, 9 Jan 2014 02:06:33 +0000 (18:06 -0800)]
Update to iD v1.3.5
Tom Hughes [Thu, 9 Jan 2014 08:41:59 +0000 (08:41 +0000)]
Disable notes search until it can be made scalable
Siebrand Mazeland [Mon, 6 Jan 2014 11:21:23 +0000 (11:21 +0000)]
Localisation updates from https://translatewiki.net.
Siebrand Mazeland [Sat, 28 Dec 2013 18:00:47 +0000 (18:00 +0000)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Mon, 23 Dec 2013 20:28:53 +0000 (20:28 +0000)]
Update bundle
Siebrand Mazeland [Mon, 23 Dec 2013 20:23:19 +0000 (20:23 +0000)]
Localisation updates from https://translatewiki.net.
Siebrand Mazeland [Fri, 20 Dec 2013 11:05:55 +0000 (11:05 +0000)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Thu, 19 Dec 2013 17:32:23 +0000 (17:32 +0000)]
Update bundle
Tom Hughes [Thu, 19 Dec 2013 17:30:15 +0000 (17:30 +0000)]
Add details for Finland to copyright page
Tom Hughes [Wed, 18 Dec 2013 00:14:29 +0000 (00:14 +0000)]
Add a close icon to the feature warning panel
Fixes #660
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
Siebrand Mazeland [Tue, 17 Dec 2013 09:01:42 +0000 (09:01 +0000)]
Localisation updates from https://translatewiki.net.
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.
Tom Hughes [Sun, 15 Dec 2013 22:36:00 +0000 (22:36 +0000)]
Change "My Inbox" to "My Messages" in user menu
Fixes #661
Tom Hughes [Thu, 12 Dec 2013 12:49:13 +0000 (12:49 +0000)]
Add an index on created_at to the note_comments table
Martin Raifer [Thu, 12 Dec 2013 09:40:29 +0000 (10:40 +0100)]
Fix typo in diary form html
Richard Fairhurst [Wed, 11 Dec 2013 16:12:15 +0000 (16:12 +0000)]
Fix typo
restauraunt => restaurant
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
Tom Hughes [Wed, 11 Dec 2013 17:56:22 +0000 (17:56 +0000)]
Allow word-breaks in changeset comments
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
Tom Hughes [Wed, 11 Dec 2013 00:12:39 +0000 (00:12 +0000)]
Update jquery.cookie
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
Tom Hughes [Tue, 10 Dec 2013 18:52:49 +0000 (18:52 +0000)]
Remove duplicate (hidden) search box from header
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
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
Tom Hughes [Mon, 9 Dec 2013 10:04:12 +0000 (10:04 +0000)]
Update gitignore
Tom Hughes [Mon, 9 Dec 2013 09:29:21 +0000 (09:29 +0000)]
Remove export rule for translations which no longer exist
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
Tom Hughes [Sun, 8 Dec 2013 22:49:31 +0000 (22:49 +0000)]
Drop redundant monkey patches
Tom Hughes [Sun, 8 Dec 2013 21:54:21 +0000 (21:54 +0000)]
Add functions tests for the oauth_clients controller
Tom Hughes [Sun, 8 Dec 2013 19:15:23 +0000 (19:15 +0000)]
Remove unused controllers
Tom Hughes [Sun, 8 Dec 2013 19:15:12 +0000 (19:15 +0000)]
Remove stub test for non-existent controller
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
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
Tom Hughes [Sun, 8 Dec 2013 11:02:43 +0000 (11:02 +0000)]
Fix untranslatable string
Tom Hughes [Sat, 7 Dec 2013 17:40:19 +0000 (17:40 +0000)]
Test XHR rendering of pages which can load in the sidebar
Tom Hughes [Sat, 7 Dec 2013 17:21:17 +0000 (17:21 +0000)]
Do basic testing of all site controller methods
Tom Hughes [Sat, 7 Dec 2013 16:34:23 +0000 (16:34 +0000)]
Revert "Remove unused file"
This reverts commit
db41978f098f6044bf007b051525ff9d1c9149c9 .
Tom Hughes [Sat, 7 Dec 2013 15:07:25 +0000 (15:07 +0000)]
Add link to per-user RSS feed on diary view page
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
Tom Hughes [Sat, 7 Dec 2013 14:34:13 +0000 (14:34 +0000)]
Remove unused file
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
Tom Hughes [Sat, 7 Dec 2013 14:31:59 +0000 (14:31 +0000)]
Diary and trace feeds are RSS not Atom
Fixes #638
Tom Hughes [Sat, 7 Dec 2013 11:24:44 +0000 (11:24 +0000)]
Make title of "More" menu translatable
Tom Hughes [Sat, 7 Dec 2013 11:16:02 +0000 (11:16 +0000)]
Fix interpolation variable errors
Tom Hughes [Sat, 7 Dec 2013 00:28:01 +0000 (00:28 +0000)]
Add some more unit tests for the Trace model
Siebrand Mazeland [Sat, 7 Dec 2013 11:08:37 +0000 (11:08 +0000)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Fri, 6 Dec 2013 19:40:54 +0000 (19:40 +0000)]
Reapply leaflet.locate patch
Tom Hughes [Fri, 6 Dec 2013 19:40:31 +0000 (19:40 +0000)]
Update leaflet.locate
Tom Hughes [Fri, 6 Dec 2013 16:24:36 +0000 (16:24 +0000)]
Update to Leaflet 0.7.1
John Firebaugh [Fri, 6 Dec 2013 00:10:28 +0000 (16:10 -0800)]
Obey the location hash for edit URLs with objects
For a link like http://osm.org/edit?node=n#map=19/37.77683/-122.41459,
select the feature but also respect the map location.
This is the fix for iD. It appears P2 requires internal code
modifications.
Refs #620
Tom Hughes [Fri, 6 Dec 2013 00:19:35 +0000 (00:19 +0000)]
Pass details of any selected object to remote editors
Tom Hughes [Thu, 5 Dec 2013 22:35:21 +0000 (22:35 +0000)]
Fix translation interpolations
Siebrand Mazeland [Thu, 5 Dec 2013 22:14:38 +0000 (22:14 +0000)]
Localisation updates from https://translatewiki.net.
John Firebaugh [Thu, 5 Dec 2013 20:11:57 +0000 (12:11 -0800)]
Run unload method before pushing the new state
If running unload causes any hash changes, those should
not end up on the new URL.
Fixes #622
John Firebaugh [Thu, 5 Dec 2013 19:27:47 +0000 (11:27 -0800)]
Ensure object parameter is removed from edit link when closing sidebar
Refs #620
John Firebaugh [Thu, 5 Dec 2013 19:07:52 +0000 (11:07 -0800)]
Restore marker for non-browse search results
Fixes #615
John Firebaugh [Thu, 5 Dec 2013 18:59:15 +0000 (10:59 -0800)]
Remove object parameter from share URL
Fixes #616
Fixes #624
Simon Legner [Thu, 5 Dec 2013 18:04:47 +0000 (18:04 +0000)]
Extend API to allow changesets to be queried by ids
Make changesets queryable by specifying a list of ids, for example:
/api/0.6/changesets?changesets=1,2,3
This condition may be combined with others in the normal way.
Tom Hughes [Thu, 5 Dec 2013 17:57:12 +0000 (17:57 +0000)]
Report an error if a bogus limit value is passed to a notes API call
Tom Hughes [Thu, 5 Dec 2013 17:49:06 +0000 (17:49 +0000)]
Test get_nodes_undelete methods of the OldWay model
Tom Hughes [Thu, 5 Dec 2013 10:40:21 +0000 (10:40 +0000)]
Make remote edit work when /edit is loaded
Change detection of the edit request to use the URL as the class
will not be set on the body now, and force the router to think we
actually loaded the normal view.
Tom Hughes [Thu, 5 Dec 2013 10:40:07 +0000 (10:40 +0000)]
Use the map layout when rendering index for a remote edit
Tom Hughes [Thu, 5 Dec 2013 09:48:53 +0000 (09:48 +0000)]
Always use controller computed zoom when starting Potlatch
The value of mapParams.zoom may have come from the cookie and be
unrelated to the actual view the user came from with this click, so
just use the default zoom set by the controller.
Fixes #621.
Tom Hughes [Thu, 5 Dec 2013 09:47:22 +0000 (09:47 +0000)]
The value of mapParams.object is always a node/way/relation now
Tom Hughes [Thu, 5 Dec 2013 00:50:04 +0000 (00:50 +0000)]
Simplify a number of object model methods
Tom Hughes [Thu, 5 Dec 2013 00:38:25 +0000 (00:38 +0000)]
Add tests for member methods on relation models
Tom Hughes [Wed, 4 Dec 2013 21:44:39 +0000 (21:44 +0000)]
Add tests for node methods on way models
Tom Hughes [Wed, 4 Dec 2013 19:31:03 +0000 (19:31 +0000)]
Update i18n to fix bogus deprecation warning
Tom Hughes [Wed, 4 Dec 2013 18:39:07 +0000 (18:39 +0000)]
Add tests for tag methods on object models
Tom Hughes [Wed, 4 Dec 2013 17:41:21 +0000 (17:41 +0000)]
Fix OldRelation.tags
Tom Hughes [Wed, 4 Dec 2013 08:41:56 +0000 (08:41 +0000)]
Position on notes correctly when a link to a comment is loaded
Links to note comments in the RSS feed have a #id on the end to
position on the right comment, so don't let those hash strings
stop the map from panning to the note.
Fixes #603.
John Firebaugh [Tue, 3 Dec 2013 23:04:24 +0000 (15:04 -0800)]
Unconditionally unbind moveend event
Can't rely on checking location.pathname -- inside unload,
it already contains the new path. Fortunately, checking is
unnecessary.
Fixes TypeError: Cannot call method 'split' of undefined.
Tom Hughes [Wed, 4 Dec 2013 00:29:48 +0000 (00:29 +0000)]
More refactoring of common code in object models
Tidy up code and extract generation of tag elements to the
common code in the ObjectMetadata module.
Simon Legner [Tue, 3 Dec 2013 23:02:27 +0000 (23:02 +0000)]
Refactor generation of object metadata in API calls
Factor out duplicate from the object models into common code.
John Firebaugh [Tue, 3 Dec 2013 22:07:33 +0000 (14:07 -0800)]
Use a table for tags
Fixes #595
Tom Hughes [Tue, 3 Dec 2013 20:19:52 +0000 (20:19 +0000)]
Update to rails 4.0.2