Go MAEDA
6765505b2d
Add missing fixtures to several tests ( #30276 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-09 14:26:56 +00:00
Go MAEDA
1ffdaafb3b
Test for r17763 ( #30171 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-17 04:52:36 +00:00
Jean-Philippe Lang
2576292959
Set User.current to nil before unit tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 17:23:31 +00:00
Jean-Philippe Lang
4bbe2fc7e6
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 17:07:52 +00:00
Jean-Philippe Lang
82685d9a28
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 16:43:17 +00:00
Jean-Philippe Lang
2fdbcd35dd
Adds a permission to log time for another user ( #3848 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 16:28:22 +00:00
Jean-Philippe Lang
fb1d0bf165
Clear thumbnails directory to prevent test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 13:27:52 +00:00
Jean-Philippe Lang
2452bc0092
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 06:21:02 +00:00
Jean-Philippe Lang
10eba2878a
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-15 15:20:17 +00:00
Go MAEDA
cccd14ae5c
Deletes thumbnails when the attachment diskfile is deleted ( #30177 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-15 02:58:45 +00:00
Go MAEDA
bda0de0044
Allows re-use of thumbnails for identical attachments ( #30177 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-15 02:37:00 +00:00
Jean-Philippe Lang
2b5d0362bc
Removed instance variables that are no longer used after r17727 ( #30163 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-13 19:56:09 +00:00
Jean-Philippe Lang
196540f7f6
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-13 19:47:26 +00:00
Jean-Philippe Lang
7145e6d09a
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-13 17:54:40 +00:00
Jean-Philippe Lang
b97770dc5c
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-13 17:53:47 +00:00
Jean-Philippe Lang
fde78164dc
Test failure.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-13 17:51:08 +00:00
Go MAEDA
c63a877286
Remove unnecessary tests in test/unit/initializers/patches_test.rb ( #30163 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-13 00:17:15 +00:00
Go MAEDA
9f6277e07c
Setting to restrict spent times on future dates ( #3322 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-11 03:55:58 +00:00
Jean-Philippe Lang
4cba8d9599
Tests broken for SQLite3 ( #30119 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-08 06:40:29 +00:00
Go MAEDA
8a0a3bc8ed
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-06 00:34:21 +00:00
Go MAEDA
91f788854d
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-04 10:29:56 +00:00
Jean-Philippe Lang
12d1372ae5
Let admin users unarchive subprojects of archived projects ( #29993 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 11:13:28 +00:00
Jean-Philippe Lang
3c423df203
Don't send notifications when using Issue.generate! in tests in order to speed up tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 08:36:14 +00:00
Jean-Philippe Lang
0e9837e4d1
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 07:54:49 +00:00
Jean-Philippe Lang
4ce9de94bc
Tests failure with SQLite3.
...
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: custom_fields_trackers.custom_field_id, custom_fields_trackers.tracker_id: INSERT INTO "custom_fields_trackers" ("custom_field_id", "tracker_id") VALUES (?, ?)
git-svn-id: http://svn.redmine.org/redmine/trunk@17675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 12:38:16 +00:00
Jean-Philippe Lang
4f5f1f3945
Tests failure with SQLite3.
...
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: custom_fields_trackers.custom_field_id, custom_fields_trackers.tracker_id: INSERT INTO "custom_fields_trackers" ("custom_field_id", "tracker_id") VALUES (?, ?)
git-svn-id: http://svn.redmine.org/redmine/trunk@17674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 12:35:45 +00:00
Jean-Philippe Lang
6309131c13
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 11:25:30 +00:00
Go MAEDA
e23b2023cb
Allow single Chinese character as a search keyword ( #30037 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-30 15:42:30 +00:00
Jean-Philippe Lang
198212f991
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 22:20:14 +00:00
Jean-Philippe Lang
1cadb28a6e
Current user should be nil to prevent ActiveJob::DeserializationError errors in tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 19:24:30 +00:00
Jean-Philippe Lang
0fac1a5440
Adds a test for #30001 .
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 16:06:52 +00:00
Go MAEDA
9b682c2537
Add missing fixtures for test_create_should_send_notification ( #29990 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 06:52:33 +00:00
Jean-Philippe Lang
4770fa5b6a
Tests for #29674 .
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@17646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-28 18:15:56 +00:00
Jean-Philippe Lang
f130bf9e2b
REST API with JSON content missing false values ( #20788 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-28 18:03:07 +00:00
Go MAEDA
14d441a144
Remove blank keys from sort criteria ( #30009 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 05:22:04 +00:00
Go MAEDA
7fbcb8c908
Tags start with 'pre' are handled as 'pre' tag in Textile ( #8395 ).
...
Patch by Takenori TAKAKI and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 04:40:09 +00:00
Go MAEDA
f743d2356f
Fix: Attachments are added even if validation fails when updating an issue via email ( #28576 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@17630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-23 06:07:32 +00:00
Go MAEDA
c5eff3dae2
Strip whitespace from integer custom field ( #8317 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-08 13:01:06 +00:00
Go MAEDA
54cfb7b75e
Sort issues by due date in email reminders ( #29771 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-06 03:13:46 +00:00
Go MAEDA
5dee8589d5
Remove trailing whitespaces from test/unit/mailer_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-06 02:45:26 +00:00
Go MAEDA
9c99d50713
Removes request and response accessors from Structure class ( #28564 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-03 08:11:22 +00:00
Go MAEDA
a0479c768e
Filter time entries after project status ( #20081 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 04:05:18 +00:00
Go MAEDA
21034c5628
Filter issues after project status ( #20081 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 04:03:52 +00:00
Go MAEDA
e8243d213d
\f or \v character in Textile markup may cause RegexpError exception ( #29756 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-28 11:01:54 +00:00
Go MAEDA
ccd524a04a
Add missing enabled_modules fixture to TrackerTest ( #29820 ).
...
Patch by Gilad Shanan.
git-svn-id: http://svn.redmine.org/redmine/trunk@17599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-20 01:10:20 +00:00
Go MAEDA
facb44cb03
Ensure that vendor-defined characters in ISO-2022-JP email subject don't break issue's subject ( #29442 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-15 10:00:18 +00:00
Go MAEDA
7be4200651
Fix broken tests due to r17593 ( #29739 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-11 16:14:37 +00:00
Jean-Philippe Lang
b4425f6ec1
#last_email already asserts that mail is not nil.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 19:06:21 +00:00
Jean-Philippe Lang
717bef36a3
Journal must be saved.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 18:41:12 +00:00
Jean-Philippe Lang
0c78056a69
Send emails asynchronously ( #26791 ).
...
Custom async_* delivery methods are removed in favor of ActiveJob (Async by default).
git-svn-id: http://svn.redmine.org/redmine/trunk@17588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 17:13:09 +00:00