Go MAEDA
3b55f65407
Remove frozen_string_literal magic comment from files which are not used when running the application or tests ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 06:06:53 +00:00
Go MAEDA
b900ae6107
Support frozen_string_literal in test/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 03:27:53 +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
09b63e39ed
Simpler link syntax "#note-123" to make a link to a note of the current issue ( #30829 ).
...
Contributed by Marius BALTEANU and Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 05:15:59 +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
26509e7f4c
Decode hexadecimal-encoded literals in order to be frozen string literals friendly ( #31004 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 15:43:55 +00:00
Go MAEDA
7d2f10ccac
Fix FrozenError in RepositoriesController#diff ( #31052 , #26561 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 02:42:58 +00:00
Go MAEDA
bf67729a28
Remove unused method ApplicationHelper#generate_csv ( #31046 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-18 14:23:47 +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
bd5977d97e
Support frozen_string_literal in app/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 13:36:03 +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
24d76e94ef
Support frozen_string_literal in config/initializers/10-patches.rb ( #26561 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 03:29:15 +00:00
Go MAEDA
02b4449414
Enable frozen_string_literal for all files under config directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 02:04:38 +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
d4daf4e23b
Support frozen_string_literal in issue, journal, and query ( #26561 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 00:29:58 +00:00
Go MAEDA
46208a6743
Enable frozen_string_literal for app/views/*/*.builder ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 00:23:17 +00:00
Go MAEDA
4f5a3a156c
Enable frozen_string_literal for some files under test directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +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
ccda34cac6
Display user's groups on profile ( #12796 ).
...
Only for admins or when viewing its own profile.
git-svn-id: http://svn.redmine.org/redmine/trunk@17973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 11:49:51 +00:00
Jean-Philippe Lang
e26ab0d4a2
Show recent documents first ( #29725 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:51:22 +00:00
Jean-Philippe Lang
c5c335924b
Adds label_trackers_description and label_open_trackers_description i18n strings ( #442 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:44:19 +00:00
Jean-Philippe Lang
84f322b2af
Add a description for trackers ( #442 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:38:56 +00:00
Jean-Philippe Lang
3b59c6dfb2
Adds label_inherited_from_parent_project and label_inherited_from_group i18n strings ( #31032 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:11:30 +00:00
Jean-Philippe Lang
b4c23f066e
Display details about inheritance when editing a member roles ( #31032 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:09:28 +00:00
Jean-Philippe Lang
5da9cc59ee
PluginRequirementError is now raised instead of PluginNotFound ( #31030 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 09:49:04 +00:00
Jean-Philippe Lang
648a6408e7
Long text custom fields don't accept values longer than 64KB if backend database is MySQL ( #29209 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 09:45:19 +00:00
Jean-Philippe Lang
7a11864812
Support issue[assigned_to_id]=me when prefilling issues ( #28502 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 09:37:04 +00:00
Jean-Philippe Lang
9f24ceb6b3
Reverts r11130 and r11132 ( #9225 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 09:26:25 +00:00
Jean-Philippe Lang
8daca338ed
Unified diff link broken on specific file/revision diff view ( #30850 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 08:51:48 +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
Jean-Philippe Lang
8d7386c3fa
Send columns as a param to context menu instead of parsing back_url ( #26836 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:52:21 +00:00
Jean-Philippe Lang
49efe66ff5
Filtering issues via context menu should not reset selected columns ( #26836 ).
...
Patch by Vincent Robert.
git-svn-id: http://svn.redmine.org/redmine/trunk@17955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:50:50 +00:00
Jean-Philippe Lang
8d6ecfa068
Update footer copyright to 2019 ( #30872 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:35:49 +00:00
Jean-Philippe Lang
fa8984f36a
Searching for issue number with REST API redirects to issue HTML page ( #29055 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:28:25 +00:00
Go MAEDA
e050625a29
Always use HTTPS when accessing gravatar.com ( #31022 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 03:14:26 +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
9f4a4be01a
Remove trailing whitespaces from lib/plugins/gravatar/lib/gravatar.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-14 06:28:18 +00:00
Go MAEDA
4861cefd4b
Upgrade to Rails 5.2.2.1 ( #31026 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-14 00:21:01 +00:00
Go MAEDA
d25f697d39
Fix the test ( #4502 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-13 15:50:24 +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
24c30add5c
"rake test:coverage" fails in Ruby 2.5 and 2.6 ( #30967 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-09 23:28:55 +00:00
Go MAEDA
1fbb2fa33a
Move custom field classes to a method ( #30994 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-09 15:38:24 +00:00
Go MAEDA
12968c0843
Add CSS class to user custom fields ( #30985 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-09 15:07:36 +00:00
Go MAEDA
33522bf2e8
Traditional Chinese translation ( #30983 ).
...
Patch by ChunChang Lo.
git-svn-id: http://svn.redmine.org/redmine/trunk@17934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-07 08:07:47 +00:00