activeadmin 1.4.3 → 2.3.1
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 +170 -11
- data/CONTRIBUTING.md +14 -15
- data/README.md +41 -8
- data/app/assets/javascripts/active_admin/base.es6 +23 -0
- data/app/assets/javascripts/active_admin/ext/jquery-ui.es6 +7 -0
- data/app/assets/javascripts/active_admin/ext/jquery.es6 +9 -0
- data/app/assets/javascripts/active_admin/initializers/datepicker.es6 +16 -0
- data/app/assets/javascripts/active_admin/initializers/filters.es6 +45 -0
- data/app/assets/javascripts/active_admin/initializers/tabs.es6 +6 -0
- data/app/assets/javascripts/active_admin/lib/active_admin.es6 +41 -0
- data/app/assets/javascripts/active_admin/lib/batch_actions.es6 +59 -0
- data/app/assets/javascripts/active_admin/lib/checkbox-toggler.es6 +49 -0
- data/app/assets/javascripts/active_admin/lib/dropdown-menu.es6 +123 -0
- data/app/assets/javascripts/active_admin/lib/has_many.es6 +95 -0
- data/app/assets/javascripts/active_admin/lib/modal_dialog.es6 +61 -0
- data/app/assets/javascripts/active_admin/lib/per_page.es6 +47 -0
- data/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.es6 +36 -0
- data/app/assets/stylesheets/active_admin/_forms.scss +2 -14
- data/app/assets/stylesheets/active_admin/components/_status_tags.scss +0 -5
- data/app/assets/stylesheets/active_admin/components/_tabs.scss +1 -1
- data/app/assets/stylesheets/active_admin/mixins/_gradients.scss +1 -1
- data/app/views/active_admin/devise/confirmations/new.html.erb +1 -1
- data/app/views/active_admin/devise/passwords/edit.html.erb +1 -1
- data/app/views/active_admin/devise/passwords/new.html.erb +1 -1
- data/app/views/active_admin/devise/registrations/new.html.erb +1 -2
- data/app/views/active_admin/devise/shared/_error_messages.html.erb +15 -0
- data/app/views/active_admin/devise/unlocks/new.html.erb +1 -1
- data/app/views/kaminari/active_admin_countless/_first_page.html.erb +11 -0
- data/app/views/kaminari/active_admin_countless/_gap.html.erb +8 -0
- data/app/views/kaminari/active_admin_countless/_next_page.html.erb +11 -0
- data/app/views/kaminari/active_admin_countless/_page.html.erb +12 -0
- data/app/views/kaminari/active_admin_countless/_paginator.html.erb +24 -0
- data/app/views/kaminari/active_admin_countless/_prev_page.html.erb +11 -0
- data/app/views/layouts/active_admin_logged_out.html.erb +1 -1
- data/config/locales/ar.yml +3 -2
- data/config/locales/bg.yml +1 -1
- data/config/locales/bs.yml +1 -0
- data/config/locales/ca.yml +1 -1
- data/config/locales/cs.yml +1 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de-CH.yml +1 -0
- data/config/locales/de.yml +1 -0
- data/config/locales/el.yml +1 -0
- data/config/locales/en-CA.yml +1 -0
- data/config/locales/en-GB.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fa.yml +1 -0
- data/config/locales/fi.yml +1 -0
- data/config/locales/fr.yml +2 -1
- data/config/locales/he.yml +1 -1
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +5 -0
- data/config/locales/id.yml +1 -0
- data/config/locales/it.yml +1 -0
- data/config/locales/ja.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +3 -2
- data/config/locales/lv.yml +1 -0
- data/config/locales/mk.yml +134 -0
- data/config/locales/nb.yml +1 -0
- data/config/locales/nl.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/pt-BR.yml +1 -0
- data/config/locales/pt-PT.yml +1 -0
- data/config/locales/ro.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/config/locales/sk.yml +1 -0
- data/config/locales/sv-SE.yml +1 -0
- data/config/locales/tr.yml +1 -0
- data/config/locales/uk.yml +3 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +1 -0
- data/config/locales/zh-TW.yml +1 -0
- data/docs/0-installation.md +2 -2
- data/docs/12-arbre-components.md +13 -0
- data/docs/13-authorization-adapter.md +6 -6
- data/docs/2-resource-customization.md +1 -1
- data/docs/3-index-pages/index-as-table.md +7 -0
- data/docs/CNAME +1 -1
- data/docs/Gemfile +0 -1
- data/docs/Gemfile.lock +3 -4
- data/docs/_config.yml +2 -0
- data/docs/_includes/top-menu.html +2 -2
- data/docs/index.html +109 -8
- data/docs/stylesheets/main.css +29 -0
- data/lib/active_admin.rb +10 -4
- data/lib/active_admin/application.rb +11 -18
- data/lib/active_admin/application_settings.rb +3 -0
- data/lib/active_admin/asset_registration.rb +0 -8
- data/lib/active_admin/base_controller.rb +6 -6
- data/lib/active_admin/base_controller/authorization.rb +3 -4
- data/lib/active_admin/batch_actions/controller.rb +1 -1
- data/lib/active_admin/batch_actions/resource_extension.rb +9 -5
- data/lib/active_admin/callbacks.rb +1 -1
- data/lib/active_admin/controller_action.rb +2 -1
- data/lib/active_admin/csv_builder.rb +4 -3
- data/lib/active_admin/dependency.rb +3 -75
- data/lib/active_admin/dsl.rb +1 -8
- data/lib/active_admin/error.rb +4 -2
- data/lib/active_admin/filters/active_filter.rb +5 -4
- data/lib/active_admin/filters/active_sidebar.rb +5 -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 +3 -3
- data/lib/active_admin/form_builder.rb +3 -3
- data/lib/active_admin/generators/boilerplate.rb +12 -4
- data/lib/active_admin/helpers/scope_chain.rb +1 -0
- data/lib/active_admin/inputs/datepicker_input.rb +1 -1
- data/lib/active_admin/inputs/filters/base/search_method_select.rb +2 -2
- data/lib/active_admin/menu_item.rb +1 -1
- data/lib/active_admin/namespace.rb +2 -2
- data/lib/active_admin/namespace_settings.rb +7 -4
- data/lib/active_admin/orm/active_record/comments.rb +4 -4
- data/lib/active_admin/orm/active_record/comments/comment.rb +2 -2
- data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +10 -5
- data/lib/active_admin/page_dsl.rb +1 -1
- data/lib/active_admin/page_presenter.rb +2 -1
- data/lib/active_admin/pundit_adapter.rb +18 -5
- data/lib/active_admin/resource.rb +17 -3
- data/lib/active_admin/resource/action_items.rb +1 -1
- data/lib/active_admin/resource/attributes.rb +7 -4
- data/lib/active_admin/resource/belongs_to.rb +6 -1
- data/lib/active_admin/resource/menu.rb +3 -3
- data/lib/active_admin/resource/model.rb +15 -0
- data/lib/active_admin/resource/naming.rb +3 -3
- data/lib/active_admin/resource/routes.rb +20 -7
- data/lib/active_admin/resource/scopes.rb +3 -3
- data/lib/active_admin/resource/sidebars.rb +1 -1
- data/lib/active_admin/resource_collection.rb +2 -2
- data/lib/active_admin/resource_controller.rb +2 -0
- data/lib/active_admin/resource_controller/action_builder.rb +10 -0
- data/lib/active_admin/resource_controller/polymorphic_routes.rb +36 -0
- data/lib/active_admin/resource_controller/resource_class_methods.rb +2 -0
- data/lib/active_admin/resource_dsl.rb +6 -4
- data/lib/active_admin/router.rb +3 -2
- data/lib/active_admin/scope.rb +11 -7
- data/lib/active_admin/settings_node.rb +1 -1
- data/lib/active_admin/sidebar_section.rb +3 -1
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/view_helpers.rb +1 -1
- data/lib/active_admin/view_helpers/breadcrumb_helper.rb +2 -2
- data/lib/active_admin/view_helpers/display_helper.rb +13 -4
- data/lib/active_admin/view_helpers/download_format_links_helper.rb +1 -0
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +2 -0
- data/lib/active_admin/views.rb +1 -1
- data/lib/active_admin/views/components/active_admin_form.rb +7 -1
- data/lib/active_admin/views/components/attributes_table.rb +3 -3
- data/lib/active_admin/views/components/paginated_collection.rb +2 -2
- data/lib/active_admin/views/components/sidebar_section.rb +0 -3
- data/lib/active_admin/views/components/status_tag.rb +6 -19
- data/lib/active_admin/views/components/table_for.rb +2 -2
- data/lib/active_admin/views/components/tabs.rb +11 -2
- data/lib/active_admin/views/footer.rb +1 -1
- data/lib/active_admin/views/index_as_table.rb +12 -4
- data/lib/active_admin/views/pages/base.rb +3 -0
- data/lib/generators/active_admin/assets/assets_generator.rb +2 -2
- data/lib/generators/active_admin/assets/templates/active_admin.js +1 -0
- data/lib/generators/active_admin/install/install_generator.rb +6 -2
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +24 -2
- data/lib/generators/active_admin/install/templates/dashboard.rb +2 -3
- data/lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb.erb +1 -15
- data/lib/generators/active_admin/page/page_generator.rb +1 -1
- data/lib/generators/active_admin/resource/resource_generator.rb +1 -1
- data/lib/generators/active_admin/resource/templates/admin.rb.erb +40 -37
- data/lib/ransack_ext.rb +3 -3
- data/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +80 -0
- data/vendor/assets/javascripts/jquery-ui/form.js +22 -0
- data/vendor/assets/javascripts/jquery-ui/labels.js +65 -0
- data/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +274 -283
- metadata +117 -98
- data/.circleci/config.yml +0 -572
- data/.github/ISSUE_TEMPLATE.md +0 -20
- data/.gitignore +0 -16
- data/.mdlrc +0 -1
- data/.rspec +0 -1
- data/.rspec_parallel +0 -2
- data/.rubocop.yml +0 -99
- data/.simplecov +0 -9
- data/.yardopts +0 -7
- data/Gemfile +0 -30
- data/Gemfile.common +0 -26
- data/Gemfile.lock +0 -433
- data/Rakefile +0 -24
- data/activeadmin.gemspec +0 -32
- data/app/assets/javascripts/active_admin/base.js.coffee +0 -13
- data/app/assets/javascripts/active_admin/ext/jquery-ui.js.coffee +0 -6
- data/app/assets/javascripts/active_admin/ext/jquery.js.coffee +0 -7
- data/app/assets/javascripts/active_admin/initializers/batch_actions.js.coffee +0 -11
- data/app/assets/javascripts/active_admin/initializers/datepicker.js.coffee +0 -14
- data/app/assets/javascripts/active_admin/initializers/filters.js.coffee +0 -26
- data/app/assets/javascripts/active_admin/initializers/tabs.js.coffee +0 -7
- data/app/assets/javascripts/active_admin/lib/batch_actions.js.coffee +0 -42
- data/app/assets/javascripts/active_admin/lib/checkbox-toggler.js.coffee +0 -46
- data/app/assets/javascripts/active_admin/lib/dropdown-menu.js.coffee +0 -104
- data/app/assets/javascripts/active_admin/lib/flash.js.coffee +0 -19
- data/app/assets/javascripts/active_admin/lib/has_many.js.coffee +0 -79
- data/app/assets/javascripts/active_admin/lib/modal_dialog.js.coffee +0 -45
- data/app/assets/javascripts/active_admin/lib/per_page.js.coffee +0 -46
- data/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.js.coffee +0 -22
- data/bin/install_chromedriver.sh +0 -17
- data/config/i18n-tasks.yml +0 -26
- data/config/mdl_style.rb +0 -11
- data/cucumber.yml +0 -7
- data/gemfiles/rails_42.gemfile +0 -10
- data/gemfiles/rails_42.gemfile.lock +0 -339
- data/gemfiles/rails_50.gemfile +0 -10
- data/gemfiles/rails_50.gemfile.lock +0 -353
- data/gemfiles/rails_51.gemfile +0 -10
- data/gemfiles/rails_51.gemfile.lock +0 -353
- data/lib/active_admin/event.rb +0 -24
- data/lib/active_admin/helpers/output_safety_helper.rb +0 -35
- data/lib/active_admin/reloader.rb +0 -25
- data/lib/bug_report_templates/active_admin_master.rb +0 -111
- data/lib/generators/active_admin/assets/templates/active_admin.js.coffee +0 -1
- data/tasks/application_generator.rb +0 -50
- data/tasks/docs.rake +0 -64
- data/tasks/gemfiles.rake +0 -8
- data/tasks/lint.rake +0 -110
- data/tasks/local.rake +0 -27
- data/tasks/release.rake +0 -6
- data/tasks/test.rake +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 563d1b0d5a864fbade2689270fb82575242d8c557f4c4807e45d5fb6d3679ccb
|
4
|
+
data.tar.gz: 0076ad12634d0c8762697204639d0ce9447f051fd4b6827da3a09e4fdf7dcb1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cdc8ddd8ba6452996a80f098cde70512a83215c4731d03b7a0b0a9d601f5886c12f5db824be5aaf0ecb92a8151f0685ad65f95d1c7f623767613f4a46e29617
|
7
|
+
data.tar.gz: 7b14dc13a08928a73f48bfcd4972d20b4a2d33db3c29afb1769ab63c3654cbe6e711e6ff8f39b4b131af6c94c060ac6b5056abb6494cafc4b6c3a13f99bbb7db
|
data/CHANGELOG.md
CHANGED
@@ -2,26 +2,132 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
-
##
|
5
|
+
## 2.3.1 [☰](https://github.com/activeadmin/activeadmin/compare/v2.3.0..v2.3.1)
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* Revert ransack version pinning because 2.3 has an outstanding bug that affects quite a lot of users. See [this ransack issue](https://github.com/activerecord-hackery/ransack/issues/1039) for more information. [#5854] by [@deivid-rodriguez]
|
10
|
+
|
11
|
+
## 2.3.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.2.0..v2.3.0)
|
12
|
+
|
13
|
+
### Enhancements
|
14
|
+
|
15
|
+
#### Minor
|
16
|
+
|
17
|
+
* Bump minimum ransack requirement to make sure everyone gets a version that works ok with all supported versions of Rails. [#5831] by [@deivid-rodriguez]
|
18
|
+
|
19
|
+
### Bug Fixes
|
20
|
+
|
21
|
+
* Fix CSVBuilder not respecting `ActiveAdmin.application.csv_options = { humanize_name: false }` setting. [#5800] by [@HappyKadaver]
|
22
|
+
* Fix crash when displaying current filters after filtering by a nested resource. [#5816] by [@deivid-rodriguez]
|
23
|
+
* Fix pagination when `pagination_total` is false to not show a "Last" link, since it's incorrect because we don't have the total pages information. [#5822] by [@deivid-rodriguez]
|
24
|
+
* Fix optional nested resources causing incorrect routes to be generated, when renamed resources (through `:as` option) are involved. [#5826] by [@ndbroadbent], [@Kris-LIBIS] and [@deivid-rodriguez]
|
25
|
+
* Fix double modal issue in applications using turbolinks 5. [#5842] by [@sgara]
|
26
|
+
|
27
|
+
## 2.2.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.1.0..v2.2.0)
|
28
|
+
|
29
|
+
### Enhancements
|
30
|
+
|
31
|
+
#### Minor
|
32
|
+
|
33
|
+
* The `status_tag` component now supports different labels for `false` and `nil` boolean cases through the locale. Both default to display "No" for backwards compatibility. [#5794] by [@javierjulio]
|
34
|
+
* Add Macedonian locale. [#5710] by [@violeta-p]
|
35
|
+
|
36
|
+
### Bug Fixes
|
37
|
+
|
38
|
+
* Fix pundit policy retrieving for static pages when the pundit namespace is :active_admin. [#5777] by [@kwent]
|
39
|
+
* Fix show page title not being properly escaped if title's content included HTML. [#5802] by [@deivid-rodriguez]
|
40
|
+
* Revert [21b6138f] from [#5740] since it actually caused the performance in development to regress. [#5801] by [@deivid-rodriguez]
|
41
|
+
|
42
|
+
## 2.1.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.0.0..v2.1.0)
|
43
|
+
|
44
|
+
### Bug Fixes
|
45
|
+
|
46
|
+
* Ensure application gets reloaded only once. [#5740] by [@jscheid]
|
47
|
+
* Crash when rendering comments from a custom controller block. [#5758] by [@deivid-rodriguez]
|
48
|
+
* Switch `sass` dependency to `sassc-rails`, since `sass` is no longer supported and since it restores support for directly importing `css` files. [#5504] by [@deivid-rodriguez]
|
49
|
+
|
50
|
+
### Removals
|
51
|
+
|
52
|
+
* Support for ruby 2.3 has been removed. [#5751] by [@deivid-rodriguez]
|
53
|
+
|
54
|
+
## 2.0.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.0.0.rc2..v2.0.0)
|
55
|
+
|
56
|
+
_No changes_.
|
57
|
+
|
58
|
+
## 2.0.0.rc2 [☰](https://github.com/activeadmin/activeadmin/compare/v2.0.0.rc1..v2.0.0.rc2)
|
59
|
+
|
60
|
+
### Enhancements
|
61
|
+
|
62
|
+
#### Minor
|
63
|
+
|
64
|
+
* Require arbre `~> 1.2, >= 1.2.1`. [#5726] by [@ionut998], and [#5738] by [@deivid-rodriguez]
|
65
|
+
|
66
|
+
## 2.0.0.rc1 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.3..v2.0.0.rc1)
|
67
|
+
|
68
|
+
### Enhancements
|
69
|
+
|
70
|
+
* Add your own content to the site `<head>`, like analytics. [#5590] by [@buren]
|
71
|
+
|
72
|
+
```ruby
|
73
|
+
ActiveAdmin.setup do |config|
|
74
|
+
config.head = ''.html_safe
|
75
|
+
end
|
76
|
+
```
|
77
|
+
|
78
|
+
* Consider authorization when displaying comments in show page. [#5555] by [@amiuhle]
|
79
|
+
|
80
|
+
#### Minor
|
81
|
+
|
82
|
+
* Add better support for rendering lists. [#5370] by [@dkniffin]
|
83
|
+
* Undeprecate `config.register_stylesheet` and `config.register_javascript` for lack of better solution for including external assets. It might be reevaluated in the future. [#5662] by [@deivid-rodriguez]
|
84
|
+
|
85
|
+
### Security Fixes
|
86
|
+
|
87
|
+
* Prevent leaking hashed passwords via user CSV export and adds a config option for sensitive attributes. [#5486] by [@chrp]
|
88
|
+
|
89
|
+
### Bug Fixes
|
90
|
+
|
91
|
+
* Fix for paginated collections with `per_page: Array, pagination_total: false`. [#5627] by [@bartoszkopinski]
|
92
|
+
* Restrict ransack requirement to >= 2.1.1 to play nice with Rails 5.2.2. [#5632] by [@deivid-rodriguez]
|
93
|
+
* Bad interpolation variables on pagination keys in Lithuanian translation. [#5631] by [@deivid-rodriguez]
|
94
|
+
* Tabs are not correctly created when using non-transliteratable characters as title. [#5650] by [@panasyuk]
|
95
|
+
* Sidebar title internationalization. [#5417] by [@WaKeMaTTa]
|
96
|
+
* `filter` labels not allowing a `Proc` to be passed. [#5418] by [@WaKeMaTTa]
|
97
|
+
|
98
|
+
### Removals
|
99
|
+
|
100
|
+
* Rails 4.2 support has been dropped. [#5104] by [@javierjulio] and [@deivid-rodriguez]
|
101
|
+
* Dependency on coffee-rails has been removed. [#5081] by [@javierjulio]
|
102
|
+
If your application uses coffescript but was relying on ActiveAdmin to provide
|
103
|
+
the dependency, you need to add the `coffee-script` gem to your `Gemfile` to
|
104
|
+
restore it. If your only usage of coffescript was the
|
105
|
+
`active_admin.js.coffee` generated by ActiveAdmin's generator, you can also
|
106
|
+
convert that file to plain JS (`//= require active_admin/base` if you
|
107
|
+
didn't add any stuff to it).
|
108
|
+
* Devise 3 support has been dropped. [#5608] by [@deivid-rodriguez] and [@javierjulio]
|
109
|
+
* `action_item` without a name has been removed. [#5099] by [@javierjulio]
|
110
|
+
|
111
|
+
## 1.4.3 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.2..v1.4.3)
|
6
112
|
|
7
113
|
### Bug Fixes
|
8
114
|
|
9
115
|
* Fix `form` parameter to `batch_action` no longer accepting procs. [#5611] by [@buren] and [@deivid-rodriguez]
|
10
116
|
* Fix passing a proc to `scope_to`. [#5611] by [@deivid-rodriguez]
|
11
117
|
|
12
|
-
## 1.4.2 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.1
|
118
|
+
## 1.4.2 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.1..v1.4.2)
|
13
119
|
|
14
120
|
### Bug Fixes
|
15
121
|
|
16
122
|
* Fix `input_html` filter option evaluated only once. [#5376] by [@kjeldahl]
|
17
123
|
|
18
|
-
## 1.4.1 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.0
|
124
|
+
## 1.4.1 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.0..v1.4.1)
|
19
125
|
|
20
126
|
### Bug Fixes
|
21
127
|
|
22
128
|
* Fix menu item link with method delete. [#5583] by [@tiagotex]
|
23
129
|
|
24
|
-
## 1.4.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.3.1
|
130
|
+
## 1.4.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.3.1..v1.4.0)
|
25
131
|
|
26
132
|
### Enhancements
|
27
133
|
|
@@ -54,13 +160,13 @@
|
|
54
160
|
* Fixed resource filtering by association when the resource has custom primary key. [#5446] by [@wasifhossain]
|
55
161
|
* Fixed "create anoter" checkbox styling. [#5324] by [@faucct]
|
56
162
|
|
57
|
-
## 1.3.1 [☰](https://github.com/activeadmin/activeadmin/compare/v1.3.0
|
163
|
+
## 1.3.1 [☰](https://github.com/activeadmin/activeadmin/compare/v1.3.0..v1.3.1)
|
58
164
|
|
59
165
|
### Bug Fixes
|
60
166
|
|
61
167
|
* gemspec should have more permissive ransack dependency. [#5448] by [@varyonic]
|
62
168
|
|
63
|
-
## 1.3.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.2.1
|
169
|
+
## 1.3.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.2.1..v1.3.0)
|
64
170
|
|
65
171
|
### Enhancements
|
66
172
|
|
@@ -68,13 +174,13 @@
|
|
68
174
|
|
69
175
|
* Rails 5.2 support [#5343] by [@varyonic], [#5399], [#5401] by [@zorab47]
|
70
176
|
|
71
|
-
## 1.2.1 [☰](https://github.com/activeadmin/activeadmin/compare/v1.2.0
|
177
|
+
## 1.2.1 [☰](https://github.com/activeadmin/activeadmin/compare/v1.2.0..v1.2.1)
|
72
178
|
|
73
179
|
### Bug Fixes
|
74
180
|
|
75
181
|
* Resolve issue with [#5275] preventing XSS in filters sidebar. [#5299] by [@faucct]
|
76
182
|
|
77
|
-
## 1.2.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.1.0
|
183
|
+
## 1.2.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.1.0..v1.2.0)
|
78
184
|
|
79
185
|
### Enhancements
|
80
186
|
|
@@ -101,7 +207,7 @@
|
|
101
207
|
* Fixed [#5198] Prevent XSS on sidebar's current filter rendering. [#5275] by [@deivid-rodriguez]
|
102
208
|
* Sanitize display_name. [#5284] by [@markstory]
|
103
209
|
|
104
|
-
## 1.1.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.0.0
|
210
|
+
## 1.1.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.0.0..v1.1.0)
|
105
211
|
|
106
212
|
### Bug Fixes
|
107
213
|
|
@@ -158,7 +264,7 @@
|
|
158
264
|
* Allow passing a class to `action_item` block. [#4997] by [@Fivell]
|
159
265
|
* Add pagination to the comments section. [#5088] by [@alex-bogomolov]
|
160
266
|
|
161
|
-
## 1.0.0 [☰](https://github.com/activeadmin/activeadmin/compare/v0.6.3
|
267
|
+
## 1.0.0 [☰](https://github.com/activeadmin/activeadmin/compare/v0.6.3..v1.0.0)
|
162
268
|
|
163
269
|
### Breaking Changes
|
164
270
|
|
@@ -187,7 +293,7 @@
|
|
187
293
|
* Page supports belongs_to. [#4759] by [@Fivell] and [@zorab47]
|
188
294
|
* Support for custom sorting strategies. [#4768] by [@Fivell]
|
189
295
|
* Stream CSV downloads as they're generated. [#3038] by [@craigmcnamara]
|
190
|
-
|
296
|
+
* Disable streaming in development for easier debugging. [#3535] by [@seanlinsley]
|
191
297
|
* Improved code reloading. [#3783] by [@chancancode]
|
192
298
|
* Do not auto link to inaccessible actions. [#3686] by [@pranas]
|
193
299
|
* Allow to enable comments on per-resource basis. [#3695] by [@pranas]
|
@@ -247,6 +353,8 @@
|
|
247
353
|
ActiveSupport::Notifications.publish ActiveAdmin::Application::BeforeLoadEvent, "some data"
|
248
354
|
```
|
249
355
|
|
356
|
+
* `action_item` without a name, to introduce a solution for removing action items (`remove_action_item(name)`). [#3091] by [@amiel]
|
357
|
+
|
250
358
|
## Previous Changes
|
251
359
|
|
252
360
|
Please check [0-6-stable] for previous changes.
|
@@ -284,6 +392,9 @@ Please check [0-6-stable] for previous changes.
|
|
284
392
|
[#5043]: https://github.com/activeadmin/activeadmin/issues/5043
|
285
393
|
[#5198]: https://github.com/activeadmin/activeadmin/issues/5198
|
286
394
|
|
395
|
+
[21b6138f]: https://github.com/activeadmin/activeadmin/pull/5740/commits/21b6138fdcf58cd54c3f1d3f60cb1127b174b40f
|
396
|
+
|
397
|
+
[#3091]: https://github.com/activeadmin/activeadmin/pull/3091
|
287
398
|
[#3435]: https://github.com/activeadmin/activeadmin/pull/3435
|
288
399
|
[#4477]: https://github.com/activeadmin/activeadmin/pull/4477
|
289
400
|
[#4731]: https://github.com/activeadmin/activeadmin/pull/4731
|
@@ -308,8 +419,11 @@ Please check [0-6-stable] for previous changes.
|
|
308
419
|
[#5052]: https://github.com/activeadmin/activeadmin/pull/5052
|
309
420
|
[#5060]: https://github.com/activeadmin/activeadmin/pull/5060
|
310
421
|
[#5069]: https://github.com/activeadmin/activeadmin/pull/5069
|
422
|
+
[#5081]: https://github.com/activeadmin/activeadmin/pull/5081
|
311
423
|
[#5088]: https://github.com/activeadmin/activeadmin/pull/5088
|
312
424
|
[#5093]: https://github.com/activeadmin/activeadmin/pull/5093
|
425
|
+
[#5099]: https://github.com/activeadmin/activeadmin/pull/5099
|
426
|
+
[#5104]: https://github.com/activeadmin/activeadmin/pull/5104
|
313
427
|
[#5119]: https://github.com/activeadmin/activeadmin/pull/5119
|
314
428
|
[#5120]: https://github.com/activeadmin/activeadmin/pull/5120
|
315
429
|
[#5125]: https://github.com/activeadmin/activeadmin/pull/5125
|
@@ -343,12 +457,15 @@ Please check [0-6-stable] for previous changes.
|
|
343
457
|
[#5357]: https://github.com/activeadmin/activeadmin/pull/5357
|
344
458
|
[#5359]: https://github.com/activeadmin/activeadmin/pull/5359
|
345
459
|
[#5368]: https://github.com/activeadmin/activeadmin/pull/5368
|
460
|
+
[#5370]: https://github.com/activeadmin/activeadmin/pull/5370
|
346
461
|
[#5375]: https://github.com/activeadmin/activeadmin/pull/5375
|
347
462
|
[#5376]: https://github.com/activeadmin/activeadmin/pull/5376
|
348
463
|
[#5399]: https://github.com/activeadmin/activeadmin/pull/5399
|
349
464
|
[#5401]: https://github.com/activeadmin/activeadmin/pull/5401
|
350
465
|
[#5408]: https://github.com/activeadmin/activeadmin/pull/5408
|
351
466
|
[#5413]: https://github.com/activeadmin/activeadmin/pull/5413
|
467
|
+
[#5417]: https://github.com/activeadmin/activeadmin/pull/5417
|
468
|
+
[#5418]: https://github.com/activeadmin/activeadmin/pull/5418
|
352
469
|
[#5433]: https://github.com/activeadmin/activeadmin/pull/5433
|
353
470
|
[#5446]: https://github.com/activeadmin/activeadmin/pull/5446
|
354
471
|
[#5448]: https://github.com/activeadmin/activeadmin/pull/5448
|
@@ -356,16 +473,45 @@ Please check [0-6-stable] for previous changes.
|
|
356
473
|
[#5458]: https://github.com/activeadmin/activeadmin/pull/5458
|
357
474
|
[#5461]: https://github.com/activeadmin/activeadmin/pull/5461
|
358
475
|
[#5464]: https://github.com/activeadmin/activeadmin/pull/5464
|
476
|
+
[#5486]: https://github.com/activeadmin/activeadmin/pull/5486
|
359
477
|
[#5501]: https://github.com/activeadmin/activeadmin/pull/5501
|
478
|
+
[#5504]: https://github.com/activeadmin/activeadmin/pull/5504
|
360
479
|
[#5517]: https://github.com/activeadmin/activeadmin/pull/5517
|
361
480
|
[#5537]: https://github.com/activeadmin/activeadmin/pull/5537
|
481
|
+
[#5555]: https://github.com/activeadmin/activeadmin/pull/5555
|
362
482
|
[#5583]: https://github.com/activeadmin/activeadmin/pull/5583
|
483
|
+
[#5608]: https://github.com/activeadmin/activeadmin/pull/5608
|
363
484
|
[#5611]: https://github.com/activeadmin/activeadmin/pull/5611
|
485
|
+
[#5627]: https://github.com/activeadmin/activeadmin/pull/5627
|
486
|
+
[#5631]: https://github.com/activeadmin/activeadmin/pull/5631
|
487
|
+
[#5632]: https://github.com/activeadmin/activeadmin/pull/5632
|
488
|
+
[#5650]: https://github.com/activeadmin/activeadmin/pull/5650
|
489
|
+
[#5590]: https://github.com/activeadmin/activeadmin/pull/5590
|
490
|
+
[#5662]: https://github.com/activeadmin/activeadmin/pull/5662
|
491
|
+
[#5710]: https://github.com/activeadmin/activeadmin/pull/5710
|
492
|
+
[#5726]: https://github.com/activeadmin/activeadmin/pull/5726
|
493
|
+
[#5738]: https://github.com/activeadmin/activeadmin/pull/5738
|
494
|
+
[#5740]: https://github.com/activeadmin/activeadmin/pull/5740
|
495
|
+
[#5751]: https://github.com/activeadmin/activeadmin/pull/5751
|
496
|
+
[#5758]: https://github.com/activeadmin/activeadmin/pull/5758
|
497
|
+
[#5777]: https://github.com/activeadmin/activeadmin/pull/5777
|
498
|
+
[#5794]: https://github.com/activeadmin/activeadmin/pull/5794
|
499
|
+
[#5800]: https://github.com/activeadmin/activeadmin/pull/5800
|
500
|
+
[#5801]: https://github.com/activeadmin/activeadmin/pull/5801
|
501
|
+
[#5802]: https://github.com/activeadmin/activeadmin/pull/5802
|
502
|
+
[#5816]: https://github.com/activeadmin/activeadmin/pull/5816
|
503
|
+
[#5822]: https://github.com/activeadmin/activeadmin/pull/5822
|
504
|
+
[#5826]: https://github.com/activeadmin/activeadmin/pull/5826
|
505
|
+
[#5831]: https://github.com/activeadmin/activeadmin/pull/5831
|
506
|
+
[#5842]: https://github.com/activeadmin/activeadmin/pull/5842
|
507
|
+
[#5854]: https://github.com/activeadmin/activeadmin/pull/5854
|
364
508
|
|
365
509
|
[@5t111111]: https://github.com/5t111111
|
366
510
|
[@aarek]: https://github.com/aarek
|
367
511
|
[@ajw725]: https://github.com/ajw725
|
368
512
|
[@alex-bogomolov]: https://github.com/alex-bogomolov
|
513
|
+
[@amiel]: https://github.com/amiel
|
514
|
+
[@amiuhle]: https://github.com/amiuhle
|
369
515
|
[@andreslemik]: https://github.com/andreslemik
|
370
516
|
[@blocknotes]: https://github.com/blocknotes
|
371
517
|
[@bolshakov]: https://github.com/bolshakov
|
@@ -377,6 +523,7 @@ Please check [0-6-stable] for previous changes.
|
|
377
523
|
[@deivid-rodriguez]: https://github.com/deivid-rodriguez
|
378
524
|
[@dennisvdvliet]: https://github.com/dennisvdvliet
|
379
525
|
[@dhyegofernando]: https://github.com/dhyegofernando
|
526
|
+
[@dkniffin]: https://github.com/dkniffin
|
380
527
|
[@dmitry]: https://github.com/dmitry
|
381
528
|
[@drn]: https://github.com/drn
|
382
529
|
[@eikes]: https://github.com/eikes
|
@@ -385,7 +532,9 @@ Please check [0-6-stable] for previous changes.
|
|
385
532
|
[@Fivell]: https://github.com/Fivell
|
386
533
|
[@glebtv]: https://github.com/glebtv
|
387
534
|
[@gonzedge]: https://github.com/gonzedge
|
535
|
+
[@HappyKadaver]: https://github.com/HappyKadaver
|
388
536
|
[@innparusu95]: https://github.com/innparusu95
|
537
|
+
[@ionut998]: https://github.com/ionut998
|
389
538
|
[@jasl]: https://github.com/jasl
|
390
539
|
[@javierjulio]: https://github.com/javierjulio
|
391
540
|
[@jawa]: https://github.com/jawa
|
@@ -393,6 +542,7 @@ Please check [0-6-stable] for previous changes.
|
|
393
542
|
[@johnnyshields]: https://github.com/johnnyshields
|
394
543
|
[@kjeldahl]: https://github.com/kjeldahl
|
395
544
|
[@kobeumut]: https://github.com/kobeumut
|
545
|
+
[@kwent]: https://github.com/kwent
|
396
546
|
[@leio10]: https://github.com/leio10
|
397
547
|
[@markstory]: https://github.com/markstory
|
398
548
|
[@mauriciopasquier]: https://github.com/mauriciopasquier
|
@@ -415,6 +565,15 @@ Please check [0-6-stable] for previous changes.
|
|
415
565
|
[@TimPetricola]: https://github.com/TimPetricola
|
416
566
|
[@varyonic]: https://github.com/varyonic
|
417
567
|
[@wasifhossain]: https://github.com/wasifhossain
|
568
|
+
[@WaKeMaTTa]: https://github.com/WaKeMaTTa
|
418
569
|
[@Wowu]: https://github.com/Wowu
|
419
570
|
[@wspurgin]: https://github.com/wspurgin
|
420
571
|
[@zorab47]: https://github.com/zorab47
|
572
|
+
[@chrp]: https://github.com/chrp
|
573
|
+
[@bartoszkopinski]: https://github.com/bartoszkopinski
|
574
|
+
[@panasyuk]: https://github.com/panasyuk
|
575
|
+
[@jscheid]: https://github.com/jscheid
|
576
|
+
[@violeta-p]: https://github.com/violeta-p
|
577
|
+
[@ndbroadbent]: https://github.com/ndbroadbent
|
578
|
+
[@Kris-LIBIS]: https://github.com/Kris-LIBIS
|
579
|
+
[@sgara]: https://github.com/sgara
|
data/CONTRIBUTING.md
CHANGED
@@ -26,8 +26,7 @@ git checkout -b 325-add-japanese-translations
|
|
26
26
|
Make sure you're using a recent ruby and have the `bundler` gem installed, at
|
27
27
|
least version `1.14.3`.
|
28
28
|
|
29
|
-
You'll also need chrome
|
30
|
-
scenarios.
|
29
|
+
You'll also need chrome installed in order to run cucumber scenarios.
|
31
30
|
|
32
31
|
Now install the development dependencies:
|
33
32
|
|
@@ -38,10 +37,10 @@ bundle install
|
|
38
37
|
Now you should be able to run the entire suite using:
|
39
38
|
|
40
39
|
```sh
|
41
|
-
|
40
|
+
bin/rake
|
42
41
|
```
|
43
42
|
|
44
|
-
The test run will generate a sample Rails application in `
|
43
|
+
The test run will generate a sample Rails application in `tmp/test_apps` to run the
|
45
44
|
tests against.
|
46
45
|
|
47
46
|
If your tests are passing locally but they're failing on CircleCI, it's probably
|
@@ -91,11 +90,11 @@ a look at your changes in a browser.
|
|
91
90
|
To boot up a test Rails app:
|
92
91
|
|
93
92
|
```sh
|
94
|
-
|
93
|
+
bin/rake local server
|
95
94
|
```
|
96
95
|
|
97
96
|
This will automatically create a Rails app if none already exists, and store it
|
98
|
-
in the
|
97
|
+
in the `tmp/development_apps` folder.
|
99
98
|
|
100
99
|
You should now be able to open <http://localhost:3000/admin> in your browser.
|
101
100
|
You can log in using:
|
@@ -107,21 +106,22 @@ If you need to perform any other commands on the test application, just pass
|
|
107
106
|
them to the `local` rake task. For example, to boot the rails console:
|
108
107
|
|
109
108
|
```sh
|
110
|
-
|
109
|
+
bin/rake local console
|
111
110
|
```
|
112
111
|
|
113
|
-
Or to migrate the database
|
112
|
+
Or to migrate the database, if you create a new migration or just play around
|
113
|
+
with the db:
|
114
114
|
|
115
115
|
```sh
|
116
|
-
|
116
|
+
bin/rake local db:migrate
|
117
117
|
```
|
118
118
|
|
119
119
|
### Get the style right
|
120
120
|
|
121
121
|
Your patch should follow the same conventions & pass the same code quality
|
122
|
-
checks as the rest of the project. `
|
123
|
-
|
124
|
-
individually. Run `
|
122
|
+
checks as the rest of the project. `bin/rake lint` will give you feedback in
|
123
|
+
this regard. You can check & fix style issues by running each linter
|
124
|
+
individually. Run `bin/rake -T lint` to see the available linters.
|
125
125
|
|
126
126
|
### Make a Pull Request
|
127
127
|
|
@@ -200,17 +200,16 @@ Maintainers need to do the following to push out a release:
|
|
200
200
|
* Make sure you have [chandler] properly configured. Chandler is used to
|
201
201
|
automatically submit github release notes from the changelog right after
|
202
202
|
pushing the gem to rubygems.
|
203
|
-
* `
|
203
|
+
* `bin/rake release`
|
204
204
|
|
205
205
|
[chandler]: https://github.com/mattbrictson/chandler#2-configure-credentials
|
206
|
-
[chromedriver]: https://sites.google.com/a/chromium.org/chromedriver/getting-started
|
207
206
|
[mailing list]: http://groups.google.com/group/activeadmin
|
208
207
|
[Stack Overflow]: http://stackoverflow.com/questions/tagged/activeadmin
|
209
208
|
[search the issue tracker]: https://github.com/activeadmin/activeadmin/issues?q=something
|
210
209
|
[new issue]: https://github.com/activeadmin/activeadmin/issues/new
|
211
210
|
[fork Active Admin]: https://help.github.com/articles/fork-a-repo
|
212
211
|
[searching all issues]: https://github.com/activeadmin/activeadmin/issues?q=
|
213
|
-
[master template]: https://github.com/activeadmin/activeadmin/blob/master/
|
212
|
+
[master template]: https://github.com/activeadmin/activeadmin/blob/master/tasks/bug_report_template.rb
|
214
213
|
[make a pull request]: https://help.github.com/articles/creating-a-pull-request
|
215
214
|
[git rebasing]: http://git-scm.com/book/en/Git-Branching-Rebasing
|
216
215
|
[interactive rebase]: https://help.github.com/articles/interactive-rebase
|
data/README.md
CHANGED
@@ -21,6 +21,11 @@ creating elegant backends for website administration.
|
|
21
21
|
* Try the [live demo][demo].
|
22
22
|
* The [wiki] includes links to tutorials, articles and sample projects.
|
23
23
|
|
24
|
+
## For enterprise
|
25
|
+
|
26
|
+
Active Admin for enterprise is available via the Tidelift subscription. [Learn
|
27
|
+
More][tidelift_enterprise].
|
28
|
+
|
24
29
|
## Need help?
|
25
30
|
|
26
31
|
Please use [StackOverflow][stackoverflow] for help requests and how-to questions.
|
@@ -32,16 +37,22 @@ Google Groups, IRC #activeadmin and Gitter are not actively monitored.
|
|
32
37
|
|
33
38
|
## Want to contribute?
|
34
39
|
|
35
|
-
|
36
|
-
is
|
40
|
+
If you want to contribute through code or documentation, the [Contributing
|
41
|
+
guide is the best place to start][contributing]. If you have questions, feel free
|
42
|
+
to ask.
|
37
43
|
|
38
44
|
## Want to support us?
|
39
45
|
|
40
|
-
|
46
|
+
If you want to support us financially, you can [help fund the project
|
47
|
+
through a Tidelift subscription][tidelift_support]. By buying a Tidelift subscription
|
48
|
+
you make sure your whole dependency stack is properly maintained, while also
|
49
|
+
getting a comprehensive view of outdated dependencies, new releases, security
|
50
|
+
alerts, and licensing compatibility issues.
|
41
51
|
|
42
|
-
You can support us with a weekly tip via [Liberapay]
|
52
|
+
You can also support us with a weekly tip via [Liberapay].
|
43
53
|
|
44
|
-
|
54
|
+
Finally, we have an [Open Collective][opencollective page] where you can become a backer or
|
55
|
+
sponsor for the project, and also submit expenses to it.
|
45
56
|
|
46
57
|
## Dependencies
|
47
58
|
|
@@ -56,6 +67,23 @@ Tool | Description
|
|
56
67
|
[Kaminari] | Elegant pagination for any sort of collection
|
57
68
|
[Ransack] | Provides a simple search API to query your data
|
58
69
|
|
70
|
+
## Security contact information
|
71
|
+
|
72
|
+
Please use the Tidelift security contact to [report a security vulnerability][Tidelift security contact].
|
73
|
+
Tidelift will coordinate the fix and disclosure.
|
74
|
+
|
75
|
+
## Acknowledgements
|
76
|
+
|
77
|
+
Thanks to [Greg Bell][Greg] for creating and sharing this project with the open source community.
|
78
|
+
|
79
|
+
Thanks to [all the people that ever contributed through code][contributors] or
|
80
|
+
other means such as bug reports, issue triaging, feature suggestions, code
|
81
|
+
snippet tips, Slack discussions and so on.
|
82
|
+
|
83
|
+
Thanks to [Tidelift][tidelift] and all our Tidelift subscribers.
|
84
|
+
|
85
|
+
Thanks to [Open Collective][opencollective contributors] and all our Open Collective contributors.
|
86
|
+
|
59
87
|
[Arbre]: https://github.com/activeadmin/arbre
|
60
88
|
[Devise]: https://github.com/plataformatec/devise
|
61
89
|
[Formtastic]: https://github.com/justinfrench/formtastic
|
@@ -73,12 +101,17 @@ Tool | Description
|
|
73
101
|
[inch]: http://inch-ci.org/github/activeadmin/activeadmin
|
74
102
|
[tidelift_badge]: https://tidelift.com/badges/github/activeadmin/activeadmin
|
75
103
|
[tidelift]: https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm_medium=readme
|
104
|
+
[tidelift_enterprise]: https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm_medium=referral&utm_campaign=github&utm_content=enterprise
|
105
|
+
[tidelift_support]: https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm_medium=referral&utm_campaign=github&utm_content=support
|
76
106
|
|
77
107
|
[docs]: http://activeadmin.info/0-installation.html
|
78
108
|
[demo]: http://demo.activeadmin.info/admin
|
79
109
|
[wiki]: https://github.com/activeadmin/activeadmin/wiki
|
80
110
|
[stackoverflow]: http://stackoverflow.com/questions/tagged/activeadmin
|
81
111
|
[contributing]: https://github.com/activeadmin/activeadmin/blob/master/CONTRIBUTING.md
|
82
|
-
[
|
83
|
-
[
|
84
|
-
[
|
112
|
+
[Liberapay]: https://liberapay.com/Active-Admin/donate
|
113
|
+
[Tidelift security contact]: https://tidelift.com/security
|
114
|
+
[Greg]: https://github.com/gregbell
|
115
|
+
[contributors]: https://github.com/activeadmin/activeadmin/graphs/contributors
|
116
|
+
[opencollective page]: https://opencollective.com/activeadmin
|
117
|
+
[opencollective contributors]: https://opencollective.com/activeadmin#contributors
|