{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1712","repository_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp","labels_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1712/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1712/comments","events_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1712/events","html_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1712","id":332915587,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1Mjg0MTEy","number":1712,"title":"Add thorough product addition","user":{"login":"huzaifaiftikhar","id":10832531,"node_id":"MDQ6VXNlcjEwODMyNTMx","avatar_url":"https://avatars2.githubusercontent.com/u/10832531?v=4","gravatar_id":"","url":"https://api.github.com/users/huzaifaiftikhar","html_url":"https://github.com/huzaifaiftikhar","followers_url":"https://api.github.com/users/huzaifaiftikhar/followers","following_url":"https://api.github.com/users/huzaifaiftikhar/following{/other_user}","gists_url":"https://api.github.com/users/huzaifaiftikhar/gists{/gist_id}","starred_url":"https://api.github.com/users/huzaifaiftikhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huzaifaiftikhar/subscriptions","organizations_url":"https://api.github.com/users/huzaifaiftikhar/orgs","repos_url":"https://api.github.com/users/huzaifaiftikhar/repos","events_url":"https://api.github.com/users/huzaifaiftikhar/events{/privacy}","received_events_url":"https://api.github.com/users/huzaifaiftikhar/received_events","type":"User","site_admin":false},"labels":[{"id":923078189,"node_id":"MDU6TGFiZWw5MjMwNzgxODk=","url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/labels/GSoC%202018","name":"GSoC 2018","color":"7fe0d3","default":false},{"id":805420834,"node_id":"MDU6TGFiZWw4MDU0MjA4MzQ=","url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/labels/product%20addition","name":"product addition","color":"d0c9ff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":48,"created_at":"2018-06-15T21:12:18Z","updated_at":"2018-07-25T15:06:08Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/pulls/1712","html_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1712","diff_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1712.diff","patch_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1712.patch"},"body":"## Description\r\n* Implemented the UI of the product addition activity\r\n* Added auto-complete for countries, categories, labels and traces (allergens).\r\n* Added auto-complete for EMB code dynamically from server.\r\n* Added basic checks for nutrition values.\r\n  * pH shouldn't exceed 14.\r\n  * Alcohol % shouldn't exceed 100%.\r\n  * Sum of sugar and starch should be less than carbohydrate.\r\n* Added OCR for ingredients.\r\n* Modify product addition to work for all the app flavors.\r\n* Added option to scan QR code of product website or even search for product website.\r\n* Added offline mode for product addition.\r\n* Complete product addition possible for OFF, OBF, OPF and OPFF.\r\n* Updated UI of Offline edit list.\r\n* Added checks when uploading a product saved offline. If the product being uploaded is already present on the server it is checked that if it has an existing value of product name or ingredients or quantity or link. If any of these value already exist, the user is shown a dialog to choose between his version or the version present on the server. The product is uploaded only after all the conflicting values are resolved by the user.\r\n\r\n## Files Deleted\r\n* `IngredientsProductFragment.java.orig`\r\n* `SaveOfflineSummaryFragment.java`\r\n* `SaveProductOfflineActivity.java`\r\n* `activity_save_product_offline.xml`\r\n* `fragment_offline_summary_product.xml`\r\n\r\n## Related issues and discussion\r\nFixes #1553 \r\nFixes #1554 \r\nFixes #126\r\nFixes #455 \r\nFixes #1724 \r\nCloses #1652 \r\nCloses #1637  \r\nCloses #1623 \r\nCloses #987\r\n\r\n ## Screen-shots, if any\r\n \r\n ## Checklist\r\n \r\nMake sure you've done all the following (You can delete the checklist before submitting)\r\n \r\n - [x] Apply the `AndroidStyle.xml` style template to your code in Android Studio.\r\n - [x] Code is well documented\r\n - [x] Include unit tests for new functionality\r\n - [x] All user-visible strings are made translatable\r\n - [x] Code passes Travis builds in your branch\r\n - [ ] If you have multiple commits please combine them into one commit by squashing them.\r\n - [x] Read and understood the contribution guidelines.\r\n"},"comment":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/comments/407787521","html_url":"https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1712#issuecomment-407787521","issue_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-androidapp/issues/1712","id":407787521,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzc4NzUyMQ==","user":{"login":"TravisBuddy","id":33237381,"node_id":"MDQ6VXNlcjMzMjM3Mzgx","avatar_url":"https://avatars0.githubusercontent.com/u/33237381?v=4","gravatar_id":"","url":"https://api.github.com/users/TravisBuddy","html_url":"https://github.com/TravisBuddy","followers_url":"https://api.github.com/users/TravisBuddy/followers","following_url":"https://api.github.com/users/TravisBuddy/following{/other_user}","gists_url":"https://api.github.com/users/TravisBuddy/gists{/gist_id}","starred_url":"https://api.github.com/users/TravisBuddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravisBuddy/subscriptions","organizations_url":"https://api.github.com/users/TravisBuddy/orgs","repos_url":"https://api.github.com/users/TravisBuddy/repos","events_url":"https://api.github.com/users/TravisBuddy/events{/privacy}","received_events_url":"https://api.github.com/users/TravisBuddy/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T15:06:08Z","updated_at":"2018-07-25T15:06:08Z","author_association":"NONE","body":"Hey @huzaifaiftikhar, \nSomething went wrong with the build.\n\nTravisCI finished with status `errored`, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.\n"}}
{"actor":{"display_login":"TravisBuddy"}}