|
isUserConnected(f)
connection decorator (wraps methods that require connection) -
adapted from webclient.views retrieves connection and passes it to
the wrapped method in kwargs TODO: would be nice to refactor
isUserConnected from webclient to be usable from here. |
source code
|
|
|
groups_members(request)
List the users of the current group - if permitted |
source code
|
|
|
switch_group(request,
groupId)
Switch to the specified group, then redirect to index. |
source code
|
|
|
|
|
|
|
|
|
projects(request,
eid=None,
**kwargs)
List the projects owned by the current user, or another user
specified by eId |
source code
|
|
|
project(request,
id,
**kwargs)
Show datasets belonging to the specified project |
source code
|
|
|
object_details(request,
obj_type,
id,
**kwargs)
Show project/dataset details: Name, description, owner, annotations
etc |
source code
|
|
|
|
|
image(request,
imageId,
**kwargs)
Show image summary: Name, dimensions, large thumbnail, description,
annotations |
source code
|
|
|
orphaned_images(request,
eid,
**kwargs)
Show image summary: Name, dimensions, large thumbnail, description,
annotations |
source code
|
|
|
|
|
|
|
|
|
getAnnotations(obj)
List the annotations and sort into comments, tags, ratings, files etc |
source code
|
|
|
edit_object(request,
obj_type,
obj_id,
**kwargs)
Display a page for editing Name and Description of
Project/Dataset/Image etc Page 'submit' redirects here with 'name'
and 'description' in POST, which will do the edit and return to the
object_details page. |
source code
|
|
|
add_comment(request,
obj_type,
obj_id,
**kwargs)
Adds a comment (from request 'comment') to object 'project',
'dataset', 'image' then redirects to the 'details' page for that
object: E.g. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
collab_annotations(request,
myData=True,
**kwargs)
Page displays recent annotations of OTHER users on MY data
(myData=True) or MY annotations on data belonging to OTHER users. |
source code
|
|
|
image_viewer(request,
iid,
**kwargs)
This view is responsible for showing pixel data as images |
source code
|
|