Commit Graph
52 Commits
Author SHA1 Message Date
Jannis Gebauer 8571d87c77 adds a nicer __repr__ 2016-09-08 10:25:48 +02:00
Peter Buckley cb0cf0a680 update doc url everywhere (#420) 2016-07-12 16:38:02 -04:00
E. Dunham ba66862179 Document how one gets an AuthenticatedUser object 2016-07-05 14:23:58 -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
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
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
poulp de8932976f Add /user/teams (GET) 2013-12-07 22:00:09 +01:00
Vincent Jacques 597e123029 Factorize the creation of attributes (preparation for #195) 2013-09-12 09:27:25 +02:00
Vincent Jacques 4a5009741a Use ValuedAttribute and NotSet.value (preparation for #195) 2013-09-12 00:40:27 +02:00
Vincent Jacques c0dae31a97 Add many missing attributes 2013-09-06 17:14:59 +02:00
Vincent Jacques f2feb81dae Add default parameters to greatly reduce code redoundancy 2013-09-06 11:01:32 +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 5c475c7683 First review of #192 (pep8, headers... nothing important)
./manage.sh check
./manage.sh fix_headers
2013-08-22 10:12:38 +02:00
AKFish 912bec79d2 Update copyright information 2013-08-21 17:45:01 +08:00
AKFish c4e8972be1 Update UserKey.py 2013-08-21 17:19:11 +08:00
AKFish 3c1d17cd64 Update Repository.py 2013-08-21 17:13:03 +08:00
AKFish 6cb6e8d232 Update Notification.py 2013-08-21 16:58:25 +08:00
AKFish dc8173a532 Update Gist*.py 2013-08-21 15:39:34 +08:00
AKFish 0e19d8e04e Update Authorization.py 2013-08-21 15:09:34 +08:00
AKFish 28a49b94d8 Update AuthenticatedUser.py 2013-08-21 15:06:21 +08:00
AKFish ca6189c3c9 Change CompletableGithubObject.__init__ without breaking build. 2013-08-21 14:49:20 +08:00
AKFish 4a1a1d4068 Update Plan.py 2013-08-21 14:19:31 +08:00
Vincent Jacques 7c49e48305 Fix links to ref in :calls: sections 2013-07-16 23:46:23 +02:00
Vincent Jacques 8484260dc5 Fix our doc to match URLs described in Github API v3 ref doc 2013-07-16 10:32:57 +02:00
Vincent Jacques 06a3d87098 Change source file header format 2013-07-13 19:03:53 +02:00
Vincent Jacques 7f74a92b55 AuthenticatedUser.get_user_issues and Organization.get_issues (issue #166) 2013-05-17 13:52:49 +02:00
Vincent Jacques 1c4aec6891 Add parameters to AuthenticatedUser.get_issues (issue #166) 2013-05-17 13:42:43 +02:00
Vincent Jacques db5560bd65 Add a script to check copyrights with git log. And fix copyrights. 2013-03-29 16:54:15 +01:00
Vincent Jacques da6bbdb694 Merge branch 'topic/Notifications' into develop 2013-03-19 23:14:29 +01:00
Vincent Jacques edcf40bc7f Move get_notification(s) to AuthenticatedUser (pull #148) 2013-03-19 22:07:29 +01:00
Vincent Jacques fa43e95268 Refactor XxxGithubObject 2013-03-14 12:31:36 +01:00
Vincent Jacques 7a415fda66 Change home page 2013-02-16 21:19:49 +01:00
Vincent Jacques 680490a6d8 Merge branch 'develop' into topic/ExperimentOnDocumentation
Conflicts:
	ReadMe.md
	doc/ChangeLog.md
	doc/ReferenceOfApis.md
	doc/ReferenceOfClasses.md
	github/AuthenticatedUser.py
	github/Authorization.py
	github/CommitComment.py
	github/ContentFile.py
	github/Download.py
	github/Gist.py
	github/GistComment.py
	github/GitRef.py
	github/Github.py
	github/Hook.py
	github/Issue.py
	github/IssueComment.py
	github/Label.py
	github/Milestone.py
	github/PullRequest.py
	github/PullRequestComment.py
	github/Repository.py
	github/RepositoryKey.py
	github/Team.py
	github/UserKey.py
	setup.py
2013-02-16 19:57:13 +01:00
Vincent Jacques e9be857089 Rename methods in Requester 2013-02-05 19:39:03 +01:00
Vincent Jacques abf0867543 Generate some repetitive doc files 2012-12-29 08:47:23 +01:00
Vincent Jacques b8a3a12991 Add client_id and client_secret parameters to AuthenticatedUser.create_authorization (issue #125) 2012-12-25 12:19:19 +01:00
Vincent Jacques 9a03610f7b Use absolute imports. May help with Python 3 2012-11-21 20:13:12 +01:00
Vincent Jacques a6972c03c3 Fix assertion failure on big integers (issue #116) 2012-11-20 19:34:55 +01:00
Vincent Jacques f80df9e429 Add auto_init and gitignore_template to create_repo (issue #106)
http://developer.github.com/changes/2012-9-28-auto-init-for-repositories/
2012-11-03 10:06:52 +01:00
Zearin 4c6a70c24a Add encoding comment to source files
This is a minor thing.  It’s a convention, not a rule (obviously)—but it’s also a best practice.

Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
2012-11-01 11:43:56 -04:00
Vincent Jacques 531c3f2d32 Improve comformance to pep8 (+dos2unix)
PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
2012-09-17 20:37:22 +02:00
Vincent Jacques ef403a1594 Do all paginated calls inside PaginatedList
This was already the case for Legacy.PaginatedList.

Doing it in PaginatedList.PaginatedList reduces the amount of
repeated code and will allow a generic solution for issue #77
2012-09-11 23:47:08 +02:00
Vincent Jacques 25a7696b76 Remove all old stuff related to code generation (issue #75) 2012-09-11 22:01:22 +02:00
Vincent Jacques 3be2e82b40 Implement subscriptions (issue #70) 2012-09-08 01:54:51 +02:00
Vincent Jacques 5d67293676 Implement stargazers (issue #70) 2012-09-08 01:40:22 +02:00
Steve English 7456c1e49b Specify a server url for Github.
Allows connection to GitHub Enterprise installs on local URLs.
2012-07-23 17:39:56 +01:00
Vincent Jacques f6a3490e7b GitAuthor.date is now a datetime (Issue #54) 2012-07-09 18:16:44 +02:00
Vincent Jacques 41c2b94f95 Add a copyright and license notice (issue #16) 2012-06-03 19:56:33 +01:00