Jean-Philippe Lang
f1a123add6
Slight change to the project combo for adding membership on user administration screen.
...
All projects are listed, and the ones that the user belongs to are disabled.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-23 18:33:19 +00:00
Jean-Philippe Lang
aaeba2dd20
Show only visible children/ancestors on project overview.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-18 08:35:00 +00:00
Jean-Philippe Lang
4c7e1629a3
Changes project selection boxes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-17 13:07:40 +00:00
Jean-Philippe Lang
79c7fc6303
Do not show private descendants in subproject filter.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-14 18:20:06 +00:00
Jean-Philippe Lang
24441b12e1
Makes the project list multi-level.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-10 18:06:14 +00:00
Jean-Philippe Lang
c0e6711826
Adds some tests on project hierarchy methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-10 17:21:34 +00:00
Jean-Philippe Lang
311a005af7
Prettier parent project combo-box and prevent calls to Project#level.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-21 12:25:03 +00:00
Jean-Philippe Lang
161e32889f
Fixes project jump box.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-21 12:22:12 +00:00
Jean-Philippe Lang
ea729654cc
Few fixes and cleaning.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-21 10:07:50 +00:00
Jean-Philippe Lang
1773be565c
Project#set_parents! inserts children or root projects in alphabetical order.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-21 09:45:39 +00:00
Jean-Philippe Lang
2891ba2933
Makes the project jump box work.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-21 08:03:24 +00:00
Jean-Philippe Lang
1f75a1f957
Makes public and admin project lists work as expected.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-21 06:21:54 +00:00
Jean-Philippe Lang
3697ad1007
Deleting a project deletes all its descendants.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2157 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-20 18:02:29 +00:00
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