1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 00:10:45 +00:00
TiddlyWiki5/editions
nome 1ae428e323 Make tiddler file paths configurable (#2379)
When saving new tiddlers on node.js, allow the user to override the path of the
generated .tid file. This is done by creating a tiddler
$:/config/FileSystemPaths which contains one or more filter expressions, one
per line. These filters are applied in turn to the tiddler to be saved, and
the first output produced is taken as a logical path relative to the wiki's
tiddlers directory. Any occurences of "/" in the logical path are replaced with
the platform's path separator, the extension ".tid" is appended, illegal
characters are replaced by "_" and the path is disambiguated (if necessary) in
order to arrive at the final tiddler file path. If none of the filters matches,
or the configuration tiddler does not exist, fall back to the previous file
naming scheme (i.e. replacing "/" by "_").

This implies we will now, for tiddlers matching the user-specified filters,
create directory trees below the tiddlers directory. In order to avoid
cluttering it with empty directory trees when renaming or removing tiddlers, any
directories that become empty by deleting a tiddler file are removed
(recursively).

Benefits of this configuration option include the ability to organize git
repositories of TiddlyWikis running on node.js, ability to replace characters
that cause trouble with particular operating systems or workflows (e.g. '$' on
unix) and the ability to replicate tiddler "paths" in the filesystem (by
including a filter like "[!has[draft.of]]") without forcing such a (potentially
problematic) change on all users.
2016-04-25 08:36:32 +01:00
..
classicparserdemo First pass at an --editions command 2014-10-27 21:50:25 +00:00
codemirrordemo House style tweaks for codemirror docs 2014-11-25 15:40:28 +00:00
d3demo First pass at an --editions command 2014-10-27 21:50:25 +00:00
de-AT translations and temporary iframe-responsive fix 2015-06-15 15:32:35 +02:00
de-AT-server Adopted the new Layout for the landing page. A bit more info 2015-05-18 16:53:58 +02:00
de-DE first run 2015-05-14 01:56:00 +02:00
dev Small documentation fixes 2016-04-04 12:45:31 +01:00
empty First pass at an --editions command 2014-10-27 21:50:25 +00:00
fr-FR Replace occurrences of *tiddler ombre* by *tiddler shadow* in fr-FR edition 2015-06-24 15:29:12 +02:00
fr-FR-server Remove CodeMirror plugin from default client-server editions 2015-05-12 12:52:37 +01:00
full Include xmldom plugin in full edition 2016-02-05 19:48:50 +00:00
highlightdemo Highlight plugin: add static demo 2015-09-11 22:36:30 +01:00
introduction Add all translations to the "introduction" edition 2016-01-07 17:48:50 +00:00
ja-JP Incorporate stickytitles theme into snow white theme 2014-12-21 16:04:42 +00:00
katexdemo Revert katex plugin to using $$. Use multiline for display mode. 2015-12-24 13:52:19 -03:00
ko-KR Add Korean (Korea Republic) Edition (#2392) 2016-04-24 13:11:25 +01:00
markdowndemo First pass at an --editions command 2014-10-27 21:50:25 +00:00
pluginlibrary Lots of improvements to the plugin library 2015-03-18 11:46:28 +00:00
prerelease Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
resumebuilder Fix unicode characters in filename 2015-07-20 19:07:55 +01:00
server Add build targets to server edition 2016-04-03 20:22:11 +01:00
tahoelafs First pass at an --editions command 2014-10-27 21:50:25 +00:00
test rename suffix each:list to each_list-item 2015-11-13 11:07:24 +01:00
testcommonjs First pass at an --editions command 2014-10-27 21:50:25 +00:00
text-slicer Add xmldom plugin to text-slicer edition 2016-02-05 18:54:32 +00:00
translators Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
tw5.com Make tiddler file paths configurable (#2379) 2016-04-25 08:36:32 +01:00
tw5.com-docs tw5.com-docs improvements 2015-09-15 17:51:20 +01:00
tw5.com-server Remove CodeMirror plugin from default client-server editions 2015-05-12 12:52:37 +01:00
tw5tank Typos 2014-12-05 10:20:32 +00:00
tw5tiddlyweb Typos 2014-12-05 10:20:32 +00:00
upgrade First pass at an --editions command 2014-10-27 21:50:25 +00:00
zh-Hans Add download-empty for chinese editions 2015-04-20 11:39:08 +08:00
zh-Hant Add download-empty for chinese editions 2015-04-20 11:39:08 +08:00