aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/user.rb
Commit message (Collapse)AuthorAgeLines
* 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
* Don't range search index bodies and users, doesn't make sense really.francis2009-03-18-2/+1
|
* Banned users can't make follow ups any more.francis2009-03-18-1/+4
|
* Update models and schema for new tabletony2009-03-09-2/+2
|
* Option to ban users.francis2009-03-09-2/+19
|
* Add publication scheme for public bodies. (New database column and admintony2009-03-04-2/+2
| | | | interface only; public display can come later.)
* Check that we get exim log lines OK.francis2009-02-09-2/+2
| | | | Annotate models.
* Annotate models.francis2009-01-26-2/+2
|
* Only show the name of the organisation if their domain matches that of email ↵francis2008-12-18-1/+6
| | | | | | | when rendering incoming messages. Centralise domain stripping function.
* When renaming user, update indexing of related requests and annotations.francis2008-12-04-1/+16
|
* Strip attributes.francis2008-12-02-1/+5
|
* Move TMail monkeypatches out of incoming_message intofrancis2008-11-21-2/+2
|
* Update model annotations.francis2008-10-28-2/+2
|
* Option to hide comments.francis2008-10-02-1/+5
|
* Let super users change status of requires_admin requests from main sitefrancis2008-09-24-1/+5
|
* Annotate models.francis2008-09-22-2/+2
|
* Annotate models.francis2008-09-22-2/+2
|
* Fix up regexps so checking that you do sign works.francis2008-09-22-2/+3
|
* Sort by time, not just by date when sorting by created_atfrancis2008-09-13-2/+9
|
* Factor out an SQL fragment.francis2008-09-11-1/+11
|
* Show annotations on user pages.francis2008-08-31-1/+2
|
* Annotate models.francis2008-08-31-2/+3
| | | | Todo update.
* Make granularity of permissions and names of functions better.francis2008-08-29-1/+5
|
* Set admin level.francis2008-08-27-2/+8
| | | | Make function return value as it should.
* Admin level field for users.francis2008-08-27-2/+12
| | | | | | Edit users from admin interface. Let admin users classify any request from main website interface. Give admin users links from users/bodies/requests to admin interface.
* Some code relating to comments.francis2008-08-09-2/+2
|
* ILIKE is not in the SQL standard, but is a PostgreSQL extension. Stop using it.francis2008-07-28-2/+2
|
* Fix bug in calculated states calculation.francis2008-07-17-2/+2
| | | | Annotate models.
* Add notes for specific FOI exceptions etc. for authorityfrancis2008-07-16-2/+2
| | | | Add home page, including by default calculated
* Store incoming messages which aren't to a valid request in a holding pen, andfrancis2008-07-08-1/+20
| | | | let people move them from admin interface.
* Bullet list in credits on about page.francis2008-05-21-2/+2
| | | | | | | | | | | Rename rss_at to described_at. Email alerts based on date of description, not just creation date (so don't miss things that were created before alert but described only recently) Tidy up when described vs. newest is used for sort order. Caching of text extracted from attachments, and display in search results. Add some tests for things that aren't tested. (alright, maybe we *should* use git/hg if I'm going to keep doing this many separate commits on a train)
* Option to stop new respones for individual requests which for whatever reasonfrancis2008-05-19-2/+2
| | | | are getting spam.
* And again.francis2008-05-12-2/+2
|
* Don't allow emails in name fieldfrancis2008-05-11-1/+4
|
* Change from acts_as_solr to acts_as_xapianfrancis2008-04-24-6/+4
|