decidim-system 0.26.3 → 0.26.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-system might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c43f8eaad67477d76192504d7591540eb2edc259c315814c4219b3f0a4456e6
|
4
|
+
data.tar.gz: bd02b7773dbc4a2f46377807677ace9e4ec689b6cf834bd0a843ece3ea8477c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18fa29dc6ec64db93afbe82989cb99fecb30b0fda6fae742f7fcdfe2ba2e8ebbf1635b16e8dd4b838c045c0b50cc8f0020fb98b96ae0f8fb39ddd7beda6bc4d6
|
7
|
+
data.tar.gz: ddf422270227de252a4568dc8b9647358dc69cdadf43323e77eababafe7e040f3c0d1c8f672e5f52c7c010a780178490f582f40de54c7960304b80eedb34ead5
|
@@ -29,6 +29,7 @@ module Decidim
|
|
29
29
|
[:authentication, String],
|
30
30
|
[:enable_starttls_auto, Boolean]
|
31
31
|
]
|
32
|
+
attribute :password, String
|
32
33
|
attribute :file_upload_settings, FileUploadSettingsForm
|
33
34
|
|
34
35
|
OMNIATH_PROVIDERS_ATTRIBUTES = Decidim::OmniauthProvider.available.keys.map do |provider|
|
@@ -43,8 +44,6 @@ module Decidim
|
|
43
44
|
|
44
45
|
jsonb_attribute :omniauth_settings, OMNIATH_PROVIDERS_ATTRIBUTES
|
45
46
|
|
46
|
-
attr_writer :password
|
47
|
-
|
48
47
|
validates :name, :host, :users_registration_mode, presence: true
|
49
48
|
validate :validate_organization_uniqueness
|
50
49
|
validates :users_registration_mode, inclusion: { in: Decidim::Organization.users_registration_modes }
|
@@ -70,13 +69,13 @@ module Decidim
|
|
70
69
|
end
|
71
70
|
|
72
71
|
def password
|
73
|
-
Decidim::AttributeEncryptor.decrypt(encrypted_password)
|
72
|
+
encrypted_password.nil? ? super : Decidim::AttributeEncryptor.decrypt(encrypted_password)
|
74
73
|
end
|
75
74
|
|
76
75
|
def encrypted_smtp_settings
|
77
76
|
smtp_settings["from"] = set_from
|
78
77
|
|
79
|
-
smtp_settings.merge(encrypted_password: Decidim::AttributeEncryptor.encrypt(
|
78
|
+
smtp_settings.merge(encrypted_password: Decidim::AttributeEncryptor.encrypt(password))
|
80
79
|
end
|
81
80
|
|
82
81
|
def set_from
|
@@ -0,0 +1 @@
|
|
1
|
+
gn:
|
@@ -0,0 +1 @@
|
|
1
|
+
lo:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.26.
|
35
|
+
version: 0.26.4
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.26.
|
42
|
+
version: 0.26.4
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,14 +88,14 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.26.
|
91
|
+
version: 0.26.4
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - '='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.26.
|
98
|
+
version: 0.26.4
|
99
99
|
description: System administration to create new organization in an installation.
|
100
100
|
email:
|
101
101
|
- josepjaume@gmail.com
|
@@ -214,6 +214,7 @@ files:
|
|
214
214
|
- config/locales/fr.yml
|
215
215
|
- config/locales/ga-IE.yml
|
216
216
|
- config/locales/gl.yml
|
217
|
+
- config/locales/gn-PY.yml
|
217
218
|
- config/locales/hr-HR.yml
|
218
219
|
- config/locales/hr.yml
|
219
220
|
- config/locales/hu.yml
|
@@ -226,6 +227,7 @@ files:
|
|
226
227
|
- config/locales/ko.yml
|
227
228
|
- config/locales/lb-LU.yml
|
228
229
|
- config/locales/lb.yml
|
230
|
+
- config/locales/lo-LA.yml
|
229
231
|
- config/locales/lt-LT.yml
|
230
232
|
- config/locales/lt.yml
|
231
233
|
- config/locales/lv.yml
|