decidim-system 0.28.5 → 0.29.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) 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} +5 -7
  9. data/app/controllers/decidim/system/application_controller.rb +0 -1
  10. data/app/controllers/decidim/system/dashboard_controller.rb +2 -0
  11. data/app/controllers/decidim/system/organizations_controller.rb +2 -1
  12. data/app/forms/decidim/system/base_organization_form.rb +127 -0
  13. data/app/forms/decidim/system/register_organization_form.rb +23 -3
  14. data/app/forms/decidim/system/update_organization_form.rb +18 -103
  15. data/app/models/decidim/system/admin.rb +2 -2
  16. data/app/packs/stylesheets/decidim/system/application.scss +57 -0
  17. data/app/views/decidim/system/dashboard/show.html.erb +4 -0
  18. data/app/views/decidim/system/oauth_applications/_form.html.erb +1 -1
  19. data/app/views/decidim/system/oauth_applications/index.html.erb +3 -3
  20. data/app/views/decidim/system/organizations/edit.html.erb +4 -2
  21. data/app/views/decidim/system/shared/_admins_list.html.erb +2 -2
  22. data/app/views/decidim/system/shared/_organizations_list.html.erb +3 -3
  23. data/app/views/layouts/decidim/system/_js_configuration.html.erb +1 -1
  24. data/app/views/layouts/decidim/system/login.html.erb +1 -1
  25. data/config/locales/ar.yml +0 -1
  26. data/config/locales/bg.yml +9 -3
  27. data/config/locales/ca.yml +12 -3
  28. data/config/locales/cs.yml +5 -8
  29. data/config/locales/de.yml +10 -3
  30. data/config/locales/el.yml +0 -2
  31. data/config/locales/en.yml +12 -3
  32. data/config/locales/es-MX.yml +12 -3
  33. data/config/locales/es-PY.yml +12 -3
  34. data/config/locales/es.yml +12 -3
  35. data/config/locales/eu.yml +19 -10
  36. data/config/locales/fi-plain.yml +16 -7
  37. data/config/locales/fi.yml +17 -8
  38. data/config/locales/fr-CA.yml +12 -3
  39. data/config/locales/fr.yml +12 -3
  40. data/config/locales/gl.yml +0 -1
  41. data/config/locales/hu.yml +0 -2
  42. data/config/locales/id-ID.yml +0 -1
  43. data/config/locales/it.yml +0 -1
  44. data/config/locales/ja.yml +12 -3
  45. data/config/locales/lt.yml +0 -2
  46. data/config/locales/lv.yml +0 -1
  47. data/config/locales/nl.yml +0 -1
  48. data/config/locales/no.yml +0 -1
  49. data/config/locales/pl.yml +11 -2
  50. data/config/locales/pt-BR.yml +0 -11
  51. data/config/locales/pt.yml +0 -1
  52. data/config/locales/ro-RO.yml +0 -1
  53. data/config/locales/ru.yml +0 -1
  54. data/config/locales/sk.yml +0 -1
  55. data/config/locales/sv.yml +13 -75
  56. data/config/locales/tr-TR.yml +0 -1
  57. data/config/locales/zh-CN.yml +0 -1
  58. data/config/locales/zh-TW.yml +0 -2
  59. data/db/seeds.rb +1 -1
  60. data/decidim-system.gemspec +2 -2
  61. data/lib/decidim/system/engine.rb +4 -0
  62. data/lib/decidim/system/version.rb +1 -1
  63. data/lib/tasks/decidim_system.rake +1 -1
  64. metadata +16 -15
  65. data/config/locales/bn-BD.yml +0 -1
  66. data/config/locales/bs-BA.yml +0 -44
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.version = Decidim::System.version
11
11
  s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
12
12
  s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
13
- s.license = "AGPL-3.0-or-later"
13
+ s.license = "AGPL-3.0"
14
14
  s.homepage = "https://decidim.org"
15
15
  s.metadata = {
16
16
  "bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
@@ -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.5"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.5
4
+ version: 0.29.0.rc1
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: 2025-02-12 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.5
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.5
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.5
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.5
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
@@ -186,8 +189,6 @@ files:
186
189
  - config/locales/ar.yml
187
190
  - config/locales/bg-BG.yml
188
191
  - config/locales/bg.yml
189
- - config/locales/bn-BD.yml
190
- - config/locales/bs-BA.yml
191
192
  - config/locales/ca.yml
192
193
  - config/locales/cs-CZ.yml
193
194
  - config/locales/cs.yml
@@ -275,7 +276,7 @@ files:
275
276
  - lib/tasks/decidim_system.rake
276
277
  homepage: https://decidim.org
277
278
  licenses:
278
- - AGPL-3.0-or-later
279
+ - AGPL-3.0
279
280
  metadata:
280
281
  bug_tracker_uri: https://github.com/decidim/decidim/issues
281
282
  documentation_uri: https://docs.decidim.org/
@@ -290,14 +291,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
290
291
  requirements:
291
292
  - - "~>"
292
293
  - !ruby/object:Gem::Version
293
- version: 3.1.0
294
+ version: 3.2.0
294
295
  required_rubygems_version: !ruby/object:Gem::Requirement
295
296
  requirements:
296
- - - ">="
297
+ - - ">"
297
298
  - !ruby/object:Gem::Version
298
- version: '0'
299
+ version: 1.3.1
299
300
  requirements: []
300
- rubygems_version: 3.3.7
301
+ rubygems_version: 3.4.10
301
302
  signing_key:
302
303
  specification_version: 4
303
304
  summary: Decidim system administration
@@ -1 +0,0 @@
1
- bn:
@@ -1,44 +0,0 @@
1
- ---
2
- bs:
3
- activemodel:
4
- attributes:
5
- oauth_application:
6
- organization_logo: Logo organizacije (kvadrat)
7
- organization_url: Link organizacije
8
- redirect_uri: Preusmeren URL
9
- organization:
10
- address: SMTP domaćin
11
- password: Šifra
12
- port: Port
13
- user_name: Korisničko ime
14
- errors:
15
- models:
16
- oauth_application:
17
- attributes:
18
- redirect_uri:
19
- must_be_ssl: URI za preusmeravanje mora biti SSL URI
20
- decidim:
21
- system:
22
- models:
23
- organization:
24
- fields:
25
- omniauth_settings: Omniauth podešavanja
26
- organizations:
27
- omniauth_settings:
28
- decidim:
29
- client_id: Identitet klijenta
30
- client_secret: Tajni ključ klijenta
31
- site_url: URL stranice
32
- enabled: Omogućeno
33
- enabled_by_default: Ovaj davalac usluga je automatski omogućen. Možete ga izmeniti, ali ne i isključiti.
34
- facebook:
35
- app_id: Identitet aplikacije
36
- app_secret: Tajni ključ aplikacije
37
- google_oauth2:
38
- client_id: Identitet klijenta
39
- client_secret: Tajni ključ klijenta
40
- icon: Ikona
41
- icon_path: Put ikone
42
- twitter:
43
- api_key: API ključ
44
- api_secret: API tajni ključ