]>
source.dussan.org Git - redmine.git/log
Toshi MARUYAMA [Fri, 28 Oct 2011 01:44:12 +0000 (01:44 +0000)]
scm: mercurial: update test repository (#5501)
This test repository has one merged revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7662
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 27 Oct 2011 01:31:56 +0000 (01:31 +0000)]
scm: git: fix typo of comments about fetching revisions (#9472)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7660
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 27 Oct 2011 00:35:43 +0000 (00:35 +0000)]
scm: git: recovery and improve comments of fetching from 1.1 about harmful influence that git does not have the revision number (#9472)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7658
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Wed, 26 Oct 2011 18:00:56 +0000 (18:00 +0000)]
Make queries resources fully conform to common behavior (removed additonal routes) (#9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7657
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Wed, 26 Oct 2011 17:00:16 +0000 (17:00 +0000)]
Reverted removal of project assignment to query (#9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7656
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 25 Oct 2011 23:43:27 +0000 (23:43 +0000)]
show avatars on the news list (#9470)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7655
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 25 Oct 2011 14:58:03 +0000 (14:58 +0000)]
scm: git: return saved revision at model "save_revision" (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7654
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 25 Oct 2011 14:57:34 +0000 (14:57 +0000)]
scm: git: use to_s for branches at model (#5501)
"scm.branches" will extend to have the revision for the branch.
no "to_s" will have a problem.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7653
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 25 Oct 2011 10:27:42 +0000 (10:27 +0000)]
scm: mercurial: use NUM_REV instead of hard-coded number of revisions at "test_fetch_changesets_incremental" of unit model test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7652
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 25 Oct 2011 06:10:12 +0000 (06:10 +0000)]
scm: mercurial: drop supporting below Mercurial 1.1 (#9465)
On November 1st 2011, Mercurial 2.0 will be released.
On Mercurial 1.1.2, unit lib test fails with following error.
<pre>
Traceback (most recent call last):
File "/WEB-DOWN/hg-repo/hg-crew/hg", line 20, in <module>
mercurial.dispatch.run()
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 29, in dispatch
return _runcatch(u, args)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 45, in _runcatch
return _dispatch(ui, args)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 367, in _dispatch
ret = _runcommand(ui, options, cmd, d)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 416, in _runcommand
return checkargs()
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 376, in checkargs
return cmdfunc()
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 361, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/util.py", line 715, in check
return func(*args, **kwargs)
File "/REDMINE-1/hg-workdir/redmine-bb-all/lib/redmine/scm/adapters/mercurial/redminehelper.py", line 149, in rhlog
if hg.util.version() >= '1.6':
AttributeError: 'module' object has no attribute 'version'
1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7650
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Mon, 24 Oct 2011 20:19:26 +0000 (20:19 +0000)]
Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 24 Oct 2011 11:43:12 +0000 (11:43 +0000)]
add newline at end of app/views/journals/index.builder
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7648
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 24 Oct 2011 09:33:03 +0000 (09:33 +0000)]
scm: mercurial: skip failing unit model tests on below Mercurial 1.5 (#9465)
Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7643
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 24 Oct 2011 09:32:38 +0000 (09:32 +0000)]
scm: mercurial: skip failing unit lib tests on below Mercurial 1.5 (#9465)
Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7642
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 24 Oct 2011 09:32:06 +0000 (09:32 +0000)]
scm: mercurial: switch rev parameter of extension rhlog() if above Mercurial 1.6 or not (#9465)
On Mercurial 1.5, following error raises.
<pre>
hg --config extensions.redminehelper=lib/redmine/scm/adapters/mercurial/redminehelper.py \
--rhbranch default --from default --to 0
abort: unknown revision '"default"'!
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7641
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 24 Oct 2011 09:31:36 +0000 (09:31 +0000)]
scm: mercurial: fix extension cmdtable on Mercurial 1.5 (#9465)
Before Mercurial revision "
40c06bbf58be ":http://www.selenic.com/repo/hg-stable/rev/
40c06bbf58be ,
following error raises.
<pre>
Traceback (most recent call last):
File "/WEB-DOWN/hg-repo/hg-crew/hg", line 27, in <module>
mercurial.dispatch.run()
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 30, in dispatch
return _runcatch(u, args)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 47, in _runcatch
return _dispatch(ui, args)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 398, in _dispatch
cmd, func, args, options, cmdoptions = _parse(lui, args)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 277, in _parse
args = fancyopts.fancyopts(args, c, cmdoptions, True)
File "/WEB-DOWN/hg-repo/hg-crew/mercurial/fancyopts.py", line 62, in fancyopts
for short, name, default, comment in options:
ValueError: too many values to unpack
1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7640
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 21 Oct 2011 13:08:11 +0000 (13:08 +0000)]
scm: view: add #to_s to changeset.author (#5501)
On Ruby 1.8.6, following error raises.
undefined method `mb_chars' for #<ActiveRecord::Associations::BelongsToAssociation:0x7f86950f3e58>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7639
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 21 Oct 2011 11:17:58 +0000 (11:17 +0000)]
css: set nowrap of changeset author and committed_on (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7638
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 21 Oct 2011 11:17:31 +0000 (11:17 +0000)]
scm: view: truncate author with length 30 (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7637
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 21 Oct 2011 08:19:25 +0000 (08:19 +0000)]
css: set margin 0px at top and bottom of changeset ul and ol (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7636
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 20 Oct 2011 23:03:00 +0000 (23:03 +0000)]
replace tabs to spaces and remove trailing white-spaces at public/stylesheets/rtl.css
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7635
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 20 Oct 2011 23:02:23 +0000 (23:02 +0000)]
replace tabs to spaces and remove trailing white-spaces at public/stylesheets/context_menu.css
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7634
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 20 Oct 2011 23:01:45 +0000 (23:01 +0000)]
replace tabs to spaces at public/stylesheets/application.css
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7633
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 20 Oct 2011 23:01:13 +0000 (23:01 +0000)]
replace tabs to spaces and fix indents at public/stylesheets/jstoolbar.css
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7632
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 20 Oct 2011 23:00:38 +0000 (23:00 +0000)]
replace tabs to spaces at public/stylesheets/scm.css
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7631
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 20 Oct 2011 01:07:10 +0000 (01:07 +0000)]
code layout clean up of app/views/repositories/_dir_list_content.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7630
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Tue, 18 Oct 2011 21:19:58 +0000 (21:19 +0000)]
Reverted r7628.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Tue, 18 Oct 2011 17:51:21 +0000 (17:51 +0000)]
Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Thu, 13 Oct 2011 06:42:08 +0000 (06:42 +0000)]
Restored valid test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7627
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Thu, 13 Oct 2011 06:19:20 +0000 (06:19 +0000)]
Removed debugging purpose command.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7626
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Thu, 13 Oct 2011 06:18:42 +0000 (06:18 +0000)]
Removed test part failing with PostgreSQL (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7625
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Wed, 12 Oct 2011 23:45:47 +0000 (23:45 +0000)]
Fixed shot filter expression parsing depending upon field operators (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Mon, 10 Oct 2011 17:38:34 +0000 (17:38 +0000)]
Update styles (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7623
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 9 Oct 2011 23:34:53 +0000 (23:34 +0000)]
Rails3: controller: repositories: use to_s for revision parameter
On Rails 3.0 and Ruby 1.8.7, following error raises.
Error:
test_revision(RepositoriesControllerTest):
NoMethodError: undefined method `strip' for 1:Fixnum
app/controllers/repositories_controller.rb:252:in `find_repository'
test/functional/repositories_controller_test.rb:44:in `test_revision'
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7622
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sat, 8 Oct 2011 13:47:25 +0000 (13:47 +0000)]
Fix failing test (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7621
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sat, 8 Oct 2011 13:42:02 +0000 (13:42 +0000)]
Added missing gem spec to coderay vendored gem (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7620
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sat, 8 Oct 2011 13:35:15 +0000 (13:35 +0000)]
Update CodeRay version to 1.0 final (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7619
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sat, 8 Oct 2011 13:34:30 +0000 (13:34 +0000)]
Update CodeRay version to 1.0 final (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 23:54:27 +0000 (23:54 +0000)]
Rails3: test: replace deprecated errors.on at test_moving_an_issue_to_a_descendant_should_not_validate of unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7617
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 23:53:49 +0000 (23:53 +0000)]
Rails3: model: replace deprecated errors.add_to_base at validate_issue_relation of IssueRelation
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7616
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 14:11:41 +0000 (14:11 +0000)]
Rails3: test: replace deprecated errors.on at "fail with unauthorized parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7615
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 14:11:06 +0000 (14:11 +0000)]
Rails3: test: replace deprecated errors.on at "fail without parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7614
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 14:10:37 +0000 (14:10 +0000)]
Rails3: test: replace deprecated errors.on at "fail with parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7613
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 14:10:05 +0000 (14:10 +0000)]
Rails3: test: replace deprecated errors.on at test_update_issue_with_required_custom_field_change of unit/time_entry_activity_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7612
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 13:07:55 +0000 (13:07 +0000)]
Rails3: test: replace deprecated errors.on_base at test_should_not_be_able_to_reopen_an_issue_assigned_to_a_closed_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7611
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 13:07:21 +0000 (13:07 +0000)]
Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7610
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 13:06:54 +0000 (13:06 +0000)]
Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7609
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:25:20 +0000 (12:25 +0000)]
Rails3: model: replace deprecated errors.add_to_base at validate_on_create of User
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7608
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:53 +0000 (12:24 +0000)]
Rails3: model: replace deprecated errors.add_to_base at cannot_reply_to_locked_topic of Message
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7607
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:29 +0000 (12:24 +0000)]
code layout clean up of test_visible_scope_for_anonymous_with_own_issues_visibility at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7606
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:01 +0000 (12:24 +0000)]
code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7605
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:23:37 +0000 (12:23 +0000)]
Rails3: test: replace deprecated errors.on at test_should_not_set_a_disabled_tracker of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7604
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:23:09 +0000 (12:23 +0000)]
code layout clean up of test_set_issue_to_dates_without_issue_to at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7603
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:22:43 +0000 (12:22 +0000)]
code layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7602
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:22:07 +0000 (12:22 +0000)]
code layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fails at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7601
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:21:35 +0000 (12:21 +0000)]
code layout clean up of test_follows_relation_should_be_reversed at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7600
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:20:59 +0000 (12:20 +0000)]
code layout clean up of test_create at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7599
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:20:30 +0000 (12:20 +0000)]
Rails3: test: replace deprecated errors.on at test_validates_circular_dependency_on_reverse_relations of unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7598
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 12:19:40 +0000 (12:19 +0000)]
Rails3: test: replace deprecated errors.on at test_validates_circular_dependency of unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7597
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 04:18:18 +0000 (04:18 +0000)]
Rails3: test: replace deprecated errors.on at test_validate_identifier of unit/project_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7596
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 04:17:47 +0000 (04:17 +0000)]
code layout clean up of test/unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7595
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 04:17:14 +0000 (04:17 +0000)]
Rails3: test: replace deprecated errors.on at test_creating_a_child_in_different_project_should_not_validate of unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7594
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 04:16:42 +0000 (04:16 +0000)]
Rails3: test: replace deprecated errors.on at test_validate_mail_notification_inclusion of unit/user_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7593
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 04:16:03 +0000 (04:16 +0000)]
code layout clean up of test/unit/user_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7592
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 7 Oct 2011 00:23:05 +0000 (00:23 +0000)]
Rails3: model: query: parse dates using UTC (ruby 1.9 inside) (#4796)
On Rails 3.0 and Ruby 1.8.7 in Japan (UTC+9), tests fails with following messages.
test_operator_date_equals(QueryTest) [test/unit/query_test.rb:206]:
<"(issues.due_date > '2011-07-09 14:59:59.999999' AND issues.due_date <= '2011-07-10 14:59:59.999999')
AND (issue_statuses.is_closed='f')"> expected to be =~
</issues\.due_date > '2011-07-09 23:59:59(\.9+)?' AND issues\.due_date <= '2011-07-10 23:59:59(\.9+)?/>.
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7591
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 22:49:26 +0000 (22:49 +0000)]
Rails3: model: replace deprecated errors.add_to_base at validate_issue of Issue
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7590
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 22:49:02 +0000 (22:49 +0000)]
Rails3: model: replace deprecated errors.add_to_base at save_issue_with_child_records of Issue
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7589
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 15:02:56 +0000 (15:02 +0000)]
Rails3: view: use html_safe for subprojects at projects/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7588
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 15:02:14 +0000 (15:02 +0000)]
Rails3: helper: use html_safe at page_header_title of ApplicationHelper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7587
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 11:04:32 +0000 (11:04 +0000)]
code layout clean up of app/helpers/application_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7586
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 11:03:58 +0000 (11:03 +0000)]
Rails3: helper: use html_safe at simple_format_without_paragraph of ApplicationHelper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7585
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 11:03:29 +0000 (11:03 +0000)]
Rails3: helper: use html_safe at render_page_hierarchy of ApplicationHelper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7584
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 11:03:03 +0000 (11:03 +0000)]
Rails3: helper: replace » of page_header_title at ApplicationHelper to hexadecimal UTF-8 strings
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7583
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 6 Oct 2011 11:02:24 +0000 (11:02 +0000)]
Rails3: helper: replace … of page_header_title at ApplicationHelper to hexadecimal UTF-8 strings
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7582
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Wed, 5 Oct 2011 22:03:19 +0000 (22:03 +0000)]
Added 2 tests about passing custom field filter to /issues.xml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7581
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Oct 2011 21:47:55 +0000 (21:47 +0000)]
Restrict anonymous read access with Redmine.pm
Redmine.pm now also checks for public projects whether the anonymous
user has the browse_repository right for a read operation.
Contributed by Holger Just.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7579
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Oct 2011 13:41:05 +0000 (13:41 +0000)]
Rails3: rename app/views/journals/index.rxml to app/views/journals/index.builder (#6317)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7577
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Oct 2011 13:40:30 +0000 (13:40 +0000)]
remove hard-coded '.rxml' from 'test_show_atom' at functional issues controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7576
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Oct 2011 11:09:06 +0000 (11:09 +0000)]
Rails3: rename app/views/common/feed.atom.rxml to app/views/common/feed.atom.builder (#6317)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7575
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Oct 2011 11:08:24 +0000 (11:08 +0000)]
remove hard-coded '.rxml' from 'test_index_atom' at functional projects controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7574
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Oct 2011 11:07:47 +0000 (11:07 +0000)]
remove hard-coded '.rxml' from ApplicationController 'render_feed' (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7573
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Tue, 4 Oct 2011 09:05:54 +0000 (09:05 +0000)]
fix typo of fix_issue() at Changeset model
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7571
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Mon, 3 Oct 2011 21:45:17 +0000 (21:45 +0000)]
Escape image urls in wiki formatted HTML text (#9245).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7570
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Mon, 3 Oct 2011 20:17:01 +0000 (20:17 +0000)]
Qualify searchable @text@ column to prevent exception thrown when :content association is not eargerly fetched by AR (#9308).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7568
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 3 Oct 2011 15:17:58 +0000 (15:17 +0000)]
Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer/_issue.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7567
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 3 Oct 2011 15:17:07 +0000 (15:17 +0000)]
Rails3: mail: rename app/views/mailer/_issue_text_plain.rhtml to app/views/mailer/_issue.text.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7566
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sun, 2 Oct 2011 18:45:17 +0000 (18:45 +0000)]
Remove unecessary page title HTML escaping from views (#9252).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sun, 2 Oct 2011 17:25:29 +0000 (17:25 +0000)]
Make sure that anchor names generated for headings fully match wiki links (#7215).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7563
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sun, 2 Oct 2011 15:57:17 +0000 (15:57 +0000)]
Prepend page title to anchor in single page wiki HTML export to make links more unique.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sun, 2 Oct 2011 15:32:34 +0000 (15:32 +0000)]
Fix generation of blank local link when no title is specified in wiki link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7560
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Sun, 2 Oct 2011 14:44:07 +0000 (14:44 +0000)]
Use local links in wiki pages when possible (#3276).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7558
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Oct 2011 01:13:03 +0000 (01:13 +0000)]
Rails3: lib: helper: use html_safe for Gantt
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7557
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Oct 2011 01:12:21 +0000 (01:12 +0000)]
Rails3: view: use html_safe for Gantt
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7556
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Oct 2011 01:11:39 +0000 (01:11 +0000)]
Rails3: model: replace deprecated 'validate_on_create' method at Message model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7555
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Oct 2011 01:11:02 +0000 (01:11 +0000)]
add unit message test of cannot reply to a locked topic
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7554
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 1 Oct 2011 01:10:18 +0000 (01:10 +0000)]
code layout clean up of test/unit/message_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7553
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 30 Sep 2011 08:17:30 +0000 (08:17 +0000)]
Rails3: helper: use html_safe for Subversion setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7552
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 30 Sep 2011 08:16:46 +0000 (08:16 +0000)]
Rails3: helper: use html_safe for filesysytem scm setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7551
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 30 Sep 2011 08:16:05 +0000 (08:16 +0000)]
Rails3: helper: use html_safe for cvs setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7550
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 30 Sep 2011 08:15:09 +0000 (08:15 +0000)]
Rails3: helper: use html_safe for git setting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7549
e93f8b46 -1217-0410-a6f0-
8f06a7374b81