Commit graph

1245 commits

Author SHA1 Message Date
Tom Hughes
51a00550b4 Remove postscript export option as it doesn't really work 2012-05-30 20:24:53 +01:00
Tom Hughes
3e180e745c Use POST for hiding diary entries and comments 2012-05-13 18:43:44 +01:00
Enno Brehm
6a09f49e71 Implement API endpoint to query permissions. 2012-05-05 15:28:45 +01:00
Tom Hughes
1e0bdda2f5 Show a delete button on the OAuth application view 2012-04-23 21:30:57 +01:00
Tom Hughes
053dc144f9 Rearrange the left menu 2012-04-23 21:02:55 +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
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
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
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
851de28303 Added redactions resource 2012-04-05 13:50:15 +01:00
Matt Amos
9c098816e5 Added tests for browsing object histories with redacted elements 2012-04-05 13:49:59 +01:00
Tom Hughes
65d816130e Revert "Add notice about upcoming downtime"
This reverts commit 57787edc20.
2012-04-04 09:50:39 +01:00
Tom Hughes
6d99be3efc Style readonly notice correctly 2012-04-01 09:05:47 +01:00
Kai Krueger
0f121e5390 Rename showData to updateData in start.js.erb to resolve name clash 2012-03-31 19:20:52 +01:00
Tom Hughes
57787edc20 Add notice about upcoming downtime 2012-03-29 18:32:32 +01:00
Tom Hughes
6072618f47 Remove mention of Tiles@Home from noscript text 2012-03-28 22:55:48 +01:00
Tom Hughes
50ca95ebdd Rename toggleData to showData 2012-03-28 21:20:40 +01:00
Tom MacWright
8f4ed911e0 Introduce a new layer switcher
The new layer switcher behaves the same as the standard one but
has less cruft and more attractive styling.
2012-03-28 21:06:08 +01:00
Tom Hughes
c7b3ba447f Load Potlatch 2 through the asset pipeline 2012-03-25 23:15:19 +01:00
Tom Hughes
eaad3611b8 Add functional tests for messages
Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for messages.
2012-03-22 23:14:29 +00:00
Tom Hughes
5270a07bc5 Handle change from @to_user to @this_user for new message action 2012-03-22 19:47:24 +00:00
Tom Hughes
a9824dbc2e Use one "no_such_user" view everywhere 2012-03-21 21:47:09 +00:00
Tom Hughes
75300566e1 Move generation of role icons into a helper 2012-03-21 19:20:40 +00:00
Grant Slater
cf7116402b Set required Flash version to 10.1.x per request of RichardF 2012-03-21 10:51:41 +00:00
Tom Hughes
66caf92bd9 Improve styling of notice boxes to match new sidebar styling 2012-03-21 10:43:05 +00:00
Tom Hughes
be585d1403 Improve styling of alert boxes to match new sidebar styling 2012-03-21 10:38:12 +00:00
Grant Slater
65b2b22729 Potlatch 2 compiled with Flex 4.5 requires Flash 10.2.0 or above 2012-03-21 09:01:59 +00:00
Tom Hughes
5f33656c8d Get rid of custom CSRF protection for user role changes
By restricting role changes to POST requests, which they should be
anyway, we get all the rails CSRF protection for free.
2012-03-20 17:21:13 +00:00
Tom Hughes
359371b31c Handle reason as a rich text area when editing a block 2012-03-19 11:24:47 +00:00
Tristen Brown
a011d152a8 Tidy up the trace paging view 2012-03-18 11:34:43 +00:00
Tom Hughes
d0980087d1 Don't display Markdown help when editing an old diary entry 2012-03-17 16:37:22 +00:00
Tom Hughes
6039aac76e Link to the Markdown spec 2012-03-17 16:36:59 +00:00
Tom Hughes
2a35f530bd Add an HTML version of the diary comment notification mail 2012-03-17 16:36:58 +00:00
Tom Hughes
561f2f694a Add preview functionality to rich text controls 2012-03-17 16:36:57 +00:00
Tom Hughes
b6163f0fc2 Grow text areas automatically in response to input 2012-03-17 16:36:57 +00:00
Tom Hughes
aa4205482a Treat all newly entered blocks of text as Markdown 2012-03-17 16:36:55 +00:00
Tom Hughes
770a990ed9 It's zoomToExtent, not setExtent 2012-03-15 17:01:16 +00:00
Tom Hughes
13a98cf7eb Disable the export button until a format is selected 2012-03-15 14:50:43 +00:00
Tom Hughes
2c397321c9 Refactor calculation of zoom level based on a scale 2012-03-14 19:12:32 +00:00
Tom MacWright
701325e9ef Change abstraction level for map functions
This commit should have no functional affect. It just changes the
abstraction level of OpenLayers from completely abstracting away
getMapExtent etc, to using OpenLayers's functionality directly but
providing proj and unproj to make projections palatable.
2012-03-14 19:01:45 +00:00
Tom Hughes
31ebfc8ed0 Add missing </div> tag 2012-03-14 18:29:19 +00:00
Tom Hughes
0884e7b431 Add _html suffixes to some resource strings which have changed
Where a translatable string contains (directly or indirectly via
interpolations) some HTML it is better to add an _html suffix to
the key rather than wrap the result in raw so that escaping is
handled automatically for interpolations.

It's not worth doing until a string is changed and needs to be
retranslated though, as it will just break translations.
2012-03-14 18:29:04 +00:00
Tom MacWright
dc48c9a510 Front page copy revision
This edits the front page copy to be more direct, link off to more
useful resources, and guide people to register for an account. It
also moves partner links to below the donate link.
2012-03-14 17:33:00 +00:00
Tom MacWright
ae8cc604a1 Move the diary link to the sidebar
Restructure the links section in the sidebar to split it into two
major groups, help and community and move the diary link from a tab
to the community section of the sidebar.
2012-03-14 10:12:36 +00:00
Tom Hughes
60dfb92631 Generate correct links to language specific diary lists 2012-03-13 16:32:37 +00:00