Commit Graph

125 Commits

Author SHA1 Message Date
Jean-Philippe Lang 425153b103 Rails 2.1 compatibility fix in UserPreference.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-04 16:50:29 +00:00
Jean-Philippe Lang 11a6b24af3 Updates environment.rb to use Rails 2.1 gem.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-04 16:35:42 +00:00
Jean-Philippe Lang 573d7905da rfpdf backward compatibility (Rails 2.0) hack.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-04 16:35:23 +00:00
Jean-Philippe Lang 79cff193d0 Pass path param as an array.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-03 19:40:22 +00:00
Jean-Philippe Lang b35064b4f1 Splits initializer.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-03 16:16:32 +00:00
Jean-Philippe Lang 614973b2b6 rfpdf compatibility with Rails 2.1 fix.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-02 20:07:10 +00:00
Jean-Philippe Lang d4ab8fbd17 Tests fixes.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 19:26:11 +00:00
Jean-Philippe Lang 8a39707f1c acts_as_versioned upgrade.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 18:35:28 +00:00
Jean-Philippe Lang 5f108dfb0f Few fixes.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 18:35:04 +00:00
Jean-Philippe Lang e119b324cc Redmine code moved from environment.rb to initializers.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 18:13:57 +00:00
Jean-Philippe Lang c8766235d9 ActionView::Base::register_template_handler moved to ActionView::Template::register_template_handler (#1194).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 17:24:05 +00:00
Jean-Philippe Lang 48129a9cac rake rails:update
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 17:22:32 +00:00
Jean-Philippe Lang e61f35981c Rails 2.1 compatibility branch added.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 17:20:00 +00:00
Jean-Philippe Lang 310ce0291d Fixed migration ChangeMembersUsersAssociationToPolymorphic#down.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-02 15:15:14 +00:00
Jean-Philippe Lang 5e8092e4e7 Fixed tests.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 11:26:29 +00:00
Jean-Philippe Lang 6054b8a430 Do not use GLoc's l_date.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 11:25:57 +00:00
Jean-Philippe Lang de27a60245 Remove useless set_language calls (language is now defined application wide).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 11:25:36 +00:00
Jean-Philippe Lang 7980d34724 Add lang files completion rake task.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 10:15:49 +00:00
Jean-Philippe Lang ba4ea8e2fd Make gloc load plugins lang files.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 10:15:23 +00:00
Jean-Philippe Lang e4d7a21c9e Remove mail templates localization.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 10:07:48 +00:00
Jean-Philippe Lang 39a7ec66b0 Month/Day names fixes (now stored as arrays in lang files).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 09:49:58 +00:00
Jean-Philippe Lang 35bac0d003 Gloc plugin upgraded to 1.2.0.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 09:48:03 +00:00
Jean-Philippe Lang 867b206e85 gloc-1.2.0 migration branch added.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-01 09:40:20 +00:00
Jean-Philippe Lang 2685740e2e Display group name in the member list on project overview.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-29 11:39:29 +00:00
Jean-Philippe Lang 8437cbe69c Fixed: user removed from group when :group_id param is not submitted.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-29 11:37:37 +00:00
Jean-Philippe Lang f18862c7d6 Move the project member list rendering to an helper.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-29 10:42:01 +00:00
Jean-Philippe Lang 420bcf0160 Prevent undefined method `[]' for nil:NilClass error in issues_controller.rb:140 (#1132).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-28 17:03:01 +00:00
Jean-Philippe Lang ed74c2a8a2 Fixes inherited_from attribute assignation (protected attribute).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-28 16:02:06 +00:00
Jean-Philippe Lang a10a54b20f Remove the new group form on group list.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-28 15:36:48 +00:00
Jean-Philippe Lang ced3cab7bb User groups feature initial commit.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-28 15:10:04 +00:00
Jean-Philippe Lang 4783d3d7c5 User groups branch added.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-28 14:51:16 +00:00
John Goerzen 4dfa4bbc77 Change name of label for new project field
Since switching to --git-dir in r1218, we must have patch to the .git
directory or a bare repository.  --git-dir will not accept a working
path that only contains a .git directory.  Updated label to clarify this.


git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-10 15:14:50 +00:00
Jean-Philippe Lang c6a77d1900 Fixed file history for git repository.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-09 13:58:16 +00:00
John Goerzen ff6ed900fc Use shell_quote and --git-dir for args passed to git
the cd #{target('')} approach does not work on Windows

All unit tests pass


git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-09 13:09:18 +00:00
Jean-Philippe Lang e8e64d2de2 Make cvs revision numbers sorted in chronological order, as before r1201.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-09 10:53:19 +00:00
Jean-Philippe Lang 93c2aebb61 Make Darcs adapter work with stringified revisions (test added).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-09 10:00:51 +00:00
John Goerzen 4e6f5fef20 Fix bug integration with closing bugs by changesets
previously it just added "rREV".  Now if this is non-numeric, we add
commit:"SCMID" to make it work for things like Git


git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-08 19:48:25 +00:00
John Goerzen 78d70c12b6 Logic simplification
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-08 19:48:21 +00:00
John Goerzen 12c5881ef0 Performance optimization: support limit for call to revisions
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-08 19:48:17 +00:00
John Goerzen b36aa125a6 Removed unused variable
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-08 19:38:38 +00:00
Jean-Philippe Lang f028822fc2 Added the git test repository.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-07 16:41:49 +00:00
Jean-Philippe Lang a834312a3e Git patch added (#259) with annotate support. Changeset revision field changed to string.
TODO:
* fix Darcs support and add tests for Darcs
* maybe remove scmid column by moving commit hashes to Changeset#revision for all DSCM

git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-07 16:27:46 +00:00
Jean-Philippe Lang 25e8baea05 Added git support branch.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-07 16:13:06 +00:00
Jean-Philippe Lang 4f5d1b542e Added tests on role inheritance for sub-projects.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-13 11:08:33 +00:00
Jean-Philippe Lang 13c17c2ad5 Make issue categories inheritable on subprojects (can be disabled in Admin -> Settings -> Projects).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-13 10:53:12 +00:00
Jean-Philippe Lang 75f6463c18 Fixed project visibility when memberships inheritance is enabled.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-12 12:48:07 +00:00
Jean-Philippe Lang 6a36929a1d Subprojects roadmap shows parent project versions (unless versions inheritance was disabled in settings).
Parent project roadmap shows versions of all subprojects.

git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-12 12:30:30 +00:00
Jean-Philippe Lang 2c9b04fdfd Subprojects inherit versions from their parent project (can be disabled in Admin -> Settings -> Projects).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-12 12:05:31 +00:00
Jean-Philippe Lang d82334dd78 Subprojects inherits parent projects members (can be disabled in Admin -> Settings -> Projects).
Eg. if B is a subproject of A, a user with a role on A will automatically have the same role on B. It can be overridden by assigning a different role manually to this user on B.

git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-12 11:38:01 +00:00
Jean-Philippe Lang 2a2a31d148 Added project_inheritance work branch.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-09 19:43:47 +00:00