decidim-initiatives 0.24.1 → 0.25.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/initiatives/content_blocks/highlighted_initiatives/show.erb +2 -0
- data/app/cells/decidim/initiatives/initiative_m_cell.rb +1 -3
- data/app/commands/decidim/initiatives/attachment_methods.rb +2 -1
- data/app/controllers/concerns/decidim/initiatives/admin/initiative_admin.rb +7 -0
- data/app/controllers/decidim/initiatives/admin/initiatives_controller.rb +7 -1
- data/app/controllers/decidim/initiatives/admin/initiatives_permissions_controller.rb +27 -0
- data/app/controllers/decidim/initiatives/admin/initiatives_types_controller.rb +0 -2
- data/app/controllers/decidim/initiatives/initiatives_controller.rb +4 -0
- data/app/controllers/decidim/initiatives/versions_controller.rb +6 -0
- data/app/forms/decidim/initiatives/admin/initiative_type_form.rb +5 -1
- data/app/forms/decidim/initiatives/initiative_form.rb +2 -1
- data/app/helpers/decidim/initiatives/admin/initiatives_helper.rb +25 -0
- data/app/jobs/decidim/initiatives/export_initiatives_job.rb +12 -5
- data/app/models/decidim/initiative.rb +21 -15
- data/app/models/decidim/initiatives_type.rb +3 -1
- data/app/packs/entrypoints/decidim_initiatives.js +6 -0
- data/app/packs/entrypoints/decidim_initiatives_admin.js +3 -0
- data/app/packs/entrypoints/decidim_initiatives_initiatives_votes.js +1 -0
- data/app/packs/entrypoints/decidim_initiatives_initiatives_votes.scss +1 -0
- data/app/packs/entrypoints/decidim_initiatives_print.js +1 -0
- data/app/packs/entrypoints/decidim_initiatives_print.scss +1 -0
- data/app/{assets/images/decidim/gamification/badges/initiatives.svg → packs/images/decidim/gamification/badges/decidim_gamification_badges_initiatives.svg} +0 -0
- data/app/{assets/images/decidim/initiatives/icon.svg → packs/images/decidim/initiatives/decidim_initiatives.svg} +0 -0
- data/app/{assets/javascripts/decidim/initiatives/admin/initiatives_types.js.es6 → packs/src/decidim/initiatives/admin/initiatives_types.js} +0 -0
- data/app/{assets/javascripts → packs/src}/decidim/initiatives/admin/invite_users.js +2 -2
- data/app/packs/src/decidim/initiatives/application.js +3 -0
- data/app/{assets/javascripts → packs/src}/decidim/initiatives/identity_selector_dialog.js +2 -2
- data/app/{assets/javascripts → packs/src}/decidim/initiatives/scoped_type.js +2 -2
- data/app/{assets/stylesheet/decidim/initiatives/admin.css.scss → packs/stylesheets/decidim/initiatives/admin.scss} +0 -0
- data/app/{assets/stylesheet/decidim/initiatives/initiatives-votes.css.scss → packs/stylesheets/decidim/initiatives/initiatives-votes.scss} +0 -0
- data/app/{assets/stylesheet → packs/stylesheets}/decidim/initiatives/initiatives.scss +3 -3
- data/app/{assets/stylesheet/decidim/initiatives/popularity_item.css.scss → packs/stylesheets/decidim/initiatives/popularity_item.scss} +0 -0
- data/app/{assets/stylesheet/decidim/initiatives/print-initiative.css.scss → packs/stylesheets/decidim/initiatives/print-initiative.scss} +0 -0
- data/app/{assets/stylesheet/decidim/initiatives/statistics.css.scss → packs/stylesheets/decidim/initiatives/statistics.scss} +0 -0
- data/app/queries/decidim/initiatives/admin/admin_users.rb +13 -8
- data/app/views/decidim/initiatives/admin/committee_requests/index.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/exports/_dropdown.html.erb +19 -3
- data/app/views/decidim/initiatives/admin/initiatives/_form.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/initiatives/index.html.erb +17 -14
- data/app/views/decidim/initiatives/admin/initiatives/show.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/initiatives_types/_form.html.erb +1 -1
- data/app/views/decidim/initiatives/admin/initiatives_types/index.html.erb +1 -1
- data/app/views/decidim/initiatives/committee_requests/new.html.erb +2 -2
- data/app/views/decidim/initiatives/create_initiative/_share_committee_link.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_author.html.erb +4 -4
- data/app/views/decidim/initiatives/initiatives/_committee_members.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_filters.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/_form.html.erb +2 -2
- data/app/views/decidim/initiatives/initiatives/index.html.erb +0 -3
- data/app/views/decidim/initiatives/initiatives/print.html.erb +1 -1
- data/app/views/decidim/initiatives/initiatives/show.html.erb +2 -2
- data/app/views/layouts/decidim/_initiative_header.html.erb +1 -1
- data/app/views/layouts/decidim/admin/initiative.html.erb +4 -51
- data/app/views/layouts/decidim/admin/initiatives.html.erb +1 -1
- data/app/views/layouts/decidim/admin/initiatives_votes.pdf.erb +1 -1
- data/app/views/layouts/decidim/initiative_creation.html.erb +1 -1
- data/app/views/layouts/decidim/initiative_signature_creation.html.erb +1 -1
- data/config/assets.rb +12 -0
- data/config/locales/ar.yml +2 -5
- data/config/locales/ca.yml +5 -6
- data/config/locales/cs.yml +9 -10
- data/config/locales/de.yml +5 -6
- data/config/locales/el.yml +2 -5
- data/config/locales/en.yml +8 -6
- data/config/locales/es-MX.yml +5 -6
- data/config/locales/es-PY.yml +5 -6
- data/config/locales/es.yml +5 -6
- data/config/locales/eu.yml +2 -5
- data/config/locales/fi-plain.yml +5 -6
- data/config/locales/fi.yml +5 -6
- data/config/locales/fr-CA.yml +2 -6
- data/config/locales/fr-LU.yml +613 -0
- data/config/locales/fr.yml +2 -6
- data/config/locales/gl.yml +5 -5
- data/config/locales/hu.yml +2 -6
- data/config/locales/id-ID.yml +2 -5
- data/config/locales/is-IS.yml +2 -5
- data/config/locales/it.yml +120 -5
- data/config/locales/ja.yml +112 -20
- data/config/locales/lb-LU.yml +1 -0
- data/config/locales/lv.yml +2 -5
- data/config/locales/nl.yml +5 -6
- data/config/locales/no.yml +2 -6
- data/config/locales/pl.yml +6 -7
- data/config/locales/pt-BR.yml +187 -5
- data/config/locales/pt.yml +2 -5
- data/config/locales/ro-RO.yml +116 -5
- data/config/locales/ru.yml +2 -5
- data/config/locales/sk.yml +2 -5
- data/config/locales/sv.yml +6 -6
- data/config/locales/tr-TR.yml +2 -6
- data/config/locales/uk.yml +2 -5
- data/config/locales/zh-CN.yml +2 -6
- data/db/migrate/20191002082220_move_signature_type_to_initative_type.rb +1 -1
- data/lib/decidim/api/initiative_api_type.rb +4 -0
- data/lib/decidim/initiatives/admin_engine.rb +70 -25
- data/lib/decidim/initiatives/engine.rb +5 -11
- data/lib/decidim/initiatives/participatory_space.rb +16 -3
- data/lib/decidim/initiatives/version.rb +1 -1
- metadata +40 -54
- data/app/assets/config/admin_decidim_initiatives_manifest.js +0 -4
- data/app/assets/config/decidim_initiatives_manifest.css +0 -3
- data/app/assets/config/decidim_initiatives_manifest.js +0 -5
- data/app/assets/javascripts/decidim/initiatives/application.js +0 -1
- data/app/helpers/decidim/initiatives/admin/initiative_admin_menu_helper.rb +0 -15
- data/config/locales/ja-JP.yml +0 -529
@@ -22,7 +22,7 @@ class MoveSignatureTypeToInitativeType < ActiveRecord::Migration[5.2]
|
|
22
22
|
|
23
23
|
InitiativesType.reset_column_information
|
24
24
|
|
25
|
-
|
25
|
+
InitiativesType.find_each do |type|
|
26
26
|
type.signature_type = if type.online_signature_enabled && face_to_face_voting_allowed
|
27
27
|
:any
|
28
28
|
elsif type.online_signature_enabled && !face_to_face_voting_allowed
|
@@ -21,6 +21,10 @@ module Decidim
|
|
21
21
|
field :signature_type, GraphQL::Types::String, "Signature type of the initiative", null: true
|
22
22
|
|
23
23
|
field :initiatives, [Decidim::Initiatives::InitiativeType, { null: true }], "The initiatives that have this type", null: false
|
24
|
+
|
25
|
+
def banner_image
|
26
|
+
object.attached_uploader(:banner_image).path
|
27
|
+
end
|
24
28
|
end
|
25
29
|
end
|
26
30
|
end
|
@@ -44,6 +44,8 @@ module Decidim
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
resource :permissions, controller: "initiatives_permissions"
|
48
|
+
|
47
49
|
resource :answer, only: [:edit, :update]
|
48
50
|
end
|
49
51
|
|
@@ -79,41 +81,84 @@ module Decidim
|
|
79
81
|
end
|
80
82
|
end
|
81
83
|
|
82
|
-
initializer "
|
83
|
-
|
84
|
-
|
85
|
-
|
84
|
+
initializer "decidim_initiaves.admin_menu" do
|
85
|
+
Decidim.menu :admin_menu do |menu|
|
86
|
+
menu.add_item :initiatives,
|
87
|
+
I18n.t("menu.initiatives", scope: "decidim.admin"),
|
88
|
+
decidim_admin_initiatives.initiatives_path,
|
89
|
+
icon_name: "chat",
|
90
|
+
position: 2.4,
|
91
|
+
active: :inclusive,
|
92
|
+
if: allowed_to?(:enter, :space_area, space_name: :initiatives)
|
93
|
+
end
|
86
94
|
end
|
87
95
|
|
88
|
-
initializer "admin_decidim_initiatives.
|
89
|
-
|
90
|
-
|
96
|
+
initializer "admin_decidim_initiatives.admin_components_menu" do
|
97
|
+
Decidim.menu :admin_initiatives_components_menu do |menu|
|
98
|
+
current_participatory_space.components.each do |component|
|
99
|
+
caption = translated_attribute(component.name)
|
100
|
+
if component.primary_stat.present?
|
101
|
+
caption += content_tag(:span, component.primary_stat, class: component.primary_stat.zero? ? "component-counter component-counter--off" : "component-counter")
|
102
|
+
end
|
103
|
+
|
104
|
+
menu.add_item [component.manifest_name, component.id].join("_"),
|
105
|
+
caption.html_safe,
|
106
|
+
manage_component_path(component),
|
107
|
+
active: is_active_link?(manage_component_path(component)),
|
108
|
+
if: component.manifest.admin_engine # && user_role_config.component_is_accessible?(component.manifest_name)
|
109
|
+
end
|
91
110
|
end
|
92
111
|
end
|
93
112
|
|
94
|
-
initializer "
|
95
|
-
Decidim.menu :
|
96
|
-
menu.
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
113
|
+
initializer "admin_decidim_initiative.admin_menu" do
|
114
|
+
Decidim.menu :admin_initiative_menu do |menu|
|
115
|
+
menu.add_item :edit_initiative,
|
116
|
+
I18n.t("menu.information", scope: "decidim.admin"),
|
117
|
+
decidim_admin_initiatives.edit_initiative_path(current_participatory_space),
|
118
|
+
active: is_active_link?(decidim_admin_initiatives.edit_initiative_path(current_participatory_space)),
|
119
|
+
if: allowed_to?(:edit, :initiative, initiative: current_participatory_space)
|
120
|
+
|
121
|
+
menu.add_item :initiative_committee_requests,
|
122
|
+
I18n.t("menu.committee_members", scope: "decidim.admin"),
|
123
|
+
decidim_admin_initiatives.initiative_committee_requests_path(current_participatory_space),
|
124
|
+
active: is_active_link?(decidim_admin_initiatives.initiative_committee_requests_path(current_participatory_space)),
|
125
|
+
if: current_participatory_space.promoting_committee_enabled? && allowed_to?(:manage_membership, :initiative, initiative: current_participatory_space)
|
126
|
+
|
127
|
+
menu.add_item :components,
|
128
|
+
I18n.t("menu.components", scope: "decidim.admin"),
|
129
|
+
decidim_admin_initiatives.components_path(current_participatory_space),
|
130
|
+
active: is_active_link?(decidim_admin_initiatives.components_path(current_participatory_space)),
|
131
|
+
if: allowed_to?(:read, :component, initiative: current_participatory_space),
|
132
|
+
submenu: { target_menu: :admin_initiatives_components_menu, options: { container_options: { id: "components-list" } } }
|
133
|
+
|
134
|
+
menu.add_item :initiative_attachments,
|
135
|
+
I18n.t("menu.attachments", scope: "decidim.admin"),
|
136
|
+
decidim_admin_initiatives.initiative_attachments_path(current_participatory_space),
|
137
|
+
active: is_active_link?(decidim_admin_initiatives.initiative_attachments_path(current_participatory_space)),
|
138
|
+
if: allowed_to?(:read, :attachment, initiative: current_participatory_space)
|
139
|
+
|
140
|
+
menu.add_item :moderations,
|
141
|
+
I18n.t("menu.moderations", scope: "decidim.admin"),
|
142
|
+
decidim_admin_initiatives.moderations_path(current_participatory_space),
|
143
|
+
active: is_active_link?(decidim_admin_initiatives.moderations_path(current_participatory_space)),
|
144
|
+
if: allowed_to?(:read, :moderation)
|
102
145
|
end
|
103
146
|
end
|
104
147
|
|
105
148
|
initializer "admin_decidim_initiatives.admin_menu" do
|
106
149
|
Decidim.menu :admin_initiatives_menu do |menu|
|
107
|
-
menu.
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
150
|
+
menu.add_item :initiatives,
|
151
|
+
I18n.t("menu.initiatives", scope: "decidim.admin"),
|
152
|
+
decidim_admin_initiatives.initiatives_path,
|
153
|
+
position: 1.0,
|
154
|
+
active: is_active_link?(decidim_admin_initiatives.initiatives_path),
|
155
|
+
if: allowed_to?(:index, :initiative)
|
156
|
+
|
157
|
+
menu.add_item :initiatives_types,
|
158
|
+
I18n.t("menu.initiatives_types", scope: "decidim.admin"),
|
159
|
+
decidim_admin_initiatives.initiatives_types_path,
|
160
|
+
active: is_active_link?(decidim_admin_initiatives.initiatives_types_path),
|
161
|
+
if: allowed_to?(:manage, :initiative_type)
|
117
162
|
end
|
118
163
|
end
|
119
164
|
end
|
@@ -65,13 +65,6 @@ module Decidim
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
initializer "decidim_initiatives.assets" do |app|
|
69
|
-
app.config.assets.precompile += %w(
|
70
|
-
decidim_initiatives_manifest.js
|
71
|
-
decidim_initiatives_manifest.css
|
72
|
-
)
|
73
|
-
end
|
74
|
-
|
75
68
|
initializer "decidim_initiatives.content_blocks" do
|
76
69
|
Decidim.content_blocks.register(:homepage, :highlighted_initiatives) do |content_block|
|
77
70
|
content_block.cell = "decidim/initiatives/content_blocks/highlighted_initiatives"
|
@@ -92,10 +85,11 @@ module Decidim
|
|
92
85
|
|
93
86
|
initializer "decidim_initiatives.menu" do
|
94
87
|
Decidim.menu :menu do |menu|
|
95
|
-
menu.
|
96
|
-
|
97
|
-
|
98
|
-
|
88
|
+
menu.add_item :initiatives,
|
89
|
+
I18n.t("menu.initiatives", scope: "decidim"),
|
90
|
+
decidim_initiatives.initiatives_path,
|
91
|
+
position: 2.4,
|
92
|
+
active: :inclusive
|
99
93
|
end
|
100
94
|
end
|
101
95
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Decidim.register_participatory_space(:initiatives) do |participatory_space|
|
4
|
-
participatory_space.icon = "
|
4
|
+
participatory_space.icon = "media/images/decidim_initiatives.svg"
|
5
5
|
participatory_space.stylesheet = "decidim/initiatives/initiatives"
|
6
6
|
|
7
7
|
participatory_space.context(:public) do |context|
|
@@ -21,6 +21,8 @@ Decidim.register_participatory_space(:initiatives) do |participatory_space|
|
|
21
21
|
participatory_space.query_type = "Decidim::Initiatives::InitiativeType"
|
22
22
|
|
23
23
|
participatory_space.register_resource(:initiative) do |resource|
|
24
|
+
resource.actions = %w(comment)
|
25
|
+
resource.permissions_class_name = "Decidim::Initiatives::Permissions"
|
24
26
|
resource.model_class_name = "Decidim::Initiative"
|
25
27
|
resource.card = "decidim/initiatives/initiative"
|
26
28
|
resource.searchable = true
|
@@ -59,7 +61,12 @@ Decidim.register_participatory_space(:initiatives) do |participatory_space|
|
|
59
61
|
title: Decidim::Faker::Localized.sentence(word_count: 5),
|
60
62
|
description: Decidim::Faker::Localized.sentence(word_count: 25),
|
61
63
|
organization: organization,
|
62
|
-
banner_image:
|
64
|
+
banner_image: ActiveStorage::Blob.create_after_upload!(
|
65
|
+
io: File.open(File.join(seeds_root, "city2.jpeg")),
|
66
|
+
filename: "banner_image.jpeg",
|
67
|
+
content_type: "image/jpeg",
|
68
|
+
metadata: nil
|
69
|
+
)
|
63
70
|
)
|
64
71
|
|
65
72
|
organization.top_scopes.each do |scope|
|
@@ -104,7 +111,13 @@ Decidim.register_participatory_space(:initiatives) do |participatory_space|
|
|
104
111
|
title: Decidim::Faker::Localized.sentence(word_count: 2),
|
105
112
|
description: Decidim::Faker::Localized.sentence(word_count: 5),
|
106
113
|
attached_to: initiative,
|
107
|
-
|
114
|
+
content_type: "image/jpeg",
|
115
|
+
file: ActiveStorage::Blob.create_after_upload!(
|
116
|
+
io: File.open(File.join(seeds_root, "city.jpeg")),
|
117
|
+
filename: "city.jpeg",
|
118
|
+
content_type: "image/jpeg",
|
119
|
+
metadata: nil
|
120
|
+
)
|
108
121
|
)
|
109
122
|
|
110
123
|
Decidim::Initiatives.default_components.each do |component_name|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-initiatives
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Salvador Perez Garcia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-admin
|
@@ -16,76 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.25.0.rc2
|
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.25.0.rc2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: decidim-comments
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.25.0.rc2
|
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.0.rc2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: decidim-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.25.0.rc2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.25.0.rc2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: decidim-verifications
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.25.0.rc2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: kaminari
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.2'
|
76
|
-
- - ">="
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: 1.2.1
|
79
|
-
type: :runtime
|
80
|
-
prerelease: false
|
81
|
-
version_requirements: !ruby/object:Gem::Requirement
|
82
|
-
requirements:
|
83
|
-
- - "~>"
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '1.2'
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: 1.2.1
|
68
|
+
version: 0.25.0.rc2
|
89
69
|
- !ruby/object:Gem::Dependency
|
90
70
|
name: origami
|
91
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,14 +114,14 @@ dependencies:
|
|
134
114
|
requirements:
|
135
115
|
- - "~>"
|
136
116
|
- !ruby/object:Gem::Version
|
137
|
-
version: '1
|
117
|
+
version: '2.1'
|
138
118
|
type: :runtime
|
139
119
|
prerelease: false
|
140
120
|
version_requirements: !ruby/object:Gem::Requirement
|
141
121
|
requirements:
|
142
122
|
- - "~>"
|
143
123
|
- !ruby/object:Gem::Version
|
144
|
-
version: '1
|
124
|
+
version: '2.1'
|
145
125
|
- !ruby/object:Gem::Dependency
|
146
126
|
name: wkhtmltopdf-binary
|
147
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,14 +142,14 @@ dependencies:
|
|
162
142
|
requirements:
|
163
143
|
- - '='
|
164
144
|
- !ruby/object:Gem::Version
|
165
|
-
version: 0.
|
145
|
+
version: 0.25.0.rc2
|
166
146
|
type: :development
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
149
|
requirements:
|
170
150
|
- - '='
|
171
151
|
- !ruby/object:Gem::Version
|
172
|
-
version: 0.
|
152
|
+
version: 0.25.0.rc2
|
173
153
|
description: Citizen initiatives plugin for decidim.
|
174
154
|
email:
|
175
155
|
- jsperezg@gmail.com
|
@@ -179,22 +159,6 @@ extra_rdoc_files: []
|
|
179
159
|
files:
|
180
160
|
- README.md
|
181
161
|
- Rakefile
|
182
|
-
- app/assets/config/admin_decidim_initiatives_manifest.js
|
183
|
-
- app/assets/config/decidim_initiatives_manifest.css
|
184
|
-
- app/assets/config/decidim_initiatives_manifest.js
|
185
|
-
- app/assets/images/decidim/gamification/badges/initiatives.svg
|
186
|
-
- app/assets/images/decidim/initiatives/icon.svg
|
187
|
-
- app/assets/javascripts/decidim/initiatives/admin/initiatives_types.js.es6
|
188
|
-
- app/assets/javascripts/decidim/initiatives/admin/invite_users.js
|
189
|
-
- app/assets/javascripts/decidim/initiatives/application.js
|
190
|
-
- app/assets/javascripts/decidim/initiatives/identity_selector_dialog.js
|
191
|
-
- app/assets/javascripts/decidim/initiatives/scoped_type.js
|
192
|
-
- app/assets/stylesheet/decidim/initiatives/admin.css.scss
|
193
|
-
- app/assets/stylesheet/decidim/initiatives/initiatives-votes.css.scss
|
194
|
-
- app/assets/stylesheet/decidim/initiatives/initiatives.scss
|
195
|
-
- app/assets/stylesheet/decidim/initiatives/popularity_item.css.scss
|
196
|
-
- app/assets/stylesheet/decidim/initiatives/print-initiative.css.scss
|
197
|
-
- app/assets/stylesheet/decidim/initiatives/statistics.css.scss
|
198
162
|
- app/cells/decidim/initiative_activity_cell.rb
|
199
163
|
- app/cells/decidim/initiatives/content_blocks/highlighted_initiatives/show.erb
|
200
164
|
- app/cells/decidim/initiatives/content_blocks/highlighted_initiatives_cell.rb
|
@@ -242,6 +206,7 @@ files:
|
|
242
206
|
- app/controllers/decidim/initiatives/admin/components_controller.rb
|
243
207
|
- app/controllers/decidim/initiatives/admin/initiative_attachments_controller.rb
|
244
208
|
- app/controllers/decidim/initiatives/admin/initiatives_controller.rb
|
209
|
+
- app/controllers/decidim/initiatives/admin/initiatives_permissions_controller.rb
|
245
210
|
- app/controllers/decidim/initiatives/admin/initiatives_type_scopes_controller.rb
|
246
211
|
- app/controllers/decidim/initiatives/admin/initiatives_types_controller.rb
|
247
212
|
- app/controllers/decidim/initiatives/admin/initiatives_types_permissions_controller.rb
|
@@ -278,7 +243,7 @@ files:
|
|
278
243
|
- app/forms/decidim/initiatives/previous_form.rb
|
279
244
|
- app/forms/decidim/initiatives/select_initiative_type_form.rb
|
280
245
|
- app/forms/decidim/initiatives/vote_form.rb
|
281
|
-
- app/helpers/decidim/initiatives/admin/
|
246
|
+
- app/helpers/decidim/initiatives/admin/initiatives_helper.rb
|
282
247
|
- app/helpers/decidim/initiatives/application_helper.rb
|
283
248
|
- app/helpers/decidim/initiatives/create_initiative_helper.rb
|
284
249
|
- app/helpers/decidim/initiatives/initiative_helper.rb
|
@@ -291,6 +256,25 @@ files:
|
|
291
256
|
- app/models/decidim/initiatives_type.rb
|
292
257
|
- app/models/decidim/initiatives_type_scope.rb
|
293
258
|
- app/models/decidim/initiatives_vote.rb
|
259
|
+
- app/packs/entrypoints/decidim_initiatives.js
|
260
|
+
- app/packs/entrypoints/decidim_initiatives_admin.js
|
261
|
+
- app/packs/entrypoints/decidim_initiatives_initiatives_votes.js
|
262
|
+
- app/packs/entrypoints/decidim_initiatives_initiatives_votes.scss
|
263
|
+
- app/packs/entrypoints/decidim_initiatives_print.js
|
264
|
+
- app/packs/entrypoints/decidim_initiatives_print.scss
|
265
|
+
- app/packs/images/decidim/gamification/badges/decidim_gamification_badges_initiatives.svg
|
266
|
+
- app/packs/images/decidim/initiatives/decidim_initiatives.svg
|
267
|
+
- app/packs/src/decidim/initiatives/admin/initiatives_types.js
|
268
|
+
- app/packs/src/decidim/initiatives/admin/invite_users.js
|
269
|
+
- app/packs/src/decidim/initiatives/application.js
|
270
|
+
- app/packs/src/decidim/initiatives/identity_selector_dialog.js
|
271
|
+
- app/packs/src/decidim/initiatives/scoped_type.js
|
272
|
+
- app/packs/stylesheets/decidim/initiatives/admin.scss
|
273
|
+
- app/packs/stylesheets/decidim/initiatives/initiatives-votes.scss
|
274
|
+
- app/packs/stylesheets/decidim/initiatives/initiatives.scss
|
275
|
+
- app/packs/stylesheets/decidim/initiatives/popularity_item.scss
|
276
|
+
- app/packs/stylesheets/decidim/initiatives/print-initiative.scss
|
277
|
+
- app/packs/stylesheets/decidim/initiatives/statistics.scss
|
294
278
|
- app/permissions/decidim/initiatives/admin/permissions.rb
|
295
279
|
- app/permissions/decidim/initiatives/permissions.rb
|
296
280
|
- app/presenters/decidim/initiative_presenter.rb
|
@@ -392,6 +376,7 @@ files:
|
|
392
376
|
- app/views/layouts/decidim/initiative.html.erb
|
393
377
|
- app/views/layouts/decidim/initiative_creation.html.erb
|
394
378
|
- app/views/layouts/decidim/initiative_signature_creation.html.erb
|
379
|
+
- config/assets.rb
|
395
380
|
- config/initializers/mail_previews.rb
|
396
381
|
- config/initializers/wicked_pdf.rb
|
397
382
|
- config/locales/am-ET.yml
|
@@ -420,6 +405,7 @@ files:
|
|
420
405
|
- config/locales/fi-plain.yml
|
421
406
|
- config/locales/fi.yml
|
422
407
|
- config/locales/fr-CA.yml
|
408
|
+
- config/locales/fr-LU.yml
|
423
409
|
- config/locales/fr.yml
|
424
410
|
- config/locales/ga-IE.yml
|
425
411
|
- config/locales/gl.yml
|
@@ -430,10 +416,10 @@ files:
|
|
430
416
|
- config/locales/is-IS.yml
|
431
417
|
- config/locales/is.yml
|
432
418
|
- config/locales/it.yml
|
433
|
-
- config/locales/ja-JP.yml
|
434
419
|
- config/locales/ja.yml
|
435
420
|
- config/locales/ko-KR.yml
|
436
421
|
- config/locales/ko.yml
|
422
|
+
- config/locales/lb-LU.yml
|
437
423
|
- config/locales/lt-LT.yml
|
438
424
|
- config/locales/lt.yml
|
439
425
|
- config/locales/lv.yml
|
@@ -553,9 +539,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
553
539
|
version: '2.7'
|
554
540
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
555
541
|
requirements:
|
556
|
-
- - "
|
542
|
+
- - ">"
|
557
543
|
- !ruby/object:Gem::Version
|
558
|
-
version:
|
544
|
+
version: 1.3.1
|
559
545
|
requirements: []
|
560
546
|
rubygems_version: 3.1.2
|
561
547
|
signing_key:
|