{"action":"created","issue":{"url":"https://api.github.com/repos/insomnia-lab/libreant/issues/217","labels_url":"https://api.github.com/repos/insomnia-lab/libreant/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/insomnia-lab/libreant/issues/217/comments","events_url":"https://api.github.com/repos/insomnia-lab/libreant/issues/217/events","html_url":"https://github.com/insomnia-lab/libreant/pull/217","id":115731135,"number":217,"title":"User CLI","user":{"login":"boyska","id":14236,"avatar_url":"https://avatars.githubusercontent.com/u/14236?v=3","gravatar_id":"","url":"https://api.github.com/users/boyska","html_url":"https://github.com/boyska","followers_url":"https://api.github.com/users/boyska/followers","following_url":"https://api.github.com/users/boyska/following{/other_user}","gists_url":"https://api.github.com/users/boyska/gists{/gist_id}","starred_url":"https://api.github.com/users/boyska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyska/subscriptions","organizations_url":"https://api.github.com/users/boyska/orgs","repos_url":"https://api.github.com/users/boyska/repos","events_url":"https://api.github.com/users/boyska/events{/privacy}","received_events_url":"https://api.github.com/users/boyska/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/insomnia-lab/libreant/labels/auth","name":"auth","color":"f7c6c7"},{"url":"https://api.github.com/repos/insomnia-lab/libreant/labels/cli","name":"cli","color":"666666"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/insomnia-lab/libreant/milestones/4","html_url":"https://github.com/insomnia-lab/libreant/milestones/0.3","labels_url":"https://api.github.com/repos/insomnia-lab/libreant/milestones/4/labels","id":1174862,"number":4,"title":"0.3","description":" - integrate authentication and authorization layer\r\n - make possible to manage users from the command line\r\n","creator":{"login":"ael-code","id":4229536,"avatar_url":"https://avatars.githubusercontent.com/u/4229536?v=3","gravatar_id":"","url":"https://api.github.com/users/ael-code","html_url":"https://github.com/ael-code","followers_url":"https://api.github.com/users/ael-code/followers","following_url":"https://api.github.com/users/ael-code/following{/other_user}","gists_url":"https://api.github.com/users/ael-code/gists{/gist_id}","starred_url":"https://api.github.com/users/ael-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ael-code/subscriptions","organizations_url":"https://api.github.com/users/ael-code/orgs","repos_url":"https://api.github.com/users/ael-code/repos","events_url":"https://api.github.com/users/ael-code/events{/privacy}","received_events_url":"https://api.github.com/users/ael-code/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":8,"state":"open","created_at":"2015-06-22T10:34:13Z","updated_at":"2015-11-22T23:51:24Z","due_on":null,"closed_at":null},"comments":36,"created_at":"2015-11-08T12:29:38Z","updated_at":"2015-12-11T16:53:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/insomnia-lab/libreant/pulls/217","html_url":"https://github.com/insomnia-lab/libreant/pull/217","diff_url":"https://github.com/insomnia-lab/libreant/pull/217.diff","patch_url":"https://github.com/insomnia-lab/libreant/pull/217.patch"},"body":"This fixes #77. It provides a new command `libreant-users` which provides several command to manage users. I think there is every action possibly needed for administering users.\r\n\r\nThe output style is, similarly to `libreant-db`, outputting a JSON representation of the \"interested\" object. So for example when you create a user, the user object will be printed.\r\n\r\nThe first commit extend the models, so now there is a specific `ActionField` which makes action handling easier. Also, every model now has a `to_dict()` method.\r\n\r\nI remember that the choice of both naming and goal of this method was debated, and I am not sure that I remember it correctly. So please point out what I'd better change, if so."},"comment":{"url":"https://api.github.com/repos/insomnia-lab/libreant/issues/comments/163989032","html_url":"https://github.com/insomnia-lab/libreant/pull/217#issuecomment-163989032","issue_url":"https://api.github.com/repos/insomnia-lab/libreant/issues/217","id":163989032,"user":{"login":"ael-code","id":4229536,"avatar_url":"https://avatars.githubusercontent.com/u/4229536?v=3","gravatar_id":"","url":"https://api.github.com/users/ael-code","html_url":"https://github.com/ael-code","followers_url":"https://api.github.com/users/ael-code/followers","following_url":"https://api.github.com/users/ael-code/following{/other_user}","gists_url":"https://api.github.com/users/ael-code/gists{/gist_id}","starred_url":"https://api.github.com/users/ael-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ael-code/subscriptions","organizations_url":"https://api.github.com/users/ael-code/orgs","repos_url":"https://api.github.com/users/ael-code/repos","events_url":"https://api.github.com/users/ael-code/events{/privacy}","received_events_url":"https://api.github.com/users/ael-code/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T16:53:58Z","updated_at":"2015-12-11T16:53:58Z","body":"you're completely right. I should stop to trust github about dates :)"}}