<commit_before>{
  "name": "Quiver",
  "description": "Social provider using Websocket protocol",
  "app": {
    "script": [
      "socketio.quiver.js"
   	]
  },
  "dependencies": {
    "pgp-e2e": {
      "url": "../freedom-pgp-e2e/pgpapi.json",
      "api": "crypto"
    }
  },
  "default": "social2",
  "provides": [
    "social2"
  ],
  "api": {
    "social2": {
      "ERRCODE": {"type": "constant", "value": {
        "SUCCESS": "Success!",
        "UNKNOWN": "Unknown error",
        "OFFLINE": "User is currently offline",
        "MALFORMEDPARAMETERS": "Parameters are malformed",
        "LOGIN_BADCREDENTIALS": "Error authenticating with server",
        "LOGIN_FAILEDCONNECTION": "Error connecting to server",
        "LOGIN_ALREADYONLINE": "User is already logged in",
        "LOGIN_OAUTHERROR": "OAuth Error",
        "SEND_INVALIDDESTINATION": "Message sent to an invalid destination"
      }},

      "STATUS": {"type": "constant", "value": {
        "OFFLINE": "OFFLINE",
        "ONLINE": "ONLINE",
        "ONLINE_WITH_OTHER_APP": "ONLINE_WITH_OTHER_APP"
      }},

      "login": {
        "type": "method",
        "value": [{
          "agent": "string",
          "version": "string",
          "url": "string",
          "interactive": "boolean",
          "rememberLogin": "boolean",
          "userName": "string"
        }],
        "ret": {
          "userId": "string",
          "clientId": "string",
          "status": "string",
          "lastUpdated": "number",
          "lastSeen": "number"
        },
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "inviteUser": {
        "type": "method",
        "value": ["string"],
        "ret": "object"
      },

      "acceptUserInvitation": {
        "type": "method",
        "value": ["object"]
      },

      "sendEmail": {
        "type": "method",
        "value": ["string", "string", "string"]
      },

      "clearCachedCredentials": {"type": "method", "value": []},

      "getClients": {
        "type": "method",
        "value": [],
        "ret": "object",
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "getUsers": {
        "type": "method",
        "value": [],
        "ret": "object",
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "sendMessage": {
        "type": "method",
        "value": ["string", "string"],
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "logout": {
        "type": "method",
        "value": [],
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "onMessage": {"type": "event", "value": {
        "from": {
          "userId": "string",
          "clientId": "string",
          "status": "string",
          "lastUpdated": "number",
          "lastSeen": "number"
        },
        "message": "string"
      }},

      "onUserProfile": {"type": "event", "value": {
        "userId": "string",
        "lastUpdated": "number",
        "name": "string",
        "url": "string",
        "imageData": "string",
        "state": "string"
      }},

      "onClientState": {"type": "event", "value": {
        "userId": "string",
        "clientId": "string",
        "status": "string",
        "lastUpdated": "number",
        "lastSeen": "number",
        "inviteResponse": "string"
      }}
    }
  },
  "permissions": [
    "core.crypto",
    "core.storage",
    "core.tcpsocket",
    "core.xhr"
  ]
}
<commit_msg>Add "pgpKeyName" to the list of login parameters<commit_after>{
  "name": "Quiver",
  "description": "Social provider using Websocket protocol",
  "app": {
    "script": [
      "socketio.quiver.js"
   	]
  },
  "dependencies": {
    "pgp-e2e": {
      "url": "../freedom-pgp-e2e/pgpapi.json",
      "api": "crypto"
    }
  },
  "default": "social2",
  "provides": [
    "social2"
  ],
  "api": {
    "social2": {
      "ERRCODE": {"type": "constant", "value": {
        "SUCCESS": "Success!",
        "UNKNOWN": "Unknown error",
        "OFFLINE": "User is currently offline",
        "MALFORMEDPARAMETERS": "Parameters are malformed",
        "LOGIN_BADCREDENTIALS": "Error authenticating with server",
        "LOGIN_FAILEDCONNECTION": "Error connecting to server",
        "LOGIN_ALREADYONLINE": "User is already logged in",
        "LOGIN_OAUTHERROR": "OAuth Error",
        "SEND_INVALIDDESTINATION": "Message sent to an invalid destination"
      }},

      "STATUS": {"type": "constant", "value": {
        "OFFLINE": "OFFLINE",
        "ONLINE": "ONLINE",
        "ONLINE_WITH_OTHER_APP": "ONLINE_WITH_OTHER_APP"
      }},

      "login": {
        "type": "method",
        "value": [{
          "agent": "string",
          "version": "string",
          "url": "string",
          "interactive": "boolean",
          "rememberLogin": "boolean",
          "userName": "string",
          "pgpKeyName": "string"
        }],
        "ret": {
          "userId": "string",
          "clientId": "string",
          "status": "string",
          "lastUpdated": "number",
          "lastSeen": "number"
        },
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "inviteUser": {
        "type": "method",
        "value": ["string"],
        "ret": "object"
      },

      "acceptUserInvitation": {
        "type": "method",
        "value": ["object"]
      },

      "sendEmail": {
        "type": "method",
        "value": ["string", "string", "string"]
      },

      "clearCachedCredentials": {"type": "method", "value": []},

      "getClients": {
        "type": "method",
        "value": [],
        "ret": "object",
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "getUsers": {
        "type": "method",
        "value": [],
        "ret": "object",
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "sendMessage": {
        "type": "method",
        "value": ["string", "string"],
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "logout": {
        "type": "method",
        "value": [],
        "err": {
          "errcode": "string",
          "message": "string"
        }
      },

      "onMessage": {"type": "event", "value": {
        "from": {
          "userId": "string",
          "clientId": "string",
          "status": "string",
          "lastUpdated": "number",
          "lastSeen": "number"
        },
        "message": "string"
      }},

      "onUserProfile": {"type": "event", "value": {
        "userId": "string",
        "lastUpdated": "number",
        "name": "string",
        "url": "string",
        "imageData": "string",
        "state": "string"
      }},

      "onClientState": {"type": "event", "value": {
        "userId": "string",
        "clientId": "string",
        "status": "string",
        "lastUpdated": "number",
        "lastSeen": "number",
        "inviteResponse": "string"
      }}
    }
  },
  "permissions": [
    "core.crypto",
    "core.storage",
    "core.tcpsocket",
    "core.xhr"
  ]
}

{'fraction_non_alphanumeric': 0.1972370400765969, 'fraction_numerical': 0.001367801942278758, 'mean_word_length': 1.7887109077040426, 'pattern_counts': {'":': 233, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5415733', 'n_tokens_mistral': 2338, 'n_tokens_neox': 2305, 'n_words': 467}