decidim-action_delegator 0.4 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/app/packs/entrypoints/decidim_action_delegator.scss +1 -0
- data/app/packs/entrypoints/decidim_action_delegator_admin_action_delegator_js.js +1 -0
- data/app/packs/entrypoints/decidim_action_delegator_questions.js +3 -0
- data/app/packs/entrypoints/decidim_action_delegator_questions_js.js +1 -0
- data/app/{assets/javascripts → packs/src}/decidim/action_delegator/admin/action_delegator.js.es6 +0 -0
- data/app/{assets/javascripts → packs/src}/decidim/action_delegator/questions.js.es6 +0 -0
- data/app/{assets → packs}/stylesheets/decidim/action_delegator/questions.scss +0 -0
- data/app/views/decidim/consultations/consultations/show.html.erb +1 -1
- data/app/views/decidim/consultations/questions/_vote_button.html.erb +3 -4
- data/config/assets.rb +42 -0
- data/config/locales/ca.yml +9 -0
- data/config/locales/cs.yml +5 -0
- data/config/locales/en.yml +4 -0
- data/config/locales/es.yml +56 -47
- data/lib/decidim/action_delegator/admin_engine.rb +0 -4
- data/lib/decidim/action_delegator/engine.rb +8 -2
- data/lib/decidim/action_delegator/version.rb +3 -3
- metadata +35 -35
- data/app/assets/config/admin/decidim_action_delegator_manifest.css +0 -0
- data/app/assets/config/admin/decidim_action_delegator_manifest.js +0 -1
- data/app/assets/config/decidim_action_delegator_manifest.css +0 -3
- data/app/assets/config/decidim_action_delegator_manifest.js +0 -2
- data/app/assets/images/decidim/action_delegator/icon.svg +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5d669c45c0467b359830db39ef5ad435bc1a3f0a3f7f2663f74dac3ad6d3fab
|
4
|
+
data.tar.gz: 5011d0f2b42b00b28c69d38f91b15686f8072d29daf27dd1768102c01ff72e0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82cb39a4606b7618df911928ced137624d41f03bb7cef98001ec55a2774a10bd0dac9ae79ce37a3dac6d88d36c98c1063009e050b77092f3707a8f9e24146bed
|
7
|
+
data.tar.gz: ac71746dc2894a410fc8d982196136074df69e9e2e3f4730be89622eae60a828fd13a153bb974875cec698b95065f8f0e464a90beec3084064e7a7617557dbc3
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Decidim::ActionDelegator
|
2
2
|
|
3
|
-
![
|
3
|
+
[![Test](https://github.com/coopdevs/decidim-module-action_delegator/actions/workflows/test.yml/badge.svg)](https://github.com/coopdevs/decidim-module-action_delegator/actions/workflows/test.yml)
|
4
4
|
[![Maintainability](https://api.codeclimate.com/v1/badges/6ec3c39e8dc2075808e1/maintainability)](https://codeclimate.com/github/coopdevs/decidim-module-action_delegator/maintainability)
|
5
5
|
[![Codecov](https://codecov.io/gh/coopdevs/decidim-module-action_delegator/branch/master/graph/badge.svg)](https://codecov.io/gh/coopdevs/decidim-module-action_delegator)
|
6
6
|
|
@@ -188,7 +188,11 @@ To run the tests run the following in the gem development path:
|
|
188
188
|
|
189
189
|
```bash
|
190
190
|
bundle
|
191
|
-
DATABASE_USERNAME=<username> DATABASE_PASSWORD=<password> bundle exec rake
|
191
|
+
DATABASE_USERNAME=<username> DATABASE_PASSWORD=<password> bundle exec rake decidim:generate_external_test_app
|
192
|
+
cd spec/decidim_dummy_app
|
193
|
+
bundle exec rails decidim_action_delegator:install:migrations
|
194
|
+
RAILS_ENV=test bundle exec rails db:migrate
|
195
|
+
cd -
|
192
196
|
DATABASE_USERNAME=<username> DATABASE_PASSWORD=<password> bundle exec rspec
|
193
197
|
```
|
194
198
|
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "stylesheets/decidim/action_delegator/questions.scss"
|
@@ -0,0 +1 @@
|
|
1
|
+
import "src/decidim/action_delegator/admin/action_delegator.js.es6";
|
@@ -0,0 +1 @@
|
|
1
|
+
import "src/decidim/action_delegator/questions.js.es6";
|
data/app/{assets/javascripts → packs/src}/decidim/action_delegator/admin/action_delegator.js.es6
RENAMED
File without changes
|
File without changes
|
File without changes
|
@@ -7,7 +7,7 @@ edit_link(
|
|
7
7
|
)
|
8
8
|
%>
|
9
9
|
|
10
|
-
<%=
|
10
|
+
<%= stylesheet_pack_tag "decidim_action_delegator_questions" %>
|
11
11
|
|
12
12
|
<%= render partial: "consultation_details", locals: { consultation: current_consultation } %>
|
13
13
|
<%= render partial: "highlighted_questions", locals: { consultation: current_consultation } %>
|
@@ -1,5 +1,5 @@
|
|
1
|
-
<%=
|
2
|
-
<%=
|
1
|
+
<%= stylesheet_pack_tag "decidim_action_delegator_questions" %>
|
2
|
+
<%= javascript_pack_tag "decidim_action_delegator_questions_js" %>
|
3
3
|
|
4
4
|
<div class="row column">
|
5
5
|
<div class="callout hide" id="vote-result-callout" data-closable data-title-ok="<%= t("question_votes.create.title_success", scope: "decidim.consultations") %>" data-message-ok="<%= t("question_votes.create.success", scope: "decidim.consultations") %>" data-title-ko="<%= t("question_votes.create.title_error", scope: "decidim.consultations") %>" data-message-ko="<%= t("question_votes.create.error", scope: "decidim.consultations") %>">
|
@@ -103,5 +103,4 @@
|
|
103
103
|
<%= render partial: "decidim/consultations/questions/vote_modal", locals: { question: question } %>
|
104
104
|
<%= render partial: "decidim/consultations/questions/vote_modal_confirm", locals: { question: question } %>
|
105
105
|
<%= render partial: "decidim/action_delegator/delegations_modal", locals: { question: question } %>
|
106
|
-
<%=
|
107
|
-
<%= javascript_include_tag "decidim/consultations/vote_dialog" %>
|
106
|
+
<%= javascript_pack_tag "decidim_consultations" %>
|
data/config/assets.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# This file is located at `config/assets.rb` of your module.
|
4
|
+
|
5
|
+
# Define the base path of your module. Please note that `Rails.root` may not be
|
6
|
+
# used because we are not inside the Rails environment when this file is loaded.
|
7
|
+
base_path = File.expand_path("..", __dir__)
|
8
|
+
|
9
|
+
# Register an additional load path for webpack. All the assets within these
|
10
|
+
# directories will be available for inclusion within the Decidim assets. For
|
11
|
+
# example, if you have `app/packs/src/decidim/foo.js`, you can include that file
|
12
|
+
# in your JavaScript entrypoints (or other JavaScript files within Decidim)
|
13
|
+
# using `import "src/decidim/foo"` after you have registered the additional path
|
14
|
+
# as follows.
|
15
|
+
Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
16
|
+
|
17
|
+
# Register the entrypoints for your module. These entrypoints can be included
|
18
|
+
# within your application using `javascript_pack_tag` and if you include any
|
19
|
+
# SCSS files within the entrypoints, they become available for inclusion using
|
20
|
+
# `stylesheet_pack_tag`.
|
21
|
+
Decidim::Webpacker.register_entrypoints(
|
22
|
+
decidim_action_delegator_questions: "#{base_path}/app/packs/entrypoints/decidim_action_delegator_questions.js",
|
23
|
+
decidim_action_delegator_questions_js: "#{base_path}/app/packs/entrypoints/decidim_action_delegator_questions_js.js",
|
24
|
+
decidim_action_delegator_admin_action_delegator_js: "#{base_path}/app/packs/entrypoints/decidim_action_delegator_admin_action_delegator_js.js"
|
25
|
+
)
|
26
|
+
|
27
|
+
# If you want to import some extra SCSS files in the Decidim main SCSS file
|
28
|
+
# without adding any extra stylesheet inclusion tags, you can use the following
|
29
|
+
# method to register the stylesheet import for the main application.
|
30
|
+
# Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/foo/app")
|
31
|
+
|
32
|
+
# If you want to do the same but include the SCSS file for the admin panel's
|
33
|
+
# main SCSS file, you can use the following method.
|
34
|
+
# Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/foo/admin", group: :admin)
|
35
|
+
|
36
|
+
# If you want to override some SCSS variables/settings for Foundation from the
|
37
|
+
# module, you can add the following registered import.
|
38
|
+
# Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/foo/settings", type: :settings)
|
39
|
+
|
40
|
+
# If you want to do the same but override the SCSS variables of the admin
|
41
|
+
# panel's styles, you can use the following method.
|
42
|
+
# Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/foo/admin_settings", type: :settings, group: :admin)
|
data/config/locales/ca.yml
CHANGED
@@ -54,6 +54,8 @@ ca:
|
|
54
54
|
new_setting: Nova delegació
|
55
55
|
consultation: Consulta
|
56
56
|
created_at: Creat el
|
57
|
+
delegations: Delegacions totals
|
58
|
+
max_grants: Màx. delegacions/persona
|
57
59
|
title: Delegacions
|
58
60
|
new:
|
59
61
|
form:
|
@@ -73,6 +75,9 @@ ca:
|
|
73
75
|
title: 'Consulta: delegacions atorgades'
|
74
76
|
name: Mòdul Decidim ActionDelegator per a cooperatives
|
75
77
|
sms_message: El teu codi de verificació és %{code}
|
78
|
+
user_delegations:
|
79
|
+
index:
|
80
|
+
vote_delegated: Pots votar en nom de %{name} en aquesta consulta
|
76
81
|
verification:
|
77
82
|
admin:
|
78
83
|
members:
|
@@ -99,3 +104,7 @@ ca:
|
|
99
104
|
decidim:
|
100
105
|
user_profile:
|
101
106
|
vote_delegations: Delegacions de vot
|
107
|
+
admin:
|
108
|
+
question:
|
109
|
+
attachments: Adjunts
|
110
|
+
categories: Categories
|
data/config/locales/cs.yml
CHANGED
@@ -54,6 +54,8 @@ cs:
|
|
54
54
|
new_setting: Nová delegace
|
55
55
|
consultation: Konzultace
|
56
56
|
created_at: Vytvořeno v
|
57
|
+
delegations: Total delegations
|
58
|
+
max_grants: Max delegations/user
|
57
59
|
title: Delegace
|
58
60
|
new:
|
59
61
|
form:
|
@@ -73,6 +75,9 @@ cs:
|
|
73
75
|
title: 'Konzultace: udělené delegace'
|
74
76
|
name: Modul Decidim ActionDelegator cooperatives
|
75
77
|
sms_message: Váš ověřovací kód je %{code}
|
78
|
+
user_delegations:
|
79
|
+
index:
|
80
|
+
vote_delegated: You can vote on behalf of %{name} in this consultation
|
76
81
|
verification:
|
77
82
|
admin:
|
78
83
|
members:
|
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
@@ -4,85 +4,90 @@ es:
|
|
4
4
|
admin:
|
5
5
|
consultations:
|
6
6
|
results:
|
7
|
-
title:
|
7
|
+
title: Resultados por respuesta, tipo de membresía y peso
|
8
8
|
delegations:
|
9
9
|
create:
|
10
|
-
error:
|
11
|
-
error_granter_unique:
|
10
|
+
error: Se ha producido un error al crear la delegación
|
11
|
+
error_granter_unique: ya ha delegado su voto
|
12
12
|
error_max_grants: You reached the limit of allowed delegations
|
13
|
-
success:
|
13
|
+
success: Delegación creada correctamente
|
14
14
|
destroy:
|
15
|
-
error:
|
16
|
-
success:
|
15
|
+
error: Se ha producido un error al eliminar esta delegación
|
16
|
+
success: Delegación eliminada correctamente
|
17
17
|
index:
|
18
18
|
actions:
|
19
|
-
new_delegation:
|
20
|
-
consultation:
|
21
|
-
created_at:
|
22
|
-
delete:
|
23
|
-
grantee:
|
24
|
-
granter:
|
25
|
-
title:
|
19
|
+
new_delegation: Nueva participante
|
20
|
+
consultation: Consulta
|
21
|
+
created_at: Creado el
|
22
|
+
delete: Eliminar
|
23
|
+
grantee: Beneficiario
|
24
|
+
granter: Concedente
|
25
|
+
title: Participantes
|
26
26
|
new:
|
27
27
|
form:
|
28
|
-
title:
|
29
|
-
grantee:
|
30
|
-
granter:
|
31
|
-
save:
|
32
|
-
select_member:
|
33
|
-
title:
|
28
|
+
title: Información general
|
29
|
+
grantee: Beneficiario
|
30
|
+
granter: Concedente
|
31
|
+
save: Crear
|
32
|
+
select_member: Seleccionar miembro
|
33
|
+
title: Nueva delegación
|
34
34
|
menu:
|
35
35
|
consultations_submenu:
|
36
|
-
by_answer:
|
37
|
-
by_type_and_weight:
|
38
|
-
sum_of_weights:
|
39
|
-
delegations:
|
40
|
-
participants:
|
36
|
+
by_answer: Por respuesta
|
37
|
+
by_type_and_weight: Por tipo y peso
|
38
|
+
sum_of_weights: Por suma de pesos
|
39
|
+
delegations: Delegaciones de usuario
|
40
|
+
participants: Participantes
|
41
41
|
results:
|
42
42
|
sum_of_weights:
|
43
43
|
index:
|
44
|
-
title:
|
44
|
+
title: Resultados por respuesta sumando pesos por membresía
|
45
45
|
settings:
|
46
46
|
create:
|
47
|
-
error:
|
48
|
-
success:
|
47
|
+
error: Se ha producido un problema al crear la configuración
|
48
|
+
success: Configuración guardada correctamente
|
49
49
|
destroy:
|
50
|
-
error:
|
51
|
-
success:
|
50
|
+
error: Hubo un problema al destruir esta configuración
|
51
|
+
success: Configuración eliminada correctamente
|
52
52
|
index:
|
53
53
|
actions:
|
54
|
-
new_setting:
|
55
|
-
consultation:
|
56
|
-
created_at:
|
57
|
-
|
54
|
+
new_setting: Nueva delegación
|
55
|
+
consultation: Consulta
|
56
|
+
created_at: Creado el
|
57
|
+
delegations: Total de delegaciones
|
58
|
+
max_grants: Máx. delegaciones/persona
|
59
|
+
title: Delegaciones
|
58
60
|
new:
|
59
61
|
form:
|
60
|
-
title:
|
62
|
+
title: Información general
|
61
63
|
max_grants: Maximum delegations
|
62
|
-
save:
|
63
|
-
title:
|
64
|
+
save: Guardar
|
65
|
+
title: Configuración de la delegación
|
64
66
|
authorizations:
|
65
67
|
new:
|
66
|
-
missing_phone_error:
|
67
|
-
phone_warning:
|
68
|
+
missing_phone_error: Falta el teléfono de miembro
|
69
|
+
phone_warning: Este número de teléfono ha sido importado por el administrador. Por favor, contacta si no es correcto.
|
68
70
|
delegations:
|
69
|
-
link:
|
71
|
+
link: Tienes delegaciones concedidas
|
70
72
|
delegations_modal:
|
71
|
-
callout:
|
72
|
-
contextual_help: '
|
73
|
-
title: '
|
74
|
-
name:
|
75
|
-
sms_message:
|
73
|
+
callout: Recuerda, estás votando en nombre de
|
74
|
+
contextual_help: 'Se le ha concedido el voto de:'
|
75
|
+
title: 'Consulta: delegaciones concedidas'
|
76
|
+
name: Módulo Cooperativas - ActionDelegator para Decidim
|
77
|
+
sms_message: Su código de verificación es %{code}
|
78
|
+
user_delegations:
|
79
|
+
index:
|
80
|
+
vote_delegated: Puedes votar en nombre de %{name} en esta consulta
|
76
81
|
verification:
|
77
82
|
admin:
|
78
83
|
members:
|
79
84
|
index:
|
80
|
-
title:
|
85
|
+
title: Gestión de miembros
|
81
86
|
admin:
|
82
87
|
consultations:
|
83
88
|
results:
|
84
|
-
default_metadata: "(
|
85
|
-
export:
|
89
|
+
default_metadata: "(datos de afiliación no disponibles)"
|
90
|
+
export: Exportar
|
86
91
|
export_filename: consultation_results
|
87
92
|
membership_type: Membership type
|
88
93
|
membership_weight: Weight
|
@@ -99,3 +104,7 @@ es:
|
|
99
104
|
decidim:
|
100
105
|
user_profile:
|
101
106
|
vote_delegations: Vote delegations
|
107
|
+
admin:
|
108
|
+
question:
|
109
|
+
attachments: Adjuntos
|
110
|
+
categories: Categorías
|
@@ -30,10 +30,6 @@ module Decidim
|
|
30
30
|
root to: "delegations#index"
|
31
31
|
end
|
32
32
|
|
33
|
-
initializer "decidim_action_delegator.admin_assets" do |app|
|
34
|
-
app.config.assets.precompile += %w(admin/decidim_action_delegator_manifest.js admin/decidim_action_delegator_manifest.css)
|
35
|
-
end
|
36
|
-
|
37
33
|
def load_seed
|
38
34
|
nil
|
39
35
|
end
|
@@ -32,8 +32,14 @@ module Decidim
|
|
32
32
|
Decidim::Verifications::Sms::AuthorizationsController.include(Decidim::ActionDelegator::Verifications::Sms::AuthorizationsControllerOverride)
|
33
33
|
end
|
34
34
|
|
35
|
-
initializer "decidim_action_delegator.
|
36
|
-
|
35
|
+
initializer "decidim_action_delegator.layout_helper" do |_app|
|
36
|
+
# activate Decidim LayoutHelper for the overriden views
|
37
|
+
::Decidim::Admin::ApplicationController.helper ::Decidim::LayoutHelper
|
38
|
+
::Decidim::ApplicationController.helper ::Decidim::LayoutHelper
|
39
|
+
end
|
40
|
+
|
41
|
+
initializer "decidim_action_delegator.webpacker.assets_path" do |_app|
|
42
|
+
Decidim.register_assets_path File.expand_path("app/packs", root)
|
37
43
|
end
|
38
44
|
|
39
45
|
initializer "decidim.user_menu" do
|
@@ -3,8 +3,8 @@
|
|
3
3
|
module Decidim
|
4
4
|
# This holds the decidim-action_delegator version.
|
5
5
|
module ActionDelegator
|
6
|
-
MIN_DECIDIM_VERSION = ">= 0.
|
7
|
-
MAX_DECIDIM_VERSION = "
|
8
|
-
VERSION = "0.
|
6
|
+
MIN_DECIDIM_VERSION = ">= 0.25.0"
|
7
|
+
MAX_DECIDIM_VERSION = "< 0.26.0"
|
8
|
+
VERSION = "0.5.0"
|
9
9
|
end
|
10
10
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-action_delegator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pau Pérez Fabregat
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: decidim-admin
|
@@ -17,60 +17,60 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
21
|
-
- - "
|
20
|
+
version: 0.25.0
|
21
|
+
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
23
|
+
version: 0.26.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: 0.
|
31
|
-
- - "
|
30
|
+
version: 0.25.0
|
31
|
+
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.26.0
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: decidim-consultations
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
41
|
-
- - "
|
40
|
+
version: 0.25.0
|
41
|
+
- - "<"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.
|
43
|
+
version: 0.26.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.
|
51
|
-
- - "
|
50
|
+
version: 0.25.0
|
51
|
+
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 0.26.0
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: decidim-core
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
61
|
-
- - "
|
60
|
+
version: 0.25.0
|
61
|
+
- - "<"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
63
|
+
version: 0.26.0
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.
|
71
|
-
- - "
|
70
|
+
version: 0.25.0
|
71
|
+
- - "<"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 0.
|
73
|
+
version: 0.26.0
|
74
74
|
- !ruby/object:Gem::Dependency
|
75
75
|
name: savon
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,20 +105,20 @@ dependencies:
|
|
105
105
|
requirements:
|
106
106
|
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 0.
|
109
|
-
- - "
|
108
|
+
version: 0.25.0
|
109
|
+
- - "<"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.
|
111
|
+
version: 0.26.0
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.
|
119
|
-
- - "
|
118
|
+
version: 0.25.0
|
119
|
+
- - "<"
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
version: 0.
|
121
|
+
version: 0.26.0
|
122
122
|
description: A tool for Decidim that provides extended functionalities for cooperatives
|
123
123
|
and allows delegated voting.
|
124
124
|
email:
|
@@ -131,14 +131,6 @@ files:
|
|
131
131
|
- LICENSE-AGPLv3.txt
|
132
132
|
- README.md
|
133
133
|
- Rakefile
|
134
|
-
- app/assets/config/admin/decidim_action_delegator_manifest.css
|
135
|
-
- app/assets/config/admin/decidim_action_delegator_manifest.js
|
136
|
-
- app/assets/config/decidim_action_delegator_manifest.css
|
137
|
-
- app/assets/config/decidim_action_delegator_manifest.js
|
138
|
-
- app/assets/images/decidim/action_delegator/icon.svg
|
139
|
-
- app/assets/javascripts/decidim/action_delegator/admin/action_delegator.js.es6
|
140
|
-
- app/assets/javascripts/decidim/action_delegator/questions.js.es6
|
141
|
-
- app/assets/stylesheets/decidim/action_delegator/questions.scss
|
142
134
|
- app/commands/decidim/action_delegator/admin/create_delegation.rb
|
143
135
|
- app/commands/decidim/action_delegator/consultations/multiple_vote_question_override.rb
|
144
136
|
- app/commands/decidim/action_delegator/consultations/vote_question_override.rb
|
@@ -169,6 +161,13 @@ files:
|
|
169
161
|
- app/models/decidim/action_delegator/setting.rb
|
170
162
|
- app/models/decidim/action_delegator/unversioned_vote.rb
|
171
163
|
- app/models/decidim/action_delegator/whodunnit_vote.rb
|
164
|
+
- app/packs/entrypoints/decidim_action_delegator.scss
|
165
|
+
- app/packs/entrypoints/decidim_action_delegator_admin_action_delegator_js.js
|
166
|
+
- app/packs/entrypoints/decidim_action_delegator_questions.js
|
167
|
+
- app/packs/entrypoints/decidim_action_delegator_questions_js.js
|
168
|
+
- app/packs/src/decidim/action_delegator/admin/action_delegator.js.es6
|
169
|
+
- app/packs/src/decidim/action_delegator/questions.js.es6
|
170
|
+
- app/packs/stylesheets/decidim/action_delegator/questions.scss
|
172
171
|
- app/permissions/decidim/action_delegator/consultations_permissions_extension.rb
|
173
172
|
- app/permissions/decidim/action_delegator/permissions.rb
|
174
173
|
- app/presenters/decidim/action_delegator/admin/consultation_presenter.rb
|
@@ -220,6 +219,7 @@ files:
|
|
220
219
|
- app/views/layouts/decidim/admin/consultation.html.erb
|
221
220
|
- app/views/layouts/decidim/admin/question.html.erb
|
222
221
|
- app/views/layouts/decidim/admin/users.html.erb
|
222
|
+
- config/assets.rb
|
223
223
|
- config/i18n-tasks.yml
|
224
224
|
- config/locales/ca.yml
|
225
225
|
- config/locales/cs.yml
|
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
|
-
rubygems_version: 3.1.
|
263
|
+
rubygems_version: 3.1.6
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: A Decidim ActionDelegator module
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
//= link decidim/action_delegator/admin/action_delegator.js
|
@@ -1 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35"><path d="M17.5 35A17.5 17.5 0 1 1 35 17.5 17.52 17.52 0 0 1 17.5 35zm0-33.06A15.56 15.56 0 1 0 33.06 17.5 15.57 15.57 0 0 0 17.5 1.94zm9.5 13.7H8a1 1 0 0 1 0-1.94h19a1 1 0 0 1 0 1.94zm0 3.68H8a1 1 0 0 1 0-1.94h19a1 1 0 0 1 0 1.94zM22.26 23H8a1 1 0 0 1 0-1.94h14.26a1 1 0 0 1 0 1.94z"/></svg>
|