Commit Graph

457 Commits

Author SHA1 Message Date
Jean-Philippe Lang 8b994475c4 Sort repositories in settings (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-17 18:43:34 +00:00
Jean-Philippe Lang cba13a21e9 Removed unused partial.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:31:37 +00:00
Jean-Philippe Lang 1bd5e58c84 Adds support for multiple repositories per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:19:19 +00:00
Jean-Philippe Lang fb1a2fd7cd Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:06 +00:00
Toshi MARUYAMA e2e872dc72 code layout clean up app/views/projects/settings/_members.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 08:05:28 +00:00
Toshi MARUYAMA 5835648290 route: use ":controller" instead of ":as" for project_enumerations
Rails3 new route format needs this syntax.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 00:08:50 +00:00
Toshi MARUYAMA bddd2a740d Rails3: view: use explicit post method at projects/settings/_modules.html.erb
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/projects/id/modules"' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 10:48:40 +00:00
Jean-Philippe Lang 8677f069ec html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 21:46:39 +00:00
Etienne Massip 7ba57e517b Explicitly declare all routes and deactivate default route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:33:01 +00:00
Jean-Philippe Lang ede9a03405 Removed TabularFormBuilder references in views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:40:28 +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
Jean-Philippe Lang 69a2431dd0 Dropped TimeEntryReportsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:33:05 +00:00
Jean-Philippe Lang 2967023a0e Resourcified boards.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:14:09 +00:00
Jean-Philippe Lang bb8e2beeac Version routes cleanup in views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 14:53:52 +00:00
Jean-Philippe Lang 307e97cc03 Adds icon on new item links in project settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 14:49:29 +00:00
Jean-Philippe Lang 05f3bb6241 Removed object name from form_for arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:21:10 +00:00
Jean-Philippe Lang 6f4fb8b892 Resourcified issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +00:00
Jean-Philippe Lang 30556f8cbf Makes issue categories available in project REST API (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:55:44 +00:00
Toshi MARUYAMA a09da046ec Rails3: view: use html_safe for subprojects at projects/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 15:02:56 +00:00
Toshi MARUYAMA 4167a5cb0d Rails3: view: use html_safe for :text_project_identifier_info at projects/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-30 00:57:18 +00:00
Toshi MARUYAMA 497887e121 replace tabs to spaces at app/views/projects/settings/_issue_categories.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:02:29 +00:00
Toshi MARUYAMA 887a4cc80d replace tabs to spaces at app/views/projects/settings/_boards.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:02:01 +00:00
Toshi MARUYAMA c1aebe228d replace tabs to spaces at app/views/projects/copy.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 01:11:54 +00:00
Toshi MARUYAMA ba86d0fdfe replace tabs to spaces at app/views/projects/settings/_repository.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:00:42 +00:00
Toshi MARUYAMA 0716dbb619 replace tabs to spaces at app/views/projects/settings/_versions.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 11:14:52 +00:00
Toshi MARUYAMA 71f49c723a remove trailing white-spaces from app/views/projects/show.api.rsb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:05:57 +00:00
Toshi MARUYAMA 532b86b7eb replace tabs to spaces at app/views/projects/settings/_members.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 00:13:57 +00:00
Toshi MARUYAMA 73d7fa96a3 remove trailing white-spaces from app/views/projects/index.api.rsb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 15:16:30 +00:00
Toshi MARUYAMA 4cf6ec45f6 replace tabs to spaces at app/views/projects/settings/_activities.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 13:09:54 +00:00
Toshi MARUYAMA 81f66f24d7 replace tabs to spaces at app/views/projects/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-15 09:27:45 +00:00
Toshi MARUYAMA d27fef6729 replace tabs to spaces and remove trailing white-spaces at app/views/projects/_members_box.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-15 09:22:21 +00:00
Toshi MARUYAMA bfeada83ef replace tabs to spaces at app/views/projects/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 12:13:44 +00:00
Toshi MARUYAMA cc52bf19f7 replace a tab to spaces at app/views/projects/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 12:13:15 +00:00
Toshi MARUYAMA 7c5122d864 remove trailing tabs from app/views/projects/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 12:12:09 +00:00
Toshi MARUYAMA 099816d352 remove trailing white-spaces and tabs from app/views/projects/settings/_members.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 10:49:56 +00:00
Toshi MARUYAMA f5aeb7d664 remove trailing white-spaces from app/views/projects/settings/_members.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 08:39:16 +00:00
Toshi MARUYAMA ed5bb57e48 remove trailing white-spaces from app/views/projects/settings/_modules.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 08:38:37 +00:00
Toshi MARUYAMA a1140efd95 rename .rhtml to .html.erb of app/views/projects/index.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@7017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 14:49:14 +00:00
Toshi MARUYAMA 6cf02bb834 rename .rhtml to .html.erb of app/views/projects/list_members.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@7004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 13:27:38 +00:00
Toshi MARUYAMA 7bfc3c352c rename .rhtml to .html.erb of app/views/projects/settings.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@7003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 13:26:57 +00:00
Toshi MARUYAMA 99c7d4a503 rename .rhtml to .html.erb of app/views/projects/_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@7002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 13:26:16 +00:00
Toshi MARUYAMA 80c4f221c9 rename .rhtml to .html.erb of app/views/projects/_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@7001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 13:25:34 +00:00
Toshi MARUYAMA 2ef99a64b5 rename .rhtml to .html.erb of app/views/projects/show.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@7000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 13:24:59 +00:00
Toshi MARUYAMA c59fe53288 rename .rhtml to .html.erb of app/views/projects/copy.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@6999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 13:23:52 +00:00
Toshi MARUYAMA 75231bac01 rename .rhtml to .html.erb of app/views/projects/destroy.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@6998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 13:23:05 +00:00
Toshi MARUYAMA 1252b44381 rename .rhtml to .html.erb of app/views/projects/settings/_activities.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@6989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 11:52:42 +00:00
Toshi MARUYAMA 32f0f20131 rename .rhtml to .html.erb of app/views/projects/settings/_members.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@6988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 11:52:04 +00:00
Toshi MARUYAMA e9c8dff3f1 rename .rhtml to .html.erb of app/views/projects/settings/_wiki.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@6987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 11:51:27 +00:00
Toshi MARUYAMA b5b16b09de rename .rhtml to .html.erb of app/views/projects/settings/_repository.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@6986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 11:50:50 +00:00
Toshi MARUYAMA d53fde6a88 rename .rhtml to .html.erb of app/views/projects/settings/_boards.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@6985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 11:50:12 +00:00
Toshi MARUYAMA 4019f2052a rename .rhtml to .html.erb of app/views/projects/settings/_modules.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@6984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 11:49:34 +00:00
Toshi MARUYAMA fd748a558b rename .rhtml to .html.erb of app/views/projects/settings/_versions.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@6983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 11:48:50 +00:00
Toshi MARUYAMA 80cc58b531 rename .rhtml to .html.erb of app/views/projects/settings/_issue_categories.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@6982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 11:48:07 +00:00
Toshi MARUYAMA 6a4114e842 HTML escape at app/views/projects/list_members.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:10:59 +00:00
Toshi MARUYAMA 59bc5af7ff remove trailing white-spaces from app/views/projects/show.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:39:24 +00:00
Jean-Philippe Lang 5ba1ef5df7 HTML escape.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-30 11:21:19 +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 f595197ecf Adds a 'Create and continue' button on project form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-21 15:51:58 +00:00
Jean-Philippe Lang 3c2ebd7aa2 Adds visibility condition on parent project in API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 11:41:04 +00:00
Jean-Philippe Lang 95f332af5a Adds parent project to /projects/:id API (#8229).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 11:39:10 +00:00
Jean-Philippe Lang 852cb183b1 Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:29:06 +00:00
Jean-Philippe Lang b86a748b1d Adds REST API for versions (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:34:58 +00:00
Jean-Philippe Lang 3e3c2333e4 Slight UI changes (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-29 11:59:16 +00:00
Toshi MARUYAMA 3720d7f6f2 scm: remove scm command and version on project setting (#4273).
show a message only if scm command is not available.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-29 10:56:49 +00:00
Toshi MARUYAMA 331489e8b8 set svn:eol-style=native app/views/projects/settings/_activities.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 04:33:11 +00:00
Toshi MARUYAMA 653884f27b scm: change separator between command and version ',' to '|' in setting (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-10 11:42:48 +00:00
Toshi MARUYAMA 5fe5e3dba3 scm: change i18n key name 'text_scm_version' to 'text_scm_command_version' in setting (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-10 11:42:26 +00:00
Toshi MARUYAMA 84b5a6e7b5 scm: add the feature of SCM command availability automatic check in administration panel (#4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 07:49:02 +00:00
Toshi MARUYAMA fb6c9a1396 scm: refactor projects/settings/_repository.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 06:35:49 +00:00
Toshi MARUYAMA ff77ecee86 scm: code clean up projects/settings/_repository.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:00:16 +00:00
Toshi MARUYAMA 5dbaffd094 scm: code clean up app/views/projects/settings/_repository.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-03 07:33:46 +00:00
Jean-Philippe Lang c41a3ace07 Removed duplicate Modules fieldset on project copy form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 13:26:32 +00:00
Jean-Philippe Lang 0786b9ef99 Replaces TimeEntry.visible_by with a visible scope.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 17:29:30 +00:00
Jean-Philippe Lang 4c46fa4ef4 Fixed: "Loading..." icon does not disappear after adding a project member when there is no other member to add (#7265).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-15 13:20:18 +00:00
Jean-Philippe Lang 88d65c5149 Do not show trackers and issue custom fields on project form when issue tracking is disabled (#7225).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 21:02:19 +00:00
Jean-Philippe Lang 9222cf91ea Changes ProjectsController#modules param name and add tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 20:57:17 +00:00
Jean-Philippe Lang 9fb770ba50 Moves enabled_module_names param to project attribute so that it can be set through the Project API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 20:36:31 +00:00
Jean-Philippe Lang 283d25d823 Makes /projects API accept same pagination parameters as other API collection resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-23 13:34:44 +00:00
Jean-Philippe Lang 5f57bceabb Makes some attributes optional in API response to get faster/lightweight responses.
These attributes are not required for common uses case (eg. updating an object). They can be requested in the reponse using the 'include' parameter. Example GET /issues/1.xml?include=journals. The list of attributes that can be included in responses will be documented in the wiki.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-11 10:19:11 +00:00
Jean-Philippe Lang 0e19aa4362 Fixed: error when serializing back objects with custom fields using ActiveResource (#6403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-10 10:12:19 +00:00
Jean-Philippe Lang 224921460a Adds a pseudo format to api template names and overrides ActionController#default_template so that api templates are chosen automatically.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-04 17:43:39 +00:00
Jean-Philippe Lang 9284a32c9a Moves project attributes default assignments from ProjectsController#new to the model (#6064).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-03 16:15:16 +00:00
Jean-Philippe Lang a1f12e3ade Converts ProjectsController to use the new API template system.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-03 12:06:14 +00:00
Jean-Philippe Lang 8ef06826c3 Raised maximum length of project names and identifiers to 255 and 100 respectively (#6446).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-14 12:33:14 +00:00
Jean-Philippe Lang 475530e59f Adds a "visible" option on User and Project custom fields (#1738).
If set to false, the custom field won't be display on user profile/project overview.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-07 14:15:01 +00:00
Jean-Philippe Lang 8a2aa5d217 Disable button to prevent accidental double click on project members (#6826).
Contributed by Andrew Vit.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 12:04:24 +00:00
Jean-Baptiste Barth 7c5497db65 Add a label for user and group search fields. #6521
Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-30 16:47:33 +00:00
Jean-Baptiste Barth c91ca4fcd9 Fix wikilinks in project > settings > versions and version view. #6435 #4416
Contributed by Mischa The Evil and Felix Schäfer.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-29 22:40:02 +00:00
Eric Davis c514dd6885 Refactor: convert WikiController to a REST resource
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-28 21:25:38 +00:00
Eric Davis e9efa5b981 Refactor: use :id instead of :page when linking to Wiki Pages
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-27 16:27:06 +00:00
Eric Davis 2ecca7e4df Refactor: rename TimelogController#details to #index
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-06 18:23:45 +00:00
Eric Davis e13790c62c Refactor: extract TimelogController#report to a new controller class
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-05 16:07:17 +00:00
Eric Davis bd193a026d Refactor: convert VersionsController to a REST resource.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-17 15:55:08 +00:00
Eric Davis b8ea556616 Fix the new subproject link on project overview. #6388
Contributed by Felix Schäfer.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-17 04:22:46 +00:00
Eric Davis 3a2efb4757 Refactor: convert ProjectEnumerations to a resource on a project.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-10 16:00:49 +00:00
Eric Davis 8d52608dba Refactor: convert the Projects routes to resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-09 18:57:21 +00:00
Eric Davis bf7476af5b Refactor: split method ProjectsController#edit to ProjectsController#update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-08 16:01:51 +00:00
Eric Davis 2295b61cb6 Refactor: rename method ProjectsController#add to ProjectsController#new
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-07 15:00:27 +00:00
Eric Davis 06878e5004 Change project add form to use #create. (From r4067)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-06 15:09:52 +00:00
Eric Davis c1068bf0cd Refactor: move method, ProjectsController#reset_activities to ProjectEnumerationsController#destroy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-03 15:04:03 +00:00