decidim-admin 0.18.1 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/admin/form.js.es6 +24 -8
- data/app/assets/stylesheets/decidim/admin/modules/_forms.scss +8 -0
- data/app/assets/stylesheets/decidim/admin/modules/_modules.scss +1 -0
- data/app/commands/decidim/admin/create_component.rb +4 -7
- data/app/commands/decidim/admin/create_participatory_space_private_user.rb +4 -2
- data/app/commands/decidim/admin/destroy_newsletter.rb +1 -0
- data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +41 -0
- data/app/commands/decidim/admin/process_user_group_verification_csv.rb +1 -0
- data/app/commands/decidim/admin/reject_user_group.rb +1 -0
- data/app/commands/decidim/admin/remove_admin.rb +1 -1
- data/app/commands/decidim/admin/update_component_permissions.rb +1 -1
- data/app/commands/decidim/admin/update_organization.rb +1 -0
- data/app/commands/decidim/admin/verify_user_group.rb +1 -0
- data/app/controllers/decidim/admin/areas_controller.rb +1 -0
- data/app/controllers/decidim/admin/components_controller.rb +29 -5
- data/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb +58 -0
- data/app/controllers/decidim/admin/impersonations_controller.rb +19 -2
- data/app/controllers/decidim/admin/resource_permissions_controller.rb +4 -1
- data/app/controllers/decidim/admin/scopes_controller.rb +2 -0
- data/app/forms/decidim/admin/component_form.rb +41 -16
- data/app/forms/decidim/admin/managed_user_promotion_form.rb +1 -0
- data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +13 -0
- data/app/forms/decidim/admin/selective_newsletter_form.rb +1 -0
- data/app/helpers/decidim/admin/application_helper.rb +1 -1
- data/app/helpers/decidim/admin/attributes_display_helper.rb +2 -0
- data/app/helpers/decidim/admin/newsletters_helper.rb +6 -0
- data/app/helpers/decidim/admin/resource_permissions_helper.rb +1 -1
- data/app/helpers/decidim/admin/settings_helper.rb +52 -10
- data/app/jobs/decidim/admin/expire_impersonation_job.rb +1 -0
- data/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb +27 -0
- data/app/jobs/decidim/admin/newsletter_job.rb +1 -0
- data/app/jobs/decidim/admin/verify_user_group_from_csv_job.rb +1 -0
- data/app/permissions/decidim/admin/permissions.rb +4 -0
- data/app/permissions/decidim/admin/user_manager_permissions.rb +2 -0
- data/app/queries/decidim/admin/newsletter_recipients.rb +3 -0
- data/app/queries/decidim/admin/user_filter.rb +1 -0
- data/app/queries/decidim/admin/user_groups_evaluation.rb +1 -0
- data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -1
- data/app/views/decidim/admin/attachment_collections/show.html.erb +1 -1
- data/app/views/decidim/admin/attachments/index.html.erb +1 -1
- data/app/views/decidim/admin/attachments/show.html.erb +1 -1
- data/app/views/decidim/admin/categories/index.html.erb +2 -2
- data/app/views/decidim/admin/categories/show.html.erb +1 -1
- data/app/views/decidim/admin/components/_form.html.erb +6 -6
- data/app/views/decidim/admin/components/_settings_fields.html.erb +6 -5
- data/app/views/decidim/admin/impersonations/_form.html.erb +1 -3
- data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +1 -1
- data/app/views/decidim/admin/organization_appearance/_form.html.erb +0 -7
- data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +4 -3
- data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +19 -0
- data/app/views/decidim/admin/resource_permissions/edit.html.erb +1 -1
- data/app/views/decidim/admin/static_pages/_topic.html.erb +1 -1
- data/app/views/decidim/admin/static_pages/show.html.erb +1 -1
- data/app/views/layouts/decidim/admin/_application.html.erb +6 -6
- data/app/views/layouts/decidim/admin/_header.html.erb +1 -1
- data/config/locales/ar.yml +7 -1
- data/config/locales/ca.yml +23 -11
- data/config/locales/cs.yml +13 -2
- data/config/locales/de.yml +9 -0
- data/config/locales/en.yml +14 -2
- data/config/locales/es-MX.yml +13 -2
- data/config/locales/es-PY.yml +13 -2
- data/config/locales/es.yml +13 -1
- data/config/locales/fi-plain.yml +13 -2
- data/config/locales/fi.yml +14 -2
- data/config/locales/fr.yml +13 -2
- data/config/locales/hu.yml +13 -1
- data/config/locales/it.yml +12 -2
- data/config/locales/nl.yml +13 -1
- data/config/locales/sv.yml +0 -1
- data/config/locales/tr-TR.yml +0 -2
- data/lib/decidim/admin/test/manage_attachments_examples.rb +1 -1
- data/lib/decidim/admin/version.rb +1 -1
- metadata +14 -9
data/config/locales/sv.yml
CHANGED
@@ -470,7 +470,6 @@ sv:
|
|
470
470
|
send_to_followers: Skicka till följare
|
471
471
|
send_to_participants: Skicka till deltagare
|
472
472
|
title: Välj mottagare att skicka till
|
473
|
-
warning: "<strong>Obs:</strong> Detta nyhetsbrev kommer endast att skickas till de användare som har markerat <em>Jag vill få nyhetsbrev</em> i sina meddelandeinställningar."
|
474
473
|
send:
|
475
474
|
no_recipients: Inga mottagare för det här urvalet
|
476
475
|
show:
|
data/config/locales/tr-TR.yml
CHANGED
@@ -246,7 +246,6 @@ tr:
|
|
246
246
|
form:
|
247
247
|
default_step_settings: Varsayılan adım ayarları
|
248
248
|
global_settings: Genel Ayarlar
|
249
|
-
participatory_texts_enabled_help: Mevcut teklifler varsa bu ayarla etkileşime giremezsiniz. Eğer bu özelliği etkinleştirmek istiyorsanız, lütfen, yeni bir 'Teklif bileşeni' oluşturun veya devre dışı bırakmak için, lütfen, 'Katılımcı metinler' içerisindeki bütün dahil edilmiş teklifleri çıkarınız.
|
250
249
|
step_settings: Adım ayarları
|
251
250
|
index:
|
252
251
|
add: Bileşen ekle
|
@@ -471,7 +470,6 @@ tr:
|
|
471
470
|
send_to_followers: Takipçilere gönder
|
472
471
|
send_to_participants: Katılımcılara gönder
|
473
472
|
title: Teslim etmek için alıcıları seçiniz
|
474
|
-
warning: "<strong>Dikkat:</strong> Haber bülteni yalnızca bildirim seçeneklerinden <em>Haber bülteni almak istiyorum</em> ayarını etkinleştirmiş kullanıcılara gönderilecektir."
|
475
473
|
send:
|
476
474
|
no_recipients: Bu seçim için hiç alıcı yok
|
477
475
|
show:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
shared_examples "manage attachments examples" do
|
4
|
-
context "processing attachments", processing_uploads_for: Decidim::AttachmentUploader do
|
4
|
+
context "when processing attachments", processing_uploads_for: Decidim::AttachmentUploader do
|
5
5
|
let!(:attachment) { create(:attachment, attached_to: attached_to, attachment_collection: attachment_collection) }
|
6
6
|
|
7
7
|
before do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -32,28 +32,28 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.19.0
|
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.
|
42
|
+
version: 0.19.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '4.
|
49
|
+
version: '4.7'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '4.
|
56
|
+
version: '4.7'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: devise-i18n
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,28 +136,28 @@ dependencies:
|
|
136
136
|
requirements:
|
137
137
|
- - '='
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0.
|
139
|
+
version: 0.19.0
|
140
140
|
type: :development
|
141
141
|
prerelease: false
|
142
142
|
version_requirements: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
144
|
- - '='
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: 0.
|
146
|
+
version: 0.19.0
|
147
147
|
- !ruby/object:Gem::Dependency
|
148
148
|
name: decidim-participatory_processes
|
149
149
|
requirement: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
151
|
- - '='
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version: 0.
|
153
|
+
version: 0.19.0
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
156
|
version_requirements: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
158
|
- - '='
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version: 0.
|
160
|
+
version: 0.19.0
|
161
161
|
description: Organization administration to manage a single organization.
|
162
162
|
email:
|
163
163
|
- josepjaume@gmail.com
|
@@ -294,6 +294,7 @@ files:
|
|
294
294
|
- app/commands/decidim/admin/impersonate_user.rb
|
295
295
|
- app/commands/decidim/admin/invite_admin.rb
|
296
296
|
- app/commands/decidim/admin/officialize_user.rb
|
297
|
+
- app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb
|
297
298
|
- app/commands/decidim/admin/process_user_group_verification_csv.rb
|
298
299
|
- app/commands/decidim/admin/promote_managed_user.rb
|
299
300
|
- app/commands/decidim/admin/publish_component.rb
|
@@ -339,6 +340,7 @@ files:
|
|
339
340
|
- app/controllers/decidim/admin/concerns/has_attachment_collections.rb
|
340
341
|
- app/controllers/decidim/admin/concerns/has_attachments.rb
|
341
342
|
- app/controllers/decidim/admin/concerns/has_private_users.rb
|
343
|
+
- app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb
|
342
344
|
- app/controllers/decidim/admin/dashboard_controller.rb
|
343
345
|
- app/controllers/decidim/admin/exports_controller.rb
|
344
346
|
- app/controllers/decidim/admin/help_sections_controller.rb
|
@@ -381,6 +383,7 @@ files:
|
|
381
383
|
- app/forms/decidim/admin/officialization_form.rb
|
382
384
|
- app/forms/decidim/admin/organization_appearance_form.rb
|
383
385
|
- app/forms/decidim/admin/organization_form.rb
|
386
|
+
- app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb
|
384
387
|
- app/forms/decidim/admin/participatory_space_private_user_form.rb
|
385
388
|
- app/forms/decidim/admin/permission_form.rb
|
386
389
|
- app/forms/decidim/admin/permissions_form.rb
|
@@ -409,6 +412,7 @@ files:
|
|
409
412
|
- app/helpers/decidim/admin/settings_helper.rb
|
410
413
|
- app/jobs/decidim/admin/application_job.rb
|
411
414
|
- app/jobs/decidim/admin/expire_impersonation_job.rb
|
415
|
+
- app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb
|
412
416
|
- app/jobs/decidim/admin/newsletter_delivery_job.rb
|
413
417
|
- app/jobs/decidim/admin/newsletter_job.rb
|
414
418
|
- app/jobs/decidim/admin/verify_user_group_from_csv_job.rb
|
@@ -488,6 +492,7 @@ files:
|
|
488
492
|
- app/views/decidim/admin/participatory_space_private_users/_form.html.erb
|
489
493
|
- app/views/decidim/admin/participatory_space_private_users/index.html.erb
|
490
494
|
- app/views/decidim/admin/participatory_space_private_users/new.html.erb
|
495
|
+
- app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb
|
491
496
|
- app/views/decidim/admin/resource_permissions/_options_form.html.erb
|
492
497
|
- app/views/decidim/admin/resource_permissions/edit.html.erb
|
493
498
|
- app/views/decidim/admin/scope_types/_form.html.erb
|