avo 2.18.1.pre.1.eagerloaddirs → 2.19.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.
- checksums.yaml +4 -4
- data/Gemfile +1 -2
- data/Gemfile.lock +2 -5
- data/app/components/avo/actions_component.html.erb +1 -1
- data/app/components/avo/actions_component.rb +4 -4
- data/app/components/avo/base_component.rb +2 -1
- data/app/components/avo/field_wrapper_component.rb +7 -1
- data/app/components/avo/fields/has_one_field/show_component.rb +1 -2
- data/app/components/avo/filters_component.html.erb +1 -1
- data/app/components/avo/filters_component.rb +2 -2
- data/app/components/avo/sidebar_profile_component.rb +3 -1
- data/app/components/avo/views/resource_show_component.html.erb +1 -1
- data/app/controllers/avo/base_controller.rb +14 -7
- data/app/helpers/avo/application_helper.rb +5 -1
- data/app/javascript/js/controllers/search_controller.js +11 -2
- data/app/views/avo/partials/_branding.html.erb +1 -0
- data/bin/init +11 -1
- data/bin/test +1 -0
- data/db/factories.rb +5 -0
- data/lib/avo/base_action.rb +17 -7
- data/lib/avo/concerns/filters_session_handler.rb +43 -0
- data/lib/avo/configuration/branding.rb +9 -1
- data/lib/avo/configuration.rb +3 -0
- data/lib/avo/engine.rb +5 -0
- data/lib/avo/fields/base_field.rb +20 -11
- data/lib/avo/fields/concerns/has_default.rb +17 -0
- data/lib/avo/fields/concerns/is_readonly.rb +1 -1
- data/lib/avo/fields/concerns/is_required.rb +2 -2
- data/lib/avo/fields/key_value_field.rb +1 -1
- data/lib/avo/filters/base_filter.rb +17 -2
- data/lib/avo/hosts/resource_view_record_host.rb +7 -0
- data/lib/avo/hosts/visibility_host.rb +11 -0
- data/lib/avo/resources/controls/action.rb +1 -3
- data/lib/avo/services/authorization_clients/nil_client.rb +37 -0
- data/lib/avo/services/authorization_service.rb +11 -1
- data/lib/avo/version.rb +1 -1
- data/lib/avo.rb +2 -0
- data/lib/generators/avo/resource_generator.rb +281 -0
- data/lib/generators/avo/templates/action.tt +3 -0
- data/lib/generators/avo/templates/filters/boolean_filter.tt +3 -0
- data/lib/generators/avo/templates/filters/multiple_select_filter.tt +3 -0
- data/lib/generators/avo/templates/filters/select_filter.tt +3 -0
- data/lib/generators/avo/templates/filters/text_filter.tt +3 -0
- data/lib/generators/avo/templates/initializer/avo.tt +4 -0
- data/lib/generators/avo/templates/resource/controller.tt +1 -1
- data/lib/generators/avo/templates/resource/resource.tt +2 -2
- data/lib/generators/model_generator.rb +10 -0
- data/lib/generators/rails/avo_resource_generator.rb +11 -0
- data/public/avo-assets/avo.base.js +1 -1
- data/public/avo-assets/avo.base.js.map +2 -2
- data/public/avo-assets/favicon.ico +0 -0
- metadata +12 -5
- data/config/master.key +0 -1
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-11-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -1707,7 +1707,6 @@ files:
|
|
1707
1707
|
- config/credentials.yml.enc
|
1708
1708
|
- config/i18n-tasks.yml
|
1709
1709
|
- config/initializers/pagy.rb
|
1710
|
-
- config/master.key
|
1711
1710
|
- config/routes.rb
|
1712
1711
|
- config/spring.rb
|
1713
1712
|
- db/factories.rb
|
@@ -1720,6 +1719,7 @@ files:
|
|
1720
1719
|
- lib/avo/base_resource_tool.rb
|
1721
1720
|
- lib/avo/concerns/can_replace_fields.rb
|
1722
1721
|
- lib/avo/concerns/fetches_things.rb
|
1722
|
+
- lib/avo/concerns/filters_session_handler.rb
|
1723
1723
|
- lib/avo/concerns/handles_field_args.rb
|
1724
1724
|
- lib/avo/concerns/has_editable_controls.rb
|
1725
1725
|
- lib/avo/concerns/has_fields.rb
|
@@ -1746,6 +1746,7 @@ files:
|
|
1746
1746
|
- lib/avo/fields/boolean_field.rb
|
1747
1747
|
- lib/avo/fields/boolean_group_field.rb
|
1748
1748
|
- lib/avo/fields/code_field.rb
|
1749
|
+
- lib/avo/fields/concerns/has_default.rb
|
1749
1750
|
- lib/avo/fields/concerns/is_readonly.rb
|
1750
1751
|
- lib/avo/fields/concerns/is_required.rb
|
1751
1752
|
- lib/avo/fields/country_field.rb
|
@@ -1793,8 +1794,10 @@ files:
|
|
1793
1794
|
- lib/avo/hosts/dashboard_visibility.rb
|
1794
1795
|
- lib/avo/hosts/ordering.rb
|
1795
1796
|
- lib/avo/hosts/record_host.rb
|
1797
|
+
- lib/avo/hosts/resource_view_record_host.rb
|
1796
1798
|
- lib/avo/hosts/search_scope_host.rb
|
1797
1799
|
- lib/avo/hosts/view_record_host.rb
|
1800
|
+
- lib/avo/hosts/visibility_host.rb
|
1798
1801
|
- lib/avo/html/builder.rb
|
1799
1802
|
- lib/avo/items_holder.rb
|
1800
1803
|
- lib/avo/licensing/community_license.rb
|
@@ -1829,6 +1832,7 @@ files:
|
|
1829
1832
|
- lib/avo/resources/controls/execution_context.rb
|
1830
1833
|
- lib/avo/resources/controls/items_holder.rb
|
1831
1834
|
- lib/avo/resources/controls/link_to.rb
|
1835
|
+
- lib/avo/services/authorization_clients/nil_client.rb
|
1832
1836
|
- lib/avo/services/authorization_clients/pundit_client.rb
|
1833
1837
|
- lib/avo/services/authorization_service.rb
|
1834
1838
|
- lib/avo/services/encryption_service.rb
|
@@ -1900,11 +1904,14 @@ files:
|
|
1900
1904
|
- lib/generators/avo/templates/tool/view.tt
|
1901
1905
|
- lib/generators/avo/tool_generator.rb
|
1902
1906
|
- lib/generators/avo/version_generator.rb
|
1907
|
+
- lib/generators/model_generator.rb
|
1908
|
+
- lib/generators/rails/avo_resource_generator.rb
|
1903
1909
|
- lib/tasks/avo_tasks.rake
|
1904
1910
|
- lib/tasks/tailwindcss_rails.rake
|
1905
1911
|
- public/avo-assets/avo.base.css
|
1906
1912
|
- public/avo-assets/avo.base.js
|
1907
1913
|
- public/avo-assets/avo.base.js.map
|
1914
|
+
- public/avo-assets/favicon.ico
|
1908
1915
|
- public/avo-assets/fonts/inter-v7-latin-500.eot
|
1909
1916
|
- public/avo-assets/fonts/inter-v7-latin-500.svg
|
1910
1917
|
- public/avo-assets/fonts/inter-v7-latin-500.ttf
|
@@ -1949,9 +1956,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1949
1956
|
version: 2.4.0
|
1950
1957
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1951
1958
|
requirements:
|
1952
|
-
- - "
|
1959
|
+
- - ">="
|
1953
1960
|
- !ruby/object:Gem::Version
|
1954
|
-
version:
|
1961
|
+
version: '0'
|
1955
1962
|
requirements: []
|
1956
1963
|
rubygems_version: 3.3.3
|
1957
1964
|
signing_key:
|
data/config/master.key
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2aeb23d82b909d9c6b5abb62f7058c2a
|