activeadmin 2.12.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +230 -0
- data/CONTRIBUTING.md +4 -12
- data/README.md +4 -4
- data/app/assets/javascripts/active_admin/base.js +1 -4
- data/app/assets/stylesheets/active_admin/_forms.scss +2 -3
- data/app/assets/stylesheets/active_admin/components/_comments.scss +1 -1
- data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +7 -4
- data/app/assets/stylesheets/active_admin/components/_pagination.scss +5 -2
- data/app/assets/stylesheets/active_admin/components/_table_tools.scss +9 -6
- data/app/assets/stylesheets/active_admin/components/_tabs.scss +10 -7
- data/app/assets/stylesheets/active_admin/mixins/_buttons.scss +2 -2
- data/app/assets/stylesheets/active_admin/pages/_logged_out.scss +1 -1
- data/app/assets/stylesheets/active_admin/structure/_footer.scss +6 -1
- data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +6 -3
- data/app/views/layouts/active_admin_logged_out.html.erb +5 -4
- data/config/locales/ar.yml +0 -7
- data/config/locales/az.yml +0 -7
- data/config/locales/bg.yml +0 -7
- data/config/locales/bs.yml +0 -7
- data/config/locales/ca.yml +0 -7
- data/config/locales/cs.yml +0 -7
- data/config/locales/da.yml +0 -7
- data/config/locales/de-CH.yml +0 -7
- data/config/locales/de.yml +0 -8
- data/config/locales/el.yml +0 -7
- data/config/locales/en-CA.yml +0 -7
- data/config/locales/en-GB.yml +0 -7
- data/config/locales/en.yml +0 -8
- data/config/locales/eo.yml +0 -8
- data/config/locales/es-MX.yml +0 -7
- data/config/locales/es.yml +0 -8
- data/config/locales/fa.yml +0 -7
- data/config/locales/fi.yml +0 -7
- data/config/locales/fr.yml +3 -11
- data/config/locales/he.yml +0 -9
- data/config/locales/hr.yml +0 -7
- data/config/locales/hu.yml +0 -8
- data/config/locales/id.yml +0 -7
- data/config/locales/it.yml +0 -8
- data/config/locales/ja.yml +0 -8
- data/config/locales/ko.yml +0 -7
- data/config/locales/lt.yml +0 -8
- data/config/locales/lv.yml +0 -7
- data/config/locales/mk.yml +0 -8
- data/config/locales/nb.yml +0 -8
- data/config/locales/nl.yml +0 -8
- data/config/locales/pl.yml +0 -8
- data/config/locales/pt-BR.yml +0 -8
- data/config/locales/pt-PT.yml +0 -7
- data/config/locales/ro.yml +0 -7
- data/config/locales/ru.yml +0 -6
- data/config/locales/sk.yml +0 -8
- data/config/locales/sv-SE.yml +58 -39
- data/config/locales/tr.yml +0 -11
- data/config/locales/uk.yml +0 -6
- data/config/locales/vi.yml +34 -15
- data/config/locales/zh-CN.yml +34 -23
- data/config/locales/zh-TW.yml +0 -7
- data/lib/active_admin/application.rb +4 -4
- data/lib/active_admin/asset_registration.rb +3 -3
- data/lib/active_admin/authorization_adapter.rb +2 -0
- data/lib/active_admin/base_controller/authorization.rb +2 -2
- data/lib/active_admin/csv_builder.rb +23 -2
- data/lib/active_admin/dependency.rb +0 -4
- data/lib/active_admin/engine.rb +5 -1
- data/lib/active_admin/filters/active_filter.rb +1 -1
- data/lib/active_admin/filters/forms.rb +2 -2
- data/lib/active_admin/filters/formtastic_addons.rb +1 -1
- data/lib/active_admin/filters/resource_extension.rb +4 -4
- data/lib/active_admin/form_builder.rb +5 -6
- data/lib/active_admin/inputs/filters/base/search_method_select.rb +2 -2
- data/lib/active_admin/inputs/filters/date_range_input.rb +2 -2
- data/lib/active_admin/inputs/filters/numeric_input.rb +1 -1
- data/lib/active_admin/inputs/filters/select_input.rb +3 -3
- data/lib/active_admin/inputs/filters/string_input.rb +1 -1
- data/lib/active_admin/menu.rb +1 -0
- data/lib/active_admin/namespace.rb +3 -3
- data/lib/active_admin/namespace_settings.rb +1 -1
- data/lib/active_admin/orm/active_record/comments/comment.rb +8 -0
- data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +1 -1
- data/lib/active_admin/orm/active_record/comments.rb +8 -8
- data/lib/active_admin/pundit_adapter.rb +20 -14
- data/lib/active_admin/resource/action_items.rb +2 -2
- data/lib/active_admin/resource/attributes.rb +8 -1
- data/lib/active_admin/resource/belongs_to.rb +0 -1
- data/lib/active_admin/resource_controller/decorators.rb +1 -1
- data/lib/active_admin/resource_controller/streaming.rb +1 -1
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/view_helpers/auto_link_helper.rb +1 -1
- data/lib/active_admin/view_helpers/display_helper.rb +10 -3
- data/lib/active_admin/views/components/active_admin_form.rb +14 -6
- data/lib/active_admin/views/components/paginated_collection.rb +4 -1
- data/lib/active_admin/views/index_as_table.rb +8 -7
- data/lib/active_admin/views/pages/base.rb +4 -3
- data/lib/active_admin/views/pages/index.rb +1 -1
- data/lib/active_admin/views/pages/show.rb +1 -7
- data/lib/active_admin.rb +5 -3
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +19 -2
- data/vendor/assets/javascripts/jquery-ui/data.js +12 -8
- data/vendor/assets/javascripts/jquery-ui/disable-selection.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/focusable.js +12 -9
- data/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +60 -57
- data/vendor/assets/javascripts/jquery-ui/form.js +15 -12
- data/vendor/assets/javascripts/jquery-ui/ie.js +5 -2
- data/vendor/assets/javascripts/jquery-ui/keycode.js +11 -7
- data/vendor/assets/javascripts/jquery-ui/labels.js +46 -40
- data/vendor/assets/javascripts/jquery-ui/plugin.js +5 -2
- data/vendor/assets/javascripts/jquery-ui/position.js +30 -17
- data/vendor/assets/javascripts/jquery-ui/safe-active-element.js +6 -2
- data/vendor/assets/javascripts/jquery-ui/safe-blur.js +6 -2
- data/vendor/assets/javascripts/jquery-ui/scroll-parent.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/tabbable.js +11 -8
- data/vendor/assets/javascripts/jquery-ui/unique-id.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/version.js +6 -3
- data/vendor/assets/javascripts/jquery-ui/widget.js +53 -30
- data/vendor/assets/javascripts/jquery-ui/widgets/button.js +87 -24
- data/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +276 -273
- data/vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js +15 -11
- data/vendor/assets/javascripts/jquery-ui/widgets/datepicker.js +182 -62
- data/vendor/assets/javascripts/jquery-ui/widgets/dialog.js +53 -36
- data/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +28 -19
- data/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +22 -11
- data/vendor/assets/javascripts/jquery-ui/widgets/resizable.js +47 -26
- data/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +186 -125
- data/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +20 -20
- metadata +34 -79
- data/docs/.gitignore +0 -1
- data/docs/0-installation.md +0 -142
- data/docs/1-general-configuration.md +0 -224
- data/docs/10-custom-pages.md +0 -150
- data/docs/11-decorators.md +0 -70
- data/docs/12-arbre-components.md +0 -214
- data/docs/13-authorization-adapter.md +0 -285
- data/docs/14-gotchas.md +0 -138
- data/docs/2-resource-customization.md +0 -475
- data/docs/3-index-pages/custom-index.md +0 -35
- data/docs/3-index-pages/index-as-block.md +0 -19
- data/docs/3-index-pages/index-as-blog.md +0 -69
- data/docs/3-index-pages/index-as-grid.md +0 -27
- data/docs/3-index-pages/index-as-table.md +0 -234
- data/docs/3-index-pages.md +0 -328
- data/docs/4-csv-format.md +0 -74
- data/docs/5-forms.md +0 -237
- data/docs/6-show-pages.md +0 -93
- data/docs/7-sidebars.md +0 -75
- data/docs/8-custom-actions.md +0 -177
- data/docs/9-batch-actions.md +0 -237
- data/docs/CNAME +0 -1
- data/docs/Gemfile +0 -4
- data/docs/Gemfile.lock +0 -283
- data/docs/README.md +0 -24
- data/docs/_config.yml +0 -4
- data/docs/_includes/footer.html +0 -8
- data/docs/_includes/google-analytics.html +0 -16
- data/docs/_includes/head.html +0 -7
- data/docs/_includes/toc.html +0 -98
- data/docs/_includes/top-menu.html +0 -17
- data/docs/_layouts/default.html +0 -21
- data/docs/documentation.md +0 -60
- data/docs/images/activeadmin.png +0 -0
- data/docs/images/code-header.png +0 -0
- data/docs/images/divider.png +0 -0
- data/docs/images/features.png +0 -0
- data/docs/images/tidelift.svg +0 -14
- data/docs/index.html +0 -226
- data/docs/stylesheets/main.css +0 -1205
- data/lib/active_admin/deprecation.rb +0 -11
- data/lib/ransack_ext.rb +0 -21
- data/vendor/assets/javascripts/jquery-ui/escape-selector.js +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e080845beb483b8364c49bb199ac8b4ba61975854316d053df39b39208d863bf
|
4
|
+
data.tar.gz: c30bcfde594fb30c2a8796741451f245b77ddeaa66c6a66ecbfbcbec3064918a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe64d783c2ac39dbbc74df16985dabcbee5e300039f8b703df6ccedf7dee24dcda09dd59b154383ba0dc593310f163dd6ca51af5f59d26b11646683158eeae4a
|
7
|
+
data.tar.gz: f4e988b7bf89e2cb291822c62d891d958ec48400e3ccee31fc2480b47ee1c8ab80608c939abb80733378c2f27a245044d1f89c68fe04c8fd850264df072ae8d1
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,165 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 3.3.0 [☰](https://github.com/activeadmin/activeadmin/compare/v3.2.5..v3.3.0)
|
6
|
+
|
7
|
+
### Enhancements
|
8
|
+
|
9
|
+
* Improve v3 docs regarding compatibility with vite_rails [#8548] by [@mattbrictson]
|
10
|
+
* Backport test against Rails 8.0 [#8556] by [@mgrunberg] and [@tagliala]
|
11
|
+
* Test against Ruby 3.4 [#8614] by [@tagliala]
|
12
|
+
* Backport Support sortable argument in id_column [#8650] by [@jaynetics]
|
13
|
+
* Backport Support title for id_column [#8652] by [@mgrunberg]
|
14
|
+
|
15
|
+
### Bug Fixes
|
16
|
+
|
17
|
+
* Backport Fix attributes passed to form has_many not being set on new record form items [#8551] by [@Fs00]
|
18
|
+
* Backport Fix deprecation warning in Ruby 3.4 [#8596] by [@tagliala]
|
19
|
+
* Backport Fix circular require warning in belongs_to.rb [#8601] by [@tagliala]
|
20
|
+
|
21
|
+
## 3.2.5 [☰](https://github.com/activeadmin/activeadmin/compare/v3.2.4..v3.2.5)
|
22
|
+
|
23
|
+
### Enhancements
|
24
|
+
|
25
|
+
* Backport Add favicon to template app to fix Rails 7.2 test suite run [#8468] by [@mgrunberg]
|
26
|
+
* Backport Use attribute_types instead of columns_hash to determine type [#8469] by [@mgrunberg]
|
27
|
+
* Backport Optimize count query for pagination_total: false option [#8470] by [@mgrunberg]
|
28
|
+
|
29
|
+
### Bug Fixes
|
30
|
+
|
31
|
+
* Restore inner span tag to form inputs legend [#8467] by [@denisahearn]
|
32
|
+
|
33
|
+
## 3.2.4 [☰](https://github.com/activeadmin/activeadmin/compare/v3.2.3..v3.2.4)
|
34
|
+
|
35
|
+
### Enhancements
|
36
|
+
|
37
|
+
* Test against Rails 7.2 [#8434] by [@mgrunberg]
|
38
|
+
|
39
|
+
### Bug Fixes
|
40
|
+
|
41
|
+
* Backport Improve form f.inputs attributes rendering [#8446] by [@amiel]
|
42
|
+
|
43
|
+
## 3.2.3 [☰](https://github.com/activeadmin/activeadmin/compare/v3.2.2..v3.2.3)
|
44
|
+
|
45
|
+
### Enhancements
|
46
|
+
|
47
|
+
* Backport better implementation of counter-cache-column check [#8412] by [@plashchynski]
|
48
|
+
|
49
|
+
### Bug Fixes
|
50
|
+
|
51
|
+
* Remove deprecation warnings when building with dart sass >= 1.77.7 [#8405] by [@mgrunberg]
|
52
|
+
|
53
|
+
## 3.2.2 [☰](https://github.com/activeadmin/activeadmin/compare/v3.2.1..v3.2.2)
|
54
|
+
|
55
|
+
### Security Fixes
|
56
|
+
|
57
|
+
* Backport Fix potential XSS issue when rendering form legends [#8349] by
|
58
|
+
[@deivid-rodriguez]
|
59
|
+
|
60
|
+
### Enhancements
|
61
|
+
|
62
|
+
* Update vendored jQuery UI to 1.13.3 [#8329] by [@tagliala]
|
63
|
+
|
64
|
+
## 3.2.1 [☰](https://github.com/activeadmin/activeadmin/compare/v3.2.0..v3.2.1)
|
65
|
+
|
66
|
+
### Enhancements
|
67
|
+
|
68
|
+
* Backport Suppress ruby 3.3 warning [#8310] by [@mgrunberg]
|
69
|
+
* Backport Recommend using target="_blank" instead of target="blank" [#8311] by [@mgrunberg]
|
70
|
+
|
71
|
+
## 3.2.0 [☰](https://github.com/activeadmin/activeadmin/compare/v3.1.0..v3.2.0)
|
72
|
+
|
73
|
+
### Security Fixes
|
74
|
+
|
75
|
+
* Backport protect against CSV Injection. [#8167] by [@mgrunberg]
|
76
|
+
|
77
|
+
### Enhancements
|
78
|
+
|
79
|
+
* Backport support citext column type in string filter. [#8165] by [@mgrunberg]
|
80
|
+
* Backport provide detail in DB statement timeout error for filters. [#8163] by [@mgrunberg]
|
81
|
+
|
82
|
+
### Bug Fixes
|
83
|
+
|
84
|
+
* Backport make sure menu creation does not modify menu options. [#8166] by [@mgrunberg]
|
85
|
+
* Backport ransack error with filters when ActiveStorage is used. [#8164] by [@mgrunberg]
|
86
|
+
|
87
|
+
## 3.1.0 [☰](https://github.com/activeadmin/activeadmin/compare/v3.0.0..v3.1.0)
|
88
|
+
|
89
|
+
### Enhancements
|
90
|
+
|
91
|
+
* Support Rails 7.1. [#8102] by [@mgrunberg]
|
92
|
+
* Remove deprecated usage of ActiveSupport::Deprecation singleton. [#8106] by [@mgrunberg]
|
93
|
+
* Replace to_formatted_s with to_s to convert date to string. [#8105] by [@mgrunberg]
|
94
|
+
* Remove upper bound dependency limits from gemspec. [#8098] by [@javierjulio]
|
95
|
+
|
96
|
+
## 3.0.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.14.0..v3.0.0)
|
97
|
+
|
98
|
+
### Breaking Changes
|
99
|
+
|
100
|
+
* Remove custom Ransack predicates that were MetaSearch backports. [#8010] by [@javierjulio]
|
101
|
+
* Require Ransack v4. [#8009] by [@javierjulio]
|
102
|
+
|
103
|
+
### Enhancements
|
104
|
+
|
105
|
+
* Use display name fallback if blank display name result. [#6342] by [@javierjulio]
|
106
|
+
|
107
|
+
### Translation Improvements
|
108
|
+
|
109
|
+
* Improve Swedish translations. [#7993] by [@carlottostromstedt]
|
110
|
+
|
111
|
+
## 2.14.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.13.1..v2.14.0)
|
112
|
+
|
113
|
+
### Enhancements
|
114
|
+
|
115
|
+
* Add csp_meta_tag to layout. [#7986] by [@javierjulio]
|
116
|
+
* Update config.register_javascript with options support. [#7002] by [@lanzhiheng]
|
117
|
+
* Use `csrf_meta_tags` in place of singular version. [#7985] by [@javierjulio]
|
118
|
+
* Allow different new and edit rules in authorization adapters. [#6535] by [@timwis]
|
119
|
+
|
120
|
+
### Bug Fixes
|
121
|
+
|
122
|
+
* Fix form layout for hints and checkboxes. [#7772] by [@JewelSam]
|
123
|
+
* Update filters disabled error to include specific action. [#6195] by [@javawizard]
|
124
|
+
* Fix Comments controller destroy declaration. [#6482] by [@bliof]
|
125
|
+
* Stop pagination elements from overflowing outside of panel container. [#7599] by [@ray-curran]
|
126
|
+
|
127
|
+
### Translation Improvements
|
128
|
+
|
129
|
+
* Update vi locale with more translations. [#7984] by [@rs-phunt]
|
130
|
+
* Update zh-CN locale with multiple corrections. [#7944] by [@hfl]
|
131
|
+
* Fix typo in Vietnamese locale for filter text. [#7920] by [@tvziet]
|
132
|
+
* Improve French translation. [#7653] by [@cprodhomme]
|
133
|
+
|
134
|
+
### Documentation
|
135
|
+
|
136
|
+
* Add more documentation about PORO decorator requirements. [#7556] by [@sanfrecce-osaka]
|
137
|
+
* Add Load Paths docs to the active_admin.rb template. [#7541] by [@gabo-cs]
|
138
|
+
|
139
|
+
### Performance
|
140
|
+
|
141
|
+
* Removes docs from exported gem. [#7013] by [@brunoarueira]
|
142
|
+
|
143
|
+
## 2.13.1 [☰](https://github.com/activeadmin/activeadmin/compare/v2.13.0..v2.13.1)
|
144
|
+
|
145
|
+
### Bug Fixes
|
146
|
+
|
147
|
+
* Honor load paths order when loading admin files. [#7488] by [@tf]
|
148
|
+
* Fix passing expected hash payload argument. [#7487] by [@ispyropoulos]
|
149
|
+
|
150
|
+
## 2.13.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.12.0..v2.13.0)
|
151
|
+
|
152
|
+
### Documentation
|
153
|
+
|
154
|
+
* Update validation errors documentation to account for deprecated `ActiveModel::Errors#keys`. [#7475] by [@amit]
|
155
|
+
|
156
|
+
### Dependency Changes
|
157
|
+
|
158
|
+
* Drop rails 6.0 support. [#7476] by [@deivid-rodriguez]
|
159
|
+
|
160
|
+
### Performance
|
161
|
+
|
162
|
+
* Fix pundit performance. [#7479] by [@deivid-rodriguez]
|
163
|
+
|
5
164
|
## 2.12.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.11.2..v2.12.0)
|
6
165
|
|
7
166
|
### Enhancements
|
@@ -722,6 +881,7 @@ Please check [0-6-stable] for previous changes.
|
|
722
881
|
[#6099]: https://github.com/activeadmin/activeadmin/pull/6099
|
723
882
|
[#6124]: https://github.com/activeadmin/activeadmin/pull/6124
|
724
883
|
[#6149]: https://github.com/activeadmin/activeadmin/pull/6149
|
884
|
+
[#6195]: https://github.com/activeadmin/activeadmin/pull/6195
|
725
885
|
[#6198]: https://github.com/activeadmin/activeadmin/pull/6198
|
726
886
|
[#6210]: https://github.com/activeadmin/activeadmin/pull/6210
|
727
887
|
[#6221]: https://github.com/activeadmin/activeadmin/pull/6221
|
@@ -730,14 +890,17 @@ Please check [0-6-stable] for previous changes.
|
|
730
890
|
[#6315]: https://github.com/activeadmin/activeadmin/pull/6315
|
731
891
|
[#6318]: https://github.com/activeadmin/activeadmin/pull/6318
|
732
892
|
[#6341]: https://github.com/activeadmin/activeadmin/pull/6341
|
893
|
+
[#6342]: https://github.com/activeadmin/activeadmin/pull/6342
|
733
894
|
[#6368]: https://github.com/activeadmin/activeadmin/pull/6368
|
734
895
|
[#6393]: https://github.com/activeadmin/activeadmin/pull/6393
|
735
896
|
[#6422]: https://github.com/activeadmin/activeadmin/pull/6422
|
736
897
|
[#6451]: https://github.com/activeadmin/activeadmin/pull/6451
|
737
898
|
[#6460]: https://github.com/activeadmin/activeadmin/pull/6460
|
738
899
|
[#6462]: https://github.com/activeadmin/activeadmin/pull/6462
|
900
|
+
[#6482]: https://github.com/activeadmin/activeadmin/pull/6482
|
739
901
|
[#6487]: https://github.com/activeadmin/activeadmin/pull/6487
|
740
902
|
[#6523]: https://github.com/activeadmin/activeadmin/pull/6523
|
903
|
+
[#6535]: https://github.com/activeadmin/activeadmin/pull/6535
|
741
904
|
[#6536]: https://github.com/activeadmin/activeadmin/pull/6536
|
742
905
|
[#6548]: https://github.com/activeadmin/activeadmin/pull/6548
|
743
906
|
[#6583]: https://github.com/activeadmin/activeadmin/pull/6583
|
@@ -752,6 +915,8 @@ Please check [0-6-stable] for previous changes.
|
|
752
915
|
[#6936]: https://github.com/activeadmin/activeadmin/pull/6936
|
753
916
|
[#6954]: https://github.com/activeadmin/activeadmin/pull/6954
|
754
917
|
[#6959]: https://github.com/activeadmin/activeadmin/pull/6959
|
918
|
+
[#7002]: https://github.com/activeadmin/activeadmin/pull/7002
|
919
|
+
[#7013]: https://github.com/activeadmin/activeadmin/pull/7013
|
755
920
|
[#7095]: https://github.com/activeadmin/activeadmin/pull/7095
|
756
921
|
[#7127]: https://github.com/activeadmin/activeadmin/pull/7127
|
757
922
|
[#7144]: https://github.com/activeadmin/activeadmin/pull/7144
|
@@ -772,6 +937,53 @@ Please check [0-6-stable] for previous changes.
|
|
772
937
|
[#7384]: https://github.com/activeadmin/activeadmin/pull/7384
|
773
938
|
[#7394]: https://github.com/activeadmin/activeadmin/pull/7394
|
774
939
|
[#7453]: https://github.com/activeadmin/activeadmin/pull/7453
|
940
|
+
[#7475]: https://github.com/activeadmin/activeadmin/pull/7475
|
941
|
+
[#7476]: https://github.com/activeadmin/activeadmin/pull/7476
|
942
|
+
[#7479]: https://github.com/activeadmin/activeadmin/pull/7479
|
943
|
+
[#7487]: https://github.com/activeadmin/activeadmin/pull/7487
|
944
|
+
[#7488]: https://github.com/activeadmin/activeadmin/pull/7488
|
945
|
+
[#7541]: https://github.com/activeadmin/activeadmin/pull/7541
|
946
|
+
[#7556]: https://github.com/activeadmin/activeadmin/pull/7556
|
947
|
+
[#7599]: https://github.com/activeadmin/activeadmin/pull/7599
|
948
|
+
[#7653]: https://github.com/activeadmin/activeadmin/pull/7653
|
949
|
+
[#7772]: https://github.com/activeadmin/activeadmin/pull/7772
|
950
|
+
[#7920]: https://github.com/activeadmin/activeadmin/pull/7920
|
951
|
+
[#7944]: https://github.com/activeadmin/activeadmin/pull/7944
|
952
|
+
[#7984]: https://github.com/activeadmin/activeadmin/pull/7984
|
953
|
+
[#7985]: https://github.com/activeadmin/activeadmin/pull/7985
|
954
|
+
[#7986]: https://github.com/activeadmin/activeadmin/pull/7986
|
955
|
+
[#7993]: https://github.com/activeadmin/activeadmin/pull/7993
|
956
|
+
[#8009]: https://github.com/activeadmin/activeadmin/pull/8009
|
957
|
+
[#8010]: https://github.com/activeadmin/activeadmin/pull/8010
|
958
|
+
[#8098]: https://github.com/activeadmin/activeadmin/pull/8098
|
959
|
+
[#8102]: https://github.com/activeadmin/activeadmin/pull/8102
|
960
|
+
[#8105]: https://github.com/activeadmin/activeadmin/pull/8105
|
961
|
+
[#8106]: https://github.com/activeadmin/activeadmin/pull/8106
|
962
|
+
[#8163]: https://github.com/activeadmin/activeadmin/pull/8163
|
963
|
+
[#8164]: https://github.com/activeadmin/activeadmin/pull/8164
|
964
|
+
[#8165]: https://github.com/activeadmin/activeadmin/pull/8165
|
965
|
+
[#8166]: https://github.com/activeadmin/activeadmin/pull/8166
|
966
|
+
[#8167]: https://github.com/activeadmin/activeadmin/pull/8167
|
967
|
+
[#8310]: https://github.com/activeadmin/activeadmin/pull/8310
|
968
|
+
[#8311]: https://github.com/activeadmin/activeadmin/pull/8311
|
969
|
+
[#8329]: https://github.com/activeadmin/activeadmin/pull/8329
|
970
|
+
[#8349]: https://github.com/activeadmin/activeadmin/pull/8349
|
971
|
+
[#8405]: https://github.com/activeadmin/activeadmin/pull/8405
|
972
|
+
[#8412]: https://github.com/activeadmin/activeadmin/pull/8412
|
973
|
+
[#8434]: https://github.com/activeadmin/activeadmin/pull/8434
|
974
|
+
[#8446]: https://github.com/activeadmin/activeadmin/pull/8446
|
975
|
+
[#8467]: https://github.com/activeadmin/activeadmin/pull/8467
|
976
|
+
[#8468]: https://github.com/activeadmin/activeadmin/pull/8468
|
977
|
+
[#8469]: https://github.com/activeadmin/activeadmin/pull/8469
|
978
|
+
[#8470]: https://github.com/activeadmin/activeadmin/pull/8470
|
979
|
+
[#8548]: https://github.com/activeadmin/activeadmin/pull/8548
|
980
|
+
[#8551]: https://github.com/activeadmin/activeadmin/pull/8551
|
981
|
+
[#8556]: https://github.com/activeadmin/activeadmin/pull/8556
|
982
|
+
[#8596]: https://github.com/activeadmin/activeadmin/pull/8596
|
983
|
+
[#8601]: https://github.com/activeadmin/activeadmin/pull/8601
|
984
|
+
[#8614]: https://github.com/activeadmin/activeadmin/pull/8614
|
985
|
+
[#8650]: https://github.com/activeadmin/activeadmin/pull/8650
|
986
|
+
[#8652]: https://github.com/activeadmin/activeadmin/pull/8652
|
775
987
|
|
776
988
|
[@1000ship]: https://github.com/1000ship
|
777
989
|
[@5t111111]: https://github.com/5t111111
|
@@ -782,13 +994,17 @@ Please check [0-6-stable] for previous changes.
|
|
782
994
|
[@alejandroperea]: https://github.com/alejandroperea
|
783
995
|
[@alex-bogomolov]: https://github.com/alex-bogomolov
|
784
996
|
[@amiel]: https://github.com/amiel
|
997
|
+
[@amit]: https://github.com/amit
|
785
998
|
[@amiuhle]: https://github.com/amiuhle
|
786
999
|
[@andreslemik]: https://github.com/andreslemik
|
787
1000
|
[@bartoszkopinski]: https://github.com/bartoszkopinski
|
1001
|
+
[@bliof]: https://github.com/bliof
|
788
1002
|
[@blocknotes]: https://github.com/blocknotes
|
789
1003
|
[@bolshakov]: https://github.com/bolshakov
|
1004
|
+
[@brunoarueira]: https://github.com/brunoarueira
|
790
1005
|
[@brunvez]: https://github.com/brunvez
|
791
1006
|
[@buren]: https://github.com/buren
|
1007
|
+
[@carlottostromstedt]: https://github.com/carlottostromstedt
|
792
1008
|
[@chancancode]: https://github.com/chancancode
|
793
1009
|
[@chrp]: https://github.com/chrp
|
794
1010
|
[@chumakoff]: https://github.com/chumakoff
|
@@ -796,6 +1012,7 @@ Please check [0-6-stable] for previous changes.
|
|
796
1012
|
[@craigmcnamara]: https://github.com/craigmcnamara
|
797
1013
|
[@DanielHeath]: https://github.com/DanielHeath
|
798
1014
|
[@deivid-rodriguez]: https://github.com/deivid-rodriguez
|
1015
|
+
[@denisahearn]: https://github.com/denisahearn
|
799
1016
|
[@dennisvdvliet]: https://github.com/dennisvdvliet
|
800
1017
|
[@dhyegofernando]: https://github.com/dhyegofernando
|
801
1018
|
[@dkniffin]: https://github.com/dkniffin
|
@@ -808,22 +1025,26 @@ Please check [0-6-stable] for previous changes.
|
|
808
1025
|
[@Fivell]: https://github.com/Fivell
|
809
1026
|
[@Fs00]: https://github.com/Fs00
|
810
1027
|
[@fuzziness]: https://github.com/fuzziness
|
1028
|
+
[@gabo-cs]: https://github.com/gabo-cs
|
811
1029
|
[@giapnhdev]: https://github.com/giapnhdev
|
812
1030
|
[@gigorok]: https://github.com/gigorok
|
813
1031
|
[@glebtv]: https://github.com/glebtv
|
814
1032
|
[@gonzedge]: https://github.com/gonzedge
|
815
1033
|
[@guigs]: https://github.com/guigs
|
816
1034
|
[@HappyKadaver]: https://github.com/HappyKadaver
|
1035
|
+
[@hfl]: https://github.com/hfl
|
817
1036
|
[@imcvampire]: https://github.com/imcvampire
|
818
1037
|
[@innparusu95]: https://github.com/innparusu95
|
819
1038
|
[@ionut998]: https://github.com/ionut998
|
820
1039
|
[@irmela]: https://github.com/irmela
|
1040
|
+
[@ispyropoulos]: https://github.com/ispyropoulos
|
821
1041
|
[@Ivanov-Anton]: https://github.com/Ivanov-Anton
|
822
1042
|
[@jasl]: https://github.com/jasl
|
823
1043
|
[@javawizard]: https://github.com/javawizard
|
824
1044
|
[@javierjulio]: https://github.com/javierjulio
|
825
1045
|
[@jawa]: https://github.com/jawa
|
826
1046
|
[@jaynetics]: https://github.com/jaynetics
|
1047
|
+
[@JewelSam]: https://github.com/JewelSam
|
827
1048
|
[@JiiHu]: https://github.com/JiiHu
|
828
1049
|
[@jiikko]: https://github.com/jiikko
|
829
1050
|
[@johnnyshields]: https://github.com/johnnyshields
|
@@ -837,11 +1058,13 @@ Please check [0-6-stable] for previous changes.
|
|
837
1058
|
[@Kris-LIBIS]: https://github.com/Kris-LIBIS
|
838
1059
|
[@krzcho]: https://github.com/krzcho
|
839
1060
|
[@kwent]: https://github.com/kwent
|
1061
|
+
[@lanzhiheng]: https://github.com/lanzhiheng
|
840
1062
|
[@leio10]: https://github.com/leio10
|
841
1063
|
[@littleforest]: https://github.com/littleforest
|
842
1064
|
[@Looooong]: https://github.com/Looooong
|
843
1065
|
[@lubosch]: https://github.com/lubosch
|
844
1066
|
[@markstory]: https://github.com/markstory
|
1067
|
+
[@mattbrictson]: https://github.com/mattbrictson
|
845
1068
|
[@mauriciopasquier]: https://github.com/mauriciopasquier
|
846
1069
|
[@mconiglio]: https://github.com/mconiglio
|
847
1070
|
[@mgrunberg]: https://github.com/mgrunberg
|
@@ -857,13 +1080,17 @@ Please check [0-6-stable] for previous changes.
|
|
857
1080
|
[@orkhan]: https://github.com/orkhan
|
858
1081
|
[@panasyuk]: https://github.com/panasyuk
|
859
1082
|
[@PChambino]: https://github.com/PChambino
|
1083
|
+
[@plashchynski]: https://github.com/plashchynski
|
860
1084
|
[@potatosalad]: https://github.com/potatosalad
|
861
1085
|
[@pranas]: https://github.com/pranas
|
1086
|
+
[@ray-curran]: https://github.com/ray-curran
|
862
1087
|
[@renotocn]: https://github.com/renotocn
|
863
1088
|
[@rn0rno]: https://github.com/rn0rno
|
864
1089
|
[@RobinvanderVliet]: https://github.com/RobinvanderVliet
|
865
1090
|
[@rogerkk]: https://github.com/rogerkk
|
866
1091
|
[@roramirez]: https://github.com/roramirez
|
1092
|
+
[@rs-phunt]: https://github.com/rs-phunt
|
1093
|
+
[@sanfrecce-osaka]: https://github.com/sanfrecce-osaka
|
867
1094
|
[@seanlinsley]: https://github.com/seanlinsley
|
868
1095
|
[@sergey-alekseev]: https://github.com/sergey-alekseev
|
869
1096
|
[@sgara]: https://github.com/sgara
|
@@ -876,12 +1103,15 @@ Please check [0-6-stable] for previous changes.
|
|
876
1103
|
[@stereoscott]: https://github.com/stereoscott
|
877
1104
|
[@tagliala]: https://github.com/tagliala
|
878
1105
|
[@taralbass]: https://github.com/taralbass
|
1106
|
+
[@tf]: https://github.com/tf
|
879
1107
|
[@tiagotex]: https://github.com/tiagotex
|
880
1108
|
[@timoschilling]: https://github.com/timoschilling
|
881
1109
|
[@TimPetricola]: https://github.com/TimPetricola
|
1110
|
+
[@timwis]: https://github.com/timwis
|
882
1111
|
[@tomgilligan]: https://github.com/tomgilligan
|
883
1112
|
[@TonyArra]: https://github.com/TonyArra
|
884
1113
|
[@tordans]: https://github.com/tordans
|
1114
|
+
[@tvziet]: https://github.com/tvziet
|
885
1115
|
[@utkarsh2102]: https://github.com/utkarsh2102
|
886
1116
|
[@varyonic]: https://github.com/varyonic
|
887
1117
|
[@vcsjones]: https://github.com/vcsjones
|
data/CONTRIBUTING.md
CHANGED
@@ -25,8 +25,7 @@ git checkout -b 325-add-japanese-translations
|
|
25
25
|
|
26
26
|
### Get the test suite running
|
27
27
|
|
28
|
-
Make sure you're using a recent
|
29
|
-
least version `1.14.3`.
|
28
|
+
Make sure you're using a recent Ruby version.
|
30
29
|
|
31
30
|
You'll also need chrome installed in order to run cucumber scenarios.
|
32
31
|
|
@@ -56,14 +55,14 @@ Now you should be able to run the entire suite using:
|
|
56
55
|
bin/rake
|
57
56
|
```
|
58
57
|
|
59
|
-
The
|
60
|
-
|
58
|
+
The task will generate a sample Rails application in `tmp/test_apps` to run the
|
59
|
+
test suite against.
|
61
60
|
|
62
61
|
If you want to test against a Rails version different from the latest, make sure
|
63
62
|
you use the correct Gemfile, for example:
|
64
63
|
|
65
64
|
```sh
|
66
|
-
export BUNDLE_GEMFILE=gemfiles/
|
65
|
+
export BUNDLE_GEMFILE=gemfiles/rails_61/Gemfile
|
67
66
|
```
|
68
67
|
|
69
68
|
**Warning** SCSS assets are aimed to be used indifferently with Sprockets **and** webpacker.
|
@@ -108,13 +107,6 @@ with the db:
|
|
108
107
|
bin/rake local db:migrate
|
109
108
|
```
|
110
109
|
|
111
|
-
### Get the style right
|
112
|
-
|
113
|
-
Your patch should follow the same conventions & pass the same code quality
|
114
|
-
checks as the rest of the project. `bin/rake lint` will give you feedback in
|
115
|
-
this regard. You can check & fix style issues by running each linter
|
116
|
-
individually. Run `bin/rake -T lint` to see the available linters.
|
117
|
-
|
118
110
|
### Make a Pull Request
|
119
111
|
|
120
112
|
At this point, you should switch back to your master branch and make sure it's
|
data/README.md
CHANGED
@@ -85,8 +85,8 @@ Thanks to [Tidelift][tidelift] and all our Tidelift subscribers.
|
|
85
85
|
Thanks to [Open Collective][opencollective contributors] and all our Open Collective contributors.
|
86
86
|
|
87
87
|
[Arbre]: https://github.com/activeadmin/arbre
|
88
|
-
[Devise]: https://github.com/
|
89
|
-
[Formtastic]: https://github.com/
|
88
|
+
[Devise]: https://github.com/heartcombo/devise
|
89
|
+
[Formtastic]: https://github.com/formtastic/formtastic
|
90
90
|
[Inherited Resources]: https://github.com/activeadmin/inherited_resources
|
91
91
|
[Kaminari]: https://github.com/kaminari/kaminari
|
92
92
|
[Ransack]: https://github.com/activerecord-hackery/ransack
|
@@ -95,8 +95,8 @@ Thanks to [Open Collective][opencollective contributors] and all our Open Collec
|
|
95
95
|
[rubygems]: https://rubygems.org/gems/activeadmin
|
96
96
|
[actions_badge]: https://github.com/activeadmin/activeadmin/workflows/ci/badge.svg
|
97
97
|
[actions]: https://github.com/activeadmin/activeadmin/actions
|
98
|
-
[coverage_badge]: https://
|
99
|
-
[coverage]: https://
|
98
|
+
[coverage_badge]: https://codecov.io/gh/activeadmin/activeadmin/branch/master/graph/badge.svg?token=NAjeBdkQXW
|
99
|
+
[coverage]: https://codecov.io/gh/activeadmin/activeadmin
|
100
100
|
[inch_badge]: http://inch-ci.org/github/activeadmin/activeadmin.svg?branch=master
|
101
101
|
[inch]: http://inch-ci.org/github/activeadmin/activeadmin
|
102
102
|
[tidelift_badge]: https://tidelift.com/badges/github/activeadmin/activeadmin
|
@@ -474,7 +474,7 @@
|
|
474
474
|
_setPrototypeOf(subClass, superClass);
|
475
475
|
}
|
476
476
|
function _setPrototypeOf(o, p) {
|
477
|
-
_setPrototypeOf = Object.setPrototypeOf
|
477
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
478
478
|
o.__proto__ = p;
|
479
479
|
return o;
|
480
480
|
};
|
@@ -518,7 +518,4 @@
|
|
518
518
|
}
|
519
519
|
exports.ModalDialog = ModalDialog;
|
520
520
|
exports.modal_dialog = modal_dialog;
|
521
|
-
Object.defineProperty(exports, "__esModule", {
|
522
|
-
value: true
|
523
|
-
});
|
524
521
|
});
|
@@ -171,7 +171,7 @@ form {
|
|
171
171
|
&.boolean {
|
172
172
|
min-height: 1.1em;
|
173
173
|
label {
|
174
|
-
width:
|
174
|
+
width: 100%;
|
175
175
|
padding-left:20%;
|
176
176
|
padding-right: 10px;
|
177
177
|
text-transform: none !important;
|
@@ -220,9 +220,8 @@ form {
|
|
220
220
|
/* Buttons */
|
221
221
|
|
222
222
|
input[type=submit], input[type=button], button {
|
223
|
-
@include dark-button;
|
224
223
|
cursor: pointer;
|
225
|
-
|
224
|
+
@include dark-button;
|
226
225
|
}
|
227
226
|
|
228
227
|
.buttons, .actions {
|
@@ -3,9 +3,12 @@
|
|
3
3
|
|
4
4
|
.dropdown_menu_button {
|
5
5
|
@include light-button;
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
|
7
|
+
& {
|
8
|
+
position: relative;
|
9
|
+
padding-right: 22px !important;
|
10
|
+
cursor: pointer;
|
11
|
+
}
|
9
12
|
|
10
13
|
&:before {
|
11
14
|
content: ' ';
|
@@ -139,11 +142,11 @@
|
|
139
142
|
}
|
140
143
|
|
141
144
|
&:last-child {
|
145
|
+
border: none;
|
142
146
|
a {
|
143
147
|
border-bottom-left-radius: 2px;
|
144
148
|
border-bottom-right-radius: 2px;
|
145
149
|
}
|
146
|
-
border: none;
|
147
150
|
}
|
148
151
|
}
|
149
152
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.table_tools {
|
2
|
-
@include clearfix;
|
3
2
|
margin-bottom: 16px;
|
3
|
+
@include clearfix;
|
4
4
|
}
|
5
5
|
|
6
6
|
.table_tools .dropdown_menu {
|
@@ -9,11 +9,14 @@
|
|
9
9
|
|
10
10
|
a.table_tools_button, .table_tools .dropdown_menu_button {
|
11
11
|
@include light-button;
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
|
13
|
+
& {
|
14
|
+
@include gradient(#FFFFFF, #F0F0F0);
|
15
|
+
@include border-colors(#d9d9d9, #d0d0d0, #c5c5c5);
|
16
|
+
font-size: 0.9em;
|
17
|
+
padding: 4px 14px 4px;
|
18
|
+
margin: 0;
|
19
|
+
}
|
17
20
|
|
18
21
|
&:not(.disabled) {
|
19
22
|
&:hover {
|
@@ -28,13 +28,16 @@
|
|
28
28
|
|
29
29
|
a {
|
30
30
|
@include light-button;
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
31
|
+
|
32
|
+
& {
|
33
|
+
@include gradient(#FFFFFF, #F0F0F0);
|
34
|
+
@include border-colors(#d9d9d9, #d0d0d0, #c5c5c5);
|
35
|
+
text-decoration: none;
|
36
|
+
border-radius: 0;
|
37
|
+
border-width: 1px .5px 1px .5px;
|
38
|
+
margin-right: 0;
|
39
|
+
padding: 4px 14px 4px;
|
40
|
+
}
|
38
41
|
|
39
42
|
&:not(.disabled) {
|
40
43
|
&:hover {
|
@@ -17,13 +17,13 @@
|
|
17
17
|
}
|
18
18
|
|
19
19
|
@mixin default-button {
|
20
|
-
@include basic-button;
|
21
20
|
@include gradient(lighten($primary-color, 15%), darken($primary-color, 12%));
|
22
21
|
@include text-shadow(#000);
|
23
22
|
box-shadow: 0 1px 1px rgba(0,0,0,0.10), 0 1px 0 0px rgba(255,255,255, 0.2) inset;
|
24
23
|
border: solid 1px #484e53;
|
25
24
|
@include border-colors(#616a71, #484e53, #363b3f);
|
26
25
|
color: #efefef;
|
26
|
+
@include basic-button;
|
27
27
|
|
28
28
|
&:not(.disabled) {
|
29
29
|
&:hover{
|
@@ -38,13 +38,13 @@
|
|
38
38
|
}
|
39
39
|
|
40
40
|
@mixin light-button {
|
41
|
-
@include basic-button;
|
42
41
|
@include gradient(#FFFFFF, #E7E7E7);
|
43
42
|
box-shadow: 0 1px 1px rgba(0,0,0,0.10), 0 1px 0 0 rgba(255,255,255, 0.8) inset;
|
44
43
|
border: solid 1px #c7c7c7;
|
45
44
|
@include border-colors(#d3d3d3, #c7c7c7, #c2c2c2);
|
46
45
|
@include text-shadow;
|
47
46
|
color: $primary-color;
|
47
|
+
@include basic-button;
|
48
48
|
|
49
49
|
&:not(.disabled) {
|
50
50
|
&:hover {
|
@@ -28,13 +28,13 @@ body.logged_out {
|
|
28
28
|
@include no-shadow;
|
29
29
|
background: none;
|
30
30
|
padding: 0;
|
31
|
+
margin-bottom: 0;
|
31
32
|
li { padding: 10px 0; }
|
32
33
|
|
33
34
|
input[type=text], input[type=email], input[type=password] {
|
34
35
|
width: 70%;
|
35
36
|
}
|
36
37
|
&.buttons { margin-left: 20%; }
|
37
|
-
margin-bottom: 0;
|
38
38
|
}
|
39
39
|
}
|
40
40
|
|
@@ -9,6 +9,11 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
// -------------------------------------- Index Footer (Under Table)
|
12
|
-
#index_footer {
|
12
|
+
#index_footer {
|
13
|
+
padding-top: 5px;
|
14
|
+
text-align: right;
|
15
|
+
font-size: 0.85em;
|
16
|
+
@include clearfix;
|
17
|
+
}
|
13
18
|
|
14
19
|
.index_content { clear: both; }
|
@@ -1,6 +1,5 @@
|
|
1
1
|
#title_bar {
|
2
2
|
@include section-header;
|
3
|
-
@include clearfix;
|
4
3
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.37);
|
5
4
|
display: table;
|
6
5
|
border-bottom-color: #EEE;
|
@@ -9,6 +8,7 @@
|
|
9
8
|
margin: 0;
|
10
9
|
padding: 10px $horizontal-page-margin;
|
11
10
|
z-index: 800;
|
11
|
+
@include clearfix;
|
12
12
|
|
13
13
|
#titlebar_left, #titlebar_right {
|
14
14
|
height: 50px;
|
@@ -32,8 +32,11 @@
|
|
32
32
|
span.action_item {
|
33
33
|
& > a, & > .dropdown_menu > a {
|
34
34
|
@include light-button;
|
35
|
-
|
36
|
-
|
35
|
+
|
36
|
+
& {
|
37
|
+
padding: 12px 17px 10px;
|
38
|
+
margin: 0px;
|
39
|
+
}
|
37
40
|
}
|
38
41
|
}
|
39
42
|
}
|