decidim-core 0.0.7 → 0.0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_core_manifest.js +3 -0
  3. data/app/assets/javascripts/decidim.js.es6 +8 -0
  4. data/app/assets/javascripts/decidim/widget.js.es6 +14 -0
  5. data/app/assets/stylesheets/decidim/extras/_embed.scss +11 -0
  6. data/app/assets/stylesheets/decidim/modules/_datepicker.scss +224 -0
  7. data/app/assets/stylesheets/decidim/modules/_modules.scss +1 -0
  8. data/app/assets/stylesheets/decidim/modules/_share.scss +1 -1
  9. data/app/assets/stylesheets/decidim/widget.scss.erb +25 -0
  10. data/app/controllers/decidim/participatory_process_widgets_controller.rb +17 -0
  11. data/app/controllers/decidim/participatory_processes_controller.rb +1 -0
  12. data/app/controllers/decidim/widgets_controller.rb +30 -0
  13. data/app/helpers/decidim/widget_urls_helper.rb +10 -0
  14. data/app/views/decidim/participatory_process_widgets/show.html.erb +28 -0
  15. data/app/views/decidim/participatory_processes/show.html.erb +1 -0
  16. data/app/views/decidim/shared/_embed_modal.html.erb +19 -0
  17. data/app/views/decidim/widgets/show.js.erb +22 -0
  18. data/app/views/layouts/decidim/_application.html.erb +1 -1
  19. data/app/views/layouts/decidim/widget.html.erb +17 -0
  20. data/config/locales/ca.yml +9 -1
  21. data/config/locales/en.yml +9 -1
  22. data/config/locales/es.yml +9 -1
  23. data/config/locales/eu.yml +0 -2
  24. data/config/locales/fi.yml +0 -2
  25. data/config/locales/fr.yml +9 -0
  26. data/config/locales/nl.yml +373 -0
  27. data/config/routes.rb +1 -0
  28. data/db/migrate/20170404132616_change_steps_end_and_start_date_to_date.rb +6 -0
  29. data/lib/decidim/core/version.rb +2 -2
  30. data/lib/decidim/form_builder.rb +33 -0
  31. data/lib/decidim/has_reference.rb +3 -2
  32. data/lib/tasks/decidim_tasks.rake +0 -5
  33. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ca.js +17 -0
  34. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.es.js +14 -0
  35. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.eu.js +15 -0
  36. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.fi.js +14 -0
  37. data/vendor/assets/javascripts/form_datepicker.js.es6 +30 -0
  38. data/vendor/assets/javascripts/foundation-datepicker.js +1417 -0
  39. metadata +32 -12
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.0.7
4
+ version: 0.0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-04-07 00:00:00.000000000 Z
13
+ date: 2017-04-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -430,70 +430,70 @@ dependencies:
430
430
  requirements:
431
431
  - - '='
432
432
  - !ruby/object:Gem::Version
433
- version: 0.0.7
433
+ version: 0.0.8.1
434
434
  type: :runtime
435
435
  prerelease: false
436
436
  version_requirements: !ruby/object:Gem::Requirement
437
437
  requirements:
438
438
  - - '='
439
439
  - !ruby/object:Gem::Version
440
- version: 0.0.7
440
+ version: 0.0.8.1
441
441
  - !ruby/object:Gem::Dependency
442
442
  name: decidim-dev
443
443
  requirement: !ruby/object:Gem::Requirement
444
444
  requirements:
445
445
  - - '='
446
446
  - !ruby/object:Gem::Version
447
- version: 0.0.7
447
+ version: 0.0.8.1
448
448
  type: :development
449
449
  prerelease: false
450
450
  version_requirements: !ruby/object:Gem::Requirement
451
451
  requirements:
452
452
  - - '='
453
453
  - !ruby/object:Gem::Version
454
- version: 0.0.7
454
+ version: 0.0.8.1
455
455
  - !ruby/object:Gem::Dependency
456
456
  name: decidim-proposals
457
457
  requirement: !ruby/object:Gem::Requirement
458
458
  requirements:
459
459
  - - '='
460
460
  - !ruby/object:Gem::Version
461
- version: 0.0.7
461
+ version: 0.0.8.1
462
462
  type: :development
463
463
  prerelease: false
464
464
  version_requirements: !ruby/object:Gem::Requirement
465
465
  requirements:
466
466
  - - '='
467
467
  - !ruby/object:Gem::Version
468
- version: 0.0.7
468
+ version: 0.0.8.1
469
469
  - !ruby/object:Gem::Dependency
470
470
  name: decidim-meetings
471
471
  requirement: !ruby/object:Gem::Requirement
472
472
  requirements:
473
473
  - - '='
474
474
  - !ruby/object:Gem::Version
475
- version: 0.0.7
475
+ version: 0.0.8.1
476
476
  type: :development
477
477
  prerelease: false
478
478
  version_requirements: !ruby/object:Gem::Requirement
479
479
  requirements:
480
480
  - - '='
481
481
  - !ruby/object:Gem::Version
482
- version: 0.0.7
482
+ version: 0.0.8.1
483
483
  - !ruby/object:Gem::Dependency
484
484
  name: decidim-results
485
485
  requirement: !ruby/object:Gem::Requirement
486
486
  requirements:
487
487
  - - '='
488
488
  - !ruby/object:Gem::Version
489
- version: 0.0.7
489
+ version: 0.0.8.1
490
490
  type: :development
491
491
  prerelease: false
492
492
  version_requirements: !ruby/object:Gem::Requirement
493
493
  requirements:
494
494
  - - '='
495
495
  - !ruby/object:Gem::Version
496
- version: 0.0.7
496
+ version: 0.0.8.1
497
497
  description: Adds core features so other engines can hook into the framework.
498
498
  email:
499
499
  - josepjaume@gmail.com
@@ -536,11 +536,13 @@ files:
536
536
  - app/assets/javascripts/decidim/map.js.es6.erb
537
537
  - app/assets/javascripts/decidim/orders.js.es6
538
538
  - app/assets/javascripts/decidim/user_registrations.js.es6
539
+ - app/assets/javascripts/decidim/widget.js.es6
539
540
  - app/assets/stylesheets/decidim/_decidim.scss
540
541
  - app/assets/stylesheets/decidim/_variables.scss
541
542
  - app/assets/stylesheets/decidim/application.scss.erb
542
543
  - app/assets/stylesheets/decidim/editor.sass
543
544
  - app/assets/stylesheets/decidim/email.css
545
+ - app/assets/stylesheets/decidim/extras/_embed.scss
544
546
  - app/assets/stylesheets/decidim/extras/_leaflet.scss
545
547
  - app/assets/stylesheets/decidim/extras/_quill.scss
546
548
  - app/assets/stylesheets/decidim/extras/_register_form.scss
@@ -556,6 +558,7 @@ files:
556
558
  - app/assets/stylesheets/decidim/modules/_cards.scss
557
559
  - app/assets/stylesheets/decidim/modules/_comments.scss
558
560
  - app/assets/stylesheets/decidim/modules/_cookie-bar.scss
561
+ - app/assets/stylesheets/decidim/modules/_datepicker.scss
559
562
  - app/assets/stylesheets/decidim/modules/_definition-data.scss
560
563
  - app/assets/stylesheets/decidim/modules/_extra.scss
561
564
  - app/assets/stylesheets/decidim/modules/_filter-tags.scss
@@ -596,6 +599,7 @@ files:
596
599
  - app/assets/stylesheets/decidim/utils/_mixins.scss
597
600
  - app/assets/stylesheets/decidim/utils/_settings.scss
598
601
  - app/assets/stylesheets/decidim/utils/_toggle-expand.scss
602
+ - app/assets/stylesheets/decidim/widget.scss.erb
599
603
  - app/commands/decidim/authorize_user.rb
600
604
  - app/commands/decidim/create_omniauth_registration.rb
601
605
  - app/commands/decidim/create_registration.rb
@@ -634,9 +638,11 @@ files:
634
638
  - app/controllers/decidim/pages_controller.rb
635
639
  - app/controllers/decidim/participatory_process_groups_controller.rb
636
640
  - app/controllers/decidim/participatory_process_steps_controller.rb
641
+ - app/controllers/decidim/participatory_process_widgets_controller.rb
637
642
  - app/controllers/decidim/participatory_processes_controller.rb
638
643
  - app/controllers/decidim/reports_controller.rb
639
644
  - app/controllers/decidim/static_map_controller.rb
645
+ - app/controllers/decidim/widgets_controller.rb
640
646
  - app/forms/decidim/account_form.rb
641
647
  - app/forms/decidim/form.rb
642
648
  - app/forms/decidim/invite_admin_form.rb
@@ -670,6 +676,7 @@ files:
670
676
  - app/helpers/decidim/resource_helper.rb
671
677
  - app/helpers/decidim/translations_helper.rb
672
678
  - app/helpers/decidim/user_profile_helper.rb
679
+ - app/helpers/decidim/widget_urls_helper.rb
673
680
  - app/jobs/decidim/application_job.rb
674
681
  - app/mailers/concerns/decidim/localised_mailer.rb
675
682
  - app/mailers/decidim/application_mailer.rb
@@ -750,6 +757,7 @@ files:
750
757
  - app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb
751
758
  - app/views/decidim/participatory_process_steps/_timeline.html.erb
752
759
  - app/views/decidim/participatory_process_steps/index.html.erb
760
+ - app/views/decidim/participatory_process_widgets/show.html.erb
753
761
  - app/views/decidim/participatory_processes/_no_processes_yet.html.erb
754
762
  - app/views/decidim/participatory_processes/_order_by_processes.html.erb
755
763
  - app/views/decidim/participatory_processes/_participatory_process.html.erb
@@ -761,11 +769,13 @@ files:
761
769
  - app/views/decidim/shared/_action_authorization_modal.html.erb
762
770
  - app/views/decidim/shared/_address_details.html.erb
763
771
  - app/views/decidim/shared/_comments.html.erb
772
+ - app/views/decidim/shared/_embed_modal.html.erb
764
773
  - app/views/decidim/shared/_flag_modal.html.erb
765
774
  - app/views/decidim/shared/_login_modal.html.erb
766
775
  - app/views/decidim/shared/_orders.html.erb
767
776
  - app/views/decidim/shared/_share_modal.html.erb
768
777
  - app/views/decidim/shared/_static_map.html.erb
778
+ - app/views/decidim/widgets/show.js.erb
769
779
  - app/views/devise/mailer/confirmation_instructions.html.erb
770
780
  - app/views/devise/mailer/invite_admin.html.erb
771
781
  - app/views/devise/mailer/invite_admin.text.erb
@@ -799,6 +809,7 @@ files:
799
809
  - app/views/layouts/decidim/mailer.html.erb
800
810
  - app/views/layouts/decidim/participatory_process.html.erb
801
811
  - app/views/layouts/decidim/user_profile.html.erb
812
+ - app/views/layouts/decidim/widget.html.erb
802
813
  - app/views/pages/404.html.erb
803
814
  - app/views/pages/500.html.erb
804
815
  - app/views/pages/decidim_page.html.erb
@@ -819,6 +830,8 @@ files:
819
830
  - config/locales/es.yml
820
831
  - config/locales/eu.yml
821
832
  - config/locales/fi.yml
833
+ - config/locales/fr.yml
834
+ - config/locales/nl.yml
822
835
  - config/routes.rb
823
836
  - config/secrets.yml
824
837
  - db/migrate/20160817115213_devise_create_decidim_users.rb
@@ -883,6 +896,7 @@ files:
883
896
  - db/migrate/20170307084957_create_reports.rb
884
897
  - db/migrate/20170308091316_create_moderations.rb
885
898
  - db/migrate/20170313095436_add_available_authorizations_to_organization.rb
899
+ - db/migrate/20170404132616_change_steps_end_and_start_date_to_date.rb
886
900
  - db/migrate/20170405091801_change_decidim_user_email_index_uniqueness.rb
887
901
  - db/migrate/20170405094028_add_organization_to_identities.rb
888
902
  - db/migrate/20170405094258_change_decidim_identities_provider_uid_index_uniqueness.rb
@@ -947,6 +961,12 @@ files:
947
961
  - lib/tasks/decidim_tasks.rake
948
962
  - lib/tasks/factory_girl.rake
949
963
  - vendor/assets/javascripts/appendAround.js
964
+ - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ca.js
965
+ - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.es.js
966
+ - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.eu.js
967
+ - vendor/assets/javascripts/datepicker-locales/foundation-datepicker.fi.js
968
+ - vendor/assets/javascripts/form_datepicker.js.es6
969
+ - vendor/assets/javascripts/foundation-datepicker.js
950
970
  - vendor/assets/javascripts/leaflet-svg-icon.js
951
971
  - vendor/assets/javascripts/leaflet-tilelayer-here.js
952
972
  - vendor/assets/javascripts/leaflet.js