decidim-admin 0.28.0 → 0.28.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/admin/content_block_cell.rb +1 -1
- data/app/commands/decidim/admin/destroy_category.rb +1 -1
- data/app/controllers/decidim/admin/application_controller.rb +2 -1
- data/app/controllers/decidim/admin/area_types_controller.rb +1 -1
- data/app/controllers/decidim/admin/authorization_workflows_controller.rb +5 -1
- data/app/controllers/decidim/admin/conflicts_controller.rb +23 -0
- data/app/controllers/decidim/admin/impersonatable_users_controller.rb +3 -1
- data/app/controllers/decidim/admin/impersonations_controller.rb +1 -0
- data/app/controllers/decidim/admin/managed_users/impersonation_logs_controller.rb +2 -0
- data/app/controllers/decidim/admin/moderated_users_controller.rb +10 -0
- data/app/controllers/decidim/admin/moderations_controller.rb +10 -0
- data/app/controllers/decidim/admin/officializations_controller.rb +2 -0
- data/app/controllers/decidim/admin/organization_controller.rb +7 -4
- data/app/controllers/decidim/admin/scope_types_controller.rb +1 -1
- data/app/controllers/decidim/admin/static_page_topics_controller.rb +10 -0
- data/app/controllers/decidim/admin/user_groups_controller.rb +2 -0
- data/app/controllers/decidim/admin/users_controller.rb +2 -0
- data/app/events/decidim/resource_hidden_event.rb +5 -1
- data/app/helpers/decidim/admin/admin_terms_helper.rb +1 -1
- data/app/helpers/decidim/admin/filterable_helper.rb +1 -1
- data/app/packs/entrypoints/decidim_admin_overrides.scss +2 -0
- data/app/packs/images/decidim/admin/.keep +0 -0
- data/app/packs/src/decidim/admin/application.js +14 -1
- data/app/packs/src/decidim/admin/choose_language.js +2 -0
- data/app/packs/src/decidim/admin/dynamic_fields.component.js +2 -1
- data/app/packs/src/decidim/admin/participatory_space_search.js +1 -1
- data/app/packs/stylesheets/decidim/admin/_filters.scss +1 -1
- data/app/packs/stylesheets/decidim/admin/_legacy_foundation.scss +10 -0
- data/app/packs/stylesheets/decidim/admin/_sidebar-menu.scss +4 -4
- data/app/packs/stylesheets/decidim/admin/_tabs.scss +6 -0
- data/app/packs/stylesheets/decidim/admin/decidim_application.scss +5 -0
- data/app/views/decidim/admin/admin_terms/show.html.erb +2 -2
- data/app/views/decidim/admin/area_types/edit.html.erb +2 -2
- data/app/views/decidim/admin/area_types/index.html.erb +2 -2
- data/app/views/decidim/admin/area_types/new.html.erb +2 -2
- data/app/views/decidim/admin/areas/edit.html.erb +2 -2
- data/app/views/decidim/admin/areas/index.html.erb +2 -2
- data/app/views/decidim/admin/areas/new.html.erb +2 -2
- data/app/views/decidim/admin/attachment_collections/edit.html.erb +2 -2
- data/app/views/decidim/admin/attachment_collections/index.html.erb +2 -2
- data/app/views/decidim/admin/attachment_collections/new.html.erb +2 -2
- data/app/views/decidim/admin/attachments/edit.html.erb +2 -2
- data/app/views/decidim/admin/attachments/index.html.erb +2 -2
- data/app/views/decidim/admin/attachments/new.html.erb +2 -2
- data/app/views/decidim/admin/authorization_workflows/index.html.erb +2 -2
- data/app/views/decidim/admin/block_user/new.html.erb +3 -4
- data/app/views/decidim/admin/categories/edit.html.erb +2 -2
- data/app/views/decidim/admin/categories/index.html.erb +7 -3
- data/app/views/decidim/admin/categories/new.html.erb +2 -2
- data/app/views/decidim/admin/components/edit.html.erb +2 -2
- data/app/views/decidim/admin/components/index.html.erb +2 -2
- data/app/views/decidim/admin/components/new.html.erb +2 -2
- data/app/views/decidim/admin/conflicts/index.html.erb +2 -2
- data/app/views/decidim/admin/dashboard/show.html.erb +2 -2
- data/app/views/decidim/admin/help_sections/_form.html.erb +2 -2
- data/app/views/decidim/admin/impersonatable_users/index.html.erb +2 -2
- data/app/views/decidim/admin/impersonations/new.html.erb +2 -2
- data/app/views/decidim/admin/imports/new.html.erb +2 -2
- data/app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb +2 -2
- data/app/views/decidim/admin/managed_users/promotions/new.html.erb +2 -2
- data/app/views/decidim/admin/moderated_users/index.html.erb +2 -2
- data/app/views/decidim/admin/moderations/index.html.erb +2 -2
- data/app/views/decidim/admin/moderations/reports/index.html.erb +2 -2
- data/app/views/decidim/admin/moderations/reports/show.html.erb +2 -2
- data/app/views/decidim/admin/newsletter_templates/index.html.erb +5 -6
- data/app/views/decidim/admin/newsletter_templates/show.html.erb +16 -12
- data/app/views/decidim/admin/newsletters/edit.html.erb +2 -2
- data/app/views/decidim/admin/newsletters/index.html.erb +2 -2
- data/app/views/decidim/admin/newsletters/new.html.erb +2 -2
- data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +13 -9
- data/app/views/decidim/admin/newsletters/show.html.erb +29 -26
- data/app/views/decidim/admin/officializations/index.html.erb +1 -1
- data/app/views/decidim/admin/officializations/new.html.erb +2 -2
- data/app/views/decidim/admin/organization/_form.html.erb +5 -3
- data/app/views/decidim/admin/organization/edit.html.erb +2 -2
- data/app/views/decidim/admin/organization_appearance/edit.html.erb +2 -2
- data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +2 -2
- data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +2 -2
- data/app/views/decidim/admin/participatory_space_private_users/new.html.erb +2 -2
- data/app/views/decidim/admin/resource_permissions/edit.html.erb +2 -2
- data/app/views/decidim/admin/scope_types/edit.html.erb +2 -2
- data/app/views/decidim/admin/scope_types/index.html.erb +2 -2
- data/app/views/decidim/admin/scope_types/new.html.erb +2 -2
- data/app/views/decidim/admin/scopes/edit.html.erb +2 -2
- data/app/views/decidim/admin/scopes/index.html.erb +2 -2
- data/app/views/decidim/admin/scopes/new.html.erb +2 -2
- data/app/views/decidim/admin/shared/_filters.html.erb +1 -1
- data/app/views/decidim/admin/shared/_js-callout.html.erb +2 -2
- data/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb +2 -2
- data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +2 -2
- data/app/views/decidim/admin/static_page_topics/edit.html.erb +2 -2
- data/app/views/decidim/admin/static_page_topics/index.html.erb +2 -2
- data/app/views/decidim/admin/static_page_topics/new.html.erb +2 -2
- data/app/views/decidim/admin/static_pages/edit.html.erb +2 -2
- data/app/views/decidim/admin/static_pages/index.html.erb +2 -2
- data/app/views/decidim/admin/static_pages/new.html.erb +2 -2
- data/app/views/decidim/admin/user_groups/index.html.erb +2 -2
- data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +2 -2
- data/app/views/decidim/admin/users/index.html.erb +2 -2
- data/app/views/decidim/admin/users/new.html.erb +2 -2
- data/app/views/layouts/decidim/admin/_breadcrumb.html.erb +1 -1
- data/app/views/layouts/decidim/admin/_header.html.erb +4 -0
- data/app/views/layouts/decidim/admin/_js_configuration.html.erb +1 -0
- data/app/views/layouts/decidim/admin/_sidebar_menu.html.erb +2 -2
- data/config/assets.rb +1 -0
- data/config/locales/ar.yml +11 -8
- data/config/locales/bg.yml +1025 -3
- data/config/locales/ca.yml +4 -1
- data/config/locales/cs.yml +6 -8
- data/config/locales/de.yml +15 -12
- data/config/locales/el.yml +2 -12
- data/config/locales/en.yml +4 -1
- data/config/locales/es-MX.yml +11 -8
- data/config/locales/es-PY.yml +11 -8
- data/config/locales/es.yml +20 -17
- data/config/locales/eu.yml +8 -5
- data/config/locales/fi-plain.yml +4 -1
- data/config/locales/fi.yml +6 -3
- data/config/locales/fr-CA.yml +5 -2
- data/config/locales/fr.yml +4 -1
- data/config/locales/ga-IE.yml +2 -4
- data/config/locales/gl.yml +8 -7
- data/config/locales/he-IL.yml +50 -0
- data/config/locales/hu.yml +36 -6
- data/config/locales/id-ID.yml +5 -0
- data/config/locales/is-IS.yml +5 -0
- data/config/locales/it.yml +8 -9
- data/config/locales/ja.yml +8 -4
- data/config/locales/ko.yml +774 -0
- data/config/locales/lb.yml +8 -10
- data/config/locales/lt.yml +3 -14
- data/config/locales/lv.yml +8 -0
- data/config/locales/nl.yml +7 -9
- data/config/locales/no.yml +20 -9
- data/config/locales/pl.yml +74 -4
- data/config/locales/pt-BR.yml +50 -12
- data/config/locales/pt.yml +8 -10
- data/config/locales/ro-RO.yml +2 -13
- data/config/locales/ru.yml +5 -0
- data/config/locales/sk.yml +5 -0
- data/config/locales/sl.yml +5 -0
- data/config/locales/sq-AL.yml +490 -0
- data/config/locales/sr-CS.yml +5 -0
- data/config/locales/sv.yml +7 -9
- data/config/locales/th-TH.yml +101 -0
- data/config/locales/tr-TR.yml +11 -0
- data/config/locales/uk.yml +5 -0
- data/config/locales/zh-CN.yml +5 -0
- data/config/locales/zh-TW.yml +3 -11
- data/decidim-admin.gemspec +43 -0
- data/lib/decidim/admin/engine.rb +1 -25
- data/lib/decidim/admin/menu.rb +13 -4
- data/lib/decidim/admin/test/admin_participatory_space_access_examples.rb +27 -0
- data/lib/decidim/admin/test/commands/destroy_category_examples.rb +9 -0
- data/lib/decidim/admin/test/invite_participatory_space_admins_shared_examples.rb +180 -0
- data/lib/decidim/admin/test/invite_participatory_space_collaborators_shared_examples.rb +67 -0
- data/lib/decidim/admin/test/invite_participatory_space_moderators_shared_examples.rb +77 -0
- data/lib/decidim/admin/test/invite_participatory_space_users_shared_context.rb +33 -0
- data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +12 -11
- data/lib/decidim/admin/test/manage_categories_examples.rb +11 -8
- data/lib/decidim/admin/test/manage_hide_content_examples.rb +4 -0
- data/lib/decidim/admin/test.rb +1 -0
- data/lib/decidim/admin/version.rb +1 -1
- metadata +20 -13
- data/app/mailers/decidim/admin/application_mailer.rb +0 -12
- data/config/environment.rb +0 -3
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
shared_context "when inviting participatory space users" do
|
4
|
+
let(:organization) { participatory_space.organization }
|
5
|
+
let(:user) { create(:user, :admin, :confirmed, organization: participatory_space.organization) }
|
6
|
+
let(:email) { "this_email_does_not_exist@example.org" }
|
7
|
+
let(:role) { "Moderator" }
|
8
|
+
|
9
|
+
def invite_user
|
10
|
+
login_as user, scope: :user
|
11
|
+
|
12
|
+
visit participatory_space_user_roles_path
|
13
|
+
within "[data-content]" do
|
14
|
+
click_on new_button_label
|
15
|
+
end
|
16
|
+
|
17
|
+
fill_in "Name", with: "Alice Liddel"
|
18
|
+
fill_in "Email", with: email
|
19
|
+
select role, from: "Role"
|
20
|
+
click_on "Create"
|
21
|
+
logout :user
|
22
|
+
end
|
23
|
+
|
24
|
+
def edit_user(username)
|
25
|
+
login_as user, scope: :user
|
26
|
+
|
27
|
+
visit participatory_space_user_roles_path
|
28
|
+
|
29
|
+
within "tr", text: username do
|
30
|
+
click_on "Edit"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
shared_examples "manage attachment collections examples" do
|
4
4
|
let!(:attachment_collection) { create(:attachment_collection, collection_for:) }
|
5
|
+
let(:attributes) { attributes_for(:attachment_collection) }
|
5
6
|
|
6
7
|
before do
|
7
8
|
visit current_path
|
@@ -30,17 +31,13 @@ shared_examples "manage attachment collections examples" do
|
|
30
31
|
fill_in_i18n(
|
31
32
|
:attachment_collection_name,
|
32
33
|
"#attachment_collection-name-tabs",
|
33
|
-
|
34
|
-
es: "Formularios de solicitud",
|
35
|
-
ca: "Formularis de sol·licitud"
|
34
|
+
**attributes[:name].except("machine_translations")
|
36
35
|
)
|
37
36
|
|
38
37
|
fill_in_i18n(
|
39
38
|
:attachment_collection_description,
|
40
39
|
"#attachment_collection-description-tabs",
|
41
|
-
|
42
|
-
es: "Contiene los formularios de solicitud",
|
43
|
-
ca: "Conté els formularis de sol·licitud"
|
40
|
+
**attributes[:description].except("machine_translations")
|
44
41
|
)
|
45
42
|
|
46
43
|
find("*[type=submit]").click
|
@@ -49,8 +46,11 @@ shared_examples "manage attachment collections examples" do
|
|
49
46
|
expect(page).to have_admin_callout("successfully")
|
50
47
|
|
51
48
|
within "#attachment_collections table" do
|
52
|
-
expect(page).to
|
49
|
+
expect(page).to have_content(translated(attributes[:name]))
|
53
50
|
end
|
51
|
+
|
52
|
+
visit decidim_admin.root_path
|
53
|
+
expect(page).to have_content("created the #{translated(attributes[:name])} attachment collection")
|
54
54
|
end
|
55
55
|
|
56
56
|
it "can update an attachment collection" do
|
@@ -64,9 +64,7 @@ shared_examples "manage attachment collections examples" do
|
|
64
64
|
fill_in_i18n(
|
65
65
|
:attachment_collection_name,
|
66
66
|
"#attachment_collection-name-tabs",
|
67
|
-
|
68
|
-
es: "Últimos formularios de solicitud",
|
69
|
-
ca: "Últims formularis de sol·licitud"
|
67
|
+
**attributes[:name].except("machine_translations")
|
70
68
|
)
|
71
69
|
|
72
70
|
find("*[type=submit]").click
|
@@ -75,8 +73,11 @@ shared_examples "manage attachment collections examples" do
|
|
75
73
|
expect(page).to have_admin_callout("successfully")
|
76
74
|
|
77
75
|
within "#attachment_collections table" do
|
78
|
-
expect(page).to
|
76
|
+
expect(page).to have_content(translated(attributes[:name]))
|
79
77
|
end
|
78
|
+
|
79
|
+
visit decidim_admin.root_path
|
80
|
+
expect(page).to have_content("updated the #{translated(attributes[:name])} attachment collection")
|
80
81
|
end
|
81
82
|
|
82
83
|
context "when deleting a attachment collection" do
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
shared_examples "manage categories examples" do
|
4
|
+
let(:attributes) { attributes_for(:category) }
|
4
5
|
it "lists all the categories for the process" do
|
5
6
|
within "#categories table" do
|
6
7
|
expect(page).to have_content(translated(category.name, locale: :en))
|
@@ -25,9 +26,7 @@ shared_examples "manage categories examples" do
|
|
25
26
|
fill_in_i18n(
|
26
27
|
:category_name,
|
27
28
|
"#category-name-tabs",
|
28
|
-
|
29
|
-
es: "Mi categoría",
|
30
|
-
ca: "La meva categoria"
|
29
|
+
**attributes[:name].except("machine_translations")
|
31
30
|
)
|
32
31
|
|
33
32
|
find("*[type=submit]").click
|
@@ -36,8 +35,11 @@ shared_examples "manage categories examples" do
|
|
36
35
|
expect(page).to have_admin_callout("successfully")
|
37
36
|
|
38
37
|
within "#categories table" do
|
39
|
-
expect(page).to have_content(
|
38
|
+
expect(page).to have_content(translated(attributes[:name]))
|
40
39
|
end
|
40
|
+
|
41
|
+
visit decidim_admin.root_path
|
42
|
+
expect(page).to have_content("added the #{translated(attributes[:name])} category to the")
|
41
43
|
end
|
42
44
|
|
43
45
|
it "updates a category" do
|
@@ -51,9 +53,7 @@ shared_examples "manage categories examples" do
|
|
51
53
|
fill_in_i18n(
|
52
54
|
:category_name,
|
53
55
|
"#category-name-tabs",
|
54
|
-
|
55
|
-
es: "Mi nuevo nombre",
|
56
|
-
ca: "El meu nou nom"
|
56
|
+
**attributes[:name].except("machine_translations")
|
57
57
|
)
|
58
58
|
|
59
59
|
find("*[type=submit]").click
|
@@ -62,8 +62,11 @@ shared_examples "manage categories examples" do
|
|
62
62
|
expect(page).to have_admin_callout("successfully")
|
63
63
|
|
64
64
|
within "#categories table" do
|
65
|
-
expect(page).to have_content(
|
65
|
+
expect(page).to have_content(translated(attributes[:name]))
|
66
66
|
end
|
67
|
+
|
68
|
+
visit decidim_admin.root_path
|
69
|
+
expect(page).to have_content("updated the #{translated(attributes[:name])} category in the")
|
67
70
|
end
|
68
71
|
|
69
72
|
context "when deleting a category" do
|
@@ -54,6 +54,10 @@ shared_examples "hideable resource during block" do
|
|
54
54
|
click_button I18n.t("decidim.admin.block_user.new.action")
|
55
55
|
|
56
56
|
expect(content.reload).to be_hidden
|
57
|
+
|
58
|
+
visit decidim_admin.root_path
|
59
|
+
expect(page).to have_content("blocked user")
|
60
|
+
expect(page).to have_content("hid a resource of type")
|
57
61
|
end
|
58
62
|
end
|
59
63
|
end
|
data/lib/decidim/admin/test.rb
CHANGED
@@ -14,3 +14,4 @@ require "decidim/admin/test/manage_hide_content_examples"
|
|
14
14
|
require "decidim/admin/test/needs_admin_tos_accepted_examples"
|
15
15
|
require "decidim/admin/test/destroy_admin_examples"
|
16
16
|
require "decidim/admin/test/commands/publish_participatory_space_examples"
|
17
|
+
require "decidim/admin/test/invite_participatory_space_users_shared_context"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.28.
|
4
|
+
version: 0.28.2
|
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:
|
13
|
+
date: 2024-07-16 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.28.
|
35
|
+
version: 0.28.2
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.28.
|
42
|
+
version: 0.28.2
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,28 +94,28 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.28.
|
97
|
+
version: 0.28.2
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.28.
|
104
|
+
version: 0.28.2
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: decidim-participatory_processes
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - '='
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.28.
|
111
|
+
version: 0.28.2
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - '='
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.28.
|
118
|
+
version: 0.28.2
|
119
119
|
description: Organization administration to manage a single organization.
|
120
120
|
email:
|
121
121
|
- josepjaume@gmail.com
|
@@ -347,10 +347,11 @@ files:
|
|
347
347
|
- app/jobs/decidim/admin/newsletter_delivery_job.rb
|
348
348
|
- app/jobs/decidim/admin/newsletter_job.rb
|
349
349
|
- app/jobs/decidim/admin/verify_user_group_from_csv_job.rb
|
350
|
-
- app/mailers/decidim/admin/application_mailer.rb
|
351
350
|
- app/models/decidim/admin/fake_newsletter.rb
|
352
351
|
- app/packs/entrypoints/decidim_admin.js
|
353
352
|
- app/packs/entrypoints/decidim_admin.scss
|
353
|
+
- app/packs/entrypoints/decidim_admin_overrides.scss
|
354
|
+
- app/packs/images/decidim/admin/.keep
|
354
355
|
- app/packs/src/decidim/admin/admin_autocomplete.js
|
355
356
|
- app/packs/src/decidim/admin/application.js
|
356
357
|
- app/packs/src/decidim/admin/auto_buttons_by_position.component.js
|
@@ -402,6 +403,7 @@ files:
|
|
402
403
|
- app/packs/stylesheets/decidim/admin/_title-bar.scss
|
403
404
|
- app/packs/stylesheets/decidim/admin/_user-login.scss
|
404
405
|
- app/packs/stylesheets/decidim/admin/application.scss
|
406
|
+
- app/packs/stylesheets/decidim/admin/decidim_application.scss
|
405
407
|
- app/permissions/decidim/admin/permissions.rb
|
406
408
|
- app/permissions/decidim/admin/user_manager_permissions.rb
|
407
409
|
- app/presenters/decidim/admin/aside_menu_presenter.rb
|
@@ -554,7 +556,6 @@ files:
|
|
554
556
|
- app/views/layouts/decidim/admin/users.html.erb
|
555
557
|
- config/assets.rb
|
556
558
|
- config/brakeman.ignore
|
557
|
-
- config/environment.rb
|
558
559
|
- config/locales/am-ET.yml
|
559
560
|
- config/locales/ar-SA.yml
|
560
561
|
- config/locales/ar.yml
|
@@ -587,6 +588,7 @@ files:
|
|
587
588
|
- config/locales/ga-IE.yml
|
588
589
|
- config/locales/gl.yml
|
589
590
|
- config/locales/gn-PY.yml
|
591
|
+
- config/locales/he-IL.yml
|
590
592
|
- config/locales/hr-HR.yml
|
591
593
|
- config/locales/hr.yml
|
592
594
|
- config/locales/hu.yml
|
@@ -640,6 +642,7 @@ files:
|
|
640
642
|
- db/migrate/20171219154507_add_officialization_to_users.rb
|
641
643
|
- db/migrate/20180413233318_add_reason_to_decidim_impersonation_logs.rb
|
642
644
|
- db/migrate/20191118112040_add_accepted_admin_terms_at_field_to_users.rb
|
645
|
+
- decidim-admin.gemspec
|
643
646
|
- lib/decidim/admin.rb
|
644
647
|
- lib/decidim/admin/components.rb
|
645
648
|
- lib/decidim/admin/custom_import.rb
|
@@ -672,6 +675,10 @@ files:
|
|
672
675
|
- lib/decidim/admin/test/forms/attachment_collection_form_examples.rb
|
673
676
|
- lib/decidim/admin/test/forms/attachment_form_examples.rb
|
674
677
|
- lib/decidim/admin/test/forms/category_form_examples.rb
|
678
|
+
- lib/decidim/admin/test/invite_participatory_space_admins_shared_examples.rb
|
679
|
+
- lib/decidim/admin/test/invite_participatory_space_collaborators_shared_examples.rb
|
680
|
+
- lib/decidim/admin/test/invite_participatory_space_moderators_shared_examples.rb
|
681
|
+
- lib/decidim/admin/test/invite_participatory_space_users_shared_context.rb
|
675
682
|
- lib/decidim/admin/test/manage_attachment_collections_examples.rb
|
676
683
|
- lib/decidim/admin/test/manage_attachments_examples.rb
|
677
684
|
- lib/decidim/admin/test/manage_categories_examples.rb
|
@@ -697,16 +704,16 @@ require_paths:
|
|
697
704
|
- lib
|
698
705
|
required_ruby_version: !ruby/object:Gem::Requirement
|
699
706
|
requirements:
|
700
|
-
- - "
|
707
|
+
- - "~>"
|
701
708
|
- !ruby/object:Gem::Version
|
702
|
-
version:
|
709
|
+
version: 3.1.0
|
703
710
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
704
711
|
requirements:
|
705
712
|
- - ">="
|
706
713
|
- !ruby/object:Gem::Version
|
707
714
|
version: '0'
|
708
715
|
requirements: []
|
709
|
-
rubygems_version: 3.
|
716
|
+
rubygems_version: 3.3.7
|
710
717
|
signing_key:
|
711
718
|
specification_version: 4
|
712
719
|
summary: Decidim organization administration
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Decidim
|
4
|
-
module Admin
|
5
|
-
# Custom application mailer, scoped to the admin mailer.
|
6
|
-
#
|
7
|
-
class ApplicationMailer < ActionMailer::Base
|
8
|
-
default from: Decidim.config.mailer_sender
|
9
|
-
layout "mailer"
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
data/config/environment.rb
DELETED