User tests: Successful: Unsuccessful:
added an api endpoint for com_actionlogs
if you use postman
then GET http://localhost/<yoursite>/api/index.php/v1/actionlogs
GET http://localhost/<yoursite>/api/index.php/v1/actionlogs/xx
where xx is the log id
GET http://localhost/<yoursite>/api/index.php/v1/actionlogs?extension=com_xxxx
where xxxx is the extension name
GET http://localhost/<yoursite>/api/index.php/v1/actionlogs?user=xxxx
where xxxx is the user id
if you use curl
curl -X GET /api/index.php/v1/actionlogs
something like
{
"links": {
"self": "http://localhost/my4/api/index.php/v1/actionlogs",
"first": "http://localhost/my4/api/index.php/v1/actionlogs?page[offset]=0&page[limit]=20",
"next": "http://localhost/my4/api/index.php/v1/actionlogs?page[offset]=20&page[limit]=20",
"previous": "http://localhost/my4/api/index.php/v1/actionlogs?page[offset]=0&page[limit]=20",
"last": "http://localhost/my4/api/index.php/v1/actionlogs?page[offset]=0&page[limit]=20"
},
"data": [
{
"type": "actionlogs",
"id": "14",
"attributes": {
"id": "14",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_USER_LOGGED_IN",
"message": "{\"action\":\"login\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\",\"app\":\"PLG_ACTIONLOG_JOOMLA_APPLICATION_API\"}",
"log_date": "2019-10-28 19:14:54",
"extension": "com_users",
"user_id": "607",
"item_id": "0",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "13",
"attributes": {
"id": "13",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_USER_LOGGED_IN",
"message": "{\"action\":\"login\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\",\"app\":\"PLG_ACTIONLOG_JOOMLA_APPLICATION_API\"}",
"log_date": "2019-10-28 19:14:15",
"extension": "com_users",
"user_id": "607",
"item_id": "0",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "12",
"attributes": {
"id": "12",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_USER_LOGGED_IN",
"message": "{\"action\":\"login\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\",\"app\":\"PLG_ACTIONLOG_JOOMLA_APPLICATION_API\"}",
"log_date": "2019-10-28 19:13:21",
"extension": "com_users",
"user_id": "607",
"item_id": "0",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "11",
"attributes": {
"id": "11",
"message_language_key": "PLG_SYSTEM_ACTIONLOGS_CONTENT_UPDATED",
"message": "{\"action\":\"update\",\"type\":\"PLG_ACTIONLOG_JOOMLA_TYPE_COMPONENT_CONFIG\",\"id\":\"213\",\"title\":\"com_patchtester\",\"extension_name\":\"com_patchtester\",\"itemlink\":\"index.php?option=com_config&task=component.edit&extension_id=213\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\"}",
"log_date": "2019-10-28 18:48:12",
"extension": "com_config.component",
"user_id": "607",
"item_id": "213",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "10",
"attributes": {
"id": "10",
"message_language_key": "PLG_SYSTEM_ACTIONLOGS_CONTENT_UPDATED",
"message": "{\"action\":\"update\",\"type\":\"PLG_ACTIONLOG_JOOMLA_TYPE_COMPONENT_CONFIG\",\"id\":\"213\",\"title\":\"com_patchtester\",\"extension_name\":\"com_patchtester\",\"itemlink\":\"index.php?option=com_config&task=component.edit&extension_id=213\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\"}",
"log_date": "2019-10-28 18:47:39",
"extension": "com_config.component",
"user_id": "607",
"item_id": "213",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "9",
"attributes": {
"id": "9",
"message_language_key": "PLG_SYSTEM_ACTIONLOGS_CONTENT_UPDATED",
"message": "{\"action\":\"update\",\"type\":\"PLG_ACTIONLOG_JOOMLA_TYPE_COMPONENT_CONFIG\",\"id\":\"213\",\"title\":\"com_patchtester\",\"extension_name\":\"com_patchtester\",\"itemlink\":\"index.php?option=com_config&task=component.edit&extension_id=213\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\"}",
"log_date": "2019-10-28 18:45:57",
"extension": "com_config.component",
"user_id": "607",
"item_id": "213",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "8",
"attributes": {
"id": "8",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_EXTENSION_INSTALLED",
"message": "{\"action\":\"install\",\"type\":\"PLG_ACTIONLOG_JOOMLA_TYPE_COMPONENT\",\"id\":\"213\",\"name\":\"com_patchtester\",\"extension_name\":\"com_patchtester\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\"}",
"log_date": "2019-10-28 18:44:12",
"extension": "com_installer",
"user_id": "607",
"item_id": "213",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "7",
"attributes": {
"id": "7",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_USER_CHECKIN",
"message": "{\"action\":\"checkin\",\"type\":\"PLG_ACTIONLOG_JOOMLA_TYPE_USER\",\"id\":\"607\",\"title\":\"admin\",\"itemlink\":\"index.php?option=com_users&task=user.edit&id=607\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\",\"table\":\"#__extensions\"}",
"log_date": "2019-10-28 18:41:52",
"extension": "com_checkin",
"user_id": "607",
"item_id": "607",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "6",
"attributes": {
"id": "6",
"message_language_key": "PLG_SYSTEM_ACTIONLOGS_CONTENT_UPDATED",
"message": "{\"action\":\"update\",\"type\":\"PLG_ACTIONLOG_JOOMLA_TYPE_PLUGIN\",\"id\":214,\"title\":\"plg_webservices_actionlog\",\"extension_name\":\"plg_webservices_actionlog\",\"itemlink\":\"index.php?option=com_plugins&task=plugin.edit&extension_id=214\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\"}",
"log_date": "2019-10-28 18:41:52",
"extension": "com_plugins.plugin",
"user_id": "607",
"item_id": "214",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "5",
"attributes": {
"id": "5",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_EXTENSION_INSTALLED",
"message": "{\"action\":\"install\",\"type\":\"PLG_ACTIONLOG_JOOMLA_TYPE_PLUGIN\",\"id\":\"214\",\"name\":\"plg_webservices_actionlog\",\"extension_name\":\"plg_webservices_actionlog\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\"}",
"log_date": "2019-10-28 18:41:24",
"extension": "com_installer",
"user_id": "607",
"item_id": "214",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "4",
"attributes": {
"id": "4",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_USER_LOGGED_IN",
"message": "{\"action\":\"login\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\",\"app\":\"PLG_ACTIONLOG_JOOMLA_APPLICATION_API\"}",
"log_date": "2019-10-28 18:28:24",
"extension": "com_users",
"user_id": "607",
"item_id": "0",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "3",
"attributes": {
"id": "3",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_USER_LOGGED_IN",
"message": "{\"action\":\"login\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\",\"app\":\"PLG_ACTIONLOG_JOOMLA_APPLICATION_API\"}",
"log_date": "2019-10-28 18:27:57",
"extension": "com_users",
"user_id": "607",
"item_id": "0",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "2",
"attributes": {
"id": "2",
"message_language_key": "PLG_SYSTEM_ACTIONLOGS_CONTENT_ADDED",
"message": "{\"action\":\"add\",\"type\":\"PLG_ACTIONLOG_JOOMLA_TYPE_ARTICLE\",\"id\":\"1\",\"title\":\"AAAAAA\",\"itemlink\":\"index.php?option=com_content&task=article.edit&id=1\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\"}",
"log_date": "2019-10-28 18:27:50",
"extension": "com_content.article",
"user_id": "607",
"item_id": "1",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
},
{
"type": "actionlogs",
"id": "1",
"attributes": {
"id": "1",
"message_language_key": "PLG_ACTIONLOG_JOOMLA_USER_LOGGED_IN",
"message": "{\"action\":\"login\",\"userid\":\"607\",\"username\":\"admin\",\"accountlink\":\"index.php?option=com_users&task=user.edit&id=607\",\"app\":\"PLG_ACTIONLOG_JOOMLA_APPLICATION_ADMINISTRATOR\"}",
"log_date": "2019-10-28 18:27:37",
"extension": "com_users",
"user_id": "607",
"item_id": "0",
"ip_address": "COM_ACTIONLOGS_DISABLED"
}
}
],
"meta": {
"total-pages": 1
}
}
N\A
yes
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Labels |
Added:
?
|
Category | Front End Plugins | ⇒ | Administration Language & Strings Front End Plugins |
Labels |
Added:
?
|
Category | Front End Plugins Administration Language & Strings | ⇒ | Administration Language & Strings SQL Installation Front End Plugins |
Category | Front End Plugins Administration Language & Strings SQL Installation | ⇒ | Administration Language & Strings SQL Installation Postgresql Front End Plugins |
Category | Front End Plugins Administration Language & Strings SQL Installation Postgresql | ⇒ | SQL Administration com_admin Language & Strings Installation Postgresql Front End Plugins |
Change the path to plugins/webservices/actionlog/
without s
for the 2 files fixed the installation issue.
Category | Front End Plugins Administration Language & Strings SQL Installation Postgresql com_admin | ⇒ | SQL Administration com_admin Postgresql Language & Strings Installation |
Category | Administration Language & Strings SQL Installation Postgresql com_admin | ⇒ | SQL Administration com_admin Postgresql Language & Strings Installation Front End Plugins |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-12 19:35:29 |
Closed_By | ⇒ | alikon | |
Labels |
Added:
?
|
Installation failed.