avo 2.0.0 → 2.1.2.pre1

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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +3 -3
  4. data/app/assets/builds/avo.css +8810 -0
  5. data/app/assets/builds/avo.js +423 -0
  6. data/app/assets/builds/avo.js.map +7 -0
  7. data/app/assets/stylesheets/avo.css +1 -1
  8. data/app/assets/svgs/save.svg +8 -1
  9. data/app/components/avo/actions_component.html.erb +1 -1
  10. data/app/components/avo/alert_component.html.erb +1 -1
  11. data/app/components/avo/alert_component.rb +6 -6
  12. data/app/components/avo/blank_field_component.html.erb +0 -0
  13. data/app/components/avo/blank_field_component.rb +4 -0
  14. data/app/components/avo/card_component.html.erb +7 -2
  15. data/app/components/avo/fields/badge_field/index_component.html.erb +1 -1
  16. data/app/components/avo/fields/boolean_field/index_component.html.erb +1 -1
  17. data/app/components/avo/fields/external_image_field/index_component.html.erb +1 -2
  18. data/app/components/avo/fields/file_field/index_component.html.erb +3 -3
  19. data/app/components/avo/fields/file_field/index_component.rb +11 -0
  20. data/app/components/avo/fields/gravatar_field/index_component.html.erb +1 -1
  21. data/app/components/avo/fields/progress_bar_field/index_component.html.erb +1 -1
  22. data/app/components/avo/index/field_wrapper_component.html.erb +1 -1
  23. data/app/components/avo/index/field_wrapper_component.rb +12 -1
  24. data/app/components/avo/index/resource_controls_component.html.erb +5 -1
  25. data/app/components/avo/index/resource_table_component.html.erb +1 -1
  26. data/app/components/avo/panel_component.html.erb +15 -5
  27. data/app/components/avo/panel_component.rb +9 -0
  28. data/app/components/avo/referrer_params_component.html.erb +4 -0
  29. data/app/components/avo/referrer_params_component.rb +9 -0
  30. data/app/components/avo/sidebar_component.html.erb +2 -0
  31. data/app/components/avo/sidebar_component.rb +3 -1
  32. data/app/components/avo/views/resource_edit_component.html.erb +14 -1
  33. data/app/components/avo/views/resource_new_component.html.erb +13 -0
  34. data/app/components/avo/views/resource_show_component.html.erb +11 -0
  35. data/app/components/avo/views/resource_show_component.rb +5 -0
  36. data/app/controllers/avo/application_controller.rb +1 -1
  37. data/app/controllers/avo/base_controller.rb +87 -37
  38. data/app/controllers/avo/dashboards_controller.rb +2 -6
  39. data/app/controllers/avo/search_controller.rb +5 -1
  40. data/app/helpers/avo/url_helpers.rb +6 -2
  41. data/app/javascript/avo.js +4 -3
  42. data/app/views/avo/actions/show.html.erb +1 -0
  43. data/app/views/avo/associations/new.html.erb +1 -0
  44. data/app/views/avo/dashboards/show.html.erb +4 -1
  45. data/app/views/avo/home/failed_to_load.html.erb +21 -1
  46. data/app/views/avo/partials/_sidebar_extra.html.erb +0 -0
  47. data/app/views/layouts/avo/application.html.erb +7 -0
  48. data/bin/dev +7 -6
  49. data/lib/avo/app.rb +8 -1
  50. data/lib/avo/base_action.rb +5 -4
  51. data/lib/avo/base_card.rb +175 -0
  52. data/lib/avo/base_resource.rb +34 -8
  53. data/lib/avo/configuration.rb +2 -0
  54. data/lib/avo/dashboards/base_dashboard.rb +37 -2
  55. data/lib/avo/dashboards/base_divider.rb +3 -1
  56. data/lib/avo/dashboards/chartkick_card.rb +1 -1
  57. data/lib/avo/dashboards/dashboard_card.rb +6 -0
  58. data/lib/avo/dashboards/partial_card.rb +1 -1
  59. data/lib/avo/fields/base_field.rb +19 -6
  60. data/lib/avo/fields/belongs_to_field.rb +1 -1
  61. data/lib/avo/fields/date_field.rb +1 -1
  62. data/lib/avo/fields/external_image_field.rb +2 -2
  63. data/lib/avo/fields_collector.rb +7 -2
  64. data/lib/avo/hosts/dashboard_card.rb +1 -0
  65. data/lib/avo/hosts/dashboard_visibility.rb +19 -0
  66. data/lib/avo/licensing/pro_license.rb +1 -0
  67. data/lib/avo/version.rb +1 -1
  68. data/lib/generators/avo/templates/dashboards/dashboard.tt +4 -1
  69. data/public/avo-assets/avo.css +55 -34
  70. data/public/avo-assets/avo.js +166 -165
  71. data/public/avo-assets/avo.js.map +3 -3
  72. metadata +15 -6
  73. data/app/views/avo/partials/_failed_state.html.erb +0 -16
  74. data/lib/avo/dashboards/base_card.rb +0 -151

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.