zotero-plugin 5.0.7 → 5.0.9
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/README.md +2 -2
- package/bin/release.js +1 -1
- package/debug-log.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,9 +82,9 @@ DebugLog.register('your plugin name', ['extensions.zotero.<your plugin extension
|
|
|
82
82
|
|
|
83
83
|
the array is a list of either full names of preferences you want to know about, or a name ending in `.` which means "all keys directly under this".
|
|
84
84
|
|
|
85
|
-
The Help menu will now have an entry "send debug log to
|
|
85
|
+
The Help menu will now have an entry "send debug log to 0x0.st"; when your user selects that, the error log and the selected settings will be sent to 0x0.st; if any items are selected, when that is clicked, a copy of those items will be included in RDF format.
|
|
86
86
|
|
|
87
|
-
The user will get an ID that looks like `C3WvhYgA8RDM-2XZGASLV`; the
|
|
87
|
+
The user will get an ID that looks like `C3WvhYgA8RDM-0x0-2XZGASLV`; the last part is the 0x0.st ID, so you would go to `https://0x0.st/2XZGASLV.zip` to retrieve the download; the zipfile you get there will be `C3WvhYgA8RDM.zip`.
|
|
88
88
|
|
|
89
89
|
# Starting Zotero with your plugin loaded
|
|
90
90
|
|
package/bin/release.js
CHANGED
|
@@ -8248,7 +8248,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
8248
8248
|
"package.json"(exports, module) {
|
|
8249
8249
|
module.exports = {
|
|
8250
8250
|
name: "zotero-plugin",
|
|
8251
|
-
version: "5.0.
|
|
8251
|
+
version: "5.0.9",
|
|
8252
8252
|
description: "Zotero plugin builder",
|
|
8253
8253
|
homepage: "https://github.com/retorquere/zotero-plugin/wiki",
|
|
8254
8254
|
bin: {
|
package/debug-log.js
CHANGED
|
@@ -140,7 +140,7 @@ class DebugLogSender {
|
|
|
140
140
|
url += '/';
|
|
141
141
|
if (!body.startsWith(url))
|
|
142
142
|
throw new Error(body);
|
|
143
|
-
this.alert(`Debug log ID for ${plugin}`, `${key}-0x0-${body.replace(url, '')}`);
|
|
143
|
+
this.alert(`Debug log ID for ${plugin}`, `${key}-0x0-${body.replace(url, '').replace(/[.]zip$/, '')}`);
|
|
144
144
|
}
|
|
145
145
|
catch (err) {
|
|
146
146
|
this.alert(`Could not post debug log for ${plugin}`, err.message);
|