Tom Hughes
4bd573b0ae
Require i18n-js 3.0.0.rc5.3 for proper dependency on configuration
2013-12-09 10:18:31 +00:00
Tom Hughes
f3af824f61
Update gitignore
2013-12-09 10:04:12 +00:00
Tom Hughes
44f89c049c
Remove export rule for translations which no longer exist
2013-12-09 09:29:21 +00:00
Tom Hughes
24893c0936
Update page title when switching to the front page view
...
Fixes https://trac.openstreetmap.org/ticket/5063
2013-12-09 09:28:13 +00:00
Tom Hughes
de9d26c7df
Drop redundant monkey patches
2013-12-08 22:49:31 +00:00
Tom Hughes
b93f79f5a0
Add functions tests for the oauth_clients controller
2013-12-08 21:54:21 +00:00
Tom Hughes
67e7ced086
Remove unused controllers
2013-12-08 19:15:23 +00:00
Tom Hughes
f8e645fc03
Remove stub test for non-existent controller
2013-12-08 19:15:12 +00:00
Tom Hughes
5c53bb78ab
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
2013-12-08 13:11:48 +00:00
Tom Hughes
5d6a47929c
Don't show lat/lon for a deleted node, in case it is redacted
...
Fixes #642
2013-12-08 11:27:29 +00:00
Tom Hughes
4395ed6117
Fix untranslatable string
2013-12-08 11:02:43 +00:00
Tom Hughes
3a6dc176f8
Test XHR rendering of pages which can load in the sidebar
2013-12-07 17:40:19 +00:00
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