decidim-admin 0.28.2 → 0.29.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/admin/content_block_cell.rb +0 -1
  3. data/app/cells/decidim/admin/results_per_page/show.erb +2 -2
  4. data/app/cells/decidim/admin/results_per_page_cell.rb +0 -2
  5. data/app/commands/decidim/admin/create_area.rb +4 -32
  6. data/app/commands/decidim/admin/create_area_type.rb +4 -33
  7. data/app/commands/decidim/admin/create_attachment.rb +5 -4
  8. data/app/commands/decidim/admin/create_attachment_collection.rb +3 -3
  9. data/app/commands/decidim/admin/create_category.rb +4 -37
  10. data/app/commands/decidim/admin/create_component.rb +7 -40
  11. data/app/commands/decidim/admin/create_newsletter.rb +11 -29
  12. data/app/commands/decidim/admin/create_participatory_space_private_user.rb +3 -3
  13. data/app/commands/decidim/admin/create_scope.rb +15 -32
  14. data/app/commands/decidim/admin/create_scope_type.rb +3 -32
  15. data/app/commands/decidim/admin/create_static_page.rb +6 -47
  16. data/app/commands/decidim/admin/create_static_page_topic.rb +4 -26
  17. data/app/commands/decidim/admin/deliver_newsletter.rb +4 -5
  18. data/app/commands/decidim/admin/destroy_area.rb +2 -25
  19. data/app/commands/decidim/admin/destroy_category.rb +4 -29
  20. data/app/commands/decidim/admin/destroy_component.rb +5 -42
  21. data/app/commands/decidim/admin/destroy_newsletter.rb +2 -30
  22. data/app/commands/decidim/admin/destroy_participatory_space_private_user.rb +5 -32
  23. data/app/commands/decidim/admin/destroy_scope.rb +6 -33
  24. data/app/commands/decidim/admin/officialize_user.rb +1 -1
  25. data/app/commands/decidim/admin/participatory_space/create_admin.rb +4 -4
  26. data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +5 -4
  27. data/app/commands/decidim/admin/promote_managed_user.rb +4 -5
  28. data/app/commands/decidim/admin/unofficialize_user.rb +1 -1
  29. data/app/commands/decidim/admin/update_area.rb +2 -41
  30. data/app/commands/decidim/admin/update_area_type.rb +2 -42
  31. data/app/commands/decidim/admin/update_attachment.rb +10 -7
  32. data/app/commands/decidim/admin/update_attachment_collection.rb +3 -3
  33. data/app/commands/decidim/admin/update_category.rb +2 -45
  34. data/app/commands/decidim/admin/update_component.rb +4 -5
  35. data/app/commands/decidim/admin/update_component_permissions.rb +3 -3
  36. data/app/commands/decidim/admin/{update_external_domain_whitelist.rb → update_external_domain_allowlist.rb} +6 -5
  37. data/app/commands/decidim/admin/update_help_sections.rb +6 -3
  38. data/app/commands/decidim/admin/update_newsletter.rb +8 -8
  39. data/app/commands/decidim/admin/update_organization.rb +9 -53
  40. data/app/commands/decidim/admin/update_organization_appearance.rb +10 -81
  41. data/app/commands/decidim/admin/update_scope.rb +7 -40
  42. data/app/commands/decidim/admin/update_scope_type.rb +2 -42
  43. data/app/commands/decidim/admin/update_static_page.rb +5 -46
  44. data/app/commands/decidim/admin/update_static_page_topic.rb +2 -43
  45. data/app/constraints/decidim/admin/organization_dashboard_constraint.rb +1 -1
  46. data/app/controllers/concerns/decidim/admin/content_blocks/landing_page.rb +2 -2
  47. data/app/controllers/concerns/decidim/admin/filterable.rb +78 -3
  48. data/app/controllers/concerns/decidim/admin/global_moderation_context.rb +1 -1
  49. data/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +0 -7
  50. data/app/controllers/concerns/decidim/admin/participatory_space_export.rb +1 -1
  51. data/app/controllers/decidim/admin/application_controller.rb +1 -0
  52. data/app/controllers/decidim/admin/area_types_controller.rb +8 -9
  53. data/app/controllers/decidim/admin/areas_controller.rb +1 -1
  54. data/app/controllers/decidim/admin/authorization_workflows_controller.rb +1 -1
  55. data/app/controllers/decidim/admin/categories_controller.rb +2 -2
  56. data/app/controllers/decidim/admin/component_permissions_controller.rb +1 -1
  57. data/app/controllers/decidim/admin/components_controller.rb +2 -2
  58. data/app/controllers/decidim/admin/concerns/has_attachment_collections.rb +2 -2
  59. data/app/controllers/decidim/admin/concerns/has_attachments.rb +2 -2
  60. data/app/controllers/decidim/admin/concerns/has_private_users.rb +1 -1
  61. data/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb +1 -1
  62. data/app/controllers/decidim/admin/help_sections_controller.rb +1 -1
  63. data/app/controllers/decidim/admin/managed_users/promotions_controller.rb +1 -1
  64. data/app/controllers/decidim/admin/moderations/reports_controller.rb +4 -4
  65. data/app/controllers/decidim/admin/moderations_controller.rb +7 -7
  66. data/app/controllers/decidim/admin/newsletter_templates_controller.rb +1 -1
  67. data/app/controllers/decidim/admin/newsletters_controller.rb +5 -5
  68. data/app/controllers/decidim/admin/organization_appearance_controller.rb +1 -1
  69. data/app/controllers/decidim/admin/organization_controller.rb +1 -1
  70. data/app/controllers/decidim/admin/{organization_external_domain_whitelist_controller.rb → organization_external_domain_allowlist_controller.rb} +7 -7
  71. data/app/controllers/decidim/admin/scope_types_controller.rb +7 -8
  72. data/app/controllers/decidim/admin/scopes_controller.rb +1 -1
  73. data/app/controllers/decidim/admin/share_tokens_controller.rb +1 -1
  74. data/app/controllers/decidim/admin/static_page_topics_controller.rb +2 -2
  75. data/app/controllers/decidim/admin/static_pages_controller.rb +2 -2
  76. data/app/forms/decidim/admin/attachment_form.rb +7 -1
  77. data/app/forms/decidim/admin/organization_appearance_form.rb +0 -3
  78. data/app/forms/decidim/admin/{organization_external_domain_whitelist_form.rb → organization_external_domain_allowlist_form.rb} +3 -3
  79. data/app/forms/decidim/admin/organization_form.rb +2 -2
  80. data/app/forms/decidim/admin/static_page_form.rb +0 -1
  81. data/app/helpers/decidim/admin/filterable_helper.rb +19 -3
  82. data/app/helpers/decidim/admin/moderations/reports_helper.rb +3 -1
  83. data/app/helpers/decidim/admin/newsletters_helper.rb +3 -3
  84. data/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb +2 -2
  85. data/app/packs/entrypoints/decidim_admin.js +4 -1
  86. data/app/packs/src/decidim/admin/application.js +19 -15
  87. data/app/packs/src/decidim/admin/css_preview.js +39 -0
  88. data/app/packs/src/decidim/admin/form.js +18 -1
  89. data/app/packs/src/decidim/admin/participatory_space_search.js +1 -1
  90. data/app/packs/src/decidim/admin/proposal_infinite_edit.js +2 -2
  91. data/app/packs/src/decidim/admin/sync_radio_buttons.js +27 -0
  92. data/app/packs/src/decidim/admin/text_copy.js +19 -0
  93. data/app/packs/stylesheets/decidim/admin/_cards.scss +1 -1
  94. data/app/packs/stylesheets/decidim/admin/_datepicker.scss +62 -0
  95. data/app/packs/stylesheets/decidim/admin/_item_edit.scss +1 -1
  96. data/app/packs/stylesheets/decidim/admin/_item_show.scss +8 -0
  97. data/app/packs/stylesheets/decidim/admin/_proposal_status.scss +5 -0
  98. data/app/packs/stylesheets/decidim/admin/application.scss +2 -0
  99. data/app/permissions/decidim/admin/permissions.rb +2 -2
  100. data/app/queries/decidim/admin/user_filter.rb +4 -4
  101. data/app/queries/decidim/admin/user_groups_evaluation.rb +1 -1
  102. data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -1
  103. data/app/views/decidim/admin/attachments/_form.html.erb +21 -2
  104. data/app/views/decidim/admin/attachments/index.html.erb +2 -2
  105. data/app/views/decidim/admin/authorization_workflows/index.html.erb +26 -8
  106. data/app/views/decidim/admin/categories/index.html.erb +2 -2
  107. data/app/views/decidim/admin/components/_form.html.erb +1 -1
  108. data/app/views/decidim/admin/dashboard/_pending_moderations.html.erb +1 -1
  109. data/app/views/decidim/admin/dashboard/show.html.erb +1 -1
  110. data/app/views/decidim/admin/exports/_dropdown.html.erb +1 -1
  111. data/app/views/decidim/admin/impersonatable_users/index.html.erb +3 -3
  112. data/app/views/decidim/admin/imports/_dropdown.html.erb +1 -1
  113. data/app/views/decidim/admin/imports/new.html.erb +2 -2
  114. data/app/views/decidim/admin/logs/_filters.html.erb +3 -3
  115. data/app/views/decidim/admin/managed_users/promotions/new.html.erb +1 -1
  116. data/app/views/decidim/admin/moderated_users/index.html.erb +2 -2
  117. data/app/views/decidim/admin/moderations/index.html.erb +5 -5
  118. data/app/views/decidim/admin/moderations/reports/index.html.erb +6 -6
  119. data/app/views/decidim/admin/moderations/reports/show.html.erb +4 -4
  120. data/app/views/decidim/admin/newsletter_templates/index.html.erb +2 -2
  121. data/app/views/decidim/admin/newsletter_templates/show.html.erb +7 -7
  122. data/app/views/decidim/admin/newsletters/index.html.erb +1 -1
  123. data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +3 -3
  124. data/app/views/decidim/admin/newsletters/show.html.erb +1 -1
  125. data/app/views/decidim/admin/organization/_form.html.erb +3 -3
  126. data/app/views/decidim/admin/organization_appearance/form/_colors.html.erb +0 -3
  127. data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +5 -5
  128. data/app/views/decidim/admin/{organization_external_domain_whitelist → organization_external_domain_allowlist}/_external_domain.html.erb +4 -4
  129. data/app/views/decidim/admin/{organization_external_domain_whitelist → organization_external_domain_allowlist}/_form.html.erb +2 -2
  130. data/app/views/decidim/admin/{organization_external_domain_whitelist → organization_external_domain_allowlist}/edit.html.erb +2 -2
  131. data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +1 -1
  132. data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +1 -1
  133. data/app/views/decidim/admin/share_tokens/_share_tokens.html.erb +1 -1
  134. data/app/views/decidim/admin/shared/_adjacent_navigation.html.erb +30 -0
  135. data/app/views/decidim/admin/shared/_admin_confirm_modal.html.erb +7 -7
  136. data/app/views/decidim/admin/shared/_filters.html.erb +1 -1
  137. data/app/views/decidim/admin/shared/_gallery.html.erb +1 -1
  138. data/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb +2 -2
  139. data/app/views/decidim/admin/static_page_topics/index.html.erb +1 -1
  140. data/app/views/decidim/admin/static_pages/_form.html.erb +0 -4
  141. data/app/views/decidim/admin/users_statistics/_users_count.html.erb +2 -2
  142. data/app/views/layouts/decidim/admin/_admin_timeout_modal.html.erb +2 -2
  143. data/app/views/layouts/decidim/admin/_application.html.erb +4 -4
  144. data/app/views/layouts/decidim/admin/_callouts_full.html.erb +1 -1
  145. data/app/views/layouts/decidim/admin/_js_configuration.html.erb +3 -1
  146. data/app/views/layouts/decidim/admin/_title_bar.html.erb +2 -2
  147. data/app/views/layouts/decidim/admin/_title_bar_responsive.html.erb +2 -2
  148. data/config/locales/ar.yml +0 -7
  149. data/config/locales/bg.yml +15 -10
  150. data/config/locales/ca.yml +16 -11
  151. data/config/locales/cs.yml +15 -10
  152. data/config/locales/de.yml +15 -10
  153. data/config/locales/el.yml +0 -12
  154. data/config/locales/en.yml +16 -11
  155. data/config/locales/es-MX.yml +16 -11
  156. data/config/locales/es-PY.yml +16 -11
  157. data/config/locales/es.yml +16 -11
  158. data/config/locales/eu.yml +16 -11
  159. data/config/locales/fi-plain.yml +14 -9
  160. data/config/locales/fi.yml +14 -9
  161. data/config/locales/fr-CA.yml +14 -9
  162. data/config/locales/fr.yml +13 -8
  163. data/config/locales/ga-IE.yml +0 -3
  164. data/config/locales/gl.yml +0 -5
  165. data/config/locales/hu.yml +9 -10
  166. data/config/locales/id-ID.yml +0 -3
  167. data/config/locales/is-IS.yml +0 -3
  168. data/config/locales/it.yml +0 -8
  169. data/config/locales/ja.yml +16 -11
  170. data/config/locales/kaa.yml +0 -3
  171. data/config/locales/ko.yml +0 -6
  172. data/config/locales/lb.yml +0 -8
  173. data/config/locales/lt.yml +0 -13
  174. data/config/locales/lv.yml +0 -3
  175. data/config/locales/nl.yml +0 -8
  176. data/config/locales/no.yml +0 -8
  177. data/config/locales/pl.yml +14 -9
  178. data/config/locales/pt-BR.yml +8 -10
  179. data/config/locales/pt.yml +0 -8
  180. data/config/locales/ro-RO.yml +0 -12
  181. data/config/locales/ru.yml +0 -3
  182. data/config/locales/sk.yml +0 -3
  183. data/config/locales/sq-AL.yml +0 -3
  184. data/config/locales/sr-CS.yml +0 -3
  185. data/config/locales/sv.yml +0 -8
  186. data/config/locales/th-TH.yml +0 -3
  187. data/config/locales/tr-TR.yml +0 -5
  188. data/config/locales/uk.yml +0 -3
  189. data/config/locales/zh-CN.yml +0 -3
  190. data/config/locales/zh-TW.yml +0 -12
  191. data/config/routes.rb +1 -1
  192. data/decidim-admin.gemspec +1 -1
  193. data/lib/decidim/admin/import/creator.rb +1 -1
  194. data/lib/decidim/admin/import/importer_factory.rb +2 -2
  195. data/lib/decidim/admin/menu.rb +4 -4
  196. data/lib/decidim/admin/test/commands/create_attachment_collection_examples.rb +3 -2
  197. data/lib/decidim/admin/test/commands/create_category_examples.rb +4 -2
  198. data/lib/decidim/admin/test/commands/update_attachment_collection_examples.rb +3 -2
  199. data/lib/decidim/admin/test/commands/update_category_examples.rb +3 -2
  200. data/lib/decidim/admin/test/filterable_examples.rb +5 -3
  201. data/lib/decidim/admin/test/filters_participatory_space_user_roles_examples.rb +5 -5
  202. data/lib/decidim/admin/test/invite_participatory_space_admins_shared_examples.rb +1 -1
  203. data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +12 -12
  204. data/lib/decidim/admin/test/manage_attachments_examples.rb +51 -15
  205. data/lib/decidim/admin/test/manage_categories_examples.rb +13 -13
  206. data/lib/decidim/admin/test/manage_component_permissions_examples.rb +5 -5
  207. data/lib/decidim/admin/test/manage_hide_content_examples.rb +4 -4
  208. data/lib/decidim/admin/test/manage_moderations_examples.rb +21 -21
  209. data/lib/decidim/admin/test/manage_paginated_collection_examples.rb +3 -3
  210. data/lib/decidim/admin/test/manage_participatory_space_publications_examples.rb +2 -2
  211. data/lib/decidim/admin/version.rb +1 -1
  212. metadata +24 -22
  213. data/app/commands/decidim/admin/destroy_share_token.rb +0 -46
  214. data/app/commands/decidim/admin/destroy_static_page.rb +0 -40
  215. data/app/commands/decidim/admin/destroy_static_page_topic.rb +0 -40
  216. data/app/views/layouts/decidim/admin/login.html.erb +0 -19
  217. /data/app/packs/src/decidim/admin/{external_domain_whitelist.js → external_domain_allowlist.js} +0 -0
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.28.2
4
+ version: 0.29.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.28.2
35
+ version: 0.29.0.rc2
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.28.2
42
+ version: 0.29.0.rc2
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: devise
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -94,28 +94,28 @@ dependencies:
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 0.28.2
97
+ version: 0.29.0.rc2
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - '='
103
103
  - !ruby/object:Gem::Version
104
- version: 0.28.2
104
+ version: 0.29.0.rc2
105
105
  - !ruby/object:Gem::Dependency
106
106
  name: decidim-participatory_processes
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - '='
110
110
  - !ruby/object:Gem::Version
111
- version: 0.28.2
111
+ version: 0.29.0.rc2
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.28.2
118
+ version: 0.29.0.rc2
119
119
  description: Organization administration to manage a single organization.
120
120
  email:
121
121
  - josepjaume@gmail.com
@@ -162,9 +162,6 @@ files:
162
162
  - app/commands/decidim/admin/destroy_newsletter.rb
163
163
  - app/commands/decidim/admin/destroy_participatory_space_private_user.rb
164
164
  - app/commands/decidim/admin/destroy_scope.rb
165
- - app/commands/decidim/admin/destroy_share_token.rb
166
- - app/commands/decidim/admin/destroy_static_page.rb
167
- - app/commands/decidim/admin/destroy_static_page_topic.rb
168
165
  - app/commands/decidim/admin/hide_resource.rb
169
166
  - app/commands/decidim/admin/impersonate_user.rb
170
167
  - app/commands/decidim/admin/invite_admin.rb
@@ -194,7 +191,7 @@ files:
194
191
  - app/commands/decidim/admin/update_category.rb
195
192
  - app/commands/decidim/admin/update_component.rb
196
193
  - app/commands/decidim/admin/update_component_permissions.rb
197
- - app/commands/decidim/admin/update_external_domain_whitelist.rb
194
+ - app/commands/decidim/admin/update_external_domain_allowlist.rb
198
195
  - app/commands/decidim/admin/update_help_sections.rb
199
196
  - app/commands/decidim/admin/update_newsletter.rb
200
197
  - app/commands/decidim/admin/update_organization.rb
@@ -262,7 +259,7 @@ files:
262
259
  - app/controllers/decidim/admin/officializations_controller.rb
263
260
  - app/controllers/decidim/admin/organization_appearance_controller.rb
264
261
  - app/controllers/decidim/admin/organization_controller.rb
265
- - app/controllers/decidim/admin/organization_external_domain_whitelist_controller.rb
262
+ - app/controllers/decidim/admin/organization_external_domain_allowlist_controller.rb
266
263
  - app/controllers/decidim/admin/organization_homepage_content_blocks_controller.rb
267
264
  - app/controllers/decidim/admin/organization_homepage_controller.rb
268
265
  - app/controllers/decidim/admin/participatory_space/user_role_controller.rb
@@ -299,7 +296,7 @@ files:
299
296
  - app/forms/decidim/admin/newsletter_form.rb
300
297
  - app/forms/decidim/admin/officialization_form.rb
301
298
  - app/forms/decidim/admin/organization_appearance_form.rb
302
- - app/forms/decidim/admin/organization_external_domain_whitelist_form.rb
299
+ - app/forms/decidim/admin/organization_external_domain_allowlist_form.rb
303
300
  - app/forms/decidim/admin/organization_form.rb
304
301
  - app/forms/decidim/admin/participatory_space_admin_user_form.rb
305
302
  - app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb
@@ -358,9 +355,10 @@ files:
358
355
  - app/packs/src/decidim/admin/auto_label_by_position.component.js
359
356
  - app/packs/src/decidim/admin/budget_rule_toggler.component.js
360
357
  - app/packs/src/decidim/admin/choose_language.js
358
+ - app/packs/src/decidim/admin/css_preview.js
361
359
  - app/packs/src/decidim/admin/draggable-list.js
362
360
  - app/packs/src/decidim/admin/dynamic_fields.component.js
363
- - app/packs/src/decidim/admin/external_domain_whitelist.js
361
+ - app/packs/src/decidim/admin/external_domain_allowlist.js
364
362
  - app/packs/src/decidim/admin/field_dependent_inputs.component.js
365
363
  - app/packs/src/decidim/admin/form.js
366
364
  - app/packs/src/decidim/admin/managed_users.js
@@ -375,7 +373,9 @@ files:
375
373
  - app/packs/src/decidim/admin/sortable.js
376
374
  - app/packs/src/decidim/admin/subform_multi_toggler.component.js
377
375
  - app/packs/src/decidim/admin/subform_toggler.component.js
376
+ - app/packs/src/decidim/admin/sync_radio_buttons.js
378
377
  - app/packs/src/decidim/admin/tab_focus.js
378
+ - app/packs/src/decidim/admin/text_copy.js
379
379
  - app/packs/src/decidim/admin/toggle_nav.js
380
380
  - app/packs/src/decidim/admin/triadic_color_picker.js
381
381
  - app/packs/src/decidim/admin/welcome_notification.js
@@ -384,6 +384,7 @@ files:
384
384
  - app/packs/stylesheets/decidim/admin/_color_picker.scss
385
385
  - app/packs/stylesheets/decidim/admin/_component-show.scss
386
386
  - app/packs/stylesheets/decidim/admin/_data_picker.scss
387
+ - app/packs/stylesheets/decidim/admin/_datepicker.scss
387
388
  - app/packs/stylesheets/decidim/admin/_dropdown.scss
388
389
  - app/packs/stylesheets/decidim/admin/_filters.scss
389
390
  - app/packs/stylesheets/decidim/admin/_forms.scss
@@ -395,6 +396,7 @@ files:
395
396
  - app/packs/stylesheets/decidim/admin/_main-nav.scss
396
397
  - app/packs/stylesheets/decidim/admin/_minimap.scss
397
398
  - app/packs/stylesheets/decidim/admin/_moderations.scss
399
+ - app/packs/stylesheets/decidim/admin/_proposal_status.scss
398
400
  - app/packs/stylesheets/decidim/admin/_secondary-nav.scss
399
401
  - app/packs/stylesheets/decidim/admin/_show_email.scss
400
402
  - app/packs/stylesheets/decidim/admin/_sidebar-menu.scss
@@ -497,9 +499,9 @@ files:
497
499
  - app/views/decidim/admin/organization_appearance/form/_header_snippets.html.erb
498
500
  - app/views/decidim/admin/organization_appearance/form/_images.html.erb
499
501
  - app/views/decidim/admin/organization_appearance/form/_minimap.html.erb
500
- - app/views/decidim/admin/organization_external_domain_whitelist/_external_domain.html.erb
501
- - app/views/decidim/admin/organization_external_domain_whitelist/_form.html.erb
502
- - app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb
502
+ - app/views/decidim/admin/organization_external_domain_allowlist/_external_domain.html.erb
503
+ - app/views/decidim/admin/organization_external_domain_allowlist/_form.html.erb
504
+ - app/views/decidim/admin/organization_external_domain_allowlist/edit.html.erb
503
505
  - app/views/decidim/admin/participatory_space_private_users/_form.html.erb
504
506
  - app/views/decidim/admin/participatory_space_private_users/index.html.erb
505
507
  - app/views/decidim/admin/participatory_space_private_users/new.html.erb
@@ -516,6 +518,7 @@ files:
516
518
  - app/views/decidim/admin/scopes/index.html.erb
517
519
  - app/views/decidim/admin/scopes/new.html.erb
518
520
  - app/views/decidim/admin/share_tokens/_share_tokens.html.erb
521
+ - app/views/decidim/admin/shared/_adjacent_navigation.html.erb
519
522
  - app/views/decidim/admin/shared/_admin_confirm_modal.html.erb
520
523
  - app/views/decidim/admin/shared/_filters.html.erb
521
524
  - app/views/decidim/admin/shared/_gallery.html.erb
@@ -550,7 +553,6 @@ files:
550
553
  - app/views/layouts/decidim/admin/_title_bar_responsive.html.erb
551
554
  - app/views/layouts/decidim/admin/application.html.erb
552
555
  - app/views/layouts/decidim/admin/global_moderations.html.erb
553
- - app/views/layouts/decidim/admin/login.html.erb
554
556
  - app/views/layouts/decidim/admin/newsletters.erb
555
557
  - app/views/layouts/decidim/admin/settings.html.erb
556
558
  - app/views/layouts/decidim/admin/users.html.erb
@@ -706,14 +708,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
706
708
  requirements:
707
709
  - - "~>"
708
710
  - !ruby/object:Gem::Version
709
- version: 3.1.0
711
+ version: 3.2.0
710
712
  required_rubygems_version: !ruby/object:Gem::Requirement
711
713
  requirements:
712
- - - ">="
714
+ - - ">"
713
715
  - !ruby/object:Gem::Version
714
- version: '0'
716
+ version: 1.3.1
715
717
  requirements: []
716
- rubygems_version: 3.3.7
718
+ rubygems_version: 3.4.10
717
719
  signing_key:
718
720
  specification_version: 4
719
721
  summary: Decidim organization administration
@@ -1,46 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- module Admin
5
- # A command with all the business logic to destroy a share token.
6
- class DestroyShareToken < Decidim::Command
7
- # Public: Initializes the command.
8
- #
9
- # share_token - The share_token to destroy
10
- # current_user - the user performing the action
11
- def initialize(share_token, current_user)
12
- @share_token = share_token
13
- @current_user = current_user
14
- end
15
-
16
- # Executes the command. Broadcasts these events:
17
- #
18
- # - :ok when everything is valid.
19
- # - :invalid if the form was not valid and we could not proceed.
20
- #
21
- # Returns nothing.
22
- def call
23
- begin
24
- destroy_share_token
25
- rescue StandardError
26
- broadcast(:invalid)
27
- end
28
- broadcast(:ok)
29
- end
30
-
31
- private
32
-
33
- attr_reader :current_user
34
-
35
- def destroy_share_token
36
- Decidim.traceability.perform_action!(
37
- "delete",
38
- @share_token,
39
- current_user
40
- ) do
41
- @share_token.destroy!
42
- end
43
- end
44
- end
45
- end
46
- end
@@ -1,40 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- module Admin
5
- # This command deals with destroying a StaticPage from the admin panel.
6
- class DestroyStaticPage < Decidim::Command
7
- # Public: Initializes the command.
8
- #
9
- # page - The StaticPage to be destroyed.
10
- def initialize(page, current_user)
11
- @page = page
12
- @current_user = current_user
13
- end
14
-
15
- # Public: Executes the command.
16
- #
17
- # Broadcasts :ok if it got destroyed
18
- def call
19
- destroy_page
20
- broadcast(:ok)
21
- end
22
-
23
- private
24
-
25
- attr_reader :page, :current_user
26
-
27
- def destroy_page
28
- transaction do
29
- Decidim.traceability.perform_action!(
30
- "delete",
31
- page,
32
- current_user
33
- ) do
34
- page.destroy!
35
- end
36
- end
37
- end
38
- end
39
- end
40
- end
@@ -1,40 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- module Admin
5
- # This command deals with destroying a StaticPageTopic from the admin panel.
6
- class DestroyStaticPageTopic < Decidim::Command
7
- # Public: Initializes the command.
8
- #
9
- # page - The StaticPageTopic to be destroyed.
10
- def initialize(_topic, current_user)
11
- @topic = page
12
- @current_user = current_user
13
- end
14
-
15
- # Public: Executes the command.
16
- #
17
- # Broadcasts :ok if it got destroyed
18
- def call
19
- destroy_topic
20
- broadcast(:ok)
21
- end
22
-
23
- private
24
-
25
- attr_reader :page, :current_user
26
-
27
- def destroy_topic
28
- transaction do
29
- Decidim.traceability.perform_action!(
30
- "delete",
31
- topic,
32
- current_user
33
- ) do
34
- topic.destroy!
35
- end
36
- end
37
- end
38
- end
39
- end
40
- end
@@ -1,19 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Decidim - Login</title>
5
- <%= render partial: "layouts/decidim/admin/header" %>
6
- </head>
7
-
8
- <body class="login">
9
- <div class="login-form-wrapper">
10
- <div class="login-form">
11
- <h1>Decidim</h1>
12
- <%= display_flash_messages %>
13
- <div class="login-form-inner">
14
- <%= yield %>
15
- </div>
16
- </div>
17
- </div>
18
- </body>
19
- </html>