Jessica Tallon
7bfc81b21a
Fix #923 - add allow_admin to user_has_privilege decorator
2014-07-29 20:29:02 +01:00
Christopher Allan Webber
97650abd78
Avoid "lego translations" on the nothing currently featured strings
...
This commit sponsored by Vinzenz Vietzke. Thank you!
2014-07-29 13:38:59 -05:00
Christopher Allan Webber
92ce9c0df9
Committing extracted and compiled translations
2014-07-29 11:02:42 -05:00
Christopher Allan Webber
2df7a1b66b
Committing present MediaGoblin translations before pushing extracted messages
2014-07-29 11:01:36 -05:00
Laura Arjona Reina
e228876efa
Make translatable table columns titles in media processing panel
2014-07-29 11:00:37 -05:00
Laura Arjona Reina
a463fe06ed
Make translatable takeaway privileges actions
2014-07-29 11:00:37 -05:00
Laura Arjona Reina
7f50ae1656
Make translatable the titles of TextAreas in moderation form
2014-07-29 11:00:37 -05:00
Laura Arjona Reina
b752085339
Make translatable 'Feature' button in the explanation about how to feature media.
2014-07-29 11:00:37 -05:00
Laura Arjona Reina
b678965727
Make consistent quotation marks when referring to button labels
2014-07-29 11:00:37 -05:00
Laura Arjona Reina
6f8ae21a87
Make translatable some strings that weren't i18n'ed
2014-07-29 11:00:37 -05:00
Berker Peksag
20238f54a6
Use isinstance and six.text_type to check types of an object.
2014-07-28 15:26:13 +03:00
Berker Peksag
7ec6994453
Fix urlparse import.
2014-07-28 15:25:20 +03:00
Berker Peksag
15c3461b1f
Disable cache support of LazyProxy.
...
Since Babel 1.0, there's a enable_cache keyword argument of LazyProxy,
but we can't pass it directly.
2014-07-28 15:24:49 +03:00
Berker Peksag
874439bd80
Update .gitignore.
2014-07-28 13:29:26 +03:00
Berker Peksag
cf3b5926f4
Cleanup mediagoblin._compat and fix translation tests.
2014-07-28 13:27:19 +03:00
Berker Peksag
173099ad2b
Update dependency list.
2014-07-28 13:24:17 +03:00
Berker Peksag
88ed537a9e
Skip test_sql_migrations on Python 3 for now.
2014-07-28 13:22:42 +03:00
Berker Peksag
fe6f82be23
Remove an usage of deprecated cgi.parse_qs().
2014-07-28 12:54:59 +03:00
Berker Peksag
98d8b365af
func_name removed in Python 3.
2014-07-28 10:35:14 +03:00
Christopher Allan Webber
7e0c51af3e
Remove the option about whether or not spectrograms are created. They always are.
...
This commit sponsored by Emily O'Leary. Thanks, Emily!
2014-07-25 16:02:28 -05:00
Tryggvi Bjorgvinsson
dc19e98d98
Add __unicode__ representation to Notification and MediaCommentMixin
...
Instead of having __repr__ return a unicode object which it should
not do, we use the __unicode__ method to allow use of Notification
and MediaCommentMixin objects in unicode strings.
2014-07-25 14:37:57 -05:00
Christopher Allan Webber
0e9aa9db14
Adding thallian to the authors list
2014-07-24 12:15:12 -05:00
Christopher Allan Webber
196cef381d
Fix by thallian: use correct datetime.strptime
...
datetime.dateime already imported, so....
2014-07-24 12:09:17 -05:00
Jessica Tallon
aab6239477
Merge branch 'Federation'
2014-07-23 00:23:23 +01:00
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
8ac7a653d9
Create test for garbage collection
2014-07-22 23:13:16 +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
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