summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Removes 'unloadable' from plugin templates (#20513).Jean-Philippe Lang2018-01-082-3/+0
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17160 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Minitest.rake_run with Rails::TestUnit::Runner.rake_run for ↵Go MAEDA2018-01-012-7/+7
| | | | | | | | | 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
* 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
* Use reverse_each instead of reverse.each (#27671).Go MAEDA2017-12-312-2/+2
| | | | | | | Patch by Timur Tarasenko. git-svn-id: http://svn.redmine.org/redmine/trunk@17137 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace plugin generator USAGE "script/rails" which are removed by r16868Toshi MARUYAMA2017-12-273-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17132 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
* Set migration version in the plugin migration template (#26610).Jean-Philippe Lang2017-08-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16945 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
* Removes test:ui rake task replaced by rails test:system.Jean-Philippe Lang2017-07-301-6/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a checkbox to set a page as the wiki start page (#26579).Jean-Philippe Lang2017-07-301-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get rid of acts_as_versioned.Jean-Philippe Lang2017-07-2623-1579/+0
| | | | | | WikiContent::Version becomes WikiContentVersion. git-svn-id: http://svn.redmine.org/redmine/trunk@16889 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop Darcs support (#26391).Jean-Philippe Lang2017-07-253-241/+1
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix search engine returns 500 error by Go MAEDA (#26526)Toshi MARUYAMA2017-07-251-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16879 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white spaces from ↵Toshi MARUYAMA2017-07-251-3/+0
| | | | | | lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb git-svn-id: http://svn.redmine.org/redmine/trunk@16878 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes acts_as_list plugin.Jean-Philippe Lang2017-07-234-639/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-238-47/+49
| | | | 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
* Remove duplicate notifiable require (#26312).Toshi MARUYAMA2017-07-021-1/+0
| | | | | | | | This duplication was introduced as part of r10909. Contributed by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display menu items if user is allowed.Jean-Philippe Lang2017-06-281-3/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Global News view should not be allowed without permission (#7068).Jean-Philippe Lang2017-06-261-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16721 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that time entry queries cannot be saved when issue tracking is ↵Jean-Philippe Lang2017-06-261-3/+3
| | | | | | disabled (#14790). git-svn-id: http://svn.redmine.org/redmine/trunk@16718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes SVG from libs (#26253).Jean-Philippe Lang2017-06-2511-3760/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16700 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-2583-83/+83
| | | | 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
* Highlight menu item when viewing an attachment (#25988).Jean-Philippe Lang2017-06-101-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16652 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-072-1/+5
| | | | | | 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-072-1/+5
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16637 e93f8b46-1217-0410-a6f0-8f06a7374b81