decidim-admin 0.24.2 → 0.25.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/cells/decidim/admin/content_block/show.erb +2 -2
- data/app/commands/decidim/admin/block_user.rb +6 -0
- data/app/commands/decidim/admin/create_attachment.rb +2 -1
- data/app/commands/decidim/admin/hide_resource.rb +1 -0
- data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +1 -1
- data/app/commands/decidim/admin/update_attachment.rb +5 -1
- data/app/commands/decidim/admin/update_content_block.rb +1 -1
- data/app/commands/decidim/admin/update_external_domain_whitelist.rb +32 -0
- data/app/commands/decidim/admin/update_organization.rb +2 -1
- data/app/commands/decidim/admin/update_organization_appearance.rb +4 -14
- data/app/controllers/concerns/decidim/admin/filterable.rb +1 -3
- data/app/controllers/concerns/decidim/participatory_space_private_users/admin/filterable.rb +34 -0
- data/app/controllers/decidim/admin/concerns/has_attachments.rb +1 -4
- data/app/controllers/decidim/admin/concerns/has_private_users.rb +6 -3
- data/app/controllers/decidim/admin/imports_controller.rb +1 -0
- data/app/controllers/decidim/admin/moderated_users_controller.rb +6 -2
- data/app/controllers/decidim/admin/organization_controller.rb +11 -1
- data/app/controllers/decidim/admin/organization_external_domain_whitelist_controller.rb +38 -0
- data/app/controllers/decidim/admin/users_controller.rb +7 -1
- data/app/forms/decidim/admin/external_domain_form.rb +19 -0
- data/app/forms/decidim/admin/import_form.rb +1 -0
- data/app/forms/decidim/admin/organization_appearance_form.rb +7 -7
- data/app/forms/decidim/admin/organization_external_domain_whitelist_form.rb +23 -0
- data/app/forms/decidim/admin/organization_form.rb +1 -0
- data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +2 -0
- data/app/forms/decidim/admin/user_group_csv_verification_form.rb +2 -0
- data/app/helpers/decidim/admin/filterable_helper.rb +1 -1
- data/app/helpers/decidim/admin/menu_helper.rb +7 -7
- data/app/helpers/decidim/admin/uploader_image_dimensions_helper.rb +2 -1
- data/app/jobs/decidim/admin/expire_impersonation_job.rb +1 -2
- data/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb +1 -1
- data/app/packs/entrypoints/decidim_admin.js +43 -0
- data/app/packs/entrypoints/decidim_admin.scss +1 -0
- data/app/packs/src/decidim/admin/application.js +68 -0
- data/app/packs/src/decidim/admin/auto_buttons_by_position.component.js +37 -0
- data/app/packs/src/decidim/admin/auto_label_by_position.component.js +28 -0
- data/app/packs/src/decidim/admin/autocomplete.component.js +146 -0
- data/app/{frontend/components/autocomplete.component.test.tsx → packs/src/decidim/admin/autocomplete.component.test.js} +1 -2
- data/app/packs/src/decidim/admin/budget_rule_toggler.component.js +50 -0
- data/app/{assets/javascripts → packs/src}/decidim/admin/choose_language.js +0 -0
- data/app/packs/src/decidim/admin/draggable-list.js +30 -0
- data/app/packs/src/decidim/admin/dynamic_fields.component.js +230 -0
- data/app/packs/src/decidim/admin/external_domain_whitelist.js +100 -0
- data/app/packs/src/decidim/admin/field_dependent_inputs.component.js +37 -0
- data/app/{assets/javascripts/decidim/admin/form.js.es6 → packs/src/decidim/admin/form.js} +6 -9
- data/app/{assets/javascripts/decidim/admin/import_guidance.js.es6 → packs/src/decidim/admin/import_guidance.js} +2 -3
- data/app/{assets/javascripts/decidim/admin/managed_users.js.es6 → packs/src/decidim/admin/managed_users.js} +4 -4
- data/app/packs/src/decidim/admin/moderations.js +20 -0
- data/app/{assets/javascripts/decidim/admin/newsletters.js.es6 → packs/src/decidim/admin/newsletters.js} +0 -0
- data/app/{assets/javascripts/decidim/admin/officializations.js.es6 → packs/src/decidim/admin/officializations.js} +0 -0
- data/app/{assets/javascripts/decidim/admin/proposal_infinite_edit.js.es6 → packs/src/decidim/admin/proposal_infinite_edit.js} +0 -0
- data/app/{assets/javascripts/decidim/admin/resources_permissions.js.es6 → packs/src/decidim/admin/resources_permissions.js} +3 -5
- data/app/packs/src/decidim/admin/scope_picker_enabler.component.js +12 -0
- data/app/packs/src/decidim/admin/sort_list.component.js +31 -0
- data/app/packs/src/decidim/admin/sortable.js +21 -0
- data/app/packs/src/decidim/admin/subform_multi_toggler.component.js +38 -0
- data/app/packs/src/decidim/admin/subform_toggler.component.js +38 -0
- data/app/{assets/javascripts/decidim/admin/tab_focus.js.es6 → packs/src/decidim/admin/tab_focus.js} +0 -2
- data/app/packs/src/decidim/admin/toggle_nav.js +14 -0
- data/app/{assets/javascripts/decidim/admin/welcome_notification.js.es6 → packs/src/decidim/admin/welcome_notification.js} +2 -2
- data/app/packs/stylesheets/decidim/admin/_decidim.scss +24 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/_variables.scss +0 -0
- data/app/packs/stylesheets/decidim/admin/application.scss +22 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/bundle.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/components/_accordion.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/components/_autocomplete_select.component.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/components/_dropdown-menu.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/components/_sortable.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_action-icon.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_block_user.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_cards.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_categories.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_dropdown_inverted.scss +0 -0
- data/app/packs/stylesheets/decidim/admin/extra/_editor.scss +1 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_email_preview.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_label-required.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_login.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_logs.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_newsletter-templates-gallery.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_organization-appearance.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_quill.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_select_multiple.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_show_email.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_sort.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/extra/_title_bar.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_action-icon.scss +1 -1
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_agenda.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_buttons.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_callouts.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_card-grid.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_cards.scss +1 -1
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_char-counter.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_component-counter.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_draggable-list.scss +2 -2
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_dropdown.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_filters.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_forms.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_icons.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_import_result.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_layout.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_loading-spinner.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_main-nav.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_moderations.scss +0 -0
- data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +43 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_pics.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_process-header.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_reveal.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_secondary-nav.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_table-list.scss +13 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_tabs.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_title-bar.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_typography.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_user-login.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/modules/_users_statistics.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/plugins/_foundation-datepicker.scss +0 -0
- data/{vendor/assets/stylesheets → app/packs/stylesheets/decidim/admin}/plugins/jquery.auto-complete.css +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/user_moderations.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/utils/_flex.scss +2 -2
- data/app/{assets → packs}/stylesheets/decidim/admin/utils/_helpers.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/utils/_keyframes.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/utils/_mixins.scss +30 -3
- data/app/{assets → packs}/stylesheets/decidim/admin/utils/_settings.scss +11 -3
- data/app/{assets → packs}/stylesheets/decidim/admin/utils/_toggle-expand.scss +0 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/_constants.scss +1 -1
- data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/_math.scss +0 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_acos.scss +14 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_asin.scss +16 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan.scss +36 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan2.scss +46 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_cos.scss +17 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_cot.scss +6 -3
- data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_csc.scss +6 -3
- data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_exp.scss +10 -6
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_fact.scss +21 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_frexp.scss +25 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_ldexp.scss +20 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_log.scss +39 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_pow.scss +34 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_sec.scss +6 -3
- data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_sin.scss +4 -3
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sqrt.scss +21 -0
- data/app/{assets → packs}/stylesheets/decidim/admin/vendor/mathsass/functions/_tan.scss +6 -3
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_deg-to-rad.scss +6 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss +6 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss +11 -0
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss +19 -0
- data/app/presenters/decidim/admin/simple_menu_presenter.rb +11 -0
- data/app/queries/decidim/admin/newsletter_recipients.rb +3 -1
- data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -1
- data/app/views/decidim/admin/categories/index.html.erb +1 -1
- data/app/views/decidim/admin/components/_form.html.erb +0 -2
- data/app/views/decidim/admin/impersonations/_form.html.erb +3 -1
- data/app/views/decidim/admin/imports/new.html.erb +1 -9
- data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +0 -2
- data/app/views/decidim/admin/officializations/index.html.erb +3 -3
- data/app/views/decidim/admin/organization/_form.html.erb +6 -2
- data/app/views/decidim/admin/organization_appearance/_form.html.erb +0 -2
- data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +20 -4
- data/app/views/decidim/admin/organization_appearance/form/_minimap.html.erb +7 -7
- data/app/views/decidim/admin/organization_external_domain_whitelist/_external_domain.html.erb +31 -0
- data/app/views/decidim/admin/organization_external_domain_whitelist/_form.html.erb +37 -0
- data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +6 -0
- data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +4 -4
- data/app/views/decidim/admin/resource_permissions/edit.html.erb +0 -2
- data/app/views/decidim/admin/scope_types/index.html.erb +3 -3
- data/app/views/decidim/admin/shared/_gallery.html.erb +1 -1
- data/app/views/decidim/admin/static_pages/_form.html.erb +0 -1
- data/app/views/decidim/admin/user_groups/index.html.erb +2 -2
- data/app/views/decidim/admin/users/index.html.erb +8 -7
- data/app/views/layouts/decidim/admin/_application.html.erb +1 -1
- data/app/views/layouts/decidim/admin/_header.html.erb +2 -3
- data/app/views/layouts/decidim/admin/_js_configuration.html.erb +1 -1
- data/app/views/layouts/decidim/admin/_title_bar.html.erb +1 -1
- data/app/views/layouts/decidim/admin/global_moderations.html.erb +1 -1
- data/app/views/layouts/decidim/admin/settings.html.erb +1 -1
- data/app/views/layouts/decidim/admin/users.html.erb +2 -52
- data/config/assets.rb +8 -0
- data/config/locales/ar.yml +0 -4
- data/config/locales/bg.yml +0 -3
- data/config/locales/ca.yml +36 -6
- data/config/locales/cs.yml +48 -6
- data/config/locales/de.yml +18 -6
- data/config/locales/el.yml +0 -4
- data/config/locales/en.yml +58 -16
- data/config/locales/eo.yml +0 -1
- data/config/locales/es-MX.yml +19 -7
- data/config/locales/es-PY.yml +19 -7
- data/config/locales/es.yml +19 -7
- data/config/locales/eu.yml +0 -4
- data/config/locales/fi-plain.yml +48 -6
- data/config/locales/fi.yml +48 -6
- data/config/locales/fr-CA.yml +46 -6
- data/config/locales/fr-LU.yml +1029 -0
- data/config/locales/fr.yml +46 -6
- data/config/locales/gl.yml +71 -6
- data/config/locales/hu.yml +70 -4
- data/config/locales/id-ID.yml +0 -4
- data/config/locales/is-IS.yml +0 -4
- data/config/locales/it.yml +161 -10
- data/config/locales/ja.yml +139 -5
- data/config/locales/lb-LU.yml +1 -0
- data/config/locales/lv.yml +0 -4
- data/config/locales/nl.yml +17 -6
- data/config/locales/no.yml +6 -4
- data/config/locales/pl.yml +45 -24
- data/config/locales/pt-BR.yml +346 -4
- data/config/locales/pt.yml +6 -4
- data/config/locales/ro-RO.yml +112 -4
- data/config/locales/ru.yml +0 -4
- data/config/locales/sk.yml +0 -4
- data/config/locales/sl.yml +0 -4
- data/config/locales/sr-CS.yml +0 -4
- data/config/locales/sv.yml +45 -2
- data/config/locales/tr-TR.yml +0 -4
- data/config/locales/uk.yml +0 -2
- data/config/locales/zh-CN.yml +0 -4
- data/config/routes.rb +2 -0
- data/lib/decidim/admin/engine.rb +210 -137
- data/lib/decidim/admin/import/readers/xlsx.rb +25 -0
- data/lib/decidim/admin/import/readers.rb +3 -3
- data/lib/decidim/admin/test/filters_participatory_space_users_examples.rb +73 -0
- data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +1 -1
- data/lib/decidim/admin/test/manage_attachments_examples.rb +1 -1
- data/lib/decidim/admin/test.rb +1 -0
- data/lib/decidim/admin/version.rb +1 -1
- metadata +141 -180
- data/app/assets/config/decidim_admin_manifest.js +0 -8
- data/app/assets/javascripts/decidim/admin/application.js.es6 +0 -78
- data/app/assets/javascripts/decidim/admin/auto_buttons_by_position.component.js.es6 +0 -42
- data/app/assets/javascripts/decidim/admin/auto_label_by_position.component.js.es6 +0 -33
- data/app/assets/javascripts/decidim/admin/budget_rule_toggler.component.js.es6 +0 -55
- data/app/assets/javascripts/decidim/admin/bundle.js +0 -34
- data/app/assets/javascripts/decidim/admin/bundle.js.map +0 -1
- data/app/assets/javascripts/decidim/admin/draggable-list.js.es6 +0 -30
- data/app/assets/javascripts/decidim/admin/dynamic_fields.component.js.es6 +0 -233
- data/app/assets/javascripts/decidim/admin/field_dependent_inputs.component.js.es6 +0 -39
- data/app/assets/javascripts/decidim/admin/moderations.js.es6 +0 -24
- data/app/assets/javascripts/decidim/admin/scope_picker_enabler.component.js.es6 +0 -14
- data/app/assets/javascripts/decidim/admin/sort_list.component.js.es6 +0 -35
- data/app/assets/javascripts/decidim/admin/sortable.js.es6 +0 -22
- data/app/assets/javascripts/decidim/admin/subform_multi_toggler.component.js.es6 +0 -43
- data/app/assets/javascripts/decidim/admin/subform_toggler.component.js.es6 +0 -42
- data/app/assets/javascripts/decidim/admin/toggle_nav.js.es6 +0 -17
- data/app/assets/javascripts/decidim/admin/user_moderations.js +0 -2
- data/app/assets/stylesheets/decidim/admin/_decidim.scss +0 -20
- data/app/assets/stylesheets/decidim/admin/application.scss.erb +0 -6
- data/app/assets/stylesheets/decidim/admin/extra/_editor.scss +0 -1
- data/app/assets/stylesheets/decidim/admin/modules/_modules.scss +0 -43
- data/app/assets/stylesheets/decidim/admin/utils/_fontface.scss +0 -29
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_acos.scss +0 -12
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_asin.scss +0 -12
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_atan.scss +0 -28
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_atan2.scss +0 -37
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_cos.scss +0 -13
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_fact.scss +0 -18
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_frexp.scss +0 -21
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_ldexp.scss +0 -17
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_log.scss +0 -34
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_pow.scss +0 -28
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/functions/_sqrt.scss +0 -16
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_deg-to-rad.scss +0 -4
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss +0 -4
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss +0 -8
- data/app/assets/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss +0 -13
- data/app/frontend/components/autocomplete.component.tsx +0 -198
- data/app/frontend/entry.ts +0 -17
- data/app/frontend/entry_test.ts +0 -4
- data/app/helpers/decidim/admin/sidebar_menu_helper.rb +0 -13
- data/config/locales/ja-JP.yml +0 -855
- data/lib/decidim/admin/import/readers/xls.rb +0 -25
- data/vendor/assets/javascripts/html.sortable.js +0 -691
- data/vendor/assets/javascripts/jquery.auto-complete.js +0 -171
- data/vendor/assets/javascripts/jquery.serializejson.js +0 -344
- data/vendor/assets/javascripts/moment.min.js +0 -1
@@ -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,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 :
|
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
|
-
|
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::
|
25
|
+
Readers::XLSX
|
26
26
|
]
|
27
27
|
end
|
28
28
|
|
@@ -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"
|
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"
|
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
|
data/lib/decidim/admin/test.rb
CHANGED
@@ -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"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0.rc3
|
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-
|
13
|
+
date: 2021-09-17 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.
|
35
|
+
version: 0.25.0.rc3
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.25.0.rc3
|
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: '
|
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: '
|
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.
|
91
|
+
version: 0.25.0.rc3
|
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.
|
98
|
+
version: 0.25.0.rc3
|
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.
|
105
|
+
version: 0.25.0.rc3
|
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.
|
112
|
+
version: 0.25.0.rc3
|
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
|
@@ -608,6 +571,7 @@ files:
|
|
608
571
|
- app/views/layouts/decidim/admin/pages.html.erb
|
609
572
|
- app/views/layouts/decidim/admin/settings.html.erb
|
610
573
|
- app/views/layouts/decidim/admin/users.html.erb
|
574
|
+
- config/assets.rb
|
611
575
|
- config/locales/am-ET.yml
|
612
576
|
- config/locales/ar-SA.yml
|
613
577
|
- config/locales/ar.yml
|
@@ -634,6 +598,7 @@ files:
|
|
634
598
|
- config/locales/fi-plain.yml
|
635
599
|
- config/locales/fi.yml
|
636
600
|
- config/locales/fr-CA.yml
|
601
|
+
- config/locales/fr-LU.yml
|
637
602
|
- config/locales/fr.yml
|
638
603
|
- config/locales/ga-IE.yml
|
639
604
|
- config/locales/gl.yml
|
@@ -644,10 +609,10 @@ files:
|
|
644
609
|
- config/locales/is-IS.yml
|
645
610
|
- config/locales/is.yml
|
646
611
|
- config/locales/it.yml
|
647
|
-
- config/locales/ja-JP.yml
|
648
612
|
- config/locales/ja.yml
|
649
613
|
- config/locales/ko-KR.yml
|
650
614
|
- config/locales/ko.yml
|
615
|
+
- config/locales/lb-LU.yml
|
651
616
|
- config/locales/lt-LT.yml
|
652
617
|
- config/locales/lt.yml
|
653
618
|
- config/locales/lv.yml
|
@@ -694,7 +659,7 @@ files:
|
|
694
659
|
- lib/decidim/admin/import/readers/base.rb
|
695
660
|
- lib/decidim/admin/import/readers/csv.rb
|
696
661
|
- lib/decidim/admin/import/readers/json.rb
|
697
|
-
- lib/decidim/admin/import/readers/
|
662
|
+
- lib/decidim/admin/import/readers/xlsx.rb
|
698
663
|
- lib/decidim/admin/test.rb
|
699
664
|
- lib/decidim/admin/test/commands/create_attachment_collection_examples.rb
|
700
665
|
- lib/decidim/admin/test/commands/create_category_examples.rb
|
@@ -702,6 +667,7 @@ files:
|
|
702
667
|
- lib/decidim/admin/test/commands/update_attachment_collection_examples.rb
|
703
668
|
- lib/decidim/admin/test/commands/update_category_examples.rb
|
704
669
|
- lib/decidim/admin/test/filterable_examples.rb
|
670
|
+
- lib/decidim/admin/test/filters_participatory_space_users_examples.rb
|
705
671
|
- lib/decidim/admin/test/forms/attachment_collection_form_examples.rb
|
706
672
|
- lib/decidim/admin/test/forms/attachment_form_examples.rb
|
707
673
|
- lib/decidim/admin/test/forms/category_form_examples.rb
|
@@ -712,11 +678,6 @@ files:
|
|
712
678
|
- lib/decidim/admin/test/manage_moderations_examples.rb
|
713
679
|
- lib/decidim/admin/test/manage_paginated_collection_examples.rb
|
714
680
|
- lib/decidim/admin/version.rb
|
715
|
-
- vendor/assets/javascripts/html.sortable.js
|
716
|
-
- vendor/assets/javascripts/jquery.auto-complete.js
|
717
|
-
- vendor/assets/javascripts/jquery.serializejson.js
|
718
|
-
- vendor/assets/javascripts/moment.min.js
|
719
|
-
- vendor/assets/stylesheets/plugins/jquery.auto-complete.css
|
720
681
|
homepage: https://github.com/decidim/decidim
|
721
682
|
licenses:
|
722
683
|
- AGPL-3.0
|
@@ -732,9 +693,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
732
693
|
version: '2.7'
|
733
694
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
734
695
|
requirements:
|
735
|
-
- - "
|
696
|
+
- - ">"
|
736
697
|
- !ruby/object:Gem::Version
|
737
|
-
version:
|
698
|
+
version: 1.3.1
|
738
699
|
requirements: []
|
739
700
|
rubygems_version: 3.1.2
|
740
701
|
signing_key:
|