aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
Commit message (Collapse)AuthorAgeLines
* Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtkSeb Bacon2012-01-19-0/+15
|\
| * Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtkRobin Houston2012-01-19-0/+7
| |\
| | * Don't raise an error if the user deletes a track through the UI. Fixes #353.Seb Bacon2012-01-18-0/+7
| | |
| * | Fix sporadic spurious test failuresRobin Houston2012-01-19-0/+8
| |/ | | | | | | | | ...by forcing the IncomingMessage to be re-parsed after we have edited it.
* / Always show the right search snippet. Fixes #352.Seb Bacon2012-01-19-0/+7
|/
* Merge branch 'fast-search-hack' into wdtk. Addresses the second slow SQL ↵Seb Bacon2012-01-13-1/+4
|\ | | | | | | example at issue #327, at least in part.
| * Changes to make normal search pages not necessarily load info_request_events ↵Seb Bacon2012-01-12-1/+4
| | | | | | | | every time
* | Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to ↵Seb Bacon2012-01-13-8/+11
| | | | | | | | issue #343.
* | To get around occasional race conditions, instead of forcing an fsync, retry ↵Seb Bacon2012-01-13-9/+9
|/ | | | getting the body a few times before failing. May be related to issue #333 and #339
* Use correct column type for sent_at date (was only preserving time and not ↵Seb Bacon2012-01-10-0/+2
| | | | date, resulting in incoming_messages all apparently being sent on January 1, 2000)
* Test for commit caff0a3ff2e38a5aab906baa4cc77d30587e1184 (ensure we always ↵Seb Bacon2012-01-09-0/+36
| | | | regenerate attachments cache when necessary)
* Ensure attachments have been parsed before generating cached extractsSeb Bacon2012-01-05-0/+7
|
* Correctly test for auto-submitted headers. Fixes #316.Seb Bacon2012-01-05-14/+13
|
* Display internationalized emails correctly (specifically, RFC2047 headers, ↵Seb Bacon2012-01-04-0/+22
| | | | and HTML emails with encoding in a meta-tag). Fixes #281
* Ensure we always censor safe_mail_from; and mention new only-parse-once ↵Seb Bacon2011-12-21-5/+3
| | | | feature in CHANGES.md
* Further improvements to attachment cachingSeb Bacon2011-12-13-9/+12
|
* WIP on caching attachmentsSeb Bacon2011-12-12-31/+44
|
* add ability to rebuild specific terms rather than all indices -- useful for ↵Seb Bacon2011-12-05-1/+82
| | | | migrations where new terms have been added (see rake:xapian:rebuild_index help)
* Always create a the Internal Admin Authority using the default locale. ↵Seb Bacon2011-12-02-0/+12
| | | | Fixes #303.
* Merge branch 'develop' into xapian-dcaboSeb Bacon2011-11-24-47/+48
|\ | | | | | | | | Conflicts: spec/models/xapian_spec.rb
| * Merge remote-tracking branch 'jpmckinney/pre1.9' into developSeb Bacon2011-11-24-18/+19
| |\ | | | | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb
| | * sort hash keys consistently in Ruby 1.8 and 1.9James McKinney2011-10-17-12/+12
| | |
| | * add safe_mock_model to safely handle #to_ary calls in 1.9James McKinney2011-10-17-6/+6
| | |
| | * add encoding magic comments and fix pathsJames McKinney2011-10-16-0/+1
| | |
| * | allow specs to run independentlyJames McKinney2011-10-16-29/+29
| |/
* | Merge branch 'develop' into xapian-dcaboseb2011-11-24-84/+321
|\| | | | | | | | | Conflicts: spec/models/xapian_spec.rb
| * Merge pull request #268 from jpmckinney/fix_fixtures_orderSeb Bacon2011-10-12-11/+11
| |\ | | | | | | Fix fixtures order
| | * fix fixtures order to avoid postgresql foreign key errorsJames McKinney2011-10-11-11/+11
| | |
| * | test folded sections and fix fixture orderingJames McKinney2011-10-11-4/+16
| |/
| * Improve signature folding regexp. Fixes issue #253.Seb Bacon2011-10-11-0/+9
| |
| * Ensure we only return true from alert-tracks process when we've actually ↵Seb Bacon2011-10-03-0/+6
| | | | | | | | done something. Fixes #247.
| * Check against default locale more robustly when importing public bodies. ↵David Cabo2011-09-24-1/+4
| | | | | | | | Fixes #193
| * Add test for issues #191 and #192, and fix existing onesDavid Cabo2011-09-24-18/+28
| |
| * Add support for add/replace tags when importing public bodies from CSV. ↵David Cabo2011-09-19-24/+46
| | | | | | | | Fixes #60
| * Add support for tags to CSV import, via field "tag_string" (issue #60)David Cabo2011-09-13-6/+26
| |
| * Make tag optional when importing public bodies through CSV (issue #60)David Cabo2011-09-13-0/+22
| |
| * Improve detection of autoresponse emails, so we can discourage users from ↵Seb Bacon2011-09-09-7/+53
| | | | | | | | replying to them. Fixes #137 (partially)
| * Remove stray (debugging?) puts statementRobin Houston2011-09-08-1/+0
| |
| * Merge branch 'wdtk' into developRobin Houston2011-09-08-1/+55
| |\ | | | | | | | | | | | | | | | Conflicts: config/general.yml-example spec/models/track_mailer_spec.rb
| | * Fix User.should_be_emailed?Robin Houston2011-09-08-0/+12
| | | | | | | | | | | | | | | The User.should_be_emailed? method needs to be public. It should also be tested.
| | * Fix “email bounced” recordingRobin Houston2011-09-07-1/+43
| | | | | | | | | | | | | | | Add tests for the User.record_bounce_for_email method and (not coincidentally) make it actually work.
| * | Merge branch 'develop' of github.com:sebbacon/alaveteli into developDavid Cabo2011-09-03-1/+12
| |\ \
| | * | Store user's locale against profile, so we can send them localised track ↵Seb Bacon2011-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 Bacon2011-09-01-0/+10
| | | |
| * | | Due to ca6fd3700c7c439d6ea969afcba2d2656d5b123f, theme_display_status for ↵David Cabo2011-09-01-10/+10
| |/ / | | | | | | | | | custom states needs to be a class method
| * / Extend CSV import to support additional fields (short name, home page...)David Cabo2011-08-23-20/+29
| |/
| * Merge branch 'master' of github.com:sebbacon/alaveteliDavid Cabo2011-08-16-0/+7
| |\
| | * Internationalise the salution, making sure it's OK to miss out the public ↵Seb Bacon2011-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 Cabo2011-08-16-0/+14
| |/
* | Clean up commentsDavid Cabo2011-08-18-27/+8
| |