Tim Felgentreff
0b852af604
fix syntax error
2010-09-14 16:09:39 +02:00
Tim Felgentreff
ff56024b9b
it's created_at on journals
2010-09-14 15:21:32 +02:00
Tim Felgentreff
09ccc0f6ba
remove test helper method
2010-09-14 15:21:15 +02:00
Tim Felgentreff
b16d63454d
journals are the events, now
2010-09-14 15:21:02 +02:00
Tim Felgentreff
ccc4688799
get the object from the db anew, in case it didn't save
2010-09-14 15:20:41 +02:00
Tim Felgentreff
4eb07d6ce6
fix use of versions vs journals
2010-09-14 15:18:28 +02:00
Tim Felgentreff
a6a25cc5c1
render done_ratio as decimal
2010-09-14 15:17:51 +02:00
Tim Felgentreff
44a3546579
add show_detail to issue helper for limited backwards compatibility
2010-09-14 15:17:34 +02:00
Tim Felgentreff
d7854003c4
fix applicationcontroller test
2010-09-14 14:46:31 +02:00
Tim Felgentreff
2dd4e3d12d
Update acts_as_journalized
2010-09-14 14:25:30 +02:00
Tim Felgentreff
72e7baafdf
fix various tests in mailer, wiki content and issue helper
2010-09-14 14:25:19 +02:00
Tim Felgentreff
4b098d7774
Merge branch 'journals' into 1.0-stable
...
Conflicts:
app/controllers/issues_controller.rb
app/controllers/journals_controller.rb
app/helpers/journals_helper.rb
app/views/issues/_history.rhtml
lib/redmine/activity/fetcher.rb
test/functional/issues_controller_test.rb
test/test_helper.rb
2010-09-14 09:32:35 +02:00
Tim Felgentreff
4804d22ff3
add fixture, fixes another test
2010-09-14 09:19:39 +02:00
Eric Davis
41c055363e
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
2010-09-13 20:35:03 +00:00
Jean-Baptiste Barth
12e10f6956
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
2010-09-11 20:21:27 +00:00
Jean-Baptiste Barth
4b69a895df
Fixed broken context_menu on roadmap. #6351
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-11 14:00:23 +00:00
Azamat Hackimov
f2a8057d63
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
2010-09-11 11:16:56 +00:00
Eric Davis
878bb55522
Refactor: move method to Project#css_classes
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-10 23:07:10 +00:00
Eric Davis
d36700eeee
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
2010-09-10 19:53:57 +00:00
Eric Davis
41f8d043eb
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
2010-09-10 19:44:45 +00:00
Eric Davis
109b42f482
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
2010-09-10 18:46:29 +00:00
Eric Davis
4c656fcffc
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
2010-09-10 18:46:23 +00:00
Eric Davis
3a2efb4757
Refactor: convert ProjectEnumerations to a resource on a project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-10 16:00:49 +00:00
Eric Davis
5e1c295230
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
2010-09-10 03:09:18 +00:00
Eric Davis
abf3ee4999
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
2010-09-10 03:09:11 +00:00
Eric Davis
bdb3937e0f
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
2010-09-10 03:09:02 +00:00
Eric Davis
8d52608dba
Refactor: convert the Projects routes to resources.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-09 18:57:21 +00:00
Eric Davis
bf7476af5b
Refactor: split method ProjectsController#edit to ProjectsController#update.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-08 16:01:51 +00:00
Eric Davis
2295b61cb6
Refactor: rename method ProjectsController#add to ProjectsController#new
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-07 15:00:27 +00:00
Eric Davis
06878e5004
Change project add form to use #create. (From r4067)
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-06 15:09:52 +00:00
Eric Davis
763ab07942
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
2010-09-06 14:53:08 +00:00
Eric Davis
9da4ee5fcc
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
2010-09-06 01:02:52 +00:00
Eric Davis
270b559d36
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
2010-09-06 00:48:44 +00:00
Eric Davis
d771fa9289
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
2010-09-06 00:26:08 +00:00
Eric Davis
563c879e44
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
2010-09-06 00:26:02 +00:00
Eric Davis
db11030410
Refactor: move method to model. (references r4057)
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-05 22:57:20 +00:00
Azamat Hackimov
cbe266079e
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
2010-09-05 13:01:38 +00:00
Azamat Hackimov
c5071cd091
Translation updates:
...
* ca (#6263 )
* nl (#6248 )
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-05 11:33:08 +00:00
Jean-Baptiste Barth
a9f5a17c67
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
2010-09-03 21:43:07 +00:00
Jean-Baptiste Barth
c799d03ece
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
2010-09-03 20:16:00 +00:00
Jean-Baptiste Barth
b6d9f2bddf
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
2010-09-03 20:05:51 +00:00
Jean-Baptiste Barth
4776a5a427
Hide checkboxes in issues list when printing
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-03 19:59:49 +00:00
Jean-Baptiste Barth
a2ce6e236c
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
2010-09-03 19:54:24 +00:00
Eric Davis
c1068bf0cd
Refactor: move method, ProjectsController#reset_activities to ProjectEnumerationsController#destroy.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-03 15:04:03 +00:00
Eric Davis
83b4343d2d
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
2010-09-02 17:39:56 +00:00
Eric Davis
b5e90972d8
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
2010-09-01 15:17:45 +00:00
Eric Davis
daa8eaa9ae
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
2010-08-31 15:12:58 +00:00
Eric Davis
a188abbe28
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
2010-08-30 15:30:28 +00:00
Azamat Hackimov
1ebb0d9cae
Translation updates
...
* mk (#6208 )
* sv (#6210 )
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-29 12:54:04 +00:00
Eric Davis
f92dcdf50a
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
2010-08-27 20:08:59 +00:00