decidim-system 0.28.1 → 0.29.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/app/cells/decidim/system/system_checks/show.erb +13 -0
  4. data/app/cells/decidim/system/system_checks_cell.rb +48 -0
  5. data/app/commands/decidim/system/create_default_content_blocks.rb +0 -3
  6. data/app/commands/decidim/system/{populate_help.rb → create_default_help_pages.rb} +14 -7
  7. data/app/commands/decidim/system/create_default_pages.rb +0 -1
  8. data/app/commands/decidim/system/{register_organization.rb → create_organization.rb} +11 -10
  9. data/app/controllers/decidim/system/dashboard_controller.rb +2 -0
  10. data/app/controllers/decidim/system/organizations_controller.rb +7 -1
  11. data/app/forms/decidim/system/base_organization_form.rb +127 -0
  12. data/app/forms/decidim/system/register_organization_form.rb +23 -3
  13. data/app/forms/decidim/system/update_organization_form.rb +18 -88
  14. data/app/models/decidim/system/admin.rb +2 -2
  15. data/app/packs/stylesheets/decidim/system/application.scss +57 -0
  16. data/app/views/decidim/system/dashboard/show.html.erb +4 -0
  17. data/app/views/decidim/system/oauth_applications/_form.html.erb +1 -1
  18. data/app/views/decidim/system/oauth_applications/index.html.erb +2 -2
  19. data/app/views/decidim/system/organizations/edit.html.erb +5 -3
  20. data/app/views/decidim/system/shared/_admins_list.html.erb +2 -2
  21. data/app/views/decidim/system/shared/_organizations_list.html.erb +3 -3
  22. data/app/views/layouts/decidim/system/_js_configuration.html.erb +1 -1
  23. data/app/views/layouts/decidim/system/login.html.erb +1 -1
  24. data/config/locales/ar.yml +0 -1
  25. data/config/locales/bg.yml +22 -4
  26. data/config/locales/ca.yml +18 -4
  27. data/config/locales/cs.yml +5 -3
  28. data/config/locales/de.yml +16 -4
  29. data/config/locales/el.yml +0 -4
  30. data/config/locales/en.yml +18 -4
  31. data/config/locales/es-MX.yml +18 -4
  32. data/config/locales/es-PY.yml +18 -4
  33. data/config/locales/es.yml +18 -4
  34. data/config/locales/eu.yml +18 -4
  35. data/config/locales/fi-plain.yml +18 -4
  36. data/config/locales/fi.yml +18 -4
  37. data/config/locales/fr-CA.yml +18 -4
  38. data/config/locales/fr.yml +18 -4
  39. data/config/locales/gl.yml +0 -1
  40. data/config/locales/hu.yml +0 -2
  41. data/config/locales/id-ID.yml +0 -1
  42. data/config/locales/it.yml +1 -1
  43. data/config/locales/ja.yml +18 -4
  44. data/config/locales/lt.yml +0 -4
  45. data/config/locales/lv.yml +0 -1
  46. data/config/locales/nl.yml +0 -1
  47. data/config/locales/no.yml +0 -1
  48. data/config/locales/pl.yml +120 -1
  49. data/config/locales/pt-BR.yml +0 -2
  50. data/config/locales/pt.yml +0 -1
  51. data/config/locales/ro-RO.yml +0 -1
  52. data/config/locales/ru.yml +0 -1
  53. data/config/locales/sk.yml +0 -1
  54. data/config/locales/sv.yml +0 -1
  55. data/config/locales/tr-TR.yml +22 -1
  56. data/config/locales/zh-CN.yml +0 -1
  57. data/config/locales/zh-TW.yml +0 -4
  58. data/db/seeds.rb +1 -1
  59. data/decidim-system.gemspec +1 -1
  60. data/lib/decidim/system/engine.rb +4 -0
  61. data/lib/decidim/system/version.rb +1 -1
  62. data/lib/tasks/decidim_system.rake +1 -1
  63. metadata +18 -16
  64. data/app/mailers/decidim/system/application_mailer.rb +0 -12
@@ -32,17 +32,27 @@ pl:
32
32
  attributes:
33
33
  redirect_uri:
34
34
  must_be_ssl: URI przekierowania musi być URI SSL
35
+ organization:
36
+ attributes:
37
+ password:
38
+ secret_key: Musisz zdefiniować zmienną środowiskową SECRET_KEY_BASE, aby móc zapisać to pole
35
39
  decidim:
36
40
  system:
37
41
  actions:
38
42
  confirm_destroy: Czy na pewno chcesz to usunąć?
39
43
  destroy: Usuń
40
44
  edit: Edytuj
45
+ new_admin: Nowy administrator
46
+ new_oauth_application: Nowa aplikacja OAuth
47
+ new_organization: Nowa organizacja
41
48
  save: Zapisz
42
49
  title: Działania
43
50
  admins:
44
51
  create:
45
52
  error: Podczas tworzenia nowego administratora wystąpił błąd.
53
+ success: Administrator został utworzony.
54
+ destroy:
55
+ success: Administrator został usunięty.
46
56
  edit:
47
57
  title: Edytuj administratora
48
58
  update: Aktualizuj
@@ -53,10 +63,33 @@ pl:
53
63
  title: Nowy administrator
54
64
  update:
55
65
  error: Podczas aktualizowania tego administratora wystąpił błąd.
66
+ success: Administrator został zaktualizowany.
67
+ dashboard:
68
+ show:
69
+ admins: Administratorzy
70
+ current_organizations: Bieżące organizacje
71
+ system_checks: Sprawdzenie systemu
56
72
  default_pages:
57
73
  placeholders:
58
74
  content: Proszę dodać istotne treści do strony statycznej %{page} w panelu administratora.
75
+ summary: Prosimy o dodanie merytorycznej treści na stronie statycznej %{page} w panelu admina.
59
76
  title: Domyślny tytuł dla %{page}
77
+ terms-of-service: Warunki korzystania z usługi
78
+ devise:
79
+ passwords:
80
+ edit:
81
+ change_your_password: Zmień swoje hasło
82
+ minimum_characters: "(Minimum %{minimum} znaków)"
83
+ new:
84
+ forgot_your_password: Zapomniałeś hasła
85
+ send_me_reset_password_instructions: Wyślij mi instrukcje resetowania hasła
86
+ shared:
87
+ links:
88
+ did_not_receive_confirmation_instructions?: Nie otrzymałeś(aś) instrukcji potwierdzenia?
89
+ did_not_receive_unlock_instructions?: Nie dotarła instrukcja odblokowania?
90
+ forgot_your_password?: Nie pamiętasz hasła?
91
+ log_in: Zaloguj się
92
+ sign_up: Utwórz konto
60
93
  menu:
61
94
  admins: Administratorzy
62
95
  dashboard: Panel
@@ -78,6 +111,7 @@ pl:
78
111
  actions:
79
112
  save_and_invite: Utwórz organizację i zaproś administratora
80
113
  fields:
114
+ content_security_policy: Polityka bezpieczeństwa treści
81
115
  created_at: Utworzono
82
116
  file_upload_settings: Ustawienia przesyłania pliku
83
117
  name: Nazwa
@@ -105,10 +139,66 @@ pl:
105
139
  error: Wystąpił błąd podczas aktualizowania tej aplikacji.
106
140
  success: Aplikacja została zaktualizowana.
107
141
  organizations:
142
+ advanced_settings:
143
+ hide: Ukryj ustawienia zaawansowane
144
+ show: Pokaż ustawienia zaawansowane
108
145
  create:
109
146
  error: Podczas tworzenia nowej organizacji wystąpił błąd.
147
+ error_invitation: Wystąpił problem podczas tworzenia nowej organizacji. Przejrzyj nazwę administratora organizacji.
148
+ success_html: |
149
+ <p>
150
+ Organizacja utworzona pomyślnie.
151
+ </p>
152
+ <ol>
153
+ <li>Być może będziesz musiał(a) zaktualizować swój kod aplikacji, jako że aby zezwolić na żądania do %{host} musisz dodać następujące informacje do konfiguracji środowiska
154
+ (<code>config/environment/production.rb</code>) lub twój <code>config/application.rb</code>:
155
+ <p> config.hosts << "%{host}" </p>
156
+ </li>
157
+ <li>
158
+ Jak to zostanie zrobione, będziesz mieć dostęp do swojej platformy przez <a href="http://%{host}">http://%{host}</a>
159
+ </li>
160
+ <li>
161
+ Wysłaliśmy wiadomość e-mail na <b>%{email}</b>, którą musisz potwierdzić.
162
+ </li>
163
+ </ol>
164
+ csp_settings:
165
+ connect_src: Połącz src
166
+ connect_src_hint: |
167
+ Dyrektywa connect-src ogranicza adresy URL, które mogą być załadowane przy użyciu elementów <script>.
168
+ Platforma doda 'self', ale pozwala Ci dodać więcej. Pozostaw puste, jeśli nie masz pewności.
169
+ default_src: Domyślne src
170
+ default_src_hint: |
171
+ Dyrektywa default-src jest domyślną polityką ładowania treści takich jak JavaScript, obrazy, CSS, czcionki, żądania AJAX, ramki, media HTML5.
172
+ Platforma doda "self" "unsafe-inline", ale pozwala Ci dodać więcej. Pozostaw puste, jeśli nie masz pewności.
173
+ font_src: Czcionka src
174
+ font_src_hint: |
175
+ Dyrektywa font-src ogranicza adresy URL, które można załadować za pomocą @font-face.
176
+ Platforma doda 'self', ale pozwala Ci dodać więcej. Pozostaw puste, jeśli nie masz pewności.
177
+ frame_src: Ramka src
178
+ frame_src_hint: |
179
+ Dyrektywa frame-src ogranicza adresy URL, które mogą być załadowane przy użyciu elementów <frame>, <iframe> i <object>.
180
+ Platforma doda 'self', ale pozwala Ci dodać więcej. Pozostaw puste, jeśli nie masz pewności.
181
+ img_src: Img src
182
+ img_src_hint: |
183
+ Dyrektywa img-src ogranicza adresy URL, które mogą być załadowane przy użyciu elementów <img>, <image>, <picture> i <svg>.
184
+ Platforma doda 'self', ale pozwala Ci dodać więcej. Pozostaw puste, jeśli nie masz pewności.
185
+ media_src: Media src
186
+ media_src_hint: |
187
+ Dyrektywa media-src ogranicza adresy URL, które mogą być ładowane przy użyciu elementów <video>, <audio> i <source>.
188
+ Platforma doda 'self', ale pozwala Ci dodać więcej. Pozostaw puste, jeśli nie masz pewności.
189
+ script_src: Script src
190
+ script_src_hint: |
191
+ Dyrektywa script-src ogranicza adresy URL, które mogą być załadowane przy użyciu elementów <script>.
192
+ Platforma doda "'self' 'unsafe-inline' 'unsafe-eval'", ale pozwala Ci dodać więcej. Zostaw puste, jeśli nie masz pewności.
193
+ style_src: Style src
194
+ style_src_hint: |
195
+ Dyrektywa style-src ogranicza adresy URL, które mogą być załadowane przy użyciu elementów <style>.
196
+ Platforma doda "self" "unsafe-inline", ale pozwala ci dodać więcej. Pozostaw puste, jeśli nie masz pewności.
110
197
  edit:
198
+ confirm_resend_invitation: Czy na pewno wysłać ponownie zaproszenie?
199
+ resend_invitation: Wyślij ponownie zaproszenie
111
200
  secondary_hosts_hint: Wpisz każdy z nich w nowej linii
201
+ title: Edytuj organizację
112
202
  file_upload_settings:
113
203
  content_types:
114
204
  admin_hint: Te typy plików są dozwolone dla przesyłania w sekcji administracyjnej. Administratorzy powinni być świadomi zagrożeń związanych z przesyłaniem niektórych formatów dokumentów, więc możesz oczekiwać, że będą ostrożni przy przesyłaniu plików.
@@ -130,6 +220,12 @@ pl:
130
220
  index:
131
221
  title: Organizacje
132
222
  new:
223
+ default: Domyślne?
224
+ enabled: Włączone
225
+ locale: Ustawienie regionalne
226
+ organization_admin_email_hint: Wyślemy wiadomość e-mail na ten adres, dzięki czemu będziesz mógł (mogła) go potwierdzić i skonfigurować hasło.
227
+ reference_prefix_hint: Prefiks referencyjny jest używany do jednoznacznej identyfikacji zasobów we wszystkich organizacjach.
228
+ secondary_hosts_hint: Wprowadź każdy z nich w nowej linii.
133
229
  title: Nowa organizacja
134
230
  omniauth_settings:
135
231
  decidim:
@@ -149,9 +245,14 @@ pl:
149
245
  twitter:
150
246
  api_key: Klucz API
151
247
  api_secret: Sekret API
248
+ resend_invitation:
249
+ error: Podczas wysyłania zaproszenia wystąpił problem.
250
+ success: Zaproszenie pomyślnie wysłane.
152
251
  smtp_settings:
153
252
  fieldsets:
154
253
  sender: Nadawca
254
+ instructions:
255
+ from_label: 'Nadawcą wiadomości e-mail będzie: "twoja-nazwa-organizacji <twoja-organizacja@przyklad.org>". Pozostaw puste, aby użyć tego samego, co zostało zdefiniowane dla organizacji.'
155
256
  placeholder:
156
257
  from_email: twoja-organizacja@przyklad.org
157
258
  from_label: twoja-nazwa-organizacji
@@ -160,10 +261,28 @@ pl:
160
261
  success: Organizacja została zaktualizowana.
161
262
  users_registration_mode:
162
263
  disabled: Dostęp można uzyskać tylko za pomocą kont zewnętrznych
163
- enabled: Zezwalaj użytkownikom na rejestrację i logowanie
264
+ enabled: Pozwól uczestnikom utworzyć konto i zalogować się
265
+ existing: Nie zezwalaj uczestnikom na rejestrację, ale zezwalaj obecnym uczestnikom na logowanie
164
266
  shared:
165
267
  notices:
166
268
  no_organization_warning_html: Aby rozpocząć, musisz utworzyć organizację. Przed kontynuowaniem przeczytaj %{guide}.
167
269
  our_getting_started_guide: nasz przewodnik
270
+ organizations_list:
271
+ confirm_resend_invitation: Czy na pewno wysłać ponownie zaproszenie?
272
+ resend_invitation: Wyślij ponownie zaproszenie
273
+ system_checks:
274
+ active_job_queue:
275
+ decidim_documentation: Dokumentacja Decidim
276
+ error: Kolejka ActiveJob nie jest skonfigurowana. Nie jest to zalecana konfiguracja dla produkcji. Przeczytaj więcej na %{error_extra}.
277
+ success: Kolejka ActiveJob jest skonfigurowana poprawnie.
278
+ secret_key:
279
+ error: 'Tajny klucz nie jest poprawnie zdefiniowany. Zapisz do zmiennej środowiskowej SECRET_KEY_BASE i zrestartuj serwer: %{error_extra}'
280
+ success: Sekretny klucz jest skonfigurowany poprawnie.
168
281
  titles:
169
282
  dashboard: Panel
283
+ decidim: Decidim
284
+ layouts:
285
+ decidim:
286
+ system:
287
+ login_items:
288
+ logout: Wyloguj się
@@ -74,7 +74,6 @@ pt-BR:
74
74
  did_not_receive_unlock_instructions?: Não recebeu instruções de desbloqueio?
75
75
  forgot_your_password?: Esqueceu sua senha?
76
76
  log_in: Iniciar sessão
77
- sign_up: Cadastrar-se
78
77
  menu:
79
78
  admins: Administradores
80
79
  dashboard: painel de controle
@@ -186,7 +185,6 @@ pt-BR:
186
185
  success: Organização atualizada com sucesso.
187
186
  users_registration_mode:
188
187
  disabled: O acesso só pode ser feito com contas externas
189
- enabled: Permitir que os usuários se registrem e efetuem login
190
188
  shared:
191
189
  notices:
192
190
  no_organization_warning_html: Você deve criar uma organização para começar. Certifique-se de ler %{guide} antes de prosseguir.
@@ -165,7 +165,6 @@ pt:
165
165
  success: Organização atualizada corretamente.
166
166
  users_registration_mode:
167
167
  disabled: O acesso só pode ser feito com contas externas
168
- enabled: Permitir que os participantes se registem e iniciem sessão
169
168
  shared:
170
169
  notices:
171
170
  no_organization_warning_html: Você deve criar uma organização para começar. Certifique-se de ler %{guide} antes de prosseguir.
@@ -184,7 +184,6 @@ ro:
184
184
  success: Organizația a fost actualizată.
185
185
  users_registration_mode:
186
186
  disabled: Accesul se poate face doar cu conturi externe
187
- enabled: Permite participanților să se înregistreze și să se autentifice
188
187
  shared:
189
188
  notices:
190
189
  no_organization_warning_html: Trebuie să creezi o organizație pentru a începe. Asigură-te că ai citit %{guide} înainte de a continua.
@@ -74,7 +74,6 @@ ru:
74
74
  success: Организация успешно обновлена.
75
75
  users_registration_mode:
76
76
  disabled: Доступ может быть предоставлен только с внешними аккаунтами
77
- enabled: Разрешить участникам регистрироваться и входить
78
77
  shared:
79
78
  notices:
80
79
  no_organization_warning_html: Для начала определите организацию. Обязательно почитайте %{guide}, прежде чем продолжать дальше.
@@ -93,7 +93,6 @@ sk:
93
93
  success: Organizácia úspešne aktualizovaná.
94
94
  users_registration_mode:
95
95
  disabled: Môžete pristupovať iba pomocou externého účtu
96
- enabled: Umožniť účastníkom registráciu a prihlásenie sa
97
96
  shared:
98
97
  notices:
99
98
  no_organization_warning_html: Musíte vytvoriť organizáciu, aby ste mohli začať. Prečítajte si %{guide}, než začnete.
@@ -155,7 +155,6 @@ sv:
155
155
  success: Organisationen har uppdaterats.
156
156
  users_registration_mode:
157
157
  disabled: Åtkomst kan endast göras med externa konton
158
- enabled: Tillåt deltagare att registrera och logga in
159
158
  shared:
160
159
  notices:
161
160
  no_organization_warning_html: Kom igång genom att skapa en organisation. Läs %{guide} innan du fortsätter.
@@ -110,6 +110,26 @@ tr:
110
110
  organizations:
111
111
  create:
112
112
  error: Yeni bir organizasyon oluştururken bir sorun oluştu.
113
+ error_invitation: Yeni bir kuruluş oluşturulurken bir sorun oluştu. Kuruluşunuzun yönetici adını gözden geçirin.
114
+ csp_settings:
115
+ default_src_hint: |
116
+ Default-src yönergesi, JavaScript, Görseller, CSS, Yazı Tipleri, AJAX istekleri, Çerçeveler, HTML5 Medya gibi içeriklerin yüklenmesine ilişkin varsayılan politikadır.
117
+ Platform "'self' 'unsafe-inline'" ekleyecektir, ancak daha fazlasını eklemenize olanak tanır. Emin değilseniz boş bırakın.
118
+ font_src_hint: |
119
+ Font-src yönergesi @font-face kullanılarak yüklenebilecek URL'leri kısıtlar.
120
+ Platform 'kendini' ekleyecektir ancak daha fazlasını eklemenize olanak tanır. Emin değilseniz boş bırakın.
121
+ frame_src_hint: |
122
+ Frame-src yönergesi <frame>, <iframe> ve <object> öğeleri kullanılarak yüklenebilecek URL'leri kısıtlar.
123
+ Platform 'kendini' ekleyecektir ancak daha fazlasını eklemenize olanak tanır. Emin değilseniz boş bırakın.
124
+ media_src_hint: |
125
+ Media-src yönergesi <video>, <audio> ve <source> öğeleri kullanılarak yüklenebilecek URL'leri kısıtlar.
126
+ Platform 'kendini' ekleyecektir ancak daha fazlasını eklemenize olanak tanır. Emin değilseniz boş bırakın.
127
+ script_src_hint: |
128
+ Script-src yönergesi <script> öğeleri kullanılarak yüklenebilecek URL'leri kısıtlar.
129
+ Platform "'self' 'unsafe-inline' 'unsafe-eval'" ekleyecektir, ancak daha fazlasını eklemenize olanak tanır. Emin değilseniz boş bırakın.
130
+ style_src_hint: |
131
+ Style-src yönergesi <style> öğeleri kullanılarak yüklenebilecek URL'leri kısıtlar.
132
+ Platform "'self' 'unsafe-inline'" ekleyecektir, ancak daha fazlasını eklemenize olanak tanır. Emin değilseniz boş bırakın.
113
133
  edit:
114
134
  secondary_hosts_hint: Her birini yeni bir satıra girin
115
135
  file_upload_settings:
@@ -155,6 +175,8 @@ tr:
155
175
  smtp_settings:
156
176
  fieldsets:
157
177
  sender: Gönderen
178
+ instructions:
179
+ from_label: 'E-posta göndereni "kuruluşunuzun-adı <kuruluşunuz@example.org>". Kuruluş için tanımlananla aynı adı kullanmak için boş bırakın.'
158
180
  placeholder:
159
181
  from_email: your-organization@example.org
160
182
  from_label: your-organization-name
@@ -163,7 +185,6 @@ tr:
163
185
  success: Kuruluş başarıyla güncellendi.
164
186
  users_registration_mode:
165
187
  disabled: Erişim yalnızca harici hesaplarla yapılabilir
166
- enabled: Katılımcıların kaydolmasına ve giriş yapmasına izin ver
167
188
  shared:
168
189
  notices:
169
190
  no_organization_warning_html: Başlamak için bir organizasyon oluşturmanız gerekir. Devam etmeden önce %{guide} okuduğunuzdan emin olun.
@@ -151,7 +151,6 @@ zh-CN:
151
151
  success: 组织已成功更新。
152
152
  users_registration_mode:
153
153
  disabled: 只能通过外部帐户访问
154
- enabled: 允许参与者注册并登录
155
154
  shared:
156
155
  notices:
157
156
  no_organization_warning_html: 您必须创建一个组织才能启动。请确保您在继续之前阅读 %{guide}。
@@ -166,8 +166,6 @@ zh-TW:
166
166
  smtp_settings:
167
167
  fieldsets:
168
168
  sender: 寄件者
169
- instructions:
170
- from_label: '郵件發送者將會是:"您的組織名稱 <your-organization@example.org>"。若要使用「電子郵件地址」作為標籤,請留空.'
171
169
  placeholder:
172
170
  from_email: your-organization@example.org
173
171
  from_label: 你的組織名稱
@@ -176,8 +174,6 @@ zh-TW:
176
174
  success: 組織已成功更新。
177
175
  users_registration_mode:
178
176
  disabled: 只能使用外部帳戶進行存取
179
- enabled: 允許參與者註冊和登錄
180
- existing: 不允許參與者註冊,但允許現有參與者登錄
181
177
  shared:
182
178
  notices:
183
179
  no_organization_warning_html: 你必須先建立一個組織才能開始。請確認在繼續前已閱讀 %{guide}。
data/db/seeds.rb CHANGED
@@ -12,6 +12,6 @@ if !Rails.env.production? || ENV.fetch("SEED", nil)
12
12
 
13
13
  Decidim::Organization.find_each do |organization|
14
14
  Decidim::System::CreateDefaultPages.call(organization)
15
- Decidim::System::PopulateHelp.call(organization)
15
+ Decidim::System::CreateDefaultHelpPages.call(organization)
16
16
  end
17
17
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  "homepage_uri" => "https://decidim.org",
20
20
  "source_code_uri" => "https://github.com/decidim/decidim"
21
21
  }
22
- s.required_ruby_version = "~> 3.1.0"
22
+ s.required_ruby_version = "~> 3.2.0"
23
23
 
24
24
  s.name = "decidim-system"
25
25
  s.summary = "Decidim system administration"
@@ -28,6 +28,10 @@ module Decidim
28
28
  initializer "decidim_system.webpacker.assets_path" do
29
29
  Decidim.register_assets_path File.expand_path("app/packs", root)
30
30
  end
31
+
32
+ initializer "decidim_system.add_cells_view_paths" do
33
+ Cell::ViewModel.view_paths << File.expand_path("#{Decidim::System::Engine.root}/app/cells")
34
+ end
31
35
  end
32
36
  end
33
37
  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.28.1"
7
+ "0.29.0.rc1"
8
8
  end
9
9
  end
10
10
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  namespace :decidim_system do
4
- desc "Create a new system admin"
4
+ desc "Creates a new system admin"
5
5
  task create_admin: :environment do
6
6
  puts "Please, provide the following attributes to create a new system admin#{" (currently there are existing system admins)" if Decidim::System::Admin.exists?}:"
7
7
  email = prompt("email", hidden: false)
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.1
4
+ version: 0.29.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
8
8
  - Marc Riera Casals
9
9
  - Oriol Gual Oliva
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-04-30 00:00:00.000000000 Z
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.1
35
+ version: 0.29.0.rc1
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.1
42
+ version: 0.29.0.rc1
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.28.1
97
+ version: 0.29.0.rc1
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.1
104
+ version: 0.29.0.rc1
105
105
  description: System administration to create new organization in an installation.
106
106
  email:
107
107
  - josepjaume@gmail.com
@@ -113,13 +113,15 @@ extra_rdoc_files: []
113
113
  files:
114
114
  - README.md
115
115
  - Rakefile
116
+ - app/cells/decidim/system/system_checks/show.erb
117
+ - app/cells/decidim/system/system_checks_cell.rb
116
118
  - app/commands/decidim/system/create_admin.rb
117
119
  - app/commands/decidim/system/create_default_content_blocks.rb
120
+ - app/commands/decidim/system/create_default_help_pages.rb
118
121
  - app/commands/decidim/system/create_default_pages.rb
119
122
  - app/commands/decidim/system/create_oauth_application.rb
123
+ - app/commands/decidim/system/create_organization.rb
120
124
  - app/commands/decidim/system/destroy_oauth_application.rb
121
- - app/commands/decidim/system/populate_help.rb
122
- - app/commands/decidim/system/register_organization.rb
123
125
  - app/commands/decidim/system/update_admin.rb
124
126
  - app/commands/decidim/system/update_oauth_application.rb
125
127
  - app/commands/decidim/system/update_organization.rb
@@ -131,6 +133,7 @@ files:
131
133
  - app/controllers/decidim/system/oauth_applications_controller.rb
132
134
  - app/controllers/decidim/system/organizations_controller.rb
133
135
  - app/forms/decidim/system/admin_form.rb
136
+ - app/forms/decidim/system/base_organization_form.rb
134
137
  - app/forms/decidim/system/file_upload_settings_form.rb
135
138
  - app/forms/decidim/system/oauth_application_form.rb
136
139
  - app/forms/decidim/system/register_organization_form.rb
@@ -138,7 +141,6 @@ files:
138
141
  - app/helpers/decidim/system/application_helper.rb
139
142
  - app/helpers/decidim/system/menu_helper.rb
140
143
  - app/jobs/decidim/system/application_job.rb
141
- - app/mailers/decidim/system/application_mailer.rb
142
144
  - app/models/decidim/system/admin.rb
143
145
  - app/models/decidim/system/application_record.rb
144
146
  - app/packs/entrypoints/decidim_system.js
@@ -281,7 +283,7 @@ metadata:
281
283
  funding_uri: https://opencollective.com/decidim
282
284
  homepage_uri: https://decidim.org
283
285
  source_code_uri: https://github.com/decidim/decidim
284
- post_install_message:
286
+ post_install_message:
285
287
  rdoc_options: []
286
288
  require_paths:
287
289
  - lib
@@ -289,15 +291,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
289
291
  requirements:
290
292
  - - "~>"
291
293
  - !ruby/object:Gem::Version
292
- version: 3.1.0
294
+ version: 3.2.0
293
295
  required_rubygems_version: !ruby/object:Gem::Requirement
294
296
  requirements:
295
- - - ">="
297
+ - - ">"
296
298
  - !ruby/object:Gem::Version
297
- version: '0'
299
+ version: 1.3.1
298
300
  requirements: []
299
- rubygems_version: 3.5.9
300
- signing_key:
301
+ rubygems_version: 3.4.10
302
+ signing_key:
301
303
  specification_version: 4
302
304
  summary: Decidim system administration
303
305
  test_files: []
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Decidim
4
- module System
5
- # Custom application mailer, scoped to the system mailer.
6
- #
7
- class ApplicationMailer < ActionMailer::Base
8
- default from: Decidim.config.mailer_sender
9
- layout "mailer"
10
- end
11
- end
12
- end