Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Ensure we use sensible fallbacks for setting the default / initial locale ↵ | Seb Bacon | 2011-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 Bacon | 2011-08-08 | -22/+98 |
| | | | | Closes #117 | |||
* | Log the reason why an incoming mail is routed to the holding pen, and ↵ | Seb Bacon | 2011-08-03 | -9/+84 |
| | | | | display it to administrators. Closes #107. | |||
* | Force a trailing slash on the end of the administrators' index page. Fixes #106 | Seb Bacon | 2011-08-03 | -1/+14 |
| | ||||
* | Fail silently if there's no user matching one referenced in the current ↵ | Seb Bacon | 2011-08-03 | -1/+12 |
| | | | | session. Fixes #105 | |||
* | Update sample-data loading instructions to use a script (because we need to ↵ | Seb Bacon | 2011-08-02 | -1/+13 |
| | | | | workaround fixtures not knowing how to load data from the filesystem for RawEmails) | |||
* | Fix broken check for test environment | Robin Houston | 2011-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 Bacon | 2011-08-01 | -0/+21 |
| | ||||
* | Use only one kind of variable interpolation on gettext strings (mixing them ↵ | Seb Bacon | 2011-08-01 | -7/+6 |
| | | | | is dangerous as we don't escape translations). Fixes #99. | |||
* | Include public body name in page title for SEO reasons. Closes #98. | Seb Bacon | 2011-07-29 | -2/+2 |
| | ||||
* | Mention Varnish in production setup recommendations (and supply example VCL) | Seb Bacon | 2011-07-29 | -0/+99 |
| | ||||
* | make explicit path test locale-independent | Seb Bacon | 2011-07-29 | -1/+1 |
| | ||||
* | Add missing :info_requests fixture to test that depends on it | Seb Bacon | 2011-07-29 | -1/+1 |
| | ||||
* | To make tests pass with RawEmails on the filesystem, instead of hacky ↵ | Seb Bacon | 2011-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/alaveteli | Robin Houston | 2011-07-28 | -1/+5 |
|\ | ||||
| * | Cause the final step in the "new request" workflow to have a unique URL (so ↵ | Seb Bacon | 2011-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 Houston | 2011-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 Houston | 2011-07-28 | -0/+2 |
| | | | | Googlebot is requesting hundreds of them | |||
* | Don't treat CSRF tokens as optional session data for administrators (they're ↵ | Seb Bacon | 2011-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 Bacon | 2011-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 Bacon | 2011-07-27 | -1/+10 |
| | | | | password are unset | |||
* | Avoided a repeated mention of ADMIN_BASE_URL | Robin Houston | 2011-07-26 | -4/+1 |
| | ||||
* | Add the ADMIN_BASE_URL variable to general.yml-example, and make the code | Robin Houston | 2011-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 file | Seb Bacon | 2011-07-26 | -1/+1 |
| | ||||
* | Cause PassengerMaxRequests to be zero by default (in mySociety config this ↵ | Seb Bacon | 2011-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 Bacon | 2011-07-25 | -3/+37 |
| | | | | long). | |||
* | Rescue NameErrors when attempting to load custom states (for the case where ↵ | Seb Bacon | 2011-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 Bacon | 2011-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 Bacon | 2011-07-25 | -14/+0 |
| | | | | dd58cd35e51c1b98228aae1aa930629e84b6a905) | |||
* | Merge branch 'empty_sessions' of https://github.com/dracos/alaveteli | Seb Bacon | 2011-07-25 | -9/+101 |
|\ | ||||
| * | Add FixMyTransport's strip_empty_sessions to not send a cookie if there's ↵ | Matthew Somerville | 2011-07-22 | -9/+101 |
| | | | | | | | | nothing in the session. | |||
* | | Merge branch 'master' of github.com:sebbacon/alaveteli | Seb Bacon | 2011-07-25 | -4/+4 |
|\ \ | ||||
| * | | Correct the mutt syntax, for sending notification mails about import errors. | Robin Houston | 2011-07-25 | -1/+1 |
| | | | | | | | | | | | | Closes #90. | |||
| * | | added missing outgoing_messages fixture to test | David Cabo | 2011-07-23 | -1/+1 |
| | | | ||||
| * | | catch MissingSourceFile instead of NameError when including custom states, ↵ | David Cabo | 2011-07-23 | -2/+2 |
| | | | | | | | | | | | | in order to handle the case when file is not present | |||
* | | | Clarify alert logic in a comment | Seb Bacon | 2011-07-25 | -1/+5 |
| | | | ||||
* | | | Add a flag to turn off logging memory usage, as (a) this is a debug setting, ↵ | Seb Bacon | 2011-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 Bacon | 2011-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 Bacon | 2011-07-22 | -3/+17 |
| | | | | | | | | | | | | *after* we've made filesystem representations of it | |||
* | | | ignore things in `files/` | Seb Bacon | 2011-07-22 | -0/+1 |
| | | | ||||
* | | | drop strange, stray comment | Seb Bacon | 2011-07-22 | -1/+0 |
|/ / | ||||
* | | Merge branch 'master' of github.com:sebbacon/alaveteli | Seb Bacon | 2011-07-22 | -1/+1 |
|\| | ||||
| * | Fix the routing so that censor rules can be edited through the admin interface. | Robin Houston | 2011-07-21 | -1/+1 |
| | | ||||
* | | Drop post_redirects older than 2 months. The 6 month limit meant we had far ↵ | Seb Bacon | 2011-07-22 | -1/+1 |
| | | | | | | | | too much redundant data that we were needlessly backing up. | |||
* | | Store raw_emails in the filesystem, not in the database. They don't need to ↵ | Seb Bacon | 2011-07-22 | -6/+101 |
|/ | | | | | | be in the database (we never write to them, for example), and they bloat it unecessarily, making backups etc difficult. NOTE: this migration could take a *very* long time. | |||
* | Merge branch 'master' of github.com:sebbacon/alaveteli | Seb Bacon | 2011-07-19 | -47/+29 |
|\ | ||||
| * | Add another template hook _before_head_end, for themes to override. | Robin Houston | 2011-07-18 | -47/+29 |
| | | ||||
* | | improve documentation of ugly files | Seb Bacon | 2011-07-19 | -6/+24 |
|/ | ||||
* | Add a comment to the _before_body_end template, explaining that it can be ↵ | Robin Houston | 2011-07-17 | -1/+1 |
| | | | | overridden in a theme for analytics | |||
* | Merge remote branch 'origin/master' | Seb Bacon | 2011-07-15 | -1/+1 |
|\ |