decidim-dev 0.26.5 → 0.27.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/dummy_resources/create_dummy_resource.rb +1 -1
  3. data/app/controllers/concerns/decidim/dev/needs_development_tools.rb +1 -1
  4. data/config/locales/am-ET.yml +1 -0
  5. data/config/locales/ar.yml +1 -0
  6. data/config/locales/bg.yml +1 -0
  7. data/config/locales/ca.yml +1 -6
  8. data/config/locales/cs.yml +1 -6
  9. data/config/locales/da.yml +1 -0
  10. data/config/locales/de.yml +1 -0
  11. data/config/locales/el.yml +1 -0
  12. data/config/locales/en.yml +0 -6
  13. data/config/locales/eo.yml +1 -0
  14. data/config/locales/es-MX.yml +1 -6
  15. data/config/locales/es-PY.yml +1 -6
  16. data/config/locales/es.yml +1 -6
  17. data/config/locales/et.yml +1 -0
  18. data/config/locales/eu.yml +1 -0
  19. data/config/locales/fi-plain.yml +1 -6
  20. data/config/locales/fi.yml +1 -6
  21. data/config/locales/fr-CA.yml +1 -6
  22. data/config/locales/fr.yml +1 -6
  23. data/config/locales/ga-IE.yml +1 -0
  24. data/config/locales/gl.yml +1 -0
  25. data/config/locales/hr.yml +1 -0
  26. data/config/locales/hu.yml +1 -0
  27. data/config/locales/id-ID.yml +1 -0
  28. data/config/locales/is-IS.yml +2 -1
  29. data/config/locales/it.yml +1 -0
  30. data/config/locales/ja.yml +1 -6
  31. data/config/locales/ko.yml +1 -0
  32. data/config/locales/lb.yml +1 -0
  33. data/config/locales/lt.yml +1 -63
  34. data/config/locales/lv.yml +1 -0
  35. data/config/locales/mt.yml +1 -0
  36. data/config/locales/nl.yml +1 -0
  37. data/config/locales/no.yml +1 -0
  38. data/config/locales/om-ET.yml +1 -0
  39. data/config/locales/pl.yml +1 -0
  40. data/config/locales/pt-BR.yml +2 -1
  41. data/config/locales/pt.yml +1 -0
  42. data/config/locales/ro-RO.yml +1 -1
  43. data/config/locales/ru.yml +1 -0
  44. data/config/locales/si-LK.yml +1 -0
  45. data/config/locales/sk.yml +1 -0
  46. data/config/locales/sl.yml +1 -0
  47. data/config/locales/so-SO.yml +1 -0
  48. data/config/locales/sr-CS.yml +1 -0
  49. data/config/locales/sv.yml +1 -1
  50. data/config/locales/sw-KE.yml +1 -0
  51. data/config/locales/ti-ER.yml +1 -0
  52. data/config/locales/tr-TR.yml +1 -0
  53. data/config/locales/uk.yml +1 -0
  54. data/config/locales/val-ES.yml +1 -0
  55. data/config/locales/vi.yml +1 -0
  56. data/config/locales/zh-CN.yml +1 -0
  57. data/config/locales/zh-TW.yml +1 -0
  58. data/lib/decidim/dev/assets/assemblies.json +1 -11
  59. data/lib/decidim/dev/assets/geocoder_result_here.json +46 -67
  60. data/lib/decidim/dev/assets/logo.png +0 -0
  61. data/lib/decidim/dev/common_rake.rb +1 -0
  62. data/lib/decidim/dev/railtie.rb +1 -1
  63. data/lib/decidim/dev/test/base_spec_helper.rb +2 -1
  64. data/lib/decidim/dev/test/rspec_support/accessibility_examples.rb +1 -3
  65. data/lib/decidim/dev/test/rspec_support/attachment_helpers.rb +30 -0
  66. data/lib/decidim/dev/test/rspec_support/autocomplete_select.rb +23 -0
  67. data/lib/decidim/dev/test/rspec_support/capybara.rb +43 -5
  68. data/lib/decidim/dev/test/rspec_support/comments.rb +1 -1
  69. data/lib/decidim/dev/test/rspec_support/component.rb +5 -5
  70. data/lib/decidim/dev/test/rspec_support/controller_example_group.rb +27 -0
  71. data/lib/decidim/dev/test/rspec_support/cookies.rb +41 -0
  72. data/lib/decidim/dev/test/rspec_support/dynamic_attach.rb +31 -0
  73. data/lib/decidim/dev/test/rspec_support/frontend.rb +1 -1
  74. data/lib/decidim/dev/test/rspec_support/geocoder.rb +6 -2
  75. data/lib/decidim/dev/test/rspec_support/helpers.rb +0 -12
  76. data/lib/decidim/dev/test/rspec_support/html_matchers.rb +11 -0
  77. data/lib/decidim/dev/test/rspec_support/imports_controller_shared_examples.rb +3 -8
  78. data/lib/decidim/dev/test/rspec_support/network_conditions_helpers.rb +18 -0
  79. data/lib/decidim/dev/test/rspec_support/rake_tasks.rb +0 -2
  80. data/lib/decidim/dev/test/rspec_support/screenshot_helper.rb +41 -0
  81. data/lib/decidim/dev/test/rspec_support/warden.rb +5 -0
  82. data/lib/decidim/dev/test/rspec_support/wicked_pdf_assets_mock.rb +4 -0
  83. data/lib/decidim/dev/test/spec_helper.rb +2 -4
  84. data/lib/decidim/dev/test/w3c_rspec_validators_overrides.rb +0 -2
  85. data/lib/decidim/dev/version.rb +1 -1
  86. data/lib/decidim-dev.rb +1 -1
  87. data/lib/tasks/generators.rake +6 -2
  88. data/lib/tasks/lighthouse_report.rake +29 -0
  89. data/lib/tasks/locale_checker.rake +1 -1
  90. metadata +48 -45
  91. data/config/locales/gn-PY.yml +0 -1
  92. data/config/locales/ka-GE.yml +0 -1
  93. data/config/locales/lo-LA.yml +0 -1
  94. data/config/locales/oc-FR.yml +0 -1
  95. data/lib/decidim/dev/test/rspec_support/react_select.rb +0 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98163b28de960eafd5e9244149d2123197b632793f51e24458c8fd2cad6c6091
4
- data.tar.gz: 24c6e79cd9ab0b1cd676b638689e78ea8555bdc4facc168e68870fc4e13cea7a
3
+ metadata.gz: 352297a2285a46b08d1d758ef879cb997dd0c4cd6fc5d4413a3db9503ba04a24
4
+ data.tar.gz: '0099b3b7b5e6566b5f3f3dfb1c44cbf5e3e871b976e8e453d3d668e2a4f161cb'
5
5
  SHA512:
6
- metadata.gz: 5fabd33d55d238ecf032e8b93e09c4521405f7dd53d955af1e699c79e322af5bd56721ca190eecf6a04193867aa411433854a825c600d8ab5837a63c243bcb12
7
- data.tar.gz: cd71ba7beb593983abea91ec2568788cad662cf8af805539aa5127e2fa4837c304c1d497902851ad222127d0d9373994a2224329f7f9ac036a62bc5b3255a697
6
+ metadata.gz: 3dff37974008ead98152ef3f156e3f73e082af7477c72c84c0f5e8f18204510d3a3c46605a88842289da7a57e228e2f2da3744d9aab59de2497f8aca5e5075e9
7
+ data.tar.gz: ed2983e1a820fa3686cf6f5a7cae8d64d9aaf4e473ccda2952f291d795ffe87f95555864d30c56b91523a4ce0ee003b1d1dd3eefa8226c96266ea2a59b183537
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module DummyResources
5
- class CreateDummyResource < Rectify::Command
5
+ class CreateDummyResource < Decidim::Command
6
6
  include Decidim::AttachmentMethods
7
7
  include Decidim::GalleryMethods
8
8
 
@@ -18,7 +18,7 @@ module Decidim
18
18
  return unless respond_to?(:snippets)
19
19
 
20
20
  snippets.add(:head, helpers.stylesheet_pack_tag("decidim_dev"))
21
- snippets.add(:head, helpers.javascript_pack_tag("decidim_dev"))
21
+ snippets.add(:foot, helpers.javascript_pack_tag("decidim_dev", defer: false))
22
22
  end
23
23
  end
24
24
  end
@@ -1 +1,2 @@
1
+ ---
1
2
  am:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ar:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  bg:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ca:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ ca:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Entrada guiada
18
- guided_help: Text d'ajuda
19
- guided_readonly: Entrada deshabilitada
20
- guided_rich: Entrada guiada enriquida
21
- guided_rich_help_html: HTML <strong>ajuda</strong> text
22
- guided_rich_readonly_html: HTML <strong>ajuda</strong> text per l'entrada deshabilitada
23
18
  readonly_attribute: Atribut de només lectura
24
19
  test: Una prova
25
20
  test_choices:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  cs:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ cs:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Řízené zadávání
18
- guided_help: Text nápovědy
19
- guided_readonly: Zakázaný zápis
20
- guided_rich: Řízené plnohodnotné zadávání
21
- guided_rich_help_html: HTML textová <strong>nápověda</strong>
22
- guided_rich_readonly_html: HTML <strong>nápověda</strong> text pro zakázaný zápis
23
18
  readonly_attribute: Atribut pouze pro čtení
24
19
  test: Zkouška A
25
20
  test_choices:
@@ -1 +1,2 @@
1
+ ---
1
2
  da:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  de:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  el:
2
3
  activemodel:
3
4
  attributes:
@@ -15,12 +15,6 @@ en:
15
15
  dummy:
16
16
  settings:
17
17
  global:
18
- guided: Guided input
19
- guided_help: Help text
20
- guided_readonly: Disabled input
21
- guided_rich: Guided rich input
22
- guided_rich_help_html: HTML <strong>help</strong> text
23
- guided_rich_readonly_html: HTML <strong>help</strong> text for disabled input
24
18
  readonly_attribute: Readonly attribute
25
19
  test: A test
26
20
  test_choices:
@@ -1 +1,2 @@
1
+ ---
1
2
  eo:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  es-MX:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ es-MX:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Entrada guiada
18
- guided_help: Texto de ayuda
19
- guided_readonly: Entrada deshabilitada
20
- guided_rich: Entrada guiada enriquecida
21
- guided_rich_help_html: Texto de <strong>ayuda</strong> HTML
22
- guided_rich_readonly_html: Texto de <strong>ayuda</strong> HTML para la entrada deshabilitada
23
18
  readonly_attribute: Atributo de sólo lectura
24
19
  test: Test A
25
20
  test_choices:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  es-PY:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ es-PY:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Entrada guiada
18
- guided_help: Texto de ayuda
19
- guided_readonly: Entrada deshabilitada
20
- guided_rich: Entrada guiada enriquecida
21
- guided_rich_help_html: Texto de <strong>ayuda</strong> HTML
22
- guided_rich_readonly_html: Texto de <strong>ayuda</strong> HTML para la entrada deshabilitada
23
18
  readonly_attribute: Atributo de sólo lectura
24
19
  test: Test A
25
20
  test_choices:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  es:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ es:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Entrada guiada
18
- guided_help: Texto de ayuda
19
- guided_readonly: Entrada deshabilitada
20
- guided_rich: Entrada guiada enriquecida
21
- guided_rich_help_html: Texto de <strong>ayuda</strong> HTML
22
- guided_rich_readonly_html: Texto de <strong>ayuda</strong> HTML para la entrada deshabilitada
23
18
  readonly_attribute: Atributo de sólo lectura
24
19
  test: Una prueba
25
20
  test_choices:
@@ -1 +1,2 @@
1
+ ---
1
2
  et:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  eu:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fi-pl:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ fi-pl:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Ohjeistettu syöte
18
- guided_help: Ohjeteksti
19
- guided_readonly: Käytöstä poistettu syöte
20
- guided_rich: Ohjeistettu rikas tekstisyöte
21
- guided_rich_help_html: HTML <strong>ohjeteksti</strong>
22
- guided_rich_readonly_html: Käytöstä poistettu HTML <strong>ohjeteksti</strong>
23
18
  readonly_attribute: Vain luku -attribuutti
24
19
  test: Testi
25
20
  test_choices:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fi:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ fi:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Ohjeistettu syöte
18
- guided_help: Ohjeteksti
19
- guided_readonly: Käytöstä poistettu syöte
20
- guided_rich: Ohjeistettu rikas tekstisyöte
21
- guided_rich_help_html: HTML <strong>ohjeteksti</strong>
22
- guided_rich_readonly_html: Käytöstä poistettu HTML <strong>ohjeteksti</strong>
23
18
  readonly_attribute: Vain luku -attribuutti
24
19
  test: Testi
25
20
  test_choices:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fr-CA:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ fr-CA:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Entrée guidée
18
- guided_help: Texte d'aide
19
- guided_readonly: Entrée désactivée
20
- guided_rich: Entrée riche guidée
21
- guided_rich_help_html: Texte <strong>d'aide</strong> HTML
22
- guided_rich_readonly_html: Texte <strong>d'aide</strong> HTML pour les entrées désactivées
23
18
  readonly_attribute: Attribut en lecture seule
24
19
  test: Un test
25
20
  test_choices:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fr:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ fr:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Entrée guidée
18
- guided_help: Texte d'aide
19
- guided_readonly: Entrée désactivée
20
- guided_rich: Entrée riche guidée
21
- guided_rich_help_html: Texte <strong>d'aide</strong> HTML
22
- guided_rich_readonly_html: Texte <strong>d'aide</strong> HTML pour les entrées désactivées
23
18
  readonly_attribute: Attribut en lecture seule
24
19
  test: Un test
25
20
  test_choices:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ga:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  gl:
2
3
  activemodel:
3
4
  attributes:
@@ -1 +1,2 @@
1
+ ---
1
2
  hr:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  hu:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  id:
2
3
  activemodel:
3
4
  attributes:
@@ -1,4 +1,5 @@
1
- is-IS:
1
+ ---
2
+ is:
2
3
  activemodel:
3
4
  attributes:
4
5
  dummy_resource:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  it:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ja:
2
3
  activemodel:
3
4
  attributes:
@@ -14,12 +15,6 @@ ja:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: ガイド付き入力
18
- guided_help: ヘルプテキスト
19
- guided_readonly: 無効化された入力
20
- guided_rich: ガイド付きリッチ入力
21
- guided_rich_help_html: HTML <strong>ヘルプ</strong> のテキスト
22
- guided_rich_readonly_html: HTML <strong>ヘルプ</strong> の入力を無効にする
23
18
  readonly_attribute: 読み取り専用属性
24
19
  test: テスト
25
20
  test_choices:
@@ -1 +1,2 @@
1
+ ---
1
2
  ko:
@@ -1 +1,2 @@
1
+ ---
1
2
  lb:
@@ -1,64 +1,2 @@
1
+ ---
1
2
  lt:
2
- activemodel:
3
- attributes:
4
- dummy_resource:
5
- created_at: Sukurta
6
- decidim_scope_id: Apimtis
7
- field: Mano laukas
8
- start_date: Pradžios data
9
- title: Pavadinimas
10
- translatable_text: Verčiamas tekstas
11
- updated_at: Atnaujinta
12
- decidim:
13
- components:
14
- dummy:
15
- settings:
16
- global:
17
- guided: Vedama įvestis
18
- guided_help: Pagalbos tekstas
19
- guided_readonly: Išjungta įvestis
20
- guided_rich: Vedama turtinga įvestis
21
- guided_rich_help_html: HTML <strong>pagalbos</strong> tekstas
22
- guided_rich_readonly_html: HTML <strong>pagalbos</strong>tekstas išjungtai įvesčiai
23
- readonly_attribute: Tik skaitomas atributas
24
- test: Bandymas
25
- test_choices:
26
- a: A pasirinkimas
27
- b: B pasirinkimas
28
- c: C pasirinkimas
29
- test_options:
30
- bar: Juosta
31
- baz: Baz
32
- foo: Foo
33
- step:
34
- endorsements_blocked: Pritarimai užblokuoti
35
- endorsements_enabled: Pritarimai aktyvuoti
36
- readonly_step_attribute: Tik skaitomas veiksmo atributas
37
- test_options:
38
- bar: Juosta
39
- baz: Baz
40
- foo: Foo
41
- dummy:
42
- admin:
43
- exports:
44
- dummies: Fiktyvūs elementai
45
- gamification:
46
- badges:
47
- test:
48
- conditions:
49
- - Naudokite testinę aplinką.
50
- description: Dalyviai šį ženklelį pelno kurdami testus.
51
- description_another: Šis dalyvis sukūrė %{score} testus.
52
- description_own: Jūs sukūrėte %{score} testus.
53
- name: Testai
54
- next_level_in: Parenkite dar %{score} testus ir pasiekite kitą lygį!
55
- unearned_another: Šis dalyvis dar nesukūrė jokių testų.
56
- unearned_own: Jūs dar nesukūrėte jokių testų.
57
- resource_links:
58
- test_link:
59
- dummy_resource_dummy: Susijęs fiktyvus elementas
60
- statistics:
61
- bar: Bar
62
- dummies_count_high: Daug fiktyvių elementų
63
- dummies_count_medium: Vidutiniškai fiktyvių elementų
64
- foo: Foo
@@ -1,3 +1,4 @@
1
+ ---
1
2
  lv:
2
3
  activemodel:
3
4
  attributes:
@@ -1 +1,2 @@
1
+ ---
1
2
  mt:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  nl:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  "no":
2
3
  activemodel:
3
4
  attributes:
@@ -1 +1,2 @@
1
+ ---
1
2
  om:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  pl:
2
3
  activemodel:
3
4
  attributes:
@@ -1,4 +1,5 @@
1
- pt-BR:
1
+ ---
2
+ pt:
2
3
  activemodel:
3
4
  attributes:
4
5
  dummy_resource:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  pt:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ro:
2
3
  activemodel:
3
4
  attributes:
@@ -14,7 +15,6 @@ ro:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided_help: Text de ajutor
18
18
  readonly_attribute: Atribut Readonly
19
19
  test: Un test
20
20
  test_choices:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ru:
2
3
  activemodel:
3
4
  attributes:
@@ -1 +1,2 @@
1
+ ---
1
2
  si:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  sk:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  sl:
2
3
  activemodel:
3
4
  attributes:
@@ -1 +1,2 @@
1
+ ---
1
2
  so:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  sr:
2
3
  decidim:
3
4
  components:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  sv:
2
3
  activemodel:
3
4
  attributes:
@@ -14,7 +15,6 @@ sv:
14
15
  dummy:
15
16
  settings:
16
17
  global:
17
- guided: Guidad ingång
18
18
  readonly_attribute: Skrivskyddat attribut
19
19
  test: Ett test
20
20
  test_choices:
@@ -1 +1,2 @@
1
+ ---
1
2
  sw:
@@ -1 +1,2 @@
1
+ ---
1
2
  ti:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  tr:
2
3
  activemodel:
3
4
  attributes:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  uk:
2
3
  activemodel:
3
4
  attributes:
@@ -1 +1,2 @@
1
+ ---
1
2
  val:
@@ -1 +1,2 @@
1
+ ---
1
2
  vi:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  zh-CN:
2
3
  activemodel:
3
4
  attributes:
@@ -1 +1,2 @@
1
+ ---
1
2
  zh-TW:
@@ -512,17 +512,7 @@
512
512
  },
513
513
  "weight": 0,
514
514
  "permissions": null,
515
- "published_at": "2020-01-22 07:55:04 UTC",
516
- "specific_data": {
517
- "body": {
518
- "en": "English content",
519
- "ca": "Catalan content",
520
- "es": "Spanish content",
521
- "machine_translations": {
522
- "es": "Machine translation spanish content"
523
- }
524
- }
525
- }
515
+ "published_at": "2020-01-22 07:55:04 UTC"
526
516
  },
527
517
  {
528
518
  "manifest_name": "proposals",