]> source.dussan.org Git - redmine.git/log
redmine.git
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

14 years agoUpdated permissions for r4034
Eric Davis [Mon, 23 Aug 2010 15:32:57 +0000 (15:32 +0000)]
Updated permissions for r4034

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

14 years agoRefactor: move IssuesController#changes to JournalsController#index.
Eric Davis [Mon, 23 Aug 2010 15:04:36 +0000 (15:04 +0000)]
Refactor: move IssuesController#changes to JournalsController#index.

Since #changes is only an Atom feed of journals of a query, it makes
more sense to have it on the JournalsController resource.

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

14 years agoSure hope 1.0.1 wasn't released in 201,008 AD...
Eric Davis [Sun, 22 Aug 2010 21:17:44 +0000 (21:17 +0000)]
Sure hope 1.0.1 wasn't released in 201,008 AD...

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

14 years agoBump version to 1.0.1
Eric Davis [Sun, 22 Aug 2010 21:15:38 +0000 (21:15 +0000)]
Bump version to 1.0.1

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

14 years agoUpdated changelog for 1.0.1
Eric Davis [Sun, 22 Aug 2010 21:15:33 +0000 (21:15 +0000)]
Updated changelog for 1.0.1

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

14 years agoAdd RTL support to the context menu. #6012
Eric Davis [Sun, 22 Aug 2010 19:12:21 +0000 (19:12 +0000)]
Add RTL support to the context menu. #6012

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

14 years agoTreat Calendar and Gantt pages as separate modules. #6153
Eric Davis [Sun, 22 Aug 2010 18:42:00 +0000 (18:42 +0000)]
Treat Calendar and Gantt pages as separate modules. #6153

This will let the Issue Tracking, Gantt, and Calendar modules be enabled
or disabled as needed.  A database migration will enable the Gantt and
Calendar for all existing projects that have Issue Tracking enabled.

Contributed by Adam Soltys

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

14 years agoFix the calendar link in the Issues sidebar. #5591
Eric Davis [Sun, 22 Aug 2010 18:30:26 +0000 (18:30 +0000)]
Fix the calendar link in the Issues sidebar. #5591

Contributed by Andrew Rudenko

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

14 years agoRefactor: merge IssuesController#update_form into IssuesController#new
Eric Davis [Fri, 20 Aug 2010 15:22:19 +0000 (15:22 +0000)]
Refactor: merge IssuesController#update_form into IssuesController#new

The #update_form action was only refreshing the issue attributes form,
so it's just a specialized JavaScript version of #new.  This also removed
old code that was extracted in other places (@issue.new_statuses_allowed_to).

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

14 years agoFix the mock_file test helper.
Eric Davis [Thu, 19 Aug 2010 22:24:42 +0000 (22:24 +0000)]
Fix the mock_file test helper.

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

14 years agoRefactor: extract Members Box to partial.
Eric Davis [Thu, 19 Aug 2010 22:24:37 +0000 (22:24 +0000)]
Refactor: extract Members Box to partial.

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

14 years agoRemove dublicate string
Azamat Hackimov [Thu, 19 Aug 2010 19:47:55 +0000 (19:47 +0000)]
Remove dublicate string

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

14 years agoLocalisation updates: New string to fix #5162
Azamat Hackimov [Thu, 19 Aug 2010 18:50:18 +0000 (18:50 +0000)]
Localisation updates: New string to fix #5162

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

14 years agoRefactor: move IssuesController#context_menu to a new controller.
Eric Davis [Thu, 19 Aug 2010 18:16:54 +0000 (18:16 +0000)]
Refactor: move IssuesController#context_menu to a new controller.

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

14 years agoReal RTL-theme support in locales (#6012)
Azamat Hackimov [Thu, 19 Aug 2010 16:57:44 +0000 (16:57 +0000)]
Real RTL-theme support in locales (#6012)
Now each locale-file have direction string (ltr - left-to-right - by default).

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

14 years agoFixing #6009
Azamat Hackimov [Thu, 19 Aug 2010 16:35:51 +0000 (16:35 +0000)]
Fixing #6009
Added to all locales required strings.

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

14 years agoTranslation updates for upcoming release
Azamat Hackimov [Thu, 19 Aug 2010 15:41:09 +0000 (15:41 +0000)]
Translation updates for upcoming release
* de (#6079)
* es (#6021)
* it (#6093)
* nl (#6025)
* ru
* sr and sr-YU (sr is now serbian cyrillic, #6078)
* sv (#6142)

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

14 years agoAdd Issue Status to the tooltip. #6169
Eric Davis [Thu, 19 Aug 2010 03:43:33 +0000 (03:43 +0000)]
Add Issue Status to the tooltip. #6169

Contributed by Nick Peelman

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

14 years agoSmall test refactoring, extract method.
Eric Davis [Thu, 19 Aug 2010 01:28:33 +0000 (01:28 +0000)]
Small test refactoring, extract method.

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

14 years agoScope the calendar popup CSS so it doesn't conflict with the Calendar menu. #6163
Eric Davis [Thu, 19 Aug 2010 01:13:50 +0000 (01:13 +0000)]
Scope the calendar popup CSS so it doesn't conflict with the Calendar menu. #6163

Contributed by Adam Soltys

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

14 years agoUse the base layout for all 403, 404, and 500 pages. #6172
Eric Davis [Thu, 19 Aug 2010 01:01:35 +0000 (01:01 +0000)]
Use the base layout for all 403, 404, and 500 pages. #6172

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

14 years agoAdded a rake task to display permissions.
Eric Davis [Wed, 18 Aug 2010 17:23:23 +0000 (17:23 +0000)]
Added a rake task to display permissions.

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

14 years agoNo more IssuesController#preview action.
Eric Davis [Wed, 18 Aug 2010 15:03:42 +0000 (15:03 +0000)]
No more IssuesController#preview action.

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

14 years agoRefactor: move IssuesController#preview to a new controller.
Eric Davis [Wed, 18 Aug 2010 15:01:35 +0000 (15:01 +0000)]
Refactor: move IssuesController#preview to a new controller.

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

14 years agoRefactor: move IssuesController#auto_complete to a new controller. #4382
Eric Davis [Tue, 17 Aug 2010 15:03:58 +0000 (15:03 +0000)]
Refactor: move IssuesController#auto_complete to a new controller. #4382

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

14 years agoAdd the Calendar as a project menu item.
Eric Davis [Mon, 16 Aug 2010 23:56:42 +0000 (23:56 +0000)]
Add the Calendar as a project menu item.

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

14 years agoAdd the Gantt chart as a project menu item
Eric Davis [Mon, 16 Aug 2010 23:56:37 +0000 (23:56 +0000)]
Add the Gantt chart as a project menu item

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

14 years agoAllow key authentication for Boards. #6132
Eric Davis [Mon, 16 Aug 2010 23:39:27 +0000 (23:39 +0000)]
Allow key authentication for Boards. #6132

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

14 years agoRefactor: move IssuesController#reply to JournalsController
Eric Davis [Mon, 16 Aug 2010 16:25:04 +0000 (16:25 +0000)]
Refactor: move IssuesController#reply to JournalsController

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

14 years agoRefactor: pull up method to ApplicationController.
Eric Davis [Fri, 13 Aug 2010 14:59:04 +0000 (14:59 +0000)]
Refactor: pull up method to ApplicationController.

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

14 years agoFixed: changing view style in repository/diff doesn't keep previously selected file...
Jean-Baptiste Barth [Fri, 13 Aug 2010 06:09:38 +0000 (06:09 +0000)]
Fixed: changing view style in repository/diff doesn't keep previously selected file. #6045

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

14 years agoRefactor: Pull up method to ApplicationController.
Eric Davis [Thu, 12 Aug 2010 13:57:51 +0000 (13:57 +0000)]
Refactor: Pull up method to ApplicationController.

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

14 years agoFix path to test_helper
Eric Davis [Thu, 12 Aug 2010 13:57:46 +0000 (13:57 +0000)]
Fix path to test_helper

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

14 years agoRefactor: Extract a new IssueMovesController from IssuesController.
Eric Davis [Wed, 11 Aug 2010 14:42:10 +0000 (14:42 +0000)]
Refactor: Extract a new IssueMovesController from IssuesController.

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

14 years agoShow projects depending on their visibility in user's profile. #6100
Jean-Baptiste Barth [Tue, 10 Aug 2010 23:07:44 +0000 (23:07 +0000)]
Show projects depending on their visibility in user's profile. #6100

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

14 years agoAdded a warning when a new user or group membership is invalid. #3834
Jean-Baptiste Barth [Tue, 10 Aug 2010 22:37:00 +0000 (22:37 +0000)]
Added a warning when a new user or group membership is invalid. #3834

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

14 years agoPrevent 500 error on login when there's a typo in OpenID URI scheme, such as http...
Jean-Baptiste Barth [Tue, 10 Aug 2010 21:12:32 +0000 (21:12 +0000)]
Prevent 500 error on login when there's a typo in OpenID URI scheme, such as http;// or http.//

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

14 years agoRefactor: extract method from #move and #perform_move.
Eric Davis [Tue, 10 Aug 2010 15:11:11 +0000 (15:11 +0000)]
Refactor: extract method from #move and #perform_move.

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

14 years agoRefactor TimelogController#report's joins and provide a hook to add more.
Eric Davis [Mon, 9 Aug 2010 23:15:32 +0000 (23:15 +0000)]
Refactor TimelogController#report's joins and provide a hook to add more.

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

14 years agoRefactor: extract POST version of IssuesController#move to #perform_move.
Eric Davis [Mon, 9 Aug 2010 14:53:23 +0000 (14:53 +0000)]
Refactor: extract POST version of IssuesController#move to #perform_move.

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

14 years agoRemoved hard-coded english error message on failed Member creation
Jean-Baptiste Barth [Mon, 9 Aug 2010 05:10:00 +0000 (05:10 +0000)]
Removed hard-coded english error message on failed Member creation

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

14 years agoRemoved useless debug code. #5978
Jean-Baptiste Barth [Sun, 8 Aug 2010 20:26:33 +0000 (20:26 +0000)]
Removed useless debug code. #5978

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

14 years agoAdded project filter when viewing all issues. #5084
Jean-Baptiste Barth [Sun, 8 Aug 2010 09:01:25 +0000 (09:01 +0000)]
Added project filter when viewing all issues. #5084

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

14 years agoReplace Test::Unit::TestCase with ActiveSupport::TestCase. #5477
Jean-Baptiste Barth [Sun, 8 Aug 2010 07:07:38 +0000 (07:07 +0000)]
Replace Test::Unit::TestCase with ActiveSupport::TestCase. #5477

Contributed by Alexey Palazhchenko

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

14 years agoFixed wrong commit range in git log command. #5628
Jean-Baptiste Barth [Sun, 8 Aug 2010 07:07:30 +0000 (07:07 +0000)]
Fixed wrong commit range in git log command. #5628

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

14 years agoRefactor: added link_to_project helper to handle links to projects
Jean-Baptiste Barth [Sun, 8 Aug 2010 07:07:20 +0000 (07:07 +0000)]
Refactor: added link_to_project helper to handle links to projects

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

14 years agoUpdated changelog format to use lists.
Eric Davis [Sat, 7 Aug 2010 15:11:31 +0000 (15:11 +0000)]
Updated changelog format to use lists.

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