{"action":"created","issue":{"url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/383","labels_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/383/comments","events_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/383/events","html_url":"https://github.com/DarkFenX/Pyfa/issues/383","id":111510076,"number":383,"title":"CREST Fitting Support","user":{"login":"blitzmann","id":3904767,"avatar_url":"https://avatars.githubusercontent.com/u/3904767?v=3","gravatar_id":"","url":"https://api.github.com/users/blitzmann","html_url":"https://github.com/blitzmann","followers_url":"https://api.github.com/users/blitzmann/followers","following_url":"https://api.github.com/users/blitzmann/following{/other_user}","gists_url":"https://api.github.com/users/blitzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/blitzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blitzmann/subscriptions","organizations_url":"https://api.github.com/users/blitzmann/orgs","repos_url":"https://api.github.com/users/blitzmann/repos","events_url":"https://api.github.com/users/blitzmann/events{/privacy}","received_events_url":"https://api.github.com/users/blitzmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DarkFenX/Pyfa/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-10-14T22:46:47Z","updated_at":"2015-10-26T03:26:19Z","closed_at":null,"body":"CCP FoxFour just release documentation on this today, see https://github.com/ccpgames/eveonline-third-party-documentation/commit/1ff6d7ac56c4b1c66b0e39155b502dfb7ec0336c\r\n\r\nThis issue will keep track of current progress. \r\n\r\n<hr />\r\n\r\n* [x] Webserver support for gathering auth code. This will probably require rebuilding Windows and Mac skels\r\n* [ ] Fallback in case webserver is not viable due to user restrictions (unsure of mechanism here)\r\n* [x] Database support for CREST Characters, which will hold the refresh token\r\n* [x] Getting and displaying saved fittings from EVE server. This is done, and works in this way: Select the character and fetch characters. Tree displays. Select fitting, and the modules (and cargo/drones/whatever is attached to saved fitting) are loaded as pyfa Items and then passed into a Cargo wrapper (Cargo items display amount unlike Modules) and then displayed. This will work for the initial release, but will need to be iterated on. I want to make it look somewhat like the fitting view with the slots separated. This will take more work simply because that view assumes it's being attached to a fit and calculated with a character, which we don't want (or do we???). https://gyazo.com/6da86533ba59b09ce70ae873bccb583e\r\n* [x] Importing saved fits\r\n* [x] Exporting to CREST format - Done. This is somewhat of a pain as we need to know the invFlag for the module, which is different than what pyfa uses. I aim to make a simple converter between pyfa's internal position and the inf flag, but for now I've got a working thing.\r\n* [x] Sending fit to server\r\n\r\n<hr />\r\n\r\nKnown issues: (as of 10/25/15)\r\n* [ ] Very little testing has been done with regards on how to handle errors from CCP (such as too many fittings)\r\n* [ ] Changing between the two modes does not work until pyfa is restarted -- menus need to know when the mode changes, as does the CREST service (so it may reload the settings).\r\n* [ ] Changing `clientID` and `clientSecret` and trying to access CREST with refresh token bound to the old settings hangs the program. The solution here would be to simply delete all saved characters\r\n* [ ] (backend) CREST Characters are not cached at the database level for some reason. I have a stopgap in place to cache them at the service level, but this is not ideal. This shouldn't affect end-users either way."},"comment":{"url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/comments/151013443","html_url":"https://github.com/DarkFenX/Pyfa/issues/383#issuecomment-151013443","issue_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/383","id":151013443,"user":{"login":"blitzmann","id":3904767,"avatar_url":"https://avatars.githubusercontent.com/u/3904767?v=3","gravatar_id":"","url":"https://api.github.com/users/blitzmann","html_url":"https://github.com/blitzmann","followers_url":"https://api.github.com/users/blitzmann/followers","following_url":"https://api.github.com/users/blitzmann/following{/other_user}","gists_url":"https://api.github.com/users/blitzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/blitzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blitzmann/subscriptions","organizations_url":"https://api.github.com/users/blitzmann/orgs","repos_url":"https://api.github.com/users/blitzmann/repos","events_url":"https://api.github.com/users/blitzmann/events{/privacy}","received_events_url":"https://api.github.com/users/blitzmann/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T03:26:19Z","updated_at":"2015-10-26T03:26:19Z","body":"Yep, already done =) The server also has a 60 second window before it's shut off.\r\n\r\nMaking a pre-release now. =D\r\n\r\n"}}