Commit Graph

137 Commits

Author SHA1 Message Date
Jean-Philippe Lang
a7b30d39ce Adds :view_issues_show_details_bottom hook.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-12 16:33:39 +00:00
Jean-Philippe Lang
2a04d6188b Adds plugin controller and model generator.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-10 14:57:05 +00:00
Jean-Philippe Lang
74b942b34d Slight changes to hook unit tests.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-08 06:50:07 +00:00
Jean-Philippe Lang
3a0c29a42e Adds AssetTagHelper to ViewListener class and functional test.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-08 06:45:08 +00:00
Jean-Philippe Lang
88f3c43170 Plugin generator: set plugin name in init.rb.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-07 19:57:11 +00:00
Jean-Philippe Lang
ed7e61d1c3 Adds a simple Redmine plugin generator.
Usage:

  script/generate redmine_plugin my_plugin

git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-07 19:43:18 +00:00
Jean-Philippe Lang
4a41c66855 Passing @project to hook calls no longer needed in views.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-07 18:45:21 +00:00
Jean-Philippe Lang
ff2aba49ac Removes junk code introduced in r1718.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-07 18:44:02 +00:00
Jean-Philippe Lang
efc5d18871 Automatically add current project to the context of hook calls in views.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-07 18:43:22 +00:00
Jean-Philippe Lang
f892fcf716 Hooks initial commit.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-07 18:24:35 +00:00
Jean-Philippe Lang
7c56968018 Added branch for hooks integration.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-07 10:52:19 +00:00
Jean-Philippe Lang
d571a9717e Fixes tests (postgresql).
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-04 17:50:19 +00:00
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