1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

13599 Commits

Author SHA1 Message Date
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
Jean-Philippe Lang
96a854a4b3 Moves issue calculations into the fixed_issues relation (#27676).
This way, we can reuse them on refined relations,
e.g. @version.fixed_issues.closed_count@ vs. @version.fixed_issues.visible.closed_count@

Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@17050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-29 19:36:13 +00:00
Go MAEDA
bf35b1e027 Fix typo in configuration.yml.example (#27670).
Patch by Kosta Harlan and Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-29 08:14:52 +00:00
Go MAEDA
5d890dc9a9 Use new pagination style in gantt (#26671).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-28 02:33:00 +00:00
Go MAEDA
daa983abf1 Spanish/Panama translation update for jstoolbar-es-pa.js (#27649).
Patch by Javier Menéndez Riz.


git-svn-id: http://svn.redmine.org/redmine/trunk@17045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-27 15:15:34 +00:00
Go MAEDA
a2a84cda91 Spanish translation update for jstoolbar-es.js (#27642).
Patch by Javier Menéndez Riz.


git-svn-id: http://svn.redmine.org/redmine/trunk@17042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-27 14:48:01 +00:00
Go MAEDA
692be89e3a Fix: Unnecessary arrow icon beside a project link in calendar tooltips (#27139).
Patch by Bernhard Rohloff.


git-svn-id: http://svn.redmine.org/redmine/trunk@17039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-27 13:00:39 +00:00
Go MAEDA
776a8d1828 Use number input field instead of text input for Gantt months field (#26869).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-27 00:55:40 +00:00
Go MAEDA
4a6f9e01d6 Add tests for context menu in gantt (#10485).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-27 00:34:30 +00:00
Go MAEDA
2ecb29bfcb Use pluck instead of map in MyHelper (#26711).
Patch by jwjw yy.


git-svn-id: http://svn.redmine.org/redmine/trunk@17036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-26 14:37:31 +00:00
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
2017-11-26 03:44:37 +00:00
Go MAEDA
092cadb0cc Fix: Changing the tracker to a tracker with the tracker field set to read-only won't work (#27110)
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-26 02:20:23 +00:00
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
2017-11-25 16:31:50 +00:00
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
2017-11-25 16:30:23 +00:00
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
2017-11-25 15:29:52 +00:00
Go MAEDA
412aa218e8 Make gantt columns resizable (#20481).
Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-25 13:51:20 +00:00
Go MAEDA
980ea2160d Fix: "Uncheck all" is not working in workflow status transitions page (#27586).
Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-25 11:16:13 +00:00
Toshi MARUYAMA
cf62aeab60 Gemfile: pin mail gem version to prevent failure of MailHandlerTest#test_add_issue_with_localized_attributes
git-svn-id: http://svn.redmine.org/redmine/trunk@17019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-05 19:31:53 +00:00
Toshi MARUYAMA
e438523e78 remove unused WikisController#edit (#26579)
git-svn-id: http://svn.redmine.org/redmine/trunk@17018 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-05 19:09:05 +00:00
Toshi MARUYAMA
4c51d63761 remove unused project setting wiki tab erb (#26579)
git-svn-id: http://svn.redmine.org/redmine/trunk@17017 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-05 18:02:26 +00:00
Jean-Philippe Lang
fc1912442f Adds changes from 3.3.5.
git-svn-id: http://svn.redmine.org/redmine/trunk@17004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 19:50:46 +00:00
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
2017-10-15 19:46:27 +00:00
Jean-Philippe Lang
5a775287ab Fix filter after multiple version ids (#26667).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:54:39 +00:00
Jean-Philippe Lang
cb73fc58f2 Fix filter values for fixed version id (#26667).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:53:49 +00:00
Jean-Philippe Lang
0a3e85b92d Filtering time entries after issue's target version doesn't work as expected in some cases (#26667).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:42:00 +00:00
Jean-Philippe Lang
738bb449ef URL-escape additional characters with special meaning in the generated markup for dropped uploads (#26682).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:36:58 +00:00
Jean-Philippe Lang
5aeb19962a Add title to author's and assignee's icon (#26689).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:35:00 +00:00
Jean-Philippe Lang
0d8baa0122 Translation for label_week in time report is not working (#26780).
Patch by Alexander Meindl.

git-svn-id: http://svn.redmine.org/redmine/trunk@16990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:23:35 +00:00
Jean-Philippe Lang
94f7cfbf99 Ensure that values of multi-value fields are HTML-escaped in issue history (#27186).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:09:43 +00:00
Jean-Philippe Lang
56c8ee0440 Ensure that values of multi-value fields are HTML-escaped in issue list (#27186).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:08:46 +00:00
Jean-Philippe Lang
1a09764179 Don't use raw output in timelog (#27186).
git-svn-id: http://svn.redmine.org/redmine/trunk@16983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:06:20 +00:00