decidim-admin 0.26.5 → 0.26.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/commands/decidim/admin/block_user.rb +7 -2
- data/app/commands/decidim/admin/publish_component.rb +1 -1
- data/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +42 -0
- data/app/controllers/decidim/admin/admin_terms_controller.rb +1 -1
- data/app/controllers/decidim/admin/application_controller.rb +1 -0
- data/app/controllers/decidim/admin/space_publications_controller.rb +63 -0
- data/app/controllers/decidim/admin/static_page_topics_controller.rb +1 -3
- data/app/packs/src/decidim/admin/draggable-list.js +1 -1
- data/app/packs/stylesheets/decidim/admin/extra/_quill.scss +7 -0
- data/app/permissions/decidim/admin/permissions.rb +14 -1
- data/app/views/decidim/admin/area_types/edit.html.erb +1 -0
- data/app/views/decidim/admin/area_types/index.html.erb +1 -0
- data/app/views/decidim/admin/area_types/new.html.erb +1 -0
- data/app/views/decidim/admin/areas/edit.html.erb +1 -0
- data/app/views/decidim/admin/areas/index.html.erb +1 -0
- data/app/views/decidim/admin/areas/new.html.erb +1 -0
- data/app/views/decidim/admin/attachment_collections/edit.html.erb +1 -0
- data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -0
- data/app/views/decidim/admin/attachment_collections/new.html.erb +1 -0
- data/app/views/decidim/admin/attachments/edit.html.erb +1 -0
- data/app/views/decidim/admin/attachments/index.html.erb +1 -0
- data/app/views/decidim/admin/attachments/new.html.erb +1 -0
- data/app/views/decidim/admin/authorization_workflows/index.html.erb +1 -0
- data/app/views/decidim/admin/categories/edit.html.erb +1 -0
- data/app/views/decidim/admin/categories/index.html.erb +1 -0
- data/app/views/decidim/admin/categories/new.html.erb +1 -0
- data/app/views/decidim/admin/components/edit.html.erb +1 -0
- data/app/views/decidim/admin/components/index.html.erb +1 -0
- data/app/views/decidim/admin/components/new.html.erb +1 -1
- data/app/views/decidim/admin/conflicts/index.html.erb +1 -0
- data/app/views/decidim/admin/help_sections/show.erb +1 -0
- data/app/views/decidim/admin/impersonatable_users/index.html.erb +1 -0
- data/app/views/decidim/admin/impersonations/new.html.erb +1 -0
- data/app/views/decidim/admin/logs/index.html.erb +1 -0
- data/app/views/decidim/admin/moderated_users/index.html.erb +1 -0
- data/app/views/decidim/admin/moderations/index.html.erb +1 -0
- data/app/views/decidim/admin/newsletter_templates/index.html.erb +1 -0
- data/app/views/decidim/admin/newsletter_templates/show.html.erb +1 -0
- data/app/views/decidim/admin/newsletters/index.html.erb +1 -0
- data/app/views/decidim/admin/newsletters/new.html.erb +1 -0
- data/app/views/decidim/admin/newsletters/show.html.erb +1 -0
- data/app/views/decidim/admin/officializations/index.html.erb +15 -10
- data/app/views/decidim/admin/officializations/new.html.erb +1 -0
- data/app/views/decidim/admin/organization/edit.html.erb +1 -0
- data/app/views/decidim/admin/organization_appearance/edit.html.erb +1 -0
- data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +1 -0
- data/app/views/decidim/admin/scope_types/edit.html.erb +1 -0
- data/app/views/decidim/admin/scope_types/index.html.erb +1 -0
- data/app/views/decidim/admin/scope_types/new.html.erb +1 -0
- data/app/views/decidim/admin/scopes/edit.html.erb +1 -0
- data/app/views/decidim/admin/scopes/index.html.erb +1 -0
- data/app/views/decidim/admin/scopes/new.html.erb +1 -0
- data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +1 -0
- data/app/views/decidim/admin/static_page_topics/edit.html.erb +1 -0
- data/app/views/decidim/admin/static_page_topics/new.html.erb +1 -0
- data/app/views/decidim/admin/static_pages/_form.html.erb +1 -1
- data/app/views/decidim/admin/static_pages/edit.html.erb +1 -0
- data/app/views/decidim/admin/static_pages/index.html.erb +1 -0
- data/app/views/decidim/admin/static_pages/new.html.erb +1 -0
- data/app/views/decidim/admin/user_groups/index.html.erb +1 -0
- data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +1 -0
- data/app/views/decidim/admin/users/index.html.erb +1 -0
- data/app/views/decidim/admin/users/new.html.erb +1 -0
- data/app/views/layouts/decidim/admin/global_moderations.html.erb +1 -0
- data/config/environment.rb +1 -0
- data/config/locales/ar.yml +10 -5
- data/config/locales/ca.yml +9 -6
- data/config/locales/cs.yml +5 -2
- data/config/locales/de.yml +10 -5
- data/config/locales/el.yml +59 -2
- data/config/locales/en.yml +6 -3
- data/config/locales/es-MX.yml +7 -4
- data/config/locales/es-PY.yml +7 -4
- data/config/locales/es.yml +8 -5
- data/config/locales/eu.yml +8 -13
- data/config/locales/fa-IR.yml +1 -0
- data/config/locales/fi-plain.yml +5 -2
- data/config/locales/fi.yml +8 -5
- data/config/locales/fr-CA.yml +6 -3
- data/config/locales/fr.yml +7 -4
- data/config/locales/gl.yml +0 -5
- data/config/locales/hu.yml +37 -22
- data/config/locales/id-ID.yml +0 -2
- data/config/locales/is-IS.yml +0 -2
- data/config/locales/it.yml +0 -5
- data/config/locales/ja.yml +13 -10
- data/config/locales/kaa.yml +200 -0
- data/config/locales/lb.yml +0 -5
- data/config/locales/lt.yml +0 -5
- data/config/locales/lv.yml +0 -4
- data/config/locales/nl.yml +0 -5
- data/config/locales/no.yml +0 -5
- data/config/locales/pl.yml +0 -5
- data/config/locales/pt-BR.yml +62 -3
- data/config/locales/pt.yml +0 -5
- data/config/locales/ro-RO.yml +10 -10
- data/config/locales/ru.yml +0 -2
- data/config/locales/sk.yml +0 -4
- data/config/locales/sr-CS.yml +0 -4
- data/config/locales/sv.yml +0 -6
- data/config/locales/tr-TR.yml +3 -5
- data/config/locales/uk.yml +0 -2
- data/config/locales/zh-CN.yml +0 -4
- data/config/locales/zh-TW.yml +1075 -0
- data/lib/decidim/admin/form_builder.rb +1 -2
- data/lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb +9 -0
- data/lib/decidim/admin/test.rb +1 -0
- data/lib/decidim/admin/version.rb +1 -1
- metadata +14 -8
@@ -0,0 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
shared_examples_for "needs admin TOS accepted" do
|
4
|
+
context "when the user has not accepted the admin TOS" do
|
5
|
+
it "shows a message to accept the admin TOS" do
|
6
|
+
expect(page).to have_content("Please take a moment to review Admin Terms of Use")
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
data/lib/decidim/admin/test.rb
CHANGED
@@ -9,3 +9,4 @@ require "decidim/admin/test/manage_paginated_collection_examples"
|
|
9
9
|
require "decidim/admin/test/filterable_examples"
|
10
10
|
require "decidim/admin/test/filters_participatory_space_users_examples"
|
11
11
|
require "decidim/admin/test/filters_participatory_space_user_roles_examples"
|
12
|
+
require "decidim/admin/test/needs_admin_tos_accepted_examples"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-
|
13
|
+
date: 2023-07-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.26.
|
35
|
+
version: 0.26.8
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.26.
|
42
|
+
version: 0.26.8
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,28 +88,28 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.26.
|
91
|
+
version: 0.26.8
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - '='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.26.
|
98
|
+
version: 0.26.8
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: decidim-participatory_processes
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
103
|
- - '='
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.26.
|
105
|
+
version: 0.26.8
|
106
106
|
type: :development
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - '='
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.26.
|
112
|
+
version: 0.26.8
|
113
113
|
description: Organization administration to manage a single organization.
|
114
114
|
email:
|
115
115
|
- josepjaume@gmail.com
|
@@ -196,6 +196,7 @@ files:
|
|
196
196
|
- app/controllers/concerns/decidim/admin/global_moderation_context.rb
|
197
197
|
- app/controllers/concerns/decidim/admin/landing_page.rb
|
198
198
|
- app/controllers/concerns/decidim/admin/landing_page_content_blocks.rb
|
199
|
+
- app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb
|
199
200
|
- app/controllers/concerns/decidim/admin/officializations/filterable.rb
|
200
201
|
- app/controllers/concerns/decidim/admin/paginable.rb
|
201
202
|
- app/controllers/concerns/decidim/admin/participatory_space_admin_context.rb
|
@@ -247,6 +248,7 @@ files:
|
|
247
248
|
- app/controllers/decidim/admin/scope_types_controller.rb
|
248
249
|
- app/controllers/decidim/admin/scopes_controller.rb
|
249
250
|
- app/controllers/decidim/admin/share_tokens_controller.rb
|
251
|
+
- app/controllers/decidim/admin/space_publications_controller.rb
|
250
252
|
- app/controllers/decidim/admin/static_page_topics_controller.rb
|
251
253
|
- app/controllers/decidim/admin/static_pages_controller.rb
|
252
254
|
- app/controllers/decidim/admin/user_groups_controller.rb
|
@@ -575,6 +577,7 @@ files:
|
|
575
577
|
- app/views/layouts/decidim/admin/users.html.erb
|
576
578
|
- config/assets.rb
|
577
579
|
- config/brakeman.ignore
|
580
|
+
- config/environment.rb
|
578
581
|
- config/locales/am-ET.yml
|
579
582
|
- config/locales/ar-SA.yml
|
580
583
|
- config/locales/ar.yml
|
@@ -597,6 +600,7 @@ files:
|
|
597
600
|
- config/locales/et-EE.yml
|
598
601
|
- config/locales/et.yml
|
599
602
|
- config/locales/eu.yml
|
603
|
+
- config/locales/fa-IR.yml
|
600
604
|
- config/locales/fi-pl.yml
|
601
605
|
- config/locales/fi-plain.yml
|
602
606
|
- config/locales/fi.yml
|
@@ -615,6 +619,7 @@ files:
|
|
615
619
|
- config/locales/it.yml
|
616
620
|
- config/locales/ja.yml
|
617
621
|
- config/locales/ka-GE.yml
|
622
|
+
- config/locales/kaa.yml
|
618
623
|
- config/locales/ko-KR.yml
|
619
624
|
- config/locales/ko.yml
|
620
625
|
- config/locales/lb-LU.yml
|
@@ -688,6 +693,7 @@ files:
|
|
688
693
|
- lib/decidim/admin/test/manage_component_permissions_examples.rb
|
689
694
|
- lib/decidim/admin/test/manage_moderations_examples.rb
|
690
695
|
- lib/decidim/admin/test/manage_paginated_collection_examples.rb
|
696
|
+
- lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb
|
691
697
|
- lib/decidim/admin/version.rb
|
692
698
|
homepage: https://github.com/decidim/decidim
|
693
699
|
licenses:
|