Releases: thoughtbot/administrate
Releases · thoughtbot/administrate
0.5.0
- [i18n] [#786] Backfill the missing translations (some from Google Translate).
- [CHANGE] [#795] Loosen and update jquery-rails.
- [CHANGE] [#792] Content with .preserve-whitespace should wrap.
- [BUGFIX] [#611] Javascript: Fix row-click handler.
- [CHANGE] [#569] Loosen normalize-rails required version.
- [DOC] [#532] Add a short section about how to report vulnerabilities.
- [CHANGE] [#784] Drop refills as a dependency.
- [CHANGE] [#784] Change bourbon to be at least beta.6.
- [FEATURE] [#505] let routes generator indent all routes.
- [FEATURE] [#746] Add suffix/postfix option to number field.
- [DOC] [#508] Add example of how to use a custom field.
- [i18n] [#602] Adding Portuguese locale.
- [i18n] [#603] Update administrate.pt-BR.yml.
- [CHANGE] [#634] Add and set PLURAL_MANY_COUNT to 2.1.
- [DOC] [#684] Add instructions on how to add dashboards.
- [FEATURE] [#780] Add Sentry for the prototype app.
- [i18n] [#772] Merge the existing translations before testing.
- [DOC] [#783] Change README to use
0.4.0
. - [DOC] [#778] Clarify the version requirements.
- [DOC] [#779] Update .rubocop.yml to follow thoughtbot/guides.
- [DOC] [#781] Update readme screenshot.
- [BUGFIX] [#559] Fix #558 : Wrong constant name guess.
- [DOC] [#769] Mention guides in doc/ subdirectory.
- [DOC] [#469] Path to custom attribute type updated in docs.
- [CHANGE] [#774] Update Kaminari
~> 0.16
->>= 1.0
. - [DOC] [#776] Include docs in gem (via gemspec file listing).
- [DOC] [#540] example on how to use custom file types.
- [CHANGE] [#767] Add auto-prefixer.
- [i18n] [#344] Add missing translations on edit/new/show actions.
- [i18n] [#344] Add some action translations to administrate.en.
- [i18n] [#344] Add some action translations to administrate.pt-BR.
- [DOC] [#457] Document how to change resource labels in collections.
- [FEATURE] [#466] Allow preloading has_many records.
- [i18n] [#764] Add Korean i18n.
- [FEATURE] [#597] Allow to limit route actions.
- [BUGFIX] [#687] Fix broken sort arrow svg in the resource table.
- [DOC] [#627] add doc for customizing admin dashboard layouts.
- [BUGFIX] [#642] Add missing multiplier option for number fields.
- [BUGFIX] [#465] Inline controller's
permitted_attributes
method. - [FEATURE] [#760] Add refills and refill-styled flashes.
- [FEATURE] [#736] Paginate has_many show view.
- [CHANGE] [#759] Update instances of bourbon to 5.0.0.beta.7; sass to ~>3.4.
0.4.0
- [DOC] Use Kaminari syntax in controller's comment hint.
- [#747] [CHANGE] Fix a bug where
administrate:views
was creating the wrong
paths. - [#739] [#743] [BUGFIX] Dependent destroy demo app models.
- [CHANGE] Remove boilerplate references to staging/production.
- [CHANGE] Improve the
bin/
commands. - [#733] [CHANGE] Switch
administrate-field-image
to use the new release. - [#704] [I18n] Fix a typo on pt-BR translation for polymorphic.
- [#730] [FEATURE] Hide the Search Bar when no attributes are searchable.
- [#732] [I18n] Improve Japanese locales.
- [#729] [FEATURE] Allow
primary_key
option on relationships instead of
hardcodingid
. - [#728] [DOCS] Improve the docs around authentication.
- [#727] [FEATURE] Add a link to show resource from the collection table.
- [#726] [BUGFIX] Check for PhantomJS in the setup script.
- [#721] [CHANGE] Use
count(:all)
for associations in HasMany fields. - [#683] [CHANGE] Add Bourbon as an explicit dependency.
- [#713] [CHANGE] Avoid writing to
routes.rb
when no models exist. - [#704] [I18n] Fix word on pt-BR translation
0.3.0
0.2.2
0.2.1
New Features
- [#573] Render custom javascripts and stylesheets to the page
by registering them with Administrate in an initializer.
For example, you can createconfig/initializers/administrate.rb
with the contents:
Administrate::Engine.add_javascript "my_plugin/script" Administrate::Engine.add_stylesheet "my_plugin/styles"
- [#567] Add a partial for rendering HTML links to stylesheets.
This is useful for plugin developers,
as well as people who want to add custom stylesheets on a page-by-page basis
usingcontent_for(:stylesheet)
. - [#492] Translate attribute labels on show and index pages.
To customize an attribute label, add translations according to the structure:
en: helpers: label: customer: name: Full Name
Version 0.2.0
Breaking Changes
-
[#476] Extract
Administrate::Field::Image
into its own gem.
Users who have image fields in their dashboards should add to theirGemfile
:gem "administrate-field-image"
v0.1.5
[BUGFIX] Protect from CSRF attacks [CVE-2016-3098]
[#422] [FEATURE] Add a Select field for displaying a drop-down menu of options on form pages. Options: ruby Field::Select.with_options(collection: [:foo, :bar])
[#458] [BUGFIX] Update the custom field generator to match the new HTML structure of forms
Version 0.1.4
Breaking Changes
-
[#464] Replace the DashboardManifest with explicit Rails routes.
- Run
rails generate administrate:routes
to generate the default routes.
- Run
-
[#467] Update the internal field path to fit Ruby conventions
# Change any instances of this... require "administrate/fields/base" # ...to this: require "administrate/field/base"
Version 0.1.3
Breaking Changes
-
[#339] Change Administrate namespace from a constant to a method
Upgrade by changing all instances of
Administrate::NAMESPACE
in your project tonamespace
.
New Features
- [#269] Add a generator for copying default layout files
- [#328] Add a generator for copying default sidebar partial
- [#362] Add a generator for only the dashboard manifest.
Customizing this manifest before running theadministrate:install
generator
will change which dashboards get generated. - [#295] Add dashboard detection for ActiveRecord::Enum fields.
- [#364] Improve dashboard generator by explicitly listing out the
generatedSHOW_PAGE_ATTRIBUTES
array elements.
UI Improvements
- [#416] Add an accessibility label to the search input
- [#411] Use tabular figures in table cells
- [#409] Use default system fonts
Bugfixes
- [#424] Fix a bug where running
rails destroy GENERATOR_NAME
would not work for several of the generators - [#390] Fix timestamp deprecation warnings
Compatibility Improvements
- [#365] Remove dependency on
inline_svg
Internationalization
Documentation
Version 0.1.2
New Features
- #251 Raise a helpful error when an attribute is missing from
ATTRIBUTE_TYPES
- #298 Support ActiveRecord model I18n translations
- #312 Add a
nil
option tobelongs_to
form fields
UI Changes
- #231 Fix layout issue on show page where a long label next to an empty value would cause following fields on the page to be mis-aligned.
- #309 Fix layout issue in datetime pickers where months and years would not wrap correctly.
- #306 Wrap long text lines (on word breaks) on show pages
- #214 Improve header layout when there is a long page title
- #198 Improve spacing around bottom link in sidebar
- #206 Left-align checkboxes in boolean form fields
- #315 Remove the
IDS
suffix forHasMany
form field labels
Bug Fixes
- #259 Make installation generator more robust by ignoring dynamically generated, unnamed models
- #243 Fix up a "Show" button on the edit page that was not using the
display_resource
method. - #248 Improve polymorphic relationship's dashboard class detection.
- #247 Populate
has_many
andbelongs_to
select boxes with the current value of the relationship.
I18n Changes
- #217 Dutch
- #263 Swedish
- #272 Danish
- #270 Don't apologize about missing relationship support.
- #237 Fix broken paths for several I18n files (de, es, fr, pt-BR, vi).
Optimizations
- #266 Save a few database queries by using cached counts