Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (205 - 207 of 1174)

Ticket Resolution Summary Owner Reporter
#5343 invalid Incorrect activity actor in API ayleph
Description

sapienTech's testing shows an incorrect activity actor.

In [1]: activity = pump.me.inbox.major[0]

In [2]: print pump.me
sapientech@pump.goblinrefuge.com

In [3]: print activity.actor
otyugh@pump.goblinrefuge.com

In [4]: print pump.me.outbox[0]
sapientech posted Testing pump.io on goblinrefuge

In [5]: print activity.actor.outbox[0]
sapientech posted Testing pump.io on goblinrefuge
#5342 fixed Bad feed media URLs for non-local storage ayleph
Description

When I connect to goblinrefuge.com using a pump client, none of the media is displayed because the links are bad. goblinrefuge.com stores media on CloudFiles, so files are hosted on a separate domain. The feed media URL doesn't get this correct.

Here's an example of a feed media URL Pumpa received from the API.

​https://pump.goblinrefuge.com/ttps://b2aeaa58a57a200320db-8b65b95250e902c437b256b5abf3eac7.ssl.cf5.rackcdn.com/media_entries/5223/tmp_5538-IMG_20150625_031717-1392399859.jpg

And here's the actual media URL.

​https://b2aeaa58a57a200320db-8b65b95250e902c437b256b5abf3eac7.ssl.cf5.rackcdn.com/media_entries/5223/tmp_5538-IMG_20150625_031717-1392399859.jpg

The API is mangling the URL by trying to append it to the URL of the mediagoblin server as though it's a relative path hosted on the same domain, instead of using the actual absolute URL.

#5340 fixed API feed request fails ayleph
Description

After applying the ​latest models update, an API request to /feed fails.

Error - <type 'exceptions.TypeError'>: 'NoneType' object is not iterable
URL: https://pumpdev.goblinrefuge.com/api/user/machalus/feed
File '/path/to/mediagoblin/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 '/path/to/mediagoblin/mediagoblin/app.py', line 342 in __call__
  return self.call_backend(environ, start_response)
File '/path/to/mediagoblin/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 '/path/to/mediagoblin/mediagoblin/app.py', line 276 in call_backend
  return self._finish_call_backend(request, environ, start_response)
File '/path/to/mediagoblin/mediagoblin/app.py', line 318 in _finish_call_backend
  response = controller(request)
File '/path/to/mediagoblin/mediagoblin/decorators.py', line 427 in wrapper
  return controller(request, *args, **kwargs)
File '/path/to/mediagoblin/mediagoblin/api/views.py', line 534 in feed_endpoint
  "author": request.user.serialize(request),
File '/path/to/mediagoblin/mediagoblin/db/models.py', line 399 in serialize
  user.update(super(LocalUser, self).serialize(request))
TypeError: 'NoneType' object is not iterable


CGI Variables
-------------
  CSRF_TOKEN: '14966043511774073798'
  DOCUMENT_ROOT: sanitized
  GATEWAY_INTERFACE: 'CGI/1.1'
  HTTPS: 'on'
  HTTP_ACCEPT_ENCODING: 'gzip, deflate'
  HTTP_ACCEPT_LANGUAGE: 'en-US,*'
  HTTP_AUTHORIZATION: sanitized
  HTTP_CONNECTION: 'Keep-Alive'
  HTTP_HOST: 'pumpdev.goblinrefuge.com'
  HTTP_USER_AGENT: 'Mozilla/5.0'
  PATH_INFO: '/api/user/machalus/feed'
  PATH_TRANSLATED: sanitized
  REDIRECT_STATUS: '200'
  REMOTE_ADDR: '127.0.0.1'
  REMOTE_PORT: '49590'
  REQUEST_METHOD: 'GET'
  REQUEST_URI: '/api/user/machalus/feed'
  SCRIPT_FILENAME: sanitized
  SERVER_ADDR: '127.0.0.1'
  SERVER_NAME: 'pumpdev.goblinrefuge.com'
  SERVER_PORT: '8443'
  SERVER_PROTOCOL: 'HTTP/1.1'
  SERVER_SOFTWARE: 'lighttpd/1.4.35'
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.