avo 1.20.1 → 1.20.2.pre.1
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 +3 -1
- data/Gemfile.lock +7 -3
- data/app/assets/builds/avo.css +8606 -0
- data/app/assets/builds/avo.js +87838 -0
- data/app/assets/builds/avo.js.map +7 -0
- data/app/assets/svgs/x.svg +3 -0
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +22 -0
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.rb +33 -0
- data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +39 -33
- data/app/components/avo/fields/common/files_list_viewer_component.html.erb +1 -1
- data/app/components/avo/fields/common/multiple_file_viewer_component.html.erb +2 -0
- data/app/components/avo/fields/common/multiple_file_viewer_component.rb +2 -1
- data/app/components/avo/fields/common/single_file_viewer_component.html.erb +2 -0
- data/app/components/avo/fields/common/single_file_viewer_component.rb +2 -1
- data/app/components/avo/fields/file_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/file_field/index_component.html.erb +3 -1
- data/app/components/avo/fields/file_field/show_component.html.erb +1 -1
- data/app/components/avo/resource_component.rb +1 -0
- data/app/components/avo/views/resource_index_component.html.erb +1 -1
- data/app/controllers/avo/base_controller.rb +1 -2
- data/app/controllers/avo/relations_controller.rb +4 -4
- data/app/controllers/avo/search_controller.rb +0 -1
- data/app/javascript/js/controllers/fields/belongs_to_field_controller.js +96 -33
- data/app/javascript/js/controllers/search_controller.js +83 -17
- data/app/views/avo/partials/_global_search.html.erb +0 -1
- data/app/views/avo/partials/_javascript.html.erb +1 -0
- data/app/views/avo/partials/_resource_search.html.erb +0 -1
- data/db/factories.rb +4 -0
- data/lib/avo/fields/base_field.rb +1 -1
- data/lib/avo/fields/belongs_to_field.rb +19 -2
- data/lib/avo/fields/file_field.rb +2 -0
- data/lib/avo/fields/files_field.rb +2 -0
- data/lib/avo/fields/key_value_field.rb +4 -4
- data/lib/avo/licensing/pro_license.rb +2 -1
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/locales/avo.en.yml +1 -0
- data/public/avo-assets/avo.css +16 -0
- data/public/avo-assets/avo.js +317 -234
- data/public/avo-assets/avo.js.map +2 -2
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1637660ec39f73cf35fe0078d721b17ab5a2aded94fdbf633ce3b63c326c55a0
|
4
|
+
data.tar.gz: c990f246d271819abe2f098ecea83bb6b367cad93e6fc0cc0994d54c08e8dc64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18fb3a1ee203bc93a1863e8138c3a7f7fac5faf4775e92fc7208fce652b1420e8efe9df28482ac30626b2095ebb4981aafaa9d8153fee6a1b5b09a0e30c8eb84
|
7
|
+
data.tar.gz: b74310670a84f49c7ba06847e018c9c41542f08376e95650126b74818aeb3fd73acf151647450ba69676e876e517a2a88986ae4d12b2336f027353f4841f7ba8
|
data/Gemfile
CHANGED
@@ -30,7 +30,7 @@ gem "rails", "~> 6.1.0"
|
|
30
30
|
# Use postgresql as the database for Active Record
|
31
31
|
gem "pg", ">= 0.18", "< 2.0"
|
32
32
|
# Use Puma as the app server
|
33
|
-
gem "puma", "~> 5.
|
33
|
+
gem "puma", "~> 5.6.2"
|
34
34
|
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
35
35
|
# gem "jbuilder", "~> 2.7"
|
36
36
|
# Use Redis adapter to run Action Cable in production
|
@@ -77,6 +77,8 @@ group :development do
|
|
77
77
|
# gem 'ruby-prof'
|
78
78
|
|
79
79
|
# gem 'pry-rails'
|
80
|
+
|
81
|
+
gem 'htmlbeautifier'
|
80
82
|
end
|
81
83
|
|
82
84
|
group :development, :test do
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (1.20.1)
|
4
|
+
avo (1.20.2.pre.1)
|
5
5
|
active_link_to
|
6
6
|
addressable
|
7
7
|
breadcrumbs_on_rails
|
@@ -175,6 +175,7 @@ GEM
|
|
175
175
|
rails (>= 6.0.0)
|
176
176
|
stimulus-rails
|
177
177
|
turbo-rails
|
178
|
+
htmlbeautifier (1.4.1)
|
178
179
|
httparty (0.20.0)
|
179
180
|
mime-types (~> 3.0)
|
180
181
|
multi_xml (>= 0.5.2)
|
@@ -229,6 +230,8 @@ GEM
|
|
229
230
|
nokogiri (1.13.1)
|
230
231
|
mini_portile2 (~> 2.7.0)
|
231
232
|
racc (~> 1.4)
|
233
|
+
nokogiri (1.13.1-x86_64-linux)
|
234
|
+
racc (~> 1.4)
|
232
235
|
orm_adapter (0.5.0)
|
233
236
|
pagy (5.10.1)
|
234
237
|
activesupport
|
@@ -237,7 +240,7 @@ GEM
|
|
237
240
|
ast (~> 2.4.1)
|
238
241
|
pg (1.3.1)
|
239
242
|
public_suffix (4.0.6)
|
240
|
-
puma (5.
|
243
|
+
puma (5.6.2)
|
241
244
|
nio4r (~> 2.0)
|
242
245
|
pundit (2.1.1)
|
243
246
|
activesupport (>= 3.0.0)
|
@@ -417,6 +420,7 @@ DEPENDENCIES
|
|
417
420
|
fuubar
|
418
421
|
gem-release
|
419
422
|
hotwire-rails
|
423
|
+
htmlbeautifier
|
420
424
|
httparty
|
421
425
|
image_processing (~> 1.2)
|
422
426
|
iso
|
@@ -427,7 +431,7 @@ DEPENDENCIES
|
|
427
431
|
meta-tags
|
428
432
|
net-smtp
|
429
433
|
pg (>= 0.18, < 2.0)
|
430
|
-
puma (~> 5.
|
434
|
+
puma (~> 5.6.2)
|
431
435
|
pundit
|
432
436
|
rails (~> 6.1.0)
|
433
437
|
rails-controller-testing
|