cweiske / anoweco Goto Github PK
View Code? Open in Web Editor NEWAnonymous web comments for the indieweb
Home Page: https://commentpara.de/
License: GNU Affero General Public License v3.0
Anonymous web comments for the indieweb
Home Page: https://commentpara.de/
License: GNU Affero General Public License v3.0
Because it's required by the spec:
All Micropub requests to create posts are sent as UTF-8 x-www-form-urlencoded, multipart/form-data [HTML5], or [JSON]-encoded HTTP requests.
Because the current IndieAuth spec says so.
Previously: https://indieweb.org/authorization-endpoint
The response content-type should be either application/x-www-form-urlencoded or application/json depending on the value of the HTTP Accept header.
Now: https://indieauth.spec.indieweb.org/#access-token-response
The token response is a JSON [RFC7159] object containing the OAuth 2.0 Bearer Token [RFC6750], as well as a property me,
When trying to login to commentpara.de with https://github.com/pstuifzand/micropub-android I get an error:
04-23 18:20:50.507 12647 12647 E micropub: android.accounts.AuthenticatorException: Could not verify authorization: Missing element "scope" in authorization_endpoint response
04-23 18:20:50.507 12647 12647 E micropub: at android.accounts.AccountManager.convertErrorToException(AccountManager.java:2245)
04-23 18:20:50.507 12647 12647 E micropub: at android.accounts.AccountManager.-wrap0(AccountManager.java)
04-23 18:20:50.507 12647 12647 E micropub: at android.accounts.AccountManager$AmsTask$Response.onError(AccountManager.java:2081)
04-23 18:20:50.507 12647 12647 E micropub: at android.accounts.IAccountManagerResponse$Stub.onTransact(IAccountManagerResponse.java:69)
04-23 18:20:50.507 12647 12647 E micropub: at android.os.Binder.execTransact(Binder.java:565)
It posts to https://commentpara.de/auth.php
:
code=ZW1vamk9JTVDMzYwJTVDMjM3JTVDMjIyJTVDMjUxJm1lPWh0dHBzJTNBJTJGJTJGY29tbWVudHBhcmEuZGUlMkZ1c2VyJTJGMy5odG0mc2NvcGU9Y3JlYXRlK2VkaXQrdXBkYXRlK3Bvc3QrZGVsZXRlJnNpZ25hdHVyZT1GSVhNRQ%3D%3D
&redirect_uri=wrimini%3A%2F%2Foauth
&client_id=https%3A%2F%2Fstuifzand.eu%2Fmicropub
and gets in return:
{"me":"https:\/\/commentpara.de\/user\/3.htm"}
Comments should be displayed below.
Also, Salmentions should then be sent: https://indieweb.org/Salmentions
https://chrome.google.com/webstore/detail/omnibear/cjieakdeocmiimmphkfhdfbihhncoocn only sends multipart/form-data
PHP message: PHP Notice: Undefined offset: 1 in www/token.php on line 50
Currently the response that includes the access token always returns https://commentpara.de/
as the me
URL, rather than the unique user URL that is generated for anonymous users. This means anyone logging in to e.g. Quill will end up logged in as the same user.
I tried anonymous commenting via commentpara.de + Quill and got an HTTP 500 in response to the Micropub request.
It looks like this line is hard-coded to always return 500, but the post was still created (Example: https://commentpara.de/comment/1408.htm)
It would be awesome if commentpara.de would provide handling for a comment box with author url that can be embedded below a blog post.
cweiske ideally the user can input his url
cweiske and if he did, his micropub endpoint would be used to post the comment
cweiske if not, it would fall back to commentpara.de
https://chat.indieweb.org/2018-04-11#t1523444195132600
# 12:56 petermolnar rsvp is hard
# 12:57 cweiske I could add rsvp support to commentpara.de
# 12:57 cweiske then there would be a rsvp hosting silo
# 12:57 cweiske indieweb-compatible
# 16:09 tantek_ cweiske++ for "rsvp support to commentpara.de" yes please!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.