decidim-admin 0.24.0 → 0.25.0.rc1

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 (283) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/admin/content_block/show.erb +2 -2
  3. data/app/commands/decidim/admin/block_user.rb +6 -0
  4. data/app/commands/decidim/admin/create_attachment.rb +2 -1
  5. data/app/commands/decidim/admin/hide_resource.rb +1 -0
  6. data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +1 -1
  7. data/app/commands/decidim/admin/update_attachment.rb +5 -1
  8. data/app/commands/decidim/admin/update_content_block.rb +1 -1
  9. data/app/commands/decidim/admin/update_external_domain_whitelist.rb +32 -0
  10. data/app/commands/decidim/admin/update_organization.rb +2 -1
  11. data/app/commands/decidim/admin/update_organization_appearance.rb +4 -14
  12. data/app/controllers/concerns/decidim/admin/filterable.rb +1 -3
  13. data/app/controllers/concerns/decidim/participatory_space_private_users/admin/filterable.rb +34 -0
  14. data/app/controllers/decidim/admin/concerns/has_attachments.rb +1 -4
  15. data/app/controllers/decidim/admin/concerns/has_private_users.rb +6 -3
  16. data/app/controllers/decidim/admin/imports_controller.rb +1 -0
  17. data/app/controllers/decidim/admin/moderated_users_controller.rb +6 -2
  18. data/app/controllers/decidim/admin/organization_controller.rb +11 -1
  19. data/app/controllers/decidim/admin/organization_external_domain_whitelist_controller.rb +38 -0
  20. data/app/controllers/decidim/admin/users_controller.rb +7 -1
  21. data/app/forms/decidim/admin/external_domain_form.rb +19 -0
  22. data/app/forms/decidim/admin/import_form.rb +1 -0
  23. data/app/forms/decidim/admin/organization_appearance_form.rb +7 -7
  24. data/app/forms/decidim/admin/organization_external_domain_whitelist_form.rb +23 -0
  25. data/app/forms/decidim/admin/organization_form.rb +1 -0
  26. data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +2 -0
  27. data/app/forms/decidim/admin/user_group_csv_verification_form.rb +2 -0
  28. data/app/helpers/decidim/admin/filterable_helper.rb +1 -1
  29. data/app/helpers/decidim/admin/menu_helper.rb +7 -7
  30. data/app/helpers/decidim/admin/uploader_image_dimensions_helper.rb +2 -1
  31. data/app/jobs/decidim/admin/expire_impersonation_job.rb +1 -2
  32. data/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb +1 -1
  33. data/app/packs/entrypoints/decidim_admin.js +43 -0
  34. data/app/packs/entrypoints/decidim_admin.scss +1 -0
  35. data/app/packs/src/decidim/admin/application.js +68 -0
  36. data/app/packs/src/decidim/admin/auto_buttons_by_position.component.js +37 -0
  37. data/app/packs/src/decidim/admin/auto_label_by_position.component.js +28 -0
  38. data/app/packs/src/decidim/admin/autocomplete.component.js +146 -0
  39. data/app/{frontend/components/autocomplete.component.test.tsx → packs/src/decidim/admin/autocomplete.component.test.js} +1 -2
  40. data/app/packs/src/decidim/admin/budget_rule_toggler.component.js +50 -0
  41. data/app/{assets/javascripts → packs/src}/decidim/admin/choose_language.js +0 -0
  42. data/app/packs/src/decidim/admin/draggable-list.js +30 -0
  43. data/app/packs/src/decidim/admin/dynamic_fields.component.js +230 -0
  44. data/app/packs/src/decidim/admin/external_domain_whitelist.js +100 -0
  45. data/app/packs/src/decidim/admin/field_dependent_inputs.component.js +37 -0
  46. data/app/{assets/javascripts/decidim/admin/form.js.es6 → packs/src/decidim/admin/form.js} +6 -9
  47. data/app/{assets/javascripts/decidim/admin/import_guidance.js.es6 → packs/src/decidim/admin/import_guidance.js} +2 -3
  48. data/app/{assets/javascripts/decidim/admin/managed_users.js.es6 → packs/src/decidim/admin/managed_users.js} +4 -4
  49. data/app/packs/src/decidim/admin/moderations.js +20 -0
  50. data/app/{assets/javascripts/decidim/admin/newsletters.js.es6 → packs/src/decidim/admin/newsletters.js} +0 -0
  51. data/app/{assets/javascripts/decidim/admin/officializations.js.es6 → packs/src/decidim/admin/officializations.js} +0 -0
  52. data/app/{assets/javascripts/decidim/admin/proposal_infinite_edit.js.es6 → packs/src/decidim/admin/proposal_infinite_edit.js} +0 -0
  53. data/app/{assets/javascripts/decidim/admin/resources_permissions.js.es6 → packs/src/decidim/admin/resources_permissions.js} +3 -5
  54. data/app/packs/src/decidim/admin/scope_picker_enabler.component.js +12 -0
  55. data/app/packs/src/decidim/admin/sort_list.component.js +31 -0
  56. data/app/packs/src/decidim/admin/sortable.js +21 -0
  57. data/app/packs/src/decidim/admin/subform_multi_toggler.component.js +38 -0
  58. data/app/packs/src/decidim/admin/subform_toggler.component.js +38 -0
  59. data/app/{assets/javascripts/decidim/admin/tab_focus.js.es6 → packs/src/decidim/admin/tab_focus.js} +0 -2
  60. data/app/packs/src/decidim/admin/toggle_nav.js +14 -0
  61. data/app/{assets/javascripts/decidim/admin/welcome_notification.js.es6 → packs/src/decidim/admin/welcome_notification.js} +2 -2
  62. data/app/packs/stylesheets/decidim/admin/_decidim.scss +24 -0
  63. data/app/{assets → packs}/stylesheets/decidim/admin/_variables.scss +0 -0
  64. data/app/packs/stylesheets/decidim/admin/application.scss +22 -0
  65. data/app/{assets → packs}/stylesheets/decidim/admin/bundle.scss +0 -0
  66. data/app/{assets → packs}/stylesheets/decidim/admin/components/_accordion.scss +0 -0
  67. data/app/{assets → packs}/stylesheets/decidim/admin/components/_autocomplete_select.component.scss +0 -0
  68. data/app/{assets → packs}/stylesheets/decidim/admin/components/_dropdown-menu.scss +0 -0
  69. data/app/{assets → packs}/stylesheets/decidim/admin/components/_sortable.scss +0 -0
  70. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_action-icon.scss +0 -0
  71. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_block_user.scss +0 -0
  72. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_cards.scss +0 -0
  73. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_categories.scss +0 -0
  74. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_dropdown_inverted.scss +0 -0
  75. data/app/packs/stylesheets/decidim/admin/extra/_editor.scss +1 -0
  76. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_email_preview.scss +0 -0
  77. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_label-required.scss +0 -0
  78. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_login.scss +0 -0
  79. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_logs.scss +0 -0
  80. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_newsletter-templates-gallery.scss +0 -0
  81. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_organization-appearance.scss +0 -0
  82. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_quill.scss +0 -0
  83. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_select_multiple.scss +0 -0
  84. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_show_email.scss +0 -0
  85. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_sort.scss +0 -0
  86. data/app/{assets → packs}/stylesheets/decidim/admin/extra/_title_bar.scss +0 -0
  87. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_action-icon.scss +1 -1
  88. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_agenda.scss +0 -0
  89. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_buttons.scss +0 -0
  90. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_callouts.scss +0 -0
  91. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_card-grid.scss +0 -0
  92. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_cards.scss +1 -1
  93. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_char-counter.scss +0 -0
  94. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_component-counter.scss +0 -0
  95. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_draggable-list.scss +2 -2
  96. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_dropdown.scss +0 -0
  97. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_filters.scss +0 -0
  98. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_forms.scss +0 -0
  99. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_icons.scss +0 -0
  100. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_import_result.scss +0 -0
  101. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_layout.scss +0 -0
  102. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_loading-spinner.scss +0 -0
  103. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_main-nav.scss +0 -0
  104. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_moderations.scss +0 -0
  105. data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +43 -0
  106. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_pics.scss +0 -0
  107. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_process-header.scss +0 -0
  108. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_reveal.scss +0 -0
  109. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_secondary-nav.scss +0 -0
  110. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_table-list.scss +13 -0
  111. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_tabs.scss +0 -0
  112. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_title-bar.scss +0 -0
  113. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_typography.scss +0 -0
  114. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_user-login.scss +0 -0
  115. data/app/{assets → packs}/stylesheets/decidim/admin/modules/_users_statistics.scss +0 -0
  116. data/app/{assets → packs}/stylesheets/decidim/admin/plugins/_foundation-datepicker.scss +0 -0
  117. data/{vendor/assets/stylesheets → app/packs/stylesheets/decidim/admin}/plugins/jquery.auto-complete.css +0 -0
  118. data/app/{assets → packs}/stylesheets/decidim/admin/user_moderations.scss +0 -0
  119. data/app/{assets → packs}/stylesheets/decidim/admin/utils/_flex.scss +2 -2
  120. data/app/{assets → packs}/stylesheets/decidim/admin/utils/_helpers.scss +0 -0
  121. data/app/{assets → packs}/stylesheets/decidim/admin/utils/_keyframes.scss +0 -0
  122. data/app/{assets → packs}/stylesheets/decidim/admin/utils/_mixins.scss +30 -3
  123. data/app/{assets → packs}/stylesheets/decidim/admin/utils/_settings.scss +11 -3
  124. data/app/{assets → packs}/stylesheets/decidim/admin/utils/_toggle-expand.scss +0 -0
  125. data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/_constants.scss +1 -1
  126. data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/_math.scss +0 -0
  127. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_acos.scss +14 -0
  128. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_asin.scss +16 -0
  129. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan.scss +36 -0
  130. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan2.scss +46 -0
  131. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_cos.scss +17 -0
  132. data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_cot.scss +6 -3
  133. data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_csc.scss +6 -3
  134. data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_exp.scss +10 -6
  135. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_fact.scss +21 -0
  136. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_frexp.scss +25 -0
  137. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_ldexp.scss +20 -0
  138. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_log.scss +39 -0
  139. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_pow.scss +34 -0
  140. data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_sec.scss +6 -3
  141. data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_sin.scss +4 -3
  142. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sqrt.scss +21 -0
  143. data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_tan.scss +6 -3
  144. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_deg-to-rad.scss +6 -0
  145. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss +6 -0
  146. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss +11 -0
  147. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss +19 -0
  148. data/app/presenters/decidim/admin/simple_menu_presenter.rb +11 -0
  149. data/app/queries/decidim/admin/newsletter_recipients.rb +3 -1
  150. data/app/views/decidim/admin/area_types/index.html.erb +2 -2
  151. data/app/views/decidim/admin/areas/index.html.erb +1 -1
  152. data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -1
  153. data/app/views/decidim/admin/categories/index.html.erb +1 -1
  154. data/app/views/decidim/admin/components/_form.html.erb +0 -2
  155. data/app/views/decidim/admin/impersonations/_form.html.erb +3 -1
  156. data/app/views/decidim/admin/imports/new.html.erb +1 -9
  157. data/app/views/decidim/admin/newsletters/index.html.erb +1 -1
  158. data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +1 -3
  159. data/app/views/decidim/admin/newsletters/show.html.erb +1 -1
  160. data/app/views/decidim/admin/officializations/index.html.erb +3 -3
  161. data/app/views/decidim/admin/organization/_form.html.erb +6 -2
  162. data/app/views/decidim/admin/organization_appearance/_form.html.erb +0 -2
  163. data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +20 -4
  164. data/app/views/decidim/admin/organization_appearance/form/_minimap.html.erb +7 -7
  165. data/app/views/decidim/admin/organization_external_domain_whitelist/_external_domain.html.erb +31 -0
  166. data/app/views/decidim/admin/organization_external_domain_whitelist/_form.html.erb +37 -0
  167. data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +6 -0
  168. data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +4 -4
  169. data/app/views/decidim/admin/resource_permissions/edit.html.erb +0 -2
  170. data/app/views/decidim/admin/scope_types/index.html.erb +3 -3
  171. data/app/views/decidim/admin/scopes/index.html.erb +1 -1
  172. data/app/views/decidim/admin/shared/_gallery.html.erb +1 -1
  173. data/app/views/decidim/admin/static_pages/_form.html.erb +0 -1
  174. data/app/views/decidim/admin/static_pages/_topic.html.erb +3 -3
  175. data/app/views/decidim/admin/user_groups/index.html.erb +2 -2
  176. data/app/views/decidim/admin/users/index.html.erb +10 -9
  177. data/app/views/layouts/decidim/admin/_application.html.erb +2 -1
  178. data/app/views/layouts/decidim/admin/_header.html.erb +2 -3
  179. data/app/views/layouts/decidim/admin/_js_configuration.html.erb +27 -0
  180. data/app/views/layouts/decidim/admin/_title_bar.html.erb +1 -1
  181. data/app/views/layouts/decidim/admin/global_moderations.html.erb +1 -1
  182. data/app/views/layouts/decidim/admin/newsletters.erb +1 -1
  183. data/app/views/layouts/decidim/admin/pages.html.erb +2 -2
  184. data/app/views/layouts/decidim/admin/settings.html.erb +1 -1
  185. data/app/views/layouts/decidim/admin/users.html.erb +2 -52
  186. data/config/assets.rb +8 -0
  187. data/config/locales/ar.yml +0 -4
  188. data/config/locales/bg.yml +0 -3
  189. data/config/locales/ca.yml +37 -6
  190. data/config/locales/cs.yml +52 -9
  191. data/config/locales/de.yml +18 -6
  192. data/config/locales/el.yml +0 -4
  193. data/config/locales/en.yml +59 -16
  194. data/config/locales/eo.yml +0 -1
  195. data/config/locales/es-MX.yml +19 -6
  196. data/config/locales/es-PY.yml +19 -6
  197. data/config/locales/es.yml +19 -6
  198. data/config/locales/eu.yml +0 -4
  199. data/config/locales/fi-plain.yml +49 -6
  200. data/config/locales/fi.yml +49 -6
  201. data/config/locales/fr-CA.yml +53 -6
  202. data/config/locales/fr-LU.yml +1029 -0
  203. data/config/locales/fr.yml +53 -6
  204. data/config/locales/gl.yml +77 -6
  205. data/config/locales/hu.yml +70 -4
  206. data/config/locales/id-ID.yml +0 -4
  207. data/config/locales/is-IS.yml +0 -4
  208. data/config/locales/it.yml +161 -10
  209. data/config/locales/ja.yml +160 -5
  210. data/config/locales/lb-LU.yml +1 -0
  211. data/config/locales/lv.yml +0 -4
  212. data/config/locales/nl.yml +20 -6
  213. data/config/locales/no.yml +8 -6
  214. data/config/locales/pl.yml +45 -24
  215. data/config/locales/pt-BR.yml +346 -4
  216. data/config/locales/pt.yml +6 -4
  217. data/config/locales/ro-RO.yml +325 -121
  218. data/config/locales/ru.yml +0 -4
  219. data/config/locales/sk.yml +0 -4
  220. data/config/locales/sl.yml +0 -4
  221. data/config/locales/sr-CS.yml +0 -4
  222. data/config/locales/sv.yml +144 -2
  223. data/config/locales/tr-TR.yml +0 -4
  224. data/config/locales/uk.yml +0 -2
  225. data/config/locales/zh-CN.yml +0 -4
  226. data/config/routes.rb +2 -0
  227. data/lib/decidim/admin/engine.rb +210 -137
  228. data/lib/decidim/admin/import/readers.rb +3 -3
  229. data/lib/decidim/admin/import/readers/xlsx.rb +25 -0
  230. data/lib/decidim/admin/test.rb +1 -0
  231. data/lib/decidim/admin/test/filters_participatory_space_users_examples.rb +73 -0
  232. data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +1 -1
  233. data/lib/decidim/admin/test/manage_attachments_examples.rb +1 -1
  234. data/lib/decidim/admin/version.rb +1 -1
  235. metadata +143 -181
  236. data/app/assets/config/decidim_admin_manifest.js +0 -8
  237. data/app/assets/javascripts/decidim/admin/application.js.es6 +0 -77
  238. data/app/assets/javascripts/decidim/admin/auto_buttons_by_position.component.js.es6 +0 -42
  239. data/app/assets/javascripts/decidim/admin/auto_label_by_position.component.js.es6 +0 -33
  240. data/app/assets/javascripts/decidim/admin/budget_rule_toggler.component.js.es6 +0 -55
  241. data/app/assets/javascripts/decidim/admin/bundle.js +0 -34
  242. data/app/assets/javascripts/decidim/admin/bundle.js.map +0 -1
  243. data/app/assets/javascripts/decidim/admin/draggable-list.js.es6 +0 -30
  244. data/app/assets/javascripts/decidim/admin/dynamic_fields.component.js.es6 +0 -233
  245. data/app/assets/javascripts/decidim/admin/field_dependent_inputs.component.js.es6 +0 -39
  246. data/app/assets/javascripts/decidim/admin/moderations.js.es6 +0 -24
  247. data/app/assets/javascripts/decidim/admin/scope_picker_enabler.component.js.es6 +0 -14
  248. data/app/assets/javascripts/decidim/admin/sort_list.component.js.es6 +0 -35
  249. data/app/assets/javascripts/decidim/admin/sortable.js.es6 +0 -22
  250. data/app/assets/javascripts/decidim/admin/subform_multi_toggler.component.js.es6 +0 -43
  251. data/app/assets/javascripts/decidim/admin/subform_toggler.component.js.es6 +0 -42
  252. data/app/assets/javascripts/decidim/admin/toggle_nav.js.es6 +0 -17
  253. data/app/assets/javascripts/decidim/admin/user_moderations.js +0 -2
  254. data/app/assets/stylesheets/decidim/admin/_decidim.scss +0 -20
  255. data/app/assets/stylesheets/decidim/admin/application.scss.erb +0 -6
  256. data/app/assets/stylesheets/decidim/admin/extra/_editor.scss +0 -1
  257. data/app/assets/stylesheets/decidim/admin/modules/_modules.scss +0 -43
  258. data/app/assets/stylesheets/decidim/admin/utils/_fontface.scss +0 -29
  259. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_acos.scss +0 -12
  260. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_asin.scss +0 -12
  261. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_atan.scss +0 -28
  262. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_atan2.scss +0 -37
  263. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_cos.scss +0 -13
  264. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_fact.scss +0 -18
  265. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_frexp.scss +0 -21
  266. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_ldexp.scss +0 -17
  267. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_log.scss +0 -34
  268. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_pow.scss +0 -28
  269. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_sqrt.scss +0 -16
  270. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_deg-to-rad.scss +0 -4
  271. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss +0 -4
  272. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss +0 -8
  273. data/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss +0 -13
  274. data/app/frontend/components/autocomplete.component.tsx +0 -198
  275. data/app/frontend/entry.ts +0 -17
  276. data/app/frontend/entry_test.ts +0 -4
  277. data/app/helpers/decidim/admin/sidebar_menu_helper.rb +0 -13
  278. data/config/locales/ja-JP.yml +0 -855
  279. data/lib/decidim/admin/import/readers/xls.rb +0 -25
  280. data/vendor/assets/javascripts/html.sortable.js +0 -691
  281. data/vendor/assets/javascripts/jquery.auto-complete.js +0 -171
  282. data/vendor/assets/javascripts/jquery.serializejson.js +0 -344
  283. data/vendor/assets/javascripts/moment.min.js +0 -1
@@ -7,7 +7,7 @@ module Decidim
7
7
  autoload :Base, "decidim/admin/import/readers/base"
8
8
  autoload :CSV, "decidim/admin/import/readers/csv"
9
9
  autoload :JSON, "decidim/admin/import/readers/json"
10
- autoload :XLS, "decidim/admin/import/readers/xls"
10
+ autoload :XLSX, "decidim/admin/import/readers/xlsx"
11
11
 
12
12
  # Accepted mime types
13
13
  # keys: are used for dynamic help text on admin form.
@@ -15,14 +15,14 @@ module Decidim
15
15
  ACCEPTED_MIME_TYPES = {
16
16
  json: Readers::JSON::MIME_TYPE,
17
17
  csv: Readers::CSV::MIME_TYPE,
18
- xls: Readers::XLS::MIME_TYPE
18
+ xlsx: Readers::XLSX::MIME_TYPE
19
19
  }.freeze
20
20
 
21
21
  def self.all
22
22
  [
23
23
  Readers::CSV,
24
24
  Readers::JSON,
25
- Readers::XLS
25
+ Readers::XLSX
26
26
  ]
27
27
  end
28
28
 
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rubyXL"
4
+
5
+ module Decidim
6
+ module Admin
7
+ module Import
8
+ module Readers
9
+ # Imports any exported XLSX file to local objects. It transforms the
10
+ # import data using the creator into the final target objects.
11
+ class XLSX < Base
12
+ MIME_TYPE = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
13
+
14
+ def read_rows
15
+ workbook = RubyXL::Parser.parse(file)
16
+ sheet = workbook.worksheets[0]
17
+ sheet.each_with_index do |row, index|
18
+ yield row.cells.map(&:value), index
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -7,3 +7,4 @@ require "decidim/admin/test/manage_component_permissions_examples"
7
7
  require "decidim/admin/test/manage_moderations_examples"
8
8
  require "decidim/admin/test/manage_paginated_collection_examples"
9
9
  require "decidim/admin/test/filterable_examples"
10
+ require "decidim/admin/test/filters_participatory_space_users_examples"
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ shared_examples "filterable participatory space users" do
4
+ context "when filtering by invitation sent at" do
5
+ context "when filtering by null" do
6
+ it "returns participatory space users" do
7
+ apply_filter("Invitation sent", "Not sent")
8
+
9
+ within ".stack tbody" do
10
+ expect(page).to have_content(invited_user_2.name)
11
+ expect(page).to have_css("tr", count: 1)
12
+ end
13
+ end
14
+ end
15
+
16
+ context "when filtering by not null" do
17
+ it "returns participatory space users" do
18
+ apply_filter("Invitation sent", "Sent")
19
+
20
+ within ".stack tbody" do
21
+ expect(page).to have_content(invited_user_1.name)
22
+ expect(page).to have_css("tr", count: 1)
23
+ end
24
+ end
25
+ end
26
+ end
27
+
28
+ context "when filtering by invitation accepted at" do
29
+ context "when filtering by null" do
30
+ it "returns participatory space users" do
31
+ apply_filter("Invitation accepted", "Not accepted")
32
+
33
+ within ".stack tbody" do
34
+ expect(page).to have_content(invited_user_2.name)
35
+ expect(page).to have_css("tr", count: 1)
36
+ end
37
+ end
38
+ end
39
+
40
+ context "when filtering by not null" do
41
+ it "returns participatory space users" do
42
+ apply_filter("Invitation accepted", "Accepted")
43
+
44
+ within ".stack tbody" do
45
+ expect(page).to have_content(invited_user_1.name)
46
+ expect(page).to have_css("tr", count: 1)
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ shared_examples "searchable participatory space users" do
54
+ context "when searching by name or nickname or email" do
55
+ it "can be searched by name" do
56
+ search_by_text(name)
57
+
58
+ within ".stack tbody" do
59
+ expect(page).to have_content(name)
60
+ expect(page).to have_css("tr", count: 1)
61
+ end
62
+ end
63
+
64
+ it "can be searched by email" do
65
+ search_by_text(email)
66
+
67
+ within ".stack tbody" do
68
+ expect(page).to have_content(email)
69
+ expect(page).to have_css("tr", count: 1)
70
+ end
71
+ end
72
+ end
73
+ end
@@ -100,7 +100,7 @@ shared_examples "manage attachment collections examples" do
100
100
  end
101
101
  end
102
102
 
103
- context "when the attachment collection has associated content", processing_uploads_for: Decidim::AttachmentUploader do
103
+ context "when the attachment collection has associated content" do
104
104
  let!(:attachment) { create(:attachment, attached_to: collection_for, attachment_collection: attachment_collection) }
105
105
 
106
106
  before do
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  shared_examples "manage attachments examples" do
4
- context "when processing attachments", processing_uploads_for: Decidim::AttachmentUploader do
4
+ context "when processing attachments" 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.24.0"
7
+ "0.25.0.rc1"
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.24.0
4
+ version: 0.25.0.rc1
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: 2021-03-26 00:00:00.000000000 Z
13
+ date: 2021-07-28 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.24.0
35
+ version: 0.25.0.rc1
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.24.0
42
+ version: 0.25.0.rc1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: devise
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -74,84 +74,42 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: '1.7'
77
+ version: '2.0'
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '1.7'
85
- - !ruby/object:Gem::Dependency
86
- name: jquery-rails
87
- requirement: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - "~>"
90
- - !ruby/object:Gem::Version
91
- version: '4.4'
92
- type: :runtime
93
- prerelease: false
94
- version_requirements: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - "~>"
97
- - !ruby/object:Gem::Version
98
- version: '4.4'
99
- - !ruby/object:Gem::Dependency
100
- name: sassc
101
- requirement: !ruby/object:Gem::Requirement
102
- requirements:
103
- - - "~>"
104
- - !ruby/object:Gem::Version
105
- version: 2.4.0
106
- type: :runtime
107
- prerelease: false
108
- version_requirements: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - "~>"
111
- - !ruby/object:Gem::Version
112
- version: 2.4.0
113
- - !ruby/object:Gem::Dependency
114
- name: sassc-rails
115
- requirement: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: 2.1.2
120
- type: :runtime
121
- prerelease: false
122
- version_requirements: !ruby/object:Gem::Requirement
123
- requirements:
124
- - - "~>"
125
- - !ruby/object:Gem::Version
126
- version: 2.1.2
84
+ version: '2.0'
127
85
  - !ruby/object:Gem::Dependency
128
86
  name: decidim-dev
129
87
  requirement: !ruby/object:Gem::Requirement
130
88
  requirements:
131
89
  - - '='
132
90
  - !ruby/object:Gem::Version
133
- version: 0.24.0
91
+ version: 0.25.0.rc1
134
92
  type: :development
135
93
  prerelease: false
136
94
  version_requirements: !ruby/object:Gem::Requirement
137
95
  requirements:
138
96
  - - '='
139
97
  - !ruby/object:Gem::Version
140
- version: 0.24.0
98
+ version: 0.25.0.rc1
141
99
  - !ruby/object:Gem::Dependency
142
100
  name: decidim-participatory_processes
143
101
  requirement: !ruby/object:Gem::Requirement
144
102
  requirements:
145
103
  - - '='
146
104
  - !ruby/object:Gem::Version
147
- version: 0.24.0
105
+ version: 0.25.0.rc1
148
106
  type: :development
149
107
  prerelease: false
150
108
  version_requirements: !ruby/object:Gem::Requirement
151
109
  requirements:
152
110
  - - '='
153
111
  - !ruby/object:Gem::Version
154
- version: 0.24.0
112
+ version: 0.25.0.rc1
155
113
  description: Organization administration to manage a single organization.
156
114
  email:
157
115
  - josepjaume@gmail.com
@@ -163,120 +121,6 @@ extra_rdoc_files: []
163
121
  files:
164
122
  - README.md
165
123
  - Rakefile
166
- - app/assets/config/decidim_admin_manifest.js
167
- - app/assets/javascripts/decidim/admin/application.js.es6
168
- - app/assets/javascripts/decidim/admin/auto_buttons_by_position.component.js.es6
169
- - app/assets/javascripts/decidim/admin/auto_label_by_position.component.js.es6
170
- - app/assets/javascripts/decidim/admin/budget_rule_toggler.component.js.es6
171
- - app/assets/javascripts/decidim/admin/bundle.js
172
- - app/assets/javascripts/decidim/admin/bundle.js.map
173
- - app/assets/javascripts/decidim/admin/choose_language.js
174
- - app/assets/javascripts/decidim/admin/draggable-list.js.es6
175
- - app/assets/javascripts/decidim/admin/dynamic_fields.component.js.es6
176
- - app/assets/javascripts/decidim/admin/field_dependent_inputs.component.js.es6
177
- - app/assets/javascripts/decidim/admin/form.js.es6
178
- - app/assets/javascripts/decidim/admin/import_guidance.js.es6
179
- - app/assets/javascripts/decidim/admin/managed_users.js.es6
180
- - app/assets/javascripts/decidim/admin/moderations.js.es6
181
- - app/assets/javascripts/decidim/admin/newsletters.js.es6
182
- - app/assets/javascripts/decidim/admin/officializations.js.es6
183
- - app/assets/javascripts/decidim/admin/proposal_infinite_edit.js.es6
184
- - app/assets/javascripts/decidim/admin/resources_permissions.js.es6
185
- - app/assets/javascripts/decidim/admin/scope_picker_enabler.component.js.es6
186
- - app/assets/javascripts/decidim/admin/sort_list.component.js.es6
187
- - app/assets/javascripts/decidim/admin/sortable.js.es6
188
- - app/assets/javascripts/decidim/admin/subform_multi_toggler.component.js.es6
189
- - app/assets/javascripts/decidim/admin/subform_toggler.component.js.es6
190
- - app/assets/javascripts/decidim/admin/tab_focus.js.es6
191
- - app/assets/javascripts/decidim/admin/toggle_nav.js.es6
192
- - app/assets/javascripts/decidim/admin/user_moderations.js
193
- - app/assets/javascripts/decidim/admin/welcome_notification.js.es6
194
- - app/assets/stylesheets/decidim/admin/_decidim.scss
195
- - app/assets/stylesheets/decidim/admin/_variables.scss
196
- - app/assets/stylesheets/decidim/admin/application.scss.erb
197
- - app/assets/stylesheets/decidim/admin/bundle.scss
198
- - app/assets/stylesheets/decidim/admin/components/_accordion.scss
199
- - app/assets/stylesheets/decidim/admin/components/_autocomplete_select.component.scss
200
- - app/assets/stylesheets/decidim/admin/components/_dropdown-menu.scss
201
- - app/assets/stylesheets/decidim/admin/components/_sortable.scss
202
- - app/assets/stylesheets/decidim/admin/extra/_action-icon.scss
203
- - app/assets/stylesheets/decidim/admin/extra/_block_user.scss
204
- - app/assets/stylesheets/decidim/admin/extra/_cards.scss
205
- - app/assets/stylesheets/decidim/admin/extra/_categories.scss
206
- - app/assets/stylesheets/decidim/admin/extra/_dropdown_inverted.scss
207
- - app/assets/stylesheets/decidim/admin/extra/_editor.scss
208
- - app/assets/stylesheets/decidim/admin/extra/_email_preview.scss
209
- - app/assets/stylesheets/decidim/admin/extra/_label-required.scss
210
- - app/assets/stylesheets/decidim/admin/extra/_login.scss
211
- - app/assets/stylesheets/decidim/admin/extra/_logs.scss
212
- - app/assets/stylesheets/decidim/admin/extra/_newsletter-templates-gallery.scss
213
- - app/assets/stylesheets/decidim/admin/extra/_organization-appearance.scss
214
- - app/assets/stylesheets/decidim/admin/extra/_quill.scss
215
- - app/assets/stylesheets/decidim/admin/extra/_select_multiple.scss
216
- - app/assets/stylesheets/decidim/admin/extra/_show_email.scss
217
- - app/assets/stylesheets/decidim/admin/extra/_sort.scss
218
- - app/assets/stylesheets/decidim/admin/extra/_title_bar.scss
219
- - app/assets/stylesheets/decidim/admin/modules/_action-icon.scss
220
- - app/assets/stylesheets/decidim/admin/modules/_agenda.scss
221
- - app/assets/stylesheets/decidim/admin/modules/_buttons.scss
222
- - app/assets/stylesheets/decidim/admin/modules/_callouts.scss
223
- - app/assets/stylesheets/decidim/admin/modules/_card-grid.scss
224
- - app/assets/stylesheets/decidim/admin/modules/_cards.scss
225
- - app/assets/stylesheets/decidim/admin/modules/_char-counter.scss
226
- - app/assets/stylesheets/decidim/admin/modules/_component-counter.scss
227
- - app/assets/stylesheets/decidim/admin/modules/_draggable-list.scss
228
- - app/assets/stylesheets/decidim/admin/modules/_dropdown.scss
229
- - app/assets/stylesheets/decidim/admin/modules/_filters.scss
230
- - app/assets/stylesheets/decidim/admin/modules/_forms.scss
231
- - app/assets/stylesheets/decidim/admin/modules/_icons.scss
232
- - app/assets/stylesheets/decidim/admin/modules/_import_result.scss
233
- - app/assets/stylesheets/decidim/admin/modules/_layout.scss
234
- - app/assets/stylesheets/decidim/admin/modules/_loading-spinner.scss
235
- - app/assets/stylesheets/decidim/admin/modules/_main-nav.scss
236
- - app/assets/stylesheets/decidim/admin/modules/_moderations.scss
237
- - app/assets/stylesheets/decidim/admin/modules/_modules.scss
238
- - app/assets/stylesheets/decidim/admin/modules/_pics.scss
239
- - app/assets/stylesheets/decidim/admin/modules/_process-header.scss
240
- - app/assets/stylesheets/decidim/admin/modules/_reveal.scss
241
- - app/assets/stylesheets/decidim/admin/modules/_secondary-nav.scss
242
- - app/assets/stylesheets/decidim/admin/modules/_table-list.scss
243
- - app/assets/stylesheets/decidim/admin/modules/_tabs.scss
244
- - app/assets/stylesheets/decidim/admin/modules/_title-bar.scss
245
- - app/assets/stylesheets/decidim/admin/modules/_typography.scss
246
- - app/assets/stylesheets/decidim/admin/modules/_user-login.scss
247
- - app/assets/stylesheets/decidim/admin/modules/_users_statistics.scss
248
- - app/assets/stylesheets/decidim/admin/plugins/_foundation-datepicker.scss
249
- - app/assets/stylesheets/decidim/admin/user_moderations.scss
250
- - app/assets/stylesheets/decidim/admin/utils/_flex.scss
251
- - app/assets/stylesheets/decidim/admin/utils/_fontface.scss
252
- - app/assets/stylesheets/decidim/admin/utils/_helpers.scss
253
- - app/assets/stylesheets/decidim/admin/utils/_keyframes.scss
254
- - app/assets/stylesheets/decidim/admin/utils/_mixins.scss
255
- - app/assets/stylesheets/decidim/admin/utils/_settings.scss
256
- - app/assets/stylesheets/decidim/admin/utils/_toggle-expand.scss
257
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/_constants.scss
258
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/_math.scss
259
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_acos.scss
260
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_asin.scss
261
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_atan.scss
262
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_atan2.scss
263
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_cos.scss
264
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_cot.scss
265
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_csc.scss
266
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_exp.scss
267
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_fact.scss
268
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_frexp.scss
269
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_ldexp.scss
270
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_log.scss
271
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_pow.scss
272
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_sec.scss
273
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_sin.scss
274
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_sqrt.scss
275
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_tan.scss
276
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_deg-to-rad.scss
277
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss
278
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss
279
- - app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss
280
124
  - app/cells/decidim/admin/content_block/show.erb
281
125
  - app/cells/decidim/admin/content_block_cell.rb
282
126
  - app/cells/decidim/admin/results_per_page/show.erb
@@ -333,6 +177,7 @@ files:
333
177
  - app/commands/decidim/admin/update_component.rb
334
178
  - app/commands/decidim/admin/update_component_permissions.rb
335
179
  - app/commands/decidim/admin/update_content_block.rb
180
+ - app/commands/decidim/admin/update_external_domain_whitelist.rb
336
181
  - app/commands/decidim/admin/update_help_sections.rb
337
182
  - app/commands/decidim/admin/update_newsletter.rb
338
183
  - app/commands/decidim/admin/update_organization.rb
@@ -356,6 +201,7 @@ files:
356
201
  - app/controllers/concerns/decidim/admin/participatory_space_export.rb
357
202
  - app/controllers/concerns/decidim/admin/user_groups.rb
358
203
  - app/controllers/concerns/decidim/moderations/admin/filterable.rb
204
+ - app/controllers/concerns/decidim/participatory_space_private_users/admin/filterable.rb
359
205
  - app/controllers/decidim/admin/admin_terms_controller.rb
360
206
  - app/controllers/decidim/admin/application_controller.rb
361
207
  - app/controllers/decidim/admin/area_types_controller.rb
@@ -391,6 +237,7 @@ files:
391
237
  - app/controllers/decidim/admin/officializations_controller.rb
392
238
  - app/controllers/decidim/admin/organization_appearance_controller.rb
393
239
  - app/controllers/decidim/admin/organization_controller.rb
240
+ - app/controllers/decidim/admin/organization_external_domain_whitelist_controller.rb
394
241
  - app/controllers/decidim/admin/organization_homepage_content_blocks_controller.rb
395
242
  - app/controllers/decidim/admin/organization_homepage_controller.rb
396
243
  - app/controllers/decidim/admin/resource_permissions_controller.rb
@@ -413,6 +260,7 @@ files:
413
260
  - app/forms/decidim/admin/category_form.rb
414
261
  - app/forms/decidim/admin/component_form.rb
415
262
  - app/forms/decidim/admin/content_block_form.rb
263
+ - app/forms/decidim/admin/external_domain_form.rb
416
264
  - app/forms/decidim/admin/help_section_form.rb
417
265
  - app/forms/decidim/admin/help_sections_form.rb
418
266
  - app/forms/decidim/admin/impersonate_user_form.rb
@@ -421,6 +269,7 @@ files:
421
269
  - app/forms/decidim/admin/newsletter_form.rb
422
270
  - app/forms/decidim/admin/officialization_form.rb
423
271
  - app/forms/decidim/admin/organization_appearance_form.rb
272
+ - app/forms/decidim/admin/organization_external_domain_whitelist_form.rb
424
273
  - app/forms/decidim/admin/organization_form.rb
425
274
  - app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb
426
275
  - app/forms/decidim/admin/participatory_space_private_user_form.rb
@@ -434,10 +283,6 @@ files:
434
283
  - app/forms/decidim/admin/static_page_topic_form.rb
435
284
  - app/forms/decidim/admin/transfer_user_form.rb
436
285
  - app/forms/decidim/admin/user_group_csv_verification_form.rb
437
- - app/frontend/components/autocomplete.component.test.tsx
438
- - app/frontend/components/autocomplete.component.tsx
439
- - app/frontend/entry.ts
440
- - app/frontend/entry_test.ts
441
286
  - app/helpers/decidim/admin/admin_terms_helper.rb
442
287
  - app/helpers/decidim/admin/application_helper.rb
443
288
  - app/helpers/decidim/admin/areas_helper.rb
@@ -458,7 +303,6 @@ files:
458
303
  - app/helpers/decidim/admin/resource_scope_helper.rb
459
304
  - app/helpers/decidim/admin/scopes_helper.rb
460
305
  - app/helpers/decidim/admin/settings_helper.rb
461
- - app/helpers/decidim/admin/sidebar_menu_helper.rb
462
306
  - app/helpers/decidim/admin/uploader_image_dimensions_helper.rb
463
307
  - app/helpers/decidim/admin/user_moderations_helper.rb
464
308
  - app/helpers/decidim/admin/user_roles_helper.rb
@@ -470,10 +314,126 @@ files:
470
314
  - app/jobs/decidim/admin/verify_user_group_from_csv_job.rb
471
315
  - app/mailers/decidim/admin/application_mailer.rb
472
316
  - app/models/decidim/admin/fake_newsletter.rb
317
+ - app/packs/entrypoints/decidim_admin.js
318
+ - app/packs/entrypoints/decidim_admin.scss
319
+ - app/packs/src/decidim/admin/application.js
320
+ - app/packs/src/decidim/admin/auto_buttons_by_position.component.js
321
+ - app/packs/src/decidim/admin/auto_label_by_position.component.js
322
+ - app/packs/src/decidim/admin/autocomplete.component.js
323
+ - app/packs/src/decidim/admin/autocomplete.component.test.js
324
+ - app/packs/src/decidim/admin/budget_rule_toggler.component.js
325
+ - app/packs/src/decidim/admin/choose_language.js
326
+ - app/packs/src/decidim/admin/draggable-list.js
327
+ - app/packs/src/decidim/admin/dynamic_fields.component.js
328
+ - app/packs/src/decidim/admin/external_domain_whitelist.js
329
+ - app/packs/src/decidim/admin/field_dependent_inputs.component.js
330
+ - app/packs/src/decidim/admin/form.js
331
+ - app/packs/src/decidim/admin/import_guidance.js
332
+ - app/packs/src/decidim/admin/managed_users.js
333
+ - app/packs/src/decidim/admin/moderations.js
334
+ - app/packs/src/decidim/admin/newsletters.js
335
+ - app/packs/src/decidim/admin/officializations.js
336
+ - app/packs/src/decidim/admin/proposal_infinite_edit.js
337
+ - app/packs/src/decidim/admin/resources_permissions.js
338
+ - app/packs/src/decidim/admin/scope_picker_enabler.component.js
339
+ - app/packs/src/decidim/admin/sort_list.component.js
340
+ - app/packs/src/decidim/admin/sortable.js
341
+ - app/packs/src/decidim/admin/subform_multi_toggler.component.js
342
+ - app/packs/src/decidim/admin/subform_toggler.component.js
343
+ - app/packs/src/decidim/admin/tab_focus.js
344
+ - app/packs/src/decidim/admin/toggle_nav.js
345
+ - app/packs/src/decidim/admin/welcome_notification.js
346
+ - app/packs/stylesheets/decidim/admin/_decidim.scss
347
+ - app/packs/stylesheets/decidim/admin/_variables.scss
348
+ - app/packs/stylesheets/decidim/admin/application.scss
349
+ - app/packs/stylesheets/decidim/admin/bundle.scss
350
+ - app/packs/stylesheets/decidim/admin/components/_accordion.scss
351
+ - app/packs/stylesheets/decidim/admin/components/_autocomplete_select.component.scss
352
+ - app/packs/stylesheets/decidim/admin/components/_dropdown-menu.scss
353
+ - app/packs/stylesheets/decidim/admin/components/_sortable.scss
354
+ - app/packs/stylesheets/decidim/admin/extra/_action-icon.scss
355
+ - app/packs/stylesheets/decidim/admin/extra/_block_user.scss
356
+ - app/packs/stylesheets/decidim/admin/extra/_cards.scss
357
+ - app/packs/stylesheets/decidim/admin/extra/_categories.scss
358
+ - app/packs/stylesheets/decidim/admin/extra/_dropdown_inverted.scss
359
+ - app/packs/stylesheets/decidim/admin/extra/_editor.scss
360
+ - app/packs/stylesheets/decidim/admin/extra/_email_preview.scss
361
+ - app/packs/stylesheets/decidim/admin/extra/_label-required.scss
362
+ - app/packs/stylesheets/decidim/admin/extra/_login.scss
363
+ - app/packs/stylesheets/decidim/admin/extra/_logs.scss
364
+ - app/packs/stylesheets/decidim/admin/extra/_newsletter-templates-gallery.scss
365
+ - app/packs/stylesheets/decidim/admin/extra/_organization-appearance.scss
366
+ - app/packs/stylesheets/decidim/admin/extra/_quill.scss
367
+ - app/packs/stylesheets/decidim/admin/extra/_select_multiple.scss
368
+ - app/packs/stylesheets/decidim/admin/extra/_show_email.scss
369
+ - app/packs/stylesheets/decidim/admin/extra/_sort.scss
370
+ - app/packs/stylesheets/decidim/admin/extra/_title_bar.scss
371
+ - app/packs/stylesheets/decidim/admin/modules/_action-icon.scss
372
+ - app/packs/stylesheets/decidim/admin/modules/_agenda.scss
373
+ - app/packs/stylesheets/decidim/admin/modules/_buttons.scss
374
+ - app/packs/stylesheets/decidim/admin/modules/_callouts.scss
375
+ - app/packs/stylesheets/decidim/admin/modules/_card-grid.scss
376
+ - app/packs/stylesheets/decidim/admin/modules/_cards.scss
377
+ - app/packs/stylesheets/decidim/admin/modules/_char-counter.scss
378
+ - app/packs/stylesheets/decidim/admin/modules/_component-counter.scss
379
+ - app/packs/stylesheets/decidim/admin/modules/_draggable-list.scss
380
+ - app/packs/stylesheets/decidim/admin/modules/_dropdown.scss
381
+ - app/packs/stylesheets/decidim/admin/modules/_filters.scss
382
+ - app/packs/stylesheets/decidim/admin/modules/_forms.scss
383
+ - app/packs/stylesheets/decidim/admin/modules/_icons.scss
384
+ - app/packs/stylesheets/decidim/admin/modules/_import_result.scss
385
+ - app/packs/stylesheets/decidim/admin/modules/_layout.scss
386
+ - app/packs/stylesheets/decidim/admin/modules/_loading-spinner.scss
387
+ - app/packs/stylesheets/decidim/admin/modules/_main-nav.scss
388
+ - app/packs/stylesheets/decidim/admin/modules/_moderations.scss
389
+ - app/packs/stylesheets/decidim/admin/modules/_modules.scss
390
+ - app/packs/stylesheets/decidim/admin/modules/_pics.scss
391
+ - app/packs/stylesheets/decidim/admin/modules/_process-header.scss
392
+ - app/packs/stylesheets/decidim/admin/modules/_reveal.scss
393
+ - app/packs/stylesheets/decidim/admin/modules/_secondary-nav.scss
394
+ - app/packs/stylesheets/decidim/admin/modules/_table-list.scss
395
+ - app/packs/stylesheets/decidim/admin/modules/_tabs.scss
396
+ - app/packs/stylesheets/decidim/admin/modules/_title-bar.scss
397
+ - app/packs/stylesheets/decidim/admin/modules/_typography.scss
398
+ - app/packs/stylesheets/decidim/admin/modules/_user-login.scss
399
+ - app/packs/stylesheets/decidim/admin/modules/_users_statistics.scss
400
+ - app/packs/stylesheets/decidim/admin/plugins/_foundation-datepicker.scss
401
+ - app/packs/stylesheets/decidim/admin/plugins/jquery.auto-complete.css
402
+ - app/packs/stylesheets/decidim/admin/user_moderations.scss
403
+ - app/packs/stylesheets/decidim/admin/utils/_flex.scss
404
+ - app/packs/stylesheets/decidim/admin/utils/_helpers.scss
405
+ - app/packs/stylesheets/decidim/admin/utils/_keyframes.scss
406
+ - app/packs/stylesheets/decidim/admin/utils/_mixins.scss
407
+ - app/packs/stylesheets/decidim/admin/utils/_settings.scss
408
+ - app/packs/stylesheets/decidim/admin/utils/_toggle-expand.scss
409
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/_constants.scss
410
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/_math.scss
411
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_acos.scss
412
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_asin.scss
413
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan.scss
414
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan2.scss
415
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_cos.scss
416
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_cot.scss
417
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_csc.scss
418
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_exp.scss
419
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_fact.scss
420
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_frexp.scss
421
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_ldexp.scss
422
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_log.scss
423
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_pow.scss
424
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sec.scss
425
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sin.scss
426
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sqrt.scss
427
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_tan.scss
428
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_deg-to-rad.scss
429
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss
430
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss
431
+ - app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss
473
432
  - app/permissions/decidim/admin/permissions.rb
474
433
  - app/permissions/decidim/admin/user_manager_permissions.rb
475
434
  - app/presenters/decidim/admin/dashboard_metric_charts_presenter.rb
476
435
  - app/presenters/decidim/admin/secondary_menu_presenter.rb
436
+ - app/presenters/decidim/admin/simple_menu_presenter.rb
477
437
  - app/queries/decidim/admin/active_users_counter.rb
478
438
  - app/queries/decidim/admin/newsletter_recipients.rb
479
439
  - app/queries/decidim/admin/user_filter.rb
@@ -557,6 +517,9 @@ files:
557
517
  - app/views/decidim/admin/organization_appearance/form/_colors.html.erb
558
518
  - app/views/decidim/admin/organization_appearance/form/_images.html.erb
559
519
  - app/views/decidim/admin/organization_appearance/form/_minimap.html.erb
520
+ - app/views/decidim/admin/organization_external_domain_whitelist/_external_domain.html.erb
521
+ - app/views/decidim/admin/organization_external_domain_whitelist/_form.html.erb
522
+ - app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb
560
523
  - app/views/decidim/admin/organization_homepage/edit.html.erb
561
524
  - app/views/decidim/admin/organization_homepage_content_blocks/edit.html.erb
562
525
  - app/views/decidim/admin/participatory_space_private_users/_form.html.erb
@@ -597,6 +560,7 @@ files:
597
560
  - app/views/layouts/decidim/admin/_application.html.erb
598
561
  - app/views/layouts/decidim/admin/_callouts_full.html.erb
599
562
  - app/views/layouts/decidim/admin/_header.html.erb
563
+ - app/views/layouts/decidim/admin/_js_configuration.html.erb
600
564
  - app/views/layouts/decidim/admin/_template_bottom.html.erb
601
565
  - app/views/layouts/decidim/admin/_template_top.html.erb
602
566
  - app/views/layouts/decidim/admin/_title_bar.html.erb
@@ -607,6 +571,7 @@ files:
607
571
  - app/views/layouts/decidim/admin/pages.html.erb
608
572
  - app/views/layouts/decidim/admin/settings.html.erb
609
573
  - app/views/layouts/decidim/admin/users.html.erb
574
+ - config/assets.rb
610
575
  - config/locales/am-ET.yml
611
576
  - config/locales/ar-SA.yml
612
577
  - config/locales/ar.yml
@@ -633,6 +598,7 @@ files:
633
598
  - config/locales/fi-plain.yml
634
599
  - config/locales/fi.yml
635
600
  - config/locales/fr-CA.yml
601
+ - config/locales/fr-LU.yml
636
602
  - config/locales/fr.yml
637
603
  - config/locales/ga-IE.yml
638
604
  - config/locales/gl.yml
@@ -643,10 +609,10 @@ files:
643
609
  - config/locales/is-IS.yml
644
610
  - config/locales/is.yml
645
611
  - config/locales/it.yml
646
- - config/locales/ja-JP.yml
647
612
  - config/locales/ja.yml
648
613
  - config/locales/ko-KR.yml
649
614
  - config/locales/ko.yml
615
+ - config/locales/lb-LU.yml
650
616
  - config/locales/lt-LT.yml
651
617
  - config/locales/lt.yml
652
618
  - config/locales/lv.yml
@@ -693,7 +659,7 @@ files:
693
659
  - lib/decidim/admin/import/readers/base.rb
694
660
  - lib/decidim/admin/import/readers/csv.rb
695
661
  - lib/decidim/admin/import/readers/json.rb
696
- - lib/decidim/admin/import/readers/xls.rb
662
+ - lib/decidim/admin/import/readers/xlsx.rb
697
663
  - lib/decidim/admin/test.rb
698
664
  - lib/decidim/admin/test/commands/create_attachment_collection_examples.rb
699
665
  - lib/decidim/admin/test/commands/create_category_examples.rb
@@ -701,6 +667,7 @@ files:
701
667
  - lib/decidim/admin/test/commands/update_attachment_collection_examples.rb
702
668
  - lib/decidim/admin/test/commands/update_category_examples.rb
703
669
  - lib/decidim/admin/test/filterable_examples.rb
670
+ - lib/decidim/admin/test/filters_participatory_space_users_examples.rb
704
671
  - lib/decidim/admin/test/forms/attachment_collection_form_examples.rb
705
672
  - lib/decidim/admin/test/forms/attachment_form_examples.rb
706
673
  - lib/decidim/admin/test/forms/category_form_examples.rb
@@ -711,11 +678,6 @@ files:
711
678
  - lib/decidim/admin/test/manage_moderations_examples.rb
712
679
  - lib/decidim/admin/test/manage_paginated_collection_examples.rb
713
680
  - lib/decidim/admin/version.rb
714
- - vendor/assets/javascripts/html.sortable.js
715
- - vendor/assets/javascripts/jquery.auto-complete.js
716
- - vendor/assets/javascripts/jquery.serializejson.js
717
- - vendor/assets/javascripts/moment.min.js
718
- - vendor/assets/stylesheets/plugins/jquery.auto-complete.css
719
681
  homepage: https://github.com/decidim/decidim
720
682
  licenses:
721
683
  - AGPL-3.0
@@ -731,11 +693,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
731
693
  version: '2.7'
732
694
  required_rubygems_version: !ruby/object:Gem::Requirement
733
695
  requirements:
734
- - - ">="
696
+ - - ">"
735
697
  - !ruby/object:Gem::Version
736
- version: '0'
698
+ version: 1.3.1
737
699
  requirements: []
738
- rubygems_version: 3.1.2
700
+ rubygems_version: 3.1.4
739
701
  signing_key:
740
702
  specification_version: 4
741
703
  summary: Decidim organization administration