1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-22 00:11:14 +00:00

13979 Commits

Author SHA1 Message Date
Go MAEDA
ec53586af3 Handle validation errors on reverse issue relations (#27695).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-07 00:37:16 +00:00
Go MAEDA
85ea5ed024 Show default status on trackers/index view (#27219).
Patch by Tomomi Yuzuriha.


git-svn-id: http://svn.redmine.org/redmine/trunk@17140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-02 00:23:52 +00:00
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
2018-01-01 10:28:56 +00:00
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
2018-01-01 06:18:01 +00:00
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
2017-12-31 01:34:39 +00:00
Toshi MARUYAMA
d2298e419c source code comment slight change (#27865)
git-svn-id: http://svn.redmine.org/redmine/trunk@17136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-29 15:09:57 +00:00
Toshi MARUYAMA
7a556764ef use relative url at robots.txt (#27865)
git-svn-id: http://svn.redmine.org/redmine/trunk@17135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-29 14:56:51 +00:00
Toshi MARUYAMA
fca43b026e remove trailing white spaces from test/functional/timelog_report_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-28 18:40:25 +00:00
Toshi MARUYAMA
cf7c9b9b12 Gemfile: update Rails version to 5.1.4
git-svn-id: http://svn.redmine.org/redmine/trunk@17133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-28 18:22:51 +00:00
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
2017-12-27 16:59:13 +00:00
Go MAEDA
d389486e80 Fix: Cannot change the priority of the parent issue in issues context menu (#27533).
Patch by Vito Marolda.


git-svn-id: http://svn.redmine.org/redmine/trunk@17129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-26 07:01:56 +00:00
Go MAEDA
f46b95107d Render activities block on UsersController#show grouped and with event_type icon (#27240).
Patch by Mischa The Evil.


git-svn-id: http://svn.redmine.org/redmine/trunk@17128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-25 04:38:07 +00:00
Toshi MARUYAMA
21265811b9 Brazilian translation for trunk update by Patrick Kaminski (#27620)
git-svn-id: http://svn.redmine.org/redmine/trunk@17127 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-21 16:54:05 +00:00
Toshi MARUYAMA
5c3e75f02d Brazilian translation for 3.4-stable update by Patrick Kaminski (#27620)
git-svn-id: http://svn.redmine.org/redmine/trunk@17123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-21 15:56:09 +00:00
Toshi MARUYAMA
fcc4af6c27 Brazilian translation for 3.3-stable update by Patrick Kaminski (#27620, #27835)
git-svn-id: http://svn.redmine.org/redmine/trunk@17122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-21 15:55:55 +00:00
Go MAEDA
f33ddf9749 Issues reports should show only statuses used by the project (#27772).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-19 10:15:22 +00:00
Go MAEDA
53e419d5bb Fix typo in rdm-mailhandler.rb: s/subadress/subaddress/ (#27812)
git-svn-id: http://svn.redmine.org/redmine/trunk@17120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-17 06:35:07 +00:00
Toshi MARUYAMA
cf172f4b0d Gemfile: relax mail gem version (#27691)
git-svn-id: http://svn.redmine.org/redmine/trunk@17116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-17 06:02:57 +00:00
Go MAEDA
861273e85a Fix typo in rdm-mailhandler.rb: s/Proccessed/Processed/ (#27810).
git-svn-id: http://svn.redmine.org/redmine/trunk@17115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-17 05:20:26 +00:00
Go MAEDA
a4931262d0 Strip whitespace from login on login page (#22532).
Patch by Artur Borisovich and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-13 13:58:32 +00:00
Go MAEDA
2a52e043c0 Fix: Overlapping text in table header on issues reports page (#19578).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-11 02:19:10 +00:00
Go MAEDA
7bd4e9fb42 Switching SCM fails after validation error in "New repository" page (#27333).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-10 05:42:22 +00:00
Toshi MARUYAMA
34fdf9b1e2 Lithuanian "default_role_developer" translation changed by Marius Žilėnas (#27502, #27768)
git-svn-id: http://svn.redmine.org/redmine/trunk@17104 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 19:40:10 +00:00
Toshi MARUYAMA
b2cfd6b017 Czech translation for trunk updated by Karel Pičman (#27506)
git-svn-id: http://svn.redmine.org/redmine/trunk@17103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 19:39:58 +00:00
Toshi MARUYAMA
603aa5f62f Czech translation changed by Karel Pičman (#27506)
git-svn-id: http://svn.redmine.org/redmine/trunk@17102 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 19:39:44 +00:00
Toshi MARUYAMA
d4021cb41d Czech help files translation for 3.4-stable updated by Karel Pičman (#27507, #27767)
git-svn-id: http://svn.redmine.org/redmine/trunk@17089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 18:22:09 +00:00
Toshi MARUYAMA
7c684e0b6f Czech help files html clean up
git-svn-id: http://svn.redmine.org/redmine/trunk@17088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 18:21:58 +00:00
Toshi MARUYAMA
550ba1e40b Czech help files translation for 3.3-stable updated by Karel Pičman (#27507, #27766)
git-svn-id: http://svn.redmine.org/redmine/trunk@17087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 18:21:47 +00:00
Toshi MARUYAMA
0773d37f6a fix public/help/cs/wiki_syntax_detailed_markdown.html broken by r14519 (#20452)
git-svn-id: http://svn.redmine.org/redmine/trunk@17086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 17:15:49 +00:00
Toshi MARUYAMA
a6d4963e44 remove double-quotation from cs.yml label_user_mail_*
git-svn-id: http://svn.redmine.org/redmine/trunk@17085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 17:15:38 +00:00
Toshi MARUYAMA
b5a8da0987 Czech translation for 3.4-stable updated by Karel Pičman (#27506, #27767)
git-svn-id: http://svn.redmine.org/redmine/trunk@17084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 16:24:49 +00:00
Toshi MARUYAMA
cf135b48a8 Czech translation for 3.3-stable updated by Karel Pičman (#27506, #27766)
git-svn-id: http://svn.redmine.org/redmine/trunk@17083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 16:24:38 +00:00
Toshi MARUYAMA
0f40494898 Lithuanian translation for 3.4-stable updated by Marius Žilėnas (#27502)
git-svn-id: http://svn.redmine.org/redmine/trunk@17082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 16:24:22 +00:00
Toshi MARUYAMA
32d9ce9eea Lithuanian translation for 3.3-stable updated by Marius Žilėnas (#27502, #27765)
git-svn-id: http://svn.redmine.org/redmine/trunk@17081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 16:24:10 +00:00
Toshi MARUYAMA
feb41c8089 remove extra empty lines from config/locales/cs.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@17080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-09 16:23:59 +00:00
Go MAEDA
01085249ab Fix: Strip whitespace from email addresses on lost password page (#27754).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-08 08:27:27 +00:00
Toshi MARUYAMA
4e7ae640b9 add copyright header to test/unit/lib/redmine/helpers/url_test.rb (#12510)
git-svn-id: http://svn.redmine.org/redmine/trunk@17077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-07 14:28:41 +00:00
Toshi MARUYAMA
93d8204b8a code clean up IssuesPdfHelperTest (#12510)
* remove extra empty lines
* remove trailing white space
* replace tab to two spaces

git-svn-id: http://svn.redmine.org/redmine/trunk@17065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-07 12:03:08 +00:00
Toshi MARUYAMA
2cf31f1248 svn propset svn:eol-style native test/unit/lib/redmine/helpers/url_test.rb (#27114)
git-svn-id: http://svn.redmine.org/redmine/trunk@17064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-07 11:50:15 +00:00
Toshi MARUYAMA
5addbfeccd svn propset svn:eol-style native test/unit/lib/redmine/export/pdf/issues_pdf_test.rb (#12510)
git-svn-id: http://svn.redmine.org/redmine/trunk@17063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-07 11:46:15 +00:00
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
2017-12-07 11:38:47 +00:00
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
2017-12-07 11:38:35 +00:00
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
2017-12-07 11:38:23 +00:00
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
2017-12-06 14:25:35 +00:00
Go MAEDA
ae842a73db Disallow creating inverse relates issue relations (#27663).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-06 09:01:07 +00:00
Go MAEDA
0ed07156ad Reverted r17054 (#27663).
The change breaks test/functional/issue_relations_controller_test.rb.



git-svn-id: http://svn.redmine.org/redmine/trunk@17055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-30 00:02:02 +00:00
Go MAEDA
3a310ccc2e Disallow creating inverse relates issue relations (#27663).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-29 22:22:39 +00:00
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
2017-11-29 19:38:44 +00:00
Jean-Philippe Lang
d0b10af3ff Performance opt - cache AR Proxy for Version#fixed_issues.visible (#27676).
Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@17052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-29 19:38:01 +00:00
Jean-Philippe Lang
cd75ba33e9 Adds visibility checks on version views (#27676).
Previously not all data on the roadmap and version view where properly
checked against the issue visibility setting. Unprivileged users were
able to see the total number of issues, their estimations and the
open/close status - even if the user was only allowed to see their own issues.

Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@17051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-29 19:37:20 +00:00