decidim-action_delegator 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72ece5d4d1d3c253b4fd99f8372ba014ca14446be9f96119c87879ca8c94be6f
4
- data.tar.gz: 8b1fb12a9a22f2bd035deb01273b3a73da14a916d4b250ddccf174d79f4b1f48
3
+ metadata.gz: caf66583f72b3582a54d1ab049356ba76fffb5031e4d4ca214c67c80778a4d0f
4
+ data.tar.gz: 29eed3db878b8d08aca87938cc96796894a39b9354a19a593b43afd7af5caa61
5
5
  SHA512:
6
- metadata.gz: f29fbeaeb138c6c2b527b465d40146356f7dfa395ed04bcfc80df697738c94f82589a625ab455a6d11e1810975ef7648b078256684b33863e625866c8a20dd64
7
- data.tar.gz: 4119061790bd135c90c14932ab33b939b8f05b05dd07c1c32ca6140f68727da2e4fd43e52308ec4b8cb8b947d00e34350181467664d024e3163098062af9fe88
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 [![Pokecode](app/packs/images/logo-pokecode.png)](https://pokecode.net)with much appreciated contributions from other companies.
331
+
Binary file
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  # This holds the decidim-action_delegator version.
5
5
  module ActionDelegator
6
- VERSION = "0.7.0"
6
+ VERSION = "0.7.1"
7
7
  DECIDIM_VERSION = "0.26.5"
8
8
  COMPAT_DECIDIM_VERSION = [">= 0.26.0", "< 0.27"].freeze
9
9
  end
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.0
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