{"action":"created","issue":{"url":"https://api.github.com/repos/YahnisElsts/wp-update-server/issues/56","repository_url":"https://api.github.com/repos/YahnisElsts/wp-update-server","labels_url":"https://api.github.com/repos/YahnisElsts/wp-update-server/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/YahnisElsts/wp-update-server/issues/56/comments","events_url":"https://api.github.com/repos/YahnisElsts/wp-update-server/issues/56/events","html_url":"https://github.com/YahnisElsts/wp-update-server/issues/56","id":254519724,"number":56,"title":"Made an Envato Compatible Server","user":{"login":"swashata","id":1623381,"avatar_url":"https://avatars1.githubusercontent.com/u/1623381?v=4","gravatar_id":"","url":"https://api.github.com/users/swashata","html_url":"https://github.com/swashata","followers_url":"https://api.github.com/users/swashata/followers","following_url":"https://api.github.com/users/swashata/following{/other_user}","gists_url":"https://api.github.com/users/swashata/gists{/gist_id}","starred_url":"https://api.github.com/users/swashata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swashata/subscriptions","organizations_url":"https://api.github.com/users/swashata/orgs","repos_url":"https://api.github.com/users/swashata/repos","events_url":"https://api.github.com/users/swashata/events{/privacy}","received_events_url":"https://api.github.com/users/swashata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-01T02:34:10Z","updated_at":"2017-09-01T13:32:25Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nFirst of all thank you very much for this. It has helped me setup an update server for my envato plugins in just one day. I am really grateful to what you have offered. I have also open sourced my work here https://github.com/WPQuark/wpq-wp-update\r\n\r\nI have a few favors to ask you:\r\n\r\n1. Right now composer package points to an outdated version. The current one has support for banners, which is awesome. So I used the latest commit tag to include in my composer, but would love to have a release.\r\n2. Instead of logging into file, I am logging into database. Any tips on generating graphs from the database? I have seen your stat package and was wondering where do I need to look for the chart queries?\r\n\r\nThank you once again."},"comment":{"url":"https://api.github.com/repos/YahnisElsts/wp-update-server/issues/comments/326580885","html_url":"https://github.com/YahnisElsts/wp-update-server/issues/56#issuecomment-326580885","issue_url":"https://api.github.com/repos/YahnisElsts/wp-update-server/issues/56","id":326580885,"user":{"login":"swashata","id":1623381,"avatar_url":"https://avatars1.githubusercontent.com/u/1623381?v=4","gravatar_id":"","url":"https://api.github.com/users/swashata","html_url":"https://github.com/swashata","followers_url":"https://api.github.com/users/swashata/followers","following_url":"https://api.github.com/users/swashata/following{/other_user}","gists_url":"https://api.github.com/users/swashata/gists{/gist_id}","starred_url":"https://api.github.com/users/swashata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swashata/subscriptions","organizations_url":"https://api.github.com/users/swashata/orgs","repos_url":"https://api.github.com/users/swashata/repos","events_url":"https://api.github.com/users/swashata/events{/privacy}","received_events_url":"https://api.github.com/users/swashata/received_events","type":"User","site_admin":false},"created_at":"2017-09-01T13:32:25Z","updated_at":"2017-09-01T13:32:25Z","author_association":"NONE","body":"Hello,\r\n\r\nThank you for the follow up.\r\n\r\n>Is itmversion a custom URL parameter that you need to send from the plugin to the update server? You could append it to the metadata URL or use the puc_request_info_query_args-$slug filter. Untested example:\r\n\r\nSorry for the confusion. What I actually meant was `installed_version` as in [here](https://github.com/YahnisElsts/wp-update-server/blob/master/includes/Wpup/UpdateServer.php#L338)\r\n\r\nDo I need to pass the current plugin version from the plugin itself?\r\n\r\nPlease see the last logs from the screenshot. Those were sent by calling `Puc_v4_Factory` like [this](https://github.com/WPQuark/wpq-wp-update/blob/develop/client/class-plugin-autoupdate.php#L84)..\r\n\r\nSo do I need to pass something like `wpq_wp_update_plugin_version => PLUGIN_VERSION` and then catch the `$_GET` within wp-update-server by extending [here](https://github.com/WPQuark/wpq-wp-update/blob/develop/includes/server/class-wpq-wp-update-handler.php#L32)\r\n\r\nI was thinking that the `Puc_v4_Factory` plugin itself is responsible for sending current plugin version. If so, then perhaps I am missing something while calling the update server. Do I need to pass in another `$_GET` parameter?\r\n\r\n> The code that extracts performance metrics from the log is in src/BasicLogAnalyser.php and the stuff that turns those metrics into charts is in src/Report.php. I guess you could try writing your own subclass of \\Wpup\\BasicLogAnalyser that reads log entries from the database instead of a file. It would probably be simpler than the existing implementation since you wouldn't have to worry about merging multiple log files and parsing text.\r\n\r\nThank you for the heads up. I will look into it and see what I can make."}}
{"actor":{"display_login":"swashata"}}