decidim-core 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/decidim/extras/_callout.scss +5 -0
  3. data/app/assets/stylesheets/decidim/extras/_collection-sort-controls.scss +5 -0
  4. data/app/assets/stylesheets/decidim/extras/_results-per-page.scss +66 -0
  5. data/app/assets/stylesheets/decidim/extras/_status-labels.scss +3 -0
  6. data/app/commands/decidim/invite_user.rb +4 -4
  7. data/app/commands/decidim/{remove_user_role.rb → remove_admin.rb} +5 -7
  8. data/app/controllers/concerns/decidim/needs_authorization.rb +2 -1
  9. data/app/controllers/concerns/decidim/paginable.rb +24 -0
  10. data/app/controllers/decidim/devise/sessions_controller.rb +1 -1
  11. data/app/forms/decidim/{invite_admin_form.rb → invite_user_form.rb} +4 -4
  12. data/app/models/decidim/abilities/{everyone.rb → everyone_ability.rb} +1 -1
  13. data/app/models/decidim/organization.rb +1 -1
  14. data/app/models/decidim/participatory_process_user_role.rb +13 -0
  15. data/app/models/decidim/user.rb +1 -17
  16. data/app/queries/decidim/participatory_processes_with_user_role.rb +46 -0
  17. data/app/views/decidim/shared/_orders.html.erb +1 -1
  18. data/app/views/decidim/shared/_results_per_page.html.erb +18 -0
  19. data/config/locales/ca.yml +4 -2
  20. data/config/locales/en.yml +2 -0
  21. data/config/locales/es.yml +2 -0
  22. data/config/locales/it.yml +32 -46
  23. data/db/migrate/20170713131206_add_admin_to_users.rb +8 -0
  24. data/db/migrate/20170713131308_migrate_user_roles_to_participatory_process_roles.rb +17 -0
  25. data/db/seeds.rb +19 -15
  26. data/lib/decidim/abilities.rb +11 -0
  27. data/lib/decidim/abilities/admin_ability.rb +28 -0
  28. data/lib/decidim/abilities/participatory_process_admin_ability.rb +24 -0
  29. data/lib/decidim/abilities/participatory_process_collaborator_ability.rb +24 -0
  30. data/lib/decidim/abilities/participatory_process_moderator_ability.rb +15 -0
  31. data/lib/decidim/abilities/participatory_process_role_ability.rb +59 -0
  32. data/lib/decidim/core.rb +2 -1
  33. data/lib/decidim/core/engine.rb +5 -1
  34. data/lib/decidim/core/test.rb +1 -0
  35. data/lib/decidim/core/test/factories.rb +20 -9
  36. data/lib/decidim/core/test/shared_examples/has_reference.rb +0 -4
  37. data/lib/decidim/core/test/shared_examples/paginated_resource_examples.rb +26 -0
  38. data/lib/decidim/core/version.rb +1 -1
  39. data/vendor/assets/javascripts/quill.min.js +2 -8
  40. data/vendor/assets/javascripts/quill.min.js.map +1 -1
  41. data/vendor/assets/stylesheets/quill.bubble.css +29 -5
  42. data/vendor/assets/stylesheets/quill.core.css +11 -5
  43. data/vendor/assets/stylesheets/quill.snow.css +29 -5
  44. metadata +32 -15

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.