decidim 0.30.2 → 0.31.0.rc1

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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/decidim-core/lib/decidim/{webpacker → shakapacker}/configuration.rb +4 -4
  3. data/decidim-core/lib/decidim/{webpacker → shakapacker}/runner.rb +3 -3
  4. data/decidim-core/lib/decidim/shakapacker/shakapacker.rb +8 -0
  5. data/decidim-core/lib/decidim/{webpacker → shakapacker}/shakapacker.yml +3 -1
  6. data/decidim-core/lib/decidim/{webpacker → shakapacker}/webpack/custom.js +1 -1
  7. data/decidim.gemspec +1 -1
  8. data/docs/antora.yml +1 -1
  9. data/docs/modules/configure/pages/environment_variables.adoc +184 -35
  10. data/docs/modules/configure/pages/index.adoc +2 -3
  11. data/docs/modules/configure/pages/initializer.adoc +45 -31
  12. data/docs/modules/configure/pages/system.adoc +3 -3
  13. data/docs/modules/customize/assets/images/social-share-modal-default.png +0 -0
  14. data/docs/modules/customize/pages/admin_filters.adoc +2 -2
  15. data/docs/modules/customize/pages/content_security_policy.adoc +1 -1
  16. data/docs/modules/customize/pages/images.adoc +1 -1
  17. data/docs/modules/customize/pages/index.adoc +1 -0
  18. data/docs/modules/customize/pages/javascript.adoc +5 -18
  19. data/docs/modules/customize/pages/localization.adoc +75 -0
  20. data/docs/modules/customize/pages/oauth.adoc +12 -0
  21. data/docs/modules/customize/pages/social_shares.adoc +0 -3
  22. data/docs/modules/customize/pages/styles.adoc +3 -16
  23. data/docs/modules/develop/assets/attachments/grafana/metadecidim-csv.json +1106 -0
  24. data/docs/modules/develop/assets/attachments/grafana/metadecidim-graphql.json +632 -0
  25. data/docs/modules/develop/assets/images/grafana/create_account_confirm.png +0 -0
  26. data/docs/modules/develop/assets/images/grafana/create_account_form.png +0 -0
  27. data/docs/modules/develop/assets/images/grafana/create_account_setup.png +0 -0
  28. data/docs/modules/develop/assets/images/grafana/dashboard_example_csv.png +0 -0
  29. data/docs/modules/develop/assets/images/grafana/dashboard_example_graphql.png +0 -0
  30. data/docs/modules/develop/assets/images/grafana/dashboard_import.png +0 -0
  31. data/docs/modules/develop/assets/images/grafana/dashboard_import_csv.png +0 -0
  32. data/docs/modules/develop/assets/images/grafana/dashboards.png +0 -0
  33. data/docs/modules/develop/assets/images/grafana/homepage.png +0 -0
  34. data/docs/modules/develop/pages/api.adoc +12 -2
  35. data/docs/modules/develop/pages/classes/models.adoc +2 -2
  36. data/docs/modules/develop/pages/commentable.adoc +9 -11
  37. data/docs/modules/develop/pages/components.adoc +10 -10
  38. data/docs/modules/develop/pages/elections.adoc +101 -0
  39. data/docs/modules/develop/pages/fixing_locales.adoc +7 -12
  40. data/docs/modules/develop/pages/grafana.adoc +100 -0
  41. data/docs/modules/develop/pages/likeable.adoc +106 -0
  42. data/docs/modules/develop/pages/machine_translations.adoc +6 -2
  43. data/docs/modules/develop/pages/maintainers/releases.adoc +40 -202
  44. data/docs/modules/develop/pages/maps.adoc +8 -8
  45. data/docs/modules/develop/pages/modules.adoc +1 -1
  46. data/docs/modules/develop/pages/notifications.adoc +27 -56
  47. data/docs/modules/develop/pages/permissions.adoc +19 -19
  48. data/docs/modules/develop/pages/taxonomies.adoc +1 -15
  49. data/docs/modules/install/pages/checklist.adoc +2 -1
  50. data/docs/modules/install/pages/index.adoc +3 -3
  51. data/docs/modules/install/pages/manual.adoc +5 -5
  52. data/docs/modules/install/partials/version_matrix.adoc +4 -2
  53. data/docs/modules/services/pages/aitools.adoc +0 -2
  54. data/docs/modules/services/pages/etherpad.adoc +5 -20
  55. data/docs/modules/services/pages/machine_translation.adoc +38 -0
  56. data/docs/modules/services/pages/maps.adoc +8 -66
  57. data/docs/modules/services/pages/pdf.adoc +33 -0
  58. data/docs/modules/services/pages/sms.adoc +6 -7
  59. data/docs/modules/services/pages/social_providers.adoc +1 -1
  60. data/docs/modules/services/pages/timestamp.adoc +47 -0
  61. data/lib/decidim/version.rb +1 -1
  62. data/package-lock.json +2413 -2624
  63. data/package.json +3 -2
  64. data/packages/browserslist-config/package.json +1 -1
  65. data/packages/core/package.json +2 -3
  66. data/packages/dev/package.json +2 -2
  67. data/packages/eslint-config/package.json +1 -1
  68. data/packages/prettier-config/package.json +1 -1
  69. data/packages/stylelint-config/package.json +1 -1
  70. data/packages/webpacker/package.json +3 -2
  71. data/packages/webpacker/src/loaders/decidim-sass-loader.js +18 -11
  72. metadata +68 -54
  73. data/docs/modules/develop/pages/endorsable.adoc +0 -110
  74. data/docs/modules/develop/pages/guide_migrate_webpacker_app.adoc +0 -257
  75. data/docs/modules/develop/pages/guide_migrate_webpacker_module.adoc +0 -132
  76. data/docs/modules/develop/pages/metrics.adoc +0 -123
  77. data/docs/modules/develop/pages/troubleshooting_metrics.adoc +0 -255
  78. /data/decidim-core/lib/decidim/{webpacker → shakapacker}/esbuild.config.js +0 -0
  79. /data/decidim-core/lib/decidim/{webpacker → shakapacker}/postcss.config.js +0 -0
  80. /data/decidim-core/lib/decidim/{webpacker → shakapacker}/tsconfig.json +0 -0
  81. /data/decidim-core/lib/decidim/{webpacker → shakapacker}/webpack/.modernizrrc +0 -0
  82. /data/decidim-core/lib/decidim/{webpacker → shakapacker}/webpack/webpack.config.js +0 -0
@@ -0,0 +1,1106 @@
1
+ {
2
+ "annotations": {
3
+ "list": [
4
+ {
5
+ "builtIn": 1,
6
+ "datasource": {
7
+ "type": "grafana",
8
+ "uid": "-- Grafana --"
9
+ },
10
+ "enable": true,
11
+ "hide": true,
12
+ "iconColor": "rgba(0, 211, 255, 1)",
13
+ "name": "Annotations & Alerts",
14
+ "type": "dashboard"
15
+ }
16
+ ]
17
+ },
18
+ "description": "An example implementation for the integration between Grafana and Decidim, using the CSV flatfiles from Decidim (the Open Data page).",
19
+ "editable": true,
20
+ "fiscalYearStartMonth": 0,
21
+ "graphTooltip": 0,
22
+ "id": 18,
23
+ "links": [],
24
+ "panels": [
25
+ {
26
+ "datasource": {
27
+ "type": "yesoreyeram-infinity-datasource",
28
+ "uid": "grafanacloud-infinity"
29
+ },
30
+ "fieldConfig": {
31
+ "defaults": {
32
+ "color": {
33
+ "mode": "palette-classic"
34
+ },
35
+ "custom": {
36
+ "axisBorderShow": false,
37
+ "axisCenteredZero": false,
38
+ "axisColorMode": "text",
39
+ "axisLabel": "",
40
+ "axisPlacement": "auto",
41
+ "barAlignment": 0,
42
+ "barWidthFactor": 0.6,
43
+ "drawStyle": "line",
44
+ "fillOpacity": 0,
45
+ "gradientMode": "none",
46
+ "hideFrom": {
47
+ "legend": false,
48
+ "tooltip": false,
49
+ "viz": false
50
+ },
51
+ "insertNulls": false,
52
+ "lineInterpolation": "linear",
53
+ "lineWidth": 1,
54
+ "pointSize": 5,
55
+ "scaleDistribution": {
56
+ "type": "linear"
57
+ },
58
+ "showPoints": "auto",
59
+ "spanNulls": false,
60
+ "stacking": {
61
+ "group": "A",
62
+ "mode": "none"
63
+ },
64
+ "thresholdsStyle": {
65
+ "mode": "off"
66
+ }
67
+ },
68
+ "mappings": [],
69
+ "thresholds": {
70
+ "mode": "absolute",
71
+ "steps": [
72
+ {
73
+ "color": "green"
74
+ },
75
+ {
76
+ "color": "red",
77
+ "value": 80
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ "overrides": []
83
+ },
84
+ "gridPos": {
85
+ "h": 8,
86
+ "w": 12,
87
+ "x": 0,
88
+ "y": 0
89
+ },
90
+ "id": 1,
91
+ "options": {
92
+ "legend": {
93
+ "calcs": [],
94
+ "displayMode": "list",
95
+ "placement": "bottom",
96
+ "showLegend": true
97
+ },
98
+ "tooltip": {
99
+ "hideZeros": false,
100
+ "mode": "single",
101
+ "sort": "none"
102
+ }
103
+ },
104
+ "pluginVersion": "11.6.0-84846",
105
+ "targets": [
106
+ {
107
+ "columns": [],
108
+ "csv_options": {
109
+ "delimiter": ";"
110
+ },
111
+ "datasource": {
112
+ "type": "yesoreyeram-infinity-datasource",
113
+ "uid": "grafanacloud-infinity"
114
+ },
115
+ "filters": [],
116
+ "format": "table",
117
+ "global_query_id": "",
118
+ "parser": "backend",
119
+ "refId": "A",
120
+ "root_selector": "",
121
+ "source": "url",
122
+ "type": "csv",
123
+ "url": "https://meta.decidim.org/open-data/download/proposals",
124
+ "url_options": {
125
+ "data": "",
126
+ "method": "GET"
127
+ }
128
+ }
129
+ ],
130
+ "title": "Metadecidim proposals evolution (created_at)",
131
+ "transformations": [
132
+ {
133
+ "id": "organize",
134
+ "options": {
135
+ "excludeByName": {
136
+ "address": true,
137
+ "answer/ca": true,
138
+ "answer/cs": true,
139
+ "answer/de": true,
140
+ "answer/en": true,
141
+ "answer/es": true,
142
+ "answer/eu": true,
143
+ "answer/fi": true,
144
+ "answer/fr": true,
145
+ "answer/it": true,
146
+ "answer/ja": true,
147
+ "answer/nl": true,
148
+ "answer/pl": true,
149
+ "answer/pt": true,
150
+ "answer/ro": true,
151
+ "answered_at": true,
152
+ "attachments": true,
153
+ "author/id": true,
154
+ "author/name": true,
155
+ "author/url": true,
156
+ "body/ca": true,
157
+ "body/en": true,
158
+ "body/es": true,
159
+ "coauthorships_count": true,
160
+ "comments": true,
161
+ "component/id": true,
162
+ "cost": true,
163
+ "cost_report": true,
164
+ "created_at": false,
165
+ "created_in_meeting": true,
166
+ "endorsements/total_count": true,
167
+ "endorsements/user_endorsements": true,
168
+ "execution_period": true,
169
+ "follows_count": true,
170
+ "id": true,
171
+ "is_amend": true,
172
+ "latitude": true,
173
+ "longitude": true,
174
+ "meeting_urls": true,
175
+ "original_proposal/title": true,
176
+ "original_proposal/title/en": true,
177
+ "original_proposal/title/es": true,
178
+ "original_proposal/url": true,
179
+ "participatory_space/id": true,
180
+ "participatory_space/url": true,
181
+ "published_at": true,
182
+ "reference": true,
183
+ "related_proposals": true,
184
+ "state": true,
185
+ "state_published_at": true,
186
+ "taxonomies/840/ca": true,
187
+ "taxonomies/840/en": true,
188
+ "taxonomies/840/es": true,
189
+ "taxonomies/841/ca": true,
190
+ "taxonomies/841/en": true,
191
+ "taxonomies/841/es": true,
192
+ "taxonomies/842/ca": true,
193
+ "taxonomies/842/en": true,
194
+ "taxonomies/842/es": true,
195
+ "taxonomies/843/ca": true,
196
+ "taxonomies/843/en": true,
197
+ "taxonomies/843/es": true,
198
+ "taxonomies/844/ca": true,
199
+ "taxonomies/844/en": true,
200
+ "taxonomies/844/es": true,
201
+ "taxonomies/845/ca": true,
202
+ "taxonomies/845/en": true,
203
+ "taxonomies/845/es": true,
204
+ "taxonomies/851/ca": true,
205
+ "taxonomies/851/en": true,
206
+ "taxonomies/851/es": true,
207
+ "taxonomies/852/ca": true,
208
+ "taxonomies/852/en": true,
209
+ "taxonomies/852/es": true,
210
+ "taxonomies/853/ca": true,
211
+ "taxonomies/853/en": true,
212
+ "taxonomies/853/es": true,
213
+ "taxonomies/ids": true,
214
+ "title/ca": true,
215
+ "title/en": true,
216
+ "title/es": true,
217
+ "updated_at": true,
218
+ "url": true,
219
+ "votes": true,
220
+ "withdrawn": true,
221
+ "withdrawn_at": true
222
+ },
223
+ "includeByName": {},
224
+ "indexByName": {},
225
+ "renameByName": {}
226
+ }
227
+ },
228
+ {
229
+ "filter": {
230
+ "id": "byRefId",
231
+ "options": ""
232
+ },
233
+ "id": "convertFieldType",
234
+ "options": {
235
+ "conversions": [
236
+ {
237
+ "dateFormat": "",
238
+ "destinationType": "time",
239
+ "targetField": "created_at"
240
+ }
241
+ ],
242
+ "fields": {}
243
+ }
244
+ },
245
+ {
246
+ "id": "sortBy",
247
+ "options": {
248
+ "fields": {},
249
+ "sort": [
250
+ {
251
+ "field": "created_at"
252
+ }
253
+ ]
254
+ }
255
+ },
256
+ {
257
+ "id": "calculateField",
258
+ "options": {
259
+ "alias": "count",
260
+ "mode": "index",
261
+ "reduce": {
262
+ "reducer": "sum"
263
+ }
264
+ }
265
+ }
266
+ ],
267
+ "type": "timeseries"
268
+ },
269
+ {
270
+ "datasource": {
271
+ "type": "yesoreyeram-infinity-datasource",
272
+ "uid": "grafanacloud-infinity"
273
+ },
274
+ "fieldConfig": {
275
+ "defaults": {
276
+ "color": {
277
+ "mode": "palette-classic"
278
+ },
279
+ "custom": {
280
+ "axisBorderShow": false,
281
+ "axisCenteredZero": false,
282
+ "axisColorMode": "text",
283
+ "axisLabel": "",
284
+ "axisPlacement": "auto",
285
+ "barAlignment": 0,
286
+ "barWidthFactor": 0.6,
287
+ "drawStyle": "line",
288
+ "fillOpacity": 0,
289
+ "gradientMode": "none",
290
+ "hideFrom": {
291
+ "legend": false,
292
+ "tooltip": false,
293
+ "viz": false
294
+ },
295
+ "insertNulls": false,
296
+ "lineInterpolation": "linear",
297
+ "lineWidth": 1,
298
+ "pointSize": 5,
299
+ "scaleDistribution": {
300
+ "type": "linear"
301
+ },
302
+ "showPoints": "auto",
303
+ "spanNulls": false,
304
+ "stacking": {
305
+ "group": "A",
306
+ "mode": "none"
307
+ },
308
+ "thresholdsStyle": {
309
+ "mode": "off"
310
+ }
311
+ },
312
+ "mappings": [],
313
+ "thresholds": {
314
+ "mode": "absolute",
315
+ "steps": [
316
+ {
317
+ "color": "green"
318
+ },
319
+ {
320
+ "color": "red",
321
+ "value": 80
322
+ }
323
+ ]
324
+ }
325
+ },
326
+ "overrides": []
327
+ },
328
+ "gridPos": {
329
+ "h": 8,
330
+ "w": 12,
331
+ "x": 12,
332
+ "y": 0
333
+ },
334
+ "id": 2,
335
+ "options": {
336
+ "legend": {
337
+ "calcs": [],
338
+ "displayMode": "list",
339
+ "placement": "bottom",
340
+ "showLegend": true
341
+ },
342
+ "tooltip": {
343
+ "hideZeros": false,
344
+ "mode": "single",
345
+ "sort": "none"
346
+ }
347
+ },
348
+ "pluginVersion": "11.6.0-84846",
349
+ "targets": [
350
+ {
351
+ "columns": [],
352
+ "csv_options": {
353
+ "delimiter": ";"
354
+ },
355
+ "datasource": {
356
+ "type": "yesoreyeram-infinity-datasource",
357
+ "uid": "grafanacloud-infinity"
358
+ },
359
+ "filters": [],
360
+ "format": "table",
361
+ "global_query_id": "",
362
+ "parser": "backend",
363
+ "refId": "A",
364
+ "root_selector": "",
365
+ "source": "url",
366
+ "type": "csv",
367
+ "url": "https://meta.decidim.org/open-data/download/proposals",
368
+ "url_options": {
369
+ "data": "",
370
+ "method": "GET"
371
+ }
372
+ }
373
+ ],
374
+ "title": "Metadecidim proposals evolution (answered_at)",
375
+ "transformations": [
376
+ {
377
+ "id": "organize",
378
+ "options": {
379
+ "excludeByName": {
380
+ "address": true,
381
+ "answer/ca": true,
382
+ "answer/cs": true,
383
+ "answer/de": true,
384
+ "answer/en": true,
385
+ "answer/es": true,
386
+ "answer/eu": true,
387
+ "answer/fi": true,
388
+ "answer/fr": true,
389
+ "answer/it": true,
390
+ "answer/ja": true,
391
+ "answer/nl": true,
392
+ "answer/pl": true,
393
+ "answer/pt": true,
394
+ "answer/ro": true,
395
+ "answered_at": false,
396
+ "attachments": true,
397
+ "author/id": true,
398
+ "author/name": true,
399
+ "author/url": true,
400
+ "body/ca": true,
401
+ "body/en": true,
402
+ "body/es": true,
403
+ "coauthorships_count": true,
404
+ "comments": true,
405
+ "component/id": true,
406
+ "cost": true,
407
+ "cost_report": true,
408
+ "created_at": true,
409
+ "created_in_meeting": true,
410
+ "endorsements/total_count": true,
411
+ "endorsements/user_endorsements": true,
412
+ "execution_period": true,
413
+ "follows_count": true,
414
+ "id": true,
415
+ "is_amend": true,
416
+ "latitude": true,
417
+ "longitude": true,
418
+ "meeting_urls": true,
419
+ "original_proposal/title": true,
420
+ "original_proposal/title/en": true,
421
+ "original_proposal/title/es": true,
422
+ "original_proposal/url": true,
423
+ "participatory_space/id": true,
424
+ "participatory_space/url": true,
425
+ "published_at": true,
426
+ "reference": true,
427
+ "related_proposals": true,
428
+ "state": true,
429
+ "state_published_at": true,
430
+ "taxonomies/840/ca": true,
431
+ "taxonomies/840/en": true,
432
+ "taxonomies/840/es": true,
433
+ "taxonomies/841/ca": true,
434
+ "taxonomies/841/en": true,
435
+ "taxonomies/841/es": true,
436
+ "taxonomies/842/ca": true,
437
+ "taxonomies/842/en": true,
438
+ "taxonomies/842/es": true,
439
+ "taxonomies/843/ca": true,
440
+ "taxonomies/843/en": true,
441
+ "taxonomies/843/es": true,
442
+ "taxonomies/844/ca": true,
443
+ "taxonomies/844/en": true,
444
+ "taxonomies/844/es": true,
445
+ "taxonomies/845/ca": true,
446
+ "taxonomies/845/en": true,
447
+ "taxonomies/845/es": true,
448
+ "taxonomies/851/ca": true,
449
+ "taxonomies/851/en": true,
450
+ "taxonomies/851/es": true,
451
+ "taxonomies/852/ca": true,
452
+ "taxonomies/852/en": true,
453
+ "taxonomies/852/es": true,
454
+ "taxonomies/853/ca": true,
455
+ "taxonomies/853/en": true,
456
+ "taxonomies/853/es": true,
457
+ "taxonomies/ids": true,
458
+ "title/ca": true,
459
+ "title/en": true,
460
+ "title/es": true,
461
+ "updated_at": true,
462
+ "url": true,
463
+ "votes": true,
464
+ "withdrawn": true,
465
+ "withdrawn_at": true
466
+ },
467
+ "includeByName": {},
468
+ "indexByName": {},
469
+ "renameByName": {}
470
+ }
471
+ },
472
+ {
473
+ "filter": {
474
+ "id": "byRefId",
475
+ "options": ""
476
+ },
477
+ "id": "convertFieldType",
478
+ "options": {
479
+ "conversions": [
480
+ {
481
+ "destinationType": "time",
482
+ "targetField": "answered_at"
483
+ }
484
+ ],
485
+ "fields": {}
486
+ }
487
+ },
488
+ {
489
+ "id": "sortBy",
490
+ "options": {
491
+ "fields": {},
492
+ "sort": [
493
+ {
494
+ "field": "answered_at"
495
+ }
496
+ ]
497
+ }
498
+ },
499
+ {
500
+ "id": "filterByValue",
501
+ "options": {
502
+ "filters": [
503
+ {
504
+ "config": {
505
+ "id": "isNotNull",
506
+ "options": {}
507
+ },
508
+ "fieldName": "answered_at"
509
+ }
510
+ ],
511
+ "match": "any",
512
+ "type": "include"
513
+ }
514
+ },
515
+ {
516
+ "id": "calculateField",
517
+ "options": {
518
+ "alias": "count",
519
+ "mode": "index",
520
+ "reduce": {
521
+ "reducer": "sum"
522
+ }
523
+ }
524
+ }
525
+ ],
526
+ "type": "timeseries"
527
+ },
528
+ {
529
+ "datasource": {
530
+ "type": "yesoreyeram-infinity-datasource",
531
+ "uid": "grafanacloud-infinity"
532
+ },
533
+ "fieldConfig": {
534
+ "defaults": {
535
+ "color": {
536
+ "mode": "palette-classic"
537
+ },
538
+ "custom": {
539
+ "axisBorderShow": false,
540
+ "axisCenteredZero": false,
541
+ "axisColorMode": "text",
542
+ "axisLabel": "",
543
+ "axisPlacement": "auto",
544
+ "barAlignment": 0,
545
+ "barWidthFactor": 0.6,
546
+ "drawStyle": "line",
547
+ "fillOpacity": 0,
548
+ "gradientMode": "none",
549
+ "hideFrom": {
550
+ "legend": false,
551
+ "tooltip": false,
552
+ "viz": false
553
+ },
554
+ "insertNulls": false,
555
+ "lineInterpolation": "linear",
556
+ "lineWidth": 1,
557
+ "pointSize": 5,
558
+ "scaleDistribution": {
559
+ "type": "linear"
560
+ },
561
+ "showPoints": "auto",
562
+ "spanNulls": false,
563
+ "stacking": {
564
+ "group": "A",
565
+ "mode": "none"
566
+ },
567
+ "thresholdsStyle": {
568
+ "mode": "off"
569
+ }
570
+ },
571
+ "mappings": [],
572
+ "thresholds": {
573
+ "mode": "absolute",
574
+ "steps": [
575
+ {
576
+ "color": "green"
577
+ },
578
+ {
579
+ "color": "red",
580
+ "value": 80
581
+ }
582
+ ]
583
+ }
584
+ },
585
+ "overrides": []
586
+ },
587
+ "gridPos": {
588
+ "h": 8,
589
+ "w": 12,
590
+ "x": 0,
591
+ "y": 8
592
+ },
593
+ "id": 3,
594
+ "options": {
595
+ "legend": {
596
+ "calcs": [],
597
+ "displayMode": "list",
598
+ "placement": "bottom",
599
+ "showLegend": true
600
+ },
601
+ "tooltip": {
602
+ "hideZeros": false,
603
+ "mode": "single",
604
+ "sort": "none"
605
+ }
606
+ },
607
+ "pluginVersion": "11.6.0-84846",
608
+ "targets": [
609
+ {
610
+ "columns": [],
611
+ "csv_options": {
612
+ "delimiter": ";"
613
+ },
614
+ "datasource": {
615
+ "type": "yesoreyeram-infinity-datasource",
616
+ "uid": "grafanacloud-infinity"
617
+ },
618
+ "filters": [],
619
+ "format": "table",
620
+ "global_query_id": "",
621
+ "parser": "backend",
622
+ "refId": "A",
623
+ "root_selector": "",
624
+ "source": "url",
625
+ "type": "csv",
626
+ "url": "https://meta.decidim.org/open-data/download/proposals",
627
+ "url_options": {
628
+ "data": "",
629
+ "method": "GET"
630
+ }
631
+ },
632
+ {
633
+ "columns": [],
634
+ "csv_options": {
635
+ "delimiter": ";"
636
+ },
637
+ "datasource": {
638
+ "type": "yesoreyeram-infinity-datasource",
639
+ "uid": "grafanacloud-infinity"
640
+ },
641
+ "filters": [],
642
+ "format": "table",
643
+ "global_query_id": "",
644
+ "hide": false,
645
+ "parser": "backend",
646
+ "refId": "B",
647
+ "root_selector": "",
648
+ "source": "url",
649
+ "type": "csv",
650
+ "url": "https://meta.decidim.org/open-data/download/proposals",
651
+ "url_options": {
652
+ "data": "",
653
+ "method": "GET"
654
+ }
655
+ }
656
+ ],
657
+ "title": "Metadecidim proposals evolution (answered_at)",
658
+ "transformations": [
659
+ {
660
+ "id": "organize",
661
+ "options": {
662
+ "excludeByName": {
663
+ "address": true,
664
+ "answer/ca": true,
665
+ "answer/cs": true,
666
+ "answer/de": true,
667
+ "answer/en": true,
668
+ "answer/es": true,
669
+ "answer/eu": true,
670
+ "answer/fi": true,
671
+ "answer/fr": true,
672
+ "answer/it": true,
673
+ "answer/ja": true,
674
+ "answer/nl": true,
675
+ "answer/pl": true,
676
+ "answer/pt": true,
677
+ "answer/ro": true,
678
+ "answered_at": false,
679
+ "attachments": true,
680
+ "author/id": true,
681
+ "author/name": true,
682
+ "author/url": true,
683
+ "body/ca": true,
684
+ "body/en": true,
685
+ "body/es": true,
686
+ "coauthorships_count": true,
687
+ "comments": true,
688
+ "component/id": true,
689
+ "cost": true,
690
+ "cost_report": true,
691
+ "created_at": false,
692
+ "created_in_meeting": true,
693
+ "endorsements/total_count": true,
694
+ "endorsements/user_endorsements": true,
695
+ "execution_period": true,
696
+ "follows_count": true,
697
+ "id": true,
698
+ "is_amend": true,
699
+ "latitude": true,
700
+ "longitude": true,
701
+ "meeting_urls": true,
702
+ "original_proposal/title": true,
703
+ "original_proposal/title/en": true,
704
+ "original_proposal/title/es": true,
705
+ "original_proposal/url": true,
706
+ "participatory_space/id": true,
707
+ "participatory_space/url": true,
708
+ "published_at": true,
709
+ "reference": true,
710
+ "related_proposals": true,
711
+ "state": true,
712
+ "state_published_at": true,
713
+ "taxonomies/840/ca": true,
714
+ "taxonomies/840/en": true,
715
+ "taxonomies/840/es": true,
716
+ "taxonomies/841/ca": true,
717
+ "taxonomies/841/en": true,
718
+ "taxonomies/841/es": true,
719
+ "taxonomies/842/ca": true,
720
+ "taxonomies/842/en": true,
721
+ "taxonomies/842/es": true,
722
+ "taxonomies/843/ca": true,
723
+ "taxonomies/843/en": true,
724
+ "taxonomies/843/es": true,
725
+ "taxonomies/844/ca": true,
726
+ "taxonomies/844/en": true,
727
+ "taxonomies/844/es": true,
728
+ "taxonomies/845/ca": true,
729
+ "taxonomies/845/en": true,
730
+ "taxonomies/845/es": true,
731
+ "taxonomies/851/ca": true,
732
+ "taxonomies/851/en": true,
733
+ "taxonomies/851/es": true,
734
+ "taxonomies/852/ca": true,
735
+ "taxonomies/852/en": true,
736
+ "taxonomies/852/es": true,
737
+ "taxonomies/853/ca": true,
738
+ "taxonomies/853/en": true,
739
+ "taxonomies/853/es": true,
740
+ "taxonomies/ids": true,
741
+ "title/ca": true,
742
+ "title/en": true,
743
+ "title/es": true,
744
+ "updated_at": true,
745
+ "url": true,
746
+ "votes": true,
747
+ "withdrawn": true,
748
+ "withdrawn_at": true
749
+ },
750
+ "includeByName": {},
751
+ "indexByName": {},
752
+ "renameByName": {}
753
+ }
754
+ },
755
+ {
756
+ "filter": {
757
+ "id": "byRefId",
758
+ "options": ""
759
+ },
760
+ "id": "convertFieldType",
761
+ "options": {
762
+ "conversions": [
763
+ {
764
+ "destinationType": "time",
765
+ "targetField": "answered_at"
766
+ },
767
+ {
768
+ "destinationType": "time",
769
+ "targetField": "created_at"
770
+ }
771
+ ],
772
+ "fields": {}
773
+ }
774
+ },
775
+ {
776
+ "id": "sortBy",
777
+ "options": {
778
+ "fields": {},
779
+ "sort": [
780
+ {
781
+ "field": "created_at"
782
+ }
783
+ ]
784
+ }
785
+ },
786
+ {
787
+ "id": "filterByValue",
788
+ "options": {
789
+ "filters": [
790
+ {
791
+ "config": {
792
+ "id": "isNotNull",
793
+ "options": {}
794
+ },
795
+ "fieldName": "created_at"
796
+ }
797
+ ],
798
+ "match": "any",
799
+ "type": "include"
800
+ }
801
+ },
802
+ {
803
+ "id": "calculateField",
804
+ "options": {
805
+ "alias": "count",
806
+ "cumulative": {
807
+ "field": "answered_at",
808
+ "reducer": "sum"
809
+ },
810
+ "mode": "index",
811
+ "reduce": {
812
+ "reducer": "sum"
813
+ }
814
+ }
815
+ }
816
+ ],
817
+ "type": "timeseries"
818
+ },
819
+ {
820
+ "datasource": {
821
+ "type": "yesoreyeram-infinity-datasource",
822
+ "uid": "grafanacloud-infinity"
823
+ },
824
+ "fieldConfig": {
825
+ "defaults": {
826
+ "color": {
827
+ "mode": "palette-classic"
828
+ },
829
+ "custom": {
830
+ "axisBorderShow": false,
831
+ "axisCenteredZero": false,
832
+ "axisColorMode": "text",
833
+ "axisLabel": "",
834
+ "axisPlacement": "auto",
835
+ "fillOpacity": 80,
836
+ "gradientMode": "none",
837
+ "hideFrom": {
838
+ "legend": false,
839
+ "tooltip": false,
840
+ "viz": false
841
+ },
842
+ "lineWidth": 1,
843
+ "scaleDistribution": {
844
+ "type": "linear"
845
+ },
846
+ "thresholdsStyle": {
847
+ "mode": "off"
848
+ }
849
+ },
850
+ "mappings": [],
851
+ "thresholds": {
852
+ "mode": "absolute",
853
+ "steps": [
854
+ {
855
+ "color": "green"
856
+ },
857
+ {
858
+ "color": "red",
859
+ "value": 80
860
+ }
861
+ ]
862
+ }
863
+ },
864
+ "overrides": []
865
+ },
866
+ "gridPos": {
867
+ "h": 8,
868
+ "w": 12,
869
+ "x": 12,
870
+ "y": 8
871
+ },
872
+ "id": 4,
873
+ "options": {
874
+ "barRadius": 0,
875
+ "barWidth": 0.97,
876
+ "fullHighlight": false,
877
+ "groupWidth": 0.7,
878
+ "legend": {
879
+ "calcs": [],
880
+ "displayMode": "list",
881
+ "placement": "bottom",
882
+ "showLegend": true
883
+ },
884
+ "orientation": "auto",
885
+ "showValue": "auto",
886
+ "stacking": "none",
887
+ "tooltip": {
888
+ "hideZeros": false,
889
+ "mode": "single",
890
+ "sort": "none"
891
+ },
892
+ "xTickLabelRotation": 0,
893
+ "xTickLabelSpacing": 0
894
+ },
895
+ "pluginVersion": "11.6.0-84846",
896
+ "targets": [
897
+ {
898
+ "columns": [],
899
+ "csv_options": {
900
+ "delimiter": ";"
901
+ },
902
+ "datasource": {
903
+ "type": "yesoreyeram-infinity-datasource",
904
+ "uid": "grafanacloud-infinity"
905
+ },
906
+ "filters": [],
907
+ "format": "table",
908
+ "global_query_id": "",
909
+ "parser": "backend",
910
+ "refId": "A",
911
+ "root_selector": "",
912
+ "source": "url",
913
+ "type": "csv",
914
+ "url": "https://meta.decidim.org/open-data/download/proposals",
915
+ "url_options": {
916
+ "data": "",
917
+ "method": "GET"
918
+ }
919
+ }
920
+ ],
921
+ "title": "Metadecidim proposals states",
922
+ "transformations": [
923
+ {
924
+ "id": "organize",
925
+ "options": {
926
+ "excludeByName": {
927
+ "address": true,
928
+ "answer/ca": true,
929
+ "answer/cs": true,
930
+ "answer/de": true,
931
+ "answer/en": true,
932
+ "answer/es": true,
933
+ "answer/eu": true,
934
+ "answer/fi": true,
935
+ "answer/fr": true,
936
+ "answer/it": true,
937
+ "answer/ja": true,
938
+ "answer/nl": true,
939
+ "answer/pl": true,
940
+ "answer/pt": true,
941
+ "answer/ro": true,
942
+ "answered_at": true,
943
+ "attachments": true,
944
+ "author/id": true,
945
+ "author/name": true,
946
+ "author/url": true,
947
+ "body/ca": true,
948
+ "body/en": true,
949
+ "body/es": true,
950
+ "coauthorships_count": true,
951
+ "comments": true,
952
+ "component/id": true,
953
+ "cost": true,
954
+ "cost_report": true,
955
+ "created_at": true,
956
+ "created_in_meeting": true,
957
+ "endorsements/total_count": true,
958
+ "endorsements/user_endorsements": true,
959
+ "execution_period": true,
960
+ "follows_count": true,
961
+ "id": true,
962
+ "is_amend": true,
963
+ "latitude": true,
964
+ "longitude": true,
965
+ "meeting_urls": true,
966
+ "original_proposal/title": true,
967
+ "original_proposal/title/en": true,
968
+ "original_proposal/title/es": true,
969
+ "original_proposal/url": true,
970
+ "participatory_space/id": true,
971
+ "participatory_space/url": true,
972
+ "published_at": true,
973
+ "reference": true,
974
+ "related_proposals": true,
975
+ "state": false,
976
+ "state_published_at": true,
977
+ "taxonomies/840/ca": true,
978
+ "taxonomies/840/en": true,
979
+ "taxonomies/840/es": true,
980
+ "taxonomies/841/ca": true,
981
+ "taxonomies/841/en": true,
982
+ "taxonomies/841/es": true,
983
+ "taxonomies/842/ca": true,
984
+ "taxonomies/842/en": true,
985
+ "taxonomies/842/es": true,
986
+ "taxonomies/843/ca": true,
987
+ "taxonomies/843/en": true,
988
+ "taxonomies/843/es": true,
989
+ "taxonomies/844/ca": true,
990
+ "taxonomies/844/en": true,
991
+ "taxonomies/844/es": true,
992
+ "taxonomies/845/ca": true,
993
+ "taxonomies/845/en": true,
994
+ "taxonomies/845/es": true,
995
+ "taxonomies/851/ca": true,
996
+ "taxonomies/851/en": true,
997
+ "taxonomies/851/es": true,
998
+ "taxonomies/852/ca": true,
999
+ "taxonomies/852/en": true,
1000
+ "taxonomies/852/es": true,
1001
+ "taxonomies/853/ca": true,
1002
+ "taxonomies/853/en": true,
1003
+ "taxonomies/853/es": true,
1004
+ "taxonomies/ids": true,
1005
+ "title/ca": true,
1006
+ "title/en": true,
1007
+ "title/es": true,
1008
+ "updated_at": true,
1009
+ "url": true,
1010
+ "votes": true,
1011
+ "withdrawn": true,
1012
+ "withdrawn_at": true
1013
+ },
1014
+ "includeByName": {},
1015
+ "indexByName": {},
1016
+ "renameByName": {}
1017
+ }
1018
+ },
1019
+ {
1020
+ "id": "filterByValue",
1021
+ "options": {
1022
+ "filters": [
1023
+ {
1024
+ "config": {
1025
+ "id": "isNotNull",
1026
+ "options": {}
1027
+ },
1028
+ "fieldName": "state"
1029
+ },
1030
+ {
1031
+ "config": {
1032
+ "id": "notEqual",
1033
+ "options": {
1034
+ "value": ""
1035
+ }
1036
+ },
1037
+ "fieldName": "state"
1038
+ }
1039
+ ],
1040
+ "match": "all",
1041
+ "type": "include"
1042
+ }
1043
+ },
1044
+ {
1045
+ "id": "calculateField",
1046
+ "options": {
1047
+ "binary": {
1048
+ "left": {
1049
+ "matcher": {
1050
+ "id": "byName",
1051
+ "options": "state"
1052
+ }
1053
+ },
1054
+ "operator": "/",
1055
+ "right": {
1056
+ "matcher": {
1057
+ "id": "byName",
1058
+ "options": "state"
1059
+ }
1060
+ }
1061
+ },
1062
+ "mode": "index",
1063
+ "reduce": {
1064
+ "reducer": "sum"
1065
+ }
1066
+ }
1067
+ },
1068
+ {
1069
+ "id": "groupBy",
1070
+ "options": {
1071
+ "fields": {
1072
+ "Row": {
1073
+ "aggregations": [
1074
+ "count"
1075
+ ],
1076
+ "operation": "aggregate"
1077
+ },
1078
+ "state": {
1079
+ "aggregations": [],
1080
+ "operation": "groupby"
1081
+ }
1082
+ }
1083
+ }
1084
+ }
1085
+ ],
1086
+ "type": "barchart"
1087
+ }
1088
+ ],
1089
+ "preload": false,
1090
+ "schemaVersion": 41,
1091
+ "tags": [
1092
+ "decidim"
1093
+ ],
1094
+ "templating": {
1095
+ "list": []
1096
+ },
1097
+ "time": {
1098
+ "from": "now-1y/y",
1099
+ "to": "now-1y/y"
1100
+ },
1101
+ "timepicker": {},
1102
+ "timezone": "browser",
1103
+ "title": "Metadecidim - CSV example",
1104
+ "uid": "aef181rx7yvpcc",
1105
+ "version": 13
1106
+ }