decidim 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/docs/advanced/endorsable.md +1 -1
- data/docs/advanced/fixing_locales.md +88 -0
- data/docs/advanced/how_to_fix_metrics.md +2 -2
- data/docs/advanced/machine_translation_service.md +12 -0
- data/docs/advanced/profiling.md +43 -0
- data/docs/advanced/releases.md +28 -19
- data/docs/advanced/share_tokens.md +53 -0
- data/docs/advanced/templates.md +56 -0
- data/docs/customization/machine_translations.md +30 -0
- data/docs/customization/maps.md +610 -0
- data/docs/development_guide.md +27 -10
- data/docs/getting_started.md +3 -1
- data/docs/services/elections_bulletin_board.md +38 -0
- data/docs/services/maps.md +362 -0
- data/lib/decidim/version.rb +1 -1
- metadata +65 -43
- data/docs/services/geocoding.md +0 -34
data/lib/decidim/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-11-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-accountability
|
@@ -18,266 +18,280 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.23.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.23.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-admin
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.23.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.23.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-api
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.23.0
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.
|
56
|
+
version: 0.23.0
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: decidim-assemblies
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
63
|
+
version: 0.23.0
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.
|
70
|
+
version: 0.23.0
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: decidim-blogs
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
77
|
+
version: 0.23.0
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.
|
84
|
+
version: 0.23.0
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: decidim-budgets
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
91
|
+
version: 0.23.0
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - '='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.
|
98
|
+
version: 0.23.0
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: decidim-comments
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
103
|
- - '='
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.
|
105
|
+
version: 0.23.0
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - '='
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.
|
112
|
+
version: 0.23.0
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: decidim-core
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
117
|
- - '='
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
119
|
+
version: 0.23.0
|
120
120
|
type: :runtime
|
121
121
|
prerelease: false
|
122
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
124
|
- - '='
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: 0.
|
126
|
+
version: 0.23.0
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: decidim-debates
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
131
|
- - '='
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0.
|
133
|
+
version: 0.23.0
|
134
134
|
type: :runtime
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
138
|
- - '='
|
139
139
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.
|
140
|
+
version: 0.23.0
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: decidim-forms
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - '='
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version: 0.
|
147
|
+
version: 0.23.0
|
148
148
|
type: :runtime
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
152
|
- - '='
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version: 0.
|
154
|
+
version: 0.23.0
|
155
155
|
- !ruby/object:Gem::Dependency
|
156
156
|
name: decidim-generators
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
159
|
- - '='
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.
|
161
|
+
version: 0.23.0
|
162
162
|
type: :runtime
|
163
163
|
prerelease: false
|
164
164
|
version_requirements: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
166
|
- - '='
|
167
167
|
- !ruby/object:Gem::Version
|
168
|
-
version: 0.
|
168
|
+
version: 0.23.0
|
169
169
|
- !ruby/object:Gem::Dependency
|
170
170
|
name: decidim-meetings
|
171
171
|
requirement: !ruby/object:Gem::Requirement
|
172
172
|
requirements:
|
173
173
|
- - '='
|
174
174
|
- !ruby/object:Gem::Version
|
175
|
-
version: 0.
|
175
|
+
version: 0.23.0
|
176
176
|
type: :runtime
|
177
177
|
prerelease: false
|
178
178
|
version_requirements: !ruby/object:Gem::Requirement
|
179
179
|
requirements:
|
180
180
|
- - '='
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: 0.
|
182
|
+
version: 0.23.0
|
183
183
|
- !ruby/object:Gem::Dependency
|
184
184
|
name: decidim-pages
|
185
185
|
requirement: !ruby/object:Gem::Requirement
|
186
186
|
requirements:
|
187
187
|
- - '='
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version: 0.
|
189
|
+
version: 0.23.0
|
190
190
|
type: :runtime
|
191
191
|
prerelease: false
|
192
192
|
version_requirements: !ruby/object:Gem::Requirement
|
193
193
|
requirements:
|
194
194
|
- - '='
|
195
195
|
- !ruby/object:Gem::Version
|
196
|
-
version: 0.
|
196
|
+
version: 0.23.0
|
197
197
|
- !ruby/object:Gem::Dependency
|
198
198
|
name: decidim-participatory_processes
|
199
199
|
requirement: !ruby/object:Gem::Requirement
|
200
200
|
requirements:
|
201
201
|
- - '='
|
202
202
|
- !ruby/object:Gem::Version
|
203
|
-
version: 0.
|
203
|
+
version: 0.23.0
|
204
204
|
type: :runtime
|
205
205
|
prerelease: false
|
206
206
|
version_requirements: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
208
|
- - '='
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version: 0.
|
210
|
+
version: 0.23.0
|
211
211
|
- !ruby/object:Gem::Dependency
|
212
212
|
name: decidim-proposals
|
213
213
|
requirement: !ruby/object:Gem::Requirement
|
214
214
|
requirements:
|
215
215
|
- - '='
|
216
216
|
- !ruby/object:Gem::Version
|
217
|
-
version: 0.
|
217
|
+
version: 0.23.0
|
218
218
|
type: :runtime
|
219
219
|
prerelease: false
|
220
220
|
version_requirements: !ruby/object:Gem::Requirement
|
221
221
|
requirements:
|
222
222
|
- - '='
|
223
223
|
- !ruby/object:Gem::Version
|
224
|
-
version: 0.
|
224
|
+
version: 0.23.0
|
225
225
|
- !ruby/object:Gem::Dependency
|
226
226
|
name: decidim-sortitions
|
227
227
|
requirement: !ruby/object:Gem::Requirement
|
228
228
|
requirements:
|
229
229
|
- - '='
|
230
230
|
- !ruby/object:Gem::Version
|
231
|
-
version: 0.
|
231
|
+
version: 0.23.0
|
232
232
|
type: :runtime
|
233
233
|
prerelease: false
|
234
234
|
version_requirements: !ruby/object:Gem::Requirement
|
235
235
|
requirements:
|
236
236
|
- - '='
|
237
237
|
- !ruby/object:Gem::Version
|
238
|
-
version: 0.
|
238
|
+
version: 0.23.0
|
239
239
|
- !ruby/object:Gem::Dependency
|
240
240
|
name: decidim-surveys
|
241
241
|
requirement: !ruby/object:Gem::Requirement
|
242
242
|
requirements:
|
243
243
|
- - '='
|
244
244
|
- !ruby/object:Gem::Version
|
245
|
-
version: 0.
|
245
|
+
version: 0.23.0
|
246
246
|
type: :runtime
|
247
247
|
prerelease: false
|
248
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
250
|
- - '='
|
251
251
|
- !ruby/object:Gem::Version
|
252
|
-
version: 0.
|
252
|
+
version: 0.23.0
|
253
253
|
- !ruby/object:Gem::Dependency
|
254
254
|
name: decidim-system
|
255
255
|
requirement: !ruby/object:Gem::Requirement
|
256
256
|
requirements:
|
257
257
|
- - '='
|
258
258
|
- !ruby/object:Gem::Version
|
259
|
-
version: 0.
|
259
|
+
version: 0.23.0
|
260
260
|
type: :runtime
|
261
261
|
prerelease: false
|
262
262
|
version_requirements: !ruby/object:Gem::Requirement
|
263
263
|
requirements:
|
264
264
|
- - '='
|
265
265
|
- !ruby/object:Gem::Version
|
266
|
-
version: 0.
|
266
|
+
version: 0.23.0
|
267
|
+
- !ruby/object:Gem::Dependency
|
268
|
+
name: decidim-templates
|
269
|
+
requirement: !ruby/object:Gem::Requirement
|
270
|
+
requirements:
|
271
|
+
- - '='
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: 0.23.0
|
274
|
+
type: :runtime
|
275
|
+
prerelease: false
|
276
|
+
version_requirements: !ruby/object:Gem::Requirement
|
277
|
+
requirements:
|
278
|
+
- - '='
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: 0.23.0
|
267
281
|
- !ruby/object:Gem::Dependency
|
268
282
|
name: decidim-verifications
|
269
283
|
requirement: !ruby/object:Gem::Requirement
|
270
284
|
requirements:
|
271
285
|
- - '='
|
272
286
|
- !ruby/object:Gem::Version
|
273
|
-
version: 0.
|
287
|
+
version: 0.23.0
|
274
288
|
type: :runtime
|
275
289
|
prerelease: false
|
276
290
|
version_requirements: !ruby/object:Gem::Requirement
|
277
291
|
requirements:
|
278
292
|
- - '='
|
279
293
|
- !ruby/object:Gem::Version
|
280
|
-
version: 0.
|
294
|
+
version: 0.23.0
|
281
295
|
- !ruby/object:Gem::Dependency
|
282
296
|
name: bundler
|
283
297
|
requirement: !ruby/object:Gem::Requirement
|
@@ -344,9 +358,11 @@ files:
|
|
344
358
|
- docs/advanced/deploy.md
|
345
359
|
- docs/advanced/embeddable.md
|
346
360
|
- docs/advanced/endorsable.md
|
361
|
+
- docs/advanced/fixing_locales.md
|
347
362
|
- docs/advanced/followers.md
|
348
363
|
- docs/advanced/how_to_create_a_module.md
|
349
364
|
- docs/advanced/how_to_fix_metrics.md
|
365
|
+
- docs/advanced/machine_translation_service.md
|
350
366
|
- docs/advanced/managing_translations_i18n.md
|
351
367
|
- docs/advanced/metrics.md
|
352
368
|
- docs/advanced/modules.md
|
@@ -354,7 +370,10 @@ files:
|
|
354
370
|
- docs/advanced/notifications.md
|
355
371
|
- docs/advanced/open-data.md
|
356
372
|
- docs/advanced/permissions.md
|
373
|
+
- docs/advanced/profiling.md
|
357
374
|
- docs/advanced/releases.md
|
375
|
+
- docs/advanced/share_tokens.md
|
376
|
+
- docs/advanced/templates.md
|
358
377
|
- docs/advanced/testing.md
|
359
378
|
- docs/advanced/tradeoffs.md
|
360
379
|
- docs/advanced/view_hooks.md
|
@@ -365,6 +384,8 @@ files:
|
|
365
384
|
- docs/customization/gemfile.md
|
366
385
|
- docs/customization/images.md
|
367
386
|
- docs/customization/javascript.md
|
387
|
+
- docs/customization/machine_translations.md
|
388
|
+
- docs/customization/maps.md
|
368
389
|
- docs/customization/oauth.md
|
369
390
|
- docs/customization/styles.md
|
370
391
|
- docs/customization/texts.md
|
@@ -376,8 +397,9 @@ files:
|
|
376
397
|
- docs/possible_flows_for_proposal.png
|
377
398
|
- docs/services/activejob.md
|
378
399
|
- docs/services/analytics.md
|
400
|
+
- docs/services/elections_bulletin_board.md
|
379
401
|
- docs/services/etherpad.md
|
380
|
-
- docs/services/
|
402
|
+
- docs/services/maps.md
|
381
403
|
- docs/services/social_providers.md
|
382
404
|
- lib/decidim.rb
|
383
405
|
- lib/decidim/gem_manager.rb
|
@@ -394,14 +416,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
394
416
|
requirements:
|
395
417
|
- - ">="
|
396
418
|
- !ruby/object:Gem::Version
|
397
|
-
version: '2.
|
419
|
+
version: '2.6'
|
398
420
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
399
421
|
requirements:
|
400
422
|
- - ">="
|
401
423
|
- !ruby/object:Gem::Version
|
402
424
|
version: '0'
|
403
425
|
requirements: []
|
404
|
-
rubygems_version: 3.
|
426
|
+
rubygems_version: 3.0.3
|
405
427
|
signing_key:
|
406
428
|
specification_version: 4
|
407
429
|
summary: Citizen participation framework for Ruby on Rails.
|
data/docs/services/geocoding.md
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# Geocoding
|
2
|
-
|
3
|
-
## Configuring geocoding
|
4
|
-
|
5
|
-
Decidim has the ability to geocode proposals and meetings using Open Street Maps, for instance, you can use [Here](http://here.com) service. We can't use the OSM server by their [tile usage policy](https://operations.osmfoundation.org/policies/tiles/). As an alternative, you may also want to use your own [self-hosted tile server](https://opentileserver.org/).
|
6
|
-
|
7
|
-
After generating your app, you'll see that your `config/initializers/decidim.rb` file has come commented code about geocoding:
|
8
|
-
|
9
|
-
```ruby
|
10
|
-
# Geocoder configuration
|
11
|
-
# config.geocoder = {
|
12
|
-
# static_map_url: "https://image.maps.ls.hereapi.com/mia/1.6/mapview",
|
13
|
-
# here_api_key: Rails.application.secrets.geocoder[:here_api_key]
|
14
|
-
# }
|
15
|
-
```
|
16
|
-
|
17
|
-
If you want to enable geocoding in your app:
|
18
|
-
|
19
|
-
1. Uncomment or add the previous code in your `config/initializers/decidim.rb`.
|
20
|
-
1. Make sure your `config/secrets.yml` file has the needed section (it should be added by the generator automatically).
|
21
|
-
1. Get your app ID and code from Here.com and set them as environment variables, as required by your `config/secrets.yml` file.
|
22
|
-
1. If you had your Rails server running, restart it so the changes apply.
|
23
|
-
|
24
|
-
## Enabling geocoding
|
25
|
-
|
26
|
-
Once geocoding is configured, you'll need to activate it. As of April 2017, only proposals and meetings have geocoding.
|
27
|
-
|
28
|
-
### Proposals
|
29
|
-
|
30
|
-
In order to enable geocoding for proposals you'll need to edit the feature configuration and set the global flag to true. This works for that specific component, so you can have geocoding enabled for meetings in a participatory process, and disabled for another one.
|
31
|
-
|
32
|
-
### Meetings
|
33
|
-
|
34
|
-
Meetings do not have a configuration option for geocoding. Instead, if geocoding is configured it will try to geocode the address every time you create or update a meeting.. As of April 2017 there's no way to enable or disable geocoding per meetings component.
|