All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
Make Wallaby::ResourcesConcern with with general controllers
-
Localization support: to be able to use localization for all the model labels (maybe a new gem)
-
Move generator to wallaby-core
-
Move documentation to wallaby-core
-
documentation for interface
-
documentation for localization
-
Data audit (use papertrail) (maybe..)
-
Batch data action (maybe..)
7.0.0.beta1 - 2023-09-22
- chore: update keyword syntax to support Ruby 3.0 (#210)
- feat: extract pages into templates for better overwriting (#209)
- chore: pdate rubocop to run on changed files (#207)
- feat: use esbuild and scss-bundle to bundle js and scss (#206)
- chore: setup github action (#205)
- chore: change wallaby:install to call wallaby:engine:install and implement wallaby:engine:partials (#196)
- chore: remove type_renderer and update activestorage partial (#195)
- chore: use max_text_length helper method (#194)
- chore: detect turbolinks instead of configuration (#193)
- chore: upgrade to latest wallaby-core & wallaby-active_record (#192)
6.1.3 - 2020-04-19
- chore: bump to use wallaby-active_record 0.2.6 (#188)
6.1.2 - 2020-04-12
- chore: use wallaby_user instead, will take out current_user in the future (#185)
6.1.1 - 2020-03-24
6.1.0 - 2020-02-19
- chore: upgrade to use latest wallaby-* gems and remove Cell (#162)
- chore(css): get rid of bootstrap deprecation warning (#161)
- fix(js): remove the warning of moment by format the date string properly (#160)
- fix(gemspec): include vendor folder (#159)
- feat: Rails 6 support (#158)
- chore: extract files to separate gems (wallaby-core/wallaby-active_record/wallaby-her) (#156)
- [Chore] Document update for 5.2 (#155)
- [Feature] Make sure Wallaby still works without specifying resources_name in routes (#154)
- [Feature] Namespace (#153)
- [Chore] Change authorizer's initialize to take away the dependence of context (#152)
- [Feature] wallaby:install generator (#151)
- [Feature] Remove usage of
index_params
(#150) - [Feature] Router helper and support singular resourceful route (#149)
- [Feature] Custom mode (#148)
- [Chore] Theme specs (#147)
- [Chore] Remove abstract classes (#146)
- [Feature] options for controller and move servicer's mass assignment to create/update (#145)
- [Feature] Add ActiveStorage partial and
at
cell helper (#144) - [Chore] Defult to exclude model ActiveRecord::SchemaMigration (#143)
- [Feature] Upgrade to bootstrap4 and font-awesome (#142)
- [Chore] Update dropdown html syntax and remove Font Awesome (#141)
- [Chore] Update docs and make sure corresponding helper methods exists (#140)
- [Feature] Add support for single column sorting (#139)
- [Feature] Move error page to proper place so that it can be customized (#138)
- [Feature] Base class and JSON API responder (#137)
- [Chore] Reduce code duplication (#136)
- [Chore] Refactor utils (#135)
- [Feature] Support for cell to improve performance (#134)
- [Chore] HER and auto select (#133)
- [Support] Rails 4.2 and specs (#131)
- [Feature] Permitted parameters for has_many-through associations (#129)
- [Fix] Float form partial options (#128)
- [Feature] Support Pundit 2.0 (#127)
- [Feature] Sort disabled (#126)
- [Feature] Extract frontend partial (#125)
- [Chore] Resolve conflicts (#124)
- [Chore] Remove resources helper methods and update documentation (#123)
- [Feature] Authorizable and resourcable (#122)
- [Feature] Resourcable and paginatable concerns (#120)
- [Feature] Servicable (#119)
- [Feature] Adding link type for links in show and index partials (#118)
- [Feature] Decoratable (#117)
- [Chore] Pagination check for ActiveRecord collection (#116)
- [Chore] Support FontAwesome 5 (#115)
- [Feature] Remove errors layout (#114)
- [Feature] Themeable (#113)
- [Chore] Update engine url/links helper methods (#112)
- [Chore] Create helper methods to use in both controllers and views (#111)
- [Feature] Her adapter and pundit (#98)
- [Fix] Keep filter param for search (#102)
- [Feature] Allow custom csv partials (#103)
- [Chore] Use mapping configuration for servicer class method
model_class
(#104) - [Feature] Add url_params for index and export link helper methods (#105)
- [Security] Remove option
html: true
for bootstrap tooltip to prevent XSS attack (#108). Patch for issue (#107)
- [Fix] Routes update for configurable
resources_controller
(#99) - [Fix] Update resources router to reflect the resources controller configuration (#100)
- [Chore] upgrade to robucop 0.53 standard (#88)
- [Feature] Configurable global base controller/decorator/paginator/servicer (#91)
- [Feature] Add 'step' to float field (partial view) (#89)
- [Chore] Update documentation (#93)
- [Feature] Be able to use default base class of controller/decorator/paginator/servicer (#95)
- [Feature] Add test helper for controller tests (#96)
- [Chore] Simplify 'resources/show/_image.html.erb' (#80)
- [Chore] Add more information to the type validation message (#81)
- [Feature] Be able to customize hint in form view (#82)
- [Fix] Link of Strong Parameters (#84)
- [Fix] Restrict font-awesome-sass version to 5 and below (#85)
- [Chore] Reload should be triggered in
to_prepare
instead ofResourcesRouter
(#86)
- Chore: Only use resource_params for create and update action (#73)
- Chore: Localization for style helpers (#74)
- Chore: Refactor class mapper to allow descendents (#75)
- Chore: Remove is_origin metadata (#76)
- Support: Manual tested under Rails 4.2 (#77)
- Feature: Ability to customize logout_path, logout_method, email_method (#78)
- Chore: Remove
jquery-turbolinks
gem (#66) - Feature: Add html attribute
title
to the links (#67) - Chore: normalize the partials that user could replace/override (#69)
- Fix: Have to make sure that
app/models
are loaded before Rails eager load (#68) - Chore: index_params should not contain
resources
,utf8
(#71)
- Chore: prevent the reference to model decorator from being cached (#65)
- Chore: update lookup context wrapper (#59)
- Chore: update application.html (#62)
- Chore: fix deprecated styling (@extend :before) (#63)
- Chore: add manual preload into initializer as well (#64)
- Feature: added support for ActiveRecord Single Table Inheritance (STI) (#27) and navigation for STI (#30)
- Feature: added filters metadata for provide quick access for predefined query (#34)
- Feature: added responder to handle different request formats (#35)
- Feature: export function (#37)
- Feature: UI Re-design, and mobile first (#39)
- Feature: used turbolinks to boost page load and used font-awesome to replace glyphicon (#29)
- Enhancement: colon search is enhanced using parselet (#28)
- Enhancement: typeahead for form partials (has_many/has_and_belongs_to_many/belongs_to) (#40)
- Chore: source code improvement (#26)
- Chore: remove the dependency of devise (#31)
- Chore: refactor map service (#25)
- Chore: refactor to extract/move the code into abstract classes (#33)
- Chore: added rubocop to enforce high coding standard (#32, #38)
- Chore: refactor service object to keep authorizer on initialization (#36)
- Chore: refactor imodal method (#41)
- Bugfix: fix how object is clone (#23)
- Feature: Add partials for type box/circle/line/lseg/path/polygon that are newly supported in Rails 5.0.* (#42)
- Feature: Add dropdown partial (#46)
- Feature: Add file partial (#47)
- Feature: Add markdown partial (#48)
- Feature: Add image partial (#49)
- Feature: Authorization check for relationship partials (#50)
- Feature: Configurable maxlength for partials (#52)
- Feature: Refactor resource new and find and expose permit method to controller (#53)
- Chore: Setup travis to test on rails 5.0/5.1 (#54)
- Feature: Add JSON respond for form/show (#56)
- Feature: Documentation (#57)
- Feature: Make turbolinks optional (#58)
- Bugfix: database migrations fail when decorator invokes form_fields and table does not exist (#4)
- Feature: Add partial to support password field (#9)
- Bugfix: Using the right metadata for index/show/form partials respectively (#12)
- Feature: Support for Rails 5
- Bugfix: database migrations fail when decorator invokes form_fields and table does not exist (#4)
- Feature: Add partial to support password field (#9)
- Bugfix: Using the right metadata for index/show/form partials respectively (#12)
- Support for Devise 4
- Bugfix: rescue NameError for Rails reload
- Bugfix: replace send to public_send
- Bugfix: when it's belongs-to relationship, it should take foreign_key instead of association_foreign_key as foreign key.
- Moved all helpers into lib folder and included these helpers explicitly in controllers so that they won't be shared with the main_app
- Resolved an assets issue for summernote by dynamically converting summernote.css into wallaby/summernote.scss
-
Update view paths precedence from high to low:
- app/views/WALLABY_ENGINE_MOUNT_PATH/RESOURCES_NAME/*
- app/views/CUSTOM_CONTROLLER_PATH/*
- app/view/wallaby/resources/*
WALLABY_ENGINE_MOUNT_PATH is the path where wallaby engine is mounted to. e.g. admin RESOURCES_NAME is the path formed by model class's plural noun. e.g. order/items CUSTOM_CONTROLLER_PATH is the controller path of the controller that inherits from Wallaby::ResourcesController
-
Bugfix: replace @import with require for summernote to avoid error
invalid byte sequence in UTF-8
-
Enforce wallaby application controller to use designated layout
wallaby/application
especially when it inherits from main app's application controller. -
Rescue pagination entry from throwing error when Kaminari is not used.
- Added concept Mode to allow Wallaby to pick up multiple ORM adaptors apart from ActiveRecord
- Caching improvements:
- Cached compiled ERB template (not for development)
- Most Rails cache implementation for delete_match takes string instead of regex
- Cached Calculations for finding a subclass
- Resolve an issue when a file under
/app
folder is not following Rails convention (e.g. classCSV
incsv.rb
) or if it is a module declaration underconcerns
folder, it raises load error on booting up Rails server
- Fixed an issue for loading irregular classes/files under /app folder
- Ensure to support mysql and sqlite
- Used model class to dispatch requests to controllers
- Fixed sorting / remove link for custom fields on index page table headers
- Added types email and color for index/show/form
- Ensure all hashes used for fields is instance of ::ActiveSupport::HashWithIndifferentAccess
- Used Rails cache for caching subclasses
- Added support for CanCanCan (authorization)
- Added support for all Postgres types
- Added support for sorting
- Added model servicer to take away the responsibilities (collection/find/initialize) for model decorator and extract all actions for resource controller
- Resolved Autoload issue
- Resolved Autoload (failed)
- Reduced view path set and speeded up page render
- Broke down resources_helper into styling_helper/links_helper/form_helper
- Added partial for type inet
- Basic search for collection
- Kaminari pagination for collection.
- Basic flash message.
- Authentication. It can be configured.
- Basic form errors
- Refactored model decorator and use
fields
as base information for all fields - Included association fields and exclude those foreign keys for these associations
- Created general templates for show/form
- Moved and refactored core methods from resources controller to core controller.
- Moved prefix builder to core controller.
- Created general templates for resources index action.
- Created a wrapper to speed up view rendering by caching the
find_template
result.