Commit graph

1225 commits

Author SHA1 Message Date
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
Tom MacWright
d13f0b7088 Remove dead code 2012-03-13 08:46:58 +00:00
Tom Hughes
9ec887ec30 Don't escape HTML in the "user suspended" message 2012-03-13 08:42:32 +00:00
Tom Hughes
30f21edbc2 Fixed incorrect link generation in sent message list 2012-03-11 08:46:28 +00:00
Tom Hughes
c6710bba54 Fix incorrect link generation that relied on default routes 2012-03-11 00:12:18 +00:00
Tom Hughes
5c74a6517c Load the piwik tracking code asynchronously 2012-03-10 12:17:23 +00:00
Tom Hughes
e23313fbd4 Don't escape the heading as it contains a link 2012-03-09 23:15:40 +00:00
Tom Hughes
58d889436f Fix various routing and route generation errors 2012-03-09 23:15:39 +00:00
Tom MacWright
40402fcdb8 Fix some issues with the new tab styling
Uses the parent of the tabnav element to do its positioning, and fixes
this style in RTL and small.

Also move the greetings block into the top-bar div in order to cleanly
have it share a border with tabs.
2012-03-04 10:37:46 +00:00
Tom Hughes
dffd5fe2d0 Remove references to mapnik in the export pane 2012-03-01 12:19:44 +00:00
Tom Hughes
23e016e908 Remove osmarender export option 2012-03-01 11:21:59 +00:00
Tom MacWright
7b6d0f0313 Simplify login page
Moves action buttons to be with the form instead of way over on
the opposite side of the page.

Reorganizes "remember me" to a more typical spot on the page.

Get rid of separate "create account" panel and replace it with an
above the fold link.
2012-02-29 00:13:09 +00:00
Tom Hughes
4143b3f770 Removed line break 2012-02-29 00:03:31 +00:00
Tom Hughes
13adca0a8f Generate correct links to diary entries 2012-02-28 22:59:43 +00:00
Tom Hughes
c9a4ec5e63 Improve the diary comments view
Make sure all strings are translatable; replace a manually constructed
link with link_to; improve date formatting; and use cycle to alternate
colours for the table rows.
2012-02-28 21:49:41 +00:00
Steve Singer
1944372af8 Add a view to show diary comments left by a user 2012-02-28 21:29:18 +00:00
Tom Hughes
5e0a8368c8 Don't escape the user pagination links 2012-02-21 17:01:53 +00:00
Tom Hughes
155babfec6 Don't escape the title - rails will handle it 2012-02-20 11:45:17 +00:00
Tom Hughes
1cef3c79e3 Don't escape the name - rails will handle it 2012-02-20 11:44:43 +00:00
Tom Hughes
4e78648d46 Add apple-touch-icon link to the layout 2012-02-19 11:29:14 +00:00
Tom Hughes
e70396d70b Replace the file_column plugin with paperclip 2012-02-15 17:48:15 +00:00