decidim-blogs 0.22.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/decidim/blogs/posts_controller.rb +2 -0
  3. data/app/models/decidim/blogs/post.rb +7 -0
  4. data/app/views/decidim/blogs/posts/_sidebar_blog.html.erb +1 -1
  5. data/app/views/decidim/blogs/posts/show.html.erb +1 -1
  6. data/config/locales/am-ET.yml +1 -0
  7. data/config/locales/bg.yml +13 -0
  8. data/config/locales/ca.yml +1 -0
  9. data/config/locales/cs.yml +1 -0
  10. data/config/locales/da.yml +1 -0
  11. data/config/locales/de.yml +1 -0
  12. data/config/locales/el.yml +1 -0
  13. data/config/locales/en.yml +1 -0
  14. data/config/locales/eo.yml +1 -0
  15. data/config/locales/es-MX.yml +1 -0
  16. data/config/locales/es-PY.yml +1 -0
  17. data/config/locales/es.yml +1 -0
  18. data/config/locales/et.yml +1 -0
  19. data/config/locales/fi-plain.yml +1 -0
  20. data/config/locales/fi.yml +1 -0
  21. data/config/locales/fr-CA.yml +1 -0
  22. data/config/locales/fr.yml +1 -0
  23. data/config/locales/hr.yml +1 -0
  24. data/config/locales/is.yml +56 -0
  25. data/config/locales/it.yml +1 -0
  26. data/config/locales/ja-JP.yml +1 -0
  27. data/config/locales/ja.yml +83 -0
  28. data/config/locales/ko-KR.yml +1 -0
  29. data/config/locales/ko.yml +1 -0
  30. data/config/locales/lt.yml +1 -0
  31. data/config/locales/{lv-LV.yml → lv.yml} +0 -0
  32. data/config/locales/mt.yml +1 -0
  33. data/config/locales/nl.yml +1 -0
  34. data/config/locales/no.yml +1 -0
  35. data/config/locales/om-ET.yml +1 -0
  36. data/config/locales/pl.yml +4 -3
  37. data/config/locales/pt.yml +1 -0
  38. data/config/locales/ro-RO.yml +1 -0
  39. data/config/locales/so-SO.yml +1 -0
  40. data/config/locales/sv.yml +1 -0
  41. data/config/locales/ti-ER.yml +1 -0
  42. data/config/locales/vi-VN.yml +1 -0
  43. data/config/locales/vi.yml +1 -0
  44. data/config/locales/zh-CN.yml +83 -0
  45. data/config/locales/zh-TW.yml +1 -0
  46. data/db/migrate/20200827153709_add_commentable_counter_cache_to_posts.rb +9 -0
  47. data/lib/decidim/blogs/component.rb +1 -0
  48. data/lib/decidim/blogs/version.rb +1 -1
  49. metadata +39 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cb8f64bfea127fa2fde23cbf25c4729458115557822aaede26bc61a823b1d65
4
- data.tar.gz: '0878193e5097a3bd752acf469c757d524b8cb36406188c95a9fcac65847d03d7'
3
+ metadata.gz: 8572b4e742989261b027b6d92a840ac99752b2325f895a8991474e4c5d2a050c
4
+ data.tar.gz: 6e06b522c212e594880bc4619d7befa1236d7ecd166df58c6c929f23517cff54
5
5
  SHA512:
6
- metadata.gz: ba1c230788c9de43e8a24fd3c0c43c2eba1184ea759cdb6753174f96400e21056228203f97814b5dcf78649151d0477b478fc4eeae333ca961257273db78aba7
7
- data.tar.gz: 500d550159483b842488c88d1766496c653ce2e04caaab0263af3856ec70c68a71e5d9ce4c3c6bc7b5dd485ea1b09f8f27bda512907c2c7065cead0f8c7e6cfb
6
+ metadata.gz: cc626dfcf1e8339cd8f7aefe1279b4e23359e8c9abdae7ef05aca778e52beac33e7ccf7ec41d8d5c49b7393d6216b2b0cd98c1e2a24982c8cd90fb09149b3791
7
+ data.tar.gz: dd728058098e58b5fe49490528cb0f371900e8444ac262748e90843066af94103ea50c8fdb220e85cad1e3e8adc1c266b27c7c49ead50bc9ccbbef760a0290ec
@@ -4,6 +4,8 @@ module Decidim
4
4
  module Blogs
5
5
  # Exposes the blog resource so users can view them
6
6
  class PostsController < Decidim::Blogs::ApplicationController
7
+ include Flaggable
8
+
7
9
  helper_method :posts, :post, :paginate_posts, :posts_most_commented
8
10
 
9
11
  def index; end
@@ -14,11 +14,14 @@ module Decidim
14
14
  include Decidim::Searchable
15
15
  include Decidim::Endorsable
16
16
  include Decidim::Followable
17
+ include Decidim::TranslatableResource
17
18
  include Traceable
18
19
  include Loggable
19
20
 
20
21
  component_manifest_name "blogs"
21
22
 
23
+ translatable_fields :title, :body
24
+
22
25
  validates :title, presence: true
23
26
 
24
27
  scope :created_at_desc, -> { order(arel_table[:created_at].desc) }
@@ -62,6 +65,10 @@ module Decidim
62
65
  def users_to_notify_on_comment_created
63
66
  followers
64
67
  end
68
+
69
+ def attachment_context
70
+ :admin
71
+ end
65
72
  end
66
73
  end
67
74
  end
@@ -10,7 +10,7 @@
10
10
  <%= render partial: "datetime", locals: { post: post } %>&nbsp;&nbsp;·&nbsp;&nbsp;
11
11
  <%= link_to "#{post_path(post)}#comments", title: t(".comments") do %>
12
12
  <%= icon "comment-square", class: "icon--small", aria_label: t(".comments"), role: "img" %>
13
- <%= post.comments.count %>
13
+ <%= post.comments_count %>
14
14
  <%= t(".comments") %>
15
15
  <% end %>
16
16
  <a href="#comments" title="<%= t(".comments") %>"></a>
@@ -36,7 +36,7 @@
36
36
  <% end %>
37
37
  <div class="column collapse <%= endorsements_enabled? ? "small-3" : "" %>">
38
38
  <%= link_to "#comments", class: "button small compact hollow button--nomargin expanded" do %>
39
- <%= icon "comment-square", class: "icon--small", aria_label: t(".comments"), role: "img" %> <%= post.comments.count %>
39
+ <%= icon "comment-square", class: "icon--small", aria_label: t(".comments"), role: "img" %> <%= post.comments_count %>
40
40
  <% end %>
41
41
  </div>
42
42
  </div>
@@ -0,0 +1 @@
1
+ am:
@@ -0,0 +1,13 @@
1
+ bg:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: Нова блог публикация
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ one: Публикация
9
+ other: Публикации
10
+ decidim:
11
+ blogs:
12
+ actions:
13
+ confirm_destroy: Сигурни ли сте, че желаете да изтриете тази публикация?
@@ -62,6 +62,7 @@ ca:
62
62
  global:
63
63
  announcement: Avís
64
64
  comments_enabled: Comentaris habilitats
65
+ comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
65
66
  step:
66
67
  announcement: Avís
67
68
  comments_blocked: Comentaris bloquejats
@@ -64,6 +64,7 @@ cs:
64
64
  global:
65
65
  announcement: Oznámení
66
66
  comments_enabled: Komentáře povoleny
67
+ comments_max_length: Maximální délka komentáře (ponechte 0 pro výchozí hodnotu)
67
68
  step:
68
69
  announcement: Oznámení
69
70
  comments_blocked: Komentáře byly blokovány
@@ -0,0 +1 @@
1
+ da:
@@ -62,6 +62,7 @@ de:
62
62
  global:
63
63
  announcement: Ankündigung
64
64
  comments_enabled: Kommentare aktiviert
65
+ comments_max_length: Maximale Länge der Kommentare (0 für Standardwert)
65
66
  step:
66
67
  announcement: Ankündigung
67
68
  comments_blocked: Kommentare blockiert
@@ -62,6 +62,7 @@ el:
62
62
  global:
63
63
  announcement: Ανακοίνωση
64
64
  comments_enabled: Τα σχόλια ενεργοποιήθηκαν
65
+ comments_max_length: Μέγιστο μέγεθος σχολίων (Αφήστε το 0 για το προκαθορισμένο μέγεθος)
65
66
  step:
66
67
  announcement: Ανακοίνωση
67
68
  comments_blocked: Τα σχόλια αποκλείστηκαν
@@ -63,6 +63,7 @@ en:
63
63
  global:
64
64
  announcement: Announcement
65
65
  comments_enabled: Comments enabled
66
+ comments_max_length: Comments max length (Leave 0 for default value)
66
67
  step:
67
68
  announcement: Announcement
68
69
  comments_blocked: Comments blocked
@@ -0,0 +1 @@
1
+ eo:
@@ -62,6 +62,7 @@ es-MX:
62
62
  global:
63
63
  announcement: Anuncio
64
64
  comments_enabled: Comentarios habilitados
65
+ comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
65
66
  step:
66
67
  announcement: Anuncio
67
68
  comments_blocked: Comentarios bloqueados
@@ -62,6 +62,7 @@ es-PY:
62
62
  global:
63
63
  announcement: Anuncio
64
64
  comments_enabled: Comentarios habilitados
65
+ comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
65
66
  step:
66
67
  announcement: Anuncio
67
68
  comments_blocked: Comentarios bloqueados
@@ -62,6 +62,7 @@ es:
62
62
  global:
63
63
  announcement: Aviso
64
64
  comments_enabled: Comentarios habilitados
65
+ comments_max_length: Longitud máxima de los comentarios (deja 0 si quieres mantener la configuración por defecto)
65
66
  step:
66
67
  announcement: Aviso
67
68
  comments_blocked: Comentarios bloqueados
@@ -0,0 +1 @@
1
+ et:
@@ -62,6 +62,7 @@ fi-pl:
62
62
  global:
63
63
  announcement: Ilmoitus
64
64
  comments_enabled: Kommentointi käytössä
65
+ comments_max_length: Kommenttien maksimipituus (jätä arvoksi 0 käyttääksesi oletusarvoa)
65
66
  step:
66
67
  announcement: Ilmoitus
67
68
  comments_blocked: Kommentointi estetty
@@ -62,6 +62,7 @@ fi:
62
62
  global:
63
63
  announcement: Ilmoitus
64
64
  comments_enabled: Kommentointi käytössä
65
+ comments_max_length: Kommenttien maksimipituus (jätä arvoksi 0 käyttääksesi oletusarvoa)
65
66
  step:
66
67
  announcement: Ilmoitus
67
68
  comments_blocked: Kommentointi estetty
@@ -62,6 +62,7 @@ fr-CA:
62
62
  global:
63
63
  announcement: Annonce
64
64
  comments_enabled: Activer le module de commentaire
65
+ comments_max_length: Longueur max des commentaires (laisser 0 pour la valeur par défaut)
65
66
  step:
66
67
  announcement: Annonce
67
68
  comments_blocked: Commentaires désactivés
@@ -62,6 +62,7 @@ fr:
62
62
  global:
63
63
  announcement: Annonce
64
64
  comments_enabled: Activer le module de commentaire
65
+ comments_max_length: Longueur max des commentaires (laisser 0 pour la valeur par défaut)
65
66
  step:
66
67
  announcement: Annonce
67
68
  comments_blocked: Commentaires désactivés
@@ -0,0 +1 @@
1
+ hr:
@@ -0,0 +1,56 @@
1
+ is:
2
+ decidim:
3
+ blogs:
4
+ actions:
5
+ confirm_destroy: Ertu viss um að þú viljir eyða þessu færslu?
6
+ destroy: Eyða
7
+ edit: Breyta
8
+ title: Aðgerðir
9
+ admin:
10
+ models:
11
+ components:
12
+ body: Líkami
13
+ post:
14
+ name: Post
15
+ posts:
16
+ create:
17
+ success: Post var búin til
18
+ destroy:
19
+ success: Post var eytt
20
+ edit:
21
+ save: Uppfæra
22
+ index:
23
+ title: Innlegg
24
+ new:
25
+ create: Búa til
26
+ title: Búa til færslu
27
+ models:
28
+ post:
29
+ fields:
30
+ author: Höfundur
31
+ body: Líkami
32
+ created_at: Búið til á
33
+ title: titill
34
+ posts:
35
+ sidebar_blog:
36
+ comments: athugasemdir
37
+ most_commented_posts: Flestar ummæli innleggar
38
+ read_more: Lestu meira
39
+ components:
40
+ blogs:
41
+ name: Blogg
42
+ settings:
43
+ global:
44
+ announcement: Tilkynning
45
+ step:
46
+ announcement: Tilkynning
47
+ events:
48
+ blogs:
49
+ post_created:
50
+ email_intro: Staða "%{resource_title}" hefur verið birt í "%{participatory_space_title}" sem þú fylgist með.
51
+ email_outro: Þú hefur fengið þessa tilkynningu vegna þess að þú fylgist með "%{participatory_space_title}". Þú getur sleppt því frá fyrri tengilinn.
52
+ email_subject: Ný staða birt í %{participatory_space_title}
53
+ notification_title: Staða <a href="%{resource_path}">%{resource_title}</a> hefur verið birt í %{participatory_space_title}
54
+ participatory_processes:
55
+ statistics:
56
+ posts_count: Innlegg
@@ -62,6 +62,7 @@ it:
62
62
  global:
63
63
  announcement: Annuncio
64
64
  comments_enabled: Commenti abilitati
65
+ comments_max_length: Lunghezza massima dei commenti (Lasciare 0 per il valore predefinito)
65
66
  step:
66
67
  announcement: Annuncio
67
68
  comments_blocked: Commenti bloccati
@@ -61,6 +61,7 @@ ja:
61
61
  global:
62
62
  announcement: お知らせ
63
63
  comments_enabled: コメントは有効です
64
+ comments_max_length: コメント最大長 (デフォルト値は 0 のまま)
64
65
  step:
65
66
  announcement: お知らせ
66
67
  comments_blocked: コメントがブロックされました
@@ -0,0 +1,83 @@
1
+ ja:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: 新しいブログ投稿
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ other: 投稿
9
+ decidim:
10
+ blogs:
11
+ actions:
12
+ confirm_destroy: この投稿を削除してもよろしいですか?
13
+ destroy: 削除
14
+ edit: 編集
15
+ new: 新規投稿
16
+ title: アクション
17
+ admin:
18
+ models:
19
+ components:
20
+ body: 本文
21
+ post:
22
+ name: 投稿
23
+ posts:
24
+ create:
25
+ invalid: この投稿を作成する際に問題が発生しました
26
+ success: 投稿を作成しました
27
+ destroy:
28
+ success: 投稿を削除しました
29
+ edit:
30
+ save: 更新
31
+ index:
32
+ title: 投稿
33
+ new:
34
+ create: 作成
35
+ title: 投稿を作成
36
+ update:
37
+ invalid: 投稿の保存中に問題が発生しました。
38
+ success: 投稿を保存しました
39
+ last_activity:
40
+ new_post_at_html: "<span> %{link}に新しい投稿</span>"
41
+ models:
42
+ post:
43
+ fields:
44
+ author: 作成者
45
+ body: 本文
46
+ created_at: 作成日時
47
+ title: タイトル
48
+ posts:
49
+ show:
50
+ back: リストに戻る
51
+ comments: コメント
52
+ view: 表示
53
+ sidebar_blog:
54
+ comments: コメント
55
+ most_commented_posts: 最もコメントされた投稿
56
+ read_more: もっと読む
57
+ components:
58
+ blogs:
59
+ name: ブログ
60
+ settings:
61
+ global:
62
+ announcement: お知らせ
63
+ comments_enabled: コメントを有効にする
64
+ comments_max_length: コメント最大長 (デフォルト値は 0 のまま)
65
+ step:
66
+ announcement: お知らせ
67
+ comments_blocked: コメントをブロック
68
+ endorsements_blocked: 支持をブロック
69
+ endorsements_enabled: 支持が有効
70
+ events:
71
+ blogs:
72
+ post_created:
73
+ email_intro: The post "%{resource_title}" has been published in "%{participatory_space_title}" that you are following.
74
+ email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
75
+ email_subject: '%{participatory_space_title} に新しい投稿が公開されました'
76
+ notification_title: The post <a href="%{resource_path}">%{resource_title}</a> has been published in %{participatory_space_title}
77
+ pages:
78
+ home:
79
+ statistics:
80
+ posts_count: 投稿
81
+ participatory_processes:
82
+ statistics:
83
+ posts_count: 投稿
@@ -0,0 +1 @@
1
+ ko:
@@ -0,0 +1 @@
1
+ ko:
@@ -0,0 +1 @@
1
+ lt:
File without changes
@@ -0,0 +1 @@
1
+ mt:
@@ -62,6 +62,7 @@ nl:
62
62
  global:
63
63
  announcement: Aankondiging
64
64
  comments_enabled: Reacties ingeschakeld
65
+ comments_max_length: Commentaar maximale lengte (laat 0 voor standaard waarde)
65
66
  step:
66
67
  announcement: Aankondiging
67
68
  comments_blocked: Reacties geblokkeerd
@@ -62,6 +62,7 @@
62
62
  global:
63
63
  announcement: Kunngjøring
64
64
  comments_enabled: Kommentarer aktivert
65
+ comments_max_length: Maks lengde på kommentarer (Sett 0 for standardverdi)
65
66
  step:
66
67
  announcement: Kunngjøring
67
68
  comments_blocked: Kommentarer blokkert
@@ -0,0 +1 @@
1
+ om:
@@ -52,7 +52,7 @@ pl:
52
52
  show:
53
53
  back: Powrót do listy
54
54
  comments: Komentarze
55
- view: Widok
55
+ view: Zobacz
56
56
  sidebar_blog:
57
57
  comments: komentarze
58
58
  most_commented_posts: Najczęściej komentowane wpisy
@@ -64,11 +64,12 @@ pl:
64
64
  global:
65
65
  announcement: Ogłoszenie
66
66
  comments_enabled: Komentarze włączone
67
+ comments_max_length: Maksymalna długość komentarzy (Pozostaw 0 dla wartości domyślnej)
67
68
  step:
68
69
  announcement: Ogłoszenie
69
70
  comments_blocked: Komentarze zablokowane
70
- endorsements_blocked: Możliwość poparcia zablokowana
71
- endorsements_enabled: Popieranie włączone
71
+ endorsements_blocked: Możliwość rekomendowania zablokowana
72
+ endorsements_enabled: Rekomendowanie włączone
72
73
  events:
73
74
  blogs:
74
75
  post_created:
@@ -62,6 +62,7 @@ pt:
62
62
  global:
63
63
  announcement: Anúncio
64
64
  comments_enabled: Comentários ativados
65
+ comments_max_length: Comprimento máximo dos comentários (Deixar 0 para o valor predefinido)
65
66
  step:
66
67
  announcement: Anúncio
67
68
  comments_blocked: Comentários bloqueados
@@ -63,6 +63,7 @@ ro:
63
63
  global:
64
64
  announcement: Anunţ
65
65
  comments_enabled: Comentarii activate
66
+ comments_max_length: Lungimea maximă a comentariilor (Leave 0 pentru valoarea implicită)
66
67
  step:
67
68
  announcement: Anunţ
68
69
  comments_blocked: Comentarii blocate
@@ -0,0 +1 @@
1
+ so:
@@ -62,6 +62,7 @@ sv:
62
62
  global:
63
63
  announcement: Meddelande
64
64
  comments_enabled: Kommentarer aktiverade
65
+ comments_max_length: Maximal längd för kommentarer (Lämna 0 för standardvärde)
65
66
  step:
66
67
  announcement: Meddelande
67
68
  comments_blocked: Kommentarer blockerade
@@ -0,0 +1 @@
1
+ ti:
@@ -0,0 +1 @@
1
+ vi:
@@ -0,0 +1 @@
1
+ vi:
@@ -0,0 +1,83 @@
1
+ zh-CN:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: 新博客文章
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ other: 员额
9
+ decidim:
10
+ blogs:
11
+ actions:
12
+ confirm_destroy: 您确定要删除此帖子?
13
+ destroy: 删除
14
+ edit: 编辑
15
+ new: 新建帖子
16
+ title: 行动
17
+ admin:
18
+ models:
19
+ components:
20
+ body: 正文内容
21
+ post:
22
+ name: 帖子
23
+ posts:
24
+ create:
25
+ invalid: 创建这个帖子时出错
26
+ success: 帖子创建成功
27
+ destroy:
28
+ success: 帖子已成功删除
29
+ edit:
30
+ save: 更新
31
+ index:
32
+ title: 员额
33
+ new:
34
+ create: 创建
35
+ title: 创建帖子
36
+ update:
37
+ invalid: 保存帖子时出错。
38
+ success: 帖子保存成功
39
+ last_activity:
40
+ new_post_at_html: "<span>在 %{link}的新帖</span>"
41
+ models:
42
+ post:
43
+ fields:
44
+ author: 作者
45
+ body: 正文内容
46
+ created_at: 创建于
47
+ title: 标题
48
+ posts:
49
+ show:
50
+ back: 返回列表
51
+ comments: 评论
52
+ view: 查看
53
+ sidebar_blog:
54
+ comments: 评论
55
+ most_commented_posts: 评论最多的帖子
56
+ read_more: 阅读更多
57
+ components:
58
+ blogs:
59
+ name: 博客
60
+ settings:
61
+ global:
62
+ announcement: 通 知
63
+ comments_enabled: 评论已启用
64
+ comments_max_length: 评论最大长度 (默认值留0)
65
+ step:
66
+ announcement: 通 知
67
+ comments_blocked: 评论已阻止
68
+ endorsements_blocked: 已阻止授权
69
+ endorsements_enabled: 授权已启用
70
+ events:
71
+ blogs:
72
+ post_created:
73
+ email_intro: 帖子"%{resource_title}" 已经发布在"%{participatory_space_title}",您关注的是这个帖子。
74
+ email_outro: 您收到此通知是因为您正在关注 "%{participatory_space_title}"。您可以从上一个链接取消关注它。
75
+ email_subject: 新帖子发布于 %{participatory_space_title}
76
+ notification_title: 帖子 <a href="%{resource_path}">%{resource_title}</a> 已经在 %{participatory_space_title} 中发布
77
+ pages:
78
+ home:
79
+ statistics:
80
+ posts_count: 员额
81
+ participatory_processes:
82
+ statistics:
83
+ posts_count: 员额
@@ -0,0 +1 @@
1
+ zh-TW:
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ class AddCommentableCounterCacheToPosts < ActiveRecord::Migration[5.2]
4
+ def change
5
+ add_column :decidim_blogs_posts, :comments_count, :integer, null: false, default: 0, index: true
6
+ Decidim::Blogs::Post.reset_column_information
7
+ Decidim::Blogs::Post.find_each(&:update_comments_count)
8
+ end
9
+ end
@@ -23,6 +23,7 @@ Decidim.register_component(:blogs) do |component|
23
23
  component.settings(:global) do |settings|
24
24
  settings.attribute :announcement, type: :text, translated: true, editor: true
25
25
  settings.attribute :comments_enabled, type: :boolean, default: true
26
+ settings.attribute :comments_max_length, type: :integer, required: false
26
27
  end
27
28
 
28
29
  component.settings(:step) do |settings|
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-pages version.
5
5
  module Blogs
6
6
  def self.version
7
- "0.22.0"
7
+ "0.23.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-blogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-01 00:00:00.000000000 Z
11
+ date: 2020-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.22.0
19
+ version: 0.23.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.22.0
26
+ version: 0.23.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.22.0
33
+ version: 0.23.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.22.0
40
+ version: 0.23.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.22.0
47
+ version: 0.23.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.22.0
54
+ version: 0.23.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: httparty
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -106,56 +106,56 @@ dependencies:
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 0.22.0
109
+ version: 0.23.0
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - '='
115
115
  - !ruby/object:Gem::Version
116
- version: 0.22.0
116
+ version: 0.23.0
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: decidim-assemblies
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 0.22.0
123
+ version: 0.23.0
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - '='
129
129
  - !ruby/object:Gem::Version
130
- version: 0.22.0
130
+ version: 0.23.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: decidim-dev
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - '='
136
136
  - !ruby/object:Gem::Version
137
- version: 0.22.0
137
+ version: 0.23.0
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - '='
143
143
  - !ruby/object:Gem::Version
144
- version: 0.22.0
144
+ version: 0.23.0
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: decidim-participatory_processes
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - '='
150
150
  - !ruby/object:Gem::Version
151
- version: 0.22.0
151
+ version: 0.23.0
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - '='
157
157
  - !ruby/object:Gem::Version
158
- version: 0.22.0
158
+ version: 0.23.0
159
159
  description: A Blog component for decidim's participatory spaces.
160
160
  email:
161
161
  - isaac.mg@coditramuntana.com
@@ -200,22 +200,27 @@ files:
200
200
  - app/views/decidim/blogs/posts/_sidebar_blog.html.erb
201
201
  - app/views/decidim/blogs/posts/index.html.erb
202
202
  - app/views/decidim/blogs/posts/show.html.erb
203
+ - config/locales/am-ET.yml
203
204
  - config/locales/ar-SA.yml
204
205
  - config/locales/ar.yml
205
206
  - config/locales/bg-BG.yml
207
+ - config/locales/bg.yml
206
208
  - config/locales/ca.yml
207
209
  - config/locales/cs-CZ.yml
208
210
  - config/locales/cs.yml
209
211
  - config/locales/da-DK.yml
212
+ - config/locales/da.yml
210
213
  - config/locales/de.yml
211
214
  - config/locales/el-GR.yml
212
215
  - config/locales/el.yml
213
216
  - config/locales/en.yml
214
217
  - config/locales/eo-UY.yml
218
+ - config/locales/eo.yml
215
219
  - config/locales/es-MX.yml
216
220
  - config/locales/es-PY.yml
217
221
  - config/locales/es.yml
218
222
  - config/locales/et-EE.yml
223
+ - config/locales/et.yml
219
224
  - config/locales/eu.yml
220
225
  - config/locales/fi-pl.yml
221
226
  - config/locales/fi-plain.yml
@@ -225,16 +230,24 @@ files:
225
230
  - config/locales/ga-IE.yml
226
231
  - config/locales/gl.yml
227
232
  - config/locales/hr-HR.yml
233
+ - config/locales/hr.yml
228
234
  - config/locales/hu.yml
229
235
  - config/locales/id-ID.yml
230
236
  - config/locales/is-IS.yml
237
+ - config/locales/is.yml
231
238
  - config/locales/it.yml
232
239
  - config/locales/ja-JP.yml
240
+ - config/locales/ja.yml
241
+ - config/locales/ko-KR.yml
242
+ - config/locales/ko.yml
233
243
  - config/locales/lt-LT.yml
234
- - config/locales/lv-LV.yml
244
+ - config/locales/lt.yml
245
+ - config/locales/lv.yml
235
246
  - config/locales/mt-MT.yml
247
+ - config/locales/mt.yml
236
248
  - config/locales/nl.yml
237
249
  - config/locales/no.yml
250
+ - config/locales/om-ET.yml
238
251
  - config/locales/pl.yml
239
252
  - config/locales/pt-BR.yml
240
253
  - config/locales/pt.yml
@@ -243,16 +256,23 @@ files:
243
256
  - config/locales/sk-SK.yml
244
257
  - config/locales/sk.yml
245
258
  - config/locales/sl.yml
259
+ - config/locales/so-SO.yml
246
260
  - config/locales/sr-CS.yml
247
261
  - config/locales/sv.yml
262
+ - config/locales/ti-ER.yml
248
263
  - config/locales/tr-TR.yml
249
264
  - config/locales/uk.yml
265
+ - config/locales/vi-VN.yml
266
+ - config/locales/vi.yml
267
+ - config/locales/zh-CN.yml
268
+ - config/locales/zh-TW.yml
250
269
  - db/migrate/20171129131353_create_decidim_blogs_posts.rb
251
270
  - db/migrate/20171211084630_add_author_to_decidim_blogs_posts.rb
252
271
  - db/migrate/20181017084519_make_blogposts_authors_polymorphics.rb
253
272
  - db/migrate/20191212162606_add_user_group_author_to_blogs.rb
254
273
  - db/migrate/20200128094730_add_endorsements_counter_cache_to_blogs.rb
255
274
  - db/migrate/20200320105910_index_foreign_keys_in_decidim_blogs_posts.rb
275
+ - db/migrate/20200827153709_add_commentable_counter_cache_to_posts.rb
256
276
  - lib/decidim/blogs.rb
257
277
  - lib/decidim/blogs/admin.rb
258
278
  - lib/decidim/blogs/admin_engine.rb
@@ -272,14 +292,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
272
292
  requirements:
273
293
  - - ">="
274
294
  - !ruby/object:Gem::Version
275
- version: '2.5'
295
+ version: '2.6'
276
296
  required_rubygems_version: !ruby/object:Gem::Requirement
277
297
  requirements:
278
298
  - - ">="
279
299
  - !ruby/object:Gem::Version
280
300
  version: '0'
281
301
  requirements: []
282
- rubygems_version: 3.1.2
302
+ rubygems_version: 3.0.3
283
303
  signing_key:
284
304
  specification_version: 4
285
305
  summary: Decidim blogs module