aboutsummaryrefslogtreecommitdiffstats
path: root/manifest.webapp
blob: f86fa2e49ead1571db743ae499c082da8a607e31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
    "version": "7",
    "name": "Import LDIF",
    "description": "Import LDIF file from the remote URL to Firefox OS Contacts application",
    "type": "privileged",
    "developer": {
        "name": "Matěj Cepl",
        "url": "http://matej.ceplovi.cz"
    },
    "activities": {
        "open": {
          "filters": {
            "type": "text/x-ldif",
            "text/x-ldif": {
                "required": true,
                "fileExtension": "ldif"
            }
           },
          "disposition": "inline",
          "href": "/index.html"
        },
        "view": {
          "filters": {
            "type": "url",
            "url": {
                "required": true,
                "regexp":  "\\.ldif$",
                "pattern": "\\.ldif$"
            }
           },
          "disposition": "inline",
          "href": "/index.html"
        }
    },
    "permissions": {
        "contacts": {
            "access": "readwrite",
            "description": "Required for adding imported contacts to the system addressbook."
        },
        "systemXHR": {
            "description": "Required for access to randomly located LDIF files on the Internet"
        }
    },
    "installs_allowed_from": [
        "*"
    ]
}