Commit graph

4412 commits

Author SHA1 Message Date
Tom Hughes
987c52f53e Only require a readable database for login, not a writable one 2012-03-28 10:08:38 +01:00
Tom Hughes
19b6221b32 Drop the sessions table 2012-03-28 10:07:58 +01:00
Tom Hughes
5cae983622 Removed temporary code for promoting databases sessions to memcached 2012-03-28 10:04:56 +01:00
Tom Hughes
c6310fdcbd Update Potlatch 2 to 2.3-371-ga5f763a build 2012-03-27 11:55:29 +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
076755f502 Update Potlatch 2 to 2.3-367-ga54da3b build 2012-03-25 22:42:18 +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
2b037e2892 Test that viewing a block marks it as seen 2012-03-22 19:23:43 +00:00
Tom Hughes
b63a7cb447 Add comments to the user block functional tests 2012-03-22 19:01:50 +00:00
Grant Slater
e7bcb57085 Remove final comma from JS array which confused older versions of IE 2012-03-22 17:31:29 +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
4cca29d400 Update Potlatch 2 to 2.3-236-ge27f26d build 2012-03-21 10:51:04 +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
Tom Hughes
d1e10d2313 Allow the development enviroment to work in offline mode 2012-03-21 10:01:23 +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
0b87b003ee Fixed for offline mode 2012-03-20 13:45:10 +00:00
Tom Hughes
f3c9f4edb4 Adjust spam scoring to try and reduce false positives 2012-03-20 13:28:57 +00:00
Tom Hughes
9492d20a87 Avoid dragging ActionView::Helpers::TextHelper into RichText objects
Dragging in TextHelper gets us a truncate method which hides the one
we inherited from String and which we want.
2012-03-19 12:01:02 +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
Tom Hughes
3b0ff552de Add "text" to the valid formats 2012-03-18 13:19:44 +00:00
Tom Hughes
70582c91c2 Update Potlatch 2 to 2.3-233-g066c642 release 2012-03-18 12:12:43 +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
8a7a4b2ece Update schema 2012-03-17 17:14:11 +00:00
Tom Hughes
a48f2ac856 Update to rails-i18n 0.5.2 and remove monkey patch 2012-03-17 17:04:02 +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
02542c96f2 Add some tests for the RichText module 2012-03-17 16:37:21 +00:00
Tom Hughes
584806af92 Add rel="nofollow" to links generated from Markdown 2012-03-17 16:37:19 +00:00
Tom Hughes
b1cb7bb819 Drop the contents of <script> and <style> tags when we strip them 2012-03-17 16:37:01 +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
98592e2903 Add a simple "text" format to the RichText module 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
d66f38de45 Update schema 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