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
jwollert 42a044575a syntax change in version model to ensure ruby 1.8 compat 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 REVIEW: make :category_id accessible in order to use it with forms 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 remove attachments before destroying the issue to avoid getting a Activerecord::StaleObjectError 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 fix copying of a wiki. self.wiki = Wiki.new immediately tries to save to the database. unfortunately, a Wiki.new is not valid? it misses the :start_page 12 years ago
project_custom_field.rb Set source encoding to UTF-8 13 years ago
query.rb why use an instance variable here? this makes more sense and fixes the tests 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 REVIEW: get the changes by joining with the changesets in order to have access to the #committer of the changesets as required in the tests which group changes by the committer 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 fix the user tests by storing user and his preferences in two steps 12 years ago
user_custom_field.rb Set source encoding to UTF-8 13 years ago
user_preference.rb fix the user tests by storing user and his preferences in two steps 12 years ago
version.rb syntax change in version model to ensure ruby 1.8 compat 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