Tom Hughes
04ad0f6251
Do basic testing of all site controller methods
2013-12-07 17:21:17 +00:00
Tom Hughes
57b05b22e3
Revert "Remove unused file"
...
This reverts commit db41978f09
.
2013-12-07 16:34:23 +00:00
Tom Hughes
4755096a72
Add link to per-user RSS feed on diary view page
2013-12-07 15:07:25 +00:00
Roland Olbricht
83b3db9974
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
2013-12-07 14:56:47 +00:00
Tom Hughes
db41978f09
Remove unused file
2013-12-07 14:34:13 +00:00
Tom Hughes
ab3c8a2d04
Put all feed discovery tags in the auto_discovery_link_tag section
2013-12-07 14:33:52 +00:00
Tom Hughes
512c02b364
Diary and trace feeds are RSS not Atom
...
Fixes #638
2013-12-07 14:31:59 +00:00
Tom Hughes
70be43201a
Make title of "More" menu translatable
2013-12-07 11:24:44 +00:00
Tom Hughes
2366ecba77
Fix interpolation variable errors
2013-12-07 11:16:02 +00:00
Tom Hughes
83b93b9c5a
Add some more unit tests for the Trace model
2013-12-07 11:12:56 +00:00
Siebrand Mazeland
1467d82458
Localisation updates from https://translatewiki.net .
2013-12-07 11:08:37 +00:00
Tom Hughes
8af565b293
Reapply leaflet.locate patch
2013-12-06 19:40:54 +00:00
Tom Hughes
a2e06ea667
Update leaflet.locate
2013-12-06 19:40:31 +00:00
Tom Hughes
ba1268ead6
Update to Leaflet 0.7.1
2013-12-06 16:24:36 +00:00
John Firebaugh
e05adbb917
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
2013-12-06 00:21:50 +00:00
Tom Hughes
66aac9ca87
Pass details of any selected object to remote editors
2013-12-06 00:19:35 +00:00
Tom Hughes
0162e94592
Fix translation interpolations
2013-12-05 22:35:21 +00:00
Siebrand Mazeland
b7b76e8463
Localisation updates from https://translatewiki.net .
2013-12-05 22:14:38 +00:00
John Firebaugh
69aca22e6a
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
2013-12-05 20:17:24 +00:00
John Firebaugh
21407ede7e
Ensure object parameter is removed from edit link when closing sidebar
...
Refs #620
2013-12-05 19:38:34 +00:00
John Firebaugh
a47d6c212d
Restore marker for non-browse search results
...
Fixes #615
2013-12-05 19:10:48 +00:00
John Firebaugh
190d0fddfc
Remove object parameter from share URL
...
Fixes #616
Fixes #624
2013-12-05 19:09:33 +00:00
Simon Legner
1d1f194d59
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.
2013-12-05 18:06:35 +00:00
Tom Hughes
0f2958aed4
Report an error if a bogus limit value is passed to a notes API call
2013-12-05 17:57:12 +00:00
Tom Hughes
c866d28fd4
Test get_nodes_undelete methods of the OldWay model
2013-12-05 17:49:06 +00:00
Tom Hughes
6670de16a1
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.
2013-12-05 10:40:21 +00:00
Tom Hughes
a51b4c869e
Use the map layout when rendering index for a remote edit
2013-12-05 10:40:07 +00:00
Tom Hughes
7a35004389
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 .
2013-12-05 09:48:53 +00:00
Tom Hughes
7318ee4b93
The value of mapParams.object is always a node/way/relation now
2013-12-05 09:47:22 +00:00
Tom Hughes
8c029f8d79
Simplify a number of object model methods
2013-12-05 00:50:04 +00:00
Tom Hughes
1f52e5227f
Add tests for member methods on relation models
2013-12-05 00:38:25 +00:00
Tom Hughes
cd81a3f605
Add tests for node methods on way models
2013-12-04 21:44:39 +00:00
Tom Hughes
9e8cf3ea71
Update i18n to fix bogus deprecation warning
2013-12-04 19:31:03 +00:00
Tom Hughes
5ed8ee39e9
Add tests for tag methods on object models
2013-12-04 18:39:07 +00:00
Tom Hughes
10e92b85a7
Fix OldRelation.tags
2013-12-04 17:41:21 +00:00
Tom Hughes
b65ad205d1
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 .
2013-12-04 08:41:56 +00:00
John Firebaugh
bdbc1d663d
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.
2013-12-04 00:31:20 +00:00
Tom Hughes
9544ab12b8
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.
2013-12-04 00:29:48 +00:00
Simon Legner
413baecf6b
Refactor generation of object metadata in API calls
...
Factor out duplicate from the object models into common code.
2013-12-04 00:09:52 +00:00
John Firebaugh
a6fb1ead5b
Use a table for tags
...
Fixes #595
2013-12-03 22:33:07 +00:00
Tom Hughes
cc4bca22b0
Update to rails 4.0.2
2013-12-03 21:09:10 +00:00
John Firebaugh
6053ed4124
Update history feed URL with bbox parameter
...
https://lists.openstreetmap.org/pipermail/dev/2013-December/027599.html
2013-12-03 20:12:10 +00:00
John Firebaugh
944f3ebb67
Remove map data size warning ( #592 )
2013-12-03 19:38:26 +00:00
John Firebaugh
07976676de
Restore support for #layers=X with no map parameter
...
https://trac.openstreetmap.org/ticket/5056
2013-12-03 19:37:25 +00:00
Tom Hughes
e418075e26
Replace some legacy routes with redirects
2013-12-03 19:08:21 +00:00
Tom Hughes
ba4a3e3ce9
Remove debugging code
2013-12-03 19:04:15 +00:00
Tom Hughes
5642cf696e
Fix UCL link
2013-12-03 18:16:22 +00:00
Tom Hughes
78f8e2a450
Throw an exception instead of logging to the console
2013-12-03 18:15:02 +00:00
Tom Hughes
e18c3fd58d
Log failures to match a route for the initial path
2013-12-03 17:51:01 +00:00
Tom Hughes
b04339f699
Increase z-index for maximised content
...
Makes sure maximised content sits on top of the header.
2013-12-03 15:24:45 +00:00