Etienne Massip
dbdc9b9da7
Display dates using user's locale if available ( #2190 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-16 21:45:47 +00:00
Jean-Philippe Lang
2c07b478bb
Fixed that time entries should be sorted by date and created_on ( #11178 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-16 20:09:12 +00:00
Jean-Philippe Lang
542b355210
Fixed that sticky messages are not displayed first ( #11170 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-16 19:34:19 +00:00
Jean-Philippe Lang
76eeb64d1a
Fixed that time report raises a SQL error if there are multiple CustomValue for a time entry ( #11160 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-14 10:47:04 +00:00
Jean-Philippe Lang
e199c4b823
Adds support for Git's smart HTTP protocol to Redmine.pm ( #4905 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-14 08:13:53 +00:00
Jean-Philippe Lang
9eef74f09a
Additional tests for Redmine.pm.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-14 08:04:44 +00:00
Jean-Philippe Lang
48a557a79e
Use a random filename.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-12 19:59:28 +00:00
Jean-Philippe Lang
4fda1f6cd1
Start implementing tests for Redmine.pm perl module.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-12 19:33:09 +00:00
Jean-Philippe Lang
667693b32c
Fixed that Subversion#load_entries_changesets raises an error if entries is nil.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-12 17:43:23 +00:00
Jean-Philippe Lang
965ef33192
Fixed that lines with spaces only before headings break wiki section extraction ( #11133 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-11 17:51:14 +00:00
Toshi MARUYAMA
fdd36ce713
fix test_user_index of activities controller test fails at Japanese morning and afternoon
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-11 04:42:54 +00:00
Toshi MARUYAMA
96f5d315ea
add some avatar tests
...
* the default size was 50px
* class="gravatar"'
* some tests to test the default and option parsing
Contributed Felix Schäfer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-11 00:18:09 +00:00
Jean-Philippe Lang
9b60214b3a
Fixed that Repository#entries returns an Array.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 17:01:33 +00:00
Jean-Philippe Lang
74645eb017
Configurable session lifetime and timeout ( #6597 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 13:16:56 +00:00
Jean-Philippe Lang
26ff9e1c26
Fixed: German umlauts in Subject get striped with ruby1.8 ( #11065 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 08:15:22 +00:00
Jean-Philippe Lang
898a4164a0
Fixed that link to user is escaped in activity title ( #11124 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 10:32:34 +00:00
Jean-Philippe Lang
d21bacb01d
Fixed that content_for does not work in Hook.render_on ( #11105 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 09:19:15 +00:00
Jean-Philippe Lang
9f788310b1
Fixed that custom_fields property is ignored for time entries in REST API ( #11112 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 07:55:26 +00:00
Jean-Philippe Lang
7fba8bc682
Change in Rails' for handling localized number precision ( #11118 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 07:46:07 +00:00
Jean-Philippe Lang
2314e41474
Priorities have the same position and can't be reordered ( #11098 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 07:27:43 +00:00
Jean-Philippe Lang
77bac4b14d
Ability to set default column order in issue list ( #11068 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-08 18:50:22 +00:00
Jean-Philippe Lang
234e5d59ac
Show repository images inline when clicking 'View' ( #10362 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-07 17:00:29 +00:00
Jean-Philippe Lang
327d5d2132
Makes users optional in GET /groups/:id ( #8981 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 13:32:14 +00:00
Jean-Philippe Lang
0523ac387b
Test failure due to a regression in Rails 3.2.5.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 12:15:55 +00:00
Jean-Philippe Lang
2cbf9c9cc4
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 11:46:58 +00:00
Jean-Philippe Lang
dd9c2cafa7
REST Api for Groups ( #8981 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 10:40:32 +00:00
Toshi MARUYAMA
ba25d27e3a
scm: git: skip Latin-1 path tests on Git for Windows above 1.7.10
...
Git for Windows (msysGit) changed internal API from ANSI to Unicode in 1.7.10.
http://code.google.com/p/msysgit/issues/detail?id=80
So, Latin-1 path tests fail on Japanese Windows
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-02 18:36:23 +00:00
Jean-Philippe Lang
733fef458c
Replaced group[lastname] parameter with group[name].
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-01 18:24:33 +00:00
Jean-Philippe Lang
4ee133e77e
Fixed that project, issue and activity should be preserved when logging time with "Create and continue" ( #11038 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-29 18:54:26 +00:00
Jean-Philippe Lang
53a0cee57a
Fixed that logging time inside redirects at global time logging ( #11038 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-29 17:07:07 +00:00
Toshi MARUYAMA
cfaa0fc23e
fix project list is not shown on Email notifications ( #11032 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-28 08:24:31 +00:00
Toshi MARUYAMA
87783362cf
code layout cleanup test/functional/users_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-28 07:07:00 +00:00
Jean-Philippe Lang
189be55235
Fixed time zone issues introduced by r9719 ( #10996 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-26 12:07:56 +00:00
Jean-Philippe Lang
aa18cd54c7
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 20:43:18 +00:00
Jean-Philippe Lang
59cbc68dde
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 20:18:55 +00:00
Jean-Philippe Lang
221585c7b5
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 19:48:22 +00:00
Jean-Philippe Lang
472d3a00a3
Fixed that some input fields are escaped on validation failures ( #11027 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 16:50:25 +00:00
Jean-Philippe Lang
235238b583
Fixed that project identifier can always be updated ( #11028 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 16:43:18 +00:00
Jean-Philippe Lang
73500a349b
Fixed that the issue link is escaped on my page spent time ( #10991 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-25 16:34:40 +00:00
Jean-Philippe Lang
c77370a9eb
Use a modal form to create a category from the issue form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-24 17:31:53 +00:00
Jean-Philippe Lang
6206c88dfa
Fixed that updated_on is not updated when updating an issue ( #10964 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-21 18:23:03 +00:00
Jean-Philippe Lang
1ab9e42b9b
Fixed that columns selection in not displayed on the custom query form ( #10972 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-21 16:55:48 +00:00
Jean-Philippe Lang
1996af104d
Fixed that watchers delete links are escaped on the issue view ( #10932 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-15 19:33:42 +00:00
Jean-Philippe Lang
23a06ec022
Restored List-Id header in email notifications ( #10888 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-13 10:44:41 +00:00
Jean-Philippe Lang
426b1d6fcd
Fixed that option tags are escaped.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-13 09:00:26 +00:00
Jean-Philippe Lang
69e55fb1ef
Fixed that enumerations option tags are escaped.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-13 08:45:15 +00:00
Jean-Philippe Lang
dc7569ecae
Fixed that group filter is escaped on users index.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-13 08:38:35 +00:00
Jean-Philippe Lang
a99c61b471
Adds all/none operators to text custom field filters ( #9790 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-12 12:23:20 +00:00
Jean-Philippe Lang
1831861eac
Tests for Setting.per_page_options_array.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-10 18:53:32 +00:00
Jean-Philippe Lang
5bd90548b0
Adaptive display of "Per page" links ( #7720 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-10 18:51:11 +00:00
Jean-Philippe Lang
f6882cd69e
Stub Mailer with mocha.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-06 08:43:44 +00:00
Jean-Philippe Lang
18852b765a
Trackers should be sorted by position not by name.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 16:21:22 +00:00
Jean-Philippe Lang
ee8dcab9db
Fixed that activities option tags on the time entry bulk edit form are escaped.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 16:09:27 +00:00
Toshi MARUYAMA
02f704bb01
add Copyright statement to test/integration/repositories_git_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 14:48:45 +00:00
Toshi MARUYAMA
f08b648cce
fix error of AdminControllerTest test_test_email_failure_should_display_the_error
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 14:34:16 +00:00
Toshi MARUYAMA
7af8d7caf0
replace Mailer deliver syntax to Rails3 style
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 13:07:12 +00:00
Jean-Philippe Lang
ba5a052c8c
Copyright update.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Toshi MARUYAMA
6e7eadf9fb
move unit mailer test last_email method to the bottom and change to private
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:20:18 +00:00
Toshi MARUYAMA
5ce2987ea9
add missing fixture to test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:20:01 +00:00
Toshi MARUYAMA
6bcbdd44fc
route: scm: fix diff of two revisions
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 05:29:58 +00:00
Toshi MARUYAMA
66d62504ef
test: route: scm: move changes action tests to non revisions path tests
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 05:29:43 +00:00
Toshi MARUYAMA
17d19febc6
fix typo of integration users test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 05:29:28 +00:00
Toshi MARUYAMA
b0414ec1fb
route: scm: split entry and raw actions
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 01:01:29 +00:00
Toshi MARUYAMA
bef28f7dab
test: switch to Rails3 Active Record syntax at test_destroy of unit/repository_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-04 23:07:10 +00:00
Toshi MARUYAMA
49fc255b48
test: switch to Rails3 Active Record syntax at unit/query_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-04 23:06:47 +00:00
Jean-Philippe Lang
9f396a6dfb
Fixed undefined method `<=>' for nil:NilClass when sorting repositories with nil identifiers ( #10827 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-04 16:57:15 +00:00
Toshi MARUYAMA
b4350ca91a
route: scm: fix git and mercurial changes action
...
If branch name has special character, "View revisions" link has route error.
For example, Redmine Mercurial hgsubversion mirror has "../sandbox/rails-3.2" named branch.
Git default branch of bare repository is defined at HEAD.
In most cases, it is *master*.
Mercurial GUI standard behavior is showing all revisions on top page.
So, Redmine default branch is *nil*.
Mercurial top page "View revisions" link has route error.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-03 14:49:29 +00:00
Toshi MARUYAMA
2c28d6b5d1
scm: git: fix creating and updating repository
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-03 11:48:33 +00:00
Toshi MARUYAMA
d658ab22d6
scm: fix broken main repository 'root' link
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-02 15:58:03 +00:00
Toshi MARUYAMA
1446c9b7f0
scm: fix git and mercurial branch list box action
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-02 13:19:16 +00:00
Toshi MARUYAMA
9be6dfbe10
code layout clean up test/integration/routing/repositories_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-02 13:18:56 +00:00
Jean-Philippe Lang
38011c0fb1
Fixed error on commits per month graph ( #10806 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 21:12:47 +00:00
Jean-Philippe Lang
d1372107e5
Updated test for r9608.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 18:01:21 +00:00
Jean-Philippe Lang
c085367bb6
Adds css class to custom field input tags.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 16:50:42 +00:00
Toshi MARUYAMA
017d974dd8
remove trailing white-spaces from test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 12:45:39 +00:00
Jean-Philippe Lang
5b680625c1
Adds a simple script/about.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 11:41:15 +00:00
Jean-Philippe Lang
f54ecfc55f
Fixed that sidebar with hook content only should not be hidden.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 10:19:06 +00:00
Jean-Philippe Lang
99cfca6f83
Adds assertions for r9572.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-29 07:47:58 +00:00
Jean-Philippe Lang
1e3e23d756
RecordNotFound exception still raised with Rails3.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 13:00:16 +00:00
Jean-Philippe Lang
68f8470d4a
Makes image_tag pick the image from the current theme if it exists.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 09:47:09 +00:00
Jean-Philippe Lang
da43f785be
Adds support for :plugin option to image_tag helper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 09:18:12 +00:00
Jean-Philippe Lang
03335d014c
Restores support for :plugin support to stylesheet_link_tag and javascript_include_tag helpers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 09:10:46 +00:00
Jean-Philippe Lang
f12942ff40
Make sure that "today" does not change during tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 23:53:34 +00:00
Jean-Philippe Lang
c7d78ef094
Fixed gantt_test, Date.today and 0.day.from_now may not be the same depending on time and time zone.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 23:50:56 +00:00
Jean-Philippe Lang
ee0d4a12a3
Adds a message for when assertion fails.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 21:08:34 +00:00
Toshi MARUYAMA
6fcea5ef9d
scm: git: fix test revision value of unit lib test
...
Hash value range is from 0 to 9 and a to f
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 01:33:04 +00:00
Toshi MARUYAMA
d19a7dee42
add fixtures to test/unit/lib/redmine/helpers/gantt_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 00:55:37 +00:00
Jean-Philippe Lang
5e57a1a9d9
Merged rails-3.2 branch.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang
ccf37f59a9
Methods moved.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 12:47:50 +00:00
Jean-Philippe Lang
0fad78f53f
Removed Query.generate_default! helper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 12:46:43 +00:00
Jean-Philippe Lang
2e3bf71e9a
Removed #generate_with_protected helper methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 12:45:13 +00:00
Jean-Philippe Lang
95f9246a46
Renamed object_daddy_helper and removed exemplars.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 11:58:05 +00:00
Jean-Philippe Lang
b960470d78
Removed object_daddy dependency.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 11:56:47 +00:00
Jean-Philippe Lang
4a3f038595
Use create!.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 08:42:32 +00:00
Jean-Philippe Lang
1c31e32df7
No need to save journal details.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 08:26:45 +00:00
Jean-Philippe Lang
4598c64ebd
Additional tests for IssuesHelper#show_detail.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 08:24:39 +00:00
Jean-Philippe Lang
b0f35a3cde
Fixed that users with different case logins cannot update their accounts ( #10711 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-19 08:42:07 +00:00
Jean-Philippe Lang
62eb536e32
Additional test for MailHandler.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-19 08:26:53 +00:00
Jean-Philippe Lang
67f90df175
Additional test for memberships API.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-19 08:18:27 +00:00
Jean-Philippe Lang
c88fbfbdad
Additional tests for Principal scopes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-19 08:01:28 +00:00
Jean-Philippe Lang
424a70978e
Additional tests for the PDF export of an issue.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-19 07:58:02 +00:00
Jean-Philippe Lang
143c29d8e1
Additional test for TrackersController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-18 19:49:10 +00:00
Jean-Philippe Lang
f79961f1c5
Additional tests for TimelogController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-18 19:42:18 +00:00
Jean-Philippe Lang
327a74b406
Additional test for Tracker model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-18 19:33:29 +00:00
Jean-Philippe Lang
864054c005
Additional test for MyController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-18 19:30:08 +00:00
Jean-Philippe Lang
6f71a508eb
Additional tests for CustomFieldsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-18 19:25:54 +00:00
Jean-Philippe Lang
2cc294aa27
Fixed that textile nested lists are not properly closed in output ( #10642 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-18 12:00:54 +00:00
Jean-Philippe Lang
c7149f4184
Fixed that Token.destroy_expired destroys API tokens.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9420 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-15 15:44:51 +00:00
Jean-Philippe Lang
24c361eb0a
Fixed that rss key is generated twice when user is not reloaded ( #10668 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-15 15:34:14 +00:00
Jean-Philippe Lang
9817e1d744
Additional test for Watcher.prune.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-15 15:13:28 +00:00
Jean-Philippe Lang
28f0c4f131
Adds the ability for users to delete their own account ( #10664 ). Can be disabled in application settings.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-15 14:31:54 +00:00
Jean-Philippe Lang
231282ddcb
Fixed MissingFeatureException: let user choose to copy attachments or not when bulk copying issues.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-14 06:21:03 +00:00
Jean-Philippe Lang
09375960d6
When copying issues, let the status be changed to default or left unchanged.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-14 05:45:16 +00:00
Jean-Philippe Lang
4edc30d157
Ignore emails with Auto-Submitted: auto-replied header ( #10607 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-13 16:55:04 +00:00
Jean-Philippe Lang
de0689d4f4
Makes time syntax case insensitive ( #10635 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-11 17:37:13 +00:00
Jean-Philippe Lang
1511b1435a
Additional assertions on creation of relations.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-11 17:27:11 +00:00
Jean-Philippe Lang
12b71ebc8e
Strip issue id when adding a relation.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-11 17:25:05 +00:00
Jean-Philippe Lang
04e7b18869
Fixed that export links include page parameter.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-11 17:02:21 +00:00
Jean-Philippe Lang
269e9057dd
Fixed that "Default administrator account changed" is always true ( #10622 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-09 15:53:48 +00:00
Jean-Philippe Lang
ea307619be
Fixed that improper statuses are proposed when changing status before tracker on the issue form ( #10619 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-09 09:39:27 +00:00
Jean-Philippe Lang
d2cb9d5289
Adds missing route to project search.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-08 20:06:53 +00:00
Jean-Philippe Lang
cfb06a2607
Additional test for gzipped wiki history.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 17:53:25 +00:00
Jean-Philippe Lang
5e4bb16a7f
Additional tests for WatchersController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 16:55:53 +00:00
Jean-Philippe Lang
eabbab6e2b
Adds assertions on the content of a versioned wiki page export ( #6941 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 15:31:06 +00:00
Jean-Philippe Lang
d25defe276
Adds assertions on the content of a wiki page export ( #6941 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 14:09:15 +00:00
Jean-Philippe Lang
dd1163b58a
Makes the mail handler ignore out-of-office emails ( #10607 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 13:24:30 +00:00
Jean-Philippe Lang
a7bacf70fb
Fixed: Unable to change locked, sticky flags and board when editing a message ( #10564 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 12:20:47 +00:00
Jean-Philippe Lang
07d20cc5f7
Let non required list/user/version custom fields to be set to blank when bulk editing ( #10605 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-06 11:56:30 +00:00
Etienne Massip
d36d64f664
Fixed Internal Error in watchers XHR search ( #10600 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-05 18:10:54 +00:00
Toshi MARUYAMA
f0936aaf18
scm: fix revisions page "OK" button always returns 404 error ( #10567 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-02 05:09:36 +00:00
Toshi MARUYAMA
cdb7ea8b91
scm: git: add test of from_path at unit model test_fetch_changesets_from_scratch
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-29 21:37:10 +00:00
Toshi MARUYAMA
d2c80656f1
scm: git: fix test revision value of unit app test
...
Hash range is from 0 to 9 and a to f
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-28 17:18:33 +00:00
Toshi MARUYAMA
9b333e1c87
scm: git: process new git revisions all at once rather than per branch ( #10470 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-28 17:18:04 +00:00
Jean-Philippe Lang
706f8b1691
Override watcher_user_ids= to make ids uniq ( #10538 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-25 19:52:24 +00:00
Jean-Philippe Lang
1294f72175
Fixed that issues can be moved to projects with issue tracking disabled ( #10467 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-25 19:32:05 +00:00
Jean-Philippe Lang
5663ca89fa
Fixes error message for LDAP filter ( #1060 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-24 14:07:42 +00:00
Jean-Philippe Lang
bb36fa5d12
Adds the repository identifier to Changeset#text_tag ( #779 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-24 13:03:36 +00:00
Jean-Philippe Lang
fae5250e52
Ability to add non-member watchers on issue creation ( #5159 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-24 12:57:28 +00:00
Jean-Philippe Lang
fec3e6c84b
Fixed: ruby 1.9.3 Time Zone setting Internal error ( #10442 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-17 12:49:47 +00:00
Jean-Philippe Lang
77314ebe8f
Fixed test names ( #1913 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-17 12:18:23 +00:00
Jean-Philippe Lang
fdeb398c5e
LDAP: adds the ability to bind with user's account ( #1913 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-17 12:09:59 +00:00
Toshi MARUYAMA
ef77825f10
replace hard-coded non ASCII literal to UTF-8 hexadecimal at test/unit/mail_handler_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-14 01:16:52 +00:00
Toshi MARUYAMA
224331dacb
replace hard-coded non ASCII literal to UTF-8 hexadecimal at test/unit/wiki_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-14 01:16:05 +00:00
Toshi MARUYAMA
ae5edac243
remove hard-coded non ASCII literal from unit git lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-14 01:15:41 +00:00
Jean-Philippe Lang
95b10f3bd3
Don't use #delete on String in Mailer.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-12 18:34:12 +00:00
Toshi MARUYAMA
dd1b2876b1
add missing fixtures to unit wiki_content_test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-12 12:07:52 +00:00
Jean-Philippe Lang
a8e392c0e5
Fixed that LDAP error is not displayed when testing connection.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 12:01:41 +00:00
Jean-Philippe Lang
71e636ff71
Resourcified auth_sources.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 11:53:28 +00:00
Jean-Philippe Lang
bd47af098f
Merged LdapAuthSourceController into AuthSourceController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 11:43:27 +00:00
Jean-Philippe Lang
81185a8d93
Additional tests for UsersController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 10:25:44 +00:00
Toshi MARUYAMA
a65f1e09e4
set svn:eol-style native test/fixtures/mail_handler/ticket_with_long_subject.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:47:35 +00:00
Toshi MARUYAMA
0be826d93a
set svn:eol-style native test/fixtures/mail_handler/ticket_with_invalid_attributes.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:43:12 +00:00
Toshi MARUYAMA
4b2aff84d5
set svn:eol-style native test/fixtures/mail_handler/ticket_with_attachment.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:42:17 +00:00
Toshi MARUYAMA
40cb7435a0
set svn:eol-style native test/fixtures/mail_handler/ticket_reply.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:41:28 +00:00
Toshi MARUYAMA
e691fd682d
set svn:eol-style native test/fixtures/mail_handler/ticket_on_given_project.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:38:18 +00:00
Toshi MARUYAMA
ad90ffd9b3
set svn:eol-style native test/fixtures/mail_handler/ticket_by_unknown_user.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:35:49 +00:00
Toshi MARUYAMA
8a4fb95d8e
set svn:eol-style native test/fixtures/mail_handler/ticket_by_empty_user.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:34:53 +00:00
Toshi MARUYAMA
1c09aa9901
set svn:eol-style native test/fixtures/mail_handler/issue_update_with_quoted_reply_above.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:33:16 +00:00
Toshi MARUYAMA
99b7cc7b16
set svn:eol-style native test/fixtures/mail_handler/issue_update_with_multiple_quoted_reply_above.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:31:12 +00:00
Toshi MARUYAMA
018a6a92a1
set svn:eol-style native test/fixtures/mail_handler/ticket_with_localized_attributes.eml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 00:27:21 +00:00
Jean-Philippe Lang
a74e86ddce
Additional tests for IssuesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 18:37:51 +00:00
Jean-Philippe Lang
934dd07fa7
Adds a test for #9076 .
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:57:31 +00:00
Jean-Philippe Lang
33cb9c87a9
More functional tests for NewsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:47:28 +00:00
Jean-Philippe Lang
25620a7429
More function tests for AdminController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:41:56 +00:00
Jean-Philippe Lang
2de9e782ad
More function tests for MessagesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-10 13:21:34 +00:00
Jean-Philippe Lang
67e8d1113e
Adds a test for when query is not found.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 20:00:38 +00:00
Toshi MARUYAMA
f0987e4b8f
scm: git: backout r8839 ( #8857 )
...
call "git log" only once instead of per branch in fetching revisions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-07 05:57:44 +00:00
Jean-Philippe Lang
2bcf9f2871
Prevent mass-assignment when adding/updating a forum ( #10390 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 21:36:28 +00:00
Jean-Philippe Lang
6aad82e524
Fixed that the proposed users list may be empty when adding a project member ( #10374 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-06 18:37:30 +00:00
Jean-Philippe Lang
89dc7bb60b
Sort values for assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 19:54:03 +00:00
Jean-Philippe Lang
aa9238912b
Changed assertions to make them work with Rails2/3 ruby1.8/1.9 different behaviours.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 11:03:26 +00:00
Jean-Philippe Lang
97ca65d1b2
Changed assertions to make them work with Rails2/3 ruby1.8/1.9 different behaviours.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 10:55:19 +00:00
Jean-Philippe Lang
d4372ab747
Array#to_s behaviour changed in ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 10:49:05 +00:00
Jean-Philippe Lang
9bb056e54d
Array#to_s behaviour changed in ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-05 10:47:04 +00:00
Jean-Philippe Lang
dc50edae5e
Adds a template for API error messages so that it does not depend on AR::Errors serialization.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 15:16:50 +00:00
Jean-Philippe Lang
5803bf9fc4
Strip login and password read from the email body.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 14:08:19 +00:00
Jean-Philippe Lang
df89c24e37
Adds an helper to get the body of an email in tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 14:01:54 +00:00
Jean-Philippe Lang
67d52acb84
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9091 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:55:25 +00:00
Jean-Philippe Lang
fa12fad4f2
Include ERB::Util in helpers tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:53:38 +00:00
Jean-Philippe Lang
8071b71c5d
No need to delete fixtures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:48:44 +00:00
Jean-Philippe Lang
80663e694d
Removed shoulda assertions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:43:17 +00:00
Jean-Philippe Lang
a6992aa6fc
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:39:57 +00:00
Jean-Philippe Lang
3aaf2b9ed0
Adds helpers for testing email body.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:28:18 +00:00
Jean-Philippe Lang
9b576d7d0a
Rails3: :order option has no effect here because of the default_scope on Enumeration.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:50:19 +00:00
Jean-Philippe Lang
45e2e57afb
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:44:58 +00:00
Jean-Philippe Lang
7ec8a9a100
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:43:55 +00:00
Jean-Philippe Lang
b06223738e
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:41:31 +00:00
Jean-Philippe Lang
d862843c9d
Renamed Mailer#test to Mailer#test_email.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:38:34 +00:00
Jean-Philippe Lang
1b923819e8
Removed some generate! calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:29:52 +00:00
Jean-Philippe Lang
7dbc3e4774
Removed some generate! calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:15:57 +00:00
Jean-Philippe Lang
bcd8c64384
No need to save the record.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:03:59 +00:00
Jean-Philippe Lang
c30a6dffe0
Use :joins instead of :include.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 11:54:52 +00:00
Jean-Philippe Lang
64d843a4d7
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 11:41:10 +00:00
Toshi MARUYAMA
858e317e6e
set svn:eol-style native test/exemplars/version_exemplar.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 11:08:32 +00:00
Jean-Philippe Lang
70ced2f2af
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 10:44:59 +00:00
Jean-Philippe Lang
739820141a
Extracted auto_link and auto_mailto to a module.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 10:04:46 +00:00
Jean-Philippe Lang
b4f22b93e9
Use regular create! instead of generate!
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-03 19:47:20 +00:00
Jean-Philippe Lang
b3866b05c1
Removes all #verify calls in controllers. Verification is handled at routing level now that the default route is removed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-03 15:09:20 +00:00
Jean-Philippe Lang
7edf345fbe
Adds a test for displaying list custom fields on the new issue form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 16:57:57 +00:00
Jean-Philippe Lang
9634fe054a
Adds a test for when updating a news fails.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 11:43:33 +00:00
Jean-Philippe Lang
9ffccf5304
Adds functional test for #test_connection.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 11:31:44 +00:00
Jean-Philippe Lang
8fda77dc40
Adds functional tests for LdapAuthSourcesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 11:25:19 +00:00
Jean-Philippe Lang
53f9979696
Use valid filters in #test_index_with_sort_filters.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-02 07:38:43 +00:00
Jean-Philippe Lang
f1358200d6
Removed obsolete helper empty test class.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 20:46:06 +00:00
Jean-Philippe Lang
2009a9ff25
Random test failures in #test_..._if_an_exception_is_raised with ruby1.8.7-p358 and sqlite3.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 20:34:41 +00:00
Jean-Philippe Lang
7448e0dbc4
Fixed that the bulk edit/copy form does not propose versions and categories for the target project ( #10350 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 20:22:08 +00:00
Jean-Philippe Lang
ac46497f1a
Fixes LDAP test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 19:47:03 +00:00
Jean-Philippe Lang
60741b3e1c
Adds an optional LDAP filter ( #1060 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 16:26:10 +00:00
Jean-Philippe Lang
ab46c52d4a
MailHandler: fixed that sender's fullname is not unquoted ( #10334 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 15:32:34 +00:00
Toshi MARUYAMA
2df6c99e67
back out from r9031 to r9036
...
On Rails3, 'to_s' is not alias of 'encoded'.
'to_s' is alias of 'decoded'.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 11:40:22 +00:00
Toshi MARUYAMA
30ce0cd8fb
Rails3: test: add .to_s for mail's bodies check at unit/mailer_test.rb
...
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:10:27 +00:00
Toshi MARUYAMA
7cdce2aeac
Rails3: test: add .to_s for mail's bodies check at unit/repository_test.rb
...
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:09:35 +00:00
Toshi MARUYAMA
e70f7ba75c
Rails3: test: add .to_s for mail's bodies check at functional/users_controller_test.rb
...
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:08:58 +00:00
Toshi MARUYAMA
fd18bcef95
Rails3: test: add .to_s for mail's bodies check at functional/messages_controller_test.rb
...
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:08:25 +00:00
Toshi MARUYAMA
41217ffea0
Rails3: test: add .to_s for mail's bodies check at functional/issues_controller_test.rb
...
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:07:41 +00:00
Toshi MARUYAMA
12ba0ba1c5
Rails3: test: add .to_s for mail's bodies check at functional/files_controller_test.rb
...
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:07:10 +00:00
Jean-Philippe Lang
c0048f7954
Fixed potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-28 05:35:33 +00:00
Jean-Philippe Lang
c3d079aeb8
Fixed potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-28 05:33:46 +00:00
Jean-Philippe Lang
586661caad
Fixed potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-28 05:29:36 +00:00
Jean-Philippe Lang
c7e81dfa9b
Fixed potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-28 05:25:26 +00:00
Jean-Philippe Lang
774e5f3b5e
Fixed potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-28 05:25:04 +00:00
Etienne Massip
7056649a4b
Override @#url_for@ in AM to force generation of absolute links ( #10251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 18:42:03 +00:00
Jean-Philippe Lang
fba7789bb1
Adds a test for project menu item when displaying a revision.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 15:26:35 +00:00
Jean-Philippe Lang
4384db597c
Adds a test for when displaying the new message form on boards#show.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 15:11:50 +00:00
Jean-Philippe Lang
7c568cccaf
Adds a helper for displaying validation error messages.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-26 18:07:13 +00:00
Toshi MARUYAMA
9c264a7e66
Rails3: scm: cvs: fix error of test_fetch_changesets_incremental at unit model test
...
On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-26 14:09:21 +00:00
Jean-Philippe Lang
39aa4cac86
Moved tests about session reset to functional tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-26 12:00:41 +00:00
Jean-Philippe Lang
33d4821923
Rewrite test without shoulda macros.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 20:47:23 +00:00
Jean-Philippe Lang
4f153083ac
Removed assertions on blank template.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 20:42:31 +00:00
Jean-Philippe Lang
4f31027f08
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 16:33:00 +00:00
Jean-Philippe Lang
62c8ad4df4
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9006 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 16:31:13 +00:00
Jean-Philippe Lang
888287c602
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 15:23:20 +00:00
Jean-Philippe Lang
10a37f4b6b
Rails 3.1 compatibility.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 15:20:28 +00:00
Jean-Philippe Lang
cf9154f924
Can not use Project#find on scopes with Rails 3.1.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 12:57:30 +00:00
Jean-Philippe Lang
21607751c9
Clean up assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 12:35:22 +00:00
Jean-Philippe Lang
9964e20a03
Adds missing format parameter.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 10:41:22 +00:00
Jean-Philippe Lang
28503d83cb
Do not do assertions on mail class.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 09:58:23 +00:00
Toshi MARUYAMA
b7ead65fde
Rails3: test: fix ordering functional/comments_controller_test.rb
...
On Rails 3.0.11, test fails.
<pre>
Failure: <"This is a test comment"> expected but was
<"my first comment">.
test_add_comment(CommentsControllerTest)
test/functional/comments_controller_test.rb:34:in `test_add_comment'
</pre>
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 01:43:11 +00:00
Jean-Philippe Lang
4a6de486ba
Use fixture.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 21:24:00 +00:00
Jean-Philippe Lang
cc19635b6e
Potential test failure fixed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 18:43:35 +00:00
Jean-Philippe Lang
528735b955
Use subclasses method instead of class variable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 18:23:58 +00:00
Toshi MARUYAMA
1f2f32f58c
scm: cvs: add test to override human_attribute_name
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 14:02:26 +00:00
Toshi MARUYAMA
e323a0c20c
scm: filesystem: add test to override human_attribute_name of "Root directory"
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 13:04:06 +00:00
Toshi MARUYAMA
41c16ecb2f
scm: mercurial: remove unnecessary log_encoding from overriding human_attribute_name test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 12:38:58 +00:00
Toshi MARUYAMA
c5ed7bbce5
scm: git: remove unnecessary log_encoding from overriding human_attribute_name test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 12:38:35 +00:00
Toshi MARUYAMA
beb3b23fb6
scm: mercurial: add test to override human_attribute_name of "path to repository"
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 11:31:59 +00:00
Toshi MARUYAMA
ca9e41280a
scm: git: add test to override human_attribute_name of "path to repository"
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 11:31:38 +00:00
Toshi MARUYAMA
d004d83183
scm: mercurial: split unit model test setup whether repository required or not
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 11:18:59 +00:00
Toshi MARUYAMA
4a7de0cd63
scm: git: split unit model test setup whether repository required or not
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 11:18:37 +00:00
Toshi MARUYAMA
9f581b9eeb
scm: bazaar: add test to override human_attribute_name of "path to repository"
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 10:02:20 +00:00
Toshi MARUYAMA
b73d5d7ecc
scm: darcs: add test to override human_attribute_name of "path to repository"
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 10:01:58 +00:00
Toshi MARUYAMA
873e57dc86
code layout cleanup test/unit/repository_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 04:09:06 +00:00
Toshi MARUYAMA
c0cdde6506
scm: add test to override human_attribute_name of log_encoding
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 04:08:47 +00:00
Jean-Philippe Lang
71c83e1155
Adds functional tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 15:41:29 +00:00
Jean-Philippe Lang
0bb9579088
Adds required fixtures back.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 15:23:58 +00:00
Jean-Philippe Lang
c49ef8e543
Adds functional tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:39:55 +00:00
Jean-Philippe Lang
e6a64aa00b
Adds functional tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:26:30 +00:00
Jean-Philippe Lang
0f721f6f7b
Adds functional tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:18:54 +00:00
Jean-Philippe Lang
7e347069d5
Better message for file size validation error.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:18:10 +00:00
Toshi MARUYAMA
9774782cab
Rails3: test: scm: mercurial: use "repository_path_hash" for path param
...
Rails3 new route format returns path param as string not array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:18:03 +00:00
Toshi MARUYAMA
844d904426
Rails3: test: scm: darcs: use "repository_path_hash" for path param
...
Rails3 new route format returns path param as string not array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:17:32 +00:00
Toshi MARUYAMA
5033a155b3
Rails3: test: scm: subversion: use "repository_path_hash" for path param
...
Rails3 new route format returns path param as string not array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 10:10:48 +00:00
Jean-Philippe Lang
77626ef6fb
Adds support for adding attachments to issues through the REST API ( #8171 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 10:01:16 +00:00
Toshi MARUYAMA
d086683b17
Rails3: test: scm: bazaar: use "repository_path_hash" for path param
...
Rails3 new route format returns path param as string not array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 08:49:05 +00:00
Toshi MARUYAMA
00ec4e189f
Rails3: test: scm: cvs: use "repository_path_hash" for path param
...
Rails3 new route format returns path param as string not array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 07:33:44 +00:00
Toshi MARUYAMA
1e7340b448
Rails3: test: scm: filesystem: use "repository_path_hash" for path param
...
Rails3 new route format returns path param as string not array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 06:12:44 +00:00
Toshi MARUYAMA
08811bd259
Rails3: test: scm: git: use "repository_path_hash" for path param
...
Rails3 new route format returns path param as string not array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 06:12:22 +00:00
Toshi MARUYAMA
21cb2ee817
Rails3: test: scm: move "repository_path_hash" method in repositories routing test to test_helper.rb for common use
...
Rails3 new route format returns path param as string not array.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 06:11:59 +00:00
Toshi MARUYAMA
f5c4607769
use English as default language at "test_reminders_should_not_include_closed_issues" of unit mailer test
...
On Rails 3.1.3, test fails and output is not English.
<pre>
Error: test_reminders_should_not_include_closed_issues(MailerTest)
ActiveRecord::RecordInvalid: Validation failed: Tracker non è incluso nella lista
test/unit/mailer_test.rb:459:in `test_reminders_should_not_include_closed_issues'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-22 03:28:42 +00:00
Jean-Philippe Lang
77287d1f0b
Fixed magic link in the note added when closing an issue by a commit from a subproject ( #10284 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-20 21:58:57 +00:00
Toshi MARUYAMA
5b48e4ae58
use assert_select instead of include? at "test_register" of unit mailer test
...
On Rails 3.0.11, token breaks with new line.
So, test fails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-20 14:36:43 +00:00
Jean-Philippe Lang
a9161a3fde
Don't use auth_sources fixtures when not needed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 21:51:03 +00:00
Jean-Philippe Lang
148bc9448b
Fixed a test that writes into fixtures directory.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 21:42:09 +00:00
Jean-Philippe Lang
dedfdefcf3
Disabled on the fly registration for auth_source fixture.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 21:39:29 +00:00
Jean-Philippe Lang
3e3d7c8d4f
Friendly response when the LDAP connection fails.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 18:13:46 +00:00
Jean-Philippe Lang
37575f27fe
Do not recognize invalid textile attributes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-17 22:31:01 +00:00
Toshi MARUYAMA
421db739c5
scm: git: replace "write_attribute" at unit model test for database order consistency ( #5357 )
...
On Rails 3.0.11, "NoMethodError: private method `write_attribute'" error raises.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-17 14:28:08 +00:00
Toshi MARUYAMA
ff65babd1c
scm: git: replace "order" at unit model test of fetching from scratch ( #5357 )
...
On Rails 3.0.11, this test fails.
Revision order of Git and Mercurial is not date/time order.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-17 14:27:52 +00:00
Jean-Philippe Lang
b455ac2a27
Adds a rake test that removes old unattached uploads ( #10253 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-16 21:18:01 +00:00
Jean-Philippe Lang
d4e6355eb3
Better handling of attachments when issue validation fails ( #10253 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-16 21:00:11 +00:00
Toshi MARUYAMA
84dd4ecbd4
route: split issue preview route to adding and editing
...
"No route matches" error raises in "preview_issue_path"
at app/views/issues/new.html.erb:35 on Rails 3.0.11 and Rails 3.1.3 new route format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 22:49:03 +00:00
Toshi MARUYAMA
f7618160ad
use with_settings instead of direct "Setting" at "test_index" of functional issues controller test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 21:42:34 +00:00
Jean-Philippe Lang
3c75601976
Moved redmine links escaping assertions to their own test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:59:13 +00:00
Jean-Philippe Lang
5c3ac1a40e
Adds support for "Magic links" to notes ( #2715 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:49:31 +00:00
Jean-Philippe Lang
6aae25209a
Fixed that partial diffs are done against html instead of original code ( #9143 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:39:47 +00:00
Jean-Philippe Lang
008557581d
Makes user autocompleters work with firstname and lastname.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-14 16:29:48 +00:00
Jean-Philippe Lang
4ccb898360
Fixed: {{toc}} uses identical anchors for subsections with the same name ( #8194 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-14 08:09:23 +00:00
Jean-Philippe Lang
cccfed7006
Fixed: error when creating a project with a version format custom field ( #10218 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-13 18:57:12 +00:00
Jean-Philippe Lang
7fa18cad57
Prevent ActiveRecord::StaleObjectError in Issue#reschedule_after ( #7920 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 19:41:42 +00:00
Jean-Philippe Lang
d289619c75
Fixed potential error when sorting members without role ( #10053 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:54:30 +00:00
Jean-Philippe Lang
83458ee824
Updated test against r8860.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:18:32 +00:00
Jean-Philippe Lang
0ede069d2c
Allows custom styles in textile formatting using a white list of styles ( #2416 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:00:43 +00:00
Toshi MARUYAMA
2fa19441a7
scm: git: use default branch from HEAD ( #10207 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 06:22:59 +00:00
Toshi MARUYAMA
804482ef2b
scm: git: update test repository ( #10207 )
...
New "master-20120212" branch is added.
Git branch is the reference to the specific revision.
This branch points the same revision with "master" branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 06:22:33 +00:00
Jean-Philippe Lang
8ddcc4caf5
Adds a News#commentable? method to easily specific additional rules.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 17:14:56 +00:00
Jean-Philippe Lang
627754366c
Prevent random failures due to params order.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:53:31 +00:00
Jean-Philippe Lang
b5fabd052b
Adds a test for changeset/issue relations deletion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:19:16 +00:00
Jean-Philippe Lang
8f92121606
Fixed that changesets parents associations are not deleted when deleting a repository.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:17:47 +00:00
Jean-Philippe Lang
60b9e59d15
Displays the full form when creating a version from the issue form so that required custom fields can be filled ( #7398 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 13:05:41 +00:00
Jean-Philippe Lang
2ec55c5337
Only show statuses that can be applied to all issues on the bulk edit form ( #10181 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 12:03:48 +00:00
Jean-Philippe Lang
686430ee36
Fixed: wrong section edit links when a heading contains inline code ( #10199 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 10:02:24 +00:00
Toshi MARUYAMA
1e5f16722f
scm: git: call "git log" only once instead of per branch in fetching revisions ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 05:42:06 +00:00
Toshi MARUYAMA
d90cdb1b10
scm: git: raise exception if "git log" is error and block is given in lib revision method ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-10 22:56:54 +00:00
Toshi MARUYAMA
4d5d51e322
scm: git: clarify the purpose of the unit model test to fetch history editing revisions
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-10 07:25:27 +00:00
Jean-Philippe Lang
5e0c1cc5ce
Bulk-edit custom fields through context menu ( #6296 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 18:22:11 +00:00
Toshi MARUYAMA
c94426d21e
scm: git: add explicit :excludes option to calling revision method in "test_revisions_includes_master_two_revs_from_origin" of unit lib test ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 15:07:11 +00:00
Toshi MARUYAMA
7f70d2faaa
scm: git: add test of get revisions from disjointed histories to unit lib test ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 08:34:24 +00:00
Toshi MARUYAMA
e34dab7443
scm: git: update test repository ( #8857 )
...
New disjointed history revisions are added.
This test repository has two origins.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 08:20:37 +00:00
Toshi MARUYAMA
a9ad2a4dcc
scm: git: remove redundant comma from test_revisions_includes_master_two_revs_from_origin of unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 07:39:27 +00:00
Toshi MARUYAMA
f4de82510a
scm: git: code cleanup "test_branches" of unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 06:43:42 +00:00
Toshi MARUYAMA
19909bc4c8
scm: git: add lib test to get master branch revisions from origin ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 06:05:10 +00:00
Toshi MARUYAMA
693191e8bf
scm: git: add model method to get heads from extra_info branches hash ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 00:11:03 +00:00
Toshi MARUYAMA
34b3a9851f
scm: git: add includes and excludes options to lib revisions method ( #8857 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 23:38:35 +00:00
Toshi MARUYAMA
f319409abc
scm: git: remove unused "--all" option of "git log" in lib revisions method
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:18:20 +00:00
Toshi MARUYAMA
40a37b194d
scm: git: use explicit "master" instead of all for revisions method at unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:04:03 +00:00
Toshi MARUYAMA
186abba94b
code layout cleanup test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:03:39 +00:00
Toshi MARUYAMA
ed8f988a9b
scm: git: use explicit "master" for latest_changesets at unit app test
...
If revision is not set, controller sets default branch for latest_changesets.
"git log" returns HEAD on bare repository if revision is not set.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-07 23:27:51 +00:00
Toshi MARUYAMA
1489623584
scm: git: remove "test_getting_certain_revisions" from unit lib test
...
Redmine does not use '899a15d^' syntax.
This test is covered by "test_revisions_master_merged_rev".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-07 15:40:56 +00:00
Jean-Philippe Lang
cdcf813fa7
Adds membership ids to /users/:id API response.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 16:32:50 +00:00
Jean-Philippe Lang
dfbab5d61e
Fixed "can't convert Fixnum into String" error on projects with numerical identifier ( #10135 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 14:44:40 +00:00
Jean-Philippe Lang
6f1d553cff
Typo
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 11:33:39 +00:00
Jean-Philippe Lang
be246de161
Adds a simple API for listing roles ( #9725 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 10:06:32 +00:00
Jean-Philippe Lang
c5665276b7
REST API for project memberships ( #7420 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 09:47:10 +00:00
Jean-Philippe Lang
78bd24c6f7
Resourcified project memberships.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 16:35:27 +00:00
Jean-Philippe Lang
001b255b08
Ability to edit a wiki page's parent on the edit page ( #6449 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 14:35:27 +00:00
Jean-Philippe Lang
6c27093a8b
Fixed an assertion for ruby1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 13:48:16 +00:00
Jean-Philippe Lang
967f42aa98
Adds a X-Redmine-Sender header to email notifications ( #5643 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:57:19 +00:00
Jean-Philippe Lang
4128a8bfd0
Removed mocha availability checks in tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:20:41 +00:00
Jean-Philippe Lang
9f6496b0bc
Fixed registration form broken by r8479.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:17:29 +00:00
Jean-Philippe Lang
a00f04886f
Increase username length limit from 30 to 60 ( #2719 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 11:50:53 +00:00
Jean-Philippe Lang
1d4ef8964d
Adds a "Manage related isses" permission to add/remove commits/issues relations manually from the changeset view ( #2009 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 10:56:27 +00:00
Jean-Philippe Lang
ddc3814d45
Fixes assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 20:08:05 +00:00
Jean-Philippe Lang
fb3b904b8f
Better handling of issue update conflicts ( #8691 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 17:36:15 +00:00
Jean-Philippe Lang
333a6cc370
Fixed rounding issue on spent hours column in CSV export ( #10150 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 11:03:44 +00:00
Toshi MARUYAMA
2789cf2506
attachment: fix that diff type is not saved in user preference ( #10152 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 06:23:38 +00:00
Toshi MARUYAMA
af50c1e13e
scm: git: add test that diff type is saved in user preference ( #10152 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 06:23:00 +00:00
Jean-Philippe Lang
d02f6a8e32
Adds a setting that allows to reference/fix issues of all projects ( #3087 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 18:09:37 +00:00
Jean-Philippe Lang
3dc73dcb88
Fixed: associated changesets from other projects are not visible if the current project doesn't have the repository module enabled ( #3087 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 17:43:36 +00:00
Jean-Philippe Lang
2808adf99f
Adds members of subprojects in assignee and author filters ( #10126 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-01 20:07:01 +00:00
Jean-Philippe Lang
0154d7477b
Simplifies Principal.active scope (status defaults to 1 for groups).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-01 19:35:49 +00:00
Toshi MARUYAMA
65a1f54f71
code layout clean up test/unit/mail_handler_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 23:27:15 +00:00
Toshi MARUYAMA
682efe399d
code layout cleanup unit mail handler test fixtures
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 22:51:55 +00:00
Jean-Philippe Lang
2664693ae8
Removed useless permission check in wiki controller.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:50:04 +00:00
Jean-Philippe Lang
3d27bf5318
Adds export of all wiki pages to a PDF file ( #3463 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:42:14 +00:00
Jean-Philippe Lang
24138187eb
Allows attachments on news ( #1972 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:39:06 +00:00
Jean-Philippe Lang
79b12c73d9
Display of multi custom fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:01:40 +00:00
Jean-Philippe Lang
8d5f932660
Do not validate blank default custom field value.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 21:09:44 +00:00
Jean-Philippe Lang
cd6db6a3cb
Adds support for multiselect custom fields ( #1189 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Jean-Philippe Lang
0c5af16e14
Support for nested array in API builder.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 18:29:09 +00:00
Toshi MARUYAMA
64b59f1502
test: add attachment tests at unit mail handler test for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 11:24:48 +00:00