decidim-verifications 0.23.1 → 0.24.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/app/commands/decidim/verifications/authorize_user.rb +30 -1
  4. data/app/commands/decidim/verifications/csv_census/admin/create_census_data.rb +2 -0
  5. data/app/commands/decidim/verifications/id_documents/admin/confirm_user_offline_authorization.rb +2 -2
  6. data/app/controllers/decidim/verifications/id_documents/admin/pending_authorizations_controller.rb +1 -1
  7. data/app/events/decidim/verifications/managed_user_error_event.rb +39 -0
  8. data/app/forms/decidim/verifications/sms/mobile_phone_form.rb +1 -1
  9. data/app/models/decidim/verifications/conflict.rb +8 -0
  10. data/app/models/decidim/verifications/csv_census/data.rb +1 -0
  11. data/app/queries/decidim/verifications/authorizations.rb +3 -2
  12. data/app/queries/decidim/verifications/authorizations_before_date.rb +5 -7
  13. data/app/services/decidim/authorization_handler.rb +1 -1
  14. data/app/views/decidim/verifications/authorizations/index.html.erb +3 -3
  15. data/app/views/dummy_authorization/_form.html.erb +2 -2
  16. data/config/locales/ar.yml +0 -9
  17. data/config/locales/ca.yml +13 -5
  18. data/config/locales/cs.yml +35 -25
  19. data/config/locales/de.yml +15 -7
  20. data/config/locales/el.yml +0 -9
  21. data/config/locales/en.yml +14 -6
  22. data/config/locales/es-MX.yml +14 -6
  23. data/config/locales/es-PY.yml +14 -6
  24. data/config/locales/es.yml +14 -6
  25. data/config/locales/eu.yml +0 -9
  26. data/config/locales/fi-plain.yml +13 -5
  27. data/config/locales/fi.yml +13 -5
  28. data/config/locales/fr-CA.yml +13 -5
  29. data/config/locales/fr.yml +13 -5
  30. data/config/locales/gl.yml +44 -15
  31. data/config/locales/hu.yml +0 -8
  32. data/config/locales/id-ID.yml +0 -9
  33. data/config/locales/is-IS.yml +0 -3
  34. data/config/locales/it.yml +0 -9
  35. data/config/locales/ja.yml +0 -9
  36. data/config/locales/lv.yml +0 -9
  37. data/config/locales/nl.yml +10 -6
  38. data/config/locales/no.yml +0 -9
  39. data/config/locales/pl.yml +17 -7
  40. data/config/locales/pt-BR.yml +0 -9
  41. data/config/locales/pt.yml +0 -9
  42. data/config/locales/ro-RO.yml +0 -9
  43. data/config/locales/ru.yml +0 -3
  44. data/config/locales/si-LK.yml +1 -0
  45. data/config/locales/sk.yml +0 -9
  46. data/config/locales/sv.yml +0 -9
  47. data/config/locales/sw-KE.yml +1 -0
  48. data/config/locales/tr-TR.yml +68 -42
  49. data/config/locales/uk.yml +0 -3
  50. data/config/locales/zh-CN.yml +0 -9
  51. data/db/migrate/20201028161118_create_decidim_verifications_conflicts.rb +15 -0
  52. data/lib/decidim/verifications/default_action_authorizer.rb +5 -5
  53. data/lib/decidim/verifications/test/factories.rb +7 -0
  54. data/lib/decidim/verifications/version.rb +1 -1
  55. metadata +20 -15
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-verifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.1
4
+ version: 0.24.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rodriguez
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-12 00:00:00.000000000 Z
11
+ date: 2021-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.23.1
19
+ version: 0.24.0.rc2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.23.1
26
+ version: 0.24.0.rc2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-admin
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.23.1
33
+ version: 0.24.0.rc2
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.23.1
40
+ version: 0.24.0.rc2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-dev
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.23.1
47
+ version: 0.24.0.rc2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.23.1
54
+ version: 0.24.0.rc2
55
55
  description: Several verification methods for your decidim instance
56
56
  email:
57
57
  - deivid.rodriguez@riseup.net
@@ -91,6 +91,7 @@ files:
91
91
  - app/controllers/decidim/verifications/postal_letter/admin/postages_controller.rb
92
92
  - app/controllers/decidim/verifications/postal_letter/authorizations_controller.rb
93
93
  - app/controllers/decidim/verifications/sms/authorizations_controller.rb
94
+ - app/events/decidim/verifications/managed_user_error_event.rb
94
95
  - app/forms/decidim/verifications/admin/revocations_before_date_form.rb
95
96
  - app/forms/decidim/verifications/csv_census/admin/census_data_form.rb
96
97
  - app/forms/decidim/verifications/csv_census/census_form.rb
@@ -107,6 +108,7 @@ files:
107
108
  - app/jobs/decidim/verifications/csv_census/application_job.rb
108
109
  - app/jobs/decidim/verifications/csv_census/remove_duplicates_job.rb
109
110
  - app/models/decidim/verifications/application_record.rb
111
+ - app/models/decidim/verifications/conflict.rb
110
112
  - app/models/decidim/verifications/csv_census/data.rb
111
113
  - app/models/decidim/verifications/csv_census/status.rb
112
114
  - app/models/decidim/verifications/csv_datum.rb
@@ -190,12 +192,14 @@ files:
190
192
  - config/locales/pt.yml
191
193
  - config/locales/ro-RO.yml
192
194
  - config/locales/ru.yml
195
+ - config/locales/si-LK.yml
193
196
  - config/locales/sk-SK.yml
194
197
  - config/locales/sk.yml
195
198
  - config/locales/sl.yml
196
199
  - config/locales/so-SO.yml
197
200
  - config/locales/sr-CS.yml
198
201
  - config/locales/sv.yml
202
+ - config/locales/sw-KE.yml
199
203
  - config/locales/ti-ER.yml
200
204
  - config/locales/tr-TR.yml
201
205
  - config/locales/uk.yml
@@ -205,6 +209,7 @@ files:
205
209
  - config/locales/zh-TW.yml
206
210
  - db/migrate/20171030133426_move_authorizations_to_new_api.rb
207
211
  - db/migrate/20181227135423_create_decidim_verifications_csv_data.rb
212
+ - db/migrate/20201028161118_create_decidim_verifications_conflicts.rb
208
213
  - lib/decidim/verifications.rb
209
214
  - lib/decidim/verifications/adapter.rb
210
215
  - lib/decidim/verifications/csv_census.rb
@@ -236,7 +241,7 @@ homepage: https://github.com/decidim/decidim
236
241
  licenses:
237
242
  - AGPL-3.0
238
243
  metadata: {}
239
- post_install_message:
244
+ post_install_message:
240
245
  rdoc_options: []
241
246
  require_paths:
242
247
  - lib
@@ -244,15 +249,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
249
  requirements:
245
250
  - - ">="
246
251
  - !ruby/object:Gem::Version
247
- version: '0'
252
+ version: '2.7'
248
253
  required_rubygems_version: !ruby/object:Gem::Requirement
249
254
  requirements:
250
- - - ">="
255
+ - - ">"
251
256
  - !ruby/object:Gem::Version
252
- version: '0'
257
+ version: 1.3.1
253
258
  requirements: []
254
- rubygems_version: 3.0.3
255
- signing_key:
259
+ rubygems_version: 3.1.2
260
+ signing_key:
256
261
  specification_version: 4
257
262
  summary: Decidim verifications module
258
263
  test_files: []