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
161cf125f0
Add documentation for interacting with media entires
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
ee9956c3de
Remove unneeded oauth fixtures and add test for image submission
2014-07-22 23:13:16 +01:00
Jessica Tallon
c9115b89c9
Rename test_joarapi.py => test_legacy_api.py
2014-07-22 23:13:16 +01:00
Jessica Tallon
f751d346cf
Add fixtures to provide OAuth client, request and access models
2014-07-22 23:13:16 +01:00
Jessica Tallon
128af9533f
Update documentation on uploading media via API
2014-07-22 23:13:16 +01:00
Jessica Tallon
24e12cb133
Fix problem in OAuth views
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
Jessica Tallon
1304a28fa7
Add .jpe file extension recognition
2014-07-22 23:13:15 +01:00
Jessica Tallon
d70b7a5167
Fix issue where create_uuid doesn't exist nor used
2014-07-22 23:13:15 +01:00
xray7224
3d869e82b0
Improve the documentation
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
Jessica Tallon
c434fc31c9
Add static pump_io to API and fix problem where null appeared in profile
2014-07-22 23:13:14 +01:00
xray7224
d6dce0f7d8
Remove old webfinger support
2014-07-22 23:13:14 +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
37f070b067
Fixes problem where full URL was being used inplace of host
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
c8bd2542d7
Fixes where User id in API would return url rather than host
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
2b7b9de32e
Make sure new media has a new uuid added on
2014-07-22 23:13:14 +01:00
Jessica Tallon
3015d31a79
Adds the federation routing
2014-07-22 23:13:13 +01:00
Jessica Tallon
e590179ab6
Adds migration on MediaEntry to add uuid
2014-07-22 23:13:13 +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
Jessica Tallon
637b966ac2
Adds seralize on user
2014-07-22 23:13:13 +01:00
Jessica Tallon
59ff4790c9
Add JPope's sandy 70s speedboat theme
2014-07-20 09:51:04 +01:00
Jessica Tallon
043b108f54
Revert "Add JPope's sandy 70s speedboat theme"
...
The theme is in the wrong place. Elrond suggested in IRC
that actually it should go in mediagoblin/themes.
This reverts commit 58432bcb8cf1795b90bc08b1a9615c64d77e1e3a.
2014-07-20 09:28:30 +01:00
Jessica Tallon
58432bcb8c
Add JPope's sandy 70s speedboat theme
2014-07-18 18:01:58 +01:00
Tryggvi Bjorgvinsson
09bed9a732
Use unicode for logging comments
...
The comment problems detailed in issue 791 are related to logging
of comments creation. The log tries to format unicode comments into
an ascii string (that is the unicode comment content).
This also creates problems with mark seen functionality since that
also logs the comments which breaks and you end up with a lot of
international comments in your message queue.
This commit makes both log messages unicode as well as the
representation of the comment.
2014-07-18 15:27:35 +01:00
Christopher Allan Webber
8c311def96
Explicitly *do not* handle NEF files via the video media type.
...
Gstreamer might think it's a good idea, but it isn't.
2014-07-17 15:04:03 -05:00
Jessica Tallon
892eed590f
Fix #894 - index User.username field
...
This commit sponsored by Emily O'Leary. Thank you!
2014-07-17 10:21:29 -05:00
Odin Hørthe Omdal
ffbf9c8b43
Implement Raw Image media type plugin
2014-07-16 14:29:58 -05:00
Christopher Allan Webber
e99431cc05
As Elrond points out, git submodule should come first!
...
This commit sponsored by Sebastien Hut. Thanks Sebastien!
2014-07-12 08:59:55 -05:00