Redmine/app/models
Eric Davis 22c1e2b8cf Adds named scopes to replace custom finders.
* Adds watched_by class method in ActsAsWatchable
* Adds Issue#recently_updated, Issue#with_limit and Issue#on_active_project

  #2482

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-10 05:10:43 +00:00
..
repository Do not parse the entire git log to fetch new commits (takes several minutes for a few thousands commits), but only 1 week before the last known commit (#4547, #4716). 2010-02-07 15:17:21 +00:00
attachment.rb Refactor: Decouple failed attachments and the flash messages 2010-03-03 17:05:00 +00:00
auth_source.rb Do not request blank LDAP attributes. 2008-11-25 19:33:41 +00:00
auth_source_ldap.rb Makes AuthSource.authenticate return a hash instead of an array. 2010-02-26 09:13:12 +00:00
board.rb Makes user unwatch what he can no longer view after its permissions have changed (#3589). 2009-12-13 12:39:22 +00:00
change.rb Fixed: View differences for individual file of a changeset fails if the subversion repository URL doesn't point to the repository root (#1209, #1262, #1275). 2008-05-24 17:58:34 +00:00
changeset.rb Avoid unnecessary SQL queries when loading changesets. 2010-02-21 14:43:45 +00:00
comment.rb Fixed: 10342 Creation of Schema in Oracle 2007-04-25 15:06:20 +00:00
custom_field.rb Fixed: "None" category issue count is empty while grouping by category (#4308). 2009-12-02 18:57:17 +00:00
custom_value.rb Avoid useless database queries. 2009-11-20 12:57:52 +00:00
document.rb Refactor: Move recipients method into acts_as_event 2010-02-01 18:57:12 +00:00
document_category.rb Removes column opt in enumerations table. 2009-12-25 17:13:58 +00:00
document_category_custom_field.rb Enumerations can now have custom fields defined on them. #4077 2009-10-21 22:34:22 +00:00
document_observer.rb Added observers to watch model objects for mail delivery instead of calling Mailer. 2009-03-28 00:38:57 +00:00
enabled_module.rb Removes debug message. 2009-10-25 10:31:01 +00:00
enumeration.rb Removes column opt in enumerations table. 2009-12-25 17:13:58 +00:00
group.rb User groups branch merged. 2009-09-12 08:36:46 +00:00
group_custom_field.rb User groups branch merged. 2009-09-12 08:36:46 +00:00
issue.rb Adds named scopes to replace custom finders. 2010-03-10 05:10:43 +00:00
issue_category.rb Added version details view accessible from the roadmap. 2007-12-07 10:26:07 +00:00
issue_custom_field.rb fixed #9308 table_name pre/suffix support 2007-03-15 22:11:02 +00:00
issue_observer.rb Added observers to watch model objects for mail delivery instead of calling Mailer. 2009-03-28 00:38:57 +00:00
issue_priority.rb Removes column opt in enumerations table. 2009-12-25 17:13:58 +00:00
issue_priority_custom_field.rb Enumerations can now have custom fields defined on them. #4077 2009-10-21 22:34:22 +00:00
issue_relation.rb Adds 'Blocked by' (#1755) and 'Duplicated by' relation types to the dropdown menu for new relations. 2010-02-28 11:28:32 +00:00
issue_status.rb Allow blank value for IssueStatus#default_done_ratio. 2009-12-12 10:33:12 +00:00
journal.rb Fixes Journal#save signature (#3014). 2009-03-23 17:18:04 +00:00
journal_detail.rb Journal details truncated only if values are strings 2007-04-24 18:26:42 +00:00
journal_observer.rb Added observers to watch model objects for mail delivery instead of calling Mailer. 2009-03-28 00:38:57 +00:00
mail_handler.rb Fixed: subject of incoming emails gets mangled (#3717). 2009-12-26 12:15:12 +00:00
mailer.rb Fixed: no email notification on new project/version file added (#4966). 2010-03-03 21:32:41 +00:00
member.rb Ask for confirmation when a non-admin users tries to remove himself from a project (#4402). 2009-12-26 15:46:12 +00:00
member_role.rb Fixed: project copy doesn't copy group memberships (#3975). 2009-12-26 16:14:55 +00:00
message.rb Adds pagination to forum messages (#4664). 2010-02-06 12:54:13 +00:00
message_observer.rb Make sure users don't get notified for thing they can not view (#3589). 2009-12-13 14:26:54 +00:00
news.rb Refactor: Move recipients method into acts_as_event 2010-02-01 18:57:12 +00:00
news_observer.rb Added observers to watch model objects for mail delivery instead of calling Mailer. 2009-03-28 00:38:57 +00:00
principal.rb Fixed: NOT NULL constraint error when adding a group (#4632). 2010-01-30 10:24:23 +00:00
project.rb Optimize: Only select the name when getting the module names. 2010-02-25 04:55:33 +00:00
project_custom_field.rb added svn:eol-style native property on /app files 2007-03-12 17:59:02 +00:00
query.rb Adds filter for system shared versions on the cross project issue list (#4792). 2010-02-10 21:42:32 +00:00
repository.rb Memorize commit authors to speed up changesets loading. 2010-02-21 14:42:45 +00:00
role.rb Change Role#anonymous and #non_member so they generate the record as needed. 2010-02-03 17:47:47 +00:00
setting.rb Fixed a nil method error in Setting#value= 2010-02-12 22:08:02 +00:00
time_entry.rb Force TimeEntry#hours default to nil (#3075, #4449). 2009-12-23 20:05:46 +00:00
time_entry_activity.rb Removes column opt in enumerations table. 2009-12-25 17:13:58 +00:00
time_entry_activity_custom_field.rb Fixed some merge bugs. #4077 2009-10-21 22:35:03 +00:00
time_entry_custom_field.rb Adds custom fields on time entries (#772). 2008-07-22 18:52:00 +00:00
token.rb Delete previous tokens when creating a new one. 2009-06-02 17:24:50 +00:00
tracker.rb By default, only show statuses that are used by the tracker on the workflow edit view. 2009-12-18 15:41:32 +00:00
user.rb Makes AuthSource.authenticate return a hash instead of an array. 2010-02-26 09:13:12 +00:00
user_custom_field.rb added svn:eol-style native property on /app files 2007-03-12 17:59:02 +00:00
user_preference.rb Merged Rails 2.1 compatibility branch. 2008-07-04 17:58:14 +00:00
version.rb Optimize updates of issue's shared versions. 2009-12-08 20:47:52 +00:00
version_custom_field.rb Adds custom fields for versions (#4219). 2009-11-15 15:22:55 +00:00
watcher.rb Makes user unwatch what he can no longer view after its permissions have changed (#3589). 2009-12-13 12:39:22 +00:00
wiki.rb Makes user unwatch what he can no longer view after its permissions have changed (#3589). 2009-12-13 12:39:22 +00:00
wiki_content.rb Make sure users don't get notified for thing they can not view (#3589). 2009-12-13 14:26:54 +00:00
wiki_content_observer.rb Adds email notification on wiki changes (#413). It's disabled by default and can be enabled in application settings. 2009-05-17 09:55:13 +00:00
wiki_page.rb Fixed: wiki pages in search results are referenced by project number, not by project identifier (#4456). 2009-12-23 20:01:28 +00:00
wiki_redirect.rb Added the ability to rename wiki pages (specific permission required). 2007-09-09 17:05:38 +00:00
workflow.rb Avoid a ruby warning. 2009-12-19 12:16:45 +00:00