avo 1.18.1 → 1.19.1.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 +5 -3
- data/Gemfile.lock +198 -169
- data/app/components/avo/fields/belongs_to_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/belongs_to_field/show_component.html.erb +1 -1
- data/app/components/avo/fields/common/multiple_file_viewer_component.html.erb +1 -1
- data/app/components/avo/fields/common/single_file_viewer_component.html.erb +1 -2
- data/app/components/avo/fields/has_one_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/has_one_field/show_component.html.erb +1 -1
- data/app/components/avo/fields/has_one_field/show_component.rb +6 -1
- data/app/components/avo/fields/index_component.rb +2 -2
- data/app/components/avo/fields/text_field/index_component.html.erb +5 -1
- data/app/components/avo/fields/text_field/show_component.html.erb +5 -1
- data/app/components/avo/fields/trix_field/edit_component.html.erb +1 -1
- data/app/components/avo/index/grid_item_component.html.erb +4 -4
- data/app/components/avo/index/resource_controls_component.html.erb +1 -1
- data/app/components/avo/index/resource_controls_component.rb +23 -7
- data/app/components/avo/index/resource_table_component.html.erb +1 -1
- data/app/components/avo/panel_component.rb +3 -4
- data/app/components/avo/resource_component.rb +5 -1
- data/app/components/avo/views/resource_edit_component.html.erb +2 -2
- data/app/components/avo/views/resource_edit_component.rb +3 -3
- data/app/components/avo/views/resource_index_component.html.erb +2 -8
- data/app/components/avo/views/resource_index_component.rb +7 -15
- data/app/components/avo/views/resource_new_component.html.erb +2 -2
- data/app/components/avo/views/resource_new_component.rb +6 -2
- data/app/components/avo/views/resource_show_component.html.erb +5 -4
- data/app/components/avo/views/resource_show_component.rb +11 -6
- data/app/controllers/avo/actions_controller.rb +1 -1
- data/app/controllers/avo/application_controller.rb +4 -77
- data/app/controllers/avo/attachments_controller.rb +3 -2
- data/app/controllers/avo/base_controller.rb +30 -23
- data/app/controllers/avo/home_controller.rb +5 -1
- data/app/controllers/avo/relations_controller.rb +3 -3
- data/app/controllers/avo/search_controller.rb +1 -1
- data/app/helpers/avo/application_helper.rb +12 -0
- data/app/helpers/avo/resources_helper.rb +1 -1
- data/app/helpers/avo/url_helpers.rb +77 -0
- data/app/packs/entrypoints/application.css +1 -0
- data/app/packs/entrypoints/application.js +7 -0
- data/app/packs/js/controllers/loading_button_controller.js +22 -0
- data/app/packs/stylesheets/components/status.css +22 -15
- data/app/packs/stylesheets/spinner.css +49 -0
- data/app/views/avo/actions/show.html.erb +2 -2
- data/app/views/avo/base/_actions.html.erb +3 -3
- data/app/views/avo/base/_filters.html.erb +1 -1
- data/app/views/avo/home/failed_to_load.html.erb +3 -0
- data/app/views/avo/partials/_failed_state.html.erb +16 -0
- data/app/views/avo/partials/_paginator.html.erb +2 -2
- data/app/views/avo/partials/_profile_dropdown.html.erb +7 -5
- data/app/views/avo/relations/new.html.erb +0 -2
- data/app/views/avo/sidebar/_sidebar.html.erb +1 -1
- data/app/views/kaminari/_page.html.erb +1 -1
- data/config/routes.rb +7 -5
- data/db/factories.rb +9 -0
- data/lib/avo/app.rb +12 -12
- data/lib/avo/base_action.rb +9 -1
- data/lib/avo/base_resource.rb +41 -8
- data/lib/avo/configuration.rb +4 -0
- data/lib/avo/fields/base_field.rb +15 -4
- data/lib/avo/fields/has_and_belongs_to_many_field.rb +1 -19
- data/lib/avo/fields/has_base_field.rb +35 -0
- data/lib/avo/fields/has_many_field.rb +1 -19
- data/lib/avo/fields/has_one_field.rb +3 -19
- data/lib/avo/fields/key_value_field.rb +4 -4
- data/lib/avo/fields/text_field.rb +2 -0
- data/lib/avo/services/authorization_service.rb +8 -4
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/locales/avo.en.yml +12 -3
- data/lib/generators/avo/templates/locales/avo.ro.yml +7 -0
- data/public/avo-packs/css/{application-f9191617.css → application-c3b50b28.css} +54 -12
- data/public/avo-packs/css/application-c3b50b28.css.br +0 -0
- data/public/avo-packs/css/{application-f9191617.css.gz → application-c3b50b28.css.gz} +0 -0
- data/public/avo-packs/css/application-c3b50b28.css.map +1 -0
- data/public/avo-packs/css/application-c3b50b28.css.map.br +0 -0
- data/public/avo-packs/css/application-c3b50b28.css.map.gz +0 -0
- data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js +2 -0
- data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.br +0 -0
- data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.gz +0 -0
- data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map +1 -0
- data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.br +0 -0
- data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.gz +0 -0
- data/public/avo-packs/js/application-6fc968cfa52976c4582b.js +26 -0
- data/public/avo-packs/js/{application-cc89f096028eb1d4d971.js.LICENSE.txt → application-6fc968cfa52976c4582b.js.LICENSE.txt} +0 -0
- data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.br +0 -0
- data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.gz +0 -0
- data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map +1 -0
- data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.br +0 -0
- data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.gz +0 -0
- data/public/avo-packs/manifest.json +21 -21
- metadata +30 -24
- data/public/avo-packs/css/application-f9191617.css.br +0 -0
- data/public/avo-packs/css/application-f9191617.css.map +0 -1
- data/public/avo-packs/css/application-f9191617.css.map.br +0 -0
- data/public/avo-packs/css/application-f9191617.css.map.gz +0 -0
- data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js +0 -2
- data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.br +0 -0
- data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.gz +0 -0
- data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.map +0 -1
- data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.map.br +0 -0
- data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.map.gz +0 -0
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js +0 -26
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.br +0 -0
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.gz +0 -0
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map +0 -1
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map.br +0 -0
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map.gz +0 -0
Binary file
|
Binary file
|
@@ -1,35 +1,35 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"application.
|
4
|
-
"
|
5
|
-
"css/application-
|
6
|
-
"css/application-
|
7
|
-
"css/application-
|
8
|
-
"css/application-
|
2
|
+
"actioncable.js": "/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js",
|
3
|
+
"application.css": "/avo-packs/css/application-c3b50b28.css",
|
4
|
+
"application.js": "/avo-packs/js/application-6fc968cfa52976c4582b.js",
|
5
|
+
"css/application-c3b50b28.css.br": "/avo-packs/css/application-c3b50b28.css.br",
|
6
|
+
"css/application-c3b50b28.css.gz": "/avo-packs/css/application-c3b50b28.css.gz",
|
7
|
+
"css/application-c3b50b28.css.map": "/avo-packs/css/application-c3b50b28.css.map",
|
8
|
+
"css/application-c3b50b28.css.map.br": "/avo-packs/css/application-c3b50b28.css.map.br",
|
9
|
+
"css/application-c3b50b28.css.map.gz": "/avo-packs/css/application-c3b50b28.css.map.gz",
|
9
10
|
"entrypoints": {
|
10
11
|
"application": {
|
11
12
|
"assets": {
|
12
13
|
"css": [
|
13
|
-
"/avo-packs/css/application-
|
14
|
+
"/avo-packs/css/application-c3b50b28.css"
|
14
15
|
],
|
15
16
|
"js": [
|
16
|
-
"/avo-packs/js/application-
|
17
|
+
"/avo-packs/js/application-6fc968cfa52976c4582b.js"
|
17
18
|
]
|
18
19
|
}
|
19
20
|
}
|
20
21
|
},
|
21
|
-
"js/
|
22
|
-
"js/
|
23
|
-
"js/
|
24
|
-
"js/
|
25
|
-
"js/
|
26
|
-
"js/
|
27
|
-
"js/application-
|
28
|
-
"js/application-
|
29
|
-
"js/application-
|
30
|
-
"js/application-
|
31
|
-
"js/application-
|
32
|
-
"js/application-cc89f096028eb1d4d971.js.map.gz": "/avo-packs/js/application-cc89f096028eb1d4d971.js.map.gz",
|
22
|
+
"js/actioncable-7119dbc1a908641fb263.chunk.js.br": "/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.br",
|
23
|
+
"js/actioncable-7119dbc1a908641fb263.chunk.js.gz": "/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.gz",
|
24
|
+
"js/actioncable-7119dbc1a908641fb263.chunk.js.map": "/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map",
|
25
|
+
"js/actioncable-7119dbc1a908641fb263.chunk.js.map.br": "/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.br",
|
26
|
+
"js/actioncable-7119dbc1a908641fb263.chunk.js.map.gz": "/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.gz",
|
27
|
+
"js/application-6fc968cfa52976c4582b.js.LICENSE.txt": "/avo-packs/js/application-6fc968cfa52976c4582b.js.LICENSE.txt",
|
28
|
+
"js/application-6fc968cfa52976c4582b.js.br": "/avo-packs/js/application-6fc968cfa52976c4582b.js.br",
|
29
|
+
"js/application-6fc968cfa52976c4582b.js.gz": "/avo-packs/js/application-6fc968cfa52976c4582b.js.gz",
|
30
|
+
"js/application-6fc968cfa52976c4582b.js.map": "/avo-packs/js/application-6fc968cfa52976c4582b.js.map",
|
31
|
+
"js/application-6fc968cfa52976c4582b.js.map.br": "/avo-packs/js/application-6fc968cfa52976c4582b.js.map.br",
|
32
|
+
"js/application-6fc968cfa52976c4582b.js.map.gz": "/avo-packs/js/application-6fc968cfa52976c4582b.js.map.gz",
|
33
33
|
"media/images/13ae283c0d7cc04efe7e.svg.br": "/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.br",
|
34
34
|
"media/images/13ae283c0d7cc04efe7e.svg.gz": "/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.gz",
|
35
35
|
"media/images/195026a50008c53526ef.svg.br": "/avo-packs/media/images/195026a50008c53526ef.svg.br",
|
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: 1.
|
4
|
+
version: 1.19.1.pre.1
|
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-01-
|
12
|
+
date: 2022-01-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -426,6 +426,7 @@ files:
|
|
426
426
|
- app/helpers/avo/application_helper.rb
|
427
427
|
- app/helpers/avo/attachments_helper.rb
|
428
428
|
- app/helpers/avo/resources_helper.rb
|
429
|
+
- app/helpers/avo/url_helpers.rb
|
429
430
|
- app/mailers/avo/application_mailer.rb
|
430
431
|
- app/packs/entrypoints/application.css
|
431
432
|
- app/packs/entrypoints/application.js
|
@@ -457,6 +458,7 @@ files:
|
|
457
458
|
- app/packs/js/controllers/hidden_input_controller.js
|
458
459
|
- app/packs/js/controllers/item_select_all_controller.js
|
459
460
|
- app/packs/js/controllers/item_selector_controller.js
|
461
|
+
- app/packs/js/controllers/loading_button_controller.js
|
460
462
|
- app/packs/js/controllers/modal_controller.js
|
461
463
|
- app/packs/js/controllers/multiple_select_filter_controller.js
|
462
464
|
- app/packs/js/controllers/per_page_controller.js
|
@@ -478,6 +480,7 @@ files:
|
|
478
480
|
- app/packs/stylesheets/loader.css
|
479
481
|
- app/packs/stylesheets/pagination.css
|
480
482
|
- app/packs/stylesheets/search.css
|
483
|
+
- app/packs/stylesheets/spinner.css
|
481
484
|
- app/packs/stylesheets/tailwindcss/base.css
|
482
485
|
- app/packs/stylesheets/tailwindcss/components.css
|
483
486
|
- app/packs/stylesheets/tailwindcss/utilities.css
|
@@ -544,6 +547,7 @@ files:
|
|
544
547
|
- app/views/avo/home/_docs.html.erb
|
545
548
|
- app/views/avo/home/_filters.html.erb
|
546
549
|
- app/views/avo/home/_resources.html.erb
|
550
|
+
- app/views/avo/home/failed_to_load.html.erb
|
547
551
|
- app/views/avo/home/index.html.erb
|
548
552
|
- app/views/avo/partials/_a_button.html.erb
|
549
553
|
- app/views/avo/partials/_a_link.html.erb
|
@@ -551,6 +555,7 @@ files:
|
|
551
555
|
- app/views/avo/partials/_alerts.html.erb
|
552
556
|
- app/views/avo/partials/_custom_tools_alert.html.erb
|
553
557
|
- app/views/avo/partials/_empty_state.html.erb
|
558
|
+
- app/views/avo/partials/_failed_state.html.erb
|
554
559
|
- app/views/avo/partials/_footer.html.erb
|
555
560
|
- app/views/avo/partials/_global_search.html.erb
|
556
561
|
- app/views/avo/partials/_head.html.erb
|
@@ -624,6 +629,7 @@ files:
|
|
624
629
|
- lib/avo/fields/files_field.rb
|
625
630
|
- lib/avo/fields/gravatar_field.rb
|
626
631
|
- lib/avo/fields/has_and_belongs_to_many_field.rb
|
632
|
+
- lib/avo/fields/has_base_field.rb
|
627
633
|
- lib/avo/fields/has_many_field.rb
|
628
634
|
- lib/avo/fields/has_one_field.rb
|
629
635
|
- lib/avo/fields/heading_field.rb
|
@@ -696,25 +702,25 @@ files:
|
|
696
702
|
- lib/generators/avo/templates/tool/view.tt
|
697
703
|
- lib/generators/avo/tool_generator.rb
|
698
704
|
- lib/tasks/avo_tasks.rake
|
699
|
-
- public/avo-packs/css/application-
|
700
|
-
- public/avo-packs/css/application-
|
701
|
-
- public/avo-packs/css/application-
|
702
|
-
- public/avo-packs/css/application-
|
703
|
-
- public/avo-packs/css/application-
|
704
|
-
- public/avo-packs/css/application-
|
705
|
-
- public/avo-packs/js/
|
706
|
-
- public/avo-packs/js/
|
707
|
-
- public/avo-packs/js/
|
708
|
-
- public/avo-packs/js/
|
709
|
-
- public/avo-packs/js/
|
710
|
-
- public/avo-packs/js/
|
711
|
-
- public/avo-packs/js/application-
|
712
|
-
- public/avo-packs/js/application-
|
713
|
-
- public/avo-packs/js/application-
|
714
|
-
- public/avo-packs/js/application-
|
715
|
-
- public/avo-packs/js/application-
|
716
|
-
- public/avo-packs/js/application-
|
717
|
-
- public/avo-packs/js/application-
|
705
|
+
- public/avo-packs/css/application-c3b50b28.css
|
706
|
+
- public/avo-packs/css/application-c3b50b28.css.br
|
707
|
+
- public/avo-packs/css/application-c3b50b28.css.gz
|
708
|
+
- public/avo-packs/css/application-c3b50b28.css.map
|
709
|
+
- public/avo-packs/css/application-c3b50b28.css.map.br
|
710
|
+
- public/avo-packs/css/application-c3b50b28.css.map.gz
|
711
|
+
- public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js
|
712
|
+
- public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.br
|
713
|
+
- public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.gz
|
714
|
+
- public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map
|
715
|
+
- public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.br
|
716
|
+
- public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.gz
|
717
|
+
- public/avo-packs/js/application-6fc968cfa52976c4582b.js
|
718
|
+
- public/avo-packs/js/application-6fc968cfa52976c4582b.js.LICENSE.txt
|
719
|
+
- public/avo-packs/js/application-6fc968cfa52976c4582b.js.br
|
720
|
+
- public/avo-packs/js/application-6fc968cfa52976c4582b.js.gz
|
721
|
+
- public/avo-packs/js/application-6fc968cfa52976c4582b.js.map
|
722
|
+
- public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.br
|
723
|
+
- public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.gz
|
718
724
|
- public/avo-packs/manifest.json
|
719
725
|
- public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg
|
720
726
|
- public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.br
|
@@ -755,11 +761,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
755
761
|
version: '0'
|
756
762
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
757
763
|
requirements:
|
758
|
-
- - "
|
764
|
+
- - ">"
|
759
765
|
- !ruby/object:Gem::Version
|
760
|
-
version:
|
766
|
+
version: 1.3.1
|
761
767
|
requirements: []
|
762
|
-
rubygems_version: 3.
|
768
|
+
rubygems_version: 3.3.3
|
763
769
|
signing_key:
|
764
770
|
specification_version: 4
|
765
771
|
summary: Configuration-based, no-maintenance, extendable Ruby on Rails admin.
|
Binary file
|