OSDN Git Service

redminele/redmine.git
13 years agoRefactor: merged error rendering methods.
Jean-Philippe Lang [Sat, 23 Oct 2010 11:07:04 +0000 (11:07 +0000)]
Refactor: merged error rendering methods.

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

13 years agoImproved error message when trying to access an archived project (#2995).
Jean-Philippe Lang [Sat, 23 Oct 2010 09:48:01 +0000 (09:48 +0000)]
Improved error message when trying to access an archived project (#2995).

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

13 years agoUpdated french translation.
Jean-Philippe Lang [Sat, 23 Oct 2010 09:22:28 +0000 (09:22 +0000)]
Updated french translation.

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

13 years agoMakes zoom buttons on gantt looks like the others.
Jean-Philippe Lang [Sat, 23 Oct 2010 09:08:55 +0000 (09:08 +0000)]
Makes zoom buttons on gantt looks like the others.

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

13 years agoRefactor: move method to model with compatibility wrapper
Eric Davis [Fri, 22 Oct 2010 22:38:45 +0000 (22:38 +0000)]
Refactor: move method to model with compatibility wrapper

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

13 years agoMoves a method to the appropriate helper.
Jean-Philippe Lang [Fri, 22 Oct 2010 22:29:32 +0000 (22:29 +0000)]
Moves a method to the appropriate helper.

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

13 years agoFixed: error on gantt when no issue have a due date (#6350).
Jean-Philippe Lang [Fri, 22 Oct 2010 22:13:39 +0000 (22:13 +0000)]
Fixed: error on gantt when no issue have a due date (#6350).

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

13 years agoTranslation update for en: field_member_of_group and field_assigned_to_role
Eric Davis [Fri, 22 Oct 2010 22:10:41 +0000 (22:10 +0000)]
Translation update for en: field_member_of_group and field_assigned_to_role

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

13 years agoMark the failed test in r4276 as pending. Tests should never fail when committed.
Eric Davis [Fri, 22 Oct 2010 21:29:02 +0000 (21:29 +0000)]
Mark the failed test in r4276 as pending. Tests should never fail when committed.

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

13 years agoFixed: timelog link in the activity broken by recent refactoring (#6702).
Jean-Philippe Lang [Fri, 22 Oct 2010 20:40:11 +0000 (20:40 +0000)]
Fixed: timelog link in the activity broken by recent refactoring (#6702).

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

13 years agoAdds a failing test for #6350.
Jean-Philippe Lang [Fri, 22 Oct 2010 20:32:05 +0000 (20:32 +0000)]
Adds a failing test for #6350.

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

13 years agoAdd ids to some sections of the issue form
Eric Davis [Fri, 22 Oct 2010 18:20:00 +0000 (18:20 +0000)]
Add ids to some sections of the issue form

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

13 years agoFixed: file upload on wiki page broken by recent refactoring (#6724).
Jean-Philippe Lang [Fri, 22 Oct 2010 17:38:05 +0000 (17:38 +0000)]
Fixed: file upload on wiki page broken by recent refactoring (#6724).

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

13 years agoAdd documentation about contributing to Redmine with git
Eric Davis [Fri, 22 Oct 2010 17:18:11 +0000 (17:18 +0000)]
Add documentation about contributing to Redmine with git

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

13 years agoRefactor: split WikiController#edit into #update
Eric Davis [Fri, 22 Oct 2010 16:20:20 +0000 (16:20 +0000)]
Refactor: split WikiController#edit into #update

update will handle the saving and should be accessed via POST only.

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

13 years agoFixes display of archived child projects on the admin project list.
Jean-Philippe Lang [Fri, 22 Oct 2010 15:11:04 +0000 (15:11 +0000)]
Fixes display of archived child projects on the admin project list.

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

13 years agoRemoves description column from the admin project list to get a better looking projec...
Jean-Philippe Lang [Fri, 22 Oct 2010 14:57:20 +0000 (14:57 +0000)]
Removes description column from the admin project list to get a better looking project tree.

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

13 years agoRemoves duplicate helper introduced in r4072.
Jean-Philippe Lang [Fri, 22 Oct 2010 14:49:46 +0000 (14:49 +0000)]
Removes duplicate helper introduced in r4072.

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

13 years agoFixed: "Add file" link broken by recent refactoring (#6627).
Jean-Philippe Lang [Fri, 22 Oct 2010 14:45:02 +0000 (14:45 +0000)]
Fixed: "Add file" link broken by recent refactoring (#6627).

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

13 years agoFixed: "Add news" link broken by recent refactoring (#6650).
Jean-Philippe Lang [Fri, 22 Oct 2010 14:42:38 +0000 (14:42 +0000)]
Fixed: "Add news" link broken by recent refactoring (#6650).

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

13 years agoRefactor: rename WikiController#index to #show, it's a single resource action
Eric Davis [Thu, 21 Oct 2010 16:07:28 +0000 (16:07 +0000)]
Refactor: rename WikiController#index to #show, it's a single resource action

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

13 years agoRefactor: change :id on WikiController to use :project_id
Eric Davis [Wed, 20 Oct 2010 21:26:30 +0000 (21:26 +0000)]
Refactor: change :id on WikiController to use :project_id

Using :id to track projects on non-project controllers is confusing and
makes routing with resources difficult.

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

13 years agoRemove the Description label from the issue view and omit the block if empty (#6677).
Jean-Philippe Lang [Tue, 19 Oct 2010 19:26:07 +0000 (19:26 +0000)]
Remove the Description label from the issue view and omit the block if empty (#6677).

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

13 years agoFixed: precedes/follows relations no longer update start/due dates (#5803).
Jean-Philippe Lang [Tue, 19 Oct 2010 19:16:50 +0000 (19:16 +0000)]
Fixed: precedes/follows relations no longer update start/due dates (#5803).

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

13 years agoRefactor: remove WikiController#special
Eric Davis [Tue, 19 Oct 2010 15:24:16 +0000 (15:24 +0000)]
Refactor: remove WikiController#special

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

13 years agoRefactor: extract method from WikiController#special
Eric Davis [Mon, 18 Oct 2010 15:27:49 +0000 (15:27 +0000)]
Refactor: extract method from WikiController#special

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

13 years agoRemember the selected "Member of Role" and "Member of Group" options. #6467
Eric Davis [Sat, 16 Oct 2010 00:00:23 +0000 (00:00 +0000)]
Remember the selected "Member of Role" and "Member of Group" options. #6467

Contributed by Yuki Kita

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

13 years agoUse HTTP DELETE when deleting a time entry. #6674
Eric Davis [Fri, 15 Oct 2010 23:37:01 +0000 (23:37 +0000)]
Use HTTP DELETE when deleting a time entry. #6674

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

13 years agoRevert part of r3936.
Eric Davis [Fri, 15 Oct 2010 23:11:05 +0000 (23:11 +0000)]
Revert part of r3936.

link_to_if_authorized no longer supports paths for the link options.

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

13 years agoRevert part of r4064.
Eric Davis [Fri, 15 Oct 2010 23:11:00 +0000 (23:11 +0000)]
Revert part of r4064.

Having link_to_if_authorized support urls has too many edge cases and isn't
working with sub-uris.  #6195 #6513

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

13 years agoAdd rake task to send test email. (#6511)
Eric Davis [Fri, 15 Oct 2010 22:50:33 +0000 (22:50 +0000)]
Add rake task to send test email. (#6511)

Contributed by Holger Just

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

13 years agoRemove the translated string. It's definition changed in en
Eric Davis [Fri, 15 Oct 2010 22:41:52 +0000 (22:41 +0000)]
Remove the translated string. It's definition changed in en

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

13 years agoAdd rake tasks to add and remove keys in the locales. #6548
Eric Davis [Fri, 15 Oct 2010 22:41:47 +0000 (22:41 +0000)]
Add rake tasks to add and remove keys in the locales. #6548

Contributed by Felix Schäfer

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

13 years agoRefactor: extract #page_index from WikiController#special
Eric Davis [Fri, 15 Oct 2010 15:36:10 +0000 (15:36 +0000)]
Refactor: extract #page_index from WikiController#special

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

13 years agoRefactor: extract finder to a utility method
Eric Davis [Thu, 14 Oct 2010 18:01:46 +0000 (18:01 +0000)]
Refactor: extract finder to a utility method

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

13 years agoRefactor: extract method in WikiController#special to create a new #export method
Eric Davis [Wed, 13 Oct 2010 17:13:50 +0000 (17:13 +0000)]
Refactor: extract method in WikiController#special to create a new #export method

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

13 years agoRefactor: convert timelogs to a REST resource (:time_entries)
Eric Davis [Tue, 12 Oct 2010 15:55:21 +0000 (15:55 +0000)]
Refactor: convert timelogs to a REST resource (:time_entries)

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

13 years agoFixed bad markup in users/general partial
Jean-Baptiste Barth [Mon, 11 Oct 2010 20:34:33 +0000 (20:34 +0000)]
Fixed bad markup in users/general partial

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

13 years agoRefactor: extract TimelogController#edit to #update
Eric Davis [Mon, 11 Oct 2010 15:31:42 +0000 (15:31 +0000)]
Refactor: extract TimelogController#edit to #update

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

13 years agoChange Project#notified_users to check for the 'all' notification option. #6541
Eric Davis [Sun, 10 Oct 2010 21:42:24 +0000 (21:42 +0000)]
Change Project#notified_users to check for the 'all' notification option. #6541

The previous mail_notification? check would always pass since the
notifications where converted to strings and strings are always true.

Also changed Project#recipients to use #notified_users instead of duplicated
code.

Based on contribution by Felix Schäfer.

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

13 years agoCorrectly update all mail_notification options. #6549
Eric Davis [Sun, 10 Oct 2010 21:17:15 +0000 (21:17 +0000)]
Correctly update all mail_notification options. #6549

* Need to check for 't' values to support sqlite
* Need to check the membership count for the 'selected' option

Based on patch contributed by Felix Schäfer

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

13 years agoAdd SortHelper so custom queries will run on the Calendar. #6612
Eric Davis [Sun, 10 Oct 2010 21:17:10 +0000 (21:17 +0000)]
Add SortHelper so custom queries will run on the Calendar. #6612

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

13 years agoRefactor: extract TimelogController#create from TimelogController#edit
Eric Davis [Fri, 8 Oct 2010 15:39:39 +0000 (15:39 +0000)]
Refactor: extract TimelogController#create from TimelogController#edit

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

13 years agoFix the Log Time link on an issue page
Eric Davis [Fri, 8 Oct 2010 15:01:20 +0000 (15:01 +0000)]
Fix the Log Time link on an issue page

Contributed by Philippe Lafoucrière (gravis)

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

13 years agoAdded ability to edit issues from different project through contextual menu (#5332)
Jean-Baptiste Barth [Fri, 8 Oct 2010 03:09:51 +0000 (03:09 +0000)]
Added ability to edit issues from different project through contextual menu (#5332)

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

13 years agoDon't duplicate users in Issue#assignable_users. From r4240
Eric Davis [Thu, 7 Oct 2010 17:46:37 +0000 (17:46 +0000)]
Don't duplicate users in Issue#assignable_users. From r4240

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

13 years agoAllow assigning issues back to the author. #4199
Eric Davis [Thu, 7 Oct 2010 17:28:29 +0000 (17:28 +0000)]
Allow assigning issues back to the author. #4199

This allows an issue to be reassigned to the author even if they are not
a project member.  Useful when passing back an issue to get more
information from the author.

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

13 years agoRefactor: extract TimelogController#new from #edit
Eric Davis [Thu, 7 Oct 2010 15:51:09 +0000 (15:51 +0000)]
Refactor: extract TimelogController#new from #edit

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

13 years agoRename task to issue in calendar (#6563)
Azamat Hackimov [Thu, 7 Oct 2010 15:26:53 +0000 (15:26 +0000)]
Rename task to issue in calendar (#6563)

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

13 years agoTranslation updates
Azamat Hackimov [Thu, 7 Oct 2010 15:19:28 +0000 (15:19 +0000)]
Translation updates
* de (#6598)
* ja (#6508, #6570)
* he (#6569)
* ru
* pt (#6509)
* pt-BR (#6494, #6596)
* sv (#6536)
* zh-TW (#6525)

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

13 years agoAdded ability to delete issues from different projects through contextual menu (...
Jean-Baptiste Barth [Thu, 7 Oct 2010 05:11:28 +0000 (05:11 +0000)]
Added ability to delete issues from different projects through contextual menu (#5332)

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

13 years agoRefactor: rename TimelogController#details to #index
Eric Davis [Wed, 6 Oct 2010 18:23:45 +0000 (18:23 +0000)]
Refactor: rename TimelogController#details to #index

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

13 years agoCode cleanup: renamed variables in User#allowed_to? with explicit names
Jean-Baptiste Barth [Wed, 6 Oct 2010 05:08:38 +0000 (05:08 +0000)]
Code cleanup: renamed variables in User#allowed_to? with explicit names

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

13 years agoFixed: User#allowed_to? returning true in any case if array of projects had only...
Jean-Baptiste Barth [Wed, 6 Oct 2010 05:08:31 +0000 (05:08 +0000)]
Fixed: User#allowed_to? returning true in any case if array of projects had only one item (#5332)

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

13 years agoRefactor: extract TimelogController#report to a new controller class
Eric Davis [Tue, 5 Oct 2010 16:07:17 +0000 (16:07 +0000)]
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

13 years agoRefactor: convert UsersController to resource
Eric Davis [Mon, 4 Oct 2010 15:36:16 +0000 (15:36 +0000)]
Refactor: convert UsersController to resource

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

13 years agoRefactor: split UsersController#edit into #edit and #update
Eric Davis [Thu, 30 Sep 2010 18:22:46 +0000 (18:22 +0000)]
Refactor: split UsersController#edit into #edit and #update

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

13 years agoRefactor: rename UsersController#add to #new
Eric Davis [Wed, 29 Sep 2010 16:00:45 +0000 (16:00 +0000)]
Refactor: rename UsersController#add to #new

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

13 years agoSplitted #find_issues filter in ApplicationController to #find_issues and #check_proj...
Jean-Baptiste Barth [Wed, 29 Sep 2010 05:22:53 +0000 (05:22 +0000)]
Splitted #find_issues filter in ApplicationController to #find_issues and #check_project_uniqueness (#5332)

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

13 years agoAdded ability to specify multiple projects in User#allowed_to? (#5332)
Jean-Baptiste Barth [Wed, 29 Sep 2010 05:22:45 +0000 (05:22 +0000)]
Added ability to specify multiple projects in User#allowed_to? (#5332)

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

13 years agoFix test failure from Setting changes in other tests
Eric Davis [Wed, 29 Sep 2010 03:02:23 +0000 (03:02 +0000)]
Fix test failure from Setting changes in other tests

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

13 years agoLocale update
Eric Davis [Tue, 28 Sep 2010 22:15:56 +0000 (22:15 +0000)]
Locale update

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

13 years agoRefactor: move method to model
Eric Davis [Tue, 28 Sep 2010 22:13:11 +0000 (22:13 +0000)]
Refactor: move method to model

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

13 years agoAllow admins to edit user's email notifications and preferences. #3503
Eric Davis [Tue, 28 Sep 2010 22:13:06 +0000 (22:13 +0000)]
Allow admins to edit user's email notifications and preferences. #3503

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

13 years agoChanged the notifications to use a hierarchy UI
Eric Davis [Tue, 28 Sep 2010 21:09:06 +0000 (21:09 +0000)]
Changed the notifications to use a hierarchy UI

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

13 years agoAdded three new notifiable events based on issue attributes
Eric Davis [Tue, 28 Sep 2010 20:20:00 +0000 (20:20 +0000)]
Added three new notifiable events based on issue attributes

* issue_note_added
* issue_status_updated
* issue_priority_updated

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

13 years agoRefactor the hardcoded event actions (notifiables) to use a class
Eric Davis [Tue, 28 Sep 2010 20:19:55 +0000 (20:19 +0000)]
Refactor the hardcoded event actions (notifiables) to use a class

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

13 years agoAdd a default mail notification setting for new users
Eric Davis [Tue, 28 Sep 2010 18:36:50 +0000 (18:36 +0000)]
Add a default mail notification setting for new users

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

13 years agoAdded User#notify_about? to check when a user should be notified about an event
Eric Davis [Tue, 28 Sep 2010 18:22:10 +0000 (18:22 +0000)]
Added User#notify_about? to check when a user should be notified about an event

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

13 years agoAdded tests for Issue#recipients
Eric Davis [Tue, 28 Sep 2010 18:22:05 +0000 (18:22 +0000)]
Added tests for Issue#recipients

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

13 years agoConverted User#mail_notification from a boolean to a string.
Eric Davis [Tue, 28 Sep 2010 18:22:00 +0000 (18:22 +0000)]
Converted User#mail_notification from a boolean to a string.

The string will now store which type of notification option to use.

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

13 years agoRefactor: split UsersController#add into #add and #create
Eric Davis [Tue, 28 Sep 2010 15:28:50 +0000 (15:28 +0000)]
Refactor: split UsersController#add into #add and #create

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

13 years agoRefactor: convert News to a REST resource
Eric Davis [Mon, 27 Sep 2010 16:51:12 +0000 (16:51 +0000)]
Refactor: convert News to a REST resource

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

13 years agoBump version to 1.0.2
Eric Davis [Sun, 26 Sep 2010 22:39:50 +0000 (22:39 +0000)]
Bump version to 1.0.2

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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