aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix up missing fixtures (causing failures dependent on order the tests were ↵Seb Bacon2011-08-10-17/+29
| | | | funr). Also tidy up raw_email setup code to match everywhere.
* Fix a typo in the email templaterelease-0.1Robin Houston2011-08-10-2/+2
|
* Bring the wdtk branch into line with master (no more differences).Robin Houston2011-08-09-2/+36
|
* Merge branch 'master' into wdtkRobin Houston2011-08-09-55/+325
|\
| * allow admin to redeliver emails to closed requests. Fixes #116Seb Bacon2011-08-08-1/+19
| |
| * Introduce config setting to ignore browser language settingsSeb Bacon2011-08-08-2/+21
| |
| * Fix dependency problem when deleting incoming messages. Closes #115Seb Bacon2011-08-08-4/+8
| |
| * Ensure we use sensible fallbacks for setting the default / initial locale ↵Seb Bacon2011-08-08-9/+31
| | | | | | | | for a user. (Partially) fixes #114
| * Guess holding pen emails based on having a correct hash and an incorrect id. ↵Seb Bacon2011-08-08-22/+98
| | | | | | | | Closes #117
| * Log the reason why an incoming mail is routed to the holding pen, and ↵Seb Bacon2011-08-03-9/+84
| | | | | | | | display it to administrators. Closes #107.
| * Force a trailing slash on the end of the administrators' index page. Fixes #106Seb Bacon2011-08-03-1/+14
| |
| * Fail silently if there's no user matching one referenced in the current ↵Seb Bacon2011-08-03-1/+12
| | | | | | | | session. Fixes #105
| * Update sample-data loading instructions to use a script (because we need to ↵Seb Bacon2011-08-02-1/+13
| | | | | | | | workaround fixtures not knowing how to load data from the filesystem for RawEmails)
| * Fix broken check for test environmentRobin Houston2011-08-01-1/+1
| | | | | | | | | | | | | | The condition that was supposed to check for the "test" environment was accidentally imposing the test environment. Closes #102.
| * User's display name should indicate if they've been banned. Fixes #100.Seb Bacon2011-08-01-0/+21
| |
| * Use only one kind of variable interpolation on gettext strings (mixing them ↵Seb Bacon2011-08-01-7/+6
| | | | | | | | is dangerous as we don't escape translations). Fixes #99.
* | Fix broken check for test environmentRobin Houston2011-08-01-1/+1
| | | | | | | | | | | | | | The condition that was supposed to check for the "test" environment was accidentally imposing the test environment. Closes #102.
* | Let’s not do these migrations on WDTK. At least not yet.Robin Houston2011-07-30-35/+0
| |
* | Merge branch 'master' into wdtkRobin Houston2011-07-30-2/+101
|\|
| * Include public body name in page title for SEO reasons. Closes #98.Seb Bacon2011-07-29-2/+2
| |
| * Mention Varnish in production setup recommendations (and supply example VCL)Seb Bacon2011-07-29-0/+99
| |
* | Merge branch 'master' into wdtkRobin Houston2011-07-29-35/+203
|\|
| * make explicit path test locale-independentSeb Bacon2011-07-29-1/+1
| |
| * Add missing :info_requests fixture to test that depends on itSeb Bacon2011-07-29-1/+1
| |
| * To make tests pass with RawEmails on the filesystem, instead of hacky ↵Seb Bacon2011-07-29-54/+114
| | | | | | | | dependency on existence of text_binary field in raw_emails model, rewrite tests (and their fixtures) to explicitly load data from FS when raw_emails are used.
| * Merge branch 'master' of git@github.com:sebbacon/alaveteliRobin Houston2011-07-28-1/+5
| |\
| | * Cause the final step in the "new request" workflow to have a unique URL (so ↵Seb Bacon2011-07-28-1/+5
| | | | | | | | | | | | we can distinguish it in Google Analytics). Fixes #96
| * | Doing two placeholder-substitution operations in succession is a recipe for ↵Robin Houston2011-07-28-3/+1
| |/ | | | | | | | | | | disaster. (In this case, a request whose title contains a % sign caused it to break.)
| * Add /signing to the list of disallowed paths in robots.txt, because ↵Robin Houston2011-07-28-0/+2
| | | | | | | | Googlebot is requesting hundreds of them
| * Don't treat CSRF tokens as optional session data for administrators (they're ↵Seb Bacon2011-07-27-4/+23
| | | | | | | | | | | | needed to allow them to edit anything! Fixes #95 (Also change wording of test namess to match usual rspec convention)
| * include "locale" in list of session data keys that are used to decide if a ↵Seb Bacon2011-07-27-1/+9
| | | | | | | | rails session cookie is redundant for the purposes of this request. Fixes #91
| * Authentication should only apply to admin interface when *both* email *and* ↵Seb Bacon2011-07-27-1/+10
| | | | | | | | password are unset
| * Avoided a repeated mention of ADMIN_BASE_URLRobin Houston2011-07-26-4/+1
| |
| * Add the ADMIN_BASE_URL variable to general.yml-example, and make the codeRobin Houston2011-07-26-1/+5
| | | | | | | | | | treat an empty value the same as if the variable were absent (i.e. to use the default admin path).
| * YAML wants a newline at the end of a fileSeb Bacon2011-07-26-1/+1
| |
| * Cause PassengerMaxRequests to be zero by default (in mySociety config this ↵Seb Bacon2011-07-26-0/+4
| | | | | | | | was set at 100, which strictly speaking is a debug-only setting)
| * Add cache headers to various pages (in three categories: short, medium, and ↵Seb Bacon2011-07-25-3/+37
| | | | | | | | long).
| * Rescue NameErrors when attempting to load custom states (for the case where ↵Seb Bacon2011-07-25-2/+2
| | | | | | | | the file exists, but it's empty)
| * move load-email-fixtures-to-filesystem hack to global config, so that we ↵Seb Bacon2011-07-25-21/+18
| | | | | | | | don't need to remember to run it everywhere that the raw_emails fixture is used. At the same time, correct the migration that previously removed the data_binary column, as this is assumed for fixture loading. In a future iteration, we should probably stop abusing fixtures like this...
| * Remove redundant test (this change should be with commit ↵Seb Bacon2011-07-25-14/+0
| | | | | | | | dd58cd35e51c1b98228aae1aa930629e84b6a905)
| * Merge branch 'empty_sessions' of https://github.com/dracos/alaveteliSeb Bacon2011-07-25-9/+101
| |\
| | * Add FixMyTransport's strip_empty_sessions to not send a cookie if there's ↵Matthew Somerville2011-07-22-9/+101
| | | | | | | | | | | | nothing in the session.
| * | Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-07-25-4/+4
| |\ \
| | * | Correct the mutt syntax, for sending notification mails about import errors.Robin Houston2011-07-25-1/+1
| | | | | | | | | | | | | | | | Closes #90.
| | * | added missing outgoing_messages fixture to testDavid Cabo2011-07-23-1/+1
| | | |
| | * | catch MissingSourceFile instead of NameError when including custom states, ↵David Cabo2011-07-23-2/+2
| | | | | | | | | | | | | | | | in order to handle the case when file is not present
| * | | Clarify alert logic in a commentSeb Bacon2011-07-25-1/+5
| | | |
| * | | Add a flag to turn off logging memory usage, as (a) this is a debug setting, ↵Seb Bacon2011-07-25-6/+17
| | | | | | | | | | | | | | | | and (b) it's not cross-platform anyway (causes issues for people developing on OS X)
| * | | Don't bother stripping whitespace when checking old requests: it's an ↵Seb Bacon2011-07-25-8/+1
| | | | | | | | | | | | | | | | expensive operation with a relatively small benefit.
| * | | split migration into two steps, so we only lose raw_email database data ↵Seb Bacon2011-07-22-3/+17
| | | | | | | | | | | | | | | | *after* we've made filesystem representations of it