decidim-core 0.18.1 → 0.19.0

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 (275) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_core_manifest.js +3 -0
  3. data/app/assets/javascripts/decidim/social_share.js +2 -0
  4. data/app/assets/stylesheets/decidim/extras/_social_share.css.scss +36 -0
  5. data/app/assets/stylesheets/decidim/modules/_input-gallery.scss +24 -0
  6. data/app/assets/stylesheets/decidim/modules/_navbar.scss +1 -1
  7. data/app/cells/decidim/activities_cell.rb +13 -8
  8. data/app/cells/decidim/activity_cell.rb +19 -5
  9. data/app/cells/decidim/address/details.erb +2 -2
  10. data/app/cells/decidim/amendable/amenders_list/show.erb +1 -1
  11. data/app/cells/decidim/amendable/amenders_list_cell.rb +5 -1
  12. data/app/cells/decidim/amendable/announcement_cell.rb +22 -9
  13. data/app/cells/decidim/amendable/wizard_step_form_cell.rb +121 -0
  14. data/app/cells/decidim/announcement_cell.rb +1 -0
  15. data/app/cells/decidim/author_cell.rb +7 -0
  16. data/app/cells/decidim/card_m_cell.rb +3 -1
  17. data/app/cells/decidim/coauthorships_cell.rb +3 -1
  18. data/app/cells/decidim/collapsible_authors_cell.rb +1 -0
  19. data/app/cells/decidim/collapsible_list_cell.rb +1 -0
  20. data/app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb +1 -0
  21. data/app/cells/decidim/content_blocks/last_activity_cell.rb +3 -2
  22. data/app/cells/decidim/content_blocks/metrics_cell.rb +1 -0
  23. data/app/cells/decidim/content_blocks/stats_cell.rb +1 -0
  24. data/app/cells/decidim/content_blocks/sub_hero_cell.rb +1 -0
  25. data/app/cells/decidim/diff_cell.rb +1 -1
  26. data/app/cells/decidim/fingerprint/show.erb +1 -1
  27. data/app/cells/decidim/follow_button_cell.rb +3 -0
  28. data/app/cells/decidim/members_cell.rb +1 -0
  29. data/app/cells/decidim/notifications/show.erb +1 -1
  30. data/app/cells/decidim/profile_cell.rb +1 -0
  31. data/app/cells/decidim/profile_sidebar_cell.rb +4 -0
  32. data/app/cells/decidim/search_results_cell.rb +1 -0
  33. data/app/cells/decidim/search_results_section/show.erb +1 -1
  34. data/app/cells/decidim/tos_page_cell.rb +1 -0
  35. data/app/cells/decidim/user_group_pending_invitations_list_cell.rb +1 -0
  36. data/app/cells/decidim/user_group_pending_requests_list_cell.rb +1 -0
  37. data/app/cells/decidim/wizard_step_form/wizard_aside.erb +14 -0
  38. data/app/cells/decidim/wizard_step_form/wizard_header.erb +18 -0
  39. data/app/cells/decidim/wizard_step_form_cell.rb +112 -0
  40. data/app/commands/decidim/amendable/accept.rb +1 -1
  41. data/app/commands/decidim/amendable/create_draft.rb +70 -0
  42. data/app/commands/decidim/amendable/destroy_draft.rb +40 -0
  43. data/app/commands/decidim/amendable/promote.rb +13 -11
  44. data/app/commands/decidim/amendable/publish_draft.rb +76 -0
  45. data/app/commands/decidim/amendable/update_draft.rb +54 -0
  46. data/app/commands/decidim/amendable/withdraw.rb +31 -15
  47. data/app/commands/decidim/create_follow.rb +1 -0
  48. data/app/commands/decidim/create_omniauth_registration.rb +22 -4
  49. data/app/commands/decidim/create_registration.rb +5 -0
  50. data/app/commands/decidim/delete_follow.rb +1 -0
  51. data/app/commands/decidim/search.rb +1 -0
  52. data/app/controllers/concerns/decidim/action_authorization.rb +2 -0
  53. data/app/controllers/concerns/decidim/amendments_controller.rb +148 -28
  54. data/app/controllers/concerns/decidim/devise_controllers.rb +3 -2
  55. data/app/controllers/concerns/decidim/force_authentication.rb +38 -0
  56. data/app/controllers/concerns/decidim/impersonate_users.rb +1 -0
  57. data/app/controllers/concerns/decidim/locale_switcher.rb +44 -17
  58. data/app/controllers/concerns/decidim/needs_tos_accepted.rb +8 -0
  59. data/app/controllers/concerns/decidim/orderable.rb +36 -0
  60. data/app/controllers/concerns/decidim/participatory_space_context.rb +2 -0
  61. data/app/controllers/concerns/decidim/safe_redirect.rb +24 -0
  62. data/app/controllers/decidim/application_controller.rb +19 -2
  63. data/app/controllers/decidim/devise/confirmations_controller.rb +6 -0
  64. data/app/controllers/decidim/devise/invitations_controller.rb +8 -4
  65. data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +4 -1
  66. data/app/controllers/decidim/errors_controller.rb +3 -0
  67. data/app/controllers/decidim/follows_controller.rb +2 -2
  68. data/app/controllers/decidim/messaging/conversations_controller.rb +2 -2
  69. data/app/controllers/decidim/profiles_controller.rb +4 -1
  70. data/app/controllers/decidim/scopes_controller.rb +16 -4
  71. data/app/events/decidim/amendable/amendment_base_event.rb +4 -0
  72. data/app/forms/decidim/account_form.rb +1 -1
  73. data/app/forms/decidim/amendable/create_form.rb +3 -19
  74. data/app/forms/decidim/amendable/edit_form.rb +22 -0
  75. data/app/forms/decidim/amendable/form.rb +42 -20
  76. data/app/forms/decidim/amendable/promote_form.rb +4 -7
  77. data/app/forms/decidim/amendable/publish_form.rb +21 -0
  78. data/app/forms/decidim/amendable/reject_form.rb +1 -1
  79. data/app/forms/decidim/amendable/review_form.rb +9 -4
  80. data/app/forms/decidim/invite_user_form.rb +1 -0
  81. data/app/forms/decidim/notifications_settings_form.rb +1 -0
  82. data/app/forms/decidim/registration_form.rb +4 -3
  83. data/app/forms/decidim/user_group_form.rb +1 -0
  84. data/app/forms/decidim/user_interests_form.rb +1 -0
  85. data/app/helpers/decidim/amendments_helper.rb +33 -19
  86. data/app/helpers/decidim/cells_helper.rb +2 -0
  87. data/app/helpers/decidim/layout_helper.rb +1 -0
  88. data/app/helpers/decidim/map_helper.rb +1 -1
  89. data/app/helpers/decidim/meta_tags_helper.rb +1 -0
  90. data/app/helpers/decidim/resource_reference_helper.rb +1 -0
  91. data/app/jobs/decidim/event_publisher_job.rb +60 -0
  92. data/app/jobs/decidim/metric_job.rb +1 -0
  93. data/app/models/decidim/action_log.rb +12 -0
  94. data/app/models/decidim/amendment.rb +31 -2
  95. data/app/models/decidim/attachment.rb +2 -0
  96. data/app/models/decidim/authorization.rb +1 -0
  97. data/app/models/decidim/category.rb +1 -0
  98. data/app/models/decidim/component.rb +7 -0
  99. data/app/models/decidim/content_block.rb +1 -0
  100. data/app/models/decidim/follow.rb +3 -0
  101. data/app/models/decidim/identity.rb +1 -0
  102. data/app/models/decidim/impersonation_log.rb +2 -0
  103. data/app/models/decidim/newsletter.rb +1 -0
  104. data/app/models/decidim/participatory_process_user_role.rb +1 -0
  105. data/app/models/decidim/participatory_space_private_user.rb +1 -0
  106. data/app/models/decidim/permission_action.rb +2 -0
  107. data/app/models/decidim/report.rb +1 -0
  108. data/app/models/decidim/scope.rb +1 -0
  109. data/app/models/decidim/searchable_resource.rb +1 -1
  110. data/app/models/decidim/static_page.rb +1 -0
  111. data/app/models/decidim/user.rb +2 -0
  112. data/app/permissions/decidim/permissions.rb +18 -14
  113. data/app/permissions/decidim/user_manager_permissions.rb +9 -2
  114. data/app/presenters/decidim/admin_log/organization_presenter.rb +1 -0
  115. data/app/presenters/decidim/admin_log/participatory_space_private_user_presenter.rb +1 -1
  116. data/app/presenters/decidim/admin_log/user_presenter.rb +1 -1
  117. data/app/presenters/decidim/hashtag_presenter.rb +1 -1
  118. data/app/presenters/decidim/log/base_presenter.rb +1 -0
  119. data/app/presenters/decidim/log/diff_presenter.rb +1 -1
  120. data/app/presenters/decidim/log/value_types/area_presenter.rb +1 -0
  121. data/app/presenters/decidim/log/value_types/area_type_presenter.rb +1 -0
  122. data/app/presenters/decidim/log/value_types/currency_presenter.rb +1 -0
  123. data/app/presenters/decidim/log/value_types/date_presenter.rb +1 -0
  124. data/app/presenters/decidim/log/value_types/locale_presenter.rb +1 -0
  125. data/app/presenters/decidim/log/value_types/percentage_presenter.rb +1 -0
  126. data/app/presenters/decidim/log/value_types/scope_presenter.rb +1 -0
  127. data/app/presenters/decidim/log/value_types/scope_type_presenter.rb +1 -0
  128. data/app/presenters/decidim/metric_charts_presenter.rb +1 -0
  129. data/app/presenters/decidim/metric_object_presenter.rb +4 -0
  130. data/app/queries/decidim/metric_manage.rb +3 -0
  131. data/app/queries/decidim/metric_measure.rb +1 -0
  132. data/app/queries/decidim/metrics/followers_metric_manage.rb +3 -0
  133. data/app/queries/decidim/metrics/participants_metric_manage.rb +4 -0
  134. data/app/queries/decidim/similar_emendations.rb +56 -0
  135. data/app/resolvers/decidim/core/metric_resolver.rb +1 -0
  136. data/app/services/decidim/action_authorizer.rb +1 -0
  137. data/app/services/decidim/action_logger.rb +1 -0
  138. data/app/services/decidim/activity_search.rb +1 -0
  139. data/app/services/decidim/email_notification_generator.rb +4 -0
  140. data/app/services/decidim/notification_generator.rb +2 -0
  141. data/app/services/decidim/notification_generator_for_recipient.rb +0 -1
  142. data/app/services/decidim/resource_search.rb +1 -1
  143. data/app/services/decidim/traceability.rb +1 -0
  144. data/app/uploaders/decidim/application_uploader.rb +1 -0
  145. data/app/uploaders/decidim/attachment_uploader.rb +16 -0
  146. data/app/uploaders/decidim/avatar_uploader.rb +0 -2
  147. data/app/uploaders/decidim/data_portability_uploader.rb +1 -0
  148. data/app/uploaders/decidim/homepage_image_uploader.rb +0 -2
  149. data/app/uploaders/decidim/image_uploader.rb +15 -1
  150. data/app/uploaders/decidim/oauth_application_logo_uploader.rb +0 -1
  151. data/app/uploaders/decidim/official_image_footer_uploader.rb +0 -1
  152. data/app/uploaders/decidim/official_image_header_uploader.rb +0 -1
  153. data/app/uploaders/decidim/open_data_uploader.rb +1 -0
  154. data/app/validators/etiquette_validator.rb +5 -0
  155. data/app/views/decidim/account/delete.html.erb +2 -2
  156. data/app/views/decidim/account/show.html.erb +1 -1
  157. data/app/views/decidim/amendments/_edit_form_fields.html.erb +16 -13
  158. data/app/views/decidim/amendments/_similar_emendation.html.erb +24 -0
  159. data/app/views/decidim/amendments/compare_draft.html.erb +21 -0
  160. data/app/views/decidim/amendments/edit_draft.html.erb +31 -0
  161. data/app/views/decidim/amendments/new.html.erb +5 -17
  162. data/app/views/decidim/amendments/preview_draft.html.erb +32 -0
  163. data/app/views/decidim/amendments/review.html.erb +5 -3
  164. data/app/views/decidim/application/_document.html.erb +1 -1
  165. data/app/views/decidim/application/_photos.html.erb +1 -1
  166. data/app/views/decidim/data_portability/show.html.erb +1 -1
  167. data/app/views/decidim/devise/invitations/edit.html.erb +2 -2
  168. data/app/views/decidim/devise/sessions/new.html.erb +1 -1
  169. data/app/views/decidim/doorkeeper/authorizations/new.html.erb +3 -3
  170. data/app/views/decidim/export_mailer/data_portability_export.html.erb +1 -1
  171. data/app/views/decidim/searches/index.js.erb +6 -0
  172. data/app/views/decidim/shared/_address_details.html.erb +2 -2
  173. data/app/views/decidim/shared/_embed_modal.html.erb +1 -1
  174. data/app/views/decidim/shared/_share_modal.html.erb +7 -4
  175. data/app/views/layouts/decidim/_application.html.erb +0 -1
  176. data/app/views/layouts/decidim/_head.html.erb +13 -12
  177. data/app/views/layouts/decidim/_logo.html.erb +1 -1
  178. data/app/views/layouts/decidim/_social_media_links.html.erb +5 -5
  179. data/app/views/layouts/decidim/_user_menu.html.erb +1 -1
  180. data/app/views/layouts/decidim/_wrapper.html.erb +2 -2
  181. data/app/views/layouts/decidim/mailer.html.erb +2 -2
  182. data/config/locales/ar.yml +27 -17
  183. data/config/locales/ca.yml +79 -15
  184. data/config/locales/cs.yml +73 -14
  185. data/config/locales/de.yml +62 -12
  186. data/config/locales/en.yml +80 -16
  187. data/config/locales/eo-UY.yml +16 -0
  188. data/config/locales/es-MX.yml +73 -11
  189. data/config/locales/es-PY.yml +73 -11
  190. data/config/locales/es.yml +79 -15
  191. data/config/locales/eu.yml +6 -13
  192. data/config/locales/fi-plain.yml +75 -11
  193. data/config/locales/fi.yml +80 -16
  194. data/config/locales/fr.yml +70 -16
  195. data/config/locales/gl.yml +6 -13
  196. data/config/locales/hu.yml +80 -17
  197. data/config/locales/id-ID.yml +6 -12
  198. data/config/locales/it.yml +56 -14
  199. data/config/locales/nl.yml +76 -12
  200. data/config/locales/no.yml +11 -2
  201. data/config/locales/pl.yml +6 -15
  202. data/config/locales/pt-BR.yml +6 -13
  203. data/config/locales/pt.yml +6 -13
  204. data/config/locales/ru.yml +7 -2
  205. data/config/locales/sv.yml +34 -18
  206. data/config/locales/tr-TR.yml +15 -12
  207. data/config/locales/uk.yml +7 -2
  208. data/config/routes.rb +7 -0
  209. data/db/migrate/20180226140756_add_version_to_action_logs.rb +1 -0
  210. data/db/migrate/20180305132906_rename_features_to_components.rb +1 -0
  211. data/db/migrate/20190412131728_fix_user_names.rb +1 -1
  212. data/db/migrate/20190610093742_add_force_users_to_authenticate_before_access_organization.rb +10 -0
  213. data/db/migrate/20190618075906_add_confidential_to_doorkeeper_application.rb +13 -0
  214. data/db/migrate/{20190925091507_add_uniq_index_to_decidim_metrics.rb → 20190829092826_add_uniq_index_to_decidim_metrics.rb} +0 -0
  215. data/lib/decidim/amendable.rb +87 -13
  216. data/lib/decidim/attributes/localized_date.rb +5 -0
  217. data/lib/decidim/attributes/time_with_zone.rb +5 -0
  218. data/lib/decidim/authorable.rb +3 -0
  219. data/lib/decidim/authorization_form_builder.rb +2 -2
  220. data/lib/decidim/component_manifest.rb +2 -0
  221. data/lib/decidim/content_parsers.rb +2 -0
  222. data/lib/decidim/content_parsers/hashtag_parser.rb +1 -1
  223. data/lib/decidim/content_parsers/link_parser.rb +10 -0
  224. data/lib/decidim/content_parsers/newline_parser.rb +20 -0
  225. data/lib/decidim/content_parsers/user_parser.rb +1 -1
  226. data/lib/decidim/content_processor.rb +2 -0
  227. data/lib/decidim/content_renderers.rb +1 -0
  228. data/lib/decidim/content_renderers/hashtag_renderer.rb +1 -1
  229. data/lib/decidim/content_renderers/link_renderer.rb +24 -0
  230. data/lib/decidim/content_renderers/user_renderer.rb +2 -2
  231. data/lib/decidim/core.rb +11 -0
  232. data/lib/decidim/core/engine.rb +2 -28
  233. data/lib/decidim/core/test.rb +4 -1
  234. data/lib/decidim/core/test/factories.rb +35 -8
  235. data/lib/decidim/core/test/shared_examples/amendable/create_amendment_draft_examples.rb +50 -0
  236. data/lib/decidim/core/test/shared_examples/amendable/destroy_amendment_draft_examples.rb +39 -0
  237. data/lib/decidim/core/test/shared_examples/amendable/promote_amendment_examples.rb +27 -3
  238. data/lib/decidim/core/test/shared_examples/amendable/{create_amendment_examples.rb → publish_amendment_draft_examples.rb} +26 -17
  239. data/lib/decidim/core/test/shared_examples/amendable/update_amendment_draft_examples.rb +42 -0
  240. data/lib/decidim/core/test/shared_examples/amendable/withdraw_amendment_examples.rb +19 -11
  241. data/lib/decidim/core/test/shared_examples/has_attachment_collections.rb +1 -1
  242. data/lib/decidim/core/test/shared_examples/has_attachments.rb +1 -1
  243. data/lib/decidim/core/test/shared_examples/simple_event.rb +4 -0
  244. data/lib/decidim/core/version.rb +1 -1
  245. data/lib/decidim/data_portability_file_zipper.rb +3 -0
  246. data/lib/decidim/events/author_event.rb +1 -0
  247. data/lib/decidim/events/base_event.rb +12 -22
  248. data/lib/decidim/events/coauthor_event.rb +1 -0
  249. data/lib/decidim/events/simple_event.rb +3 -0
  250. data/lib/decidim/exporters/csv.rb +1 -0
  251. data/lib/decidim/fingerprintable.rb +1 -0
  252. data/lib/decidim/followable.rb +8 -0
  253. data/lib/decidim/form_builder.rb +24 -3
  254. data/lib/decidim/gamification.rb +4 -0
  255. data/lib/decidim/gamification/badge_status.rb +1 -0
  256. data/lib/decidim/has_category.rb +2 -0
  257. data/lib/decidim/has_component.rb +2 -7
  258. data/lib/decidim/has_private_users.rb +8 -1
  259. data/lib/decidim/has_settings.rb +12 -8
  260. data/lib/decidim/hashtaggable.rb +4 -0
  261. data/lib/decidim/metric_operation_manifest.rb +1 -0
  262. data/lib/decidim/nicknamizable.rb +1 -0
  263. data/lib/decidim/participable.rb +1 -0
  264. data/lib/decidim/participatory_space_resourceable.rb +1 -0
  265. data/lib/decidim/randomable.rb +20 -0
  266. data/lib/decidim/search_resource_fields_mapper.rb +2 -0
  267. data/lib/decidim/searchable.rb +2 -0
  268. data/lib/decidim/settings_manifest.rb +10 -1
  269. data/lib/decidim/stats_registry.rb +1 -0
  270. data/lib/decidim/view_model.rb +1 -1
  271. data/lib/tasks/decidim_data_portability_tasks.rake +1 -0
  272. data/lib/tasks/decidim_metrics_tasks.rake +2 -0
  273. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.no.js +12 -12
  274. metadata +140 -82
  275. data/app/commands/decidim/amendable/create.rb +0 -80
@@ -43,6 +43,15 @@ module Decidim
43
43
  include TranslatableAttributes
44
44
 
45
45
  cattr_accessor :manifest
46
+ attr_reader :default_locale
47
+
48
+ # Overwrites Virtus::InstanceMethods::Constructor#initialize to allow
49
+ # passing a default_locale needed to validate translatable attributes.
50
+ # See TranslatablePresenceValidator#default_locale_for(record).
51
+ def initialize(attributes = nil, default_locale = nil)
52
+ @default_locale = default_locale
53
+ super(attributes)
54
+ end
46
55
 
47
56
  def self.model_name
48
57
  ActiveModel::Name.new(self, nil, "Settings")
@@ -90,7 +99,7 @@ module Decidim
90
99
  attribute :default
91
100
  attribute :translated, Boolean, default: false
92
101
  attribute :editor, Boolean, default: false
93
- attribute :required, Boolean, default: true
102
+ attribute :required, Boolean, default: false
94
103
  attribute :required_for_authorization, Boolean, default: false
95
104
 
96
105
  validates :type, inclusion: { in: TYPES.keys }
@@ -48,6 +48,7 @@ module Decidim
48
48
  def resolve(name, context, start_at = nil, end_at = nil)
49
49
  stat = @stats.detect { |s| s[:name] == name }
50
50
  return stat[:block].call(context, start_at, end_at) if stat.present?
51
+
51
52
  raise StandardError, "Stats '#{name}' is not registered."
52
53
  end
53
54
 
@@ -14,7 +14,7 @@ module Decidim
14
14
  delegate :current_organization, to: :controller
15
15
 
16
16
  def current_user
17
- context[:current_user]
17
+ context&.dig(:current_user) || controller&.current_user
18
18
  end
19
19
 
20
20
  private
@@ -76,6 +76,7 @@ namespace :decidim do
76
76
  path = Decidim::DataPortabilityUploader.new.store_dir
77
77
  Dir.glob(Rails.root.join(path, "*")).each do |filename|
78
78
  next unless File.mtime(filename) < Decidim.data_portability_expiry_time.ago
79
+
79
80
  File.delete(filename)
80
81
  puts "------"
81
82
  puts "!! deleting #{filename}"
@@ -24,6 +24,7 @@ namespace :decidim do
24
24
  desc "Execute one metric calculation method"
25
25
  task :one, [:metric, :day] => :environment do |_task, args|
26
26
  next if args.metric.blank?
27
+
27
28
  Decidim::Organization.find_each do |organization|
28
29
  metric_manifest = Decidim.metrics_registry.for(args.metric)
29
30
  call_metric_job(metric_manifest, organization, args.day)
@@ -40,6 +41,7 @@ namespace :decidim do
40
41
  end
41
42
  begin
42
43
  raise ArgumentError if day.blank?
44
+
43
45
  (Date.parse(day)..Time.zone.today).each do |d|
44
46
  Decidim::Organization.find_each do |organization|
45
47
  if metric
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Norwegian translation for foundation-datepicker
3
- */
4
- ;(function($){
5
- $.fn.fdatepicker.dates['no'] = {
6
- days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
7
- daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
8
- daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
9
- months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
10
- monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
11
- today: "I dag"
12
- };
13
- }(jQuery));
2
+ * Norwegian translation for foundation-datepicker
3
+ */
4
+ ;(function($){
5
+ $.fn.fdatepicker.dates['no'] = {
6
+ days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
7
+ daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
8
+ daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
9
+ months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
10
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
11
+ today: "I dag"
12
+ };
13
+ }(jQuery));
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.18.1
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -74,14 +74,14 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: '1.1'
77
+ version: '1.3'
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '1.1'
84
+ version: '1.3'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: cells-erb
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -114,16 +114,16 @@ dependencies:
114
114
  name: charlock_holmes
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - ">="
117
+ - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: 0.7.6
119
+ version: '0.7'
120
120
  type: :runtime
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - ">="
124
+ - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: 0.7.6
126
+ version: '0.7'
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: date_validator
129
129
  requirement: !ruby/object:Gem::Requirement
@@ -144,14 +144,14 @@ dependencies:
144
144
  requirements:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
- version: '4.6'
147
+ version: '4.7'
148
148
  type: :runtime
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - "~>"
153
153
  - !ruby/object:Gem::Version
154
- version: '4.6'
154
+ version: '4.7'
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: devise-i18n
157
157
  requirement: !ruby/object:Gem::Requirement
@@ -172,14 +172,14 @@ dependencies:
172
172
  requirements:
173
173
  - - "~>"
174
174
  - !ruby/object:Gem::Version
175
- version: '4.4'
175
+ version: '5.1'
176
176
  type: :runtime
177
177
  prerelease: false
178
178
  version_requirements: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - "~>"
181
181
  - !ruby/object:Gem::Version
182
- version: '4.4'
182
+ version: '5.1'
183
183
  - !ruby/object:Gem::Dependency
184
184
  name: doorkeeper-i18n
185
185
  requirement: !ruby/object:Gem::Requirement
@@ -262,42 +262,48 @@ dependencies:
262
262
  requirements:
263
263
  - - "~>"
264
264
  - !ruby/object:Gem::Version
265
- version: '1.4'
265
+ version: '1.5'
266
266
  type: :runtime
267
267
  prerelease: false
268
268
  version_requirements: !ruby/object:Gem::Requirement
269
269
  requirements:
270
270
  - - "~>"
271
271
  - !ruby/object:Gem::Version
272
- version: '1.4'
272
+ version: '1.5'
273
273
  - !ruby/object:Gem::Dependency
274
274
  name: hashdiff
275
275
  requirement: !ruby/object:Gem::Requirement
276
276
  requirements:
277
- - - "~>"
277
+ - - ">="
278
+ - !ruby/object:Gem::Version
279
+ version: 0.4.0
280
+ - - "<"
278
281
  - !ruby/object:Gem::Version
279
- version: 0.3.7
282
+ version: 2.0.0
280
283
  type: :runtime
281
284
  prerelease: false
282
285
  version_requirements: !ruby/object:Gem::Requirement
283
286
  requirements:
284
- - - "~>"
287
+ - - ">="
285
288
  - !ruby/object:Gem::Version
286
- version: 0.3.7
289
+ version: 0.4.0
290
+ - - "<"
291
+ - !ruby/object:Gem::Version
292
+ version: 2.0.0
287
293
  - !ruby/object:Gem::Dependency
288
294
  name: invisible_captcha
289
295
  requirement: !ruby/object:Gem::Requirement
290
296
  requirements:
291
297
  - - "~>"
292
298
  - !ruby/object:Gem::Version
293
- version: 0.10.0
299
+ version: '0.12'
294
300
  type: :runtime
295
301
  prerelease: false
296
302
  version_requirements: !ruby/object:Gem::Requirement
297
303
  requirements:
298
304
  - - "~>"
299
305
  - !ruby/object:Gem::Version
300
- version: 0.10.0
306
+ version: '0.12'
301
307
  - !ruby/object:Gem::Dependency
302
308
  name: jquery-rails
303
309
  requirement: !ruby/object:Gem::Requirement
@@ -318,48 +324,42 @@ dependencies:
318
324
  requirements:
319
325
  - - "~>"
320
326
  - !ruby/object:Gem::Version
321
- version: '1.0'
327
+ version: '1.1'
322
328
  type: :runtime
323
329
  prerelease: false
324
330
  version_requirements: !ruby/object:Gem::Requirement
325
331
  requirements:
326
332
  - - "~>"
327
333
  - !ruby/object:Gem::Version
328
- version: '1.0'
334
+ version: '1.1'
329
335
  - !ruby/object:Gem::Dependency
330
336
  name: loofah
331
337
  requirement: !ruby/object:Gem::Requirement
332
338
  requirements:
333
339
  - - "~>"
334
340
  - !ruby/object:Gem::Version
335
- version: '2.0'
336
- - - ">="
337
- - !ruby/object:Gem::Version
338
- version: 2.2.1
341
+ version: '2.2'
339
342
  type: :runtime
340
343
  prerelease: false
341
344
  version_requirements: !ruby/object:Gem::Requirement
342
345
  requirements:
343
346
  - - "~>"
344
347
  - !ruby/object:Gem::Version
345
- version: '2.0'
346
- - - ">="
347
- - !ruby/object:Gem::Version
348
- version: 2.2.1
348
+ version: '2.2'
349
349
  - !ruby/object:Gem::Dependency
350
350
  name: mini_magick
351
351
  requirement: !ruby/object:Gem::Requirement
352
352
  requirements:
353
353
  - - "~>"
354
354
  - !ruby/object:Gem::Version
355
- version: '4.8'
355
+ version: '4.9'
356
356
  type: :runtime
357
357
  prerelease: false
358
358
  version_requirements: !ruby/object:Gem::Requirement
359
359
  requirements:
360
360
  - - "~>"
361
361
  - !ruby/object:Gem::Version
362
- version: '4.8'
362
+ version: '4.9'
363
363
  - !ruby/object:Gem::Dependency
364
364
  name: mustache
365
365
  requirement: !ruby/object:Gem::Requirement
@@ -394,42 +394,42 @@ dependencies:
394
394
  requirements:
395
395
  - - "~>"
396
396
  - !ruby/object:Gem::Version
397
- version: '1.6'
397
+ version: '1.9'
398
398
  type: :runtime
399
399
  prerelease: false
400
400
  version_requirements: !ruby/object:Gem::Requirement
401
401
  requirements:
402
402
  - - "~>"
403
403
  - !ruby/object:Gem::Version
404
- version: '1.6'
404
+ version: '1.9'
405
405
  - !ruby/object:Gem::Dependency
406
406
  name: omniauth-facebook
407
407
  requirement: !ruby/object:Gem::Requirement
408
408
  requirements:
409
409
  - - "~>"
410
410
  - !ruby/object:Gem::Version
411
- version: '4.0'
411
+ version: '5.0'
412
412
  type: :runtime
413
413
  prerelease: false
414
414
  version_requirements: !ruby/object:Gem::Requirement
415
415
  requirements:
416
416
  - - "~>"
417
417
  - !ruby/object:Gem::Version
418
- version: '4.0'
418
+ version: '5.0'
419
419
  - !ruby/object:Gem::Dependency
420
420
  name: omniauth-google-oauth2
421
421
  requirement: !ruby/object:Gem::Requirement
422
422
  requirements:
423
423
  - - "~>"
424
424
  - !ruby/object:Gem::Version
425
- version: 0.5.0
425
+ version: '0.7'
426
426
  type: :runtime
427
427
  prerelease: false
428
428
  version_requirements: !ruby/object:Gem::Requirement
429
429
  requirements:
430
430
  - - "~>"
431
431
  - !ruby/object:Gem::Version
432
- version: 0.5.0
432
+ version: '0.7'
433
433
  - !ruby/object:Gem::Dependency
434
434
  name: omniauth-rails_csrf_protection
435
435
  requirement: !ruby/object:Gem::Requirement
@@ -464,21 +464,21 @@ dependencies:
464
464
  requirements:
465
465
  - - "~>"
466
466
  - !ruby/object:Gem::Version
467
- version: '9.0'
467
+ version: '10.3'
468
468
  type: :runtime
469
469
  prerelease: false
470
470
  version_requirements: !ruby/object:Gem::Requirement
471
471
  requirements:
472
472
  - - "~>"
473
473
  - !ruby/object:Gem::Version
474
- version: '9.0'
474
+ version: '10.3'
475
475
  - !ruby/object:Gem::Dependency
476
476
  name: pg
477
477
  requirement: !ruby/object:Gem::Requirement
478
478
  requirements:
479
- - - ">="
479
+ - - "~>"
480
480
  - !ruby/object:Gem::Version
481
- version: '0.18'
481
+ version: 1.1.4
482
482
  - - "<"
483
483
  - !ruby/object:Gem::Version
484
484
  version: '2'
@@ -486,9 +486,9 @@ dependencies:
486
486
  prerelease: false
487
487
  version_requirements: !ruby/object:Gem::Requirement
488
488
  requirements:
489
- - - ">="
489
+ - - "~>"
490
490
  - !ruby/object:Gem::Version
491
- version: '0.18'
491
+ version: 1.1.4
492
492
  - - "<"
493
493
  - !ruby/object:Gem::Version
494
494
  version: '2'
@@ -496,64 +496,58 @@ dependencies:
496
496
  name: pg_search
497
497
  requirement: !ruby/object:Gem::Requirement
498
498
  requirements:
499
- - - ">="
500
- - !ruby/object:Gem::Version
501
- version: 2.1.0
502
499
  - - "~>"
503
500
  - !ruby/object:Gem::Version
504
- version: '2.1'
501
+ version: '2.2'
505
502
  type: :runtime
506
503
  prerelease: false
507
504
  version_requirements: !ruby/object:Gem::Requirement
508
505
  requirements:
509
- - - ">="
510
- - !ruby/object:Gem::Version
511
- version: 2.1.0
512
506
  - - "~>"
513
507
  - !ruby/object:Gem::Version
514
- version: '2.1'
508
+ version: '2.2'
515
509
  - !ruby/object:Gem::Dependency
516
510
  name: premailer-rails
517
511
  requirement: !ruby/object:Gem::Requirement
518
512
  requirements:
519
513
  - - "~>"
520
514
  - !ruby/object:Gem::Version
521
- version: '1.9'
515
+ version: '1.10'
522
516
  type: :runtime
523
517
  prerelease: false
524
518
  version_requirements: !ruby/object:Gem::Requirement
525
519
  requirements:
526
520
  - - "~>"
527
521
  - !ruby/object:Gem::Version
528
- version: '1.9'
522
+ version: '1.10'
529
523
  - !ruby/object:Gem::Dependency
530
524
  name: rack
531
525
  requirement: !ruby/object:Gem::Requirement
532
526
  requirements:
533
- - - ">="
527
+ - - "~>"
534
528
  - !ruby/object:Gem::Version
535
- version: 2.0.6
529
+ version: '2.0'
536
530
  type: :runtime
537
531
  prerelease: false
538
532
  version_requirements: !ruby/object:Gem::Requirement
539
533
  requirements:
540
- - - ">="
534
+ - - "~>"
541
535
  - !ruby/object:Gem::Version
542
- version: 2.0.6
536
+ version: '2.0'
543
537
  - !ruby/object:Gem::Dependency
544
538
  name: rack-attack
545
539
  requirement: !ruby/object:Gem::Requirement
546
540
  requirements:
547
541
  - - "~>"
548
542
  - !ruby/object:Gem::Version
549
- version: '5.2'
543
+ version: '6.0'
550
544
  type: :runtime
551
545
  prerelease: false
552
546
  version_requirements: !ruby/object:Gem::Requirement
553
547
  requirements:
554
548
  - - "~>"
555
549
  - !ruby/object:Gem::Version
556
- version: '5.2'
550
+ version: '6.0'
557
551
  - !ruby/object:Gem::Dependency
558
552
  name: rails
559
553
  requirement: !ruby/object:Gem::Requirement
@@ -608,34 +602,28 @@ dependencies:
608
602
  requirements:
609
603
  - - "~>"
610
604
  - !ruby/object:Gem::Version
611
- version: '4.0'
605
+ version: '4.1'
612
606
  type: :runtime
613
607
  prerelease: false
614
608
  version_requirements: !ruby/object:Gem::Requirement
615
609
  requirements:
616
610
  - - "~>"
617
611
  - !ruby/object:Gem::Version
618
- version: '4.0'
612
+ version: '4.1'
619
613
  - !ruby/object:Gem::Dependency
620
614
  name: rubyzip
621
615
  requirement: !ruby/object:Gem::Requirement
622
616
  requirements:
623
617
  - - "~>"
624
618
  - !ruby/object:Gem::Version
625
- version: '1.2'
626
- - - ">="
627
- - !ruby/object:Gem::Version
628
- version: 1.2.2
619
+ version: '2.0'
629
620
  type: :runtime
630
621
  prerelease: false
631
622
  version_requirements: !ruby/object:Gem::Requirement
632
623
  requirements:
633
624
  - - "~>"
634
625
  - !ruby/object:Gem::Version
635
- version: '1.2'
636
- - - ">="
637
- - !ruby/object:Gem::Version
638
- version: 1.2.2
626
+ version: '2.0'
639
627
  - !ruby/object:Gem::Dependency
640
628
  name: sassc
641
629
  requirement: !ruby/object:Gem::Requirement
@@ -670,20 +658,60 @@ dependencies:
670
658
  - - "~>"
671
659
  - !ruby/object:Gem::Version
672
660
  version: '1.3'
661
+ - !ruby/object:Gem::Dependency
662
+ name: social-share-button
663
+ requirement: !ruby/object:Gem::Requirement
664
+ requirements:
665
+ - - "~>"
666
+ - !ruby/object:Gem::Version
667
+ version: '1.2'
668
+ - - ">="
669
+ - !ruby/object:Gem::Version
670
+ version: 1.2.1
671
+ type: :runtime
672
+ prerelease: false
673
+ version_requirements: !ruby/object:Gem::Requirement
674
+ requirements:
675
+ - - "~>"
676
+ - !ruby/object:Gem::Version
677
+ version: '1.2'
678
+ - - ">="
679
+ - !ruby/object:Gem::Version
680
+ version: 1.2.1
673
681
  - !ruby/object:Gem::Dependency
674
682
  name: spreadsheet
675
683
  requirement: !ruby/object:Gem::Requirement
676
684
  requirements:
677
685
  - - "~>"
678
686
  - !ruby/object:Gem::Version
679
- version: '1.1'
687
+ version: '1.2'
680
688
  type: :runtime
681
689
  prerelease: false
682
690
  version_requirements: !ruby/object:Gem::Requirement
683
691
  requirements:
684
692
  - - "~>"
685
693
  - !ruby/object:Gem::Version
686
- version: '1.1'
694
+ version: '1.2'
695
+ - !ruby/object:Gem::Dependency
696
+ name: sprockets
697
+ requirement: !ruby/object:Gem::Requirement
698
+ requirements:
699
+ - - "~>"
700
+ - !ruby/object:Gem::Version
701
+ version: '3.7'
702
+ - - "<"
703
+ - !ruby/object:Gem::Version
704
+ version: '4'
705
+ type: :runtime
706
+ prerelease: false
707
+ version_requirements: !ruby/object:Gem::Requirement
708
+ requirements:
709
+ - - "~>"
710
+ - !ruby/object:Gem::Version
711
+ version: '3.7'
712
+ - - "<"
713
+ - !ruby/object:Gem::Version
714
+ version: '4'
687
715
  - !ruby/object:Gem::Dependency
688
716
  name: sprockets-es6
689
717
  requirement: !ruby/object:Gem::Requirement
@@ -704,28 +732,28 @@ dependencies:
704
732
  requirements:
705
733
  - - "~>"
706
734
  - !ruby/object:Gem::Version
707
- version: 0.7.10
735
+ version: '0.7'
708
736
  type: :runtime
709
737
  prerelease: false
710
738
  version_requirements: !ruby/object:Gem::Requirement
711
739
  requirements:
712
740
  - - "~>"
713
741
  - !ruby/object:Gem::Version
714
- version: 0.7.10
742
+ version: '0.7'
715
743
  - !ruby/object:Gem::Dependency
716
744
  name: uglifier
717
745
  requirement: !ruby/object:Gem::Requirement
718
746
  requirements:
719
747
  - - "~>"
720
748
  - !ruby/object:Gem::Version
721
- version: '4.0'
749
+ version: '4.1'
722
750
  type: :runtime
723
751
  prerelease: false
724
752
  version_requirements: !ruby/object:Gem::Requirement
725
753
  requirements:
726
754
  - - "~>"
727
755
  - !ruby/object:Gem::Version
728
- version: '4.0'
756
+ version: '4.1'
729
757
  - !ruby/object:Gem::Dependency
730
758
  name: valid_email2
731
759
  requirement: !ruby/object:Gem::Requirement
@@ -760,28 +788,28 @@ dependencies:
760
788
  requirements:
761
789
  - - '='
762
790
  - !ruby/object:Gem::Version
763
- version: 0.18.1
791
+ version: 0.19.0
764
792
  type: :runtime
765
793
  prerelease: false
766
794
  version_requirements: !ruby/object:Gem::Requirement
767
795
  requirements:
768
796
  - - '='
769
797
  - !ruby/object:Gem::Version
770
- version: 0.18.1
798
+ version: 0.19.0
771
799
  - !ruby/object:Gem::Dependency
772
800
  name: decidim-dev
773
801
  requirement: !ruby/object:Gem::Requirement
774
802
  requirements:
775
803
  - - '='
776
804
  - !ruby/object:Gem::Version
777
- version: 0.18.1
805
+ version: 0.19.0
778
806
  type: :development
779
807
  prerelease: false
780
808
  version_requirements: !ruby/object:Gem::Requirement
781
809
  requirements:
782
810
  - - '='
783
811
  - !ruby/object:Gem::Version
784
- version: 0.18.1
812
+ version: 0.19.0
785
813
  description: Adds core features so other engines can hook into the framework.
786
814
  email:
787
815
  - josepjaume@gmail.com
@@ -843,6 +871,7 @@ files:
843
871
  - app/assets/javascripts/decidim/orders.js.es6
844
872
  - app/assets/javascripts/decidim/represent_user_group.js.es6
845
873
  - app/assets/javascripts/decidim/slug_form.js.es6
874
+ - app/assets/javascripts/decidim/social_share.js
846
875
  - app/assets/javascripts/decidim/tooltip_keep_on_hover.js.es6
847
876
  - app/assets/javascripts/decidim/user_registrations.js.es6
848
877
  - app/assets/javascripts/decidim/vizzs/areachart.js.es6
@@ -872,6 +901,7 @@ files:
872
901
  - app/assets/stylesheets/decidim/extras/_reference.scss
873
902
  - app/assets/stylesheets/decidim/extras/_results-per-page.scss
874
903
  - app/assets/stylesheets/decidim/extras/_social_icons_mini.scss
904
+ - app/assets/stylesheets/decidim/extras/_social_share.css.scss
875
905
  - app/assets/stylesheets/decidim/extras/_status-labels.scss
876
906
  - app/assets/stylesheets/decidim/layouts/_highlighted_banner.scss
877
907
  - app/assets/stylesheets/decidim/layouts/_home.scss
@@ -913,6 +943,7 @@ files:
913
943
  - app/assets/stylesheets/decidim/modules/_hover-section.scss
914
944
  - app/assets/stylesheets/decidim/modules/_icons.scss
915
945
  - app/assets/stylesheets/decidim/modules/_inline-filters.scss
946
+ - app/assets/stylesheets/decidim/modules/_input-gallery.scss
916
947
  - app/assets/stylesheets/decidim/modules/_input-hashtags.scss
917
948
  - app/assets/stylesheets/decidim/modules/_input-mentions.scss
918
949
  - app/assets/stylesheets/decidim/modules/_input-tags.scss
@@ -977,6 +1008,7 @@ files:
977
1008
  - app/cells/decidim/amendable/emendation_actions_cell.rb
978
1009
  - app/cells/decidim/amendable/promote_button_card/show.erb
979
1010
  - app/cells/decidim/amendable/promote_button_card_cell.rb
1011
+ - app/cells/decidim/amendable/wizard_step_form_cell.rb
980
1012
  - app/cells/decidim/announcement/show.erb
981
1013
  - app/cells/decidim/announcement_cell.rb
982
1014
  - app/cells/decidim/author/comments.erb
@@ -1095,12 +1127,18 @@ files:
1095
1127
  - app/cells/decidim/user_profile_cell.rb
1096
1128
  - app/cells/decidim/user_timeline/show.erb
1097
1129
  - app/cells/decidim/user_timeline_cell.rb
1130
+ - app/cells/decidim/wizard_step_form/wizard_aside.erb
1131
+ - app/cells/decidim/wizard_step_form/wizard_header.erb
1132
+ - app/cells/decidim/wizard_step_form_cell.rb
1098
1133
  - app/commands/decidim/accept_group_invitation.rb
1099
1134
  - app/commands/decidim/accept_user_group_join_request.rb
1100
1135
  - app/commands/decidim/amendable/accept.rb
1101
- - app/commands/decidim/amendable/create.rb
1136
+ - app/commands/decidim/amendable/create_draft.rb
1137
+ - app/commands/decidim/amendable/destroy_draft.rb
1102
1138
  - app/commands/decidim/amendable/promote.rb
1139
+ - app/commands/decidim/amendable/publish_draft.rb
1103
1140
  - app/commands/decidim/amendable/reject.rb
1141
+ - app/commands/decidim/amendable/update_draft.rb
1104
1142
  - app/commands/decidim/amendable/withdraw.rb
1105
1143
  - app/commands/decidim/create_follow.rb
1106
1144
  - app/commands/decidim/create_omniauth_registration.rb
@@ -1132,6 +1170,7 @@ files:
1132
1170
  - app/controllers/concerns/decidim/amendments_controller.rb
1133
1171
  - app/controllers/concerns/decidim/devise_controllers.rb
1134
1172
  - app/controllers/concerns/decidim/filter_resource.rb
1173
+ - app/controllers/concerns/decidim/force_authentication.rb
1135
1174
  - app/controllers/concerns/decidim/form_factory.rb
1136
1175
  - app/controllers/concerns/decidim/http_caching_disabler.rb
1137
1176
  - app/controllers/concerns/decidim/impersonate_users.rb
@@ -1139,10 +1178,12 @@ files:
1139
1178
  - app/controllers/concerns/decidim/needs_organization.rb
1140
1179
  - app/controllers/concerns/decidim/needs_permission.rb
1141
1180
  - app/controllers/concerns/decidim/needs_tos_accepted.rb
1181
+ - app/controllers/concerns/decidim/orderable.rb
1142
1182
  - app/controllers/concerns/decidim/paginable.rb
1143
1183
  - app/controllers/concerns/decidim/participatory_space_context.rb
1144
1184
  - app/controllers/concerns/decidim/payload_info.rb
1145
1185
  - app/controllers/concerns/decidim/registers_permissions.rb
1186
+ - app/controllers/concerns/decidim/safe_redirect.rb
1146
1187
  - app/controllers/concerns/decidim/settings.rb
1147
1188
  - app/controllers/concerns/decidim/user_groups.rb
1148
1189
  - app/controllers/concerns/decidim/user_profile.rb
@@ -1208,8 +1249,10 @@ files:
1208
1249
  - app/events/decidim/welcome_notification_event.rb
1209
1250
  - app/forms/decidim/account_form.rb
1210
1251
  - app/forms/decidim/amendable/create_form.rb
1252
+ - app/forms/decidim/amendable/edit_form.rb
1211
1253
  - app/forms/decidim/amendable/form.rb
1212
1254
  - app/forms/decidim/amendable/promote_form.rb
1255
+ - app/forms/decidim/amendable/publish_form.rb
1213
1256
  - app/forms/decidim/amendable/reject_form.rb
1214
1257
  - app/forms/decidim/amendable/review_form.rb
1215
1258
  - app/forms/decidim/attachment_form.rb
@@ -1275,6 +1318,7 @@ files:
1275
1318
  - app/jobs/decidim/application_job.rb
1276
1319
  - app/jobs/decidim/data_portability_export_job.rb
1277
1320
  - app/jobs/decidim/email_notification_generator_job.rb
1321
+ - app/jobs/decidim/event_publisher_job.rb
1278
1322
  - app/jobs/decidim/export_job.rb
1279
1323
  - app/jobs/decidim/metric_job.rb
1280
1324
  - app/jobs/decidim/newsletters_opt_in_job.rb
@@ -1388,6 +1432,7 @@ files:
1388
1432
  - app/queries/decidim/metrics/users_metric_manage.rb
1389
1433
  - app/queries/decidim/participatory_processes_with_user_role.rb
1390
1434
  - app/queries/decidim/public_components.rb
1435
+ - app/queries/decidim/similar_emendations.rb
1391
1436
  - app/queries/decidim/stats_users_count.rb
1392
1437
  - app/queries/decidim/user_groups/accepted_memberships.rb
1393
1438
  - app/queries/decidim/user_groups/accepted_user_groups.rb
@@ -1456,7 +1501,11 @@ files:
1456
1501
  - app/views/decidim/account/delete.html.erb
1457
1502
  - app/views/decidim/account/show.html.erb
1458
1503
  - app/views/decidim/amendments/_edit_form_fields.html.erb
1504
+ - app/views/decidim/amendments/_similar_emendation.html.erb
1505
+ - app/views/decidim/amendments/compare_draft.html.erb
1506
+ - app/views/decidim/amendments/edit_draft.html.erb
1459
1507
  - app/views/decidim/amendments/new.html.erb
1508
+ - app/views/decidim/amendments/preview_draft.html.erb
1460
1509
  - app/views/decidim/amendments/review.html.erb
1461
1510
  - app/views/decidim/application/_attachments.html.erb
1462
1511
  - app/views/decidim/application/_collection.html.erb
@@ -1778,7 +1827,9 @@ files:
1778
1827
  - db/migrate/20190325145349_add_extended_data_to_newsletters.rb
1779
1828
  - db/migrate/20190412105836_add_missing_indexes.rb
1780
1829
  - db/migrate/20190412131728_fix_user_names.rb
1781
- - db/migrate/20190925091507_add_uniq_index_to_decidim_metrics.rb
1830
+ - db/migrate/20190610093742_add_force_users_to_authenticate_before_access_organization.rb
1831
+ - db/migrate/20190618075906_add_confidential_to_doorkeeper_application.rb
1832
+ - db/migrate/20190829092826_add_uniq_index_to_decidim_metrics.rb
1782
1833
  - db/seeds.rb
1783
1834
  - db/seeds/homepage_image.jpg
1784
1835
  - lib/decidim/amendable.rb
@@ -1806,11 +1857,14 @@ files:
1806
1857
  - lib/decidim/content_parsers.rb
1807
1858
  - lib/decidim/content_parsers/base_parser.rb
1808
1859
  - lib/decidim/content_parsers/hashtag_parser.rb
1860
+ - lib/decidim/content_parsers/link_parser.rb
1861
+ - lib/decidim/content_parsers/newline_parser.rb
1809
1862
  - lib/decidim/content_parsers/user_parser.rb
1810
1863
  - lib/decidim/content_processor.rb
1811
1864
  - lib/decidim/content_renderers.rb
1812
1865
  - lib/decidim/content_renderers/base_renderer.rb
1813
1866
  - lib/decidim/content_renderers/hashtag_renderer.rb
1867
+ - lib/decidim/content_renderers/link_renderer.rb
1814
1868
  - lib/decidim/content_renderers/user_renderer.rb
1815
1869
  - lib/decidim/core.rb
1816
1870
  - lib/decidim/core/api.rb
@@ -1823,9 +1877,12 @@ files:
1823
1877
  - lib/decidim/core/test/shared_examples/amendable/amendment_form_examples.rb
1824
1878
  - lib/decidim/core/test/shared_examples/amendable/amendment_promoted_event_examples.rb
1825
1879
  - lib/decidim/core/test/shared_examples/amendable/amendment_rejected_event_examples.rb
1826
- - lib/decidim/core/test/shared_examples/amendable/create_amendment_examples.rb
1880
+ - lib/decidim/core/test/shared_examples/amendable/create_amendment_draft_examples.rb
1881
+ - lib/decidim/core/test/shared_examples/amendable/destroy_amendment_draft_examples.rb
1827
1882
  - lib/decidim/core/test/shared_examples/amendable/promote_amendment_examples.rb
1883
+ - lib/decidim/core/test/shared_examples/amendable/publish_amendment_draft_examples.rb
1828
1884
  - lib/decidim/core/test/shared_examples/amendable/reject_amendment_examples.rb
1885
+ - lib/decidim/core/test/shared_examples/amendable/update_amendment_draft_examples.rb
1829
1886
  - lib/decidim/core/test/shared_examples/amendable/withdraw_amendment_examples.rb
1830
1887
  - lib/decidim/core/test/shared_examples/announcements_examples.rb
1831
1888
  - lib/decidim/core/test/shared_examples/attachable_interface_examples.rb
@@ -1940,6 +1997,7 @@ files:
1940
1997
  - lib/decidim/permissions_registry.rb
1941
1998
  - lib/decidim/publicable.rb
1942
1999
  - lib/decidim/query_extensions.rb
2000
+ - lib/decidim/randomable.rb
1943
2001
  - lib/decidim/reportable.rb
1944
2002
  - lib/decidim/resource_manifest.rb
1945
2003
  - lib/decidim/resourceable.rb