Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | html content of messages and comments are html safe | Matthew Landauer | 2013-01-03 | -3/+3 |
| | ||||
* | Escaping fixes | Matthew Landauer | 2013-01-03 | -1/+1 |
| | ||||
* | Merge remote-tracking branch 'origin/feature/isolate-mail-handling' into develop | Louise Crow | 2012-11-20 | -46/+21 |
|\ | ||||
| * | Wrap address parsing in a address_from_string method in the mail handler. | Louise Crow | 2012-11-15 | -1/+1 |
| | | ||||
| * | Move address_from_name_and_email to mail handler. | Louise Crow | 2012-11-15 | -5/+6 |
| | | ||||
| * | Update comment to refer to mail_handler/[t]mail_extensions.rb | Louise Crow | 2012-11-15 | -3/+3 |
| | | ||||
| * | Move _get_file_part_name to mail handler. | Louise Crow | 2012-11-15 | -13/+3 |
| | | ||||
| * | Move handling of TNEF mail attachments to mail handler | Louise Crow | 2012-11-15 | -1/+1 |
| | | ||||
| * | Use mail handler for making mail objects of attached emails. Add a flag to ↵ | Louise Crow | 2012-11-15 | -2/+2 |
| | | | | | | | | use base64 decoding or not. Note that currently the Mail-based backend doesn't use it - I think that eventually we'll want to have the mail handler wrap the mail object with it's own interface. | |||
| * | Use the mail handler to get a mail object. | Louise Crow | 2012-11-15 | -4/+3 |
| | | ||||
| * | Move generation of mail object from incoming message to mail handler. | Louise Crow | 2012-11-15 | -9/+2 |
| | | ||||
| * | Move TMail monkey patch to MailHandler Tmail backend. | Louise Crow | 2012-11-15 | -8/+0 |
| | | ||||
* | | Handle a request for json on a an external request - return the user_name ↵ | Louise Crow | 2012-11-19 | -1/+5 |
|/ | | | | attribute instead of a full user model. Fixes #715. | |||
* | Move access to mail message id to incoming message. | Louise Crow | 2012-11-15 | -2/+5 |
| | ||||
* | Rubyise loop. | Louise Crow | 2012-11-15 | -1/+1 |
| | ||||
* | Refactor access to the mail object - only from incoming_message. | Louise Crow | 2012-11-15 | -6/+7 |
| | ||||
* | Re-route model code that accesses the mail object from field via wrapper methods | Louise Crow | 2012-11-15 | -7/+15 |
| | ||||
* | Add wrapper method so that admin_request_controller doesn't access mail ↵ | Louise Crow | 2012-11-15 | -0/+4 |
| | | | | object directly. | |||
* | Don't read the saved mail in binary mode. | Louise Crow | 2012-11-08 | -2/+2 |
| | | | | | | | | | | The first reason for doing this is that atomic_write doesn't write in binary mode, and I think we should be symmetrical in reading and writing. The second reason is that I don't think a received email is really binary data in its raw form. I think it will be ascii with non ascii parts converted to ascii using content-transfer-encodings (http://en.wikipedia.org/wiki/MIME). This matters in Ruby 1.9 because we have a default internal and external encoding (http://blog.grayproductions.net/articles/ruby_19s_three_default_encodings). UTF-8 seems like a good initial default to set. If we retrieve this data from a file as binary data, we have a problem treating it as text, as we can't convert from binary to text in Ruby 1.9. Given that this is ascii data, I think we can safely treat it as UTF-8 (which should be a superset of ascii), until we convert it into a mail object, which should interpret the mime encodings correctly. | |||
* | use String#replace to set a string in-place | James McKinney | 2012-11-01 | -1/+1 |
| | ||||
* | remove s switch on regular expressions, which turns on SJIS encoding | James McKinney | 2012-11-01 | -11/+12 |
| | | | | | | Conflicts: app/models/incoming_message.rb | |||
* | Only get the holidays once per request. | Louise Crow | 2012-10-29 | -4/+5 |
| | ||||
* | Handle the default blank string passed by Configuration module | Louise Crow | 2012-10-25 | -1/+1 |
| | ||||
* | Given that MAX_REQUESTS_PER_USER_PER_DAY is documented as an optional ↵ | Louise Crow | 2012-10-25 | -1/+1 |
| | | | | 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 | -1/+6 |
|\ | | | | | | | 'openaustralia_github/follow-all-requests-description' into develop | |||
| * | Fix description of a search | Henare Degan | 2012-10-18 | -1/+6 |
| | | | | | | | | Used to say "comments or requests which are " when you did: View requests > All requests > Follow | |||
* | | Merge branch 'feature/ruby-19-compat-immediate' into develop | Louise Crow | 2012-10-24 | -4/+2 |
|\ \ | | | | | | | | | | | | | Conflicts: Gemfile.lock | |||
| * | | Convert example in comment to failing spec, update regex to make spec pass - ↵ | Louise Crow | 2012-10-18 | -2/+1 |
| | | | | | | | | | | | | 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 | -2/+1 |
| | | | | | | | | | | | | pass (we now use the HTML parts of emails by preference, so there are some leading spaces.) | |||
* | | | Restore disclosure log fields. | Louise Crow | 2012-10-24 | -0/+2 |
| | | | ||||
* | | | Merge remote-tracking branch ↵ | Louise Crow | 2012-10-24 | -0/+37 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 'openaustralia_github/csv_export_internal_admin_authority_bug' into develop Conflicts: app/controllers/public_body_controller.rb | |||
| * | | | added notes to csv export | Matthew Landauer | 2012-10-24 | -0/+2 |
| | | | | ||||
| * | | | When exporting the authorities as csv don't include the internal admin authority | Matthew Landauer | 2012-10-24 | -2/+2 |
| | | | | ||||
| * | | | Extract method | Matthew Landauer | 2012-10-24 | -0/+35 |
| | | | | ||||
* | | | | Merge remote-tracking branch 'openaustralia_github/disclosure_log' into develop | Louise Crow | 2012-10-24 | -1/+1 |
|\ \ \ \ | ||||
| * | | | | Allow disclosure_log to be imported in csv | Matthew Landauer | 2012-10-22 | -1/+1 |
| | |_|/ | |/| | | ||||
* | | | | Add an option to calls to calculate_status and display_status to specify ↵ | Louise Crow | 2012-10-23 | -7/+6 |
| |/ / |/| | | | | | | | | that the method can return a value cached on the object by a previous call. | |||
* | | | Remove debug line. | Louise Crow | 2012-10-23 | -1/+0 |
| | | | ||||
* | | | Fix typo. | Louise Crow | 2012-10-23 | -2/+3 |
| | | | ||||
* | | | Add a clause to exclude from the original set of info requests to be ↵ | Louise Crow | 2012-10-23 | -1/+14 |
| | | | | | | | | | | | | processed any for which the last event of a kind which could form the initial request has already been alerted on. | |||
* | | | Don't keep re-calling info_request.calculate_status | Louise Crow | 2012-10-23 | -5/+6 |
| | | | ||||
* | | | Line length reformatting. | Louise Crow | 2012-10-23 | -1/+3 |
| | | | ||||
* | | | Reformat line for length. | Louise Crow | 2012-10-23 | -1/+8 |
| | | | ||||
* | | | Extract method for finding whether user is a superuser | Matthew Landauer | 2012-10-18 | -3/+8 |
|/ / | ||||
* | | In number of requests shown on home page only include requests with normal ↵ | Matthew Landauer | 2012-10-17 | -0/+2 |
| | | | | | | | | prominence | |||
* | | Don't include admin authority in count on home page | Matthew Landauer | 2012-10-17 | -0/+6 |
| | | ||||
* | | Merge remote-tracking branch 'openaustralia_github/postfix_log_support' into ↵ | Louise Crow | 2012-10-12 | -139/+210 |
|\ \ | |/ |/| | | | | | | | | | | | 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/+1 |
| | | | | | | | | This reverts commit 9ae51d5ff6a9f56fd1bd4ba4bdd84bfd43ac6d95. | |||
| * | Also allow arbitrary subdomain on email addresses picked up in the logs | Matthew Landauer | 2012-10-11 | -1/+5 |
| | | ||||
| * | Extract temporary variables | Matthew Landauer | 2012-10-11 | -1/+3 |
| | |