Commit graph

4433 commits

Author SHA1 Message Date
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
Tom Hughes
d7d317f694 Mark yet more methods as needing write access to the database 2012-04-02 19:08:47 +01:00
Tom Hughes
c19d36653d Update to rails 3.2.3 2012-04-02 18:47:03 +01:00
Tom Hughes
151626d019 We no longer need to disable sessions when the database is offline 2012-04-02 18:42:14 +01:00
Tom Hughes
e1ce75ec49 Mark some extra methods as needing write access to the database 2012-04-02 18:40:05 +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
Grant Slater
ed98d71417 Add AND attribution per request 2012-03-30 18:20:21 +01:00
Tom Hughes
823c7840db Update Potlatch 2 to 2.3-375-g9f05171 build 2012-03-30 13:50:46 +01:00
Tom Hughes
aa3011dcb7 Add Land Vorarlberg to Austrian copyright attributions 2012-03-29 18:39:03 +01:00
Tom Hughes
d65c12b5ad Improve styling of notice and alert boxes 2012-03-29 18:32:48 +01:00
Tom Hughes
57787edc20 Add notice about upcoming downtime 2012-03-29 18:32:32 +01:00
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
afeee2923f Send a Content-Length header when streaming a file 2012-03-28 18:44:02 +01:00
Tom Hughes
e3a6b8183f Update rails-i18n to 0.6.2 2012-03-28 16:31:37 +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
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