Commit Graph

2454 Commits

Author SHA1 Message Date
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
Go MAEDA
0b8c23f021 Ability to add watchers to Wiki pages (#7652).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-29 07:30:54 +00:00
Go MAEDA
8b8a1194ff PDF thumbnails support on Windows (#32898).
git-svn-id: http://svn.redmine.org/redmine/trunk@21008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-25 02:36:21 +00:00
Go MAEDA
ec3527102d Remove deprecated WikiContent::Version (#35031).
git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-15 05:51:14 +00:00
Go MAEDA
183642ba20 Markdown text sections broken by thematic breaks (horizontal rules) (#35036).
Patch by Martin Cizek.


git-svn-id: http://svn.redmine.org/redmine/trunk@20998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-14 09:39:12 +00:00
Go MAEDA
238bf7577c Updates for 4.2.1 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@20974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-26 13:41:13 +00:00
Go MAEDA
1cf427ee63 Stricter validation of given revisions of repositories (#35085).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@20962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-23 00:46:45 +00:00
Go MAEDA
e41cf61de8 Validate attachment filenames on every change (#34367).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@20946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-16 01:36:59 +00:00
Go MAEDA
2027b8750a Prevent hash type URLs from being namespaced in MenuManager (#35076).
Patch by Jan Schulz-Hofen.


git-svn-id: http://svn.redmine.org/redmine/trunk@20945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-15 01:03:18 +00:00
Go MAEDA
6c5a16daf8 Remove rake task check_parsing_by_psych (#35026).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 07:30:15 +00:00
Go MAEDA
2aa316a3e4 Reload detached attachments (#32922).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-08 08:55:22 +00:00
Go MAEDA
7fe7fdd7bc Roadmap tab is missing if there are only inherited from parent project versions (#34983).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-07 05:09:13 +00:00
Go MAEDA
74a6ff0230 Replace pluck().first with pick() (#32909).
Patch by Pavel Rosický and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-03 01:34:45 +00:00
Go MAEDA
357fa10bbd Fix "DEPRECATION WARNING: Calling '<<' to an ActiveModel::Errors message array in order to add an error is deprecated." (#29914, #34985).
git-svn-id: http://svn.redmine.org/redmine/trunk@20898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:41:07 +00:00
Go MAEDA
f223f707da Fix "ArgumentError: wrong number of arguments (given 1, expected 2) on Redmine::PluginTest#test_migrate_redmine_plugin" (#29914, #32939).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:02:47 +00:00
Go MAEDA
7de9711f25 Fix "ActionView::Template::Error (wrong number of arguments (given 2, expected 1))" (#29914).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:54:36 +00:00
Go MAEDA
ba6ace46d7 Fix sending mail with DeliveryJob is deprecated (#29914, #32908).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:41:03 +00:00
Go MAEDA
83219e585f Set version to 4.2.0.
git-svn-id: http://svn.redmine.org/redmine/trunk@20865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-28 02:08:48 +00:00
Go MAEDA
e6a8529ba8 Replace MimeMagic with Marcel (#34969).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-27 10:23:47 +00:00
Go MAEDA
3a962fe365 Remove duplicate code in Redmine::Thumbnail.generate (#34969).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-27 10:16:34 +00:00
Go MAEDA
919c9cfdd0 Support for Git repositories with default branch "main" (#34942).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-26 03:48:32 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
4ac49e0d06 Set trackers in the default data as defaults for new projects (#33733).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 02:11:14 +00:00
Go MAEDA
c1b5489a86 Updates for 4.1.2 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@20833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-20 08:04:56 +00:00
Go MAEDA
124c94df94 Only show currently visible projects in the project jump box (#34595).
Patch by Holger Just and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-16 02:47:09 +00:00
Go MAEDA
df259f094f Ability to add watchers to forum threads (#3390).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-15 04:55:56 +00:00
Go MAEDA
4dfa6fc724 Allow manually fetching changesets (#8875).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-11 07:00:09 +00:00
Go MAEDA
e0581b34b7 Activity tab in cross-project menu is sometimes broken (#34805).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-06 06:46:59 +00:00
Go MAEDA
ce5c54a590 Reverts r20762
git-svn-id: http://svn.redmine.org/redmine/trunk@20763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-06 06:45:51 +00:00
Go MAEDA
8fcef23fef Activity tab in cross-project menu is sometimes broken (#34032).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-06 06:43:34 +00:00