Commit Graph

1402 Commits

Author SHA1 Message Date
Go MAEDA
53a6b06578 Remove trailing whitespaces from lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 05:10:11 +00:00
Go MAEDA
d16369b67c Enable frozen_string_literal for files which don't contain string literals (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 01:47:12 +00:00
Go MAEDA
07b3087fda Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 09:37:35 +00:00
Go MAEDA
e70c283a22 Remove unnecessary encoding magic comment (#31034).
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
2019-03-16 06:26:33 +00:00
Go MAEDA
978bdba9ee Fix RDMwriteFormattedCell destroying an argument (#26561).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 04:43:37 +00:00
Go MAEDA
1035b577a9 Fix that methods in Redmine::CodesetUtil destroy the original string (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 02:20:00 +00:00
Jean-Philippe Lang
b916bc8092 Include plugin name in the exception when the plugin required by 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
2019-03-15 08:01:10 +00:00
Jean-Philippe Lang
2010cdc1a3 Add plugin lib directory to rails autoload paths (#30753).
git-svn-id: http://svn.redmine.org/redmine/trunk@17958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:58:07 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
019b640d81 Reverts r17891 (#30099).
git-svn-id: http://svn.redmine.org/redmine/trunk@17939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-10 23:37:57 +00:00
Go MAEDA
bdcadb8ced Allow collapse/expand in gantt chart (#6417).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-05 14:52:09 +00:00
Go MAEDA
54bffb5ed6 Reverted r17925 (#6417). The change breaks GanttHelperTest.
git-svn-id: http://svn.redmine.org/redmine/trunk@17926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-04 12:47:07 +00:00
Go MAEDA
a925f9603d Allow collapse/expand in gantt chart (#6417).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-04 12:07:17 +00:00
Go MAEDA
49b1aeee59 Add plugin directories to rails autoload paths (#30753).
Patch by Florian Schwab.


git-svn-id: http://svn.redmine.org/redmine/trunk@17923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-04 11:33:21 +00:00
Go MAEDA
193b02567b URLs end with "-" are rendered incorrectly in Textile (#30259).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-03 15:18:04 +00:00
Jean-Philippe Lang
72cde2f197 Updates for 4.0.2 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@17893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-21 16:39:34 +00:00
Go MAEDA
ef9c879718 Multiple blank lines in pre tags are not preserved in Textile (#30099).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@17891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-20 10:31:30 +00:00
Go MAEDA
7d03c9c6ed Update i18n gem to 1.5.3 (#29946).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-19 10:29:20 +00:00
Go MAEDA
7b20e4c034 Refactor GitAdapter#default_branch not to unnecessarily iterate through all elements (#30828).
Patch by  Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-18 23:19:39 +00:00
Go MAEDA
cbc34f2c5b Preview URL in Wiki Toolbar should be escaped (#30758).
Patch by Vincent Robert.


git-svn-id: http://svn.redmine.org/redmine/trunk@17856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-11 15:55:31 +00:00
Go MAEDA
f4b2c1a0d3 Line height is too large when previewing files with syntax highlighting if 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
2019-02-03 22:34:08 +00:00
Go MAEDA
f65f1d37bf Plugin eager_load should depend on environment setting instead of name (#30725).
Patch by Florian Schwab.


git-svn-id: http://svn.redmine.org/redmine/trunk@17841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-01 09:03:53 +00:00
Jean-Philippe Lang
8f58496138 Filesystem adapter does not show correct size for large files (#30411).
git-svn-id: http://svn.redmine.org/redmine/trunk@17831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-20 07:39:13 +00:00
Jean-Philippe Lang
dd564f08e7 Updates for 4.0.1 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@17825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-20 06:54:37 +00:00
Go MAEDA
4f96d8f832 Decrypting LDAP and SCM passwords fail if the plaintext password is longer than 31 bytes (#30171).
Patch by Nik Il.


git-svn-id: http://svn.redmine.org/redmine/trunk@17763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-17 04:49:08 +00:00
Jean-Philippe Lang
7386ec037e Implement date grouping for MySQL (#13803).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 07:03:47 +00:00
Jean-Philippe Lang
e647e99b74 Allow issues grouping by creation, update and closing date (#13803).
Implemented for PostgreSQL only for now.

git-svn-id: http://svn.redmine.org/redmine/trunk@17724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 19:52:28 +00:00
Jean-Philippe Lang
b06058e6c5 Bump version to 4.0.0
git-svn-id: http://svn.redmine.org/redmine/trunk@17699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-08 06:50:23 +00:00
Go MAEDA
957024a18c Use "abort" instead of "exit" in order to make error log more informative (# 26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-01 06:45:52 +00:00
Go MAEDA
e23b2023cb Allow single Chinese character as a search keyword (#30037).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-30 15:42:30 +00:00
Jean-Philippe Lang
b345aa7ad6 Update Redmine::Plugin documentation (#28996).
git-svn-id: http://svn.redmine.org/redmine/trunk@17661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-29 17:19:08 +00:00
Jean-Philippe Lang
bee7f2531b Missing validation for custom field formats based on RecordList (#29674).
Patch by Alexander Achenbach.

git-svn-id: http://svn.redmine.org/redmine/trunk@17645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-28 18:15:34 +00:00
Jean-Philippe Lang
f130bf9e2b REST API with JSON content missing false values (#20788).
Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-28 18:03:07 +00:00
Go MAEDA
14d441a144 Remove blank keys from sort criteria (#30009).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 05:22:04 +00:00
Go MAEDA
7fbcb8c908 Tags start with 'pre' are handled as 'pre' tag in Textile (#8395).
Patch by Takenori TAKAKI and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-26 04:40:09 +00:00
Go MAEDA
c5eff3dae2 Strip whitespace from integer custom field (#8317).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-08 13:01:06 +00:00
Go MAEDA
9c99d50713 Removes request and response accessors from Structure class (#28564).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-03 08:11:22 +00:00
Go MAEDA
e8243d213d \f or \v character in Textile markup may cause RegexpError exception (#29756).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-28 11:01:54 +00:00
Jean-Philippe Lang
0c78056a69 Send emails asynchronously (#26791).
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
2018-10-10 17:13:09 +00:00
Go MAEDA
e159928e6b Use find_by instead of where.first to remove unnecessary sorting (#26747).
Patch by  Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 16:03:26 +00:00
Jean-Philippe Lang
5b189317a9 Removed message to stdout (#28934).
git-svn-id: http://svn.redmine.org/redmine/trunk@17535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-29 09:22:07 +00:00
Jean-Philippe Lang
eb1e6d8c26 Syntax highlighter: replace CodeRay with Rouge (#24681).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-29 06:57:40 +00:00
Jean-Philippe Lang
b9fa262165 Adds preview option to the wiki toolbar (#27758).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:27:30 +00:00
Jean-Philippe Lang
daa7d2ba18 Support migration context for plugins (#28934).
git-svn-id: http://svn.redmine.org/redmine/trunk@17514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:22:29 +00:00
Go MAEDA
1d596677f2 Redmine::SortCriteria#normalize! does not limit properly the maximum number of elements (#29632).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 02:08:15 +00:00
Go MAEDA
9709f8f364 Mercurial 4.7 compatibility (#29413).
Patch by Frédéric Fondement.


git-svn-id: http://svn.redmine.org/redmine/trunk@17474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-25 08:40:32 +00:00
Go MAEDA
c0df5d1ae2 Refactor Redmine::MimeType.of. Uses MiniMime.lookup_by_extension instead of lookup_by_filename (#29359).
git-svn-id: http://svn.redmine.org/redmine/trunk@17473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-15 14:01:31 +00:00
Go MAEDA
ca6bf98c61 Don't require mime-types (#29359).
git-svn-id: http://svn.redmine.org/redmine/trunk@17470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-13 11:38:59 +00:00
Go MAEDA
b7f15fbadc Replace String#gsub with faster String#tr (#29363).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-12 23:40:44 +00:00
Go MAEDA
02191a08fd Replace mime-types gem with more efficient mini_mime gem (#29359).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-12 23:37:19 +00:00