James Ravenscroft
23be00ad8d
add support for various reference type posts e.g. likes, bookmarks etc
2021-12-24 17:03:24 +00:00
James Ravenscroft
dc2268e825
update media endpoint url
2021-12-24 11:57:55 +00:00
James Ravenscroft
fe6b396dfa
implement handling of multiple photos
2021-12-24 11:56:12 +00:00
James Ravenscroft
1fdfbe54af
implement categories/tags listing
2021-12-24 11:03:28 +00:00
James Ravenscroft
c7ea1bc1c8
fix error when trying to re-create media folder
2021-12-24 10:50:40 +00:00
James Ravenscroft
e7ae240555
add support for copying photos
2021-12-24 10:49:31 +00:00
James Ravenscroft
efb4019c82
add support for categories
2021-12-23 21:53:21 +00:00
James Ravenscroft
107f16757a
add project requirements
2021-12-23 21:39:30 +00:00
James Ravenscroft
8b19417d14
add micropub to gitea stuff
2021-12-23 21:39:21 +00:00
Kyle Mahan
897c75848c
bump version number
...
fixes #6
2017-11-04 18:31:05 -07:00
Kyle Mahan
794d95c624
Merge pull request #4 from martymcguire/master
...
Updates for micropub.rocks auth support
2017-03-13 08:21:45 -07:00
Marty McGuire
9f7bc5530b
support JSON response from auth, token endpoints
...
For example, the micropub.rocks auth endpoint only returns JSON-encoded responses.
This implementation wraps all top-level values in the JSON object in an array to match the behavior of `parse_qs` but does not check to see if the value is already an array.
2017-03-09 23:33:43 -05:00
Marty McGuire
0471a3aeb8
Add `grant_type` to authorization token requests
...
micropub.rocks fails on the token fetching step if `grant_type=authorization_code` is missing from the token request.
2017-03-09 22:32:19 -05:00
Marty McGuire
480090ebe4
Include `response_type` in initial auth parameters
...
micropub.rocks client tests die on initial authorization if `response_type=code` is not included in the original parameters
2017-03-09 22:18:20 -05:00
Kyle Mahan
9ac8c44761
actually run some tests on python setup.py test
2016-03-18 18:46:34 -07:00
Kyle Mahan
7c67835ba2
add build status badge
2016-03-18 18:38:45 -07:00
Kyle Mahan
b2cddba6d6
add travis config
2016-03-18 18:36:41 -07:00
Kyle Mahan
267b202ae1
remove versions that Circle doesn't seem to have
2016-03-18 12:41:10 -07:00
Kyle Mahan
1a52e4f714
add circle.yml
2016-03-18 12:36:55 -07:00
Kyle Mahan
7ce70f5cac
update changelog
2016-03-18 12:28:00 -07:00
Kyle Mahan
e2be8825bd
add a simple unit test and tox.ini
2016-03-18 12:26:28 -07:00
Kyle Mahan
46ee7f9582
change || to or
...
Python does not support the former cc: @myfreeweb
2016-03-18 11:34:04 -07:00
Kyle Mahan
63e366808a
Merge pull request #3 from myfreeweb/patch-1
...
Accept all 2xx status codes as success
2016-03-18 11:28:42 -07:00
Greg
f514b24ea4
Accept all 2xx status codes as success
2016-03-18 21:13:05 +04:00
Kyle Mahan
6c2f5f3f6a
Support discovering endpoints from HTTP Link headers
...
in addition to searching the body of the page.
2016-03-18 09:30:49 -07:00
Kyle Mahan
9fdd45a0de
Do not burn auth codes by authenticating before requesting an access
...
token
This broke authorization for endpoints that only allow a code to be
used once (e.g. Known).
A side effect is that authorization no longer falls back to authentication
if the token endpoint does not exist or returns an error.
2016-01-27 07:24:55 -08:00
Kyle Mahan
cc9c7dfd21
bugfix: call handle_authenticate_response from authentication_handler
...
Previously was calling handle_authorize_response which was incorrect.
2016-01-26 23:55:28 -08:00
Kyle Mahan
c80a1b0fcf
add ReadTheDocs badge
2015-12-23 11:11:05 -08:00
Kyle Mahan
d9a5ff9099
Use napoleon sphinx extension to parse Google-style docstrings
2015-12-16 18:28:29 +00:00
Kyle Mahan
6677bcd138
use RTD theme for docs
2015-12-16 18:14:08 +00:00
Kyle Mahan
8e73330bd0
trying to fix docstring formatting errors
2015-12-16 18:12:31 +00:00
Kyle Mahan
d50ea9b465
move README.rst into index.rst for sphinx
2015-12-16 18:00:27 +00:00
Kyle Mahan
b45cf08fd3
added sphinx build stuff
2015-12-16 17:56:10 +00:00
Kyle Mahan
6ddaba6114
convert README.md to README.rst for readthedocs
2015-12-16 17:48:47 +00:00
Kyle Mahan
3282bd76ba
Replace next_url parameter with the more general and useful state
2015-12-13 19:50:54 -08:00
Kyle Mahan
69eb9ffb9a
increment version 0.2.3
2015-06-21 22:40:44 -07:00
Kyle Mahan
83ac2700c0
use indieauth.com as fallback if no authentication_endpoint is provided
2015-06-21 22:35:45 -07:00
Kyle Mahan
b714d8db93
do not cache endpoints
...
Caching these would have allowed a malicious or buggy
auth/token_endpoint combination to give you credentials for another
user's domain name.
2015-05-31 09:16:40 -07:00
Kyle Mahan
4d1f70b1e6
bugfix: use endpoint-for-function for more robust endpoint matching
2015-02-07 12:23:06 -08:00
Kyle Mahan
474458c623
added authentication-only flow
...
- Added a separate 'authenticate' flow to provide explicit support for
calling out to indieauth without requesting any sort of access
token.
- Redirect_url is now determined automatically based on the
authenticated_handler or authorized_handler annotations
2015-02-07 09:40:31 -08:00
Kyle Mahan
c8494277a8
add CSRF token to state parameter
2015-02-03 22:45:08 -08:00
Kyle Mahan
408bc20956
use correct token endpoint parameters
...
client_id and state were incorrect
2015-02-02 22:51:03 -08:00
Kyle Mahan
74de2173c5
debug log statements for validating access token
2015-02-02 18:05:36 -08:00
Kyle Mahan
32fb204a9c
bugfix: list is not an iterator msg when processing errors
2015-02-02 08:42:38 -08:00
Kyle Mahan
1da9d95fc6
rename Micropub to MicropubClient to differentiate
2015-01-28 08:38:15 -08:00
Kyle Mahan
6db7529f4a
added micropub_endpoint to authorized_handler response
2015-01-19 09:44:56 -08:00
Kyle Mahan
d039e29f30
improve API, add documentation
2015-01-19 09:01:56 -08:00
Kyle Mahan
b958da9bd1
initial revision; support basic micropub auth
2015-01-18 23:10:37 -08:00
Kyle Mahan
4764df9460
Initial commit
2015-01-18 23:09:15 -08:00