ep_who_did_what 0.0.70 → 10.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/express.js CHANGED
@@ -3,7 +3,7 @@
3
3
  const exportWhoDidWhat = require('./exportWhoDidWhat');
4
4
 
5
5
  exports.expressCreateServer = (hookName, args, cb) => {
6
- args.app.get('/p/:pad/:rev?/export/whoDidWhat', (req, res, next) => {
6
+ args.app.get('/p/:pad/export/whoDidWhat', (req, res, next) => {
7
7
  const padID = req.params.pad;
8
8
  const revision = req.params.rev ? req.params.rev : null;
9
9
 
@@ -12,5 +12,15 @@ exports.expressCreateServer = (hookName, args, cb) => {
12
12
  res.send(result);
13
13
  });
14
14
  });
15
+
16
+ args.app.get('/p/:pad/:rev/export/whoDidWhat', (req, res, next) => {
17
+ const padID = req.params.pad;
18
+ const revision = req.params.rev ? req.params.rev : null;
19
+
20
+ exportWhoDidWhat.whoDidWhat(padID, revision, (err, result) => {
21
+ res.contentType('text/json');
22
+ res.send(result);
23
+ });
24
+ });
15
25
  cb();
16
26
  };
package/index.js CHANGED
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
  const eejs = require('ep_etherpad-lite/node/eejs/');
19
- const settings = require('ep_etherpad-lite/node/utils/Settings');
19
+ import settings from 'ep_etherpad-lite/node/utils/Settings';
20
20
 
21
21
  exports.eejsBlock_timesliderScripts = (fn, args, cb) => {
22
22
  args.content += `<script type='text/javascript'>${eejs.require(
package/locales/ia.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "McDutchie"
5
5
  ]
6
6
  },
7
- "pad.ep_who_did_what_catchup.title": "Qui ha modificate iste nota e quando?"
7
+ "pad.ep_who_did_what_catchup.title": "Qui ha facite cambiamentos a iste pad e quando?"
8
8
  }
package/locales/nl.json CHANGED
@@ -1,8 +1,6 @@
1
1
  {
2
2
  "@metadata": {
3
- "authors": [
4
- "McDutchie"
5
- ]
3
+ "authors": []
6
4
  },
7
- "pad.ep_who_did_what_catchup.title": "Wie heeft er wanneer welke wijzigingen aangebracht aan deze notitie?"
5
+ "pad.ep_who_did_what_catchup.title": "Wie heeft er wanneer welke wijzigingen aangebracht?"
8
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ep_who_did_what",
3
- "version": "0.0.70",
3
+ "version": "10.0.1",
4
4
  "description": "Who made what changes to a pad? A historical report available in the timeslider",
5
5
  "author": "John McLear <john@mclear.co.uk>",
6
6
  "contributors": [],
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",
22
- "url": "https://github.com/ether/ep_who_did_what.git"
22
+ "url": "https://github.com/ether/ether-plugins.git"
23
23
  },
24
24
  "scripts": {
25
25
  "lint": "eslint .",
@@ -1,11 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: "github-actions"
4
- directory: "/"
5
- schedule:
6
- interval: "daily"
7
- - package-ecosystem: "npm"
8
- directory: "/"
9
- schedule:
10
- interval: "daily"
11
- versioning-strategy: "increase"
@@ -1,16 +0,0 @@
1
- name: "CodeQL"
2
-
3
- on:
4
- push:
5
- branches: [ "main" ]
6
- pull_request:
7
- branches: [ "main" ]
8
- schedule:
9
- - cron: "48 0 * * 2"
10
-
11
-
12
- jobs:
13
- analyze:
14
- uses: ether/ether-pipelines/.github/workflows/codeql-plugins.yml@main
15
- secrets: inherit
16
-
@@ -1,7 +0,0 @@
1
- name: Node.js Package
2
- on: [push]
3
-
4
- jobs:
5
- backend:
6
- uses: ether/ether-pipelines/.github/workflows/test-and-release-plugins.yml@main
7
- secrets: inherit
package/locales/es.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "@metadata": {
3
- "authors": [
4
- "Ovruni"
5
- ]
6
- },
7
- "pad.ep_who_did_what_catchup.title": "¿Quién hizo cambios en este pad y cuándo?"
8
- }
package/locales/fa.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "@metadata": {
3
- "authors": [
4
- "Darafsh"
5
- ]
6
- },
7
- "pad.ep_who_did_what_catchup.title": "چه کسی و چه زمانی در این پد تغییراتی ایجاد کرده است؟"
8
- }