{"action":"created","issue":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/445","repository_url":"https://api.github.com/repos/CorsixTH/CorsixTH","labels_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/445/labels{/name}","comments_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/445/comments","events_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/445/events","html_url":"https://github.com/CorsixTH/CorsixTH/issues/445","id":52677640,"number":445,"title":"Automated Error Reporting Email System","user":{"login":"J-Shep","id":6353342,"avatar_url":"https://avatars.githubusercontent.com/u/6353342?v=3","gravatar_id":"","url":"https://api.github.com/users/J-Shep","html_url":"https://github.com/J-Shep","followers_url":"https://api.github.com/users/J-Shep/followers","following_url":"https://api.github.com/users/J-Shep/following{/other_user}","gists_url":"https://api.github.com/users/J-Shep/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Shep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Shep/subscriptions","organizations_url":"https://api.github.com/users/J-Shep/orgs","repos_url":"https://api.github.com/users/J-Shep/repos","events_url":"https://api.github.com/users/J-Shep/events{/privacy}","received_events_url":"https://api.github.com/users/J-Shep/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/labels/State-Accepted","name":"State-Accepted","color":"229999"},{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/labels/Type-Enhancement","name":"Type-Enhancement","color":"8593ab"}],"state":"open","locked":false,"assignee":{"login":"J-Shep","id":6353342,"avatar_url":"https://avatars.githubusercontent.com/u/6353342?v=3","gravatar_id":"","url":"https://api.github.com/users/J-Shep","html_url":"https://github.com/J-Shep","followers_url":"https://api.github.com/users/J-Shep/followers","following_url":"https://api.github.com/users/J-Shep/following{/other_user}","gists_url":"https://api.github.com/users/J-Shep/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Shep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Shep/subscriptions","organizations_url":"https://api.github.com/users/J-Shep/orgs","repos_url":"https://api.github.com/users/J-Shep/repos","events_url":"https://api.github.com/users/J-Shep/events{/privacy}","received_events_url":"https://api.github.com/users/J-Shep/received_events","type":"User","site_admin":false},"milestone":null,"comments":40,"created_at":"2014-12-22T18:57:57Z","updated_at":"2016-05-05T14:08:10Z","closed_at":null,"body":"I would be willing to work on this as my priority task this week if this idea is accepted.\r\n\r\nWhen a CorsixTH player experiences a Lua error they may not find time to report it, so CorsixTH could ask them if they want it to report the problem for them by sending an email to an error reporting email address containing:\r\n* The CorsixTH version.\r\n* The stack trace.\r\n* One or more autosaves from before the error occurred.\r\n* Optionally a message from the player describing what happened and what they were doing before the error occured.\r\n* The player's operating system.\r\n\r\nThis email address's server could have email sorting rules which could compare the stack traces in received emails to group up emails which have the same error by putting them in a folder for their error & CorsixTH version.\r\n\r\nCorsixTH developers could then open Github issues for errors reported with this email address."},"comment":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/comments/217164036","html_url":"https://github.com/CorsixTH/CorsixTH/issues/445#issuecomment-217164036","issue_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/445","id":217164036,"user":{"login":"J-Shep","id":6353342,"avatar_url":"https://avatars.githubusercontent.com/u/6353342?v=3","gravatar_id":"","url":"https://api.github.com/users/J-Shep","html_url":"https://github.com/J-Shep","followers_url":"https://api.github.com/users/J-Shep/followers","following_url":"https://api.github.com/users/J-Shep/following{/other_user}","gists_url":"https://api.github.com/users/J-Shep/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Shep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Shep/subscriptions","organizations_url":"https://api.github.com/users/J-Shep/orgs","repos_url":"https://api.github.com/users/J-Shep/repos","events_url":"https://api.github.com/users/J-Shep/events{/privacy}","received_events_url":"https://api.github.com/users/J-Shep/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T14:08:10Z","updated_at":"2016-05-05T14:08:10Z","body":"Status update: I'm currently finalising my commits for Layout Managers and for the new Window methods I've created to support the use of Layout Managers and also to allow components to be added to windows with single simple function calls instead of a Window's creating having to issue a sequence of calls in order to create a single: Button, Label, Drop Down Menu, Textbox or Toggle Button for example:\r\n```\r\n-- Textbox for entering code\r\nself.textbox = self:addBevelPanel(20, 20, 280, 140, col_textbox, col_highlight, col_shadow)\r\n    :setLabel(\"\", app.gfx:loadBuiltinFont(), \"left\"):setTooltip(_S.tooltip.lua_console.textbox):setAutoClip(true)\r\n    :makeTextbox():allowedInput(\"all\"):setText({\"\"})\r\n\r\n-- Can now be made as follows:\r\n\r\n-- Textbox for entering code\r\nself.textbox = self:addTextBox(280, 40, {x = 20, y =20})\r\n\r\n-- Or with LayoutManager providing the screen coordinates for its position:\r\n\r\n-- Textbox for entering code\r\nself.textbox = self:addTextBox(280, 40)\r\n```\r\n\r\nMy Report_Problem Window is up to date with the latest LayoutManager and Window code. So since the Report_Error window will reuse most of this window's code, most of the GUI code which will be required by my \"error report system\" pull request has been done. \r\n\r\nLeaving me with the coding tasks of finalising my error report generating code and creating new code for making CorsixTH report errors by opening Github issues instead of reporting them via email as I originally intended.\r\n\r\nI will submit a separate pull request for implementing Layout Managers and for my Window changes  either before or after this weekend when I won't be able to do any programming because I will be away from home on a trip without a computer."}}