Permalink
Browse files

update ownyourgram report

  • Loading branch information...
aaronpk committed Mar 21, 2017
1 parent 023e20c commit 3948a9931460c5a82288db4293dcda52d4bf0a49
Showing with 19 additions and 20 deletions.
  1. +19 −20 implementation-reports/ownyourgram.md
@@ -10,31 +10,33 @@ Programming Language(s): PHP
Developer(s): [Aaron Parecki](https://aaronparecki.com)

Answers are:
* [ ] Confirmed via micropub.rocks
* [x] Self-reported
* [x] Confirmed via micropub.rocks
* [ ] Self-reported

## Discovery
* [x] The client discovers the Micropub endpoint given the profile URL of a user (e.g. the sign-in form asks the user to enter their URL, which is used to find the Micropub endpoint)

## Authentication
* [x] The client sends the access token in the HTTP `Authorization` header.
* [x] The client sends the access token in the post body for `x-www-form-urlencoded` requests.
* [ ] The client sends the access token in the post body for `x-www-form-urlencoded` requests.
* [x] The client requests one or more `scope` values when obtaining user authorization.
* create

## Syntax
* [x] Creates posts using `x-www-form-urlencoded` syntax.
* [x] Creates posts using JSON syntax.
* [x] Creates posts using `x-www-form-urlencoded` syntax with multiple values of the same property name (e.g. tags).
* [x] Creates posts using JSON syntax with multiple values of the same property name (e.g. tags).
* [x] Creates posts using JSON syntax including a nested Microformats2 object.
* [x] Creates posts including a file by sending the request as `multipart/form-data` to the Micropub endpoint.
* [ ] 100: Creates posts using `x-www-form-urlencoded` syntax.
* [x] 200: Creates posts using JSON syntax.
* [ ] 101: Creates posts using `x-www-form-urlencoded` syntax with multiple values of the same property name (e.g. tags).
* [x] 201: Creates posts using JSON syntax with multiple values of the same property name (e.g. tags).
* [ ] 202: Creates posts with HTML content. (JSON)
* [x] 204: Creates posts using JSON syntax including a nested Microformats2 object.
* [x] 300: Creates posts including a file by sending the request as `multipart/form-data` to the Micropub endpoint.

## Creating Posts
* [x] Allows creating posts with a photo referenced by URL rather than uploading the photo as a Multipart request.
* [ ] Allows creating posts with a photo including image alt text.
* [ ] 104: Allows creating posts with a photo referenced by URL rather than uploading the photo as a Multipart request. (form-encoded)
* [x] 203: Allows creating posts with a photo referenced by URL rather than uploading the photo as a Multipart request. (JSON)
* [ ] 205: Allows creating posts with a photo including image alt text.
* [x] Recognizes HTTP 201 and 202 with a `Location` header as a successful response from the Micropub endpoint.
* [x] Allows the user to specify one or more syndication endpoints from their list of endpoints discovered in the `q=config` or `q=syndicate-to` query.
* [x] 105: Allows the user to specify one or more syndication endpoints from their list of endpoints discovered in the `q=config` or `q=syndicate-to` query.

## Media Endpoint
* [ ] Checks to see if the Micropub endpoint specifies a Media Endpoint, and uploads photos there instead.
@@ -54,12 +56,12 @@ Answers are:
* [ ] Sends undeletion requests using JSON syntax.

## Querying
* [ ] Queries the Micropub endpoint with `q=config`
* [ ] 600: Queries the Micropub endpoint with `q=config`
* [ ] Looks in the response for the Media Endpoint
* [ ] Looks in the response for syndication targets
* [x] Queries the Micropub endpoint with `q=syndicate-to`
* [ ] Queries the Micropub endpoint for a post's source content without specifying a list of properties
* [ ] Queries the Micropub endpoint for a post's source content looking only for specific properties
* [x] 601: Queries the Micropub endpoint with `q=syndicate-to`
* [ ] 602: Queries the Micropub endpoint for a post's source content without specifying a list of properties
* [ ] 603: Queries the Micropub endpoint for a post's source content looking only for specific properties

## Extensions

@@ -71,16 +73,13 @@ Please list all vocabularies and properties the client supports, if applicable.

* Photos and Videos (http://microformats.org/wiki/h-entry)
* content
* name
* published
* photo
* video
* category
* in-reply-to
* location
* mp-syndicate-to

## Other Notes

Please use this space to document anything else significant about your implementation.

* Since OwnYourGram *always* sends a photo (or photo with video), it will never make a form-encoded request, so does not pass the 1xx tests. By default, it makes multipart requests unless the user opts in to sending JSON requests.

0 comments on commit 3948a99

Please sign in to comment.