decidim-core 0.23.5 → 0.23.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-core might be problematic. Click here for more details.

Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/decidim/devise_controllers.rb +1 -0
  3. data/app/forms/decidim/account_form.rb +1 -1
  4. data/app/helpers/decidim/application_helper.rb +1 -0
  5. data/app/helpers/decidim/cache_helper.rb +14 -0
  6. data/app/models/decidim/user.rb +7 -1
  7. data/app/models/decidim/user_base_entity.rb +1 -1
  8. data/app/models/decidim/user_group.rb +4 -0
  9. data/app/queries/decidim/user_groups/accepted_memberships.rb +1 -1
  10. data/app/queries/decidim/user_groups/admin_memberships.rb +1 -1
  11. data/app/queries/decidim/user_groups/member_memberships.rb +1 -1
  12. data/app/views/decidim/application/_document.html.erb +1 -1
  13. data/app/views/decidim/reported_mailer/report.html.erb +9 -1
  14. data/config/locales/ar.yml +0 -2
  15. data/config/locales/bg.yml +0 -2
  16. data/config/locales/ca.yml +0 -2
  17. data/config/locales/cs.yml +1 -1
  18. data/config/locales/de.yml +1 -1
  19. data/config/locales/el.yml +0 -2
  20. data/config/locales/es-MX.yml +0 -2
  21. data/config/locales/es-PY.yml +0 -2
  22. data/config/locales/es.yml +0 -2
  23. data/config/locales/eu.yml +0 -2
  24. data/config/locales/fi-plain.yml +1 -1
  25. data/config/locales/fr-CA.yml +1 -1
  26. data/config/locales/fr.yml +1 -1
  27. data/config/locales/gl.yml +0 -2
  28. data/config/locales/hu.yml +0 -2
  29. data/config/locales/id-ID.yml +0 -2
  30. data/config/locales/it.yml +0 -2
  31. data/config/locales/ja.yml +0 -2
  32. data/config/locales/lv.yml +0 -2
  33. data/config/locales/nl.yml +0 -2
  34. data/config/locales/no.yml +0 -2
  35. data/config/locales/pl.yml +0 -2
  36. data/config/locales/pt-BR.yml +0 -2
  37. data/config/locales/pt.yml +0 -2
  38. data/config/locales/ro-RO.yml +0 -2
  39. data/config/locales/ru.yml +0 -2
  40. data/config/locales/sk.yml +0 -2
  41. data/config/locales/sv.yml +2 -2
  42. data/config/locales/tr-TR.yml +0 -2
  43. data/config/locales/uk.yml +0 -2
  44. data/config/locales/zh-CN.yml +0 -2
  45. data/lib/decidim/core/version.rb +1 -1
  46. metadata +11 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59a972cf39fde06d391cf3addeb640418deb75f593d839169cf5ab210f4b5827
4
- data.tar.gz: ec89bfeb9e97c4a195b8ce6c117ab2122727f48d765099d04fbc88463ce85107
3
+ metadata.gz: cfc52bd802501b273d139e03c0861f09ee105c9adad1f120adc6aabbb87480ce
4
+ data.tar.gz: 8a182280c3e75898854c75b604ce9e7d2ac218254ce3f74b91af7d9e9374c528
5
5
  SHA512:
6
- metadata.gz: 76cc9661137f48a55b18467e139685fc392fe74123c63267ef3314f9cd07de84d923d6bdeb28f2684293e9f0f9989ac1343a9e5ca12e6e21e410729a0d9997a3
7
- data.tar.gz: 857059af38a34f249eb1acd9552900dc797262821e59b46bea2bdca63ac8d21912c3cfbeebd068479a0673b2d71092ca2e372da726caf70d5214669ac5229ab4
6
+ metadata.gz: f26f0b99ced6993a4bca46925dd675ed82a51af75c2c7f5c7edd340ced49ac52de8a2b631ad6d6321ceb84e1971659c10ed1be84462cfd08c41a85d425668591
7
+ data.tar.gz: 83cf89e4dde056e1f4c02b72ceaf35fb78aac2bdca19855e9932d872d542efa87a4d611129ef700d541e06e4e57c81e1b74fcb5e88cde86bdff4700353e26ead
@@ -29,6 +29,7 @@ module Decidim
29
29
  helper Decidim::LayoutHelper
30
30
  helper Decidim::MenuHelper
31
31
  helper Decidim::OmniauthHelper
32
+ helper Decidim::CacheHelper
32
33
 
33
34
  layout "layouts/decidim/application"
34
35
 
@@ -20,7 +20,7 @@ module Decidim
20
20
 
21
21
  validates :name, presence: true
22
22
  validates :email, presence: true, 'valid_email_2/email': { disposable: true }
23
- validates :nickname, presence: true, format: /\A[\w\-]+\z/
23
+ validates :nickname, presence: true, format: Decidim::User::REGEXP_NICKNAME
24
24
 
25
25
  validates :nickname, length: { maximum: Decidim::User.nickname_max_length, allow_blank: true }
26
26
  validates :password, confirmation: true
@@ -7,6 +7,7 @@ module Decidim
7
7
  include Decidim::ScopesHelper
8
8
  include Decidim::ContextualHelpHelper
9
9
  include Decidim::AmendmentsHelper
10
+ include Decidim::CacheHelper
10
11
 
11
12
  # Truncates a given text respecting its HTML tags.
12
13
  #
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Decidim
4
+ # Helper overrides for the ActionView::Helpers::CacheHelper in order to take
5
+ # locale into account for fragment caching.
6
+ module CacheHelper
7
+ # See: https://git.io/J3ouj
8
+ def cache(name = {}, options = {}, &block)
9
+ name = Array(name) + [current_locale]
10
+
11
+ super(name, options, &block)
12
+ end
13
+ end
14
+ end
@@ -11,6 +11,8 @@ module Decidim
11
11
  include Decidim::Searchable
12
12
  include Decidim::ActsAsAuthor
13
13
 
14
+ REGEXP_NICKNAME = /\A[\w\-]+\z/.freeze
15
+
14
16
  class Roles
15
17
  def self.all
16
18
  Decidim.config.user_roles
@@ -31,7 +33,11 @@ module Decidim
31
33
  has_many :access_tokens, class_name: "Doorkeeper::AccessToken", foreign_key: :resource_owner_id, dependent: :destroy
32
34
 
33
35
  validates :name, presence: true, unless: -> { deleted? }
34
- validates :nickname, presence: true, unless: -> { deleted? || managed? }, length: { maximum: Decidim::User.nickname_max_length }
36
+ validates :nickname,
37
+ presence: true,
38
+ format: { with: REGEXP_NICKNAME },
39
+ length: { maximum: Decidim::User.nickname_max_length },
40
+ unless: -> { deleted? || managed? }
35
41
  validates :locale, inclusion: { in: :available_locales }, allow_blank: true
36
42
  validates :tos_agreement, acceptance: true, allow_nil: false, on: :create
37
43
  validates :tos_agreement, acceptance: true, if: :user_invited?
@@ -23,7 +23,7 @@ module Decidim
23
23
  validates_avatar
24
24
  mount_uploader :avatar, Decidim::AvatarUploader
25
25
 
26
- validates :name, :nickname, format: { with: REGEXP_NAME }
26
+ validates :name, format: { with: REGEXP_NAME }
27
27
 
28
28
  # Public: Returns a collection with all the entities this user is following.
29
29
  #
@@ -36,6 +36,10 @@ module Decidim
36
36
  .where("extended_data->>'document_number' = ?", number)
37
37
  end
38
38
 
39
+ def non_deleted_memberships
40
+ memberships.where(decidim_users: { deleted_at: nil })
41
+ end
42
+
39
43
  # Returns the presenter for this author, to be used in the views.
40
44
  # Required by ActsAsAuthor.
41
45
  def presenter
@@ -23,7 +23,7 @@ module Decidim
23
23
  # Returns an ActiveRecord::Relation.
24
24
  def query
25
25
  user_group
26
- .memberships
26
+ .non_deleted_memberships
27
27
  .includes(:user)
28
28
  .where(role: %w(creator admin member))
29
29
  end
@@ -24,7 +24,7 @@ module Decidim
24
24
  # Returns an ActiveRecord::Relation.
25
25
  def query
26
26
  user_group
27
- .memberships
27
+ .non_deleted_memberships
28
28
  .includes(:user)
29
29
  .where(role: :admin)
30
30
  end
@@ -24,7 +24,7 @@ module Decidim
24
24
  # Returns an ActiveRecord::Relation.
25
25
  def query
26
26
  user_group
27
- .memberships
27
+ .non_deleted_memberships
28
28
  .includes(:user)
29
29
  .where(role: :member)
30
30
  end
@@ -1,7 +1,7 @@
1
1
  <div class="card--list__item">
2
2
  <div class="card--list__text">
3
3
  <div>
4
- <a href="<%= document.url %>" class="card__link">
4
+ <a href="<%= document.url %>" class="card__link" target="_blank">
5
5
  <h4 class="card--list__heading heading6">
6
6
  <%= attachment_title(document) %> <small><%= document.file_type %> <%= number_to_human_size(document.file_size) %></small>
7
7
  </h4>
@@ -35,7 +35,15 @@
35
35
  <% if author_profile_url.present? %>
36
36
  <p><%= link_to @author.name, author_profile_url, target: :blank %></p>
37
37
  <% else %>
38
- <p><%= @author.name %></p>
38
+ <p>
39
+ <%=
40
+ if @author.respond_to?(:name)
41
+ @author.name
42
+ elsif @author.respond_to?(:title)
43
+ translated_attribute(@author.title)
44
+ end
45
+ %>
46
+ </p>
39
47
  <% end %>
40
48
  <% end %>
41
49
  <br>
@@ -255,8 +255,6 @@ ar:
255
255
  name: مثال إذن
256
256
  dummy_authorization_workflow:
257
257
  name: سير العمل التخويل وهمية
258
- errors:
259
- duplicate_authorization: مشارك مفوض بالفعل مع نفس البيانات.
260
258
  expired_at: انتهت في %{timestamp}
261
259
  expires_at: تنتهي في %{timestamp}
262
260
  foo_authorization:
@@ -263,8 +263,6 @@ bg:
263
263
  name: Примерна идентификация
264
264
  dummy_authorization_workflow:
265
265
  name: Макет на процедура за идентификация
266
- errors:
267
- duplicate_authorization: Участника вече е идентифициран с тези данни.
268
266
  expired_at: Изтече на %{timestamp}
269
267
  expires_at: Изтича на %{timestamp}
270
268
  foo_authorization:
@@ -270,8 +270,6 @@ ca:
270
270
  name: Autorització d'exemple
271
271
  dummy_authorization_workflow:
272
272
  name: Flux de treball d'autorització d'exemple
273
- errors:
274
- duplicate_authorization: Ja s'ha autoritzat a una participant amb les mateixes dades.
275
273
  expired_at: Vençut el %{timestamp}
276
274
  expires_at: Venç en %{timestamp}
277
275
  foo_authorization:
@@ -434,7 +434,7 @@ cs:
434
434
  registrations:
435
435
  new:
436
436
  already_have_an_account?: Máte již účet?
437
- newsletter: Dostávejte příležitostný zpravodaj s relevantními informacemi
437
+ newsletter: Chci dostávat příležitostný zpravodaj s relevantními informacemi
438
438
  newsletter_title: Povolení kontaktu
439
439
  nickname_help: Vaše přezdívka v %{organization}
440
440
  password_help: "%{minimun_characters} minimum znaků, nesmí být příliš běžné (např. 123456) a musí být jiné než vaše přezdívka a váš e-mail."
@@ -274,7 +274,7 @@ de:
274
274
  dummy_authorization_workflow:
275
275
  name: Arbeitsablauf Dummy Berechtigung
276
276
  errors:
277
- duplicate_authorization: Ein*e Benutzer*in ist bereits mit den gleichen Daten berechtigt.
277
+ duplicate_authorization: Ein Teilnehmer ist bereits mit den gleichen Daten autorisiert.
278
278
  expired_at: Abgelaufen am %{timestamp}
279
279
  expires_at: Läuft am %{timestamp} ab
280
280
  foo_authorization:
@@ -266,8 +266,6 @@ el:
266
266
  name: Παράδειγμα εξουσιοδότησης
267
267
  dummy_authorization_workflow:
268
268
  name: Ροή εργασίας εικονικής εξουσιοδότησης
269
- errors:
270
- duplicate_authorization: Ένας συμμετέχων έχει ήδη εξουσιοδοτηθεί με τα ίδια δεδομένα.
271
269
  expired_at: Έληξε στις %{timestamp}
272
270
  expires_at: Λήγει στις %{timestamp}
273
271
  foo_authorization:
@@ -273,8 +273,6 @@ es-MX:
273
273
  name: Autorización de ejemplo
274
274
  dummy_authorization_workflow:
275
275
  name: Flujo de trabajo de autorización de ejemplo
276
- errors:
277
- duplicate_authorization: Un usuario ya está autorizado con los mismos datos.
278
276
  expired_at: Caducado el %{timestamp}
279
277
  expires_at: Caduca en %{timestamp}
280
278
  foo_authorization:
@@ -273,8 +273,6 @@ es-PY:
273
273
  name: Autorización de ejemplo
274
274
  dummy_authorization_workflow:
275
275
  name: Flujo de trabajo de autorización de ejemplo
276
- errors:
277
- duplicate_authorization: Un usuario ya está autorizado con los mismos datos.
278
276
  expired_at: Caducado el %{timestamp}
279
277
  expires_at: Caduca en %{timestamp}
280
278
  foo_authorization:
@@ -270,8 +270,6 @@ es:
270
270
  name: Autorización de ejemplo
271
271
  dummy_authorization_workflow:
272
272
  name: Flujo de trabajo de autorización de ejemplo
273
- errors:
274
- duplicate_authorization: Ya se ha autorizado a una participante con los mismos datos.
275
273
  expired_at: Caducado el %{timestamp}
276
274
  expires_at: Caduca el %{timestamp}
277
275
  foo_authorization:
@@ -207,8 +207,6 @@ eu:
207
207
  name: Adibidez baimena
208
208
  dummy_authorization_workflow:
209
209
  name: Dummy baimena eragiketa
210
- errors:
211
- duplicate_authorization: Badago erabiltzaile bat, datu berberekin baimendua.
212
210
  expired_at: '%{timestamp} iraungita dago'
213
211
  expires_at: '%{timestamp} iraungitzen da'
214
212
  foo_authorization:
@@ -274,7 +274,7 @@ fi-pl:
274
274
  dummy_authorization_workflow:
275
275
  name: Dummy-varmennuksen työnkulku
276
276
  errors:
277
- duplicate_authorization: Käyttäjätili on jo varmennettu samoilla tiedoilla.
277
+ duplicate_authorization: Toinen käyttäjätili on jo vahvistettu samoilla tiedoilla.
278
278
  expired_at: Umpeutuu %{timestamp}
279
279
  expires_at: Umpeutuu %{timestamp}
280
280
  foo_authorization:
@@ -274,7 +274,7 @@ fr-CA:
274
274
  dummy_authorization_workflow:
275
275
  name: Procédure d'autorisation factice
276
276
  errors:
277
- duplicate_authorization: Un utilisateur est déjà autorisé avec les mêmes données.
277
+ duplicate_authorization: Un participant est déjà autorisé avec ces mêmes données.
278
278
  expired_at: Expiré à %{timestamp}
279
279
  expires_at: Expire à %{timestamp}
280
280
  foo_authorization:
@@ -274,7 +274,7 @@ fr:
274
274
  dummy_authorization_workflow:
275
275
  name: Procédure d'autorisation factice
276
276
  errors:
277
- duplicate_authorization: Un utilisateur est déjà autorisé avec les mêmes données.
277
+ duplicate_authorization: Un participant est déjà autorisé avec ces mêmes données.
278
278
  expired_at: Expiré à %{timestamp}
279
279
  expires_at: Expire à %{timestamp}
280
280
  foo_authorization:
@@ -209,8 +209,6 @@ gl:
209
209
  name: Autorización de exemplo
210
210
  dummy_authorization_workflow:
211
211
  name: Fluxo de traballo de autorización dummy
212
- errors:
213
- duplicate_authorization: Un usuario xa está autorizado cos mesmos datos.
214
212
  expired_at: Caducou en %{timestamp}
215
213
  expires_at: Caduca no %{timestamp}
216
214
  foo_authorization:
@@ -263,8 +263,6 @@ hu:
263
263
  name: Példa feljogosításra
264
264
  dummy_authorization_workflow:
265
265
  name: Dummy feljogosítási folyamat
266
- errors:
267
- duplicate_authorization: Egy résztvevő ezekkel az adatokkal már engedélyezésre került.
268
266
  expired_at: 'Lejárat: %{timestamp}'
269
267
  expires_at: 'Lejárat: %{timestamp}'
270
268
  foo_authorization:
@@ -202,8 +202,6 @@ id:
202
202
  name: Contoh otorisasi
203
203
  dummy_authorization_workflow:
204
204
  name: Alur kerja otorisasi dummy
205
- errors:
206
- duplicate_authorization: Pengguna sudah diotorisasi dengan data yang sama.
207
205
  expired_at: Kedaluwarsa pada %{timestamp}
208
206
  expires_at: Kedaluwarsa pada %{timestamp}
209
207
  foo_authorization:
@@ -273,8 +273,6 @@ it:
273
273
  name: Esempio di autorizzazione
274
274
  dummy_authorization_workflow:
275
275
  name: Flusso di lavoro fittizio di autorizzazione
276
- errors:
277
- duplicate_authorization: Esiste già un utente autorizzato con questi dati.
278
276
  expired_at: Scaduto a %{timestamp}
279
277
  expires_at: Scade a %{timestamp}
280
278
  foo_authorization:
@@ -266,8 +266,6 @@ ja:
266
266
  name: 許可の例:
267
267
  dummy_authorization_workflow:
268
268
  name: ダミー認証ワークフロー
269
- errors:
270
- duplicate_authorization: 同じデータを持つ参加者はすでに承認されています.
271
269
  expired_at: '%{timestamp} で期限切れ'
272
270
  expires_at: '%{timestamp} で期限切れ'
273
271
  foo_authorization:
@@ -267,8 +267,6 @@ lv:
267
267
  name: Autorizācijas paraugs
268
268
  dummy_authorization_workflow:
269
269
  name: Viettura autorizācijas darbplūsma
270
- errors:
271
- duplicate_authorization: Dalībnieks jau ir autorizēts ar tiem pašiem datiem.
272
270
  expired_at: Termiņš beidzās plkst. %{timestamp}
273
271
  expires_at: Termiņš beigsies plkst. %{timestamp}
274
272
  foo_authorization:
@@ -272,8 +272,6 @@ nl:
272
272
  name: Voorbeeld autorisatie
273
273
  dummy_authorization_workflow:
274
274
  name: Dummy autorisatie workflow
275
- errors:
276
- duplicate_authorization: Een gebruiker is al gemachtigd met dezelfde gegevens.
277
275
  expired_at: Verstreken op %{timestamp}
278
276
  expires_at: Verloopt op %{timestamp}
279
277
  foo_authorization:
@@ -269,8 +269,6 @@
269
269
  name: Eksempel autorisering
270
270
  dummy_authorization_workflow:
271
271
  name: Dummy autoriserings arbeidskraft
272
- errors:
273
- duplicate_authorization: En deltaker har allerede autorisert med den samme informasjonen.
274
272
  expired_at: Utgått på %{timestamp}
275
273
  expires_at: Går ut %{timestamp}
276
274
  foo_authorization:
@@ -285,8 +285,6 @@ pl:
285
285
  name: Przykładowa autoryzacja
286
286
  dummy_authorization_workflow:
287
287
  name: Przykładowy proces autoryzacji
288
- errors:
289
- duplicate_authorization: Użytkownik jest już uprawniony na podstawie tych samych danych.
290
288
  expired_at: Wygasł %{timestamp}
291
289
  expires_at: Wygasa %{timestamp}
292
290
  foo_authorization:
@@ -207,8 +207,6 @@ pt:
207
207
  name: Exemplo de autorização
208
208
  dummy_authorization_workflow:
209
209
  name: Fluxo de trabalho de autorização falsa
210
- errors:
211
- duplicate_authorization: Um usuário já está autorizado com os mesmos dados.
212
210
  expired_at: Expirou em %{timestamp}
213
211
  expires_at: Expira em %{timestamp}
214
212
  foo_authorization:
@@ -271,8 +271,6 @@ pt:
271
271
  name: Exemplo de autorização
272
272
  dummy_authorization_workflow:
273
273
  name: Fluxo de trabalho de autorização falsa
274
- errors:
275
- duplicate_authorization: Um participante com os mesmos dados já está autorizado.
276
274
  expired_at: Expirou em %{timestamp}
277
275
  expires_at: Expira em %{timestamp}
278
276
  foo_authorization:
@@ -280,8 +280,6 @@ ro:
280
280
  name: Exemplu de autorizare
281
281
  dummy_authorization_workflow:
282
282
  name: Flux de lucru autorizare fictiv
283
- errors:
284
- duplicate_authorization: Un participant este deja autorizat cu aceleași date.
285
283
  expired_at: A expirat la %{timestamp}
286
284
  expires_at: Expiră la %{timestamp}
287
285
  foo_authorization:
@@ -194,8 +194,6 @@ ru:
194
194
  name: Пример подтверждения личности
195
195
  dummy_authorization_workflow:
196
196
  name: Пример пути подтверждения личности
197
- errors:
198
- duplicate_authorization: С теми же данными уже подтвердил свою личность другой участник.
199
197
  expired_at: Срок действия истек %{timestamp}
200
198
  expires_at: Срок действия истекает в %{timestamp}
201
199
  foo_authorization:
@@ -275,8 +275,6 @@ sk:
275
275
  name: Príklad autorizácie
276
276
  dummy_authorization_workflow:
277
277
  name: Pracovný postup autorizácie
278
- errors:
279
- duplicate_authorization: Účastník je už autorizovaný s rovnakými dátami.
280
278
  expired_at: Platnosť vypršala v %{timestamp}
281
279
  expires_at: Platnosť vyprší v %{timestamp}
282
280
  foo_authorization:
@@ -272,8 +272,6 @@ sv:
272
272
  name: Exempelbekräftelse
273
273
  dummy_authorization_workflow:
274
274
  name: Dummy-arbetsflöde för bekräftelse
275
- errors:
276
- duplicate_authorization: En deltagare är redan behörig med samma data.
277
275
  expired_at: Förföll vid %{timestamp}
278
276
  expires_at: Förfaller vid %{timestamp}
279
277
  foo_authorization:
@@ -441,6 +439,7 @@ sv:
441
439
  buttons:
442
440
  check: Kontrollera och fortsätt
443
441
  close_modal: Stäng modal
442
+ uncheck: Behåll avmarkeringen
444
443
  notice: |-
445
444
  <p>Hej, är du säker på att du inte vill få nyhetsbrevet?<br>
446
445
  Överväg gärna en gång till att markera kryssrutan för nyhetsbrev nedan.<br>
@@ -1167,6 +1166,7 @@ sv:
1167
1166
  view_all: Visa alla (%{count})
1168
1167
  security:
1169
1168
  selfxss_warning:
1169
+ description: Denna webbläsarfunktion är avsedd för utvecklare och du bör inte klistra in något här om du ombads att göra det. Klistra in innehåll i detta fönster kan påverka din integritet och ge hackare tillgång till ditt konto.
1170
1170
  title: OBS!
1171
1171
  shared:
1172
1172
  confirm_modal:
@@ -271,8 +271,6 @@ tr:
271
271
  name: Örnek yetkilendirme
272
272
  dummy_authorization_workflow:
273
273
  name: Sahte yetkilendirme iş akışı
274
- errors:
275
- duplicate_authorization: Bir katılımcı zaten aynı verilerle yetkilendirilmiştir.
276
274
  expired_at: '%{timestamp} bitti'
277
275
  expires_at: '%{timestamp} sona eriyor'
278
276
  foo_authorization:
@@ -141,8 +141,6 @@ uk:
141
141
  name: Приклад підтвердження своєї особи
142
142
  dummy_authorization_workflow:
143
143
  name: Приклад шляху підтвердження особи
144
- errors:
145
- duplicate_authorization: Інший учасник вже підтвердив свою особу з такими ж даними.
146
144
  expired_at: Строк дії закінчився %{timestamp}
147
145
  expires_at: Строк дії закінчується %{timestamp}
148
146
  foo_authorization:
@@ -255,8 +255,6 @@ zh-CN:
255
255
  name: 示例授权
256
256
  dummy_authorization_workflow:
257
257
  name: 虚拟授权 Workflow
258
- errors:
259
- duplicate_authorization: 参与者已经被授权使用相同的数据。
260
258
  expired_at: 过期时间为 %{timestamp}
261
259
  expires_at: 于 %{timestamp} 过期
262
260
  foo_authorization:
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-core version.
5
5
  module Core
6
6
  def self.version
7
- "0.23.5"
7
+ "0.23.6"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.5
4
+ version: 0.23.6
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: 2021-04-08 00:00:00.000000000 Z
13
+ date: 2021-05-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_link_to
@@ -586,22 +586,16 @@ dependencies:
586
586
  name: rails
587
587
  requirement: !ruby/object:Gem::Requirement
588
588
  requirements:
589
- - - ">="
590
- - !ruby/object:Gem::Version
591
- version: 5.2.4.4
592
- - - "<"
589
+ - - "~>"
593
590
  - !ruby/object:Gem::Version
594
- version: 6.0.x
591
+ version: 5.2.6
595
592
  type: :runtime
596
593
  prerelease: false
597
594
  version_requirements: !ruby/object:Gem::Requirement
598
595
  requirements:
599
- - - ">="
600
- - !ruby/object:Gem::Version
601
- version: 5.2.4.4
602
- - - "<"
596
+ - - "~>"
603
597
  - !ruby/object:Gem::Version
604
- version: 6.0.x
598
+ version: 5.2.6
605
599
  - !ruby/object:Gem::Dependency
606
600
  name: rails-i18n
607
601
  requirement: !ruby/object:Gem::Requirement
@@ -844,28 +838,28 @@ dependencies:
844
838
  requirements:
845
839
  - - '='
846
840
  - !ruby/object:Gem::Version
847
- version: 0.23.5
841
+ version: 0.23.6
848
842
  type: :runtime
849
843
  prerelease: false
850
844
  version_requirements: !ruby/object:Gem::Requirement
851
845
  requirements:
852
846
  - - '='
853
847
  - !ruby/object:Gem::Version
854
- version: 0.23.5
848
+ version: 0.23.6
855
849
  - !ruby/object:Gem::Dependency
856
850
  name: decidim-dev
857
851
  requirement: !ruby/object:Gem::Requirement
858
852
  requirements:
859
853
  - - '='
860
854
  - !ruby/object:Gem::Version
861
- version: 0.23.5
855
+ version: 0.23.6
862
856
  type: :development
863
857
  prerelease: false
864
858
  version_requirements: !ruby/object:Gem::Requirement
865
859
  requirements:
866
860
  - - '='
867
861
  - !ruby/object:Gem::Version
868
- version: 0.23.5
862
+ version: 0.23.6
869
863
  description: Adds core features so other engines can hook into the framework.
870
864
  email:
871
865
  - josepjaume@gmail.com
@@ -1453,6 +1447,7 @@ files:
1453
1447
  - app/helpers/decidim/aria_selected_link_to_helper.rb
1454
1448
  - app/helpers/decidim/attachments_helper.rb
1455
1449
  - app/helpers/decidim/authorization_form_helper.rb
1450
+ - app/helpers/decidim/cache_helper.rb
1456
1451
  - app/helpers/decidim/card_helper.rb
1457
1452
  - app/helpers/decidim/categories_helper.rb
1458
1453
  - app/helpers/decidim/cells_helper.rb