Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-09-19Prepare 2.1 maintenance buildsstable-2.1Matthias Sohn2-2/+2
Change-Id: I16967c5179ee9fae05136a42a36f72a7b4c73184 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-09-19EGit GitHub Mylyn Connector v2.1.0.201209190230-rv2.1.0.201209190230-rMatthias Sohn2-2/+2
Change-Id: I823a10b3dd7b3dfce113240d170eb1f92605ee6a Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-07-30Use a POST instead of a PUT when editing repository hooksKevin Sawicki1-1/+1
Bug: 386254 Change-Id: Ib17bdcf49ce090983d2ef99a8bf57ba87f36f410
2012-07-26Add comment count field to Commit model classKevin Sawicki1-0/+2
Change-Id: I6c61df58daee9b5877e7d0e63caa58b436ec90d9
2012-07-20Add before field to PushPayload event modelKevin Sawicki1-0/+2
Change-Id: I2ae20c7b2c65590ed8fbd6982c0a9ce4f4413b03
2012-06-27Add milestone and assignee to PullRequest model classKevin Sawicki1-0/+8
Change-Id: I4d5d999d6dc8820a8aaba533fd3f8df17e8aa297
2012-06-25Add service support for editing a labelKevin Sawicki1-0/+45
Change-Id: I816837e62aa02788db53c6afc57b8dc4b839171e
2012-06-25Add service support for editing a milestoneKevin Sawicki1-0/+26
Change-Id: I8a84d8be64eb74ec0c22ad7f9200205363e925f8
2012-06-14Prepare 2.1.0 buildsMatthias Sohn2-7/+7
Change-Id: Iebadde984097f161872816bfc50502678ae9a2c7 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-14Prepare post 2.0.0.201206130900-r buildsstable-2.0Matthias Sohn2-2/+2
Change-Id: I0848dcb46a856cf92bec16718402220575331fcd Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-13EGit Github Mylyn Connector 2.0.0.201206130900-rv2.0.0.201206130900-rMatthias Sohn2-2/+2
Change-Id: I0988516f3942197223adf0972faea6ec000d0b4d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-12Add legacy support for searching issuesKevin Sawicki3-0/+158
IssueService now supports searching for opened or closed issues in a repository that match a given query. Change-Id: I054614b685726f9261a898f2e94215fbb460c728
2012-06-06Use API v3 endpoint for repository search APIKevin Sawicki2-20/+4
API v2 is being removed and is now provided as a legacy v3 API. Change-Id: Id1dea03486893b25012ae72518910a7d1bb3f4b9
2012-06-06Prepare next 2.0.0-SNAPSHOT buildsMatthias Sohn2-2/+2
Change-Id: I3cacfbabb67f715a6d59b9fa39a9cb161ba5f54b Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-06EGit Github Mylyn Connector v2.0.0.201206060730-rc3Matthias Sohn2-2/+2
Change-Id: I47813b1a6a77ebf4283a44a967c78c0ba6a2c9cc Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-31Prepare next 2.0.0-SNAPSHOT buildsMatthias Sohn2-2/+2
Change-Id: I81b88be231b7f0730536e82560524bd31af4bb36 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-30EGit GitHub Connector v2.0.0.201205301645-rc2Matthias Sohn2-2/+2
Change-Id: Ie5e24ee048218b9eff5ce1cf9c308f5e49dca57e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-04-25Call pageGists from getGistsKevin Sawicki1-0/+2
This ensures the paging logic is exercised when all pages are directly read and follows the pattern used in other service classes. Change-Id: Iacb25a1bcd36c16e6d999f60b5ba3a42575673b6
2012-04-25Add support for paging over starred gistsKevin Sawicki1-0/+14
Previously only the entire list could be fetched but paging should be supported as well. Change-Id: I672cd76abc87916d5d05432f920d171f23a8f1bf
2012-04-18Add RepositoryIssueTest to AllHeadlessTestsKevin Sawicki1-0/+1
Change-Id: If40da86b6a2a01d45e3866f90b8267379fc008fd
2012-04-18Update iterator collection type in IssueTestKevin Sawicki1-1/+2
Page iterator now returns a RepositoryIssue collection instead of Issue. Change-Id: I370764abf9f78e101a7f138c3694eaa7eeec4429
2012-04-18Add RepositoryIssue model class that includes repositoryKevin Sawicki2-2/+46
This type of object is returned from IssueService for requests that don't require a repository id to be specified such as all the watched issues for the currently authenticated user. This new model class simply extends Issue and adds a single Repository field. Change-Id: I08829493fadd2493a6ff29d2e7dba6d8033de423
2012-04-11Add target org as URL parameter instead of JSON post dataKevin Sawicki1-2/+1
Change-Id: I4a0272393ab0feffb3459507ca140dfe984c6e95
2012-04-09Add missing note and note_url fields to AuthorizationEddie Ringle1-0/+4
Change-Id: I3d23f91e0f8e1c2eedbe90b81fca7db7a3e21f84 Signed-off-by: Eddie Ringle <eddie@eringle.net> Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-04-09Use custom deserializer for Event classKevin Sawicki1-17/+37
Using newer streaming versions of Gson causes deserialization problems if the payload is before the type field in the returned JSON using the current custom Event formatting. This changes the behavior to use an internal custom Gson instance just to handle parsing events that allows a chance to check the type and create the custom payload before the Event object is returned to any service callers. This approach simplifies the code but does require an additional Gson instance to be kept around to handle the default serialization of the top-level Event fields. Change-Id: Ic10a755bbf798ec2d1d4a4c53ccd9154e0cb91e2
2012-04-06Add support for PullRequestReviewCommentEvent typeKevin Sawicki2-7/+61
Change-Id: I4bd892e6746a8e9a4f127f7acaf7cb64077e7ee5
2012-04-05Add the gravatar id field to the User modelEddie Ringle2-8/+12
Change-Id: Id9cc14c5eda40584e7a097ff64ff802f4e252618 Signed-off-by: Eddie Ringle <eddie@eringle.net> Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-02-16Prepare 2.0.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I829628112e5324ba83e1205dc50762f0a01a018c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-13Prepare post 1.3.0.201202121842-rc4 buildsMatthias Sohn2-2/+2
Change-Id: I062c0932c056083caf7e641baae808877ebed9a7 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-13EGit GitHub 1.3.0.201202121842-rc4v1.3.0.201202121842-rc4Matthias Sohn2-2/+2
Change-Id: I5f1573a4faad7f796bf6fb9df582dbbeb9a45272 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-10Support editing specific repository fields onlyKevin Sawicki1-0/+50
This overloads RepositoryService.editRepository to take a map of the fields that should be changed on the repository Bug: 371062 Change-Id: Ie13a22b6af795c58d30858c493436c51ff864e3a
2012-01-12Add missing id field to Event model classKevin Sawicki1-0/+2
Change-Id: Ia00a5808654178d00c9b2498521e16843a1cc369
2012-01-10Overload methods to take an IRepositoryProviderKevin Sawicki1-0/+77
This is an alternative to take a String owner and name Change-Id: Id164e5173fcdba51bcf68aab9069ce5619bd4586
2012-01-06Add missing id field to Issue model classJason Tsay1-0/+2
Change-Id: I76193b1577fce7ed86ba4bf04007d103d9ae48f6 Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-01-06Add missing id field to PullRequest model classJason Tsay1-0/+2
Change-Id: Id9f9314c0f24c90c4fec6b6bd36fc83766f18b53 Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-01-05Add missing unit tests to AllHeadlessTestsKevin Sawicki1-0/+2
Change-Id: I9e3fb6c6397a6dc3f9fe165de4efe245bb4ee62d
2012-01-05Add service support for comparing commitsKevin Sawicki2-0/+131
Bug: 367807 Change-Id: I56ba82ed790449114f962c0b6fb8ec449910a21f
2011-12-27Overload methods to take an IRepositoryIdProvider parameterKevin Sawicki2-3/+130
This commit makes MilestoneService and LabelService consistent with other services Change-Id: Idd08a3e739504989970d297893500600f9e0962e
2011-12-20Overload methods to take an IRepositoryIdProvider parameterKevin Sawicki1-0/+88
IssueService was one of the original services before IRepositoryIdProvider was introduced so methods to get issues and issue comments still take both a String user and String repository parameter. This commit makes IssueService consistent with other services. Change-Id: Ieb535342c00ec994e51560e16ce687d12068b987
2011-12-16Add missing bodyText and bodyHtml fieldsKevin Sawicki3-0/+12
These fields are present when certain values are specified in the Accept header of the request Change-Id: Idccdaeb8fa01848e172bb7549fd1ece3dec18092
2011-12-14Add missing id and updated at fields to Repository modelKevin Sawicki1-0/+5
Change-Id: I4f9f6ca91af76de852961854f869bc98c582c667
2011-12-14Create model class for event repositoryKevin Sawicki2-3/+49
The repository information included in the Events API does not match the current Repository class and so a new class was added to capture just the specific fields present Change-Id: I6521813bfbf6d85797a1348f48b029192fc89d85
2011-12-14Make CommitCommentPayload utilize the CommitComment objectEddie Ringle1-2/+3
Change-Id: If591079a5f8767d7d4c432301b28f57e2a61f6b3 Signed-off-by: Eddie Ringle <eddie@eringle.net>
2011-12-13Add service support for Event APIJason Tsay24-0/+1265
Implements support for the GitHub Event API. Event payload returned as an EventPayload object (which is empty) and is left to the caller to cast to the appropriate payload subclass. Page model class also added to support GollumEvent payload. Bug: 364424 Change-Id: I3ed4f7f74e394ce8ad60dcdde6a99e510ade59dc Signed-off-by: Kevin Sawicki <kevin@github.com> Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2011-12-13Remove Apache HttpComponents dependency from testsKevin Sawicki4-8/+6
Only constants were being used that were also available from the HttpURLConnection class Change-Id: I5c1376ab7791143985c2fe21e417b332549c9366
2011-12-12Drop dependency on Apache HttpComponents (HC)Kevin Sawicki3-19/+9
HC was used sparingly and added several additional JAR requirements that made the GitHub Java API unusable on Android due to these dependencies. A HttpURLConnection is now used instead to make all request types. Change-Id: I82e442139d3adec3d2331f279bde69320b13638d Signed-off-by: Kevin Sawicki <kevin@github.com>
2011-12-11Prepare 1.3.0 buildsMatthias Sohn2-6/+6
Change-Id: I74c91282833fe672f11ee63d63b87d6c246bef48 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2011-11-10Use file portion instead of entire next page URIKevin Sawicki1-0/+3
Link headers contain the full host name and therefore prefix checking should be done against the file portion only of the URL. Change-Id: I89444f8edfaf818d393179b9d0328f65cf7ff854 Signed-off-by: Kevin Sawicki <kevin@github.com>
2011-11-10Add service support for OAuth authorization APIKevin Sawicki4-1/+274
Change-Id: I18dd6a66d3d6191bfc68b914fec746832d695110 Signed-off-by: Kevin Sawicki <kevin@github.com>
2011-11-10Add missing files and stats from RepositoryCommit classKevin Sawicki3-27/+124
Change-Id: I888ec6b7e3c09177a29bbf5d8f45bf4859eb1ea6 Signed-off-by: Kevin Sawicki <kevin@github.com>

Back to the top