Commit Graph
652 Commits
Author SHA1 Message Date
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
Vincent Jacques 66edeb601f Publish version 1.22.0 2013-12-15 18:11:19 -08:00
Vincent Jacques a367980ce6 Merge branch 'pr213' into develop 2013-12-15 17:44:12 -08:00
Vincent Jacques 68b1ae2ee7 Merge branch 'pr212' into develop 2013-12-15 17:44:03 -08:00
poulp de8932976f Add /user/teams (GET) 2013-12-07 22:00:09 +01:00
Cameron White 212b304371 Added 'stargazers_count' property to Repository 2013-12-04 11:20:10 -08:00
Steve Brown 282278d19c Add initial version of getemojis 2013-12-01 23:19:58 +00:00
Vincent Jacques 3ff7e4843e Publish version 1.21.0 2013-11-17 14:07:01 -08:00
Vincent Jacques ebe6f01151 Fix tests for Python 2.5 and 2.6 2013-11-17 10:19:40 -08:00
Vincent Jacques c6671c6466 Finish .../stats/... (#203) 2013-11-17 10:16:59 -08:00
Vincent Jacques 1eba8a3f05 Fix copyright headers 2013-11-17 09:25:28 -08:00
Vincent Jacques a4910ac922 First step of implementation of Repository.get_stats_xxx (#203) 2013-11-10 18:09:48 -08:00
Vincent Jacques b082414ad0 Fix doc 2013-11-10 18:04:35 -08:00
Vincent Jacques 1a22a22135 Fix tests broken by previous commit 2013-11-10 17:32:28 -08:00
Vincent Jacques 6c37e68901 Add 'author' to 'Repository.get_commits' (#204) 2013-11-10 16:52:46 -08:00
Vincent Jacques d626f21484 Implement equality comparison of CompletableGithubObject (#201) 2013-11-10 16:28:52 -08:00
Vincent Jacques 5692c1ebb2 Acknowledge lack of test coverage in the old Download API 2013-11-10 15:57:08 -08:00
Vincent Jacques 22f366b540 Accept strings as well as Label objects (#202)
This should be more generic, but it's a wig work to do it
everywhere. Let's keep that in mind for V2.
2013-11-10 15:45:33 -08:00
Vincent Jacques 51fa637514 Remove tests for deleted methods! 2013-10-20 19:17:38 -07:00
Vincent Jacques c83b0ef7d5 Remove Repository.create_download and NamedUser.create_gist 2013-10-20 19:09:30 -07:00
Vincent Jacques 5093cc255a Fix public/private in Repository.edit (#199) 2013-10-20 19:03:35 -07:00
Vincent Jacques d445be9a7f Fix (?) Travis for Python 2.5 and 2.6 2013-09-12 11:53:30 +02:00
Vincent Jacques 072bf24277 Raise exception only when user *accesses* an attribute with a bad value (#195) 2013-09-12 11:45:29 +02:00
Vincent Jacques 2ee7aff8e6 Factorize 2013-09-12 10:16:57 +02: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 f78311ab48 Github.get_hook (#196) 2013-09-11 23:24:28 +02:00
Vincent Jacques 8a83de380b Make Rate.reset an UTC datetime 2013-09-06 17:32:00 +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 d102f358be Homogenize AllTests.py 2013-09-06 14:21:42 +02:00
Vincent Jacques a6b4165d6c ./manage.sh fix_headers 2013-09-06 11:39:12 +02:00
Vincent Jacques 8f4a309c0e Github.get_rate_limit 2013-09-06 11:38:20 +02:00
Vincent Jacques a9b9765254 Acknowledge branch coverage lack 2013-09-06 11:17:09 +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 1d0ba7ef64 Don't assume there is a 'message' field in case of error 2013-09-05 18:23:47 +02:00
Vincent Jacques 6cb149dce4 Adapt to Python 2.5 (again:)) 2013-09-05 17:53:31 +02:00
Vincent Jacques c412d49c9f Adapt to Python 2.5 2013-09-05 17:50:57 +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
AKFish 38b137fb37 Fix line ending 2013-08-24 07:21:41 +08:00
Vincent Jacques fb6980ce36 Move the DEBUG_ON_RESPONSE call to Requester.__requestEncode 2013-08-23 19:05:53 +02:00
Vincent Jacques 020a3c9917 Move method update to CompletableGithubObject 2013-08-23 18:45:16 +02:00
Vincent Jacques e084b51381 #193: Fix test coverage 2013-08-23 14:51:34 +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 03d7fb012e #193: Add remarks 2013-08-23 11:15:17 +02:00
Vincent Jacques bae0a37d18 #193: Don't use a try-except for a usual execution flow in GithubObject.update
(and factorize assignment of headers in _storeAndUseAttributes,
as done for rawData)
2013-08-23 11:10:35 +02:00
Vincent Jacques bc3b819ac5 Separate tests for conditional requests (#193) 2013-08-23 09:50:51 +02:00
Vincent Jacques 0413c87c12 Remove _record_.py (#193)
According to https://github.com/jacquev6/PyGithub/commit/0f74e4389b3c0fa57a83083ecfbbf5c331022674#commitcomment-3919786
2013-08-23 09:39:19 +02:00