Commit Graph

284 Commits

Author SHA1 Message Date
Go MAEDA
444a94c7cb Make commonmarker gem required to avoid runtime error (#37394).
Although the commonmarker gem is marked as optional in the Gemfile, Redmine fails to start without it, raising a NameError: "uninitialized constant Redmine::WikiFormatting::CommonMark::HTML". This patch makes the gem required to ensure Redmine starts correctly.


git-svn-id: https://svn.redmine.org/redmine/trunk@23734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 10:28:14 +00:00
Marius Balteanu
a5d263dba8 Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:28:41 +00:00
Marius Balteanu
39401e4b95 Reverts r23190-r23187 because the CI build fails with error "ERROR: Failed to build gem native extension" (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 18:34:06 +00:00
Marius Balteanu
da87320ebc Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust.
git-svn-id: https://svn.redmine.org/redmine/trunk@23188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:02:39 +00:00
Go MAEDA
5407fea873 Drop deprecated Redcarpet based Markdown formatter (#40149).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 07:51:38 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Go MAEDA
2f3222e0bd Auto complete wiki page links (#33820).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-25 04:07:37 +00:00
Toshi MARUYAMA
6b5e1636fa shorten long line of lib/redmine.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 12:58:15 +00:00
Toshi MARUYAMA
5a32dc7ee1 shorten long line of lib/redmine.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-17 12:40:32 +00:00
Toshi MARUYAMA
d31c89a574 shorten long line of lib/redmine.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-16 12:21:31 +00:00
Toshi MARUYAMA
ce45f3f47a shorten long line of lib/redmine.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-22 14:18:13 +00:00
Go MAEDA
dbe76a23b3 Allow normal users to delete a project (#33945).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@20034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-15 04:15:13 +00:00
Go MAEDA
560bca344a Adds two factor authentication support (#1237).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-29 06:21:50 +00:00
Go MAEDA
cb0161dc0e Show Roadmap tab when subprojects have defined versions (#7956).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-30 08:58:26 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
c8ea09b60d cleanup: rubocop: fix Layout/AlignArguments in lib/redmine.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 02:20:23 +00:00
Go MAEDA
8a2e4aa247 Add permission to import time entries (#32196, #28234).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-28 14:02:25 +00:00
Go MAEDA
beeacb2c2a Replace RMagick with MiniMagick (#30492).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 02:40:56 +00:00
Jean-Philippe Lang
94c2356f38 Load changesets and time entries tabs async (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:12:30 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
776ec24907 Explicitly load redmine/info in order to avoid "uninitialized constant" error (#31337).
Contributed by Lluís Gili.


git-svn-id: http://svn.redmine.org/redmine/trunk@18193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-23 12:05:57 +00:00
Go MAEDA
ff458df977 Fix an error "uninitialized constant Redmine::ProjectJumpBox" in the production environment (#31355).
git-svn-id: http://svn.redmine.org/redmine/trunk@18183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-21 08:28:32 +00:00
Go MAEDA
29403e710a Adds favorites and recently used projects lists to project jump box (#31355).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-20 22:26:30 +00:00
Go MAEDA
b540046ed7 Generalize issues imports (#28234).
Extend import controller to support arbitrary imports based on Import subclasses. This way, we may add other kinds of imports, by providing some views and a custom import class. This may also be done from within plugins.

Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@18145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-09 07:40:06 +00:00
Go MAEDA
1ff42ec5bc New Permission: Edit own issue (#1248).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-25 05:32:58 +00:00
Go MAEDA
07b3087fda Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 09:37:35 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
1d3e2006b1 Hide menu item in the cross-project menu if the module is not enabled in any project (#30207).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-13 03:23:18 +00:00
Jean-Philippe Lang
2fdbcd35dd Adds a permission to log time for another user (#3848).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 16:28:22 +00:00
Go MAEDA
795bdb9ee5 Fix: Irrelevant permission is required to access some tabs in project settings page (#28693).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-03 00:48:11 +00:00