decidim-system 0.26.1 → 0.26.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: 9bb8776ec7f403dab6891d3214d623ba0d58adb372eed194326cd971e5fe01b1
4
- data.tar.gz: 3b2483f8ef801c4349fa88d12169d8a05c034bc7f06533f20c0f41ce0d8a3f8f
3
+ metadata.gz: ddc1497f3a3ca178b43d4a149121cb2090b0b020f461c99680e465e98f78ffc5
4
+ data.tar.gz: 8432780f44481ff752455d91e921b7c7294a105712f4f83ec3bc80b2d2cbec37
5
5
  SHA512:
6
- metadata.gz: 10321e7f80f5bd3219c511b7de24ef65e4618876bd3c40ab4104433c00c84c035c81bebb13a2876184b08efef558f895289c9b62b129c442ecbabaa3fa5a560b
7
- data.tar.gz: 19664c3c1e41566007038643fe1134c17cc9e1dcaa0b8a3c63e8d2042643f0f68aadc35dde8737c094bf516705faeebc4fd7f434aa58f845531422f2f8f19678
6
+ metadata.gz: 109dea64258675ac10df397369a2033f2075d39aa70e45e9c2fc2fa0383089f3017b59ab41f5d31d88b28cb0ac2ef847a3b540fcde4f3f4b33ef53f27d0b412d
7
+ data.tar.gz: 20509c4ff472087d550b2e04324cab1c0646d583f6d0f08bda35ca7a3cc4afcb48d8fb595ea422ef4e85f9bdb32b196c3bd58213ed9bf58def6dc3e2226bef2e
@@ -15,6 +15,8 @@ module Decidim
15
15
  validates :password, presence: true, unless: :admin_exists?
16
16
  validates :password_confirmation, presence: true, unless: :admin_exists?
17
17
 
18
+ validates :password, password: { email: :email }
19
+
18
20
  validate :email, :email_uniqueness
19
21
 
20
22
  private
@@ -8,6 +8,8 @@ module Decidim
8
8
 
9
9
  validates :email, uniqueness: true
10
10
 
11
+ validates :password, password: { email: :email }
12
+
11
13
  private
12
14
 
13
15
  # Changes default Devise behaviour to use ActiveJob to send async emails.
@@ -62,11 +62,11 @@ sv:
62
62
  current_organizations: Nuvarande organisationer
63
63
  default_pages:
64
64
  placeholders:
65
- content: Lägg till relevant innehåll på den statiska sidan %{page} på administratörspanelen.
65
+ content: Lägg till relevant innehåll på den statiska sidan %{page} på adminpanelen.
66
66
  title: Standardtitel för %{page}
67
67
  menu:
68
68
  admins: Administratörer
69
- dashboard: Kontrollpanel
69
+ dashboard: Adminpanel
70
70
  oauth_applications: OAuth appar
71
71
  organizations: Organisationer
72
72
  models:
@@ -174,4 +174,4 @@ sv:
174
174
  no_organization_warning_html: Kom igång genom att skapa en organisation. Läs %{guide} innan du fortsätter.
175
175
  our_getting_started_guide: vår startguide
176
176
  titles:
177
- dashboard: Kontrollpanel
177
+ dashboard: Adminpanel
@@ -5,7 +5,7 @@ require "decidim/core/test/factories"
5
5
  FactoryBot.define do
6
6
  factory :admin, class: "Decidim::System::Admin" do
7
7
  sequence(:email) { |n| "admin#{n}@citizen.corp" }
8
- password { "password1234" }
9
- password_confirmation { "password1234" }
8
+ password { "decidim123456" }
9
+ password_confirmation { "decidim123456" }
10
10
  end
11
11
  end
@@ -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.26.1"
7
+ "0.26.2"
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.26.1
4
+ version: 0.26.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: 2022-03-25 00:00:00.000000000 Z
13
+ date: 2022-06-14 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.1
35
+ version: 0.26.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.26.1
42
+ version: 0.26.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.26.1
91
+ version: 0.26.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.26.1
98
+ version: 0.26.2
99
99
  description: System administration to create new organization in an installation.
100
100
  email:
101
101
  - josepjaume@gmail.com