Commit Graph
295 Commits
Author SHA1 Message Date
Vincent Jacques a21eb42be0 Merge branch 'topic/GitAuthorDateAsDatetime' into develop 2012-07-13 21:14:51 +02:00
Vincent Jacques 0218adc564 Finaly remove GitAuthor.timezone
See https://github.com/jacquev6/PyGithub/issues/54#issuecomment-6972414
2012-07-13 21:11:17 +02:00
Vincent Jacques 9c4a3a0bba Merge branch 'topic/Markdown' into develop 2012-07-13 20:42:26 +02:00
Vincent Jacques 478c0aaa2b Implement markdown rendering (Issue #56) 2012-07-13 18:13:43 +02:00
Vincent Jacques 5cbee7346f Small clean-up + type fixes 2012-07-10 20:37:49 +01:00
Vincent Jacques 4e85f4178a Add tests about issue #54, according to comments by @bilderbuchi 2012-07-10 18:09:35 +02:00
Vincent Jacques f6a3490e7b GitAuthor.date is now a datetime (Issue #54) 2012-07-09 18:16:44 +02:00
Vincent Jacques d40bec470e Urlquote the keyword in legacy search APIs 2012-06-29 19:45:14 +01:00
Vincent Jacques aa8fa5485c Refactor PaginatedLists (legacy and modern) to restore test coverage 2012-06-29 18:10:37 +01:00
Vincent Jacques df63f6be2c Implement legacy pagination 2012-06-29 18:10:24 +01:00
Vincent Jacques d8882e53ed Improve legacy APIs:
- add a legacy_ prefix (avoir future name clashes)
- add the language parameter to Github.legacy_search_repos
- prepare legacy pagination
2012-06-29 18:09:43 +01:00
Vincent Jacques 37c06ea4fc Convert legacy objects to v3 ones
Still needed:
- test completion of objects returned by legacy API
- implement legacy pagination
2012-06-29 07:44:10 +02:00
Vincent Jacques ed31abe6de Add 4 (failing) tests for legacy search API (issue #49)
Naïve implementation done in this commit will not work:
- pagination is managed another way
- users, repositories and issues do not have the standard format
2012-06-28 22:06:05 +01:00
Vincent Jacques bdad6a4612 Create documentation and method stubs for issue #49 (legacy search api) 2012-06-28 21:27:53 +01:00
Vincent Jacques efdaa8945d Fix tests after merging #50, and fix Repository.create_issue and .get_issues as well 2012-06-28 21:06:05 +01:00
Philip Kimmey 8d24a4523b [Issue] replace use of label _identity with name
- The label's _identity attribute is URL encoded.
    This is probably correct when it is being
    used as part of an API endpoint URL, but
    when used as part of the POST data, GitHub
    will return a 422 error stating that the
    label does not exist.
2012-06-25 11:42:48 -07: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 5384d6f9a8 Simplify understanding of GithubExceptions by displaying the error message from Github 2012-06-02 13:07:23 +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 1292bf0e22 Remove completion functions from GitAuthor 2012-05-09 18:22:33 +02:00
Vincent Jacques b46ed0dfde More assertions 2012-05-09 18:21:01 +02:00
Vincent Jacques f14d761344 Structure some attributes 2012-05-09 18:20:44 +02:00
Vincent Jacques f23ad16aaa Add a GitAuthor class 2012-05-09 18:20:26 +02:00
Vincent Jacques d4a6a3a344 Fix urls for git objects 2012-05-09 18:19:13 +02:00
Vincent Jacques 5e4cfeda7f Test attributes of GitTree (needs a manual change in url in Repository.get_git_tree) 2012-05-09 18:13:28 +02:00
Vincent Jacques c559faa680 Check types of received attributes 2012-05-09 18:12:30 +02:00
Vincent Jacques bc08112dce Do not try to __complete objects without url 2012-05-08 21:36:07 +02:00
Vincent Jacques 824b45490d Add a Plan class 2012-05-08 21:27:27 +02:00
Vincent Jacques 1625a645de Start to rewrite integration test 2012-05-08 10:42:12 +01:00
Vincent Jacques 74d7704bcd Repository.get_languages => fix testRepositoryDetails 2012-05-08 09:15:23 +01:00
Vincent Jacques e614a30e12 Fix testRepositoryCompare 2012-05-08 09:13:40 +01:00
Vincent Jacques 84dff1cca7 Fix testKeys 2012-05-08 08:59:13 +01:00
Vincent Jacques fcd377e377 Fix testIssuesForAuthenticatedUser 2012-05-08 08:57:45 +01:00
Vincent Jacques 07e994823e Fix testGists 2012-05-08 08:36:50 +01:00
Vincent Jacques dd0c6e63f4 Fix testEvents 2012-05-05 19:20:27 +02:00
Vincent Jacques c3dd5cd2f1 Fix testGistsAll, improve testEvents 2012-05-05 16:43:13 +02:00
Vincent Jacques bddf2051b5 Restore pagination 2012-05-05 10:00:18 +02:00
Vincent Jacques 1f4dbae94a Pass url parameters to __requester.request => Fix testCreateForkForOrganization 2012-05-05 09:14:36 +02:00
Vincent Jacques f0430bb535 Restore some tests and explain why others are failing 2012-05-04 16:28:12 +02:00
Vincent Jacques 7c749bf445 Fix testEditOrganizationTeamAndMembers (Use _identity to fix has_in_, add_to_, remove_from_) 2012-05-04 15:45:08 +02:00
Vincent Jacques 5ae4dd1233 Allow None as a valid value for an optional parameter (fix testEditOrganization) 2012-05-04 14:57:46 +02:00
Vincent Jacques fa9e5df05a Fix testDownloads (get_element) 2012-05-04 14:48:19 +02:00
Vincent Jacques e91c7a7fd5 Fix some tests (create_fork) 2012-05-04 14:25:18 +02:00
Vincent Jacques 5b1bfe7c39 Fix testCommentCommit (create_xxx, delete, edit) 2012-05-04 14:11:01 +02:00
Vincent Jacques 229b218ce6 Simplify 2012-05-04 14:02:07 +02:00