aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
Commit message (Collapse)AuthorAgeLines
* Changed rule.francis2009-09-09-2/+2
|
* Some more URL name/title tests.francis2009-09-07-2/+34
|
* Don't allow numeric only URL names.francis2009-09-07-1/+17
| | | | Test the URL name code a bit.
* Some (as yet unused) profile photo code done on a whim on the train while itfrancis2009-08-05-0/+72
| | | | was my birthday.
* Clear deliveries before running test to make sure test is self-containedlouise2009-07-09-0/+1
|
* Ignore an error in expanding an attached zipfile when indexing textlouise2009-07-09-0/+13
|
* Auto-generated header on tracks.francis2009-06-27-0/+16
|
* Change name of historic URL finding function.francis2009-06-16-3/+22
| | | | Make it remove duplicates - so if finds same short name multiple times in history of one body, it returns that body.
* Fix bug with bouncing messages.francis2009-06-15-0/+7
|
* Whoops, didn't work with name part in from address.francis2009-06-15-1/+1
|
* Fancier options for stopping new responses to requests.francis2009-06-15-2/+79
|
* Don't send to DoNotReply addresses.francis2009-05-19-0/+4
|
* Provide more explanation to users when someone else updates theirtony2009-05-14-3/+8
| | | | request status.
* Link redactions of email address and mobile phone numbers to the helptony2009-05-09-0/+4
| | | | pages about this.
* Spec tweak to work with debugging infolouise2009-05-05-1/+2
|
* Text change to encourage people to update the status of old requestslouise2009-04-27-1/+1
|
* Factor out common bit of tests into a function.francis2009-04-27-28/+14
|
* Don't allow reply to Auto_Reply emailsfrancis2009-04-27-0/+50
|
* Add is_incoming_message?/is_outgoing_message?/is_comment? so we can justtony2009-04-23-0/+25
| | | | ask "event.is_incoming_message?" instead of "!event.incoming_message.nil?"
* Various test fixes.francis2009-04-22-34/+23
|
* When URL of request changes, reindex its events.francis2009-04-22-0/+32
|
* Test search for when URL name of user changes.francis2009-04-22-0/+42
| | | | Remove duplicate code that dealt with that already.
* When user's URL changes, update Xapian index of requests made by them.francis2009-04-21-1/+41
|
* Update Xapian properly when body URL changesfrancis2009-04-21-2/+42
|
* Fix bug with not escaping name when used in regexp.francis2009-04-21-0/+19
|
* Added method for sending email to requester when someone has updated an old ↵louise2009-04-14-4/+25
| | | | unclassified request
* Allowing xapian reindexing to be skipped if a no_xapian_reindex flag is set ↵louise2009-04-14-15/+57
| | | | on the model
* it's -> itstony2009-04-13-4/+4
|
* Adding a flag to allow user model to be saved without reindexing associated ↵louise2009-04-09-8/+59
| | | | models
* Adding specs for track alert emails. All users get updated, which I think ↵louise2009-04-09-1/+94
| | | | causes extra xapian updating
* Reminders sent to users to update the status of their request now use ↵louise2009-04-08-2/+2
| | | | InfoRequest.find_old_unclassified
* Make old_unclassfied function a bit more flexible for reuse elsewhere e.g. ↵louise2009-04-08-16/+26
| | | | in mailing reminders to requesters
* Adding specs for current behaviour of RequestMailer when sending out ↵louise2009-04-08-1/+79
| | | | reminders to requesters to classify a response to their request
* Moving logic for determining old and unclassified requests to the model in ↵louise2009-04-08-0/+64
| | | | preparation for allowing anyone to edit them
* TMail rebuilds address when constructing emails. Move our morefrancis2009-04-08-3/+31
| | | | | | 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
* Tests for use of different addresses in replies.francis2009-04-08-16/+51
| | | | | Fix bug in quoting of those replies. Make it remove @ signs from name part of them.
* Start to add test for the mail reply address functions.francis2009-04-07-1/+31
|
* Allow request owners or admins to update the status of a request at any time ↵louise2009-04-07-6/+6
| | | | from the main request page
* Remove real_owning_user method - not requiredlouise2009-04-06-28/+1
|
* Added methods to InfoRequest for figuring out if a user is the real owner of ↵louise2009-04-06-2/+53
| | | | 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/+21
| | | | 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-0/+29
| | | | RequestController
* Add method to info request for getting last event that needs a description - ↵louise2009-04-03-80/+103
| | | | will replace calculation in RequestController
* Need history loaded in fixture in order to find by it.francis2009-03-30-1/+1
|
* Move Xapian tests into one file so they don't slow down normal modeltony2009-03-22-21/+40
| | | | tests. Add test for searching users.
* Add admin + banned tests to Usertony2009-03-22-0/+18
|
* Test for specific errors in Usertony2009-03-22-3/+3
|
* Add some new TrackThing teststony2009-03-22-1/+21
|
* split into distinct named teststony2009-03-22-10/+11
|
* rspec provides a useful errors_on testtony2009-03-22-4/+5
|