{"action":"created","issue":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1214","labels_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1214/labels{/name}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1214/comments","events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1214/events","html_url":"https://github.com/Cockatrice/Cockatrice/issues/1214","id":93163455,"number":1214,"title":"Client Version Check","user":{"login":"woogerboy21","id":1361287,"avatar_url":"https://avatars.githubusercontent.com/u/1361287?v=3","gravatar_id":"","url":"https://api.github.com/users/woogerboy21","html_url":"https://github.com/woogerboy21","followers_url":"https://api.github.com/users/woogerboy21/followers","following_url":"https://api.github.com/users/woogerboy21/following{/other_user}","gists_url":"https://api.github.com/users/woogerboy21/gists{/gist_id}","starred_url":"https://api.github.com/users/woogerboy21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woogerboy21/subscriptions","organizations_url":"https://api.github.com/users/woogerboy21/orgs","repos_url":"https://api.github.com/users/woogerboy21/repos","events_url":"https://api.github.com/users/woogerboy21/events{/privacy}","received_events_url":"https://api.github.com/users/woogerboy21/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/labels/Cockatrice","name":"Cockatrice","color":"009800"},{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/labels/Suggestion","name":"Suggestion","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-06T01:00:04Z","updated_at":"2015-07-06T16:50:11Z","closed_at":null,"body":"Any idea how we could implement a client version check?  It would be nice to notify a user when they connect to a server if they are running an older client and to consider upgrading.  The first thing I thought was to have a DB entry (maybe in the schema table) and have the client pass a number to the server and compare it against. \r\n\r\nThis may not be the best idea and am open to hearing other idea's."},"comment":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/comments/118922851","html_url":"https://github.com/Cockatrice/Cockatrice/issues/1214#issuecomment-118922851","issue_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/1214","id":118922851,"user":{"login":"Daenyth","id":14644,"avatar_url":"https://avatars.githubusercontent.com/u/14644?v=3","gravatar_id":"","url":"https://api.github.com/users/Daenyth","html_url":"https://github.com/Daenyth","followers_url":"https://api.github.com/users/Daenyth/followers","following_url":"https://api.github.com/users/Daenyth/following{/other_user}","gists_url":"https://api.github.com/users/Daenyth/gists{/gist_id}","starred_url":"https://api.github.com/users/Daenyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daenyth/subscriptions","organizations_url":"https://api.github.com/users/Daenyth/orgs","repos_url":"https://api.github.com/users/Daenyth/repos","events_url":"https://api.github.com/users/Daenyth/events{/privacy}","received_events_url":"https://api.github.com/users/Daenyth/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T16:50:11Z","updated_at":"2015-07-06T16:50:11Z","body":"The client at build time would get an autogenerated hardcoded date, just like it does for git commit hash right now. We extend the existing gitversion header to include the date.\r\n\r\nServatrice ini could accept a date string like `recommended_build_date=2015-07-01` which would message users with a build date lower than that."}}