Go MAEDA
9709f8f364
Mercurial 4.7 compatibility (#29413).
Patch by Frédéric Fondement.
git-svn-id: http://svn.redmine.org/redmine/trunk@17474 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
c0df5d1ae2
Refactor Redmine::MimeType.of. Uses MiniMime.lookup_by_extension instead of lookup_by_filename (#29359).
git-svn-id: http://svn.redmine.org/redmine/trunk@17473 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
ca6bf98c61
Don't require mime-types (#29359).
git-svn-id: http://svn.redmine.org/redmine/trunk@17470 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
b7f15fbadc
Replace String#gsub with faster String#tr (#29363).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17469 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
02191a08fd
Replace mime-types gem with more efficient mini_mime gem (#29359).
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17468 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
eee1c36b4b
Replace Enumerable#sort with faster Enumerable#sort_by (#29299).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17462 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
ed14823d13
Replace Hash#keys.each with faster Hash#each_key (#29305).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17458 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
26f4b5181f
Fix: Textile phrase modifiers break wiki macros (#29247).
Patch by Stephan Wenzel.
git-svn-id: http://svn.redmine.org/redmine/trunk@17450 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 years ago
Go MAEDA
391bc8b763
Only allow the use of visible custom fields in time entry reports (#29162).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17446 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
87a671ce75
Add my activities to my page (#2471).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17443 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
f7bb9f93a4
Show images and thumbnails in their natural orientation (#28616).
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17420 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
d8a2024715
Dangerous query method deprecation warnings (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17411 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
157a291b66
Redmine::VERSION::revision should take subversion_command_setting into account (#28920).
Patch by Yuichi Harada.
git-svn-id: http://svn.redmine.org/redmine/trunk@17407 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
f748296121
Image filename for HDPI monitors (image@2x.jpg) are misrecognized as email address (#27968).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17394 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
b1b89ff0ac
"attachment:filename" link syntax would not work if the file name contains "@" (#26507).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17393 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
270b6c4d7e
User link syntax (user:login) doesn't work for logins consisting of an email adress (#26443).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17392 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
794a2a0180
Enable and add underline button to the toolbar for Markdown formatting (#28169).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17385 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
6a2867a701
Updates for 3.4.6 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@17377 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
bff0fbce8b
Remove RDoc tags (#28943).
Patch by Sho HASHIMOTO.
git-svn-id: http://svn.redmine.org/redmine/trunk@17370 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
db8afc99e1
Support of default ActiveRecord I18n scopes in LabelledFormBuilder (#26618).
Patch by Dmitry Lisichkin.
git-svn-id: http://svn.redmine.org/redmine/trunk@17365 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
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
6 years ago
Go MAEDA
eafe8a9f9e
Mercurial 4.6 compatibility (#28725).
Patch by Marc Schlaich and Frédéric Fondement.
git-svn-id: http://svn.redmine.org/redmine/trunk@17351 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
37d1fcf8a4
Adds previews for audio / video attachments (#27336).
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17340 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
ca2875fab2
Allow switching the encoding to UTF-8 when exporting to CSV (#26279).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17328 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
c9a216b816
Fix: redmine_plugin_controller generates camelcase filename (#28668).
Patch by Toru Takahashi.
git-svn-id: http://svn.redmine.org/redmine/trunk@17325 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
00b85dc8d9
Fix: Syntax highlighter does not work if language name is single-quoted (#28469).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17322 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
b178150761
Show renames in diff preview (#28295).
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17313 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
8b0bfbbc8b
Gantt bars with start date and end date on the same day don't become red by overdue (#13521).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17294 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
784b9f4aca
Rails 5: "Page not found" error when accessing a page of a plugin in production mode (#26636).
Patch by Akiko Takano.
git-svn-id: http://svn.redmine.org/redmine/trunk@17293 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
56d4dc1973
Updates for 3.4.5 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@17286 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
040f31d867
Markdown pre-block could derive incorrect wiki sections (#25299).
Patch by Kiichi Ozaki.
git-svn-id: http://svn.redmine.org/redmine/trunk@17266 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
241e4cbb68
Enable lax_spacing for markdown formatting (#28119).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17198 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
c1f92c7f06
Fix: "project_from_subbaddress" option is not listed in the help of "rake redmine:email:receive_imap" (#28026).
Patch by Go Maeda.
git-svn-id: http://svn.redmine.org/redmine/trunk@17185 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
e4142a8338
Allow "max-height", "max-width", "min-height" and "min-width" CSS properties in Textile (#26552).
Patch by Michael Gerz and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17173 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
054f3bb424
Updates for 3.4.4 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@17162 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
ce066b0567
Removes 'unloadable' from plugin templates (#20513).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17160 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
89de01076a
Replace Minitest.rake_run with Rails::TestUnit::Runner.rake_run for compatibility with Rails 5.1.4 (#27871).
Patch by Tatsuya Saito.
git-svn-id: http://svn.redmine.org/redmine/trunk@17139 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
c35433ad01
Links for custom field value don't have "external" class (#27024).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17138 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
14e0a6bdba
Use reverse_each instead of reverse.each (#27671).
Patch by Timur Tarasenko.
git-svn-id: http://svn.redmine.org/redmine/trunk@17137 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Toshi MARUYAMA
a1c2eb61df
replace plugin generator USAGE "script/rails" which are removed by r16868
git-svn-id: http://svn.redmine.org/redmine/trunk@17132 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Toshi MARUYAMA
9d797400ea
mercurial: work around faulty parsing of early command options (#27516)
Use -sVALUE and --long=VALUE instead of "-s VALUE" and "--long VALUE"
respectively.
Contributed by Yuya Nishihara.
git-svn-id: http://svn.redmine.org/redmine/trunk@17062 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Toshi MARUYAMA
58ed865513
mercurial: separate command options and positional arguments with "--" (#27516)
We don't have much problems here thanks to hgtarget(path) and CGI.escape(),
which prepends a repository path and encodes "=" character respectively, but
it's better to not rely on the side effect of these functions.
Contributed by Yuya Nishihara.
git-svn-id: http://svn.redmine.org/redmine/trunk@17061 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Toshi MARUYAMA
ca87bf766c
mercurial: reject malicious command argument (#27516)
We've got a security report from the Phabricator team, which basically says
--config and --debugger arguments can be injected anywhere to lead to an
arbitrary command execution.
https://secure.phabricator.com/rPa7921a4448093d00defa8bd18f35b8c8f8bf3314
This is a fundamental issue of the argument parsing rules in Mercurial, which
allows extensions to populate their parsing rules and such extensions can be
loaded by "--config extensions.<name>=". There's a chicken and egg problem.
We're working on hardening the parsing rules, but which won't come in by
default as it would be a behavior change.
This patch adds a verification to reject malicious command arguments as a
last ditch. The subsequent patches will fix the problem in more appropriate
way.
Contributed by Yuya Nishihara.
git-svn-id: http://svn.redmine.org/redmine/trunk@17060 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
d6d2d23365
Fix: Round floats to 2 digits when rendering an issue list to PDF (#12510).
Patch by Holger Just and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17059 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
62d6dfe1cc
Fixes visibility checks for version.fixed_issues in Gantt (#27676).
Like the version page - the Gantt chart featured a "percent done" info
for each version, which wasn't properly limited to visible issues.
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17053 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
9ae7bc8152
Make robust Redmine::Helpers::URL#uri_with_safe_scheme? (#27114)
Patch by okkez.
git-svn-id: http://svn.redmine.org/redmine/trunk@17035 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
a92b92e501
Add right-click context menu to gantt bars (#10485).
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17031 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
fc93f14d64
Add right-click context menu to gantt subjects (#10485).
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17030 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Go MAEDA
4b30e7a90e
Fix: Gravatar icon is misaligned in gantt (#26410).
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17027 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago
Jean-Philippe Lang
2fd2c1a31f
Updates for 3.4.3 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@17003 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 years ago