Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | David Cabo | 2011-09-03 | -1/+12 |
|\ | ||||
| * | Store user's locale against profile, so we can send them localised track ↵ | Seb Bacon | 2011-09-03 | -1/+2 |
| | | | | | | | | emails. Also internationalize more strings at the same time. Fixes #163. | |||
| * | Make custom track queries have readable names. Closes #169. | Seb Bacon | 2011-09-01 | -0/+10 |
| | | ||||
* | | Due to ca6fd3700c7c439d6ea969afcba2d2656d5b123f, theme_display_status for ↵ | David Cabo | 2011-09-01 | -10/+10 |
|/ | | | | custom states needs to be a class method | |||
* | Extend CSV import to support additional fields (short name, home page...) | David Cabo | 2011-08-23 | -20/+29 |
| | ||||
* | Merge branch 'master' of github.com:sebbacon/alaveteli | David Cabo | 2011-08-16 | -0/+7 |
|\ | ||||
| * | Internationalise the salution, making sure it's OK to miss out the public ↵ | Seb Bacon | 2011-08-15 | -0/+7 |
| | | | | | | | | body name as they might in French. Fixes #134. | |||
* | | Don't fail if a body has the same url_name in several locales (closes #139) | David Cabo | 2011-08-16 | -0/+14 |
|/ | ||||
* | Force elinks to assume UTF8 character set for its input (used when making ↵ | Seb Bacon | 2011-08-12 | -0/+7 |
| | | | | plain text versions of HTML email) | |||
* | Remove more whatdotheyknow references. Closes #113 (I think). | Seb Bacon | 2011-08-12 | -0/+7 |
| | ||||
* | make CSV import test deterministic by sorting results | David Cabo | 2011-08-12 | -1/+1 |
| | ||||
* | Create public bodies in multiple locales when importing from CSV | David Cabo | 2011-08-11 | -6/+42 |
| | ||||
* | Handle optional field list on CSV import, needed for enabling multiple locales | David Cabo | 2011-08-11 | -0/+13 |
| | ||||
* | Apply censor rules even when pdftk refuses to compress. Also provide for ↵ | Seb Bacon | 2011-08-10 | -4/+15 |
| | | | | alternative to pdftk for compression. Closes #123. | |||
* | Fix up missing fixtures (causing failures dependent on order the tests were ↵ | Seb Bacon | 2011-08-10 | -5/+9 |
| | | | | funr). Also tidy up raw_email setup code to match everywhere. | |||
* | Guess holding pen emails based on having a correct hash and an incorrect id. ↵ | Seb Bacon | 2011-08-08 | -0/+34 |
| | | | | Closes #117 | |||
* | Log the reason why an incoming mail is routed to the holding pen, and ↵ | Seb Bacon | 2011-08-03 | -0/+44 |
| | | | | display it to administrators. Closes #107. | |||
* | User's display name should indicate if they've been banned. Fixes #100. | Seb Bacon | 2011-08-01 | -0/+18 |
| | ||||
* | 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 | -7/+30 |
| | | | | 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. | |||
* | move load-email-fixtures-to-filesystem hack to global config, so that we ↵ | Seb Bacon | 2011-07-25 | -17/+0 |
| | | | | 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... | |||
* | added missing outgoing_messages fixture to test | David Cabo | 2011-07-23 | -1/+1 |
| | ||||
* | Store raw_emails in the filesystem, not in the database. They don't need to ↵ | Seb Bacon | 2011-07-22 | -2/+33 |
| | | | | | | 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. | |||
* | test with state other than "requires_admin" (as that state sends emails and ↵ | Seb Bacon | 2011-07-13 | -1/+1 |
| | | | | breaks other tests :() | |||
* | Refactor custom states loading (use class methods where appropriate, ↵ | Seb Bacon | 2011-07-12 | -7/+13 |
| | | | | simplify main code at the cost (small) of test legibility) | |||
* | ensure we don't load custom states from plugins when running tests | Seb Bacon | 2011-07-12 | -1/+1 |
| | ||||
* | Improve factoring out of custom states code (refactor a little, add tests) | Seb Bacon | 2011-07-12 | -0/+98 |
| | ||||
* | include necessary fixtures to get tests always to pass even when run on ↵ | Seb Bacon | 2011-06-28 | -2/+2 |
| | | | | their own | |||
* | Replace STDERR.puts by $stderr.puts elsewhere, which is potentially more ↵ | Robin Houston | 2011-06-21 | -5/+5 |
| | | | | flexible (because STDERR is always the system standard error file descriptor, whereas $stderr can be replaced by some other ruby object to handle error output). | |||
* | Test that PublicBody.first_letter is correctly set on save | Robin Houston | 2011-06-15 | -1/+13 |
| | ||||
* | Make sure the :public_body_translation fixture is included everywhere the ↵ | Robin Houston | 2011-06-09 | -13/+13 |
| | | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it. | |||
* | some test fixage | Seb Bacon | 2011-03-11 | -2/+1 |
| | ||||
* | Running the callbacks more specific than calling save! here and avoids ↵ | Louise Crow | 2011-02-23 | -14/+14 |
| | | | | having to handle foreign key references | |||
* | Mock a few more things now foreign key constraints are being enforced in the ↵ | Louise Crow | 2011-02-23 | -49/+54 |
| | | | | test environment | |||
* | Mock out a few more things now foreign key constraints are being enforced in ↵ | Louise Crow | 2011-02-23 | -39/+50 |
| | | | | the test environment. | |||
* | Use destroy rather than delete to remove the public body in this xapian ↵ | Louise Crow | 2011-02-23 | -2/+2 |
| | | | | test. Now that we're using a sql schema format to populate the test database, it creates foreign keys and so on correctly, so a delete, which tries to delete the object without calling any callbacks, fails with a foreign key error as acts_as_versioned means there are still foreign keys to this record from its versions. | |||
* | Fix a bunch of broken links (thanks Alex) | Francis Irving | 2010-10-27 | -1/+1 |
| | ||||
* | Index tags on public bodies. | Francis Irving | 2010-10-09 | -0/+24 |
| | ||||
* | Index tags on info requests. | Francis Irving | 2010-10-09 | -0/+19 |
| | ||||
* | Fix URL | Francis Irving | 2010-10-04 | -1/+1 |
| | ||||
* | Tests for find_by_tag | Francis Irving | 2010-09-29 | -0/+21 |
| | ||||
* | Fix test of HasTagStringTag | Francis Irving | 2010-09-29 | -3/+4 |
| | ||||
* | Factor out model of public body tags into generic tag string model | Francis Irving | 2010-09-29 | -1/+1 |
| | ||||
* | Make path work in Ruby 1.9 | Francis Irving | 2010-09-15 | -23/+23 |
| | ||||
* | It's Gorgonzola now | Francis Irving | 2010-08-04 | -1/+1 |
| | ||||
* | Oops, got test slightly wrong. | Francis Irving | 2010-08-04 | -1/+1 |
| | ||||
* | Do censoring of whole users if the rules are there. | Francis Irving | 2010-08-04 | -1/+41 |
| | ||||
* | Allow multiple keys the same | Francis Irving | 2010-08-04 | -4/+12 |
| | ||||
* | Remove charity number field | Francis Irving | 2010-07-27 | -0/+8 |
| | ||||
* | Initial support for machine tags | Francis Irving | 2010-07-26 | -0/+26 |
| |