Skip to content

Latest commit

 

History

History
279 lines (242 loc) · 16.6 KB

changelog.md

File metadata and controls

279 lines (242 loc) · 16.6 KB

Changelog

4.12.1

  • Bugfix: Revert Merge #601 and adds back in select2 for filter booleans due to 3 needed options True, False, Both
  • Bugfix: Fix Js for non numeric ids

4.12.0

  • Added CKEditor to composer to keep updated
  • Added Scrollable Data Table ranther than dropping the columns
  • Added the use of checkboxes for boolean filters
  • Added the ability to create select2 translation files
  • Added Arabic Translation files
  • Added Bulgarian Translation files
  • Added Finnish Translation files
  • Added Turkish Translation files
  • Added Danish timepicker translation file
  • Bugfix: Fixed the routing order for File routes
  • BugFix: Fixed the German Translation file
  • Bugfix: Freeze actions while image uploading is in progress added to keep people from clicking off the page while image is uploading
  • Bugfix: Call resizePage() after getting ajax response to fix with the page sizing and not being able to see the full datatable
  • Bugfix: Replace isSoftDeleting with issset(...->runSoftDelete) for Laravel 4.2 support

4.11.2

  • Bugfix: Strange legacy issue that was never caught with passing a no-op to array_get

4.11.1

  • Bugfix: There was a routing issue with the new non-numeric model ids

4.11.0

  • Model ids no longer have to be numeric
  • New translations (vi)

4.10.0

  • It's now possible to customize the "back to site" link at the top right of admin pages
  • Closures can now be passed into the output option for columns
  • New translations (se, si, uk)
  • Bugfix: When navigating away from an item edit route and then hitting the back button, the browser would cache the dynamic json response. Proper headers have now been set to avoid this.
  • Bugfix: When missing a rules option in a settings config file, an error would be thrown despite there being no explicit requirement for one
  • Bugfix: The administrator base controller was being instantiated multiple times during unit tests in laravel 4.1

4.9.0

  • Laravel 4.1 support
  • New translations (ja, pt)
  • Bugfix: There was a PSR-0 filename/classname disagreement in on of the relatively unused classes (Fields\Relationships\HasOne)

4.8.0

  • Anonymous functions can now be passed for custom action title, confirmation, and messages options
  • It is now possible to return a redirect from custom actions
  • Selecting an item now scrolls the browser to the top of the page
  • It is now possible to return accessor values into the edit form
  • Default values can now be set for edit fields
  • Bugfix: Custom dashboards no longer include unnecessary js files
  • Bugfix: Updated to latest jQuery timepicker addon to fix some legacy jQuery UI bugs
  • Bugfix: The detach() method is now used to remove related items instead of delete()
  • Bugfix: The bool filter field wasn't properly grabbing results

4.7.2

  • Bugfix: New Laravel setRules method in validator was throwing Administrator's setRules typehinting off
  • Bugfix: Redirection was always pointing at the admin dashboard instead of the current page

4.7.1

  • Bugfix: IoC resolution of the 'session.store' instance was being called as 'session'

4.7.0

  • Custom pages are now available with the 'page.{path}.{to}.{view}' menu syntax
  • New translations (ca)
  • Bugfix: Autocomplete relationship fields weren't respecting prefixed table names

4.6.1

  • Bugfix: Call to App::make('itemconfig') in the header would cause an error on dashboard pages
  • Bugfix: Fonts are now loaded locally which should no longer cause hanging issues when you have no internet connection
  • Bugfix: <=IE9 was having issues with the dropdown menu

4.6.0

  • Support for smaller screens and mobile devices
  • Visible option for columns that accepts either a boolean or closure
  • Relationship constraints now work with hasMany and hasOne fields
  • There is now an options_filter option for relationship fields that lets you modify the query before getting the relationship options
  • Custom actions and saves now rebuild the supplied config file after performing the action
  • The editable property now accepts a closure and is passed the current page's data object
  • New translations (da, it)
  • Bugfix: Constraint fields no longer make multiple requests at a single time
  • Bugfix: The key field is no longer set on models. This would cause some bugs on some setups

4.5.0

  • You can now provide value, min_value, and max_value options in filter fields to set default values
  • It is now possible to specify as many submenus in the menus array as you want
  • The examples directory is now properly adjusted for L4
  • Bugfix: The CKEditor in WYSIWYG fields no longer jumps around and removes text selection on blur
  • Bugfix: Soft deleted values from a related table no longer get included in relationship columns
  • Bugfix: Relationship where clauses now work when you pre-specify the table name
  • Bugfix: Time fields weren't saving properly

4.4.1

  • Bugfix: Removed reliance on MySQL-specific backticks in queries
  • Bugfix: New validateArray method in Laravel core Validator class was messing with custom version in Administrator's Validator
  • Bugfix: In relationship where clauses, there would be issues with values defined on the pivot table

4.4.0

  • You can now provide custom actions to a "global_actions" option in model configs. These actions are passed the current filtered query object and can be used to perform table-wide actions.
  • There is now a query_filter option for model configs that lets you filter a model's results query before it's constructed
  • Relationship columns now respect WHERE filters in your Eloquent model
  • New translations (ru)
  • Bugfix: Enum fields were having issues on settings pages
  • Bugfix: Submenu titles weren't properly translating in the presence of multiple locales
  • Bugfix: BelongsToMany filters now work with table prefixes
  • Bugfix: Non-string name_fields and search_fields no longer break select2

4.3.0

  • Unit testing
  • A fourth basic action permission is now available: 'view'. This dictates whether or not the admin user can click an item to open it
  • There is now an optional 'rules' property in model configuration files which works just like the $rules static property in Eloquent models
  • You can now define where the raw settings data is stored by providing a 'storage_path' option to settings configs
  • You can now supply a 'confirmation' string option to your custom actions which will require a confirmation from the admin user before the action can go through
  • The active item now updates itself when you perform a custom action or when you save an item
  • You can now specify an options_sort_field and an options_sort_direction for relationship fields that use accessors as name fields, and as such require ordering on something other than the name_field
  • 'logout_path' option is now available in the main config. By default this is false, but if you provide a string value it will show a logout button and link the user to that path if clicked
  • Bugfix: Tons of other bugs that I caught while creating the unit tests :D
  • Bugfix: The model results no longer require an ajax load on pageload
  • Bugfix: Table prefixes are now taken into consideration
  • Bugfix: Number fields would take two tries to clear
  • Bugfix: Saving empty number field would result in 0
  • Bugfix: Using an accessor for a name_field in a relationship field would previously cause SQL errors

4.2.0

  • The action permissions are now passed the relevant model so you can determine which actions are available for certain items in your database
  • The 'visible' option for edit fields can now be passed a boolean or a callback that returns a boolean depending on the specific model being viewed
  • Password fields are now available in the edit fields array
  • Setter fields are now available in the edit fields array
  • Bugfix: Unsetting belongsTo relationships weren't nullifying the value in the database
  • Bugfix: Some missing language keys were causing translation bugs in some languages
  • Bugfix: CKEditor wasn't properly loading up data after it had been cleared

4.1.0

  • If you select multiple BelongsToMany relationship filter options, the list will search for items that have all the selected relationships. Previously this was an OR
  • Bugfix: Formatted date filters were not being properly sent to SQL
  • Bugfix: Null values for unrequired relationships weren't resetting field
  • Bugfix: Stray old "Admin\Libraries" sitting in the Column model was causing issues with relationship fields
  • Bugfix: Column objects weren't indexing properly when a column was simply a string value
  • Bugfix: BelongsTo edit fields weren't setting due to overwriting with an empty array
  • Bugfix: Custom actions in settings weren't working properly
  • Bugfix: relationship saving was causing overload issue in php 5.4

4.0.1

  • Bugfix: "languages" array from L3 replaced by administrator config's "locales"
  • New language: Chinese (zh-CN)

4.0.0

  • Updated to Laravel 4 / Composer

3.3.2

  • Bugfix: Error with 3.3.1 bugfix

3.3.1

  • Bugfix: HMABT column had a php5.3 error

3.3.0

  • You can now define your custom action's permissions in the model config's action_permissions option
  • Returning Response or Redirect objects is now possible for admin and model configs
  • New language: Brazilian Portuguese (pt-BR)
  • Bugfix: Self-relationships weren't updating properly since the move to select2
  • Bugfix: Columns for HasMany, HasOne, and HMABT relationships now work

3.2.0

  • Added support for a file field
  • You can now choose to provide a custom dashboard or a default home page from your menu
  • Settings pages are now available
  • It is now possible to set a sort_field on HMABT relationships for inline reordering of related values
  • You can now select nested belongs_to relationships in the columns array
  • Primary key fields are now hidden by default in the edit window unless you put them in your edit array
  • New languages: Spanish (es), Basque (eu), French (fr), Dutch (nl), Polish (pl), Serbian (sr)
  • Moved from Chosen select boxes to Select2
  • The item link now uses the single name of the model instead of "item"
  • Bugfix: Constraints on autocomplete fields now constrain the autocomplete search
  • Bugfix: Multiple constraints now work properly
  • Bugfix: Character limits on text fields no longer limit the string on every keystroke
  • Bugfix: Relationship options now sort by the name field
  • Bugfix: Getter columns now visibly show if they're being sorted
  • Bugfix: Fixed some issues with the page not resizing properly
  • Bugfix: WYSIWYG editor now resets properly after saving and then creating a new item

3.1.0

  • Localization support. Big thanks to Andrew Dworn for all the work he put into this
  • New editable option for most edit fields lets you disable field editing
  • Image field originals can now be stored in any location (not just the public directory)
  • Bugfix: If a relationship has no value for a field, the previously-selected item's relationships will be cleared out
  • Bugfix: Bool field now doesn't revert back to false on edit if checked
  • Bugfix: CKEditor no longer has funny cursor behavior when editing
  • Bugfix: BelongsTo edit fields now load even if they aren't specified in the columns list
  • Bugfix: HasOne and HasMany relationship columns weren't being constructed properly

3.0.0

  • Model configuration must now be done in model config files instead of in an Eloquent model
  • Revamped the docs to make it more accessible/readable
  • You can now group together models into menu groups
  • New 'color' field type
  • New 'image' field type
  • Custom column outputs
  • Admin users can now set a custom number of rows in each model's interface
  • You can now add custom action buttons in the $actions property of a model
  • You can now apply per-model permissions for creating, saving, and deleting items
  • Renamed 'permission_check' and 'auth_check' to the uniform 'permission'
  • Renamed 'global_per_page' to 'global_rows_per_page'
  • The $edit property is now the 'edit_fields' option in the model config
  • The $filters property is now the 'filters' option in the model config
  • The $sortOptions property is now the 'sort' option in the model config
  • The $expand property is now the 'form_width' option in the model config
  • The create_link() method is now the 'link' option in the model config
  • Removed the before_delete() method. This can be handled by using the "eloquent.delete: {{classname}}" event
  • Migrated from the old string-based jQuery template engine to the faster, smarter Knockout comment bindings
  • Bugfix: BelongsTo filter no longer does a LIKE search (since it's an explicit key)

2.3.0

  • Relationship constraints are now possible if you want to limit one relationship field's options by its relation to another relationship field (only applies when those two fields themselves have a pivot table)
  • You can now hit the enter key on text/textarea fields to submit the create/edit form
  • Self-relationships are now possible
  • Bugfix: Bool field now works properly with SQLite (or any database that returns ints as strings)
  • Bugfix: History.js now recognizes base URIs other than '/'
  • Bugfix: In PostgreSQL there was an issue with using boolean false to pull back no results on an integer column
  • Bugfix: If you are on some high page number and you filter the set such that that page number is now outside the range of the filtered set, you will be brought back to the last page of the set instead of staying on that page
  • Bugfix: Adding real-time viewModel updates to the wysiwyg field. Sometimes if you hit "save" fast enough it wouldn't write the changes back to the viewModel from the CKEditor
  • Bugfix: There was an array index error when not providing a name_field or when only providing one of the sort options

2.2.0

  • There is now an autocomplete option for relationships that could have a lot of potential values
  • You can now set the $expand property for a model to boolean true or any integer above 285 (i.e. pixels) to get more room for the edit form
  • Model config now allows for a 'single' name. Example: Film model would be 'film'. BoxOffice model would be 'take'. i.e. New film, New take
  • New 'bool' field type
  • New 'enum' field type
  • New 'wysiwyg' field type
  • New 'textarea' field type
  • New 'markdown' field type
  • Added 'limit' option for text/textarea/markdown field types
  • Added 'height' option for textarea/markdown field types (pixels as an integer)
  • You can now provide a create_link method in your model that should return the URL of the string of the item's front-end page
  • You can now optionally provide a 'permission_check' closure for each model in the config. This works just like auth_check but on a per-model basis. If provided, and if it evaluates to false, the user will be redirected back to the admin dashboard.
  • Bugfix: Multiple commas in number fields were messing up the values
  • Bugfix: The custom binding for the number field now uses the user-supplied fields like decimals, thousands_separator, and decimal_separator.
  • Bugfix: Various animation bugs in the UI

2.1.0

  • You can no longer use has_one or has_many fields in the $edit property. This is because those relationships require a new item to be created on the other table.
  • The number field now formats nicely in the interface
  • Added the first tutorial video to the README and added the code from that video to the examples/application directory
  • Bugfix: There was a case sensitivity issue with the libraries folder because of the namespaces I was using. Quickfixed this by changing libraries to Libraries.
  • Bugfix: Getting model rows was calling 'SELECT * FROM [whatever_relationship_table]' multiple times. This should alleviate some performance issues.

2.0.1

  • Bugfix: related to grouping functions in the 'select' option
  • Bugfix: related to the model title showing up

2.0.0

  • Reorganized the libraries
  • title_field is now name_field
  • relation is now relationship
  • currency is now number and non-currency number types are now supported
  • $edit and $filters arrays no longer have default values. You must supply them or they won't show up
  • $column now accepts a 'select' option for any field to allow for proper sorting
  • Temporarily found a work around for a major bug with Laravel paginate() method where it wouldn't properly count the rows when using a grouping (will be fixed in L4)
  • Innumerable bugfixes (with plenty more to come)

1.2.0

  • Added all field types to filters
  • Currency (and soon all numbers), date, datetime, and time filters are now a min/max range
  • Assorted improvements to make it easier to add field types

1.1.0

  • Sorting getter columns
  • Sorting relational columns with custom select statements
  • Fixed several bugs related to sorting
  • Fixed several bugs related to using getters as columns

1.0.1

  • 'id' filter type now works
  • Getter values now show up in the result set

1.0.0

  • Initial release.