Custom Query (1174 matches)
Results (373 - 375 of 1174)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #945 | fixed | Host metadata does not confirm to spec (/.well-known/meta-data) | ||
| Description |
The /.well-known/host-meta endpoint is providing JSON when it should by default provide XML. According to the spec XML should be the default and JSON and lrdd should be given if requested. This seems to be a problem with upstream pump.io as they only provide JOSN and not XML. As we're providing a upstream compatible interface this should be decided upstream and we will implement whatever is decided upstream. The specific part of rfc6415 which deals with Host Meta is under section 2:
The JSON/JRD should be provided at /.well-known/host-meta.json (as per 6.2). Upstream bug is: https://github.com/e14n/pump.io/issues/1048 |
|||
| #948 | fixed | Errors viewing other user's blogs | ||
| Description |
Following another user's Blog Dashboard link shows a list of that user's blogs. Clicking on one of the listed blogs produces unexpected results.
This is caused by the below snippet of code. mediagoblin/media_types/blog/views.py: def blog_post_listing(request, page, url_user=None):
"""
Page, listing all the blog posts of a particular blog.
"""
blog_slug = request.matchdict.get('blog_slug', None)
blog = get_blog_by_slug(request, blog_slug, author=request.user.id)
if not blog:
return render_404(request)
In case 1 above,
In case 2 above, Error - <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'id' URL: https://domain.tld/mediagoblin/u/USER/b/BLOG/ 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/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py', line 203 in __call__ return app(environ, start_response) File '/path/to/mediagoblin/mediagoblin/app.py', line 265 in __call__ return self.call_backend(environ, start_response) File '/path/to/mediagoblin/mediagoblin/app.py', line 242 in call_backend response = controller(request) File '/path/to/mediagoblin/mediagoblin/decorators.py', line 114 in wrapper return controller(request, *args, url_user=user, **kwargs) File '/path/to/mediagoblin/mediagoblin/decorators.py', line 165 in wrapper return controller(request, page=page, *args, **kwargs) File '/path/to/mediagoblin/mediagoblin/media_types/blog/views.py', line 264 in blog_post_listing blog = get_blog_by_slug(request, blog_slug, author=request.user.id) AttributeError: 'NoneType' object has no attribute 'id' |
|||
| #949 | invalid | Markdown rendering does not respect newlines in literal text | ||
| Description |
For an example of this problem, see http://media.dthompson.us/u/davexunit/m/signal-generator-in-action-d10c/. The code snippet in the description should have several newlines, but it has all been crammed together, making it harder to read. |
|||
