1
0
mirror of https://github.com/danbee/micropub.git synced 2025-03-04 08:59:13 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
fcdb5e4e34
Add tests for authorization 2019-11-16 22:58:39 -05:00
fa0ee16991
Grab access token from form params if it's not in a header 2019-11-16 22:30:06 -05:00
c5532e23d4
Well that makes things simpler! 2019-11-16 22:27:21 -05:00
15be2d2668
Autoload parser 2019-11-16 22:10:41 -05:00
97d7c2df4e
Create post JSON parser 2019-11-16 22:06:50 -05:00
bcd2180438
Accept a JSON content hash and convert HTML to markdown 2019-11-16 17:17:04 -05:00
084511e8b8
Add first JSON spec 2019-11-16 16:58:10 -05:00
20b68453dd
First couple of request specs
Added Mocha because standard minitest mocking/stubbing kinda sucks.
2019-11-16 16:05:26 -05:00
db76e98305 We don't really need to version this 2019-11-14 22:13:35 -05:00
d57ff3fd4b
Tests rake task 2019-11-14 20:31:47 -05:00
07012bc500
Add tests for the post model 2019-11-13 22:02:36 -05:00
7e728dcc2e
Accept single categories 2019-11-12 21:27:39 -05:00
9931199b8d
Properly authenticate the client 2019-11-12 21:19:04 -05:00
a6ead0569b Better commit message 2019-11-11 21:46:08 -05:00
97e4eeeb25 Return fully qualified URL 2019-11-11 21:43:58 -05:00
327cd81de7 Return Location header 2019-11-11 21:42:31 -05:00
2b9daf6c37 Categories should be an empty array if blank 2019-11-11 20:13:09 -05:00
4c56ac418f Let's not assume a published time has been passed 2019-11-11 19:20:35 -05:00
3365485720 Use env.fetch and default to master branch 2019-11-11 18:14:16 -05:00
a8ab4a25f9 Match old micropub URL 2019-11-11 18:00:26 -05:00
d2850b7d2f Validate Indieauth token 2019-11-11 17:46:19 -05:00
51f0030821 Way late initial commit with GitHub posting working 2019-11-11 09:39:21 -05:00