decidim-action_delegator 0.7.0 → 0.7.1
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 +39 -0
- data/app/packs/images/logo-pokecode.png +0 -0
- data/lib/decidim/action_delegator/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caf66583f72b3582a54d1ab049356ba76fffb5031e4d4ca214c67c80778a4d0f
|
4
|
+
data.tar.gz: 29eed3db878b8d08aca87938cc96796894a39b9354a19a593b43afd7af5caa61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31c6a9dfcacb203062d281cac13c75e1cc972be68872026135c9334800bfb6191d02d0e10433bb50077aa4da8e168e86f23fb313d3a672280ba7309740222c16
|
7
|
+
data.tar.gz: ab3a8ff8260a1713c58fe5db966f98370fa3e5f7dbf04eda01ba7039b3b9cb590d20f5c6f81bdc9ca663a3cc1f1dd6bf2667de3a06b267713abc94a365fa91fb
|
data/README.md
CHANGED
@@ -139,6 +139,40 @@ Decidim::ActionDelegator.configure do |config|
|
|
139
139
|
end
|
140
140
|
```
|
141
141
|
|
142
|
+
### Other configuration options
|
143
|
+
|
144
|
+
There are some other configuration options available, for more info check [action_delegator](lib/decidim/action_delegator.rb). These are the default values
|
145
|
+
|
146
|
+
```ruby
|
147
|
+
Decidim::ActionDelegator.configure do |config|
|
148
|
+
# this is the SmsGateway provided by this module
|
149
|
+
# Note that it will be ignored if you provide your own SmsGateway in Decidm.sms_gateway_service
|
150
|
+
config.sms_gateway_service = "Decidim::ActionDelegator::SmsGateway"
|
151
|
+
|
152
|
+
# The default expiration time for the integrated authorization
|
153
|
+
# if zero, the authorization won't be registered
|
154
|
+
config.authorization_expiration_time = 3.months
|
155
|
+
|
156
|
+
# Put this to false if you don't want to allow administrators to invite users not registered
|
157
|
+
# in the platform when uploading a census (inviting users without permission can be a GDPR offense).
|
158
|
+
config.allow_to_invite_users = true
|
159
|
+
|
160
|
+
# used for comparing phone numbers from a census list and the ones introduced by the user
|
161
|
+
# the phone number will be normalized before comparing it so, for instance,
|
162
|
+
# if you have a census list with +34 666 666 666 and the user introduces 0034666666666 or 666666666, they will be considered the same
|
163
|
+
# can be empty or null if yo don't want to check different combinations of prefixes
|
164
|
+
config.phone_prefixes = %w(+34 0034 34)
|
165
|
+
|
166
|
+
# The regex for validating phone numbers
|
167
|
+
config.phone_regex = /^\d{6,15}$/ # 6 to 15 digits
|
168
|
+
|
169
|
+
# Consultations has an annoying and totally useless deprecation warning
|
170
|
+
# This plugin removes it by default.
|
171
|
+
# If you want to keep it, you can set this config to false
|
172
|
+
config.remove_consultation_deprecation_warning = true
|
173
|
+
end
|
174
|
+
```
|
175
|
+
|
142
176
|
### Track delegated votes and unvotes
|
143
177
|
|
144
178
|
Votes and revocations done on behalf of other members are tracked through the
|
@@ -290,3 +324,8 @@ https://crowdin.com/project/decidim-action-delegator-vote
|
|
290
324
|
## License
|
291
325
|
|
292
326
|
This engine is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE.
|
327
|
+
|
328
|
+
## About
|
329
|
+
|
330
|
+
This plugin is currently maintained by [](https://pokecode.net)with much appreciated contributions from other companies.
|
331
|
+
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-action_delegator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pau Pérez Fabregat
|
@@ -214,6 +214,7 @@ files:
|
|
214
214
|
- app/overrides/layouts/decidim/admin/remove_deprecation.rb
|
215
215
|
- app/packs/entrypoints/decidim_action_delegator.scss
|
216
216
|
- app/packs/entrypoints/decidim_action_delegator_questions.js
|
217
|
+
- app/packs/images/logo-pokecode.png
|
217
218
|
- app/packs/src/decidim/action_delegator/questions.js
|
218
219
|
- app/packs/stylesheets/decidim/action_delegator/questions.scss
|
219
220
|
- app/permissions/concerns/decidim/action_delegator/consultations/permissions_override.rb
|