Commit Graph

1695 Commits (1d492f13b38fc714b50caf440c3b661a7de12f2e)

Author SHA1 Message Date
Philipp Tessenow 8fa15af8d8 lazy load project scopes 12 years ago
Philipp Tessenow d9e9536bfd let migrations run again 12 years ago
Christian Rijke 9be08a767e Add a method to ensure the correct load order of core model classes with a circular dependency. 12 years ago
Philipp Tessenow ef9ae5ffa3 use scope instead of named_scope 12 years ago
Philipp Tessenow 1f4f73c1d3 merge upstream changes (1f45cd3 - pull request #5). 12 years ago
Jens Ulferts c9780734d8 lets AR handle casting of db condition for assignable_members 12 years ago
Philipp Tessenow 479086af1a fix class load order 12 years ago
Philipp Tessenow 3affd94490 Revert "wrap scope in lambdas to let the migrations run again" 12 years ago
Philipp Tessenow 7a405355f4 wrap scope in lambdas to let the migrations run again 12 years ago
Jens Ulferts 0d3be2f958 no longer serializes changes as they will be anyway 12 years ago
Jens Ulferts 2c22694e98 eager loads objects associated to the issue's relations 12 years ago
Martin Linkhorst a188dfd713 Project.all_public can also be written as Project.public.all or just Project.public 12 years ago
Jens Ulferts e28a52e05a removes explicit casting of changes to yaml 12 years ago
Jens Ulferts 74e21f7770 refactors querying for assignable users 12 years ago
Philipp Tessenow ddc6cdec54 force message to update its watchers and watcher_users when creating a new watcher in its after_create hook 12 years ago
Martin Linkhorst a860d6979a change the way the cache gets invalidated when a setting value is changed. now deletes all cache keys containing the setting's name 12 years ago
Martin Czuchra daa880645b Fixes problems that may occur in combination w/ plugins and the new API. 12 years ago
Martin Linkhorst 2d2851b2d7 self.translated_attributes will only find persisted translations. therefore translations not yet persisted will be added manually. 12 years ago
Martin Linkhorst 857d4eaa8c manually implement validates_presence_of :some_translated_attribute and :scope 12 years ago
Jens Ulferts 239cdf789f fixes I18n mail parsing 12 years ago
Jens Ulferts bb1a12d910 fixes change's path_from utf8ified assignment 12 years ago
Martin Linkhorst d8e3513b08 we need a watchable for this validation 12 years ago
Martin Linkhorst 252fb107ea revert an old commit and assign watcher parameters through mass assignment again. instead, add a validation in the model that ensures that the user is allowed to watch the watchable. 12 years ago
Martin Linkhorst 3ae5b2fac7 fix repository tests 12 years ago
Martin Linkhorst a3675092c8 fix role tests 12 years ago
Christian Ratz 60c9e3d752 allow to set a default version on issue create via mail handler 12 years ago
Martin Linkhorst 5dc3cb2240 the default sort order in the gem version of awesome_nested_set is called :order_column. also fix a test that didn't expect the children to be sorted by name, now it does... 12 years ago
Martin Linkhorst 37867b4859 forcing attributes to be set is done differently since rails 3.2+: assign_attributes({ … }, :without_protection => true) 12 years ago
Martin Linkhorst dd9515d745 remove cvs scm from openproject core 12 years ago
Martin Linkhorst 96dacf3150 remove bazaar scm from openproject core 12 years ago
Martin Linkhorst 2ff10f4c54 remove mercurial scm from openproject core 12 years ago
Martin Linkhorst 4b53920965 remove darcs scm from openproject core 12 years ago
Philipp Tessenow 8b661f1e2b simplify Project#add_member 12 years ago
Jens Ulferts 3adca91704 overrides awesome_nested_set methods for issues to allow for fixing the 12 years ago
Jens Ulferts 705200ec33 matches journaled field against regexp to be able to cope with dynamic field names 12 years ago
Jens Ulferts 98ddfe1b98 moves OpenProject formatters into JournalFormatter::Base subclasses 12 years ago
Gregor Schmidt c94c0789bb Async loading of project list in project jump box 12 years ago
Philipp Tessenow 578590693c revert performance optimization for Rails2 12 years ago
Martin Linkhorst 02e58ee814 put possible values for available settings into a lambda block because available_settings class variable can change at runtime (was different before) 12 years ago
Philipp Tessenow edc058cc90 document Project.allowed_to_condition. with doc-string from redmine 12 years ago
Philipp Tessenow a20c3068e0 fix typo in name of TimeEntry#earliest_date_for_project 12 years ago
Philipp Tessenow 33fd40decf composed multiple redmine commits (thanks goes to jpl) to let MailHandler tests pass. 12 years ago
Martin Linkhorst ef6680636e fix two order clauses which create unambiguous sql queries 12 years ago
Martin Linkhorst f6746c5327 bug: watcher uses redmine's safe_attributes so we need to include it 12 years ago
Gregor Schmidt d95a75ec23 Perf opt - touching journaled w/o callbacks 12 years ago
Gregor Schmidt 9755b931dd Extending API of recalculate_attributes_for 12 years ago
Gregor Schmidt ccc97fcbfa Optimization: Avoiding save if nothing changed 12 years ago
Gregor Schmidt ab968a52fc Micro-optimization - no initialization when admin 12 years ago
Gregor Schmidt 9b3a33ebd0 Using already loaded information if available 12 years ago
Jens Ulferts 4644f44087 eager loads child wiki_menu_items 12 years ago