? Language Change Composer Dependency Changed ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
8 Oct 2021

Pull Request for Issue #34224.

Summary of Changes

This is a followup pr of #34314, where I continue the great work of @pjdevries. I had to change the endpoints slightly as adapters are now also supported. The new endpoints are:

GET {{base_path}}/api/index.php/v1/media/adapters
GET {{base_path}}/api/index.php/v1/media/adapters/{id}
GET {{base_path}}/api/index.php/v1/media/files/{path}
POST {{base_path}}/api/index.php/v1/media/files
PATCH {{base_path}}/api/index.php/v1/media/files/{path}
DELETE {{base_path}}/api/index.php/v1/media/files/{path} 

This is in early stage as system tests are still under development which will reveal some more issues along the way.

Testing Instructions

Check the system tests. If you want to test it by yourself, see #34314 for testing instructions with curl (don't forget to adapt the endpoints to the new ones mentioned above). Or use postman.

avatar laoneo laoneo - open - 8 Oct 2021
avatar laoneo laoneo - change - 8 Oct 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Oct 2021
Category Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests
avatar laoneo laoneo - change - 8 Oct 2021
Labels Added: ? Language Change Composer Dependency Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 21 Oct 2021
Category Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests Administration com_media Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests
avatar joomla-cms-bot joomla-cms-bot - change - 21 Oct 2021
Category Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests com_media Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests
avatar laoneo
laoneo - comment - 22 Oct 2021

Just an update here, most of the code style issues are fixed, thanks for that @PhilETaylor. Will do the system tests next week, so we will have a good coverage here.

avatar laoneo laoneo - change - 24 Oct 2021
The description was changed
avatar laoneo laoneo - edited - 24 Oct 2021
avatar laoneo
laoneo - comment - 24 Oct 2021

Added some more system tests. The pr can now be reviewed. @PhilETaylor can you have another look on the code style?

@Hackwar and @bembelimen should I make another pr with the system test changes which are not related to this pr?

avatar joomla-cms-bot joomla-cms-bot - change - 24 Oct 2021
Category Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests Administration Language & Strings JavaScript Repository NPM Change External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests
avatar laoneo laoneo - change - 24 Oct 2021
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 5 Nov 2021
Category Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests JavaScript Repository NPM Change Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests
avatar laoneo laoneo - change - 5 Nov 2021
Labels Removed: NPM Resource Changed
avatar laoneo
laoneo - comment - 5 Nov 2021

The pr can now be tested. @PhilETaylor can you have another look on the code style?

@Hackwar and @bembelimen should I make another pr with the system test changes which are not related to this pr?

avatar laoneo laoneo - change - 5 Nov 2021
Labels Removed: ?
avatar alikon
alikon - comment - 8 Nov 2021

@laoneo is there some plugin for testing adapters ?

avatar alikon
alikon - comment - 8 Nov 2021

i've tested successfully with adapter local-images all' GET, POST,DELETE and PATCH

avatar laoneo
laoneo - comment - 8 Nov 2021

@laoneo is there some plugin for testing adapters ?

You can use the free version of DPMedia. It contains an FTP Adapter.

avatar laoneo
laoneo - comment - 8 Nov 2021

Here is the link to the latest version of DPMedia https://joomla.digital-peak.com/download/dpmedia where you will find the latest version.

avatar alikon alikon - test_item - 8 Nov 2021 - Tested successfully
avatar alikon
alikon - comment - 8 Nov 2021

I have tested this item successfully on 4b9245e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35788.

avatar bembelimen
bembelimen - comment - 22 Nov 2021

@laoneo could you please check the conflicts, so it's ready for another test?

avatar Krshivam25 Krshivam25 - test_item - 23 Nov 2021 - Tested successfully
avatar Krshivam25
Krshivam25 - comment - 23 Nov 2021

I have tested this item successfully on 4b9245e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35788.

avatar laoneo
laoneo - comment - 23 Nov 2021

@bembelimen synced with 4.1 and changes since the test from @alikon were only CS stuff.

avatar bembelimen bembelimen - close - 23 Nov 2021
avatar bembelimen bembelimen - merge - 23 Nov 2021
avatar bembelimen bembelimen - change - 23 Nov 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-11-23 19:20:11
Closed_By bembelimen
avatar bembelimen
bembelimen - comment - 23 Nov 2021

Thanks!

avatar sportegioco
sportegioco - comment - 29 Apr 2023

I tried to use these media services in different sites, both through curls and directly from postman but in no case work.
Other web services work regularly.

The error it displays is always the same:
"errors":["title":"Resource not found","code":404?]

Is it possible to have a little guide step by step to understand how to use them?

Thank you

avatar sgrnd
sgrnd - comment - 14 Jan 2025

I tried to use these media services in different sites, both through curls and directly from postman but in no case work. Other web services work regularly.

The error it displays is always the same: "errors":["title":"Resource not found","code":404?]

Is it possible to have a little guide step by step to understand how to use them?

Thank you

I am also facing the same issue...Till date is there any breakthrough?

Add a Comment

Login with GitHub to post a comment