Commit Graph

1588 Commits

Author SHA1 Message Date
Marius Balteanu
b1352bb1e6 Fix rubocop warning (Add empty line after guard clause).
git-svn-id: https://svn.redmine.org/redmine/trunk@21655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-17 10:32:44 +00:00
Marius Balteanu
6ec69aaa05 Update jQuery UI to 1.31.1 (#37256).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:48:11 +00:00
Marius Balteanu
1a3ee38c2e Respect field visibility when showing associated issue fields (#37255).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:43:58 +00:00
Go MAEDA
630b71975f Wiki notation attachment:file_name cannot make a link to a file attached to other journals (#35462).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-26 15:36:46 +00:00
Marius Balteanu
883aa3b5cc Background job for project deletion (#36691).
Due to the deletion of dependent objects (issues etc), project deletion may take a long time.

This patch moves the actual project deletion into an ActiveJob job. It also introduces a new project status (SCHEDULED_FOR_DELETION) that is used to effectively hide the project that is about to be deleted (and any potential descendant projects) from the system immediately.

A security notification is sent out to the user that deleted the project, informing about success / failure.

The projects list is extended to be able to filter for the new status, so in case of a failure, the project can still be accessed for examination.

Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:45:41 +00:00
Marius Balteanu
2a60a7bd79 Fix that mentions not working after issue status is changed (#36909).
git-svn-id: https://svn.redmine.org/redmine/trunk@21569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-11 20:29:14 +00:00
Marius Balteanu
83ed32e8d7 Reuse ProjectQuery filters on the admin project list (#33422).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:08:52 +00:00
Marius Balteanu
e50190a82a Automatically add the user to the watchers list after contributing to an issue (#4347). User can enable/disable this feature from My Account.
Patch by Takenori TAKAKI and Jens Krämer. 


git-svn-id: http://svn.redmine.org/redmine/trunk@21469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 10:14:29 +00:00
Marius Balteanu
23874fa913 Render mentioned users with leading @ and highlight (#36699, #13919).
git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 10:00:30 +00:00
Go MAEDA
8529e39e6d Show a custom field description as a placeholder (#14275).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 11:52:12 +00:00
Go MAEDA
e1ae7f5c84 Use a variable to reference a CustomField object (#14275).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 11:50:44 +00:00
Marius Balteanu
fbca88afc4 Add class @user-mention@ to user classes when user is linked using @ (#36699, #13919).
git-svn-id: http://svn.redmine.org/redmine/trunk@21440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 21:54:30 +00:00
Marius Balteanu
8470b8b478 Update jQuery to 3.6.0 (#35729).
git-svn-id: http://svn.redmine.org/redmine/trunk@21439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 20:45:56 +00:00
Marius Balteanu
ba74ba1c70 Allow users to be mentioned using @ in issues and wiki pages (#13919):
* the user must have add watchers permission on that object in order to mention other users
* mentioned user will receive a notification email
* only visible users who can view the object can be mentioned



git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-23 21:16:18 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
e623582536 Lazy load inline images (#36294).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 01:24:13 +00:00
Go MAEDA
b4dbd821c9 Issue Summary: add statistics about issues without assignee, version or category (#13099).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-12 04:40:32 +00:00
Go MAEDA
e7e26d6909 Fix RuboCop offense Layout/ClosingParenthesisIndentation (#35136).
git-svn-id: http://svn.redmine.org/redmine/trunk@21303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-10 05:53:38 +00:00
Go MAEDA
0a5ef25e87 Download all attachments in a journal (#35462).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-22 08:42:44 +00:00
Marius Balteanu
70f8ca64dd You can configure default project queries in the following places (#35795):
* App-level: Administration > Projects > Default query (Projects list defaults section)
* User-level: My account > Default project query

git-svn-id: http://svn.redmine.org/redmine/trunk@21281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-15 21:58:39 +00:00
Go MAEDA
578e367c8c Allow addition/removal of subtasks to show in parent's history (#6033).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 14:22:06 +00:00
Go MAEDA
bc3938fca3 Fix NoMethodError when generating a link to a locked user (#12795, #35823).
git-svn-id: http://svn.redmine.org/redmine/trunk@21217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-07 14:59:40 +00:00
Go MAEDA
d276dca5c5 Query links for related issues on issue page (#35559).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-23 12:59:48 +00:00
Go MAEDA
33b5cf1c73 Rename the save, edit and delete buttons on the query form to clarify the scope (#34494).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-17 12:41:58 +00:00
Marius Balteanu
1f0f9d49c1 Revert r21179 (#35729).
git-svn-id: http://svn.redmine.org/redmine/trunk@21180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 08:59:50 +00:00
Marius Balteanu
baaa635d2f Update jQuery to 3.6.0 (#35729).
git-svn-id: http://svn.redmine.org/redmine/trunk@21179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 08:20:01 +00:00
Marius Balteanu
b897b13ba8 Render markdown attachments using markdown or common_mark based on the text formatting setting (#32424).
Patch by Marius BĂLTEANU and Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:52:04 +00:00
Go MAEDA
75aaedfff3 Avoid executing the same SQL statement multiple times to get the default custom query (#7360).
git-svn-id: http://svn.redmine.org/redmine/trunk@21134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-04 12:48:54 +00:00
Marius Balteanu
633a6fae2a Update custom field path on the context menu (#33521).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-03 20:25:20 +00:00
Marius Balteanu
7534775306 Use issue path instead of bulk update issues path when only one issue is selected in the context menu (#33521).
git-svn-id: http://svn.redmine.org/redmine/trunk@21089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 21:46:43 +00:00
Marius Balteanu
0765042d64 Total spent time from issue page should link to global time entries if the issue has subtasks and the subtasks can be on projects that are not descendants of the current project (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 20:55:09 +00:00
Marius Balteanu
2045128a6f Revert r21082 (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 20:51:36 +00:00
Marius Balteanu
158d21b75c Link total spent time to global time entries page when cross_project_issue_relations are allowed in order to include time entries from other projects (#35134).
git-svn-id: http://svn.redmine.org/redmine/trunk@21082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 20:28:21 +00:00
Go MAEDA
a6e09913b7 Link from assignee to group page (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-20 21:39:17 +00:00
Go MAEDA
605dadd374 Set "icon icon-group" CSS classes in _members_box.html.erb instead of ApplicationHeler (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-20 21:35:06 +00:00
Go MAEDA
56a7fd22c7 Add link from group name to group page on project overview page (#12795).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-19 15:13:58 +00:00
Go MAEDA
9fcf5af844 Hooks for queries helper (#34743).
Patch by Alexander Meindl.


git-svn-id: http://svn.redmine.org/redmine/trunk@21068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-14 14:02:02 +00:00
Go MAEDA
7f965286ed Default issue query (#7360).
Patch by Katsuya HIDAKA (the author of https://github.com/hidakatsuya/redmine_default_custom_query), Takenori TAKAKI, Olivier Chabert, and Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-06 06:01:50 +00:00
Go MAEDA
a0bf4e5cd3 Filter issues by file description (#34715).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-14 07:01:27 +00:00
Go MAEDA
ec3527102d Remove deprecated WikiContent::Version (#35031).
git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-15 05:51:14 +00:00
Go MAEDA
4740307f11 Fix typo in ApplicationHelper.html_title comment (#35230).
Patch by keineahnung2345.


git-svn-id: http://svn.redmine.org/redmine/trunk@21001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-15 05:29:49 +00:00
Go MAEDA
53b34f63c7 "Copy link" feature for issues list (#34932).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 07:20:47 +00:00
Go MAEDA
5a4a6f0a16 Update Rails UJS to 6.1.3.1 (#29914, #35003).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 05:32:54 +00:00
Go MAEDA
b8d0541955 Fix user link using @ not working at the end of line (#34894).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 03:04:51 +00:00
Go MAEDA
e8d2c1fc8e Remove jQuery Migrate (#34337).
git-svn-id: http://svn.redmine.org/redmine/trunk@20871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-29 03:00:27 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
319e8a2620 Show project tree instead of subprojects in the project selector when you create a new issue (#34798).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 01:42:00 +00:00
Go MAEDA
280e95b825 Allow selecting encoding when exporting permission reports as CSV (#13767).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-18 15:58:18 +00:00
Go MAEDA
0d96c4ebdb Show project ID instead of name in issue journal details if the project is not visible for the current user (#33360).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-18 07:44:42 +00:00
Go MAEDA
44ea826a21 "Copy link" feature for issue and issue journal (#34703).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-18 03:58:29 +00:00