decidim-user_fields 0.0.2 → 0.2.0
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 +4 -4
- data/README.md +308 -49
- data/Rakefile +253 -0
- data/app/forms/decidim/custom_user_fields/admin/customizations_config_form.rb +67 -0
- data/app/forms/decidim/custom_user_fields/verifications/verification_form.rb +85 -0
- data/app/overrides/decidim/devise/invitations/edit/extra_user_fields_form.html.erb.deface +2 -2
- data/app/overrides/decidim/devise/omniauth_registrations/new/extra_user_fields.html.erb.deface +3 -0
- data/app/overrides/invitation_override.rb +31 -0
- data/app/packs/entrypoints/decidim_custom_user_fields.js +0 -0
- data/app/packs/stylesheets/decidim/custom_user_fields/_decidim_custom_user_fields.scss +48 -0
- data/app/views/decidim/custom_user_fields/_profile_form.html.erb +2 -2
- data/app/views/decidim/custom_user_fields/_registration_form.html.erb +2 -2
- data/app/views/decidim/custom_user_fields/_verification_form.erb +4 -0
- data/app/views/decidim/custom_user_fields/system/_customizations_tab.html.erb +15 -0
- data/config/assets.rb +9 -0
- data/config/i18n-tasks.yml +22 -0
- data/config/locales/decidim_custom_user_fields_scenarios.en.yml +50 -0
- data/config/locales/decidim_custom_user_fields_scenarios.fr.yml +48 -0
- data/config/locales/decidim_toggle.en.yml +13 -0
- data/config/locales/decidim_toggle.fr.yml +13 -0
- data/config/locales/decidim_user_fields.en.yml +25 -0
- data/config/locales/decidim_user_fields.fr.yml +25 -0
- data/lib/decidim/custom_user_fields/custom_user_fields.rb +10 -14
- data/lib/decidim/custom_user_fields/customization_field_naming.rb +17 -0
- data/lib/decidim/custom_user_fields/customizations/builder.rb +48 -0
- data/lib/decidim/custom_user_fields/customizations/customization.rb +29 -0
- data/lib/decidim/custom_user_fields/customizations.rb +42 -0
- data/lib/decidim/custom_user_fields/decidim_integrations.rb +52 -0
- data/lib/decidim/custom_user_fields/definition_guidance.rb +109 -0
- data/lib/decidim/custom_user_fields/dev/bootstrap.rb +102 -0
- data/lib/decidim/custom_user_fields/dev/local_oidc_seeder.rb +150 -0
- data/lib/decidim/custom_user_fields/dev/omniauth_providers_patcher.rb +68 -0
- data/lib/decidim/custom_user_fields/dev/openid_connect_setup.rb +110 -0
- data/lib/decidim/custom_user_fields/dev/scenario_customizations.rb +72 -0
- data/lib/decidim/custom_user_fields/engine.rb +59 -26
- data/lib/decidim/custom_user_fields/extended_data.rb +52 -0
- data/lib/decidim/custom_user_fields/field_definition.rb +28 -6
- data/lib/decidim/custom_user_fields/fields/boolean_field.rb +51 -0
- data/lib/decidim/custom_user_fields/fields/date_field.rb +80 -10
- data/lib/decidim/custom_user_fields/fields/dummy_field.rb +40 -0
- data/lib/decidim/custom_user_fields/fields/extra_field_ref_field.rb +118 -0
- data/lib/decidim/custom_user_fields/fields/generic_field.rb +99 -6
- data/lib/decidim/custom_user_fields/fields/text_area_field.rb +34 -9
- data/lib/decidim/custom_user_fields/fields/text_field.rb +47 -6
- data/lib/decidim/custom_user_fields/i18n/customization_keys.rb +55 -0
- data/lib/decidim/custom_user_fields/i18n/customization_keys_scanner.rb +80 -0
- data/lib/decidim/custom_user_fields/i18n/tasks.rb +7 -0
- data/lib/decidim/custom_user_fields/overrides/authorizations_controller.rb +18 -0
- data/lib/decidim/custom_user_fields/overrides/command.rb +23 -21
- data/lib/decidim/custom_user_fields/overrides/confirmations_controller.rb +15 -0
- data/lib/decidim/custom_user_fields/overrides/devise_authentication_methods.rb +68 -0
- data/lib/decidim/custom_user_fields/overrides/form_definition.rb +25 -8
- data/lib/decidim/custom_user_fields/overrides/invitations_controller.rb +109 -0
- data/lib/decidim/custom_user_fields/overrides/omniauth_command.rb +40 -0
- data/lib/decidim/custom_user_fields/overrides/omniauth_registrations_controller.rb +93 -0
- data/lib/decidim/custom_user_fields/overrides/user.rb +16 -0
- data/lib/decidim/custom_user_fields/registration_fields.rb +99 -0
- data/lib/decidim/custom_user_fields/update_customizations_config_command.rb +39 -0
- data/lib/decidim/custom_user_fields/upgrade/migrate_toggle_config.rb +74 -0
- data/lib/decidim/custom_user_fields/verifications/builder.rb +100 -0
- data/lib/decidim/custom_user_fields/verifications/verifications.rb +82 -0
- data/lib/decidim/custom_user_fields/version.rb +4 -2
- data/lib/decidim/user_fields.rb +46 -13
- data/lib/tasks/decidim/custom_user_fields/custom_user_fields_upgrade.rake +16 -0
- data/lib/tasks/decidim/custom_user_fields/custom_user_fields_webpacker.rake +59 -0
- data/lib/tasks/decidim/custom_user_fields/decidim_custom_user_fields_upgrade_tasks.rake +16 -0
- data/lib/tasks/decidim/custom_user_fields/dev/local_setup.rake +16 -0
- metadata +80 -15
- data/app/overrides/decidim/devise/invitations/edit/extra_user_fields.html.erb.deface +0 -3
data/lib/decidim/user_fields.rb
CHANGED
|
@@ -1,18 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
require 'decidim/custom_user_fields/fields/date_field'
|
|
3
|
-
require 'decidim/custom_user_fields/fields/text_area_field'
|
|
4
|
-
require 'decidim/custom_user_fields/fields/text_field'
|
|
5
|
-
require 'decidim/custom_user_fields/field_definition'
|
|
1
|
+
# frozen_string_literal: true
|
|
6
2
|
|
|
7
|
-
require
|
|
8
|
-
require
|
|
9
|
-
require
|
|
10
|
-
require
|
|
3
|
+
require "decidim/custom_user_fields/fields/generic_field"
|
|
4
|
+
require "decidim/custom_user_fields/fields/dummy_field"
|
|
5
|
+
require "decidim/custom_user_fields/fields/date_field"
|
|
6
|
+
require "decidim/custom_user_fields/fields/text_area_field"
|
|
7
|
+
require "decidim/custom_user_fields/fields/text_field"
|
|
8
|
+
require "decidim/custom_user_fields/fields/extra_field_ref_field"
|
|
9
|
+
require "decidim/custom_user_fields/fields/boolean_field"
|
|
10
|
+
require "decidim/custom_user_fields/definition_guidance"
|
|
11
|
+
require "decidim/custom_user_fields/field_definition"
|
|
12
|
+
require "decidim/custom_user_fields/customization_field_naming"
|
|
13
|
+
require "decidim/custom_user_fields/extended_data"
|
|
11
14
|
|
|
12
|
-
require
|
|
15
|
+
require "decidim/custom_user_fields/helpers/application_helper"
|
|
16
|
+
require "decidim/custom_user_fields/custom_user_fields"
|
|
17
|
+
require "decidim/custom_user_fields/version"
|
|
18
|
+
require "decidim/custom_user_fields/customizations"
|
|
19
|
+
require "decidim/custom_user_fields/i18n/customization_keys"
|
|
20
|
+
require "decidim/custom_user_fields/registration_fields"
|
|
21
|
+
require "decidim/custom_user_fields/upgrade/migrate_toggle_config"
|
|
22
|
+
require "decidim/custom_user_fields/overrides/command"
|
|
23
|
+
require "decidim/custom_user_fields/overrides/omniauth_command"
|
|
24
|
+
require "decidim/custom_user_fields/overrides/omniauth_registrations_controller"
|
|
25
|
+
require "decidim/custom_user_fields/overrides/invitations_controller"
|
|
26
|
+
require "decidim/custom_user_fields/overrides/authorizations_controller"
|
|
27
|
+
require "decidim/custom_user_fields/overrides/form_definition"
|
|
28
|
+
require "decidim/custom_user_fields/overrides/user"
|
|
29
|
+
require "decidim/custom_user_fields/overrides/devise_authentication_methods"
|
|
30
|
+
require "decidim/custom_user_fields/overrides/confirmations_controller"
|
|
31
|
+
require "decidim/custom_user_fields/decidim_integrations"
|
|
32
|
+
|
|
33
|
+
require "decidim/custom_user_fields/engine"
|
|
34
|
+
require "decidim/custom_user_fields/update_customizations_config_command"
|
|
35
|
+
|
|
36
|
+
if defined?(Rails) && (Rails.env.development? || ENV["ZITADEL_OIDC_ENABLED"].present?)
|
|
37
|
+
require "decidim/custom_user_fields/dev/scenario_customizations"
|
|
38
|
+
require "decidim/custom_user_fields/dev/omniauth_providers_patcher"
|
|
39
|
+
require "decidim/custom_user_fields/dev/bootstrap"
|
|
40
|
+
require "decidim/custom_user_fields/dev/local_oidc_seeder"
|
|
41
|
+
require "decidim/custom_user_fields/dev/openid_connect_setup"
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
require "decidim/custom_user_fields/verifications/builder"
|
|
45
|
+
require "decidim/custom_user_fields/verifications/verifications"
|
|
13
46
|
|
|
14
47
|
Decidim.register_global_engine(
|
|
15
|
-
:decidim_custom_user_fields,
|
|
16
|
-
|
|
17
|
-
at:
|
|
48
|
+
:decidim_custom_user_fields,
|
|
49
|
+
Decidim::CustomUserFields::Engine,
|
|
50
|
+
at: "/decidim_custom_user_fields"
|
|
18
51
|
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
Rake::Task["decidim:choose_target_plugins"].enhance do
|
|
4
|
+
name = Decidim::CustomUserFields::Engine.railtie_name
|
|
5
|
+
ENV["FROM"] = "#{ENV.fetch("FROM", nil)},#{name}" unless ENV["FROM"].to_s.include?(name)
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
if Rake::Task.task_defined?("decidim:upgrade")
|
|
9
|
+
Rake::Task["decidim:upgrade"].enhance do
|
|
10
|
+
name = Decidim::CustomUserFields::Engine.railtie_name
|
|
11
|
+
Rake::Task["#{name}:webpacker:install"].invoke if Rake::Task.task_defined?("#{name}:webpacker:install")
|
|
12
|
+
|
|
13
|
+
migrate_task = "#{name}:upgrade:migrate_toggle_config"
|
|
14
|
+
Rake::Task[migrate_task].invoke if Rake::Task.task_defined?(migrate_task)
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "decidim/gem_manager"
|
|
4
|
+
|
|
5
|
+
namespace :decidim_custom_user_fields do
|
|
6
|
+
namespace :webpacker do
|
|
7
|
+
desc "Installs Custom User Fields webpacker files in Rails instance application"
|
|
8
|
+
task install: :environment do
|
|
9
|
+
raise "Decidim gem is not installed" if decidim_path.nil?
|
|
10
|
+
|
|
11
|
+
install_custom_user_fields_npm
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
desc "Adds Custom User Fields dependencies in package.json"
|
|
15
|
+
task upgrade: :environment do
|
|
16
|
+
raise "Decidim gem is not installed" if decidim_path.nil?
|
|
17
|
+
|
|
18
|
+
install_custom_user_fields_npm
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def install_custom_user_fields_npm
|
|
22
|
+
return if custom_user_fields_npm_dependencies.empty?
|
|
23
|
+
|
|
24
|
+
puts "install NPM packages. You can also do this manually with this command:"
|
|
25
|
+
puts "npm i #{custom_user_fields_npm_dependencies.join(" ")}"
|
|
26
|
+
custom_user_fields_system! "npm i #{custom_user_fields_npm_dependencies.join(" ")}"
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def custom_user_fields_npm_dependencies
|
|
30
|
+
@custom_user_fields_npm_dependencies ||= if custom_user_fields_path.nil? || !File.exist?(custom_user_fields_path.join("package.json"))
|
|
31
|
+
[]
|
|
32
|
+
else
|
|
33
|
+
package_json = JSON.parse(File.read(custom_user_fields_path.join("package.json")))
|
|
34
|
+
|
|
35
|
+
(package_json["dependencies"] || {}).map { |package, version| "#{package}@#{version}" }
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def custom_user_fields_path
|
|
40
|
+
@custom_user_fields_path ||= Pathname.new(custom_user_fields_gemspec.full_gem_path) if Gem.loaded_specs.has_key?(custom_user_fields_gem_name)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def rails_app_path
|
|
44
|
+
@rails_app_path ||= Rails.root
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def custom_user_fields_system!(command)
|
|
48
|
+
system("cd #{rails_app_path} && #{command}") || abort("\n== Command #{command} failed ==")
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def custom_user_fields_gemspec
|
|
52
|
+
@custom_user_fields_gemspec ||= Gem.loaded_specs[custom_user_fields_gem_name]
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def custom_user_fields_gem_name
|
|
56
|
+
"decidim-user_fields"
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
namespace :decidim_custom_user_fields do
|
|
4
|
+
namespace :upgrade do
|
|
5
|
+
desc "Migrate decidim-toggle custom_user_fields config from active_field_set to enabled_customization"
|
|
6
|
+
task migrate_toggle_config: :environment do
|
|
7
|
+
dry_run = ActiveModel::Type::Boolean.new.cast(ENV.fetch("DRY_RUN", nil))
|
|
8
|
+
result = Decidim::CustomUserFields::Upgrade::MigrateToggleConfig.run(dry_run:)
|
|
9
|
+
puts(
|
|
10
|
+
"decidim_custom_user_fields:upgrade:migrate_toggle_config — " \
|
|
11
|
+
"migrated #{result[:migrated]}, skipped #{result[:skipped]}" \
|
|
12
|
+
"#{dry_run ? " (dry run)" : ""}"
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
namespace :decidim_custom_user_fields do
|
|
4
|
+
namespace :dev do
|
|
5
|
+
desc "Register openid_connect as an omniauth provider in the dummy app (local Zitadel testing)"
|
|
6
|
+
task prepare_omniauth: :environment do
|
|
7
|
+
result = Decidim::CustomUserFields::Dev::OmniauthProvidersPatcher.call
|
|
8
|
+
puts "decidim_custom_user_fields:dev:prepare_omniauth — #{result}"
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
desc "Seed demo organization with Zitadel OIDC + scenario customizations"
|
|
12
|
+
task seed: :environment do
|
|
13
|
+
Decidim::CustomUserFields::Dev::LocalOidcSeeder.call
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-user_fields
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hadrien Froger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: decidim-core
|
|
@@ -16,42 +16,56 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.32'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0.
|
|
26
|
+
version: '0.32'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
28
|
+
name: decidim-toggle
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 0.1.3
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 0.1.3
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: decidim-verifications
|
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
|
30
44
|
requirements:
|
|
31
45
|
- - ">="
|
|
32
46
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
47
|
+
version: '0.32'
|
|
34
48
|
type: :runtime
|
|
35
49
|
prerelease: false
|
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
51
|
requirements:
|
|
38
52
|
- - ">="
|
|
39
53
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
54
|
+
version: '0.32'
|
|
41
55
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
56
|
+
name: deface
|
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
|
44
58
|
requirements:
|
|
45
59
|
- - ">="
|
|
46
60
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
48
|
-
type: :
|
|
61
|
+
version: '1.9'
|
|
62
|
+
type: :runtime
|
|
49
63
|
prerelease: false
|
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
65
|
requirements:
|
|
52
66
|
- - ">="
|
|
53
67
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
68
|
+
version: '1.9'
|
|
55
69
|
description: Allows to collect and manage some extra user fields on registration and
|
|
56
70
|
profile edition.
|
|
57
71
|
email:
|
|
@@ -61,29 +75,80 @@ extensions: []
|
|
|
61
75
|
extra_rdoc_files: []
|
|
62
76
|
files:
|
|
63
77
|
- README.md
|
|
78
|
+
- Rakefile
|
|
79
|
+
- app/forms/decidim/custom_user_fields/admin/customizations_config_form.rb
|
|
80
|
+
- app/forms/decidim/custom_user_fields/verifications/verification_form.rb
|
|
64
81
|
- app/overrides/decidim/account/show/extra_user_fields.html.erb.deface
|
|
65
82
|
- app/overrides/decidim/admin/officializations/index/_export_users_dropdown.html.erb.deface
|
|
66
|
-
- app/overrides/decidim/devise/invitations/edit/extra_user_fields.html.erb.deface
|
|
67
83
|
- app/overrides/decidim/devise/invitations/edit/extra_user_fields_form.html.erb.deface
|
|
84
|
+
- app/overrides/decidim/devise/omniauth_registrations/new/extra_user_fields.html.erb.deface
|
|
68
85
|
- app/overrides/decidim/devise/registrations/new/extra_user_fields.html.erb.deface
|
|
86
|
+
- app/overrides/invitation_override.rb
|
|
87
|
+
- app/packs/entrypoints/decidim_custom_user_fields.js
|
|
88
|
+
- app/packs/stylesheets/decidim/custom_user_fields/_decidim_custom_user_fields.scss
|
|
69
89
|
- app/views/decidim/custom_user_fields/_profile_form.html.erb
|
|
70
90
|
- app/views/decidim/custom_user_fields/_registration_form.html.erb
|
|
91
|
+
- app/views/decidim/custom_user_fields/_verification_form.erb
|
|
92
|
+
- app/views/decidim/custom_user_fields/system/_customizations_tab.html.erb
|
|
93
|
+
- config/assets.rb
|
|
94
|
+
- config/i18n-tasks.yml
|
|
95
|
+
- config/locales/decidim_custom_user_fields_scenarios.en.yml
|
|
96
|
+
- config/locales/decidim_custom_user_fields_scenarios.fr.yml
|
|
97
|
+
- config/locales/decidim_toggle.en.yml
|
|
98
|
+
- config/locales/decidim_toggle.fr.yml
|
|
99
|
+
- config/locales/decidim_user_fields.en.yml
|
|
100
|
+
- config/locales/decidim_user_fields.fr.yml
|
|
71
101
|
- lib/decidim/custom_user_fields/custom_user_fields.rb
|
|
102
|
+
- lib/decidim/custom_user_fields/customization_field_naming.rb
|
|
103
|
+
- lib/decidim/custom_user_fields/customizations.rb
|
|
104
|
+
- lib/decidim/custom_user_fields/customizations/builder.rb
|
|
105
|
+
- lib/decidim/custom_user_fields/customizations/customization.rb
|
|
106
|
+
- lib/decidim/custom_user_fields/decidim_integrations.rb
|
|
107
|
+
- lib/decidim/custom_user_fields/definition_guidance.rb
|
|
108
|
+
- lib/decidim/custom_user_fields/dev/bootstrap.rb
|
|
109
|
+
- lib/decidim/custom_user_fields/dev/local_oidc_seeder.rb
|
|
110
|
+
- lib/decidim/custom_user_fields/dev/omniauth_providers_patcher.rb
|
|
111
|
+
- lib/decidim/custom_user_fields/dev/openid_connect_setup.rb
|
|
112
|
+
- lib/decidim/custom_user_fields/dev/scenario_customizations.rb
|
|
72
113
|
- lib/decidim/custom_user_fields/engine.rb
|
|
114
|
+
- lib/decidim/custom_user_fields/extended_data.rb
|
|
73
115
|
- lib/decidim/custom_user_fields/field_definition.rb
|
|
116
|
+
- lib/decidim/custom_user_fields/fields/boolean_field.rb
|
|
74
117
|
- lib/decidim/custom_user_fields/fields/date_field.rb
|
|
118
|
+
- lib/decidim/custom_user_fields/fields/dummy_field.rb
|
|
119
|
+
- lib/decidim/custom_user_fields/fields/extra_field_ref_field.rb
|
|
75
120
|
- lib/decidim/custom_user_fields/fields/generic_field.rb
|
|
76
121
|
- lib/decidim/custom_user_fields/fields/text_area_field.rb
|
|
77
122
|
- lib/decidim/custom_user_fields/fields/text_field.rb
|
|
78
123
|
- lib/decidim/custom_user_fields/helpers/application_helper.rb
|
|
124
|
+
- lib/decidim/custom_user_fields/i18n/customization_keys.rb
|
|
125
|
+
- lib/decidim/custom_user_fields/i18n/customization_keys_scanner.rb
|
|
126
|
+
- lib/decidim/custom_user_fields/i18n/tasks.rb
|
|
127
|
+
- lib/decidim/custom_user_fields/overrides/authorizations_controller.rb
|
|
79
128
|
- lib/decidim/custom_user_fields/overrides/command.rb
|
|
129
|
+
- lib/decidim/custom_user_fields/overrides/confirmations_controller.rb
|
|
130
|
+
- lib/decidim/custom_user_fields/overrides/devise_authentication_methods.rb
|
|
80
131
|
- lib/decidim/custom_user_fields/overrides/form_definition.rb
|
|
132
|
+
- lib/decidim/custom_user_fields/overrides/invitations_controller.rb
|
|
133
|
+
- lib/decidim/custom_user_fields/overrides/omniauth_command.rb
|
|
134
|
+
- lib/decidim/custom_user_fields/overrides/omniauth_registrations_controller.rb
|
|
135
|
+
- lib/decidim/custom_user_fields/overrides/user.rb
|
|
136
|
+
- lib/decidim/custom_user_fields/registration_fields.rb
|
|
137
|
+
- lib/decidim/custom_user_fields/update_customizations_config_command.rb
|
|
138
|
+
- lib/decidim/custom_user_fields/upgrade/migrate_toggle_config.rb
|
|
139
|
+
- lib/decidim/custom_user_fields/verifications/builder.rb
|
|
140
|
+
- lib/decidim/custom_user_fields/verifications/verifications.rb
|
|
81
141
|
- lib/decidim/custom_user_fields/version.rb
|
|
82
142
|
- lib/decidim/user_fields.rb
|
|
143
|
+
- lib/tasks/decidim/custom_user_fields/custom_user_fields_upgrade.rake
|
|
144
|
+
- lib/tasks/decidim/custom_user_fields/custom_user_fields_webpacker.rake
|
|
145
|
+
- lib/tasks/decidim/custom_user_fields/decidim_custom_user_fields_upgrade_tasks.rake
|
|
146
|
+
- lib/tasks/decidim/custom_user_fields/dev/local_setup.rake
|
|
83
147
|
homepage: https://git.octree.ch/decidim/decidim-user_fields
|
|
84
148
|
licenses:
|
|
85
149
|
- AGPL-3.0
|
|
86
|
-
metadata:
|
|
150
|
+
metadata:
|
|
151
|
+
rubygems_mfa_required: 'true'
|
|
87
152
|
post_install_message:
|
|
88
153
|
rdoc_options: []
|
|
89
154
|
require_paths:
|
|
@@ -92,14 +157,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
92
157
|
requirements:
|
|
93
158
|
- - ">="
|
|
94
159
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '
|
|
160
|
+
version: '3.4'
|
|
96
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
162
|
requirements:
|
|
98
163
|
- - ">="
|
|
99
164
|
- !ruby/object:Gem::Version
|
|
100
165
|
version: '0'
|
|
101
166
|
requirements: []
|
|
102
|
-
rubygems_version: 3.
|
|
167
|
+
rubygems_version: 3.4.19
|
|
103
168
|
signing_key:
|
|
104
169
|
specification_version: 4
|
|
105
170
|
summary: Configure user fields for your decidim users
|