aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeLines
* Only get the holidays once per request.Louise Crow2012-10-29-4/+5
|
* Handle the default blank string passed by Configuration moduleLouise Crow2012-10-25-1/+1
|
* Given that MAX_REQUESTS_PER_USER_PER_DAY is documented as an optional ↵Louise Crow2012-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 Crow2012-10-25-1/+6
|\ | | | | | | 'openaustralia_github/follow-all-requests-description' into develop
| * Fix description of a searchHenare Degan2012-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 developLouise Crow2012-10-24-4/+2
|\ \ | | | | | | | | | | | | Conflicts: Gemfile.lock
| * | Convert example in comment to failing spec, update regex to make spec pass - ↵Louise Crow2012-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 Crow2012-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 Crow2012-10-24-0/+2
| | |
* | | Merge remote-tracking branch ↵Louise Crow2012-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 exportMatthew Landauer2012-10-24-0/+2
| | | |
| * | | When exporting the authorities as csv don't include the internal admin authorityMatthew Landauer2012-10-24-2/+2
| | | |
| * | | Extract methodMatthew Landauer2012-10-24-0/+35
| | | |
* | | | Merge remote-tracking branch 'openaustralia_github/disclosure_log' into developLouise Crow2012-10-24-1/+1
|\ \ \ \
| * | | | Allow disclosure_log to be imported in csvMatthew Landauer2012-10-22-1/+1
| | |_|/ | |/| |
* | | | Add an option to calls to calculate_status and display_status to specify ↵Louise Crow2012-10-23-7/+6
| |/ / |/| | | | | | | | that the method can return a value cached on the object by a previous call.
* | | Remove debug line.Louise Crow2012-10-23-1/+0
| | |
* | | Fix typo.Louise Crow2012-10-23-2/+3
| | |
* | | Add a clause to exclude from the original set of info requests to be ↵Louise Crow2012-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_statusLouise Crow2012-10-23-5/+6
| | |
* | | Line length reformatting.Louise Crow2012-10-23-1/+3
| | |
* | | Reformat line for length.Louise Crow2012-10-23-1/+8
| | |
* | | Extract method for finding whether user is a superuserMatthew Landauer2012-10-18-3/+8
|/ /
* | In number of requests shown on home page only include requests with normal ↵Matthew Landauer2012-10-17-0/+2
| | | | | | | | prominence
* | Don't include admin authority in count on home pageMatthew Landauer2012-10-17-0/+6
| |
* | Merge remote-tracking branch 'openaustralia_github/postfix_log_support' into ↵Louise Crow2012-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 Landauer2012-10-12-5/+1
| | | | | | | | This reverts commit 9ae51d5ff6a9f56fd1bd4ba4bdd84bfd43ac6d95.
| * Also allow arbitrary subdomain on email addresses picked up in the logsMatthew Landauer2012-10-11-1/+5
| |
| * Extract temporary variablesMatthew Landauer2012-10-11-1/+3
| |
| * Fix small bug where email domain wasn't being quoted in the regular expressionMatthew Landauer2012-10-11-1/+1
| |
| * Ignore emails in logs with incorrect prefixesMatthew Landauer2012-10-11-1/+3
| |
| * Update comments that used to refer to just eximMatthew Landauer2012-10-11-5/+5
| |
| * Rename script/load-exim-logs to script/load-mail-server-logsMatthew Landauer2012-10-11-1/+1
| |
| * Rename models and tables exim -> mail_serverMatthew Landauer2012-10-11-41/+39
| |
| * Rerun annotate -mMatthew Landauer2012-10-11-1/+1
| |
| * Updated wording of errorMatthew Landauer2012-10-11-1/+1
| |
| * request_sent? now handles postfix and eximMatthew Landauer2012-10-11-1/+12
| |
| * Add a commentMatthew Landauer2012-10-11-0/+4
| |
| * Method for checking whether a request has been sent that checks the postfix logMatthew Landauer2012-10-11-0/+6
| |
| * Rubyify loopsMatthew Landauer2012-10-11-6/+4
| |
| * Extract methodMatthew Landauer2012-10-11-15/+21
| |
| * New configuration MTA_LOG_TYPE to set whether we are using exim or postfix ↵Matthew Landauer2012-10-11-9/+1
| | | | | | | | to deliver and receive our mail
| * Add comment about what happens when you use rotated log filesMatthew Landauer2012-10-11-0/+2
| |
| * Do a very naive simple way of automatically detecting whether this is an ↵Matthew Landauer2012-10-10-1/+9
| | | | | | | | exim or postfix log file
| * Don't get confused if there is no postfix queue idMatthew Landauer2012-10-10-1/+3
| |
| * Now can load postfix log files in the main methodMatthew Landauer2012-10-10-2/+9
| |
| * Rename methodMatthew Landauer2012-10-10-3/+3
| |
| * Add method for loading postfix log dataMatthew Landauer2012-10-10-0/+21
| |
| * Extract methodMatthew Landauer2012-10-10-2/+6
| |
| * Extract methodMatthew Landauer2012-10-10-4/+6
| |