1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 07:21:12 +00:00

14025 Commits

Author SHA1 Message Date
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
f0050f04b1 Adds view_projects_copy_only_items hook (#28895).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 10:03:34 +00:00
Go MAEDA
0a34e3e7e9 Japanese translation update (#30000).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 08:38:26 +00:00
Go MAEDA
957024a18c Use "abort" instead of "exit" in order to make error log more informative (# 26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 06:45:52 +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
b345aa7ad6 Update Redmine::Plugin documentation (#28996).
git-svn-id: http://svn.redmine.org/redmine/trunk@17661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 17:19:08 +00:00
Jean-Philippe Lang
370f8660fb Restore History link at the top of a wiki page (#26575).
git-svn-id: http://svn.redmine.org/redmine/trunk@17660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 16:36:36 +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
Jean-Philippe Lang
4f8b039ef6 CSV importer ignores shared version names of other projects (#30001).
Patch by Yuuki NARA and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 16:06:30 +00:00
Jean-Philippe Lang
a6d8e17e79 Adds a test for #29918.
git-svn-id: http://svn.redmine.org/redmine/trunk@17657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 15:57:04 +00:00
Jean-Philippe Lang
c30a8a44aa Related issues section ignores the date format setting (#29918).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 15:51:16 +00:00
Go MAEDA
05e701b877 Add missing fixtures for test_create_with_one_attachment (#30054).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 06:58:04 +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
bee7f2531b Missing validation for custom field formats based on RecordList (#29674).
Patch by Alexander Achenbach.

git-svn-id: http://svn.redmine.org/redmine/trunk@17645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-28 18:15:34 +00:00
Jean-Philippe Lang
726a6e3c81 Fix list rendering inside project description in projects#index (#29950).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-28 18:11:05 +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
Jean-Philippe Lang
12fbad088c Update Rails to 5.2.1.1 (#30042).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-28 17:56:34 +00:00
Go MAEDA
7de8030952 Unpin rdoc gem version (#29999).
git-svn-id: http://svn.redmine.org/redmine/trunk@17640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-27 11:11:27 +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
6a12b5839b Add wiki class also for half width custom fields with text formatting enabled (#30027).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 00:23:08 +00:00
Go MAEDA
ef6d0dd355 Remove trailing whitespaces from app/helpers/issues_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 00:21:28 +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
f63d0435df Unpin roadie gem version (#29947).
git-svn-id: http://svn.redmine.org/redmine/trunk@17629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-19 12:31:19 +00:00
Go MAEDA
9e8c0ba0c2 Upgrade to Rouge 3.3.0 (#24681).
git-svn-id: http://svn.redmine.org/redmine/trunk@17626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-10 06:50:23 +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
9ebd94c72e Remove trailing whitespaces from app/models/mailer.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-06 02:44:04 +00:00
Go MAEDA
45ea5bc0d9 Add missing closing tag in app/views/roles/_form.html.erb (#29912).
Patch by Vincent Robert.


git-svn-id: http://svn.redmine.org/redmine/trunk@17621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-05 13:40:15 +00:00
Go MAEDA
ce7931a956 Previous/Next link on repository page disappears when switching to "View differences" tab (#26576, #29730).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-05 02:40:04 +00:00
Go MAEDA
2f1c9f5411 Move attachments to their own section in issue page (#29033).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-04 07:26:29 +00:00
Go MAEDA
4e6b519fb0 Fix typo in French text_tracker_no_workflow (#29901).
Patch by Samuel Marchal.


git-svn-id: http://svn.redmine.org/redmine/trunk@17618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-03 09:33:14 +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
46b028b1b8 Fix that the following tests fail randomly due to uninitialized User.current (#29853):
* AttachmentsVisibilityTest#test_attachment_should_be_visible
*
Redmine::AttachmentFieldFormatTest#test_should_accept_a_hash_with_upload_on_create
*
Redmine::AttachmentFieldFormatTest#test_should_replace_attachment_on_update

Patch by Gilad Shanan.


git-svn-id: http://svn.redmine.org/redmine/trunk@17616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-03 07:15:00 +00:00
Go MAEDA
dced476200 Hide "Files" section in wiki pages when printing (#29791).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-31 07:16:52 +00:00
Go MAEDA
89f026e638 Remove trailing whitespaces from app/views/wiki/show.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@17613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-31 07:15:19 +00:00
Go MAEDA
5f96648717 Use Project::STATUS_ACTIVE constant instead of harcoded 1 (#29449).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 07:01:51 +00:00
Go MAEDA
bae9ffd327 Filter out issues from closed projects in the following widgets (#29449):
* Issues assigned to me
* Reported issues
* Watched issues

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 06:14:56 +00:00
Go MAEDA
d3ffa9252c Remove trailing whitespaces from test/functional/my_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 05:48:31 +00:00
Go MAEDA
f62b46def8 Revert unwanted changes in r17607 (#20081).
git-svn-id: http://svn.redmine.org/redmine/trunk@17609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 05:00:04 +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
a99c7104c1 Reverted r17605 that breaks some tests (#26576, #29730).
git-svn-id: http://svn.redmine.org/redmine/trunk@17606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 00:18:48 +00:00
Go MAEDA
758b6f5a59 Previous/Next link on repository page disappears when switching to "View differences" tab (#26576, #29730).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-28 11:59:29 +00:00