Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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 |
|\ | ||||
| * | changed git-code to git-core | valon | 2011-07-14 | -1/+1 |
| | | ||||
* | | Only prepend locales to paths when there's more than one locale to choose from. | Seb Bacon | 2011-07-15 | -2/+37 |
|/ | | | | Replaces core "locale" filter with customised one. Fixes #82 | |||
* | Merge branch 'master' of github.com:sebbacon/alaveteli | Seb Bacon | 2011-07-14 | -18/+28 |
|\ | ||||
| * | The sense of the "is admin" test was accidentally reversed on the request ↵ | Robin Houston | 2011-07-14 | -3/+3 |
| | | | | | | | | page template | |||
| * | Do not specify ADMIN_BASE_URL in the example config file, | Robin Houston | 2011-07-14 | -2/+5 |
| | | | | | | | | | | because the dynamic default value will be correct for most installations. | |||
| * | Use the ADMIN_BASE_URL config variable if present, rather than ignoring it | Robin Houston | 2011-07-14 | -1/+1 |
| | | ||||
| * | 1) You can’t call an instance method from a class method (d’oh) | Robin Houston | 2011-07-14 | -2/+2 |
| | | | | | | | | | | | | 2) The test coverage is less good than I imagined. XXXX need test for zip file attachments | |||
| * | Reinstate the additional admin links. | Robin Houston | 2011-07-14 | -5/+12 |
| | | ||||
| * | That is only supposed to be disabled in the wdtk branch, not in master. | Robin Houston | 2011-07-14 | -1/+1 |
| | | ||||
| * | Merge branch 'master' of git@github.com:sebbacon/alaveteli | Robin Houston | 2011-07-14 | -5/+54 |
| |\ | ||||
| * \ | Merge branch 'wdtk' of git@github.com:sebbacon/alaveteli | Robin Houston | 2011-07-14 | -1/+1 |
| |\ \ |