~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/__init__.py

Port the forum app to the new framework. With it also comes new cookie
infrastructure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
take place in the FileService app (for handling Ajax requests).
27
27
"""
28
28
 
29
 
from ivle.webapp.base.plugins import ViewPlugin
 
29
from ivle.webapp.base.plugins import ViewPlugin, CookiePlugin
30
30
from ivle.webapp.base.xhtml import XHTMLView
31
31
 
32
32
import os.path
152
152
          ])
153
153
        ]
154
154
 
155
 
class Plugin(ViewPlugin):
 
155
class Plugin(ViewPlugin, CookiePlugin):
156
156
    """
157
157
    The Plugin class for the user plugin.
158
158
    """
165
165
        ('files/', BrowserView),
166
166
    ]
167
167
 
 
168
    cookies = {'clipboard': None}
 
169
 
168
170
    media = 'media'