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.

Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/decidim/admin/form.js.es6 +24 -8
  3. data/app/assets/stylesheets/decidim/admin/modules/_forms.scss +8 -0
  4. data/app/assets/stylesheets/decidim/admin/modules/_modules.scss +1 -0
  5. data/app/commands/decidim/admin/create_component.rb +4 -7
  6. data/app/commands/decidim/admin/create_participatory_space_private_user.rb +4 -2
  7. data/app/commands/decidim/admin/destroy_newsletter.rb +1 -0
  8. data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +41 -0
  9. data/app/commands/decidim/admin/process_user_group_verification_csv.rb +1 -0
  10. data/app/commands/decidim/admin/reject_user_group.rb +1 -0
  11. data/app/commands/decidim/admin/remove_admin.rb +1 -1
  12. data/app/commands/decidim/admin/update_component_permissions.rb +1 -1
  13. data/app/commands/decidim/admin/update_organization.rb +1 -0
  14. data/app/commands/decidim/admin/verify_user_group.rb +1 -0
  15. data/app/controllers/decidim/admin/areas_controller.rb +1 -0
  16. data/app/controllers/decidim/admin/components_controller.rb +29 -5
  17. data/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb +58 -0
  18. data/app/controllers/decidim/admin/impersonations_controller.rb +19 -2
  19. data/app/controllers/decidim/admin/resource_permissions_controller.rb +4 -1
  20. data/app/controllers/decidim/admin/scopes_controller.rb +2 -0
  21. data/app/forms/decidim/admin/component_form.rb +41 -16
  22. data/app/forms/decidim/admin/managed_user_promotion_form.rb +1 -0
  23. data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +13 -0
  24. data/app/forms/decidim/admin/selective_newsletter_form.rb +1 -0
  25. data/app/helpers/decidim/admin/application_helper.rb +1 -1
  26. data/app/helpers/decidim/admin/attributes_display_helper.rb +2 -0
  27. data/app/helpers/decidim/admin/newsletters_helper.rb +6 -0
  28. data/app/helpers/decidim/admin/resource_permissions_helper.rb +1 -1
  29. data/app/helpers/decidim/admin/settings_helper.rb +52 -10
  30. data/app/jobs/decidim/admin/expire_impersonation_job.rb +1 -0
  31. data/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb +27 -0
  32. data/app/jobs/decidim/admin/newsletter_job.rb +1 -0
  33. data/app/jobs/decidim/admin/verify_user_group_from_csv_job.rb +1 -0
  34. data/app/permissions/decidim/admin/permissions.rb +4 -0
  35. data/app/permissions/decidim/admin/user_manager_permissions.rb +2 -0
  36. data/app/queries/decidim/admin/newsletter_recipients.rb +3 -0
  37. data/app/queries/decidim/admin/user_filter.rb +1 -0
  38. data/app/queries/decidim/admin/user_groups_evaluation.rb +1 -0
  39. data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -1
  40. data/app/views/decidim/admin/attachment_collections/show.html.erb +1 -1
  41. data/app/views/decidim/admin/attachments/index.html.erb +1 -1
  42. data/app/views/decidim/admin/attachments/show.html.erb +1 -1
  43. data/app/views/decidim/admin/categories/index.html.erb +2 -2
  44. data/app/views/decidim/admin/categories/show.html.erb +1 -1
  45. data/app/views/decidim/admin/components/_form.html.erb +6 -6
  46. data/app/views/decidim/admin/components/_settings_fields.html.erb +6 -5
  47. data/app/views/decidim/admin/impersonations/_form.html.erb +1 -3
  48. data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +1 -1
  49. data/app/views/decidim/admin/organization_appearance/_form.html.erb +0 -7
  50. data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +4 -3
  51. data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +19 -0
  52. data/app/views/decidim/admin/resource_permissions/edit.html.erb +1 -1
  53. data/app/views/decidim/admin/static_pages/_topic.html.erb +1 -1
  54. data/app/views/decidim/admin/static_pages/show.html.erb +1 -1
  55. data/app/views/layouts/decidim/admin/_application.html.erb +6 -6
  56. data/app/views/layouts/decidim/admin/_header.html.erb +1 -1
  57. data/config/locales/ar.yml +7 -1
  58. data/config/locales/ca.yml +23 -11
  59. data/config/locales/cs.yml +13 -2
  60. data/config/locales/de.yml +9 -0
  61. data/config/locales/en.yml +14 -2
  62. data/config/locales/es-MX.yml +13 -2
  63. data/config/locales/es-PY.yml +13 -2
  64. data/config/locales/es.yml +13 -1
  65. data/config/locales/fi-plain.yml +13 -2
  66. data/config/locales/fi.yml +14 -2
  67. data/config/locales/fr.yml +13 -2
  68. data/config/locales/hu.yml +13 -1
  69. data/config/locales/it.yml +12 -2
  70. data/config/locales/nl.yml +13 -1
  71. data/config/locales/sv.yml +0 -1
  72. data/config/locales/tr-TR.yml +0 -2
  73. data/lib/decidim/admin/test/manage_attachments_examples.rb +1 -1
  74. data/lib/decidim/admin/version.rb +1 -1
  75. metadata +14 -9
@@ -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:
@@ -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
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-admin version.
5
5
  module Admin
6
6
  def self.version
7
- "0.18.1"
7
+ "0.19.0"
8
8
  end
9
9
  end
10
10
  end
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.18.1
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.18.1
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.18.1
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.6'
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.6'
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.18.1
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.18.1
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.18.1
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.18.1
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