aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
Commit message (Collapse)AuthorAgeLines
* Merge remote-tracking branch 'openaustralia_github/postfix_log_support' into ↵Louise Crow2012-10-12-0/+166
|\ | | | | | | | | | | | | | | develop Conflicts: Gemfile.lock app/models/exim_log.rb
| * Revert "Also allow arbitrary subdomain on email addresses picked up in the logs"Matthew Landauer2012-10-12-5/+0
| | | | | | | | This reverts commit 9ae51d5ff6a9f56fd1bd4ba4bdd84bfd43ac6d95.
| * Also allow arbitrary subdomain on email addresses picked up in the logsMatthew Landauer2012-10-11-0/+5
| |
| * Fix small bug where email domain wasn't being quoted in the regular expressionMatthew Landauer2012-10-11-0/+4
| |
| * Ignore emails in logs with incorrect prefixesMatthew Landauer2012-10-11-2/+7
| |
| * Added tests for MailServerLog.email_addresses_on_lineMatthew Landauer2012-10-11-0/+20
| |
| * Rename models and tables exim -> mail_serverMatthew Landauer2012-10-11-37/+37
| |
| * Method for checking whether a request has been sent that checks the postfix logMatthew Landauer2012-10-11-0/+14
| |
| * New configuration MTA_LOG_TYPE to set whether we are using exim or postfix ↵Matthew Landauer2012-10-11-1/+0
| | | | | | | | to deliver and receive our mail
| * Do a very naive simple way of automatically detecting whether this is an ↵Matthew Landauer2012-10-10-0/+1
| | | | | | | | exim or postfix log file
| * Don't get confused if there is no postfix queue idMatthew Landauer2012-10-10-0/+6
| |
| * Add method for loading postfix log dataMatthew Landauer2012-10-10-0/+31
| |
| * Extract postfix queue ids from logsMatthew Landauer2012-10-10-0/+22
| |
| * Simple minded test for reading gzipped log filesMatthew Landauer2012-10-10-0/+6
| |
| * Simplify tests just a littleMatthew Landauer2012-10-10-16/+12
| |
| * Test for behaviour when actually reloading the same log fileMatthew Landauer2012-10-10-0/+19
| |
| * Added tests for reloading same log fileMatthew Landauer2012-10-10-0/+16
| |
| * Add a second log line to the testMatthew Landauer2012-10-10-4/+11
| |
| * Added test for EximLog.load_fileMatthew Landauer2012-10-10-0/+20
| |
* | In fact, the message in the example URL was not being folded properly ↵Louise Crow2012-10-11-0/+7
| | | | | | | | anymore. Add a failing spec using it as an example.
* | Convert example url from comment into passing spec.Louise Crow2012-10-11-0/+7
| |
* | Clean up spec a bit.Louise Crow2012-10-11-8/+1
| |
* | Add test for handling a multipart mail with a linebreak in the boundary.Louise Crow2012-10-11-0/+8
| |
* | Remove debug line.Louise Crow2012-10-11-1/+0
| |
* | Handle the case where an incoming message is badly encoded and has no ↵Louise Crow2012-10-09-0/+10
|/ | | | charset on the part we're using as a main part.
* Fix failing test added in ad141d7Henare Degan2012-10-04-1/+1
|
* Refactor testsHenare Degan2012-10-04-18/+16
|
* Add failing test for when ADMIN_BASE_URL is setHenare Degan2012-10-04-0/+17
|
* Requires admin attention emails should include a full URL to the admin page ↵Henare Degan2012-10-03-0/+15
| | | | of the request so you can click it, not just a relative path
* Merge remote-tracking branch 'openaustralia_github/configuration_refactor' ↵Louise Crow2012-10-01-6/+5
|\ | | | | | | | | | | | | into develop Conflicts: config/general.yml-example
| * Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-6/+5
| |
* | Extract methodMatthew Landauer2012-09-27-1/+1
| |
* | Add option to override all public body request emailsMatthew Landauer2012-09-27-0/+8
| |
* | Remove debug line.Louise Crow2012-09-26-1/+0
| |
* | Make template finding for themes work with multipart mails. Fixes #628.Louise Crow2012-09-25-2/+155
| |
* | Test for the presence of the explanatory text as well when checking the ↵Louise Crow2012-09-25-1/+4
|/ | | | response to an email to a fully closed request.
* Rename methodMatthew Landauer2012-09-24-4/+4
|
* Handle times passed to Holiday.due_date_from_calendar_daysMatthew Landauer2012-09-24-0/+4
|
* Add due date calculation based on calendar days rather than working daysMatthew Landauer2012-09-24-30/+63
|
* Allow InfoRequest.find_old_unclassified to accept an offset param so it can ↵Louise Crow2012-09-13-0/+8
| | | | be used in conjunction with pagination.
* Memoize the notes_without_html calculated value for the life of the model ↵Louise Crow2012-09-12-0/+14
| | | | instance - no need to keep applying the regex if called multiple times e.g. in a view.
* Ignore spacing differences when checking generated SQL, use caps for SQL ↵Louise Crow2012-09-11-9/+24
| | | | reserved words.
* Add some more efficient methods for getting old unclassified request counts, ↵Louise Crow2012-09-11-11/+40
| | | | and random sets of small numbers of old unclassified requests.
* Quote name correctly in query. Fixes #598.Louise Crow2012-09-04-0/+4
|
* Update references to point to the mySociety repo.Louise Crow2012-08-29-32/+32
|
* Merge branch 'release/0.6.3' into developLouise Crow2012-08-22-65/+266
|\ | | | | | | | | | | | | | | Conflicts: app/controllers/admin_public_body_controller.rb app/views/admin_public_body/import_csv.rhtml spec/controllers/admin_public_body_controller_spec.rb spec/models/info_request_spec.rb
| * Add warning about regex censor rules.Louise Crow2012-08-14-1/+1
| | | | | | | | Fix spec to accommodate validation of text presence.
| * Validate presence of text to replace in censor rules.Louise Crow2012-08-14-0/+6
| |
| * Add basic validation for regexp censor rules that a valid regexp can be ↵Louise Crow2012-08-14-1/+35
| | | | | | | | created with the text of the rule.
| * Make global validation work correctly for regex censor rules.Louise Crow2012-08-14-2/+9
| |