{ "id": "141294", "key": "TIMOB-18162", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-03-20T18:16:59.000+0000", "created": "2014-12-09T17:06:20.000+0000", "epic": { "id": 123699, "key": "TIMOB-15983", "name": "Diagnostic tests in CLI", "summary": "Fold Titanium Diagnostic Test into CLI", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "46643", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "145286", "key": "CLI-389", "fields": { "summary": "Configure proxy data to login into Appcelerator Platform", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2017-03-16T22:22:54.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "The https://github.com/appcelerator/titanium-connection-test project automatically detects the proxy server configuration, if any is in use. This ticket is to implement those functions into the CLI. Auto-detection would augment the existing CLI network configuration functionality whereby users manually configure their proxy server settings.\r\n\r\nGeneral plan: developer would run {{ti setup}} and choose Network. After selecting \"yes\" that they are behind a proxy, the CLI would attempt to detect the proxy settings and present them to the user for confirmation. If values are correct, user should be able to just accept defaults. If incorrect, values entered by the user are what is saved and used by the CLI.", "attachment": [], "flagged": false, "summary": "CLI: Implement proxy autodetection from titanium-connection-test in ti setup", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 363, "state": "closed", "name": "2015 Sprint 06 Tooling", "startDate": "2015-03-14T13:52:26.847Z", "endDate": "2015-03-28T00:00:00.000Z", "completeDate": "2015-03-30T16:43:13.950Z", "originBoardId": 121 }, { "id": 319, "state": "closed", "name": "2015 Sprint 03 Tooling", "startDate": "2015-01-31T03:56:17.033Z", "endDate": "2015-02-14T02:30:00.000Z", "completeDate": "2015-02-14T02:18:47.439Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "341254", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium/pull/184\r\n\r\nThis needs some careful review and input on the logic. \r\n\r\nA system could have more than one proxy configured (i.e. one for http and one for https) and could support multiple interfaces (wired & wifi for example). Our CLI supports only one proxy address and assumes all traffic will go through it. With that in mind, my code favors the first interface found, favors https over http, and in the case of OS X, favors proxies configured in the shell environment over those configured in the OS X Network settings applet. \r\n\r\nOn Windows and Linux, only proxies listed in the shell environment are used. Again, https is favored over http.\r\n\r\nFR steps on OS X:\r\n\r\n1. Open System Preferences, choose Network. Select your active network connection (e.g. Wi-Fi). Click Advanced. Click Proxies. Check Secure Web Proxy (HTTPS) and enter a URL and port into the boxes. Click OK. Click Apply.\r\n2. Run {{ti setup}} and choose {{n}}, enter \"yes\" when prompted if you're behind a proxy. The suggested address should be the one you entered in System Preferences. Press Enter twice then {{x}} to finish.\r\n3. Edit your ~/.titanium/config.json file to remove the CLI \"httpProxyServer\" key (can't do this through ti setup because of TIMOB-18138)\r\n4. Using System Preferences, remove the proxy (uncheck Secure Web Proxy).", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-29T20:13:05.000+0000", "updated": "2015-01-29T20:14:00.000+0000" }, { "id": "342993", "author": { "name": "smishra", "key": "smishra", "displayName": "Sujeet Mishra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed..", "updateAuthor": { "name": "smishra", "key": "smishra", "displayName": "Sujeet Mishra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-11T23:00:21.000+0000", "updated": "2015-02-11T23:00:21.000+0000" }, { "id": "343001", "author": { "name": "smishra", "key": "smishra", "displayName": "Sujeet Mishra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CR done..", "updateAuthor": { "name": "smishra", "key": "smishra", "displayName": "Sujeet Mishra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-12T00:32:18.000+0000", "updated": "2015-02-12T00:32:18.000+0000" }, { "id": "343049", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "If FR & CR are done, can you merge [~smishra] and mark this ticket as \"passed\"?", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-12T14:59:46.000+0000", "updated": "2015-02-12T14:59:46.000+0000" }, { "id": "343096", "author": { "name": "smishra", "key": "smishra", "displayName": "Sujeet Mishra", "active": true, "timeZone": "America/Los_Angeles" }, "body": "merged ...", "updateAuthor": { "name": "smishra", "key": "smishra", "displayName": "Sujeet Mishra", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-12T18:43:06.000+0000", "updated": "2015-02-12T18:43:06.000+0000" }, { "id": "346652", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "4_0_X: https://github.com/appcelerator/titanium/pull/206", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-03-20T04:52:46.000+0000", "updated": "2015-03-20T04:52:46.000+0000" }, { "id": "413326", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:22:54.000+0000", "updated": "2017-03-16T22:22:54.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }