Compare commits
2 Commits
53c0ae7993
...
2eb4c8f53a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2eb4c8f53a | ||
|
|
c3add8da27 |
@@ -6438,7 +6438,7 @@ async function stopTimer(token, entryId) {
|
||||
}
|
||||
|
||||
// src/plugin.ts
|
||||
var CURRENT_VERSION = "1.0.27";
|
||||
var CURRENT_VERSION = "1.0.28";
|
||||
var GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/stable-rebuild";
|
||||
var SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
||||
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
=O<>Ü1Ú€’p?9Q'ÙUžG¶f"óÜ?ìÇŸÔ$3ea¢æásÊÔí!0ÍZg»pÛùã:¯•]‚ôÊ :
|
||||
©╬и$q
|
||||
PИэ╞
|
||||
@@ -2,7 +2,7 @@
|
||||
"Author": "Pete Marfleet",
|
||||
"Description": "Toggle Notion time tracking for a project with a single button press.",
|
||||
"Name": "Notion Timer",
|
||||
"Version": "1.0.27",
|
||||
"Version": "1.0.28",
|
||||
"SDKVersion": 2,
|
||||
"Software": { "MinimumVersion": "5.0" },
|
||||
"OS": [{ "Platform": "mac", "MinimumVersion": "10.11" }],
|
||||
|
||||
@@ -161,6 +161,7 @@
|
||||
var currentSettings = {};
|
||||
var credSaveTimer = null;
|
||||
var credConfigured = false;
|
||||
var globalUserId = "";
|
||||
|
||||
function setStatus(msg, cls) {
|
||||
var el = document.getElementById("statusText");
|
||||
@@ -264,10 +265,11 @@
|
||||
$PI.onDidReceiveGlobalSettings(function(jsn) {
|
||||
var s = jsn.payload.settings || {};
|
||||
document.getElementById("notionToken").value = s.notionToken || "";
|
||||
if (s.userId) {
|
||||
globalUserId = s.userId || "";
|
||||
if (globalUserId) {
|
||||
var sel = document.getElementById("userId");
|
||||
if (sel.querySelector('option[value="' + s.userId + '"]')) {
|
||||
sel.value = s.userId;
|
||||
if (sel.querySelector('option[value="' + globalUserId + '"]')) {
|
||||
sel.value = globalUserId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -306,8 +308,7 @@
|
||||
document.getElementById("versionText").textContent = "v" + payload.version;
|
||||
}
|
||||
if (payload.users) {
|
||||
var savedUserId = document.getElementById("userId").value;
|
||||
populateUsers(payload.users, savedUserId);
|
||||
populateUsers(payload.users, globalUserId);
|
||||
}
|
||||
if (payload.error) {
|
||||
setStatus(payload.error, "error");
|
||||
|
||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
const CURRENT_VERSION = "1.0.27";
|
||||
const CURRENT_VERSION = "1.0.28";
|
||||
const GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/stable-rebuild";
|
||||
const SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
||||
MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4=
|
||||
|
||||
@@ -1 +1 @@
|
||||
{ "version": "1.0.27" }
|
||||
{ "version": "1.0.28" }
|
||||
|
||||
Reference in New Issue
Block a user