Toshi MARUYAMA
7484096cdc
scm: mercurial: fix assert_equal parameter order at app unit test_find_changeset_by_name().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-08 08:45:40 +00:00
Toshi MARUYAMA
e2df831b53
scm: mercurial: accept both of revision and nodeid as changeset id ( #3724 ).
...
Contributed by Yuya Nishihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-08 06:24:27 +00:00
Toshi MARUYAMA
3ad213c29a
Fix associated revisions label on issue page.
...
r4613 shows git long hash value.
Contributed by Yuya Nishihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-08 00:19:51 +00:00
Jean-Philippe Lang
e7a9c386ef
Removed hard-coded style on wiki history view.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 21:24:32 +00:00
Jean-Philippe Lang
306a47023c
Additional unit tests for project tree.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 21:17:08 +00:00
Jean-Philippe Lang
88d65c5149
Do not show trackers and issue custom fields on project form when issue tracking is disabled ( #7225 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 21:02:19 +00:00
Jean-Philippe Lang
9222cf91ea
Changes ProjectsController#modules param name and add tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 20:57:17 +00:00
Jean-Philippe Lang
072c4ad14c
Verify HTTP method on ProjectsController#create.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 20:46:22 +00:00
Jean-Philippe Lang
9fb770ba50
Moves enabled_module_names param to project attribute so that it can be set through the Project API.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 20:36:31 +00:00
Jean-Philippe Lang
7620142b70
Adds assertion to prevent error in test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 19:50:41 +00:00
Jean-Philippe Lang
e6118347d3
Adds a rake task test:scm:update to update test repositories if needed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 18:52:37 +00:00
Toshi MARUYAMA
1bf33bb619
scm: mercurial: add unit test for copied file ( #7064 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-05 15:03:35 +00:00
Toshi MARUYAMA
f4c5fe43cb
scm: mercurial: add some tests at unit and functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-05 15:03:16 +00:00
Toshi MARUYAMA
9ee02d04f3
scm: mercurial: update test repository for following issues and fix tests.
...
* copied file (#7064 )
* branch, tag (#1981 )
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-05 15:02:47 +00:00
Toshi MARUYAMA
ad18cfda32
scm: mercurial: escape any filenames by urlescape ( #2664 , #7064 ).
...
In Mercurial, filename is not UTF-8 but byte-string.
So it should be escaped to UTF-8-safe string before parsing as XML document.
NOTE: Mercurial's {|obfuscate} filter cannot be used here, because it treats
filename as encoded by HGENCODING.
Contributed by Yuya Nishihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-05 15:02:24 +00:00
Toshi MARUYAMA
6ad68ae027
scm: mercurial: cleanup indent and trailing white-space of unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-05 15:02:03 +00:00
Toshi MARUYAMA
0f8680adfd
scm: mercurial: fix comment and change // to '' some strings of functional test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-05 15:01:39 +00:00
Toshi MARUYAMA
e86b8febdc
scm: mercurial: refactor mercurial unit test.
...
* lib unit test switches if repository exists.
* move cat test from app to lib.
* no need to run "hg update" in unit test (#3421 ).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-04 16:34:40 +00:00
Toshi MARUYAMA
5e1c42cbe3
repository: mercurial: fix functional annotate test.
...
Mercurial test repository author is 'jsmith'.
If author is 'foo', functional annotate test passes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-03 10:45:44 +00:00
Toshi MARUYAMA
7958facadc
repository: git: change io.gets to io.readlines ( #5404 , #5096 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-03 10:45:00 +00:00
Toshi MARUYAMA
8487e0a5b8
Fix subversion and git activities test reffering r4621.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-03 10:44:23 +00:00
Jean-Philippe Lang
29fddddaf1
Fixed failing subversion test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 14:36:12 +00:00
Jean-Philippe Lang
e0d6f8db1d
Set version to 1.1.0.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 12:16:40 +00:00
Jean-Philippe Lang
a4c5787b53
Updated footer to 2011.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 12:16:06 +00:00
Jean-Philippe Lang
2d9b9362a9
Fixed: should redirect to the new project when copying a project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 11:42:37 +00:00
Jean-Philippe Lang
ce8113dea2
Additional roles of a user who belongs to a group are not always copied when copying the project ( #7213 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 11:38:35 +00:00
Toshi MARUYAMA
2e1bcb2abf
Changing revision label and identifier at SCM adapter level ( #3724 , #6092 )
...
Contributed by Yuya Nishihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 09:45:05 +00:00
Toshi MARUYAMA
2ae2d3ef83
Fixed: repository: mercurial: sort changesets by revision ( #3449 , #3567 ).
...
In DVCS, changesets are not in date order.
Because Mercurial backend inserts changesets from eariest, 'ORDER BY id'
means 'order by revision number'.
Contributed by Yuya Nishihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 06:05:54 +00:00
Jean-Baptiste Barth
d29052f682
Added missing remove_index in AddUniqueIndexOnMembers down migration. #7212
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 23:08:49 +00:00
Toshi MARUYAMA
35c35a193c
repository: switch darcs cat test if cat supports.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 22:01:28 +00:00
Toshi MARUYAMA
1294fe2c96
Adding .hgignore based on the .gitignore.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 21:07:43 +00:00
Jean-Philippe Lang
ad727d3781
Fixes utf8 conversions with ruby1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 19:12:35 +00:00
Jean-Philippe Lang
488285e123
Strip non utf8 content when displaying diff (ruby1.9 compatibility).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 13:40:36 +00:00
Jean-Philippe Lang
1c7079db3f
Read attachment fixtures in binary mode.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 12:24:18 +00:00
Jean-Philippe Lang
2c830770cb
ruby1.9 compatibility
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 11:45:12 +00:00
Jean-Philippe Lang
9748567452
ruby1.9 compatibility
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 11:13:33 +00:00
Jean-Philippe Lang
d3a926df64
Fixes wrong assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-31 15:45:35 +00:00
Jean-Philippe Lang
44ffc5a336
Remove the limitation on characters that can be used in custom_field, issue_status, role, tracker, user names ( #5152 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-31 15:30:50 +00:00
Jean-Philippe Lang
92d34234b0
Safer assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-31 15:24:42 +00:00
Jean-Philippe Lang
3eebd827d7
ruby1.9 compatibility
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-31 11:16:03 +00:00
Jean-Philippe Lang
6659c630b2
Fixes wrong Polish translation of "blocks" and "duplicates" ( #6895 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-30 15:49:08 +00:00
Jean-Philippe Lang
4d557dd512
Japanese Translation updated ( #7133 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-30 15:44:02 +00:00
Jean-Philippe Lang
74de89d1dd
Traditional Chinese language updated ( #7123 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-30 15:43:02 +00:00
Jean-Philippe Lang
5e725070e0
German translation updated ( #7161 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-30 15:38:41 +00:00
Jean-Philippe Lang
dd87ebef58
Makes the png looks more like the html gantt.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-30 15:04:08 +00:00
Jean-Philippe Lang
82f528ddc8
Makes issue move form similar to bulk edit form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-29 20:48:51 +00:00
Jean-Philippe Lang
ad62060753
Disable project completion display on the gantt ( #7127 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-29 20:29:42 +00:00
Jean-Philippe Lang
f2ae2e9239
Simple issue sort method to make sure subtasks appear under their parent on the gantt ( #7128 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-29 20:21:39 +00:00
Jean-Philippe Lang
d2cc2861de
Find visible issues only in ContextMenusController#issues.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-29 19:55:52 +00:00
Jean-Philippe Lang
e9a0e6dbc8
Takes more parameters into account to determine activity freshness ( #7188 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-29 19:37:42 +00:00