avo 0.5.0.beta8 → 0.5.0.beta13

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

Potentially problematic release.


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

Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +46 -50
  3. data/Gemfile.lock +3 -8
  4. data/Rakefile +14 -14
  5. data/app/components/avo/common/multiple_file_viewer_component.rb +1 -1
  6. data/app/components/avo/common/single_file_viewer_component.rb +1 -1
  7. data/app/components/avo/edit/field_wrapper_component.rb +3 -3
  8. data/app/components/avo/edit/fields/trix_field_component.html.erb +1 -1
  9. data/app/components/avo/index/field_wrapper_component.rb +1 -1
  10. data/app/components/avo/index/grid_item_component.rb +10 -9
  11. data/app/components/avo/index/resource_controls_component.rb +2 -2
  12. data/app/components/avo/panel_component.rb +7 -6
  13. data/app/components/avo/resource_component.rb +4 -3
  14. data/app/components/avo/show/field_wrapper_component.rb +3 -3
  15. data/app/components/avo/views/resource_edit_component.rb +4 -3
  16. data/app/components/avo/views/resource_index_component.rb +8 -7
  17. data/app/components/avo/views/resource_new_component.rb +4 -3
  18. data/app/components/avo/views/resource_show_component.rb +21 -21
  19. data/app/controllers/avo/actions_controller.rb +30 -29
  20. data/app/controllers/avo/application_controller.rb +113 -126
  21. data/app/controllers/avo/attachments_controller.rb +3 -3
  22. data/app/controllers/avo/base_controller.rb +81 -80
  23. data/app/controllers/avo/home_controller.rb +2 -2
  24. data/app/controllers/avo/relations_controller.rb +29 -28
  25. data/app/controllers/avo/resources_controller.rb +1 -1
  26. data/app/controllers/avo/search_controller.rb +20 -19
  27. data/app/helpers/avo/application_helper.rb +48 -42
  28. data/app/helpers/avo/resources_helper.rb +11 -11
  29. data/app/mailers/avo/application_mailer.rb +2 -2
  30. data/app/packs/entrypoints/application.js +9 -4
  31. data/app/packs/images/logo.png +0 -0
  32. data/app/packs/js/controllers/fields/code_field_controller.js +14 -14
  33. data/app/packs/js/controllers/filter_controller.js +9 -8
  34. data/app/packs/js/toastr.js +1 -0
  35. data/app/packs/stylesheets/components/code.css +0 -16
  36. data/avo.gemspec +30 -31
  37. data/bin/webpack +1 -0
  38. data/config/initializers/pagy.rb +1 -1
  39. data/config/routes.rb +12 -12
  40. data/config/spring.rb +5 -5
  41. data/config/webpack/base.js +3 -3
  42. data/config/webpacker.yml +32 -0
  43. data/db/factories.rb +3 -5
  44. data/lib/avo.rb +6 -6
  45. data/lib/avo/app.rb +18 -18
  46. data/lib/avo/base_action.rb +20 -20
  47. data/lib/avo/base_resource.rb +41 -45
  48. data/lib/avo/configuration.rb +16 -18
  49. data/lib/avo/engine.rb +18 -18
  50. data/lib/avo/fields/badge_field.rb +2 -2
  51. data/lib/avo/fields/base_field.rb +25 -26
  52. data/lib/avo/fields/belongs_to_field.rb +13 -12
  53. data/lib/avo/fields/boolean_field.rb +4 -4
  54. data/lib/avo/fields/boolean_group_field.rb +3 -3
  55. data/lib/avo/fields/code_field.rb +4 -4
  56. data/lib/avo/fields/country_field.rb +2 -2
  57. data/lib/avo/fields/currency_field.rb +3 -3
  58. data/lib/avo/fields/date_field.rb +3 -3
  59. data/lib/avo/fields/date_time_field.rb +2 -2
  60. data/lib/avo/fields/external_image_field.rb +2 -2
  61. data/lib/avo/fields/field_extensions/has_field_name.rb +2 -2
  62. data/lib/avo/fields/field_extensions/visible_in_different_views.rb +34 -33
  63. data/lib/avo/fields/file_field.rb +1 -1
  64. data/lib/avo/fields/files_field.rb +2 -2
  65. data/lib/avo/fields/gravatar_field.rb +9 -9
  66. data/lib/avo/fields/has_and_belongs_to_many_field.rb +1 -1
  67. data/lib/avo/fields/has_many_field.rb +1 -1
  68. data/lib/avo/fields/has_one_field.rb +2 -2
  69. data/lib/avo/fields/heading_field.rb +2 -2
  70. data/lib/avo/fields/hidden_field.rb +1 -1
  71. data/lib/avo/fields/id_field.rb +3 -3
  72. data/lib/avo/fields/key_value_field.rb +12 -12
  73. data/lib/avo/fields/markdown_field.rb +2 -2
  74. data/lib/avo/fields/number_field.rb +3 -3
  75. data/lib/avo/fields/password_field.rb +1 -1
  76. data/lib/avo/fields/select_field.rb +8 -12
  77. data/lib/avo/fields/status_field.rb +4 -4
  78. data/lib/avo/fields/text_field.rb +2 -2
  79. data/lib/avo/fields/textarea_field.rb +2 -2
  80. data/lib/avo/fields/trix_field.rb +1 -1
  81. data/lib/avo/fields_collector.rb +4 -5
  82. data/lib/avo/filters/base_filter.rb +6 -6
  83. data/lib/avo/filters/boolean_filter.rb +1 -1
  84. data/lib/avo/filters/select_filter.rb +1 -1
  85. data/lib/avo/licensing/h_q.rb +56 -55
  86. data/lib/avo/licensing/license.rb +5 -5
  87. data/lib/avo/licensing/license_manager.rb +4 -4
  88. data/lib/avo/licensing/null_license.rb +2 -2
  89. data/lib/avo/licensing/pro_license.rb +1 -1
  90. data/lib/avo/loaders/fields_loader.rb +4 -4
  91. data/lib/avo/services/authorization_service.rb +2 -2
  92. data/lib/avo/services/panel_service.rb +4 -4
  93. data/lib/avo/version.rb +1 -1
  94. data/lib/generators/avo/action_generator.rb +4 -4
  95. data/lib/generators/avo/controller_generator.rb +4 -4
  96. data/lib/generators/avo/filter_generator.rb +5 -5
  97. data/lib/generators/avo/install_generator.rb +8 -8
  98. data/lib/generators/avo/locales_generator.rb +5 -5
  99. data/lib/generators/avo/partials_generator.rb +4 -4
  100. data/lib/generators/avo/resource_generator.rb +5 -5
  101. data/lib/generators/avo/templates/action.tt +0 -4
  102. data/lib/generators/avo/templates/resource/resource.tt +3 -13
  103. data/lib/tasks/avo_tasks.rake +0 -60
  104. data/public/avo-packs/css/{application-5bb09ba4.css → application-9d115b7e.css} +124 -276
  105. data/public/avo-packs/css/application-9d115b7e.css.br +0 -0
  106. data/public/avo-packs/css/application-9d115b7e.css.gz +0 -0
  107. data/public/avo-packs/css/application-9d115b7e.css.map +1 -0
  108. data/public/avo-packs/css/application-9d115b7e.css.map.br +0 -0
  109. data/public/avo-packs/css/application-9d115b7e.css.map.gz +0 -0
  110. data/public/avo-packs/js/application-4751feac1bb0404b9c47.js +26 -0
  111. data/public/avo-packs/js/{application-86a3ea5a835b0c758203.js.LICENSE.txt → application-4751feac1bb0404b9c47.js.LICENSE.txt} +0 -0
  112. data/public/avo-packs/js/application-4751feac1bb0404b9c47.js.br +0 -0
  113. data/public/avo-packs/js/application-4751feac1bb0404b9c47.js.gz +0 -0
  114. data/public/avo-packs/js/application-4751feac1bb0404b9c47.js.map +1 -0
  115. data/public/avo-packs/js/application-4751feac1bb0404b9c47.js.map.br +0 -0
  116. data/public/avo-packs/js/application-4751feac1bb0404b9c47.js.map.gz +0 -0
  117. data/public/avo-packs/manifest.json +16 -16
  118. data/public/avo-packs/media/images/dadf2db36589607d107d.png +0 -0
  119. metadata +16 -31
  120. data/config/initializers/inline_svg.rb +0 -33
  121. data/public/avo-packs/css/application-5bb09ba4.css.br +0 -0
  122. data/public/avo-packs/css/application-5bb09ba4.css.gz +0 -0
  123. data/public/avo-packs/css/application-5bb09ba4.css.map +0 -1
  124. data/public/avo-packs/css/application-5bb09ba4.css.map.br +0 -0
  125. data/public/avo-packs/css/application-5bb09ba4.css.map.gz +0 -0
  126. data/public/avo-packs/js/application-86a3ea5a835b0c758203.js +0 -26
  127. data/public/avo-packs/js/application-86a3ea5a835b0c758203.js.br +0 -0
  128. data/public/avo-packs/js/application-86a3ea5a835b0c758203.js.gz +0 -0
  129. data/public/avo-packs/js/application-86a3ea5a835b0c758203.js.map +0 -1
  130. data/public/avo-packs/js/application-86a3ea5a835b0c758203.js.map.br +0 -0
  131. data/public/avo-packs/js/application-86a3ea5a835b0c758203.js.map.gz +0 -0
  132. data/public/avo-packs/media/images/f1b4befac91a3336db9a.png +0 -0

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.