summaryrefslogtreecommitdiffstats
path: root/lib/redmine
Commit message (Collapse)AuthorAgeFilesLines
* Allow switching the encoding to UTF-8 when exporting to CSV (#26279).Go MAEDA2018-05-071-3/+3
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17328 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Syntax highlighter does not work if language name is single-quoted ↵Go MAEDA2018-05-021-1/+1
| | | | | | | | | (#28469). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show renames in diff preview (#28295).Go MAEDA2018-04-271-1/+6
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17313 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt bars with start date and end date on the same day don't become red by ↵Go MAEDA2018-04-091-3/+3
| | | | | | | | | overdue (#13521). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17294 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 5: "Page not found" error when accessing a page of a plugin in ↵Jean-Philippe Lang2018-04-081-0/+1
| | | | | | | | production mode (#26636). Patch by Akiko Takano. git-svn-id: http://svn.redmine.org/redmine/trunk@17293 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 3.4.5 release.Jean-Philippe Lang2018-04-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17286 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Markdown pre-block could derive incorrect wiki sections (#25299).Jean-Philippe Lang2018-04-071-8/+6
| | | | | | Patch by Kiichi Ozaki. git-svn-id: http://svn.redmine.org/redmine/trunk@17266 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable lax_spacing for markdown formatting (#28119).Go MAEDA2018-02-161-1/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow "max-height", "max-width", "min-height" and "min-width" CSS properties ↵Go MAEDA2018-01-111-1/+1
| | | | | | | | | 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
* Updates for 3.4.4 release.Jean-Philippe Lang2018-01-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Links for custom field value don't have "external" class (#27024).Go MAEDA2018-01-011-2/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17138 e93f8b46-1217-0410-a6f0-8f06a7374b81
* mercurial: work around faulty parsing of early command options (#27516)Toshi MARUYAMA2017-12-071-13/+14
| | | | | | | | | 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
* mercurial: separate command options and positional arguments with "--" (#27516)Toshi MARUYAMA2017-12-071-5/+5
| | | | | | | | | | 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
* mercurial: reject malicious command argument (#27516)Toshi MARUYAMA2017-12-071-0/+15
| | | | | | | | | | | | | | | | | | | | | | 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
* Fix: Round floats to 2 digits when rendering an issue list to PDF (#12510).Go MAEDA2017-12-061-0/+2
| | | | | | | Patch by Holger Just and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17059 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes visibility checks for version.fixed_issues in Gantt (#27676).Jean-Philippe Lang2017-11-291-4/+4
| | | | | | | | | 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
* Make robust Redmine::Helpers::URL#uri_with_safe_scheme? (#27114)Go MAEDA2017-11-261-1/+1
| | | | | | | Patch by okkez. git-svn-id: http://svn.redmine.org/redmine/trunk@17035 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add right-click context menu to gantt bars (#10485).Go MAEDA2017-11-251-1/+2
| | | | | | | Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17031 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add right-click context menu to gantt subjects (#10485).Go MAEDA2017-11-251-1/+2
| | | | | | | Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17030 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Gravatar icon is misaligned in gantt (#26410).Go MAEDA2017-11-251-1/+1
| | | | | | | Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17027 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 3.4.3 release.Jean-Philippe Lang2017-10-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17003 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix "schema_migrations_table_name is deprecated" warning during ↵Toshi MARUYAMA2017-08-311-2/+3
| | | | | | | | redmine:plugins:migrate (#26615) Contributed by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* git: remove "--no-color" option from "git --version" for git 2.14 ↵Toshi MARUYAMA2017-08-081-1/+1
| | | | | | compatibility (#26645) git-svn-id: http://svn.redmine.org/redmine/trunk@16948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove empty lines with trailing white spaces at lib/redmine/search.rbToshi MARUYAMA2017-08-011-3/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16941 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white spaces from lib/redmine/subclass_factory.rbToshi MARUYAMA2017-07-311-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16937 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white space from lib/redmine/themes.rbToshi MARUYAMA2017-07-311-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unused date calculations.Jean-Philippe Lang2017-07-302-40/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16934 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop Darcs support (#26391).Jean-Philippe Lang2017-07-251-239/+0
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-234-11/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set a default size for macro thumbnails different from the preview thumbnails.Jean-Philippe Lang2017-07-191-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16829 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 3.4.2 release.Jean-Philippe Lang2017-07-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16825 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 3.4.1 release.Jean-Philippe Lang2017-07-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16779 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set version to 3.4.Jean-Philippe Lang2017-06-251-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16695 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-2571-71/+71
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes plugins_path from configuration file (#24007).Jean-Philippe Lang2017-06-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Render all possible inline textile images even if an invalid one exists ↵Jean-Philippe Lang2017-06-171-1/+1
| | | | | | | | (#26157). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@16668 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes duplicate shell_quote method (#26149).Jean-Philippe Lang2017-06-172-16/+18
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@16667 e93f8b46-1217-0410-a6f0-8f06a7374b81
* gannt: not show %done if the field is disabled for the tracker (#25876)Toshi MARUYAMA2017-06-151-1/+4
| | | | | | Contributed by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@16663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove is_binary_data? from String (#25563)Toshi MARUYAMA2017-06-103-5/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16644 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Generate markup for uploaded image dropped into wiki-edit textarea (#26071).Jean-Philippe Lang2017-06-073-0/+7
| | | | | | Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@16643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New permission: view news (#7068).Jean-Philippe Lang2017-06-071-0/+4
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16639 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New Permission: View Forum (#4866).Jean-Philippe Lang2017-06-071-0/+4
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Link to user in wiki syntax (#4179).Jean-Philippe Lang2017-06-072-3/+7
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use stored ref. to array holding supported languages symbols via a constant ↵Jean-Philippe Lang2017-06-061-2/+3
| | | | | | | | (#26055). Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16624 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Pull-up retrieve_supported_languages private class method (#26055).Jean-Philippe Lang2017-06-061-4/+10
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove internal CodeRay scanners (#26055).Jean-Philippe Lang2017-06-061-1/+2
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16622 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure we can call #values.Jean-Philippe Lang2017-06-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16604 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Errors#get is deprecated in Rails 5.Jean-Philippe Lang2017-06-011-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cusotom field label should not be associated to the first input (#25760).Jean-Philippe Lang2017-05-271-4/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16574 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Highlight language aliases are no more supported (#25634).Jean-Philippe Lang2017-05-271-1/+4
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16568 e93f8b46-1217-0410-a6f0-8f06a7374b81