avo 1.7.0 → 1.8.0

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 (60) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +5 -1
  3. data/Gemfile.lock +94 -70
  4. data/README.md +11 -0
  5. data/app/components/avo/fields/common/badge_viewer_component.html.erb +1 -1
  6. data/app/components/avo/fields/common/multiple_file_viewer_component.html.erb +1 -1
  7. data/app/components/avo/fields/common/single_file_viewer_component.html.erb +1 -1
  8. data/app/components/avo/fields/file_field/index_component.html.erb +1 -1
  9. data/app/components/avo/fields/trix_field/edit_component.html.erb +3 -0
  10. data/app/components/avo/index/grid_item_component.html.erb +4 -6
  11. data/app/components/avo/views/resource_index_component.html.erb +48 -46
  12. data/app/components/avo/views/resource_index_component.rb +1 -1
  13. data/app/controllers/avo/actions_controller.rb +2 -2
  14. data/app/controllers/avo/application_controller.rb +11 -10
  15. data/app/controllers/avo/base_controller.rb +20 -4
  16. data/app/controllers/avo/relations_controller.rb +1 -1
  17. data/app/controllers/avo/search_controller.rb +11 -8
  18. data/app/packs/js/controllers/fields/trix_field_controller.js +16 -0
  19. data/app/views/avo/actions/show.html.erb +1 -1
  20. data/app/views/avo/attachments/show.html.erb +1 -1
  21. data/app/views/avo/base/_actions.html.erb +2 -2
  22. data/app/views/avo/home/index.html.erb +2 -2
  23. data/app/views/avo/partials/_javascript.html.erb +1 -1
  24. data/app/views/avo/partials/_resource_search.html.erb +1 -1
  25. data/app/views/avo/relations/new.html.erb +1 -1
  26. data/app/views/avo/sidebar/_sidebar.html.erb +1 -1
  27. data/config/initializers/friendly_id.rb +107 -0
  28. data/db/migrate/20210525143134_add_slug_to_users.rb +6 -0
  29. data/lib/avo/app.rb +3 -1
  30. data/lib/avo/base_resource.rb +23 -3
  31. data/lib/avo/configuration.rb +7 -1
  32. data/lib/avo/fields/belongs_to_field.rb +1 -1
  33. data/lib/avo/fields/file_field.rb +0 -8
  34. data/lib/avo/fields/has_and_belongs_to_many_field.rb +4 -4
  35. data/lib/avo/fields/has_many_field.rb +4 -4
  36. data/lib/avo/fields/has_one_field.rb +4 -4
  37. data/lib/avo/fields/trix_field.rb +6 -0
  38. data/lib/avo/version.rb +1 -1
  39. data/lib/generators/avo/field_generator.rb +1 -1
  40. data/lib/generators/avo/install_generator.rb +1 -1
  41. data/lib/generators/avo/templates/initializer/avo.tt +1 -0
  42. data/lib/generators/avo/templates/tool/sidebar_item.tt +1 -1
  43. data/public/avo-packs/css/application-797341b7.css.map +1 -1
  44. data/public/avo-packs/css/application-797341b7.css.map.br +0 -0
  45. data/public/avo-packs/css/application-797341b7.css.map.gz +0 -0
  46. data/public/avo-packs/js/application-651ed7b9bc727c83f673.js +26 -0
  47. data/public/avo-packs/js/{application-947ed727440d5b5d73ab.js.LICENSE.txt → application-651ed7b9bc727c83f673.js.LICENSE.txt} +0 -0
  48. data/public/avo-packs/js/application-651ed7b9bc727c83f673.js.br +0 -0
  49. data/public/avo-packs/js/application-651ed7b9bc727c83f673.js.gz +0 -0
  50. data/public/avo-packs/js/application-651ed7b9bc727c83f673.js.map +1 -0
  51. data/public/avo-packs/js/application-651ed7b9bc727c83f673.js.map.br +0 -0
  52. data/public/avo-packs/js/application-651ed7b9bc727c83f673.js.map.gz +0 -0
  53. data/public/avo-packs/manifest.json +8 -8
  54. metadata +11 -9
  55. data/public/avo-packs/js/application-947ed727440d5b5d73ab.js +0 -26
  56. data/public/avo-packs/js/application-947ed727440d5b5d73ab.js.br +0 -0
  57. data/public/avo-packs/js/application-947ed727440d5b5d73ab.js.gz +0 -0
  58. data/public/avo-packs/js/application-947ed727440d5b5d73ab.js.map +0 -1
  59. data/public/avo-packs/js/application-947ed727440d5b5d73ab.js.map.br +0 -0
  60. data/public/avo-packs/js/application-947ed727440d5b5d73ab.js.map.gz +0 -0