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

17180 Commits

Author SHA1 Message Date
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
Go MAEDA
3656e40a99 Traditional Chinese translation update (#36151).
Patch by ChunChang Lo.


git-svn-id: http://svn.redmine.org/redmine/trunk@21271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 09:10:03 +00:00
Marius Balteanu
992dc9b829 Update locales (#29076).
git-svn-id: http://svn.redmine.org/redmine/trunk@21270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-06 19:38:50 +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
Marius Balteanu
7b9f5af952 Close the flyout menu only when clicking on main (#30448).
git-svn-id: http://svn.redmine.org/redmine/trunk@21268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-02 22:01:58 +00:00
Marius Balteanu
1ef0e03d91 Rename CoreExtensions to CoreExt (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-27 22:27:03 +00:00
Marius Balteanu
3f72c13fd9 Fix cursor no longer shown as pointer on whole wrapper when flyout menu is active (#30448).
Patch Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@21266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-27 22:01:54 +00:00
Marius Balteanu
3ea092c307 Add require to acts_as_tree (#29914, #32938).
Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-27 20:53:13 +00:00
Marius Balteanu
232db2441d Use full full path for require (#29914, #32938).
Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-27 20:52:38 +00:00
Marius Balteanu
3bb3886786 Remove extra blank line (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-27 20:43:02 +00:00
Marius Balteanu
243c110265 Move @lib/diff.rb@ to @lib/redmine/string_array_diff@ and extract @Diffable@ class to its own file (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-27 20:42:10 +00:00
Marius Balteanu
0056c12862 Remove extra blank line (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-24 10:46:29 +00:00
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