aboutsummaryrefslogblamecommitdiffstats
path: root/manifest.webapp
blob: f86fa2e49ead1571db743ae499c082da8a607e31 (plain) (tree)
1
2
3
4
5
6
7
8
9
 
                   
                          
                                                                                             
                         



                                        










                                       











                                      

         












                                                                                               
{
    "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": [
        "*"
    ]
}