Jean-Philippe Lang
efff5dff9b
Adds :order option to acts_as_nested_tree so that children are sorted alphabetically when the tree is rebuilt.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 17:58:55 +00:00
Jean-Philippe Lang
01ab34d401
All ancestors must be active to unarchive a project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 17:45:40 +00:00
Jean-Philippe Lang
288c9a250a
Show the entire projects tree on admin project list.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 17:19:03 +00:00
Jean-Philippe Lang
7353a628bf
Makes Project.allowed_to_condition actually works with nested sets.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 14:48:59 +00:00
Jean-Philippe Lang
76462d76b5
Replaces #active_children with nested scopes #descendants.active
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 14:38:02 +00:00
Jean-Philippe Lang
89ecc00326
Removes calls to child_ids.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 14:31:44 +00:00
Jean-Philippe Lang
8de41294c0
Makes parent parent assignment work on project form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 13:43:05 +00:00
Jean-Philippe Lang
058e4db223
Use acts_as_nested_set instead of acts_as_tree for project hierarchy.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 12:22:38 +00:00
Jean-Philippe Lang
04fea923a4
Adds a branch for unlimited project hierarchy.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-19 20:51:35 +00:00
Jean-Philippe Lang
7ae224f5c2
Rails 2.2 deprecations
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-07 16:16:01 +00:00
Jean-Philippe Lang
859c89ccb6
Dependencies moved to ActiveSupport::Dependencies
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-28 18:51:08 +00:00
Jean-Philippe Lang
5b23eb7d6f
Rails 2.2 port
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-28 18:43:35 +00:00
Jean-Philippe Lang
de64c4c456
Sync with trunk r1786.
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-05 11:04:54 +00:00
Jean-Philippe Lang
45f68142db
ViewListener includes ActionView::Helpers::TextHelper module.
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-05 10:09:25 +00:00
Jean-Philippe Lang
9315992d40
Adds test_helper.rb template to the plugin generator.
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-05 10:06:49 +00:00
Jean-Philippe Lang
2928a3aeeb
Adds a hook on version details view (:view_versions_show_bottom).
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-01 20:30:49 +00:00
Jean-Philippe Lang
068448d734
Sync with trunk r1778.
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-31 16:45:46 +00:00
Jean-Philippe Lang
ef83abe725
Added missing plugins.
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-30 14:42:56 +00:00
Jean-Philippe Lang
a377069fb2
Merged trunk r1773.
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-30 14:41:07 +00:00
Nicolas Chuche
ab83ed5d8e
r18452@gaspard (orig r1723): jplang | 2008-08-07 21:59:02 +0200
...
Slight change to engines to let plugins override views.
r18456@gaspard (orig r1727): jplang | 2008-08-10 17:22:54 +0200
Moves @layout 'base'@ to ApplicationController.
r18457@gaspard (orig r1728): jplang | 2008-08-10 23:35:03 +0200
Quote ids for attachment association since Trac's attachment.id is varchar (#1759 ).
r18458@gaspard (orig r1729): jplang | 2008-08-11 00:18:23 +0200
Adds links to forum messages using message#id syntax (#1756 ).
r18459@gaspard (orig r1730): jplang | 2008-08-11 20:09:54 +0200
Allow same name for custom fields on different object types.
r18460@gaspard (orig r1731): jplang | 2008-08-11 20:24:39 +0200
Fixes custom fields display order at several places (#1768 ).
r18461@gaspard (orig r1732): edavis10 | 2008-08-11 22:49:52 +0200
Added doc/README_FOR_APP so RDoc can be built. (#1769 )
r18462@gaspard (orig r1733): jplang | 2008-08-11 22:55:17 +0200
Adds 'Edit' link on account/show for admin users.
r18463@gaspard (orig r1734): jplang | 2008-08-11 23:02:36 +0200
Adds Lock/Unlock/Activate link on user edit screen.
r18464@gaspard (orig r1735): jplang | 2008-08-11 23:10:24 +0200
Adds user count in status drop down on admin user list.
r18472@gaspard (orig r1743): edavis10 | 2008-08-13 05:54:54 +0200
Added missing documentation for setting up the Darcs test repository.
r18473@gaspard (orig r1744): edavis10 | 2008-08-13 06:20:16 +0200
Added rake tasks to generate rcov code coverage reports. rake -T test:coverage to see them all
r18474@gaspard (orig r1745): edavis10 | 2008-08-13 06:20:23 +0200
Extracted rcov options and removed gems from the rcov report.
r18476@gaspard (orig r1747): jplang | 2008-08-15 20:44:46 +0200
No warning about rcov each time a rake task is ran.
r18477@gaspard (orig r1748): edavis10 | 2008-08-20 06:26:46 +0200
Javascripts are now cached into a single file for downloads in production mode.
Thanks to Philippe Lafoucrière for the patch. (#1186 )
r18478@gaspard (orig r1749): edavis10 | 2008-08-20 07:09:13 +0200
Hiding the View Differences button when a wiki page's history only has one version.
Patch contributed by Chaoqun Zou (#1743 )
r18479@gaspard (orig r1750): edavis10 | 2008-08-20 08:14:44 +0200
Messages on a Board can now be sorted by the number of replies.
#1761
r18480@gaspard (orig r1751): edavis10 | 2008-08-20 08:21:06 +0200
Added the "Status:" keyword to the MailHandler for setting and changing an Issue status via email.
#1669
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-20 18:37:09 +00:00
Eric Davis
ef26e2e0ba
Removing Redmine::Hook::HOOKS because it's not used any more with the dynamic hook loading. #1677
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 15:34:21 +00:00
Eric Davis
98cf5ebca0
Added rake task for listing the Plugin hooks by running rake redmine:plugins:hook_list.
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 01:11:45 +00:00
Eric Davis
63e135ffef
Adds :helper_issues_show_detail_after_setting hook. #1677
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 00:43:43 +00:00
Eric Davis
77d0a96289
Adds :controller_issues_bulk_edit_before_save hook. #1677
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 00:43:36 +00:00
Eric Davis
879a29b8cf
Added hooks to the Project members table
...
* :view_projects_settings_members_table_header
* :view_projects_settings_members_table_row
#1677
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 00:43:30 +00:00
Eric Davis
b506b12a2d
Adds :view_issues_bulk_edit_details_bottom hook. #1677
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 00:43:24 +00:00
Eric Davis
64a3361769
Adds :view_issues_form_details_bottom hook. #1677
...
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-13 00:43:17 +00:00
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