Jean-Philippe Lang
5e57a1a9d9
Merged rails-3.2 branch.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang
be246de161
Adds a simple API for listing roles ( #9725 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 10:06:32 +00:00
Jean-Philippe Lang
46ab7b45d7
Permissions report: display role names on each permission group ( #10119 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 22:31:00 +00:00
Jean-Philippe Lang
532a76f78c
Resourcified roles.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 23:29:58 +00:00
Jean-Philippe Lang
9636882c1e
Use #labelled_form_for instead of #labelled_tabular_form_for.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:15:55 +00:00
Toshi MARUYAMA
d1a59a2a7d
[ #9489 ] linked label to its element
...
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:19:18 +00:00
Toshi MARUYAMA
66a577c10b
replace tabs to spaces at app/views/roles/index.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:43:24 +00:00
Toshi MARUYAMA
277b0a8a94
replace tabs to spaces at app/views/roles/report.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:05:16 +00:00
Toshi MARUYAMA
5a5bd902fa
remove trailing white-spaces from app/views/roles/edit.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 06:02:50 +00:00
Toshi MARUYAMA
bbda20f72e
remove trailing white-spaces from app/views/roles/_form.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 06:01:33 +00:00
Toshi MARUYAMA
a87f61fc72
remove trailing white-spaces from app/views/roles/new.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 10:23:01 +00:00
Toshi MARUYAMA
c941763cdc
rename .rhtml to .html.erb of app/views/roles/_form.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 00:40:35 +00:00
Toshi MARUYAMA
ebeee20a57
rename .rhtml to .html.erb of app/views/roles/report.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 00:40:00 +00:00
Toshi MARUYAMA
96eb807e23
rename .rhtml to .html.erb of app/views/roles/edit.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 00:39:26 +00:00
Toshi MARUYAMA
b69d691d6c
rename .rhtml to .html.erb of app/views/roles/new.rhtml.
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-25 00:38:43 +00:00
Toshi MARUYAMA
0c48e2814d
remove trailing white-spaces from app/views/roles/index.html.erb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:43:58 +00:00
Jean-Philippe Lang
c3be706ce5
Additional escaping.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-30 08:35:43 +00:00
Jean-Philippe Lang
aa0d01b3d9
Adds an issues visibility level on roles ( #7412 ).
...
It can be set so that users only see their own issues (created or assigned).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 17:53:15 +00:00
Jean-Philippe Lang
e4103aab16
Removed useless javascript.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 13:32:44 +00:00
Jean-Philippe Lang
a340b17d80
Adds an autoscroll div around permissions report table.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 13:31:36 +00:00
Eric Davis
038a88e970
Refactor: Merged RolesController#list and #index
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-15 16:41:16 +00:00
Jean-Philippe Lang
821f9eb390
HTML escaping ( #4106 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-25 13:28:36 +00:00
Jean-Philippe Lang
7f4635022f
Makes 'delete links' the same on admin views.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-12 09:25:39 +00:00
Jean-Philippe Lang
ad90811e40
Administration panel breadcrumbs ( #3314 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-05 12:22:02 +00:00
Jean-Philippe Lang
814e138c2a
Slight change to the permissions report view, with folding support.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-10 10:43:19 +00:00
Jean-Philippe Lang
47f5713b1e
Reorder links refactoring (follows r2526).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-01 12:03:48 +00:00
Jean-Philippe Lang
6c54b0ba3b
Makes permission screens localized ( #2070 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-10-24 15:24:35 +00:00
Jean-Philippe Lang
a37af7a226
Adds a workflow overview screen.
...
Workflow setup moved to a dedicated controller.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-28 12:03:17 +00:00
Jean-Philippe Lang
6ad989f828
Adds checkboxes toggle links on permissions report.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-08-26 16:05:02 +00:00
Jean-Philippe Lang
06e44b8e64
Do not toggle assignable check box when using un/check all permissions links on role form.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-14 17:26:13 +00:00
Jean-Philippe Lang
8cb5acf453
Add some tests on RolesController.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-17 20:02:51 +00:00
Jean-Philippe Lang
aec989707e
Workflow copy:
...
* added the ability the copy an existing workflow when creating a new role (closes #841 )
* use a single raw insert statement to copy tracker/role workflow rather than instantiating hundreds/thousands of objects
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-15 08:27:38 +00:00
Jean-Philippe Lang
3e0acc0b7e
Slight improvements to the browser views.
...
ApplicationHelper#set_html_title replaced by html_title with arguments and can be called several times in views to append elements to the title.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-01-02 22:41:53 +00:00
Jean-Philippe Lang
9a1b46fe42
New setting added to specify how many objects should be displayed on most paginated lists.
...
Default is: 25, 50, 100 (users can choose one of these values).
If one value only is entered in this setting (eg. 25), the 'per page' links are not displayed (prior behaviour).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-29 11:36:30 +00:00
Jean-Philippe Lang
f58db70bde
More detailed html title on several views.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-07 18:42:40 +00:00
Jean-Philippe Lang
5e38bd9363
Performance improvement on workflow setup screen.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-12-07 11:19:30 +00:00
Jean-Philippe Lang
df8945177a
Added label tags on role form permission checkboxes.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-05 20:06:53 +00:00
Jean-Philippe Lang
ca094446b3
Don't show attributes on role form for built-in roles.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-10-01 14:00:38 +00:00
Jean-Philippe Lang
05e27d0d83
Slight style update.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-27 19:56:33 +00:00
Jean-Philippe Lang
827e998afe
Application layout refactored.
...
The project menu is now the main menu.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-22 13:17:49 +00:00
Jean-Philippe Lang
21c97c6a13
Added project module concept.
...
A project module (eg. issue tracking, news, wiki,...) is a set of permissions that can enabled/disabled at project level.
For each project, modules can be enabled on the project settings view ('Modules' tab).
This requires a specific permission: 'Select project modules' (if this permission is turned off, only Redmine administrators can choose which modules a project uses).
When applying this migration, all modules are enabled for all existing projects.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-14 11:34:08 +00:00
Jean-Philippe Lang
317b460d96
Some deprecation fixes (end_form_tag and count API).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-29 17:25:22 +00:00
Jean-Philippe Lang
603e11d7a5
Merged 0.6 branch into trunk.
...
Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users.
This migration:
* is irreversible (please, don't forget to *backup* your database before upgrading)
* resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-29 16:52:35 +00:00
Jean-Philippe Lang
446889b3f0
Added a 'Assignable' boolean on Role model.
...
If unchecked, issues can not be assigned to users having this role.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-08-16 17:47:41 +00:00
Jean-Philippe Lang
104b7d457d
Removed some parentheses before arguments.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-23 16:46:04 +00:00
Jean-Philippe Lang
e02068eb2a
Removed some parentheses before arguments.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-22 21:19:16 +00:00
Jean-Philippe Lang
a824017d8c
Checkboxes on the workflow screen diagonal no longer disabled
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-17 11:02:46 +00:00
Jean-Philippe Lang
bd9a44c225
Added permissions report (link available on roles list view).
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-07 20:27:19 +00:00
Jean-Philippe Lang
3c8a38212e
Applied the same column width in different similar views.
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-02 19:27:05 +00:00
Jean-Philippe Lang
027bf93849
added svn:eol-style native property on /app files
...
git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-03-12 17:59:02 +00:00