spina 2.1.0 → 2.3.1

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 (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/app/assets/config/spina/manifest.js +1 -0
  4. data/app/assets/javascripts/spina/application.js +2 -0
  5. data/app/assets/javascripts/spina/controllers/attachment_picker_controller.js +15 -0
  6. data/app/assets/javascripts/spina/controllers/autofocus_controller.js +1 -1
  7. data/app/assets/javascripts/spina/controllers/button_controller.js +1 -1
  8. data/app/assets/javascripts/spina/controllers/confetti_controller.js +2 -2
  9. data/app/assets/javascripts/spina/controllers/confirm_controller.js +1 -1
  10. data/app/assets/javascripts/spina/controllers/delegate_click_controller.js +1 -1
  11. data/app/assets/javascripts/spina/controllers/exists_controller.js +1 -1
  12. data/app/assets/javascripts/spina/controllers/form_controller.js +2 -2
  13. data/app/assets/javascripts/spina/controllers/hotkeys_controller.js +2 -2
  14. data/app/assets/javascripts/spina/controllers/image_collection_controller.js +2 -2
  15. data/app/assets/javascripts/spina/controllers/image_fade_in_controller.js +1 -1
  16. data/app/assets/javascripts/spina/controllers/infinite_scroll_controller.js +1 -1
  17. data/app/assets/javascripts/spina/controllers/loading_button_controller.js +1 -1
  18. data/app/assets/javascripts/spina/controllers/media_picker_controller.js +1 -1
  19. data/app/assets/javascripts/spina/controllers/media_picker_modal_controller.js +1 -1
  20. data/app/assets/javascripts/spina/controllers/modal_controller.js +1 -1
  21. data/app/assets/javascripts/spina/controllers/navigation_controller.js +1 -1
  22. data/app/assets/javascripts/spina/controllers/parent_pages_controller.js +1 -1
  23. data/app/assets/javascripts/spina/controllers/repeater_controller.js +2 -2
  24. data/app/assets/javascripts/spina/controllers/select_placeholder_controller.js +1 -1
  25. data/app/assets/javascripts/spina/controllers/selectable_controller.js +1 -1
  26. data/app/assets/javascripts/spina/controllers/shortcuts_controller.js +1 -1
  27. data/app/assets/javascripts/spina/controllers/sortable_controller.js +3 -3
  28. data/app/assets/javascripts/spina/controllers/switch_controller.js +1 -1
  29. data/app/assets/javascripts/spina/controllers/tabs_controller.js +1 -1
  30. data/app/assets/javascripts/spina/controllers/toggle_controller.js +1 -1
  31. data/app/assets/javascripts/spina/controllers/trix_controller.js +1 -1
  32. data/app/assets/javascripts/spina/controllers/unique_id_controller.js +1 -1
  33. data/app/assets/javascripts/spina/libraries/stimulus-reveal@1.2.4.js +1 -1
  34. data/app/assets/stylesheets/spina/_tailwind.css +110078 -105581
  35. data/app/components/spina/media_picker/modal_component.html.erb +2 -2
  36. data/app/controllers/concerns/spina/api/paginable.rb +44 -0
  37. data/app/controllers/concerns/spina/current_account.rb +17 -0
  38. data/app/controllers/concerns/spina/current_theme.rb +17 -0
  39. data/app/controllers/spina/admin/admin_controller.rb +3 -10
  40. data/app/controllers/spina/admin/pages_controller.rb +2 -2
  41. data/app/controllers/spina/admin/password_resets_controller.rb +1 -1
  42. data/app/controllers/spina/admin/sessions_controller.rb +1 -1
  43. data/app/controllers/spina/admin/users_controller.rb +11 -1
  44. data/app/controllers/spina/api/api_controller.rb +29 -0
  45. data/app/controllers/spina/api/images_controller.rb +12 -0
  46. data/app/controllers/spina/api/navigations_controller.rb +20 -0
  47. data/app/controllers/spina/api/pages_controller.rb +26 -0
  48. data/app/controllers/spina/api/resources_controller.rb +19 -0
  49. data/app/controllers/spina/application_controller.rb +2 -1
  50. data/app/controllers/spina/pages_controller.rb +5 -5
  51. data/app/helpers/spina/attachments_helper.rb +1 -1
  52. data/app/helpers/spina/images_helper.rb +1 -5
  53. data/app/helpers/spina/spina_helper.rb +5 -8
  54. data/app/models/spina/attachment.rb +4 -0
  55. data/app/models/spina/page.rb +1 -1
  56. data/app/serializers/spina/api/base_serializer.rb +6 -0
  57. data/app/serializers/spina/api/image_serializer.rb +20 -0
  58. data/app/serializers/spina/api/navigation_serializer.rb +30 -0
  59. data/app/serializers/spina/api/page_serializer.rb +28 -0
  60. data/app/serializers/spina/api/resource_serializer.rb +12 -0
  61. data/app/views/layouts/spina/admin/application.html.erb +3 -7
  62. data/app/views/spina/admin/attachments/_attachment.html.erb +5 -0
  63. data/app/views/spina/admin/attachments/index.html.erb +1 -1
  64. data/app/views/spina/admin/parts/attachments/_form.html.erb +2 -2
  65. data/app/views/spina/admin/shared/_navigation.html.erb +18 -13
  66. data/config/locales/TH.yml +1 -0
  67. data/config/locales/bg.yml +1 -0
  68. data/config/locales/de.yml +177 -166
  69. data/config/locales/en.yml +7 -0
  70. data/config/locales/es.yml +133 -130
  71. data/config/locales/fr.yml +1 -0
  72. data/config/locales/id.yml +1 -0
  73. data/config/locales/it.yml +1 -0
  74. data/config/locales/nl.yml +1 -0
  75. data/config/locales/pl.yml +1 -0
  76. data/config/locales/pt-BR.yml +1 -0
  77. data/config/locales/ro.yml +1 -0
  78. data/config/locales/ru.yml +199 -176
  79. data/config/locales/sv.yml +1 -0
  80. data/config/locales/tr.yml +1 -0
  81. data/config/locales/zh-CN.yml +1 -0
  82. data/config/routes.rb +10 -0
  83. data/lib/generators/spina/templates/config/initializers/spina.rb +48 -13
  84. data/lib/generators/spina/templates/config/initializers/themes/demo.rb +1 -1
  85. data/lib/spina.rb +36 -30
  86. data/lib/spina/authentication/basic.rb +24 -0
  87. data/lib/spina/authentication/sessions.rb +32 -0
  88. data/lib/spina/engine.rb +18 -7
  89. data/lib/spina/railtie.rb +1 -1
  90. data/lib/spina/version.rb +1 -1
  91. data/lib/tasks/spina_tasks.rake +1 -1
  92. metadata +66 -10
  93. data/app/assets/javascripts/spina/importmap.json.erb +0 -5
  94. data/app/controllers/concerns/spina/current_methods.rb +0 -34
  95. 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.