activeadmin 2.9.0 → 2.11.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.

Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +99 -1
  3. data/app/assets/javascripts/active_admin/base.js +12 -5
  4. data/app/assets/stylesheets/active_admin/_base.scss +53 -37
  5. data/app/assets/stylesheets/active_admin/_forms.scss +0 -10
  6. data/app/assets/stylesheets/active_admin/_normalize.scss +25 -123
  7. data/app/assets/stylesheets/active_admin/{print.scss → _print.scss} +0 -0
  8. data/app/assets/stylesheets/active_admin/components/_date_picker.scss +1 -2
  9. data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +0 -1
  10. data/app/assets/stylesheets/active_admin/mixins/_variables.scss +9 -0
  11. data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +0 -1
  12. data/app/views/active_admin/devise/shared/_links.erb +1 -1
  13. data/app/views/active_admin/page/index.html.arb +1 -0
  14. data/app/views/active_admin/resource/edit.html.arb +1 -0
  15. data/app/views/active_admin/resource/index.html.arb +1 -0
  16. data/app/views/active_admin/resource/new.html.arb +1 -0
  17. data/app/views/active_admin/resource/show.html.arb +1 -0
  18. data/app/views/layouts/active_admin.html.arb +1 -0
  19. data/config/locales/ko.yml +1 -1
  20. data/config/locales/nl.yml +1 -1
  21. data/config/locales/ro.yml +3 -2
  22. data/docs/0-installation.md +1 -1
  23. data/docs/8-custom-actions.md +1 -1
  24. data/docs/Gemfile +1 -0
  25. data/docs/Gemfile.lock +113 -89
  26. data/lib/active_admin/abstract_view_factory.rb +1 -0
  27. data/lib/active_admin/application.rb +9 -9
  28. data/lib/active_admin/application_settings.rb +1 -0
  29. data/lib/active_admin/asset_registration.rb +1 -0
  30. data/lib/active_admin/authorization_adapter.rb +1 -0
  31. data/lib/active_admin/base_controller/authorization.rb +2 -1
  32. data/lib/active_admin/base_controller/menu.rb +1 -0
  33. data/lib/active_admin/base_controller.rb +2 -1
  34. data/lib/active_admin/batch_actions/controller.rb +1 -0
  35. data/lib/active_admin/batch_actions/resource_extension.rb +1 -0
  36. data/lib/active_admin/batch_actions/views/batch_action_form.rb +1 -0
  37. data/lib/active_admin/batch_actions/views/batch_action_selector.rb +1 -0
  38. data/lib/active_admin/batch_actions/views/selection_cells.rb +1 -0
  39. data/lib/active_admin/batch_actions.rb +1 -0
  40. data/lib/active_admin/callbacks.rb +1 -0
  41. data/lib/active_admin/cancan_adapter.rb +1 -0
  42. data/lib/active_admin/collection_decorator.rb +1 -0
  43. data/lib/active_admin/component.rb +1 -0
  44. data/lib/active_admin/controller_action.rb +1 -0
  45. data/lib/active_admin/csv_builder.rb +1 -0
  46. data/lib/active_admin/dependency.rb +2 -1
  47. data/lib/active_admin/deprecation.rb +1 -0
  48. data/lib/active_admin/devise.rb +11 -0
  49. data/lib/active_admin/dsl.rb +1 -0
  50. data/lib/active_admin/dynamic_setting.rb +1 -0
  51. data/lib/active_admin/dynamic_settings_node.rb +1 -0
  52. data/lib/active_admin/engine.rb +3 -1
  53. data/lib/active_admin/error.rb +1 -0
  54. data/lib/active_admin/filters/active.rb +1 -0
  55. data/lib/active_admin/filters/active_filter.rb +1 -0
  56. data/lib/active_admin/filters/active_sidebar.rb +2 -28
  57. data/lib/active_admin/filters/dsl.rb +1 -0
  58. data/lib/active_admin/filters/forms.rb +1 -0
  59. data/lib/active_admin/filters/formtastic_addons.rb +1 -0
  60. data/lib/active_admin/filters/resource_extension.rb +1 -0
  61. data/lib/active_admin/filters.rb +1 -0
  62. data/lib/active_admin/form_builder.rb +1 -0
  63. data/lib/active_admin/generators/boilerplate.rb +1 -0
  64. data/lib/active_admin/helpers/collection.rb +2 -0
  65. data/lib/active_admin/helpers/i18n.rb +1 -0
  66. data/lib/active_admin/helpers/optional_display.rb +1 -0
  67. data/lib/active_admin/helpers/routes/url_helpers.rb +1 -0
  68. data/lib/active_admin/helpers/scope_chain.rb +1 -0
  69. data/lib/active_admin/inputs/datepicker_input.rb +1 -0
  70. data/lib/active_admin/inputs/filters/base/search_method_select.rb +1 -0
  71. data/lib/active_admin/inputs/filters/base.rb +1 -0
  72. data/lib/active_admin/inputs/filters/boolean_input.rb +1 -0
  73. data/lib/active_admin/inputs/filters/check_boxes_input.rb +1 -0
  74. data/lib/active_admin/inputs/filters/date_picker_input.rb +1 -0
  75. data/lib/active_admin/inputs/filters/date_range_input.rb +1 -0
  76. data/lib/active_admin/inputs/filters/numeric_input.rb +1 -0
  77. data/lib/active_admin/inputs/filters/select_input.rb +1 -0
  78. data/lib/active_admin/inputs/filters/string_input.rb +1 -0
  79. data/lib/active_admin/inputs/filters/text_input.rb +1 -0
  80. data/lib/active_admin/inputs.rb +1 -0
  81. data/lib/active_admin/localizers/resource_localizer.rb +1 -0
  82. data/lib/active_admin/localizers.rb +1 -0
  83. data/lib/active_admin/menu.rb +1 -0
  84. data/lib/active_admin/menu_collection.rb +1 -0
  85. data/lib/active_admin/menu_item.rb +1 -0
  86. data/lib/active_admin/namespace.rb +2 -1
  87. data/lib/active_admin/namespace_settings.rb +1 -0
  88. data/lib/active_admin/order_clause.rb +1 -0
  89. data/lib/active_admin/orm/active_record/comments/comment.rb +1 -0
  90. data/lib/active_admin/orm/active_record/comments/namespace_helper.rb +1 -0
  91. data/lib/active_admin/orm/active_record/comments/resource_helper.rb +1 -0
  92. data/lib/active_admin/orm/active_record/comments/show_page_helper.rb +1 -0
  93. data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +1 -0
  94. data/lib/active_admin/orm/active_record/comments/views.rb +1 -0
  95. data/lib/active_admin/orm/active_record/comments.rb +1 -0
  96. data/lib/active_admin/orm/active_record.rb +1 -0
  97. data/lib/active_admin/orm/mongoid.rb +1 -0
  98. data/lib/active_admin/page.rb +1 -0
  99. data/lib/active_admin/page_controller.rb +1 -0
  100. data/lib/active_admin/page_dsl.rb +1 -0
  101. data/lib/active_admin/page_presenter.rb +1 -0
  102. data/lib/active_admin/pundit_adapter.rb +1 -0
  103. data/lib/active_admin/resource/action_items.rb +1 -0
  104. data/lib/active_admin/resource/attributes.rb +1 -0
  105. data/lib/active_admin/resource/belongs_to.rb +1 -0
  106. data/lib/active_admin/resource/controllers.rb +1 -0
  107. data/lib/active_admin/resource/includes.rb +1 -0
  108. data/lib/active_admin/resource/menu.rb +1 -0
  109. data/lib/active_admin/resource/model.rb +1 -0
  110. data/lib/active_admin/resource/naming.rb +1 -0
  111. data/lib/active_admin/resource/ordering.rb +1 -0
  112. data/lib/active_admin/resource/page_presenters.rb +1 -0
  113. data/lib/active_admin/resource/pagination.rb +1 -0
  114. data/lib/active_admin/resource/routes.rb +1 -0
  115. data/lib/active_admin/resource/scope_to.rb +1 -0
  116. data/lib/active_admin/resource/scopes.rb +1 -0
  117. data/lib/active_admin/resource/sidebars.rb +1 -0
  118. data/lib/active_admin/resource.rb +3 -2
  119. data/lib/active_admin/resource_collection.rb +1 -0
  120. data/lib/active_admin/resource_controller/action_builder.rb +1 -0
  121. data/lib/active_admin/resource_controller/data_access.rb +3 -2
  122. data/lib/active_admin/resource_controller/decorators.rb +1 -0
  123. data/lib/active_admin/resource_controller/polymorphic_routes.rb +1 -0
  124. data/lib/active_admin/resource_controller/resource_class_methods.rb +1 -0
  125. data/lib/active_admin/resource_controller/scoping.rb +1 -0
  126. data/lib/active_admin/resource_controller/sidebars.rb +1 -0
  127. data/lib/active_admin/resource_controller/streaming.rb +3 -2
  128. data/lib/active_admin/resource_controller.rb +1 -0
  129. data/lib/active_admin/resource_dsl.rb +7 -21
  130. data/lib/active_admin/router.rb +1 -0
  131. data/lib/active_admin/scope.rb +1 -0
  132. data/lib/active_admin/settings_node.rb +1 -0
  133. data/lib/active_admin/sidebar_section.rb +1 -0
  134. data/lib/active_admin/version.rb +2 -1
  135. data/lib/active_admin/view_factory.rb +1 -0
  136. data/lib/active_admin/view_helpers/active_admin_application_helper.rb +1 -0
  137. data/lib/active_admin/view_helpers/auto_link_helper.rb +1 -0
  138. data/lib/active_admin/view_helpers/breadcrumb_helper.rb +1 -0
  139. data/lib/active_admin/view_helpers/display_helper.rb +11 -3
  140. data/lib/active_admin/view_helpers/download_format_links_helper.rb +1 -0
  141. data/lib/active_admin/view_helpers/fields_for.rb +1 -0
  142. data/lib/active_admin/view_helpers/flash_helper.rb +1 -0
  143. data/lib/active_admin/view_helpers/form_helper.rb +1 -0
  144. data/lib/active_admin/view_helpers/method_or_proc_helper.rb +1 -0
  145. data/lib/active_admin/view_helpers/scope_name_helper.rb +1 -0
  146. data/lib/active_admin/view_helpers/sidebar_helper.rb +1 -0
  147. data/lib/active_admin/view_helpers/title_helper.rb +1 -0
  148. data/lib/active_admin/view_helpers/view_factory_helper.rb +1 -0
  149. data/lib/active_admin/view_helpers.rb +1 -0
  150. data/lib/active_admin/views/action_items.rb +1 -0
  151. data/lib/active_admin/views/components/active_admin_form.rb +2 -1
  152. data/lib/active_admin/views/components/active_filters_sidebar_content.rb +59 -0
  153. data/lib/active_admin/views/components/attributes_table.rb +1 -0
  154. data/lib/active_admin/views/components/blank_slate.rb +1 -0
  155. data/lib/active_admin/views/components/columns.rb +1 -0
  156. data/lib/active_admin/views/components/dropdown_menu.rb +3 -5
  157. data/lib/active_admin/views/components/index_list.rb +1 -0
  158. data/lib/active_admin/views/components/menu.rb +1 -0
  159. data/lib/active_admin/views/components/menu_item.rb +1 -0
  160. data/lib/active_admin/views/components/paginated_collection.rb +1 -0
  161. data/lib/active_admin/views/components/panel.rb +1 -0
  162. data/lib/active_admin/views/components/scopes.rb +1 -0
  163. data/lib/active_admin/views/components/sidebar.rb +1 -0
  164. data/lib/active_admin/views/components/sidebar_section.rb +1 -0
  165. data/lib/active_admin/views/components/site_title.rb +1 -0
  166. data/lib/active_admin/views/components/status_tag.rb +1 -0
  167. data/lib/active_admin/views/components/table_for.rb +1 -0
  168. data/lib/active_admin/views/components/tabs.rb +1 -0
  169. data/lib/active_admin/views/components/unsupported_browser.rb +1 -0
  170. data/lib/active_admin/views/footer.rb +1 -0
  171. data/lib/active_admin/views/header.rb +1 -0
  172. data/lib/active_admin/views/index_as_block.rb +1 -0
  173. data/lib/active_admin/views/index_as_blog.rb +1 -0
  174. data/lib/active_admin/views/index_as_grid.rb +1 -0
  175. data/lib/active_admin/views/index_as_table.rb +1 -0
  176. data/lib/active_admin/views/pages/base.rb +4 -1
  177. data/lib/active_admin/views/pages/form.rb +1 -0
  178. data/lib/active_admin/views/pages/index.rb +1 -0
  179. data/lib/active_admin/views/pages/layout.rb +1 -0
  180. data/lib/active_admin/views/pages/page.rb +1 -0
  181. data/lib/active_admin/views/pages/show.rb +1 -0
  182. data/lib/active_admin/views/tabbed_navigation.rb +1 -0
  183. data/lib/active_admin/views/title_bar.rb +1 -0
  184. data/lib/active_admin/views.rb +1 -0
  185. data/lib/active_admin.rb +2 -1
  186. data/lib/activeadmin.rb +1 -0
  187. data/lib/generators/active_admin/assets/assets_generator.rb +1 -0
  188. data/lib/generators/active_admin/devise/devise_generator.rb +1 -0
  189. data/lib/generators/active_admin/install/install_generator.rb +1 -0
  190. data/lib/generators/active_admin/install/templates/dashboard.rb +1 -0
  191. data/lib/generators/active_admin/page/page_generator.rb +1 -0
  192. data/lib/generators/active_admin/page/templates/page.rb +1 -0
  193. data/lib/generators/active_admin/resource/resource_generator.rb +1 -0
  194. data/lib/generators/active_admin/webpacker/webpacker_generator.rb +1 -0
  195. data/lib/ransack_ext.rb +1 -0
  196. metadata +13 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a79fadc45ea60de060d130d9ce18ca04b0becd14baae2e46b3749b76cb7bd20
4
- data.tar.gz: 59ecfb3dba085bd66b2534991dcba8e14dae2f76a07baae37f8b8daaa4063917
3
+ metadata.gz: b578018efdba15f5dae1b1050ea996d6330dbdcf8c7497d6a2522112dbe7c216
4
+ data.tar.gz: '094f47ca19bade29e51f71b5547b745df10bffa882da86377c405631091871ea'
5
5
  SHA512:
6
- metadata.gz: 2d26b7fb0ffbd1da98ca7b4f685a7c386dcab3f25079f5e16e7926cb1c9ce2060db7ecc27d158608091a178590c9604b33850d5f44009401bee467c6f84811a0
7
- data.tar.gz: 1273181e98620f7af30434e4fb669d95eddfa7633d3e5fb5b51fbb31bf8d8b7615e07c413590cba13b86b5fc1e087dc589f7f4f227c6ff62c4ea25925faf07f8
6
+ metadata.gz: 5557cc728762d85d8a1ffda799a361f24562f169c67a9684c0abd37327561a20a0f94ac667ae5eb19d069d4ebe8f766fc0d5d6dd2b7999bd882428ccd4dfba97
7
+ data.tar.gz: 74d0c6f3c6cf60595725db5d4a28c6b1a7c0c51355d47d1165e773452fb8662ac560c20e4edafc3257fe8721fbf5e8f264a6f4b117c828829f21c171a4b2b432
data/CHANGELOG.md CHANGED
@@ -2,6 +2,63 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.11.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.10.1..v2.11.0)
6
+
7
+ ### Enhancements
8
+
9
+ * Add Rails 7 Support. [#7235] by [@tagliala]
10
+
11
+ ### Bug Fixes
12
+
13
+ * Fix form SCSS variables no longer being defined in the outermost scope, so no longer being accessible. [#7341] by [@gigorok]
14
+
15
+ ## 2.10.1 [☰](https://github.com/activeadmin/activeadmin/compare/v2.10.0..v2.10.1)
16
+
17
+ ### Enhancements
18
+
19
+ * Apply `box-sizing: border-box` globally. [#7349] by [@deivid-rodriguez]
20
+ * Vendor normalize 8.0.1. [#7350] by [@deivid-rodriguez]
21
+ * Remove deprecation warning using controller filters inside initializer. [#7340] by [@mgrunberg]
22
+
23
+ ### Bug Fixes
24
+
25
+ * Fix frozen string error when downloading CSV and streaming disabled. [#7332] by [@deivid-rodriguez]
26
+
27
+ ## 2.10.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.9.0..v2.10.0)
28
+
29
+ ### Enhancements
30
+
31
+ * Load favicon from Webpacker assets when use_webpacker is set to true. [#6954] by [@Fs00]
32
+ * Don't apply sorting to collection until after scoping. [#7205] by [@agrobbin]
33
+ * Resolve dart sass deprecation warning for division. [#7095] by [@tordans]
34
+ * Use `instrument` from the Notifications API instead of low level `publish`. [#7262] by [@sprql]
35
+ * Avoid mutating string literals. [#6936] by [@tomgilligan]
36
+ * Include print styles in main stylesheet. [#6922] by [@deivid-rodriguez]
37
+ * Use `POST` for OmniAuth links. [#6916] by [@deivid-rodriguez]
38
+ * Scope new record instantiation by authorization scope. [#6884] by [@ngouy]
39
+ * Make `permit_params` and `belongs_to` order independent. [#6906] by [@deivid-rodriguez]
40
+ * Use collection length instead of running COUNTs for limited collections. [#5660] by [@MmKolodziej]
41
+
42
+ ### Bug Fixes
43
+
44
+ * Show ransackable_scopes filters in search results. [#7127] by [@vlad-psh]
45
+
46
+ ### Translation Improvements
47
+
48
+ * Fix Dutch translation for password reset button. [#7181] by [@mvz]
49
+ * Add few key to RO pagination.entry. [#6915] by [@lubosch]
50
+ * Change misleading Korean translation. [#6873] by [@1000ship]
51
+
52
+ ### Documentation
53
+
54
+ * Replace deprecated update_attributes! with update!. [#6959] by [@sergey-alekseev]
55
+ * Clarify docs on user setup. [#6872] by [@javawizard]
56
+
57
+ ### Dependency Changes
58
+
59
+ * Drop rails 5.2 support. [#7293] by [@deivid-rodriguez]
60
+ * Drop support for Ruby 2.5. [#7236] by [@alejandroperea]
61
+
5
62
  ## 2.9.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.8.1..v2.9.0)
6
63
 
7
64
  ### Enhancements
@@ -587,6 +644,7 @@ Please check [0-6-stable] for previous changes.
587
644
  [#5631]: https://github.com/activeadmin/activeadmin/pull/5631
588
645
  [#5632]: https://github.com/activeadmin/activeadmin/pull/5632
589
646
  [#5650]: https://github.com/activeadmin/activeadmin/pull/5650
647
+ [#5660]: https://github.com/activeadmin/activeadmin/pull/5660
590
648
  [#5662]: https://github.com/activeadmin/activeadmin/pull/5662
591
649
  [#5710]: https://github.com/activeadmin/activeadmin/pull/5710
592
650
  [#5726]: https://github.com/activeadmin/activeadmin/pull/5726
@@ -650,11 +708,37 @@ Please check [0-6-stable] for previous changes.
650
708
  [#6548]: https://github.com/activeadmin/activeadmin/pull/6548
651
709
  [#6583]: https://github.com/activeadmin/activeadmin/pull/6583
652
710
  [#6584]: https://github.com/activeadmin/activeadmin/pull/6584
653
-
711
+ [#6872]: https://github.com/activeadmin/activeadmin/pull/6872
712
+ [#6873]: https://github.com/activeadmin/activeadmin/pull/6873
713
+ [#6884]: https://github.com/activeadmin/activeadmin/pull/6884
714
+ [#6906]: https://github.com/activeadmin/activeadmin/pull/6906
715
+ [#6915]: https://github.com/activeadmin/activeadmin/pull/6915
716
+ [#6916]: https://github.com/activeadmin/activeadmin/pull/6916
717
+ [#6922]: https://github.com/activeadmin/activeadmin/pull/6922
718
+ [#6936]: https://github.com/activeadmin/activeadmin/pull/6936
719
+ [#6954]: https://github.com/activeadmin/activeadmin/pull/6954
720
+ [#6959]: https://github.com/activeadmin/activeadmin/pull/6959
721
+ [#7095]: https://github.com/activeadmin/activeadmin/pull/7095
722
+ [#7127]: https://github.com/activeadmin/activeadmin/pull/7127
723
+ [#7181]: https://github.com/activeadmin/activeadmin/pull/7181
724
+ [#7205]: https://github.com/activeadmin/activeadmin/pull/7205
725
+ [#7235]: https://github.com/activeadmin/activeadmin/pull/7235
726
+ [#7236]: https://github.com/activeadmin/activeadmin/pull/7236
727
+ [#7262]: https://github.com/activeadmin/activeadmin/pull/7262
728
+ [#7293]: https://github.com/activeadmin/activeadmin/pull/7293
729
+ [#7332]: https://github.com/activeadmin/activeadmin/pull/7332
730
+ [#7340]: https://github.com/activeadmin/activeadmin/pull/7340
731
+ [#7341]: https://github.com/activeadmin/activeadmin/pull/7341
732
+ [#7349]: https://github.com/activeadmin/activeadmin/pull/7349
733
+ [#7350]: https://github.com/activeadmin/activeadmin/pull/7350
734
+
735
+ [@1000ship]: https://github.com/1000ship
654
736
  [@5t111111]: https://github.com/5t111111
655
737
  [@aarek]: https://github.com/aarek
656
738
  [@adler99]: https://github.com/adler99
739
+ [@agrobbin]: https://github.com/agrobbin
657
740
  [@ajw725]: https://github.com/ajw725
741
+ [@alejandroperea]: https://github.com/alejandroperea
658
742
  [@alex-bogomolov]: https://github.com/alex-bogomolov
659
743
  [@amiel]: https://github.com/amiel
660
744
  [@amiuhle]: https://github.com/amiuhle
@@ -681,8 +765,10 @@ Please check [0-6-stable] for previous changes.
681
765
  [@FabioRos]: https://github.com/FabioRos
682
766
  [@faucct]: https://github.com/faucct
683
767
  [@Fivell]: https://github.com/Fivell
768
+ [@Fs00]: https://github.com/Fs00
684
769
  [@fuzziness]: https://github.com/fuzziness
685
770
  [@giapnhdev]: https://github.com/giapnhdev
771
+ [@gigorok]: https://github.com/gigorok
686
772
  [@glebtv]: https://github.com/glebtv
687
773
  [@gonzedge]: https://github.com/gonzedge
688
774
  [@guigs]: https://github.com/guigs
@@ -693,6 +779,7 @@ Please check [0-6-stable] for previous changes.
693
779
  [@irmela]: https://github.com/irmela
694
780
  [@Ivanov-Anton]: https://github.com/Ivanov-Anton
695
781
  [@jasl]: https://github.com/jasl
782
+ [@javawizard]: https://github.com/javawizard
696
783
  [@javierjulio]: https://github.com/javierjulio
697
784
  [@jawa]: https://github.com/jawa
698
785
  [@JiiHu]: https://github.com/JiiHu
@@ -710,14 +797,19 @@ Please check [0-6-stable] for previous changes.
710
797
  [@leio10]: https://github.com/leio10
711
798
  [@littleforest]: https://github.com/littleforest
712
799
  [@Looooong]: https://github.com/Looooong
800
+ [@lubosch]: https://github.com/lubosch
713
801
  [@markstory]: https://github.com/markstory
714
802
  [@mauriciopasquier]: https://github.com/mauriciopasquier
715
803
  [@mconiglio]: https://github.com/mconiglio
804
+ [@mgrunberg]: https://github.com/mgrunberg
716
805
  [@micred]: https://github.com/micred
717
806
  [@mirelon]: https://github.com/mirelon
807
+ [@MmKolodziej]: https://github.com/MmKolodziej
718
808
  [@mshalaby]: https://github.com/mshalaby
719
809
  [@munen]: https://github.com/munen
810
+ [@mvz]: https://github.com/mvz
720
811
  [@ndbroadbent]: https://github.com/ndbroadbent
812
+ [@ngouy]: https://github.com/ngouy
721
813
  [@Nguyenanh]: https://github.com/Nguyenanh
722
814
  [@orkhan]: https://github.com/orkhan
723
815
  [@panasyuk]: https://github.com/panasyuk
@@ -730,22 +822,28 @@ Please check [0-6-stable] for previous changes.
730
822
  [@rogerkk]: https://github.com/rogerkk
731
823
  [@roramirez]: https://github.com/roramirez
732
824
  [@seanlinsley]: https://github.com/seanlinsley
825
+ [@sergey-alekseev]: https://github.com/sergey-alekseev
733
826
  [@sgara]: https://github.com/sgara
734
827
  [@ShallmentMo]: https://github.com/ShallmentMo
735
828
  [@shekibobo]: https://github.com/shekibobo
736
829
  [@shouya]: https://github.com/shouya
737
830
  [@sjieg]: https://github.com/sjieg
831
+ [@sprql]: https://github.com/sprql
738
832
  [@stefsava]: https://github.com/stefsava
739
833
  [@stereoscott]: https://github.com/stereoscott
834
+ [@tagliala]: https://github.com/tagliala
740
835
  [@taralbass]: https://github.com/taralbass
741
836
  [@tiagotex]: https://github.com/tiagotex
742
837
  [@timoschilling]: https://github.com/timoschilling
743
838
  [@TimPetricola]: https://github.com/TimPetricola
839
+ [@tomgilligan]: https://github.com/tomgilligan
840
+ [@tordans]: https://github.com/tordans
744
841
  [@utkarsh2102]: https://github.com/utkarsh2102
745
842
  [@varyonic]: https://github.com/varyonic
746
843
  [@vcsjones]: https://github.com/vcsjones
747
844
  [@vfonic]: https://github.com/vfonic
748
845
  [@violeta-p]: https://github.com/violeta-p
846
+ [@vlad-psh]: https://github.com/vlad-psh
749
847
  [@WaKeMaTTa]: https://github.com/WaKeMaTTa
750
848
  [@wasifhossain]: https://github.com/wasifhossain
751
849
  [@westonganger]: https://github.com/westonganger
@@ -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;
@@ -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.__proto__ = superClass;
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$2 = function onDOMReady() {
511
+ var onDOMReady = function onDOMReady() {
505
512
  return $("#active_admin_content .tabs").tabs();
506
513
  };
507
- $(document).ready(onDOMReady$2).on("page:load turbolinks:load", onDOMReady$2);
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
- // Normalize
3
- @import "./normalize";
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
- body {
36
- @include sans-family;
37
- line-height: 1.5;
38
- font-size: 72%;
39
- background: $body-background-color;
40
- color: $text-color;
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 {
@@ -1,17 +1,15 @@
1
- /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
2
 
3
3
  /* Document
4
4
  ========================================================================== */
5
5
 
6
6
  /**
7
7
  * 1. Correct the line height in all browsers.
8
- * 2. Prevent adjustments of font size after orientation changes in
9
- * IE on Windows Phone and in iOS.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
10
9
  */
11
10
 
12
11
  html {
13
12
  line-height: 1.15; /* 1 */
14
- -ms-text-size-adjust: 100%; /* 2 */
15
13
  -webkit-text-size-adjust: 100%; /* 2 */
16
14
  }
17
15
 
@@ -19,7 +17,7 @@ html {
19
17
  ========================================================================== */
20
18
 
21
19
  /**
22
- * Remove the margin in all browsers (opinionated).
20
+ * Remove the margin in all browsers.
23
21
  */
24
22
 
25
23
  body {
@@ -27,15 +25,10 @@ body {
27
25
  }
28
26
 
29
27
  /**
30
- * Add the correct display in IE 9-.
28
+ * Render the `main` element consistently in IE.
31
29
  */
32
30
 
33
- article,
34
- aside,
35
- footer,
36
- header,
37
- nav,
38
- section {
31
+ main {
39
32
  display: block;
40
33
  }
41
34
 
@@ -52,25 +45,6 @@ h1 {
52
45
  /* Grouping content
53
46
  ========================================================================== */
54
47
 
55
- /**
56
- * Add the correct display in IE 9-.
57
- * 1. Add the correct display in IE.
58
- */
59
-
60
- figcaption,
61
- figure,
62
- main { /* 1 */
63
- display: block;
64
- }
65
-
66
- /**
67
- * Add the correct margin in IE 8.
68
- */
69
-
70
- figure {
71
- margin: 1em 40px;
72
- }
73
-
74
48
  /**
75
49
  * 1. Add the correct box sizing in Firefox.
76
50
  * 2. Show the overflow in Edge and IE.
@@ -96,17 +70,15 @@ pre {
96
70
  ========================================================================== */
97
71
 
98
72
  /**
99
- * 1. Remove the gray background on active links in IE 10.
100
- * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
73
+ * Remove the gray background on active links in IE 10.
101
74
  */
102
75
 
103
76
  a {
104
- background-color: transparent; /* 1 */
105
- -webkit-text-decoration-skip: objects; /* 2 */
77
+ background-color: transparent;
106
78
  }
107
79
 
108
80
  /**
109
- * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
81
+ * 1. Remove the bottom border in Chrome 57-
110
82
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
111
83
  */
112
84
 
@@ -116,15 +88,6 @@ abbr[title] {
116
88
  text-decoration: underline dotted; /* 2 */
117
89
  }
118
90
 
119
- /**
120
- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
121
- */
122
-
123
- b,
124
- strong {
125
- font-weight: inherit;
126
- }
127
-
128
91
  /**
129
92
  * Add the correct font weight in Chrome, Edge, and Safari.
130
93
  */
@@ -146,23 +109,6 @@ samp {
146
109
  font-size: 1em; /* 2 */
147
110
  }
148
111
 
149
- /**
150
- * Add the correct font style in Android 4.3-.
151
- */
152
-
153
- dfn {
154
- font-style: italic;
155
- }
156
-
157
- /**
158
- * Add the correct background and color in IE 9-.
159
- */
160
-
161
- mark {
162
- background-color: #ff0;
163
- color: #000;
164
- }
165
-
166
112
  /**
167
113
  * Add the correct font size in all browsers.
168
114
  */
@@ -196,44 +142,18 @@ sup {
196
142
  ========================================================================== */
197
143
 
198
144
  /**
199
- * Add the correct display in IE 9-.
200
- */
201
-
202
- audio,
203
- video {
204
- display: inline-block;
205
- }
206
-
207
- /**
208
- * Add the correct display in iOS 4-7.
209
- */
210
-
211
- audio:not([controls]) {
212
- display: none;
213
- height: 0;
214
- }
215
-
216
- /**
217
- * Remove the border on images inside links in IE 10-.
145
+ * Remove the border on images inside links in IE 10.
218
146
  */
219
147
 
220
148
  img {
221
149
  border-style: none;
222
150
  }
223
151
 
224
- /**
225
- * Hide the overflow in IE.
226
- */
227
-
228
- svg:not(:root) {
229
- overflow: hidden;
230
- }
231
-
232
152
  /* Forms
233
153
  ========================================================================== */
234
154
 
235
155
  /**
236
- * 1. Change the font styles in all browsers (opinionated).
156
+ * 1. Change the font styles in all browsers.
237
157
  * 2. Remove the margin in Firefox and Safari.
238
158
  */
239
159
 
@@ -242,7 +162,7 @@ input,
242
162
  optgroup,
243
163
  select,
244
164
  textarea {
245
- font-family: sans-serif; /* 1 */
165
+ font-family: inherit; /* 1 */
246
166
  font-size: 100%; /* 1 */
247
167
  line-height: 1.15; /* 1 */
248
168
  margin: 0; /* 2 */
@@ -269,16 +189,14 @@ select { /* 1 */
269
189
  }
270
190
 
271
191
  /**
272
- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
273
- * controls in Android 4.
274
- * 2. Correct the inability to style clickable types in iOS and Safari.
192
+ * Correct the inability to style clickable types in iOS and Safari.
275
193
  */
276
194
 
277
195
  button,
278
- html [type="button"], /* 1 */
196
+ [type="button"],
279
197
  [type="reset"],
280
198
  [type="submit"] {
281
- -webkit-appearance: button; /* 2 */
199
+ -webkit-appearance: button;
282
200
  }
283
201
 
284
202
  /**
@@ -329,17 +247,15 @@ legend {
329
247
  }
330
248
 
331
249
  /**
332
- * 1. Add the correct display in IE 9-.
333
- * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
250
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
334
251
  */
335
252
 
336
253
  progress {
337
- display: inline-block; /* 1 */
338
- vertical-align: baseline; /* 2 */
254
+ vertical-align: baseline;
339
255
  }
340
256
 
341
257
  /**
342
- * Remove the default vertical scrollbar in IE.
258
+ * Remove the default vertical scrollbar in IE 10+.
343
259
  */
344
260
 
345
261
  textarea {
@@ -347,8 +263,8 @@ textarea {
347
263
  }
348
264
 
349
265
  /**
350
- * 1. Add the correct box sizing in IE 10-.
351
- * 2. Remove the padding in IE 10-.
266
+ * 1. Add the correct box sizing in IE 10.
267
+ * 2. Remove the padding in IE 10.
352
268
  */
353
269
 
354
270
  [type="checkbox"],
@@ -377,10 +293,9 @@ textarea {
377
293
  }
378
294
 
379
295
  /**
380
- * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
296
+ * Remove the inner padding in Chrome and Safari on macOS.
381
297
  */
382
298
 
383
- [type="search"]::-webkit-search-cancel-button,
384
299
  [type="search"]::-webkit-search-decoration {
385
300
  -webkit-appearance: none;
386
301
  }
@@ -399,12 +314,10 @@ textarea {
399
314
  ========================================================================== */
400
315
 
401
316
  /*
402
- * Add the correct display in IE 9-.
403
- * 1. Add the correct display in Edge, IE, and Firefox.
317
+ * Add the correct display in Edge, IE 10+, and Firefox.
404
318
  */
405
319
 
406
- details, /* 1 */
407
- menu {
320
+ details {
408
321
  display: block;
409
322
  }
410
323
 
@@ -416,30 +329,19 @@ summary {
416
329
  display: list-item;
417
330
  }
418
331
 
419
- /* Scripting
332
+ /* Misc
420
333
  ========================================================================== */
421
334
 
422
335
  /**
423
- * Add the correct display in IE 9-.
424
- */
425
-
426
- canvas {
427
- display: inline-block;
428
- }
429
-
430
- /**
431
- * Add the correct display in IE.
336
+ * Add the correct display in IE 10+.
432
337
  */
433
338
 
434
339
  template {
435
340
  display: none;
436
341
  }
437
342
 
438
- /* Hidden
439
- ========================================================================== */
440
-
441
343
  /**
442
- * Add the correct display in IE 10-.
344
+ * Add the correct display in IE 10.
443
345
  */
444
346
 
445
347
  [hidden] {
@@ -17,11 +17,10 @@
17
17
  }
18
18
 
19
19
  .ui-datepicker-header {
20
- height: 14px;
21
20
  @include primary-gradient;
22
21
  padding: 12px 5px 7px 4px;
23
22
  margin: 0px 0px 2px 2px;
24
- width: 147px;
23
+ width: 156px;
25
24
  border-top-left-radius: 7px;
26
25
  border-top-right-radius: 7px;
27
26
  position: relative;
@@ -106,7 +106,6 @@
106
106
  li {
107
107
  display: block;
108
108
  border-bottom: solid 1px #ebebeb;
109
- box-sizing: border-box;
110
109
 
111
110
  a {
112
111
  display: block;