26 Commits

Author SHA1 Message Date
Jessica Tallon
a14d90c2db Switch from slug to ID and clean up style to conform to PEP-8 2014-07-22 23:13:17 +01:00
Jessica Tallon
d8f55f2b41 Add unseralize for API objects 2014-07-22 23:13:16 +01:00
Jessica Tallon
0679545f19 Add garbage collection task 2014-07-22 23:13:16 +01:00
Jessica Tallon
0e283215bd oops - add decorators for federated APIs 2014-07-22 23:13:16 +01:00
Jessica Tallon
3c8bd177b2 Add test for API object endpoint 2014-07-22 23:13:16 +01:00
Jessica Tallon
51ab51921e Add more tests for federation APIs 2014-07-22 23:13:16 +01:00
Jessica Tallon
967df5eff0 Require uploader privileges to upload media to API 2014-07-22 23:13:16 +01:00
Jessica Tallon
6781ff3cb1 Clean up & Add support to update objects in feed API 2014-07-22 23:13:15 +01:00
Jessica Tallon
c3b89febc0 Fix problem where feed posting wasn't returning correct object 2014-07-22 23:13:15 +01:00
Jessica Tallon
41599bf23c Fix image upload problem in API 2014-07-22 23:13:15 +01:00
xray7224
247a3b788f Adds the unit-tests for API and cleans up API 2014-07-22 23:13:15 +01:00
xray7224
c64fc16b13 Clean up code (after linting) 2014-07-22 23:13:15 +01:00
xray7224
7810817caf Refactors api uploading to media managers 2014-07-22 23:13:15 +01:00
xray7224
3c3fa5e7bf Fix some problems with comments and image posting 2014-07-22 23:13:15 +01:00
xray7224
62dc7d3e6c Add some more code to work better with image uploads 2014-07-22 23:13:15 +01:00
xray7224
d4a21d7e74 Add basic upload image capabilities 2014-07-22 23:13:15 +01:00
Jessica Tallon
c894b4246a Add basic comment support and flesh out some other endpoints 2014-07-22 23:13:15 +01:00
xray7224
1829765537 Add .json url for host-meta and fix host-meta problem of not having 'links' 2014-07-22 23:13:14 +01:00
xray7224
a5682e8960 Support some webfinger API's and real profile and /api/user/<user>/ 2014-07-22 23:13:14 +01:00
xray7224
98596dd072 Support for the comments endpoint 2014-07-22 23:13:14 +01:00
xray7224
d461fbe5cb Use the the slug as the UUID instead of a newly generated UUID 2014-07-22 23:13:14 +01:00
Jessica Tallon
5b014a0866 Add image URL's (thumb & full) 2014-07-22 23:13:14 +01:00
Jessica Tallon
a840d2a848 Adds comments for the MediaEntry api 2014-07-22 23:13:14 +01:00
Jessica Tallon
bdde87a4b3 Changes serialization to .serialize method on object - MediaEntry 2014-07-22 23:13:14 +01:00
Jessica Tallon
5a2056f738 Adds endpoint /api/image/<uuid> so that you can now view an image endpoint 2014-07-22 23:13:14 +01:00
Jessica Tallon
d7b3805f2d Starts the user (profile) endpoint and lays groundwork for inbox and feed endpoint 2014-07-22 23:13:13 +01:00