Shubham Singh
3ce0418382
Feature: Search By Topics ( #893 )
2018-09-06 11:44:53 +08:00
Wan Liuyang
fd8a03648a
Adding support for search/graphql rate limit, fixes #553
2018-09-05 12:33:20 +08:00
Steve Kowalik
6732517c1d
Change MainClass.get_repo default laziness ( #882 )
...
MainClass.get_repo() used to default to lazy fetching, which is not what
NamedUser.get_repo() does, so change the default. Fix the tess to pass
lazy=True, so that we don't need to grow 8 ReplayData files with 11
lines of the repository in question.
Fixes #353
2018-08-27 11:57:58 +08:00
Wan Liuyang
ae5cdb285e
Refactor common header constants and custom media type
2018-08-21 15:01:23 +08:00
Wan Liuyang
3f0caa4057
Sync copyright header
2018-08-19 10:47:41 +08:00
Maarten Fonville
8bdac23ca1
Fix github API requests after asset upload ( #771 )
...
In the old code the self.__hostname would be overwritten with uploads.github.com
but it could not be correctly re-set to api.github.com after completing the upload
Create a separate connection if hostname or port differ in requestBlobAndCheck
in the end this became quite a large overhaul, to also make this change generic
for e.g. connecting to status.github.com and similar methods
~~not sure if tests need (more) updating, if so I will update the PR accordingly~~
2018-06-22 12:46:46 +08:00
Joshua Hoblitt
140c648075
increase default timeout to be > github request timeout ( #793 )
...
* increase default timeout to 15s
* Update MainClass.py
2018-05-21 10:39:33 +08:00
Mike Miller
85a9124b09
Add ability to skip SSL verify from requests ( #758 )
2018-04-26 14:46:44 +08:00
Svend Sorensen
1e0150b527
Add get_organizations() ( #748 )
...
* Add get_organizations()
* Add unit tests for get_organizations
2018-04-12 08:50:42 +08:00
Wan Liuyang
b54ccc784e
Implement License API ( #734 )
...
* Implement License API
* Update copyright
2018-04-06 09:17:19 +08:00
Wan Liuyang
3cd176e3c3
Depreciate legacy search API
2018-03-20 20:27:27 +08:00
sfdye
365a0a24d3
Apply fix_headers script to update copyright info
2018-03-17 20:06:16 +08:00
sfdye
58e1ef9ccb
Fix copyright formatting
2018-03-13 22:30:47 +08:00
sfdye
020c136a40
Update doc link in copyright text
2018-03-13 22:07:38 +08:00
Wan Liuyang
a32a17bf81
Fix broken Github reference link in class docstrings
2018-03-13 15:07:07 +08:00
Agor Maxime
aa556f85a1
Finished search_commits PR ( #727 )
...
* Added support for newer commit search API endpoint
* Added tests for new commit search method on main Github class
* Fixed sort parameter of search_commits
2018-03-09 08:00:47 +08:00
Colin Hoglund
84b43da76c
Decode jwt bytes object in Python 3 ( #633 )
2017-11-27 14:59:38 -08:00
Jannis Gebauer
4c64b28920
added repository collaborator invitation
2017-07-10 13:14:09 +02:00
Jannis Gebauer
d447eb13b9
switch to pyjwt, python-jose is not secure
2017-03-27 15:20:24 +02:00
Jannis Gebauer
33334e4345
adding support for the integrations installation endpoint
2017-02-01 10:51:13 +01:00
Jannis Gebauer
d60943db8c
adds GitHub integrations
2016-09-15 15:39:43 +02:00
Peter Buckley
cb0cf0a680
update doc url everywhere ( #420 )
2016-07-12 16:38:02 -04:00
Joseph Rawson
3cf0a44691
support long integers in get_repo
2015-10-03 11:16:54 -05:00
edhollandAL
e99ab3caf7
Merge pull request #1 from edhollandAL/develop
...
Freshen master with changes from develop
2015-05-08 14:57:59 +01: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
Daniel Pocock
cd8fe788e4
Allow access to preview versions of the server-side API
2015-02-03 11:56:13 +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
580528876a
Acknowledge some lack of test coverage
2014-05-04 12:18:00 -07: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
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
07c026742c
Restore coverage for several previous PRs
2014-03-02 20:48:13 -08: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
Steve Brown
282278d19c
Add initial version of getemojis
2013-12-01 23:19:58 +00:00
Vincent Jacques
f78311ab48
Github.get_hook ( #196 )
2013-09-11 23:24:28 +02:00
Vincent Jacques
4e8f36ba39
Small updates of doc
2013-09-06 17:24:06 +02:00
Vincent Jacques
c0dae31a97
Add many missing attributes
2013-09-06 17:14:59 +02:00
Vincent Jacques
8f4a309c0e
Github.get_rate_limit
2013-09-06 11:38:20 +02:00
Vincent Jacques
c819580ce8
Get status of Github API ( #188 )
2013-09-06 11:01:33 +02:00
Vincent Jacques
f2feb81dae
Add default parameters to greatly reduce code redoundancy
2013-09-06 11:01:32 +02:00
Vincent Jacques
dc610dfaac
Small fixes and todos
2013-09-06 10:51:50 +02:00
Vincent Jacques
3fe9edf087
Implement object persistence
...
This follows my proposal for #193 .
Largely inspired by AKFish's work.
2013-09-04 23:28:44 +02:00
Vincent Jacques
64cf539c83
#193 : Add a param to Requester.requestXxx for request headers
2013-08-23 11:31:01 +02:00
Vincent Jacques
8a2624e3a1
Merge branch 'topic/RememberHeaders' into develop ( #192 )
...
Conflicts:
github/Issue.py
github/MainClass.py
github/PaginatedList.py
github/Repository.py
github/Requester.py
2013-08-22 10:30:14 +02:00
Vincent Jacques
5c475c7683
First review of #192 (pep8, headers... nothing important)
...
./manage.sh check
./manage.sh fix_headers
2013-08-22 10:12:38 +02:00
Vincent Jacques
1c993d3a5f
Github.get_repos (to get all public repositories)
2013-08-21 22:28:15 +02:00