Commit Graph

1424 Commits (0def3223c4359c5101fdc0eff8b9d14bfff1f813)

Author SHA1 Message Date
Philipp Tessenow 6390bb56f7 use new translation style for various document-related things 12 years ago
Philipp Tessenow 62d92ef05a use new translation style for various wiki/wiki_page/wiki_content things 12 years ago
Jens Ulferts 65ca202692 Introduces strong_parameters whithout making use of it yet 12 years ago
Christian Rijke 993c3f29ee Add version validation and spec that requires effective_date > start_date. 12 years ago
jwollert ce0574119b fixes estimated_hours validation on issues by explicitly making it fail on invalid input strings 12 years ago
Christian Ratz 045ae8c9dc fix user create with empty pwd 12 years ago
Philipp Tessenow 28ab23ea7f remove attr_protected for :locked and :sticky. They are safed by safe_attributes depending on the user permissions 12 years ago
Philipp Tessenow 15df2ecdcc be careful with nested namespace'd controllers in our models 12 years ago
Philipp Tessenow ddc7cf70b4 fix bug: User#allowed_to? couldn't handle Symbols in action[:controller] 12 years ago
Philipp Tessenow 7e5cc3816f enables menus when beeing inside a namespaced controller 12 years ago
Martin Linkhorst 8d797ca08a the serialization doesn't work as expected. #names should be an array but is instead a one-element array containing a comma separated list, no matter what i do. this commit fixes it by expanding the comma separated list, so it will work with either version in case somebody fixes it in the future. 12 years ago
Sebastian Schuster 9e3fcb3125 Removed the after_initialize callback in old syntax 12 years ago
Martin Linkhorst c442ecb7d9 remove gantt from core (take the commit as a guide on how to bring it back as a plugin) 12 years ago
jwollert 487802dee7 migrate longer logins plugin to core 12 years ago
Philipp Tessenow 88934d9b2b user are allowed to watch things when <thing>.visible?(user) == true 12 years ago
Philipp Tessenow d0a849c9d2 CustomField#possible_values now takes locale options as :locale => :de instead of just :de 12 years ago
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