Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (280 - 282 of 1174)

Ticket Resolution Summary Owner Reporter
#1079 fixed Activity.content is not fully translatable Jessica Tallon
Description

Currently the "object" in the Activity.content is not translatable because it uses Activity.generate_content uses model.object_type which is purposefully forced to English as it's used in the API.

This could be fixed by doing:

{
    "image": _("an image"),
    "comment": _("a comment"),
    etc...
}

This would allow it be translatable and get the correct article in English which is currently missing.

#1078 fixed /api/user/<user>/inbox gives error 500 Jonas Haraldsson
Description
Error - <type 'exceptions.AttributeError'>: 'list' object has no attribute 'order_by'
URL: http://mediagoblin.jonash.local/api/user/kabniel/inbox
File '/srv/mediagoblin.local/mediagoblin/local/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__
  app_iter = self.application(environ, sr_checker)
File '/srv/mediagoblin.local/mediagoblin/mediagoblin/app.py', line 342 in __call__
  return self.call_backend(environ, start_response)
File '/srv/mediagoblin.local/mediagoblin/local/lib/python2.7/site-packages/Werkzeug-0.9.6-py2.7.egg/werkzeug/wsgi.py', line 588 in __call__
  return self.app(environ, start_response)
File '/srv/mediagoblin.local/mediagoblin/mediagoblin/app.py', line 276 in call_backend
  return self._finish_call_backend(request, environ, start_response)
File '/srv/mediagoblin.local/mediagoblin/mediagoblin/app.py', line 318 in _finish_call_backend
  response = controller(request)
File '/srv/mediagoblin.local/mediagoblin/mediagoblin/decorators.py', line 427 in wrapper
  return controller(request, *args, **kwargs)
File '/srv/mediagoblin.local/mediagoblin/mediagoblin/federation/views.py', line 163 in inbox_endpoint
  inbox = inbox.order_by(Activity.published.desc())
AttributeError: 'list' object has no attribute 'order_by'

#1077 fixed 500 error updating comments in API Jessica Tallon
Description

Using the API you get a HTTP 500 error when you try and send an "update" activity to update a comment. This is caused because the comment.unserialize takes more arguments (3) than being passed in (2).

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.