decidim-verifications 0.31.4 → 0.32.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.
- checksums.yaml +4 -4
- data/README.md +7 -13
- data/app/controllers/concerns/decidim/verifications/renewable.rb +1 -0
- data/app/controllers/decidim/verifications/application_controller.rb +2 -3
- data/app/controllers/decidim/verifications/authorizations_controller.rb +4 -3
- data/app/controllers/decidim/verifications/csv_census/admin/census_records_controller.rb +2 -2
- data/app/controllers/decidim/verifications/id_documents/admin/config_controller.rb +1 -1
- data/app/controllers/decidim/verifications/id_documents/admin/confirmations_controller.rb +1 -1
- data/app/controllers/decidim/verifications/id_documents/admin/offline_confirmations_controller.rb +1 -1
- data/app/controllers/decidim/verifications/id_documents/authorizations_controller.rb +2 -2
- data/app/controllers/decidim/verifications/postal_letter/admin/postages_controller.rb +1 -1
- data/app/controllers/decidim/verifications/postal_letter/authorizations_controller.rb +2 -2
- data/app/controllers/decidim/verifications/sms/authorizations_controller.rb +2 -2
- data/app/forms/decidim/verifications/csv_census/admin/census_data_form.rb +1 -0
- data/app/forms/decidim/verifications/id_documents/admin/config_form.rb +1 -0
- data/app/views/decidim/verifications/csv_census/admin/census/index.html.erb +2 -2
- data/app/views/decidim/verifications/csv_census/admin/census/instructions.html.erb +4 -3
- data/app/views/decidim/verifications/id_documents/admin/confirmations/new.html.erb +2 -2
- data/app/views/decidim/verifications/id_documents/admin/offline_confirmations/new.html.erb +2 -2
- data/app/views/dummy_authorization/_form.html.erb +3 -3
- data/config/locales/ar.yml +8 -9
- data/config/locales/bg.yml +21 -22
- data/config/locales/ca-IT.yml +31 -32
- data/config/locales/ca.yml +31 -32
- data/config/locales/cs.yml +25 -26
- data/config/locales/de.yml +25 -26
- data/config/locales/el.yml +8 -9
- data/config/locales/en.yml +6 -6
- data/config/locales/es-MX.yml +31 -32
- data/config/locales/es-PY.yml +31 -32
- data/config/locales/es.yml +31 -32
- data/config/locales/eu.yml +31 -32
- data/config/locales/fi-plain.yml +31 -32
- data/config/locales/fi.yml +31 -32
- data/config/locales/fr-CA.yml +25 -26
- data/config/locales/fr.yml +25 -26
- data/config/locales/ga-IE.yml +0 -1
- data/config/locales/gl.yml +8 -9
- data/config/locales/hu.yml +10 -11
- data/config/locales/id-ID.yml +8 -9
- data/config/locales/is-IS.yml +9 -10
- data/config/locales/it.yml +8 -9
- data/config/locales/ja.yml +31 -32
- data/config/locales/lb.yml +0 -1
- data/config/locales/lt.yml +10 -11
- data/config/locales/lv.yml +8 -9
- data/config/locales/nl.yml +8 -9
- data/config/locales/no.yml +8 -9
- data/config/locales/pl.yml +21 -22
- data/config/locales/pt-BR.yml +27 -28
- data/config/locales/pt.yml +8 -9
- data/config/locales/ro-RO.yml +8 -9
- data/config/locales/ru.yml +8 -9
- data/config/locales/sk.yml +8 -9
- data/config/locales/sl.yml +0 -1
- data/config/locales/sv.yml +25 -26
- data/config/locales/tr-TR.yml +8 -9
- data/config/locales/uk.yml +8 -9
- data/config/locales/zh-CN.yml +8 -9
- data/config/locales/zh-TW.yml +10 -11
- data/decidim-verifications.gemspec +7 -8
- data/lib/decidim/verifications/adapter.rb +12 -1
- data/lib/decidim/verifications/engine.rb +11 -3
- data/lib/decidim/verifications/version.rb +1 -1
- data/lib/decidim/verifications.rb +8 -3
- metadata +10 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18eeb490e000d6bdf84f6a1745e60fd21d005e88c2a9bb16a8e660b6b090ea2b
|
|
4
|
+
data.tar.gz: 82511430b2884829f35dae429c9bc611bf14c88f16f4328fa9d3a87e87dc560e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '096de425a399c348ec3f0964d53a484310686280b3ed1d28de458566585b7f65ea0b9bf306eb9706cbd37062c498661bcdfe0080f1a0875c0304d7c946cfeb34'
|
|
7
|
+
data.tar.gz: 5a7f737b1c79c194e1c859c5ef83c5fb07bf8fc2fae183ec3994fc60b27474f36e7590c8f0b188f707d1c7e29f1a0fb8e5cea4d9f765ea7ebdaf31de7cc22426
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# decidim-verifications
|
|
2
2
|
|
|
3
3
|
Decidim offers several methods for allowing participants to get authorization to
|
|
4
4
|
perform certain privileged actions. This module implements several of those methods
|
|
@@ -23,6 +23,10 @@ There are several use cases for this, such as
|
|
|
23
23
|
Right now Decidim supports only a few of these cases, but we have an internal
|
|
24
24
|
API where you can program your own kind of authorizations.
|
|
25
25
|
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
This is a module oriented for developers, as a building block to be used by other modules.
|
|
29
|
+
|
|
26
30
|
## Introduction
|
|
27
31
|
|
|
28
32
|
Each decidim instance is in full control of its authorizations, and can customize:
|
|
@@ -151,7 +155,7 @@ In order to setup Decidim with SMS verification you need to:
|
|
|
151
155
|
Keep in mind that Decidim will not store a free text version of the mobile phone, only a hashed
|
|
152
156
|
version so we can avoid duplicates and guarantee the users' privacy.
|
|
153
157
|
|
|
154
|
-
You can find an example [
|
|
158
|
+
You can find an example in the [example SMS gateway implementation][example SMS gateway].
|
|
155
159
|
|
|
156
160
|
## Authorization options
|
|
157
161
|
|
|
@@ -243,17 +247,7 @@ authorization.
|
|
|
243
247
|
|
|
244
248
|
## Installation
|
|
245
249
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
```ruby
|
|
249
|
-
gem 'decidim-verifications'
|
|
250
|
-
```
|
|
251
|
-
|
|
252
|
-
And then execute:
|
|
253
|
-
|
|
254
|
-
```bash
|
|
255
|
-
bundle
|
|
256
|
-
```
|
|
250
|
+
This is on the default Decidim installation so you should not change anything to use this feature.
|
|
257
251
|
|
|
258
252
|
## Contributing
|
|
259
253
|
|
|
@@ -27,9 +27,8 @@ module Decidim
|
|
|
27
27
|
def confirmed_user
|
|
28
28
|
return true if !current_user || (current_user && current_user.verifiable?)
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
alert: t(
|
|
30
|
+
redirect_back_or_to(
|
|
31
|
+
root_path, alert: t(
|
|
33
32
|
"authorizations.create.unconfirmed",
|
|
34
33
|
scope: "decidim.verifications"
|
|
35
34
|
)
|
|
@@ -14,6 +14,7 @@ module Decidim
|
|
|
14
14
|
include Decidim::UserProfile
|
|
15
15
|
include Decidim::HtmlSafeFlash
|
|
16
16
|
include Decidim::Verifications::Renewable
|
|
17
|
+
|
|
17
18
|
helper Decidim::DecidimFormHelper
|
|
18
19
|
helper Decidim::AuthorizationFormHelper
|
|
19
20
|
helper Decidim::TranslationsHelper
|
|
@@ -25,7 +26,7 @@ module Decidim
|
|
|
25
26
|
def index; end
|
|
26
27
|
|
|
27
28
|
def onboarding_pending
|
|
28
|
-
return
|
|
29
|
+
return redirect_back_or_to(authorizations_path) unless onboarding_manager.valid?
|
|
29
30
|
|
|
30
31
|
authorizations = action_authorized_to(onboarding_manager.action, **onboarding_manager.action_authorized_resources)
|
|
31
32
|
|
|
@@ -86,7 +87,7 @@ module Decidim
|
|
|
86
87
|
|
|
87
88
|
on(:invalid) do
|
|
88
89
|
flash[:alert] = t("authorizations.create.error", scope: "decidim.verifications")
|
|
89
|
-
render action: :new, status: :
|
|
90
|
+
render action: :new, status: :unprocessable_content
|
|
90
91
|
end
|
|
91
92
|
end
|
|
92
93
|
end
|
|
@@ -151,7 +152,7 @@ module Decidim
|
|
|
151
152
|
authorizations = action_authorized_to(onboarding_manager.action, **onboarding_manager.action_authorized_resources)
|
|
152
153
|
return unless authorizations.ephemeral?
|
|
153
154
|
|
|
154
|
-
form = Decidim::EphemeralUserForm.new(organization: current_organization
|
|
155
|
+
form = Decidim::EphemeralUserForm.new(organization: current_organization)
|
|
155
156
|
CreateEphemeralUser.call(form) do
|
|
156
157
|
on(:ok) do |ephemeral_user|
|
|
157
158
|
sign_in(ephemeral_user)
|
|
@@ -22,7 +22,7 @@ module Decidim
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
on(:invalid) do
|
|
25
|
-
render :new_record, status: :
|
|
25
|
+
render :new_record, status: :unprocessable_content
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -42,7 +42,7 @@ module Decidim
|
|
|
42
42
|
|
|
43
43
|
on(:invalid) do
|
|
44
44
|
flash.now[:alert] = I18n.t("census_records.update_record.invalid", scope: "decidim.verifications.csv_census.admin")
|
|
45
|
-
render action: "edit_record", status: :
|
|
45
|
+
render action: "edit_record", status: :unprocessable_content
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
end
|
|
@@ -33,7 +33,7 @@ module Decidim
|
|
|
33
33
|
|
|
34
34
|
on(:invalid) do
|
|
35
35
|
flash.now[:alert] = t("config.update.error", scope: "decidim.verifications.id_documents.admin")
|
|
36
|
-
render action: :edit, status: :
|
|
36
|
+
render action: :edit, status: :unprocessable_content
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
end
|
|
@@ -35,7 +35,7 @@ module Decidim
|
|
|
35
35
|
|
|
36
36
|
on(:invalid) do
|
|
37
37
|
flash.now[:alert] = t("confirmations.create.error", scope: "decidim.verifications.id_documents.admin")
|
|
38
|
-
render action: :new, status: :
|
|
38
|
+
render action: :new, status: :unprocessable_content
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
data/app/controllers/decidim/verifications/id_documents/admin/offline_confirmations_controller.rb
CHANGED
|
@@ -33,7 +33,7 @@ module Decidim
|
|
|
33
33
|
|
|
34
34
|
on(:invalid) do
|
|
35
35
|
flash.now[:alert] = t("offline_confirmations.create.error", scope: "decidim.verifications.id_documents.admin")
|
|
36
|
-
render action: :new, status: :
|
|
36
|
+
render action: :new, status: :unprocessable_content
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
39
|
end
|
|
@@ -42,7 +42,7 @@ module Decidim
|
|
|
42
42
|
|
|
43
43
|
on(:invalid) do
|
|
44
44
|
flash.now[:alert] = t("authorizations.create.error", scope: "decidim.verifications.id_documents")
|
|
45
|
-
render action: :new, status: :
|
|
45
|
+
render action: :new, status: :unprocessable_content
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
end
|
|
@@ -72,7 +72,7 @@ module Decidim
|
|
|
72
72
|
|
|
73
73
|
on(:invalid) do
|
|
74
74
|
flash.now[:alert] = t("authorizations.update.error", scope: "decidim.verifications.id_documents")
|
|
75
|
-
render action: :edit, status: :
|
|
75
|
+
render action: :edit, status: :unprocessable_content
|
|
76
76
|
end
|
|
77
77
|
end
|
|
78
78
|
end
|
|
@@ -28,7 +28,7 @@ module Decidim
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
on(:invalid) do
|
|
31
|
-
render json: { error: I18n.t("postages.create.error", scope: "decidim.verifications.postal_letter.admin") }, status: :
|
|
31
|
+
render json: { error: I18n.t("postages.create.error", scope: "decidim.verifications.postal_letter.admin") }, status: :unprocessable_content
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
end
|
|
@@ -29,7 +29,7 @@ module Decidim
|
|
|
29
29
|
|
|
30
30
|
on(:invalid) do
|
|
31
31
|
flash.now[:alert] = t("authorizations.create.error", scope: "decidim.verifications.postal_letter")
|
|
32
|
-
render :new, status: :
|
|
32
|
+
render :new, status: :unprocessable_content
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
end
|
|
@@ -53,7 +53,7 @@ module Decidim
|
|
|
53
53
|
|
|
54
54
|
on(:invalid) do
|
|
55
55
|
flash.now[:alert] = t("authorizations.update.error", scope: "decidim.verifications.postal_letter")
|
|
56
|
-
render :edit, status: :
|
|
56
|
+
render :edit, status: :unprocessable_content
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
end
|
|
@@ -27,7 +27,7 @@ module Decidim
|
|
|
27
27
|
end
|
|
28
28
|
on(:invalid) do
|
|
29
29
|
flash.now[:alert] = t("authorizations.create.error", scope: "decidim.verifications.sms")
|
|
30
|
-
render :new, status: :
|
|
30
|
+
render :new, status: :unprocessable_content
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
end
|
|
@@ -52,7 +52,7 @@ module Decidim
|
|
|
52
52
|
|
|
53
53
|
on(:invalid) do
|
|
54
54
|
flash.now[:alert] = t("authorizations.update.error", scope: "decidim.verifications.sms")
|
|
55
|
-
render :edit, status: :
|
|
55
|
+
render :edit, status: :unprocessable_content
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
end
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<% add_decidim_page_title(t("
|
|
1
|
+
<% add_decidim_page_title(t(".title")) %>
|
|
2
2
|
|
|
3
3
|
<div class="card">
|
|
4
4
|
<div class="item_show__header item_show__header--with-action-options">
|
|
5
5
|
<h1 class="item_show__header-title">
|
|
6
|
-
<%= t("
|
|
6
|
+
<%= t(".title") %>
|
|
7
7
|
<%= link_to t("index.import_csv", scope: "decidim.verifications.csv_census.admin"), new_import_census_logs_path, method: :get, class: "button button__sm button__transparent-secondary" %>
|
|
8
8
|
<button type="button" data-action="csv_census-record" data-census-dialog="census_drawer" data-census-url="<%= new_record_census_logs_path %>" class="button button__sm button__secondary">
|
|
9
9
|
<%= t("index.add_new_record_button", scope: "decidim.verifications.csv_census.admin") %>
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
<% add_decidim_page_title(t("
|
|
1
|
+
<% add_decidim_page_title(t(".title")) %>
|
|
2
|
+
|
|
2
3
|
<div class="card">
|
|
3
4
|
<div class="item_show__header">
|
|
4
5
|
<h1 class="item_show__header-title">
|
|
5
|
-
<%= t("
|
|
6
|
+
<%= t(".title") %>
|
|
6
7
|
</h1>
|
|
7
8
|
</div>
|
|
8
9
|
<div class="card-section">
|
|
9
|
-
<p><%= t("
|
|
10
|
+
<p><%= t(".body") %></p>
|
|
10
11
|
</div>
|
|
11
12
|
</div>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<% add_decidim_page_title(t(".
|
|
1
|
+
<% add_decidim_page_title(t(".title")) %>
|
|
2
2
|
|
|
3
3
|
<div class="item_show__header">
|
|
4
4
|
<h1 class="item_show__header-title">
|
|
5
|
-
<%= t(".
|
|
5
|
+
<%= t(".title") %>
|
|
6
6
|
<%= link_to t(".reject"), pending_authorization_rejection_path(@pending_authorization), method: :post, class: "button button__sm button__secondary alert button--title destroy" %>
|
|
7
7
|
</h1>
|
|
8
8
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<% if request["postal_codes"].present?
|
|
2
|
-
postal_codes = request["postal_codes"].split(",") %>
|
|
3
|
-
<p><%= t("extra_explanation.postal_codes", scope: "decidim.verifications.dummy_authorization", postal_codes: postal_codes.join(", "), count: postal_codes.count, user_postal_code: request["user_postal_code"]) %></p>
|
|
1
|
+
<% if request.params["postal_codes"].present?
|
|
2
|
+
postal_codes = request.params["postal_codes"].split(",") %>
|
|
3
|
+
<p><%= t("extra_explanation.postal_codes", scope: "decidim.verifications.dummy_authorization", postal_codes: postal_codes.join(", "), count: postal_codes.count, user_postal_code: request.params["user_postal_code"]) %></p>
|
|
4
4
|
<% end %>
|
|
5
5
|
|
|
6
6
|
<div class="form__wrapper" data-partial-demo>
|
data/config/locales/ar.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
ar:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -31,16 +30,16 @@ ar:
|
|
|
31
30
|
admin:
|
|
32
31
|
id_documents:
|
|
33
32
|
help:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
- يقوم المستخدمون بملء معلومات هويتهم وتحميل نسخة من وثيقتهم.
|
|
34
|
+
- يمكنك ملء المعلومات الموجودة في الصورة التي تم تحميلها.
|
|
35
|
+
- يجب أن تتطابق المعلومات مع كل ما قام المستخدم بملئه.
|
|
36
|
+
-
|
|
38
37
|
postal_letter:
|
|
39
38
|
help:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
- يطلب المشاركون إرسال رمز التحقق إلى عنوانهم.
|
|
40
|
+
- يمكنك إرسال الرسالة إلى عنوانهم مع رمز التحقق.
|
|
41
|
+
- يمكنك وضع علامة على الرسالة كما تم إرسالها.
|
|
42
|
+
- بمجرد وضع علامة على الرسالة على أنها مرسلة ، سيتمكن المشارك من تقديم الرمز والتحقق منه.
|
|
44
43
|
csv_census:
|
|
45
44
|
name: تعداد المنظمة
|
|
46
45
|
direct: مباشرة
|
data/config/locales/bg.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
bg:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -58,39 +57,39 @@ bg:
|
|
|
58
57
|
admin:
|
|
59
58
|
another_dummy_authorization_handler:
|
|
60
59
|
help:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
- Примерен манипулатор за оторизация, така че разработчиците да могат да разберат как работи една проста проверка.
|
|
61
|
+
- Той е насочен към разработчиците, за да могат да разберат как да внедрят своя собствена система за проверка.
|
|
62
|
+
- Преминете проверка, като въведете номер на паспорт започващ с "A".
|
|
64
63
|
csv_census:
|
|
65
64
|
help:
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
- Администраторите качват CSV с имейлите на приетите участници.
|
|
66
|
+
- Само участници с имейл в този CSV файл могат да бъдат потвърдени.
|
|
68
67
|
default:
|
|
69
68
|
help:
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
- Помощния манипулатор на оторизация не е дефиниран.
|
|
70
|
+
- Разработчикът трябва да дефинира помощта в ключа за превод (i18n) „%{authorization_handler}“
|
|
72
71
|
dummy_authorization_handler:
|
|
73
72
|
help:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
- Пример за манипулатор за оторизация, така че разработчиците да могат да разберат как работи една проста проверка.
|
|
74
|
+
- Той е насочен към разработчиците, за да могат да разберат как да внедрят своя собствена система за проверка.
|
|
75
|
+
- Преминете проверка, като въведете номер на документ завършващ с "X".
|
|
77
76
|
id_documents:
|
|
78
77
|
help:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
- Потребителите попълват своята информация за самоличност и качват копие на своя документ.
|
|
79
|
+
- Попълнете информацията, присъстваща в каченото изображение.
|
|
80
|
+
- Информацията трябва да съответства на това, което е попълнил потребителят.
|
|
81
|
+
- Ако не можете да видите ясно информацията или не можете да я проверите, можете да отхвърлите заявката и потребителят ще има възможността да я коригира.
|
|
83
82
|
postal_letter:
|
|
84
83
|
help:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
- Участниците искат да им бъде изпратен код за потвърждение на техния адрес.
|
|
85
|
+
- Изпращате писмото до техния адрес с кода за потвърждение.
|
|
86
|
+
- Маркирате писмото като "изпратено".
|
|
87
|
+
- След като маркирате писмото като изпратено, участникът ще може да въведе кода и да бъде потвърден.
|
|
89
88
|
sms:
|
|
90
89
|
help:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
- Участниците искат код за потвърждение да бъде изпратен на техния телефон.
|
|
91
|
+
- Те трябва да въведат кода, за да бъдат потвърдени.
|
|
92
|
+
- Ако не получат кода, могат да го поискат отново.
|
|
94
93
|
csv_census:
|
|
95
94
|
explanation: Потвърждение чрез преброяването на участниците в организацията.
|
|
96
95
|
name: Преброяване на участниците в организацията
|
data/config/locales/ca-IT.yml
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
---
|
|
2
1
|
ca-IT:
|
|
3
2
|
activemodel:
|
|
4
3
|
attributes:
|
|
@@ -63,45 +62,45 @@ ca-IT:
|
|
|
63
62
|
admin:
|
|
64
63
|
another_dummy_authorization_handler:
|
|
65
64
|
help:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
- Un exemple de gestor d'autorització perquè les desenvolupadores puguin entendre com funciona.
|
|
66
|
+
- Està dirigit a les desenvolupadores perquè puguin entendre com implementar el seu propi sistema de verificació.
|
|
67
|
+
- Verifica't introduint un número de passaport que comenci per "A".
|
|
69
68
|
csv_census:
|
|
70
69
|
help:
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
- Les administradores carreguen un CSV amb els correus electrònics de les participants acceptades.
|
|
71
|
+
- Només es poden verificar les participants amb un correu electrònic que consti en aquest arxiu CSV.
|
|
73
72
|
default:
|
|
74
73
|
help:
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
- L'ajuda sobre el gestor d'autorització no està definida.
|
|
75
|
+
- Una desenvolupadora necessita definir l'ajuda a la clau de traducció (i18n) %{authorization_handler}
|
|
77
76
|
dummy_authorization_handler:
|
|
78
77
|
help:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
- Un exemple de gestor d'autorització perquè les desenvolupadores puguin entendre com funciona una verificació simple.
|
|
79
|
+
- Està dirigit a les desenvolupadores perquè puguin entendre com implementar el seu propi sistema de verificació.
|
|
80
|
+
- Verifica't introduint un número de document que finalitzi amb "X".
|
|
82
81
|
ephemeral_dummy_authorization_handler:
|
|
83
82
|
help:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
- Un exemple de gestor d'autorització perquè les desenvolupadores puguin entendre com funciona una verificació simple.
|
|
84
|
+
- Està dirigit a les desenvolupadores perquè puguin entendre com implementar el seu propi sistema de verificació.
|
|
85
|
+
- És una còpia de l'Autorització d'exemple.
|
|
86
|
+
- Verifica't introduint un número de document que finalitzi amb "X".
|
|
88
87
|
id_documents:
|
|
89
88
|
help:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
- Les participants omplen la informació de la seva identitat i carreguen una còpia del seu document.
|
|
90
|
+
- Completa la informació que es mostra a la imatge pujada.
|
|
91
|
+
- La informació ha de coincidir amb el que hagi omplert la persona participant.
|
|
92
|
+
- Si no pots veure la informació amb claredat o no la pots verificar, pots rebutjar la sol·licitud perquè la participant la pugui corregir.
|
|
94
93
|
postal_letter:
|
|
95
94
|
help:
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
- Les participants sol·liciten un codi de verificació que s'enviarà a la seva adreça.
|
|
96
|
+
- Enviar la carta a la seva adreça amb el codi de verificació.
|
|
97
|
+
- Marcar la carta com a enviada.
|
|
98
|
+
- Una vegada la carta estigui marcada com a enviada, la participant podrà introduir el codi i verificar-se.
|
|
100
99
|
sms:
|
|
101
100
|
help:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
- Les participants sol·liciten un codi de verificació que s'enviarà al seu telèfon.
|
|
102
|
+
- Cal que introdueixin el codi per a ser verificades.
|
|
103
|
+
- Si no reben el codi, poden tornar a demanar-lo.
|
|
105
104
|
csv_census:
|
|
106
105
|
explanation: Verifica't mitjançant el cens de l'organització.
|
|
107
106
|
name: Cens de l'organització
|
|
@@ -184,6 +183,10 @@ ca-IT:
|
|
|
184
183
|
empty: No hi ha dades del cens. Utilitza %{import_csv} per importar-lo mitjançant un fitxer CSV.
|
|
185
184
|
no_sign_in: Mai no ha iniciat sessió
|
|
186
185
|
no_user: No s'ha trobat cap usuària
|
|
186
|
+
title: Dades censals actuals
|
|
187
|
+
instructions:
|
|
188
|
+
body: Per fer-ho, has d'entrar al panell d'administració i afegir les autoritzacions de "csv_census" a l'organització
|
|
189
|
+
title: Necessites activar el "csv_census" d'aquesta organització
|
|
187
190
|
last_login:
|
|
188
191
|
no_sign_in: Mai no ha iniciat sessió
|
|
189
192
|
no_user: Cap usuària
|
|
@@ -221,10 +224,6 @@ ca-IT:
|
|
|
221
224
|
user_authorized: Usuària autoritzada?
|
|
222
225
|
import_csv: Importar CSV
|
|
223
226
|
no_authorized: Usuària no actualitzada
|
|
224
|
-
title: Dades censals actuals
|
|
225
|
-
instructions:
|
|
226
|
-
body: Per fer-ho, has d'entrar al panell d'administració i afegir les autoritzacions de "csv_census" a l'organització
|
|
227
|
-
title: Necessites activar el "csv_census" d'aquesta organització
|
|
228
227
|
authorizations:
|
|
229
228
|
new:
|
|
230
229
|
error: No hem pogut verificar el teu compte o no estàs al cens de l'organització.
|
|
@@ -255,8 +254,8 @@ ca-IT:
|
|
|
255
254
|
error: La verificació no coincideix. Si us plau, torna-ho a provar o rebutja la verificació perquè la participant pugui modificar-la.
|
|
256
255
|
success: Participant convidada correctament.
|
|
257
256
|
new:
|
|
258
|
-
introduce_user_data: Introdueix les dades que apareixen a la imatge
|
|
259
257
|
reject: Rebutjar
|
|
258
|
+
title: Introdueix les dades que apareixen a la imatge
|
|
260
259
|
verify: Verificar
|
|
261
260
|
offline_confirmations:
|
|
262
261
|
create:
|
|
@@ -264,7 +263,7 @@ ca-IT:
|
|
|
264
263
|
success: Participant verificada correctament.
|
|
265
264
|
new:
|
|
266
265
|
cancel: Cancel·lar
|
|
267
|
-
|
|
266
|
+
title: Introdueix el correu electrònic de la participant i les dades del document
|
|
268
267
|
verify: Verificar
|
|
269
268
|
pending_authorizations:
|
|
270
269
|
index:
|