decidim-system 0.27.0 → 0.27.2
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: 07263a043d5e0345be3b4a7d552c0f271aa050e2f52a836ceb77ca3da75c7505
|
4
|
+
data.tar.gz: 041daed015eeec86016e8e953403bbd65f93d6c9d469a281f30d17fdd558e48a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd5e90bc27eddc1407957103dba8cb0a2dc724636f7dcb1d168f451aba87c4cf7d2b7dcc5007562cf6387c11a92a242c89f7cb2090b305947803732e5d2ce78
|
7
|
+
data.tar.gz: 0b3d4c4287bd9cfbd888cadb3e9add5c86e7643ab0984f61d687756dc721fd722da13d58738fe18cb84c0315f584f9e9d0ff126703dc10dd7025da1de69a0da6
|
@@ -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
|
data/config/locales/ca.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
gn:
|
@@ -0,0 +1 @@
|
|
1
|
+
ka:
|
@@ -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.27.
|
4
|
+
version: 0.27.2
|
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:
|
13
|
+
date: 2023-02-13 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.27.
|
35
|
+
version: 0.27.2
|
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.27.
|
42
|
+
version: 0.27.2
|
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.27.
|
91
|
+
version: 0.27.2
|
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.27.
|
98
|
+
version: 0.27.2
|
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
|
@@ -222,10 +223,12 @@ files:
|
|
222
223
|
- config/locales/is.yml
|
223
224
|
- config/locales/it.yml
|
224
225
|
- config/locales/ja.yml
|
226
|
+
- config/locales/ka-GE.yml
|
225
227
|
- config/locales/ko-KR.yml
|
226
228
|
- config/locales/ko.yml
|
227
229
|
- config/locales/lb-LU.yml
|
228
230
|
- config/locales/lb.yml
|
231
|
+
- config/locales/lo-LA.yml
|
229
232
|
- config/locales/lt-LT.yml
|
230
233
|
- config/locales/lt.yml
|
231
234
|
- config/locales/lv.yml
|
@@ -283,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
283
286
|
- !ruby/object:Gem::Version
|
284
287
|
version: '0'
|
285
288
|
requirements: []
|
286
|
-
rubygems_version: 3.
|
289
|
+
rubygems_version: 3.3.7
|
287
290
|
signing_key:
|
288
291
|
specification_version: 4
|
289
292
|
summary: Decidim system administration
|