Commit Graph

5306 Commits

Author SHA1 Message Date
Go MAEDA
6ece31ff63 Remove trailing whitespaces from test/unit/lib/redmine/wiki_formatting_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-10 09:03:34 +00:00
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
ba14bc4802 Don't hardcode expected text (#3848).
git-svn-id: http://svn.redmine.org/redmine/trunk@17760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 17:23:08 +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
fee009f04f Ability to add private comments from the issue bulk edit page (#22368).
git-svn-id: http://svn.redmine.org/redmine/trunk@17744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 07:00:11 +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
42fd5383fa Test 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@17739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-15 22:32:27 +00:00
Go MAEDA
7d827b1389 Display notice on forum updates (#2635).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-15 21:40:09 +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
35587f9d39 Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@17734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-13 23:16:05 +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
Jean-Philippe Lang
58e3e4e441 Test 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@17728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-13 17:38:43 +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
Jean-Philippe Lang
f05f3b50c8 Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@17725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 20:04:25 +00:00
Jean-Philippe Lang
e647e99b74 Allow issues grouping by creation, update and closing date (#13803).
Implemented for PostgreSQL only for now.

git-svn-id: http://svn.redmine.org/redmine/trunk@17724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 19:52:28 +00:00
Jean-Philippe Lang
72980f4175 Allow issues grouping by start and due dates (#13803).
git-svn-id: http://svn.redmine.org/redmine/trunk@17723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 19:10:28 +00:00
Jean-Philippe Lang
887b8d2fdf Adds a link to container on attachments edit form.
git-svn-id: http://svn.redmine.org/redmine/trunk@17722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 18:51:34 +00:00
Go MAEDA
039580b73d Display user logins on profiles (#26127).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 00:10:09 +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
27b6e595f7 Test 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@17718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-09 08:38:58 +00:00
Jean-Philippe Lang
ec6218d4ee Random test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@17702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-08 07:24:52 +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
0aa87309f4 Add missing fixture for reports_controller_test (#30120).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-07 09:18:52 +00:00
Go MAEDA
c10df9f266 Include closed projects in search for scope subprojects (#28636).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-06 23:21:53 +00:00
Go MAEDA
1d5fd81871 Fix typo (#29503).
git-svn-id: http://svn.redmine.org/redmine/trunk@17691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-06 13:23:25 +00:00
Go MAEDA
e6e02e5e45 Discourage search engines from indexing old versions of wiki pages (#29503).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-06 00:40:39 +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
Go MAEDA
c9cf695ad7 Wrong columns after CSV export (#26785).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-04 09:23:18 +00:00
Jean-Philippe Lang
3ba51f205d Let admins unarchive the project when trying to access an archived project (#29993).
git-svn-id: http://svn.redmine.org/redmine/trunk@17682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 11:23:10 +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
ffeecd5965 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@17673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 12:33:57 +00:00
Jean-Philippe Lang
78a15a23b4 Fix random test failure, assertion must be made against displayed values.
IssuesControllerTest#test_index_sort_by_spent_hours_should_sort_by_visible_spent_hours 
Expected: [3.0, 0.0, 0.0]
  Actual: [3.0, 4.0, 0.0]

git-svn-id: http://svn.redmine.org/redmine/trunk@17672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 11:43:22 +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