decidim-blogs 0.26.7 → 0.26.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da6df3e7ce55d46006357f98585eed7c0d19d6862558a29677de58adb6ab2435
4
- data.tar.gz: c2306bcb404a003299c71acb223673d59703cf5395ef457e6b5a104a2b65ec88
3
+ metadata.gz: f0d1caa91870d55a12dd8b07b1f617be7ef213118695441afd080d8a971aba19
4
+ data.tar.gz: b81b05b0ca02a6363701515becdad6d68a66a07b7370b39850a3abd905918609
5
5
  SHA512:
6
- metadata.gz: e40309eb20587a3960fd7dbe2486174061cf90812e5cfb41081f9d6ac5d38a46880bb265b940268d0b5ad6f81abba29b4416041ab6e632f42d9bf96c8ed3dfe6
7
- data.tar.gz: 4a4802d656962d8864c0bed4c705ba5102fa51629fd77d26bc24c26b20fa2334fa84bc303052a861c862ca816e9dd1a68af11ef268da441b0435885aebed9d41
6
+ metadata.gz: c58a58cb86cbd2012ab675a4204687d90c2d8276239db97aba7fc1ac5f222fd4a6dc3053e6c22f22c8dabf9cb3be27cefec6adce62e859223dc320ab5154c465
7
+ data.tar.gz: 75b6988062ffe1486d75a0515e611d393d74ecd01b63ef89d027bd108c48f502e2c7743eb9476e872a03bc6f5bcfbcfd61ff8173be6d9cc8312aebdb11d7ea5b
@@ -14,6 +14,7 @@ module Decidim
14
14
  include Decidim::Searchable
15
15
  include Decidim::Endorsable
16
16
  include Decidim::Followable
17
+ include Decidim::Reportable
17
18
  include Decidim::TranslatableResource
18
19
  include Traceable
19
20
  include Loggable
@@ -65,6 +66,21 @@ module Decidim
65
66
  def attachment_context
66
67
  :admin
67
68
  end
69
+
70
+ # Public: Overrides the `reported_content_url` Reportable concern method.
71
+ def reported_content_url
72
+ ResourceLocatorPresenter.new(self).url
73
+ end
74
+
75
+ # Public: Overrides the `reported_attributes` Reportable concern method.
76
+ def reported_attributes
77
+ [:title, :body]
78
+ end
79
+
80
+ # Public: Overrides the `reported_searchable_content_extras` Reportable concern method.
81
+ def reported_searchable_content_extras
82
+ [normalized_author.name]
83
+ end
68
84
  end
69
85
  end
70
86
  end
@@ -1,3 +1,4 @@
1
+ <% add_decidim_page_title(t(".title")) %>
1
2
  <%= decidim_form_for(@form, html: { class: "form edit_post" }) do |f| %>
2
3
  <%= render partial: "form", object: f, locals: { title: t(".title") } %>
3
4
 
@@ -1,3 +1,4 @@
1
+ <% add_decidim_page_title(t(".title")) %>
1
2
  <div class="card">
2
3
  <div class="card-divider">
3
4
  <h2 class="card-title">
@@ -1,3 +1,4 @@
1
+ <% add_decidim_page_title(t(".title")) %>
1
2
  <%= decidim_form_for(@form, html: { class: "form new_post" }) do |f| %>
2
3
  <%= render partial: "form", object: f, locals: { title: t(".title") } %>
3
4
 
@@ -57,3 +57,4 @@
57
57
  </div>
58
58
  <%= attachments_for post %>
59
59
  <%= comments_for post %>
60
+ <%= cell("decidim/flag_modal", post) %>
File without changes
@@ -1,5 +1,11 @@
1
1
  de:
2
2
  activemodel:
3
+ attributes:
4
+ post:
5
+ body: Haupttext
6
+ decidim_author_id: Autor*in
7
+ published_at: Veröffentlicht am
8
+ title: Titel
3
9
  models:
4
10
  decidim/blogs/create_post_event: Neuer Blogeintrag
5
11
  activerecord:
@@ -45,6 +51,7 @@ de:
45
51
  author: Autor
46
52
  body: Haupttext
47
53
  created_at: Hergestellt in
54
+ title: Titel
48
55
  posts:
49
56
  show:
50
57
  back: Zurück zur Liste
@@ -57,8 +64,10 @@ de:
57
64
  components:
58
65
  blogs:
59
66
  actions:
67
+ comment: Kommentieren
60
68
  create: Erstellen
61
69
  destroy: Löschen
70
+ endorse: Unterstützen
62
71
  update: Aktualisieren
63
72
  name: Blog
64
73
  settings:
@@ -1,5 +1,11 @@
1
1
  el:
2
2
  activemodel:
3
+ attributes:
4
+ post:
5
+ body: Σώμα
6
+ decidim_author_id: Συντάκτης
7
+ published_at: Ώρα δημοσίευσης
8
+ title: Τίτλος
3
9
  models:
4
10
  decidim/blogs/create_post_event: Νέα ανάρτηση ιστολογίου
5
11
  activerecord:
@@ -45,6 +51,7 @@ el:
45
51
  author: Συντάκτης
46
52
  body: Σώμα
47
53
  created_at: Δημιουργήθηκε στις
54
+ title: Τίτλος
48
55
  posts:
49
56
  show:
50
57
  back: Επιστροφή στη λίστα
@@ -56,6 +63,12 @@ el:
56
63
  read_more: Διαβάστε περισσότερα
57
64
  components:
58
65
  blogs:
66
+ actions:
67
+ comment: Σχόλιο
68
+ create: Δημιουργία
69
+ destroy: Διαγραφή
70
+ endorse: Επιδοκιμασία
71
+ update: Ενημέρωση
59
72
  name: Ιστολόγιο
60
73
  settings:
61
74
  global:
@@ -1,5 +1,11 @@
1
1
  hu:
2
2
  activemodel:
3
+ attributes:
4
+ post:
5
+ body: Törzs
6
+ decidim_author_id: Szerző
7
+ published_at: Közzététel időpontja
8
+ title: Cím
3
9
  models:
4
10
  decidim/blogs/create_post_event: Új blogbejegyzés
5
11
  activerecord:
@@ -45,6 +51,7 @@ hu:
45
51
  author: Szerző
46
52
  body: Szöveg
47
53
  created_at: 'Létrehozva:'
54
+ title: Cím
48
55
  posts:
49
56
  show:
50
57
  back: Vissza a listához
@@ -57,8 +64,10 @@ hu:
57
64
  components:
58
65
  blogs:
59
66
  actions:
67
+ comment: Hozzászólás
60
68
  create: Létrehozás
61
69
  destroy: Törlés
70
+ endorse: Helyesel/Jóváhagy
62
71
  update: Frissítés
63
72
  name: Blog
64
73
  settings:
@@ -1 +1,23 @@
1
1
  kaa:
2
+ decidim:
3
+ blogs:
4
+ actions:
5
+ destroy: Óshiriw
6
+ edit: Ózgeris kirgiziw
7
+ title: Háreketler
8
+ admin:
9
+ posts:
10
+ edit:
11
+ save: Jańalaw
12
+ new:
13
+ create: Jaratıw
14
+ models:
15
+ post:
16
+ fields:
17
+ author: Avtor
18
+ components:
19
+ blogs:
20
+ actions:
21
+ create: Jaratıw
22
+ destroy: Óshiriw
23
+ update: Jańalaw
@@ -1,5 +1,11 @@
1
1
  pt-BR:
2
2
  activemodel:
3
+ attributes:
4
+ post:
5
+ body: Corpo
6
+ decidim_author_id: Autor
7
+ published_at: Horário da publicação
8
+ title: Título
3
9
  models:
4
10
  decidim/blogs/create_post_event: Nova postagem no blog
5
11
  activerecord:
@@ -45,6 +51,7 @@ pt-BR:
45
51
  author: Autor
46
52
  body: Corpo
47
53
  created_at: Criado em
54
+ title: Título
48
55
  posts:
49
56
  show:
50
57
  back: Voltar para a lista
@@ -56,6 +63,10 @@ pt-BR:
56
63
  read_more: Saiba mais
57
64
  components:
58
65
  blogs:
66
+ actions:
67
+ comment: Comentário
68
+ create: Criar
69
+ destroy: Excluir
59
70
  name: Blog
60
71
  settings:
61
72
  global:
@@ -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.26.7"
7
+ "0.26.8"
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.26.7
4
+ version: 0.26.8
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: 2023-05-11 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,98 +16,98 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.26.7
19
+ version: 0.26.8
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.26.7
26
+ version: 0.26.8
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.26.7
33
+ version: 0.26.8
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.26.7
40
+ version: 0.26.8
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.26.7
47
+ version: 0.26.8
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.26.7
54
+ version: 0.26.8
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-admin
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.26.7
61
+ version: 0.26.8
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.26.7
68
+ version: 0.26.8
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-assemblies
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.26.7
75
+ version: 0.26.8
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.26.7
82
+ version: 0.26.8
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: decidim-dev
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.26.7
89
+ version: 0.26.8
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.26.7
96
+ version: 0.26.8
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: decidim-participatory_processes
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.26.7
103
+ version: 0.26.8
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.26.7
110
+ version: 0.26.8
111
111
  description: A Blog component for decidim's participatory spaces.
112
112
  email:
113
113
  - isaac.mg@coditramuntana.com
@@ -150,6 +150,7 @@ files:
150
150
  - app/views/decidim/blogs/posts/index.html.erb
151
151
  - app/views/decidim/blogs/posts/show.html.erb
152
152
  - config/assets.rb
153
+ - config/environment.rb
153
154
  - config/locales/am-ET.yml
154
155
  - config/locales/ar-SA.yml
155
156
  - config/locales/ar.yml