Replies: 2 comments 5 replies
-
@are you sure, you want to install untrusted 3rd party plugins with a 1 click install onto your harddisk, that will allow your server to access your system with the same rights as you? IMO it would be the same as if you post your bank account and your pin here |
Beta Was this translation helpful? Give feedback.
-
Hi @linonetwo some of the complexity here stems from the way that in the client server configuration we actually run two copies of TiddlyWiki: one in the browser, and one under Node.js. The requirement to install plugins via the |
Beta Was this translation helpful? Give feedback.
-
One of the drawbacks of nodejs wiki (and editions that based on it, for example, TiddlyGit) is that it is hard to update and install plugins for a non-technical user, because it requires people to 1. find the folder 2. open info file with some text editor and edit the json (that is somehow geek for most people).
I hope install/update plugins can be done just by clicking on a button (like how it can be done in a single HTML wiki). This makes me wonder, why do we need that
/plugins
folder? Can we make the plugin experience exactly the same in the HTML wiki and nodejs wiki?As @Jermolene said in #4570 (comment) , this is because we don't want some plugins to be copied to the tiddlers folder and makes upgrade difficult, but there is an upgrade button in the "control panel - plugins" now, so this might not be a problem. And following this parading makes installing and upgrading 3rd party plugins also difficult for normal people.
I think we can improve this workflow by two ways:
Auto unpack json plugin
--savewikifolder <wikifolderpath> [<filter>]
) into plugins folder, and delete the original JSON plugin file.Or
Just use json plugin
plugins
section in thetiddlywiki.info
I just don't know will JSON plugin format break some plugin functionality? Like js file in the plugin that requires
fs
(for example, plugins that update wiki when fs changes) or js that uses __dirname . And will this make JS's error message hard to debug?Beta Was this translation helpful? Give feedback.
All reactions