summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen_string_literal for files which don't contain string literals ↵Go MAEDA2019-03-177-7/+7
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-1651-51/+51
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-165-9/+0
| | | | | | | | | The default script encoding is UTF-8 in Ruby 2.0 or later. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RDMwriteFormattedCell destroying an argument (#26561).Go MAEDA2019-03-161-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that methods in Redmine::CodesetUtil destroy the original string (#26561).Go MAEDA2019-03-161-5/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17974 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include plugin name in the exception when the plugin required by ↵Jean-Philippe Lang2019-03-151-1/+5
| | | | | | | | requires_redmine_plugin is not found (#31030). Patch by Jérôme BATAILLE and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add plugin lib directory to rails autoload paths (#30753).Jean-Philippe Lang2019-03-151-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Always use HTTPS when accessing gravatar.com (#31022).Go MAEDA2019-03-151-2/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-15139-3/+280
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from lib/plugins/gravatar/lib/gravatar.rbGo MAEDA2019-03-141-11/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r17891 (#30099).Go MAEDA2019-03-101-5/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow collapse/expand in gantt chart (#6417).Go MAEDA2019-03-051-10/+42
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverted r17925 (#6417). The change breaks GanttHelperTest.Go MAEDA2019-03-041-41/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow collapse/expand in gantt chart (#6417).Go MAEDA2019-03-041-10/+41
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add plugin directories to rails autoload paths (#30753).Go MAEDA2019-03-041-5/+6
| | | | | | | Patch by Florian Schwab. git-svn-id: http://svn.redmine.org/redmine/trunk@17923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* URLs end with "-" are rendered incorrectly in Textile (#30259).Go MAEDA2019-03-032-4/+4
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 4.0.2 release.Jean-Philippe Lang2019-02-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17893 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Multiple blank lines in pre tags are not preserved in Textile (#30099).Go MAEDA2019-02-201-4/+5
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@17891 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update i18n gem to 1.5.3 (#29946).Go MAEDA2019-02-191-2/+3
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor GitAdapter#default_branch not to unnecessarily iterate through all ↵Go MAEDA2019-02-181-5/+5
| | | | | | | | | elements (#30828). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17883 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preview URL in Wiki Toolbar should be escaped (#30758).Go MAEDA2019-02-112-2/+2
| | | | | | | Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@17856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Line height is too large when previewing files with syntax highlighting if ↵Go MAEDA2019-02-031-0/+7
| | | | | | | | | the line terminators are CRLF (#30434). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Plugin eager_load should depend on environment setting instead of name (#30725).Go MAEDA2019-02-011-1/+1
| | | | | | | Patch by Florian Schwab. git-svn-id: http://svn.redmine.org/redmine/trunk@17841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filesystem adapter does not show correct size for large files (#30411).Jean-Philippe Lang2019-01-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17831 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 4.0.1 release.Jean-Philippe Lang2019-01-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17825 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deadlock when assigning custom values (#30465).Jean-Philippe Lang2019-01-191-1/+1
| | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Hide menu item in the cross-project menu if the module is not enabled in any ↵Go MAEDA2019-01-131-5/+5
| | | | | | | | | project (#30207). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17794 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Decrypting LDAP and SCM passwords fail if the plaintext password is longer ↵Go MAEDA2018-12-171-1/+1
| | | | | | | | | than 31 bytes (#30171). Patch by Nik Il. git-svn-id: http://svn.redmine.org/redmine/trunk@17763 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a permission to log time for another user (#3848).Jean-Philippe Lang2018-12-161-0/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Implement date grouping for MySQL (#13803).Jean-Philippe Lang2018-12-161-0/+8
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow issues grouping by creation, update and closing date (#13803).Jean-Philippe Lang2018-12-122-1/+14
| | | | | | Implemented for PostgreSQL only for now. git-svn-id: http://svn.redmine.org/redmine/trunk@17724 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Bump version to 4.0.0Jean-Philippe Lang2018-12-081-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17699 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use "abort" instead of "exit" in order to make error log more informative (# ↵Go MAEDA2018-12-011-2/+1
| | | | | | 26791). git-svn-id: http://svn.redmine.org/redmine/trunk@17668 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow single Chinese character as a search keyword (#30037).Go MAEDA2018-11-301-1/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17667 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Redmine::Plugin documentation (#28996).Jean-Philippe Lang2018-11-291-1/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17661 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing validation for custom field formats based on RecordList (#29674).Jean-Philippe Lang2018-11-281-0/+10
| | | | | | Patch by Alexander Achenbach. git-svn-id: http://svn.redmine.org/redmine/trunk@17645 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API with JSON content missing false values (#20788).Jean-Philippe Lang2018-11-281-1/+1
| | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove blank keys from sort criteria (#30009).Go MAEDA2018-11-261-0/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tags start with 'pre' are handled as 'pre' tag in Textile (#8395).Go MAEDA2018-11-261-1/+1
| | | | | | | Patch by Takenori TAKAKI and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strip whitespace from integer custom field (#8317).Go MAEDA2018-11-081-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17625 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes request and response accessors from Structure class (#28564).Go MAEDA2018-11-032-4/+3
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@17617 e93f8b46-1217-0410-a6f0-8f06a7374b81
* \f or \v character in Textile markup may cause RegexpError exception (#29756).Go MAEDA2018-10-281-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17603 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send emails asynchronously (#26791).Jean-Philippe Lang2018-10-103-5/+11
| | | | | | Custom async_* delivery methods are removed in favor of ActiveJob (Async by default). git-svn-id: http://svn.redmine.org/redmine/trunk@17588 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use find_by instead of where.first to remove unnecessary sorting (#26747).Go MAEDA2018-10-062-8/+8
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed message to stdout (#28934).Jean-Philippe Lang2018-09-291-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Syntax highlighter: replace CodeRay with Rouge (#24681).Jean-Philippe Lang2018-09-292-18/+42
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "no_notification" option is not listed in the help of "rake ↵Go MAEDA2018-09-271-0/+1
| | | | | | | | | redmine:email:receive_imap" (#29669). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds preview option to the wiki toolbar (#27758).Jean-Philippe Lang2018-09-263-6/+7
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17521 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support migration context for plugins (#28934).Jean-Philippe Lang2018-09-231-11/+47
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17514 e93f8b46-1217-0410-a6f0-8f06a7374b81
* redmine:email:read and rdm-mailhandler.rb should use safe_receive instead of ↵Jean-Philippe Lang2018-09-231-1/+1
| | | | | | | | receive (#29614). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17508 e93f8b46-1217-0410-a6f0-8f06a7374b81