Commit graph

1376 commits

Author SHA1 Message Date
Tom Hughes
260a690b3d Add comments_feed action to various filters
Fixes #825
2014-11-05 20:34:45 +00:00
Tom Hughes
8598db3233 Tidy up changeset comment code 2014-10-23 21:24:51 +01:00
Łukasz Gurdek
14ac1babc2 Changeset discussions
Add support for commenting on changesets with RSS feeds and email
notification of comments to other commenters and people that have
chosen to subscribe to a changeset.
2014-10-23 21:24:51 +01:00
Tom Hughes
96e1665c01 Update to rails 4.1.6 2014-10-02 19:54:21 +01:00
Paul Norman
2d26d1f764 Add an imagery blacklist to capabilities
This blacklist is for imagery which is of an incompatible license or ToS
but is incorrectly used with some frequency.

This adds a <policy> element to the capabilities XML which contains the
blacklist information within it
2014-08-31 18:41:12 +01:00
Tom Hughes
042ecee695 Don't preload the nodes as it seems to break the ordering
Fixes #795
2014-07-29 10:14:08 +01:00
Tom Hughes
c53db246f6 Merge branch 'rails41' 2014-07-21 08:53:44 +01:00
Tom Hughes
6cb01999c6 Remove debug statement 2014-07-04 19:58:03 +01:00
Tom Hughes
dd81b09eba Update for API change in CPK 7.x 2014-07-04 19:24:25 +01:00
Tom Hughes
28bfb9999f Rename Trace#public to Trace#visible_to_all 2014-07-04 19:24:25 +01:00
Tom Hughes
56d39b06f2 Rename User#public to User#identifiable 2014-07-04 19:24:25 +01:00
Tom Hughes
0cc579b287 Improve blocking of characters not allowed in XML 2014-06-19 00:25:18 +01:00
Tom Hughes
c9e9ef1a89 Rewrite layer parameters in shortlinks correctly
Fixes #762
2014-06-17 21:15:36 +01:00
Tom Hughes
6fe824bd0b Strip illegal characters from member roles in AMF uploads, part 2
Fixes #758
2014-06-15 15:55:30 +01:00
Tom Hughes
4cd7f5ad0d Strip illegal characters from member roles in AMF uploads
Fixes #758
2014-06-15 15:50:31 +01:00
Tom Hughes
d27cc80b43 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
2014-06-15 15:20:50 +01:00
Tom Hughes
5a830b2845 Don't force a login to use a remote editor
Fixes #754
2014-06-15 11:00:49 +01:00
Tom Hughes
098c2675ba Add support for ACL blocks on note commenting 2014-06-03 20:59:25 +01:00
Tom Hughes
f9ae6d252f Drop the slim layout
The slim layout is not really needed since the redesign as the
pages it was used for in the OAuth flow now have less chrome and
work fine on small screens with the normal layout.

Fixes #689
2014-02-16 16:03:00 +00:00
Tom Hughes
47841829d8 Improve redirection of shortlinks
If a shortlink includes an object reference then redirect to a new
style browse URL for that object.

Fixes #702
2014-02-15 12:42:52 +00:00
Tom Hughes
25b93471c1 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.
2014-02-04 22:31:44 +00:00
Tom Hughes
339ac9d239 Pass preferred language to geonames API calls 2014-01-27 21:14:17 +00:00
Tom Hughes
ccebb796ab Use api.geonames.org for reverse searches 2014-01-27 21:14:17 +00:00
Toby Murray
c78853a97e Changing the note search limit from 9999 to 10000
The documentation says the limit is 10000 which seems like a
nicer round number anyway.
2014-01-19 13:40:11 +00:00
Tom Hughes
45618726ef Reenable the note search API
Add a postgress freetext index on the note comments, and enable
note searching using freetext matching.
2014-01-15 19:58:58 +00:00
Tom Hughes
1e2b99a75b Disable notes search until it can be made scalable 2014-01-09 08:41:59 +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
04ad0f6251 Do basic testing of all site controller methods 2013-12-07 17:21:17 +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
a51b4c869e Use the map layout when rendering index for a remote edit 2013-12-05 10:40:07 +00:00
Tom Hughes
50fafa14f8 Improve zoom level selection when invoking Potlatch on an object
When invoking Potlatch on a node/way/relation object we should
normally have valid location information in the map parameters, so
use any zoom which is there if possible, otherwise fall back to an
object type specific default value.

Fixes #605.
2013-12-03 15:06:34 +00:00
John Firebaugh
d95361bcb9 Support legacy bbox param on /history as well
Fixes #586
2013-12-02 11:38:54 -08:00
Tom Hughes
49a4efcfa0 Don't offer iD on IE11 2013-11-30 17:53:42 +00:00
Tom Hughes
315d1dab54 Redirect /?query= to /search?query= 2013-11-30 12:38:44 +00:00
Tom Hughes
a9f4549327 Tidy up the OAuth authorization screens
Make sure all messages are translatable, separate errors from
user initiated denial of authorization.
2013-11-30 12:25:22 +00:00
Tom Hughes
d09009b1fa Allow moderators to reopen hidden notes 2013-11-28 20:25:36 +00:00
John Firebaugh
6b236ec95b Fix feed link for pushState loaded history page 2013-11-25 15:47:42 -08:00
Aaron Lidman
ccf7981c48 Sort changesets by id rather than created_at, closes #87 2013-11-25 12:27:52 -08:00
Tom Hughes
581032b701 Enable oauth for geocoder#search 2013-11-24 17:05:02 +00:00
Tom Hughes
686aae7732 Block max_id for changeset feeds instead of page which is no longer used 2013-11-24 17:02:38 +00:00
Tom Hughes
532d108536 Make sure all pages using the map layout call require_oauth 2013-11-24 15:29:38 +00:00
John Firebaugh
954261fb1c Restore prev/next changeset by user links 2013-11-22 12:17:27 -08:00
John Firebaugh
d0de36b607 Refine changeset browse behavior
The general history view shows changesets in the current view
and updates when you move the map. The view for an individual
user, nearby users, or friends zooms the map to the extent of
the results, and doesn't change when you move the map.
2013-11-19 12:10:14 -08:00
John Firebaugh
e91956d0f7 Fix test failures 2013-11-19 10:30:18 -08:00
John Firebaugh
44629832dd Merge branch 'master' into redesign
Conflicts:
	vendor/assets/leaflet/leaflet.hash.js
	vendor/assets/leaflet/leaflet.js
2013-11-19 09:42:47 -08:00
Aaron Lidman
f45437f836 Reorder changeset detail lists
Nodes, ways, relations -> Ways, relations, nodes
2013-11-18 16:24:25 -08:00
Aaron Lidman
6c64a74a46 Improve changeset detail display 2013-11-18 15:23:48 -08:00
Tom Hughes
41e45bad51 Remove the _osm_username cookie and session validation logic
This was a temporary hack to workaround issues with sessions getting
mixed up at the time of the rails 3.1 upgrade, but logs indicate that
whatever the original problem was it is no longer occurring.
2013-11-17 21:52:39 +00:00