decidim-verifications 0.28.2 → 0.29.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/app/commands/decidim/verifications/revoke_by_condition_authorizations.rb +3 -3
- data/app/controllers/concerns/decidim/admin/workflows_breadcrumb.rb +1 -1
- data/app/controllers/decidim/verifications/admin/verifications_controller.rb +1 -1
- data/app/forms/decidim/verifications/csv_census/admin/census_data_form.rb +1 -1
- data/app/models/decidim/verifications/csv_census/data.rb +1 -1
- data/app/services/decidim/authorization_handler.rb +1 -1
- data/app/views/decidim/verifications/id_documents/admin/confirmations/new.html.erb +1 -1
- data/config/locales/ar.yml +0 -2
- data/config/locales/bg.yml +20 -1
- data/config/locales/ca.yml +19 -0
- data/config/locales/cs.yml +6 -3
- data/config/locales/de.yml +20 -1
- data/config/locales/el.yml +0 -2
- data/config/locales/en.yml +22 -3
- data/config/locales/es-MX.yml +20 -1
- data/config/locales/es-PY.yml +20 -1
- data/config/locales/es.yml +20 -1
- data/config/locales/eu.yml +21 -2
- data/config/locales/fi-plain.yml +20 -1
- data/config/locales/fi.yml +20 -1
- data/config/locales/fr-CA.yml +21 -2
- data/config/locales/fr.yml +21 -2
- data/config/locales/gl.yml +0 -2
- data/config/locales/hu.yml +0 -4
- data/config/locales/id-ID.yml +0 -2
- data/config/locales/it.yml +0 -2
- data/config/locales/ja.yml +22 -3
- data/config/locales/lt.yml +0 -4
- data/config/locales/lv.yml +0 -2
- data/config/locales/nl.yml +0 -2
- data/config/locales/no.yml +0 -2
- data/config/locales/pl.yml +22 -3
- data/config/locales/pt-BR.yml +0 -4
- data/config/locales/pt.yml +0 -2
- data/config/locales/ro-RO.yml +0 -2
- data/config/locales/sk.yml +0 -2
- data/config/locales/sv.yml +0 -2
- data/config/locales/tr-TR.yml +0 -2
- data/config/locales/zh-CN.yml +0 -2
- data/config/locales/zh-TW.yml +0 -4
- data/decidim-verifications.gemspec +1 -1
- data/lib/decidim/verifications/adapter.rb +9 -0
- data/lib/decidim/verifications/default_action_authorizer.rb +1 -1
- data/lib/decidim/verifications/version.rb +1 -1
- data/lib/decidim/verifications/workflows.rb +2 -2
- metadata +11 -12
- data/app/uploaders/decidim/cw/verifications/attachment_uploader.rb +0 -15
@@ -1,15 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Decidim::Cw
|
4
|
-
module Verifications
|
5
|
-
# This class deals with uploading identity documents.
|
6
|
-
class AttachmentUploader < Decidim::Cw::ImageUploader
|
7
|
-
set_variants do
|
8
|
-
{
|
9
|
-
thumbnail: { resize_to_limit: [90, nil] },
|
10
|
-
big: { resize_to_limit: [600, nil] }
|
11
|
-
}
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|