decidim-reporting_proposals 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65b046f607f0f9ffc4bf7d3d98eeae1cfcdf5792beac9e44443147bd88646501
4
- data.tar.gz: 6f4cf298fbff5f00e9c12fcfc467d8cddb7cebb94e7ec9ac0d3ebfeb4edbbf0e
3
+ metadata.gz: 1c31fb493fe1dcdc1729de5b5fa4c8d794936b909945669882edec96f5394806
4
+ data.tar.gz: 5d7e54593eec73a4fa6216758466b121e8f3442128be1ceaca0d8922aa8eee33
5
5
  SHA512:
6
- metadata.gz: 8230c9c190ce9d932f3c3fc502659639a1cc8fd3a4b23812e26cd88497a12aa7d188674bf24b949984c27c2d43e1e889d351d6507f536f82aa30b1365cb24597
7
- data.tar.gz: ee24173f8340d350dfd81ea7b6834cc579fc44a41c260754aebb0e1f20ed8247f63d996c4450b61b1ac434e875d450059cf5dfb8f2891e5c250f518aeaec8779
6
+ metadata.gz: e3771d1642893bf230a5b19187294ea43f44b2b61da1745326b3d6be7b49668c4c8370d77d157204d09750ceba3ab4f613c4a766d66667596f4e5ebcf80e39b9
7
+ data.tar.gz: 80f730ab582dad444cb25541ea7253802b2f17f010b7b5fbf655d0683695930a52cdd4ac58e0a0afb65ca7208d10ffbf85438bf169a9796828ef29dddaadeca0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- decidim-reporting_proposals (0.5.0)
4
+ decidim-reporting_proposals (0.5.1)
5
5
  decidim-admin (>= 0.27.0, < 0.28)
6
6
  decidim-core (>= 0.27.0, < 0.28)
7
7
  decidim-participatory_processes (>= 0.27.0, < 0.28)
@@ -12,40 +12,40 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- actioncable (6.1.7.4)
16
- actionpack (= 6.1.7.4)
17
- activesupport (= 6.1.7.4)
15
+ actioncable (6.1.7.6)
16
+ actionpack (= 6.1.7.6)
17
+ activesupport (= 6.1.7.6)
18
18
  nio4r (~> 2.0)
19
19
  websocket-driver (>= 0.6.1)
20
- actionmailbox (6.1.7.4)
21
- actionpack (= 6.1.7.4)
22
- activejob (= 6.1.7.4)
23
- activerecord (= 6.1.7.4)
24
- activestorage (= 6.1.7.4)
25
- activesupport (= 6.1.7.4)
20
+ actionmailbox (6.1.7.6)
21
+ actionpack (= 6.1.7.6)
22
+ activejob (= 6.1.7.6)
23
+ activerecord (= 6.1.7.6)
24
+ activestorage (= 6.1.7.6)
25
+ activesupport (= 6.1.7.6)
26
26
  mail (>= 2.7.1)
27
- actionmailer (6.1.7.4)
28
- actionpack (= 6.1.7.4)
29
- actionview (= 6.1.7.4)
30
- activejob (= 6.1.7.4)
31
- activesupport (= 6.1.7.4)
27
+ actionmailer (6.1.7.6)
28
+ actionpack (= 6.1.7.6)
29
+ actionview (= 6.1.7.6)
30
+ activejob (= 6.1.7.6)
31
+ activesupport (= 6.1.7.6)
32
32
  mail (~> 2.5, >= 2.5.4)
33
33
  rails-dom-testing (~> 2.0)
34
- actionpack (6.1.7.4)
35
- actionview (= 6.1.7.4)
36
- activesupport (= 6.1.7.4)
34
+ actionpack (6.1.7.6)
35
+ actionview (= 6.1.7.6)
36
+ activesupport (= 6.1.7.6)
37
37
  rack (~> 2.0, >= 2.0.9)
38
38
  rack-test (>= 0.6.3)
39
39
  rails-dom-testing (~> 2.0)
40
40
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
41
- actiontext (6.1.7.4)
42
- actionpack (= 6.1.7.4)
43
- activerecord (= 6.1.7.4)
44
- activestorage (= 6.1.7.4)
45
- activesupport (= 6.1.7.4)
41
+ actiontext (6.1.7.6)
42
+ actionpack (= 6.1.7.6)
43
+ activerecord (= 6.1.7.6)
44
+ activestorage (= 6.1.7.6)
45
+ activesupport (= 6.1.7.6)
46
46
  nokogiri (>= 1.8.5)
47
- actionview (6.1.7.4)
48
- activesupport (= 6.1.7.4)
47
+ actionview (6.1.7.6)
48
+ activesupport (= 6.1.7.6)
49
49
  builder (~> 3.1)
50
50
  erubi (~> 1.4)
51
51
  rails-dom-testing (~> 2.0)
@@ -53,22 +53,22 @@ GEM
53
53
  active_link_to (1.0.5)
54
54
  actionpack
55
55
  addressable
56
- activejob (6.1.7.4)
57
- activesupport (= 6.1.7.4)
56
+ activejob (6.1.7.6)
57
+ activesupport (= 6.1.7.6)
58
58
  globalid (>= 0.3.6)
59
- activemodel (6.1.7.4)
60
- activesupport (= 6.1.7.4)
61
- activerecord (6.1.7.4)
62
- activemodel (= 6.1.7.4)
63
- activesupport (= 6.1.7.4)
64
- activestorage (6.1.7.4)
65
- actionpack (= 6.1.7.4)
66
- activejob (= 6.1.7.4)
67
- activerecord (= 6.1.7.4)
68
- activesupport (= 6.1.7.4)
59
+ activemodel (6.1.7.6)
60
+ activesupport (= 6.1.7.6)
61
+ activerecord (6.1.7.6)
62
+ activemodel (= 6.1.7.6)
63
+ activesupport (= 6.1.7.6)
64
+ activestorage (6.1.7.6)
65
+ actionpack (= 6.1.7.6)
66
+ activejob (= 6.1.7.6)
67
+ activerecord (= 6.1.7.6)
68
+ activesupport (= 6.1.7.6)
69
69
  marcel (~> 1.0)
70
70
  mini_mime (>= 1.1.0)
71
- activesupport (6.1.7.4)
71
+ activesupport (6.1.7.6)
72
72
  concurrent-ruby (~> 1.0, >= 1.0.2)
73
73
  i18n (>= 1.6, < 2)
74
74
  minitest (>= 5.1)
@@ -76,7 +76,7 @@ GEM
76
76
  zeitwerk (~> 2.3)
77
77
  acts_as_list (0.9.19)
78
78
  activerecord (>= 3.0)
79
- addressable (2.8.4)
79
+ addressable (2.8.5)
80
80
  public_suffix (>= 2.0.2, < 6.0)
81
81
  ast (2.4.2)
82
82
  axe-core-api (4.7.0)
@@ -149,12 +149,12 @@ GEM
149
149
  coffee-script-source
150
150
  execjs
151
151
  coffee-script-source (1.12.2)
152
- commonmarker (0.23.9)
152
+ commonmarker (0.23.10)
153
153
  concurrent-ruby (1.2.2)
154
154
  crack (0.4.5)
155
155
  rexml
156
156
  crass (1.0.6)
157
- css_parser (1.14.0)
157
+ css_parser (1.16.0)
158
158
  addressable
159
159
  date (3.3.3)
160
160
  date_validator (0.12.0)
@@ -163,59 +163,59 @@ GEM
163
163
  db-query-matchers (0.10.0)
164
164
  activesupport (>= 4.0, < 7)
165
165
  rspec (~> 3.0)
166
- decidim (0.27.3)
167
- decidim-accountability (= 0.27.3)
168
- decidim-admin (= 0.27.3)
169
- decidim-api (= 0.27.3)
170
- decidim-assemblies (= 0.27.3)
171
- decidim-blogs (= 0.27.3)
172
- decidim-budgets (= 0.27.3)
173
- decidim-comments (= 0.27.3)
174
- decidim-core (= 0.27.3)
175
- decidim-debates (= 0.27.3)
176
- decidim-forms (= 0.27.3)
177
- decidim-generators (= 0.27.3)
178
- decidim-meetings (= 0.27.3)
179
- decidim-pages (= 0.27.3)
180
- decidim-participatory_processes (= 0.27.3)
181
- decidim-proposals (= 0.27.3)
182
- decidim-sortitions (= 0.27.3)
183
- decidim-surveys (= 0.27.3)
184
- decidim-system (= 0.27.3)
185
- decidim-templates (= 0.27.3)
186
- decidim-verifications (= 0.27.3)
187
- decidim-accountability (0.27.3)
188
- decidim-comments (= 0.27.3)
189
- decidim-core (= 0.27.3)
190
- decidim-admin (0.27.3)
166
+ decidim (0.27.4)
167
+ decidim-accountability (= 0.27.4)
168
+ decidim-admin (= 0.27.4)
169
+ decidim-api (= 0.27.4)
170
+ decidim-assemblies (= 0.27.4)
171
+ decidim-blogs (= 0.27.4)
172
+ decidim-budgets (= 0.27.4)
173
+ decidim-comments (= 0.27.4)
174
+ decidim-core (= 0.27.4)
175
+ decidim-debates (= 0.27.4)
176
+ decidim-forms (= 0.27.4)
177
+ decidim-generators (= 0.27.4)
178
+ decidim-meetings (= 0.27.4)
179
+ decidim-pages (= 0.27.4)
180
+ decidim-participatory_processes (= 0.27.4)
181
+ decidim-proposals (= 0.27.4)
182
+ decidim-sortitions (= 0.27.4)
183
+ decidim-surveys (= 0.27.4)
184
+ decidim-system (= 0.27.4)
185
+ decidim-templates (= 0.27.4)
186
+ decidim-verifications (= 0.27.4)
187
+ decidim-accountability (0.27.4)
188
+ decidim-comments (= 0.27.4)
189
+ decidim-core (= 0.27.4)
190
+ decidim-admin (0.27.4)
191
191
  active_link_to (~> 1.0)
192
- decidim-core (= 0.27.3)
192
+ decidim-core (= 0.27.4)
193
193
  devise (~> 4.7)
194
194
  devise-i18n (~> 1.2)
195
195
  devise_invitable (~> 2.0)
196
- decidim-api (0.27.3)
196
+ decidim-api (0.27.4)
197
197
  graphql (~> 1.12, < 1.13)
198
198
  graphql-docs (~> 2.1.0)
199
199
  rack-cors (~> 1.0)
200
- decidim-assemblies (0.27.3)
201
- decidim-core (= 0.27.3)
202
- decidim-blogs (0.27.3)
203
- decidim-admin (= 0.27.3)
204
- decidim-comments (= 0.27.3)
205
- decidim-core (= 0.27.3)
206
- decidim-budgets (0.27.3)
207
- decidim-comments (= 0.27.3)
208
- decidim-core (= 0.27.3)
200
+ decidim-assemblies (0.27.4)
201
+ decidim-core (= 0.27.4)
202
+ decidim-blogs (0.27.4)
203
+ decidim-admin (= 0.27.4)
204
+ decidim-comments (= 0.27.4)
205
+ decidim-core (= 0.27.4)
206
+ decidim-budgets (0.27.4)
207
+ decidim-comments (= 0.27.4)
208
+ decidim-core (= 0.27.4)
209
209
  decidim-bulletin_board (0.23.0)
210
210
  byebug (~> 11.0)
211
211
  graphlient (~> 0.5.0)
212
212
  jwt (~> 2.2.2)
213
213
  rails (~> 6.0, >= 5.0.0)
214
214
  wisper (~> 2.0.0)
215
- decidim-comments (0.27.3)
216
- decidim-core (= 0.27.3)
215
+ decidim-comments (0.27.4)
216
+ decidim-core (= 0.27.4)
217
217
  redcarpet (~> 3.5, >= 3.5.1)
218
- decidim-core (0.27.3)
218
+ decidim-core (0.27.4)
219
219
  active_link_to (~> 1.0)
220
220
  acts_as_list (~> 0.9)
221
221
  batch-loader (~> 1.2)
@@ -225,7 +225,7 @@ GEM
225
225
  cells-rails (~> 0.1.3)
226
226
  charlock_holmes (~> 0.7)
227
227
  date_validator (~> 0.12.0)
228
- decidim-api (= 0.27.3)
228
+ decidim-api (= 0.27.4)
229
229
  devise (~> 4.7)
230
230
  devise-i18n (~> 1.2)
231
231
  diffy (~> 3.3)
@@ -238,7 +238,7 @@ GEM
238
238
  hashdiff (>= 0.4.0, < 2.0.0)
239
239
  invisible_captcha (~> 0.12)
240
240
  kaminari (~> 1.2, >= 1.2.1)
241
- loofah (~> 2.3.1)
241
+ loofah (~> 2.19.0)
242
242
  mime-types (>= 1.16, < 4.0)
243
243
  mini_magick (~> 4.9)
244
244
  mustache (~> 1.1.0)
@@ -266,15 +266,15 @@ GEM
266
266
  webpacker (= 6.0.0.rc.5)
267
267
  webpush (~> 1.1)
268
268
  wisper (~> 2.0)
269
- decidim-debates (0.27.3)
270
- decidim-comments (= 0.27.3)
271
- decidim-core (= 0.27.3)
272
- decidim-dev (0.27.3)
269
+ decidim-debates (0.27.4)
270
+ decidim-comments (= 0.27.4)
271
+ decidim-core (= 0.27.4)
272
+ decidim-dev (0.27.4)
273
273
  axe-core-rspec (~> 4.1.0)
274
274
  byebug (~> 11.0)
275
275
  capybara (~> 3.24)
276
276
  db-query-matchers (~> 0.10.0)
277
- decidim (= 0.27.3)
277
+ decidim (= 0.27.4)
278
278
  erb_lint (~> 0.0.35)
279
279
  factory_bot_rails (~> 4.8)
280
280
  i18n-tasks (~> 0.9.18)
@@ -297,53 +297,53 @@ GEM
297
297
  w3c_rspec_validators (~> 0.3.0)
298
298
  webmock (~> 3.6)
299
299
  wisper-rspec (~> 1.0)
300
- decidim-elections (0.27.3)
300
+ decidim-elections (0.27.4)
301
301
  decidim-bulletin_board (= 0.23)
302
- decidim-core (= 0.27.3)
303
- decidim-forms (= 0.27.3)
304
- decidim-proposals (= 0.27.3)
302
+ decidim-core (= 0.27.4)
303
+ decidim-forms (= 0.27.4)
304
+ decidim-proposals (= 0.27.4)
305
305
  rack-attack (~> 6.0)
306
306
  voting_schemes-dummy (= 0.23)
307
307
  voting_schemes-electionguard (= 0.23)
308
- decidim-forms (0.27.3)
309
- decidim-core (= 0.27.3)
308
+ decidim-forms (0.27.4)
309
+ decidim-core (= 0.27.4)
310
310
  wicked_pdf (~> 2.1)
311
311
  wkhtmltopdf-binary (~> 0.12)
312
- decidim-generators (0.27.3)
313
- decidim-core (= 0.27.3)
314
- decidim-meetings (0.27.3)
315
- decidim-core (= 0.27.3)
316
- decidim-forms (= 0.27.3)
312
+ decidim-generators (0.27.4)
313
+ decidim-core (= 0.27.4)
314
+ decidim-meetings (0.27.4)
315
+ decidim-core (= 0.27.4)
316
+ decidim-forms (= 0.27.4)
317
317
  icalendar (~> 2.5)
318
- decidim-pages (0.27.3)
319
- decidim-core (= 0.27.3)
320
- decidim-participatory_processes (0.27.3)
321
- decidim-core (= 0.27.3)
322
- decidim-proposals (0.27.3)
323
- decidim-comments (= 0.27.3)
324
- decidim-core (= 0.27.3)
318
+ decidim-pages (0.27.4)
319
+ decidim-core (= 0.27.4)
320
+ decidim-participatory_processes (0.27.4)
321
+ decidim-core (= 0.27.4)
322
+ decidim-proposals (0.27.4)
323
+ decidim-comments (= 0.27.4)
324
+ decidim-core (= 0.27.4)
325
325
  doc2text (~> 0.4.5)
326
326
  redcarpet (~> 3.5, >= 3.5.1)
327
- decidim-sortitions (0.27.3)
328
- decidim-admin (= 0.27.3)
329
- decidim-comments (= 0.27.3)
330
- decidim-core (= 0.27.3)
331
- decidim-proposals (= 0.27.3)
332
- decidim-surveys (0.27.3)
333
- decidim-core (= 0.27.3)
334
- decidim-forms (= 0.27.3)
335
- decidim-templates (= 0.27.3)
336
- decidim-system (0.27.3)
327
+ decidim-sortitions (0.27.4)
328
+ decidim-admin (= 0.27.4)
329
+ decidim-comments (= 0.27.4)
330
+ decidim-core (= 0.27.4)
331
+ decidim-proposals (= 0.27.4)
332
+ decidim-surveys (0.27.4)
333
+ decidim-core (= 0.27.4)
334
+ decidim-forms (= 0.27.4)
335
+ decidim-templates (= 0.27.4)
336
+ decidim-system (0.27.4)
337
337
  active_link_to (~> 1.0)
338
- decidim-core (= 0.27.3)
338
+ decidim-core (= 0.27.4)
339
339
  devise (~> 4.7)
340
340
  devise-i18n (~> 1.2)
341
341
  devise_invitable (~> 2.0)
342
- decidim-templates (0.27.3)
343
- decidim-core (= 0.27.3)
344
- decidim-forms (= 0.27.3)
345
- decidim-verifications (0.27.3)
346
- decidim-core (= 0.27.3)
342
+ decidim-templates (0.27.4)
343
+ decidim-core (= 0.27.4)
344
+ decidim-forms (= 0.27.4)
345
+ decidim-verifications (0.27.4)
346
+ decidim-core (= 0.27.4)
347
347
  declarative-builder (0.1.0)
348
348
  declarative-option (< 0.2.0)
349
349
  declarative-option (0.1.0)
@@ -388,8 +388,8 @@ GEM
388
388
  temple
389
389
  erubi (1.12.0)
390
390
  escape_utils (1.3.0)
391
- excon (0.100.0)
392
- execjs (2.8.1)
391
+ excon (0.103.0)
392
+ execjs (2.9.0)
393
393
  extended-markdown-filter (0.7.0)
394
394
  html-pipeline (~> 2.9)
395
395
  factory_bot (4.11.1)
@@ -443,8 +443,8 @@ GEM
443
443
  railties (>= 4.1, < 7.1)
444
444
  gemoji (3.0.1)
445
445
  geocoder (1.8.2)
446
- globalid (1.1.0)
447
- activesupport (>= 5.0)
446
+ globalid (1.2.1)
447
+ activesupport (>= 6.1)
448
448
  graphlient (0.5.0)
449
449
  faraday (>= 1.0)
450
450
  faraday_middleware
@@ -482,7 +482,7 @@ GEM
482
482
  rails-i18n
483
483
  rainbow (>= 2.2.2, < 4.0)
484
484
  terminal-table (>= 1.5.1)
485
- icalendar (2.8.0)
485
+ icalendar (2.9.0)
486
486
  ice_cube (~> 0.16)
487
487
  ice_cube (0.16.4)
488
488
  ice_nine (0.11.2)
@@ -521,7 +521,7 @@ GEM
521
521
  listen (3.8.0)
522
522
  rb-fsevent (~> 0.10, >= 0.10.3)
523
523
  rb-inotify (~> 0.9, >= 0.9.10)
524
- loofah (2.3.1)
524
+ loofah (2.19.1)
525
525
  crass (~> 1.0.2)
526
526
  nokogiri (>= 1.5.9)
527
527
  mail (2.8.1)
@@ -538,22 +538,22 @@ GEM
538
538
  mixlib-config (>= 2.2.1, < 4)
539
539
  mixlib-shellout
540
540
  method_source (1.0.0)
541
- mime-types (3.4.1)
541
+ mime-types (3.5.1)
542
542
  mime-types-data (~> 3.2015)
543
- mime-types-data (3.2023.0218.1)
543
+ mime-types-data (3.2023.0808)
544
544
  mini_magick (4.12.0)
545
- mini_mime (1.1.2)
546
- minitest (5.18.1)
545
+ mini_mime (1.1.5)
546
+ minitest (5.20.0)
547
547
  mixlib-cli (2.1.8)
548
548
  mixlib-config (3.0.27)
549
549
  tomlrb
550
550
  mixlib-shellout (3.2.7)
551
551
  chef-utils
552
- msgpack (1.7.1)
552
+ msgpack (1.7.2)
553
553
  multi_xml (0.6.0)
554
554
  multipart-post (2.3.0)
555
555
  mustache (1.1.1)
556
- net-imap (0.3.6)
556
+ net-imap (0.3.7)
557
557
  date
558
558
  net-protocol
559
559
  net-pop (0.1.2)
@@ -624,52 +624,52 @@ GEM
624
624
  actionmailer (>= 3)
625
625
  net-smtp
626
626
  premailer (~> 1.7, >= 1.7.9)
627
- public_suffix (5.0.1)
628
- puma (5.6.6)
627
+ public_suffix (5.0.3)
628
+ puma (5.6.7)
629
629
  nio4r (~> 2.0)
630
630
  racc (1.7.1)
631
- rack (2.2.7)
632
- rack-attack (6.6.1)
633
- rack (>= 1.0, < 3)
631
+ rack (2.2.8)
632
+ rack-attack (6.7.0)
633
+ rack (>= 1.0, < 4)
634
634
  rack-cors (1.1.1)
635
635
  rack (>= 2.0.0)
636
- rack-protection (3.0.6)
637
- rack
638
- rack-proxy (0.7.6)
636
+ rack-protection (3.1.0)
637
+ rack (~> 2.2, >= 2.2.4)
638
+ rack-proxy (0.7.7)
639
639
  rack
640
640
  rack-test (2.1.0)
641
641
  rack (>= 1.3)
642
- rails (6.1.7.4)
643
- actioncable (= 6.1.7.4)
644
- actionmailbox (= 6.1.7.4)
645
- actionmailer (= 6.1.7.4)
646
- actionpack (= 6.1.7.4)
647
- actiontext (= 6.1.7.4)
648
- actionview (= 6.1.7.4)
649
- activejob (= 6.1.7.4)
650
- activemodel (= 6.1.7.4)
651
- activerecord (= 6.1.7.4)
652
- activestorage (= 6.1.7.4)
653
- activesupport (= 6.1.7.4)
642
+ rails (6.1.7.6)
643
+ actioncable (= 6.1.7.6)
644
+ actionmailbox (= 6.1.7.6)
645
+ actionmailer (= 6.1.7.6)
646
+ actionpack (= 6.1.7.6)
647
+ actiontext (= 6.1.7.6)
648
+ actionview (= 6.1.7.6)
649
+ activejob (= 6.1.7.6)
650
+ activemodel (= 6.1.7.6)
651
+ activerecord (= 6.1.7.6)
652
+ activestorage (= 6.1.7.6)
653
+ activesupport (= 6.1.7.6)
654
654
  bundler (>= 1.15.0)
655
- railties (= 6.1.7.4)
655
+ railties (= 6.1.7.6)
656
656
  sprockets-rails (>= 2.0.0)
657
657
  rails-controller-testing (1.0.5)
658
658
  actionpack (>= 5.0.1.rc1)
659
659
  actionview (>= 5.0.1.rc1)
660
660
  activesupport (>= 5.0.1.rc1)
661
- rails-dom-testing (2.1.1)
661
+ rails-dom-testing (2.2.0)
662
662
  activesupport (>= 5.0.0)
663
663
  minitest
664
664
  nokogiri (>= 1.6)
665
- rails-html-sanitizer (1.4.3)
666
- loofah (~> 2.3)
665
+ rails-html-sanitizer (1.5.0)
666
+ loofah (~> 2.19, >= 2.19.1)
667
667
  rails-i18n (6.0.0)
668
668
  i18n (>= 0.7, < 2)
669
669
  railties (>= 6.0.0, < 7)
670
- railties (6.1.7.4)
671
- actionpack (= 6.1.7.4)
672
- activesupport (= 6.1.7.4)
670
+ railties (6.1.7.6)
671
+ actionpack (= 6.1.7.6)
672
+ activesupport (= 6.1.7.6)
673
673
  method_source
674
674
  rake (>= 12.2)
675
675
  thor (~> 1.0)
@@ -690,7 +690,7 @@ GEM
690
690
  responders (3.1.0)
691
691
  actionpack (>= 5.2)
692
692
  railties (>= 5.2)
693
- rexml (3.2.5)
693
+ rexml (3.2.6)
694
694
  rspec (3.12.0)
695
695
  rspec-core (~> 3.12.0)
696
696
  rspec-expectations (~> 3.12.0)
@@ -706,7 +706,7 @@ GEM
706
706
  rspec-html-matchers (0.9.4)
707
707
  nokogiri (~> 1)
708
708
  rspec (>= 3.0.0.a, < 4)
709
- rspec-mocks (3.12.5)
709
+ rspec-mocks (3.12.6)
710
710
  diff-lcs (>= 1.2.0, < 2.0)
711
711
  rspec-support (~> 3.12.0)
712
712
  rspec-rails (4.1.2)
@@ -780,20 +780,20 @@ GEM
780
780
  spring-watcher-listen (2.1.0)
781
781
  listen (>= 2.7, < 4.0)
782
782
  spring (>= 4)
783
- sprockets (4.2.0)
783
+ sprockets (4.2.1)
784
784
  concurrent-ruby (~> 1.0)
785
785
  rack (>= 2.2.4, < 4)
786
786
  sprockets-rails (3.4.2)
787
787
  actionpack (>= 5.2)
788
788
  activesupport (>= 5.2)
789
789
  sprockets (>= 3.0.0)
790
- ssrf_filter (1.1.1)
790
+ ssrf_filter (1.1.2)
791
791
  temple (0.10.2)
792
792
  terminal-table (3.0.2)
793
793
  unicode-display_width (>= 1.1.1, < 3)
794
794
  thor (1.2.2)
795
795
  thread_safe (0.3.6)
796
- tilt (2.2.0)
796
+ tilt (2.3.0)
797
797
  timeout (0.4.0)
798
798
  tomlrb (2.0.3)
799
799
  tzinfo (2.0.6)
@@ -822,12 +822,12 @@ GEM
822
822
  rexml (~> 3.2)
823
823
  warden (1.2.9)
824
824
  rack (>= 2.0.9)
825
- web-console (4.2.0)
825
+ web-console (4.2.1)
826
826
  actionview (>= 6.0.0)
827
827
  activemodel (>= 6.0.0)
828
828
  bindex (>= 0.4.0)
829
829
  railties (>= 6.0.0)
830
- webmock (3.18.1)
830
+ webmock (3.19.1)
831
831
  addressable (>= 2.8.0)
832
832
  crack (>= 0.3.2)
833
833
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -839,17 +839,17 @@ GEM
839
839
  webpush (1.1.0)
840
840
  hkdf (~> 0.2)
841
841
  jwt (~> 2.0)
842
- websocket-driver (0.7.5)
842
+ websocket-driver (0.7.6)
843
843
  websocket-extensions (>= 0.1.0)
844
844
  websocket-extensions (0.1.5)
845
- wicked_pdf (2.6.3)
845
+ wicked_pdf (2.7.0)
846
846
  activesupport
847
847
  wisper (2.0.1)
848
848
  wisper-rspec (1.1.0)
849
849
  wkhtmltopdf-binary (0.12.6.6)
850
850
  xpath (3.2.0)
851
851
  nokogiri (~> 1.8)
852
- zeitwerk (2.6.8)
852
+ zeitwerk (2.6.11)
853
853
 
854
854
  PLATFORMS
855
855
  x86_64-linux
@@ -858,11 +858,11 @@ DEPENDENCIES
858
858
  bootsnap (~> 1.7)
859
859
  byebug (~> 11.0)
860
860
  codecov
861
- decidim (= 0.27.3)
862
- decidim-dev (= 0.27.3)
863
- decidim-elections (= 0.27.3)
861
+ decidim (= 0.27.4)
862
+ decidim-dev (= 0.27.4)
863
+ decidim-elections (= 0.27.4)
864
864
  decidim-reporting_proposals!
865
- decidim-templates (= 0.27.3)
865
+ decidim-templates (= 0.27.4)
866
866
  faker (~> 2.14)
867
867
  letter_opener_web (~> 2.0)
868
868
  listen (~> 3.1)
@@ -7,6 +7,10 @@ module Decidim
7
7
  include Decidim::TranslatableAttributes
8
8
  include Decidim::Paginable
9
9
 
10
+ def permission_class_chain
11
+ [::Decidim::Templates::Admin::ExtraPermissions] + super
12
+ end
13
+
10
14
  helper_method :availability_option_as_text, :availability_options_for_select
11
15
 
12
16
  rescue_from ActiveRecord::RecordNotFound do |exception|
@@ -57,7 +61,7 @@ module Decidim
57
61
  end
58
62
 
59
63
  def fetch
60
- enforce_permission_to :read, :template, template: template
64
+ enforce_permission_to :read, :template, template: template, proposal: proposal
61
65
 
62
66
  response_object = {
63
67
  state: template.field_values["internal_state"],
@@ -1,3 +1,3 @@
1
- <!-- insert_after ".card[1]" -->
1
+ <!-- insert_after "erb[silent]:contains('if proposal.valuators.any?')" -->
2
2
 
3
3
  <%= render partial: "decidim/reporting_proposals/admin/proposals/photos" %>
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module Templates
5
+ module Admin
6
+ class ExtraPermissions < Decidim::DefaultPermissions
7
+ # this should go to the standard templates/permissions class but to avoid hacking it we put it here
8
+ # to be removed when proposal templates is accepted into core
9
+ def permissions
10
+ return permission_action if permission_action.scope != :admin
11
+ return permission_action unless user
12
+ return permission_action if context[:current_organization] != user.organization
13
+
14
+ allow! if user_has_a_role? && (permission_action.subject == :template && permission_action.action == :read)
15
+
16
+ super
17
+ end
18
+
19
+ private
20
+
21
+ def participatory_space
22
+ @participatory_space ||= context[:proposal].try(:participatory_space)
23
+ end
24
+
25
+ def user_roles
26
+ @user_roles ||= participatory_space.try(:user_roles)
27
+ end
28
+
29
+ def user_has_a_role?
30
+ return unless user_roles
31
+
32
+ user_roles.exists?(user: user)
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
@@ -414,6 +414,8 @@ ca:
414
414
  away: "%{meters} de distància"
415
415
  description: Aquestes són propostes que es troben en un radi de %{meters} respecte a la que esteu creant. En cas que trobeu un altra proposta d'informe en la mateixa situació, podeu optar per donar-li una adhesió en comptes de crear-ne un de nou.
416
416
  title: Propostes properes
417
+ edit:
418
+ delete_image: Esborra la imatge
417
419
  form:
418
420
  image: Imatge/fotografia
419
421
  templates:
@@ -414,6 +414,8 @@ de:
414
414
  away: "%{meters} entfernt"
415
415
  description: Dies sind Vorschläge, die in einem Radius von %{meters} zu dem von Ihnen erstellten sind. Allenfalls hat eine andere Person die die gleiche Situation gemeldet. In diesem Fall können Sie die bestehende Meldung Unterstützen, anstatt eine neue zu erstellen.
416
416
  title: Bestehende Meldungen in der Umgebung
417
+ edit:
418
+ delete_image: Bild löschen
417
419
  form:
418
420
  image: Foto
419
421
  templates:
@@ -414,6 +414,8 @@ es:
414
414
  away: "A %{meters} de distancia"
415
415
  description: Estas son propuestas que están en un radio de %{meters} a la que estás creando. En caso de que encuentres otra reportando la misma situación, puedes elegir apoyarla en lugar de crear una nueva.
416
416
  title: Propuestas cercanas
417
+ edit:
418
+ delete_image: Eliminar imagen
417
419
  form:
418
420
  image: Imágen/foto
419
421
  templates:
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Decidim
4
4
  module ReportingProposals
5
- VERSION = "0.5.0"
6
- DECIDIM_VERSION = "0.27.3"
5
+ VERSION = "0.5.1"
6
+ DECIDIM_VERSION = "0.27.4"
7
7
 
8
8
  COMPAT_DECIDIM_VERSION = [">= 0.27.0", "< 0.28"].freeze
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-reporting_proposals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Vergés
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-10 00:00:00.000000000 Z
11
+ date: 2023-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -391,6 +391,7 @@ files:
391
391
  - app/permissions/concerns/decidim/reporting_proposals/admin/permissions_override.rb
392
392
  - app/permissions/decidim/reporting_proposals/admin/permissions.rb
393
393
  - app/permissions/decidim/reporting_proposals/permissions.rb
394
+ - app/permissions/decidim/templates/admin/extra_permissions.rb
394
395
  - app/presenters/concerns/decidim/resource_locator_presenter_override.rb
395
396
  - app/queries/decidim/reporting_proposals/nearby_proposals.rb
396
397
  - app/resources/concerns/decidim/resource_manifest_override.rb