Commit graph

4530 commits

Author SHA1 Message Date
Tom MacWright
115d7ded8d Remove border for arrow 2012-04-23 20:59:28 +01:00
Tom Hughes
cca526d939 Stop the menu appearing when the anchor is disabled 2012-04-23 20:59:28 +01:00
Tom Hughes
e2cb47f1ae Fix some issues with the new edit menu code
Make sure that the arrow icons are always displayed, and that menus
are aligned in the requested way.
2012-04-23 20:59:27 +01:00
Tom MacWright
c45dbdae36 Rework the edit tab and it's associated drop down menu
This changes the behavior of the editing tabs in three places. Instead
of the current hovering behavior, you can click on the arrow and get the
drop-down menu. Any click outside that on the page will deactivate the
menu, following the UI paradigm of most desktop environments.

This also simplifies the javascript code significantly.
2012-04-23 20:59:26 +01:00
Tom MacWright
dd3b577bd5 This simply moves GPS Traces to the left bar
The left bar is a bit of a kludge of random items right now, but it's a
little better having the GPS Traces item there, because it now makes the
top bar only items that are actually related to the map state.
2012-04-23 20:59:15 +01:00
Siebrand Mazeland
7feb0d14c6 Localisation updates from http://translatewiki.net. 2012-04-21 10:25:25 +00:00
Tom Hughes
1a2f6c29c6 Update to use api.geonames.org instead of ws.geonames.org 2012-04-18 18:44:37 +01:00
Tom Hughes
b135fff9b0 Update spam block script for mass assignment protection changes 2012-04-16 08:44:38 +01:00
Tom Hughes
4327daaabf Update rails-i18n to 0.6.3 2012-04-15 23:11:03 +01:00
Tom Hughes
dd5635204e Polatch 2 localisation updates 2012-04-15 22:34:57 +01:00
Siebrand Mazeland
ce9ed7f226 Localisation updates from http://translatewiki.net. 2012-04-15 11:49:19 +00:00
Tom Hughes
ababece2cc Don't show "Browse Map Data" when we're not on the map view 2012-04-12 15:49:41 +01:00
Tom Hughes
5fabab8b08 Update database schema 2012-04-09 20:52:32 +01:00
Tom Hughes
a3fe0f43ca Fix broken interpolation variables 2012-04-09 20:52:09 +01:00
Tom Hughes
9dea6b3739 Update Potlatch 2 to 2.3-380-gd20f3c8 build 2012-04-09 20:32:30 +01:00
Siebrand Mazeland
8f25eab257 Localisation updates from http://translatewiki.net. 2012-04-09 01:01:15 +02:00
Siebrand Mazeland
1b9de033bc url -> URL 2012-04-06 12:28:27 +02:00
Tom Hughes
c5152d1860 Improve styling of redaction view 2012-04-05 14:33:13 +01:00
Tom Hughes
6b159c165a No need for explicit h() escaping in new code 2012-04-05 14:09:19 +01:00
Tom Hughes
ec1667fc09 Prefer using _html locale keys to the raw function 2012-04-05 14:09:06 +01:00
Matt Amos
0093db5ffb Removed lookup of current element in calls to history 2012-04-05 13:53:53 +01:00
Matt Amos
c8971a545c Removed user checks from to_xml_node, as these should already be
handled at the controller level.
2012-04-05 13:53:48 +01:00
Matt Amos
59280377bf Fixed redaction attribute on old nodes and ways, added same
functionality to relations.
2012-04-05 13:53:44 +01:00
Matt Amos
ecf767ee4f Removed early return from printable name method 2012-04-05 13:53:41 +01:00
Matt Amos
0330e10943 Set defaults properly on redaction model, and remove unnecessary
guards around update.
2012-04-05 13:53:32 +01:00
Matt Amos
a4ded8bb67 Decided that restricting redacts to the user who created the
redaction is an unnecessary restriction.
2012-04-05 13:52:41 +01:00
Matt Amos
7953a883d0 Refactored common functionality from object history controllers 2012-04-05 13:52:10 +01:00
Matt Amos
1f9301e2e2 Better comments in application controller logic 2012-04-05 13:52:07 +01:00
Matt Amos
eca8f6e849 Used unredacted scope rather than explicit SQL 2012-04-05 13:52:04 +01:00
Matt Amos
7da8a5a1a8 Added redactions controller test and fixed a bug in the controller 2012-04-05 13:52:01 +01:00
Matt Amos
7c42552f16 Fixed fixture after adding link from redaction to user 2012-04-05 13:51:57 +01:00
Matt Amos
c8d3257fa5 Stop the data browser leaking details of redactions
Altered styling of redacted versions in changeset list so that they
appear deleted and don't leak tag information.
2012-04-05 13:50:22 +01:00
Matt Amos
ac0603d055 Fixed redaction link in browse/history page 2012-04-05 13:50:20 +01:00
Matt Amos
d50b0fb978 Fixed redaction link in redactions list 2012-04-05 13:50:19 +01:00
Matt Amos
9b1b6692d5 Fixed typo in translation 2012-04-05 13:50:17 +01:00
Matt Amos
851de28303 Added redactions resource 2012-04-05 13:50:15 +01:00
Matt Amos
9519f26241 Fixed AMF controller methods to hide redacted ways 2012-04-05 13:50:13 +01:00
Matt Amos
7c2ca3efb1 Fixed AMF controller methods to hide redacted nodes 2012-04-05 13:50:11 +01:00
Matt Amos
9c098816e5 Added tests for browsing object histories with redacted elements 2012-04-05 13:49:59 +01:00
Matt Amos
e01a309970 Added test for changeset/download hiding redacted elements 2012-04-05 13:49:53 +01:00
Matt Amos
d9e4e5836f Added tests for old_* redaction routes 2012-04-05 13:49:51 +01:00
Matt Amos
8bfb5cae8a Added relation redaction logic, same as node and way logic, plus tests 2012-04-05 13:49:46 +01:00
Matt Amos
990f3eba40 Altered old_way stuff to be Railsy like old_node is now 2012-04-05 13:49:43 +01:00
Kai Krueger
72e59b49fa Copy the redaction code from nodes to ways 2012-04-05 13:49:39 +01:00
Kai Krueger
7d41b926cf Expose redactions through the node history API calls
Add the show_redactions=true parameter to the old_node_controller
and add a redacted attribute in node XML output.
2012-04-05 13:48:36 +01:00
Matt Amos
67182f824e Fixing review comments
Added scoping for unredacted items, cleaned up authorization and
railsified old_node_controller.
2012-04-05 13:46:40 +01:00
Matt Amos
67dd9e4c9d Adding first cut of Redactions support
Redactions support hiding historical versions of elements and
collecting meta-data about that action together.
2012-04-05 13:46:36 +01:00
Matt Amos
2063fc98f1 Added Emacs temporaries to gitignore. 2012-04-04 21:45:19 +01:00
Tom Hughes
65d816130e Revert "Add notice about upcoming downtime"
This reverts commit 57787edc20.
2012-04-04 09:50:39 +01:00
Matt Amos
822759075c Add redactions table and link it to history tables 2012-04-04 08:43:44 +01:00