Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge remote-tracking branch 'henare_github/simple-date-time-zone' into develop | Louise Crow | 2012-11-22 | -0/+12 |
|\ | ||||
| * | Fix regression by allowing Date objects too | Henare Degan | 2012-11-21 | -0/+4 |
| | | ||||
| * | Make simple_date respect the time zone | Henare Degan | 2012-11-18 | -0/+8 |
| | | ||||
* | | Use new function that copies existing xapian index in spec setup where a ↵ | Louise Crow | 2012-11-21 | -67/+67 |
| | | | | | | | | clean copy of the xapian index with fixtures loaded is required. | |||
* | | Add function to clone a clean copy of the xapian index with fixtures loaded ↵ | Louise Crow | 2012-11-21 | -18/+38 |
| | | | | | | | | into it. | |||
* | | Restore explanatory messages when asked to sign in for actions that don't ↵ | Louise Crow | 2012-11-20 | -14/+21 |
| | | | | | | | | require an existing user. Fixes #719. | |||
* | | Wrap address parsing in a address_from_string method in the mail handler. | Louise Crow | 2012-11-15 | -6/+41 |
| | | ||||
* | | Move address_from_name_and_email to mail handler. | Louise Crow | 2012-11-15 | -1/+1 |
| | | ||||
* | | Use mail handler in request mailer spec. | Louise Crow | 2012-11-15 | -1/+1 |
| | | ||||
* | | Use mail handler in handle-mail-replies.rb | Louise Crow | 2012-11-15 | -5/+5 |
| | | ||||
* | | Move TMail extensions to mail handler. | Louise Crow | 2012-11-15 | -45/+31 |
| | | ||||
* | | Don't load raw emails data in specs that don't use it. | Louise Crow | 2012-11-15 | -18/+0 |
| | | ||||
* | | Factor out method for getting a mail object from a fixture file. | Louise Crow | 2012-11-15 | -14/+11 |
| | | ||||
* | | Use mailhandler method in incoming message specs. | Louise Crow | 2012-11-15 | -10/+5 |
| | | ||||
* | | Move TMail monkey patch to MailHandler Tmail backend. | Louise Crow | 2012-11-15 | -0/+16 |
|/ | ||||
* | Merge branch 'release/0.6.8' into develop | Louise Crow | 2012-11-12 | -11/+11 |
|\ | | | | | | | | | Conflicts: lib/world_foi_websites.rb | |||
| * | Stub configuration in order to setup test cases. Previous direct setting of ↵ | Louise Crow | 2012-11-12 | -11/+11 |
| | | | | | | | | config values was not isolated to particular tests. | |||
* | | Make error message expectation slightly less specific - message format is ↵ | Louise Crow | 2012-11-08 | -2/+4 |
| | | | | | | | | slightly different under ruby 1.9. | |||
* | | Pass a hash of params to foi_fragment_cache_path in spec, as is passed in ↵ | Louise Crow | 2012-11-08 | -1/+8 |
|/ | | | | actual usage. | |||
* | if the response code doesn't match, the failure message is unhelpful | James McKinney | 2012-11-01 | -2/+7 |
| | ||||
* | use safe_mock_model | James McKinney | 2012-11-01 | -6/+6 |
| | ||||
* | Add some specs for admin_current_user | Louise Crow | 2012-10-30 | -0/+27 |
| | ||||
* | Pull out a bit of shared setup code. | Louise Crow | 2012-10-30 | -13/+11 |
| | ||||
* | Don't load raw emails before the frontpage specs - they don't rely on the ↵ | Louise Crow | 2012-10-29 | -1/+0 |
| | | | | raw email table being populated, and it's slow. | |||
* | Make spec a bit more generic in terms of what we're expecting. Really what ↵ | Louise Crow | 2012-10-29 | -12/+28 |
| | | | | we want is reverse date order on the events, and only successful responses or initial sending. | |||
* | Mock xapian call for specs that are really for orthogonal things like ↵ | Louise Crow | 2012-10-29 | -0/+16 |
| | | | | localization. | |||
* | Move search spec to search group. | Louise Crow | 2012-10-29 | -10/+7 |
| | ||||
* | Split up specs for frontpage and search. | Louise Crow | 2012-10-29 | -25/+27 |
| | ||||
* | Restore removed testing config param, remove spec for unset param - I think ↵ | Louise Crow | 2012-10-25 | -9/+0 |
| | | | | not really worth it. | |||
* | Given that MAX_REQUESTS_PER_USER_PER_DAY is documented as an optional ↵ | Louise Crow | 2012-10-25 | -49/+58 |
| | | | | variable, but that commonlib/rblib/config.rb does not allow nil defaults, replace nil value clause (which can never be reached) with blank value condition(blank now returned by default by lib/configuation.rb) | |||
* | Merge remote-tracking branch ↵ | Louise Crow | 2012-10-25 | -4/+5 |
|\ | | | | | | | 'openaustralia_github/follow-all-requests-description' into develop | |||
| * | Fix description of a search | Henare Degan | 2012-10-18 | -1/+2 |
| | | | | | | | | Used to say "comments or requests which are " when you did: View requests > All requests > Follow | |||
| * | Make test a bit more Rubyesque | Henare Degan | 2012-10-18 | -4/+4 |
| | | | | | | | | The purist would probably say separate these into 3 tests | |||
* | | Fix failing timezone specs. As we are now setting a value for timezone in ↵ | Louise Crow | 2012-10-25 | -8/+40 |
| | | | | | | | | | | | | config.timezone, this switches on ActiveRecord::time_zone_aware_attributes, so values are returned in the time zone specified (although still saved in whatever is specified in ActiveRecord.default_timezone in the db - in our case UTC). Previously with no timezone set, values would have been returned in UTC. So add some lines to look at the zone the data is saved in before the time_zone_aware_attributes kick in, and some lines to look at the values afterwards. Note that expected raw_saved time values are the same as the previous expected values for saved time (when there was no attribute time zone awareness), but that the time zone of values coming back on the model is set by config.time_zone and then overridden by Time.use_zone. | |||
* | | Fix spec - based on the spec description, what's being tested and the other ↵ | Louise Crow | 2012-10-25 | -12/+12 |
| | | | | | | | | specs, I assume that the activerecord default timezone is supposed to be set to :local as a precondition. Doing so makes the spec pass and make sense. | |||
* | | Merge branch 'feature/ruby-19-compat-immediate' into develop | Louise Crow | 2012-10-24 | -0/+408 |
|\ \ | | | | | | | | | | | | | Conflicts: Gemfile.lock | |||
| * | | Convert example in comment to failing spec, update regex to make spec pass - ↵ | Louise Crow | 2012-10-18 | -0/+327 |
| | | | | | | | | | | | | again the use of converted HTML parts in emails means extra leading spaces. | |||
| * | | Convert request cited in comment to failing spec, update regex to make it ↵ | Louise Crow | 2012-10-18 | -0/+81 |
| | | | | | | | | | | | | pass (we now use the HTML parts of emails by preference, so there are some leading spaces.) | |||
* | | | Merge remote-tracking branch 'openaustralia_github/disclosure_log' into develop | Louise Crow | 2012-10-24 | -0/+8 |
|\ \ \ | ||||
| * | | | Show disclosure log link if available | Matthew Landauer | 2012-10-22 | -0/+8 |
| | |/ | |/| | ||||
* | | | Add spec - currently failing due to typo. | Louise Crow | 2012-10-23 | -0/+42 |
| | | | ||||
* | | | Add extra checks from ↵ | Louise Crow | 2012-10-23 | -2/+4 |
| | | | | | | | | | | | | https://github.com/mysociety/alaveteli/commit/cdb1c9420169ed6eafdd4e57ca21e1809c95e5cb and some extra description. | |||
* | | | Adding new spec from ↵ | Louise Crow | 2012-10-23 | -2/+13 |
|/ / | | | | | | | https://github.com/mysociety/alaveteli/commit/cdb1c9420169ed6eafdd4e57ca21e1809c95e5cb | |||
* | | Merge remote-tracking branch 'openaustralia_github/postfix_log_support' into ↵ | Louise Crow | 2012-10-12 | -9/+175 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | develop Conflicts: Gemfile.lock app/models/exim_log.rb | |||
| * | | Revert "Also allow arbitrary subdomain on email addresses picked up in the logs" | Matthew Landauer | 2012-10-12 | -5/+0 |
| | | | | | | | | | | | | This reverts commit 9ae51d5ff6a9f56fd1bd4ba4bdd84bfd43ac6d95. | |||
| * | | Also allow arbitrary subdomain on email addresses picked up in the logs | Matthew Landauer | 2012-10-11 | -0/+5 |
| | | | ||||
| * | | Fix small bug where email domain wasn't being quoted in the regular expression | Matthew Landauer | 2012-10-11 | -0/+4 |
| | | | ||||
| * | | Ignore emails in logs with incorrect prefixes | Matthew Landauer | 2012-10-11 | -2/+7 |
| | | | ||||
| * | | Added tests for MailServerLog.email_addresses_on_line | Matthew Landauer | 2012-10-11 | -0/+20 |
| | | | ||||
| * | | Rename models and tables exim -> mail_server | Matthew Landauer | 2012-10-11 | -46/+46 |
| | | |