Commit Graph
46 Commits
Author SHA1 Message Date
Vincent Jacques 63a56e074a Add a customizable User-Agent (issue #109) 2012-11-19 21:18:43 +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 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
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 ca1e799826 Restore measure of test coverage 2012-10-28 15:53:03 +01:00
Vincent Jacques af98e6d1d4 Implement optional revert of #102 (issue #104) 2012-10-28 10:12:25 +01:00
Vincent Jacques a13ce33beb Improve logging (related to #88) 2012-09-25 22:56:43 +02:00
Vincent Jacques 7c60be9516 Fix Content-Type to allow '%' in json payload (issue #87) 2012-09-25 21:55:03 +02: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 2ad48a9206 Fix exception
As per commit f9dd406465, some tests ran after Logging.testLogging
fail with a unicode-related exception.
2012-09-17 20:30:28 +02:00
Vincent Jacques f9dd406465 Test the logging facility 2012-09-17 19:28:29 +02:00
Andrew Bettison 3b5a5002e1 Log raw requests using Python logging module 2012-09-17 17:34:27 +09:30
Vincent Jacques 6fbd63ba4d Work-around Github Enterprise bad URL (issue #80) 2012-09-12 19:28:44 +02:00
Vincent Jacques fb62ca3fb2 Support Python 2.5 again (issue #73) 2012-09-08 19:17:16 +02:00
Vincent Jacques 8335a8e4c8 Small no-impact code improvements 2012-09-08 11:18:56 +02:00
Vincent Jacques 1322002d18 Merge branch 'topic/Timeout' into develop
Conflicts:
	github/Requester.py
2012-09-05 19:21:10 +02:00
Vincent Jacques 7ae6c60843 Remove duplicated default value 2012-09-05 19:16:19 +02:00
Dima Kukushkin 6515629975 Add timeout option 2012-08-25 23:34:19 +04:00
Vincent Jacques e4124980fa Fix record/replay in test framework 2012-08-23 09:28:47 +02:00
Vincent Jacques ab824bf25d Cover custom base url in tests
(we still have to record/replay the protocol, host and port)
2012-07-22 22:43:31 +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 478c0aaa2b Implement markdown rendering (Issue #56) 2012-07-13 18:13:43 +02:00
Vincent Jacques 425989c066 This 'except' clause is covered only with Python 2.5 2012-06-20 21:11:09 +01:00
Petteri Muilu 89ed7d6d8c Testing with Python 2.5 2012-06-19 19:45:15 +03:00
Vincent Jacques 41c2b94f95 Add a copyright and license notice (issue #16) 2012-06-03 19:56:33 +01:00
Vincent Jacques d261b4ba46 Factorize checking of status 2012-06-03 11:33:37 +02:00
Vincent Jacques dbad46e856 Test more exceptions 2012-06-02 13:26:09 +01:00
Vincent Jacques 9820c58477 Move generated code to 'github' instead of 'src/github' 2012-06-02 13:06:28 +01:00
Vincent Jacques d631e83b79 Move files around 2012-05-10 18:10:17 +02:00
Vincent Jacques 229b218ce6 Simplify 2012-05-04 14:02:07 +02:00
Vincent Jacques 04cde900a0 On the way to code generation instead of meta-description
(lots of useless eratic history squashed together in one commit)
2012-05-03 21:51:19 +01:00
Vincent Jacques a91131be42 Finaly do a poor implementation of Github.get_gists 2012-03-19 20:01:46 +01:00
Vincent Jacques 58b4396aa0 Remove todos, add them as github.com issues 2012-03-13 07:30:43 +01:00
Vincent Jacques 6d51a955d9 Fix and add integration tests about events 2012-03-12 19:59:56 +01:00
Vincent Jacques 0e80fa353c Create a fork in integration tests 2012-02-25 16:17:37 +00:00
Vincent Jacques bd8c8f5886 Repository: tags, branches, commits
I had to rework pagination because it does not work as documented
2012-02-25 15:08:07 +00:00
Vincent Jacques a03a904692 Issue.xxx_labels 2012-02-24 15:46:21 +00:00
Vincent Jacques 04a2565d75 Fix integration tests after rebase 2012-02-23 19:48:08 +00:00
Vincent Jacques 9f868e490c Use urllib.urlencode 2012-02-19 10:22:41 +01:00
Vincent Jacques aa5e5f2319 Refactor, improve test coverage 2012-02-18 09:36:00 +01:00
Vincent Jacques 193a9829ab Implement pagination 2012-02-18 05:07:03 +00:00
Vincent Jacques 0ec4281df5 Fix integration test 2012-02-18 04:50:27 +00:00
Vincent Jacques 1fca77ac52 Add parameters to url 2012-02-18 04:49:10 +00:00
Vincent Jacques 1f43877343 Extract Requester from Github 2012-02-18 04:44:20 +00:00