Skip to content

Releases: luyadev/luya-module-admin

4.1.0

21 Sep 08:22
1a23cda
Compare
Choose a tag to compare

4.1.0 (21. September 2021)

  • #661 Added a cellColor property to any ngRest attribute. It allows to set color of CRUD table cells
  • #662 Fix display issue with radio buttons in multiple radio button fields (zaaRadio directive).
  • #658 Added new SelectArrayGently Plugin, which is the same as SelectArray Plugin, but do not override the values from the database.
  • #657 Fix problem with global admin UI search when model does not exists, this could be due to old controller structure or custom code.
  • #656 Ensure queue items are removed when schedule item is deleted, improved filter of upcoming queue events, fix issue with scheduler log for multiple attributes on the same model.
  • #654 Fix issue with ngrest detail view when json is not an array.
  • #496 Added default color for link elements in NgRest CRUD table.

4.0.0

27 Jul 09:28
Compare
Choose a tag to compare

4.0.0 (27. July 2021)

This release contains new migrations and requires to run the migrate command after updating. Check the UPGRADE document to read more about breaking changes.

  • #599 Files are now downloaded via stream instead of reading its content, Therefore any custom storage systems requires a new method fileSystemStream().
  • #601 The luya\admin\events\FileDownloadEvent::$file does not recieve a luya\admin\file\Item anymore, instead its a luya\admin\models\StorageFile.
  • #647 Lazy data load for ngrest plugin.
  • #635 New migration database file, as new attributes are available for properties, images and files
  • #298 Added new NgRest Plugin SelectAsyncApi which can be used to change the select based on certain context variables in real time, its also known as "dependent select".
  • #642 Example usage for admin/proxy machine in detail window.
  • #610 Added API endpoint to display all groups where the current loggedin user belongs to admin/api-user-group/me.
  • #602 Fixed bug in ngrest model detail view.
  • #605 Add new LUYA Test Suite for wider PHP Testing Support. Added Tests for PHP 8.
  • #608 Use FileHelper::unlink method instead of PHP's unlink in order to prevent thrown exceptions.
  • #609 Fixed generic issues when using PostgreSQL.
  • #620 Changed echarts library to major Version 5.0
  • #603 Added option to disable the login form and display a maintenance message instead.
  • #623 New command to cleanup ngrest log and cms log tables ./luya admin/log/cleanup all.
  • #626 Fixed issue with blameable behavior in console command context.
  • #627 Added option to set a button condition to show or hide crud update, delete, ngRestActiveButtons and ngRestActiveWindows buttons.
  • #630 Added option to define permission level for ActiveWindows and ActiveButtons, default behavior Auth::CAN_UPDATE is maintained for BC.
  • #604 Added "Save", "Save and close" and "Create", "Create and close" buttons next to CRUD forms.
  • #313 Add option to disable text and filter in image array zaa directive and ngrest plugin.
  • #638 Added new orderBy() method for file, image and folder iterator of storage system, this fixes the issue that fileArray and imageArray plugin where sorted wrong when $fileIterator is enabled.
  • #639 The LUYA Config::set() can now store larger amount of data, using text() instead of string().
  • #640 Added new --only option ( or -o) for admin/proxy command. Possible values are db or storage.
  • #641 Added loading indicator for filemanager file detail.
  • #643 Fixed issue where the root folder where displaying all files from the storage system.
  • #645 New predifined radio input page property luya\admin\base\RadioProperty
  • #648 The storage contains now an option which can generate filter version of images async in the queue after uploading. To do see take a look at luya\admin\storage\BaseFileSystemStorage::$queueFilters.
  • #649 New ngRestActiveSelections API which allows developers to interact with a certain selection in the CRUD list view. For example to archive or delete multiple items. The API is similar to Active Buttons.

3.9.1

02 Dec 14:35
f2cb82b
Compare
Choose a tag to compare

3.9.1 (2. December 2020)

  • #606 Fixed PHP Exception in Auth Model.

3.9.0

24 Nov 14:51
6ed80ee
Compare
Choose a tag to compare

3.9.0 (24. November 2020)

  • #596 Added new migration for session storage, the table name is admin_session and can be configured as session' => ['class' => 'yii\web\DbSession', 'sessionTable' => 'admin_session'].
  • #595 Added new NgRest Plugin JsonObject which will store a JSON object in the database and return an assoc array in the model.
  • #170 Added new ngRestExport() method to NgRestModel in order to apply formatting of values to the downloadable export.

3.8.0

11 Nov 15:46
Compare
Choose a tag to compare

3.8.0 (11. November 2020)

  • #589 Add new help() method for page properties, added CRUD view for properties.
  • #591 Disable session login for rest api calls.
  • #592 Fixed a bug where storage uploader without selected files throws an exception.

3.7.1

04 Nov 11:59
6b8049a
Compare
Choose a tag to compare

3.7.1 (4. November 2020)

  • #587 Fixed a bug where it was not possible to update the current admin user due to wrong unique email validation.
  • #588 Fixed a bug where the CRUD Tags filter does not appear anymore.

3.7.0

26 Oct 18:04
Compare
Choose a tag to compare

3.7.0 (26. October 2020)

This release contains a behavior change where MysqlMutex is default instead of FileMutex. Check the UPGRADE document to read more about breaking changes.

  • #576 Use MysqlMutex as default Mutex class for the Admin Queue instead of FileMutex due to people have problems with file permissions when running the queue in cli mode. MysqlMutex is also the better approach when multiple works might run on different workloads.
  • #578 New bahasa (Indonesian) language option.
  • #575 New hungarian language option.
  • #574 Add new toasts design (stronger colors).
  • #577 Queue Scheduler Job loads only the target attribute into the model.
  • #579 Updated Portuguese translation files.
  • #580 Fix issue where the OpenApi parser does not return models which are instance of yii\base\Model.
  • #581 Ensure the proxy api to synchronise files uses the sendContentAsFile in order to support 3rd party storage systems like AWS.
  • #583 Its now possible to export CRUD data for a given filter. Using ngRestFilters() data to display the filters in the export mask in preselect the current active filter.
  • #504 Fixed a bug where images in CRUD list disappear when switch from list to create form and back again.
  • #585 Added new zaa-select-crud directive which allows to select a row from an existing ngrest crud in a modal dialog.

3.6.1

01 Oct 08:24
4c3b4b7
Compare
Choose a tag to compare

3.6.1 (1. October 2020)

  • #572 Fixed "zaa-date" datepicker width issue.

3.6.0

30 Sep 18:48
96ed843
Compare
Choose a tag to compare

3.6.0 (30. September 2020)

This requires LUYA core 1.7

  • #567 Do not marke i18n values as dirty when they are populated from the database, store the original json value from the database in a new setI18nOldValue() method instead.
  • #533 Use new Yii::$app->getAdminModulesMenus(), Yii::$app->getAdminModulesJsTranslationMessages() and Yii::$app->getAdminModulesAssets() method in order to retrieve module data. This fixes a bug with admin modules which does not have an admin in the module name f.e. 'usertoken' => 'luya\admin\usertoken\Module'.
  • #561 Disable LUYA admin auth checks when cors is enabled and request method is options.
  • #562 New luya\admin\validators\I18nRequiredValidator validator in order to validate i18n attributes an its content. The validator checks if all language short codes exist and if the corresponding value is empty.
  • #577 Ensure the admin/proxy command also works with different file systems then the local storage.
  • #565 Add new luya\admin\validators\StorageUploadValidator which assignes the file absolute path as value.
  • #569 Improve the view when using TextArray ngrest plugin in CRUD overview.
  • #571 Ensure the user_id is selected in any SQL query mode, therefore fixed yii\base\ErrorException: Undefined index: user_id bug when open a CRUD. see #551
  • #570 Added border radius to all form input fields. Improved CRUD search and group by buttons.

3.5.2

26 Aug 09:11
46ad9e6
Compare
Choose a tag to compare

3.5.2 (26. August 2020)

  • #559 Add method to return a language specific NgRest Model value.
  • #556 Generate unique OpenApi operationIds.