decidim-core 0.6.8 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_core_manifest.js +1 -0
  3. data/app/assets/images/decidim/decidim-logo.svg +62 -0
  4. data/app/assets/images/decidim/icons.svg +238 -1
  5. data/app/assets/javascripts/decidim/foundation.js.es6 +1 -0
  6. data/app/assets/javascripts/decidim/slug_form.js.es6 +9 -0
  7. data/app/assets/stylesheets/decidim/modules/_footer.scss +7 -0
  8. data/app/commands/decidim/invite_user.rb +2 -2
  9. data/app/commands/decidim/update_account.rb +1 -1
  10. data/app/controllers/concerns/decidim/action_authorization.rb +2 -3
  11. data/app/controllers/concerns/decidim/needs_authorization.rb +1 -1
  12. data/app/controllers/decidim/account_controller.rb +0 -5
  13. data/app/controllers/decidim/application_controller.rb +0 -10
  14. data/app/controllers/decidim/authorizations_controller.rb +5 -15
  15. data/app/controllers/decidim/devise/invitations_controller.rb +2 -2
  16. data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +1 -9
  17. data/app/controllers/decidim/devise/registrations_controller.rb +1 -1
  18. data/app/controllers/decidim/devise/sessions_controller.rb +0 -8
  19. data/app/controllers/decidim/locales_controller.rb +2 -2
  20. data/app/controllers/decidim/pages_controller.rb +1 -0
  21. data/app/controllers/decidim/scopes_controller.rb +1 -3
  22. data/app/forms/decidim/account_form.rb +2 -2
  23. data/app/forms/decidim/form.rb +1 -3
  24. data/app/forms/translatable_presence_validator.rb +1 -1
  25. data/app/helpers/decidim/cta_button_helper.rb +27 -0
  26. data/app/helpers/decidim/decidim_form_helper.rb +25 -0
  27. data/app/helpers/decidim/layout_helper.rb +1 -1
  28. data/app/helpers/decidim/map_helper.rb +1 -1
  29. data/app/helpers/decidim/meta_tags_helper.rb +1 -1
  30. data/app/helpers/decidim/omniauth_helper.rb +7 -0
  31. data/app/helpers/decidim/scopes_helper.rb +1 -1
  32. data/app/mailers/decidim/decidim_devise_mailer.rb +1 -0
  33. data/app/models/decidim/attachment.rb +1 -3
  34. data/app/models/decidim/authorization.rb +6 -6
  35. data/app/models/decidim/category.rb +1 -1
  36. data/app/models/decidim/feature.rb +1 -1
  37. data/app/models/decidim/scope.rb +2 -1
  38. data/app/models/decidim/user.rb +4 -4
  39. data/app/models/decidim/user_group.rb +1 -1
  40. data/app/services/decidim/action_authorizer.rb +8 -6
  41. data/app/services/decidim/authorization_handler.rb +7 -4
  42. data/app/services/decidim/static_map_generator.rb +1 -1
  43. data/app/views/decidim/account/_password_fields.html.erb +2 -2
  44. data/app/views/decidim/authorizations/first_login.html.erb +1 -1
  45. data/app/views/decidim/authorizations/new.html.erb +3 -1
  46. data/app/views/decidim/devise/shared/_omniauth_buttons.html.erb +1 -1
  47. data/app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb +1 -1
  48. data/app/views/decidim/newsletter_mailer/newsletter.html.erb +2 -2
  49. data/app/views/decidim/notifications/index.html.erb +13 -9
  50. data/app/views/decidim/shared/_address_details.html.erb +2 -2
  51. data/app/views/decidim/shared/_announcement.html.erb +1 -1
  52. data/app/views/decidim/shared/_follow_button.html.erb +19 -4
  53. data/app/views/devise/mailer/invite_admin.html.erb +1 -1
  54. data/app/views/devise/mailer/invite_admin.text.erb +1 -1
  55. data/app/views/devise/mailer/invite_collaborator.html.erb +1 -1
  56. data/app/views/devise/mailer/invite_collaborator.text.erb +1 -1
  57. data/app/views/layouts/decidim/_feature_authorization_modals.html.erb +5 -0
  58. data/app/views/layouts/decidim/_head.html.erb +1 -1
  59. data/app/views/layouts/decidim/_wrapper.html.erb +10 -1
  60. data/app/views/pages/decidim_page.html.erb +1 -1
  61. data/app/views/pages/home/_footer_sub_hero.html.erb +1 -1
  62. data/app/views/pages/home/_hero.html.erb +2 -2
  63. data/app/views/pages/home/_sub_hero.html.erb +1 -1
  64. data/config/initializers/devise.rb +3 -0
  65. data/config/locales/ca.yml +10 -7
  66. data/config/locales/en.yml +11 -8
  67. data/config/locales/es.yml +10 -7
  68. data/config/locales/eu.yml +26 -23
  69. data/config/locales/fi.yml +21 -18
  70. data/config/locales/fr.yml +20 -17
  71. data/config/locales/it.yml +11 -8
  72. data/config/locales/nl.yml +11 -8
  73. data/config/locales/pl.yml +11 -8
  74. data/config/locales/ru.yml +403 -0
  75. data/config/locales/uk.yml +50 -47
  76. data/db/migrate/20170215115407_add_organization_custom_reference.rb +6 -2
  77. data/db/migrate/20170313095436_add_available_authorizations_to_organization.rb +7 -3
  78. data/db/migrate/20171017084546_add_cta_button_url_and_text_to_organization.rb +8 -0
  79. data/db/seeds.rb +4 -3
  80. data/lib/decidim/authorization_form_builder.rb +1 -1
  81. data/lib/decidim/core.rb +11 -1
  82. data/lib/decidim/core/engine.rb +1 -2
  83. data/lib/decidim/core/test/factories.rb +2 -2
  84. data/lib/decidim/core/test/shared_examples/comments_examples.rb +3 -7
  85. data/lib/decidim/core/version.rb +5 -20
  86. data/lib/decidim/events/base_event.rb +1 -1
  87. data/lib/decidim/exporters.rb +3 -2
  88. data/lib/decidim/exporters/excel.rb +49 -0
  89. data/lib/decidim/exporters/export_data.rb +1 -1
  90. data/lib/decidim/exporters/exporter.rb +1 -1
  91. data/lib/decidim/faker/localized.rb +10 -1
  92. data/lib/decidim/feature_validator.rb +1 -1
  93. data/lib/decidim/form_builder.rb +16 -6
  94. data/lib/decidim/page_finder.rb +1 -1
  95. data/lib/decidim/participable.rb +9 -4
  96. data/lib/decidim/publicable.rb +2 -2
  97. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ru.js +14 -0
  98. metadata +36 -86
  99. data/app/assets/stylesheets/decidim/extras/_callout.scss +0 -5
  100. data/config/secrets.yml +0 -36
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "spreadsheet"
4
+
5
+ module Decidim
6
+ module Exporters
7
+ # Exports any serialized object (Hash) into a readable Excel file. It transforms
8
+ # the columns using slashes in a way that can be afterwards reconstructed
9
+ # into the original nested hash.
10
+ #
11
+ # For example, `{ name: { ca: "Hola", en: "Hello" } }` would result into
12
+ # the columns: `name/ca` and `name/es`.
13
+ #
14
+ # It will maintain types like Integers, Floats & Dates so Excel can deal with
15
+ # them.
16
+ class Excel < CSV
17
+ # Public: Exports a file in an Excel readable format.
18
+ #
19
+ # Returns an ExportData instance.
20
+ def export
21
+ book = Spreadsheet::Workbook.new
22
+ sheet = book.create_worksheet
23
+ sheet.name = "Export"
24
+
25
+ sheet.row(0).default_format = Spreadsheet::Format.new(
26
+ weight: :bold,
27
+ pattern: 1,
28
+ pattern_fg_color: :xls_color_14,
29
+ horizontal_align: :center
30
+ )
31
+
32
+ sheet.row(0).replace headers
33
+
34
+ headers.length.times.each do |index|
35
+ sheet.column(index).width = 20
36
+ end
37
+
38
+ processed_collection.each_with_index do |resource, index|
39
+ sheet.row(index + 1).replace headers.map { |header| resource[header] }
40
+ end
41
+
42
+ output = StringIO.new
43
+ book.write output
44
+
45
+ ExportData.new(output.string, "xls")
46
+ end
47
+ end
48
+ end
49
+ end
@@ -28,7 +28,7 @@ module Decidim
28
28
  # Returns a String with the filename of the export.
29
29
  def filename(prefix = "export", options = {})
30
30
  options[:extension] = !options[:extension].nil? ? options[:extension] : true
31
- result = "#{prefix}-#{I18n.localize(Date.today, format: :default)}-#{Time.now.seconds_since_midnight.to_i}"
31
+ result = "#{prefix}-#{I18n.localize(Time.zone.today, format: :default)}-#{Time.now.seconds_since_midnight.to_i}"
32
32
  result += ".#{extension}" if options[:extension]
33
33
  result
34
34
  end
@@ -10,7 +10,7 @@ module Decidim
10
10
  #
11
11
  # collection - An Array with the collection to be exported.
12
12
  # serializer - A Serializer to be used during the export.
13
- def initialize(collection, serializer)
13
+ def initialize(collection, serializer = Serializer)
14
14
  @collection = collection
15
15
  @serializer = serializer
16
16
  end
@@ -1,6 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "faker"
3
+ begin
4
+ require "faker"
5
+ rescue LoadError => e
6
+ msg = <<~ERROR
7
+ You're trying to use decidim's faker-based seeds but you're not using `faker`.
8
+ Make sure you add the `faker` gem to your `Gemfile` and try again
9
+ ERROR
10
+
11
+ raise e, msg
12
+ end
4
13
 
5
14
  module Decidim
6
15
  module Faker
@@ -6,7 +6,7 @@
6
6
  class FeatureValidator < ActiveModel::EachValidator
7
7
  # Validates the arguiments passed to the validator.
8
8
  def check_validity!
9
- raise ArgumentError, "You must include a `manifest` option with the name of the manifest to validate when validating a feature" unless options[:manifest].present?
9
+ raise ArgumentError, "You must include a `manifest` option with the name of the manifest to validate when validating a feature" if options[:manifest].blank?
10
10
  end
11
11
 
12
12
  # The actual validator method. It is called when ActiveRecord iterates
@@ -158,7 +158,7 @@ module Decidim
158
158
 
159
159
  # Public: Override so checkboxes are rendered before the label.
160
160
  def check_box(attribute, options = {}, checked_value = "1", unchecked_value = "0")
161
- custom_label(attribute, options[:label], options[:label_options], true) do
161
+ custom_label(attribute, options[:label], options[:label_options], true, false) do
162
162
  options.delete(:label)
163
163
  options.delete(:label_options)
164
164
  @template.check_box(@object_name, attribute, objectify_options(options), checked_value, unchecked_value)
@@ -229,9 +229,9 @@ module Decidim
229
229
 
230
230
  if file_is_image?(file)
231
231
  template += if file.present?
232
- @template.label_tag I18n.t("current_image", scope: "decidim.forms")
232
+ @template.content_tag :label, I18n.t("current_image", scope: "decidim.forms")
233
233
  else
234
- @template.label_tag I18n.t("default_image", scope: "decidim.forms")
234
+ @template.content_tag :label, I18n.t("default_image", scope: "decidim.forms")
235
235
  end
236
236
  template += @template.link_to @template.image_tag(file.url), file.url, target: "_blank"
237
237
  elsif file_is_present?(file)
@@ -250,6 +250,12 @@ module Decidim
250
250
  end
251
251
  end
252
252
 
253
+ if object.errors[attribute].any?
254
+ template += content_tag :p, class: "is-invalid-label" do
255
+ safe_join object.errors[attribute], "<br/>"
256
+ end
257
+ end
258
+
253
259
  template.html_safe
254
260
  end
255
261
 
@@ -375,15 +381,17 @@ module Decidim
375
381
  #
376
382
  # attribute - The String name of the attribute we're build the label.
377
383
  # text - The String text to use as label.
378
- # options - An optional Hash to build the label.
384
+ # options - A Hash to build the label.
379
385
  #
380
386
  # Returns a String.
381
- def custom_label(attribute, text, options, field_before_label = false)
387
+ # rubocop:disable Metrics/CyclomaticComplexity
388
+ # rubocop:disable Metrics/PerceivedComplexity
389
+ def custom_label(attribute, text, options, field_before_label = false, show_required = true)
382
390
  return block_given? ? yield.html_safe : "".html_safe if text == false
383
391
 
384
392
  text = default_label_text(object, attribute) if text.nil? || text == true
393
+ text += required_for_attribute(attribute) if show_required
385
394
 
386
- text += required_for_attribute(attribute)
387
395
  text = if field_before_label && block_given?
388
396
  safe_join([yield, text.html_safe])
389
397
  elsif block_given?
@@ -392,6 +400,8 @@ module Decidim
392
400
 
393
401
  label(attribute, text, options || {})
394
402
  end
403
+ # rubocop:enable Metrics/PerceivedComplexity
404
+ # rubocop:enable Metrics/CyclomaticComplexity
395
405
 
396
406
  # Private: Builds a span to be shown when there's a validation error in a field.
397
407
  # It looks for the text that will be the content in a similar way `human_attribute_name`
@@ -33,7 +33,7 @@ module Decidim
33
33
  #
34
34
  # Returns a String.
35
35
  def clean_path
36
- return super unless page.present?
36
+ return super if page.blank?
37
37
 
38
38
  DECIDIM_PAGE_TEMPLATE
39
39
  end
@@ -13,9 +13,7 @@ module Decidim
13
13
  self.class.name.demodulize
14
14
  end
15
15
 
16
- def foreign_key
17
- demodulized_name.foreign_key
18
- end
16
+ delegate :foreign_key, to: :demodulized_name
19
17
 
20
18
  def module_name
21
19
  "Decidim::#{demodulized_name.pluralize}"
@@ -38,7 +36,10 @@ module Decidim
38
36
  end
39
37
 
40
38
  def mounted_params
41
- { host: organization.host, foreign_key.to_sym => id }
39
+ {
40
+ host: organization.host,
41
+ "#{underscored_name}_slug".to_sym => slug
42
+ }
42
43
  end
43
44
 
44
45
  def extension_module
@@ -72,6 +73,10 @@ module Decidim
72
73
  # rubocop:enable Metrics/BlockLength
73
74
 
74
75
  class_methods do
76
+ def slug_format
77
+ /\A[a-zA-Z]+[a-zA-Z0-9-]+\z/
78
+ end
79
+
75
80
  def participatory_space_manifest
76
81
  Decidim.find_participatory_space_manifest(name.demodulize.underscore.pluralize)
77
82
  end
@@ -35,7 +35,7 @@ module Decidim
35
35
  #
36
36
  # Returns true if the record was properly saved, false otherwise.
37
37
  def publish!
38
- update_attribute(:published_at, Time.current)
38
+ update_attributes!(published_at: Time.current)
39
39
  end
40
40
 
41
41
  #
@@ -43,7 +43,7 @@ module Decidim
43
43
  #
44
44
  # Returns true if the record was properly saved, false otherwise.
45
45
  def unpublish!
46
- update_attribute(:published_at, nil)
46
+ update_attributes!(published_at: nil)
47
47
  end
48
48
  end
49
49
  end
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Russian translation for foundation-datepicker
3
+ * Dmytro Ivakhnenko <aavuso@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.fdatepicker.dates['ru'] = {
7
+ days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"],
8
+ daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"],
9
+ daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"],
10
+ months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
11
+ monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"],
12
+ today: "Сегодня"
13
+ };
14
+ }(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.6.8
4
+ version: 0.7.0
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: 2017-10-17 00:00:00.000000000 Z
13
+ date: 2017-10-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -60,14 +60,14 @@ dependencies:
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: 1.1.0
63
+ version: 1.2.0
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: 1.1.0
70
+ version: 1.2.0
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: invisible_captcha
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -88,14 +88,14 @@ dependencies:
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: 0.9.1
91
+ version: 0.10.0
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: 0.9.1
98
+ version: 0.10.0
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: sassc-rails
101
101
  requirement: !ruby/object:Gem::Requirement
@@ -116,14 +116,14 @@ dependencies:
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: 6.3.1.0
119
+ version: 6.3.0
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: 6.3.1.0
126
+ version: 6.3.0
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: autoprefixer-rails
129
129
  requirement: !ruby/object:Gem::Requirement
@@ -214,14 +214,14 @@ dependencies:
214
214
  requirements:
215
215
  - - "~>"
216
216
  - !ruby/object:Gem::Version
217
- version: 3.3.3
217
+ version: '3.2'
218
218
  type: :runtime
219
219
  prerelease: false
220
220
  version_requirements: !ruby/object:Gem::Requirement
221
221
  requirements:
222
222
  - - "~>"
223
223
  - !ruby/object:Gem::Version
224
- version: 3.3.3
224
+ version: '3.2'
225
225
  - !ruby/object:Gem::Dependency
226
226
  name: high_voltage
227
227
  requirement: !ruby/object:Gem::Requirement
@@ -284,28 +284,28 @@ dependencies:
284
284
  requirements:
285
285
  - - "~>"
286
286
  - !ruby/object:Gem::Version
287
- version: 0.7.9
287
+ version: 0.7.10
288
288
  type: :runtime
289
289
  prerelease: false
290
290
  version_requirements: !ruby/object:Gem::Requirement
291
291
  requirements:
292
292
  - - "~>"
293
293
  - !ruby/object:Gem::Version
294
- version: 0.7.9
294
+ version: 0.7.10
295
295
  - !ruby/object:Gem::Dependency
296
296
  name: mini_magick
297
297
  requirement: !ruby/object:Gem::Requirement
298
298
  requirements:
299
299
  - - "~>"
300
300
  - !ruby/object:Gem::Version
301
- version: 4.7.0
301
+ version: 4.8.0
302
302
  type: :runtime
303
303
  prerelease: false
304
304
  version_requirements: !ruby/object:Gem::Requirement
305
305
  requirements:
306
306
  - - "~>"
307
307
  - !ruby/object:Gem::Version
308
- version: 4.7.0
308
+ version: 4.8.0
309
309
  - !ruby/object:Gem::Dependency
310
310
  name: file_validators
311
311
  requirement: !ruby/object:Gem::Requirement
@@ -404,20 +404,6 @@ dependencies:
404
404
  - - "~>"
405
405
  - !ruby/object:Gem::Version
406
406
  version: 1.9.5
407
- - !ruby/object:Gem::Dependency
408
- name: nokogiri
409
- requirement: !ruby/object:Gem::Requirement
410
- requirements:
411
- - - "~>"
412
- - !ruby/object:Gem::Version
413
- version: 1.7.1
414
- type: :runtime
415
- prerelease: false
416
- version_requirements: !ruby/object:Gem::Requirement
417
- requirements:
418
- - - "~>"
419
- - !ruby/object:Gem::Version
420
- version: 1.7.1
421
407
  - !ruby/object:Gem::Dependency
422
408
  name: geocoder
423
409
  requirement: !ruby/object:Gem::Requirement
@@ -461,89 +447,47 @@ dependencies:
461
447
  - !ruby/object:Gem::Version
462
448
  version: 4.0.3
463
449
  - !ruby/object:Gem::Dependency
464
- name: decidim-api
450
+ name: spreadsheet
465
451
  requirement: !ruby/object:Gem::Requirement
466
452
  requirements:
467
- - - '='
453
+ - - "~>"
468
454
  - !ruby/object:Gem::Version
469
- version: 0.6.8
455
+ version: '1.1'
470
456
  type: :runtime
471
457
  prerelease: false
472
458
  version_requirements: !ruby/object:Gem::Requirement
473
459
  requirements:
474
- - - '='
475
- - !ruby/object:Gem::Version
476
- version: 0.6.8
477
- - !ruby/object:Gem::Dependency
478
- name: decidim-dev
479
- requirement: !ruby/object:Gem::Requirement
480
- requirements:
481
- - - '='
482
- - !ruby/object:Gem::Version
483
- version: 0.6.8
484
- type: :development
485
- prerelease: false
486
- version_requirements: !ruby/object:Gem::Requirement
487
- requirements:
488
- - - '='
489
- - !ruby/object:Gem::Version
490
- version: 0.6.8
491
- - !ruby/object:Gem::Dependency
492
- name: decidim-participatory_processes
493
- requirement: !ruby/object:Gem::Requirement
494
- requirements:
495
- - - '='
496
- - !ruby/object:Gem::Version
497
- version: 0.6.8
498
- type: :development
499
- prerelease: false
500
- version_requirements: !ruby/object:Gem::Requirement
501
- requirements:
502
- - - '='
503
- - !ruby/object:Gem::Version
504
- version: 0.6.8
505
- - !ruby/object:Gem::Dependency
506
- name: decidim-proposals
507
- requirement: !ruby/object:Gem::Requirement
508
- requirements:
509
- - - '='
510
- - !ruby/object:Gem::Version
511
- version: 0.6.8
512
- type: :development
513
- prerelease: false
514
- version_requirements: !ruby/object:Gem::Requirement
515
- requirements:
516
- - - '='
460
+ - - "~>"
517
461
  - !ruby/object:Gem::Version
518
- version: 0.6.8
462
+ version: '1.1'
519
463
  - !ruby/object:Gem::Dependency
520
- name: decidim-meetings
464
+ name: decidim-api
521
465
  requirement: !ruby/object:Gem::Requirement
522
466
  requirements:
523
467
  - - '='
524
468
  - !ruby/object:Gem::Version
525
- version: 0.6.8
526
- type: :development
469
+ version: 0.7.0
470
+ type: :runtime
527
471
  prerelease: false
528
472
  version_requirements: !ruby/object:Gem::Requirement
529
473
  requirements:
530
474
  - - '='
531
475
  - !ruby/object:Gem::Version
532
- version: 0.6.8
476
+ version: 0.7.0
533
477
  - !ruby/object:Gem::Dependency
534
- name: decidim-results
478
+ name: decidim-dev
535
479
  requirement: !ruby/object:Gem::Requirement
536
480
  requirements:
537
481
  - - '='
538
482
  - !ruby/object:Gem::Version
539
- version: 0.6.8
483
+ version: 0.7.0
540
484
  type: :development
541
485
  prerelease: false
542
486
  version_requirements: !ruby/object:Gem::Requirement
543
487
  requirements:
544
488
  - - '='
545
489
  - !ruby/object:Gem::Version
546
- version: 0.6.8
490
+ version: 0.7.0
547
491
  description: Adds core features so other engines can hook into the framework.
548
492
  email:
549
493
  - josepjaume@gmail.com
@@ -572,6 +516,7 @@ files:
572
516
  - app/assets/fonts/decidim/Source_Sans_Pro_900.woff
573
517
  - app/assets/fonts/decidim/Source_Sans_Pro_900.woff2
574
518
  - app/assets/images/decidim/cc-badge.png
519
+ - app/assets/images/decidim/decidim-logo.svg
575
520
  - app/assets/images/decidim/default-avatar.svg
576
521
  - app/assets/images/decidim/icons.svg
577
522
  - app/assets/javascripts/decidim.js.es6
@@ -589,6 +534,7 @@ files:
589
534
  - app/assets/javascripts/decidim/orders.js.es6
590
535
  - app/assets/javascripts/decidim/select2.field.js.es6
591
536
  - app/assets/javascripts/decidim/select2.js.es6
537
+ - app/assets/javascripts/decidim/slug_form.js.es6
592
538
  - app/assets/javascripts/decidim/user_registrations.js.es6
593
539
  - app/assets/javascripts/decidim/widget.js.es6
594
540
  - app/assets/stylesheets/decidim/_decidim.scss
@@ -598,7 +544,6 @@ files:
598
544
  - app/assets/stylesheets/decidim/email.css
599
545
  - app/assets/stylesheets/decidim/extras/_add_comments.scss
600
546
  - app/assets/stylesheets/decidim/extras/_announcement.scss
601
- - app/assets/stylesheets/decidim/extras/_callout.scss
602
547
  - app/assets/stylesheets/decidim/extras/_collection-sort-controls.scss
603
548
  - app/assets/stylesheets/decidim/extras/_embed.scss
604
549
  - app/assets/stylesheets/decidim/extras/_impersonation-bar.scss
@@ -732,6 +677,7 @@ files:
732
677
  - app/helpers/decidim/attachments_helper.rb
733
678
  - app/helpers/decidim/authorization_form_helper.rb
734
679
  - app/helpers/decidim/cookies_helper.rb
680
+ - app/helpers/decidim/cta_button_helper.rb
735
681
  - app/helpers/decidim/decidim_form_helper.rb
736
682
  - app/helpers/decidim/feature_path_helper.rb
737
683
  - app/helpers/decidim/feature_reference_helper.rb
@@ -893,6 +839,7 @@ files:
893
839
  - app/views/kaminari/decidim/_prev_page.html.erb
894
840
  - app/views/layouts/decidim/_application.html.erb
895
841
  - app/views/layouts/decidim/_cookie_warning.html.erb
842
+ - app/views/layouts/decidim/_feature_authorization_modals.html.erb
896
843
  - app/views/layouts/decidim/_head.html.erb
897
844
  - app/views/layouts/decidim/_head_extra.html.erb
898
845
  - app/views/layouts/decidim/_impersonation_warning.html.erb
@@ -927,9 +874,9 @@ files:
927
874
  - config/locales/it.yml
928
875
  - config/locales/nl.yml
929
876
  - config/locales/pl.yml
877
+ - config/locales/ru.yml
930
878
  - config/locales/uk.yml
931
879
  - config/routes.rb
932
- - config/secrets.yml
933
880
  - db/migrate/20160817115213_devise_create_decidim_users.rb
934
881
  - db/migrate/20160919104837_create_decidim_organizations.rb
935
882
  - db/migrate/20160920140207_devise_invitable_add_to_decidim_users.rb
@@ -997,6 +944,7 @@ files:
997
944
  - db/migrate/20170913092351_add_header_snippets_to_organizations.rb
998
945
  - db/migrate/20170914075721_remove_followable_index_from_follows.rb
999
946
  - db/migrate/20170914092116_remove_comment_and_replies_notifications_from_users.rb
947
+ - db/migrate/20171017084546_add_cta_button_url_and_text_to_organization.rb
1000
948
  - db/seeds.rb
1001
949
  - db/seeds/homepage_image.jpg
1002
950
  - lib/decidim/abilities.rb
@@ -1047,6 +995,7 @@ files:
1047
995
  - lib/decidim/events/notification_event.rb
1048
996
  - lib/decidim/exporters.rb
1049
997
  - lib/decidim/exporters/csv.rb
998
+ - lib/decidim/exporters/excel.rb
1050
999
  - lib/decidim/exporters/export_data.rb
1051
1000
  - lib/decidim/exporters/exporter.rb
1052
1001
  - lib/decidim/exporters/json.rb
@@ -1094,6 +1043,7 @@ files:
1094
1043
  - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.fr.js
1095
1044
  - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.it.js
1096
1045
  - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.nl.js
1046
+ - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ru.js
1097
1047
  - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.uk.js
1098
1048
  - vendor/assets/javascripts/form_datepicker.js.es6
1099
1049
  - vendor/assets/javascripts/foundation-datepicker.js
@@ -1114,7 +1064,7 @@ files:
1114
1064
  - vendor/assets/stylesheets/quill.snow.css
1115
1065
  homepage: ''
1116
1066
  licenses:
1117
- - AGPLv3
1067
+ - AGPL-3.0
1118
1068
  metadata: {}
1119
1069
  post_install_message:
1120
1070
  rdoc_options: []
@@ -1132,7 +1082,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1132
1082
  version: '0'
1133
1083
  requirements: []
1134
1084
  rubyforge_project:
1135
- rubygems_version: 2.6.11
1085
+ rubygems_version: 2.6.13
1136
1086
  signing_key:
1137
1087
  specification_version: 4
1138
1088
  summary: The core of the Decidim framework.