Commit Graph

1958 Commits

Author SHA1 Message Date
Go MAEDA
ab5f93ae49 Fix RuboCop offense Style/RedundantCondition in lib/redmine/menu_manager.rb (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-14 02:36:58 +00:00
Marius Balteanu
e09426552c Update footnotes markup after commonmarker gem update (#35892).
git-svn-id: https://svn.redmine.org/redmine/trunk@21612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-28 09:42:15 +00:00
Marius Balteanu
b5673a0522 Fix Rubocop warnings.
git-svn-id: https://svn.redmine.org/redmine/trunk@21596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 21:16:38 +00:00
Marius Balteanu
d2ed02daef Remove experimental flag from CommonMark text formatter (#36807).
git-svn-id: https://svn.redmine.org/redmine/trunk@21594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 21:12:03 +00:00
Marius Balteanu
8520f8b4db Updates for 5.0.1 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@21582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 21:48:08 +00:00
Marius Balteanu
a9e2d1aeb5 Fix rendering invalid URI fails with exception in CommonMark Markdown (#36958).
Patch by Holger Just.



git-svn-id: https://svn.redmine.org/redmine/trunk@21558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-03 16:50:20 +00:00
Marius Balteanu
e72790b73f Reverts r21448 (#36998).
git-svn-id: https://svn.redmine.org/redmine/trunk@21556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-02 20:28:07 +00:00
Marius Balteanu
4fdcbc212b Handle nil return of Redmine::Themes.theme(Setting.ui_theme) in Redmine::Info.environment (#36932).
Patch by Mischa The Evil.


git-svn-id: https://svn.redmine.org/redmine/trunk@21541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-27 20:56:07 +00:00
Marius Balteanu
1375b10f38 Bump version to 5.0.0.
git-svn-id: https://svn.redmine.org/redmine/trunk@21509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-28 19:36:13 +00:00
Marius Balteanu
40ffbff49d Fix Redmine::Plugin.assets_directory is not working after r21283 (#36835).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-24 16:47:54 +00:00
Go MAEDA
b51d40fe38 Comments for Textile text formatting (#20511).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 03:55:24 +00:00
Marius Balteanu
899df6a051 Lazy load locales (#36728).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@21448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-06 17:23:36 +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
Marius Balteanu
3a6c43deee Updates for 4.2.4 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@21430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-20 22:08:07 +00:00
Marius Balteanu
1b09f5e4a3 Fix gantt PNG export ignores imagemagick_convert_command (#35027).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-20 19:05:49 +00:00
Marius Balteanu
9f6d8711e7 Return 406 status code instead of 500 when API request has an invalid format (#34766).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-30 13:39:06 +00:00
Marius Balteanu
380a3b0345 Enable task list items for Common Mark text formatting (#35742).
git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:24:43 +00:00
Go MAEDA
f2ae2b9936 Duplicate activities in time entry report when project-specific activies exist (#20018).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-19 13:33:11 +00:00
Go MAEDA
09dc778eb2 Custom I18n Pluralization rules are not applied correctly (#36396).
Contributed by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-15 03:18:33 +00:00
Go MAEDA
ec0ce00b95 Auto guess file encoding when importing CSV file (#34718).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-07 01:29:55 +00:00
Marius Balteanu
2140b7c5a5 Makes Markdown and CommonMark formatters independent of each other (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-04 18:57:00 +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
b6a26a60f3 Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 (#35142).
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +00:00
Go MAEDA
4db7397d2a Use File.exist? instead of deprecated File.exists? (#36358).
git-svn-id: http://svn.redmine.org/redmine/trunk@21327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-27 03:20:31 +00:00
Go MAEDA
8b452eb341 Add current theme and whether it includes JavaScript to Redmine::Info (#32116).
Contributed by Mischa The Evil.


git-svn-id: http://svn.redmine.org/redmine/trunk@21308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-12 04:15:42 +00:00
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
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
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
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
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