summaryrefslogtreecommitdiffstats
path: root/module/api
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-20 12:00:22 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-20 12:00:22 +0100
commit1e1b64539144006c59c7b705700fc7f34c7a26b1 (patch)
treeebae99f037953469d4437331763c0c38d41e9511 /module/api
parentintegrated new package view (diff)
downloadpyload-1e1b64539144006c59c7b705700fc7f34c7a26b1.tar.xz
more animation for dashboard
Diffstat (limited to 'module/api')
-rw-r--r--module/api/ConfigApi.py2
-rw-r--r--module/api/FileApi.py6
2 files changed, 7 insertions, 1 deletions
diff --git a/module/api/ConfigApi.py b/module/api/ConfigApi.py
index ffcdbabec..451e4f832 100644
--- a/module/api/ConfigApi.py
+++ b/module/api/ConfigApi.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-from module.Api import Api, UserContext, RequirePerm, Permission, ConfigHolder, ConfigItem, PluginInfo
+from module.Api import Api, UserContext, RequirePerm, Permission, ConfigHolder, ConfigItem, ConfigInfo
from module.utils import to_string
from ApiComponent import ApiComponent
diff --git a/module/api/FileApi.py b/module/api/FileApi.py
index f470cfa3e..fa9d728cb 100644
--- a/module/api/FileApi.py
+++ b/module/api/FileApi.py
@@ -77,6 +77,12 @@ class FileApi(ApiComponent):
pass
@RequirePerm(Permission.All)
+ def getAutocompletion(self, pattern):
+ # TODO
+
+ return ["static", "autocompletion", "demo"]
+
+ @RequirePerm(Permission.All)
def findPackages(self, tags):
pass