Commit Graph
707 Commits
Author SHA1 Message Date
Sebastien Besson 31f4b1bd62 Add support for filter/role options in Organization.get_members() 2015-08-18 11:57:25 +01:00
edhollandAL e99ab3caf7 Merge pull request #1 from edhollandAL/develop
Freshen master with changes from develop
2015-05-08 14:57:59 +01:00
Ed Holland ed466343d3 Fix style problems in new code 2015-04-24 10:18:00 +01:00
Ed Holland 906d8d8ed2 Add support for github releases. Includes methods for creating + getting releases, but no support for assests yet 2015-04-24 10:15:18 +01:00
Brian Eugley 9be7506f15 code improvement 2015-04-15 15:50:30 -04:00
Brian Eugley f035591d70 Get proxy info from http_proxy first, HTTP_PROXY second 2015-04-15 15:23:17 -04:00
Brian Eugley 7c79c1b80b Connect through a proxy with authentication 2015-04-15 13:56:46 -04:00
Jimmy Zelinskie 75e0430421 Merge pull request #305 from Jucyio/develop
Add support to create Repository objects lazily in MainClass.
2015-04-02 12:01:25 -04:00
Uriel Corfa b4de74531a Add support to record tests using the oauth token instead of a
username/password. This lets people whose account uses 2-factor
authentication record tests.
2015-03-26 21:17:57 -07:00
Uriel Corfa 626d29c938 Add support to create Repository objects lazily in MainClass.
This lets users do the following without issuing an unnecessary request:

issues_of_my_repository = g.get_repo('PyGithub/PyGithub').get_issues()

Since the GithubObject layer handles laziness transparently, lazy
loading is enabled by default, and can be disabled via the `lazy`
kwarg. This does not affect any test except tests that pertain to
caching or laziness itself.
2015-03-26 20:56:27 -07:00
Jimmy Zelinskie ca13204dd5 Merge pull request #290 from ndahlquist/develop
Change InputGitAuthor to reflect that time is an optional parameter.
2015-03-18 15:20:30 -04:00
Jimmy Zelinskie 5e34bfeb2e Merge pull request #294 from dpocock/dpocock-accept
Allow access to preview versions of the server-side API
2015-03-18 15:16:45 -04:00
Jimmy Zelinskie 5036d4bcb2 Merge pull request #284 from xorel/develop
Add team membership add call
2015-03-18 15:13:21 -04:00
Jimmy Zelinskie 5cc9b1e193 Merge pull request #295 from ewalker11/develop
Fix paginated list handling of 204 No Content
2015-03-03 12:51:04 -05:00
Jimmy Zelinskie 4e7d9ac138 Merge pull request #292 from jondb/master
Added sort option to get_pulls.
2015-03-03 12:48:24 -05:00
Eliot Walker 47a6edc880 Use more primitive asserts for Python 2.6 2015-02-06 14:32:02 -08:00
Eliot Walker a03f796f01 Fix paginated list handling of 204s 2015-02-06 13:47:14 -08:00
Daniel Pocock cd8fe788e4 Allow access to preview versions of the server-side API 2015-02-03 11:56:13 +01:00
Jonathan Debonis adb9e07a30 Added sort option to get_pulls. 2015-01-29 16:08:35 -08:00
Nic Dahlquist 3bd3f0c807 Change InputGitAuthor to reflect that time is an optional parameter. 2014-12-26 19:22:32 -08:00
Andy Casey 7d4cda5497 Post context information when creating status
as per https://developer.github.com/v3/repos/statuses/#create-a-status
2014-12-24 00:18:17 +11:00
Jimmy Zelinskie 33b9ce9658 Remove URL scheme assertion.
This part of the URL isn't used and can be wrong due to bugs in GitHub
Enterprise.
2014-12-15 15:00:40 -05:00
Jan Orel 16d0a8bf55 Add team membership call 2014-11-10 14:01:07 +01:00
Vincent Jacques aadc286839 Work-around Issue278 2014-10-07 18:45:30 -07:00
Vincent Jacques b402e5ddd5 Merge commit 'pull/275/head' 2014-09-28 13:45:52 -07:00
Tomas Radej cff1a422c2 Capitalization of the 2FA OTP request header 2014-09-24 11:49:55 +02:00
Andrew Scheller 959bc27f2d documentation typos 2014-05-27 09:44:35 +01:00
Vincent Jacques abca7a026e pep8
This is strange, maybe Cygwin's version is stricter.
No time to investigate.
2014-05-04 12:54:05 -07:00
Vincent Jacques ca0132f6c7 Merge branch 'pr247' into develop 2014-05-04 12:46:16 -07:00
Vincent Jacques 12900865ed Prepare merge of #247
- refactor Gists tests
- re-add Gist.user to not break client code (value as been None for a while, but let's not remove the attribute)
2014-05-04 12:45:44 -07:00
Vincent Jacques 580528876a Acknowledge some lack of test coverage 2014-05-04 12:18:00 -07:00
Dale Jung 233d9d6759 v3 changes gist.user to gist.owner 2014-04-24 11:05:24 -04:00
Tyler Treat 0ddfaaca01 Implement support for getting repo by id
This allows the Github class to retrieve repos by either their full name
or id. If the user passes in an id for a repo which doesn't exist or in which
they don't have sufficient permissions, an UnknownObjectException will
be raised. This addresses issue #245.
2014-04-22 21:12:22 -05:00
Vincent Jacques 9f2ac570f8 Fix urlencoding for search (see #237)
Parameters are encoded in Requester => simply remove urllib.quote
Path needs to be encoded => change to urllib.quote_plus as in #237
2014-03-16 10:47:31 -07:00
Vincent Jacques 836b1f6b84 Merge branch 'fix_search_quoting' of https://github.com/cro/PyGithub into pr/237 2014-03-16 10:07:28 -07:00
Vincent Jacques e79dd520e3 Fix ContentFile.decoded_content for Python 3.0 to 3.2 2014-03-16 10:01:47 -07:00
C. R. Oldham 972a91e4cc Change quote to quote_plus and avoid double-escaping some problematic characters. 2014-03-06 11:16:11 -07:00
Vincent Jacques 87dbb94cee Fix doc (#224) 2014-03-02 21:01:34 -08:00
Vincent Jacques 8bd6a4059e Fix tests for Python 3 2014-03-02 20:57:05 -08:00
Vincent Jacques 07c026742c Restore coverage for several previous PRs 2014-03-02 20:48:13 -08:00
Thialfihar 59e92f89bd Add decoded_content property to ContentFile
The only encoding currently supported is base64, but that's ok, since
v3 of the GitHub API only mentions base64.
2014-02-08 21:06:43 +01:00
Thialfihar 3afae930a7 Add code search
Code search results are content resources with an embedded repository.
The "content" and "encoding" attributes aren't returned and require
completion.
2014-02-08 21:06:43 +01:00
Thialfihar b1524e290c Add issue search
Qualifiers can be added via keyword args in order to keep the method
uncluttered. Qualifiers could also be given in the query string
directly.
2014-02-08 21:06:43 +01:00
Thialfihar b1e60eb95b Add user search
Qualifiers can be added via keyword args in order to keep the method
uncluttered. Qualifiers could also be given in the query string
directly.
2014-02-08 21:06:43 +01:00
Thialfihar b5faac0144 Add repository search
Qualifiers can be added via keyword args in order to keep the method
uncluttered. Qualifiers could also be given in the query string
directly.
2014-02-08 21:06:42 +01:00
Thialfihar 9a51a61e3f Make PaginatedList support the search wrapper JSON
For /search resources the resulting JSON contains 'total_count' and
'items'. The latter is the list PaginatedList expects, so just
transparently use that list. Everything else works just like other
lists.

Also change __grow()'s visibility to allow PaginatedList to use it
in order to peek at 'total_count', making it available as a property.
2014-02-08 16:45:59 +01:00
Vincent Jacques 4dfc3dec5f Merge branch 'develop' 2013-12-23 19:40:04 -08:00
Vincent Jacques 8c9da4d7f3 Merge branch 'pr220' into develop 2013-12-23 19:38:53 -08:00
Vincent Jacques f74c95a944 Integrate #220 (fix tests and pep8) 2013-12-23 19:38:39 -08:00
Vincent Jacques 411262d289 Merge branch 'develop' 2013-12-23 19:32:28 -08:00