1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 09:51:14 +00:00

17067 Commits

Author SHA1 Message Date
Marius Balteanu
7cd401b405 Extract @Shell@ and @DateCalculation@ classes from @lib/redmine/utils.rb@ to their own files (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-24 10:45:24 +00:00
Marius Balteanu
81273a9128 Extract @Diff@ and @DiffTable@ from @lib/redmine/unified_diff.rb@ to their own files (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-24 10:05:03 +00:00
Marius Balteanu
dcf69e509a Move custom DateValidator from @lib/redmine/core_ext/active_record.rb@ to @app/validators/date_validator.rb@ (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-24 09:57:56 +00:00
Marius Balteanu
9cb4a5f4ca Pin webdrivers gem to 4.6.1.
git-svn-id: http://svn.redmine.org/redmine/trunk@21257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-22 06:23:37 +00:00
Marius Balteanu
0d8d61c4c6 Pin selenium-webdriver to 3.142.7.
git-svn-id: http://svn.redmine.org/redmine/trunk@21256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-21 19:16:30 +00:00
Marius Balteanu
386f7b8eaa Remove extra blank line.
git-svn-id: http://svn.redmine.org/redmine/trunk@21255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-21 19:15:36 +00:00
Marius Balteanu
fe5c3f81de Revert changes made in r21251 due to a test fail (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-21 06:30:52 +00:00
Marius Balteanu
0dd9fbb806 Update .rubocop_todo and fix Style/AndOr offense (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 22:21:19 +00:00
Marius Balteanu
7125fd70ce Split multiple classes and modules that existed in the same file (#29914, #32938).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 22:18:49 +00:00
Marius Balteanu
a256addaf7 Fix rubocop "Style/CombinableLoops" offense in wiki_page.rb (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 22:02:03 +00:00
Go MAEDA
f2cde4f3b3 Update locales (#35770).
git-svn-id: http://svn.redmine.org/redmine/trunk@21250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 08:09:36 +00:00
Go MAEDA
0b90b23a41 Update locales (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 08:05:50 +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
Go MAEDA
8075884bc4 Updates for 4.2.3 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@21243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-10 02:10:52 +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
d91f644a14 Disable rubocop Lint/IneffectiveAccessModifier for @self.tokenized_like_conditions@ in @app/models/query.rb@ (#35764).
git-svn-id: http://svn.redmine.org/redmine/trunk@21241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-09 06:47:54 +00:00
Marius Balteanu
6cbf1f2015 Explicitly specify escape character using an ESCAPE on SQLite (#35073).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-09 06:35:47 +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
04e27aa161 Enforce stricter class filtering in WatchersController (35463).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@21235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-05 16:46:03 +00:00
Marius Balteanu
a0ef175ffe Fix rubocop offense (#35073).
git-svn-id: http://svn.redmine.org/redmine/trunk@21234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:56:00 +00:00
Marius Balteanu
5c7d43d36a Replace send with direct call because sanitize_sql_for_conditions is now public (#35073).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:46:53 +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
Marius Balteanu
715ffcda43 Append two spaces to lines when importing an email on CommonMark with hardbreaks disabled (#32424).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:20:04 +00:00
Marius Balteanu
09618a274b Make hardbreaks behaviour configurable in config/configuration.yml (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 05:17:18 +00:00
Marius Balteanu
01a8167a13 Stick commonmarker gem to 0.23.1 when Ruby version >= 2.6 (#35892, #32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-02 15:43:22 +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
72f43fa4a0 Line breaks in the description of a custom field are ignored in a tooltip (#34834).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-24 02:05:30 +00:00
Marius Balteanu
2a7de5d4ac Fix Layout/ClosingParenthesisIndentation offense (#35683).
git-svn-id: http://svn.redmine.org/redmine/trunk@21220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-11 10:14:14 +00:00
Marius Balteanu
e551c0cb00 Disable Lint/DuplicateBranch in lib/redmine/export/pdf.rb#107 (#35683).
git-svn-id: http://svn.redmine.org/redmine/trunk@21219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-11 10:08:37 +00:00
Marius Balteanu
4ec384d5a6 Fix Layout/MultilineArrayBraceLayout offense (#21210).
git-svn-id: http://svn.redmine.org/redmine/trunk@21218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-11 10:07:01 +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
326a1b4dd2 Interpret thumbnail macro in description, notes and formatted custom fields in issues list PDF export (35683).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:22:50 +00:00
Marius Balteanu
fdf949a509 Retrieve filenames of thumbnails when rendering a PDF (#35683).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:21:38 +00:00
Marius Balteanu
0db3e9a732 Expand macros in full-width custom fields when exporting issue to PDF (#35683).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:19:29 +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
55ce8de0ae Use ids instead of pluck(:id) (#32977).
git-svn-id: http://svn.redmine.org/redmine/trunk@21208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 18:33: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
b0416adcda Hide graphs when printing the Issues Report details (#35669).
Patch by Mischa The Evil.


git-svn-id: http://svn.redmine.org/redmine/trunk@21202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-28 07:04:38 +00:00
Go MAEDA
19ddd4b48d Traditional Chinese translation update (#35807).
Patch by ChunChang Lo.


git-svn-id: http://svn.redmine.org/redmine/trunk@21201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-24 05:52:52 +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
fc03ef4282 Update Rails to 6.1.4.1 (#29914).
git-svn-id: http://svn.redmine.org/redmine/trunk@21199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-23 12:48:34 +00:00
Go MAEDA
d5231ad477 Bulgarian translation update (#35791).
Patch by Ivan Cenov.


git-svn-id: http://svn.redmine.org/redmine/trunk@21198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-22 02:16:24 +00:00
Go MAEDA
e50050dd8c Remove redefinition of ActionMailer::LogSubscriber#deliver which is no longer necessary because of the removal of Setting.bcc_recipients. (#31035).
git-svn-id: http://svn.redmine.org/redmine/trunk@21197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-19 13:53:07 +00:00