Commit Graph

16 Commits

Author SHA1 Message Date
Danielle McLean 1e4df2d1b5
Implement the Micropub source query internally rather than by simply parsing the visible content 2018-07-03 10:18:24 +10:00
Danielle McLean d68dda85ad
Refactor the Micropub error responses into a non-view module, have them produce an immediately raise-able exception 2018-07-03 10:03:35 +10:00
Danielle McLean 065619772e
Use ResponseException for various places rather than needing to check the return value for responseness 2018-07-03 09:51:51 +10:00
Danielle McLean 7d17a92793
Introduce a middleware that allows for HttpResponses to be thrown from inner utility functions, to avoid boilerplate in views 2018-07-03 09:41:00 +10:00
Danielle McLean 1d4be082cf
Refactor the 'find an entry based on a URL' behaviour into a utility function 2018-07-03 09:19:50 +10:00
Danielle McLean 2d643b48c6
Allow GIFs to be sent to the Micropub media endpoint 2018-07-03 08:45:45 +10:00
Danielle McLean bab7097fa3
Properly send webmentions after deleting an entry :3 2018-07-02 15:30:32 +10:00
Danielle McLean fa8419976d
Enable support for deleting entries through Micropub :D 2018-07-02 15:08:13 +10:00
Danielle McLean c8e0b9c5fb
Save any provided syndications for a new entry when creating it 2018-06-28 21:07:24 +10:00
Danielle McLean eb20cc1d21
Add a Link header to the Micropub create response indicating the entry's shortlink 2018-05-10 13:42:59 +10:00
Danielle McLean 86f4da306c
Fix creating posts with Micropub to use the new entry kind handling 2018-05-10 13:42:32 +10:00
Danielle McLean 4d974a5364
Create a basic but functional micropub media endpoint :o 2018-05-07 22:28:48 +10:00
Danielle McLean 365110544c
Upgrade Django to 2.0.3, yay! 2018-03-21 22:02:27 +11:00
Danielle McLean 452dd3f47d
Oops, update the list of routes that's pinged on micropub creation to use the new names for entry feeds 2018-03-21 22:02:01 +11:00
Danielle McLean b5604ac8d1
Require the 'create' scope in the token to be present in order to create new entries 2018-01-29 11:01:57 +11:00
Danielle McLean 9f733125a7
Refactor micropub, add basic support for querying - source works great, the other two not so much 2018-01-29 10:28:46 +11:00