]> source.dussan.org Git - redmine.git/log
redmine.git
14 years agoUpdate changelog for the 1.0.2 release
Eric Davis [Sun, 26 Sep 2010 22:39:44 +0000 (22:39 +0000)]
Update changelog for the 1.0.2 release

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4209 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoSupport leading and trailing spaces in filenames or directories in the git adapter...
Eric Davis [Sun, 26 Sep 2010 21:54:52 +0000 (21:54 +0000)]
Support leading and trailing spaces in filenames or directories in the git adapter. #6499

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4189 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoSupport spaces in the files or directories in the git adapter. #6054
Eric Davis [Sun, 26 Sep 2010 19:07:46 +0000 (19:07 +0000)]
Support spaces in the files or directories in the git adapter. #6054

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4188 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoParse the timezone in #last_rev for git to correct display the Age diplay. #6346
Eric Davis [Sun, 26 Sep 2010 18:41:06 +0000 (18:41 +0000)]
Parse the timezone in #last_rev for git to correct display the Age diplay. #6346

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4187 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixes reverting an issue to a status with a done_ratio of 0%. #5170
Eric Davis [Sun, 26 Sep 2010 18:13:31 +0000 (18:13 +0000)]
Fixes reverting an issue to a status with a done_ratio of 0%. #5170

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4186 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRedirect to project settings after copying a project. #6443
Eric Davis [Sun, 26 Sep 2010 18:04:54 +0000 (18:04 +0000)]
Redirect to project settings after copying a project. #6443

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4185 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRevert "Fixed: gantt broken when no due date on project issues and versions."
Eric Davis [Sun, 26 Sep 2010 17:35:18 +0000 (17:35 +0000)]
Revert "Fixed: gantt broken when no due date on project issues and versions."

It broke the tests for overdue projects and isn't a good way to fix #6350
because it makes an assumption that a project is due Today and will still
error if issue tracking is disabled.

This reverts commit a7fd592db4037d635d04ca5ce3f01d0af3f0c8ae. (r4178)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4184 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoWorkaround for i18n 0.4.x with the old style syntax. #6428 #5608
Eric Davis [Sun, 26 Sep 2010 17:13:52 +0000 (17:13 +0000)]
Workaround for i18n 0.4.x with the old style syntax. #6428 #5608

This will also silance the whole trace with the deprecation warning.

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4183 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdd documentation about setting the log level. #6135
Eric Davis [Sun, 26 Sep 2010 16:54:38 +0000 (16:54 +0000)]
Add documentation about setting the log level. #6135

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4182 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixed: don't reset watchers when changing tracker. #6479
Jean-Baptiste Barth [Sun, 26 Sep 2010 13:52:25 +0000 (13:52 +0000)]
Fixed: don't reset watchers when changing tracker. #6479

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4181 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslation updates
Azamat Hackimov [Sun, 26 Sep 2010 13:47:56 +0000 (13:47 +0000)]
Translation updates
* pt-BR (#6490)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4180 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoProject tests updated.
Jean-Philippe Lang [Sun, 26 Sep 2010 08:24:51 +0000 (08:24 +0000)]
Project tests updated.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4179 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixed: gantt broken when no due date on project issues and versions.
Jean-Philippe Lang [Sun, 26 Sep 2010 08:16:05 +0000 (08:16 +0000)]
Fixed: gantt broken when no due date on project issues and versions.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4178 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixed: error on mail notification when adding an invalid file (#6452).
Jean-Philippe Lang [Sun, 26 Sep 2010 08:07:41 +0000 (08:07 +0000)]
Fixed: error on mail notification when adding an invalid file (#6452).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4177 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixes broken filter clearing links on gantt and calendar (#6473).
Jean-Philippe Lang [Sun, 26 Sep 2010 07:51:10 +0000 (07:51 +0000)]
Fixes broken filter clearing links on gantt and calendar (#6473).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4176 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslation updates
Azamat Hackimov [Fri, 24 Sep 2010 18:04:32 +0000 (18:04 +0000)]
Translation updates
* cs (#6471)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4175 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move NewsController#preview to PreviewsController#news
Eric Davis [Fri, 24 Sep 2010 16:26:46 +0000 (16:26 +0000)]
Refactor: move NewsController#preview to PreviewsController#news

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4174 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslation updates
Azamat Hackimov [Thu, 23 Sep 2010 16:23:39 +0000 (16:23 +0000)]
Translation updates
* cs (#6471)
* ja (#6465)
* zh-TW (#6466)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4173 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move #destroy_comment method to CommentsController#destroy
Eric Davis [Thu, 23 Sep 2010 15:20:19 +0000 (15:20 +0000)]
Refactor: move #destroy_comment method to CommentsController#destroy

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4172 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslation update
Azamat Hackimov [Wed, 22 Sep 2010 19:45:30 +0000 (19:45 +0000)]
Translation update
* ru

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4171 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move NewsController#add_comment to CommentsController#create
Eric Davis [Wed, 22 Sep 2010 16:25:09 +0000 (16:25 +0000)]
Refactor: move NewsController#add_comment to CommentsController#create

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4170 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoNew string to translate - field_text. It appear when you trying save empty wiki-page...
Azamat Hackimov [Wed, 22 Sep 2010 16:06:29 +0000 (16:06 +0000)]
New string to translate - field_text. It appear when you trying save empty wiki-page. See #6448 for reference.
Translation updates
* ja (#6441)
* ru
* zh-TW (#6451)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4169 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: split NewsController#edit into #edit and #update
Eric Davis [Tue, 21 Sep 2010 15:20:37 +0000 (15:20 +0000)]
Refactor: split NewsController#edit into #edit and #update

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4168 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdded a users options to the reminders email
Eric Davis [Mon, 20 Sep 2010 23:17:51 +0000 (23:17 +0000)]
Added a users options to the reminders email

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4167 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoDocument render_issue_tooltip
Eric Davis [Mon, 20 Sep 2010 18:50:14 +0000 (18:50 +0000)]
Document render_issue_tooltip

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4166 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdd view_issues_form_details_top hook
Eric Davis [Mon, 20 Sep 2010 18:50:09 +0000 (18:50 +0000)]
Add view_issues_form_details_top hook

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4165 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdd User#allowed_to_globally? which wraps User#allowed_to?
Eric Davis [Mon, 20 Sep 2010 16:38:00 +0000 (16:38 +0000)]
Add User#allowed_to_globally? which wraps User#allowed_to?

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4164 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: split NewsController#new into #new and #create methods.
Eric Davis [Mon, 20 Sep 2010 15:13:48 +0000 (15:13 +0000)]
Refactor: split NewsController#new into #new and #create methods.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4163 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdd scm.css to news pages to allow proper syntax highlighting. #6270
Eric Davis [Mon, 20 Sep 2010 02:55:37 +0000 (02:55 +0000)]
Add scm.css to news pages to allow proper syntax highlighting. #6270

Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4107 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFix failing test.
Eric Davis [Mon, 20 Sep 2010 02:55:32 +0000 (02:55 +0000)]
Fix failing test.

See http://ci.finn.de/builds/1-8-7_redmine-trunk_postgres/4100

Contributed by Holger Just

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4106 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoUpdated issue delete confirmation when it has child issues. #6191
Eric Davis [Mon, 20 Sep 2010 02:55:26 +0000 (02:55 +0000)]
Updated issue delete confirmation when it has child issues. #6191

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4105 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoUse the correct local variables in the PDF export. #6382
Eric Davis [Mon, 20 Sep 2010 02:55:20 +0000 (02:55 +0000)]
Use the correct local variables in the PDF export. #6382

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4104 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTurn on ssl Gravatars for all SSL requests. #5929
Eric Davis [Mon, 20 Sep 2010 02:55:14 +0000 (02:55 +0000)]
Turn on ssl Gravatars for all SSL requests. #5929

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4103 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslations update
Azamat Hackimov [Sun, 19 Sep 2010 12:00:23 +0000 (12:00 +0000)]
Translations update
* ru
* zh-TW (#6365)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4102 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdds a link to edit the associated wiki page on the version view. #4416
Jean-Baptiste Barth [Sat, 18 Sep 2010 17:30:22 +0000 (17:30 +0000)]
Adds a link to edit the associated wiki page on the version view. #4416

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4101 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixes switching between inline and side-by-side in diff view with path. #6242
Jean-Baptiste Barth [Sat, 18 Sep 2010 16:50:08 +0000 (16:50 +0000)]
Fixes switching between inline and side-by-side in diff view with path. #6242

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4100 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRemoved file mistakenly added in r4092. #6392
Jean-Baptiste Barth [Fri, 17 Sep 2010 23:13:26 +0000 (23:13 +0000)]
Removed file mistakenly added in r4092. #6392

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4099 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: add VersionsController#status_by to the resource.
Eric Davis [Fri, 17 Sep 2010 16:11:43 +0000 (16:11 +0000)]
Refactor: add VersionsController#status_by to the resource.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4098 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: convert VersionsController to a REST resource.
Eric Davis [Fri, 17 Sep 2010 15:55:08 +0000 (15:55 +0000)]
Refactor: convert VersionsController to a REST resource.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4097 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdded some documentation about the Rails Logger. #6135
Eric Davis [Fri, 17 Sep 2010 04:31:17 +0000 (04:31 +0000)]
Added some documentation about the Rails Logger. #6135

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4096 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFix the new subproject link on project overview. #6388
Eric Davis [Fri, 17 Sep 2010 04:22:46 +0000 (04:22 +0000)]
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

14 years agoUse the relative_url_root when generating asset_paths. #3935
Eric Davis [Fri, 17 Sep 2010 04:06:40 +0000 (04:06 +0000)]
Use the relative_url_root when generating asset_paths. #3935

Contributed by Daniel S from Redmine.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4094 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixed: pressing enter in filters should result to an 'apply', not a 'save'. #2285
Jean-Baptiste Barth [Thu, 16 Sep 2010 21:33:49 +0000 (21:33 +0000)]
Fixed: pressing enter in filters should result to an 'apply', not a 'save'. #2285

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4093 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFix links to activity pages broken with r4047. #6392
Jean-Baptiste Barth [Thu, 16 Sep 2010 21:26:30 +0000 (21:26 +0000)]
Fix links to activity pages broken with r4047. #6392

Contributed by Felix Schafer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4092 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixed non standard SQL syntax. #6413
Jean-Baptiste Barth [Thu, 16 Sep 2010 19:28:04 +0000 (19:28 +0000)]
Fixed non standard SQL syntax. #6413

Contributed by Juan G

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4091 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: split VersionsController#new into #new and #create
Eric Davis [Thu, 16 Sep 2010 18:27:33 +0000 (18:27 +0000)]
Refactor: split VersionsController#new into #new and #create

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4090 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoUse the full path to the partials
Eric Davis [Wed, 15 Sep 2010 22:43:30 +0000 (22:43 +0000)]
Use the full path to the partials

When trying to use the issue form in a plugin, it would try to use the
relative path to the partials which were incorrect.

  Example: would render 'my_plugin_views/attributes'

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4089 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: Split VersionsController#edit into #edit and #update
Eric Davis [Wed, 15 Sep 2010 16:50:25 +0000 (16:50 +0000)]
Refactor: Split VersionsController#edit into #edit and #update

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4088 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoChange the TimelogController's to/from dates based on the project time entries
Eric Davis [Tue, 14 Sep 2010 19:02:25 +0000 (19:02 +0000)]
Change the TimelogController's to/from dates based on the project time entries

Instead of looking for the earliest and latest time entry system wide for the
dates in the form, now TimelogController will only look at the time entries
for the current project (and parent/sub projects).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4087 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move method to Model.
Eric Davis [Tue, 14 Sep 2010 19:02:20 +0000 (19:02 +0000)]
Refactor: move method to Model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4086 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: convert FilesController to a restful resource.
Eric Davis [Tue, 14 Sep 2010 16:24:07 +0000 (16:24 +0000)]
Refactor: convert FilesController to a restful resource.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4085 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: split FilesController#new into #new and #create.
Eric Davis [Mon, 13 Sep 2010 20:35:03 +0000 (20:35 +0000)]
Refactor: split FilesController#new into #new and #create.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4084 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixed "Create and continue" redirection broken by recent changes. #6333
Jean-Baptiste Barth [Sat, 11 Sep 2010 20:21:27 +0000 (20:21 +0000)]
Fixed "Create and continue" redirection broken by recent changes. #6333

IssuesController#create is no more scoped under project, but
IssuesController#new is, so we need to precise project_id
when redirecting to "New issue" form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4083 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoFixed broken context_menu on roadmap. #6351
Jean-Baptiste Barth [Sat, 11 Sep 2010 14:00:23 +0000 (14:00 +0000)]
Fixed broken context_menu on roadmap. #6351

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4082 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslations update
Azamat Hackimov [Sat, 11 Sep 2010 11:16:56 +0000 (11:16 +0000)]
Translations update
 * ja (#6363)
 * ko (#6307)
 * po (#6458)
 * pt-BR (#6316)
 * ru
 * sr and sr-YU (#6339)
 * zh-TW (#6306)
New strings to translate
 * field_member_of_group (r4077)
 * field_assigned_to_role (r4078)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4081 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move method to Project#css_classes
Eric Davis [Fri, 10 Sep 2010 23:07:10 +0000 (23:07 +0000)]
Refactor: move method to Project#css_classes

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4080 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: replace chained finders with an inject. Should handle edge cases better.
Eric Davis [Fri, 10 Sep 2010 19:53:57 +0000 (19:53 +0000)]
Refactor: replace chained finders with an inject. Should handle edge cases better.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4079 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdded a "Member of Role" to the issues filters. #5869
Eric Davis [Fri, 10 Sep 2010 19:44:45 +0000 (19:44 +0000)]
Added a "Member of Role" to the issues filters. #5869

This filter will check an issue's assigned to field for users who have
(or don't have) a specific Role(s).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4078 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdded a "Member of Group" to the issues filter. #5869
Eric Davis [Fri, 10 Sep 2010 18:46:29 +0000 (18:46 +0000)]
Added a "Member of Group" to the issues filter. #5869

This filter will check an issue's assigned to field for users in (or not in)
specific groups.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4077 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoDefine Principal#name so all subclasses will have some sort of name when printed.
Eric Davis [Fri, 10 Sep 2010 18:46:23 +0000 (18:46 +0000)]
Define Principal#name so all subclasses will have some sort of name when printed.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4076 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: convert ProjectEnumerations to a resource on a project.
Eric Davis [Fri, 10 Sep 2010 16:00:49 +0000 (16:00 +0000)]
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

14 years agoFixed the zoom, previous, and next links on the Gantt chart.
Eric Davis [Fri, 10 Sep 2010 03:09:18 +0000 (03:09 +0000)]
Fixed the zoom, previous, and next links on the Gantt chart.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4074 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdd project names to the Versions in the Gantt export. #5904
Eric Davis [Fri, 10 Sep 2010 03:09:11 +0000 (03:09 +0000)]
Add project names to the Versions in the Gantt export. #5904

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4073 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRewrite the Gantt chart. #6276
Eric Davis [Fri, 10 Sep 2010 03:09:02 +0000 (03:09 +0000)]
Rewrite the Gantt chart. #6276

This version of the Gantt chart supports nested charts. So Projects,
Versions, and Issues will be nested underneath their parents correctly.

Additional features:

* Move all Gantt code to Redmine::Helpers::Gantt class instead of having it in
  the Gantt class, controller, and view
* Recursive and nest sub-projects
* Recursive and nest versions
* Recursive and nest issues
* Draw a line showing when a Project is active and it's progress
* Draw a line showing when a Version is active and it's progress
* Show a version's % complete
* Change the color of Projects, Versions, and Issues if they are late or
  behind schedule
* Added Project#start_date and #due_date
* Added Project#completed_percent
* Use a mini-gravatar on the Gantt chart
* Added tests for the Gantt rendering

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4072 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: convert the Projects routes to resources.
Eric Davis [Thu, 9 Sep 2010 18:57:21 +0000 (18:57 +0000)]
Refactor: convert the Projects routes to resources.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4071 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: split method ProjectsController#edit to ProjectsController#update.
Eric Davis [Wed, 8 Sep 2010 16:01:51 +0000 (16:01 +0000)]
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

14 years agoRefactor: rename method ProjectsController#add to ProjectsController#new
Eric Davis [Tue, 7 Sep 2010 15:00:27 +0000 (15:00 +0000)]
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

14 years agoChange project add form to use #create. (From r4067)
Eric Davis [Mon, 6 Sep 2010 15:09:52 +0000 (15:09 +0000)]
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

14 years agoRefactor: split ProjectsController#add into #add (GET) and #create (POST).
Eric Davis [Mon, 6 Sep 2010 14:53:08 +0000 (14:53 +0000)]
Refactor: split ProjectsController#add into #add (GET) and #create (POST).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4067 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAllow user password changes when changing to Internal authentication. #6267
Eric Davis [Mon, 6 Sep 2010 01:02:52 +0000 (01:02 +0000)]
Allow user password changes when changing to Internal authentication. #6267

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4066 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefocus the related issue field after submitting an issue. #6275
Eric Davis [Mon, 6 Sep 2010 00:48:44 +0000 (00:48 +0000)]
Refocus the related issue field after submitting an issue. #6275

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4065 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoChange link_to_if_authorized to allow url paths. (Fixes #6195)
Eric Davis [Mon, 6 Sep 2010 00:26:08 +0000 (00:26 +0000)]
Change link_to_if_authorized to allow url paths. (Fixes #6195)

Both url paths (/issues/1234) and params hashes (:controller => 'issues')
are now supported by link_to_if_authorized.  The authorize_for method
requires a controller/action pair so urls need to be parsed against the
routes to find their controller/action.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4064 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoUse the built in Rails ActionView::TestCase for testing helpers.
Eric Davis [Mon, 6 Sep 2010 00:26:02 +0000 (00:26 +0000)]
Use the built in Rails ActionView::TestCase for testing helpers.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4063 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move method to model. (references r4057)
Eric Davis [Sun, 5 Sep 2010 22:57:20 +0000 (22:57 +0000)]
Refactor: move method to model. (references r4057)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4062 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdded string "cant_link_an_issue_with_a_descendant" to translations missed in #443
Azamat Hackimov [Sun, 5 Sep 2010 13:01:38 +0000 (13:01 +0000)]
Added string "cant_link_an_issue_with_a_descendant" to translations missed in #443
Solves #6278

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4061 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslation updates:
Azamat Hackimov [Sun, 5 Sep 2010 11:33:08 +0000 (11:33 +0000)]
Translation updates:
* ca (#6263)
* nl (#6248)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4060 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoDo not display items without valid selection in context menu when on different projec...
Jean-Baptiste Barth [Fri, 3 Sep 2010 21:43:07 +0000 (21:43 +0000)]
Do not display items without valid selection in context menu when on different projects. #4998

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4059 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdded missing tests for User#allowed_to? #6291
Jean-Baptiste Barth [Fri, 3 Sep 2010 20:16:00 +0000 (20:16 +0000)]
Added missing tests for User#allowed_to? #6291

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4058 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdd css classes to journals display to facilitate theming
Jean-Baptiste Barth [Fri, 3 Sep 2010 20:05:51 +0000 (20:05 +0000)]
Add css classes to journals display to facilitate theming

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4057 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoHide checkboxes in issues list when printing
Jean-Baptiste Barth [Fri, 3 Sep 2010 19:59:49 +0000 (19:59 +0000)]
Hide checkboxes in issues list when printing

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4056 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAllow mass status update through context menu. #3411
Jean-Baptiste Barth [Fri, 3 Sep 2010 19:54:24 +0000 (19:54 +0000)]
Allow mass status update through context menu. #3411

NB: it cannot be done with issues from different projects, same as
other fields. This will be addressed separately, see #5332.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4055 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move method, ProjectsController#reset_activities to ProjectEnumerationsCont...
Eric Davis [Fri, 3 Sep 2010 15:04:03 +0000 (15:04 +0000)]
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

14 years agoRefactor: move method, ProjectsController#save_activities to ProjectEnumerationsContr...
Eric Davis [Thu, 2 Sep 2010 17:39:56 +0000 (17:39 +0000)]
Refactor: move method, ProjectsController#save_activities to ProjectEnumerationsController#save

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4053 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move method, ProjectsController#add_file to FilesController#new.
Eric Davis [Wed, 1 Sep 2010 15:17:45 +0000 (15:17 +0000)]
Refactor: move method, ProjectsController#add_file to FilesController#new.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4052 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move method, ProjectsController#list_files to FilesController#index.
Eric Davis [Tue, 31 Aug 2010 15:12:58 +0000 (15:12 +0000)]
Refactor: move method, ProjectsController#list_files to FilesController#index.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4051 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: move method, ProjectsController#roadmap to VersionsController#index.
Eric Davis [Mon, 30 Aug 2010 15:30:28 +0000 (15:30 +0000)]
Refactor: move method, ProjectsController#roadmap to VersionsController#index.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4050 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslation updates
Azamat Hackimov [Sun, 29 Aug 2010 12:54:04 +0000 (12:54 +0000)]
Translation updates
* mk (#6208)
* sv (#6210)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4049 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAllow setting an issue's notes via params[:issue][:notes]. (XML API)
Eric Davis [Fri, 27 Aug 2010 20:08:59 +0000 (20:08 +0000)]
Allow setting an issue's notes via params[:issue][:notes]. (XML API)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4048 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: extract ProjectsController#activity to a new Activities controller.
Eric Davis [Fri, 27 Aug 2010 14:05:54 +0000 (14:05 +0000)]
Refactor: extract ProjectsController#activity to a new Activities controller.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4047 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: extract common code to link_to_month.
Eric Davis [Thu, 26 Aug 2010 16:37:26 +0000 (16:37 +0000)]
Refactor: extract common code to link_to_month.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4046 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdd the project_id to the Calendar link to month.
Eric Davis [Thu, 26 Aug 2010 16:37:21 +0000 (16:37 +0000)]
Add the project_id to the Calendar link to month.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4045 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: extract target link generation.
Eric Davis [Thu, 26 Aug 2010 16:37:16 +0000 (16:37 +0000)]
Refactor: extract target link generation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4044 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: extract ternary operators to temps.
Eric Davis [Thu, 26 Aug 2010 16:37:11 +0000 (16:37 +0000)]
Refactor: extract ternary operators to temps.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4043 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: extract link to previous and next month into helpers.
Eric Davis [Thu, 26 Aug 2010 16:37:05 +0000 (16:37 +0000)]
Refactor: extract link to previous and next month into helpers.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4042 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: convert many of the custom Issue routes to REST resources.
Eric Davis [Thu, 26 Aug 2010 16:36:59 +0000 (16:36 +0000)]
Refactor: convert many of the custom Issue routes to REST resources.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4041 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: extract method in bulk_update.
Eric Davis [Wed, 25 Aug 2010 14:59:16 +0000 (14:59 +0000)]
Refactor: extract method in bulk_update.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4040 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoremove BOM from zh-TW
Azamat Hackimov [Tue, 24 Aug 2010 16:15:14 +0000 (16:15 +0000)]
remove BOM from zh-TW

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4039 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoTranslation updates
Azamat Hackimov [Tue, 24 Aug 2010 15:32:11 +0000 (15:32 +0000)]
Translation updates
* de (#6198)
* ja (#6189)
* zh-TW (#6197)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4038 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoRefactor: extract #bulk_update method from IssuesController#bulk_edit.
Eric Davis [Tue, 24 Aug 2010 15:27:12 +0000 (15:27 +0000)]
Refactor: extract #bulk_update method from IssuesController#bulk_edit.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4037 e93f8b46-1217-0410-a6f0-8f06a7374b81

14 years agoAdding missed new strings for #6153:
Azamat Hackimov [Mon, 23 Aug 2010 19:39:35 +0000 (19:39 +0000)]
Adding missed new strings for #6153:
*  project_module_gantt: Gantt
*  project_module_calendar: Calendar

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4036 e93f8b46-1217-0410-a6f0-8f06a7374b81