From 1e1b64539144006c59c7b705700fc7f34c7a26b1 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 20 Feb 2013 12:00:22 +0100 Subject: more animation for dashboard --- module/api/ConfigApi.py | 2 +- module/api/FileApi.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'module/api') 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 @@ -76,6 +76,12 @@ class FileApi(ApiComponent): def findFiles(self, pattern): pass + @RequirePerm(Permission.All) + def getAutocompletion(self, pattern): + # TODO + + return ["static", "autocompletion", "demo"] + @RequirePerm(Permission.All) def findPackages(self, tags): pass -- cgit v1.2.3