{"push_id":664863246,"size":4,"distinct_size":4,"ref":"refs/heads/new-tm-endpoints-rhbz1209669","head":"e572cf6bc6e4bd99810ebdf7fd767e8c041cbeb2","before":"7f17e9b93504b5ca276ae0673bf12cbf35053e74","commits":[{"sha":"6cf75833246c02dc6415c9b50a5b61517ef7ba6f","author":{"email":"45267a5738032eb55b553853dea3995b0887ed4f@gmail.com","name":"David Mason"},"message":"Workaround TM result coalescing bug.\n\nRefactors the match processing code to make it clearer what type of\nmatch is being added to a result item, and makes a few small changes\nto minimize the incorrect behaviour:\n\n - No longer adds imported TM item id to the list that is used to look\n   up text flows.\n\n       A more complete fix is to wrap the Long id in a type so that\n       all the ids are present and can be used sensibly. This just\n       makes the list appropriate for the code that uses it right\n       now, to delay spending the development time for the full fix.\n\n - Upgrades match type when a match has a higher match type, where\n   ApprovedInternal > TranslatedInternal > Imported.\n\n       Imported is treated as lowest just because the editor suppresses\n       details display for Imported. Treating the others as higher will\n       allow users to see text flow details for the other types.\n\n       The full fix for this would be to inculde a summary of all the\n       match types in the DTO, so the editor can display whatever\n       makes sense.","distinct":true,"url":"https://api.github.com/repos/zanata/zanata-server/commits/6cf75833246c02dc6415c9b50a5b61517ef7ba6f"},{"sha":"4050e04f18eea5d487d887e9f4943cfc5fbc5744","author":{"email":"45267a5738032eb55b553853dea3995b0887ed4f@gmail.com","name":"David Mason"},"message":"Add DTOs for suggestions and suggestion detail.\n\nThese DTO classes are only configured to serialize to JSON, and I have\nnot considered deserialization since this is query data and not expected\nto be uploaded to the server.","distinct":true,"url":"https://api.github.com/repos/zanata/zanata-server/commits/4050e04f18eea5d487d887e9f4943cfc5fbc5744"},{"sha":"837703a367ba2137719070162871c69919280da1","author":{"email":"45267a5738032eb55b553853dea3995b0887ed4f@gmail.com","name":"David Mason"},"message":"Add method to get suggestions from TM service.\n\nI have avoided changing the existing code paths for TM search for now\nsince it is a performance-critical component for translation copy. We\nshould combine the code paths in a separate operation as long as it\ndoes not impact on performance.","distinct":true,"url":"https://api.github.com/repos/zanata/zanata-server/commits/837703a367ba2137719070162871c69919280da1"},{"sha":"e572cf6bc6e4bd99810ebdf7fd767e8c041cbeb2","author":{"email":"45267a5738032eb55b553853dea3995b0887ed4f@gmail.com","name":"David Mason"},"message":"Add REST endpoint for suggestions for editor.","distinct":true,"url":"https://api.github.com/repos/zanata/zanata-server/commits/e572cf6bc6e4bd99810ebdf7fd767e8c041cbeb2"}]}