decidim-system 0.27.4 → 0.28.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/app/commands/decidim/system/create_admin.rb +1 -1
  4. data/app/commands/decidim/system/create_default_content_blocks.rb +1 -14
  5. data/app/commands/decidim/system/create_default_pages.rb +23 -4
  6. data/app/commands/decidim/system/populate_help.rb +2 -2
  7. data/app/commands/decidim/system/register_organization.rb +15 -2
  8. data/app/commands/decidim/system/update_admin.rb +1 -1
  9. data/app/commands/decidim/system/update_organization.rb +2 -1
  10. data/app/controllers/decidim/system/application_controller.rb +2 -1
  11. data/app/controllers/decidim/system/dashboard_controller.rb +1 -0
  12. data/app/controllers/decidim/system/organizations_controller.rb +30 -4
  13. data/app/forms/decidim/system/admin_form.rb +2 -2
  14. data/app/forms/decidim/system/update_organization_form.rb +14 -2
  15. data/app/jobs/decidim/system/application_job.rb +1 -1
  16. data/app/packs/entrypoints/decidim_system.js +5 -3
  17. data/app/packs/stylesheets/decidim/system/application.scss +108 -21
  18. data/app/views/decidim/system/admins/_form.html.erb +1 -7
  19. data/app/views/decidim/system/admins/edit.html.erb +5 -3
  20. data/app/views/decidim/system/admins/index.html.erb +5 -31
  21. data/app/views/decidim/system/admins/new.html.erb +5 -3
  22. data/app/views/decidim/system/dashboard/show.html.erb +15 -3
  23. data/app/views/decidim/system/devise/mailers/password_change.html.erb +1 -1
  24. data/app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb +2 -2
  25. data/app/views/decidim/system/devise/passwords/edit.html.erb +6 -9
  26. data/app/views/decidim/system/devise/passwords/new.html.erb +5 -5
  27. data/app/views/decidim/system/devise/sessions/new.html.erb +10 -12
  28. data/app/views/decidim/system/devise/shared/_links.html.erb +5 -11
  29. data/app/views/decidim/system/oauth_applications/_form.html.erb +5 -20
  30. data/app/views/decidim/system/oauth_applications/edit.html.erb +11 -11
  31. data/app/views/decidim/system/oauth_applications/index.html.erb +8 -8
  32. data/app/views/decidim/system/oauth_applications/new.html.erb +11 -11
  33. data/app/views/decidim/system/oauth_applications/show.html.erb +22 -23
  34. data/app/views/decidim/system/organizations/_advanced_settings.html.erb +10 -8
  35. data/app/views/decidim/system/organizations/_csp_settings.html.erb +12 -0
  36. data/app/views/decidim/system/organizations/_file_upload_settings.erb +23 -46
  37. data/app/views/decidim/system/organizations/_omniauth_provider.html.erb +13 -16
  38. data/app/views/decidim/system/organizations/_omniauth_settings.html.erb +6 -8
  39. data/app/views/decidim/system/organizations/_smtp_settings.html.erb +12 -22
  40. data/app/views/decidim/system/organizations/edit.html.erb +35 -26
  41. data/app/views/decidim/system/organizations/index.html.erb +5 -4
  42. data/app/views/decidim/system/organizations/new.html.erb +34 -45
  43. data/app/views/decidim/system/shared/_admins_list.html.erb +27 -0
  44. data/app/views/decidim/system/shared/_notices.html.erb +4 -6
  45. data/app/views/decidim/system/shared/_organizations_list.html.erb +10 -3
  46. data/app/views/layouts/decidim/system/_header.html.erb +2 -2
  47. data/app/views/layouts/decidim/system/_login_items.html.erb +3 -7
  48. data/app/views/layouts/decidim/system/_sidebar.html.erb +3 -7
  49. data/app/views/layouts/decidim/system/application.html.erb +27 -30
  50. data/app/views/layouts/decidim/system/login.html.erb +10 -9
  51. data/config/environment.rb +3 -0
  52. data/config/locales/ar.yml +0 -14
  53. data/config/locales/bg.yml +0 -1
  54. data/config/locales/ca.yml +96 -12
  55. data/config/locales/cs.yml +97 -12
  56. data/config/locales/de.yml +92 -15
  57. data/config/locales/el.yml +9 -12
  58. data/config/locales/en.yml +97 -12
  59. data/config/locales/es-MX.yml +97 -12
  60. data/config/locales/es-PY.yml +97 -12
  61. data/config/locales/es.yml +97 -12
  62. data/config/locales/eu.yml +112 -27
  63. data/config/locales/fi-plain.yml +96 -12
  64. data/config/locales/fi.yml +96 -12
  65. data/config/locales/fr-CA.yml +65 -12
  66. data/config/locales/fr.yml +81 -12
  67. data/config/locales/ga-IE.yml +0 -2
  68. data/config/locales/gl.yml +0 -14
  69. data/config/locales/hu.yml +19 -11
  70. data/config/locales/id-ID.yml +0 -11
  71. data/config/locales/is-IS.yml +0 -4
  72. data/config/locales/it.yml +0 -14
  73. data/config/locales/ja.yml +64 -12
  74. data/config/locales/lt.yml +19 -12
  75. data/config/locales/lv.yml +0 -11
  76. data/config/locales/nl.yml +0 -13
  77. data/config/locales/no.yml +0 -14
  78. data/config/locales/pl.yml +0 -14
  79. data/config/locales/pt-BR.yml +0 -14
  80. data/config/locales/pt.yml +0 -14
  81. data/config/locales/ro-RO.yml +3 -13
  82. data/config/locales/ru.yml +0 -11
  83. data/config/locales/sk.yml +0 -11
  84. data/config/locales/sl.yml +0 -8
  85. data/config/locales/sq-AL.yml +1 -0
  86. data/config/locales/sv.yml +0 -14
  87. data/config/locales/th-TH.yml +1 -0
  88. data/config/locales/tr-TR.yml +3 -14
  89. data/config/locales/uk.yml +0 -10
  90. data/config/locales/zh-CN.yml +0 -12
  91. data/config/locales/zh-TW.yml +8 -11
  92. data/config/routes.rb +6 -2
  93. data/db/seeds.rb +1 -1
  94. data/lib/decidim/system/engine.rb +2 -25
  95. data/lib/decidim/system/menu.rb +35 -0
  96. data/lib/decidim/system/version.rb +1 -1
  97. data/lib/tasks/decidim_system.rake +1 -1
  98. metadata +28 -24
  99. data/app/packs/entrypoints/decidim_system.scss +0 -1
  100. data/app/packs/src/decidim/system/application.js +0 -41
  101. data/app/packs/stylesheets/decidim/system/_actions.scss +0 -8
  102. data/app/packs/stylesheets/decidim/system/_forms.scss +0 -36
  103. data/app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss +0 -53
  104. data/app/packs/stylesheets/decidim/system/_layout.scss +0 -18
  105. data/app/packs/stylesheets/decidim/system/_login.scss +0 -37
  106. data/app/packs/stylesheets/decidim/system/_settings.scss +0 -569
  107. data/app/packs/stylesheets/decidim/system/_sidebar.scss +0 -83
  108. data/app/packs/stylesheets/decidim/system/_tables.scss +0 -6
  109. data/app/views/decidim/system/admins/show.html.erb +0 -9
  110. data/app/views/decidim/system/organizations/show.html.erb +0 -10
@@ -38,15 +38,14 @@ tr:
38
38
  confirm_destroy: Bunu silmek istediğinizden emin misiniz?
39
39
  destroy: Sil
40
40
  edit: Düzenle
41
- new: Yeni
41
+ new_admin: Yeni Yönetici
42
+ new_oauth_application: Yetkilendirilmiş Uygulama
43
+ new_organization: Yeni organizasyon
42
44
  save: Kaydet
43
45
  title: Eylemler
44
46
  admins:
45
47
  create:
46
48
  error: Yeni bir yönetici oluşturulurken bir sorun oluştu.
47
- success: Yönetici başarıyla oluşturuldu
48
- destroy:
49
- success: Yönetici başarıyla silindi
50
49
  edit:
51
50
  title: Yönetici düzenle
52
51
  update: Güncelle
@@ -57,7 +56,6 @@ tr:
57
56
  title: Yeni yönetici
58
57
  update:
59
58
  error: Bu yönetici güncellenirken bir sorun oluştu.
60
- success: Yönetici başarıyla güncellendi
61
59
  default_pages:
62
60
  placeholders:
63
61
  content: Lütfen yönetici panosundaki %{page} statik sayfasına anlamlı içerik ekleyin.
@@ -72,7 +70,6 @@ tr:
72
70
  fields:
73
71
  created_at: Adresinde düzenlendi
74
72
  email: E-posta
75
- name: yönetim
76
73
  validations:
77
74
  email_uniqueness: aynı e-postaya sahip başka bir yönetici zaten var
78
75
  oauth_application:
@@ -80,7 +77,6 @@ tr:
80
77
  created_at: Oluşturuldu
81
78
  name: OAuth Uygulama Adı
82
79
  organization_name: Kuruluş
83
- name: OAuth uygulaması
84
80
  organization:
85
81
  actions:
86
82
  save_and_invite: Kuruluş oluşturun ve yöneticiyi davet edin
@@ -90,7 +86,6 @@ tr:
90
86
  name: Adı
91
87
  omniauth_settings: Omniauth ayarları
92
88
  smtp_settings: SMTP ayarları
93
- name: organizasyon
94
89
  oauth_applications:
95
90
  create:
96
91
  error: Bu uygulama oluşturulurken bir hata oluştu.
@@ -115,7 +110,6 @@ tr:
115
110
  organizations:
116
111
  create:
117
112
  error: Yeni bir organizasyon oluştururken bir sorun oluştu.
118
- success: Kuruluş başarıyla oluşturuldu.
119
113
  edit:
120
114
  secondary_hosts_hint: Her birini yeni bir satıra girin
121
115
  file_upload_settings:
@@ -139,8 +133,6 @@ tr:
139
133
  index:
140
134
  title: Organizasyonlar
141
135
  new:
142
- reference_prefix_hint: Başvuru öneki, tüm kuruluştaki kaynakları benzersiz şekilde tanımlamak için kullanılır
143
- secondary_hosts_hint: Her birini yeni bir satıra girin
144
136
  title: Yeni organizasyon
145
137
  omniauth_settings:
146
138
  decidim:
@@ -163,8 +155,6 @@ tr:
163
155
  smtp_settings:
164
156
  fieldsets:
165
157
  sender: Gönderen
166
- instructions:
167
- from_label: 'E-posta göndereni: "your-organization-name <your-organization@example.org>" olacaktır. ''E-posta adresini'' etiket olarak kullanmak için boş bırakın'
168
158
  placeholder:
169
159
  from_email: your-organization@example.org
170
160
  from_label: your-organization-name
@@ -174,7 +164,6 @@ tr:
174
164
  users_registration_mode:
175
165
  disabled: Erişim yalnızca harici hesaplarla yapılabilir
176
166
  enabled: Katılımcıların kaydolmasına ve giriş yapmasına izin ver
177
- existing: Katılımcıların kaydolmasına izin verme, ancak mevcut katılımcıların giriş yapmasına izin ver
178
167
  shared:
179
168
  notices:
180
169
  no_organization_warning_html: Başlamak için bir organizasyon oluşturmanız gerekir. Devam etmeden önce %{guide} okuduğunuzdan emin olun.
@@ -6,15 +6,11 @@ uk:
6
6
  confirm_destroy: Ви впевнені, що хочете видалити це?
7
7
  destroy: Видалити
8
8
  edit: Редагувати
9
- new: Додати
10
9
  save: Зберегти
11
10
  title: Дії
12
11
  admins:
13
12
  create:
14
13
  error: При спробі додати нового адміністратора сталася помилка.
15
- success: Адміністратора успішно додано
16
- destroy:
17
- success: Адміністратора успішно видалено
18
14
  edit:
19
15
  title: Редагувати адміністратора
20
16
  update: Оновити
@@ -25,7 +21,6 @@ uk:
25
21
  title: Додати адміністратора
26
22
  update:
27
23
  error: При спробі оновити цього адміністратора сталася помилка.
28
- success: Адміністратора успішно оновлено
29
24
  default_pages:
30
25
  placeholders:
31
26
  content: Будь ласка, додайте змістовний вміст на статичну сторінку %{page} на приладній дошці адміністратора.
@@ -39,7 +34,6 @@ uk:
39
34
  fields:
40
35
  created_at: 'Додано:'
41
36
  email: Адреса електронної пошти
42
- name: Адміністратор
43
37
  validations:
44
38
  email_uniqueness: вже є інший адміністратор з такою ж адресою електронної пошти
45
39
  organization:
@@ -48,18 +42,14 @@ uk:
48
42
  fields:
49
43
  created_at: 'Додано:'
50
44
  name: Ім'я
51
- name: Організація
52
45
  organizations:
53
46
  create:
54
47
  error: При спробі додати нову організацію сталася помилка.
55
- success: Організацію успішно додано.
56
48
  edit:
57
49
  secondary_hosts_hint: Введіть кожен з них в новому рядку
58
50
  index:
59
51
  title: Організації
60
52
  new:
61
- reference_prefix_hint: Довідковий префікс використовується для унікального визначення ресурсів в усіх організаціях
62
- secondary_hosts_hint: Введіть кожен з них в новому рядку
63
53
  title: Додати організацію
64
54
  update:
65
55
  error: При спробі оновити цю організацію сталася помилка.
@@ -31,15 +31,11 @@ zh-CN:
31
31
  confirm_destroy: 您确定要删除这个吗?
32
32
  destroy: 删除
33
33
  edit: 编辑
34
- new: 新的
35
34
  save: 保存
36
35
  title: 行动
37
36
  admins:
38
37
  create:
39
38
  error: 创建新管理员时出错。
40
- success: 管理员创建成功
41
- destroy:
42
- success: 管理员删除成功
43
39
  edit:
44
40
  title: 编辑管理员
45
41
  update: 更新
@@ -50,7 +46,6 @@ zh-CN:
50
46
  title: 新管理员
51
47
  update:
52
48
  error: 更新此管理员时出错。
53
- success: 管理员更新成功
54
49
  default_pages:
55
50
  placeholders:
56
51
  content: 请添加有意义的内容到管理仪表盘上的 %{page} 静态页面。
@@ -65,7 +60,6 @@ zh-CN:
65
60
  fields:
66
61
  created_at: 创建于
67
62
  email: 电子邮件地址
68
- name: 管理员
69
63
  validations:
70
64
  email_uniqueness: 已存在具有相同电子邮件的其他管理员
71
65
  oauth_application:
@@ -73,7 +67,6 @@ zh-CN:
73
67
  created_at: 创建于
74
68
  name: OAuth 应用程序名称
75
69
  organization_name: 组织
76
- name: OAuth 应用程序
77
70
  organization:
78
71
  actions:
79
72
  save_and_invite: 创建机构并邀请管理员
@@ -83,7 +76,6 @@ zh-CN:
83
76
  name: 名称
84
77
  omniauth_settings: Omniauth 设置
85
78
  smtp_settings: SMTP 设置
86
- name: 组织
87
79
  oauth_applications:
88
80
  create:
89
81
  error: 创建此应用程序时出现问题。
@@ -108,7 +100,6 @@ zh-CN:
108
100
  organizations:
109
101
  create:
110
102
  error: 创建一个新组织时出现问题。
111
- success: 组织成功创建。
112
103
  edit:
113
104
  secondary_hosts_hint: 在新行中输入其中每一个
114
105
  file_upload_settings:
@@ -132,8 +123,6 @@ zh-CN:
132
123
  index:
133
124
  title: 组织
134
125
  new:
135
- reference_prefix_hint: 引用前缀被用来独特地识别所有组织的资源
136
- secondary_hosts_hint: 在新行中输入其中每一个
137
126
  title: 新建组织
138
127
  omniauth_settings:
139
128
  decidim:
@@ -163,7 +152,6 @@ zh-CN:
163
152
  users_registration_mode:
164
153
  disabled: 只能通过外部帐户访问
165
154
  enabled: 允许参与者注册并登录
166
- existing: 不允许参与者注册,但允许现有参与者登录
167
155
  shared:
168
156
  notices:
169
157
  no_organization_warning_html: 您必须创建一个组织才能启动。请确保您在继续之前阅读 %{guide}。
@@ -38,15 +38,14 @@ zh-TW:
38
38
  confirm_destroy: 是否確定要刪除這個?
39
39
  destroy: 刪除
40
40
  edit: 編輯
41
- new: 新的
42
41
  save: 儲存
43
42
  title: 操作
44
43
  admins:
45
44
  create:
46
45
  error: 新增管理員時發生問題
47
- success: 管理員創建成功
46
+ success: 管理員創建成功.
48
47
  destroy:
49
- success: 管理員成功刪除
48
+ success: 管理員成功刪除.
50
49
  edit:
51
50
  title: 編輯管理貝
52
51
  update: 更新
@@ -57,14 +56,16 @@ zh-TW:
57
56
  title: 新增管理員
58
57
  update:
59
58
  error: 更新此管理員時發生問題。
60
- success: 管理員已成功更新
59
+ success: 管理員已成功更新.
61
60
  dashboard:
62
61
  show:
63
62
  current_organizations: 目前組織
64
63
  default_pages:
65
64
  placeholders:
66
65
  content: 請在管理員儀表板的 %{page} 靜態頁面上新增有意義的內容。
66
+ summary: 請在管理員儀表板的 %{page} 靜態頁面上新增有意義的摘要
67
67
  title: 預設的 %{page} 標題
68
+ terms-of-service: 服務條款
68
69
  menu:
69
70
  admins: 管理員
70
71
  dashboard: 儀表板
@@ -75,7 +76,6 @@ zh-TW:
75
76
  fields:
76
77
  created_at: 建立於
77
78
  email: 電子郵件
78
- name: 管理員
79
79
  validations:
80
80
  email_uniqueness: 已有相同電子郵件的其他管理員存在
81
81
  oauth_application:
@@ -83,7 +83,6 @@ zh-TW:
83
83
  created_at: 建立於
84
84
  name: OAuth 應用程式名稱
85
85
  organization_name: 組織
86
- name: Oauth 應用程式
87
86
  organization:
88
87
  actions:
89
88
  save_and_invite: 建立組織並邀請管理員
@@ -93,7 +92,6 @@ zh-TW:
93
92
  name: 姓名
94
93
  omniauth_settings: Omniauth 設置
95
94
  smtp_settings: SMTP設定
96
- name: 組織
97
95
  oauth_applications:
98
96
  create:
99
97
  error: 創建應用程序時出現問題。
@@ -121,7 +119,6 @@ zh-TW:
121
119
  show: 顯示進階設定
122
120
  create:
123
121
  error: 創建新組織時發生問題。
124
- success: 組織創建成功。
125
122
  edit:
126
123
  secondary_hosts_hint: 請在新的一行輸入每一個
127
124
  file_upload_settings:
@@ -145,8 +142,8 @@ zh-TW:
145
142
  index:
146
143
  title: 組織
147
144
  new:
148
- reference_prefix_hint: 參考前綴用於唯一標識所有組織中的資源
149
- secondary_hosts_hint: 請在新的一行輸入每一個
145
+ reference_prefix_hint: 參考前綴用於唯一標識所有組織中的資源.
146
+ secondary_hosts_hint: 請在新的一行輸入每一個.
150
147
  title: 新增組織
151
148
  omniauth_settings:
152
149
  decidim:
@@ -170,7 +167,7 @@ zh-TW:
170
167
  fieldsets:
171
168
  sender: 寄件者
172
169
  instructions:
173
- from_label: '郵件發送者將會是:"您的組織名稱 <your-organization@example.org>"。若要使用「電子郵件地址」作為標籤,請留空'
170
+ from_label: '郵件發送者將會是:"您的組織名稱 <your-organization@example.org>"。若要使用「電子郵件地址」作為標籤,請留空.'
174
171
  placeholder:
175
172
  from_email: your-organization@example.org
176
173
  from_label: 你的組織名稱
data/config/routes.rb CHANGED
@@ -11,8 +11,12 @@ Decidim::System::Engine.routes.draw do
11
11
  }
12
12
 
13
13
  authenticate(:admin) do
14
- resources :organizations, except: [:destroy]
15
- resources :admins
14
+ resources :organizations, except: [:show, :destroy] do
15
+ member do
16
+ post :resend_invitation
17
+ end
18
+ end
19
+ resources :admins, except: [:show]
16
20
  resources :oauth_applications
17
21
 
18
22
  root to: "dashboard#show"
data/db/seeds.rb CHANGED
@@ -6,7 +6,7 @@ if !Rails.env.production? || ENV.fetch("SEED", nil)
6
6
  password = ENV.fetch("DECIDIM_SYSTEM_USER_PASSWORD", "decidim123456789")
7
7
 
8
8
  Decidim::System::Admin.find_or_initialize_by(email: "system@example.org").update!(
9
- password: password,
9
+ password:,
10
10
  password_confirmation: password
11
11
  )
12
12
 
@@ -6,6 +6,7 @@ require "active_support/all"
6
6
  require "devise"
7
7
  require "devise-i18n"
8
8
  require "decidim/core"
9
+ require "decidim/system/menu"
9
10
  require "foundation_rails_helper"
10
11
 
11
12
  module Decidim
@@ -21,31 +22,7 @@ module Decidim
21
22
  end
22
23
 
23
24
  initializer "decidim_system.menu" do
24
- Decidim.menu :system_menu do |menu|
25
- menu.add_item :root,
26
- I18n.t("menu.dashboard", scope: "decidim.system"),
27
- decidim_system.root_path,
28
- position: 1,
29
- active: ["decidim/system/dashboard" => :show]
30
-
31
- menu.add_item :organizations,
32
- I18n.t("menu.organizations", scope: "decidim.system"),
33
- decidim_system.organizations_path,
34
- position: 2,
35
- active: :inclusive
36
-
37
- menu.add_item :admins,
38
- I18n.t("menu.admins", scope: "decidim.system"),
39
- decidim_system.admins_path,
40
- position: 3,
41
- active: :inclusive
42
-
43
- menu.add_item :oauth_applications,
44
- I18n.t("menu.oauth_applications", scope: "decidim.system"),
45
- decidim_system.oauth_applications_path,
46
- position: 4,
47
- active: [%w(decidim/system/oauth_applications), []]
48
- end
25
+ Decidim::System::Menu.register_system_menu!
49
26
  end
50
27
 
51
28
  initializer "decidim_system.webpacker.assets_path" do
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ module System
5
+ class Menu
6
+ def self.register_system_menu!
7
+ Decidim.menu :system_menu do |menu|
8
+ menu.add_item :root,
9
+ I18n.t("menu.dashboard", scope: "decidim.system"),
10
+ decidim_system.root_path,
11
+ position: 1,
12
+ active: ["decidim/system/dashboard" => :show]
13
+
14
+ menu.add_item :organizations,
15
+ I18n.t("menu.organizations", scope: "decidim.system"),
16
+ decidim_system.organizations_path,
17
+ position: 2,
18
+ active: :inclusive
19
+
20
+ menu.add_item :admins,
21
+ I18n.t("menu.admins", scope: "decidim.system"),
22
+ decidim_system.admins_path,
23
+ position: 3,
24
+ active: :inclusive
25
+
26
+ menu.add_item :oauth_applications,
27
+ I18n.t("menu.oauth_applications", scope: "decidim.system"),
28
+ decidim_system.oauth_applications_path,
29
+ position: 4,
30
+ active: [%w(decidim/system/oauth_applications), []]
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-system version.
5
5
  module System
6
6
  def self.version
7
- "0.27.4"
7
+ "0.28.0.rc5"
8
8
  end
9
9
  end
10
10
  end
@@ -8,7 +8,7 @@ namespace :decidim_system do
8
8
  password = prompt("Password")
9
9
  password_confirmation = prompt("Password confirmation")
10
10
 
11
- admin = Decidim::System::Admin.new(email: email, password: password, password_confirmation: password_confirmation)
11
+ admin = Decidim::System::Admin.new(email:, password:, password_confirmation:)
12
12
 
13
13
  if admin.valid?
14
14
  admin.save!
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.27.4
4
+ version: 0.28.0.rc5
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-07-27 00:00:00.000000000 Z
13
+ date: 2023-12-18 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.27.4
35
+ version: 0.28.0.rc5
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.27.4
42
+ version: 0.28.0.rc5
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: devise
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -75,6 +75,9 @@ dependencies:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
77
  version: '2.0'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 2.0.9
78
81
  type: :runtime
79
82
  prerelease: false
80
83
  version_requirements: !ruby/object:Gem::Requirement
@@ -82,20 +85,23 @@ dependencies:
82
85
  - - "~>"
83
86
  - !ruby/object:Gem::Version
84
87
  version: '2.0'
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: 2.0.9
85
91
  - !ruby/object:Gem::Dependency
86
92
  name: decidim-dev
87
93
  requirement: !ruby/object:Gem::Requirement
88
94
  requirements:
89
95
  - - '='
90
96
  - !ruby/object:Gem::Version
91
- version: 0.27.4
97
+ version: 0.28.0.rc5
92
98
  type: :development
93
99
  prerelease: false
94
100
  version_requirements: !ruby/object:Gem::Requirement
95
101
  requirements:
96
102
  - - '='
97
103
  - !ruby/object:Gem::Version
98
- version: 0.27.4
104
+ version: 0.28.0.rc5
99
105
  description: System administration to create new organization in an installation.
100
106
  email:
101
107
  - josepjaume@gmail.com
@@ -136,23 +142,12 @@ files:
136
142
  - app/models/decidim/system/admin.rb
137
143
  - app/models/decidim/system/application_record.rb
138
144
  - app/packs/entrypoints/decidim_system.js
139
- - app/packs/entrypoints/decidim_system.scss
140
145
  - app/packs/images/icons.svg
141
- - app/packs/src/decidim/system/application.js
142
- - app/packs/stylesheets/decidim/system/_actions.scss
143
- - app/packs/stylesheets/decidim/system/_forms.scss
144
- - app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss
145
- - app/packs/stylesheets/decidim/system/_layout.scss
146
- - app/packs/stylesheets/decidim/system/_login.scss
147
- - app/packs/stylesheets/decidim/system/_settings.scss
148
- - app/packs/stylesheets/decidim/system/_sidebar.scss
149
- - app/packs/stylesheets/decidim/system/_tables.scss
150
146
  - app/packs/stylesheets/decidim/system/application.scss
151
147
  - app/views/decidim/system/admins/_form.html.erb
152
148
  - app/views/decidim/system/admins/edit.html.erb
153
149
  - app/views/decidim/system/admins/index.html.erb
154
150
  - app/views/decidim/system/admins/new.html.erb
155
- - app/views/decidim/system/admins/show.html.erb
156
151
  - app/views/decidim/system/dashboard/show.html.erb
157
152
  - app/views/decidim/system/devise/mailers/password_change.html.erb
158
153
  - app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb
@@ -166,6 +161,7 @@ files:
166
161
  - app/views/decidim/system/oauth_applications/new.html.erb
167
162
  - app/views/decidim/system/oauth_applications/show.html.erb
168
163
  - app/views/decidim/system/organizations/_advanced_settings.html.erb
164
+ - app/views/decidim/system/organizations/_csp_settings.html.erb
169
165
  - app/views/decidim/system/organizations/_file_upload_settings.erb
170
166
  - app/views/decidim/system/organizations/_omniauth_provider.html.erb
171
167
  - app/views/decidim/system/organizations/_omniauth_settings.html.erb
@@ -173,7 +169,7 @@ files:
173
169
  - app/views/decidim/system/organizations/edit.html.erb
174
170
  - app/views/decidim/system/organizations/index.html.erb
175
171
  - app/views/decidim/system/organizations/new.html.erb
176
- - app/views/decidim/system/organizations/show.html.erb
172
+ - app/views/decidim/system/shared/_admins_list.html.erb
177
173
  - app/views/decidim/system/shared/_notices.html.erb
178
174
  - app/views/decidim/system/shared/_organizations_list.html.erb
179
175
  - app/views/layouts/decidim/system/_header.html.erb
@@ -251,9 +247,11 @@ files:
251
247
  - config/locales/sk.yml
252
248
  - config/locales/sl.yml
253
249
  - config/locales/so-SO.yml
250
+ - config/locales/sq-AL.yml
254
251
  - config/locales/sr-CS.yml
255
252
  - config/locales/sv.yml
256
253
  - config/locales/sw-KE.yml
254
+ - config/locales/th-TH.yml
257
255
  - config/locales/ti-ER.yml
258
256
  - config/locales/tr-TR.yml
259
257
  - config/locales/uk.yml
@@ -267,13 +265,19 @@ files:
267
265
  - db/seeds.rb
268
266
  - lib/decidim/system.rb
269
267
  - lib/decidim/system/engine.rb
268
+ - lib/decidim/system/menu.rb
270
269
  - lib/decidim/system/test/factories.rb
271
270
  - lib/decidim/system/version.rb
272
271
  - lib/tasks/decidim_system.rake
273
- homepage: https://github.com/decidim/decidim
272
+ homepage: https://decidim.org
274
273
  licenses:
275
274
  - AGPL-3.0
276
- metadata: {}
275
+ metadata:
276
+ bug_tracker_uri: https://github.com/decidim/decidim/issues
277
+ documentation_uri: https://docs.decidim.org/
278
+ funding_uri: https://opencollective.com/decidim
279
+ homepage_uri: https://decidim.org
280
+ source_code_uri: https://github.com/decidim/decidim
277
281
  post_install_message:
278
282
  rdoc_options: []
279
283
  require_paths:
@@ -282,14 +286,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
282
286
  requirements:
283
287
  - - ">="
284
288
  - !ruby/object:Gem::Version
285
- version: '3.0'
289
+ version: '3.1'
286
290
  required_rubygems_version: !ruby/object:Gem::Requirement
287
291
  requirements:
288
- - - ">="
292
+ - - ">"
289
293
  - !ruby/object:Gem::Version
290
- version: '0'
294
+ version: 1.3.1
291
295
  requirements: []
292
- rubygems_version: 3.2.22
296
+ rubygems_version: 3.4.22
293
297
  signing_key:
294
298
  specification_version: 4
295
299
  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,8 +0,0 @@
1
- .actions{
2
- text-align: right;
3
-
4
- &.title{
5
- margin-bottom: $global-margin;
6
- font-size: 1.2em;
7
- }
8
- }
@@ -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
- }