decidim-core 0.13.1 → 0.14.1

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

Potentially problematic release.


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

Files changed (236) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_core_manifest.js +1 -1
  3. data/app/assets/images/decidim/gamification/badges/invitations.svg +117 -0
  4. data/app/assets/javascripts/decidim.js.es6 +4 -1
  5. data/app/assets/javascripts/decidim/ajax_modals.js.es6 +17 -0
  6. data/app/assets/javascripts/decidim/conferences.js.es6 +16 -0
  7. data/app/assets/javascripts/decidim/input_hashtags.js.es6 +115 -0
  8. data/app/assets/javascripts/decidim/input_mentions.js.es6 +2 -3
  9. data/app/assets/javascripts/decidim/vizzs/areachart.js.es6 +226 -0
  10. data/app/assets/javascripts/decidim/vizzs/metrics.js.es6 +26 -0
  11. data/app/assets/javascripts/decidim/vizzs/orgchart.js.es6 +701 -0
  12. data/app/assets/javascripts/decidim/vizzs/renders.js.es6 +11 -0
  13. data/app/assets/stylesheets/decidim/extras/_proposal_form.scss +3 -1
  14. data/app/assets/stylesheets/decidim/layouts/_home.scss +1 -1
  15. data/app/assets/stylesheets/decidim/modules/_areachart.scss +74 -0
  16. data/app/assets/stylesheets/decidim/modules/_badges.scss +116 -0
  17. data/app/assets/stylesheets/decidim/modules/_buttons.scss +5 -0
  18. data/app/assets/stylesheets/decidim/modules/_cards.scss +21 -4
  19. data/app/assets/stylesheets/decidim/modules/_chart-tooltip.scss +42 -0
  20. data/app/assets/stylesheets/decidim/modules/_collapsible-list.scss +12 -8
  21. data/app/assets/stylesheets/decidim/modules/_conference-nav.scss +31 -0
  22. data/app/assets/stylesheets/decidim/modules/_conference-programme.scss +110 -0
  23. data/app/assets/stylesheets/decidim/modules/_conference-speaker.scss +86 -0
  24. data/app/assets/stylesheets/decidim/modules/_conversation.scss +58 -0
  25. data/app/assets/stylesheets/decidim/modules/_help.scss +38 -0
  26. data/app/assets/stylesheets/decidim/modules/_hover-section.scss +29 -0
  27. data/app/assets/stylesheets/decidim/modules/_icons.scss +10 -4
  28. data/app/assets/stylesheets/decidim/modules/_input-hashtags.scss +124 -0
  29. data/app/assets/stylesheets/decidim/modules/_loading-spinner.scss +12 -0
  30. data/app/assets/stylesheets/decidim/modules/_margins.scss +2 -2
  31. data/app/assets/stylesheets/decidim/modules/_modules.scss +15 -0
  32. data/app/assets/stylesheets/decidim/modules/_navbar.scss +9 -0
  33. data/app/assets/stylesheets/decidim/modules/_orgchart.scss +62 -0
  34. data/app/assets/stylesheets/decidim/modules/_status-labels.scss +2 -1
  35. data/app/assets/stylesheets/decidim/modules/_typography.scss +9 -0
  36. data/app/assets/stylesheets/decidim/utils/_helpers.scss +28 -0
  37. data/app/assets/stylesheets/decidim/utils/_mixins.scss +63 -0
  38. data/app/cells/decidim/author/withdraw.erb +1 -1
  39. data/app/cells/decidim/author_cell.rb +1 -1
  40. data/app/cells/decidim/badge/show.erb +36 -0
  41. data/app/cells/decidim/badge_cell.rb +53 -0
  42. data/app/cells/decidim/badges/show.erb +6 -0
  43. data/app/cells/decidim/badges_cell.rb +14 -0
  44. data/app/cells/decidim/card_m/header.erb +1 -1
  45. data/app/cells/decidim/card_m/show.erb +1 -2
  46. data/app/cells/decidim/card_m/top.erb +7 -0
  47. data/app/cells/decidim/card_m_cell.rb +14 -17
  48. data/app/cells/decidim/coauthorships_cell.rb +77 -0
  49. data/app/cells/decidim/collapsible_authors/show.erb +0 -1
  50. data/app/cells/decidim/collapsible_authors_cell.rb +4 -4
  51. data/app/cells/decidim/collapsible_list/show.erb +12 -4
  52. data/app/cells/decidim/collapsible_list_cell.rb +14 -12
  53. data/app/cells/decidim/content_blocks/footer_sub_hero/show.erb +14 -0
  54. data/app/cells/decidim/content_blocks/footer_sub_hero_cell.rb +12 -0
  55. data/app/{views/decidim/pages/home/_hero.html.erb → cells/decidim/content_blocks/hero/show.erb} +4 -4
  56. data/app/cells/decidim/content_blocks/hero_cell.rb +25 -0
  57. data/app/cells/decidim/content_blocks/hero_settings_form/show.erb +7 -0
  58. data/app/cells/decidim/content_blocks/hero_settings_form_cell.rb +13 -0
  59. data/app/cells/decidim/content_blocks/highlighted_content_banner/show.erb +24 -0
  60. data/app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb +16 -0
  61. data/app/{views/decidim/pages/home/_extended.html.erb → cells/decidim/content_blocks/how_to_participate/show.erb} +10 -10
  62. data/app/cells/decidim/content_blocks/how_to_participate_cell.rb +9 -0
  63. data/app/{views/decidim/pages/home/_statistics.html.erb → cells/decidim/content_blocks/stats/show.erb} +2 -2
  64. data/app/cells/decidim/content_blocks/stats_cell.rb +18 -0
  65. data/app/{views/decidim/pages/home/_sub_hero.html.erb → cells/decidim/content_blocks/sub_hero/show.erb} +2 -2
  66. data/app/cells/decidim/content_blocks/sub_hero_cell.rb +17 -0
  67. data/app/cells/decidim/conversation/show.erb +18 -0
  68. data/app/cells/decidim/conversation_cell.rb +23 -0
  69. data/app/cells/decidim/conversation_header/show.erb +17 -0
  70. data/app/cells/decidim/conversation_header_cell.rb +16 -0
  71. data/app/cells/decidim/conversations/show.erb +45 -0
  72. data/app/cells/decidim/conversations_cell.rb +24 -0
  73. data/app/cells/decidim/follow_button/show.erb +3 -3
  74. data/app/cells/decidim/follow_button_cell.rb +1 -5
  75. data/app/cells/decidim/following_cell.rb +1 -7
  76. data/app/cells/decidim/message/show.erb +15 -0
  77. data/app/cells/decidim/message_cell.rb +23 -0
  78. data/app/cells/decidim/new_conversation/show.erb +19 -0
  79. data/app/cells/decidim/new_conversation_cell.rb +19 -0
  80. data/app/cells/decidim/notifications/show.erb +1 -1
  81. data/app/cells/decidim/profile/show.erb +27 -0
  82. data/app/cells/decidim/profile_cell.rb +33 -0
  83. data/app/cells/decidim/profile_sidebar/show.erb +57 -0
  84. data/app/cells/decidim/profile_sidebar_cell.rb +31 -0
  85. data/app/cells/decidim/tos_page_cell.rb +0 -4
  86. data/app/cells/decidim/user_profile/header.erb +1 -1
  87. data/app/controllers/concerns/decidim/action_authorization.rb +13 -38
  88. data/app/controllers/concerns/decidim/needs_permission.rb +15 -6
  89. data/app/controllers/decidim/application_controller.rb +1 -0
  90. data/app/controllers/decidim/authorization_modals_controller.rb +35 -0
  91. data/app/controllers/decidim/components/base_controller.rb +0 -1
  92. data/app/controllers/decidim/devise/invitations_controller.rb +2 -1
  93. data/app/controllers/decidim/messaging/conversations_controller.rb +2 -11
  94. data/app/controllers/decidim/newsletters_controller.rb +4 -6
  95. data/app/controllers/decidim/notifications_controller.rb +4 -0
  96. data/app/controllers/decidim/pages_controller.rb +3 -7
  97. data/app/controllers/decidim/profiles_controller.rb +17 -7
  98. data/app/forms/decidim/notifications_settings_form.rb +1 -1
  99. data/app/forms/decidim/registration_form.rb +1 -1
  100. data/app/helpers/decidim/action_authorization_helper.rb +51 -46
  101. data/app/helpers/decidim/application_helper.rb +18 -0
  102. data/app/helpers/decidim/card_helper.rb +1 -1
  103. data/app/helpers/decidim/cells_helper.rb +6 -2
  104. data/app/helpers/decidim/resource_helper.rb +8 -1
  105. data/app/helpers/decidim/searches_helper.rb +5 -4
  106. data/app/helpers/decidim/traceability_helper.rb +5 -1
  107. data/app/models/decidim/authorization.rb +2 -2
  108. data/app/models/decidim/content_block.rb +144 -0
  109. data/app/models/decidim/gamification/badge_score.rb +13 -0
  110. data/app/models/decidim/messaging/message.rb +1 -1
  111. data/app/models/decidim/messaging/receipt.rb +1 -1
  112. data/app/models/decidim/organization.rb +1 -5
  113. data/app/models/decidim/resource_permission.rb +8 -0
  114. data/app/models/decidim/searchable_resource.rb +1 -1
  115. data/app/models/decidim/user.rb +17 -1
  116. data/app/permissions/decidim/default_permissions.rb +4 -3
  117. data/app/permissions/decidim/permissions.rb +33 -1
  118. data/app/presenters/decidim/hashtag_presenter.rb +32 -0
  119. data/app/presenters/decidim/resource_locator_presenter.rb +13 -0
  120. data/app/presenters/decidim/user_presenter.rb +1 -1
  121. data/app/queries/decidim/messaging/user_conversations.rb +1 -1
  122. data/app/resolvers/decidim/hashtags_resolver.rb +15 -0
  123. data/app/services/decidim/action_authorizer.rb +9 -8
  124. data/app/types/decidim/core/date_time_type.rb +1 -1
  125. data/app/types/decidim/core/hashtag_type.rb +13 -0
  126. data/app/uploaders/decidim/homepage_image_uploader.rb +1 -1
  127. data/app/uploaders/decidim/image_uploader.rb +1 -0
  128. data/app/views/decidim/authorization_modals/show.html.erb +32 -0
  129. data/app/views/decidim/messaging/conversations/create.js.erb +1 -1
  130. data/app/views/decidim/messaging/conversations/index.html.erb +1 -51
  131. data/app/views/decidim/messaging/conversations/new.html.erb +1 -5
  132. data/app/views/decidim/messaging/conversations/show.html.erb +1 -9
  133. data/app/views/decidim/messaging/conversations/update.js.erb +1 -1
  134. data/app/views/decidim/notifications/index.html.erb +1 -0
  135. data/app/views/decidim/pages/decidim_page.html.erb +9 -0
  136. data/app/views/decidim/pages/home.html.erb +12 -16
  137. data/app/views/decidim/pages/index.html.erb +8 -0
  138. data/app/views/decidim/profiles/_user_follow.erb +2 -2
  139. data/app/views/decidim/profiles/show.html.erb +1 -37
  140. data/app/views/decidim/searches/_results.html.erb +1 -1
  141. data/app/views/decidim/shared/_author_reference.html.erb +1 -1
  142. data/app/views/decidim/shared/_authorization_modal.html.erb +1 -0
  143. data/app/views/decidim/shared/_tags.html.erb +1 -1
  144. data/app/views/kaminari/decidim/_page.html.erb +1 -1
  145. data/app/views/layouts/decidim/_application.html.erb +6 -1
  146. data/app/views/layouts/decidim/_edit_link.html.erb +8 -0
  147. data/app/views/layouts/decidim/_impersonation_warning.html.erb +1 -1
  148. data/app/views/layouts/decidim/_user_menu.html.erb +2 -2
  149. data/app/views/layouts/decidim/_wrapper.html.erb +14 -1
  150. data/config/initializers/carrierwave.rb +15 -0
  151. data/config/locales/ca.yml +78 -30
  152. data/config/locales/en.yml +78 -30
  153. data/config/locales/es-PY.yml +78 -30
  154. data/config/locales/es.yml +78 -30
  155. data/config/locales/eu.yml +78 -30
  156. data/config/locales/fi.yml +262 -214
  157. data/config/locales/fr.yml +78 -30
  158. data/config/locales/gl.yml +78 -30
  159. data/config/locales/hu.yml +781 -0
  160. data/config/locales/it.yml +78 -30
  161. data/config/locales/nl.yml +78 -30
  162. data/config/locales/pl.yml +78 -30
  163. data/config/locales/pt-BR.yml +106 -58
  164. data/config/locales/pt.yml +78 -30
  165. data/config/locales/ru.yml +52 -32
  166. data/config/locales/sv.yml +183 -135
  167. data/config/locales/uk.yml +60 -40
  168. data/config/routes.rb +8 -6
  169. data/db/migrate/20180705091019_create_decidim_resource_permissions.rb +12 -0
  170. data/db/migrate/20180706104107_add_nickname_to_managed_users.rb +14 -0
  171. data/db/migrate/20180706111847_fix_result_follows.rb +9 -0
  172. data/db/migrate/20180724103814_add_content_blocks.rb +22 -0
  173. data/db/migrate/20180726112510_create_decidim_hashtags.rb +17 -0
  174. data/db/migrate/20180730071851_add_core_content_blocks.rb +28 -0
  175. data/db/migrate/20180802132147_rename_content_block_options_to_settings.rb +7 -0
  176. data/db/migrate/20180806095628_add_badge_scores.rb +11 -0
  177. data/db/migrate/20180808135006_add_images_to_content_blocks.rb +7 -0
  178. data/db/migrate/20180810092428_move_organization_fields_to_hero_content_block.rb +23 -0
  179. data/db/seeds.rb +10 -2
  180. data/lib/decidim/api/authorable_interface.rb +1 -1
  181. data/lib/decidim/coauthorable.rb +1 -0
  182. data/lib/decidim/content_block_manifest.rb +58 -0
  183. data/lib/decidim/content_block_registry.rb +87 -0
  184. data/lib/decidim/content_parsers.rb +1 -0
  185. data/lib/decidim/content_parsers/hashtag_parser.rb +36 -0
  186. data/lib/decidim/content_processor.rb +11 -0
  187. data/lib/decidim/content_renderers.rb +1 -0
  188. data/lib/decidim/content_renderers/hashtag_renderer.rb +43 -0
  189. data/lib/decidim/core.rb +28 -6
  190. data/lib/decidim/core/api.rb +1 -0
  191. data/lib/decidim/core/engine.rb +52 -1
  192. data/lib/decidim/core/test.rb +3 -0
  193. data/lib/decidim/core/test/factories.rb +32 -17
  194. data/lib/decidim/core/test/shared_examples/authorable_interface_examples.rb +10 -0
  195. data/lib/decidim/core/test/shared_examples/coauthorable.rb +3 -0
  196. data/lib/decidim/core/test/shared_examples/edit_link_shared_examples.rb +30 -0
  197. data/lib/decidim/core/test/shared_examples/has_space_in_mcell_examples.rb +15 -0
  198. data/lib/decidim/core/test/shared_examples/publicable.rb +1 -1
  199. data/lib/decidim/core/test/shared_examples/railtie_examples.rb +15 -0
  200. data/lib/decidim/core/test/shared_examples/scope_helper_examples.rb +1 -0
  201. data/lib/decidim/core/version.rb +1 -1
  202. data/lib/decidim/events/base_event.rb +2 -1
  203. data/lib/decidim/form_builder.rb +9 -3
  204. data/lib/decidim/friendly_dates.rb +1 -1
  205. data/lib/decidim/gamification.rb +109 -0
  206. data/lib/decidim/gamification/badge.rb +54 -0
  207. data/lib/decidim/gamification/badge_earned_event.rb +9 -0
  208. data/lib/decidim/gamification/badge_registry.rb +63 -0
  209. data/lib/decidim/gamification/badge_scorer.rb +118 -0
  210. data/lib/decidim/gamification/badge_status.rb +41 -0
  211. data/lib/decidim/gamification/base_event.rb +40 -0
  212. data/lib/decidim/gamification/level_up_event.rb +9 -0
  213. data/lib/decidim/hashtag.rb +15 -0
  214. data/lib/decidim/hashtaggable.rb +20 -0
  215. data/lib/decidim/query_extensions.rb +10 -0
  216. data/lib/decidim/resource_manifest.rb +10 -0
  217. data/lib/decidim/resourceable.rb +13 -0
  218. data/lib/decidim/search_resource_fields_mapper.rb +8 -3
  219. data/lib/decidim/searchable.rb +8 -0
  220. data/lib/decidim/translatable_attributes.rb +6 -18
  221. data/lib/decidim/view_model.rb +6 -0
  222. data/lib/devise/models/decidim_newsletterable.rb +1 -1
  223. data/vendor/assets/javascripts/d3.js +17813 -0
  224. metadata +125 -27
  225. data/app/cells/decidim/card_m/author.erb +0 -3
  226. data/app/cells/decidim/card_m/authors.erb +0 -9
  227. data/app/views/decidim/messaging/conversations/_message.html.erb +0 -14
  228. data/app/views/decidim/messaging/conversations/_reply.html.erb +0 -11
  229. data/app/views/decidim/messaging/conversations/_show.html.erb +0 -21
  230. data/app/views/decidim/messaging/conversations/_start.html.erb +0 -12
  231. data/app/views/decidim/pages/home/_footer_sub_hero.html.erb +0 -14
  232. data/app/views/decidim/pages/home/_highlighted_content_banner.html.erb +0 -26
  233. data/app/views/decidim/pages/home/_highlighted_processes.html.erb +0 -7
  234. data/app/views/decidim/profiles/_user.html.erb +0 -59
  235. data/app/views/decidim/shared/_action_authorization_modal.html.erb +0 -39
  236. data/app/views/layouts/decidim/_component_authorization_modals.html.erb +0 -5
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.13.1
4
+ version: 0.14.1
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: 2018-07-24 00:00:00.000000000 Z
13
+ date: 2018-09-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_link_to
@@ -130,14 +130,14 @@ dependencies:
130
130
  requirements:
131
131
  - - "~>"
132
132
  - !ruby/object:Gem::Version
133
- version: '4.3'
133
+ version: '4.4'
134
134
  type: :runtime
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - "~>"
139
139
  - !ruby/object:Gem::Version
140
- version: '4.3'
140
+ version: '4.4'
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: doorkeeper-i18n
143
143
  requirement: !ruby/object:Gem::Requirement
@@ -214,6 +214,20 @@ dependencies:
214
214
  - - "~>"
215
215
  - !ruby/object:Gem::Version
216
216
  version: '1.4'
217
+ - !ruby/object:Gem::Dependency
218
+ name: hashdiff
219
+ requirement: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - "~>"
222
+ - !ruby/object:Gem::Version
223
+ version: 0.3.7
224
+ type: :runtime
225
+ prerelease: false
226
+ version_requirements: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - "~>"
229
+ - !ruby/object:Gem::Version
230
+ version: 0.3.7
217
231
  - !ruby/object:Gem::Dependency
218
232
  name: invisible_captcha
219
233
  requirement: !ruby/object:Gem::Requirement
@@ -524,14 +538,20 @@ dependencies:
524
538
  requirements:
525
539
  - - "~>"
526
540
  - !ruby/object:Gem::Version
527
- version: 1.11.0
541
+ version: '1.12'
542
+ - - ">="
543
+ - !ruby/object:Gem::Version
544
+ version: 1.12.1
528
545
  type: :runtime
529
546
  prerelease: false
530
547
  version_requirements: !ruby/object:Gem::Requirement
531
548
  requirements:
532
549
  - - "~>"
533
550
  - !ruby/object:Gem::Version
534
- version: 1.11.0
551
+ version: '1.12'
552
+ - - ">="
553
+ - !ruby/object:Gem::Version
554
+ version: 1.12.1
535
555
  - !ruby/object:Gem::Dependency
536
556
  name: sassc-rails
537
557
  requirement: !ruby/object:Gem::Requirement
@@ -636,28 +656,28 @@ dependencies:
636
656
  requirements:
637
657
  - - '='
638
658
  - !ruby/object:Gem::Version
639
- version: 0.13.1
659
+ version: 0.14.1
640
660
  type: :runtime
641
661
  prerelease: false
642
662
  version_requirements: !ruby/object:Gem::Requirement
643
663
  requirements:
644
664
  - - '='
645
665
  - !ruby/object:Gem::Version
646
- version: 0.13.1
666
+ version: 0.14.1
647
667
  - !ruby/object:Gem::Dependency
648
668
  name: decidim-dev
649
669
  requirement: !ruby/object:Gem::Requirement
650
670
  requirements:
651
671
  - - '='
652
672
  - !ruby/object:Gem::Version
653
- version: 0.13.1
673
+ version: 0.14.1
654
674
  type: :development
655
675
  prerelease: false
656
676
  version_requirements: !ruby/object:Gem::Requirement
657
677
  requirements:
658
678
  - - '='
659
679
  - !ruby/object:Gem::Version
660
- version: 0.13.1
680
+ version: 0.14.1
661
681
  description: Adds core features so other engines can hook into the framework.
662
682
  email:
663
683
  - josepjaume@gmail.com
@@ -688,11 +708,14 @@ files:
688
708
  - app/assets/images/decidim/cc-badge.png
689
709
  - app/assets/images/decidim/decidim-logo.svg
690
710
  - app/assets/images/decidim/default-avatar.svg
711
+ - app/assets/images/decidim/gamification/badges/invitations.svg
691
712
  - app/assets/images/decidim/icons.svg
692
713
  - app/assets/javascripts/decidim.js.es6
693
714
  - app/assets/javascripts/decidim/account_form.js.es6
715
+ - app/assets/javascripts/decidim/ajax_modals.js.es6
694
716
  - app/assets/javascripts/decidim/append_elements.js.es6
695
717
  - app/assets/javascripts/decidim/append_redirect_url_to_modals.js.es6
718
+ - app/assets/javascripts/decidim/conferences.js.es6
696
719
  - app/assets/javascripts/decidim/data_picker.js.es6
697
720
  - app/assets/javascripts/decidim/editor.js.es6
698
721
  - app/assets/javascripts/decidim/filters.js.es6
@@ -701,6 +724,7 @@ files:
701
724
  - app/assets/javascripts/decidim/foundation.js.es6
702
725
  - app/assets/javascripts/decidim/history.js.es6
703
726
  - app/assets/javascripts/decidim/impersonation.js.es6
727
+ - app/assets/javascripts/decidim/input_hashtags.js.es6
704
728
  - app/assets/javascripts/decidim/input_mentions.js.es6
705
729
  - app/assets/javascripts/decidim/input_tags.js.es6
706
730
  - app/assets/javascripts/decidim/map.js.es6
@@ -708,6 +732,10 @@ files:
708
732
  - app/assets/javascripts/decidim/orders.js.es6
709
733
  - app/assets/javascripts/decidim/slug_form.js.es6
710
734
  - app/assets/javascripts/decidim/user_registrations.js.es6
735
+ - app/assets/javascripts/decidim/vizzs/areachart.js.es6
736
+ - app/assets/javascripts/decidim/vizzs/metrics.js.es6
737
+ - app/assets/javascripts/decidim/vizzs/orgchart.js.es6
738
+ - app/assets/javascripts/decidim/vizzs/renders.js.es6
711
739
  - app/assets/javascripts/decidim/widget.js.es6
712
740
  - app/assets/stylesheets/decidim/_decidim.scss
713
741
  - app/assets/stylesheets/decidim/_variables.scss
@@ -735,14 +763,21 @@ files:
735
763
  - app/assets/stylesheets/decidim/layouts/_view.scss
736
764
  - app/assets/stylesheets/decidim/map.css
737
765
  - app/assets/stylesheets/decidim/modules/_address.scss
766
+ - app/assets/stylesheets/decidim/modules/_areachart.scss
738
767
  - app/assets/stylesheets/decidim/modules/_author-avatar.scss
768
+ - app/assets/stylesheets/decidim/modules/_badges.scss
739
769
  - app/assets/stylesheets/decidim/modules/_block-banner.scss
740
770
  - app/assets/stylesheets/decidim/modules/_buttons.scss
741
771
  - app/assets/stylesheets/decidim/modules/_callout.scss
742
772
  - app/assets/stylesheets/decidim/modules/_card-grid.scss
743
773
  - app/assets/stylesheets/decidim/modules/_cards.scss
774
+ - app/assets/stylesheets/decidim/modules/_chart-tooltip.scss
744
775
  - app/assets/stylesheets/decidim/modules/_collapsible-list.scss
745
776
  - app/assets/stylesheets/decidim/modules/_comments.scss
777
+ - app/assets/stylesheets/decidim/modules/_conference-nav.scss
778
+ - app/assets/stylesheets/decidim/modules/_conference-programme.scss
779
+ - app/assets/stylesheets/decidim/modules/_conference-speaker.scss
780
+ - app/assets/stylesheets/decidim/modules/_conversation.scss
746
781
  - app/assets/stylesheets/decidim/modules/_cookie-bar.scss
747
782
  - app/assets/stylesheets/decidim/modules/_data-picker.scss
748
783
  - app/assets/stylesheets/decidim/modules/_datepicker.scss
@@ -757,12 +792,15 @@ files:
757
792
  - app/assets/stylesheets/decidim/modules/_forms.scss
758
793
  - app/assets/stylesheets/decidim/modules/_help.scss
759
794
  - app/assets/stylesheets/decidim/modules/_horizontal-tabs.scss
795
+ - app/assets/stylesheets/decidim/modules/_hover-section.scss
760
796
  - app/assets/stylesheets/decidim/modules/_icons.scss
761
797
  - app/assets/stylesheets/decidim/modules/_inline-filters.scss
798
+ - app/assets/stylesheets/decidim/modules/_input-hashtags.scss
762
799
  - app/assets/stylesheets/decidim/modules/_input-mentions.scss
763
800
  - app/assets/stylesheets/decidim/modules/_input-tags.scss
764
801
  - app/assets/stylesheets/decidim/modules/_layout.scss
765
802
  - app/assets/stylesheets/decidim/modules/_list-docs.scss
803
+ - app/assets/stylesheets/decidim/modules/_loading-spinner.scss
766
804
  - app/assets/stylesheets/decidim/modules/_main-container.scss
767
805
  - app/assets/stylesheets/decidim/modules/_map.scss
768
806
  - app/assets/stylesheets/decidim/modules/_margins.scss
@@ -772,6 +810,7 @@ files:
772
810
  - app/assets/stylesheets/decidim/modules/_omnipresent_banner.scss
773
811
  - app/assets/stylesheets/decidim/modules/_opinion-toggle.scss
774
812
  - app/assets/stylesheets/decidim/modules/_order-by.scss
813
+ - app/assets/stylesheets/decidim/modules/_orgchart.scss
775
814
  - app/assets/stylesheets/decidim/modules/_pagination.scss
776
815
  - app/assets/stylesheets/decidim/modules/_process-header.scss
777
816
  - app/assets/stylesheets/decidim/modules/_process-info.scss
@@ -809,10 +848,12 @@ files:
809
848
  - app/cells/decidim/author/show.erb
810
849
  - app/cells/decidim/author/withdraw.erb
811
850
  - app/cells/decidim/author_cell.rb
851
+ - app/cells/decidim/badge/show.erb
852
+ - app/cells/decidim/badge_cell.rb
853
+ - app/cells/decidim/badges/show.erb
854
+ - app/cells/decidim/badges_cell.rb
812
855
  - app/cells/decidim/card/show.erb
813
856
  - app/cells/decidim/card_cell.rb
814
- - app/cells/decidim/card_m/author.erb
815
- - app/cells/decidim/card_m/authors.erb
816
857
  - app/cells/decidim/card_m/badge.erb
817
858
  - app/cells/decidim/card_m/comments_counter.erb
818
859
  - app/cells/decidim/card_m/data.erb
@@ -823,11 +864,33 @@ files:
823
864
  - app/cells/decidim/card_m/show.erb
824
865
  - app/cells/decidim/card_m/status.erb
825
866
  - app/cells/decidim/card_m/tags.erb
867
+ - app/cells/decidim/card_m/top.erb
826
868
  - app/cells/decidim/card_m_cell.rb
869
+ - app/cells/decidim/coauthorships_cell.rb
827
870
  - app/cells/decidim/collapsible_authors/show.erb
828
871
  - app/cells/decidim/collapsible_authors_cell.rb
829
872
  - app/cells/decidim/collapsible_list/show.erb
830
873
  - app/cells/decidim/collapsible_list_cell.rb
874
+ - app/cells/decidim/content_blocks/footer_sub_hero/show.erb
875
+ - app/cells/decidim/content_blocks/footer_sub_hero_cell.rb
876
+ - app/cells/decidim/content_blocks/hero/show.erb
877
+ - app/cells/decidim/content_blocks/hero_cell.rb
878
+ - app/cells/decidim/content_blocks/hero_settings_form/show.erb
879
+ - app/cells/decidim/content_blocks/hero_settings_form_cell.rb
880
+ - app/cells/decidim/content_blocks/highlighted_content_banner/show.erb
881
+ - app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb
882
+ - app/cells/decidim/content_blocks/how_to_participate/show.erb
883
+ - app/cells/decidim/content_blocks/how_to_participate_cell.rb
884
+ - app/cells/decidim/content_blocks/stats/show.erb
885
+ - app/cells/decidim/content_blocks/stats_cell.rb
886
+ - app/cells/decidim/content_blocks/sub_hero/show.erb
887
+ - app/cells/decidim/content_blocks/sub_hero_cell.rb
888
+ - app/cells/decidim/conversation/show.erb
889
+ - app/cells/decidim/conversation_cell.rb
890
+ - app/cells/decidim/conversation_header/show.erb
891
+ - app/cells/decidim/conversation_header_cell.rb
892
+ - app/cells/decidim/conversations/show.erb
893
+ - app/cells/decidim/conversations_cell.rb
831
894
  - app/cells/decidim/fingerprint/show.erb
832
895
  - app/cells/decidim/fingerprint_cell.rb
833
896
  - app/cells/decidim/follow_button/show.erb
@@ -839,8 +902,16 @@ files:
839
902
  - app/cells/decidim/invitations_toggle/content.erb
840
903
  - app/cells/decidim/invitations_toggle/label.erb
841
904
  - app/cells/decidim/invitations_toggle_cell.rb
905
+ - app/cells/decidim/message/show.erb
906
+ - app/cells/decidim/message_cell.rb
907
+ - app/cells/decidim/new_conversation/show.erb
908
+ - app/cells/decidim/new_conversation_cell.rb
842
909
  - app/cells/decidim/notifications/show.erb
843
910
  - app/cells/decidim/notifications_cell.rb
911
+ - app/cells/decidim/profile/show.erb
912
+ - app/cells/decidim/profile_cell.rb
913
+ - app/cells/decidim/profile_sidebar/show.erb
914
+ - app/cells/decidim/profile_sidebar_cell.rb
844
915
  - app/cells/decidim/progress_bar/show.erb
845
916
  - app/cells/decidim/progress_bar_cell.rb
846
917
  - app/cells/decidim/tags/category.erb
@@ -889,6 +960,7 @@ files:
889
960
  - app/controllers/concerns/decidim/user_profile.rb
890
961
  - app/controllers/decidim/account_controller.rb
891
962
  - app/controllers/decidim/application_controller.rb
963
+ - app/controllers/decidim/authorization_modals_controller.rb
892
964
  - app/controllers/decidim/components/base_controller.rb
893
965
  - app/controllers/decidim/cookie_policy_controller.rb
894
966
  - app/controllers/decidim/data_portability_controller.rb
@@ -1002,7 +1074,9 @@ files:
1002
1074
  - app/models/decidim/category.rb
1003
1075
  - app/models/decidim/coauthorship.rb
1004
1076
  - app/models/decidim/component.rb
1077
+ - app/models/decidim/content_block.rb
1005
1078
  - app/models/decidim/follow.rb
1079
+ - app/models/decidim/gamification/badge_score.rb
1006
1080
  - app/models/decidim/identity.rb
1007
1081
  - app/models/decidim/impersonation_log.rb
1008
1082
  - app/models/decidim/messaging/conversation.rb
@@ -1020,6 +1094,7 @@ files:
1020
1094
  - app/models/decidim/permission_action.rb
1021
1095
  - app/models/decidim/report.rb
1022
1096
  - app/models/decidim/resource_link.rb
1097
+ - app/models/decidim/resource_permission.rb
1023
1098
  - app/models/decidim/scope.rb
1024
1099
  - app/models/decidim/scope_type.rb
1025
1100
  - app/models/decidim/searchable_resource.rb
@@ -1046,6 +1121,7 @@ files:
1046
1121
  - app/presenters/decidim/area_presenter.rb
1047
1122
  - app/presenters/decidim/area_type_presenter.rb
1048
1123
  - app/presenters/decidim/category_presenter.rb
1124
+ - app/presenters/decidim/hashtag_presenter.rb
1049
1125
  - app/presenters/decidim/home_stats_presenter.rb
1050
1126
  - app/presenters/decidim/inline_menu_presenter.rb
1051
1127
  - app/presenters/decidim/log/base_presenter.rb
@@ -1070,6 +1146,7 @@ files:
1070
1146
  - app/queries/decidim/messaging/user_conversations.rb
1071
1147
  - app/queries/decidim/participatory_processes_with_user_role.rb
1072
1148
  - app/queries/decidim/stats_users_count.rb
1149
+ - app/resolvers/decidim/hashtags_resolver.rb
1073
1150
  - app/scrubbers/decidim/user_input_scrubber.rb
1074
1151
  - app/services/decidim/action_authorizer.rb
1075
1152
  - app/services/decidim/action_logger.rb
@@ -1089,6 +1166,7 @@ files:
1089
1166
  - app/types/decidim/core/date_time_type.rb
1090
1167
  - app/types/decidim/core/date_type.rb
1091
1168
  - app/types/decidim/core/decidim_type.rb
1169
+ - app/types/decidim/core/hashtag_type.rb
1092
1170
  - app/types/decidim/core/localized_string_type.rb
1093
1171
  - app/types/decidim/core/organization_type.rb
1094
1172
  - app/types/decidim/core/participatory_space_type.rb
@@ -1122,6 +1200,7 @@ files:
1122
1200
  - app/views/decidim/application/_document.html.erb
1123
1201
  - app/views/decidim/application/_documents.html.erb
1124
1202
  - app/views/decidim/application/_photos.html.erb
1203
+ - app/views/decidim/authorization_modals/show.html.erb
1125
1204
  - app/views/decidim/cookie_policy/accept.js.erb
1126
1205
  - app/views/decidim/data_portability/export.html.erb
1127
1206
  - app/views/decidim/data_portability/show.html.erb
@@ -1146,10 +1225,6 @@ files:
1146
1225
  - app/views/decidim/invitations/index.html.erb
1147
1226
  - app/views/decidim/messaging/conversation_mailer/new_conversation.html.erb
1148
1227
  - app/views/decidim/messaging/conversation_mailer/new_message.html.erb
1149
- - app/views/decidim/messaging/conversations/_message.html.erb
1150
- - app/views/decidim/messaging/conversations/_reply.html.erb
1151
- - app/views/decidim/messaging/conversations/_show.html.erb
1152
- - app/views/decidim/messaging/conversations/_start.html.erb
1153
1228
  - app/views/decidim/messaging/conversations/create.js.erb
1154
1229
  - app/views/decidim/messaging/conversations/index.html.erb
1155
1230
  - app/views/decidim/messaging/conversations/new.html.erb
@@ -1160,22 +1235,15 @@ files:
1160
1235
  - app/views/decidim/newsletters/unsubscribe.html.erb
1161
1236
  - app/views/decidim/newsletters_opt_in_mailer/notify.html.erb
1162
1237
  - app/views/decidim/notification_mailer/event_received.html.erb
1238
+ - app/views/decidim/notifications/index.html.erb
1163
1239
  - app/views/decidim/notifications_settings/show.html.erb
1164
1240
  - app/views/decidim/own_user_groups/index.html.erb
1165
1241
  - app/views/decidim/pages/decidim_page.html.erb
1166
1242
  - app/views/decidim/pages/home.html.erb
1167
- - app/views/decidim/pages/home/_extended.html.erb
1168
- - app/views/decidim/pages/home/_footer_sub_hero.html.erb
1169
- - app/views/decidim/pages/home/_hero.html.erb
1170
- - app/views/decidim/pages/home/_highlighted_content_banner.html.erb
1171
- - app/views/decidim/pages/home/_highlighted_processes.html.erb
1172
- - app/views/decidim/pages/home/_statistics.html.erb
1173
- - app/views/decidim/pages/home/_sub_hero.html.erb
1174
1243
  - app/views/decidim/pages/index.html.erb
1175
1244
  - app/views/decidim/profiles/_followers.html.erb
1176
1245
  - app/views/decidim/profiles/_following.html.erb
1177
1246
  - app/views/decidim/profiles/_notifications.html.erb
1178
- - app/views/decidim/profiles/_user.html.erb
1179
1247
  - app/views/decidim/profiles/_user_follow.erb
1180
1248
  - app/views/decidim/profiles/show.html.erb
1181
1249
  - app/views/decidim/reported_mailer/hide.html.erb
@@ -1188,10 +1256,10 @@ files:
1188
1256
  - app/views/decidim/searches/_results.html.erb
1189
1257
  - app/views/decidim/searches/index.html.erb
1190
1258
  - app/views/decidim/searches/index.js.erb
1191
- - app/views/decidim/shared/_action_authorization_modal.html.erb
1192
1259
  - app/views/decidim/shared/_address_details.html.erb
1193
1260
  - app/views/decidim/shared/_announcement.html.erb
1194
1261
  - app/views/decidim/shared/_author_reference.html.erb
1262
+ - app/views/decidim/shared/_authorization_modal.html.erb
1195
1263
  - app/views/decidim/shared/_comments.html.erb
1196
1264
  - app/views/decidim/shared/_component_announcement.html.erb
1197
1265
  - app/views/decidim/shared/_embed_modal.html.erb
@@ -1230,8 +1298,8 @@ files:
1230
1298
  - app/views/kaminari/decidim/_paginator.html.erb
1231
1299
  - app/views/kaminari/decidim/_prev_page.html.erb
1232
1300
  - app/views/layouts/decidim/_application.html.erb
1233
- - app/views/layouts/decidim/_component_authorization_modals.html.erb
1234
1301
  - app/views/layouts/decidim/_cookie_warning.html.erb
1302
+ - app/views/layouts/decidim/_edit_link.html.erb
1235
1303
  - app/views/layouts/decidim/_head.html.erb
1236
1304
  - app/views/layouts/decidim/_head_extra.html.erb
1237
1305
  - app/views/layouts/decidim/_impersonation_warning.html.erb
@@ -1247,6 +1315,7 @@ files:
1247
1315
  - app/views/layouts/decidim/mailer.html.erb
1248
1316
  - app/views/layouts/decidim/user_profile.html.erb
1249
1317
  - app/views/layouts/decidim/widget.html.erb
1318
+ - config/initializers/carrierwave.rb
1250
1319
  - config/initializers/devise.rb
1251
1320
  - config/initializers/foundation_rails_helper.rb
1252
1321
  - config/initializers/invisible_captcha.rb
@@ -1260,6 +1329,7 @@ files:
1260
1329
  - config/locales/fi.yml
1261
1330
  - config/locales/fr.yml
1262
1331
  - config/locales/gl.yml
1332
+ - config/locales/hu.yml
1263
1333
  - config/locales/it.yml
1264
1334
  - config/locales/nl.yml
1265
1335
  - config/locales/pl.yml
@@ -1370,6 +1440,16 @@ files:
1370
1440
  - db/migrate/20180508111710_add_accepted_tos_version_field_to_users.rb
1371
1441
  - db/migrate/20180611121852_change_newsletter_notification_type_value.rb
1372
1442
  - db/migrate/20180613080638_rename_missing_features_to_components.rb
1443
+ - db/migrate/20180705091019_create_decidim_resource_permissions.rb
1444
+ - db/migrate/20180706104107_add_nickname_to_managed_users.rb
1445
+ - db/migrate/20180706111847_fix_result_follows.rb
1446
+ - db/migrate/20180724103814_add_content_blocks.rb
1447
+ - db/migrate/20180726112510_create_decidim_hashtags.rb
1448
+ - db/migrate/20180730071851_add_core_content_blocks.rb
1449
+ - db/migrate/20180802132147_rename_content_block_options_to_settings.rb
1450
+ - db/migrate/20180806095628_add_badge_scores.rb
1451
+ - db/migrate/20180808135006_add_images_to_content_blocks.rb
1452
+ - db/migrate/20180810092428_move_organization_fields_to_hero_content_block.rb
1373
1453
  - db/seeds.rb
1374
1454
  - db/seeds/homepage_image.jpg
1375
1455
  - lib/decidim/api/attachable_interface.rb
@@ -1389,12 +1469,16 @@ files:
1389
1469
  - lib/decidim/components.rb
1390
1470
  - lib/decidim/components/export_manifest.rb
1391
1471
  - lib/decidim/components/namer.rb
1472
+ - lib/decidim/content_block_manifest.rb
1473
+ - lib/decidim/content_block_registry.rb
1392
1474
  - lib/decidim/content_parsers.rb
1393
1475
  - lib/decidim/content_parsers/base_parser.rb
1476
+ - lib/decidim/content_parsers/hashtag_parser.rb
1394
1477
  - lib/decidim/content_parsers/user_parser.rb
1395
1478
  - lib/decidim/content_processor.rb
1396
1479
  - lib/decidim/content_renderers.rb
1397
1480
  - lib/decidim/content_renderers/base_renderer.rb
1481
+ - lib/decidim/content_renderers/hashtag_renderer.rb
1398
1482
  - lib/decidim/content_renderers/user_renderer.rb
1399
1483
  - lib/decidim/core.rb
1400
1484
  - lib/decidim/core/api.rb
@@ -1410,6 +1494,7 @@ files:
1410
1494
  - lib/decidim/core/test/shared_examples/coauthorable_interface_examples.rb
1411
1495
  - lib/decidim/core/test/shared_examples/comments_examples.rb
1412
1496
  - lib/decidim/core/test/shared_examples/component_type.rb
1497
+ - lib/decidim/core/test/shared_examples/edit_link_shared_examples.rb
1413
1498
  - lib/decidim/core/test/shared_examples/errors.rb
1414
1499
  - lib/decidim/core/test/shared_examples/fingerprint_examples.rb
1415
1500
  - lib/decidim/core/test/shared_examples/follows_examples.rb
@@ -1419,10 +1504,12 @@ files:
1419
1504
  - lib/decidim/core/test/shared_examples/has_component.rb
1420
1505
  - lib/decidim/core/test/shared_examples/has_reference.rb
1421
1506
  - lib/decidim/core/test/shared_examples/has_scope.rb
1507
+ - lib/decidim/core/test/shared_examples/has_space_in_mcell_examples.rb
1422
1508
  - lib/decidim/core/test/shared_examples/localised_email.rb
1423
1509
  - lib/decidim/core/test/shared_examples/paginated_resource_examples.rb
1424
1510
  - lib/decidim/core/test/shared_examples/process_announcements_examples.rb
1425
1511
  - lib/decidim/core/test/shared_examples/publicable.rb
1512
+ - lib/decidim/core/test/shared_examples/railtie_examples.rb
1426
1513
  - lib/decidim/core/test/shared_examples/reportable.rb
1427
1514
  - lib/decidim/core/test/shared_examples/reports_examples.rb
1428
1515
  - lib/decidim/core/test/shared_examples/scopable_interface_examples.rb
@@ -1466,6 +1553,14 @@ files:
1466
1553
  - lib/decidim/followable.rb
1467
1554
  - lib/decidim/form_builder.rb
1468
1555
  - lib/decidim/friendly_dates.rb
1556
+ - lib/decidim/gamification.rb
1557
+ - lib/decidim/gamification/badge.rb
1558
+ - lib/decidim/gamification/badge_earned_event.rb
1559
+ - lib/decidim/gamification/badge_registry.rb
1560
+ - lib/decidim/gamification/badge_scorer.rb
1561
+ - lib/decidim/gamification/badge_status.rb
1562
+ - lib/decidim/gamification/base_event.rb
1563
+ - lib/decidim/gamification/level_up_event.rb
1469
1564
  - lib/decidim/has_attachment_collections.rb
1470
1565
  - lib/decidim/has_attachments.rb
1471
1566
  - lib/decidim/has_category.rb
@@ -1473,6 +1568,8 @@ files:
1473
1568
  - lib/decidim/has_private_users.rb
1474
1569
  - lib/decidim/has_reference.rb
1475
1570
  - lib/decidim/has_settings.rb
1571
+ - lib/decidim/hashtag.rb
1572
+ - lib/decidim/hashtaggable.rb
1476
1573
  - lib/decidim/loggable.rb
1477
1574
  - lib/decidim/manifest_registry.rb
1478
1575
  - lib/decidim/menu.rb
@@ -1505,6 +1602,7 @@ files:
1505
1602
  - lib/devise/models/decidim_validatable.rb
1506
1603
  - lib/tasks/decidim_tasks.rake
1507
1604
  - vendor/assets/javascripts/appendAround.js
1605
+ - vendor/assets/javascripts/d3.js
1508
1606
  - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ca.js
1509
1607
  - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.es.js
1510
1608
  - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.eu.js
@@ -1559,7 +1657,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1559
1657
  version: '0'
1560
1658
  requirements: []
1561
1659
  rubyforge_project:
1562
- rubygems_version: 2.7.6
1660
+ rubygems_version: 2.7.7
1563
1661
  signing_key:
1564
1662
  specification_version: 4
1565
1663
  summary: The core of the Decidim framework.