ep_who_did_what 0.0.71 → 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 +11 -1
- package/index.js +1 -1
- package/locales/ia.json +1 -1
- package/locales/nl.json +2 -4
- package/package.json +2 -2
- package/.github/dependabot.yml +0 -11
- package/.github/workflows/codeql.yml +0 -16
- package/.github/workflows/test-and-release.yml +0 -7
- package/locales/es.json +0 -8
- package/locales/fa.json +0 -8
- package/locales/ps.json +0 -8
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
|
|
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
|
-
|
|
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
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
|
|
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": "
|
|
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/
|
|
22
|
+
"url": "https://github.com/ether/ether-plugins.git"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"lint": "eslint .",
|
package/.github/dependabot.yml
DELETED
|
@@ -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
|
-
|
package/locales/es.json
DELETED
package/locales/fa.json
DELETED