summaryrefslogtreecommitdiffstats
path: root/test/unit/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged r19333 from trunk to 3.3-stable (#25742)3.3-stableToshi MARUYAMA2019-12-051-0/+8
| | | | | | | | Filter all possibly class values on code tags in Textile. Contributed by Holger Just from Planio. git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@19337 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r17655 (#29674).Jean-Philippe Lang2018-11-293-39/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17662 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17645 to 3.3-stable (#29674).Jean-Philippe Lang2018-11-293-0/+39
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17655 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17643 to 3.3-stable (#20788).Jean-Philippe Lang2018-11-291-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17651 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17322 from trunk to 3.3-stable (#28469).Go MAEDA2018-05-021-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17324 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17266 into 3.3-stable (#25299).Jean-Philippe Lang2018-04-071-0/+56
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17268 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17198 to 3.3-stable (#28119).Go MAEDA2018-03-311-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17248 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17062 from trunk to 3.3-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.3-stable@17072 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r17060 from trunk to 3.3-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.3-stable@17070 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16622 to r16625 (#26055).Jean-Philippe Lang2017-06-071-0/+37
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16630 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16500 to r16503 (#25503).Jean-Philippe Lang2017-04-082-3/+60
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16523 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16059, r16060, r16064, r16072.Jean-Philippe Lang2016-12-207-16/+32
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16106 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.3-stable@15867 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.3-stable@15614 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15536 and r15541 (#23083).Jean-Philippe Lang2016-06-181-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15560 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.3-stable@15557 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15501 to r15508 (#15880).Jean-Philippe Lang2016-06-121-0/+35
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15513 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15431 to r15435 (#22924, #22925, #22926).Jean-Philippe Lang2016-06-041-0/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15440 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.3-stable@15438 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Child nodes should only be rendered if the user is actually authorized to ↵Jean-Philippe Lang2016-05-081-2/+48
| | | | | | | | see them (#15880). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15393 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed the "New issue" menu item (#6204).Jean-Philippe Lang2016-04-191-7/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15344 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces acts_as_list with an implementation that handles #position= (#12909).Jean-Philippe Lang2016-04-172-0/+108
| | | | | | Objects are reordered using the regular attribute writer #position= and AR callbacks. git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Text in the "removed" part of a diff is double-escaped (#22115).Jean-Philippe Lang2016-03-261-0/+12
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@15287 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-1351-51/+51
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* output what language fails at test_number_to_human_size_for_each_languageToshi MARUYAMA2016-03-041-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15187 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 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
* 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
* 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
* Missing fixtures.Jean-Philippe Lang2015-10-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14714 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add debug info for random test failure.Jean-Philippe Lang2015-10-091-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14669 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reset current user to prevent random test failures.Jean-Philippe Lang2015-10-041-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14645 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display all versions in query filter (#19271).Jean-Philippe Lang2015-09-261-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Table renders wrong if a trailing space is after | symbol (#18223).Jean-Philippe Lang2015-09-201-0/+22
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@14611 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CSV importer raises I18n::InvalidLocale exception if current user's language ↵Jean-Philippe Lang2015-08-151-0/+9
| | | | | | is "(auto)" (#905, #20535). git-svn-id: http://svn.redmine.org/redmine/trunk@14504 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Markdown formatter not running on rake test.Jean-Philippe Lang2015-06-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14317 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove style tags from html body (#15716).Jean-Philippe Lang2015-06-161-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14315 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Better handle html-only emails (#16962).Jean-Philippe Lang2015-06-153-0/+90
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14313 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add BOM to UTF-8 encoded CSV (#7037).Jean-Philippe Lang2015-06-131-0/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14303 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Can't apply textile modifiers to 1 non-ASCII character (#19995).Jean-Philippe Lang2015-06-061-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Email addresses with slashes are not linked correctly (#19735).Jean-Philippe Lang2015-05-081-0/+6
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@14237 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use current user locale to format dates (#19039).Jean-Philippe Lang2015-02-081-23/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* link_to in Redmine::Hook::ViewListener omits relative url root (#19024).Jean-Philippe Lang2015-02-071-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix tests (#13120)Toshi MARUYAMA2015-01-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13910 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixture to Redmine::Hook::ManagerTestToshi MARUYAMA2015-01-181-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 4.2.0 (#14534).Jean-Philippe Lang2015-01-172-22/+22
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-1145-69/+69
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force UTF-8 encoding of language names.Jean-Philippe Lang2014-12-261-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13807 e93f8b46-1217-0410-a6f0-8f06a7374b81