Commit Graph
1202 Commits
Author SHA1 Message Date
Vincent Jacques 3eb6aea0c1 Merge pull request #249 from lurch/patch-1
documentation typos
2014-05-27 08:38:24 -07:00
Andrew Scheller 959bc27f2d documentation typos 2014-05-27 09:44:35 +01:00
Vincent Jacques b64b0d6942 Publish version 1.25.0 2014-05-04 13:08:03 -07: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
Vincent Jacques 72d3c05bac Merge branch 'develop' of https://github.com/tylertreat/PyGithub into develop 2014-05-04 12:10:35 -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 f7cbf560ab Typo 2014-03-23 19:27:09 -07:00
Vincent Jacques c2d541e3b8 Put v2 alpha 2 in main Readme 2014-03-23 19:21:59 -07:00
Vincent Jacques 5e7d45a2f8 Publish version 1.24.1 2014-03-16 11:43:59 -07: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 95cd63f08c Typos 2014-03-02 21:26:59 -08:00
Vincent Jacques 2e74c7d9ea Publish version 1.24.0 2014-03-02 21:05:31 -08: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 6f178f6f08 Merge branch 'pr224' 2014-03-02 20:48:28 -08:00
Vincent Jacques 07c026742c Restore coverage for several previous PRs 2014-03-02 20:48:13 -08:00
Vincent Jacques ec810e29f2 Merge branch 'develop' 2014-03-02 19:55:43 -08:00
Vincent Jacques d754301dce Readme 2014-03-02 19:54:29 -08:00
Thialfihar 6ef3a0220f Fix add_attribute insertion logic
The code didn't work if it couldn't find a property in the file
that is lexicographically greater than the new attribute.
It now accepts _identity as an "end point" to insert before, and
empty lines in _initAttributes() and _useAttributes(), as they mark
the end of the method.

Also add "float" as a possible type, mainly for the "score" attribute
in search results.
2014-02-08 21:06:43 +01: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 f69c3edb84 Adapt doc generation to v1/v2 2014-01-26 12:13:11 -08:00
Vincent Jacques b7e58c74d1 Merge pull request #221 from clouserw/patch-1
fix typos
2014-01-13 17:02:33 -08:00
Wil Clouser 36084e6488 one more typo 2014-01-13 16:48:59 -08:00
Wil Clouser 9ecb3a8fb7 fix typos 2014-01-13 16:47:56 -08:00
Vincent Jacques 8a8505cf30 Add reference of import twitter 2013-12-23 19:56:16 -08:00
Vincent Jacques 937c7fccf5 Publish version 1.23.0 2013-12-23 19:51:36 -08: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
Vincent Jacques fefb13d721 Merge pull request #218 from farrd/master
Can now specify assignee as a string
2013-12-23 19:27:00 -08:00
Vincent Jacques 6767e75c52 Fix #216: handle 'Link' header
Headers with capitals are returned by http.client (replacing httplib in Python 3)
2013-12-23 19:25:11 -08:00
Cameron White 36352598ae Added onetime_password to create_authorization
github.AuthenticatedUser.create_authorization has been modified to
support two-factor authentication. When two-factor authentication
is enabled create_authorization will throw an TwoFactorException.
The onetime password can be then be passed to create_authorization
on a subsequent call.
2013-12-19 04:05:26 -08:00
David Farr 031471d685 meeting coding conventions 2013-12-16 17:00:52 -08:00
David Farr ce3fb533e0 adding the tests for issue 214 2013-12-16 16:24:24 -08:00
David Farr 10bbfc1def Now accepts strings for assignee.
When calling pygithub for calls associated with assignees you can now simply pass a string instead of a NamedUser object. This applies to the following methods:
- issue.edit()
- repo.create_issue()
- repo.get_issues()
- repo.has_in_assignees()
- repo.has_in_collaborators()
- repo.remove_from_collaborators()
- repo.add_to_collaborators()
2013-12-16 11:15:17 -08:00
Vincent Jacques 66edeb601f Publish version 1.22.0 2013-12-15 18:11:19 -08:00
Vincent Jacques eeaf893e9e Remove Python 2.5 which seems broken on Travis
https://travis-ci.org/jacquev6/PyGithub/jobs/15501387
2013-12-15 18:00:49 -08:00