Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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 | -37/+37 |
| | ||||
* | Method for checking whether a request has been sent that checks the postfix log | Matthew Landauer | 2012-10-11 | -0/+14 |
| | ||||
* | New configuration MTA_LOG_TYPE to set whether we are using exim or postfix ↵ | Matthew Landauer | 2012-10-11 | -1/+0 |
| | | | | to deliver and receive our mail | |||
* | Do a very naive simple way of automatically detecting whether this is an ↵ | Matthew Landauer | 2012-10-10 | -0/+1 |
| | | | | exim or postfix log file | |||
* | Don't get confused if there is no postfix queue id | Matthew Landauer | 2012-10-10 | -0/+6 |
| | ||||
* | Add method for loading postfix log data | Matthew Landauer | 2012-10-10 | -0/+31 |
| | ||||
* | Extract postfix queue ids from logs | Matthew Landauer | 2012-10-10 | -0/+22 |
| | ||||
* | Simple minded test for reading gzipped log files | Matthew Landauer | 2012-10-10 | -0/+6 |
| | ||||
* | Simplify tests just a little | Matthew Landauer | 2012-10-10 | -16/+12 |
| | ||||
* | Test for behaviour when actually reloading the same log file | Matthew Landauer | 2012-10-10 | -0/+19 |
| | ||||
* | Added tests for reloading same log file | Matthew Landauer | 2012-10-10 | -0/+16 |
| | ||||
* | Add a second log line to the test | Matthew Landauer | 2012-10-10 | -4/+11 |
| | ||||
* | Added test for EximLog.load_file | Matthew Landauer | 2012-10-10 | -0/+20 |
| | ||||
* | Fix failing test added in ad141d7 | Henare Degan | 2012-10-04 | -1/+1 |
| | ||||
* | Refactor tests | Henare Degan | 2012-10-04 | -18/+16 |
| | ||||
* | Add failing test for when ADMIN_BASE_URL is set | Henare Degan | 2012-10-04 | -0/+17 |
| | ||||
* | Requires admin attention emails should include a full URL to the admin page ↵ | Henare Degan | 2012-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 Crow | 2012-10-01 | -6/+5 |
|\ | | | | | | | | | | | | | into develop Conflicts: config/general.yml-example | |||
| * | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -6/+5 |
| | | ||||
* | | Extract method | Matthew Landauer | 2012-09-27 | -1/+1 |
| | | ||||
* | | Add option to override all public body request emails | Matthew Landauer | 2012-09-27 | -0/+8 |
| | | ||||
* | | Remove debug line. | Louise Crow | 2012-09-26 | -1/+0 |
| | | ||||
* | | Make template finding for themes work with multipart mails. Fixes #628. | Louise Crow | 2012-09-25 | -2/+155 |
| | | ||||
* | | Test for the presence of the explanatory text as well when checking the ↵ | Louise Crow | 2012-09-25 | -1/+4 |
|/ | | | | response to an email to a fully closed request. | |||
* | Rename method | Matthew Landauer | 2012-09-24 | -4/+4 |
| | ||||
* | Handle times passed to Holiday.due_date_from_calendar_days | Matthew Landauer | 2012-09-24 | -0/+4 |
| | ||||
* | Add due date calculation based on calendar days rather than working days | Matthew Landauer | 2012-09-24 | -30/+63 |
| | ||||
* | Allow InfoRequest.find_old_unclassified to accept an offset param so it can ↵ | Louise Crow | 2012-09-13 | -0/+8 |
| | | | | be used in conjunction with pagination. | |||
* | Memoize the notes_without_html calculated value for the life of the model ↵ | Louise Crow | 2012-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 Crow | 2012-09-11 | -9/+24 |
| | | | | reserved words. | |||
* | Add some more efficient methods for getting old unclassified request counts, ↵ | Louise Crow | 2012-09-11 | -11/+40 |
| | | | | and random sets of small numbers of old unclassified requests. | |||
* | Quote name correctly in query. Fixes #598. | Louise Crow | 2012-09-04 | -0/+4 |
| | ||||
* | Update references to point to the mySociety repo. | Louise Crow | 2012-08-29 | -32/+32 |
| | ||||
* | Merge branch 'release/0.6.3' into develop | Louise Crow | 2012-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 Crow | 2012-08-14 | -1/+1 |
| | | | | | | | | Fix spec to accommodate validation of text presence. | |||
| * | Validate presence of text to replace in censor rules. | Louise Crow | 2012-08-14 | -0/+6 |
| | | ||||
| * | Add basic validation for regexp censor rules that a valid regexp can be ↵ | Louise Crow | 2012-08-14 | -1/+35 |
| | | | | | | | | created with the text of the rule. | |||
| * | Make global validation work correctly for regex censor rules. | Louise Crow | 2012-08-14 | -2/+9 |
| | | ||||
| * | Apply global and public body censor rules to binary files. | Louise Crow | 2012-08-14 | -23/+60 |
| | | ||||
| * | Add case of a regex censor rule to test of binary masking. | Louise Crow | 2012-08-14 | -13/+20 |
| | | ||||
| * | Handle regexp rules when running censor rules on binary files. | Louise Crow | 2012-08-14 | -6/+18 |
| | | ||||
| * | Add association between public bodies and censor rules, have info_request ↵ | Louise Crow | 2012-08-14 | -0/+8 |
| | | | | | | | | apply rules from its public body. | |||
| * | Add concept of global censor rules as orthogonal to regex censor rules. ↵ | Louise Crow | 2012-08-14 | -144/+235 |
| | | | | | | | | Apply global rules to every request, not regex rules. | |||
* | | Fix another test | Robin Houston | 2012-08-20 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Is there actually any point in tests of this sort? It is not testing that anything works as intended, only that a particular SQL string is passed to the database -- and surely the only way that string could have been discovered for test purposes was essentially to copy it from the code under test. It seems to me that the only real function of a test of this sort is to make it more difficult to modify the code under test. | |||
* | | Fix tests | Robin Houston | 2012-08-20 | -3/+3 |
| | | | | | | | | | | | | | | | | | | Also make the InfoRequest#is_old_unclassified? method a little more conservative, by returning false only is the is_external? method returns true. This makes it subtly inconsistent with InfoRequest.find_old_unclassified, but it is better I think to be subtly inconsistent than to risk breaking things that used to work. | |||
* | | Merge branch 'wdtk' into develop | Louise Crow | 2012-08-16 | -98/+127 |
|\ \ | |/ |/| | | | | | | | | | Conflicts: app/controllers/admin_request_controller.rb config/httpd.conf spec/models/info_request_spec.rb | |||
| * | Add method all_can_view? which can be used to determine whether it is ok to ↵ | Louise Crow | 2012-08-16 | -99/+128 |
| | | | | | | | | cache the associated objects for an info request in the file cache which will be served up without authentication. | |||
* | | Misc fixes to get tests to pass - notably a MonkeyPatch to work around ↵ | Seb Bacon | 2012-07-13 | -0/+1 |
| | | | | | | | | problem testing template results | |||
* | | Support regular expressions in CensorRules; also support 'global' ↵ | Seb Bacon | 2012-07-13 | -2/+61 |
|/ | | | | CensorRules that aren't attached to a User or Request or Public Body (but don't expose this in the admin UI). Fixes #33 |