decidim-system 0.20.1 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-system might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/commands/decidim/system/register_organization.rb +1 -0
- data/app/commands/decidim/system/update_organization.rb +1 -0
- data/app/controllers/decidim/system/organizations_controller.rb +1 -0
- data/app/forms/decidim/system/update_organization_form.rb +21 -0
- data/app/views/decidim/system/devise/shared/_links.html.erb +1 -1
- data/app/views/decidim/system/organizations/_omniauth_provider.html.erb +19 -0
- data/app/views/decidim/system/organizations/_omniauth_settings.html.erb +11 -0
- data/app/views/decidim/system/organizations/edit.html.erb +1 -0
- data/app/views/decidim/system/organizations/new.html.erb +1 -0
- data/config/locales/ar.yml +11 -0
- data/config/locales/ca.yml +14 -0
- data/config/locales/cs.yml +14 -0
- data/config/locales/el.yml +1 -0
- data/config/locales/en.yml +14 -0
- data/config/locales/es-MX.yml +14 -0
- data/config/locales/es-PY.yml +14 -0
- data/config/locales/es.yml +14 -0
- data/config/locales/fi-plain.yml +14 -0
- data/config/locales/fi.yml +14 -0
- data/config/locales/hu.yml +14 -0
- data/config/locales/it.yml +14 -0
- data/config/locales/nl.yml +10 -0
- data/config/locales/no.yml +14 -0
- data/lib/decidim/system/version.rb +1 -1
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf25dd773b68f62cd0175c53fb1c004c5ec3fbd991eb55c9e227f6f997902419
|
4
|
+
data.tar.gz: 45146c8202f6ad837dbd17f5f35395906c85f183f9cf60fe1ee3729e2d178e75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97ddf945ef6ee13bf1ba43f4d479497b5d6afa1449fffe0a14af8d463ad80a34db216165586ae5b52a0367256e42932e4128611d8416dab9316c429307b5adaa
|
7
|
+
data.tar.gz: f1f395bbe90f6a687477ccc90ed6edb9a12bc3d2c62f0520066d177c32929cfaf8d02543e8201f43c0e3a4134009b30bdf9998ed055e63c24f0dae97acb32d48
|
@@ -47,6 +47,7 @@ module Decidim
|
|
47
47
|
organization.force_users_to_authenticate_before_access_organization = form.force_users_to_authenticate_before_access_organization
|
48
48
|
organization.available_authorizations = form.clean_available_authorizations
|
49
49
|
organization.users_registration_mode = form.users_registration_mode
|
50
|
+
organization.omniauth_settings = form.encrypted_omniauth_settings
|
50
51
|
organization.smtp_settings = form.encrypted_smtp_settings
|
51
52
|
|
52
53
|
organization.save!
|
@@ -28,6 +28,18 @@ module Decidim
|
|
28
28
|
[:enable_starttls_auto, Boolean]
|
29
29
|
]
|
30
30
|
|
31
|
+
OMNIATH_PROVIDERS_ATTRIBUTES = Decidim::User.omniauth_providers.map do |provider|
|
32
|
+
Rails.application.secrets.dig(:omniauth, provider).keys.map do |setting|
|
33
|
+
if setting == :enabled
|
34
|
+
["omniauth_settings_#{provider}_enabled".to_sym, Boolean]
|
35
|
+
else
|
36
|
+
["omniauth_settings_#{provider}_#{setting}".to_sym, String]
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end.flatten(1)
|
40
|
+
|
41
|
+
jsonb_attribute :omniauth_settings, OMNIATH_PROVIDERS_ATTRIBUTES
|
42
|
+
|
31
43
|
attr_writer :password
|
32
44
|
|
33
45
|
validates :name, :host, :users_registration_mode, presence: true
|
@@ -36,6 +48,9 @@ module Decidim
|
|
36
48
|
|
37
49
|
def map_model(model)
|
38
50
|
self.secondary_hosts = model.secondary_hosts.join("\n")
|
51
|
+
self.omniauth_settings = Hash[(model.omniauth_settings || []).map do |k, v|
|
52
|
+
[k, Decidim::OmniauthProvider.value_defined?(v) ? Decidim::AttributeEncryptor.decrypt(v) : v]
|
53
|
+
end]
|
39
54
|
end
|
40
55
|
|
41
56
|
def clean_secondary_hosts
|
@@ -58,6 +73,12 @@ module Decidim
|
|
58
73
|
smtp_settings.merge(encrypted_password: Decidim::AttributeEncryptor.encrypt(@password))
|
59
74
|
end
|
60
75
|
|
76
|
+
def encrypted_omniauth_settings
|
77
|
+
Hash[omniauth_settings.map do |k, v|
|
78
|
+
[k, Decidim::OmniauthProvider.value_defined?(v) ? Decidim::AttributeEncryptor.encrypt(v) : v]
|
79
|
+
end]
|
80
|
+
end
|
81
|
+
|
61
82
|
private
|
62
83
|
|
63
84
|
def validate_organization_uniqueness
|
@@ -19,7 +19,7 @@
|
|
19
19
|
<% end -%>
|
20
20
|
|
21
21
|
<%- if devise_mapping.omniauthable? %>
|
22
|
-
<%-
|
22
|
+
<%- current_organization.enabled_omniauth_providers.keys.each do |provider| %>
|
23
23
|
<%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br>
|
24
24
|
<% end -%>
|
25
25
|
<% end -%>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<% i18n_scope = "decidim.system.organizations.omniauth_settings" %>
|
2
|
+
|
3
|
+
<div class="card">
|
4
|
+
<h5><%= provider_name(provider) %></h5>
|
5
|
+
|
6
|
+
<div class="card-section">
|
7
|
+
<%= f.check_box(
|
8
|
+
"omniauth_settings_#{provider}_enabled",
|
9
|
+
label: t("enabled", scope: i18n_scope)
|
10
|
+
) %>
|
11
|
+
|
12
|
+
<% Rails.application.secrets.dig(:omniauth, provider.to_sym).keys.select { |k| k != :enabled }.each do |setting| %>
|
13
|
+
<%= f.text_field("omniauth_settings_#{provider}_#{setting}", label: I18n.t(
|
14
|
+
".#{setting}",
|
15
|
+
scope: [:icon, :icon_path].include?(setting) ? i18n_scope : "#{i18n_scope}.#{provider}"
|
16
|
+
)) %>
|
17
|
+
<% end %>
|
18
|
+
</div>
|
19
|
+
</div>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div class="fieldset">
|
2
|
+
<h4><%= t("decidim.system.models.organization.fields.omniauth_settings") %></h4>
|
3
|
+
|
4
|
+
<%= f.fields_for :omniauth_settings do %>
|
5
|
+
<% providers = Decidim::OmniauthProvider.available.keys %>
|
6
|
+
|
7
|
+
<% providers.each do |provider| %>
|
8
|
+
<%= render partial: "omniauth_provider", locals: { f: f, provider: provider } %>
|
9
|
+
<% end %>
|
10
|
+
<% end %>
|
11
|
+
</div>
|
data/config/locales/ar.yml
CHANGED
@@ -61,6 +61,17 @@ ar:
|
|
61
61
|
reference_prefix_hint: يتم استخدام بادئة المرجع لتعريف الموارد بشكل فريد في كل المؤسسة
|
62
62
|
secondary_hosts_hint: أدخل كل واحد منهم في سطر جديد
|
63
63
|
title: منظمة جديدة
|
64
|
+
omniauth_settings:
|
65
|
+
facebook:
|
66
|
+
app_secret: سر التطبيق
|
67
|
+
google_oauth2:
|
68
|
+
client_id: معرف العميل ID
|
69
|
+
client_secret: الرمز السري للعميل
|
70
|
+
icon: الأيقونة
|
71
|
+
icon_path: مسار الأيقونة
|
72
|
+
twitter:
|
73
|
+
api_key: مفتاح API
|
74
|
+
api_secret: سر API
|
64
75
|
update:
|
65
76
|
error: حدثت مشكلة أثناء تحديث هذه المؤسسة.
|
66
77
|
success: تم تحديث المنظمة بنجاح.
|
data/config/locales/ca.yml
CHANGED
@@ -47,6 +47,7 @@ ca:
|
|
47
47
|
fields:
|
48
48
|
created_at: Data de creació
|
49
49
|
name: Nom
|
50
|
+
omniauth_settings: Configuració de l'Omniauth
|
50
51
|
smtp_settings: Configuració d'SMTP
|
51
52
|
name: Organització
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ ca:
|
|
61
62
|
reference_prefix_hint: El prefix de la referència s'utilitza per identificar de forma única els recursos de tota la organització
|
62
63
|
secondary_hosts_hint: Introdueix cada un d'ells en una nova línia
|
63
64
|
title: Nova organització
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Habilitat
|
67
|
+
facebook:
|
68
|
+
app_id: App ID
|
69
|
+
app_secret: App secret
|
70
|
+
google_oauth2:
|
71
|
+
client_id: ID del Client
|
72
|
+
client_secret: Client secret
|
73
|
+
icon: Icona
|
74
|
+
icon_path: Ruta de la icona
|
75
|
+
twitter:
|
76
|
+
api_key: Clau de l'API
|
77
|
+
api_secret: Clau secreta de l'API
|
64
78
|
update:
|
65
79
|
error: S'ha produït un error en actualitzar aquesta organització.
|
66
80
|
success: L'organització s'ha actualitzat correctament.
|
data/config/locales/cs.yml
CHANGED
@@ -47,6 +47,7 @@ cs:
|
|
47
47
|
fields:
|
48
48
|
created_at: Vytvořeno u
|
49
49
|
name: název
|
50
|
+
omniauth_settings: Nastavení Omniauth
|
50
51
|
smtp_settings: SMTP nastavení
|
51
52
|
name: Organizace
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ cs:
|
|
61
62
|
reference_prefix_hint: Předpona reference se používá k jednoznačné identifikaci zdrojů ve všech organizacích
|
62
63
|
secondary_hosts_hint: Zadejte každý z nich do nového řádku
|
63
64
|
title: Nová organizace
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Povoleno
|
67
|
+
facebook:
|
68
|
+
app_id: ID aplikace
|
69
|
+
app_secret: Tajný klíč aplikace
|
70
|
+
google_oauth2:
|
71
|
+
client_id: Client ID
|
72
|
+
client_secret: Tajný klíč klienta
|
73
|
+
icon: Ikona
|
74
|
+
icon_path: Cesta k ikonám
|
75
|
+
twitter:
|
76
|
+
api_key: Klíč API
|
77
|
+
api_secret: API heslo
|
64
78
|
update:
|
65
79
|
error: Při aktualizaci této organizace došlo k chybě.
|
66
80
|
success: Organizace byla úspěšně aktualizována.
|
@@ -0,0 +1 @@
|
|
1
|
+
el:
|
data/config/locales/en.yml
CHANGED
@@ -48,6 +48,7 @@ en:
|
|
48
48
|
fields:
|
49
49
|
created_at: Created at
|
50
50
|
name: Name
|
51
|
+
omniauth_settings: Omniauth settings
|
51
52
|
smtp_settings: SMTP settings
|
52
53
|
name: Organization
|
53
54
|
organizations:
|
@@ -62,6 +63,19 @@ en:
|
|
62
63
|
reference_prefix_hint: The reference prefix is used to uniquely identify resources across all organization
|
63
64
|
secondary_hosts_hint: Enter each one of them in a new line
|
64
65
|
title: New organization
|
66
|
+
omniauth_settings:
|
67
|
+
enabled: Enabled
|
68
|
+
facebook:
|
69
|
+
app_id: App ID
|
70
|
+
app_secret: App secret
|
71
|
+
google_oauth2:
|
72
|
+
client_id: Client ID
|
73
|
+
client_secret: Client secret
|
74
|
+
icon: Icon
|
75
|
+
icon_path: Icon path
|
76
|
+
twitter:
|
77
|
+
api_key: API key
|
78
|
+
api_secret: API secret
|
65
79
|
update:
|
66
80
|
error: There was a problem updating this organization.
|
67
81
|
success: Organization successfully updated.
|
data/config/locales/es-MX.yml
CHANGED
@@ -47,6 +47,7 @@ es-MX:
|
|
47
47
|
fields:
|
48
48
|
created_at: Fecha de creación
|
49
49
|
name: Nombre
|
50
|
+
omniauth_settings: Ajustes de Omniauth
|
50
51
|
smtp_settings: Configuración de SMTP
|
51
52
|
name: Organización
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ es-MX:
|
|
61
62
|
reference_prefix_hint: El prefijo de referencia se utiliza para identificar de forma única los recursos de todas las organizaciones
|
62
63
|
secondary_hosts_hint: Introduce cada uno de ellos en una nueva línea
|
63
64
|
title: Nueva organización
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Habilitado
|
67
|
+
facebook:
|
68
|
+
app_id: ID de la App
|
69
|
+
app_secret: Secreto de aplicación
|
70
|
+
google_oauth2:
|
71
|
+
client_id: ID de cliente
|
72
|
+
client_secret: Secreto del cliente
|
73
|
+
icon: Icono
|
74
|
+
icon_path: Ruta del icono
|
75
|
+
twitter:
|
76
|
+
api_key: Clave API
|
77
|
+
api_secret: Secreto API
|
64
78
|
update:
|
65
79
|
error: Se ha producido un error al actualizar esta organización.
|
66
80
|
success: Organización actualizada correctamente.
|
data/config/locales/es-PY.yml
CHANGED
@@ -47,6 +47,7 @@ es-PY:
|
|
47
47
|
fields:
|
48
48
|
created_at: Fecha de creación
|
49
49
|
name: Nombre
|
50
|
+
omniauth_settings: Ajustes de Omniauth
|
50
51
|
smtp_settings: Configuración de SMTP
|
51
52
|
name: Organización
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ es-PY:
|
|
61
62
|
reference_prefix_hint: El prefijo de referencia se utiliza para identificar de forma única los recursos de todas las organizaciones
|
62
63
|
secondary_hosts_hint: Introduce cada uno de ellos en una nueva línea
|
63
64
|
title: Nueva organización
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Habilitado
|
67
|
+
facebook:
|
68
|
+
app_id: ID de la App
|
69
|
+
app_secret: Secreto de aplicación
|
70
|
+
google_oauth2:
|
71
|
+
client_id: ID de cliente
|
72
|
+
client_secret: Secreto del cliente
|
73
|
+
icon: Icono
|
74
|
+
icon_path: Ruta del icono
|
75
|
+
twitter:
|
76
|
+
api_key: Clave API
|
77
|
+
api_secret: Secreto API
|
64
78
|
update:
|
65
79
|
error: Se ha producido un error al actualizar esta organización.
|
66
80
|
success: Organización actualizada correctamente.
|
data/config/locales/es.yml
CHANGED
@@ -47,6 +47,7 @@ es:
|
|
47
47
|
fields:
|
48
48
|
created_at: Fecha de creación
|
49
49
|
name: Nombre
|
50
|
+
omniauth_settings: Ajustes de Omniauth
|
50
51
|
smtp_settings: Configuración de SMTP
|
51
52
|
name: Organización
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ es:
|
|
61
62
|
reference_prefix_hint: El prefijo de referencia se utiliza para identificar de forma única los recursos de toda la organización
|
62
63
|
secondary_hosts_hint: Introduce cada uno de ellos en una nueva línea
|
63
64
|
title: Nueva organización
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Habilitado
|
67
|
+
facebook:
|
68
|
+
app_id: ID de la App
|
69
|
+
app_secret: Secreto de aplicación
|
70
|
+
google_oauth2:
|
71
|
+
client_id: ID de cliente
|
72
|
+
client_secret: Secreto del cliente
|
73
|
+
icon: Icono
|
74
|
+
icon_path: Ruta del icono
|
75
|
+
twitter:
|
76
|
+
api_key: Clave API
|
77
|
+
api_secret: Secreto API
|
64
78
|
update:
|
65
79
|
error: Se ha producido un error al actualizar esta organización.
|
66
80
|
success: Organización actualizada correctamente.
|
data/config/locales/fi-plain.yml
CHANGED
@@ -47,6 +47,7 @@ fi-pl:
|
|
47
47
|
fields:
|
48
48
|
created_at: Luotu
|
49
49
|
name: Nimi
|
50
|
+
omniauth_settings: Omniauth-asetukset
|
50
51
|
smtp_settings: SMTP-asetukset
|
51
52
|
name: Organisaatio
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ fi-pl:
|
|
61
62
|
reference_prefix_hint: Viitekoodin avulla tunnistetaan yksilöllisesti resursseja kaikissa organisaatioissa
|
62
63
|
secondary_hosts_hint: Syötä jokainen niistä omalle rivilleen
|
63
64
|
title: Uusi organisaatio
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Käytössä
|
67
|
+
facebook:
|
68
|
+
app_id: Sovelluksen ID (App ID)
|
69
|
+
app_secret: Sovelluksen salausavain (App secret)
|
70
|
+
google_oauth2:
|
71
|
+
client_id: Asiakkaan tunniste (Client ID)
|
72
|
+
client_secret: Asiakkaan salausavain (Client secret)
|
73
|
+
icon: Ikoni
|
74
|
+
icon_path: Ikonin polku
|
75
|
+
twitter:
|
76
|
+
api_key: API-avain
|
77
|
+
api_secret: API-salausavain
|
64
78
|
update:
|
65
79
|
error: Organisaation päivityksessä tapahtui virhe.
|
66
80
|
success: Organisaatio päivitetty onnistuneesti.
|
data/config/locales/fi.yml
CHANGED
@@ -47,6 +47,7 @@ fi:
|
|
47
47
|
fields:
|
48
48
|
created_at: Luotu
|
49
49
|
name: Nimi
|
50
|
+
omniauth_settings: Omniauth-asetukset
|
50
51
|
smtp_settings: SMTP-asetukset
|
51
52
|
name: Organisaatio
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ fi:
|
|
61
62
|
reference_prefix_hint: Viitetunnisteen avulla tunnistetaan yksilöllisesti resursseja eri organisaatioiden välillä
|
62
63
|
secondary_hosts_hint: Syötä jokainen niistä omalle rivilleen
|
63
64
|
title: Uusi organisaatio
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Käytössä
|
67
|
+
facebook:
|
68
|
+
app_id: Sovelluksen ID (App ID)
|
69
|
+
app_secret: Sovelluksen salausavain (App secret)
|
70
|
+
google_oauth2:
|
71
|
+
client_id: Asiakkaan tunniste (Client ID)
|
72
|
+
client_secret: Asiakkaan salausavain (Client secret)
|
73
|
+
icon: Ikoni
|
74
|
+
icon_path: Ikonin polku
|
75
|
+
twitter:
|
76
|
+
api_key: API-avain
|
77
|
+
api_secret: API-salausavain
|
64
78
|
update:
|
65
79
|
error: Organisaation päivitys epäonnistui.
|
66
80
|
success: Organisaation päivitys onnistui.
|
data/config/locales/hu.yml
CHANGED
@@ -47,6 +47,7 @@ hu:
|
|
47
47
|
fields:
|
48
48
|
created_at: 'Létrehozva:'
|
49
49
|
name: Név
|
50
|
+
omniauth_settings: Omniauth beállítások
|
50
51
|
smtp_settings: SMTP beállítások
|
51
52
|
name: Szervezet
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ hu:
|
|
61
62
|
reference_prefix_hint: A hivatkozási előtag az erőforrások azonosítására szolgál a szervezetek esetében
|
62
63
|
secondary_hosts_hint: Mindegyiket új sorba írd be
|
63
64
|
title: Új szervezet
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Engedélyezve
|
67
|
+
facebook:
|
68
|
+
app_id: Alkalmazás ID
|
69
|
+
app_secret: Alkalmazás titkos kulcs
|
70
|
+
google_oauth2:
|
71
|
+
client_id: Ügyfél ID
|
72
|
+
client_secret: Client Secret
|
73
|
+
icon: Ikon
|
74
|
+
icon_path: Ikon elérési útja
|
75
|
+
twitter:
|
76
|
+
api_key: API-kulcs
|
77
|
+
api_secret: API Titkos
|
64
78
|
update:
|
65
79
|
error: Hiba történt a szervezet frissítése során.
|
66
80
|
success: Szervezet sikeresen frissítve.
|
data/config/locales/it.yml
CHANGED
@@ -47,6 +47,7 @@ it:
|
|
47
47
|
fields:
|
48
48
|
created_at: Data/ora di creazione
|
49
49
|
name: Nome
|
50
|
+
omniauth_settings: Impostazioni Omniauth
|
50
51
|
smtp_settings: Impostazioni SMTP
|
51
52
|
name: Organizzazione
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@ it:
|
|
61
62
|
reference_prefix_hint: Il prefisso di riferimento è utilizzato solamente per identificare le risorse in tutte le organizzazioni
|
62
63
|
secondary_hosts_hint: Inserisci ciascun elemento in una nuova linea
|
63
64
|
title: Nuova Organizzazione
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Abilitato
|
67
|
+
facebook:
|
68
|
+
app_id: ID App
|
69
|
+
app_secret: App secret
|
70
|
+
google_oauth2:
|
71
|
+
client_id: ID Cliente
|
72
|
+
client_secret: Client secret
|
73
|
+
icon: Icona
|
74
|
+
icon_path: Percorso icona
|
75
|
+
twitter:
|
76
|
+
api_key: API Key
|
77
|
+
api_secret: API secret
|
64
78
|
update:
|
65
79
|
error: C'è stato un errore durante l'aggiornamento di questa organizzazione.
|
66
80
|
success: OK, l'Organizzazione è stata aggiornata.
|
data/config/locales/nl.yml
CHANGED
@@ -61,6 +61,16 @@ nl:
|
|
61
61
|
reference_prefix_hint: Het referentie-voorvoegsel wordt gebruikt ter identificatie van unieke middelen over alle organisaties
|
62
62
|
secondary_hosts_hint: Voer elk van hen op een nieuwe regel in
|
63
63
|
title: Nieuwe organisatie
|
64
|
+
omniauth_settings:
|
65
|
+
facebook:
|
66
|
+
app_id: App-ID
|
67
|
+
app_secret: App secret
|
68
|
+
google_oauth2:
|
69
|
+
client_id: Client-ID
|
70
|
+
client_secret: Client secret
|
71
|
+
twitter:
|
72
|
+
api_key: API key
|
73
|
+
api_secret: API secret
|
64
74
|
update:
|
65
75
|
error: Er is een fout opgetreden bij het bijwerken van deze organisatie.
|
66
76
|
success: Organisatie is succesvol bijgewerkt.
|
data/config/locales/no.yml
CHANGED
@@ -47,6 +47,7 @@
|
|
47
47
|
fields:
|
48
48
|
created_at: Opprettet på
|
49
49
|
name: Navn
|
50
|
+
omniauth_settings: Omniauth innstillinger
|
50
51
|
smtp_settings: SMTP innstillinger
|
51
52
|
name: Organisasjon
|
52
53
|
organizations:
|
@@ -61,6 +62,19 @@
|
|
61
62
|
reference_prefix_hint: Referanse prefikset brukes til å identifisere ressurser på tvers av alle organisasjoner
|
62
63
|
secondary_hosts_hint: Skriv inn hver enkelt av dem på en ny linje
|
63
64
|
title: Ny organisasjon
|
65
|
+
omniauth_settings:
|
66
|
+
enabled: Aktivert
|
67
|
+
facebook:
|
68
|
+
app_id: App ID
|
69
|
+
app_secret: App hemmelighet
|
70
|
+
google_oauth2:
|
71
|
+
client_id: Klient ID
|
72
|
+
client_secret: Klient hemmlighet
|
73
|
+
icon: Ikon
|
74
|
+
icon_path: Ikon sti
|
75
|
+
twitter:
|
76
|
+
api_key: API-nøkkel
|
77
|
+
api_secret: API secret
|
64
78
|
update:
|
65
79
|
error: Det oppstod et problem med å oppdatere denne organisasjon.
|
66
80
|
success: Organisasjonen ble oppdatert.
|
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.21.0
|
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: 2020-
|
13
|
+
date: 2020-04-08 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.21.0
|
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.21.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: devise
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,14 +136,14 @@ dependencies:
|
|
136
136
|
requirements:
|
137
137
|
- - '='
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0.
|
139
|
+
version: 0.21.0
|
140
140
|
type: :development
|
141
141
|
prerelease: false
|
142
142
|
version_requirements: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
144
|
- - '='
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: 0.
|
146
|
+
version: 0.21.0
|
147
147
|
description: System administration to create new organization in an installation.
|
148
148
|
email:
|
149
149
|
- josepjaume@gmail.com
|
@@ -199,6 +199,8 @@ files:
|
|
199
199
|
- app/views/decidim/system/devise/passwords/new.html.erb
|
200
200
|
- app/views/decidim/system/devise/sessions/new.html.erb
|
201
201
|
- app/views/decidim/system/devise/shared/_links.html.erb
|
202
|
+
- app/views/decidim/system/organizations/_omniauth_provider.html.erb
|
203
|
+
- app/views/decidim/system/organizations/_omniauth_settings.html.erb
|
202
204
|
- app/views/decidim/system/organizations/_smtp_settings.html.erb
|
203
205
|
- app/views/decidim/system/organizations/edit.html.erb
|
204
206
|
- app/views/decidim/system/organizations/index.html.erb
|
@@ -217,6 +219,7 @@ files:
|
|
217
219
|
- config/locales/cs.yml
|
218
220
|
- config/locales/de.yml
|
219
221
|
- config/locales/el-GR.yml
|
222
|
+
- config/locales/el.yml
|
220
223
|
- config/locales/en.yml
|
221
224
|
- config/locales/eo-UY.yml
|
222
225
|
- config/locales/es-MX.yml
|