decidim-core 0.8.4 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/app/assets/images/decidim/decidim-logo.svg +23 -23
- data/app/assets/images/decidim/default-avatar.svg +7 -7
- data/app/assets/images/decidim/icons.svg +1 -0
- data/app/assets/javascripts/decidim.js.es6 +5 -2
- data/app/assets/javascripts/decidim/append_redirect_url_to_modals.js.es6 +84 -0
- data/app/assets/javascripts/decidim/data_picker.js.es6 +177 -0
- data/app/assets/javascripts/decidim/form_filter.component.js.es6 +25 -20
- data/app/assets/javascripts/decidim/form_filter.component.test.js +24 -13
- data/app/assets/javascripts/decidim/history.js.es6 +3 -3
- data/app/assets/stylesheets/decidim/_decidim.scss +1 -4
- data/app/assets/stylesheets/decidim/_variables.scss +4 -4
- data/app/assets/stylesheets/decidim/editor.scss +13 -0
- data/app/assets/stylesheets/decidim/email.css +9 -1
- data/app/assets/stylesheets/decidim/extras/_add_comments.scss +3 -3
- data/app/assets/stylesheets/decidim/extras/_announcement.scss +1 -1
- data/app/assets/stylesheets/decidim/extras/_collection-sort-controls.scss +2 -2
- data/app/assets/stylesheets/decidim/extras/_embed.scss +6 -5
- data/app/assets/stylesheets/decidim/extras/_impersonation-bar.scss +4 -0
- data/app/assets/stylesheets/decidim/extras/_label-required.scss +1 -1
- data/app/assets/stylesheets/decidim/extras/_leaflet.scss +6 -4
- data/app/assets/stylesheets/decidim/extras/_meeting-registrations.scss +4 -4
- data/app/assets/stylesheets/decidim/extras/_process_stats.scss +11 -4
- data/app/assets/stylesheets/decidim/extras/_proposal_form.scss +3 -3
- data/app/assets/stylesheets/decidim/extras/_quill.scss +1 -1
- data/app/assets/stylesheets/decidim/extras/_reference.scss +3 -3
- data/app/assets/stylesheets/decidim/extras/_register_form.scss +3 -3
- data/app/assets/stylesheets/decidim/extras/_results-per-page.scss +10 -10
- data/app/assets/stylesheets/decidim/extras/_social_icons_mini.scss +4 -3
- data/app/assets/stylesheets/decidim/layouts/_highlighted_banner.scss +38 -0
- data/app/assets/stylesheets/decidim/layouts/_home.scss +33 -3
- data/app/assets/stylesheets/decidim/layouts/_user.scss +33 -5
- data/app/assets/stylesheets/decidim/layouts/_view.scss +1 -2
- data/app/assets/stylesheets/decidim/map.css +5 -3
- data/app/assets/stylesheets/decidim/modules/_address.scss +1 -0
- data/app/assets/stylesheets/decidim/modules/_author-avatar.scss +24 -9
- data/app/assets/stylesheets/decidim/modules/_buttons.scss +24 -10
- data/app/assets/stylesheets/decidim/modules/_callout.scss +5 -1
- data/app/assets/stylesheets/decidim/modules/_card-grid.scss +1 -1
- data/app/assets/stylesheets/decidim/modules/_cards.scss +102 -31
- data/app/assets/stylesheets/decidim/modules/_comments.scss +21 -20
- data/app/assets/stylesheets/decidim/modules/_cookie-bar.scss +4 -0
- data/app/assets/stylesheets/decidim/modules/_data-picker.scss +159 -0
- data/app/assets/stylesheets/decidim/modules/_datepicker.scss +36 -36
- data/app/assets/stylesheets/decidim/modules/_definition-data.scss +12 -9
- data/app/assets/stylesheets/decidim/modules/_extra.scss +4 -1
- data/app/assets/stylesheets/decidim/modules/_filter-tags.scss +3 -0
- data/app/assets/stylesheets/decidim/modules/_filters.scss +9 -5
- data/app/assets/stylesheets/decidim/modules/_flag.scss +1 -0
- data/app/assets/stylesheets/decidim/modules/_footer.scss +10 -0
- data/app/assets/stylesheets/decidim/modules/_forms.scss +2 -1
- data/app/assets/stylesheets/decidim/modules/_help.scss +2 -0
- data/app/assets/stylesheets/decidim/modules/_icons.scss +1 -0
- data/app/assets/stylesheets/decidim/modules/_layout.scss +4 -0
- data/app/assets/stylesheets/decidim/modules/_list-docs.scss +3 -0
- data/app/assets/stylesheets/decidim/modules/_main-container.scss +13 -7
- data/app/assets/stylesheets/decidim/modules/_map.scss +13 -1
- data/app/assets/stylesheets/decidim/modules/_margins.scss +1 -0
- data/app/assets/stylesheets/decidim/modules/_messages.scss +2 -1
- data/app/assets/stylesheets/decidim/modules/_modules.scss +3 -0
- data/app/assets/stylesheets/decidim/modules/_navbar.scss +36 -16
- data/app/assets/stylesheets/decidim/modules/_omnipresent_banner.scss +26 -0
- data/app/assets/stylesheets/decidim/modules/_opinion-toggle.scss +5 -0
- data/app/assets/stylesheets/decidim/modules/_order-by.scss +10 -10
- data/app/assets/stylesheets/decidim/modules/_pagination.scss +3 -2
- data/app/assets/stylesheets/decidim/modules/_process-header.scss +11 -2
- data/app/assets/stylesheets/decidim/modules/_process-info.scss +9 -1
- data/app/assets/stylesheets/decidim/modules/_process-nav.scss +20 -3
- data/app/assets/stylesheets/decidim/modules/_process-phase.scss +12 -3
- data/app/assets/stylesheets/decidim/modules/_progress-bar.scss +69 -0
- data/app/assets/stylesheets/decidim/modules/_reference.scss +1 -2
- data/app/assets/stylesheets/decidim/modules/_reveal.scss +1 -1
- data/app/assets/stylesheets/decidim/modules/_share.scss +2 -0
- data/app/assets/stylesheets/decidim/modules/_signup.scss +5 -1
- data/app/assets/stylesheets/decidim/modules/_static-pages.scss +6 -0
- data/app/assets/stylesheets/decidim/modules/_status-labels.scss +2 -0
- data/app/assets/stylesheets/decidim/modules/_tags.scss +3 -1
- data/app/assets/stylesheets/decidim/modules/_timeline.scss +41 -30
- data/app/assets/stylesheets/decidim/modules/_title-action.scss +2 -1
- data/app/assets/stylesheets/decidim/modules/_typography.scss +13 -4
- data/app/assets/stylesheets/decidim/modules/_user-form.scss +1 -0
- data/app/assets/stylesheets/decidim/modules/_video.scss +2 -2
- data/app/assets/stylesheets/decidim/utils/_fontface.scss +22 -20
- data/app/assets/stylesheets/decidim/utils/_helpers.scss +6 -6
- data/app/assets/stylesheets/decidim/utils/_keyframes.scss +6 -6
- data/app/assets/stylesheets/decidim/utils/_mixins.scss +24 -7
- data/app/assets/stylesheets/decidim/utils/_settings.scss +50 -52
- data/app/assets/stylesheets/decidim/utils/_toggle-expand.scss +1 -0
- data/app/commands/decidim/create_omniauth_registration.rb +3 -0
- data/app/commands/decidim/create_registration.rb +3 -1
- data/app/commands/decidim/destroy_account.rb +1 -0
- data/app/commands/decidim/invite_user_again.rb +1 -1
- data/app/commands/decidim/messaging/reply_to_conversation.rb +1 -3
- data/app/commands/decidim/unsubscribe_settings.rb +29 -0
- data/app/commands/decidim/update_account.rb +16 -3
- data/app/controllers/concerns/decidim/action_authorization.rb +1 -1
- data/app/controllers/concerns/decidim/devise_controllers.rb +10 -0
- data/app/controllers/concerns/decidim/form_factory.rb +2 -1
- data/app/controllers/concerns/decidim/impersonate_users.rb +13 -8
- data/app/controllers/concerns/decidim/participatory_space_context.rb +1 -1
- data/app/controllers/decidim/application_controller.rb +16 -0
- data/app/controllers/decidim/cookie_policy_controller.rb +2 -0
- data/app/controllers/decidim/devise/invitations_controller.rb +9 -1
- data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +10 -1
- data/app/controllers/decidim/devise/sessions_controller.rb +9 -1
- data/app/controllers/decidim/locales_controller.rb +2 -3
- data/app/controllers/decidim/messaging/conversations_controller.rb +2 -2
- data/app/controllers/decidim/newsletters_controller.rb +60 -0
- data/app/controllers/decidim/pages_controller.rb +1 -0
- data/app/controllers/decidim/profiles_controller.rb +23 -0
- data/app/controllers/decidim/scopes_controller.rb +19 -20
- data/app/events/decidim/profile_updated_event.rb +27 -0
- data/app/forms/decidim/account_form.rb +34 -0
- data/app/forms/decidim/form.rb +1 -0
- data/app/forms/decidim/messaging/conversation_form.rb +5 -2
- data/app/forms/decidim/omniauth_registration_form.rb +5 -0
- data/app/forms/decidim/registration_form.rb +8 -1
- data/app/helpers/decidim/action_authorization_helper.rb +2 -2
- data/app/helpers/decidim/application_helper.rb +8 -0
- data/app/helpers/decidim/feature_path_helper.rb +12 -2
- data/app/helpers/decidim/feature_reference_helper.rb +1 -1
- data/app/helpers/decidim/messaging/conversation_helper.rb +27 -9
- data/app/helpers/decidim/newsletters_helper.rb +49 -0
- data/app/helpers/decidim/scopes_helper.rb +43 -2
- data/app/helpers/decidim/translations_helper.rb +6 -2
- data/app/mailers/decidim/decidim_devise_mailer.rb +1 -3
- data/app/mailers/decidim/messaging/conversation_mailer.rb +1 -1
- data/app/mailers/decidim/newsletter_mailer.rb +7 -8
- data/app/models/decidim/abilities/everyone_ability.rb +1 -0
- data/app/models/decidim/authorization.rb +19 -5
- data/app/models/decidim/impersonation_log.rb +2 -1
- data/app/models/decidim/messaging/conversation.rb +2 -0
- data/app/models/decidim/messaging/message.rb +4 -0
- data/app/models/decidim/organization.rb +1 -0
- data/app/models/decidim/scope.rb +10 -2
- data/app/models/decidim/user.rb +10 -2
- data/app/presenters/decidim/home_stats_presenter.rb +10 -4
- data/app/presenters/decidim/user_group_presenter.rb +28 -0
- data/app/presenters/decidim/user_presenter.rb +42 -0
- data/app/services/decidim/action_authorizer.rb +32 -68
- data/app/services/decidim/notification_generator_for_recipient.rb +8 -3
- data/app/uploaders/decidim/avatar_uploader.rb +2 -2
- data/app/views/decidim/account/delete.html.erb +1 -1
- data/app/views/decidim/account/show.html.erb +4 -1
- data/app/views/decidim/devise/invitations/edit.html.erb +2 -0
- data/app/views/decidim/devise/omniauth_registrations/new.html.erb +7 -1
- data/app/views/decidim/devise/registrations/new.html.erb +7 -1
- data/app/views/decidim/messaging/conversations/_message.html.erb +6 -12
- data/app/views/decidim/messaging/conversations/_reply.html.erb +1 -1
- data/app/views/decidim/messaging/conversations/index.html.erb +1 -1
- data/app/views/decidim/messaging/conversations/update.js.erb +1 -0
- data/app/views/decidim/newsletter_mailer/newsletter.html.erb +11 -0
- data/app/views/decidim/newsletters/show.html.erb +11 -0
- data/app/views/decidim/newsletters/unsubscribe.html.erb +4 -0
- data/app/views/decidim/notifications/_notification.html.erb +1 -1
- data/app/views/decidim/profiles/show.html.erb +64 -0
- data/app/views/decidim/scopes/_scopes_picker_input.html.erb +6 -0
- data/app/views/decidim/scopes/picker.html.erb +36 -0
- data/app/views/decidim/shared/_action_authorization_modal.html.erb +25 -51
- data/app/views/decidim/shared/_author.html.erb +21 -0
- data/app/views/decidim/shared/_author_reference.html.erb +12 -0
- data/app/views/layouts/decidim/_application.html.erb +1 -0
- data/app/views/layouts/decidim/_impersonation_warning.html.erb +1 -1
- data/app/views/layouts/decidim/_mailer_logo.html.erb +6 -1
- data/app/views/layouts/decidim/_omnipresent_banner.html.erb +14 -0
- data/app/views/layouts/decidim/_user_menu.html.erb +3 -0
- data/app/views/layouts/decidim/mailer.html.erb +16 -4
- data/app/views/layouts/decidim/widget.html.erb +14 -9
- data/app/views/pages/home.html.erb +2 -0
- data/app/views/pages/home/_highlighted_content_banner.html.erb +26 -0
- data/config/initializers/devise.rb +1 -3
- data/config/locales/ca.yml +67 -9
- data/config/locales/en.yml +65 -4
- data/config/locales/es.yml +74 -14
- data/config/locales/eu.yml +66 -4
- data/config/locales/fi.yml +87 -25
- data/config/locales/fr.yml +71 -9
- data/config/locales/gl.yml +493 -0
- data/config/locales/it.yml +79 -17
- data/config/locales/nl.yml +71 -9
- data/config/locales/pl.yml +66 -4
- data/config/locales/pt-BR.yml +493 -0
- data/config/locales/pt.yml +99 -37
- data/config/locales/ru.yml +85 -13
- data/config/locales/sv.yml +493 -0
- data/config/locales/uk.yml +78 -16
- data/config/routes.rb +11 -1
- data/db/migrate/20171212103803_create_unique_nicknames.rb +29 -0
- data/db/migrate/20180115090038_extend_user_profile.rb +8 -0
- data/db/migrate/20180123125308_add_enable_omnipresent_banner_to_decidim_organizations.rb +7 -0
- data/db/migrate/20180123125409_add_omnipresent_banner_title_to_decidim_organizations.rb +7 -0
- data/db/migrate/20180123125432_add_omnipresent_banner_short_description_to_decidim_organizations.rb +7 -0
- data/db/migrate/20180123125452_add_omnipresent_banner_url_to_decidim_organizations.rb +7 -0
- data/db/migrate/20180125063433_add_highlighted_content_banner_to_decidim_organizations.rb +13 -0
- data/db/seeds.rb +8 -2
- data/lib/decidim/abilities/participatory_process_role_ability.rb +1 -3
- data/lib/decidim/content_parsers.rb +8 -0
- data/lib/decidim/content_parsers/base_parser.rb +58 -0
- data/lib/decidim/content_parsers/user_parser.rb +46 -0
- data/lib/decidim/content_processor.rb +84 -0
- data/lib/decidim/content_renderers.rb +8 -0
- data/lib/decidim/content_renderers/base_renderer.rb +37 -0
- data/lib/decidim/content_renderers/user_renderer.rb +32 -0
- data/lib/decidim/core.rb +66 -1
- data/lib/decidim/core/api/author_interface.rb +3 -3
- data/lib/decidim/core/api/user_group_type.rb +10 -8
- data/lib/decidim/core/api/user_type.rb +13 -7
- data/lib/decidim/core/engine.rb +7 -5
- data/lib/decidim/core/test.rb +1 -1
- data/lib/decidim/core/test/factories.rb +21 -45
- data/lib/decidim/core/test/shared_examples/announcements_examples.rb +3 -2
- data/lib/decidim/core/test/shared_examples/comments_examples.rb +5 -2
- data/lib/decidim/core/test/shared_examples/scope_helper_examples.rb +40 -3
- data/lib/decidim/core/test/shared_examples/simple_event.rb +73 -0
- data/lib/decidim/core/version.rb +1 -1
- data/lib/decidim/events.rb +2 -0
- data/lib/decidim/events/author_event.rb +41 -0
- data/lib/decidim/events/base_event.rb +28 -3
- data/lib/decidim/events/email_event.rb +1 -1
- data/lib/decidim/events/notification_event.rb +1 -1
- data/lib/decidim/events/simple_event.rb +79 -0
- data/lib/decidim/filter_form_builder.rb +2 -3
- data/lib/decidim/form_builder.rb +39 -27
- data/lib/decidim/friendly_dates.rb +26 -0
- data/lib/decidim/has_feature.rb +1 -0
- data/lib/decidim/has_reference.rb +1 -1
- data/lib/decidim/i18n_exceptions.rb +1 -3
- data/lib/decidim/menu.rb +1 -1
- data/lib/decidim/newsletter_encryptor.rb +22 -0
- data/lib/decidim/nicknamizable.rb +56 -0
- data/lib/decidim/participable.rb +8 -0
- data/lib/decidim/participatory_space_manifest.rb +10 -1
- data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.gl.js +13 -0
- data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.pt-br.js +14 -0
- data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.pt.js +5 -1
- data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ru.js +4 -1
- data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.sv.js +14 -0
- data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.uk.js +4 -1
- data/vendor/assets/javascripts/form_datepicker.js.es6 +4 -2
- data/vendor/assets/javascripts/foundation-datepicker.js +42 -26
- metadata +124 -84
- data/app/assets/javascripts/decidim/select2.field.js.es6 +0 -47
- data/app/assets/javascripts/decidim/select2.js.es6 +0 -11
- data/app/assets/stylesheets/decidim/editor.sass +0 -4
- data/app/assets/stylesheets/decidim/plugins/_select2.scss +0 -63
- data/app/helpers/decidim/datetime_helper.rb +0 -23
- data/app/queries/decidim/freetext_scopes.rb +0 -39
- data/lib/decidim/core/test/shared_examples/manage_moderations_examples.rb +0 -64
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "active_support/core_ext/date_time/calculations"
|
4
|
+
require "active_support/concern"
|
5
|
+
|
6
|
+
module Decidim
|
7
|
+
# A concern to render friendlier dates
|
8
|
+
module FriendlyDates
|
9
|
+
extend ActiveSupport::Concern
|
10
|
+
|
11
|
+
# Returns the creation date in a friendly relative format.
|
12
|
+
def friendly_created_at
|
13
|
+
current_datetime = Time.zone.now
|
14
|
+
|
15
|
+
if created_at > current_datetime.beginning_of_day
|
16
|
+
I18n.l(created_at, format: :time_of_day)
|
17
|
+
elsif created_at > current_datetime.beginning_of_week
|
18
|
+
I18n.l(created_at, format: :day_of_week)
|
19
|
+
elsif created_at > current_datetime.beginning_of_year
|
20
|
+
I18n.l(created_at, format: :day_of_month)
|
21
|
+
else
|
22
|
+
I18n.l(created_at, format: :day_of_year)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/lib/decidim/has_feature.rb
CHANGED
@@ -11,6 +11,7 @@ module Decidim
|
|
11
11
|
included do
|
12
12
|
belongs_to :feature, foreign_key: "decidim_feature_id", class_name: "Decidim::Feature"
|
13
13
|
delegate :organization, to: :feature, allow_nil: true
|
14
|
+
delegate :participatory_space, to: :feature, allow_nil: true
|
14
15
|
end
|
15
16
|
|
16
17
|
class_methods do
|
@@ -4,9 +4,7 @@ unless Rails.env.production?
|
|
4
4
|
module I18n
|
5
5
|
class JustRaiseExceptionHandler < ExceptionHandler
|
6
6
|
def call(exception, locale, key, options)
|
7
|
-
if exception.is_a?(MissingTranslationData) || exception.is_a?(MissingTranslation)
|
8
|
-
raise exception.to_exception
|
9
|
-
end
|
7
|
+
raise exception.to_exception if exception.is_a?(MissingTranslationData) || exception.is_a?(MissingTranslation)
|
10
8
|
|
11
9
|
super
|
12
10
|
end
|
data/lib/decidim/menu.rb
CHANGED
@@ -37,7 +37,7 @@ module Decidim
|
|
37
37
|
#
|
38
38
|
# menu.item "My Resource", "/resources"
|
39
39
|
# menu.item I18n.t("menu.meetings"), decidim_meetings.root_path
|
40
|
-
# menu.item current_user.username, decidim.profile_path
|
40
|
+
# menu.item current_user.username, decidim.profile_path(current_user.nickname)
|
41
41
|
# menu.item "Gestor de Procesos", "/processes", active: :exact
|
42
42
|
# menu.item "Gestor de Procesos", "/processes", if: admin?
|
43
43
|
#
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
class NewsletterEncryptor
|
5
|
+
# Method to create string encrypt using sent_at time to unsubscribe's user
|
6
|
+
def self.sent_at_encrypted(user_id, sent_at)
|
7
|
+
crypt_data.encrypt_and_sign("#{user_id}-#{sent_at.to_i}")
|
8
|
+
end
|
9
|
+
|
10
|
+
# Method to decrypt sent_at newsletter.
|
11
|
+
def self.sent_at_decrypted(string_encrypted)
|
12
|
+
crypt_data.decrypt_and_verify(string_encrypted)
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.crypt_data
|
16
|
+
key = ActiveSupport::KeyGenerator.new("sent_at").generate_key(
|
17
|
+
Rails.application.secrets.secret_key_base, ActiveSupport::MessageEncryptor.key_len
|
18
|
+
)
|
19
|
+
ActiveSupport::MessageEncryptor.new(key)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "active_support/concern"
|
4
|
+
|
5
|
+
module Decidim
|
6
|
+
# This concern contains the logic related to nicknames.
|
7
|
+
module Nicknamizable
|
8
|
+
extend ActiveSupport::Concern
|
9
|
+
|
10
|
+
included do
|
11
|
+
validates :nickname, length: { maximum: nickname_max_length }, allow_blank: true
|
12
|
+
end
|
13
|
+
|
14
|
+
class_methods do
|
15
|
+
#
|
16
|
+
# Maximum allowed nickname length
|
17
|
+
#
|
18
|
+
def nickname_max_length
|
19
|
+
20
|
20
|
+
end
|
21
|
+
|
22
|
+
#
|
23
|
+
# Converts any string into a valid nickname
|
24
|
+
#
|
25
|
+
# * Parameterizes it so it's valid as a URL.
|
26
|
+
# * Trims length so it fits validation constraints.
|
27
|
+
# * Disambiguates it so it's unique.
|
28
|
+
#
|
29
|
+
def nicknamize(name)
|
30
|
+
disambiguate(name.parameterize(separator: "_")[nickname_length_range])
|
31
|
+
end
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
def nickname_length_range
|
36
|
+
(0...nickname_max_length)
|
37
|
+
end
|
38
|
+
|
39
|
+
def disambiguate(name)
|
40
|
+
candidate = name
|
41
|
+
|
42
|
+
2.step do |n|
|
43
|
+
return candidate unless exists?(nickname: candidate)
|
44
|
+
|
45
|
+
candidate = numbered_variation_of(candidate, n)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def numbered_variation_of(name, number)
|
50
|
+
appendix = "_#{number}"
|
51
|
+
|
52
|
+
"#{name[0...(nickname_max_length - appendix.length)]}#{appendix}"
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/lib/decidim/participable.rb
CHANGED
@@ -76,6 +76,14 @@ module Decidim
|
|
76
76
|
def participatory_space_manifest
|
77
77
|
Decidim.find_participatory_space_manifest(name.demodulize.underscore.pluralize)
|
78
78
|
end
|
79
|
+
|
80
|
+
# Public: Adds a sane default way to retrieve public spaces. Please, overwrite
|
81
|
+
# this from your model class in case this is not correct for your model.
|
82
|
+
#
|
83
|
+
# Returns an `ActiveRecord::Association`.
|
84
|
+
def public_spaces
|
85
|
+
published
|
86
|
+
end
|
79
87
|
end
|
80
88
|
end
|
81
89
|
end
|
@@ -37,7 +37,7 @@ module Decidim
|
|
37
37
|
# context.layout "layouts/decidim/some_layout"
|
38
38
|
# end
|
39
39
|
#
|
40
|
-
# context(:public).layout
|
40
|
+
# context(:public).layout
|
41
41
|
# # => "layouts/decidim/some_layout"
|
42
42
|
#
|
43
43
|
# Returns Nothing.
|
@@ -74,5 +74,14 @@ module Decidim
|
|
74
74
|
def route_name
|
75
75
|
super || model_class_name.demodulize.underscore
|
76
76
|
end
|
77
|
+
|
78
|
+
# Public: A block that retrieves all the participatory spaces for the manifest.
|
79
|
+
# The block receives a `Decidim::Organization` as a parameter in order to filter.
|
80
|
+
# The block is expected to return an `ActiveRecord::Association`.
|
81
|
+
#
|
82
|
+
# Returns nothing.
|
83
|
+
def participatory_spaces(&block)
|
84
|
+
@participatory_spaces ||= block
|
85
|
+
end
|
77
86
|
end
|
78
87
|
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
;(function($){
|
2
|
+
$.fn.fdatepicker.dates['gl'] = {
|
3
|
+
days: ["Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado"],
|
4
|
+
daysShort: ["Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb"],
|
5
|
+
daysMin: ["Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa"],
|
6
|
+
months: ["Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"],
|
7
|
+
monthsShort: ["Xan", "Feb", "Mar", "Abr", "Mai", "Xun", "Xul", "Ago", "Sep", "Out", "Nov", "Dec"],
|
8
|
+
today: "Hoxe",
|
9
|
+
clear: "Limpar",
|
10
|
+
weekStart: 1,
|
11
|
+
format: "dd/mm/yyyy"
|
12
|
+
};
|
13
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Brazilian translation for foundation-datepicker
|
3
|
+
* Cauan Cabral <cauan@radig.com.br>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.fdatepicker.dates['pt-br'] = {
|
7
|
+
days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
|
8
|
+
daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
|
9
|
+
daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
|
10
|
+
months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
11
|
+
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
|
12
|
+
today: "Hoje"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -9,6 +9,10 @@
|
|
9
9
|
daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
|
10
10
|
daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
|
11
11
|
months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
12
|
-
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"]
|
12
|
+
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
|
13
|
+
today: "Hoje",
|
14
|
+
clear: "Limpar",
|
15
|
+
weekStart: 1,
|
16
|
+
format: "dd/mm/yyyy"
|
13
17
|
};
|
14
18
|
}(jQuery));
|
@@ -9,6 +9,9 @@
|
|
9
9
|
daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"],
|
10
10
|
months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
|
11
11
|
monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"],
|
12
|
-
today: "Сегодня"
|
12
|
+
today: "Сегодня",
|
13
|
+
clear: "Очистить",
|
14
|
+
weekStart: 1,
|
15
|
+
format: "dd.mm.yyyy"
|
13
16
|
};
|
14
17
|
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Swedish translation for foundation-datepicker
|
3
|
+
* Patrik Ragnarsson <patrik@starkast.net>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.fdatepicker.dates['sv'] = {
|
7
|
+
days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
|
8
|
+
daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
|
9
|
+
daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
|
10
|
+
months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
|
+
today: "I Dag"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -9,6 +9,9 @@
|
|
9
9
|
daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"],
|
10
10
|
months: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"],
|
11
11
|
monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Серп", "Вер", "Жовт", "Лист", "Гру"],
|
12
|
-
today: "Сьогодні"
|
12
|
+
today: "Сьогодні",
|
13
|
+
clear: "Очистити",
|
14
|
+
weekStart: 1,
|
15
|
+
format: "dd.mm.yyyy"
|
13
16
|
};
|
14
17
|
}(jQuery));
|
@@ -20,8 +20,10 @@
|
|
20
20
|
leftArrow: '<<',
|
21
21
|
rightArrow: '>>'
|
22
22
|
}).on('changeDate', (ev) => {
|
23
|
-
let newDate =
|
24
|
-
|
23
|
+
let newDate = "";
|
24
|
+
if (ev.date !== null) {
|
25
|
+
newDate = exports.moment.utc(ev.date).format('YYYY-MM-DDTHH:mm:ss');
|
26
|
+
}
|
25
27
|
$(ev.target).siblings('input').val(newDate);
|
26
28
|
});
|
27
29
|
});
|
@@ -173,6 +173,11 @@
|
|
173
173
|
this.setDaysOfWeekDisabled(options.daysOfWeekDisabled || this.element.data('date-days-of-week-disabled'));
|
174
174
|
this.setDatesDisabled(options.datesDisabled || this.element.data('dates-disabled'));
|
175
175
|
|
176
|
+
if (this.initialDate != null) {
|
177
|
+
this.date = this.viewDate = DPGlobal.parseDate(this.initialDate, this.format, this.language);
|
178
|
+
this.setValue();
|
179
|
+
}
|
180
|
+
|
176
181
|
this.fillDow();
|
177
182
|
this.fillMonths();
|
178
183
|
this.update();
|
@@ -386,9 +391,13 @@
|
|
386
391
|
|
387
392
|
place: function() {
|
388
393
|
if (this.isInline) return;
|
389
|
-
var
|
390
|
-
|
391
|
-
|
394
|
+
var zIndexes = [];
|
395
|
+
this.element.parents().map(function() {
|
396
|
+
if ($(this).css('z-index') != 'auto') {
|
397
|
+
zIndexes.push(parseInt($(this).css('z-index')));
|
398
|
+
}
|
399
|
+
});
|
400
|
+
var zIndex = zIndexes.sort(function(a, b) { return a - b; }).pop() + 10;
|
392
401
|
var textbox = this.component ? this.component : this.element;
|
393
402
|
var offset = textbox.offset();
|
394
403
|
var height = textbox.outerHeight() + parseInt(textbox.css('margin-top'));
|
@@ -396,12 +405,17 @@
|
|
396
405
|
var fullOffsetTop = offset.top + height;
|
397
406
|
var offsetLeft = offset.left;
|
398
407
|
this.picker.removeClass('datepicker-top datepicker-bottom');
|
399
|
-
//
|
400
|
-
|
408
|
+
// can we show it on top?
|
409
|
+
var canShowTop = ($(window).scrollTop() < offset.top - this.picker.outerHeight());
|
410
|
+
var canShowBottom = (fullOffsetTop + this.picker.outerHeight()) < $(window).scrollTop() + $(window).height();
|
411
|
+
// If the datepicker is going to be below the window, show it on top of the input if it fits
|
412
|
+
if (!canShowBottom && canShowTop) {
|
401
413
|
fullOffsetTop = offset.top - this.picker.outerHeight();
|
402
414
|
this.picker.addClass('datepicker-top');
|
403
415
|
}
|
404
416
|
else {
|
417
|
+
// Scroll up if we cannot show it on bottom or top (for mobile devices)
|
418
|
+
if (!canShowBottom) $(window).scrollTop(offset.top);
|
405
419
|
this.picker.addClass('datepicker-bottom');
|
406
420
|
}
|
407
421
|
|
@@ -423,14 +437,10 @@
|
|
423
437
|
if (arguments && arguments.length && (typeof arguments[0] === 'string' || arguments[0] instanceof Date)) {
|
424
438
|
date = arguments[0];
|
425
439
|
fromArgs = true;
|
426
|
-
}
|
427
|
-
else if (!currentVal && this.initialDate != null) { // If value is not set, set it to the initialDate
|
428
|
-
date = this.initialDate
|
429
440
|
}
|
430
441
|
else {
|
431
442
|
date = this.isInput ? this.element.val() : this.element.data('date') || this.element.find('input').val();
|
432
443
|
}
|
433
|
-
|
434
444
|
if (date && date.length > this.formatText.length) {
|
435
445
|
$(this.picker).addClass('is-invalid')
|
436
446
|
$(this.element).addClass('is-invalid-input')
|
@@ -438,12 +448,18 @@
|
|
438
448
|
} else {
|
439
449
|
$(this.picker).removeClass('is-invalid')
|
440
450
|
$(this.element).removeClass('is-invalid-input')
|
441
|
-
|
442
451
|
}
|
443
452
|
|
444
|
-
this.date = DPGlobal.parseDate(date, this.format, this.language);
|
453
|
+
this.date = DPGlobal.parseDate(date, this.format, this.language);
|
445
454
|
|
446
|
-
if (fromArgs
|
455
|
+
if (fromArgs) {
|
456
|
+
this.setValue();
|
457
|
+
} else if (currentVal == "") {
|
458
|
+
this.element.trigger({
|
459
|
+
type: 'changeDate',
|
460
|
+
date: null
|
461
|
+
});
|
462
|
+
}
|
447
463
|
|
448
464
|
if (this.date < this.startDate) {
|
449
465
|
this.viewDate = new Date(this.startDate.valueOf());
|
@@ -498,7 +514,7 @@
|
|
498
514
|
today = new Date(),
|
499
515
|
titleFormat = dates[this.language].titleFormat || dates['en'].titleFormat;
|
500
516
|
// this.picker.find('.datepicker-days thead th.date-switch')
|
501
|
-
//
|
517
|
+
// .text(DPGlobal.formatDate(new UTCDate(year, month), titleFormat, this.language));
|
502
518
|
|
503
519
|
this.picker.find('.datepicker-days thead th:eq(1)')
|
504
520
|
.text(dates[this.language].months[month] + ' ' + year);
|
@@ -1090,25 +1106,25 @@
|
|
1090
1106
|
}
|
1091
1107
|
}
|
1092
1108
|
/*
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1109
|
+
vitalets: fixing bug of very special conditions:
|
1110
|
+
jquery 1.7.1 + webkit + show inline datepicker in bootstrap popover.
|
1111
|
+
Method show() does not set display css correctly and datepicker is not shown.
|
1112
|
+
Changed to .css('display', 'block') solve the problem.
|
1113
|
+
See https://github.com/vitalets/x-editable/issues/37
|
1098
1114
|
|
1099
|
-
|
1115
|
+
In jquery 1.7.2+ everything works fine.
|
1100
1116
|
*/
|
1101
1117
|
//this.picker.find('>div').hide().filter('.datepicker-'+DPGlobal.modes[this.viewMode].clsName).show();
|
1102
1118
|
this.picker.find('>div').hide().filter('.datepicker-' + DPGlobal.modes[this.viewMode].clsName).css('display', 'block');
|
1103
1119
|
this.updateNavArrows();
|
1104
1120
|
},
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1121
|
+
|
1122
|
+
changeViewDate: function(date) {
|
1123
|
+
this.date = date;
|
1124
|
+
this.viewDate = date;
|
1125
|
+
this.fill();
|
1126
|
+
},
|
1127
|
+
|
1112
1128
|
reset: function(e) {
|
1113
1129
|
this._setDate(null, 'date');
|
1114
1130
|
}
|
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.
|
4
|
+
version: 0.9.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: 2018-
|
13
|
+
date: 2018-02-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_link_to
|
@@ -18,56 +18,56 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0
|
21
|
+
version: '1.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.0
|
28
|
+
version: '1.0'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: autoprefixer-rails
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 7.1
|
35
|
+
version: '7.1'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 7.1
|
42
|
+
version: '7.1'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: cancancan
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 2.0
|
49
|
+
version: '2.0'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 2.0
|
56
|
+
version: '2.0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: carrierwave
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 1.1
|
63
|
+
version: '1.1'
|
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
|
70
|
+
version: '1.1'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: date_validator
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,154 +102,160 @@ dependencies:
|
|
102
102
|
requirements:
|
103
103
|
- - "~>"
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 1.2
|
105
|
+
version: '1.2'
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 1.2
|
112
|
+
version: '1.2'
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: file_validators
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
117
|
- - "~>"
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: 2.1
|
119
|
+
version: '2.1'
|
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: 2.1
|
126
|
+
version: '2.1'
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: foundation-rails
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
131
|
- - "~>"
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: 6.4
|
133
|
+
version: '6.4'
|
134
|
+
- - "<"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '6.5'
|
134
137
|
type: :runtime
|
135
138
|
prerelease: false
|
136
139
|
version_requirements: !ruby/object:Gem::Requirement
|
137
140
|
requirements:
|
138
141
|
- - "~>"
|
139
142
|
- !ruby/object:Gem::Version
|
140
|
-
version: 6.4
|
143
|
+
version: '6.4'
|
144
|
+
- - "<"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '6.5'
|
141
147
|
- !ruby/object:Gem::Dependency
|
142
148
|
name: foundation_rails_helper
|
143
149
|
requirement: !ruby/object:Gem::Requirement
|
144
150
|
requirements:
|
145
151
|
- - "~>"
|
146
152
|
- !ruby/object:Gem::Version
|
147
|
-
version: 3.0
|
153
|
+
version: '3.0'
|
148
154
|
type: :runtime
|
149
155
|
prerelease: false
|
150
156
|
version_requirements: !ruby/object:Gem::Requirement
|
151
157
|
requirements:
|
152
158
|
- - "~>"
|
153
159
|
- !ruby/object:Gem::Version
|
154
|
-
version: 3.0
|
160
|
+
version: '3.0'
|
155
161
|
- !ruby/object:Gem::Dependency
|
156
162
|
name: geocoder
|
157
163
|
requirement: !ruby/object:Gem::Requirement
|
158
164
|
requirements:
|
159
165
|
- - "~>"
|
160
166
|
- !ruby/object:Gem::Version
|
161
|
-
version: 1.4
|
167
|
+
version: '1.4'
|
162
168
|
type: :runtime
|
163
169
|
prerelease: false
|
164
170
|
version_requirements: !ruby/object:Gem::Requirement
|
165
171
|
requirements:
|
166
172
|
- - "~>"
|
167
173
|
- !ruby/object:Gem::Version
|
168
|
-
version: 1.4
|
174
|
+
version: '1.4'
|
169
175
|
- !ruby/object:Gem::Dependency
|
170
176
|
name: high_voltage
|
171
177
|
requirement: !ruby/object:Gem::Requirement
|
172
178
|
requirements:
|
173
179
|
- - "~>"
|
174
180
|
- !ruby/object:Gem::Version
|
175
|
-
version: 3.0
|
181
|
+
version: '3.0'
|
176
182
|
type: :runtime
|
177
183
|
prerelease: false
|
178
184
|
version_requirements: !ruby/object:Gem::Requirement
|
179
185
|
requirements:
|
180
186
|
- - "~>"
|
181
187
|
- !ruby/object:Gem::Version
|
182
|
-
version: 3.0
|
188
|
+
version: '3.0'
|
183
189
|
- !ruby/object:Gem::Dependency
|
184
190
|
name: invisible_captcha
|
185
191
|
requirement: !ruby/object:Gem::Requirement
|
186
192
|
requirements:
|
187
193
|
- - "~>"
|
188
194
|
- !ruby/object:Gem::Version
|
189
|
-
version: 0.
|
195
|
+
version: 0.10.0
|
190
196
|
type: :runtime
|
191
197
|
prerelease: false
|
192
198
|
version_requirements: !ruby/object:Gem::Requirement
|
193
199
|
requirements:
|
194
200
|
- - "~>"
|
195
201
|
- !ruby/object:Gem::Version
|
196
|
-
version: 0.
|
202
|
+
version: 0.10.0
|
197
203
|
- !ruby/object:Gem::Dependency
|
198
204
|
name: jquery-rails
|
199
205
|
requirement: !ruby/object:Gem::Requirement
|
200
206
|
requirements:
|
201
207
|
- - "~>"
|
202
208
|
- !ruby/object:Gem::Version
|
203
|
-
version: 4.3
|
209
|
+
version: '4.3'
|
204
210
|
type: :runtime
|
205
211
|
prerelease: false
|
206
212
|
version_requirements: !ruby/object:Gem::Requirement
|
207
213
|
requirements:
|
208
214
|
- - "~>"
|
209
215
|
- !ruby/object:Gem::Version
|
210
|
-
version: 4.3
|
216
|
+
version: '4.3'
|
211
217
|
- !ruby/object:Gem::Dependency
|
212
218
|
name: mini_magick
|
213
219
|
requirement: !ruby/object:Gem::Requirement
|
214
220
|
requirements:
|
215
221
|
- - "~>"
|
216
222
|
- !ruby/object:Gem::Version
|
217
|
-
version: 4.8
|
223
|
+
version: '4.8'
|
218
224
|
type: :runtime
|
219
225
|
prerelease: false
|
220
226
|
version_requirements: !ruby/object:Gem::Requirement
|
221
227
|
requirements:
|
222
228
|
- - "~>"
|
223
229
|
- !ruby/object:Gem::Version
|
224
|
-
version: 4.8
|
230
|
+
version: '4.8'
|
225
231
|
- !ruby/object:Gem::Dependency
|
226
232
|
name: omniauth
|
227
233
|
requirement: !ruby/object:Gem::Requirement
|
228
234
|
requirements:
|
229
235
|
- - "~>"
|
230
236
|
- !ruby/object:Gem::Version
|
231
|
-
version: 1.6
|
237
|
+
version: '1.6'
|
232
238
|
type: :runtime
|
233
239
|
prerelease: false
|
234
240
|
version_requirements: !ruby/object:Gem::Requirement
|
235
241
|
requirements:
|
236
242
|
- - "~>"
|
237
243
|
- !ruby/object:Gem::Version
|
238
|
-
version: 1.6
|
244
|
+
version: '1.6'
|
239
245
|
- !ruby/object:Gem::Dependency
|
240
246
|
name: omniauth-facebook
|
241
247
|
requirement: !ruby/object:Gem::Requirement
|
242
248
|
requirements:
|
243
249
|
- - "~>"
|
244
250
|
- !ruby/object:Gem::Version
|
245
|
-
version: 4.0
|
251
|
+
version: '4.0'
|
246
252
|
type: :runtime
|
247
253
|
prerelease: false
|
248
254
|
version_requirements: !ruby/object:Gem::Requirement
|
249
255
|
requirements:
|
250
256
|
- - "~>"
|
251
257
|
- !ruby/object:Gem::Version
|
252
|
-
version: 4.0
|
258
|
+
version: '4.0'
|
253
259
|
- !ruby/object:Gem::Dependency
|
254
260
|
name: omniauth-google-oauth2
|
255
261
|
requirement: !ruby/object:Gem::Requirement
|
@@ -270,28 +276,28 @@ dependencies:
|
|
270
276
|
requirements:
|
271
277
|
- - "~>"
|
272
278
|
- !ruby/object:Gem::Version
|
273
|
-
version: 1.4
|
279
|
+
version: '1.4'
|
274
280
|
type: :runtime
|
275
281
|
prerelease: false
|
276
282
|
version_requirements: !ruby/object:Gem::Requirement
|
277
283
|
requirements:
|
278
284
|
- - "~>"
|
279
285
|
- !ruby/object:Gem::Version
|
280
|
-
version: 1.4
|
286
|
+
version: '1.4'
|
281
287
|
- !ruby/object:Gem::Dependency
|
282
288
|
name: paper_trail
|
283
289
|
requirement: !ruby/object:Gem::Requirement
|
284
290
|
requirements:
|
285
291
|
- - "~>"
|
286
292
|
- !ruby/object:Gem::Version
|
287
|
-
version: 8.0
|
293
|
+
version: '8.0'
|
288
294
|
type: :runtime
|
289
295
|
prerelease: false
|
290
296
|
version_requirements: !ruby/object:Gem::Requirement
|
291
297
|
requirements:
|
292
298
|
- - "~>"
|
293
299
|
- !ruby/object:Gem::Version
|
294
|
-
version: 8.0
|
300
|
+
version: '8.0'
|
295
301
|
- !ruby/object:Gem::Dependency
|
296
302
|
name: pg
|
297
303
|
requirement: !ruby/object:Gem::Requirement
|
@@ -312,42 +318,48 @@ dependencies:
|
|
312
318
|
requirements:
|
313
319
|
- - "~>"
|
314
320
|
- !ruby/object:Gem::Version
|
315
|
-
version: 1.9
|
321
|
+
version: '1.9'
|
316
322
|
type: :runtime
|
317
323
|
prerelease: false
|
318
324
|
version_requirements: !ruby/object:Gem::Requirement
|
319
325
|
requirements:
|
320
326
|
- - "~>"
|
321
327
|
- !ruby/object:Gem::Version
|
322
|
-
version: 1.9
|
328
|
+
version: '1.9'
|
323
329
|
- !ruby/object:Gem::Dependency
|
324
330
|
name: rails
|
325
331
|
requirement: !ruby/object:Gem::Requirement
|
326
332
|
requirements:
|
327
333
|
- - "~>"
|
328
334
|
- !ruby/object:Gem::Version
|
329
|
-
version: 5.1
|
335
|
+
version: '5.1'
|
336
|
+
- - "<"
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: '5.2'
|
330
339
|
type: :runtime
|
331
340
|
prerelease: false
|
332
341
|
version_requirements: !ruby/object:Gem::Requirement
|
333
342
|
requirements:
|
334
343
|
- - "~>"
|
335
344
|
- !ruby/object:Gem::Version
|
336
|
-
version: 5.1
|
345
|
+
version: '5.1'
|
346
|
+
- - "<"
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '5.2'
|
337
349
|
- !ruby/object:Gem::Dependency
|
338
350
|
name: rails-i18n
|
339
351
|
requirement: !ruby/object:Gem::Requirement
|
340
352
|
requirements:
|
341
|
-
- - "
|
353
|
+
- - "~>"
|
342
354
|
- !ruby/object:Gem::Version
|
343
|
-
version: '0'
|
355
|
+
version: '5.0'
|
344
356
|
type: :runtime
|
345
357
|
prerelease: false
|
346
358
|
version_requirements: !ruby/object:Gem::Requirement
|
347
359
|
requirements:
|
348
|
-
- - "
|
360
|
+
- - "~>"
|
349
361
|
- !ruby/object:Gem::Version
|
350
|
-
version: '0'
|
362
|
+
version: '5.0'
|
351
363
|
- !ruby/object:Gem::Dependency
|
352
364
|
name: rectify
|
353
365
|
requirement: !ruby/object:Gem::Requirement
|
@@ -368,56 +380,42 @@ dependencies:
|
|
368
380
|
requirements:
|
369
381
|
- - "~>"
|
370
382
|
- !ruby/object:Gem::Version
|
371
|
-
version: '
|
383
|
+
version: '4.0'
|
372
384
|
type: :runtime
|
373
385
|
prerelease: false
|
374
386
|
version_requirements: !ruby/object:Gem::Requirement
|
375
387
|
requirements:
|
376
388
|
- - "~>"
|
377
389
|
- !ruby/object:Gem::Version
|
378
|
-
version: '
|
390
|
+
version: '4.0'
|
379
391
|
- !ruby/object:Gem::Dependency
|
380
392
|
name: rubyzip
|
381
|
-
requirement: !ruby/object:Gem::Requirement
|
382
|
-
requirements:
|
383
|
-
- - '='
|
384
|
-
- !ruby/object:Gem::Version
|
385
|
-
version: 1.2.1
|
386
|
-
type: :runtime
|
387
|
-
prerelease: false
|
388
|
-
version_requirements: !ruby/object:Gem::Requirement
|
389
|
-
requirements:
|
390
|
-
- - '='
|
391
|
-
- !ruby/object:Gem::Version
|
392
|
-
version: 1.2.1
|
393
|
-
- !ruby/object:Gem::Dependency
|
394
|
-
name: sassc-rails
|
395
393
|
requirement: !ruby/object:Gem::Requirement
|
396
394
|
requirements:
|
397
395
|
- - "~>"
|
398
396
|
- !ruby/object:Gem::Version
|
399
|
-
version: 1.
|
397
|
+
version: '1.2'
|
400
398
|
type: :runtime
|
401
399
|
prerelease: false
|
402
400
|
version_requirements: !ruby/object:Gem::Requirement
|
403
401
|
requirements:
|
404
402
|
- - "~>"
|
405
403
|
- !ruby/object:Gem::Version
|
406
|
-
version: 1.
|
404
|
+
version: '1.2'
|
407
405
|
- !ruby/object:Gem::Dependency
|
408
|
-
name:
|
406
|
+
name: sassc-rails
|
409
407
|
requirement: !ruby/object:Gem::Requirement
|
410
408
|
requirements:
|
411
409
|
- - "~>"
|
412
410
|
- !ruby/object:Gem::Version
|
413
|
-
version:
|
411
|
+
version: '1.3'
|
414
412
|
type: :runtime
|
415
413
|
prerelease: false
|
416
414
|
version_requirements: !ruby/object:Gem::Requirement
|
417
415
|
requirements:
|
418
416
|
- - "~>"
|
419
417
|
- !ruby/object:Gem::Version
|
420
|
-
version:
|
418
|
+
version: '1.3'
|
421
419
|
- !ruby/object:Gem::Dependency
|
422
420
|
name: spreadsheet
|
423
421
|
requirement: !ruby/object:Gem::Requirement
|
@@ -466,70 +464,70 @@ dependencies:
|
|
466
464
|
requirements:
|
467
465
|
- - "~>"
|
468
466
|
- !ruby/object:Gem::Version
|
469
|
-
version: 4.0
|
467
|
+
version: '4.0'
|
470
468
|
type: :runtime
|
471
469
|
prerelease: false
|
472
470
|
version_requirements: !ruby/object:Gem::Requirement
|
473
471
|
requirements:
|
474
472
|
- - "~>"
|
475
473
|
- !ruby/object:Gem::Version
|
476
|
-
version: 4.0
|
474
|
+
version: '4.0'
|
477
475
|
- !ruby/object:Gem::Dependency
|
478
476
|
name: valid_email2
|
479
477
|
requirement: !ruby/object:Gem::Requirement
|
480
478
|
requirements:
|
481
479
|
- - "~>"
|
482
480
|
- !ruby/object:Gem::Version
|
483
|
-
version: 2.1
|
481
|
+
version: '2.1'
|
484
482
|
type: :runtime
|
485
483
|
prerelease: false
|
486
484
|
version_requirements: !ruby/object:Gem::Requirement
|
487
485
|
requirements:
|
488
486
|
- - "~>"
|
489
487
|
- !ruby/object:Gem::Version
|
490
|
-
version: 2.1
|
488
|
+
version: '2.1'
|
491
489
|
- !ruby/object:Gem::Dependency
|
492
490
|
name: wisper
|
493
491
|
requirement: !ruby/object:Gem::Requirement
|
494
492
|
requirements:
|
495
493
|
- - "~>"
|
496
494
|
- !ruby/object:Gem::Version
|
497
|
-
version: 2.0
|
495
|
+
version: '2.0'
|
498
496
|
type: :runtime
|
499
497
|
prerelease: false
|
500
498
|
version_requirements: !ruby/object:Gem::Requirement
|
501
499
|
requirements:
|
502
500
|
- - "~>"
|
503
501
|
- !ruby/object:Gem::Version
|
504
|
-
version: 2.0
|
502
|
+
version: '2.0'
|
505
503
|
- !ruby/object:Gem::Dependency
|
506
504
|
name: decidim-api
|
507
505
|
requirement: !ruby/object:Gem::Requirement
|
508
506
|
requirements:
|
509
507
|
- - '='
|
510
508
|
- !ruby/object:Gem::Version
|
511
|
-
version: 0.
|
509
|
+
version: 0.9.0
|
512
510
|
type: :runtime
|
513
511
|
prerelease: false
|
514
512
|
version_requirements: !ruby/object:Gem::Requirement
|
515
513
|
requirements:
|
516
514
|
- - '='
|
517
515
|
- !ruby/object:Gem::Version
|
518
|
-
version: 0.
|
516
|
+
version: 0.9.0
|
519
517
|
- !ruby/object:Gem::Dependency
|
520
518
|
name: decidim-dev
|
521
519
|
requirement: !ruby/object:Gem::Requirement
|
522
520
|
requirements:
|
523
521
|
- - '='
|
524
522
|
- !ruby/object:Gem::Version
|
525
|
-
version: 0.
|
523
|
+
version: 0.9.0
|
526
524
|
type: :development
|
527
525
|
prerelease: false
|
528
526
|
version_requirements: !ruby/object:Gem::Requirement
|
529
527
|
requirements:
|
530
528
|
- - '='
|
531
529
|
- !ruby/object:Gem::Version
|
532
|
-
version: 0.
|
530
|
+
version: 0.9.0
|
533
531
|
description: Adds core features so other engines can hook into the framework.
|
534
532
|
email:
|
535
533
|
- josepjaume@gmail.com
|
@@ -564,6 +562,8 @@ files:
|
|
564
562
|
- app/assets/javascripts/decidim.js.es6
|
565
563
|
- app/assets/javascripts/decidim/account_form.js.es6
|
566
564
|
- app/assets/javascripts/decidim/append_elements.js.es6
|
565
|
+
- app/assets/javascripts/decidim/append_redirect_url_to_modals.js.es6
|
566
|
+
- app/assets/javascripts/decidim/data_picker.js.es6
|
567
567
|
- app/assets/javascripts/decidim/editor.js.es6
|
568
568
|
- app/assets/javascripts/decidim/filters.js.es6
|
569
569
|
- app/assets/javascripts/decidim/form_filter.component.js.es6
|
@@ -574,15 +574,13 @@ files:
|
|
574
574
|
- app/assets/javascripts/decidim/map.js.es6.erb
|
575
575
|
- app/assets/javascripts/decidim/notifications.js.es6
|
576
576
|
- app/assets/javascripts/decidim/orders.js.es6
|
577
|
-
- app/assets/javascripts/decidim/select2.field.js.es6
|
578
|
-
- app/assets/javascripts/decidim/select2.js.es6
|
579
577
|
- app/assets/javascripts/decidim/slug_form.js.es6
|
580
578
|
- app/assets/javascripts/decidim/user_registrations.js.es6
|
581
579
|
- app/assets/javascripts/decidim/widget.js.es6
|
582
580
|
- app/assets/stylesheets/decidim/_decidim.scss
|
583
581
|
- app/assets/stylesheets/decidim/_variables.scss
|
584
582
|
- app/assets/stylesheets/decidim/application.scss.erb
|
585
|
-
- app/assets/stylesheets/decidim/editor.
|
583
|
+
- app/assets/stylesheets/decidim/editor.scss
|
586
584
|
- app/assets/stylesheets/decidim/email.css
|
587
585
|
- app/assets/stylesheets/decidim/extras/_add_comments.scss
|
588
586
|
- app/assets/stylesheets/decidim/extras/_announcement.scss
|
@@ -600,6 +598,7 @@ files:
|
|
600
598
|
- app/assets/stylesheets/decidim/extras/_results-per-page.scss
|
601
599
|
- app/assets/stylesheets/decidim/extras/_social_icons_mini.scss
|
602
600
|
- app/assets/stylesheets/decidim/extras/_status-labels.scss
|
601
|
+
- app/assets/stylesheets/decidim/layouts/_highlighted_banner.scss
|
603
602
|
- app/assets/stylesheets/decidim/layouts/_home.scss
|
604
603
|
- app/assets/stylesheets/decidim/layouts/_user.scss
|
605
604
|
- app/assets/stylesheets/decidim/layouts/_view.scss
|
@@ -612,6 +611,7 @@ files:
|
|
612
611
|
- app/assets/stylesheets/decidim/modules/_cards.scss
|
613
612
|
- app/assets/stylesheets/decidim/modules/_comments.scss
|
614
613
|
- app/assets/stylesheets/decidim/modules/_cookie-bar.scss
|
614
|
+
- app/assets/stylesheets/decidim/modules/_data-picker.scss
|
615
615
|
- app/assets/stylesheets/decidim/modules/_datepicker.scss
|
616
616
|
- app/assets/stylesheets/decidim/modules/_definition-data.scss
|
617
617
|
- app/assets/stylesheets/decidim/modules/_extra.scss
|
@@ -630,6 +630,7 @@ files:
|
|
630
630
|
- app/assets/stylesheets/decidim/modules/_messages.scss
|
631
631
|
- app/assets/stylesheets/decidim/modules/_modules.scss
|
632
632
|
- app/assets/stylesheets/decidim/modules/_navbar.scss
|
633
|
+
- app/assets/stylesheets/decidim/modules/_omnipresent_banner.scss
|
633
634
|
- app/assets/stylesheets/decidim/modules/_opinion-toggle.scss
|
634
635
|
- app/assets/stylesheets/decidim/modules/_order-by.scss
|
635
636
|
- app/assets/stylesheets/decidim/modules/_pagination.scss
|
@@ -637,6 +638,7 @@ files:
|
|
637
638
|
- app/assets/stylesheets/decidim/modules/_process-info.scss
|
638
639
|
- app/assets/stylesheets/decidim/modules/_process-nav.scss
|
639
640
|
- app/assets/stylesheets/decidim/modules/_process-phase.scss
|
641
|
+
- app/assets/stylesheets/decidim/modules/_progress-bar.scss
|
640
642
|
- app/assets/stylesheets/decidim/modules/_reference.scss
|
641
643
|
- app/assets/stylesheets/decidim/modules/_reveal.scss
|
642
644
|
- app/assets/stylesheets/decidim/modules/_share.scss
|
@@ -649,7 +651,6 @@ files:
|
|
649
651
|
- app/assets/stylesheets/decidim/modules/_typography.scss
|
650
652
|
- app/assets/stylesheets/decidim/modules/_user-form.scss
|
651
653
|
- app/assets/stylesheets/decidim/modules/_video.scss
|
652
|
-
- app/assets/stylesheets/decidim/plugins/_select2.scss
|
653
654
|
- app/assets/stylesheets/decidim/utils/_fontface.scss
|
654
655
|
- app/assets/stylesheets/decidim/utils/_helpers.scss
|
655
656
|
- app/assets/stylesheets/decidim/utils/_keyframes.scss
|
@@ -667,6 +668,7 @@ files:
|
|
667
668
|
- app/commands/decidim/messaging/reply_to_conversation.rb
|
668
669
|
- app/commands/decidim/messaging/start_conversation.rb
|
669
670
|
- app/commands/decidim/remove_admin.rb
|
671
|
+
- app/commands/decidim/unsubscribe_settings.rb
|
670
672
|
- app/commands/decidim/update_account.rb
|
671
673
|
- app/commands/decidim/update_notifications_settings.rb
|
672
674
|
- app/constraints/decidim/current_feature.rb
|
@@ -697,14 +699,17 @@ files:
|
|
697
699
|
- app/controllers/decidim/follows_controller.rb
|
698
700
|
- app/controllers/decidim/locales_controller.rb
|
699
701
|
- app/controllers/decidim/messaging/conversations_controller.rb
|
702
|
+
- app/controllers/decidim/newsletters_controller.rb
|
700
703
|
- app/controllers/decidim/notifications_controller.rb
|
701
704
|
- app/controllers/decidim/notifications_settings_controller.rb
|
702
705
|
- app/controllers/decidim/own_user_groups_controller.rb
|
703
706
|
- app/controllers/decidim/pages_controller.rb
|
707
|
+
- app/controllers/decidim/profiles_controller.rb
|
704
708
|
- app/controllers/decidim/reports_controller.rb
|
705
709
|
- app/controllers/decidim/scopes_controller.rb
|
706
710
|
- app/controllers/decidim/static_map_controller.rb
|
707
711
|
- app/controllers/decidim/widgets_controller.rb
|
712
|
+
- app/events/decidim/profile_updated_event.rb
|
708
713
|
- app/forms/decidim/account_form.rb
|
709
714
|
- app/forms/decidim/attachment_form.rb
|
710
715
|
- app/forms/decidim/delete_account_form.rb
|
@@ -725,7 +730,6 @@ files:
|
|
725
730
|
- app/helpers/decidim/authorization_form_helper.rb
|
726
731
|
- app/helpers/decidim/cookies_helper.rb
|
727
732
|
- app/helpers/decidim/cta_button_helper.rb
|
728
|
-
- app/helpers/decidim/datetime_helper.rb
|
729
733
|
- app/helpers/decidim/decidim_form_helper.rb
|
730
734
|
- app/helpers/decidim/feature_path_helper.rb
|
731
735
|
- app/helpers/decidim/feature_reference_helper.rb
|
@@ -739,6 +743,7 @@ files:
|
|
739
743
|
- app/helpers/decidim/menu_helper.rb
|
740
744
|
- app/helpers/decidim/messaging/conversation_helper.rb
|
741
745
|
- app/helpers/decidim/meta_tags_helper.rb
|
746
|
+
- app/helpers/decidim/newsletters_helper.rb
|
742
747
|
- app/helpers/decidim/omniauth_helper.rb
|
743
748
|
- app/helpers/decidim/orders_helper.rb
|
744
749
|
- app/helpers/decidim/paginate_helper.rb
|
@@ -804,7 +809,8 @@ files:
|
|
804
809
|
- app/presenters/decidim/menu_item_presenter.rb
|
805
810
|
- app/presenters/decidim/menu_presenter.rb
|
806
811
|
- app/presenters/decidim/resource_locator_presenter.rb
|
807
|
-
- app/
|
812
|
+
- app/presenters/decidim/user_group_presenter.rb
|
813
|
+
- app/presenters/decidim/user_presenter.rb
|
808
814
|
- app/queries/decidim/messaging/user_conversations.rb
|
809
815
|
- app/queries/decidim/participatory_processes_with_user_role.rb
|
810
816
|
- app/queries/decidim/stats_users_count.rb
|
@@ -865,17 +871,24 @@ files:
|
|
865
871
|
- app/views/decidim/messaging/conversations/show.html.erb
|
866
872
|
- app/views/decidim/messaging/conversations/update.js.erb
|
867
873
|
- app/views/decidim/newsletter_mailer/newsletter.html.erb
|
874
|
+
- app/views/decidim/newsletters/show.html.erb
|
875
|
+
- app/views/decidim/newsletters/unsubscribe.html.erb
|
868
876
|
- app/views/decidim/notification_mailer/event_received.html.erb
|
869
877
|
- app/views/decidim/notifications/_notification.html.erb
|
870
878
|
- app/views/decidim/notifications/index.html.erb
|
871
879
|
- app/views/decidim/notifications_settings/show.html.erb
|
872
880
|
- app/views/decidim/own_user_groups/index.html.erb
|
873
881
|
- app/views/decidim/pages/index.html.erb
|
882
|
+
- app/views/decidim/profiles/show.html.erb
|
874
883
|
- app/views/decidim/reported_mailer/hide.html.erb
|
875
884
|
- app/views/decidim/reported_mailer/report.html.erb
|
885
|
+
- app/views/decidim/scopes/_scopes_picker_input.html.erb
|
886
|
+
- app/views/decidim/scopes/picker.html.erb
|
876
887
|
- app/views/decidim/shared/_action_authorization_modal.html.erb
|
877
888
|
- app/views/decidim/shared/_address_details.html.erb
|
878
889
|
- app/views/decidim/shared/_announcement.html.erb
|
890
|
+
- app/views/decidim/shared/_author.html.erb
|
891
|
+
- app/views/decidim/shared/_author_reference.html.erb
|
879
892
|
- app/views/decidim/shared/_comments.html.erb
|
880
893
|
- app/views/decidim/shared/_embed_modal.html.erb
|
881
894
|
- app/views/decidim/shared/_feature_announcement.html.erb
|
@@ -916,6 +929,7 @@ files:
|
|
916
929
|
- app/views/layouts/decidim/_language_chooser.html.erb
|
917
930
|
- app/views/layouts/decidim/_logo.html.erb
|
918
931
|
- app/views/layouts/decidim/_mailer_logo.html.erb
|
932
|
+
- app/views/layouts/decidim/_omnipresent_banner.html.erb
|
919
933
|
- app/views/layouts/decidim/_social_media_links.html.erb
|
920
934
|
- app/views/layouts/decidim/_user_menu.html.erb
|
921
935
|
- app/views/layouts/decidim/_wrapper.html.erb
|
@@ -928,6 +942,7 @@ files:
|
|
928
942
|
- app/views/pages/home/_extended.html.erb
|
929
943
|
- app/views/pages/home/_footer_sub_hero.html.erb
|
930
944
|
- app/views/pages/home/_hero.html.erb
|
945
|
+
- app/views/pages/home/_highlighted_content_banner.html.erb
|
931
946
|
- app/views/pages/home/_highlighted_processes.html.erb
|
932
947
|
- app/views/pages/home/_statistics.html.erb
|
933
948
|
- app/views/pages/home/_sub_hero.html.erb
|
@@ -941,11 +956,14 @@ files:
|
|
941
956
|
- config/locales/eu.yml
|
942
957
|
- config/locales/fi.yml
|
943
958
|
- config/locales/fr.yml
|
959
|
+
- config/locales/gl.yml
|
944
960
|
- config/locales/it.yml
|
945
961
|
- config/locales/nl.yml
|
946
962
|
- config/locales/pl.yml
|
963
|
+
- config/locales/pt-BR.yml
|
947
964
|
- config/locales/pt.yml
|
948
965
|
- config/locales/ru.yml
|
966
|
+
- config/locales/sv.yml
|
949
967
|
- config/locales/uk.yml
|
950
968
|
- config/routes.rb
|
951
969
|
- db/migrate/20160817115213_devise_create_decidim_users.rb
|
@@ -1023,6 +1041,13 @@ files:
|
|
1023
1041
|
- db/migrate/20171107103253_create_versions.rb
|
1024
1042
|
- db/migrate/20171107103254_add_object_changes_to_versions.rb
|
1025
1043
|
- db/migrate/20171117100533_create_decidim_receipts.rb
|
1044
|
+
- db/migrate/20171212103803_create_unique_nicknames.rb
|
1045
|
+
- db/migrate/20180115090038_extend_user_profile.rb
|
1046
|
+
- db/migrate/20180123125308_add_enable_omnipresent_banner_to_decidim_organizations.rb
|
1047
|
+
- db/migrate/20180123125409_add_omnipresent_banner_title_to_decidim_organizations.rb
|
1048
|
+
- db/migrate/20180123125432_add_omnipresent_banner_short_description_to_decidim_organizations.rb
|
1049
|
+
- db/migrate/20180123125452_add_omnipresent_banner_url_to_decidim_organizations.rb
|
1050
|
+
- db/migrate/20180125063433_add_highlighted_content_banner_to_decidim_organizations.rb
|
1026
1051
|
- db/seeds.rb
|
1027
1052
|
- db/seeds/homepage_image.jpg
|
1028
1053
|
- lib/decidim/abilities.rb
|
@@ -1031,6 +1056,13 @@ files:
|
|
1031
1056
|
- lib/decidim/attributes/time_with_zone.rb
|
1032
1057
|
- lib/decidim/authorable.rb
|
1033
1058
|
- lib/decidim/authorization_form_builder.rb
|
1059
|
+
- lib/decidim/content_parsers.rb
|
1060
|
+
- lib/decidim/content_parsers/base_parser.rb
|
1061
|
+
- lib/decidim/content_parsers/user_parser.rb
|
1062
|
+
- lib/decidim/content_processor.rb
|
1063
|
+
- lib/decidim/content_renderers.rb
|
1064
|
+
- lib/decidim/content_renderers/base_renderer.rb
|
1065
|
+
- lib/decidim/content_renderers/user_renderer.rb
|
1034
1066
|
- lib/decidim/core.rb
|
1035
1067
|
- lib/decidim/core/api.rb
|
1036
1068
|
- lib/decidim/core/api/author_interface.rb
|
@@ -1056,21 +1088,23 @@ files:
|
|
1056
1088
|
- lib/decidim/core/test/shared_examples/has_reference.rb
|
1057
1089
|
- lib/decidim/core/test/shared_examples/has_scope.rb
|
1058
1090
|
- lib/decidim/core/test/shared_examples/localised_email.rb
|
1059
|
-
- lib/decidim/core/test/shared_examples/manage_moderations_examples.rb
|
1060
1091
|
- lib/decidim/core/test/shared_examples/paginated_resource_examples.rb
|
1061
1092
|
- lib/decidim/core/test/shared_examples/process_announcements_examples.rb
|
1062
1093
|
- lib/decidim/core/test/shared_examples/publicable.rb
|
1063
1094
|
- lib/decidim/core/test/shared_examples/reportable.rb
|
1064
1095
|
- lib/decidim/core/test/shared_examples/reports_examples.rb
|
1065
1096
|
- lib/decidim/core/test/shared_examples/scope_helper_examples.rb
|
1097
|
+
- lib/decidim/core/test/shared_examples/simple_event.rb
|
1066
1098
|
- lib/decidim/core/test/shared_examples/user_localised_email_examples.rb
|
1067
1099
|
- lib/decidim/core/version.rb
|
1068
1100
|
- lib/decidim/devise_failure_app.rb
|
1069
1101
|
- lib/decidim/engine_router.rb
|
1070
1102
|
- lib/decidim/events.rb
|
1103
|
+
- lib/decidim/events/author_event.rb
|
1071
1104
|
- lib/decidim/events/base_event.rb
|
1072
1105
|
- lib/decidim/events/email_event.rb
|
1073
1106
|
- lib/decidim/events/notification_event.rb
|
1107
|
+
- lib/decidim/events/simple_event.rb
|
1074
1108
|
- lib/decidim/exporters.rb
|
1075
1109
|
- lib/decidim/exporters/csv.rb
|
1076
1110
|
- lib/decidim/exporters/excel.rb
|
@@ -1088,6 +1122,7 @@ files:
|
|
1088
1122
|
- lib/decidim/filter_form_builder.rb
|
1089
1123
|
- lib/decidim/followable.rb
|
1090
1124
|
- lib/decidim/form_builder.rb
|
1125
|
+
- lib/decidim/friendly_dates.rb
|
1091
1126
|
- lib/decidim/has_attachments.rb
|
1092
1127
|
- lib/decidim/has_category.rb
|
1093
1128
|
- lib/decidim/has_feature.rb
|
@@ -1100,6 +1135,8 @@ files:
|
|
1100
1135
|
- lib/decidim/menu_item.rb
|
1101
1136
|
- lib/decidim/menu_registry.rb
|
1102
1137
|
- lib/decidim/messaging.rb
|
1138
|
+
- lib/decidim/newsletter_encryptor.rb
|
1139
|
+
- lib/decidim/nicknamizable.rb
|
1103
1140
|
- lib/decidim/page_finder.rb
|
1104
1141
|
- lib/decidim/participable.rb
|
1105
1142
|
- lib/decidim/participatory_space_context_manifest.rb
|
@@ -1123,10 +1160,13 @@ files:
|
|
1123
1160
|
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.eu.js
|
1124
1161
|
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.fi.js
|
1125
1162
|
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.fr.js
|
1163
|
+
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.gl.js
|
1126
1164
|
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.it.js
|
1127
1165
|
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.nl.js
|
1166
|
+
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.pt-br.js
|
1128
1167
|
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.pt.js
|
1129
1168
|
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ru.js
|
1169
|
+
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.sv.js
|
1130
1170
|
- vendor/assets/javascripts/datepicker-locales/foundation-datepicker.uk.js
|
1131
1171
|
- vendor/assets/javascripts/form_datepicker.js.es6
|
1132
1172
|
- vendor/assets/javascripts/foundation-datepicker.js
|
@@ -1145,7 +1185,7 @@ files:
|
|
1145
1185
|
- vendor/assets/stylesheets/quill.bubble.css
|
1146
1186
|
- vendor/assets/stylesheets/quill.core.css
|
1147
1187
|
- vendor/assets/stylesheets/quill.snow.css
|
1148
|
-
homepage:
|
1188
|
+
homepage: https://github.com/decidim/decidim
|
1149
1189
|
licenses:
|
1150
1190
|
- AGPL-3.0
|
1151
1191
|
metadata: {}
|
@@ -1165,7 +1205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1165
1205
|
version: '0'
|
1166
1206
|
requirements: []
|
1167
1207
|
rubyforge_project:
|
1168
|
-
rubygems_version: 2.
|
1208
|
+
rubygems_version: 2.7.3
|
1169
1209
|
signing_key:
|
1170
1210
|
specification_version: 4
|
1171
1211
|
summary: The core of the Decidim framework.
|