Commit Graph

2019 Commits

Author SHA1 Message Date
Go MAEDA
acac5974e3 New My page block: Updated issues (#30975).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 08:10:30 +00:00
Go MAEDA
dd146cbe85 Code cleanup: Use Loofah.remove_extraneous_whitespace instead of deprecated Loofah::Helpers.remove_extraneous_whitespace.
git-svn-id: http://svn.redmine.org/redmine/trunk@18070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-21 12:05:55 +00:00
Go MAEDA
9cce7e85a2 Raise an exception if the plugin directory name differs from the plugin id (#31110).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-19 15:30:41 +00:00
Go MAEDA
ba79c59f9f Garbage lines in the output of 'git branch' break git adapter (#31120).
Contributed by Chad Petersen.


git-svn-id: http://svn.redmine.org/redmine/trunk@18046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-07 07:02:08 +00:00
Toshi MARUYAMA
dcd7df0be8 code clean up GitAdapter
git-svn-id: http://svn.redmine.org/redmine/trunk@18043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 07:49:08 +00:00
Toshi MARUYAMA
ec557a67a4 scm: git: fix non ascii branch and tag browsing (#16881)
git-svn-id: http://svn.redmine.org/redmine/trunk@18042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 07:41:08 +00:00
Toshi MARUYAMA
ae0939952e scm: git: add new one latin1 tag to test repository (#16881)
git-svn-id: http://svn.redmine.org/redmine/trunk@18040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 06:48:37 +00:00
Toshi MARUYAMA
5d2c03a196 scm: git: add new two latin1 branches to test repository (#16881)
git-svn-id: http://svn.redmine.org/redmine/trunk@18039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 05:30:18 +00:00
Toshi MARUYAMA
97f6a40981 code clean up GitAdapter
git-svn-id: http://svn.redmine.org/redmine/trunk@18038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-04 16:33:02 +00:00
Toshi MARUYAMA
3d70e1079a code clean up GitAdapter
git-svn-id: http://svn.redmine.org/redmine/trunk@18037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-04 07:15:32 +00:00
Jean-Philippe Lang
359310749c Updates for 4.0.3 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@18023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-31 06:50:08 +00:00
Go MAEDA
72e1451159 Use Regexp#match? to reduce allocations of MatchData object (#28940).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-27 02:15:24 +00:00
Go MAEDA
4a37bac866 Remove extra #dup (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 00:45:56 +00:00
Go MAEDA
21769bb59e Fix FrozenError in BazaarAdapter.branch_conf_path (#26561).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 15:02:35 +00:00
Go MAEDA
606e75d12d Use #b shortcut instead of #force_encoding (#31059).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 01:36:44 +00:00
Go MAEDA
30e341db69 Support frozen_string_literal in lib/**/*.rb (#26561).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 16:36:34 +00:00
Go MAEDA
72a163d8b3 Support frozen_string_literal in lib/redmine/export/*.rb (#26561).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 06:10:53 +00:00
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