aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeLines
* Add charity registration number to database & edit form for public bodytony2009-04-13-36/+37
|
* Adding a flag to allow user model to be saved without reindexing associated ↵louise2009-04-09-3/+5
| | | | models
* Reminders sent to users to update the status of their request now use ↵louise2009-04-08-2/+5
| | | | InfoRequest.find_old_unclassified
* 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-8/+8
| | | | | | 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 some uses of gsub!, which might be clobbering other versions of stringsfrancis2009-04-08-9/+8
| | | | which are really members of some other class
* Tests for use of different addresses in replies.francis2009-04-08-12/+10
| | | | | Fix bug in quoting of those replies. Make it remove @ signs from name part of them.
* Remove one of the monkey patchesfrancis2009-04-07-3/+7
|
* Note about where these functions are.francis2009-04-07-1/+3
|
* Allow request owners or admins to update the status of a request at any time ↵louise2009-04-07-7/+4
| | | | from the main request page
* 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
* Add a convenience method User.requires_admin_power? for determining whether ↵louise2009-04-06-1/+6
| | | | a user has the power to edit "requires_admin" requests
* 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
* Showing bold for changed rows wasn't quite right.francis2009-04-02-1/+9
|
* Don't render all headers on emailfrancis2009-04-02-12/+31
|
* Rollback 14514 and 14515 - model can't call methods in general_controllertony2009-03-22-10/+1
|
* Add 'xapian_requests' methods to PublicBodytony2009-03-22-1/+10
|
* Add PublicBody.find_by_urlname method that falls back to historic namestony2009-03-22-1/+19
|
* Index the notes field.francis2009-03-18-2/+2
|
* Don't range search index bodies and users, doesn't make sense really.francis2009-03-18-4/+2
|
* Banned users can't make follow ups any more.francis2009-03-18-1/+4
|
* Whoops, didn't remove slashes from subjects.francis2009-03-17-3/+10
|
* Fix bug with slashes in attachment filenamesfrancis2009-03-17-4/+6
|
* Make it redirect to email subscription # reference in user page when youfrancis2009-03-17-2/+2
| | | | click unsubscribe link in email.
* Do Date-Date arithmetic in days_overduetony2009-03-17-2/+2
|
* Convert date/times into dates.francis2009-03-16-29/+31
|
* Move due date counting code into Holiday classtony2009-03-10-42/+41
|
* 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-34/+53
|
* Move holidays to the databasetony2009-03-09-0/+2
|
* Make holiday list a hash instead of a list, so we can report what thetony2009-03-09-13/+49
| | | | skipped days were
* Note about exim log checking stuff.francis2009-03-09-2/+5
|
* Option to ban users.francis2009-03-09-34/+51
|
* Blank out emails in outgoing messages. Hope I've got every case.francis2009-03-07-12/+27
|
* Remove blackhole for tracksfrancis2009-03-06-2/+4
|
* 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-47/+48
| | | | interface only; public display can come later.)
* Allow deletion of responses with followups.francis2009-02-28-1/+5
|
* Tweak wording.francis2009-02-28-2/+2
|
* Change it to ask "what best describes the status of this request now"francis2009-02-27-3/+15
| | | | | | 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.
* Put word in so can track down these cron emails.francis2009-02-27-2/+2
|
* Fix bug where it was only checking for lower case letters in the title.francis2009-02-27-2/+2
|
* Make links clickable in last edit comment.francis2009-02-12-1/+9
|
* Set a blackhole for envelope from for various messages where we don't carefrancis2009-02-09-8/+15
| | | | about delivery failures (e.g. email alerts)