aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
Commit message (Collapse)AuthorAgeLines
* Allow follow ups to defunct/not_apply authorities which still have a valid ↵francis2009-09-08-3/+3
| | | | email.
* Don't allow numeric only URL names.francis2009-09-07-2/+2
| | | | Test the URL name code a bit.
* Look up request just by id, not using hash, on holding pen pages.francis2009-09-07-2/+20
|
* Reindex in Xapian when censor rules change.francis2009-08-21-6/+9
|
* Fix subtle bug, which caused error with old data and new ↵francis2009-08-19-11/+1
| | | | not-sending-to-auto-annotations code
* Don't allow duplicate followup messages to the same request.francis2009-08-18-1/+12
| | | | Prevent requests, followups and annotations which have all capitals or all lowercase letters.
* Requester only prominence.francis2009-07-03-2/+13
|
* Use caching that allows pre-authentication.francis2009-06-30-5/+5
| | | | | Add test code for hidden requests. Make super users able to view hidden requests.
* Obvious bug.francis2009-06-27-3/+3
|
* Annotate models update.francis2009-06-26-14/+15
|
* "hidden" option to completely hide requests (from everyone except ↵francis2009-06-23-1/+9
| | | | administrator screens).
* Fix bug where follow up to defunct authority would cause errors.francis2009-06-16-1/+4
|
* Maybe this will make attachmentw ork.francis2009-06-15-2/+2
|
* Whoops, didn't work with name part in from address.francis2009-06-15-2/+2
|
* Fancier options for stopping new responses to requests.francis2009-06-15-5/+62
|
* Reindex if prominence changed toofrancis2009-04-23-4/+4
|
* Reindex only after update, not after initial creationtony2009-04-23-2/+2
|
* When URL of request changes, reindex its events.francis2009-04-22-1/+13
|
* Add charity registration number to database & edit form for public bodytony2009-04-13-2/+2
|
* Make old_unclassfied function a bit more flexible for reuse elsewhere e.g. ↵louise2009-04-08-16/+30
| | | | in mailing reminders to requesters
* Moving logic for determining old and unclassified requests to the model in ↵louise2009-04-08-1/+21
| | | | preparation for allowing anyone to edit them
* TMail rebuilds address when constructing emails. Move our morefrancis2009-04-08-3/+3
| | | | | | aggressive quoting rule into a TMail monkey patch proper so it is always called when constructing emails, and remove the hacky function (Address.encode_quoted_string) it used to call in special places
* Remove real_owning_user method - not requiredlouise2009-04-06-6/+2
|
* Added methods to InfoRequest for figuring out if a user is the real owner of ↵louise2009-04-06-2/+12
| | | | the request (not just an admin owner) and if the request needs admin
* Adding is_owning_user? method to info request to replace logic in ↵louise2009-04-06-1/+6
| | | | RequestController
* Add method to info request for getting last event that needs a description - ↵louise2009-04-03-1/+6
| | | | will replace calculation in RequestController
* Do Date-Date arithmetic in days_overduetony2009-03-17-2/+2
|
* Move due date counting code into Holiday classtony2009-03-10-39/+2
|
* Change the holiday checking code to use new model class, rather thantony2009-03-09-57/+5
| | | | hardcoded table of data.
* Update models and schema for new tabletony2009-03-09-2/+2
|
* Make holiday list a hash instead of a list, so we can report what thetony2009-03-09-13/+49
| | | | skipped days were
* Option to ban users.francis2009-03-09-2/+2
|
* Blank out emails in outgoing messages. Hope I've got every case.francis2009-03-07-2/+2
|
* Factor out due_date_for_request_date (partially - it should really livetony2009-03-06-15/+19
| | | | elsewhere), and add more tests for it
* Make holidays a Set rather than an Array for quicker lookuptony2009-03-06-24/+22
|
* no need to explicitly call self.method_nametony2009-03-06-3/+3
|
* No need to perform overdue check unless status is 'waiting_response' astony2009-03-05-23/+7
| | | | we currently ignore the result otherwise.
* Add publication scheme for public bodies. (New database column and admintony2009-03-04-2/+2
| | | | interface only; public display can come later.)
* Change it to ask "what best describes the status of this request now"francis2009-02-27-2/+11
| | | | | | rather than "what *is* the status..." Remove "none of the above" for now, see how that goes. Add new error_message state, for delivery failures etc.
* Fix bug where it was only checking for lower case letters in the title.francis2009-02-27-2/+2
|
* Check that we get exim log lines OK.francis2009-02-09-2/+2
| | | | Annotate models.
* Remove associated exim logsfrancis2009-02-03-1/+4
|
* Load exim log files into database.francis2009-01-27-1/+2
|
* Annotate models.francis2009-01-26-2/+2
|
* Option for withdrawn requests.francis2009-01-14-2/+5
|
* Destroy outgoing before incoming, as can refer to themfrancis2009-01-02-2/+2
|
* Make waiting_response get set as described state of initial sent event.francis2008-12-17-6/+8
| | | | Alter historical ones to that also.
* Strip attributes.francis2008-12-02-1/+4
|
* Move TMail monkeypatches out of incoming_message intofrancis2008-11-21-3/+3
|
* Fix linkfrancis2008-11-10-2/+2
|