vault backup: 2022-11-16 11:08:28

This commit is contained in:
Daniel Bulant 2022-11-16 11:08:29 +01:00
parent 32e62c9c57
commit f5fb850ad1
37 changed files with 42197 additions and 1982 deletions

View file

@ -41,5 +41,7 @@
"obsidian-reading-time",
"obsidian-banners",
"obsidian-smart-typography",
"various-complements"
"various-complements",
"graph-analysis",
"persistent-graph"
]

View file

@ -1,7 +1,7 @@
{
"collapse-filter": false,
"search": "",
"showTags": true,
"showTags": false,
"showAttachments": false,
"hideUnresolved": true,
"showOrphans": true,
@ -95,6 +95,6 @@
"repelStrength": 11.9047619047619,
"linkStrength": 0.654761904761905,
"linkDistance": 195,
"scale": 0.2053647053899301,
"scale": 0.09999166997743553,
"close": false
}

File diff suppressed because one or more lines are too long

View file

@ -1,10 +1,10 @@
{
"id": "emoji-shortcodes",
"name": "Emoji Shortcodes",
"version": "2.1.2",
"version": "2.1.3",
"minAppVersion": "0.12.17",
"description": "This Plugin enables the use of Markdown Emoji Shortcodes :smile:",
"author": "phibr0",
"authorUrl": "https://github.com/phibr0",
"isDesktopOnly": false
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,10 @@
{
"id": "graph-analysis",
"name": "Graph Analysis",
"version": "0.15.4",
"minAppVersion": "0.12.10",
"description": "Analyse your Obsidian graph.",
"author": "SkepticMystic",
"authorUrl": "https://github.com/SkepticMystic/graph-analysis",
"isDesktopOnly": false
}

View file

@ -0,0 +1,126 @@
td.internal-link,
div.internal-link,
span.internal-link {
color: var(--text-accent);
text-decoration-line: none !important;
}
td.internal-link:hover,
div.internal-link:hover,
span.internal-link:hover {
color: var(--text-accent-hover, var(--text-accent));
}
tr.GA-linked td:first-child::before,
span.GA-linked::before,
div.GA-linked::before {
}
tr.GA-not-linked,
span.GA-not-linked {
/* background-color: yellow; */
}
.GA-icon {
color: var(--text-normal);
width: 13px;
height: 13px;
display: inline-block;
padding-top: 2px !important;
}
.GA-Global {
color: red;
}
.GA-Global::before {
content: '🌍';
}
td.GA-measure {
/* display:none */
}
td.GA-node {
/* background-color: yellow */
}
select.dropdown.GA-DD {
line-height: normal;
padding: 0.2em 1.9em 0.2em 0.4em;
width: fit-content;
}
button.GA-Refresh-Button {
margin-left: 5px;
padding: 3px;
}
body.is-mobile .GA-details,
body.is-mobile .GA-details::before {
font-size: larger;
}
.GA-highlight-sentence {
animation: highlightSentence 1.5s 1;
border-radius: 3px;
}
@keyframes highlightSentence {
0% {
background-color: transparent;
}
10% {
background-color: var(--text-highlight-bg);
}
80% {
background-color: var(--text-highlight-bg);
}
100% {
background-color: transparent;
}
}
.GA-View ::-webkit-scrollbar {
width: 1em;
height: 0px;
border-radius: 10px;
background-color: var(--scrollbar-bg);
}
.scrollContainer {
padding: 0px 0px 4px 0px;
}
.scrollContainer:hover {
padding: 0px;
}
.GA-View .scrollContainer:hover ::-webkit-scrollbar {
height: 4px;
}
.GA-View ::-webkit-scrollbar-track {
border-radius: 10px;
}
.GA-View ::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: var(--scrollbar-thumb-bg);
}
div.CC-sentence > ul,
div.CC-sentence > ol,
div.CC-sentence > p {
margin-block-start: 0;
margin-block-end: 0;
}
mark.CC-mark {
color: var(--text-normal);
background-color: var(--text-highlight-bg);
}
.CC-edit {
margin-block-start: 0;
margin-block-end: 0;
}
.CC-hr {
margin-block-start: 0.3em;
margin-block-end: 0.3em;
}

View file

@ -13,7 +13,7 @@
{
"path": "/",
"date": "2022-11-16",
"size": 922331
"size": 922531
}
],
"activityHistory": [
@ -906,7 +906,7 @@
},
{
"date": "2022-11-16",
"value": 311
"value": 511
}
]
}

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-charts",
"name": "Obsidian Charts",
"version": "3.6.3",
"version": "3.7.1",
"minAppVersion": "0.12.7",
"description": "This Plugin lets you create Charts within Obsidian",
"author": "phibr0",

View file

@ -75,7 +75,7 @@
"mdCSS": "",
"scriptEngineSettings": {},
"defaultTrayMode": false,
"previousRelease": "1.7.27",
"previousRelease": "1.7.29",
"showReleaseNotes": true,
"showNewVersionNotification": true,
"mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js",

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-excalidraw-plugin",
"name": "Excalidraw",
"version": "1.7.27",
"version": "1.7.29",
"minAppVersion": "0.15.6",
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
"author": "Zsolt Viczian",

View file

@ -223,6 +223,65 @@ textarea.excalidraw-wysiwyg {
border-radius: 0;
}
.is-tablet .excalidraw button {
.is-tablet .excalidraw button,
.is-mobile .excalidraw button {
padding: initial;
height: 1.8rem;
}
.excalidraw button,
.ToolIcon button {
box-shadow: none;
justify-content: initial;
}
.excalidraw {
--default-button-size: 2rem !important;
--default-icon-size: 1rem !important;
--lg-button-size: 1.8rem !important;
--lg-icon-size: 1rem !important;
}
.excalidraw .tray-zoom {
pointer-events: initial;
padding-bottom: 0.05rem;
padding-top: 0.05rem;
}
.excalidraw-container.theme--dark {
background-color: #121212;
color: #fff;
}
/* https://discordapp.com/channels/686053708261228577/989603365606531104/1041266507256184863 */
/*.workspace-leaf {
contain: none !important;
}*/
.color-picker-content {
overflow-y: auto;
max-height: 10rem;
}
.excalidraw .FixedSideContainer_side_top {
top: 0.3rem;
}
.excalidraw .ToolIcon__keybinding {
font-size: 0.5rem;
}
.Island > .Stack > .Stack {
padding:0.2rem;
}
label.color-input-container > input {
max-width: 8rem;
}
.excalidraw .FixedSideContainer_side_top {
left: 10px !important;
top: 10px !important;
right: 10px !important;
bottom: 10px !important;
}

View file

@ -19697,17 +19697,22 @@ var IsomorphicGit = class extends GitManager {
}
}
async status() {
const notice = new import_obsidian5.Notice("Getting status...", this.noticeLength);
let notice;
const timeout = window.setTimeout(function() {
notice = new import_obsidian5.Notice("This takes longer: Getting status", this.noticeLength);
}, 2e4);
try {
this.plugin.setState(PluginState.status);
const status2 = (await this.wrapFS(isomorphic_git_default.statusMatrix({ ...this.getRepo() }))).map((row) => this.getFileStatusResult(row));
const changed = status2.filter((fileStatus) => fileStatus.working_dir !== " ");
const staged = status2.filter((fileStatus) => fileStatus.index !== " " && fileStatus.index !== "U");
const conflicted = [];
notice.hide();
window.clearTimeout(timeout);
notice == null ? void 0 : notice.hide();
return { changed, staged, conflicted };
} catch (error) {
notice.hide();
window.clearTimeout(timeout);
notice == null ? void 0 : notice.hide();
this.plugin.displayError(error);
throw error;
}
@ -19845,7 +19850,7 @@ var IsomorphicGit = class extends GitManager {
return this.wrapFS(isomorphic_git_default.resolveRef({ ...this.getRepo(), ref }));
}
async pull() {
const progressNotice = new import_obsidian5.Notice("Initializing pull", this.noticeLength);
const progressNotice = this.showNotice("Initializing pull");
try {
this.plugin.setState(PluginState.pull);
const localCommit = await this.resolveRef("HEAD");
@ -19861,11 +19866,13 @@ var IsomorphicGit = class extends GitManager {
...this.getRepo(),
ref: branchInfo.current,
onProgress: (progress) => {
progressNotice.noticeEl.innerText = this.getProgressText("Checkout", progress);
if (progressNotice !== void 0) {
progressNotice.noticeEl.innerText = this.getProgressText("Checkout", progress);
}
},
remote: branchInfo.remote
}));
progressNotice.hide();
progressNotice == null ? void 0 : progressNotice.hide();
const upstreamCommit = await this.resolveRef("HEAD");
this.plugin.lastUpdate = Date.now();
const changedFiles = await this.getFileChangesCount(localCommit, upstreamCommit);
@ -19877,7 +19884,7 @@ var IsomorphicGit = class extends GitManager {
vault_path: this.getVaultPath(file.path)
}));
} catch (error) {
progressNotice.hide();
progressNotice == null ? void 0 : progressNotice.hide();
if (error instanceof Errors.MergeConflictError) {
this.plugin.handleConflict(error.data.filepaths.map((file) => this.getVaultPath(file)));
}
@ -19889,7 +19896,7 @@ var IsomorphicGit = class extends GitManager {
if (!await this.canPush()) {
return 0;
}
const progressNotice = new import_obsidian5.Notice("Initializing push", this.noticeLength);
const progressNotice = this.showNotice("Initializing push");
try {
this.plugin.setState(PluginState.status);
const status2 = await this.branchInfo();
@ -19900,13 +19907,15 @@ var IsomorphicGit = class extends GitManager {
await this.wrapFS(isomorphic_git_default.push({
...this.getRepo(),
onProgress: (progress) => {
progressNotice.noticeEl.innerText = this.getProgressText("Pushing", progress);
if (progressNotice !== void 0) {
progressNotice.noticeEl.innerText = this.getProgressText("Pushing", progress);
}
}
}));
progressNotice.hide();
progressNotice == null ? void 0 : progressNotice.hide();
return numChangedFiles;
} catch (error) {
progressNotice.hide();
progressNotice == null ? void 0 : progressNotice.hide();
this.plugin.displayError(error);
throw error;
}
@ -19987,19 +19996,21 @@ var IsomorphicGit = class extends GitManager {
}
}
async clone(url, dir) {
const progressNotice = new import_obsidian5.Notice("Initializing clone", this.noticeLength);
const progressNotice = this.showNotice("Initializing clone");
try {
await this.wrapFS(isomorphic_git_default.clone({
...this.getRepo(),
dir,
url,
onProgress: (progress) => {
progressNotice.noticeEl.innerText = this.getProgressText("Cloning", progress);
if (progressNotice !== void 0) {
progressNotice.noticeEl.innerText = this.getProgressText("Cloning", progress);
}
}
}));
progressNotice.hide();
progressNotice == null ? void 0 : progressNotice.hide();
} catch (error) {
progressNotice.hide();
progressNotice == null ? void 0 : progressNotice.hide();
this.plugin.displayError(error);
throw error;
}
@ -20028,26 +20039,28 @@ var IsomorphicGit = class extends GitManager {
}
}
async fetch(remote) {
const progressNotice = new import_obsidian5.Notice("Initializing fetch", this.noticeLength);
const progressNotice = this.showNotice("Initializing fetch");
try {
const args = {
...this.getRepo(),
onProgress: (progress) => {
progressNotice.noticeEl.innerText = this.getProgressText("Fetching", progress);
if (progressNotice !== void 0) {
progressNotice.noticeEl.innerText = this.getProgressText("Fetching", progress);
}
},
remote: remote != null ? remote : await this.getCurrentRemote()
};
await this.wrapFS(isomorphic_git_default.fetch(args));
progressNotice.hide();
progressNotice == null ? void 0 : progressNotice.hide();
} catch (error) {
this.plugin.displayError(error);
progressNotice.hide();
progressNotice == null ? void 0 : progressNotice.hide();
throw error;
}
}
async setRemote(name, url) {
try {
await this.wrapFS(isomorphic_git_default.addRemote({ ...this.getRepo(), remote: name, url }));
await this.wrapFS(isomorphic_git_default.addRemote({ ...this.getRepo(), remote: name, url, force: true }));
} catch (error) {
this.plugin.displayError(error);
throw error;
@ -20067,7 +20080,8 @@ var IsomorphicGit = class extends GitManager {
await this.wrapFS(isomorphic_git_default.deleteRemote({ ...this.getRepo(), remote: remoteName }));
}
async getRemoteUrl(remote) {
return (await this.wrapFS(isomorphic_git_default.listRemotes({ ...this.getRepo() }))).filter((item) => item.remote == remote)[0].url;
var _a2;
return (_a2 = (await this.wrapFS(isomorphic_git_default.listRemotes({ ...this.getRepo() }))).filter((item) => item.remote == remote)[0]) == null ? void 0 : _a2.url;
}
updateBasePath(basePath) {
this.getRepo().dir = basePath;
@ -20136,7 +20150,10 @@ var IsomorphicGit = class extends GitManager {
});
}
async getUnstagedFiles(base = ".") {
const notice = new import_obsidian5.Notice("Getting status...", this.noticeLength);
let notice;
const timeout = window.setTimeout(function() {
notice = new import_obsidian5.Notice("This takes longer: Getting status", this.noticeLength);
}, 2e4);
try {
const repo = this.getRepo();
const res = await this.wrapFS(isomorphic_git_default.walk({
@ -20188,10 +20205,12 @@ var IsomorphicGit = class extends GitManager {
return null;
}
}));
notice.hide();
window.clearTimeout(timeout);
notice == null ? void 0 : notice.hide();
return res;
} catch (error) {
notice.hide();
window.clearTimeout(timeout);
notice == null ? void 0 : notice.hide();
this.plugin.displayError(error);
throw error;
}
@ -20235,6 +20254,11 @@ var IsomorphicGit = class extends GitManager {
vault_path: this.getVaultPath(row[this.FILE])
};
}
showNotice(message) {
if (!this.plugin.settings.disablePopups) {
return new import_obsidian5.Notice(message, this.noticeLength);
}
}
};
function fromValue2(value) {
let queue = [value];
@ -23809,6 +23833,32 @@ function abortPlugin(signal) {
};
return [onSpawnBefore, onSpawnAfter];
}
function isConfigSwitch(arg) {
return arg.trim().toLowerCase() === "-c";
}
function preventProtocolOverride(arg, next) {
if (!isConfigSwitch(arg)) {
return;
}
if (!/^\s*protocol(.[a-z]+)?.allow/.test(next)) {
return;
}
throw new GitPluginError(void 0, "unsafe", "Configuring protocol.allow is not permitted without enabling allowUnsafeExtProtocol");
}
function blockUnsafeOperationsPlugin({
allowUnsafeProtocolOverride = false
} = {}) {
return {
type: "spawn.args",
action(args, _context) {
args.forEach((current, index2) => {
const next = index2 < args.length ? args[index2 + 1] : "";
allowUnsafeProtocolOverride || preventProtocolOverride(current, next);
});
return args;
}
};
}
init_utils();
function commandConfigPrefixingPlugin(configuration) {
const prefix = prefixedArray(configuration, "-c");
@ -24037,6 +24087,7 @@ function gitInstanceFactory(baseDir, options) {
if (Array.isArray(config.config)) {
plugins.add(commandConfigPrefixingPlugin(config.config));
}
plugins.add(blockUnsafeOperationsPlugin(config.unsafe));
plugins.add(completionDetectionPlugin(config.completion));
config.abort && plugins.add(abortPlugin(config.abort));
config.progress && plugins.add(progressMonitorPlugin(config.progress));
@ -24073,10 +24124,13 @@ var SimpleGit = class extends GitManager {
config: ["core.quotepath=off"]
});
const env = this.plugin.localStorage.getPATHPaths();
if (env) {
this.git.env("PATH", process.env["PATH"] + ":" + env.join(":"));
if (env.length > 0) {
const path3 = process.env["PATH"] + ":" + env.join(":");
process.env["PATH"] = path3;
}
this.git.cwd(await this.git.revparse("--show-toplevel"));
const debug2 = require_browser();
debug2.enable("simple-git");
await this.git.cwd(await this.git.revparse("--show-toplevel"));
}
}
async status() {
@ -24318,10 +24372,14 @@ var SimpleGit = class extends GitManager {
await this.git.clone(url, path.join(this.app.vault.adapter.getBasePath(), dir), [], (err) => this.onError(err));
}
async setConfig(path2, value) {
await this.git.addConfig(path2, value, (err) => this.onError(err));
if (value == void 0) {
await this.git.raw(["config", "--local", "--unset", path2]);
} else {
await this.git.addConfig(path2, value, (err) => this.onError(err));
}
}
async getConfig(path2) {
const config = await this.git.listConfig((err) => this.onError(err));
const config = await this.git.listConfig("local", (err) => this.onError(err));
return config.all[path2];
}
async fetch(remote) {
@ -24395,7 +24453,7 @@ var SimpleGit = class extends GitManager {
}
onError(error) {
if (error) {
const networkFailure = error.message.contains("Could not resolve host") || error.message.match(/ssh: connect to host .*? port .*?: Operation timed out/);
const networkFailure = error.message.contains("Could not resolve host") || error.message.match(/ssh: connect to host .*? port .*?: Operation timed out/) || error.message.match(/ssh: connect to host .*? port .*?: Network is unreachable/);
if (!networkFailure) {
this.plugin.displayError(error.message);
this.plugin.setState(PluginState.idle);
@ -24582,6 +24640,43 @@ var ObsidianGitSettingsTab = class extends import_obsidian7.PluginSettingTab {
plugin.saveSettings();
}));
containerEl.createEl("br");
if (plugin.gitManager instanceof IsomorphicGit) {
containerEl.createEl("h3", { text: "Authentication/Commit Author" });
} else {
containerEl.createEl("h3", { text: "Commit Author" });
}
if (plugin.gitManager instanceof IsomorphicGit)
new import_obsidian7.Setting(containerEl).setName("Username on your git server. E.g. your username on GitHub").addText((cb) => {
var _a2;
cb.setValue((_a2 = plugin.localStorage.getUsername()) != null ? _a2 : "");
cb.onChange((value) => {
plugin.localStorage.setUsername(value);
});
});
if (plugin.gitManager instanceof IsomorphicGit)
new import_obsidian7.Setting(containerEl).setName("Password/Personal access token").setDesc("Type in your password. You won't be able to see it again.").addText((cb) => {
cb.inputEl.autocapitalize = "off";
cb.inputEl.autocomplete = "off";
cb.inputEl.spellcheck = false;
cb.onChange((value) => {
plugin.localStorage.setPassword(value);
});
});
if (gitReady)
new import_obsidian7.Setting(containerEl).setName("Author name for commit").addText(async (cb) => {
cb.setValue(await plugin.gitManager.getConfig("user.name"));
cb.onChange((value) => {
plugin.gitManager.setConfig("user.name", value == "" ? void 0 : value);
});
});
if (gitReady)
new import_obsidian7.Setting(containerEl).setName("Author email for commit").addText(async (cb) => {
cb.setValue(await plugin.gitManager.getConfig("user.email"));
cb.onChange((value) => {
plugin.gitManager.setConfig("user.email", value == "" ? void 0 : value);
});
});
containerEl.createEl("br");
containerEl.createEl("h3", { text: "Advanced" });
if (plugin.gitManager instanceof SimpleGit)
new import_obsidian7.Setting(containerEl).setName("Update submodules").setDesc('"Create backup" and "pull" takes care of submodules. Missing features: Conflicted files, count of pulled/pushed/committed files. Tracking branch needs to be set for each submodule').addToggle((toggle) => toggle.setValue(plugin.settings.updateSubmodules).onChange((value) => {
@ -24613,37 +24708,6 @@ var ObsidianGitSettingsTab = class extends import_obsidian7.PluginSettingTab {
plugin.gitManager.setGitInstance();
});
});
if (plugin.gitManager instanceof IsomorphicGit)
new import_obsidian7.Setting(containerEl).setName("Username on your git server. E.g. your username on GitHub").addText((cb) => {
var _a2;
cb.setValue((_a2 = plugin.localStorage.getUsername()) != null ? _a2 : "");
cb.onChange((value) => {
plugin.localStorage.setUsername(value);
});
});
if (plugin.gitManager instanceof IsomorphicGit)
new import_obsidian7.Setting(containerEl).setName("Password/Personal access token").setDesc("Type in your password. You won't be able to see it again.").addText((cb) => {
cb.inputEl.autocapitalize = "off";
cb.inputEl.autocomplete = "off";
cb.inputEl.spellcheck = false;
cb.onChange((value) => {
plugin.localStorage.setPassword(value);
});
});
if (gitReady)
new import_obsidian7.Setting(containerEl).setName("Author name for commit").addText(async (cb) => {
cb.setValue(await plugin.gitManager.getConfig("user.name"));
cb.onChange((value) => {
plugin.gitManager.setConfig("user.name", value);
});
});
if (gitReady)
new import_obsidian7.Setting(containerEl).setName("Author email for commit").addText(async (cb) => {
cb.setValue(await plugin.gitManager.getConfig("user.email"));
cb.onChange((value) => {
plugin.gitManager.setConfig("user.email", value);
});
});
new import_obsidian7.Setting(containerEl).setName("Custom base path (Git repository path)").setDesc(`
Sets the relative path to the vault from which the Git binary should be executed.
Mostly used to set the path to the Git repository, which is only required if the Git repository is below the vault root directory. Use "\\" instead of "/" on Windows.
@ -26802,7 +26866,9 @@ function insert(target, node, anchor) {
target.insertBefore(node, anchor || null);
}
function detach(node) {
node.parentNode.removeChild(node);
if (node.parentNode) {
node.parentNode.removeChild(node);
}
}
function destroy_each(iterations, detaching) {
for (let i = 0; i < iterations.length; i += 1) {
@ -31515,20 +31581,6 @@ var ObsidianGit = class extends import_obsidian23.Plugin {
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */

View file

@ -4,5 +4,5 @@
"description": "Backup your vault with Git.",
"isDesktopOnly": false,
"js": "main.js",
"version": "2.9.0"
"version": "2.10.1"
}

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-icon-folder",
"name": "Icon Folder",
"version": "1.3.5",
"version": "1.4.1",
"minAppVersion": "0.9.12",
"description": "This plugin allows to add an emoji or an icon to a folder or file.",
"author": "Florian Woelki",

File diff suppressed because one or more lines are too long

View file

@ -1,9 +1,9 @@
{
"id": "obsidian-linter",
"name": "Linter",
"version": "1.7.0",
"version": "1.7.1",
"minAppVersion": "0.15.6",
"description": "Enforces consistent markdown styling.",
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"author": "Victor Tao",
"authorUrl": "https://github.com/platers",
"isDesktopOnly": false

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,235 @@
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
var __export = (target, all) => {
__markAsModule(target);
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __reExport = (target, module2, desc) => {
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
for (let key of __getOwnPropNames(module2))
if (!__hasOwnProp.call(target, key) && key !== "default")
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
}
return target;
};
var __toModule = (module2) => {
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
};
var __async = (__this, __arguments, generator) => {
return new Promise((resolve, reject) => {
var fulfilled = (value) => {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
};
var rejected = (value) => {
try {
step(generator.throw(value));
} catch (e) {
reject(e);
}
};
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
step((generator = generator.apply(__this, __arguments)).next());
});
};
// main.ts
__export(exports, {
default: () => PersistentGraphPlugin
});
var import_obsidian = __toModule(require("obsidian"));
var DEFAULT_SETTINGS = {
nodePositions: [],
automaticallyRestoreNodePositions: false
};
var PersistentGraphPlugin = class extends import_obsidian.Plugin {
findGraphLeaf() {
let activeLeaf = this.app.workspace.activeLeaf;
if (activeLeaf.view.getViewType() === "graph") {
return activeLeaf;
}
let graphLeaves = this.app.workspace.getLeavesOfType("graph");
if (graphLeaves.length != 1) {
if (graphLeaves.length < 1) {
new import_obsidian.Notice("No graph view open");
} else {
new import_obsidian.Notice("More than one graph view open, please choose an active one");
}
return;
}
return graphLeaves[0];
}
saveNodePositions() {
let graphLeaf = this.findGraphLeaf();
if (!graphLeaf)
return;
return graphLeaf.view.renderer.nodes.map((node) => {
return {
id: node.id,
x: node.x,
y: node.y
};
});
}
restoreNodePositions(nodePositions, graphLeaf) {
if (graphLeaf === void 0) {
graphLeaf = this.findGraphLeaf();
}
if (!graphLeaf)
return;
nodePositions.forEach((node) => {
graphLeaf.view.renderer.worker.postMessage({
forceNode: node
});
});
graphLeaf.view.renderer.worker.postMessage({
run: true,
alpha: 0.1
});
setTimeout(() => {
nodePositions.forEach((node) => {
if (!graphLeaf)
return;
graphLeaf.view.renderer.worker.postMessage({
forceNode: {
id: node.id,
x: null,
y: null
}
});
});
}, 1e3);
}
runGraphSimlation() {
let graphLeaf = this.findGraphLeaf();
if (!graphLeaf)
return;
graphLeaf.view.renderer.worker.postMessage({
run: true,
alpha: 1,
alphaTarget: 1
});
}
stopGraphSimulation() {
let graphLeaf = this.findGraphLeaf();
if (!graphLeaf)
return;
graphLeaf.view.renderer.worker.postMessage({
run: true,
alpha: 0,
alphaTarget: 0
});
}
onLayoutChange() {
const activeLeaf = this.app.workspace.activeLeaf;
if (activeLeaf.view.getViewType() != "graph" || activeLeaf.view.renderer.autoRestored) {
return;
}
activeLeaf.view.renderer.autoRestored = true;
setTimeout(() => {
this.restoreOnceNodeCountStable(activeLeaf, 0, 0, 0);
}, 1e3);
}
restoreOnceNodeCountStable(leaf, nodeCount, iterations, totalIterations) {
if (!leaf || !leaf.view || !leaf.view.renderer) {
return;
}
if (totalIterations > 20) {
return;
}
if (this.settings.automaticallyRestoreNodePositions) {
const currentNodeCount = leaf.view.renderer.nodes.length;
if (currentNodeCount === nodeCount) {
if (iterations >= 3) {
this.restoreNodePositions(this.settings.nodePositions, leaf);
new import_obsidian.Notice("Automatically restored node positions");
} else {
setTimeout(() => {
this.restoreOnceNodeCountStable(leaf, currentNodeCount, iterations + 1, totalIterations + 1);
}, 200);
}
} else {
setTimeout(() => {
this.restoreOnceNodeCountStable(leaf, currentNodeCount, 0, totalIterations + 1);
}, 200);
}
}
}
onload() {
return __async(this, null, function* () {
yield this.loadSettings();
this.addCommand({
id: "save-node-positions",
name: "Save graph node positions",
callback: () => __async(this, null, function* () {
this.settings.nodePositions = this.saveNodePositions();
yield this.saveSettings();
})
});
this.addCommand({
id: "restore-node-positions",
name: "Restore graph node positions",
callback: () => {
this.restoreNodePositions(this.settings.nodePositions);
}
});
this.addCommand({
id: "run-graph-simulation",
name: "Run graph simulation",
callback: () => {
this.runGraphSimlation();
}
});
this.addCommand({
id: "stop-graph-simulation",
name: "Stop graph simulation",
callback: () => {
this.stopGraphSimulation();
}
});
this.addSettingTab(new PersistentGraphSettingTab(this.app, this));
this.registerEvent(this.app.workspace.on("layout-change", this.onLayoutChange.bind(this)));
});
}
onunload() {
}
loadSettings() {
return __async(this, null, function* () {
this.settings = Object.assign({}, DEFAULT_SETTINGS, yield this.loadData());
});
}
saveSettings() {
return __async(this, null, function* () {
yield this.saveData(this.settings);
});
}
};
var PersistentGraphSettingTab = class extends import_obsidian.PluginSettingTab {
constructor(app, plugin) {
super(app, plugin);
this.plugin = plugin;
}
display() {
const { containerEl } = this;
containerEl.empty();
containerEl.createEl("h2", { text: "Settings for PersistentGraphPlugin" });
new import_obsidian.Setting(containerEl).setName("Automatically restore node positions").setDesc("Restore node positions every time a graph view is opened").addToggle((toggle) => toggle.setValue(this.plugin.settings.automaticallyRestoreNodePositions).onChange((value) => {
this.plugin.settings.automaticallyRestoreNodePositions = value;
this.plugin.saveSettings();
}));
}
};

View file

@ -0,0 +1,10 @@
{
"id": "persistent-graph",
"name": "Persistent Graph",
"version": "0.1.5",
"minAppVersion": "0.12.0",
"description": "Adds commands to save and restore the positions of nodes on the global graph view",
"author": "Sanqui",
"authorUrl": "https://sanqui.net",
"isDesktopOnly": false
}

File diff suppressed because one or more lines are too long

View file

@ -3,8 +3,8 @@
"name": "Tag Wrangler",
"author": "PJ Eby",
"authorUrl": "https://github.com/pjeby",
"version": "0.5.4",
"version": "0.5.5",
"minAppVersion": "0.15.9",
"description": "Rename, merge, toggle, and search tags from the tag pane",
"isDesktopOnly": true
"isDesktopOnly": false
}

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"id": "templater-obsidian",
"name": "Templater",
"version": "1.15.3",
"version": "1.16.0",
"description": "Create and use templates",
"minAppVersion": "0.11.13",
"author": "SilentVoid",

View file

@ -24,6 +24,10 @@
align-self: center;
}
.templater_donating {
margin: 10px;
}
.templater_title {
margin: 0;
padding: 0;
@ -110,10 +114,6 @@ textarea.templater-prompt-input:focus {
color: #c0d700;
}
.cm-s-obsidian .cm-templater-command.cm-templater-raw-tag {
color: green;
}
.theme-dark .cm-s-obsidian .cm-templater-command.cm-keyword {
color: #00a7aa;
font-weight: normal;

View file

@ -102,6 +102,14 @@
"lastUpdated": 1668582941697
}
}
},
"dej/komunismus": {
"dej/komunismus": {
"frontMatter": {
"count": 1,
"lastUpdated": 1668591866640
}
}
}
}
}

View file

@ -21,7 +21,7 @@
"state": {
"type": "markdown",
"state": {
"file": "dej/moderní/komunismus/Brutalismus.md",
"file": "dej/moderní/komunismus/Milada Horáková.md",
"mode": "source",
"source": false
}
@ -180,9 +180,17 @@
"type": "BC-tree",
"state": {}
}
},
{
"id": "52e50d5da98fbc86",
"type": "leaf",
"state": {
"type": "graph-analysis",
"state": {}
}
}
],
"currentTab": 10
"currentTab": 11
}
],
"direction": "horizontal",
@ -191,15 +199,15 @@
},
"active": "4d13807c1cbcce1e",
"lastOpenFiles": [
"dej/moderní/komunismus/Brutalismus.md",
"dej/moderní/komunismus/2.k 1.test.md",
"dej/dej.md",
"cjl/Témata projevu.md",
"cjl/cjl.md",
"cjl/literatura/slohy/Klasicismus/Hudba.md",
"cjl/literatura/slohy/Klasicismus/Osvícenství.md",
"cjl/literatura/slohy/Klasicismus/Empír.md",
"cjl/literatura/slohy/Klasicismus/Untitled.md",
"cjl/literatura/slohy/Klasicismus/Klasicismus.md",
"cjl/literatura/slohy/Klasicismus/Klasicismus a osvícení.md"
"dej/dej.md",
"dej/moderní/komunismus/Milada Horáková.md",
"dej/moderní/komunismus/The Beatles.md",
"dej/moderní/komunismus/komunismus.md",
"dej/moderní/komunismus/Expo 58.md",
"dej/moderní/komunismus/České století, Všechnu moc lidu Stalinovi.md",
"dej/moderní/komunismus/Brutalismus.md",
"dej/moderní/1. světová válka.md"
]
}

View file

@ -1,3 +1,6 @@
---
tags: [cjl]
---
# Témata projevu
## Projev
kandidát ana zástupce třídy - proč ho zvolit

View file

@ -2,7 +2,7 @@
tags:
- dej
- dej/moderní
- dej/mdoerní/první-světová
- dej/moderní/první-světová
---
# 1. světová válka
Začíná [[Sarajevský atentát|Sarajevským atentátem]]

View file

@ -1,3 +1,6 @@
---
tags: [dej, dej/komunismus]
---
# Brutalismus
- holý beton
- minimalismus

View file

@ -1,3 +1,6 @@
---
tags: [dej, dej/komunismus]
---
# Expo 58
## V čem asi byla světová výstava Expo 58 v Brusselu zcela unikátní?

View file

@ -1,3 +1,6 @@
---
tags: [dej, dej/komunismus]
---
# The Beatles
- John Lennon
- Paul McCartney

View file

@ -1,3 +1,6 @@
---
tags: [dej, dej/komunismus]
---
# komunismus
%% Zoottelkeeper: Beginning of the autogenerated index file list %%
- [[dej/moderní/komunismus/Brutalismus|Brutalismus]]

View file

@ -1,3 +1,6 @@
---
tags: [dej, dej/komunismus]
---
# České století, Všechnu moc lidu Stalinovi
## Jaké osobnosti spojené s únorem 1948 jste v ukázce poznali?
Gottwald