aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/user.rb
Commit message (Collapse)AuthorAgeLines
* Ensure model schema documentation is up to date.Seb Bacon2012-01-09-3/+4
|
* Merge branch 'wdtk' into developRobin Houston2011-09-08-3/+27
|\ | | | | | | | | | | Conflicts: config/general.yml-example spec/models/track_mailer_spec.rb
| * Fix User.should_be_emailed?Robin Houston2011-09-08-8/+10
| | | | | | | | | | The User.should_be_emailed? method needs to be public. It should also be tested.
| * Fix “email bounced” recordingRobin Houston2011-09-07-8/+8
| | | | | | | | | | Add tests for the User.record_bounce_for_email method and (not coincidentally) make it actually work.
| * Change the type of User.email_bounce_message to :text, because weRobin Houston2011-09-07-1/+1
| | | | | | | | are storing the entire bounce email in there now.
| * Record bouncesRobin Houston2011-09-07-0/+22
| | | | | | | | | | | | Add information to the users model recording whether email to a user has bounced hard (meaning we should not try to send further messages to that email address).
* | Store user's locale against profile, so we can send them localised track ↵Seb Bacon2011-09-03-0/+9
|/ | | | emails. Also internationalize more strings at the same time. Fixes #163.
* User's display name should indicate if they've been banned. Fixes #100.Seb Bacon2011-08-01-0/+3
|
* Changes required to get selishta (Kosovo) fork merges to pass tests. ↵Seb Bacon2011-07-06-1/+1
| | | | Includes new "REPLY_LATE_AFTER_DAYS" config option.
* I18n string for modelsFaton Selishta2011-06-30-8/+8
|
* Add explicit error messages for the validations that were using defaults.Louise Crow2011-02-24-1/+1
|
* Updating validations so that none expect automatic interpolation of the ↵Louise Crow2011-02-24-6/+6
| | | | attribute.
* Factor out some of the JSON generationFrancis Irving2010-10-20-0/+11
|
* Annotate models.Francis Irving2010-10-09-1/+1
|
* Update model annotations.Francis Irving2010-09-15-1/+1
|
* Do censoring of whole users if the rules are there.Francis Irving2010-08-04-0/+1
|
* Update model annotations.Francis Irving2010-07-27-1/+2
|
* Show ban text in public.Francis Irving2010-07-25-3/+1
|
* Show banned in public.Francis Irving2010-07-20-0/+7
|
* Search index about me text, and tests to check that worksFrancis Irving2010-07-18-1/+1
|
* Editable about me textFrancis Irving2010-07-18-0/+12
|
* Add specific draft attribute.Francis Irving2010-07-15-1/+1
|
* Update model annotations.Francis Irving2010-07-15-2/+1
|
* Get key dependency right. Test for draft pictures.Francis Irving2010-07-15-9/+2
|
* Remove mapping from photo to userFrancis Irving2010-07-14-1/+0
|
* Make changing photo workFrancis Irving2010-07-14-2/+8
|
* Merge branch 'master' into francis-profile-photoFrancis Irving2010-07-13-3/+7
|\ | | | | | | | | | | | | Conflicts: app/views/user/show.rhtml commonlib spec/controllers/user_controller_spec.rb
| * Form for changing your email addressFrancis Irving2010-03-10-3/+7
| |
* | Basic form bits for profile photo (done on train over the weekend)Francis Irving2010-02-01-1/+3
|/
* Let some users leave requests undescribed.francis2009-10-01-1/+10
|
* Send alerts for new users at a random time of day, so load stays reasonable ↵francis2009-09-20-5/+14
| | | | spread out.
* Stop it printing list of all users on consolefrancis2009-09-20-1/+2
|
* Code to randomly spread alert times throughout day.francis2009-09-20-6/+25
|
* Update model field comments.francis2009-09-17-2/+3
|
* Don't allow numeric only URL names.francis2009-09-07-2/+2
| | | | Test the URL name code a bit.
* More form validation tweaks.francis2009-08-27-2/+4
|
* Don't really need to validate url_name, just gives bogus errors.francis2009-08-27-2/+1
|
* Some (as yet unused) profile photo code done on a whim on the train while itfrancis2009-08-05-1/+12
| | | | was my birthday.
* Requester only prominence.francis2009-07-03-1/+2
|
* Use caching that allows pre-authentication.francis2009-06-30-2/+6
| | | | | Add test code for hidden requests. Make super users able to view hidden requests.
* Annotate models update.francis2009-06-26-2/+2
|
* Only need to do this reindexing on updates, not initial save during creation ↵francis2009-04-23-2/+2
| | | | of object.
* Test search for when URL name of user changes.francis2009-04-22-22/+11
| | | | 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/+15
|
* Allowing xapian reindexing to be skipped if a no_xapian_reindex flag is set ↵louise2009-04-14-3/+3
| | | | on the model
* Add charity registration number to database & edit form for public bodytony2009-04-13-2/+2
|
* Adding a flag to allow user model to be saved without reindexing associated ↵louise2009-04-09-2/+3
| | | | models
* TMail rebuilds address when constructing emails. Move our morefrancis2009-04-08-2/+2
| | | | | | 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
* 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
* 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