Fedir Zinchuk
Fedir Zinchuk
One more thing in the PR. Method `$app->getUserState('foobar.data')` does not guarantee the value to be an object, it still going to be mix depending when the data were set. Example...
Added. I think `files` is a good name, it also will produce a good links. Let's say Company Site uploads a document, then link will be kind of `example.com/files/foo-bar.pdf`. `example.com/user_uploads/foo-bar.pdf`...
Currently there still a limitation (pretty huge), the custom field for Media does not allow to select anything else than folders under `/images`. It is hardcoded https://github.com/joomla/joomla-cms/blob/5e3d8489c3f5bea3074c6005b9be42b2d9927d04/plugins/fields/media/params/media.xml#L6-L9 I think it...
> there's a TODO for this Actualy, that "todo" can be already trashed, since we have `type="images,documents"`, attribute. What i meant, is media field configuration for Custom fields. > One...
> It seems the system tests need to be adapted, too Yeap, I will look on it later
I will keep it generic. We definitely can do /files/images, sometime in future. 1 step at time :)
I found a bug in media manager API, it always return path without adapter https://github.com/joomla/joomla-cms/blob/dfb572de83d16a25e7eee673b3875e18750e688b/api/components/com_media/src/Model/MediumModel.php#L235 And when you doing API call with non default adapter, like rename folder `local-potato:/folder` to...
> what am i missing? You need to create the folder by yourself. That what you missing :wink: I offer to have it in the core by default, so you...
I do not know, man. I do not know what to say. It is absolutely basic thing that should be done a decades ago. Look, we have allowed uploads `bmp,gif,jpg,jpeg,png,webp,avif,ico,...