etherpad-lite/src/node/handler
Ray Bellis c8e5d87268 api: simplify version table
This commit vastly shortens (and simplifies) the version table within
handler/APIHandler.js by building each version's entry incrementally based off
the previous version.

The resulting table has been validated by comparing the "before" and "after"
output of the following loop on both versions of the code (albeit with an
intermediate "sort" step to account for the different insertion order)

  for (let v in version) {
    let m = version[v];
    for (let [k, a] of Object.entries(m)) {
      console.log(v, k, a);
    }
  }

The patch also fixes a few typos, and removes a duplicate definition of
getChatHistory which in each applicable version was defined with two different
parameter lists, but where only the second would be used.
2019-01-22 22:51:22 +01:00
..
APIHandler.js api: simplify version table 2019-01-22 22:51:22 +01:00
ExportHandler.js Fixed crash on invalid export url 2016-12-22 23:04:06 +01:00
ImportHandler.js ImportHandler: flattened code 2018-10-31 23:34:15 +01:00
PadMessageHandler.js PadMessageHandler: reversed condition to make core logic evident. No behavioural changes. 2018-08-29 01:23:38 +02:00
SocketIORouter.js working handling of setting client ip and anonymizing etc 2014-11-04 23:25:18 +00:00