Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-06-06EGit Github Mylyn Connector v2.0.0.201206060730-rc3Matthias Sohn17-17/+17
Change-Id: I47813b1a6a77ebf4283a44a967c78c0ba6a2c9cc Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-31Prepare next 2.0.0-SNAPSHOT buildsMatthias Sohn17-17/+17
Change-Id: I81b88be231b7f0730536e82560524bd31af4bb36 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-30EGit GitHub Connector v2.0.0.201205301645-rc2Matthias Sohn17-17/+17
Change-Id: Ie5e24ee048218b9eff5ce1cf9c308f5e49dca57e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-30Fix relative path to EGit p2 repository for local buildMatthias Sohn1-1/+1
This path changed since EGit updated to use Tycho 0.14.1 and replaced the deprecated Tycho packaging type eclipse-update-site by eclipse-repository and adapted project names accordingly. Change-Id: I7389710eb6989be9f967b91d3d77f88686251718 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-09Don't call sendParams when params are nullKevin Sawicki1-1/+2
Setting the content length on an empty DELETE request is not needed Change-Id: I7e0e0e18b3ae262751d9feeb924a8dbc0277af3b
2012-05-08Consume Mylyn 3.7 APIsSteffen Pingel10-36/+26
Several internal classes were promoted to API in Mylyn 3.7 and deprecated. The GitHub connector should consume the new APIs since deprecated classes are going to be removed for Mylyn 3.8. Change-Id: Idab168d16247f00bb9d9ce6e4bbc64817b749380 Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-05-03Removes throws IOException declaration from page callsKevin Sawicki3-44/+18
These don't actually throw exceptions and were declared this way mistakenly in the initial implementation Change-Id: Ib2bb903f02881a5b840558219462e528cbb42c12
2012-04-25Call pageGists from getGistsKevin Sawicki2-3/+3
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 Sawicki2-11/+60
Previously only the entire list could be fetched but paging should be supported as well. Change-Id: I672cd76abc87916d5d05432f920d171f23a8f1bf
2012-04-20Moves upper bound on gson dependency from < 2.0.0 to < 2.2.0thallgren1-3/+3
Eclipse Orbit is currently at 2.1.0. This commit updates the manifest to accept 2.1.x versions. Change-Id: Iefbf77964e7a1b20b2c83468aba1025d0c0ac0f5
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 Sawicki4-12/+103
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-17Store current rate limit headers after each request madeKevin Sawicki1-0/+62
Provide these parsed values so callers know how close they are to approaching the rate limit on client requests Change-Id: I30ba72d01abbf0cb820634105c3c780b07d6ad9c
2012-04-17Ignore exceptions when closing output streamKevin Sawicki1-1/+6
This maintains consistency with how exceptions are handled when closing the input stream. Change-Id: Ie49a124a2e4e16b1b850c246a298c0be681f0914
2012-04-12Clarify issue number is required instead of issue idKevin Sawicki1-98/+101
Issues have both a number and id and the methods in IssueService take a repository id and issue number yet many methods contained incorrect documentation stating the issue id needed to be specified as a parameter. Change-Id: I6ef6611cdd678f1f589656450b801b519e0619a1
2012-04-12Always set content length on PUT/POST/DELETE requestsKevin Sawicki1-15/+16
This prevents a 411 Length Required exception from being thrown on requests where no body is sent Change-Id: I663e5c55dd43a0f54c725e1479584b01f2edf911
2012-04-11Add target org as URL parameter instead of JSON post dataKevin Sawicki2-5/+3
Change-Id: I4a0272393ab0feffb3459507ca140dfe984c6e95
2012-04-09Add missing note and note_url fields to AuthorizationEddie Ringle2-0/+40
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 Sawicki3-103/+98
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-09Set JsonParseException as cause of thrown IOExceptionKevin Sawicki1-2/+8
Previously the message was just used and the cause exception discarded. Change-Id: I758d78efd8f506bc8f4a06970d8f9de36bc4bc52
2012-04-06Increment User-Agent version to 2.0.0Kevin Sawicki1-1/+1
Change-Id: I92fb14d506fe08e16281fe2ec2b0614f09d589f1
2012-04-06Add support for PullRequestReviewCommentEvent typeKevin Sawicki5-7/+112
Change-Id: I4bd892e6746a8e9a4f127f7acaf7cb64077e7ee5
2012-04-06Add event types as static fields on Event classKevin Sawicki2-17/+120
These can be used to determine the payload class to expect to be provided by the event. Change-Id: Ided3a379ea383b44b1ed03317333375818b0aeb0
2012-04-05Use static imports for constants from PagedRequestKevin Sawicki1-47/+52
Stays consistent with the import style used throughout the project. Change-Id: If4291b489e346458ee3ee9752c8c867cb486152e
2012-04-05Add missing space before '{' and format class header commentKevin Sawicki1-4/+4
Change-Id: Ia9b7723d47682f285b228f513a1d916d515ddc5b
2012-04-05Add the gravatar id field to the User modelEddie Ringle3-8/+30
Change-Id: Id9cc14c5eda40584e7a097ff64ff802f4e252618 Signed-off-by: Eddie Ringle <eddie@eringle.net> Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-02-29Upgrade Maven Central POM file to use GSON 2.1Kevin Sawicki1-1/+1
Change-Id: I6b441d2ca20df2cecb304bd9510427aa079b8048
2012-02-29Handle 202 Accepted and 409 Conflict response codesKevin Sawicki1-0/+4
Change-Id: Id7bf48b03ee3f333ce0f8c5ea39122e5defb2e89
2012-02-16Guard against empty request body on errorsKevin Sawicki1-4/+10
Creating a RequestException should only be performed if a RequestError was successfully parsed from the response body. An IOException should be created in cases where the request error was missing. Change-Id: I39abc38c1e30428399c04ce3adf1dea35a8ce2ac
2012-02-16Use login instead of name field for issue assigneeKevin Sawicki2-2/+2
Login is the proper field to identify the assignee, name is non-unique and not required Change-Id: I648c8eb012b8db3bb887998c6f551269c442fb15
2012-02-16Set milestone to empty string when clearingKevin Sawicki1-1/+1
If the client is configured to not serialize nulls then it becomes impossible to clear the milestone if null is inserted here instead of empty string Change-Id: Iba384050de43d4e81077b6316147354fb0b52c22
2012-02-16Prepare 2.0.0-SNAPSHOT buildsMatthias Sohn17-66/+66
Change-Id: I829628112e5324ba83e1205dc50762f0a01a018c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-16Merge branch 'stable-1.3'Matthias Sohn0-0/+0
* stable-1.3: Prepare post 1.3.0.201202151440-r builds EGit Github 1.3.0.201202151440-r Change-Id: I1c6a5bf9a9defd99b261620e373ed224626a00ea Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-16Prepare post 1.3.0.201202151440-r buildsstable-1.3Matthias Sohn17-17/+17
Change-Id: I280e2bfc02df2c65d023e345e6b731fa8f53d9c9 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-15EGit Github 1.3.0.201202151440-rv1.3.0.201202151440-rMatthias Sohn17-17/+17
Change-Id: I1e2dfa9ec75f6493b4be4783b40b39340d1fda89 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-13Merge branch 'stable-1.3'Matthias Sohn7-10/+130
* stable-1.3: Prepare post 1.3.0.201202121842-rc4 builds EGit GitHub 1.3.0.201202121842-rc4 Support editing specific repository fields only Update build to use the Indigo SR2 orbit repository Add the RepositorySearchWizardPage to the EGit import wizard Update .eclipse_iplog for 1.3.0 Change-Id: Ieba2b3364bcd2f01abef559c5eead6ac68d27f01 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-13Prepare post 1.3.0.201202121842-rc4 buildsMatthias Sohn17-17/+17
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 Sohn17-17/+17
Change-Id: I5f1573a4faad7f796bf6fb9df582dbbeb9a45272 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-10Support editing specific repository fields onlyKevin Sawicki2-0/+93
This overloads RepositoryService.editRepository to take a map of the fields that should be changed on the repository Bug: 371062 Change-Id: Ie13a22b6af795c58d30858c493436c51ff864e3a
2012-02-09Update build to use the Indigo SR2 orbit repositoryMatthias Sohn1-1/+1
This was requested on the cross list for Indigo SR2 builds [1]. [1] http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg07166.html Change-Id: I4fbe4f328044b4fc1ff1a861aa14dc117afcdd7a Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-01-30Merge "Add the RepositorySearchWizardPage to the EGit import wizard" into ↵Kevin Sawicki3-3/+35
stable-1.3
2012-01-30Add the RepositorySearchWizardPage to the EGit import wizardStefan Lay3-3/+35
In this first version we just clone the repository without further configuration. Change-Id: Ia1fb391dfc18771c51a9727d7946f53403c5a3bb Signed-off-by: Stefan Lay <stefan.lay@sap.com> Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-01-27Update .eclipse_iplog for 1.3.0Matthias Sohn1-6/+1
Usage of Apache HTTP client was removed in the following changes - ca40854c Drop dependency on Apache HttpComponents (HC) - 6f3bc9c4 Remove Apache HttpComponents dependency from tests - 65ed388d Remove dependencies on Apache HttpComponents - 7478f4aa Remove no longer needed dependency to org.apache.http - b429472a Update README for changes to build and dependencies Hence we can remove this dependency from the IP log. Change-Id: I21cd2b088352a28819ebe39e66f54bf8d9a4df34 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-01-12Treat 410 (Gone) response codes as parseable JSON errorsKevin Sawicki1-0/+2
Change-Id: Ie74a98bf2c5ec0b0ad9b49a78f1e8539a67426f1
2012-01-12Add missing id field to Event model classKevin Sawicki2-0/+20
Change-Id: Ia00a5808654178d00c9b2498521e16843a1cc369
2012-01-10Update README for changes to build and dependenciesKevin Sawicki1-18/+7
Apache HttpComponents is no longer required and neither is the custom build step for Android deployments Change-Id: Idba76185e50309a423dd8b06b026db9f2bb37f8e
2012-01-10Overload methods to take an IRepositoryProviderKevin Sawicki2-5/+252
This is an alternative to take a String owner and name Change-Id: Id164e5173fcdba51bcf68aab9069ce5619bd4586
2012-01-06Add missing id field to Issue model classJason Tsay2-0/+20
Change-Id: I76193b1577fce7ed86ba4bf04007d103d9ae48f6 Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-01-06Add missing id field to PullRequest model classJason Tsay2-0/+20
Change-Id: Id9f9314c0f24c90c4fec6b6bd36fc83766f18b53 Signed-off-by: Kevin Sawicki <kevin@github.com>

Back to the top