Go MAEDA
1ae29debf4
Fix redmine:plugins:assets rake task fails ( #36287 , #32938 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-08 01:23:51 +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
Marius Balteanu
34cb871b72
Remove invalid require ( #29914 , #32938 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-17 21:08:23 +00:00
Marius Balteanu
a914cf4c40
Switch to zeitwerk autoloader ( #29914 , #32938 ).
...
Patch by Takashi Kato.
git-svn-id: http://svn.redmine.org/redmine/trunk@21287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-17 20:55:08 +00:00
Marius Balteanu
0352ab71cf
Add core extensions in prepare method ( #29914 , #32938 ).
...
Patch by Takashi Kato.
git-svn-id: http://svn.redmine.org/redmine/trunk@21285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-17 20:47:53 +00:00
Marius Balteanu
87097f2204
Move preparation code to redmine/preparation.rb ( #29914 , #32938 ).
...
Patch by Takashi Kato.
git-svn-id: http://svn.redmine.org/redmine/trunk@21284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-17 20:45:39 +00:00
Marius Balteanu
838e719edf
Extract Redmine::PluginLoader from Redmine::Plugin ( #32938 ).
...
Patch by Takashi Kato.
git-svn-id: http://svn.redmine.org/redmine/trunk@21283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-17 20:36:53 +00:00
Go MAEDA
43ffba4e82
Adopt 2FA emails to new Mailer interface ( #36005 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-13 09:24:53 +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
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
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
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
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
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
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
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
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
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
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
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
Go MAEDA
ee64cb5cb1
Remove unused argument from Redmine::Helpers::TimeReport ( #33079 ).
...
Patch by Kevin Fischer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-19 13:13:26 +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
12b2dd3098
Preserve the code block and remove the class from it when the language is not supported in CommonMark formatter ( #35765 , 32424).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 20:57:38 +00:00
Marius Balteanu
e1e4736e97
Fixed Replace class var @@allowlist with a class instance var ( #32424 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:52:37 +00:00
Marius Balteanu
5b0a10cc1a
Replace deprecated Sanitize keywords ( #32424 ).
...
Patch by Martin Cizek.
git-svn-id: http://svn.redmine.org/redmine/trunk@21162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:50:16 +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
46ecdcec4d
Mark CommonMark Markdown (GitHub Flavored) as experimental ( #32424 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:48:18 +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
c6933b6203
Updates for 4.2.2 release.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-01 07:07:48 +00:00
Go MAEDA
0c8fcd1a51
Progress bar for a shared version on gantt disappears when the tree is collapsed and then expanded ( #34694 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-31 06:21:35 +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
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
Marius Balteanu
f1dc9d9b4d
Remove 'edit' action from :manage_wiki permission definition in Redmine::AccessControl. Wikis#edit is removed by r17018. ( #35610 ).
...
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@21086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 21:26:01 +00:00
Go MAEDA
504e9f3489
Unhandled exception when a YAML syntax error is detected in configuration.yml ( #35421 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-01 09:17:53 +00:00
Go MAEDA
51755e4349
Require redmine/sort_criteria globally ( #35455 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-26 01:16:41 +00:00
Go MAEDA
d4fcebaee7
Possible double includes in issue query in gantt helper ( #33381 ).
...
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-06 04:48:24 +00:00