Commit Graph

426 Commits

Author SHA1 Message Date
Toshi MARUYAMA
abe914fd3f add test that anonymous user can add watchers by mail (#26654)
git-svn-id: http://svn.redmine.org/redmine/trunk@16963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-09-07 17:22:14 +00:00
Jean-Philippe Lang
e930ee8e98 Adds a checkbox to set a page as the wiki start page (#26579).
git-svn-id: http://svn.redmine.org/redmine/trunk@16915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-30 07:38:48 +00:00
Jean-Philippe Lang
1b1a9b6ed5 Removes darcs test repository (#26391).
git-svn-id: http://svn.redmine.org/redmine/trunk@16887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-25 17:39:26 +00:00
Jean-Philippe Lang
b99c3caae8 Renames column comments.comments to comments.content to please Rails 5.1 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:40:14 +00:00
Jean-Philippe Lang
1ff3e91033 Adds a test for importing list custom fields with multiple values (#26148).
git-svn-id: http://svn.redmine.org/redmine/trunk@16837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-19 17:07:13 +00:00
Jean-Philippe Lang
9b0fcdaf2b New permission: view news (#7068).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:25:25 +00:00
Jean-Philippe Lang
b674e80128 New Permission: View Forum (#4866).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:20:22 +00:00
Toshi MARUYAMA
8c03f2a6db allow unicode whitespace after mail handler body delimiters (#17718)
Contributed by Holger Just and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 01:34:52 +00:00
Jean-Philippe Lang
ccb9d4ada9 Rescue any EncodingError exceptions (#25861).
git-svn-id: http://svn.redmine.org/redmine/trunk@16572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 08:40:39 +00:00
Jean-Philippe Lang
756a102820 Reset status when copying issues (#23610).
git-svn-id: http://svn.redmine.org/redmine/trunk@16451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 10:30:29 +00:00
Jean-Philippe Lang
f338fe9075 Allow to set multiple values in emails for list custom fields (#16549).
git-svn-id: http://svn.redmine.org/redmine/trunk@16380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 19:55:56 +00:00
Jean-Philippe Lang
a63908c5ed Emails with no text or html Content not handled properly (#25269, #25256).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-07 17:54:09 +00:00
Jean-Philippe Lang
a9a1f6205a Mail parts with empty content should be ignored (#25256).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:41:20 +00:00
Toshi MARUYAMA
7816a4025a remove trailing white space from test/fixtures/workflows.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@16339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-21 11:19:23 +00:00
Jean-Philippe Lang
1b911e51f9 Time entry queries should be copied and deleted too.
git-svn-id: http://svn.redmine.org/redmine/trunk@16320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-31 18:15:32 +00:00
Jean-Philippe Lang
19d2529faa Check permission of wiki pages before generating a link to it (#23793).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 07:49:38 +00:00
Toshi MARUYAMA
3ac569c4d8 additional test for mail by Pavel Rosický (#24616)
git-svn-id: http://svn.redmine.org/redmine/trunk@16274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-28 06:25:03 +00:00
Jean-Philippe Lang
9c645719ee Allow forward reference to parent when importing issues (#22701).
git-svn-id: http://svn.redmine.org/redmine/trunk@16241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 09:08:40 +00:00
Jean-Philippe Lang
f30462595e Optional Regex delimiters to truncate incoming emails (#5864).
git-svn-id: http://svn.redmine.org/redmine/trunk@16065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-13 18:46:29 +00:00
Jean-Philippe Lang
3186130966 Don't use assert_equal nil.
git-svn-id: http://svn.redmine.org/redmine/trunk@16064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-12 21:36:14 +00:00
Toshi MARUYAMA
b85dc8b35c remove trailing white-spaces from test/fixtures/journals.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@15949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-07 11:42:41 +00:00
Toshi MARUYAMA
dc8d7b0594 remove trailing white-spaces from test/fixtures/issues.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@15948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-07 11:42:31 +00:00
Jean-Philippe Lang
29ddc82a11 Removes calls to #assert_template and #assigns in functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 16:58:59 +00:00
Jean-Philippe Lang
f6754a0f7a Make Status map-able for CSV import (#22951).
git-svn-id: http://svn.redmine.org/redmine/trunk@15493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-07 18:39:44 +00:00
Jean-Philippe Lang
e3875ffd57 Make Tracker map-able for CSV import (#22951).
git-svn-id: http://svn.redmine.org/redmine/trunk@15490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-07 18:23:42 +00:00
Jean-Philippe Lang
64afa24a7f Replaces acts_as_list with an implementation that handles #position= (#12909).
Objects are reordered using the regular attribute writer #position= and AR callbacks.

git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-17 06:57:20 +00:00
Jean-Philippe Lang
05a9275fda "I don't want to be notified of changes that I make myself" as Default for all User (#14574).
git-svn-id: http://svn.redmine.org/redmine/trunk@15288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-03 11:33:28 +00:00
Toshi MARUYAMA
e28cc10a35 add test which ensure received mail text attachment keeps original encoding (#21742)
This test fails on Ruby >= 2.1 and will be fixed by next revision.

Contributed by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@15183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-04 06:55:55 +00:00
Jean-Philippe Lang
81b681764a Add column estimated_hours for CSV import (#21867).
Patch by Yuichi Masumiya.

git-svn-id: http://svn.redmine.org/redmine/trunk@15131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:19:04 +00:00
Jean-Philippe Lang
91da86a688 Add watchers from To and Cc fields in issue replies (#7017).
git-svn-id: http://svn.redmine.org/redmine/trunk@15092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 20:01:05 +00:00
Jean-Philippe Lang
52621c697d Makes the test LDAP host configurable (#21674).
git-svn-id: http://svn.redmine.org/redmine/trunk@15088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 18:10:26 +00:00
Toshi MARUYAMA
786e3cff10 run LDAP tests on Travis CI
git-svn-id: http://svn.redmine.org/redmine/trunk@14785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-31 15:43:21 +00:00
Toshi MARUYAMA
ec0753e39c remove test-ldap.ldif entries which are unable imported to OpenLDAP 2.4.40
<pre>
adding new entry "dc=redmine,dc=org"
ldap_add: Constraint violation (19)
	additional info: structuralObjectClass: no user modification allowed
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@14782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-31 13:44:12 +00:00
Toshi MARUYAMA
e6ba14610c add sample slapd.conf on CentOS6 (x86_64)
git-svn-id: http://svn.redmine.org/redmine/trunk@14781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-31 13:44:01 +00:00
Jean-Philippe Lang
3caa882286 MailHandler: Select project by subaddress (redmine+project@example.com) (#20732).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-17 10:03:49 +00:00
Jean-Philippe Lang
212f7ffe58 Use same logic for finding user when importing a file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 07:06:43 +00:00
Jean-Philippe Lang
722eaed721 Adds support for custom date format when importing a CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 15:42:28 +00:00
Jean-Philippe Lang
035edd39c4 Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 08:20:32 +00:00
Jean-Philippe Lang
2bc5b60f9d Makes new issue initial status settable in workflow (#5816).
git-svn-id: http://svn.redmine.org/redmine/trunk@14458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-26 08:30:19 +00:00
Jean-Philippe Lang
3602963ee4 Missing member_roles fixture (#20174).
Patch by Vincent Robert.

git-svn-id: http://svn.redmine.org/redmine/trunk@14373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-27 06:53:19 +00:00
Jean-Philippe Lang
3ae42cb326 Better handle html-only emails (#16962).
git-svn-id: http://svn.redmine.org/redmine/trunk@14313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-15 21:16:42 +00:00
Toshi MARUYAMA
9ad21e9726 replace tabs to spaces at test/fixtures/ldap/slapd.conf
git-svn-id: http://svn.redmine.org/redmine/trunk@14185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-19 10:33:23 +00:00
Jean-Philippe Lang
ab4916b01a Fixed test failures (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-21 10:05:11 +00:00
Jean-Philippe Lang
0b04de0a23 Send a better content type than application/octet-stream (#19131).
git-svn-id: http://svn.redmine.org/redmine/trunk@14034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-19 17:46:24 +00:00
Jean-Philippe Lang
c3c7d9a4d2 Adds a :copy_issues permission (#18855).
When copy is allowed, target projects are those on which the user has the :add_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 12:07:00 +00:00
Jean-Philippe Lang
01f673be08 Removed :move_issues permission (#18855).
This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 10:20:53 +00:00
Jean-Philippe Lang
b50fa8fec1 Fixed attachment fixture (should be attached to issue 3 because one of its journals references it), r13937.
git-svn-id: http://svn.redmine.org/redmine/trunk@13942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 11:27:28 +00:00
Jean-Philippe Lang
e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00
Jean-Philippe Lang
f86d4940e1 Removed that quote in a fixture subject.
git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 14:22:50 +00:00
Jean-Philippe Lang
bdd3ccf8e5 Adds a role setting for controlling visibility of users: all or members of visible projects (#11724).
git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 13:08:52 +00:00