decidim-system 0.27.5 → 0.28.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/app/commands/decidim/system/create_admin.rb +1 -1
- data/app/commands/decidim/system/create_default_content_blocks.rb +1 -14
- data/app/commands/decidim/system/create_default_pages.rb +23 -4
- data/app/commands/decidim/system/populate_help.rb +2 -2
- data/app/commands/decidim/system/register_organization.rb +15 -2
- data/app/commands/decidim/system/update_admin.rb +1 -1
- data/app/commands/decidim/system/update_organization.rb +2 -1
- data/app/controllers/decidim/system/application_controller.rb +1 -1
- data/app/controllers/decidim/system/dashboard_controller.rb +1 -0
- data/app/controllers/decidim/system/organizations_controller.rb +30 -4
- data/app/forms/decidim/system/admin_form.rb +1 -1
- data/app/forms/decidim/system/update_organization_form.rb +14 -2
- data/app/jobs/decidim/system/application_job.rb +1 -1
- data/app/packs/entrypoints/decidim_system.js +5 -3
- data/app/packs/stylesheets/decidim/system/application.scss +108 -21
- data/app/views/decidim/system/admins/_form.html.erb +1 -7
- data/app/views/decidim/system/admins/edit.html.erb +3 -3
- data/app/views/decidim/system/admins/index.html.erb +3 -31
- data/app/views/decidim/system/admins/new.html.erb +3 -3
- data/app/views/decidim/system/dashboard/show.html.erb +13 -3
- data/app/views/decidim/system/devise/mailers/password_change.html.erb +1 -1
- data/app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb +2 -2
- data/app/views/decidim/system/devise/passwords/edit.html.erb +5 -8
- data/app/views/decidim/system/devise/passwords/new.html.erb +5 -5
- data/app/views/decidim/system/devise/sessions/new.html.erb +10 -12
- data/app/views/decidim/system/oauth_applications/_form.html.erb +5 -20
- data/app/views/decidim/system/oauth_applications/edit.html.erb +9 -11
- data/app/views/decidim/system/oauth_applications/index.html.erb +6 -8
- data/app/views/decidim/system/oauth_applications/new.html.erb +9 -11
- data/app/views/decidim/system/oauth_applications/show.html.erb +20 -23
- data/app/views/decidim/system/organizations/_advanced_settings.html.erb +10 -8
- data/app/views/decidim/system/organizations/_csp_settings.html.erb +12 -0
- data/app/views/decidim/system/organizations/_file_upload_settings.erb +23 -46
- data/app/views/decidim/system/organizations/_omniauth_provider.html.erb +13 -16
- data/app/views/decidim/system/organizations/_omniauth_settings.html.erb +6 -8
- data/app/views/decidim/system/organizations/_smtp_settings.html.erb +12 -22
- data/app/views/decidim/system/organizations/edit.html.erb +29 -26
- data/app/views/decidim/system/organizations/index.html.erb +3 -4
- data/app/views/decidim/system/organizations/new.html.erb +29 -42
- data/app/views/decidim/system/shared/_admins_list.html.erb +27 -0
- data/app/views/decidim/system/shared/_notices.html.erb +4 -6
- data/app/views/decidim/system/shared/_organizations_list.html.erb +10 -3
- data/app/views/layouts/decidim/system/_header.html.erb +2 -2
- data/app/views/layouts/decidim/system/_login_items.html.erb +3 -7
- data/app/views/layouts/decidim/system/_sidebar.html.erb +3 -7
- data/app/views/layouts/decidim/system/application.html.erb +24 -28
- data/app/views/layouts/decidim/system/login.html.erb +10 -9
- data/config/locales/ar.yml +0 -14
- data/config/locales/bg.yml +0 -4
- data/config/locales/ca.yml +69 -13
- data/config/locales/cs.yml +70 -13
- data/config/locales/de.yml +62 -13
- data/config/locales/el.yml +7 -12
- data/config/locales/en.yml +70 -13
- data/config/locales/es-MX.yml +70 -13
- data/config/locales/es-PY.yml +70 -13
- data/config/locales/es.yml +70 -13
- data/config/locales/eu.yml +69 -12
- data/config/locales/fa-IR.yml +0 -5
- data/config/locales/fi-plain.yml +69 -13
- data/config/locales/fi.yml +69 -13
- data/config/locales/fr-CA.yml +44 -19
- data/config/locales/fr.yml +54 -13
- data/config/locales/ga-IE.yml +0 -4
- data/config/locales/gl.yml +0 -14
- data/config/locales/hu.yml +0 -10
- data/config/locales/id-ID.yml +0 -10
- data/config/locales/is-IS.yml +0 -4
- data/config/locales/it.yml +0 -14
- data/config/locales/ja.yml +43 -19
- data/config/locales/lb.yml +0 -5
- data/config/locales/lt.yml +17 -12
- data/config/locales/lv.yml +0 -10
- data/config/locales/nl.yml +0 -12
- data/config/locales/no.yml +0 -14
- data/config/locales/pl.yml +0 -14
- data/config/locales/pt-BR.yml +0 -14
- data/config/locales/pt.yml +0 -14
- data/config/locales/ro-RO.yml +3 -21
- data/config/locales/ru.yml +0 -10
- data/config/locales/sk.yml +0 -10
- data/config/locales/sl.yml +0 -9
- data/config/locales/sv.yml +0 -14
- data/config/locales/tr-TR.yml +3 -14
- data/config/locales/uk.yml +0 -9
- data/config/locales/zh-CN.yml +0 -12
- data/config/locales/zh-TW.yml +6 -11
- data/config/routes.rb +6 -2
- data/db/seeds.rb +1 -1
- data/lib/decidim/system/engine.rb +2 -25
- data/lib/decidim/system/menu.rb +35 -0
- data/lib/decidim/system/version.rb +1 -1
- data/lib/tasks/decidim_system.rake +1 -1
- metadata +20 -25
- data/app/packs/entrypoints/decidim_system.scss +0 -1
- data/app/packs/src/decidim/system/application.js +0 -41
- data/app/packs/stylesheets/decidim/system/_actions.scss +0 -8
- data/app/packs/stylesheets/decidim/system/_forms.scss +0 -36
- data/app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss +0 -53
- data/app/packs/stylesheets/decidim/system/_layout.scss +0 -18
- data/app/packs/stylesheets/decidim/system/_login.scss +0 -37
- data/app/packs/stylesheets/decidim/system/_settings.scss +0 -569
- data/app/packs/stylesheets/decidim/system/_sidebar.scss +0 -83
- data/app/packs/stylesheets/decidim/system/_tables.scss +0 -6
- data/app/views/decidim/system/admins/show.html.erb +0 -9
- data/app/views/decidim/system/organizations/show.html.erb +0 -10
- data/config/environment.rb +0 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0.rc4
|
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-12-
|
13
|
+
date: 2023-12-11 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.28.0.rc4
|
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.28.0.rc4
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +94,14 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
97
|
+
version: 0.28.0.rc4
|
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.
|
104
|
+
version: 0.28.0.rc4
|
105
105
|
description: System administration to create new organization in an installation.
|
106
106
|
email:
|
107
107
|
- josepjaume@gmail.com
|
@@ -142,23 +142,12 @@ files:
|
|
142
142
|
- app/models/decidim/system/admin.rb
|
143
143
|
- app/models/decidim/system/application_record.rb
|
144
144
|
- app/packs/entrypoints/decidim_system.js
|
145
|
-
- app/packs/entrypoints/decidim_system.scss
|
146
145
|
- app/packs/images/icons.svg
|
147
|
-
- app/packs/src/decidim/system/application.js
|
148
|
-
- app/packs/stylesheets/decidim/system/_actions.scss
|
149
|
-
- app/packs/stylesheets/decidim/system/_forms.scss
|
150
|
-
- app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss
|
151
|
-
- app/packs/stylesheets/decidim/system/_layout.scss
|
152
|
-
- app/packs/stylesheets/decidim/system/_login.scss
|
153
|
-
- app/packs/stylesheets/decidim/system/_settings.scss
|
154
|
-
- app/packs/stylesheets/decidim/system/_sidebar.scss
|
155
|
-
- app/packs/stylesheets/decidim/system/_tables.scss
|
156
146
|
- app/packs/stylesheets/decidim/system/application.scss
|
157
147
|
- app/views/decidim/system/admins/_form.html.erb
|
158
148
|
- app/views/decidim/system/admins/edit.html.erb
|
159
149
|
- app/views/decidim/system/admins/index.html.erb
|
160
150
|
- app/views/decidim/system/admins/new.html.erb
|
161
|
-
- app/views/decidim/system/admins/show.html.erb
|
162
151
|
- app/views/decidim/system/dashboard/show.html.erb
|
163
152
|
- app/views/decidim/system/devise/mailers/password_change.html.erb
|
164
153
|
- app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb
|
@@ -172,6 +161,7 @@ files:
|
|
172
161
|
- app/views/decidim/system/oauth_applications/new.html.erb
|
173
162
|
- app/views/decidim/system/oauth_applications/show.html.erb
|
174
163
|
- app/views/decidim/system/organizations/_advanced_settings.html.erb
|
164
|
+
- app/views/decidim/system/organizations/_csp_settings.html.erb
|
175
165
|
- app/views/decidim/system/organizations/_file_upload_settings.erb
|
176
166
|
- app/views/decidim/system/organizations/_omniauth_provider.html.erb
|
177
167
|
- app/views/decidim/system/organizations/_omniauth_settings.html.erb
|
@@ -179,7 +169,7 @@ files:
|
|
179
169
|
- app/views/decidim/system/organizations/edit.html.erb
|
180
170
|
- app/views/decidim/system/organizations/index.html.erb
|
181
171
|
- app/views/decidim/system/organizations/new.html.erb
|
182
|
-
- app/views/decidim/system/
|
172
|
+
- app/views/decidim/system/shared/_admins_list.html.erb
|
183
173
|
- app/views/decidim/system/shared/_notices.html.erb
|
184
174
|
- app/views/decidim/system/shared/_organizations_list.html.erb
|
185
175
|
- app/views/layouts/decidim/system/_header.html.erb
|
@@ -190,7 +180,6 @@ files:
|
|
190
180
|
- app/views/layouts/decidim/system/login.html.erb
|
191
181
|
- config/assets.rb
|
192
182
|
- config/brakeman.ignore
|
193
|
-
- config/environment.rb
|
194
183
|
- config/locales/am-ET.yml
|
195
184
|
- config/locales/ar-SA.yml
|
196
185
|
- config/locales/ar.yml
|
@@ -275,13 +264,19 @@ files:
|
|
275
264
|
- db/seeds.rb
|
276
265
|
- lib/decidim/system.rb
|
277
266
|
- lib/decidim/system/engine.rb
|
267
|
+
- lib/decidim/system/menu.rb
|
278
268
|
- lib/decidim/system/test/factories.rb
|
279
269
|
- lib/decidim/system/version.rb
|
280
270
|
- lib/tasks/decidim_system.rake
|
281
|
-
homepage: https://
|
271
|
+
homepage: https://decidim.org
|
282
272
|
licenses:
|
283
273
|
- AGPL-3.0
|
284
|
-
metadata:
|
274
|
+
metadata:
|
275
|
+
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
276
|
+
documentation_uri: https://docs.decidim.org/
|
277
|
+
funding_uri: https://opencollective.com/decidim
|
278
|
+
homepage_uri: https://decidim.org
|
279
|
+
source_code_uri: https://github.com/decidim/decidim
|
285
280
|
post_install_message:
|
286
281
|
rdoc_options: []
|
287
282
|
require_paths:
|
@@ -290,14 +285,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
290
285
|
requirements:
|
291
286
|
- - ">="
|
292
287
|
- !ruby/object:Gem::Version
|
293
|
-
version: '3.
|
288
|
+
version: '3.1'
|
294
289
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
295
290
|
requirements:
|
296
|
-
- - "
|
291
|
+
- - ">"
|
297
292
|
- !ruby/object:Gem::Version
|
298
|
-
version:
|
293
|
+
version: 1.3.1
|
299
294
|
requirements: []
|
300
|
-
rubygems_version: 3.4.
|
295
|
+
rubygems_version: 3.4.20
|
301
296
|
signing_key:
|
302
297
|
specification_version: 4
|
303
298
|
summary: Decidim system administration
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "stylesheets/decidim/system/application.scss";
|
@@ -1,41 +0,0 @@
|
|
1
|
-
/* eslint no-unused-vars: 0 */
|
2
|
-
/* eslint id-length: ["error", { "exceptions": ["$"] }] */
|
3
|
-
|
4
|
-
import "core-js/stable";
|
5
|
-
import "regenerator-runtime/runtime";
|
6
|
-
import $ from "jquery"
|
7
|
-
import Quill from "quill"
|
8
|
-
import Rails from "@rails/ujs"
|
9
|
-
import "foundation-sites"
|
10
|
-
|
11
|
-
import createQuillEditor from "src/decidim/editor"
|
12
|
-
import Configuration from "src/decidim/configuration"
|
13
|
-
|
14
|
-
window.Decidim = window.Decidim || {};
|
15
|
-
window.Decidim.config = new Configuration()
|
16
|
-
|
17
|
-
import "src/decidim/input_tags"
|
18
|
-
import "src/decidim/confirm"
|
19
|
-
|
20
|
-
$(() => {
|
21
|
-
$(document).foundation();
|
22
|
-
|
23
|
-
$(".editor-container").each((_idx, container) => {
|
24
|
-
createQuillEditor(container);
|
25
|
-
});
|
26
|
-
|
27
|
-
$("button.collapse").on("click", () => {
|
28
|
-
$(".collapsible").addClass("hide");
|
29
|
-
$("button.expand").removeClass("hide");
|
30
|
-
$("button.collapse").addClass("hide");
|
31
|
-
});
|
32
|
-
|
33
|
-
$("button.expand").on("click", () => {
|
34
|
-
$(".collapsible").removeClass("hide");
|
35
|
-
$("button.collapse").removeClass("hide");
|
36
|
-
$("button.expand").addClass("hide");
|
37
|
-
});
|
38
|
-
});
|
39
|
-
|
40
|
-
// This needs to be loaded after confirm dialog to bind properly
|
41
|
-
Rails.start()
|
@@ -1,36 +0,0 @@
|
|
1
|
-
@import "bootstrap-tagsinput/src/bootstrap-tagsinput";
|
2
|
-
|
3
|
-
$tag-padding: .25rem;
|
4
|
-
$tag-margin: .2rem;
|
5
|
-
|
6
|
-
.input__tag{
|
7
|
-
background-color: rgba($medium-gray, .5);
|
8
|
-
border-radius: $input-radius;
|
9
|
-
padding: $tag-padding;
|
10
|
-
display: inline-block;
|
11
|
-
cursor: pointer;
|
12
|
-
-webkit-user-select: none;
|
13
|
-
-moz-user-select: none;
|
14
|
-
-ms-user-select: none;
|
15
|
-
user-select: none;
|
16
|
-
}
|
17
|
-
|
18
|
-
// Override defaults
|
19
|
-
.bootstrap-tagsinput{
|
20
|
-
margin-bottom: $form-spacing;
|
21
|
-
|
22
|
-
// Use foundation precalculated methods to get accurate form css properties
|
23
|
-
$height: ($input-font-size * unitless-calc($input-line-height)) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom'));
|
24
|
-
$tag-line-height: rem-calc(22);
|
25
|
-
$span-height: ($input-font-size * unitless-calc($tag-line-height)) + (get-side($tag-padding, 'top') + get-side($tag-padding, 'bottom')) - rem-calc(1);
|
26
|
-
|
27
|
-
width: 100%;
|
28
|
-
min-height: $height;
|
29
|
-
padding-bottom: $tag-margin * .25;
|
30
|
-
|
31
|
-
.tag{
|
32
|
-
color: inherit;
|
33
|
-
margin-right: 0; // fix whitespace
|
34
|
-
margin-bottom: $tag-margin;
|
35
|
-
}
|
36
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
@charset "utf-8";
|
2
|
-
|
3
|
-
@import "settings";
|
4
|
-
@import "foundation-sites/scss/foundation";
|
5
|
-
@import "stylesheets/foundation-overrides/components/button-group";
|
6
|
-
|
7
|
-
// If you'd like to include motion-ui the foundation-rails gem comes prepackaged with it, uncomment the 3 @imports, if you are not using the gem you need to install the motion-ui sass package.
|
8
|
-
//
|
9
|
-
// @import 'motion-ui/motion-ui';
|
10
|
-
|
11
|
-
// We include everything by default. To slim your CSS, remove components you don't use.
|
12
|
-
|
13
|
-
@include foundation-global-styles;
|
14
|
-
@include foundation-flex-grid;
|
15
|
-
@include foundation-typography;
|
16
|
-
@include foundation-button;
|
17
|
-
@include foundation-forms;
|
18
|
-
@include foundation-visibility-classes;
|
19
|
-
@include foundation-flex-classes;
|
20
|
-
@include foundation-accordion;
|
21
|
-
@include foundation-accordion-menu;
|
22
|
-
@include foundation-badge;
|
23
|
-
@include foundation-breadcrumbs;
|
24
|
-
@include foundation-button-group;
|
25
|
-
@include foundation-callout;
|
26
|
-
@include foundation-close-button;
|
27
|
-
@include foundation-drilldown-menu;
|
28
|
-
@include foundation-dropdown;
|
29
|
-
@include foundation-dropdown-menu;
|
30
|
-
@include foundation-responsive-embed;
|
31
|
-
@include foundation-label;
|
32
|
-
@include foundation-media-object;
|
33
|
-
@include foundation-menu;
|
34
|
-
@include foundation-menu-icon;
|
35
|
-
@include foundation-off-canvas;
|
36
|
-
@include foundation-orbit;
|
37
|
-
@include foundation-pagination;
|
38
|
-
@include foundation-progress-bar;
|
39
|
-
@include foundation-slider;
|
40
|
-
@include foundation-sticky;
|
41
|
-
@include foundation-reveal;
|
42
|
-
@include foundation-switch;
|
43
|
-
@include foundation-table;
|
44
|
-
@include foundation-tabs;
|
45
|
-
@include foundation-thumbnail;
|
46
|
-
@include foundation-title-bar;
|
47
|
-
@include foundation-tooltip;
|
48
|
-
@include foundation-top-bar;
|
49
|
-
|
50
|
-
// If you'd like to include motion-ui the foundation-rails gem comes prepackaged with it, uncomment the 3 @imports, if you are not using the gem you need to install the motion-ui sass package.
|
51
|
-
//
|
52
|
-
// @include motion-ui-transitions;
|
53
|
-
// @include motion-ui-animations;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
.off-canvas,
|
2
|
-
.sidebar,
|
3
|
-
.off-canvas-wrapper{
|
4
|
-
min-height: 100vh;
|
5
|
-
}
|
6
|
-
|
7
|
-
.off-canvas{
|
8
|
-
color: #fff;
|
9
|
-
}
|
10
|
-
|
11
|
-
.main-content{
|
12
|
-
padding: $global-padding 0;
|
13
|
-
min-height: 100vh;
|
14
|
-
}
|
15
|
-
|
16
|
-
.page-title{
|
17
|
-
margin-bottom: $global-margin;
|
18
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
body.login{
|
2
|
-
background: $light-gray;
|
3
|
-
position: relative;
|
4
|
-
|
5
|
-
.login-form-wrapper{
|
6
|
-
@include grid-row;
|
7
|
-
@include flex;
|
8
|
-
|
9
|
-
height: 100vh;
|
10
|
-
|
11
|
-
.login-form{
|
12
|
-
@include grid-column(12);
|
13
|
-
@include grid-column-position(center);
|
14
|
-
|
15
|
-
@include breakpoint(medium){
|
16
|
-
@include grid-column(8);
|
17
|
-
@include grid-column-position(center);
|
18
|
-
}
|
19
|
-
|
20
|
-
@include breakpoint(large){
|
21
|
-
@include grid-column(6);
|
22
|
-
@include grid-column-position(center);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
@include breakpoint(medium){
|
27
|
-
@include flex-align(center, middle);
|
28
|
-
|
29
|
-
transform: translateY(-8%);
|
30
|
-
}
|
31
|
-
|
32
|
-
.login-form-inner{
|
33
|
-
background-color: $white;
|
34
|
-
padding: $global-padding;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|