avo 2.27.2.pre.pr1606 → 2.28.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.lock +16 -16
- data/README.md +23 -9
- data/app/components/avo/fields/common/single_file_viewer_component.html.erb +2 -2
- data/app/components/avo/fields/common/single_file_viewer_component.rb +3 -2
- data/app/components/avo/fields/file_field/edit_component.html.erb +3 -1
- data/app/components/avo/fields/file_field/edit_component.rb +1 -0
- data/app/components/avo/fields/files_field/edit_component.html.erb +3 -1
- data/app/components/avo/fields/files_field/edit_component.rb +1 -0
- data/app/controllers/avo/application_controller.rb +1 -1
- data/app/controllers/avo/attachments_controller.rb +10 -0
- data/lib/avo/fields/belongs_to_field.rb +5 -0
- data/lib/avo/fields/concerns/file_authorization.rb +31 -0
- data/lib/avo/fields/concerns/use_resource.rb +13 -0
- data/lib/avo/fields/has_base_field.rb +2 -4
- data/lib/avo/fields/tags_field.rb +11 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/locales/avo.ar.yml +126 -0
- data/public/avo-assets/avo.base.js +98 -98
- data/public/avo-assets/avo.base.js.map +2 -2
- metadata +7 -5
- data/config/master.key +0 -1
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.28.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: 2023-03-
|
12
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -1696,7 +1696,6 @@ files:
|
|
1696
1696
|
- config/credentials.yml.enc
|
1697
1697
|
- config/i18n-tasks.yml
|
1698
1698
|
- config/initializers/pagy.rb
|
1699
|
-
- config/master.key
|
1700
1699
|
- config/routes.rb
|
1701
1700
|
- config/spring.rb
|
1702
1701
|
- db/factories.rb
|
@@ -1738,10 +1737,12 @@ files:
|
|
1738
1737
|
- lib/avo/fields/boolean_field.rb
|
1739
1738
|
- lib/avo/fields/boolean_group_field.rb
|
1740
1739
|
- lib/avo/fields/code_field.rb
|
1740
|
+
- lib/avo/fields/concerns/file_authorization.rb
|
1741
1741
|
- lib/avo/fields/concerns/has_default.rb
|
1742
1742
|
- lib/avo/fields/concerns/is_disabled.rb
|
1743
1743
|
- lib/avo/fields/concerns/is_readonly.rb
|
1744
1744
|
- lib/avo/fields/concerns/is_required.rb
|
1745
|
+
- lib/avo/fields/concerns/use_resource.rb
|
1745
1746
|
- lib/avo/fields/country_field.rb
|
1746
1747
|
- lib/avo/fields/date_field.rb
|
1747
1748
|
- lib/avo/fields/date_time_field.rb
|
@@ -1880,6 +1881,7 @@ files:
|
|
1880
1881
|
- lib/generators/avo/templates/filters/text_filter.tt
|
1881
1882
|
- lib/generators/avo/templates/initializer/avo.tt
|
1882
1883
|
- lib/generators/avo/templates/js/avo.custom.js
|
1884
|
+
- lib/generators/avo/templates/locales/avo.ar.yml
|
1883
1885
|
- lib/generators/avo/templates/locales/avo.en.yml
|
1884
1886
|
- lib/generators/avo/templates/locales/avo.fr.yml
|
1885
1887
|
- lib/generators/avo/templates/locales/avo.nb.yml
|
@@ -1954,9 +1956,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1954
1956
|
version: 2.6.0
|
1955
1957
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1956
1958
|
requirements:
|
1957
|
-
- - "
|
1959
|
+
- - ">="
|
1958
1960
|
- !ruby/object:Gem::Version
|
1959
|
-
version:
|
1961
|
+
version: '0'
|
1960
1962
|
requirements: []
|
1961
1963
|
rubygems_version: 3.3.3
|
1962
1964
|
signing_key:
|
data/config/master.key
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2aeb23d82b909d9c6b5abb62f7058c2a
|