Compare commits
2 Commits
a21e849ea3
...
51c83f572e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51c83f572e | ||
|
|
a233cfc4fd |
@@ -6438,7 +6438,7 @@ async function stopTimer(token, entryId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// src/plugin.ts
|
// src/plugin.ts
|
||||||
var CURRENT_VERSION = "1.0.30";
|
var CURRENT_VERSION = "1.0.31";
|
||||||
var GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/stable-rebuild";
|
var GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/stable-rebuild";
|
||||||
var SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
var SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
||||||
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
|
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
U [<EFBFBD>ź®/<2F>‰Ş.ťCÄł+l.߆g0›h٬ţQ¨VšěX8Xú÷ cĹĘŻťÚxŮĐťž°K/(ßÚ|˘
|
vçXCá¹kf*j”˜vèk𮂿
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"Author": "Pete Marfleet",
|
"Author": "Pete Marfleet",
|
||||||
"Description": "Toggle Notion time tracking for a project with a single button press.",
|
"Description": "Toggle Notion time tracking for a project with a single button press.",
|
||||||
"Name": "Notion Timer",
|
"Name": "Notion Timer",
|
||||||
"Version": "1.0.30",
|
"Version": "1.0.31",
|
||||||
"SDKVersion": 2,
|
"SDKVersion": 2,
|
||||||
"Software": { "MinimumVersion": "5.0" },
|
"Software": { "MinimumVersion": "5.0" },
|
||||||
"OS": [{ "Platform": "mac", "MinimumVersion": "10.11" }],
|
"OS": [{ "Platform": "mac", "MinimumVersion": "10.11" }],
|
||||||
|
|||||||
@@ -195,11 +195,20 @@
|
|||||||
userId: document.getElementById("userId").value,
|
userId: document.getElementById("userId").value,
|
||||||
};
|
};
|
||||||
$PI.setGlobalSettings(creds);
|
$PI.setGlobalSettings(creds);
|
||||||
|
globalUserId = creds.userId;
|
||||||
setCredStatus("Credentials saved.", "ok");
|
setCredStatus("Credentials saved.", "ok");
|
||||||
if (creds.notionToken) {
|
|
||||||
setStatus("Loading…", "");
|
|
||||||
$PI.sendToPlugin({ event: "refreshProjects", token: creds.notionToken });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function scheduleCredSave() {
|
||||||
|
clearTimeout(credSaveTimer);
|
||||||
|
credSaveTimer = setTimeout(function() {
|
||||||
|
saveCredentials();
|
||||||
|
var token = document.getElementById("notionToken").value.trim();
|
||||||
|
if (token) {
|
||||||
|
setStatus("Loading…", "");
|
||||||
|
$PI.sendToPlugin({ event: "refreshProjects", token: token });
|
||||||
|
}
|
||||||
|
}, 600);
|
||||||
}
|
}
|
||||||
|
|
||||||
function populateUsers(users, userId) {
|
function populateUsers(users, userId) {
|
||||||
@@ -215,11 +224,6 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function scheduleCredSave() {
|
|
||||||
clearTimeout(credSaveTimer);
|
|
||||||
credSaveTimer = setTimeout(saveCredentials, 600);
|
|
||||||
}
|
|
||||||
|
|
||||||
function save() {
|
function save() {
|
||||||
var sel = document.getElementById("projectSelect");
|
var sel = document.getElementById("projectSelect");
|
||||||
var opt = sel.options[sel.selectedIndex];
|
var opt = sel.options[sel.selectedIndex];
|
||||||
|
|||||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
const CURRENT_VERSION = "1.0.30";
|
const CURRENT_VERSION = "1.0.31";
|
||||||
const GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/stable-rebuild";
|
const GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/stable-rebuild";
|
||||||
const SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
const SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
||||||
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
|
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{ "version": "1.0.30" }
|
{ "version": "1.0.31" }
|
||||||
|
|||||||
Reference in New Issue
Block a user