1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

6310 Commits

Author SHA1 Message Date
Go MAEDA
be61fe9626 MenuManagerTest randomly fails (#36241).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-29 13:50:47 +00:00
Marius Balteanu
79e7cde849 Fix plugin assets are no longer copied under plugin name (#36218, #29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-25 21:34:40 +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
712cf0d8c9 Add missing fixtures to UserTest (#35975).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-11 09:24:22 +00:00
Marius Balteanu
1245708ba7 Fix typo in class 'icon-expended' (#36149).
Patch by Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 20:14:49 +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
68fce8e97d Fix RuboCop offense Naming/MethodName due to r21269 (#29076).
git-svn-id: http://svn.redmine.org/redmine/trunk@21272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 14:12:05 +00:00
Marius Balteanu
e9b94a19de Adds button to "Create and follow" when adding a subtask from the parent issue. Now the user have the following options:
* Create: redirects the user to the parent task (existing behaviour)
* Create and follow: redirects the user to the newly created subtask (new behaviour)
* Create and add another: redirects the user to new subtask (existing behaviour).

(#29076).

git-svn-id: http://svn.redmine.org/redmine/trunk@21269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-06 09:11:58 +00:00
Go MAEDA
ac8aa6b1f3 Change the "Edit" label in the context menu to "Bulk Edit" when multiple issues are selected (#35770).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 07:55:44 +00:00
Marius Balteanu
23487333a0 Fix random failing test introduced in r21130 (#35957, #34169).
git-svn-id: http://svn.redmine.org/redmine/trunk@21242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-09 06:52:27 +00:00
Marius Balteanu
a84efa8046 Add tests for #35764.
git-svn-id: http://svn.redmine.org/redmine/trunk@21239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-05 19:55:10 +00:00
Marius Balteanu
506fc9d74c Tokenize search parameter in order to allow multiple search terms in:
* the "contains" operator of text filters
* in issue autocomplete

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-05 19:54:31 +00:00
Marius Balteanu
0ec96f52f3 Use sanitize_sql_like in Query#sql_contains (#35073).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:45:20 +00:00
Marius Balteanu
05e9d7883b Use sanitize_sql_like in like scopes (#35073).
Patch Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:44:39 +00:00
Marius Balteanu
65f31d52cd Use sanitize_sql_like on search tokens (#35073).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:43:19 +00:00
Marius Balteanu
673ec2f2a6 Removes '%' signs from test strings in search test (#35073).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:42:31 +00:00
Go MAEDA
975e485afd Add information about whether an issue is open or closed to Issues API response (#15855).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-02 06:16:15 +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
Marius Balteanu
649d69ea26 Fix that deleting a closed or archived projects not working anymore after r20034 (#35827).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@21210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:11:59 +00:00
Marius Balteanu
1e65114d68 Return 404 when filtering by a non-visible user in activity view (#35789).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 18:40:14 +00:00
Marius Balteanu
4378b7e1b4 Remove references to deleted user from "user"-Format CustomFields when destroying an user (#32977).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 18:30:04 +00:00
Go MAEDA
2b1d88fa59 Allow Roadmap view without any related issues (#6432).
Patch by Mischa The Evil.


git-svn-id: http://svn.redmine.org/redmine/trunk@21204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-04 01:43:50 +00:00
Go MAEDA
4aef1bf491 Fix that test_link_to_principal_should_link_to_user does not actually test anything (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-31 02:17:34 +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
1bfdccc30f Don't unlink files before closing them (#35539, #35721).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@21194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-18 02:47:32 +00:00
Marius Balteanu
b7798e6e1c Unify code block and add "data-language" attribute with the user-supplied language for Textile and Markdown formaters (#35104).
Patch by Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 21:00:16 +00:00
Marius Balteanu
5699253da6 Add "data-language" attribute to code block with the user-supplied language for CommonMark formater (#35104, #32424).
Patch by Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 20:59:04 +00:00
Marius Balteanu
9651398469 Update failing test after hardbreaks enabled by default (#35754, #32424).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 05:57:57 +00:00
Go MAEDA
c46e55e496 File upload fails when run with uWSGI (#35715).
Contributed by Pavel Rosický and Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@21173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-14 01:38:26 +00:00
Go MAEDA
39e212dd8f Password and Confirmation fields are marked as required when editing a user (#35731).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-13 02:56:04 +00:00
Marius Balteanu
c1b3804555 Fixed failing test on CommonMark by striping the trailing whitespace returned by the footnote (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:51:23 +00:00
Marius Balteanu
d92b75d49e Fixed Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc by using <<~ instead of <<- (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:50:52 +00:00
Marius Balteanu
e8c911577f Relax allowed protocols in links by denying specific protocols for CommonMark text formatting (#32424).
Patch by Martin Cizek.

git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:49:27 +00:00
Marius Balteanu
9af2ba2c13 Adds CommonMark Markdown (GitHub Flavored) as third text formatting option (#32424).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:40:56 +00:00
Marius Balteanu
fe4d0d93da Fixed "Layout/IndentationWidth: Use 2 (not 4) spaces for indentation." introduced by r21141 (#35634).
git-svn-id: http://svn.redmine.org/redmine/trunk@21152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-10 20:26:23 +00:00
Marius Balteanu
3bae6bfac3 Fixed create duplicate follow relation fails with 500 internal error (#35655).
git-svn-id: http://svn.redmine.org/redmine/trunk@21150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-10 19:35:53 +00:00
Go MAEDA
68eede7e75 Add missing fixtures to Redmine::ProjectJumpBoxTest (#35727).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-10 12:30:14 +00:00
Marius Balteanu
f31a1e2bbb Fixed attachments deletable by user without edit issue permission on tracker (#35634).
git-svn-id: http://svn.redmine.org/redmine/trunk@21142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-05 23:50:11 +00:00
Marius Balteanu
1146831b3d Adds tests for issue attachment edit by user without edit issue permission on tracker (#35634).
git-svn-id: http://svn.redmine.org/redmine/trunk@21141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-05 23:48:47 +00:00
Marius Balteanu
7e2f3352db Fix that updating an issue from context menu to a none value do not set the field to blank (#33521).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-05 23:41:01 +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
63e4dcf60a Fix update status path on the context menu (#33521).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-03 20:21:41 +00:00
Marius Balteanu
805b36cbfb Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).
git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-01 17:25:13 +00:00
Go MAEDA
cb467fee8e Link to the profile page from users on the group page (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-31 05:33:33 +00:00
Go MAEDA
f479070c39 GroupsController#show should only display visible users (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-31 00:53:08 +00:00
Marius Balteanu
2be231b982 Removes unused column trackers.is_in_chlog (#31132).
git-svn-id: http://svn.redmine.org/redmine/trunk@21106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-28 16:26:22 +00:00
Marius Balteanu
14e7b1a8e6 Adds test for #35417.
git-svn-id: http://svn.redmine.org/redmine/trunk@21104 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-28 15:59:03 +00:00
Go MAEDA
f5ac84a516 Inline image in Textile is not displayed if the image URL contains ampersands (#35441).
Contributed by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-28 08:25:15 +00:00
Go MAEDA
e32b37c7fb Remove unnecessary comments (#35606).
git-svn-id: http://svn.redmine.org/redmine/trunk@21099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-28 05:40:46 +00:00