spina 2.1.1 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spina might be problematic. Click here for more details.

Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/spina/manifest.js +1 -0
  3. data/app/assets/javascripts/spina/application.js +2 -0
  4. data/app/assets/javascripts/spina/controllers/attachment_picker_controller.js +1 -1
  5. data/app/assets/javascripts/spina/controllers/autofocus_controller.js +1 -1
  6. data/app/assets/javascripts/spina/controllers/button_controller.js +1 -1
  7. data/app/assets/javascripts/spina/controllers/confetti_controller.js +2 -2
  8. data/app/assets/javascripts/spina/controllers/confirm_controller.js +1 -1
  9. data/app/assets/javascripts/spina/controllers/delegate_click_controller.js +1 -1
  10. data/app/assets/javascripts/spina/controllers/exists_controller.js +1 -1
  11. data/app/assets/javascripts/spina/controllers/form_controller.js +2 -2
  12. data/app/assets/javascripts/spina/controllers/hotkeys_controller.js +2 -2
  13. data/app/assets/javascripts/spina/controllers/image_collection_controller.js +2 -2
  14. data/app/assets/javascripts/spina/controllers/image_fade_in_controller.js +1 -1
  15. data/app/assets/javascripts/spina/controllers/infinite_scroll_controller.js +1 -1
  16. data/app/assets/javascripts/spina/controllers/loading_button_controller.js +1 -1
  17. data/app/assets/javascripts/spina/controllers/media_picker_controller.js +1 -1
  18. data/app/assets/javascripts/spina/controllers/media_picker_modal_controller.js +1 -1
  19. data/app/assets/javascripts/spina/controllers/modal_controller.js +1 -1
  20. data/app/assets/javascripts/spina/controllers/navigation_controller.js +1 -1
  21. data/app/assets/javascripts/spina/controllers/parent_pages_controller.js +1 -1
  22. data/app/assets/javascripts/spina/controllers/repeater_controller.js +2 -2
  23. data/app/assets/javascripts/spina/controllers/select_placeholder_controller.js +1 -1
  24. data/app/assets/javascripts/spina/controllers/selectable_controller.js +1 -1
  25. data/app/assets/javascripts/spina/controllers/shortcuts_controller.js +1 -1
  26. data/app/assets/javascripts/spina/controllers/sortable_controller.js +3 -3
  27. data/app/assets/javascripts/spina/controllers/switch_controller.js +1 -1
  28. data/app/assets/javascripts/spina/controllers/tabs_controller.js +1 -1
  29. data/app/assets/javascripts/spina/controllers/toggle_controller.js +1 -1
  30. data/app/assets/javascripts/spina/controllers/trix_controller.js +1 -1
  31. data/app/assets/javascripts/spina/controllers/unique_id_controller.js +1 -1
  32. data/app/assets/javascripts/spina/libraries/stimulus-reveal@1.2.4.js +1 -1
  33. data/app/assets/stylesheets/spina/_tailwind.css +110078 -105581
  34. data/app/components/spina/media_picker/modal_component.html.erb +2 -2
  35. data/app/controllers/concerns/spina/api/paginable.rb +44 -0
  36. data/app/controllers/concerns/spina/current_account.rb +17 -0
  37. data/app/controllers/concerns/spina/current_theme.rb +17 -0
  38. data/app/controllers/spina/admin/admin_controller.rb +3 -10
  39. data/app/controllers/spina/admin/pages_controller.rb +2 -2
  40. data/app/controllers/spina/admin/password_resets_controller.rb +1 -1
  41. data/app/controllers/spina/admin/sessions_controller.rb +1 -1
  42. data/app/controllers/spina/admin/users_controller.rb +11 -1
  43. data/app/controllers/spina/api/api_controller.rb +29 -0
  44. data/app/controllers/spina/api/images_controller.rb +12 -0
  45. data/app/controllers/spina/api/navigations_controller.rb +20 -0
  46. data/app/controllers/spina/api/pages_controller.rb +26 -0
  47. data/app/controllers/spina/api/resources_controller.rb +19 -0
  48. data/app/controllers/spina/application_controller.rb +2 -1
  49. data/app/controllers/spina/pages_controller.rb +5 -5
  50. data/app/helpers/spina/attachments_helper.rb +1 -1
  51. data/app/helpers/spina/images_helper.rb +1 -5
  52. data/app/helpers/spina/spina_helper.rb +5 -8
  53. data/app/models/spina/page.rb +1 -1
  54. data/app/serializers/spina/api/base_serializer.rb +6 -0
  55. data/app/serializers/spina/api/image_serializer.rb +20 -0
  56. data/app/serializers/spina/api/navigation_serializer.rb +30 -0
  57. data/app/serializers/spina/api/page_serializer.rb +28 -0
  58. data/app/serializers/spina/api/resource_serializer.rb +12 -0
  59. data/app/views/layouts/spina/admin/application.html.erb +3 -7
  60. data/app/views/spina/admin/attachments/_attachment.html.erb +5 -0
  61. data/app/views/spina/admin/shared/_navigation.html.erb +15 -10
  62. data/config/locales/en.yml +1 -0
  63. data/config/locales/ru.yml +199 -177
  64. data/config/routes.rb +10 -0
  65. data/lib/generators/spina/templates/config/initializers/spina.rb +48 -13
  66. data/lib/spina.rb +35 -30
  67. data/lib/spina/authentication/basic.rb +24 -0
  68. data/lib/spina/authentication/sessions.rb +32 -0
  69. data/lib/spina/engine.rb +18 -7
  70. data/lib/spina/railtie.rb +1 -1
  71. data/lib/spina/version.rb +1 -1
  72. data/lib/tasks/spina_tasks.rake +1 -1
  73. metadata +65 -10
  74. data/app/assets/javascripts/spina/importmap.json.erb +0 -5
  75. data/app/controllers/concerns/spina/current_methods.rb +0 -34
  76. data/lib/spina/importmap_helper.rb +0 -37

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.