luya-module-admin

Administration base module for all LUYA admin modules

MIT License

Downloads
143.8K
Stars
48
Committers
66

Bot releases are hidden (Show)

luya-module-admin - 4.0.0

Published by nadar about 3 years ago

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.
luya-module-admin - 3.9.1

Published by nadar almost 4 years ago

3.9.1 (2. December 2020)

  • #606 Fixed PHP Exception in Auth Model.
luya-module-admin - 3.9.0

Published by nadar almost 4 years ago

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.
luya-module-admin - 3.8.0

Published by nadar almost 4 years ago

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.
luya-module-admin - 3.7.1

Published by nadar almost 4 years ago

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.
luya-module-admin - 3.7.0

Published by nadar almost 4 years ago

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.
luya-module-admin - 3.6.1

Published by nadar about 4 years ago

3.6.1 (1. October 2020)

  • #572 Fixed "zaa-date" datepicker width issue.
luya-module-admin - 3.6.0

Published by nadar about 4 years ago

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.
luya-module-admin - 3.5.2

Published by nadar about 4 years ago

3.5.2 (26. August 2020)

  • #559 Add method to return a language specific NgRest Model value.
  • #556 Generate unique OpenApi operationIds.
luya-module-admin - 3.5.1

Published by nadar about 4 years ago

3.5.1 (12. August 2020)

  • #551 Added missing user_id column in select condition which throws an error for certrain sql mode configurations.
luya-module-admin - 3.5.0

Published by nadar about 4 years ago

3.5.0 (11. August 2020)

  • #545 Fix issue where primary key values where not correct type casted (a string was returned instead of integer). This was due to Text NgRestPlugin encoding its value when assigning to the model for security reasons.
  • #542 Add tablename in the where condition to support join relations with luya\admin\traits\SoftDeleteTrait.
  • #543 Ensure all images are routed trough LUYA file controller in order to fix issue with cropping images when working with 3rd party storage systems.
  • #541 Fix memory problem in OpenApi generator because of circular references.
  • #537 Add new event to customize the params for an OpenApi generated Path.
luya-module-admin - 3.4.1

Published by nadar about 4 years ago

3.4.1 (28. July 2020)

  • #539 Fix issue with angularjs directive closing tags which has been introduced in version 1.8.0
  • #536 Fix issue where security schemas where added but not applied to the Operations.
  • #534 Using fields() when working with ActiveRecords as it represents the REST resource information.
  • #533 Fixed a bug where OpenApi property relations won't expand.
luya-module-admin - 3.4.0

Published by nadar about 4 years ago

3.4.0 (21. July 2020)

  • #530 Attach query behaviors in luya\admin\ngrest\base\NgRestModel::find.
  • #529 Fixed an issue with OpenApi path params.
  • #527 Fixed a bug where deleted user emails where not validated when save or update an existing user account.
luya-module-admin - 3.3.2

Published by nadar over 4 years ago

3.3.2 (28. June 2020)

  • #522 Fixed issue with not normalized attribute types in OpenApi file.
  • #523 Fixed a bug where an empty options array in Angular Helper class leads into an error while setting the default $scope.model state in Radio Buttons.
  • #520 Checking class existance in getDiffCount() method in order to ensure, a row badge is only handled when the class exists. This might be a problem if a module has been removed but the notification information still persists.
luya-module-admin - 3.3.1

Published by nadar over 4 years ago

3.3.1 (17. June 2020)

  • #497 Do not render the dropdown values in luyaSelect until the dropdown is expanded.
  • #519 Use @method PhpDoc to override Yii Framework defined actions in actions() method, otherwise those will always have the same Summary and Description Text in the OpenApi file.
  • #517 Fix problem with OpenApi generator URL tokens like <identifier:[a-z0-9]+> which are now rendered correctly as <identifier>
  • #515 If property luya\admin\ngrest\base\Api::$filterSearchModelClass is defined, the filter model will be taken into account for filter request param.
  • #511 Fixed a bug where OpenApi IndexAction should return an array instead of an object.
  • #512 Fixed a bug with multiple input types and zaaLink directives (none unique elements).
  • #510 Fixed regression from issue #459 regarding user change history active window.
luya-module-admin - 3.3.0

Published by nadar over 4 years ago

3.3.0 (26. Mai 2020)

  • #503 An option to assign defined yii\web\UrlRule into the luya\admin\openapi\Generator.
  • #501 Implement PhpDoc @uses for handling OpenApi request body informations when verb type is POST.
  • #500 Trigger an event (eventUserAccessTokenLogin) when an access token is requesting for a login.
  • #499 Added missing RU translations.
  • #489 Hide default LUYA NgRest CRUD actions for OpenApi generator. Improve overall performance to generate OpenApi.
luya-module-admin - 3.2.0

Published by nadar over 4 years ago

3.2.0 (29. April 2020)

This release requires LUYA Core version 1.3 and contains a signature change for a method. Check the UPGRADE document to read more about breaking changes.

  • #467 Improve performance of applying multiple filters on an image.
  • #478 Corrected implode() in ngRestScopes() in create model command template.
  • #475 Added new option to return a none empty tag title.
  • #476 Ensure importers skip objects which are not of the certain type. This is importend when a folder is used for other data.
  • #459 New dropdown option to truncate the whole model data, if enabled.
  • #284 Added initvalue option for zaaRadio directive.
  • #349 Option to include ApiUsers log entries into the admin dashboard.
  • #466 New view for all images which are generated from files applying a filter.
luya-module-admin - 3.1.0

Published by nadar over 4 years ago

3.1.0 (24. March 2020)

This release requires LUYA Core version 1.1 to work.

  • #464 Change behavior of how i18n values are encoded, by using $app->language instead of $composition->langShortCode. Automatically provided ContentNegotation $languages from LUYA admin language table (requires luya core version 1.1)
  • #470 Improved the performance of the file manager folder tree, when a lot of data is available.
  • #472 Added new controller for website uptime tests (Route: admin/uptime)
  • #196 Enable croping for images.
luya-module-admin - 3.0.3

Published by nadar over 4 years ago

3.0.3 (5. March 2020)

  • #468 Removed window on load from login (was not needed) in order to fix a bug where Safari does not render the login form.
luya-module-admin - 3.0.2

Published by nadar over 4 years ago

3.0.2 (28. Feburary 2020)

  • #463 Fixed an issue with luya-content container height.