redmineup 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/Gemfile +4 -0
- data/README.md +204 -0
- data/Rakefile +11 -0
- data/app/controllers/redmineup_controller.rb +26 -0
- data/app/views/redmine_crm/redmineup_calendar/_calendar.html.erb +34 -0
- data/app/views/redmineup/_money.html.erb +44 -0
- data/app/views/redmineup/settings.html.erb +10 -0
- data/bitbucket-pipelines.yml +50 -0
- data/config/currency_iso.json +2544 -0
- data/config/locales/cs.yml +13 -0
- data/config/locales/de.yml +13 -0
- data/config/locales/en.yml +13 -0
- data/config/locales/es.yml +13 -0
- data/config/locales/ru.yml +13 -0
- data/config/routes.rb +5 -0
- data/doc/CHANGELOG +14 -0
- data/doc/LICENSE.txt +339 -0
- data/lib/redmineup/acts_as_draftable/draft.rb +40 -0
- data/lib/redmineup/acts_as_draftable/up_acts_as_draftable.rb +172 -0
- data/lib/redmineup/acts_as_list/list.rb +282 -0
- data/lib/redmineup/acts_as_priceable/up_acts_as_priceable.rb +33 -0
- data/lib/redmineup/acts_as_taggable/tag.rb +81 -0
- data/lib/redmineup/acts_as_taggable/tag_list.rb +111 -0
- data/lib/redmineup/acts_as_taggable/tagging.rb +16 -0
- data/lib/redmineup/acts_as_taggable/up_acts_as_taggable.rb +357 -0
- data/lib/redmineup/acts_as_viewed/up_acts_as_viewed.rb +274 -0
- data/lib/redmineup/acts_as_votable/up_acts_as_votable.rb +80 -0
- data/lib/redmineup/acts_as_votable/up_acts_as_voter.rb +20 -0
- data/lib/redmineup/acts_as_votable/votable.rb +323 -0
- data/lib/redmineup/acts_as_votable/vote.rb +28 -0
- data/lib/redmineup/acts_as_votable/voter.rb +131 -0
- data/lib/redmineup/assets_manager.rb +43 -0
- data/lib/redmineup/colors_helper.rb +192 -0
- data/lib/redmineup/compatibility/application_controller_patch.rb +33 -0
- data/lib/redmineup/compatibility/routing_mapper_patch.rb +25 -0
- data/lib/redmineup/currency/formatting.rb +224 -0
- data/lib/redmineup/currency/heuristics.rb +151 -0
- data/lib/redmineup/currency/loader.rb +23 -0
- data/lib/redmineup/currency.rb +450 -0
- data/lib/redmineup/engine.rb +4 -0
- data/lib/redmineup/helpers/external_assets_helper.rb +20 -0
- data/lib/redmineup/helpers/form_tag_helper.rb +88 -0
- data/lib/redmineup/helpers/rup_calendar_helper.rb +146 -0
- data/lib/redmineup/helpers/tags_helper.rb +13 -0
- data/lib/redmineup/helpers/vote_helper.rb +35 -0
- data/lib/redmineup/hooks/views_layouts_hook.rb +11 -0
- data/lib/redmineup/liquid/drops/attachment_drop.rb +47 -0
- data/lib/redmineup/liquid/drops/issue_relations_drop.rb +41 -0
- data/lib/redmineup/liquid/drops/issues_drop.rb +217 -0
- data/lib/redmineup/liquid/drops/news_drop.rb +54 -0
- data/lib/redmineup/liquid/drops/projects_drop.rb +86 -0
- data/lib/redmineup/liquid/drops/time_entries_drop.rb +65 -0
- data/lib/redmineup/liquid/drops/users_drop.rb +68 -0
- data/lib/redmineup/liquid/filters/arrays.rb +254 -0
- data/lib/redmineup/liquid/filters/base.rb +249 -0
- data/lib/redmineup/liquid/filters/colors.rb +31 -0
- data/lib/redmineup/money_helper.rb +66 -0
- data/lib/redmineup/patches/liquid_patch.rb +33 -0
- data/lib/redmineup/settings/money.rb +46 -0
- data/lib/redmineup/settings.rb +53 -0
- data/lib/redmineup/version.rb +3 -0
- data/lib/redmineup.rb +108 -0
- data/redmineup.gemspec +29 -0
- data/test/acts_as_draftable/draft_test.rb +29 -0
- data/test/acts_as_draftable/rup_acts_as_draftable_test.rb +178 -0
- data/test/acts_as_taggable/rup_acts_as_taggable_test.rb +350 -0
- data/test/acts_as_taggable/tag_list_test.rb +34 -0
- data/test/acts_as_taggable/tag_test.rb +72 -0
- data/test/acts_as_taggable/tagging_test.rb +15 -0
- data/test/acts_as_viewed/rup_acts_as_viewed_test.rb +47 -0
- data/test/acts_as_votable/rup_acts_as_votable_test.rb +19 -0
- data/test/acts_as_votable/rup_acts_as_voter_test.rb +14 -0
- data/test/acts_as_votable/votable_test.rb +507 -0
- data/test/acts_as_votable/voter_test.rb +296 -0
- data/test/currency_test.rb +292 -0
- data/test/database.yml +17 -0
- data/test/fixtures/attachments.yml +14 -0
- data/test/fixtures/issues.yml +24 -0
- data/test/fixtures/news.yml +8 -0
- data/test/fixtures/projects.yml +10 -0
- data/test/fixtures/taggings.yml +32 -0
- data/test/fixtures/tags.yml +11 -0
- data/test/fixtures/users.yml +9 -0
- data/test/fixtures/votable_caches.yml +2 -0
- data/test/fixtures/votables.yml +4 -0
- data/test/fixtures/voters.yml +6 -0
- data/test/liquid/drops/attachment_drop_test.rb +15 -0
- data/test/liquid/drops/issue_relations_drop_test.rb +24 -0
- data/test/liquid/drops/issues_drop_test.rb +38 -0
- data/test/liquid/drops/news_drop_test.rb +38 -0
- data/test/liquid/drops/projects_drop_test.rb +44 -0
- data/test/liquid/drops/uses_drop_test.rb +36 -0
- data/test/liquid/filters/arrays_filter_test.rb +31 -0
- data/test/liquid/filters/base_filter_test.rb +67 -0
- data/test/liquid/filters/colors_filter_test.rb +33 -0
- data/test/liquid/liquid_helper.rb +34 -0
- data/test/models/attachment.rb +3 -0
- data/test/models/issue.rb +21 -0
- data/test/models/issue_relation.rb +10 -0
- data/test/models/news.rb +3 -0
- data/test/models/project.rb +8 -0
- data/test/models/user.rb +11 -0
- data/test/models/vote_classes.rb +33 -0
- data/test/money_helper_test.rb +12 -0
- data/test/schema.rb +144 -0
- data/test/tags_helper_test.rb +29 -0
- data/test/test_helper.rb +66 -0
- data/test/vote_helper_test.rb +28 -0
- data/vendor/assets/images/money.png +0 -0
- data/vendor/assets/images/vcard.png +0 -0
- data/vendor/assets/javascripts/Chart.bundle.min.js +16 -0
- data/vendor/assets/javascripts/select2.js +2 -0
- data/vendor/assets/javascripts/select2_helpers.js +192 -0
- data/vendor/assets/stylesheets/money.css +96 -0
- data/vendor/assets/stylesheets/select2.css +424 -0
- metadata +295 -0
@@ -0,0 +1,424 @@
|
|
1
|
+
.select2-container {
|
2
|
+
box-sizing: border-box;
|
3
|
+
display: inline-block;
|
4
|
+
margin: 0;
|
5
|
+
position: relative;
|
6
|
+
vertical-align: middle;
|
7
|
+
}
|
8
|
+
.select2-container .select2-selection--single {
|
9
|
+
box-sizing: border-box;
|
10
|
+
cursor: pointer;
|
11
|
+
display: block;
|
12
|
+
height: 28px;
|
13
|
+
user-select: none;
|
14
|
+
-webkit-user-select: none;
|
15
|
+
}
|
16
|
+
.select2-container .select2-selection--single .select2-selection__rendered {
|
17
|
+
display: block;
|
18
|
+
padding-left: 8px;
|
19
|
+
padding-right: 20px;
|
20
|
+
overflow: hidden;
|
21
|
+
text-overflow: ellipsis;
|
22
|
+
white-space: nowrap;
|
23
|
+
}
|
24
|
+
.select2-container .select2-selection--single .select2-selection__clear {
|
25
|
+
position: relative;
|
26
|
+
}
|
27
|
+
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
28
|
+
padding-right: 8px;
|
29
|
+
padding-left: 20px;
|
30
|
+
}
|
31
|
+
.select2-container .select2-selection--multiple {
|
32
|
+
box-sizing: border-box;
|
33
|
+
cursor: pointer;
|
34
|
+
display: block;
|
35
|
+
min-height: 24px;
|
36
|
+
user-select: none;
|
37
|
+
-webkit-user-select: none;
|
38
|
+
}
|
39
|
+
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
40
|
+
/*display: inline-block;*/
|
41
|
+
overflow: hidden;
|
42
|
+
padding-left: 8px;
|
43
|
+
text-overflow: ellipsis;
|
44
|
+
white-space: nowrap;
|
45
|
+
}
|
46
|
+
.select2-container .select2-search--inline {
|
47
|
+
float: left;
|
48
|
+
}
|
49
|
+
.select2-container .select2-search--inline .select2-search__field {
|
50
|
+
box-sizing: border-box;
|
51
|
+
border: none;
|
52
|
+
font-size: 100%;
|
53
|
+
margin-top: 2px;
|
54
|
+
padding: 0;
|
55
|
+
}
|
56
|
+
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
57
|
+
-webkit-appearance: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
.select2-dropdown {
|
61
|
+
background-color: white;
|
62
|
+
border: 1px solid #aaa;
|
63
|
+
border-radius: 4px;
|
64
|
+
box-sizing: border-box;
|
65
|
+
display: block;
|
66
|
+
position: absolute;
|
67
|
+
left: -100000px;
|
68
|
+
width: 100%;
|
69
|
+
z-index: 1051;
|
70
|
+
}
|
71
|
+
|
72
|
+
.select2-results {
|
73
|
+
display: block;
|
74
|
+
}
|
75
|
+
|
76
|
+
.select2-results__options {
|
77
|
+
list-style: none;
|
78
|
+
margin: 0;
|
79
|
+
padding: 0;
|
80
|
+
}
|
81
|
+
|
82
|
+
.select2-results__option {
|
83
|
+
padding: 6px;
|
84
|
+
user-select: none;
|
85
|
+
-webkit-user-select: none;
|
86
|
+
}
|
87
|
+
.select2-results__option[aria-selected] {
|
88
|
+
cursor: pointer;
|
89
|
+
}
|
90
|
+
|
91
|
+
.select2-container--open .select2-dropdown {
|
92
|
+
left: 0;
|
93
|
+
}
|
94
|
+
|
95
|
+
.select2-container--open .select2-dropdown--above {
|
96
|
+
border-bottom: none;
|
97
|
+
border-bottom-left-radius: 0;
|
98
|
+
border-bottom-right-radius: 0;
|
99
|
+
}
|
100
|
+
|
101
|
+
.select2-container--open .select2-dropdown--below {
|
102
|
+
border-top: none;
|
103
|
+
border-top-left-radius: 0;
|
104
|
+
border-top-right-radius: 0;
|
105
|
+
}
|
106
|
+
|
107
|
+
.select2-search--dropdown {
|
108
|
+
display: block;
|
109
|
+
padding: 4px;
|
110
|
+
}
|
111
|
+
.select2-search--dropdown .select2-search__field {
|
112
|
+
padding: 4px;
|
113
|
+
width: 100%;
|
114
|
+
box-sizing: border-box;
|
115
|
+
}
|
116
|
+
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
117
|
+
-webkit-appearance: none;
|
118
|
+
}
|
119
|
+
.select2-search--dropdown.select2-search--hide {
|
120
|
+
display: none;
|
121
|
+
}
|
122
|
+
|
123
|
+
.select2-close-mask {
|
124
|
+
border: 0;
|
125
|
+
margin: 0;
|
126
|
+
padding: 0;
|
127
|
+
display: block;
|
128
|
+
position: fixed;
|
129
|
+
left: 0;
|
130
|
+
top: 0;
|
131
|
+
min-height: 100%;
|
132
|
+
min-width: 100%;
|
133
|
+
height: auto;
|
134
|
+
width: auto;
|
135
|
+
opacity: 0;
|
136
|
+
z-index: 99;
|
137
|
+
background-color: #fff;
|
138
|
+
filter: alpha(opacity=0);
|
139
|
+
}
|
140
|
+
|
141
|
+
.select2-hidden-accessible {
|
142
|
+
border: 0 !important;
|
143
|
+
clip: rect(0 0 0 0) !important;
|
144
|
+
height: 1px !important;
|
145
|
+
margin: -1px !important;
|
146
|
+
overflow: hidden !important;
|
147
|
+
padding: 0 !important;
|
148
|
+
position: absolute !important;
|
149
|
+
width: 1px !important;
|
150
|
+
}
|
151
|
+
|
152
|
+
.select2-container--default .select2-selection--single {
|
153
|
+
/*background: #fff url(../images/vcard.png) no-repeat 2px 50%;*/
|
154
|
+
background-color: #fff;
|
155
|
+
height: 24px;
|
156
|
+
border: 1px solid #ccc;
|
157
|
+
border-radius: 3px;
|
158
|
+
}
|
159
|
+
|
160
|
+
.select2-container--default .select2-selection--single.icon {
|
161
|
+
background-position-x: 3px;
|
162
|
+
}
|
163
|
+
|
164
|
+
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
165
|
+
line-height: 21px;
|
166
|
+
font-size: 11px;
|
167
|
+
}
|
168
|
+
|
169
|
+
.select2-container--default .select2-selection--single.icon .select2-selection__rendered {
|
170
|
+
padding-left: 2px
|
171
|
+
}
|
172
|
+
|
173
|
+
.select2-container--default .select2-selection--single .select2-selection__clear {
|
174
|
+
cursor: pointer;
|
175
|
+
float: right;
|
176
|
+
font-weight: normal;
|
177
|
+
color: #888;
|
178
|
+
}
|
179
|
+
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
180
|
+
color: #999;
|
181
|
+
}
|
182
|
+
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
183
|
+
height: 24px;
|
184
|
+
position: absolute;
|
185
|
+
top: 0px;
|
186
|
+
right: 1px;
|
187
|
+
width: 20px;
|
188
|
+
}
|
189
|
+
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
190
|
+
border-color: #888 transparent transparent transparent;
|
191
|
+
border-style: solid;
|
192
|
+
border-width: 5px 4px 0 4px;
|
193
|
+
height: 0;
|
194
|
+
left: 50%;
|
195
|
+
margin-left: -4px;
|
196
|
+
margin-top: -2px;
|
197
|
+
position: absolute;
|
198
|
+
top: 50%;
|
199
|
+
width: 0;
|
200
|
+
}
|
201
|
+
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
202
|
+
float: left;
|
203
|
+
}
|
204
|
+
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
205
|
+
left: 1px;
|
206
|
+
right: auto;
|
207
|
+
}
|
208
|
+
.select2-container--default.select2-container--disabled .select2-selection--single {
|
209
|
+
background-color: #eee;
|
210
|
+
cursor: default;
|
211
|
+
}
|
212
|
+
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
213
|
+
display: none;
|
214
|
+
}
|
215
|
+
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
216
|
+
border-color: transparent transparent #888 transparent;
|
217
|
+
border-width: 0 4px 5px 4px;
|
218
|
+
}
|
219
|
+
.select2-container--default .select2-selection--multiple {
|
220
|
+
background-color: white;
|
221
|
+
border: 1px solid #ccc;
|
222
|
+
border-radius: 3px;
|
223
|
+
cursor: text;
|
224
|
+
}
|
225
|
+
|
226
|
+
#sidebar .select2-container--default .select2-selection--multiple .select2-selection__rendered,
|
227
|
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
228
|
+
box-sizing: border-box;
|
229
|
+
list-style: none;
|
230
|
+
margin: 0;
|
231
|
+
padding: 0 2px 1px 2px;
|
232
|
+
width: 100%;
|
233
|
+
}
|
234
|
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
235
|
+
list-style: none;
|
236
|
+
}
|
237
|
+
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
|
238
|
+
color: #999;
|
239
|
+
margin-top: 5px;
|
240
|
+
float: left;
|
241
|
+
}
|
242
|
+
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
243
|
+
cursor: pointer;
|
244
|
+
float: right;
|
245
|
+
font-weight: bold;
|
246
|
+
margin-top: 2px;
|
247
|
+
margin-right: 2px;
|
248
|
+
}
|
249
|
+
|
250
|
+
#sidebar .select2-container--default .select2-selection--multiple .select2-selection__choice,
|
251
|
+
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
252
|
+
background-color: #efefef;
|
253
|
+
border-radius: 2px;
|
254
|
+
cursor: default;
|
255
|
+
float: left;
|
256
|
+
margin-right: 2px;
|
257
|
+
margin-top: 2px;
|
258
|
+
padding: 0 3px;
|
259
|
+
}
|
260
|
+
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
261
|
+
color: #aaa;
|
262
|
+
cursor: pointer;
|
263
|
+
display: inline-block;
|
264
|
+
font-weight: normal;
|
265
|
+
margin-right: 2px;
|
266
|
+
}
|
267
|
+
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
268
|
+
color: #333;
|
269
|
+
}
|
270
|
+
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
|
271
|
+
float: right;
|
272
|
+
}
|
273
|
+
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
274
|
+
margin-left: 5px;
|
275
|
+
margin-right: auto;
|
276
|
+
}
|
277
|
+
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
278
|
+
margin-left: 2px;
|
279
|
+
margin-right: auto;
|
280
|
+
}
|
281
|
+
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
282
|
+
border: 1px solid #5ad;
|
283
|
+
outline: none;
|
284
|
+
}
|
285
|
+
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
286
|
+
background-color: #eee;
|
287
|
+
cursor: default;
|
288
|
+
}
|
289
|
+
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
290
|
+
display: none;
|
291
|
+
}
|
292
|
+
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
|
293
|
+
border-top-left-radius: 0;
|
294
|
+
border-top-right-radius: 0;
|
295
|
+
}
|
296
|
+
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
|
297
|
+
border-bottom-left-radius: 0;
|
298
|
+
border-bottom-right-radius: 0;
|
299
|
+
}
|
300
|
+
.select2-container--default .select2-search--dropdown .select2-search__field {
|
301
|
+
border: 1px solid #aaa;
|
302
|
+
}
|
303
|
+
.select2-container--default .select2-search--inline .select2-search__field {
|
304
|
+
background: transparent;
|
305
|
+
border: none;
|
306
|
+
outline: 0;
|
307
|
+
box-shadow: none;
|
308
|
+
-webkit-appearance: textfield;
|
309
|
+
height: 18px;
|
310
|
+
}
|
311
|
+
.select2-container--default .select2-results > .select2-results__options {
|
312
|
+
max-height: 200px;
|
313
|
+
overflow-y: auto;
|
314
|
+
}
|
315
|
+
.select2-container--default .select2-results__option[role=group] {
|
316
|
+
padding: 0;
|
317
|
+
}
|
318
|
+
.select2-container--default .select2-results__option[aria-disabled=true] {
|
319
|
+
color: #999;
|
320
|
+
}
|
321
|
+
.select2-container--default .select2-results__option[aria-selected=true] {
|
322
|
+
background-color: #eee;
|
323
|
+
}
|
324
|
+
.select2-container--default .select2-results__option .select2-results__option {
|
325
|
+
padding-left: 1em;
|
326
|
+
}
|
327
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
328
|
+
padding-left: 0;
|
329
|
+
}
|
330
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
331
|
+
margin-left: -1em;
|
332
|
+
padding-left: 2em;
|
333
|
+
}
|
334
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
335
|
+
margin-left: -2em;
|
336
|
+
padding-left: 3em;
|
337
|
+
}
|
338
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
339
|
+
margin-left: -3em;
|
340
|
+
padding-left: 4em;
|
341
|
+
}
|
342
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
343
|
+
margin-left: -4em;
|
344
|
+
padding-left: 5em;
|
345
|
+
}
|
346
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
347
|
+
margin-left: -5em;
|
348
|
+
padding-left: 6em;
|
349
|
+
}
|
350
|
+
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
351
|
+
background-color: #eef5fd;
|
352
|
+
}
|
353
|
+
.select2-container--default .select2-results__group {
|
354
|
+
cursor: default;
|
355
|
+
display: block;
|
356
|
+
padding: 6px;
|
357
|
+
}
|
358
|
+
|
359
|
+
.filter .select2 {
|
360
|
+
margin: 1px;
|
361
|
+
}
|
362
|
+
|
363
|
+
.filter .select2-selection--multiple .select2-search--inline .select2-search__field {
|
364
|
+
border: 0px !important;
|
365
|
+
height: inherit !important;
|
366
|
+
padding: 0px !important;
|
367
|
+
}
|
368
|
+
|
369
|
+
.filter .select2-container--default .select2-selection--multiple .select2-selection__choice {
|
370
|
+
outline: none;
|
371
|
+
border: 0px;
|
372
|
+
padding: 3px 5px;
|
373
|
+
}
|
374
|
+
|
375
|
+
/* == Theming ===
|
376
|
+
|
377
|
+
.select2-container--default .select2-selection--single {
|
378
|
+
background: #fff url(../images/vcard.png) no-repeat 2px 50%;
|
379
|
+
border: 1px solid #9EB1C2;
|
380
|
+
border-radius: 2px;
|
381
|
+
height: 21px;
|
382
|
+
}
|
383
|
+
|
384
|
+
.select2-container--default .select2-selection--single:focus {
|
385
|
+
border-color: #2996cc;
|
386
|
+
outline: none;
|
387
|
+
}
|
388
|
+
|
389
|
+
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
390
|
+
padding-left: 21px;
|
391
|
+
line-height: 18px;
|
392
|
+
font-size: 11px;
|
393
|
+
}
|
394
|
+
|
395
|
+
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
396
|
+
height: 20px;
|
397
|
+
top: 0px;
|
398
|
+
right: 1px;
|
399
|
+
}
|
400
|
+
|
401
|
+
.select2-container--default .select2-selection--single .select2-selection__clear {
|
402
|
+
font-weight: normal;
|
403
|
+
color: #888;
|
404
|
+
}
|
405
|
+
|
406
|
+
.select2-container--default .select2-results__option[aria-selected=true] {
|
407
|
+
background-color: #eee;
|
408
|
+
}
|
409
|
+
|
410
|
+
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
411
|
+
background-color: #eef5fd;
|
412
|
+
}
|
413
|
+
|
414
|
+
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
415
|
+
border-color: #afafaf transparent transparent transparent;
|
416
|
+
}
|
417
|
+
|
418
|
+
.select2-dropdown {
|
419
|
+
border: 1px solid #e0e2e3;
|
420
|
+
border-radius: 3px;
|
421
|
+
}
|
422
|
+
|
423
|
+
*/
|
424
|
+
|
metadata
ADDED
@@ -0,0 +1,295 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: redmineup
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- RedmineUP
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-10-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: liquid
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.0'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '5.0'
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '4.0'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '5.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rubyzip
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: sqlite3
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: mysql2
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: pg
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
description: Common libraries for RedmineUP plugins (www.redmineup.com) for Redmine.
|
104
|
+
Required Redmine from http://redmine.org
|
105
|
+
email:
|
106
|
+
- support@redmineup.com
|
107
|
+
executables: []
|
108
|
+
extensions: []
|
109
|
+
extra_rdoc_files: []
|
110
|
+
files:
|
111
|
+
- ".gitignore"
|
112
|
+
- Gemfile
|
113
|
+
- README.md
|
114
|
+
- Rakefile
|
115
|
+
- app/controllers/redmineup_controller.rb
|
116
|
+
- app/views/redmine_crm/redmineup_calendar/_calendar.html.erb
|
117
|
+
- app/views/redmineup/_money.html.erb
|
118
|
+
- app/views/redmineup/settings.html.erb
|
119
|
+
- bitbucket-pipelines.yml
|
120
|
+
- config/currency_iso.json
|
121
|
+
- config/locales/cs.yml
|
122
|
+
- config/locales/de.yml
|
123
|
+
- config/locales/en.yml
|
124
|
+
- config/locales/es.yml
|
125
|
+
- config/locales/ru.yml
|
126
|
+
- config/routes.rb
|
127
|
+
- doc/CHANGELOG
|
128
|
+
- doc/LICENSE.txt
|
129
|
+
- lib/redmineup.rb
|
130
|
+
- lib/redmineup/acts_as_draftable/draft.rb
|
131
|
+
- lib/redmineup/acts_as_draftable/up_acts_as_draftable.rb
|
132
|
+
- lib/redmineup/acts_as_list/list.rb
|
133
|
+
- lib/redmineup/acts_as_priceable/up_acts_as_priceable.rb
|
134
|
+
- lib/redmineup/acts_as_taggable/tag.rb
|
135
|
+
- lib/redmineup/acts_as_taggable/tag_list.rb
|
136
|
+
- lib/redmineup/acts_as_taggable/tagging.rb
|
137
|
+
- lib/redmineup/acts_as_taggable/up_acts_as_taggable.rb
|
138
|
+
- lib/redmineup/acts_as_viewed/up_acts_as_viewed.rb
|
139
|
+
- lib/redmineup/acts_as_votable/up_acts_as_votable.rb
|
140
|
+
- lib/redmineup/acts_as_votable/up_acts_as_voter.rb
|
141
|
+
- lib/redmineup/acts_as_votable/votable.rb
|
142
|
+
- lib/redmineup/acts_as_votable/vote.rb
|
143
|
+
- lib/redmineup/acts_as_votable/voter.rb
|
144
|
+
- lib/redmineup/assets_manager.rb
|
145
|
+
- lib/redmineup/colors_helper.rb
|
146
|
+
- lib/redmineup/compatibility/application_controller_patch.rb
|
147
|
+
- lib/redmineup/compatibility/routing_mapper_patch.rb
|
148
|
+
- lib/redmineup/currency.rb
|
149
|
+
- lib/redmineup/currency/formatting.rb
|
150
|
+
- lib/redmineup/currency/heuristics.rb
|
151
|
+
- lib/redmineup/currency/loader.rb
|
152
|
+
- lib/redmineup/engine.rb
|
153
|
+
- lib/redmineup/helpers/external_assets_helper.rb
|
154
|
+
- lib/redmineup/helpers/form_tag_helper.rb
|
155
|
+
- lib/redmineup/helpers/rup_calendar_helper.rb
|
156
|
+
- lib/redmineup/helpers/tags_helper.rb
|
157
|
+
- lib/redmineup/helpers/vote_helper.rb
|
158
|
+
- lib/redmineup/hooks/views_layouts_hook.rb
|
159
|
+
- lib/redmineup/liquid/drops/attachment_drop.rb
|
160
|
+
- lib/redmineup/liquid/drops/issue_relations_drop.rb
|
161
|
+
- lib/redmineup/liquid/drops/issues_drop.rb
|
162
|
+
- lib/redmineup/liquid/drops/news_drop.rb
|
163
|
+
- lib/redmineup/liquid/drops/projects_drop.rb
|
164
|
+
- lib/redmineup/liquid/drops/time_entries_drop.rb
|
165
|
+
- lib/redmineup/liquid/drops/users_drop.rb
|
166
|
+
- lib/redmineup/liquid/filters/arrays.rb
|
167
|
+
- lib/redmineup/liquid/filters/base.rb
|
168
|
+
- lib/redmineup/liquid/filters/colors.rb
|
169
|
+
- lib/redmineup/money_helper.rb
|
170
|
+
- lib/redmineup/patches/liquid_patch.rb
|
171
|
+
- lib/redmineup/settings.rb
|
172
|
+
- lib/redmineup/settings/money.rb
|
173
|
+
- lib/redmineup/version.rb
|
174
|
+
- redmineup.gemspec
|
175
|
+
- test/acts_as_draftable/draft_test.rb
|
176
|
+
- test/acts_as_draftable/rup_acts_as_draftable_test.rb
|
177
|
+
- test/acts_as_taggable/rup_acts_as_taggable_test.rb
|
178
|
+
- test/acts_as_taggable/tag_list_test.rb
|
179
|
+
- test/acts_as_taggable/tag_test.rb
|
180
|
+
- test/acts_as_taggable/tagging_test.rb
|
181
|
+
- test/acts_as_viewed/rup_acts_as_viewed_test.rb
|
182
|
+
- test/acts_as_votable/rup_acts_as_votable_test.rb
|
183
|
+
- test/acts_as_votable/rup_acts_as_voter_test.rb
|
184
|
+
- test/acts_as_votable/votable_test.rb
|
185
|
+
- test/acts_as_votable/voter_test.rb
|
186
|
+
- test/currency_test.rb
|
187
|
+
- test/database.yml
|
188
|
+
- test/fixtures/attachments.yml
|
189
|
+
- test/fixtures/issues.yml
|
190
|
+
- test/fixtures/news.yml
|
191
|
+
- test/fixtures/projects.yml
|
192
|
+
- test/fixtures/taggings.yml
|
193
|
+
- test/fixtures/tags.yml
|
194
|
+
- test/fixtures/users.yml
|
195
|
+
- test/fixtures/votable_caches.yml
|
196
|
+
- test/fixtures/votables.yml
|
197
|
+
- test/fixtures/voters.yml
|
198
|
+
- test/liquid/drops/attachment_drop_test.rb
|
199
|
+
- test/liquid/drops/issue_relations_drop_test.rb
|
200
|
+
- test/liquid/drops/issues_drop_test.rb
|
201
|
+
- test/liquid/drops/news_drop_test.rb
|
202
|
+
- test/liquid/drops/projects_drop_test.rb
|
203
|
+
- test/liquid/drops/uses_drop_test.rb
|
204
|
+
- test/liquid/filters/arrays_filter_test.rb
|
205
|
+
- test/liquid/filters/base_filter_test.rb
|
206
|
+
- test/liquid/filters/colors_filter_test.rb
|
207
|
+
- test/liquid/liquid_helper.rb
|
208
|
+
- test/models/attachment.rb
|
209
|
+
- test/models/issue.rb
|
210
|
+
- test/models/issue_relation.rb
|
211
|
+
- test/models/news.rb
|
212
|
+
- test/models/project.rb
|
213
|
+
- test/models/user.rb
|
214
|
+
- test/models/vote_classes.rb
|
215
|
+
- test/money_helper_test.rb
|
216
|
+
- test/schema.rb
|
217
|
+
- test/tags_helper_test.rb
|
218
|
+
- test/test_helper.rb
|
219
|
+
- test/vote_helper_test.rb
|
220
|
+
- vendor/assets/images/money.png
|
221
|
+
- vendor/assets/images/vcard.png
|
222
|
+
- vendor/assets/javascripts/Chart.bundle.min.js
|
223
|
+
- vendor/assets/javascripts/select2.js
|
224
|
+
- vendor/assets/javascripts/select2_helpers.js
|
225
|
+
- vendor/assets/stylesheets/money.css
|
226
|
+
- vendor/assets/stylesheets/select2.css
|
227
|
+
homepage: https://www.redmineup.com
|
228
|
+
licenses:
|
229
|
+
- GPL-2.0
|
230
|
+
metadata: {}
|
231
|
+
post_install_message:
|
232
|
+
rdoc_options: []
|
233
|
+
require_paths:
|
234
|
+
- lib
|
235
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
236
|
+
requirements:
|
237
|
+
- - ">="
|
238
|
+
- !ruby/object:Gem::Version
|
239
|
+
version: 2.0.0
|
240
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
|
+
requirements:
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: '0'
|
245
|
+
requirements: []
|
246
|
+
rubygems_version: 3.3.26
|
247
|
+
signing_key:
|
248
|
+
specification_version: 4
|
249
|
+
summary: Common libraries for RedmineUP plugins for Redmine
|
250
|
+
test_files:
|
251
|
+
- test/acts_as_draftable/draft_test.rb
|
252
|
+
- test/acts_as_draftable/rup_acts_as_draftable_test.rb
|
253
|
+
- test/acts_as_taggable/rup_acts_as_taggable_test.rb
|
254
|
+
- test/acts_as_taggable/tag_list_test.rb
|
255
|
+
- test/acts_as_taggable/tag_test.rb
|
256
|
+
- test/acts_as_taggable/tagging_test.rb
|
257
|
+
- test/acts_as_viewed/rup_acts_as_viewed_test.rb
|
258
|
+
- test/acts_as_votable/rup_acts_as_votable_test.rb
|
259
|
+
- test/acts_as_votable/rup_acts_as_voter_test.rb
|
260
|
+
- test/acts_as_votable/votable_test.rb
|
261
|
+
- test/acts_as_votable/voter_test.rb
|
262
|
+
- test/currency_test.rb
|
263
|
+
- test/database.yml
|
264
|
+
- test/fixtures/attachments.yml
|
265
|
+
- test/fixtures/issues.yml
|
266
|
+
- test/fixtures/news.yml
|
267
|
+
- test/fixtures/projects.yml
|
268
|
+
- test/fixtures/taggings.yml
|
269
|
+
- test/fixtures/tags.yml
|
270
|
+
- test/fixtures/users.yml
|
271
|
+
- test/fixtures/votable_caches.yml
|
272
|
+
- test/fixtures/votables.yml
|
273
|
+
- test/fixtures/voters.yml
|
274
|
+
- test/liquid/drops/attachment_drop_test.rb
|
275
|
+
- test/liquid/drops/issue_relations_drop_test.rb
|
276
|
+
- test/liquid/drops/issues_drop_test.rb
|
277
|
+
- test/liquid/drops/news_drop_test.rb
|
278
|
+
- test/liquid/drops/projects_drop_test.rb
|
279
|
+
- test/liquid/drops/uses_drop_test.rb
|
280
|
+
- test/liquid/filters/arrays_filter_test.rb
|
281
|
+
- test/liquid/filters/base_filter_test.rb
|
282
|
+
- test/liquid/filters/colors_filter_test.rb
|
283
|
+
- test/liquid/liquid_helper.rb
|
284
|
+
- test/models/attachment.rb
|
285
|
+
- test/models/issue.rb
|
286
|
+
- test/models/issue_relation.rb
|
287
|
+
- test/models/news.rb
|
288
|
+
- test/models/project.rb
|
289
|
+
- test/models/user.rb
|
290
|
+
- test/models/vote_classes.rb
|
291
|
+
- test/money_helper_test.rb
|
292
|
+
- test/schema.rb
|
293
|
+
- test/tags_helper_test.rb
|
294
|
+
- test/test_helper.rb
|
295
|
+
- test/vote_helper_test.rb
|