Commit Graph

571 Commits

Author SHA1 Message Date
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
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
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
Jean-Philippe Lang
015ca36634 Send individual emails for each mail recipient (#26791).
We are creating multipe mails per class notification event, one per
recipient, wrapped in a Mailer::MultiMessage object to send them all at
once.

We keep the existing interface of all class methods intended to be used
by external code the same as they were before, with one exception:

We provide additional recipient addresses in options[:recipients] for
Mailer.security_notification. Since the first-class recipients have to
be users to render individual mails for them, additional recipient
addresses have to be provided with some other channel.

By providing additional recipients in options[:recipients], we can solve
the use-case for address change notifications for users, which probably
is the only real use-case for having to use a plain email address
instead of a User as a notification recipient.

Patch by Holger Just and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 13:08:52 +00:00
Jean-Philippe Lang
5fbe5d74bc Test failures with sqlite3.
git-svn-id: http://svn.redmine.org/redmine/trunk@17502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 11:57:38 +00:00
Jean-Philippe Lang
e856c9f879 Fixed that issue details page shows default values for custom fields that aren't actually set (#25726).
git-svn-id: http://svn.redmine.org/redmine/trunk@17499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 08:25:25 +00:00
Jean-Philippe Lang
da64eb5aca Reverts r17354 (#28829).
git-svn-id: http://svn.redmine.org/redmine/trunk@17491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 09:48:54 +00:00
Go MAEDA
12b37ae754 Remove filename from attachment preview links (#27822).
Patch by Felix Schäfer and Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-09 14:29:38 +00:00
Jean-Philippe Lang
4137ba8e81 Removes repository routes without repository_id (#26522).
git-svn-id: http://svn.redmine.org/redmine/trunk@17386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-16 14:27:51 +00:00
Go MAEDA
317ebfb100 Fix: Unreachable code in QueriesControllerTest#test_bulk_copy_to_another_project.
git-svn-id: http://svn.redmine.org/redmine/trunk@17372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-10 00:16:58 +00:00
Go MAEDA
5ab17d27ac Add right-click context menu to the contextual area of an issue (#28829).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-29 00:51:57 +00:00
Go MAEDA
2943153eca Fix: Copying an issue fails if the issue is watched by a locked user (#28765).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-19 00:44:10 +00:00
Go MAEDA
a4ffda7b37 Use button as additional option for contextmenu (#26655).
Patch by Felix Gliesche.


git-svn-id: http://svn.redmine.org/redmine/trunk@17298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-21 12:00:22 +00:00
Go MAEDA
a175f9ded9 Allow selecting subprojects on new issue form (#12704).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-02-28 06:42:52 +00:00
Go MAEDA
a500e8fafc Don't allow reassigning reported hours to the project if issue is a required field for time logs (#28110).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-02-18 04:24:05 +00:00
Go MAEDA
7844b65f3c Add CSS classes to column headers of issues and timelogs list (#26674).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-15 04:17:53 +00:00
Jean-Philippe Lang
27cd7f478b Cannot clear all watchers when copying an issue (#26880).
git-svn-id: http://svn.redmine.org/redmine/trunk@17153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-07 22:18:17 +00:00
Jean-Philippe Lang
d74f0bfd5c Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Jean-Philippe Lang
cd1ca24a87 Fix that spent_time total on the issue list can be wrong (#26471).
git-svn-id: http://svn.redmine.org/redmine/trunk@16839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-20 16:51:18 +00:00
Jean-Philippe Lang
2c68178861 Add test assertions to the four controller test cases (#26125).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 15:17:21 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
e29b0da1c8 Adds tests for #25775.
git-svn-id: http://svn.redmine.org/redmine/trunk@16656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 12:18:09 +00:00
Jean-Philippe Lang
b834e81d7f Use Rails 5 syntax for functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-31 17:32:34 +00:00
Jean-Philippe Lang
9439cae70f Send journal notification after commit (#25794).
git-svn-id: http://svn.redmine.org/redmine/trunk@16573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 08:44:24 +00:00
Jean-Philippe Lang
86fa4e66c9 Check tracker permissions when copying an issue (#25791).
git-svn-id: http://svn.redmine.org/redmine/trunk@16569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 08:34:41 +00:00
Jean-Philippe Lang
1cd985dd6b Option to copy watchers when copying issues (#10460).
git-svn-id: http://svn.redmine.org/redmine/trunk@16509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 17:34:45 +00:00
Jean-Philippe Lang
5c7aaa4d1e Makes Attachments column available on the issue list (#25515).
git-svn-id: http://svn.redmine.org/redmine/trunk@16473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:07:13 +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
8c7898bb5d Let user choose columns and sort order of issue lists on "My page" (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-14 18:18:19 +00:00
Jean-Philippe Lang
71d88e5535 Get rid of sort_helper when using queries.
git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 19:17:59 +00:00
Jean-Philippe Lang
ff6d8c6f5c Adding a subtask should default to a tracker without disabled parent field (#16260).
git-svn-id: http://svn.redmine.org/redmine/trunk@16383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 21:22:08 +00:00
Jean-Philippe Lang
8ae81b98d5 Fix loading of last visible journal (#1474, #6375).
git-svn-id: http://svn.redmine.org/redmine/trunk@16376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 11:05:50 +00:00
Jean-Philippe Lang
91d10c63f0 Show Last Comment in Issue list (#1474).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:58:07 +00:00
Jean-Philippe Lang
06c6de06e4 Last updated by colum in issue list (#6375).
git-svn-id: http://svn.redmine.org/redmine/trunk@16366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:42:52 +00:00
Jean-Philippe Lang
299c3de64e The cancel operation in the issue edit mode doesn't work (#21579).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:21:36 +00:00
Jean-Philippe Lang
b40d66f39f Option for long text custom fields to be displayed under the description field (#21705).
Based on patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 14:55:36 +00:00
Jean-Philippe Lang
6fabc10696 Add warning when loosing data from custom fields when bulk editing issues (#22600).
git-svn-id: http://svn.redmine.org/redmine/trunk@16224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 14:49:57 +00:00
Jean-Philippe Lang
d10ab869a7 Handle csv columns selection in query to preload appropriate associations (#24865).
git-svn-id: http://svn.redmine.org/redmine/trunk@16219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 12:51:41 +00:00
Jean-Philippe Lang
7b32a0371d Let user always see his private notes (#17632).
git-svn-id: http://svn.redmine.org/redmine/trunk@16181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 09:50:28 +00:00
Jean-Philippe Lang
987ca8cc2a Handle time entries on subtasks and prevent from reassigning an issue that is going to be deleted (#24718, #24693).
git-svn-id: http://svn.redmine.org/redmine/trunk@16118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 15:04:05 +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
Jean-Philippe Lang
3a2b6c7c96 Enforce issue assignee validation (#23921).
git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-10 12:02:37 +00:00
Jean-Philippe Lang
124a459d55 Use the main menu for project related actions that support cross-project display.
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-19 10:30:02 +00:00
Jean-Philippe Lang
ab22ec2a94 Test failure (#23996).
git-svn-id: http://svn.redmine.org/redmine/trunk@15970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 13:58:29 +00:00
Jean-Philippe Lang
e6130a1e0d Project field disappears when target project disallows user to edit the project (#24311).
git-svn-id: http://svn.redmine.org/redmine/trunk@15959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 11:56:19 +00:00
Jean-Philippe Lang
49b5141022 Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@15887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-04 18:54:45 +00:00
Jean-Philippe Lang
d4f57cc2fa Edit/delete links displayed on issue even if project is closed (#23969).
git-svn-id: http://svn.redmine.org/redmine/trunk@15879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 11:00:08 +00:00
Jean-Philippe Lang
190f4c15c2 Test failures (#23781).
git-svn-id: http://svn.redmine.org/redmine/trunk@15851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 08:41:02 +00:00
Jean-Philippe Lang
dcf2e15b06 Bulk edit form not show fields based on target tracker and status (#23755).
git-svn-id: http://svn.redmine.org/redmine/trunk@15815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-03 07:55:57 +00:00
Jean-Philippe Lang
55be3ef172 Journalize values that are cleared after project or tracker change (#21623).
git-svn-id: http://svn.redmine.org/redmine/trunk@15811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-03 07:26:49 +00:00