OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/models
Martin Linkhorst d9f422e6b0 use #joins instead of #includes since includes does seem to have a bug when combining with #maximum, #sum etc. 12 years ago
..
query take the root Query class rather than active records. also re-allow passing an order to acts_as_nested_set. all to make the tests happy 12 years ago
repository keep the right api for human_attribute_name 12 years ago
attachment.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
auth_source.rb Set source encoding to UTF-8 13 years ago
board.rb added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
change.rb protect relations to users (assigned_to, author_id etc.) in models, too 13 years ago
changeset.rb DEPRECATION FIX: use before_create :method_name instead of overwriting the before_create method 12 years ago
comment.rb refactor comment class and fixed the tests. give news a clearer api to create a comment for a news object. this couples news to the comment class atm but can easily be extracted into a module or so. 12 years ago
comment_observer.rb use a notifier class to abstract the sending of notifications. atm this just checks whether the event should be notified. but in the future this class should abstract more to make the controllers/models and the mailer (i18n) simpler. let's see 12 years ago
custom_field.rb match the new active record initializer signature when overwriting 12 years ago
custom_value.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
document.rb this is how it's done now. much better 12 years ago
document_category.rb Set source encoding to UTF-8 13 years ago
document_category_custom_field.rb Set source encoding to UTF-8 13 years ago
document_observer.rb use a notifier class to abstract the sending of notifications. atm this just checks whether the event should be notified. but in the future this class should abstract more to make the controllers/models and the mailer (i18n) simpler. let's see 12 years ago
enabled_module.rb added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago
enumeration.rb REVIEW: remove require_dependency which shouldn't be needed anymore? 12 years ago
group.rb DEPRECATION FIX: make a badly named GroupUser model to acts as the join model for a has_many :through between groups and users. 12 years ago
group_custom_field.rb Set source encoding to UTF-8 13 years ago
group_user.rb DEPRECATION FIX: make a badly named GroupUser model to acts as the join model for a has_many :through between groups and users. 12 years ago
issue.rb use #joins instead of #includes since includes does seem to have a bug when combining with #maximum, #sum etc. 12 years ago
issue_category.rb re-allow mass assignment of assign_to_id of issue categories. but issue category won't be valid unless assignee is also project member of the category. (mirroring what is possible to select in the view) fixes #28790 13 years ago
issue_custom_field.rb Set source encoding to UTF-8 13 years ago
issue_observer.rb use the new mailer! 12 years ago
issue_priority.rb Set source encoding to UTF-8 13 years ago
issue_priority_custom_field.rb Set source encoding to UTF-8 13 years ago
issue_relation.rb DEPRECATION FIX: use errors.add(:base, msg) instead of errors.add_to_base(:msg) 12 years ago
issue_status.rb DEPRECATION FIX: use after_save :method_name instead of overwriting the after_save method 12 years ago
journal.rb REVIEW: remove unloaded calls, let's have a look wether that's still needed in rails 3 12 years ago
journal_observer.rb use the new mailer! 12 years ago
ldap_auth_source.rb updated AuthSourceLdap model to LdapAuthSource 12 years ago
mail_handler.rb finalize the mailer, remove the older mailer 12 years ago
member.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
member_role.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
message.rb DEPRECATION FIX: use errors.add(:base, msg) instead of errors.add_to_base(:msg) 12 years ago
message_observer.rb updated message posted mail 12 years ago
news.rb refactor comment class and fixed the tests. give news a clearer api to create a comment for a news object. this couples news to the comment class atm but can easily be extracted into a module or so. 12 years ago
news_observer.rb updated news added mailings 12 years ago
notifier.rb use a notifier class to abstract the sending of notifications. atm this just checks whether the event should be notified. but in the future this class should abstract more to make the controllers/models and the mailer (i18n) simpler. let's see 12 years ago
principal.rb renames all named_scopes to scopes 12 years ago
project.rb omit default scope by using reorder 12 years ago
project_custom_field.rb Set source encoding to UTF-8 13 years ago
query.rb match the new active record initializer signature when overwriting 12 years ago
query_column.rb Moving query related models into separate files 13 years ago
query_custom_field_column.rb Moving query related models into separate files 13 years ago
repository.rb re-add the missing return values since they do matter 12 years ago
role.rb renames all named_scopes to scopes 12 years ago
setting.rb DEPRECATION FIX: remove RAILS_ROOT in favor of Rails.root.to_s 12 years ago
time_entry.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
time_entry_activity.rb Set source encoding to UTF-8 13 years ago
time_entry_activity_custom_field.rb Set source encoding to UTF-8 13 years ago
time_entry_custom_field.rb Set source encoding to UTF-8 13 years ago
token.rb DEPRECATION FIX: use before_create :method_name instead of overwriting the before_create method 12 years ago
tracker.rb Set source encoding to UTF-8 13 years ago
user.rb yay, and active record bug, woohoo :) TODO: fix me on rails 3.2 12 years ago
user_custom_field.rb Set source encoding to UTF-8 13 years ago
user_preference.rb match the new active record initializer signature when overwriting 12 years ago
version.rb renames all named_scopes to scopes 12 years ago
version_custom_field.rb Set source encoding to UTF-8 13 years ago
watcher.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
wiki.rb Revert "nested tab attributes are safe, one cannot fake project_id, nor wiki_id" 13 years ago
wiki_content.rb REVIEW: make wikis work. TODO: why do they show up twice 12 years ago
wiki_content_observer.rb converted wiki content updated mail 12 years ago
wiki_page.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
wiki_redirect.rb Set source encoding to UTF-8 13 years ago
workflow.rb added attr_protected calls to protect mass assignment of :project_id through a view 13 years ago