Tags: dsolomadin/administrate
Tags
Release version 0.2.2 ``` * [thoughtbot#560] [BUGFIX] Fix LoadError for apps that don't use images ```
Release version 0.2.1 Changes: * [thoughtbot#573] [FEATURE] Render custom javascripts and stylesheets to the page by registering them with Administrate in an initializer. For example, you can create `config/initializers/administrate.rb` with the contents: ``` Administrate::Engine.add_javascript "my_plugin/script" Administrate::Engine.add_stylesheet "my_plugin/styles" ``` * [thoughtbot#567] [FEATURE] 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 using `content_for(:stylesheet)`. * [thoughtbot#492] [FEATURE] 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 ```
Add release notes & release v `0.2.0` Problem: This repository contains both the administrate gem and the demo application. The demo application uses the image field, which means that its Gemfile will be dependent on the new administrate-field-image gem. In turn, the administrate-field-image gem is dependent on the administrate gem in this repository. This creates a little bit of a chicken-and-egg problem for publishing both of those gems. Solution: Our release plan is as follows: - Release this branch as a new version of the administrate gem, as version `0.2.0.rc1` - Make administrate-field-image dependent on `"administrate", "0.2.0.rc1", "~> 0.2.0"` - Release administrate-field-image v `0.0.1` - Make the demo app's Gemfile dependent on `"administrate-field-image", "~> 0.0"` - Re-push this branch to Github to run CircleCI suite. All of the gems would be available on rubygems.org, so the suite should pass. - Update and release this branch as version `0.2.0` - Merge branch
Release version 0.1.3 Changes: ``` * [thoughtbot#269] [FEATURE] Add a generator for copying default layout files * [thoughtbot#328] [FEATURE] Add a generator for copying default sidebar partial * [thoughtbot#362] [FEATURE] Add a generator for only the dashboard manifest. Customizing this manifest before running the `administrate:install` generator will change which dashboards get generated. * [thoughtbot#295] [FEATURE] Add dashboard detection for ActiveRecord::Enum fields. * [thoughtbot#364] [FEATURE] Improve dashboard generator by explicitly listing out the generated `SHOW_PAGE_ATTRIBUTES` array elements. * [thoughtbot#416] [UI] Add an accessibility label to the search input * [thoughtbot#411] [UI] Use tabular figures in table cells * [thoughtbot#409] [UI] Use default system fonts * [thoughtbot#424] [BUGFIX] Fix a bug where running `rails destroy GENERATOR_NAME` would not work for several of the generators * [thoughtbot#390] [BUGFIX] Fix timestamp deprecation warnings * [thoughtbot#365] [COMPAT] Remove dependency on `inline_svg` * [thoughtbot#396] [I18n] Ukrainian * [thoughtbot#297] [I18n] Italian * [thoughtbot#307] [I18n] Fix German grammatical errors * [thoughtbot#363] [DOC] Move documentation into main repository, at the root URL * [thoughtbot#395] [DOC] Update inline documentation for collection partial * [thoughtbot#387] [DOC] Fix incorrect path for generators in the docs ```
Release Administrate v 0.1.2 Changes: ``` * [thoughtbot#251] [FEATURE] Raise a helpful error when an attribute is missing from `ATTRIBUTE_TYPES` * [thoughtbot#298] [FEATURE] Support ActiveRecord model I18n translations * [thoughtbot#312] [FEATURE] Add a `nil` option to `belongs_to` form fields * [thoughtbot#231] [UI] 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. * [thoughtbot#309] [UI] Fix layout issue in datetime pickers where months and years would not wrap correctly. * [thoughtbot#306] [UI] Wrap long text lines (on word breaks) on show pages * [thoughtbot#214] [UI] Improve header layout when there is a long page title * [thoughtbot#198] [UI] Improve spacing around bottom link in sidebar * [thoughtbot#206] [UI] Left-align checkboxes in boolean form fields * [thoughtbot#315] [UI] Remove the `IDS` suffix for `HasMany` form field labels * [thoughtbot#259] [BUGFIX] Make installation generator more robust by ignoring dynamically generated, unnamed models * [thoughtbot#243] [BUGFIX] Fix up a "Show" button on the edit page that was not using the `display_resource` method. * [thoughtbot#248] [BUGFIX] Improve polymorphic relationship's dashboard class detection. * [thoughtbot#247] [BUGFIX] Populate `has_many` and `belongs_to` select boxes with the current value of the relationship. * [thoughtbot#217] [I18n] Dutch * [thoughtbot#263] [I18n] Swedish * [thoughtbot#272] [I18n] Danish * [thoughtbot#270] [I18n] Don't apologize about missing relationship support. * [thoughtbot#237] [I18n] Fix broken paths for several I18n files (de, es, fr, pt-BR, vi). * [thoughtbot#266] [OPTIM] Save a few database queries by using cached counts ```
Release Administrate version 0.1.1 - Update gem version - Update README with recommended optimistic versioning for bundler - Update README with warning about Administrate's pre-1.0 status - Update CHANGELOG to fill in missing PR references - add `[I18n]` category to CHANGELOG - sort CHANGELOG entries according to change type Changes: * [thoughtbot#191] [CHANGE] Improve API for specifying how resources are displayed across the dashboard. * Models are now displayed with a sensible default - (e.g. "User thoughtbot#2") * Users can define `ModelDashboard#display_resource(resource)` for custom display behavior * Users who have generated views for the following field types may need to update them to take advantage of the new API: * HasOne * HasMany * Polymorphic * BelongsTo * [thoughtbot#223] [FEATURE] Translation: Vietnamese * [thoughtbot#161] [FEATURE] Translation: Mandarin Chinese * [thoughtbot#196] [FEATURE] Translation: Taiwanese Mandarin * [thoughtbot#142] [FEATURE] Translation: Brazilian Portuguese * [thoughtbot#171] [FEATURE] Translation: Polish * [thoughtbot#153] [FEATURE] Translation: Russian * [thoughtbot#148] [FEATURE] Translation: French * [thoughtbot#147] [FEATURE] Translation: German * [thoughtbot#154] [FEATURE] Translation: Spanish * [thoughtbot#126] [UI] Preserve whitespace when rendering text fields * [thoughtbot#194] [BUGFIX] Don't clear out datetime values in form fields * [thoughtbot#193] [BUGFIX] Don't assume that unrecognized db column types are searchable * [thoughtbot#124] [BUGFIX] Better detection of application models * [thoughtbot#156] [COMPAT] Include missing `sass-rails` dependency in gemspec * [thoughtbot#174] [COMPAT] Make several missing dependencies explicit. * [thoughtbot#144] [COMPAT] Update repository structure so Bundler can pull the gem from github. (e.g. `gem "administrate", github: "thoughtbot/administrate"`) * [thoughtbot#166] [COMPAT] Use ANSI SQL standards for case-insensitive search * [thoughtbot#120] [DOC] Add Rubygems version badge to README * [thoughtbot#165] [DOC] Add CircleCI badge to README * [thoughtbot#119] [DOC] Add CodeClimate badge to README
PreviousNext