decidim-admin 0.26.5 → 0.26.8

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 (110) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/admin/block_user.rb +7 -2
  3. data/app/commands/decidim/admin/publish_component.rb +1 -1
  4. data/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +42 -0
  5. data/app/controllers/decidim/admin/admin_terms_controller.rb +1 -1
  6. data/app/controllers/decidim/admin/application_controller.rb +1 -0
  7. data/app/controllers/decidim/admin/space_publications_controller.rb +63 -0
  8. data/app/controllers/decidim/admin/static_page_topics_controller.rb +1 -3
  9. data/app/packs/src/decidim/admin/draggable-list.js +1 -1
  10. data/app/packs/stylesheets/decidim/admin/extra/_quill.scss +7 -0
  11. data/app/permissions/decidim/admin/permissions.rb +14 -1
  12. data/app/views/decidim/admin/area_types/edit.html.erb +1 -0
  13. data/app/views/decidim/admin/area_types/index.html.erb +1 -0
  14. data/app/views/decidim/admin/area_types/new.html.erb +1 -0
  15. data/app/views/decidim/admin/areas/edit.html.erb +1 -0
  16. data/app/views/decidim/admin/areas/index.html.erb +1 -0
  17. data/app/views/decidim/admin/areas/new.html.erb +1 -0
  18. data/app/views/decidim/admin/attachment_collections/edit.html.erb +1 -0
  19. data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -0
  20. data/app/views/decidim/admin/attachment_collections/new.html.erb +1 -0
  21. data/app/views/decidim/admin/attachments/edit.html.erb +1 -0
  22. data/app/views/decidim/admin/attachments/index.html.erb +1 -0
  23. data/app/views/decidim/admin/attachments/new.html.erb +1 -0
  24. data/app/views/decidim/admin/authorization_workflows/index.html.erb +1 -0
  25. data/app/views/decidim/admin/categories/edit.html.erb +1 -0
  26. data/app/views/decidim/admin/categories/index.html.erb +1 -0
  27. data/app/views/decidim/admin/categories/new.html.erb +1 -0
  28. data/app/views/decidim/admin/components/edit.html.erb +1 -0
  29. data/app/views/decidim/admin/components/index.html.erb +1 -0
  30. data/app/views/decidim/admin/components/new.html.erb +1 -1
  31. data/app/views/decidim/admin/conflicts/index.html.erb +1 -0
  32. data/app/views/decidim/admin/help_sections/show.erb +1 -0
  33. data/app/views/decidim/admin/impersonatable_users/index.html.erb +1 -0
  34. data/app/views/decidim/admin/impersonations/new.html.erb +1 -0
  35. data/app/views/decidim/admin/logs/index.html.erb +1 -0
  36. data/app/views/decidim/admin/moderated_users/index.html.erb +1 -0
  37. data/app/views/decidim/admin/moderations/index.html.erb +1 -0
  38. data/app/views/decidim/admin/newsletter_templates/index.html.erb +1 -0
  39. data/app/views/decidim/admin/newsletter_templates/show.html.erb +1 -0
  40. data/app/views/decidim/admin/newsletters/index.html.erb +1 -0
  41. data/app/views/decidim/admin/newsletters/new.html.erb +1 -0
  42. data/app/views/decidim/admin/newsletters/show.html.erb +1 -0
  43. data/app/views/decidim/admin/officializations/index.html.erb +15 -10
  44. data/app/views/decidim/admin/officializations/new.html.erb +1 -0
  45. data/app/views/decidim/admin/organization/edit.html.erb +1 -0
  46. data/app/views/decidim/admin/organization_appearance/edit.html.erb +1 -0
  47. data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +1 -0
  48. data/app/views/decidim/admin/scope_types/edit.html.erb +1 -0
  49. data/app/views/decidim/admin/scope_types/index.html.erb +1 -0
  50. data/app/views/decidim/admin/scope_types/new.html.erb +1 -0
  51. data/app/views/decidim/admin/scopes/edit.html.erb +1 -0
  52. data/app/views/decidim/admin/scopes/index.html.erb +1 -0
  53. data/app/views/decidim/admin/scopes/new.html.erb +1 -0
  54. data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +1 -0
  55. data/app/views/decidim/admin/static_page_topics/edit.html.erb +1 -0
  56. data/app/views/decidim/admin/static_page_topics/new.html.erb +1 -0
  57. data/app/views/decidim/admin/static_pages/_form.html.erb +1 -1
  58. data/app/views/decidim/admin/static_pages/edit.html.erb +1 -0
  59. data/app/views/decidim/admin/static_pages/index.html.erb +1 -0
  60. data/app/views/decidim/admin/static_pages/new.html.erb +1 -0
  61. data/app/views/decidim/admin/user_groups/index.html.erb +1 -0
  62. data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +1 -0
  63. data/app/views/decidim/admin/users/index.html.erb +1 -0
  64. data/app/views/decidim/admin/users/new.html.erb +1 -0
  65. data/app/views/layouts/decidim/admin/global_moderations.html.erb +1 -0
  66. data/config/environment.rb +1 -0
  67. data/config/locales/ar.yml +10 -5
  68. data/config/locales/ca.yml +9 -6
  69. data/config/locales/cs.yml +5 -2
  70. data/config/locales/de.yml +10 -5
  71. data/config/locales/el.yml +59 -2
  72. data/config/locales/en.yml +6 -3
  73. data/config/locales/es-MX.yml +7 -4
  74. data/config/locales/es-PY.yml +7 -4
  75. data/config/locales/es.yml +8 -5
  76. data/config/locales/eu.yml +8 -13
  77. data/config/locales/fa-IR.yml +1 -0
  78. data/config/locales/fi-plain.yml +5 -2
  79. data/config/locales/fi.yml +8 -5
  80. data/config/locales/fr-CA.yml +6 -3
  81. data/config/locales/fr.yml +7 -4
  82. data/config/locales/gl.yml +0 -5
  83. data/config/locales/hu.yml +37 -22
  84. data/config/locales/id-ID.yml +0 -2
  85. data/config/locales/is-IS.yml +0 -2
  86. data/config/locales/it.yml +0 -5
  87. data/config/locales/ja.yml +13 -10
  88. data/config/locales/kaa.yml +200 -0
  89. data/config/locales/lb.yml +0 -5
  90. data/config/locales/lt.yml +0 -5
  91. data/config/locales/lv.yml +0 -4
  92. data/config/locales/nl.yml +0 -5
  93. data/config/locales/no.yml +0 -5
  94. data/config/locales/pl.yml +0 -5
  95. data/config/locales/pt-BR.yml +62 -3
  96. data/config/locales/pt.yml +0 -5
  97. data/config/locales/ro-RO.yml +10 -10
  98. data/config/locales/ru.yml +0 -2
  99. data/config/locales/sk.yml +0 -4
  100. data/config/locales/sr-CS.yml +0 -4
  101. data/config/locales/sv.yml +0 -6
  102. data/config/locales/tr-TR.yml +3 -5
  103. data/config/locales/uk.yml +0 -2
  104. data/config/locales/zh-CN.yml +0 -4
  105. data/config/locales/zh-TW.yml +1075 -0
  106. data/lib/decidim/admin/form_builder.rb +1 -2
  107. data/lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb +9 -0
  108. data/lib/decidim/admin/test.rb +1 -0
  109. data/lib/decidim/admin/version.rb +1 -1
  110. metadata +14 -8
@@ -67,8 +67,7 @@ module Decidim
67
67
  name,
68
68
  {
69
69
  toolbar: :full,
70
- lines: 25,
71
- editor_images: true
70
+ lines: 25
72
71
  }.merge(options)
73
72
  )
74
73
  end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ shared_examples_for "needs admin TOS accepted" do
4
+ context "when the user has not accepted the admin TOS" do
5
+ it "shows a message to accept the admin TOS" do
6
+ expect(page).to have_content("Please take a moment to review Admin Terms of Use")
7
+ end
8
+ end
9
+ end
@@ -9,3 +9,4 @@ require "decidim/admin/test/manage_paginated_collection_examples"
9
9
  require "decidim/admin/test/filterable_examples"
10
10
  require "decidim/admin/test/filters_participatory_space_users_examples"
11
11
  require "decidim/admin/test/filters_participatory_space_user_roles_examples"
12
+ require "decidim/admin/test/needs_admin_tos_accepted_examples"
@@ -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.26.5"
7
+ "0.26.8"
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.26.5
4
+ version: 0.26.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-02-13 00:00:00.000000000 Z
13
+ date: 2023-07-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_link_to
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.26.5
35
+ version: 0.26.8
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.26.5
42
+ version: 0.26.8
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: devise
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -88,28 +88,28 @@ dependencies:
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.26.5
91
+ version: 0.26.8
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.26.5
98
+ version: 0.26.8
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: decidim-participatory_processes
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.26.5
105
+ version: 0.26.8
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.26.5
112
+ version: 0.26.8
113
113
  description: Organization administration to manage a single organization.
114
114
  email:
115
115
  - josepjaume@gmail.com
@@ -196,6 +196,7 @@ files:
196
196
  - app/controllers/concerns/decidim/admin/global_moderation_context.rb
197
197
  - app/controllers/concerns/decidim/admin/landing_page.rb
198
198
  - app/controllers/concerns/decidim/admin/landing_page_content_blocks.rb
199
+ - app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb
199
200
  - app/controllers/concerns/decidim/admin/officializations/filterable.rb
200
201
  - app/controllers/concerns/decidim/admin/paginable.rb
201
202
  - app/controllers/concerns/decidim/admin/participatory_space_admin_context.rb
@@ -247,6 +248,7 @@ files:
247
248
  - app/controllers/decidim/admin/scope_types_controller.rb
248
249
  - app/controllers/decidim/admin/scopes_controller.rb
249
250
  - app/controllers/decidim/admin/share_tokens_controller.rb
251
+ - app/controllers/decidim/admin/space_publications_controller.rb
250
252
  - app/controllers/decidim/admin/static_page_topics_controller.rb
251
253
  - app/controllers/decidim/admin/static_pages_controller.rb
252
254
  - app/controllers/decidim/admin/user_groups_controller.rb
@@ -575,6 +577,7 @@ files:
575
577
  - app/views/layouts/decidim/admin/users.html.erb
576
578
  - config/assets.rb
577
579
  - config/brakeman.ignore
580
+ - config/environment.rb
578
581
  - config/locales/am-ET.yml
579
582
  - config/locales/ar-SA.yml
580
583
  - config/locales/ar.yml
@@ -597,6 +600,7 @@ files:
597
600
  - config/locales/et-EE.yml
598
601
  - config/locales/et.yml
599
602
  - config/locales/eu.yml
603
+ - config/locales/fa-IR.yml
600
604
  - config/locales/fi-pl.yml
601
605
  - config/locales/fi-plain.yml
602
606
  - config/locales/fi.yml
@@ -615,6 +619,7 @@ files:
615
619
  - config/locales/it.yml
616
620
  - config/locales/ja.yml
617
621
  - config/locales/ka-GE.yml
622
+ - config/locales/kaa.yml
618
623
  - config/locales/ko-KR.yml
619
624
  - config/locales/ko.yml
620
625
  - config/locales/lb-LU.yml
@@ -688,6 +693,7 @@ files:
688
693
  - lib/decidim/admin/test/manage_component_permissions_examples.rb
689
694
  - lib/decidim/admin/test/manage_moderations_examples.rb
690
695
  - lib/decidim/admin/test/manage_paginated_collection_examples.rb
696
+ - lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
691
697
  - lib/decidim/admin/version.rb
692
698
  homepage: https://github.com/decidim/decidim
693
699
  licenses: