Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: WP-API/WP-API
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: tobych/WP-API
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: users
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 4 files changed
  • 1 contributor

Commits on Apr 8, 2014

  1. Add beginnings of user endpoint based on @royboy789's work

    Works; incomplete; no unit tests.
    tobych committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    442a403 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df9ada3 View commit details
    Browse the repository at this point in the history
  3. Add edit_user (still no DELETE or POST handling)

    Only some fields. I'm testing this from a Python client,
    so still no unit tests in PHP.
    tobych committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    dd25eaf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    49d96aa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d32e5b9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d1af273 View commit details
    Browse the repository at this point in the history
  7. Add DELETE handler for users

    tobych committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    23babbc View commit details
    Browse the repository at this point in the history
  8. Ignore PhpStorm config .idea/

    tobych committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    4e84b48 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    937e7e3 View commit details
    Browse the repository at this point in the history
  10. Handle user meta data better, including serialized values

    - meta values are always represented as arrays
    - serialized values are represented as dictionaries with 'unserialized'
      and 'serialized' keys. only 'unserialized' is used when you update.
    - if you send it a single value, it makes it into an array (to be kind)
    - doesn't deal with multiple values coming back yet (see comments)
    tobych committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    7ea0724 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d447bad View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b504dba View commit details
    Browse the repository at this point in the history
  13. Refactor a little and add commented-out code for single items

    We could return user_meta values that have one item as a simple value
    rather than an array. Refactored tomake this easy, but it could probably
    cause problems further down the line and perhaps complicates things,
    so let's leave it to clients to deal with this.
    tobych committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    43e3c34 View commit details
    Browse the repository at this point in the history
  14. Get my User entity in line with the existing schema

    This also removes any duplication between user_meta and non-user_meta.
    tobych committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    b173cea View commit details
    Browse the repository at this point in the history
  15. Fix [] so it works on older versions of PHP

    Also fix some coding style stuff.
    tobych committed Apr 8, 2014
    Configuration menu
    Copy the full SHA
    d30d2b2 View commit details
    Browse the repository at this point in the history
Loading