Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add org public-members call, to complement the full members list #76

Merged
merged 4 commits into from
Mar 28, 2014

Commits on Jan 22, 2014

  1. Support paging when fetching organization members

    Organization members are a paged list in the V3 GitHub API. Previously the code would fetch only the first page of ~30 members and return that. This change switches the return to a PagedIterable<GHUser> so clients can fetch the entire organization's member list.
    ryankennedy committed Jan 22, 2014
    Configuration menu
    Copy the full SHA
    fee02a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2014

  1. Configuration menu
    Copy the full SHA
    628034a View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2014

  1. Configuration menu
    Copy the full SHA
    9930e7b View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2014

  1. Fix org.getMembers() to 'wrap' returned users for post-populating

    This fixes an issue introduced with PR hub4j#66 in commit fee02a3 - the
    `getMembers()` method switched to using paging, but lost the code that
    populated the users with a full set of values.
    
    This commit just applies 'wrapping' to all users returned, so that methods
    like `user.getCreatedAt()` can be called on returned users without throwing
    a NullPointerException - the reference to 'root' allows the user objects to
    populate themselves.
    rtyley committed Mar 14, 2014
    Configuration menu
    Copy the full SHA
    d29ea97 View commit details
    Browse the repository at this point in the history