Administration base module for all LUYA admin modules
MIT License
Bot releases are hidden (Show)
Published by nadar about 3 years ago
This release contains new migrations and requires to run the migrate command after updating. Check the UPGRADE document to read more about breaking changes.
fileSystemStream()
.luya\admin\events\FileDownloadEvent::$file
does not recieve a luya\admin\file\Item
anymore, instead its a luya\admin\models\StorageFile
.SelectAsyncApi
which can be used to change the select based on certain context variables in real time, its also known as "dependent select".admin/api-user-group/me
.unlink
in order to prevent thrown exceptions../luya admin/log/cleanup all
.Auth::CAN_UPDATE
is maintained for BC.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.Config::set()
can now store larger amount of data, using text()
instead of string()
.--only
option ( or -o
) for admin/proxy
command. Possible values are db
or storage
.luya\admin\base\RadioProperty
luya\admin\storage\BaseFileSystemStorage::$queueFilters
.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.Published by nadar almost 4 years ago
admin_session
and can be configured as session' => ['class' => 'yii\web\DbSession', 'sessionTable' => 'admin_session']
.JsonObject
which will store a JSON object in the database and return an assoc array in the model.ngRestExport()
method to NgRestModel in order to apply formatting of values to the downloadable export.Published by nadar almost 4 years ago
Published by nadar almost 4 years ago
This release contains a behavior change where MysqlMutex is default instead of FileMutex. Check the UPGRADE document to read more about breaking changes.
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.yii\base\Model
.sendContentAsFile
in order to support 3rd party storage systems like AWS.ngRestFilters()
data to display the filters in the export mask in preselect the current active filter.zaa-select-crud
directive which allows to select a row from an existing ngrest crud in a modal dialog.Published by nadar about 4 years ago
This requires LUYA core 1.7
setI18nOldValue()
method instead.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'
.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.admin/proxy
command also works with different file systems then the local storage.luya\admin\validators\StorageUploadValidator
which assignes the file absolute path as value.yii\base\ErrorException: Undefined index: user_id
bug when open a CRUD. see #551
Published by nadar about 4 years ago
luya\admin\traits\SoftDeleteTrait
.Published by nadar about 4 years ago
fields()
when working with ActiveRecords as it represents the REST resource information.Published by nadar over 4 years ago
Published by nadar over 4 years ago
Published by nadar over 4 years ago
luyaSelect
until the dropdown is expanded.@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.<identifier:[a-z0-9]+>
which are now rendered correctly as <identifier>
luya\admin\ngrest\base\Api::$filterSearchModelClass
is defined, the filter model will be taken into account for filter
request param.Published by nadar over 4 years ago
yii\web\UrlRule
into the luya\admin\openapi\Generator
.@uses
for handling OpenApi request body informations when verb type is POST
.Published by nadar over 4 years ago
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.
implode()
in ngRestScopes()
in create model command template.Published by nadar over 4 years ago
This release requires LUYA Core version 1.1 to work.
admin/uptime
)