Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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 |
| | ||||
* | Make test work even when not explicitly saving | Francis Irving | 2010-07-26 | -2/+3 |
| | ||||
* | Another test. | Francis Irving | 2010-07-26 | -0/+5 |
| | ||||
* | Tests for normal tags. | Francis Irving | 2010-07-26 | -1/+47 |
| | ||||
* | Search index about me text, and tests to check that works | Francis Irving | 2010-07-18 | -0/+21 |
| | ||||
* | Fix tests to use mock user. | Francis Irving | 2010-07-15 | -4/+5 |
| | ||||
* | Add specific draft attribute. | Francis Irving | 2010-07-15 | -1/+1 |
| | ||||
* | Get key dependency right. Test for draft pictures. | Francis Irving | 2010-07-15 | -0/+10 |
| | ||||
* | Remove mapping from photo to user | Francis Irving | 2010-07-14 | -2/+2 |
| | ||||
* | Merge branch 'master' into francis-profile-photo | Francis Irving | 2010-07-13 | -51/+359 |
|\ | | | | | | | | | | | | | Conflicts: app/views/user/show.rhtml commonlib spec/controllers/user_controller_spec.rb | |||
| * | Change 'rejected' to 'refused', as used in the law | Francis Irving | 2010-06-16 | -2/+2 |
| | |