Bases: object
Object which encompasses all of the logic related to a Blitz connection and its status with respect to OMERO.web.
Bases: type
Decorators for use with OMERO.web applications.
Bases: django.http.response.StreamingHttpResponse
Extension of L{HttpResponse} which closes the OMERO connection.
Bases: object
OMERO.web specific extension of the Django login_required() decorator, https://docs.djangoproject.com/en/dev/topics/auth/, which is responsible for ensuring a valid L{omero.gateway.BlitzGateway} connection. Is configurable by various options.
Prepares an authenticated Blitz connection wrapper (from L{omero.gateway}) for use with a view function.
Prepares a Blitz connection wrapper (from L{omero.gateway}) for use with a view function.
The URL that should be redirected to if not logged in.
Returns the current cached OMERO.webpublic connector or None if nothing has been cached.
Verifies that the URL for the resource being requested falls within the scope of the OMERO.webpublic URL filter.
Loads Client preferences from the server.
The URL that should be redirected to if not logged in.
Called whenever the users is successfully logged in. Sets the ‘omero.group’ option if specified in the constructor
Called whenever the user is not logged in.
Called whenever a share connection is successfully prepared.
Prepares the share connection if we have a valid share ID.
Sets the current cached OMERO.webpublic connector.
If we have been requested to by the isAdmin flag, verify the user is an admin and raise an exception if they are not.
If we have been requested to by the isGroupOwner flag, verify the user is the owner of the provided group. If no group is provided the user’s active session group ownership will be verified.
Bases: object
This decorator handles the rendering of view methods to HttpResponse. It expects that wrapped view methods return a dict. This allows: - The template to be specified in the method arguments OR within the view
method itself
Hook for adding additional data to the context dict
Bases: django.contrib.sessions.backends.base.SessionBase
Implements a file based session store.
Return the expiry time of the file storing the session’s content.
Get the file associated with this session key.
Return the modification time of the file storing the session’s content.
Bases: django.http.response.HttpResponse
Bases: django.http.response.HttpResponse
Bases: django.http.response.HttpResponse
Bases: django.http.response.HttpResponseServerError
Bases: django.http.response.HttpResponse
Bases: exceptions.Exception
Helper function to return a URL pattern for index page http://host/.
WSGI config for the OMERO.web project.
Copyright 2014 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt