decidim-system 0.26.1 → 0.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ddc1497f3a3ca178b43d4a149121cb2090b0b020f461c99680e465e98f78ffc5
|
|
4
|
+
data.tar.gz: 8432780f44481ff752455d91e921b7c7294a105712f4f83ec3bc80b2d2cbec37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/config/locales/sv.yml
CHANGED
|
@@ -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å
|
|
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:
|
|
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:
|
|
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 { "
|
|
9
|
-
password_confirmation { "
|
|
8
|
+
password { "decidim123456" }
|
|
9
|
+
password_confirmation { "decidim123456" }
|
|
10
10
|
end
|
|
11
11
|
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.
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|