decidim-system 0.26.3 → 0.26.5
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: a26962bd3137f94f027193b79c27a43225734b5e9e3e79dcbe91318cb0c92722
|
4
|
+
data.tar.gz: 8439f6a3c8ae103be70584133adf737142e9d3a9ce2e7f24668ec2793cde9694
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 820b35c89972c06c1f8d1d31312c976d9d8743796af7d5ef48ea006b1f10106217ea284b6cf210189f4828fe85241ecbd70cddd24efd6033693ab2cc10a21f82
|
7
|
+
data.tar.gz: 689510849e94ade9d213fa915654edaf976f842c5785d49fbbed808f98ad6732a22277700ce2cd37c51cb221c9b8dddbe47fa21520772554f0babfd5f2977ff2
|
@@ -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.26.
|
4
|
+
version: 0.26.5
|
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.26.
|
35
|
+
version: 0.26.5
|
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.5
|
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.5
|
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.5
|
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
|