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 337239044c REVIEW: make :category_id accessible in order to use it with forms 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
attachment.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
auth_source.rb
board.rb
change.rb
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 REVIEW: make :category_id accessible in order to use it with forms 12 years ago
document_category.rb
document_category_custom_field.rb
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
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
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
issue_custom_field.rb
issue_observer.rb use the new mailer! 12 years ago
issue_priority.rb
issue_priority_custom_field.rb
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
project.rb omit default scope by using reorder 12 years ago
project_custom_field.rb
query.rb why use an instance variable here? this makes more sense and fixes the tests 12 years ago
query_column.rb
query_custom_field_column.rb
repository.rb rails 3 throws an exception when you try to do the following: 12 years ago
role.rb
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
time_entry_activity_custom_field.rb
time_entry_custom_field.rb
token.rb DEPRECATION FIX: use before_create :method_name instead of overwriting the before_create method 12 years ago
tracker.rb
user.rb yay, and active record bug, woohoo :) TODO: fix me on rails 3.2 12 years ago
user_custom_field.rb
user_preference.rb match the new active record initializer signature when overwriting 12 years ago
version.rb fix active record queries by correctly using the new api 12 years ago
version_custom_field.rb
watcher.rb DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
wiki.rb
wiki_content.rb
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
workflow.rb