Commit Graph
391 Commits
Author SHA1 Message Date
Vincent Jacques 681128d41a Refactor 2013-02-05 23:38:45 +01:00
Vincent Jacques 27ed941f7b Remove useless Content-Length header 2013-02-05 23:24:51 +01:00
Vincent Jacques 3cbc81551a Refactor: put form/multipart encoding in Requester
And remove my fucking credentials from git! (Password changed, btw)
2013-02-05 19:47:52 +01:00
Vincent Jacques 39c10b1544 Fix unit tests about logging 2013-02-05 19:39:18 +01:00
Vincent Jacques e9be857089 Rename methods in Requester 2013-02-05 19:39:03 +01:00
Vincent Jacques f024950884 First implementation of PubSubHubbub (un)subscription (Issue #129)
This will need 'some' refactoring.
2013-02-05 19:23:20 +01:00
Vincent Jacques 6aefe4d9f4 Fix unit tests on Python <= 2.6 2013-02-03 20:20:56 +01:00
Vincent Jacques 092e4a4b76 Add a test reproducing issue #131 2013-02-03 17:53:11 +01:00
Vincent Jacques f7ed860a26 NamedUser.get_keys (Issue #130) 2013-02-03 17:20:43 +01:00
Vincent Jacques f2c7530346 Fix indentation 2013-01-29 22:23:12 +01:00
Vincent Jacques 921ba8df1e Reproduce issue #134 2013-01-29 19:23:15 +01:00
Vincent Jacques f4c159d0d5 Merge remote-tracking branch 'forks/llimllib/master' 2013-01-29 18:47:54 +01:00
Vincent Jacques a280518835 Add a failing test for pull #133 2013-01-29 18:47:46 +01:00
Bill Mill 753cb0e78a fix failing get_page function
* if firstParams was None, PaginatedList was calling dict(None)
  which fails with a TypeError. If firstParams is None, just use
  an empty tuple, which dict() handles properly
2013-01-27 17:38:44 -05:00
Vincent Jacques c58d550b67 Prepare version 1.10.0 + pep8 2012-12-25 13:14:52 +01:00
Vincent Jacques 5edf5a120e Repository.get_issues_comments and Repository.get_pulls_comments (issue #126) 2012-12-25 13:02:15 +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 d8e4ece9a7 Complete "ref in Repository.get_contents and .get_readme" (pull #124)
Add documentation and automated tests
2012-12-25 11:50:54 +01:00
Vincent Jacques aac5eec5fd Merge branch 'develop' into topic/GetContentsWithRef 2012-12-25 11:30:34 +01:00
Christopher Gilbert 09df2f629c Added optional ref parameter for Repository.get_contents 2012-12-23 12:10:29 +00:00
Vincent Jacques 10e370bcea Add new test showing https git urls for gists (Issue #119) 2012-12-21 21:29:17 +01:00
Vincent Jacques 5b52f652e0 Github.get_gitignore_template[s] (issue #120) 2012-12-21 21:10:53 +01:00
Vincent Jacques 9a707bce30 Merge branch 'topic/GetRepoFromFullName' into develop
Conflicts:
	ReadMe.md
2012-12-21 20:40:16 +01:00
Vincent Jacques 64ec395298 Get repo from full name: tests, doc, fix param name (Pull #121) 2012-12-21 20:38:29 +01:00
Luke Cawood 84cc70e78c Add get_repo method to Github top level object 2012-12-19 14:32:31 +11:00
Vincent Jacques 2a653d081c Simplify 2012-11-22 21:07:19 +01:00
Vincent Jacques 1804d9a295 pep8 + readme 2012-11-21 21:49:15 +01:00
Vincent Jacques 87c92bdee5 Restore Python 2.5 2012-11-21 21:37:57 +01:00
Vincent Jacques 3c34837d75 Fixes for Python 3: setup.py install will call 2to3
We temporary loose coverage measurement... again!
2012-11-21 21:18:59 +01:00
Vincent Jacques 381a479d6a Restore Python 2.5 and 2.6 2012-11-21 20:45:45 +01:00
Vincent Jacques d8e50c7937 Small fixes => tests pass after 2to3 2012-11-21 20:30:35 +01:00
Vincent Jacques 9a03610f7b Use absolute imports. May help with Python 3 2012-11-21 20:13:12 +01:00
Vincent Jacques 065cd9123e Remove unused file 2012-11-21 19:06:24 +01:00
Vincent Jacques a6972c03c3 Fix assertion failure on big integers (issue #116) 2012-11-20 19:34:55 +01:00
Vincent Jacques 86033f8a62 Prepare version 1.9.0 2012-11-19 21:40:17 +01:00
Vincent Jacques 63a56e074a Add a customizable User-Agent (issue #109) 2012-11-19 21:18:43 +01:00
Vincent Jacques 94bdbe13a4 Change URL of gist comments (issue #113) 2012-11-19 20:59:58 +01:00
Vincent Jacques 3c07876a96 Refactor Requester 2012-11-19 20:44:14 +01:00
Vincent Jacques ef55a93d9a Refactor 2012-11-19 20:31:33 +01:00
Vincent Jacques 0038aea74e Add tests for pull #112 2012-11-19 20:27:00 +01:00
Vincent Jacques f6dc7b43fd Merge branch 'develop' into topic/UnauthenticatedRateLimitedRequests 2012-11-19 20:13:08 +01:00
Michael Woodworth 4f2030ad6c added client_id and client_secret auth option 2012-11-07 18:15:27 -05: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
Vincent Jacques 47dee65b63 Implement default_branch in Repository.edit (issue #107)
See http://developer.github.com/changes/2012-10-24-set-default-branch/
2012-11-03 09:49:01 +01:00
Vincent Jacques 421a34b1ee Merge branch 'topic/PullRequest.assignee' into develop 2012-11-03 09:25:18 +01:00
Vincent Jacques 55dd10f7fd Documentation and tests for PullRequest.assignee (Pull #111) 2012-11-03 09:24:35 +01:00
Michael Stead a627c9d4ca Add 'assignee' attribute to PullRequest
It seems as though this may have been added to
the github API and was not being included in the
PullRequest object.
2012-11-02 21:13:18 -03: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 c0ccafa7ec Restore Python 2.5 and 2.6?
(This commit was 'push --force'd)
2012-10-28 18:51:06 +01:00
Vincent Jacques ca1e799826 Restore measure of test coverage 2012-10-28 15:53:03 +01:00