activeadmin 2.9.0 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activeadmin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +161 -1
- data/CONTRIBUTING.md +1 -1
- data/app/assets/javascripts/active_admin/base.js +13 -6
- data/app/assets/stylesheets/active_admin/_base.scss +53 -37
- data/app/assets/stylesheets/active_admin/_forms.scss +0 -10
- data/app/assets/stylesheets/active_admin/_normalize.scss +25 -123
- data/app/assets/stylesheets/active_admin/{print.scss → _print.scss} +0 -0
- data/app/assets/stylesheets/active_admin/components/_date_picker.scss +1 -2
- data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +0 -1
- data/app/assets/stylesheets/active_admin/mixins/_variables.scss +9 -0
- data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +0 -1
- data/app/javascript/active_admin/initializers/has-many.js +4 -1
- data/app/views/active_admin/devise/shared/_links.erb +1 -1
- data/app/views/active_admin/page/index.html.arb +1 -0
- data/app/views/active_admin/resource/edit.html.arb +1 -0
- data/app/views/active_admin/resource/index.html.arb +1 -0
- data/app/views/active_admin/resource/new.html.arb +1 -0
- data/app/views/active_admin/resource/show.html.arb +1 -0
- data/app/views/layouts/active_admin.html.arb +1 -0
- data/config/locales/ko.yml +1 -1
- data/config/locales/nl.yml +1 -1
- data/config/locales/ro.yml +3 -2
- data/docs/0-installation.md +2 -2
- data/docs/5-forms.md +3 -2
- data/docs/8-custom-actions.md +1 -1
- data/docs/Gemfile +1 -0
- data/docs/Gemfile.lock +116 -92
- data/lib/active_admin/abstract_view_factory.rb +1 -0
- data/lib/active_admin/application.rb +9 -9
- data/lib/active_admin/application_settings.rb +1 -0
- data/lib/active_admin/asset_registration.rb +1 -0
- data/lib/active_admin/authorization_adapter.rb +1 -0
- data/lib/active_admin/base_controller/authorization.rb +2 -1
- data/lib/active_admin/base_controller/menu.rb +1 -0
- data/lib/active_admin/base_controller.rb +2 -1
- data/lib/active_admin/batch_actions/controller.rb +1 -0
- data/lib/active_admin/batch_actions/resource_extension.rb +1 -0
- data/lib/active_admin/batch_actions/views/batch_action_form.rb +1 -0
- data/lib/active_admin/batch_actions/views/batch_action_selector.rb +1 -0
- data/lib/active_admin/batch_actions/views/selection_cells.rb +1 -0
- data/lib/active_admin/batch_actions.rb +1 -0
- data/lib/active_admin/callbacks.rb +1 -0
- data/lib/active_admin/cancan_adapter.rb +1 -0
- data/lib/active_admin/collection_decorator.rb +1 -0
- data/lib/active_admin/component.rb +1 -0
- data/lib/active_admin/controller_action.rb +1 -0
- data/lib/active_admin/csv_builder.rb +5 -18
- data/lib/active_admin/dependency.rb +2 -1
- data/lib/active_admin/deprecation.rb +1 -0
- data/lib/active_admin/devise.rb +11 -0
- data/lib/active_admin/dsl.rb +1 -0
- data/lib/active_admin/dynamic_setting.rb +1 -0
- data/lib/active_admin/dynamic_settings_node.rb +1 -0
- data/lib/active_admin/engine.rb +3 -1
- data/lib/active_admin/error.rb +1 -0
- data/lib/active_admin/filters/active.rb +1 -0
- data/lib/active_admin/filters/active_filter.rb +1 -0
- data/lib/active_admin/filters/active_sidebar.rb +2 -28
- data/lib/active_admin/filters/dsl.rb +1 -0
- data/lib/active_admin/filters/forms.rb +1 -0
- data/lib/active_admin/filters/formtastic_addons.rb +1 -0
- data/lib/active_admin/filters/resource_extension.rb +1 -0
- data/lib/active_admin/filters.rb +1 -0
- data/lib/active_admin/form_builder.rb +1 -0
- data/lib/active_admin/generators/boilerplate.rb +1 -0
- data/lib/active_admin/helpers/collection.rb +2 -0
- data/lib/active_admin/helpers/i18n.rb +1 -0
- data/lib/active_admin/helpers/optional_display.rb +1 -0
- data/lib/active_admin/helpers/routes/url_helpers.rb +1 -0
- data/lib/active_admin/helpers/scope_chain.rb +1 -0
- data/lib/active_admin/inputs/datepicker_input.rb +1 -0
- data/lib/active_admin/inputs/filters/base/search_method_select.rb +1 -0
- data/lib/active_admin/inputs/filters/base.rb +1 -0
- data/lib/active_admin/inputs/filters/boolean_input.rb +1 -0
- data/lib/active_admin/inputs/filters/check_boxes_input.rb +1 -0
- data/lib/active_admin/inputs/filters/date_picker_input.rb +1 -0
- data/lib/active_admin/inputs/filters/date_range_input.rb +1 -0
- data/lib/active_admin/inputs/filters/numeric_input.rb +1 -0
- data/lib/active_admin/inputs/filters/select_input.rb +1 -0
- data/lib/active_admin/inputs/filters/string_input.rb +1 -0
- data/lib/active_admin/inputs/filters/text_input.rb +1 -0
- data/lib/active_admin/inputs.rb +1 -0
- data/lib/active_admin/localizers/resource_localizer.rb +1 -0
- data/lib/active_admin/localizers.rb +1 -0
- data/lib/active_admin/menu.rb +1 -0
- data/lib/active_admin/menu_collection.rb +1 -0
- data/lib/active_admin/menu_item.rb +1 -0
- data/lib/active_admin/namespace.rb +2 -1
- data/lib/active_admin/namespace_settings.rb +1 -0
- data/lib/active_admin/order_clause.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/comment.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/namespace_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/resource_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/show_page_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/views.rb +1 -0
- data/lib/active_admin/orm/active_record/comments.rb +1 -0
- data/lib/active_admin/orm/active_record.rb +1 -0
- data/lib/active_admin/orm/mongoid.rb +1 -0
- data/lib/active_admin/page.rb +1 -0
- data/lib/active_admin/page_controller.rb +1 -0
- data/lib/active_admin/page_dsl.rb +1 -0
- data/lib/active_admin/page_presenter.rb +1 -0
- data/lib/active_admin/pundit_adapter.rb +55 -11
- data/lib/active_admin/resource/action_items.rb +1 -0
- data/lib/active_admin/resource/attributes.rb +1 -0
- data/lib/active_admin/resource/belongs_to.rb +1 -0
- data/lib/active_admin/resource/controllers.rb +1 -0
- data/lib/active_admin/resource/includes.rb +1 -0
- data/lib/active_admin/resource/menu.rb +1 -0
- data/lib/active_admin/resource/model.rb +1 -0
- data/lib/active_admin/resource/naming.rb +1 -0
- data/lib/active_admin/resource/ordering.rb +1 -0
- data/lib/active_admin/resource/page_presenters.rb +1 -0
- data/lib/active_admin/resource/pagination.rb +1 -0
- data/lib/active_admin/resource/routes.rb +1 -0
- data/lib/active_admin/resource/scope_to.rb +1 -0
- data/lib/active_admin/resource/scopes.rb +1 -0
- data/lib/active_admin/resource/sidebars.rb +1 -0
- data/lib/active_admin/resource.rb +3 -2
- data/lib/active_admin/resource_collection.rb +1 -0
- data/lib/active_admin/resource_controller/action_builder.rb +1 -0
- data/lib/active_admin/resource_controller/data_access.rb +30 -4
- data/lib/active_admin/resource_controller/decorators.rb +1 -0
- data/lib/active_admin/resource_controller/polymorphic_routes.rb +1 -0
- data/lib/active_admin/resource_controller/resource_class_methods.rb +1 -0
- data/lib/active_admin/resource_controller/scoping.rb +1 -0
- data/lib/active_admin/resource_controller/sidebars.rb +1 -0
- data/lib/active_admin/resource_controller/streaming.rb +3 -2
- data/lib/active_admin/resource_controller.rb +1 -0
- data/lib/active_admin/resource_dsl.rb +7 -21
- data/lib/active_admin/router.rb +1 -0
- data/lib/active_admin/scope.rb +1 -0
- data/lib/active_admin/settings_node.rb +1 -0
- data/lib/active_admin/sidebar_section.rb +1 -0
- data/lib/active_admin/version.rb +2 -1
- data/lib/active_admin/view_factory.rb +1 -0
- data/lib/active_admin/view_helpers/active_admin_application_helper.rb +1 -0
- data/lib/active_admin/view_helpers/auto_link_helper.rb +1 -0
- data/lib/active_admin/view_helpers/breadcrumb_helper.rb +1 -0
- data/lib/active_admin/view_helpers/display_helper.rb +11 -3
- data/lib/active_admin/view_helpers/download_format_links_helper.rb +1 -0
- data/lib/active_admin/view_helpers/fields_for.rb +1 -0
- data/lib/active_admin/view_helpers/flash_helper.rb +1 -0
- data/lib/active_admin/view_helpers/form_helper.rb +1 -0
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +1 -0
- data/lib/active_admin/view_helpers/scope_name_helper.rb +1 -0
- data/lib/active_admin/view_helpers/sidebar_helper.rb +1 -0
- data/lib/active_admin/view_helpers/title_helper.rb +1 -0
- data/lib/active_admin/view_helpers/view_factory_helper.rb +1 -0
- data/lib/active_admin/view_helpers.rb +1 -0
- data/lib/active_admin/views/action_items.rb +1 -0
- data/lib/active_admin/views/components/active_admin_form.rb +2 -1
- data/lib/active_admin/views/components/active_filters_sidebar_content.rb +59 -0
- data/lib/active_admin/views/components/attributes_table.rb +1 -0
- data/lib/active_admin/views/components/blank_slate.rb +1 -0
- data/lib/active_admin/views/components/columns.rb +1 -0
- data/lib/active_admin/views/components/dropdown_menu.rb +3 -5
- data/lib/active_admin/views/components/index_list.rb +1 -0
- data/lib/active_admin/views/components/menu.rb +1 -0
- data/lib/active_admin/views/components/menu_item.rb +1 -0
- data/lib/active_admin/views/components/paginated_collection.rb +1 -0
- data/lib/active_admin/views/components/panel.rb +1 -0
- data/lib/active_admin/views/components/scopes.rb +1 -0
- data/lib/active_admin/views/components/sidebar.rb +1 -0
- data/lib/active_admin/views/components/sidebar_section.rb +1 -0
- data/lib/active_admin/views/components/site_title.rb +1 -0
- data/lib/active_admin/views/components/status_tag.rb +1 -0
- data/lib/active_admin/views/components/table_for.rb +1 -0
- data/lib/active_admin/views/components/tabs.rb +1 -0
- data/lib/active_admin/views/components/unsupported_browser.rb +1 -0
- data/lib/active_admin/views/footer.rb +1 -0
- data/lib/active_admin/views/header.rb +1 -0
- data/lib/active_admin/views/index_as_block.rb +1 -0
- data/lib/active_admin/views/index_as_blog.rb +1 -0
- data/lib/active_admin/views/index_as_grid.rb +1 -0
- data/lib/active_admin/views/index_as_table.rb +1 -0
- data/lib/active_admin/views/pages/base.rb +4 -1
- data/lib/active_admin/views/pages/form.rb +1 -0
- data/lib/active_admin/views/pages/index.rb +1 -0
- data/lib/active_admin/views/pages/layout.rb +1 -0
- data/lib/active_admin/views/pages/page.rb +1 -0
- data/lib/active_admin/views/pages/show.rb +1 -0
- data/lib/active_admin/views/tabbed_navigation.rb +1 -0
- data/lib/active_admin/views/title_bar.rb +1 -0
- data/lib/active_admin/views.rb +1 -0
- data/lib/active_admin.rb +2 -1
- data/lib/activeadmin.rb +1 -0
- data/lib/generators/active_admin/assets/assets_generator.rb +1 -0
- data/lib/generators/active_admin/devise/devise_generator.rb +1 -0
- data/lib/generators/active_admin/install/install_generator.rb +1 -0
- data/lib/generators/active_admin/install/templates/dashboard.rb +1 -0
- data/lib/generators/active_admin/page/page_generator.rb +1 -0
- data/lib/generators/active_admin/page/templates/page.rb +1 -0
- data/lib/generators/active_admin/resource/resource_generator.rb +1 -0
- data/lib/generators/active_admin/webpacker/webpacker_generator.rb +1 -0
- data/lib/ransack_ext.rb +1 -0
- metadata +19 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 170a59df9471df04e568a2ae1cc4dab8ff58c28fd28a6861a5e87ba596a4e913
|
4
|
+
data.tar.gz: ff345b66e5c18bc94b2a9394d0a633ebe12cce3f7c94b5119ece2b54bcf86836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 558b34213e3a1af076814008a337ed3d7a66fa328c33bb460020f28595f4e4898e815752dde54c8b41ab6fa687989e7c4d0d8cd58113e736bdafe3943b3c3026
|
7
|
+
data.tar.gz: bb0f39fecd17ef5bb0063aaa64cf2ee2684fa52b19faf7b2e37fc273484554ad97a686972f5d5baa02cbd8d785efd9de384769e86b2083f5a2a6c591381d573d
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,111 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 2.13.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.12.0..v2.13.0)
|
6
|
+
|
7
|
+
### Documentation
|
8
|
+
|
9
|
+
* Update validation errors documentation to account for deprecated `ActiveModel::Errors#keys`. [#7475] by [@amit]
|
10
|
+
|
11
|
+
### Dependency Changes
|
12
|
+
|
13
|
+
* Drop rails 6.0 support. [#7476] by [@deivid-rodriguez]
|
14
|
+
|
15
|
+
### Performance
|
16
|
+
|
17
|
+
* Fix pundit performance. [#7479] by [@deivid-rodriguez]
|
18
|
+
|
19
|
+
## 2.12.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.11.2..v2.12.0)
|
20
|
+
|
21
|
+
### Enhancements
|
22
|
+
|
23
|
+
* Add Ransack 3 compatibility. [#7453] by [@tagliala]
|
24
|
+
|
25
|
+
### Bug Fixes
|
26
|
+
|
27
|
+
* Fix pundit namespace detection. [#7144] by [@vlad-psh]
|
28
|
+
|
29
|
+
### Documentation
|
30
|
+
|
31
|
+
* Don't mention webpacker as the default asset generator in Rails. [#7377] by [@jaynetics]
|
32
|
+
|
33
|
+
### Performance
|
34
|
+
|
35
|
+
* Avoid duplicate work when downloading CSV. [#7336] by [@deivid-rodriguez]
|
36
|
+
|
37
|
+
## 2.11.2 [☰](https://github.com/activeadmin/activeadmin/compare/v2.11.1..v2.11.2)
|
38
|
+
|
39
|
+
### Bug Fixes
|
40
|
+
|
41
|
+
* Fix disappearing BOM option for `CSVBuilder`. [#7170] by [@Karoid]
|
42
|
+
|
43
|
+
## 2.11.1 [☰](https://github.com/activeadmin/activeadmin/compare/v2.11.0..v2.11.1)
|
44
|
+
|
45
|
+
### Enhancements
|
46
|
+
|
47
|
+
* Add turbolinks support to has many js. [#7384] by [@amiel]
|
48
|
+
|
49
|
+
### Documentation
|
50
|
+
|
51
|
+
* Remove `insert_tag` from Form-Partial docs. [#7394] by [@TonyArra]
|
52
|
+
|
53
|
+
## 2.11.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.10.1..v2.11.0)
|
54
|
+
|
55
|
+
### Enhancements
|
56
|
+
|
57
|
+
* Add Rails 7 Support. [#7235] by [@tagliala]
|
58
|
+
|
59
|
+
### Bug Fixes
|
60
|
+
|
61
|
+
* Fix form SCSS variables no longer being defined in the outermost scope, so no longer being accessible. [#7341] by [@gigorok]
|
62
|
+
|
63
|
+
## 2.10.1 [☰](https://github.com/activeadmin/activeadmin/compare/v2.10.0..v2.10.1)
|
64
|
+
|
65
|
+
### Enhancements
|
66
|
+
|
67
|
+
* Apply `box-sizing: border-box` globally. [#7349] by [@deivid-rodriguez]
|
68
|
+
* Vendor normalize 8.0.1. [#7350] by [@deivid-rodriguez]
|
69
|
+
* Remove deprecation warning using controller filters inside initializer. [#7340] by [@mgrunberg]
|
70
|
+
|
71
|
+
### Bug Fixes
|
72
|
+
|
73
|
+
* Fix frozen string error when downloading CSV and streaming disabled. [#7332] by [@deivid-rodriguez]
|
74
|
+
|
75
|
+
## 2.10.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.9.0..v2.10.0)
|
76
|
+
|
77
|
+
### Enhancements
|
78
|
+
|
79
|
+
* Load favicon from Webpacker assets when use_webpacker is set to true. [#6954] by [@Fs00]
|
80
|
+
* Don't apply sorting to collection until after scoping. [#7205] by [@agrobbin]
|
81
|
+
* Resolve dart sass deprecation warning for division. [#7095] by [@tordans]
|
82
|
+
* Use `instrument` from the Notifications API instead of low level `publish`. [#7262] by [@sprql]
|
83
|
+
* Avoid mutating string literals. [#6936] by [@tomgilligan]
|
84
|
+
* Include print styles in main stylesheet. [#6922] by [@deivid-rodriguez]
|
85
|
+
* Use `POST` for OmniAuth links. [#6916] by [@deivid-rodriguez]
|
86
|
+
* Scope new record instantiation by authorization scope. [#6884] by [@ngouy]
|
87
|
+
* Make `permit_params` and `belongs_to` order independent. [#6906] by [@deivid-rodriguez]
|
88
|
+
* Use collection length instead of running COUNTs for limited collections. [#5660] by [@MmKolodziej]
|
89
|
+
|
90
|
+
### Bug Fixes
|
91
|
+
|
92
|
+
* Show ransackable_scopes filters in search results. [#7127] by [@vlad-psh]
|
93
|
+
|
94
|
+
### Translation Improvements
|
95
|
+
|
96
|
+
* Fix Dutch translation for password reset button. [#7181] by [@mvz]
|
97
|
+
* Add few key to RO pagination.entry. [#6915] by [@lubosch]
|
98
|
+
* Change misleading Korean translation. [#6873] by [@1000ship]
|
99
|
+
|
100
|
+
### Documentation
|
101
|
+
|
102
|
+
* Replace deprecated update_attributes! with update!. [#6959] by [@sergey-alekseev]
|
103
|
+
* Clarify docs on user setup. [#6872] by [@javawizard]
|
104
|
+
|
105
|
+
### Dependency Changes
|
106
|
+
|
107
|
+
* Drop rails 5.2 support. [#7293] by [@deivid-rodriguez]
|
108
|
+
* Drop support for Ruby 2.5. [#7236] by [@alejandroperea]
|
109
|
+
|
5
110
|
## 2.9.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.8.1..v2.9.0)
|
6
111
|
|
7
112
|
### Enhancements
|
@@ -587,6 +692,7 @@ Please check [0-6-stable] for previous changes.
|
|
587
692
|
[#5631]: https://github.com/activeadmin/activeadmin/pull/5631
|
588
693
|
[#5632]: https://github.com/activeadmin/activeadmin/pull/5632
|
589
694
|
[#5650]: https://github.com/activeadmin/activeadmin/pull/5650
|
695
|
+
[#5660]: https://github.com/activeadmin/activeadmin/pull/5660
|
590
696
|
[#5662]: https://github.com/activeadmin/activeadmin/pull/5662
|
591
697
|
[#5710]: https://github.com/activeadmin/activeadmin/pull/5710
|
592
698
|
[#5726]: https://github.com/activeadmin/activeadmin/pull/5726
|
@@ -650,13 +756,50 @@ Please check [0-6-stable] for previous changes.
|
|
650
756
|
[#6548]: https://github.com/activeadmin/activeadmin/pull/6548
|
651
757
|
[#6583]: https://github.com/activeadmin/activeadmin/pull/6583
|
652
758
|
[#6584]: https://github.com/activeadmin/activeadmin/pull/6584
|
653
|
-
|
759
|
+
[#6872]: https://github.com/activeadmin/activeadmin/pull/6872
|
760
|
+
[#6873]: https://github.com/activeadmin/activeadmin/pull/6873
|
761
|
+
[#6884]: https://github.com/activeadmin/activeadmin/pull/6884
|
762
|
+
[#6906]: https://github.com/activeadmin/activeadmin/pull/6906
|
763
|
+
[#6915]: https://github.com/activeadmin/activeadmin/pull/6915
|
764
|
+
[#6916]: https://github.com/activeadmin/activeadmin/pull/6916
|
765
|
+
[#6922]: https://github.com/activeadmin/activeadmin/pull/6922
|
766
|
+
[#6936]: https://github.com/activeadmin/activeadmin/pull/6936
|
767
|
+
[#6954]: https://github.com/activeadmin/activeadmin/pull/6954
|
768
|
+
[#6959]: https://github.com/activeadmin/activeadmin/pull/6959
|
769
|
+
[#7095]: https://github.com/activeadmin/activeadmin/pull/7095
|
770
|
+
[#7127]: https://github.com/activeadmin/activeadmin/pull/7127
|
771
|
+
[#7144]: https://github.com/activeadmin/activeadmin/pull/7144
|
772
|
+
[#7170]: https://github.com/activeadmin/activeadmin/pull/7170
|
773
|
+
[#7181]: https://github.com/activeadmin/activeadmin/pull/7181
|
774
|
+
[#7205]: https://github.com/activeadmin/activeadmin/pull/7205
|
775
|
+
[#7235]: https://github.com/activeadmin/activeadmin/pull/7235
|
776
|
+
[#7236]: https://github.com/activeadmin/activeadmin/pull/7236
|
777
|
+
[#7262]: https://github.com/activeadmin/activeadmin/pull/7262
|
778
|
+
[#7293]: https://github.com/activeadmin/activeadmin/pull/7293
|
779
|
+
[#7332]: https://github.com/activeadmin/activeadmin/pull/7332
|
780
|
+
[#7336]: https://github.com/activeadmin/activeadmin/pull/7336
|
781
|
+
[#7340]: https://github.com/activeadmin/activeadmin/pull/7340
|
782
|
+
[#7341]: https://github.com/activeadmin/activeadmin/pull/7341
|
783
|
+
[#7349]: https://github.com/activeadmin/activeadmin/pull/7349
|
784
|
+
[#7350]: https://github.com/activeadmin/activeadmin/pull/7350
|
785
|
+
[#7377]: https://github.com/activeadmin/activeadmin/pull/7377
|
786
|
+
[#7384]: https://github.com/activeadmin/activeadmin/pull/7384
|
787
|
+
[#7394]: https://github.com/activeadmin/activeadmin/pull/7394
|
788
|
+
[#7453]: https://github.com/activeadmin/activeadmin/pull/7453
|
789
|
+
[#7475]: https://github.com/activeadmin/activeadmin/pull/7475
|
790
|
+
[#7476]: https://github.com/activeadmin/activeadmin/pull/7476
|
791
|
+
[#7479]: https://github.com/activeadmin/activeadmin/pull/7479
|
792
|
+
|
793
|
+
[@1000ship]: https://github.com/1000ship
|
654
794
|
[@5t111111]: https://github.com/5t111111
|
655
795
|
[@aarek]: https://github.com/aarek
|
656
796
|
[@adler99]: https://github.com/adler99
|
797
|
+
[@agrobbin]: https://github.com/agrobbin
|
657
798
|
[@ajw725]: https://github.com/ajw725
|
799
|
+
[@alejandroperea]: https://github.com/alejandroperea
|
658
800
|
[@alex-bogomolov]: https://github.com/alex-bogomolov
|
659
801
|
[@amiel]: https://github.com/amiel
|
802
|
+
[@amit]: https://github.com/amit
|
660
803
|
[@amiuhle]: https://github.com/amiuhle
|
661
804
|
[@andreslemik]: https://github.com/andreslemik
|
662
805
|
[@bartoszkopinski]: https://github.com/bartoszkopinski
|
@@ -681,8 +824,10 @@ Please check [0-6-stable] for previous changes.
|
|
681
824
|
[@FabioRos]: https://github.com/FabioRos
|
682
825
|
[@faucct]: https://github.com/faucct
|
683
826
|
[@Fivell]: https://github.com/Fivell
|
827
|
+
[@Fs00]: https://github.com/Fs00
|
684
828
|
[@fuzziness]: https://github.com/fuzziness
|
685
829
|
[@giapnhdev]: https://github.com/giapnhdev
|
830
|
+
[@gigorok]: https://github.com/gigorok
|
686
831
|
[@glebtv]: https://github.com/glebtv
|
687
832
|
[@gonzedge]: https://github.com/gonzedge
|
688
833
|
[@guigs]: https://github.com/guigs
|
@@ -693,14 +838,17 @@ Please check [0-6-stable] for previous changes.
|
|
693
838
|
[@irmela]: https://github.com/irmela
|
694
839
|
[@Ivanov-Anton]: https://github.com/Ivanov-Anton
|
695
840
|
[@jasl]: https://github.com/jasl
|
841
|
+
[@javawizard]: https://github.com/javawizard
|
696
842
|
[@javierjulio]: https://github.com/javierjulio
|
697
843
|
[@jawa]: https://github.com/jawa
|
844
|
+
[@jaynetics]: https://github.com/jaynetics
|
698
845
|
[@JiiHu]: https://github.com/JiiHu
|
699
846
|
[@jiikko]: https://github.com/jiikko
|
700
847
|
[@johnnyshields]: https://github.com/johnnyshields
|
701
848
|
[@jscheid]: https://github.com/jscheid
|
702
849
|
[@juril33t]: https://github.com/juril33t
|
703
850
|
[@jwesorick]: https://github.com/jwesorick
|
851
|
+
[@Karoid]: https://github.com/Karoid
|
704
852
|
[@kjeldahl]: https://github.com/kjeldahl
|
705
853
|
[@ko-lem]: https://github.com/ko-lem
|
706
854
|
[@kobeumut]: https://github.com/kobeumut
|
@@ -710,14 +858,19 @@ Please check [0-6-stable] for previous changes.
|
|
710
858
|
[@leio10]: https://github.com/leio10
|
711
859
|
[@littleforest]: https://github.com/littleforest
|
712
860
|
[@Looooong]: https://github.com/Looooong
|
861
|
+
[@lubosch]: https://github.com/lubosch
|
713
862
|
[@markstory]: https://github.com/markstory
|
714
863
|
[@mauriciopasquier]: https://github.com/mauriciopasquier
|
715
864
|
[@mconiglio]: https://github.com/mconiglio
|
865
|
+
[@mgrunberg]: https://github.com/mgrunberg
|
716
866
|
[@micred]: https://github.com/micred
|
717
867
|
[@mirelon]: https://github.com/mirelon
|
868
|
+
[@MmKolodziej]: https://github.com/MmKolodziej
|
718
869
|
[@mshalaby]: https://github.com/mshalaby
|
719
870
|
[@munen]: https://github.com/munen
|
871
|
+
[@mvz]: https://github.com/mvz
|
720
872
|
[@ndbroadbent]: https://github.com/ndbroadbent
|
873
|
+
[@ngouy]: https://github.com/ngouy
|
721
874
|
[@Nguyenanh]: https://github.com/Nguyenanh
|
722
875
|
[@orkhan]: https://github.com/orkhan
|
723
876
|
[@panasyuk]: https://github.com/panasyuk
|
@@ -730,22 +883,29 @@ Please check [0-6-stable] for previous changes.
|
|
730
883
|
[@rogerkk]: https://github.com/rogerkk
|
731
884
|
[@roramirez]: https://github.com/roramirez
|
732
885
|
[@seanlinsley]: https://github.com/seanlinsley
|
886
|
+
[@sergey-alekseev]: https://github.com/sergey-alekseev
|
733
887
|
[@sgara]: https://github.com/sgara
|
734
888
|
[@ShallmentMo]: https://github.com/ShallmentMo
|
735
889
|
[@shekibobo]: https://github.com/shekibobo
|
736
890
|
[@shouya]: https://github.com/shouya
|
737
891
|
[@sjieg]: https://github.com/sjieg
|
892
|
+
[@sprql]: https://github.com/sprql
|
738
893
|
[@stefsava]: https://github.com/stefsava
|
739
894
|
[@stereoscott]: https://github.com/stereoscott
|
895
|
+
[@tagliala]: https://github.com/tagliala
|
740
896
|
[@taralbass]: https://github.com/taralbass
|
741
897
|
[@tiagotex]: https://github.com/tiagotex
|
742
898
|
[@timoschilling]: https://github.com/timoschilling
|
743
899
|
[@TimPetricola]: https://github.com/TimPetricola
|
900
|
+
[@tomgilligan]: https://github.com/tomgilligan
|
901
|
+
[@TonyArra]: https://github.com/TonyArra
|
902
|
+
[@tordans]: https://github.com/tordans
|
744
903
|
[@utkarsh2102]: https://github.com/utkarsh2102
|
745
904
|
[@varyonic]: https://github.com/varyonic
|
746
905
|
[@vcsjones]: https://github.com/vcsjones
|
747
906
|
[@vfonic]: https://github.com/vfonic
|
748
907
|
[@violeta-p]: https://github.com/violeta-p
|
908
|
+
[@vlad-psh]: https://github.com/vlad-psh
|
749
909
|
[@WaKeMaTTa]: https://github.com/WaKeMaTTa
|
750
910
|
[@wasifhossain]: https://github.com/wasifhossain
|
751
911
|
[@westonganger]: https://github.com/westonganger
|
data/CONTRIBUTING.md
CHANGED
@@ -63,7 +63,7 @@ If you want to test against a Rails version different from the latest, make sure
|
|
63
63
|
you use the correct Gemfile, for example:
|
64
64
|
|
65
65
|
```sh
|
66
|
-
export BUNDLE_GEMFILE=gemfiles/
|
66
|
+
export BUNDLE_GEMFILE=gemfiles/rails_61/Gemfile
|
67
67
|
```
|
68
68
|
|
69
69
|
**Warning** SCSS assets are aimed to be used indifferently with Sprockets **and** webpacker.
|
@@ -81,7 +81,7 @@
|
|
81
81
|
}
|
82
82
|
});
|
83
83
|
}
|
84
|
-
var onDOMReady = function onDOMReady() {
|
84
|
+
var onDOMReady$2 = function onDOMReady() {
|
85
85
|
$(".batch_actions_selector li a").off("click confirm:complete");
|
86
86
|
$(".batch_actions_selector li a").on("click", function(event) {
|
87
87
|
var _this = this;
|
@@ -125,7 +125,7 @@
|
|
125
125
|
});
|
126
126
|
}
|
127
127
|
};
|
128
|
-
$(document).ready(onDOMReady).on("page:load turbolinks:load", onDOMReady);
|
128
|
+
$(document).ready(onDOMReady$2).on("page:load turbolinks:load", onDOMReady$2);
|
129
129
|
var CheckboxToggler = function() {
|
130
130
|
function CheckboxToggler(options, container) {
|
131
131
|
this.options = options;
|
@@ -392,7 +392,6 @@
|
|
392
392
|
$(document).on("change", '.has_many_container[data-sortable] :input[name$="[_destroy]"]', function() {
|
393
393
|
recompute_positions($(this).closest(".has_many"));
|
394
394
|
});
|
395
|
-
init_sortable();
|
396
395
|
$(document).on("has_many_add:after", ".has_many_container", init_sortable);
|
397
396
|
});
|
398
397
|
var init_sortable = function init_sortable() {
|
@@ -426,6 +425,7 @@
|
|
426
425
|
}
|
427
426
|
});
|
428
427
|
};
|
428
|
+
$(document).ready(init_sortable).on("page:load turbolinks:load", init_sortable);
|
429
429
|
var PerPage = function() {
|
430
430
|
function PerPage(element) {
|
431
431
|
this.element = element;
|
@@ -471,7 +471,14 @@
|
|
471
471
|
function _inheritsLoose(subClass, superClass) {
|
472
472
|
subClass.prototype = Object.create(superClass.prototype);
|
473
473
|
subClass.prototype.constructor = subClass;
|
474
|
-
subClass
|
474
|
+
_setPrototypeOf(subClass, superClass);
|
475
|
+
}
|
476
|
+
function _setPrototypeOf(o, p) {
|
477
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
478
|
+
o.__proto__ = p;
|
479
|
+
return o;
|
480
|
+
};
|
481
|
+
return _setPrototypeOf(o, p);
|
475
482
|
}
|
476
483
|
var TableCheckboxToggler = function(_CheckboxToggler) {
|
477
484
|
_inheritsLoose(TableCheckboxToggler, _CheckboxToggler);
|
@@ -501,10 +508,10 @@
|
|
501
508
|
return TableCheckboxToggler;
|
502
509
|
}(CheckboxToggler);
|
503
510
|
$.widget.bridge("tableCheckboxToggler", TableCheckboxToggler);
|
504
|
-
var onDOMReady
|
511
|
+
var onDOMReady = function onDOMReady() {
|
505
512
|
return $("#active_admin_content .tabs").tabs();
|
506
513
|
};
|
507
|
-
$(document).ready(onDOMReady
|
514
|
+
$(document).ready(onDOMReady).on("page:load turbolinks:load", onDOMReady);
|
508
515
|
function modal_dialog(message, inputs, callback) {
|
509
516
|
console.warn("ActiveAdmin.modal_dialog is deprecated in favor of ActiveAdmin.ModalDialog, please update usage.");
|
510
517
|
return ModalDialog(message, inputs, callback);
|
@@ -1,41 +1,57 @@
|
|
1
1
|
/* Active Admin CSS */
|
2
|
-
|
3
|
-
|
2
|
+
@media screen {
|
3
|
+
// Normalize
|
4
|
+
@import "./normalize";
|
4
5
|
|
5
|
-
// Partials
|
6
|
-
@import "./typography";
|
7
|
-
@import "./header";
|
8
|
-
@import "./forms";
|
9
|
-
@import "./components/comments";
|
10
|
-
@import "./components/flash_messages";
|
11
|
-
@import "./components/date_picker";
|
12
|
-
@import "./components/tables";
|
13
|
-
@import "./components/batch_actions";
|
14
|
-
@import "./components/modal_dialog";
|
15
|
-
@import "./components/blank_slates";
|
16
|
-
@import "./components/breadcrumbs";
|
17
|
-
@import "./components/dropdown_menu";
|
18
|
-
@import "./components/buttons";
|
19
|
-
@import "./components/grid";
|
20
|
-
@import "./components/links";
|
21
|
-
@import "./components/pagination";
|
22
|
-
@import "./components/panels";
|
23
|
-
@import "./components/columns";
|
24
|
-
@import "./components/scopes";
|
25
|
-
@import "./components/status_tags";
|
26
|
-
@import "./components/table_tools";
|
27
|
-
@import "./components/index_list";
|
28
|
-
@import "./components/unsupported_browser";
|
29
|
-
@import "./components/tabs";
|
30
|
-
@import "./pages/logged_out";
|
31
|
-
@import "./structure/footer";
|
32
|
-
@import "./structure/main_structure";
|
33
|
-
@import "./structure/title_bar";
|
6
|
+
// Partials
|
7
|
+
@import "./typography";
|
8
|
+
@import "./header";
|
9
|
+
@import "./forms";
|
10
|
+
@import "./components/comments";
|
11
|
+
@import "./components/flash_messages";
|
12
|
+
@import "./components/date_picker";
|
13
|
+
@import "./components/tables";
|
14
|
+
@import "./components/batch_actions";
|
15
|
+
@import "./components/modal_dialog";
|
16
|
+
@import "./components/blank_slates";
|
17
|
+
@import "./components/breadcrumbs";
|
18
|
+
@import "./components/dropdown_menu";
|
19
|
+
@import "./components/buttons";
|
20
|
+
@import "./components/grid";
|
21
|
+
@import "./components/links";
|
22
|
+
@import "./components/pagination";
|
23
|
+
@import "./components/panels";
|
24
|
+
@import "./components/columns";
|
25
|
+
@import "./components/scopes";
|
26
|
+
@import "./components/status_tags";
|
27
|
+
@import "./components/table_tools";
|
28
|
+
@import "./components/index_list";
|
29
|
+
@import "./components/unsupported_browser";
|
30
|
+
@import "./components/tabs";
|
31
|
+
@import "./pages/logged_out";
|
32
|
+
@import "./structure/footer";
|
33
|
+
@import "./structure/main_structure";
|
34
|
+
@import "./structure/title_bar";
|
34
35
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
36
|
+
html {
|
37
|
+
box-sizing: border-box;
|
38
|
+
}
|
39
|
+
|
40
|
+
*,
|
41
|
+
*:before,
|
42
|
+
*:after {
|
43
|
+
box-sizing: inherit;
|
44
|
+
}
|
45
|
+
|
46
|
+
body {
|
47
|
+
@include sans-family;
|
48
|
+
line-height: 1.5;
|
49
|
+
font-size: 72%;
|
50
|
+
background: $body-background-color;
|
51
|
+
color: $text-color;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
@media print {
|
56
|
+
@import "./print";
|
41
57
|
}
|
@@ -250,8 +250,6 @@ form {
|
|
250
250
|
|
251
251
|
// -------------------------------------- Sidebar Forms
|
252
252
|
|
253
|
-
$sidebar-inner-content-width: $sidebar-width - ($section-padding * 2);
|
254
|
-
|
255
253
|
.sidebar_section {
|
256
254
|
|
257
255
|
label {
|
@@ -274,13 +272,6 @@ $sidebar-inner-content-width: $sidebar-width - ($section-padding * 2);
|
|
274
272
|
|
275
273
|
// -------------------------------------- Filter Forms
|
276
274
|
|
277
|
-
$filter-field-seperator-width: 12px;
|
278
|
-
|
279
|
-
$side-by-side-filter-input-width: ($sidebar-inner-content-width / 2) - ($text-input-horizontal-padding * 2) - $filter-field-seperator-width;
|
280
|
-
$side-by-side-filter-select-width: ($sidebar-inner-content-width / 2) - $filter-field-seperator-width;
|
281
|
-
|
282
|
-
$date-range-filter-input-width: ($sidebar-inner-content-width / 2) - ($filter-field-seperator-width / 2);
|
283
|
-
|
284
275
|
form.filter_form {
|
285
276
|
.filter_form_field {
|
286
277
|
margin-bottom: 10px;
|
@@ -313,7 +304,6 @@ form.filter_form {
|
|
313
304
|
|
314
305
|
&.filter_date_range {
|
315
306
|
input[type=text] {
|
316
|
-
box-sizing: border-box;
|
317
307
|
width: $date-range-filter-input-width;
|
318
308
|
|
319
309
|
+ input {
|