Repository navigation
MultiWikiServer-wikiwise v0.7.0
MultiWikiServer-wikiwise v0.7.0
3 commits since 0.6.1 · 149 files changed · +3103 / −4195.
The manual now ships. A fresh installation brings the SimpleWiki manual as a
ready-made system wiki, an existing store reloads it with a helper script, and a
system wiki can no longer be deleted by accident. The bundled SimpleWiki shell is
refreshed to v0.1.43.
Install
mkdir my-folder && cd my-folder
npm install https://github.com/heino17/MultiWikiServer-wikiwise/releases/download/v0.7.0/mws-wikiwise-0.7.0.tgz
npx mws init-data-folder
npx mws update-tiddlywiki
npx mws init-store
npx mws listen --listener
mws-wikiwise-0.7.0.tgz — 4,224,060 bytes
sha256 97d77a6834f676692b68d38d98bd31f6fd4f0a7ec7ebdfcf4ebaf674b5ede5f1
npx mws init-data-folder is not optional: MWS only starts if the data folder's
package.json is named @tiddlywiki/mws-instance, is marked private and
carries a 0.2.x version.
New
- The manual ships as a system wiki (§133).
editions/simplewiki-manualis
loaded byinit-storewith theSimpleWikitemplate and theANONread
role, so a fresh data folder carries it as an ownerless system wiki at
/wiki/simplewiki-manual— bageditions/simplewiki-manual,notifyshell
policy, onlyADMINmay write. The templates tab links a template with its
own HTML shell to that wiki, and therunnerhelper gained atemplate-name
option for the load. - A helper script to reload the manual (§135).
update-simplewiki-manual.sh
in the repository root runs the sameload-wiki-foldercallinit-store
makes for the manual, with--overwrite, resolves its own directory and calls
mws.dev.mjsdirectly — so the spaces and parentheses in the manual's
description survive, which they do not throughnpm start load-wiki-folder ….
Fixed
- System wikis can no longer be deleted (§134). Deleting a wiki without an
owner (creator "—") now answers403 ACCESS_DENIED, and the admin app hides
the delete button, becausecanDeleteWikirequires a non-empty
ownerUsername— the same spirit in which the system roles are already
protected. - The stale German manual edition is gone.
editions/bedienungsanleitung
and its runner are removed, and the npmfileslist ships
editions/simplewiki-manualinstead (§133). - The bundled SimpleWiki shell is refreshed from
v0.1.31tov0.1.43. A
freshinit-storeprovisions the new shell; an existing template is brought
forward withprovision-simplewiki(§132).
Operating notes
- To update an existing installation, install the new tarball
(npm install .../v0.7.0/mws-wikiwise-0.7.0.tgz) —npm updatedoes not move
MWS. Reload the manual on an existing store with
update-simplewiki-manual.sh --overwrite, and bring an existingSimpleWiki
template forward withnpx mws provision-simplewiki <simplewiki.html>. - No migration and no new runtime dependency.
Verification
npm run tsc2, npm run build and the admin app's tsc are clean; a scratch
store (init-store) answered /wiki/simplewiki-manual with 200, the
SimpleWiki shell with the store injected and
/recipe/simplewiki-manual/store.json with 84 pages (46 Deutsch, 38
American); deleting simplewiki-manual or mws-docs with the admin session
answered 403 and left both in place. See the CHANGELOG §133–§135.