Skip to content

3.19.3

Choose a tag to compare

@tmoosting tmoosting released this 21 Nov 07:50

New elements can no longer overwrite one OnlyWorlds already holds, and a refused PIN is not sent again.

Creating elements. When the plugin sends a batch of new elements (Save element's create-first batch, and Upload world's new notes), it now tells OnlyWorlds the batch is create-only. If one of those ids is already held on onlyworlds.com, for instance because the world folder was copied, or the element was made meanwhile on another device, that item is refused and named, and nothing there is replaced. Before, OnlyWorlds replaced the held element whole and the save said "replaced". The refusal says why in plain words: made meanwhile, held as another type, held in another world (a copied folder needs a fresh id on the note), or in use. Upload world counts the item as failed and goes on with the rest; Save element refuses the batch and names the item.

PINs. OnlyWorlds now answers a wrong PIN with a refusal each time and locks a key or account for up to fifteen minutes only after ten different wrong PINs. The plugin used to keep a refused PIN, saved in settings or typed once, and send it with every later save. Now a refused PIN is forgotten and the next save asks you once, with one prompt however many saves are waiting; Cancel ends that round instead of asking again. A PIN refused in settings is skipped until you change it there. Auto-sync saves three notes at a time instead of all at once after a replace-all.

Under the hood: 813 tests pass, and each new rule has tests that fail without it.

Walked in a real Obsidian before release, on the 3.19.3 build: downloading a world, saving, creating and saving new notes with links to new notes (the create-first batch), a read-only key, a wrong PIN (refused, nothing downloaded), and the notice for a refusal by the web host, on Windows desktop. Not walked: Upload world, a refused id in a batch (it cannot be made to happen in the app; it is tested on OnlyWorlds' own answers), the PIN prompt after a refusal in the app, and iOS, macOS or Linux.