summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Merged r17062 from trunk to 3.2-stable (#27516)Toshi MARUYAMA2017-12-071-6/+6
| | | | | | | | | | | mercurial: work around faulty parsing of early command options 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/branches/3.2-stable@17076 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17060 from trunk to 3.2-stable (#27516)Toshi MARUYAMA2017-12-071-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | mercurial: reject malicious command argument 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/branches/3.2-stable@17074 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16622 to r16625 (#26055).Jean-Philippe Lang2017-06-072-14/+37
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16631 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16619 (#26072).Jean-Philippe Lang2017-06-071-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16629 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16574 (#25760).Jean-Philippe Lang2017-06-061-0/+30
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16621 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16568 (#25634).Jean-Philippe Lang2017-05-271-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16571 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16557 (#25713).Jean-Philippe Lang2017-05-271-0/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16567 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16500 to r16503 (#25503).Jean-Philippe Lang2017-04-083-9/+67
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16524 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16504 (#25478).Jean-Philippe Lang2017-04-081-1/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16522 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16283 (#23793).Jean-Philippe Lang2017-01-291-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16301 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16059, r16060, r16064, r16072.Jean-Philippe Lang2016-12-2022-43/+59
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16107 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16071 (#24595).Jean-Philippe Lang2016-12-201-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16100 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15848 (#23764).Jean-Philippe Lang2016-10-021-1/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15871 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15846 (#23841).Jean-Philippe Lang2016-10-021-0/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15868 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15816 (#23758).Jean-Philippe Lang2016-09-041-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15818 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15750 (#23655).Jean-Philippe Lang2016-08-311-0/+22
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15609 (#23278).Jean-Philippe Lang2016-07-112-2/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15607 (#23246).Jean-Philippe Lang2016-07-101-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15615 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15539 and r15550 (#23067).Jean-Philippe Lang2016-06-181-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15558 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15442 (#22898).Jean-Philippe Lang2016-06-041-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15445 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15431 to r15435 (#22924, #22925, #22926).Jean-Philippe Lang2016-06-042-1/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15441 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15429 (#22911).Jean-Philippe Lang2016-06-041-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15439 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15238.Jean-Philippe Lang2016-03-13139-139/+139
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15239 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15223 and r15225 (#22127).Jean-Philippe Lang2016-03-131-0/+34
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15136 to r15138 (#21593).Jean-Philippe Lang2016-03-121-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15222 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15196 (#22072).Jean-Philippe Lang2016-03-121-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15207 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15130 (#21900).Jean-Philippe Lang2016-03-121-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14988 and r14988 (#21504).Jean-Philippe Lang2016-01-091-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14974 and r14975 from trunk to 3.2-stable (#21447)Toshi MARUYAMA2016-01-071-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15009 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14970 to r14972 (#21477).Jean-Philippe Lang2015-12-191-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@14980 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r14897 to r14900 and r14949 (#21258).Jean-Philippe Lang2015-12-062-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@14953 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Calculate done_ratio based on children instead of leaves (#20995).Jean-Philippe Lang2015-11-141-0/+20
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@14875 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for #21202 (#6969).Jean-Philippe Lang2015-11-111-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14867 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r14812 (#6969).Jean-Philippe Lang2015-11-111-8/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Project.uniq.visible errors under certain conditions (#21182).Jean-Philippe Lang2015-11-091-0/+9
| | | | | | Patch by Redmine CRM. git-svn-id: http://svn.redmine.org/redmine/trunk@14857 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for #21100.Jean-Philippe Lang2015-11-081-1/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that less-than sign is not escaped by textile formatter (#6969).Jean-Philippe Lang2015-11-071-1/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to filter issues blocked by any/no open issues (#16621).Jean-Philippe Lang2015-11-071-0/+28
| | | | | | Patch by Arthur Andersen. git-svn-id: http://svn.redmine.org/redmine/trunk@14809 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Files upload restriction by files extensions (#20008).Jean-Philippe Lang2015-11-011-0/+39
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14792 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow a default version to be set on the command line for incoming emails ↵Jean-Philippe Lang2015-11-011-0/+11
| | | | | | (#7346). git-svn-id: http://svn.redmine.org/redmine/trunk@14789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default target version for new issues (#1828).Jean-Philippe Lang2015-11-011-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure (#21074).Jean-Philippe Lang2015-10-311-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14775 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that #parse_redmine_links errors when given a link tag without ↵Jean-Philippe Lang2015-10-311-0/+7
| | | | | | attributes (#19304). git-svn-id: http://svn.redmine.org/redmine/trunk@14774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New custom fields of existing issues are not initialized with their default ↵Jean-Philippe Lang2015-10-311-5/+15
| | | | | | value (#21074). git-svn-id: http://svn.redmine.org/redmine/trunk@14773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure (#21074).Jean-Philippe Lang2015-10-301-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14769 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that #l_hours_short shows 2 h (#21069).Jean-Philippe Lang2015-10-301-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* find_referenced_issue_by_id fails with RangeError for large numbers (#21071).Jean-Philippe Lang2015-10-291-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14758 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set locale in tests (#21060).Jean-Philippe Lang2015-10-251-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14748 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds Enumeration custom field format (#21060).Jean-Philippe Lang2015-10-251-0/+86
| | | | | | Similar to List format but stores possible values as records. git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Keep track of valid user sessions (#21058).Jean-Philippe Lang2015-10-241-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14735 e93f8b46-1217-0410-a6f0-8f06a7374b81