decidim-core 0.26.0.rc1 → 0.26.0.rc2

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dac5187d40c4a753efdf1ca3e005b5a0d6561fcde905fb50bbf054fac2eca159
4
- data.tar.gz: 6ed72398e69f803c6ab3b328ff9b26ec217769a2878349c00fbadf76b65e120e
3
+ metadata.gz: '008fc01a452a6ce6800305e9cd20ebaf12adade8db7b13aa2f62d5d11bf07eb0'
4
+ data.tar.gz: 9acc5acf5b9e95057be4731b089fb383e45f2ac90065d978e7f23f8a97dac4e6
5
5
  SHA512:
6
- metadata.gz: 532bcf1725b00692cf50880c865cd74b5e81f13870f65db9d9b61c227fb78b997ad5b1eff984f041a900b9e117a29d3c62d72097506ddd15bd40320c7c839dc2
7
- data.tar.gz: dfe236abe5ba215792e259e1e93d54a82c8ac60120b2f4af166e1e86343aefc9cf3ba7eb743987ec65b96202accd6c8cf53d8aebc0f4fd9ac3e5d028f4f12ee0
6
+ metadata.gz: 5edc8e0a59cf89167962340fe5fca99b5ddd5257f1dd936b0e8a9c8e3f620f8cdd8596b1d831c2886750d94764dd009453fa117c347ba00020ceb6eefa8f911f
7
+ data.tar.gz: 7538bffa5a162c3e4777fc9317f529854e664540dcf77da130c6a08362afa37bff8a84d78b29ae78b04cf2f370b6c582da21a8fdeebdbf447cf360cf82419f63
@@ -63,12 +63,6 @@ module Decidim
63
63
  scope :officialized, -> { where.not(officialized_at: nil) }
64
64
  scope :not_officialized, -> { where(officialized_at: nil) }
65
65
 
66
- scope :confirmed, -> { where.not(confirmed_at: nil) }
67
- scope :not_confirmed, -> { where(confirmed_at: nil) }
68
-
69
- scope :blocked, -> { where(blocked: true) }
70
- scope :not_blocked, -> { where(blocked: false) }
71
-
72
66
  scope :interested_in_scopes, lambda { |scope_ids|
73
67
  actual_ids = scope_ids.select(&:presence)
74
68
  if actual_ids.count.positive?
@@ -25,6 +25,12 @@ module Decidim
25
25
 
26
26
  validates :name, format: { with: REGEXP_NAME }
27
27
 
28
+ scope :confirmed, -> { where.not(confirmed_at: nil) }
29
+ scope :not_confirmed, -> { where(confirmed_at: nil) }
30
+
31
+ scope :blocked, -> { where(blocked: true) }
32
+ scope :not_blocked, -> { where(blocked: false) }
33
+
28
34
  # Public: Returns a collection with all the public entities this user is following.
29
35
  #
30
36
  # This can't be done as with a `has_many :following, through: :following_follows`
@@ -7,9 +7,18 @@ export default function addInputEmoji() {
7
7
  if (containers.length) {
8
8
  containers.forEach((elem) => {
9
9
  const picker = new EmojiButton({
10
- position: "bottom-end"
10
+ position: "bottom-end",
11
+ rootElement: elem.closest("form")?.parentElement || document.body,
12
+ zIndex: 2000
11
13
  });
12
14
 
15
+ // if the selector is inside a modal window
16
+ // this allows shows the emoji menu uncut
17
+ const reveal = elem.closest("[data-reveal]")
18
+ if (reveal) {
19
+ reveal.style.overflowY = "unset"
20
+ }
21
+
13
22
  const wrapper = document.createElement("div");
14
23
  wrapper.className = "emoji__container"
15
24
  const btnContainer = document.createElement("div");
@@ -14,10 +14,16 @@
14
14
  </li>
15
15
  <li class="card-data__item card--list__item card-data__item--expand absolutes">
16
16
  <div class="mr-s">
17
+ <% if conversation.messages.last.decidim_sender_id == current_user.id %>
18
+ <%= t("to", scope: "decidim.messaging.conversations.index") %>:
19
+ <% else %>
20
+ <%= t("from", scope: "decidim.messaging.conversations.index") %>:
21
+ <% end %>
22
+
17
23
  <% if conversation.interlocutors(current_user).count == 1 %>
18
- <%= t("from", scope: "decidim.messaging.conversations.index") %>: <%= conversation_name_for(conversation.interlocutors(current_user)) %>
24
+ <%= conversation_name_for(conversation.interlocutors(current_user)) %>
19
25
  <% else %>
20
- <%= t("from", scope: "decidim.messaging.conversations.index") %>: <strong><%= username_list(conversation.interlocutors(current_user), shorten: true).html_safe %></strong>
26
+ <strong><%= username_list(conversation.interlocutors(current_user), shorten: true).html_safe %></strong>
21
27
  <% end %>
22
28
  <br>
23
29
  <span class="muted">
@@ -711,6 +711,9 @@ ar:
711
711
  index:
712
712
  last_activity: النشاط الاخير
713
713
  resource_type: نوع
714
+ links:
715
+ warning:
716
+ cancel: إلغاء
714
717
  log:
715
718
  base_presenter:
716
719
  create: "%{user_name} تم الإنشاء %{resource_name}"
@@ -920,6 +923,7 @@ ar:
920
923
  report_html: <p>بعد <a href="%{url}">محتوى</a> تم إخفاء تلقائيا.</p>
921
924
  subject: تم إخفاء المورد تلقائيًا
922
925
  report:
926
+ content_original_language: لغة المحتوى الأصلية
923
927
  hello: مرحبا %{name}،
924
928
  report_html: <p>تم الإبلاغ عن المحتوى <a href="%{url}">التالي</a> .</p>
925
929
  subject: تم الإبلاغ عن مورد
@@ -962,6 +966,8 @@ ar:
962
966
  other: "%{count} النتائج"
963
967
  view_all: عرض الكل (%{count})
964
968
  shared:
969
+ confirm_modal:
970
+ cancel: إلغاء
965
971
  embed_modal:
966
972
  close_window: أغلق النافذة
967
973
  embed: يرجى لصق هذا الرمز في صفحتك
@@ -1218,6 +1224,8 @@ ar:
1218
1224
  close_session: اغلق الموسم
1219
1225
  description_html: أنت تدير المشارك <b>%{user_name}</b>.
1220
1226
  expire_time_html: سوف تنتهي جلستك في <b><span class="minutes">%{minutes}</span> دقائق</b>.
1227
+ language_chooser:
1228
+ choose_language: اختر اللغة
1221
1229
  notifications_dashboard:
1222
1230
  mark_all_as_read: اشر عليها بانها قرات
1223
1231
  user_menu:
@@ -76,6 +76,30 @@ ca:
76
76
  decidim_with_day_and_month_name: "%A %d %b %Y"
77
77
  decidim_with_month_name: "%d %B %Y"
78
78
  decidim_with_month_name_short: "%d %b"
79
+ datetime:
80
+ distance_in_words:
81
+ about_x_hours:
82
+ one: al voltant d’1 hora
83
+ other: al voltant de %{count} hores
84
+ about_x_months:
85
+ one: al voltant d’1 mes
86
+ other: al voltant de %{count} mesos
87
+ half_a_minute: mig minut
88
+ less_than_x_minutes:
89
+ one: menys d’un minut
90
+ other: menys de %{count} minuts
91
+ less_than_x_seconds:
92
+ one: ara mateix
93
+ other: menys de %{count} segons
94
+ x_days:
95
+ one: fa 1 dia
96
+ other: "fa %{count} dies"
97
+ x_hours:
98
+ one: fa 1 hora
99
+ other: "fa %{count} hores"
100
+ x_minutes:
101
+ one: fa 1 minut
102
+ other: "fa %{count} minuts"
79
103
  decidim:
80
104
  accessibility:
81
105
  external_link: Enllaç extern
@@ -504,6 +528,11 @@ ca:
504
528
  this_application_will_not_be_able_to: 'Aquesta aplicació no podrà:'
505
529
  update_profile: Actualitza el teu perfil
506
530
  wants_to_use_your_account_html: "<strong>%{application_name}</strong> vol utilitzar el teu compte"
531
+ editor_images:
532
+ create:
533
+ error: S'ha produït un error en pujar la imatge
534
+ success: La imatge s'ha pujat correctament
535
+ drag_and_drop_help: Afegeix imatges arrossegant-les i deixant-les anar o bé enganxant-les.
507
536
  endorsable:
508
537
  endorsements: Adhesions
509
538
  endorsements_count: Número d'adhesions
@@ -960,6 +989,7 @@ ca:
960
989
  next: Següent
961
990
  no_conversations: Encara no tens converses
962
991
  title: Converses
992
+ to: Per a
963
993
  reply:
964
994
  placeholder: La teva resposta...
965
995
  send: Enviar
@@ -967,7 +997,7 @@ ca:
967
997
  show:
968
998
  back: Tornar a totes les converses
969
999
  chat_with: Conversa amb
970
- deleted_accounts: No podeu tenir una conversa amb un compte d'usuari eliminat.
1000
+ deleted_accounts: No podeu tenir una conversa amb un compte d'usuària eliminat.
971
1001
  not_allowed: Aquesta participant no accepta missatges directes.
972
1002
  title: Conversa amb %{usernames}
973
1003
  start:
@@ -1035,6 +1065,12 @@ ca:
1035
1065
  greetings: Salutacions,<br/>%{organization_name}<br/><a href="%{organization_url}">%{organization_url}</a>
1036
1066
  hello: Hola,
1037
1067
  subject: Vols seguir rebent informació rellevant sobre %{organization_name}?
1068
+ notification_mailer:
1069
+ event_received:
1070
+ no_translation_available: Ho sentim, no s'ha pogut recuperar la traducció automàtica en enviar el correu. Pots comprovar la traducció del text original a través del següent enllaç %{link}.
1071
+ original_text: 'Text original:'
1072
+ same_language: El contingut s'ha publicat en la teva llengua de preferència (%{language}), és per això que no es mostra cap traducció automàtica en aquest correu electrònic.
1073
+ translated_text: 'Text de la traducció automàtica:'
1038
1074
  notifications:
1039
1075
  no_notifications: Encara no hi ha notificacions.
1040
1076
  notifications_settings:
@@ -1332,7 +1368,7 @@ ca:
1332
1368
  title_reply: Respondre
1333
1369
  show:
1334
1370
  back: Mostra totes les converses
1335
- deleted_accounts: No podeu tenir una conversa amb un compte d'usuari eliminat.
1371
+ deleted_accounts: No podeu tenir una conversa amb un compte d'usuària eliminat.
1336
1372
  not_allowed: Aquesta participant no accepta missatges directes.
1337
1373
  title: Conversa amb %{usernames}
1338
1374
  update:
@@ -1629,10 +1665,12 @@ ca:
1629
1665
  name: Català
1630
1666
  name_with_error: Anglès (error!)
1631
1667
  password_validator:
1668
+ blacklisted: a la llista negra
1632
1669
  domain_included_in_password: és massa semblant a aquest nom de domini
1633
1670
  email_included_in_password: és massa similar al teu correu electrònic
1634
1671
  fallback: no és vàlid
1635
1672
  name_included_in_password: és massa semblant al teu nom
1673
+ nickname_included_in_password: és massa semblant al teu àlies
1636
1674
  not_enough_unique_characters: no té prou caràcters únics
1637
1675
  password_not_allowed: no està permès
1638
1676
  password_too_common: és massa comú
@@ -1667,6 +1705,8 @@ ca:
1667
1705
  day_of_week: "%a"
1668
1706
  day_of_week_long: "%a %e"
1669
1707
  day_of_year: "%d/%m/%y"
1708
+ ddmm: "%d.%m"
1709
+ ddmmyyyy: "%d.%m.%Y"
1670
1710
  decidim_day_of_year: "%d %B %Y"
1671
1711
  decidim_short: "%d/%m/%Y %H:%M"
1672
1712
  default: "%a, %d %b %Y %H:%M:%S %z"
@@ -124,9 +124,8 @@ cs:
124
124
  other: "před %{count} minutami"
125
125
  x_seconds:
126
126
  one: před 1 vteřinou
127
- few: "před %{count} vteřinami"
128
- many: "před %{count} vteřinami"
129
127
  other: "před %{count} vteřinami"
128
+ zero: právě teď
130
129
  decidim:
131
130
  accessibility:
132
131
  external_link: Externí odkaz
@@ -1033,6 +1032,7 @@ cs:
1033
1032
  next: Další
1034
1033
  no_conversations: Nemáte zatím žádné konverzace
1035
1034
  title: Konverzace
1035
+ to: Komu
1036
1036
  reply:
1037
1037
  placeholder: Vaše odpověď...
1038
1038
  send: Poslat
@@ -1001,6 +1001,7 @@ en:
1001
1001
  next: Next
1002
1002
  no_conversations: You have no conversations yet
1003
1003
  title: Conversations
1004
+ to: To
1004
1005
  reply:
1005
1006
  placeholder: Your reply...
1006
1007
  send: Send
@@ -76,6 +76,30 @@ es-MX:
76
76
  decidim_with_day_and_month_name: "%A %d %b %Y"
77
77
  decidim_with_month_name: "%d %B %Y"
78
78
  decidim_with_month_name_short: "%d %b"
79
+ datetime:
80
+ distance_in_words:
81
+ about_x_hours:
82
+ one: aproximadamente 1 hora
83
+ other: aproximadamente %{count} horas
84
+ about_x_months:
85
+ one: aproximadamente 1 mes
86
+ other: aproximadamente %{count} meses
87
+ half_a_minute: medio minuto
88
+ less_than_x_minutes:
89
+ one: menos de 1 minuto
90
+ other: menos de %{count} minutos
91
+ less_than_x_seconds:
92
+ one: ahora mismo
93
+ other: menos de %{count} segundos
94
+ x_days:
95
+ one: hace 1 día
96
+ other: "hace %{count} días"
97
+ x_hours:
98
+ one: hace 1 hora
99
+ other: "hace %{count} días"
100
+ x_minutes:
101
+ one: hace 1 minuto
102
+ other: "hace %{count} minutos"
79
103
  decidim:
80
104
  accessibility:
81
105
  external_link: Enlace externo
@@ -507,6 +531,11 @@ es-MX:
507
531
  this_application_will_not_be_able_to: 'Esta aplicación no podrá:'
508
532
  update_profile: Actualiza tu perfil
509
533
  wants_to_use_your_account_html: "<strong>%{application_name}</strong> quiere usar tu cuenta"
534
+ editor_images:
535
+ create:
536
+ error: Error al subir la imagen
537
+ success: Imagen subida con éxito
538
+ drag_and_drop_help: Puedes añadir imágenes arrastrando y soltándolas o también pegándolas.
510
539
  endorsable:
511
540
  endorsements: Adhesiones
512
541
  endorsements_count: Número de adhesiones
@@ -697,6 +726,7 @@ es-MX:
697
726
  no_followers: Aún no hay seguidores.
698
727
  following:
699
728
  no_followings: No sigue a nadie ni a nada todavía.
729
+ non_public_followings: Algunos de los recursos seguidos no son públicos.
700
730
  follows:
701
731
  create:
702
732
  button: Seguir
@@ -969,6 +999,7 @@ es-MX:
969
999
  show:
970
1000
  back: Volver a todas las conversaciones
971
1001
  chat_with: Conversación con
1002
+ deleted_accounts: No puedes tener una conversación con cuentas borradas.
972
1003
  not_allowed: Esta participante no acepta mensajes directos.
973
1004
  title: Conversación con %{usernames}
974
1005
  start:
@@ -1036,6 +1067,12 @@ es-MX:
1036
1067
  greetings: Saludos,<br/>%{organization_name}<br/><a href="%{organization_url}">%{organization_url}</a>
1037
1068
  hello: Hola,
1038
1069
  subject: '¿Deseas seguir recibiendo información relevante sobre %{organization_name}?'
1070
+ notification_mailer:
1071
+ event_received:
1072
+ no_translation_available: Lo sentimos, no se pudo recuperar la traducción automática al enviar el correo electrónico. Puedes comprobar la traducción del texto original en el siguiente enlace %{link}.
1073
+ original_text: 'Texto original:'
1074
+ same_language: El contenido ha sido publicado en tu idioma preferido (%{language}), por eso no se muestra ninguna traducción automática en este correo electrónico.
1075
+ translated_text: 'Texto traducido automáticamente:'
1039
1076
  notifications:
1040
1077
  no_notifications: No hay notificaciones aún.
1041
1078
  notifications_settings:
@@ -1333,6 +1370,7 @@ es-MX:
1333
1370
  title_reply: Responder
1334
1371
  show:
1335
1372
  back: Ver todas las conversaciones
1373
+ deleted_accounts: No puedes tener una conversación con cuentas borradas.
1336
1374
  not_allowed: Esta participante no acepta mensajes directos.
1337
1375
  title: Conversación con %{usernames}
1338
1376
  update:
@@ -1630,10 +1668,12 @@ es-MX:
1630
1668
  name: Español
1631
1669
  name_with_error: Inglés (¡error!)
1632
1670
  password_validator:
1671
+ blacklisted: en la lista negra
1633
1672
  domain_included_in_password: Es muy similar a este nombre de dominio
1634
1673
  email_included_in_password: Es muy similar a tu correo electrónico
1635
1674
  fallback: No es válido
1636
1675
  name_included_in_password: Es muy similar a tu nombre
1676
+ nickname_included_in_password: es demasiado similar a tu alias
1637
1677
  not_enough_unique_characters: No tiene suficientes caracteres únicos
1638
1678
  password_not_allowed: No se permite
1639
1679
  password_too_common: Es demasiado común
@@ -1668,6 +1708,8 @@ es-MX:
1668
1708
  day_of_week: "%a"
1669
1709
  day_of_week_long: "%a %e"
1670
1710
  day_of_year: "%d/%m/%y"
1711
+ ddmm: "%d.%m"
1712
+ ddmmyyyy: "%d.%m.%Y"
1671
1713
  decidim_day_of_year: "%d %B %Y"
1672
1714
  decidim_short: "%d/%m/%Y %H:%M"
1673
1715
  default: "%a, %d %b %Y %H:%M:%S %z"
@@ -76,6 +76,30 @@ es-PY:
76
76
  decidim_with_day_and_month_name: "%A %d %b %Y"
77
77
  decidim_with_month_name: "%d %B %Y"
78
78
  decidim_with_month_name_short: "%d %b"
79
+ datetime:
80
+ distance_in_words:
81
+ about_x_hours:
82
+ one: aproximadamente 1 hora
83
+ other: aproximadamente %{count} horas
84
+ about_x_months:
85
+ one: aproximadamente 1 mes
86
+ other: aproximadamente %{count} meses
87
+ half_a_minute: medio minuto
88
+ less_than_x_minutes:
89
+ one: menos de 1 minuto
90
+ other: menos de %{count} minutos
91
+ less_than_x_seconds:
92
+ one: ahora mismo
93
+ other: menos de %{count} segundos
94
+ x_days:
95
+ one: hace 1 día
96
+ other: "hace %{count} días"
97
+ x_hours:
98
+ one: hace 1 hora
99
+ other: "hace %{count} días"
100
+ x_minutes:
101
+ one: hace 1 minuto
102
+ other: "hace %{count} minutos"
79
103
  decidim:
80
104
  accessibility:
81
105
  external_link: Enlace externo
@@ -507,6 +531,11 @@ es-PY:
507
531
  this_application_will_not_be_able_to: 'Esta aplicación no podrá:'
508
532
  update_profile: Actualiza tu perfil
509
533
  wants_to_use_your_account_html: "<strong>%{application_name}</strong> quiere usar tu cuenta"
534
+ editor_images:
535
+ create:
536
+ error: Error al subir la imagen
537
+ success: Imagen subida con éxito
538
+ drag_and_drop_help: Puedes añadir imágenes arrastrando y soltándolas o también pegándolas.
510
539
  endorsable:
511
540
  endorsements: Adhesiones
512
541
  endorsements_count: Número de adhesiones
@@ -697,6 +726,7 @@ es-PY:
697
726
  no_followers: Aún no hay seguidores.
698
727
  following:
699
728
  no_followings: No sigue a nadie ni a nada todavía.
729
+ non_public_followings: Algunos de los recursos seguidos no son públicos.
700
730
  follows:
701
731
  create:
702
732
  button: Seguir
@@ -969,6 +999,7 @@ es-PY:
969
999
  show:
970
1000
  back: Volver a todas las conversaciones
971
1001
  chat_with: Conversación con
1002
+ deleted_accounts: No puedes tener una conversación con cuentas borradas.
972
1003
  not_allowed: Esta participante no acepta mensajes directos.
973
1004
  title: Conversacion con %{usernames}
974
1005
  start:
@@ -1036,6 +1067,12 @@ es-PY:
1036
1067
  greetings: Saludos,<br/>%{organization_name}<br/><a href="%{organization_url}">%{organization_url}</a>
1037
1068
  hello: Hola,
1038
1069
  subject: '¿Desea seguir recibiendo información relevante sobre %{organization_name}?'
1070
+ notification_mailer:
1071
+ event_received:
1072
+ no_translation_available: Lo sentimos, no se pudo recuperar la traducción automática al enviar el correo electrónico. Puedes comprobar la traducción del texto original en el siguiente enlace %{link}.
1073
+ original_text: 'Texto original:'
1074
+ same_language: El contenido ha sido publicado en tu idioma preferido (%{language}), por eso no se muestra ninguna traducción automática en este correo electrónico.
1075
+ translated_text: 'Texto traducido automáticamente:'
1039
1076
  notifications:
1040
1077
  no_notifications: No hay notificaciones aún.
1041
1078
  notifications_settings:
@@ -1333,6 +1370,7 @@ es-PY:
1333
1370
  title_reply: Responder
1334
1371
  show:
1335
1372
  back: Ver todas las conversaciones
1373
+ deleted_accounts: No puedes tener una conversación con cuentas borradas.
1336
1374
  not_allowed: Esta participante no acepta mensajes directos.
1337
1375
  title: Conversación con %{usernames}
1338
1376
  update:
@@ -1630,10 +1668,12 @@ es-PY:
1630
1668
  name: Castellano
1631
1669
  name_with_error: Inglés (¡error!)
1632
1670
  password_validator:
1671
+ blacklisted: en la lista negra
1633
1672
  domain_included_in_password: Es muy similar a este nombre de dominio
1634
1673
  email_included_in_password: Es muy similar a tu correo electrónico
1635
1674
  fallback: No es válido
1636
1675
  name_included_in_password: Es muy similar a tu nombre
1676
+ nickname_included_in_password: es demasiado similar a tu alias
1637
1677
  not_enough_unique_characters: No tiene suficientes caracteres únicos
1638
1678
  password_not_allowed: No se permite
1639
1679
  password_too_common: Es demasiado común
@@ -1668,6 +1708,8 @@ es-PY:
1668
1708
  day_of_week: "%a"
1669
1709
  day_of_week_long: "%a %e"
1670
1710
  day_of_year: "%d/%m/%y"
1711
+ ddmm: "%d.%m"
1712
+ ddmmyyyy: "%d.%m.%Y"
1671
1713
  decidim_day_of_year: "%d %B %Y"
1672
1714
  decidim_short: "%d/%m/%Y %H:%M"
1673
1715
  default: "%a, %d %b %Y %H:%M:%S %z"
@@ -100,9 +100,6 @@ es:
100
100
  x_minutes:
101
101
  one: hace 1 minuto
102
102
  other: "hace %{count} minutos"
103
- x_seconds:
104
- one: hace 1 segundo
105
- other: "hace %{count} segundos"
106
103
  decidim:
107
104
  accessibility:
108
105
  external_link: Enlace externo
@@ -73,6 +73,12 @@ eu:
73
73
  decidim_with_day_and_month_name: "%A %d %b %Y"
74
74
  decidim_with_month_name: "%d %B %Y"
75
75
  decidim_with_month_name_short: "%d %b"
76
+ datetime:
77
+ distance_in_words:
78
+ x_seconds:
79
+ one: Orain dela segundu 1
80
+ other: "Orain dela %{count} segundu"
81
+ zero: orain
76
82
  decidim:
77
83
  accessibility:
78
84
  external_link: Kanpoko lotura
@@ -76,6 +76,30 @@ fi-pl:
76
76
  decidim_with_day_and_month_name: "%A %d. %b %Y"
77
77
  decidim_with_month_name: "%B %d. %Y"
78
78
  decidim_with_month_name_short: "%d. %b"
79
+ datetime:
80
+ distance_in_words:
81
+ about_x_hours:
82
+ one: noin tunti
83
+ other: noin %{count} tuntia
84
+ about_x_months:
85
+ one: noin kuukausi
86
+ other: noin %{count} kuukautta
87
+ half_a_minute: puoli minuuttia
88
+ less_than_x_minutes:
89
+ one: alle minuutti.
90
+ other: alle %{count} minuuttia.
91
+ less_than_x_seconds:
92
+ one: juuri nyt
93
+ other: vähemmän kuin %{count} sekuntia.
94
+ x_days:
95
+ one: päivä sitten
96
+ other: "%{count} päivää sitten"
97
+ x_hours:
98
+ one: tunti sitten
99
+ other: "%{count} tuntia sitten"
100
+ x_minutes:
101
+ one: minuutti sitten
102
+ other: "%{count} minuuttia sitten"
79
103
  decidim:
80
104
  accessibility:
81
105
  external_link: Ulkoinen linkki
@@ -974,6 +998,7 @@ fi-pl:
974
998
  show:
975
999
  back: Takaisin kaikkiin keskusteluihin
976
1000
  chat_with: Keskustelu osallistujien kanssa
1001
+ deleted_accounts: Et voi keskustella poistettujen käyttäjätilien kanssa.
977
1002
  not_allowed: Tämä osallistuja ei halua vastaanottaa yksityisviestejä.
978
1003
  title: 'Keskustelu: %{usernames}'
979
1004
  start:
@@ -1041,6 +1066,12 @@ fi-pl:
1041
1066
  greetings: Tervehdys,<br/>%{organization_name}<br/><a href="%{organization_url}">%{organization_url}</a>
1042
1067
  hello: Hei,
1043
1068
  subject: Haluatko jatkaa olennaisen tiedon vastaanottamista koskien %{organization_name} -palvelua?
1069
+ notification_mailer:
1070
+ event_received:
1071
+ no_translation_available: 'Valitettavasti automatisoitua käännöstä ei ollut saatavilla, kun tämä sähköposti on lähetetty. Voit tarkistaa käännöksen alkuperäisestä tekstistä tämän linkin kautta: %{link}.'
1072
+ original_text: 'Alkuperäinen teksti:'
1073
+ same_language: Sisältö on lisätty toivomallasi kielellä (%{language}), minkä takia tässä viestissä ei näytetä automaattista käännöstä.
1074
+ translated_text: 'Automaattisesti käännetty teksti:'
1044
1075
  notifications:
1045
1076
  no_notifications: Ei vielä ilmoituksia.
1046
1077
  notifications_settings:
@@ -1338,6 +1369,7 @@ fi-pl:
1338
1369
  title_reply: Vastaa
1339
1370
  show:
1340
1371
  back: Näytä kaikki keskustelut
1372
+ deleted_accounts: Et voi keskustella poistettujen käyttäjätilien kanssa.
1341
1373
  not_allowed: Tämä käyttäjä ei ole sallinut yksityisviestejä muilta käyttäjiltä.
1342
1374
  title: 'Keskustelu: %{usernames}'
1343
1375
  update:
@@ -1635,10 +1667,12 @@ fi-pl:
1635
1667
  name: Suomi
1636
1668
  name_with_error: Suomi (virhe!)
1637
1669
  password_validator:
1670
+ blacklisted: on mustalla listalla
1638
1671
  domain_included_in_password: liian samankaltainen palvelun verkko-osoitteen kanssa
1639
1672
  email_included_in_password: liian samankaltainen sähköpostisi kanssa
1640
1673
  fallback: ei ole hyväksytyn muotoinen
1641
1674
  name_included_in_password: liian samankaltainen nimesi kanssa
1675
+ nickname_included_in_password: liian samankaltainen nimesi kanssa
1642
1676
  not_enough_unique_characters: ei sisällä tarpeeksi yksilöllisiä merkkejä
1643
1677
  password_not_allowed: ei ole sallittu
1644
1678
  password_too_common: liian yleinen
@@ -1673,6 +1707,8 @@ fi-pl:
1673
1707
  day_of_week: "%a"
1674
1708
  day_of_week_long: "%a %e."
1675
1709
  day_of_year: "%d.%m.%y"
1710
+ ddmm: "%d.%m."
1711
+ ddmmyyyy: "%d.%m.%Y"
1676
1712
  decidim_day_of_year: "%B %d. %Y"
1677
1713
  decidim_short: "%d.%m.%Y %H:%M"
1678
1714
  default: "%a, %d. %b %Y %H:%M:%S %z"
@@ -100,9 +100,6 @@ fi:
100
100
  x_minutes:
101
101
  one: minuutti sitten
102
102
  other: "%{count} minuuttia sitten"
103
- x_seconds:
104
- one: sekunti sitten
105
- other: "%{count} sekuntia sitten"
106
103
  decidim:
107
104
  accessibility:
108
105
  external_link: Ulkoinen linkki
@@ -100,9 +100,6 @@ fr-CA:
100
100
  x_minutes:
101
101
  one: Il y a 1 min
102
102
  other: "Il y a %{count} min"
103
- x_seconds:
104
- one: Il y a 1 seconde
105
- other: "Il y a %{count} secondes"
106
103
  decidim:
107
104
  accessibility:
108
105
  external_link: Lien externe
@@ -990,6 +987,7 @@ fr-CA:
990
987
  next: Suivant
991
988
  no_conversations: Vous n'avez encore aucune conversation
992
989
  title: Conversations
990
+ to: À
993
991
  reply:
994
992
  placeholder: Votre réponse...
995
993
  send: Envoyer
@@ -1065,6 +1063,12 @@ fr-CA:
1065
1063
  greetings: Salutations,<br/>%{organization_name}<br/><a href="%{organization_url}">%{organization_url}</a>
1066
1064
  hello: Bonjour,
1067
1065
  subject: Voulez-vous continuer à recevoir des informations pertinentes sur %{organization_name} ?
1066
+ notification_mailer:
1067
+ event_received:
1068
+ no_translation_available: Désolé, la traduction automatique n'a pas pu être récupérée lorsque l'e-mail a été envoyé. Vous pouvez voir la traduction du texte original sur le lien suivant %{link}.
1069
+ original_text: 'Texte original :'
1070
+ same_language: Le contenu a été publié dans votre langue préférée (%{language}), c'est pourquoi aucune traduction automatique n'est affichée dans cet e-mail.
1071
+ translated_text: 'Traduction automatique du texte :'
1068
1072
  notifications:
1069
1073
  no_notifications: Il n'y a pas encore de notifications.
1070
1074
  notifications_settings:
@@ -84,7 +84,7 @@ fr:
84
84
  about_x_months:
85
85
  one: environ %{count} mois
86
86
  other: environ %{count} mois
87
- half_a_minute: une demi-minute
87
+ half_a_minute: 30 secondes
88
88
  less_than_x_minutes:
89
89
  one: moins d’une minute.
90
90
  other: moins de %{count} min.
@@ -103,6 +103,7 @@ fr:
103
103
  x_seconds:
104
104
  one: Il y a 1 seconde
105
105
  other: "Il y a %{count} secondes"
106
+ zero: à l’instant
106
107
  decidim:
107
108
  accessibility:
108
109
  external_link: Lien externe
@@ -125,7 +126,7 @@ fr:
125
126
  error: Une erreur s'est produite lors de la suppression de votre compte.
126
127
  success: Votre compte a été supprimé avec succès.
127
128
  show:
128
- available_locales_helper: Choisissez la langue que vous souhaitez utiliser pour naviguer et recevoir des notifications dans Decidim
129
+ available_locales_helper: Choisissez la langue que vous souhaitez utiliser pour naviguer et recevoir des notifications dans %{organization_name}
129
130
  change_password: Changer de mot de passe
130
131
  update_account: Mettre à jour votre compte
131
132
  update:
@@ -477,7 +478,7 @@ fr:
477
478
  complete_profile: Complétez votre profil
478
479
  nickname_help: Cet identifiant est public et unique sur %{organization} ; il permet aux autres utilisateurs de vous suivre, de vous contacter ou de vous mentionner dans leurs commentaires. Il s’affichera précédé d’un « @ » ; il ne doit pas contenir d’espace ni de caractère spécial.
479
480
  sign_up: Veuillez compléter votre profil
480
- subtitle: Remplissez le formulaire suivant pour compléter l'inscription
481
+ subtitle: Remplissez le formulaire suivant pour créer votre compte
481
482
  username_help: Le nom est public et apparaît dans votre profil et sur vos messages. Dans le but de garantir l'anonymat, vous pouvez choisir n'importe quel nom.
482
483
  registrations:
483
484
  new:
@@ -486,21 +487,21 @@ fr:
486
487
  newsletter_title: Autorisation de contact
487
488
  nickname_help: Cet identifiant est public et unique sur %{organization} ; il permet aux autres utilisateurs de vous suivre, de vous contacter ou de vous mentionner dans leurs commentaires. Il s’affichera précédé d’un « @ » ; il ne doit pas contenir d’espace ni de caractère spécial.
488
489
  password_help: "%{minimun_characters} caractères minimum, ne doit pas être trop commun (par exemple 123456) et doit être différent de votre pseudo et de votre email."
489
- sign_in: Se connecter
490
- sign_up: S'inscrire
490
+ sign_in: S'identifier
491
+ sign_up: Créer un compte
491
492
  sign_up_as:
492
- legend: S'inscrire en tant que
493
- subtitle: Inscrivez-vous pour participer aux discussions et pour exprimer votre soutien aux propositions de votre choix.
493
+ legend: Créer un compte en tant que
494
+ subtitle: Créez un compte pour participer aux discussions et pour exprimer votre soutien aux propositions de votre choix.
494
495
  terms: les termes et conditions d'utilisation
495
- tos_agreement: En vous inscrivant, vous acceptez %{link}.
496
+ tos_agreement: En vous créant un compte, vous acceptez %{link}.
496
497
  tos_title: Conditions d'utilisation
497
498
  username_help: Le nom est public et apparaît dans votre profil et sur vos messages. Dans le but de garantir l'anonymat, vous pouvez choisir n'importe quel nom.
498
499
  sessions:
499
500
  new:
500
501
  are_you_new?: Nouveau sur la plateforme ?
501
- register: Créer un compte
502
+ register: S'inscrire
502
503
  sign_in_disabled: Vous pouvez accéder avec un compte externe
503
- sign_up_disabled: L'inscription est désactivée, vous pouvez utiliser un utilisateur existant pour accéder
504
+ sign_up_disabled: La création de compte est désactivée, mais vous pouvez vous identifier avec votre compte si vous en avez déjà un
504
505
  user:
505
506
  timed_out: Vous avez été inactif pendant trop longtemps et vous avez été automatiquement déconnecté du service. Si vous souhaitez continuer à utiliser le service, veuillez vous reconnecter.
506
507
  shared:
@@ -531,8 +532,8 @@ fr:
531
532
  wants_to_use_your_account_html: "<strong>%{application_name}</strong> veut utiliser votre compte"
532
533
  editor_images:
533
534
  create:
534
- error: Erreur lors de l'envoi de l'image
535
- success: Image envoyée avec succès
535
+ error: Erreur lors du téléchargement de l'image
536
+ success: Image téléchargée avec succès
536
537
  drag_and_drop_help: Ajoutez des images en les glissant - déposant ou en les collant depuis votre presse-papier.
537
538
  endorsable:
538
539
  endorsements: Soutiens
@@ -990,6 +991,7 @@ fr:
990
991
  next: Suivant
991
992
  no_conversations: Vous n'avez encore aucune conversation
992
993
  title: Conversations
994
+ to: À
993
995
  reply:
994
996
  placeholder: Votre réponse...
995
997
  send: Envoyer
@@ -1065,6 +1067,12 @@ fr:
1065
1067
  greetings: Salutations,<br/>%{organization_name}<br/><a href="%{organization_url}">%{organization_url}</a>
1066
1068
  hello: Bonjour,
1067
1069
  subject: Voulez-vous continuer à recevoir des informations pertinentes sur %{organization_name} ?
1070
+ notification_mailer:
1071
+ event_received:
1072
+ no_translation_available: Désolé, la traduction automatique n'a pas pu être récupérée lorsque l'e-mail a été envoyé. Vous pouvez voir la traduction du texte original sur le lien suivant %{link}.
1073
+ original_text: 'Texte original :'
1074
+ same_language: Le contenu a été publié dans votre langue préférée (%{language}), c'est pourquoi aucune traduction automatique n'est affichée dans cet e-mail.
1075
+ translated_text: 'Traduction automatique du texte :'
1068
1076
  notifications:
1069
1077
  no_notifications: Il n'y a pas encore de notifications.
1070
1078
  notifications_settings:
@@ -1291,8 +1299,8 @@ fr:
1291
1299
  sign_in_before_follow: Veuillez vous connecter avant d'effectuer cette action
1292
1300
  login_modal:
1293
1301
  close_modal: Fermer la fenêtre de dialogue
1294
- please_sign_in: Veuillez vous connecter
1295
- sign_up: S'inscrire
1302
+ please_sign_in: Veuillez vous identifier
1303
+ sign_up: Créer un compte
1296
1304
  participatory_space_filters:
1297
1305
  filters:
1298
1306
  areas: Zones d'application
@@ -1436,7 +1444,7 @@ fr:
1436
1444
  locked: Votre compte est bloqué.
1437
1445
  not_found_in_database: '%{authentication_keys} ou mot de passe invalide.'
1438
1446
  timeout: Votre session a expiré. Veuillez vous connecter à nouveau pour continuer.
1439
- unauthenticated: Vous devez vous connecter ou vous inscrire avant de continuer.
1447
+ unauthenticated: Vous devez vous identifier ou vous créer un compte avant de continuer.
1440
1448
  invitations:
1441
1449
  edit:
1442
1450
  header: Terminer la création de votre compte
@@ -1531,10 +1539,10 @@ fr:
1531
1539
  update: Mettre à jour
1532
1540
  we_need_your_current_password_to_confirm_your_changes: nous avons besoin de votre mot de passe actuel pour confirmer vos modifications
1533
1541
  new:
1534
- sign_up: S'inscrire
1535
- signed_up: Bienvenue! Vous vous êtes inscrit avec succès.
1536
- signed_up_but_inactive: Vous vous êtes inscrit avec succès. Cependant, nous ne pouvons pas vous connecter car votre compte n'est pas encore activé.
1537
- signed_up_but_locked: Vous vous êtes inscrit avec succès. Cependant, nous ne pouvons pas vous connecter car votre compte est verrouillé.
1542
+ sign_up: Créer un compte
1543
+ signed_up: Bienvenue! Votre compte a été créé avec succès.
1544
+ signed_up_but_inactive: Votre compte a été créé avec succès. Cependant, nous ne pouvons pas vous identifier car votre compte n'est pas encore activé.
1545
+ signed_up_but_locked: Votre compte a été créé avec succès. Cependant, nous ne pouvons pas vous identifier car votre compte est verrouillé.
1538
1546
  signed_up_but_unconfirmed: Un message avec un lien de confirmation a été envoyé à votre adresse e-mail. Veuillez suivre le lien pour activer votre compte.
1539
1547
  update_needs_confirmation: Vous avez mis à jour votre compte avec succès, mais nous devons vérifier votre nouvelle adresse e-mail. S'il vous plaît vérifier votre email et suivez le lien de confirmation pour confirmer votre nouvelle adresse e-mail.
1540
1548
  updated: Votre compte a été mis à jour avec succès.
@@ -1551,8 +1559,8 @@ fr:
1551
1559
  didn_t_receive_unlock_instructions: Si la plateforme vous indique que votre compte est bloqué, cliquez ici pour recevoir les instructions de déblocage
1552
1560
  forgot_your_password: Mot de passe oublié?
1553
1561
  sign_in: S'identifier
1554
- sign_in_with_provider: Se connecter avec %{provider}
1555
- sign_up: S'inscrire
1562
+ sign_in_with_provider: S'identifier avec %{provider}
1563
+ sign_up: Créer un compte
1556
1564
  minimum_password_length:
1557
1565
  one: "(%{count} caractère minimum)"
1558
1566
  other: "(%{count} caractères minimum)"
@@ -1577,7 +1585,7 @@ fr:
1577
1585
  long_words: contient des mots trop longs (plus de 35 caractères)
1578
1586
  must_start_with_caps: doit commencer par une majuscule
1579
1587
  nesting_too_deep: ne peut pas être à l'intérieur d'une sous-catégorie
1580
- not_found: introuvable. Vous êtes-vous déjà inscrit ?
1588
+ not_found: Compte introuvable. Vous êtes-vous déjà inscrit ?
1581
1589
  not_locked: n'était pas verrouillé
1582
1590
  not_saved:
1583
1591
  one: 'Une erreur est survenue pendant le traitement de votre requête.'
@@ -1613,8 +1621,8 @@ fr:
1613
1621
  close_menu: Fermer le menu
1614
1622
  main_menu: Menu principal
1615
1623
  navigation: Navigation
1616
- sign_in: Se connecter
1617
- sign_up: S'inscrire
1624
+ sign_in: S'identifier
1625
+ sign_up: Créer un compte
1618
1626
  user_menu: Menu utilisateur
1619
1627
  impersonation_warning:
1620
1628
  close_session: Fermer la session
@@ -1632,7 +1640,7 @@ fr:
1632
1640
  twitter: "%{organization} sur Twitter"
1633
1641
  youtube: "%{organization} sur YouTube"
1634
1642
  timeout_modal:
1635
- body: Vous avez été inactif pendant %{minutes} minutes. Si vous continuez à être inactif, vous serez automatiquement déconnecté pour votre propre sécurité.
1643
+ body: Vous avez été inactif pendant %{minutes} minutes. Si vous continuez à être inactif, vous serez automatiquement déconnecté de la plateforme pour des raisons de sécurité.
1636
1644
  continue_session: Continuer la session
1637
1645
  sign_out: Se déconnecter
1638
1646
  title: Voulez-vous poursuivre votre session ?
@@ -89,8 +89,6 @@ ja:
89
89
  other: "%{count} 時間前"
90
90
  x_minutes:
91
91
  other: "%{count} 分前"
92
- x_seconds:
93
- other: "%{count} 秒前"
94
92
  decidim:
95
93
  accessibility:
96
94
  external_link: 外部リンク
@@ -978,6 +976,7 @@ ja:
978
976
  next: 次へ
979
977
  no_conversations: 会話がまだありません
980
978
  title: 会話
979
+ to: 宛先
981
980
  reply:
982
981
  placeholder: あなたの返信...
983
982
  send: 送信
@@ -99,9 +99,6 @@ nl:
99
99
  x_minutes:
100
100
  one: 1 minuut geleden
101
101
  other: "%{count} minuten geleden"
102
- x_seconds:
103
- one: 1 seconde geleden
104
- other: "%{count} seconden geleden"
105
102
  decidim:
106
103
  accessibility:
107
104
  external_link: Externe link
@@ -990,6 +990,7 @@ ro:
990
990
  show:
991
991
  back: Înapoi la toate conversațiile
992
992
  chat_with: Conversație cu
993
+ deleted_accounts: Nu poți avea o conversație cu conturi șterse.
993
994
  not_allowed: Acest participant nu acceptă mesaje directe.
994
995
  title: Conversație cu %{usernames}
995
996
  start:
@@ -1057,6 +1058,12 @@ ro:
1057
1058
  greetings: Salutări,<br/>%{organization_name}<br/><a href="%{organization_url}">%{organization_url}</a>
1058
1059
  hello: Salut,
1059
1060
  subject: Doriți să continuați să primiți informații relevante despre %{organization_name}?
1061
+ notification_mailer:
1062
+ event_received:
1063
+ no_translation_available: Ne pare rău, traducerea automată nu a putut fi recuperată atunci când e-mailul a fost trimis. Puteți verifica traducerea textului original pe următorul link %{link}.
1064
+ original_text: 'Text original:'
1065
+ same_language: Conținutul a fost postat în limba preferată (%{language}), de aceea nu este afișată nicio traducere automată în acest e-mail.
1066
+ translated_text: 'Text tradus automat:'
1060
1067
  notifications:
1061
1068
  no_notifications: Nici o notificare încă.
1062
1069
  notifications_settings:
@@ -1355,6 +1362,7 @@ ro:
1355
1362
  title_reply: Răspuns
1356
1363
  show:
1357
1364
  back: Arată toate conversațiile
1365
+ deleted_accounts: Nu poți avea o conversație cu conturi șterse.
1358
1366
  not_allowed: Acest utilizator nu mai acceptă mesaje directe.
1359
1367
  title: Conversație cu %{usernames}
1360
1368
  update:
@@ -1659,6 +1667,7 @@ ro:
1659
1667
  email_included_in_password: este prea asemănător cu adresa de e-mail
1660
1668
  fallback: nu este valid
1661
1669
  name_included_in_password: este prea asemănător cu numele tău
1670
+ nickname_included_in_password: este prea similar cu nickname-ul dvs
1662
1671
  not_enough_unique_characters: nu are destule caractere unice
1663
1672
  password_not_allowed: nu este permis
1664
1673
  password_too_common: este prea frecvent
@@ -76,6 +76,12 @@ sv:
76
76
  decidim_with_day_and_month_name: "%A %d %b %Y"
77
77
  decidim_with_month_name: "%d %B %Y"
78
78
  decidim_with_month_name_short: "%d %b"
79
+ datetime:
80
+ distance_in_words:
81
+ x_seconds:
82
+ one: 1 sek. sedan
83
+ other: "%{count} sek. sedan"
84
+ zero: just nu
79
85
  decidim:
80
86
  accessibility:
81
87
  external_link: Extern länk
@@ -967,6 +973,7 @@ sv:
967
973
  next: Nästa
968
974
  no_conversations: Du har inga konversationer än
969
975
  title: Samtal
976
+ to: Till
970
977
  reply:
971
978
  placeholder: Ditt svar...
972
979
  send: Skicka
@@ -1048,13 +1055,13 @@ sv:
1048
1055
  administrators: Administratörer
1049
1056
  allow_public_contact: Tillåt alla att skicka direktmeddelanden till mig, även de som jag inte följer.
1050
1057
  direct_messages: Ta emot direktmeddelanden från alla
1051
- email_on_moderations: Jag vill få ett e-brev varje gång något anmäls för moderering.
1052
- email_on_notification: Jag vill få ett e-brev varje gång jag får ett meddelande.
1058
+ email_on_moderations: Jag vill få ett e-post varje gång något anmäls för moderering.
1059
+ email_on_notification: Jag vill få ett e-post varje gång jag får en notis.
1053
1060
  everything_followed: Allt jag följer
1054
1061
  newsletter_notifications: Jag vill få nyhetsbrev
1055
1062
  newsletters: Nyhetsbrev
1056
1063
  own_activity: Min egen verksamhet, som när någon kommenterar mitt förslag eller nämner mig
1057
- receive_notifications_about: Jag vill få meddelanden om
1064
+ receive_notifications_about: Jag vill få notiser om
1058
1065
  send_notifications_by_email: Skicka meddelanden via e-post
1059
1066
  update_notifications_settings: Spara ändringar
1060
1067
  update:
@@ -22,7 +22,8 @@ module Decidim
22
22
  filters[argument.to_sym] = v
23
23
  end
24
24
  Decidim::UserBaseEntity
25
- .where.not(confirmed_at: nil)
25
+ .confirmed
26
+ .not_blocked
26
27
  .find_by(filters)
27
28
  end
28
29
  end
@@ -19,7 +19,8 @@ module Decidim
19
19
  def call(_obj, args, ctx)
20
20
  @query = Decidim::UserBaseEntity
21
21
  .where(organization: ctx[:current_organization])
22
- .where.not(confirmed_at: nil)
22
+ .confirmed
23
+ .not_blocked
23
24
  .includes(avatar_attachment: :blob)
24
25
  add_filter_keys(args[:filter])
25
26
  add_order_keys(args[:order].to_h)
@@ -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.26.0.rc1"
7
+ "0.26.0.rc2"
8
8
  end
9
9
  end
10
10
  end
@@ -8,8 +8,6 @@ namespace :decidim do
8
8
  task install: :environment do
9
9
  raise "Decidim gem is not installed" if decidim_path.nil?
10
10
 
11
- # Remove yarn.lock (because bin/rails webpacker:install has been executed)
12
- remove_file_from_application "yarn.lock"
13
11
  # Removing bin/yarn makes assets:precompile task to don't execute `yarn install`
14
12
  remove_file_from_application "bin/yarn"
15
13
  # Babel config
@@ -20,9 +18,6 @@ namespace :decidim do
20
18
  copy_file_to_application "decidim-core/lib/decidim/webpacker/webpacker.yml", "config/webpacker.yml"
21
19
  # Webpack JS config files
22
20
  copy_folder_to_application "decidim-core/lib/decidim/webpacker/webpack", "config"
23
- # Modify the webpack binstubs
24
- add_binstub_load_path "bin/webpack"
25
- add_binstub_load_path "bin/webpack-dev-server"
26
21
 
27
22
  # Install JS dependencies
28
23
  install_decidim_npm
@@ -33,15 +28,14 @@ namespace :decidim do
33
28
  @rails/actioncable
34
29
  @rails/activestorage
35
30
  @rails/ujs
36
- @rails/webpacker
37
31
  turbolinks
38
- webpack
39
- webpack-cli
40
- @webpack-cli/serve
41
- webpack-dev-server
42
32
  )
43
33
  system! "npm uninstall #{webpacker_packages.join(" ")}"
44
34
 
35
+ # Modify the webpack binstubs
36
+ add_binstub_load_path "bin/webpack"
37
+ add_binstub_load_path "bin/webpack-dev-server"
38
+
45
39
  # Add the Browserslist configuration to the project
46
40
  add_decidim_browserslist_configuration
47
41
  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.26.0.rc1
4
+ version: 0.26.0.rc2
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: 2022-01-24 00:00:00.000000000 Z
13
+ date: 2022-02-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_link_to
@@ -754,28 +754,28 @@ dependencies:
754
754
  requirements:
755
755
  - - '='
756
756
  - !ruby/object:Gem::Version
757
- version: 0.26.0.rc1
757
+ version: 0.26.0.rc2
758
758
  type: :runtime
759
759
  prerelease: false
760
760
  version_requirements: !ruby/object:Gem::Requirement
761
761
  requirements:
762
762
  - - '='
763
763
  - !ruby/object:Gem::Version
764
- version: 0.26.0.rc1
764
+ version: 0.26.0.rc2
765
765
  - !ruby/object:Gem::Dependency
766
766
  name: decidim-dev
767
767
  requirement: !ruby/object:Gem::Requirement
768
768
  requirements:
769
769
  - - '='
770
770
  - !ruby/object:Gem::Version
771
- version: 0.26.0.rc1
771
+ version: 0.26.0.rc2
772
772
  type: :development
773
773
  prerelease: false
774
774
  version_requirements: !ruby/object:Gem::Requirement
775
775
  requirements:
776
776
  - - '='
777
777
  - !ruby/object:Gem::Version
778
- version: 0.26.0.rc1
778
+ version: 0.26.0.rc2
779
779
  description: Adds core features so other engines can hook into the framework.
780
780
  email:
781
781
  - josepjaume@gmail.com