Commit graph

2317 commits

Author SHA1 Message Date
Tom Hughes
6e047b67f0 Tweak the mobile style a little 2012-03-29 00:29:40 +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 Hughes
bd14832cb5 Rearrange layer switcher assets 2012-03-28 21:18:47 +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
987c52f53e Only require a readable database for login, not a writable one 2012-03-28 10:08:38 +01:00
Tom Hughes
c7b3ba447f Load Potlatch 2 through the asset pipeline 2012-03-25 23:15:19 +01:00
Tom Hughes
4c612f6f4d Move swfobject to the vendor assets tree 2012-03-25 22:49:23 +01:00
Tom Hughes
365163929d Make sure text in Markdown help is aligned correctly 2012-03-23 00:19:06 +00: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
311f7ddd6e Factor out common code for looking up users 2012-03-21 22:22:33 +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
38a610fd31 Add functional tests for the user_roles controller 2012-03-20 17:21:13 +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
f3c9f4edb4 Adjust spam scoring to try and reduce false positives 2012-03-20 13:28:57 +00:00
Tom Hughes
e1d873cde9 Add functional tests for user blocks
Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for user blocks.
2012-03-19 11:26:02 +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
Tristen Brown
cf1d12fe7d Make the disabled state of the primary menu items more obvious 2012-03-18 00:08:19 +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
64747f7604 Set the user description to markdown formatting when it changes 2012-03-17 16:37:22 +00:00
Tom Hughes
7be823bb11 Treat messages received by email as plain text
Move creation of a message from an email into the message model and
adjust the logic to treat messages received by email as plain text.
2012-03-17 16:37:00 +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
8f4a9a4b87 Make spam scoring work with new rich text system 2012-03-17 16:36:58 +00:00
Tom Hughes
5e4357dd14 Only reload the preview if the content has changed 2012-03-17 16:36:58 +00:00
Tom Hughes
eb789dbf75 Show an animation while a preview is loading 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
d29a9dad9d Removed code for handling Osmrender export requests 2012-03-15 14:43:03 +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 Hughes
fe5cbadf3d Adjust width of donate box so it centres properly 2012-03-14 17:44:45 +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 Hughes
3a1e7a67ac Specify the username when redirecting to the OAuth client list 2012-03-14 13:57:28 +00:00
Tom Hughes
05aa7f377e Adjust left and right padding on the introductory text
The sidebar changes have increased the padding for the search box
and links menu, so change the introductory text to match.
2012-03-14 10:13:28 +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