decidim-system 0.27.0 → 0.27.1

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: 68d7b598ed7f76e05c1124373aa61fdaea40acb2d5a5aa6650631181c27fe914
4
- data.tar.gz: 1f992e11274c5887270de13fb54f8f6a64020a41765a630cbc3e4f2f40b7b894
3
+ metadata.gz: 7ccd4c266f6a2722de132a92f4c8910ae5f6cfc287a0434e63aae089f5a0142e
4
+ data.tar.gz: 3e8a9740d67aa3a8fc30cf34e6453826c5d02b0163c16fe2e57382cfa36c2e7c
5
5
  SHA512:
6
- metadata.gz: b579598c0356f6dd53e890e0b5cca5b97fd7a401ca691fd277674c97bc9e60400997e8c927e68377bf99cfa4991211320065a34045724c211195ecb4dc37fcb2
7
- data.tar.gz: 88eedfa57c9fc2b9ce2dd2634d06af6d35d265703cc2e18295825245d2e827597499ab1d8acb52fb8198e150eecb968ae682ba02cfca5ca6aa8ca034ab06f40a
6
+ metadata.gz: 744171eb50f3bfc2f3352b196a0a164d460524826f6a7c3462bea877f27e8be21ea8fdaaf1db02d0b8d01dec411b6810e873e0f1f6e1cba2371c88cfeb1fa7e2
7
+ data.tar.gz: 25ec224ac8f108a6f13fd5089fdf9f9a69292763ce35195c2af425c5b53d27dbb5a4b2a6313ca2d2878a5b670a50e374b19bcb30d37cc9b6369da9b49bb5844f
@@ -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) unless encrypted_password.nil?
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(@password))
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:
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-system version.
5
5
  module System
6
6
  def self.version
7
- "0.27.0"
7
+ "0.27.1"
8
8
  end
9
9
  end
10
10
  end
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.0
4
+ version: 0.27.1
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-09-29 00:00:00.000000000 Z
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.27.0
35
+ version: 0.27.1
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.0
42
+ version: 0.27.1
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.0
91
+ version: 0.27.1
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.0
98
+ version: 0.27.1
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