etherpad-lite/src/static/js/pluginfw
Richard Hansen 442fe1e86f pluginfw: Always include the function name in hook_fn_name
Plugin authors are allowed to omit the function name in the `ep.json`
parts definition. For example:

```
{
  "parts": [
    {
      "name": "ep_example",
      "hooks": {
        "authenticate": "ep_example",
        "authFailure": "ep_example"
      }
    }
  ]
}
```

If omitted, the function name is assumed to be the same as the hook
name. Before this change, `hook_fn_name` for the example hooks would
both be `/opt/etherpad-lite/node_modules/ep_example`. Now they are
suffixed with `:authenticate` and `:authFailure`. This improves
logging, and it makes it possible to use `hook_fn_name` to uniquely
identify a particular hook function.
2020-09-05 22:43:17 +01:00
..
client_plugins.js stalecode: jQuery 3 (#3903) 2020-06-07 12:01:14 +01:00
hooks.js hooks: Always return a list from aCallFirst and callFirst 2020-09-05 20:35:19 +01:00
installer.js plugins download and search: converted to Promises 2019-01-23 12:24:53 +00:00
plugins.js pluginfw: Always include the function name in hook_fn_name 2020-09-05 22:43:17 +01:00
read-installed.js Mimic, replace or work around removed npm utils. 2012-10-28 18:34:20 +01:00
shared.js pluginfw: Always include the function name in hook_fn_name 2020-09-05 22:43:17 +01:00
tsort.js Removed old pluginfw stuff 2012-03-01 19:00:58 +01:00