redmineup 1.1.13 → 1.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4d2181d902dbfa9a13995df17ff80c6a9eaea15fd54c6a918a6695ced32ed40
4
- data.tar.gz: 88ee188a9626a4483f6ebc108a5f2ae174de4bde94e5d04128f60b0f3d6d8799
3
+ metadata.gz: edd9e2b69c72c5f3ec376bd59f68cd701bcb28a1ac81c7fbf31085acdd422e18
4
+ data.tar.gz: 52bf3b2fd440ace540ba8d1eba5d297243ded63da5e806a9496d41c796f9d628
5
5
  SHA512:
6
- metadata.gz: bbd631a43429432a3c3f2e208527b601dd3d1dca57d260d314f2808d485b96d8f8ef29baf31a6836c026c30cf5d453075082d6d65cf548efba7fe5393a862b75
7
- data.tar.gz: 49ccf2ace3f1af01aa00a748a94c93f6deb994fd5bc0e0a23db7f4e98c7ed371aeff27b8561a0c8cce1aeee19d9e8e5333ae4c7ee77c699bb9c8bb1c092daff3
6
+ metadata.gz: 1d196b8b574b8643412d71618072da558649c48748b92b471e7594743ebe6c7c2f03f8c3c523e5774034040bb4a802d77fe00713acfeb50b978bb1a46f605cee
7
+ data.tar.gz: '07478c4976432e4103a50630d60fa691d153434a238e3811bae0d393ad4c1e24a5e17246268e569a1a03b023bd8b704ec15c55536dbb045ffd83db1cb1f12c56'
@@ -10,6 +10,3 @@ table.cal td.odd p.day-num {color: #bbb;}
10
10
  table.cal td.today {background:#ffffdd;}
11
11
  table.cal td.today p.day-num {font-weight: bold;}
12
12
  table.cal td.nwday:not(.odd) {background-color:#f1f1f1;}
13
- table.cal .starting a.issue, p.cal.legend .starting {background: url(../../../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
14
- table.cal .ending a.issue, p.cal.legend .ending {background: url(../../../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
15
- table.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../../../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
@@ -432,9 +432,6 @@ table.cal td.odd p.day-num {color: #bbb;}
432
432
  table.cal td.today {background:#ffffdd;}
433
433
  table.cal td.today p.day-num {font-weight: bold;}
434
434
  table.cal td.nwday:not(.odd) {background-color:#f1f1f1;}
435
- table.cal .starting a.issue, p.cal.legend .starting {background: url(../../../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
436
- table.cal .ending a.issue, p.cal.legend .ending {background: url(../../../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
437
- table.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../../../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
438
435
 
439
436
  #admin-menu a.icon-redmineup-money:not(:has(svg)) {
440
437
  background-image: url(../images/money.png);
@@ -462,9 +459,6 @@ ul.cal {
462
459
  .cal .calbody.today p.day-num {font-weight: bold;}
463
460
  .cal .calbody .icon {padding-top: 2px; padding-bottom: 3px;}
464
461
  .cal .calbody.nwday:not(.odd) {background-color:#f1f1f1;}
465
- .cal .starting a.issue, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
466
- .cal .ending a.issue, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
467
- .cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
468
462
  @media screen and (max-width: 899px) {
469
463
  ul.cal { display: block }
470
464
  .cal .calhead { display: none }
data/doc/CHANGELOG CHANGED
@@ -4,6 +4,11 @@ Redmine UP gem - general functions for plugins (tags, vote, viewing, currency)
4
4
  Copyright (C) 2011-2026 Kirill Bezrukov (RedmineUP)
5
5
  https://www.redmineup.com/
6
6
 
7
+ == 2026-10-09 v1.1.14
8
+
9
+ * Fixed missing calendar icons and extra padding in Redmine 6/7
10
+ * Fixed tag field width in forms
11
+
7
12
  == 2026-08-25 v1.1.13
8
13
 
9
14
  * Updated patches from include to prepend
@@ -67,7 +67,8 @@ module Redmineup
67
67
  options_for_select(value, value),
68
68
  {
69
69
  multiple: true,
70
- width: width || '95%',
70
+ style: "width: #{width || '95%'};",
71
+ width: 'style',
71
72
  url: url || auto_complete_taggable_tags_path(taggable_type: taggable_type, project_id: project_id),
72
73
  placeholder: placeholder || l(:lable_redmineup_add_tag),
73
74
  tags: true
@@ -1,3 +1,3 @@
1
1
  module Redmineup
2
- VERSION = '1.1.13'
2
+ VERSION = '1.1.14'
3
3
  end
@@ -35,7 +35,16 @@ class TagsHelperViewTest < ActionView::TestCase
35
35
  width: '60%', tags: false,
36
36
  placeholder: '+ add tag')
37
37
  assert_includes result, 'name="issue[tag_list][]"'
38
- assert_includes result, '"width":"60%"'
38
+ assert_includes result, 'style="width: 60%;"'
39
+ assert_includes result, '"width":"style"'
39
40
  assert_includes result, '"tags":false'
40
41
  end
42
+
43
+ def test_tag_list_field_tag_with_default_width
44
+ result = tag_list_field_tag('issue[tag_list]', [],
45
+ url: '/auto_completes/taggable_tags',
46
+ placeholder: '+ add tag')
47
+ assert_includes result, 'style="width: 95%;"'
48
+ assert_includes result, '"width":"style"'
49
+ end
41
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmineup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.13
4
+ version: 1.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - RedmineUP
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-25 00:00:00.000000000 Z
11
+ date: 2026-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -124,7 +124,6 @@ files:
124
124
  - app/assets/javascripts/select2.js
125
125
  - app/assets/javascripts/select2_helpers.js
126
126
  - app/assets/stylesheets/calendars.css
127
- - app/assets/stylesheets/money.css
128
127
  - app/assets/stylesheets/redmineup.css
129
128
  - app/assets/stylesheets/select2.css
130
129
  - app/controllers/redmineup_controller.rb
@@ -1,95 +0,0 @@
1
- #admin-menu a.icon-redmineup-money:not(:has(svg)) {
2
- background-image: url(../images/money.png);
3
- }
4
-
5
- /***** Calendar *****/
6
- ul.cal {
7
- list-style: none;
8
- width: 100%;
9
- padding: 0;
10
- display: grid;
11
- grid-template-columns: 2rem repeat(7, 1fr);
12
- margin: 0;
13
- border: 1px solid #c0c0c0;
14
- border-spacing: 0;
15
- border-radius: 3px;
16
- }
17
-
18
- .cal .calhead {
19
- background-color:#eee;
20
- text-align: center;
21
- font-weight: bold;
22
- padding: 4px
23
- }
24
-
25
- .cal .week-number {
26
- background-color:#eee;
27
- border:none;
28
- font-size: 1em;
29
- padding: 4px;
30
- text-align: center;
31
- }
32
-
33
- .cal .week-number .label-week {
34
- display: none;
35
- }
36
-
37
- .cal .calbody {
38
- border: 1px solid #d7d7d7;
39
- vertical-align: top;
40
- font-size: 0.9em;
41
- border-bottom: 0;
42
- border-right: 0;
43
- line-height: 1.2;
44
- min-height: calc(1.2em * 6);
45
- padding: 2px;
46
- }
47
-
48
- .cal .calbody p.day-num {font-size: 1.1em; text-align:right;}
49
- .cal .calbody .abbr-day {display:none}
50
- .cal .calbody.odd p.day-num {color: #bbb;}
51
- .cal .calbody.today {background:#ffd;}
52
- .cal .calbody.today p.day-num {font-weight: bold;}
53
-
54
- .cal .calbody .icon {padding-top: 2px; padding-bottom: 3px;}
55
- .cal .calbody.nwday:not(.odd) {background-color:#f1f1f1;}
56
- .cal .starting a.issue, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
57
- .cal .ending a.issue, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
58
- .cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
59
-
60
-
61
- /* responsive.css */
62
- @media screen and (max-width: 899px)
63
- {
64
- ul.cal {
65
- display: block
66
- }
67
- .cal .calhead {
68
- display: none
69
- }
70
-
71
- .cal .calbody {
72
- min-height: calc(1.2em * 3);
73
- }
74
-
75
- .cal .calbody .abbr-day {
76
- display: inline;
77
- }
78
-
79
- .cal .week-number {
80
- border: 1px solid #c0c0c0;
81
- text-align: left;
82
- font-weight: bold;
83
- background-color: #def;
84
- }
85
-
86
- .cal .week-number .label-week {
87
- display: inline;
88
- }
89
-
90
- .cal .calbody p.day-num {
91
- font-size: 1.1em;
92
- text-align: left;
93
- }
94
- }
95
- /***** End Calendar *****/