decidim-extra_user_fields 0.24.3 → 0.25.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/app/packs/images/decidim/extra_user_fields/entrypoints/extra_user_fields.js +2 -0
- data/app/{assets → packs}/images/decidim/extra_user_fields/icon.svg +0 -0
- data/lib/decidim/extra_user_fields/admin_engine.rb +4 -2
- data/lib/decidim/extra_user_fields/engine.rb +28 -30
- data/lib/decidim/extra_user_fields/version.rb +2 -2
- metadata +5 -5
- data/app/assets/config/decidim_extra_user_fields_manifest.js +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a98bb7fe119c09eda88d3a1c67acc6d04ab3625e8dec9e03c95086575bd0a1a
|
4
|
+
data.tar.gz: c00a466174b7a0f42216c04e5e8d0a342cc084d929a33d108fc1b4737bee06d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08f27bd2339953888d9356174db4b91f6495de0af6d40ad9dc3aa803b2839adb119349c38d005180fe8616842b5d8a42a0fd9aaf73dc525b8f9609b3c2204d98'
|
7
|
+
data.tar.gz: 38fb92b5149dbd6fd424c42af4c15010fad081a67419a362df7169f504642136e5b20b47e2cc1a26e90c86fa08a08f7646f86b1daa52d0eac458df1c71a982f1
|
data/README.md
CHANGED
@@ -7,6 +7,11 @@
|
|
7
7
|
|
8
8
|
Add this line to your application's Gemfile:
|
9
9
|
|
10
|
+
For Decidim 0.25:
|
11
|
+
```ruby
|
12
|
+
gem "decidim-extra_user_fields", git: "https://github.com/PopulateTools/decidim-module-extra_user_fields", branch: "release/0.25-stable"
|
13
|
+
```
|
14
|
+
|
10
15
|
For Decidim 0.24:
|
11
16
|
```ruby
|
12
17
|
gem "decidim-extra_user_fields", git: "https://github.com/PopulateTools/decidim-module-extra_user_fields", branch: "release/0.24-stable"
|
File without changes
|
@@ -25,8 +25,10 @@ module Decidim
|
|
25
25
|
end
|
26
26
|
|
27
27
|
initializer "decidim_extra_user_fields.admin_export_users" do
|
28
|
-
|
29
|
-
|
28
|
+
config.to_prepare do
|
29
|
+
Decidim::Admin::ApplicationHelper.class_eval do
|
30
|
+
include ExtraUserFields::Admin::ApplicationHelper
|
31
|
+
end
|
30
32
|
end
|
31
33
|
end
|
32
34
|
|
@@ -19,37 +19,35 @@ module Decidim
|
|
19
19
|
# root to: "extra_user_fields#index"
|
20
20
|
end
|
21
21
|
|
22
|
-
initializer "decidim_extra_user_fields.assets" do |app|
|
23
|
-
app.config.assets.precompile += %w(decidim_extra_user_fields_manifest.js decidim_extra_user_fields_manifest.css)
|
24
|
-
end
|
25
|
-
|
26
22
|
initializer "decidim_extra_user_fields.registration_additions" do
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
23
|
+
config.to_prepare do
|
24
|
+
Decidim::RegistrationForm.class_eval do
|
25
|
+
include ExtraUserFields::FormsDefinitions
|
26
|
+
end
|
27
|
+
|
28
|
+
Decidim::OmniauthRegistrationForm.class_eval do
|
29
|
+
include ExtraUserFields::FormsDefinitions
|
30
|
+
end
|
31
|
+
|
32
|
+
Decidim::AccountForm.class_eval do
|
33
|
+
include ExtraUserFields::FormsDefinitions
|
34
|
+
end
|
35
|
+
|
36
|
+
Decidim::CreateRegistration.class_eval do
|
37
|
+
prepend ExtraUserFields::CommandsOverrides
|
38
|
+
end
|
39
|
+
|
40
|
+
Decidim::CreateOmniauthRegistration.class_eval do
|
41
|
+
prepend ExtraUserFields::OmniauthCommandsOverrides
|
42
|
+
end
|
43
|
+
|
44
|
+
Decidim::UpdateAccount.class_eval do
|
45
|
+
prepend ExtraUserFields::CommandsOverrides
|
46
|
+
end
|
47
|
+
|
48
|
+
Decidim::FormBuilder.class_eval do
|
49
|
+
include ExtraUserFields::FormBuilderMethods
|
50
|
+
end
|
53
51
|
end
|
54
52
|
end
|
55
53
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-extra_user_fields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo Martínez
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.25.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.25.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: deface
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,8 +63,6 @@ files:
|
|
63
63
|
- LICENSE-AGPLv3.txt
|
64
64
|
- README.md
|
65
65
|
- Rakefile
|
66
|
-
- app/assets/config/decidim_extra_user_fields_manifest.js
|
67
|
-
- app/assets/images/decidim/extra_user_fields/icon.svg
|
68
66
|
- app/commands/concerns/decidim/extra_user_fields/commands_overrides.rb
|
69
67
|
- app/commands/concerns/decidim/extra_user_fields/omniauth_commands_overrides.rb
|
70
68
|
- app/commands/decidim/extra_user_fields/admin/export_users.rb
|
@@ -78,6 +76,8 @@ files:
|
|
78
76
|
- app/overrides/decidim/admin/officializations/index/_export_users_dropdown.html.erb.deface
|
79
77
|
- app/overrides/decidim/devise/omniauth_registrations/new/extra_user_fields.html.erb.deface
|
80
78
|
- app/overrides/decidim/devise/registrations/new/extra_user_fields.html.erb.deface
|
79
|
+
- app/packs/images/decidim/extra_user_fields/entrypoints/extra_user_fields.js
|
80
|
+
- app/packs/images/decidim/extra_user_fields/icon.svg
|
81
81
|
- app/serializers/decidim/extra_user_fields/user_export_serializer.rb
|
82
82
|
- app/views/decidim/extra_user_fields/_profile_form.html.erb
|
83
83
|
- app/views/decidim/extra_user_fields/_registration_form.html.erb
|
File without changes
|