1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-29 21:09:56 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
Jermolene
1b41b44684 Improve support for bulk loading tiddlers under Node.js
Fixes #2610
2016-10-15 16:23:17 +01:00
Jermolene
0151363b74 House style for tw5.com is to use -ise not -ize 2016-04-26 07:42:52 +01:00
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
Jermolene
803d70225a Allow tiddlywiki.files to load directories recursively 2015-09-15 13:35:54 +01:00
Jermolene
73210a7b8c Refine the way that we support serialised external tiddler files
The old way was sufficiently backwards compatible that it was
impossible to use TiddlyWiki 5.1.9 to build the tw5.com edition.
2015-07-28 19:56:56 +01:00
Jermolene
ecbd97b4b4 Revise support for external tiddler files
Fixes #1884
2015-07-18 11:45:30 +01:00
Jermolene
7d46afc7b2 Move docs for 5.1.5 release 2014-11-26 11:22:20 +00:00
Jermolene
49dc5694a3 Enhance "includeWikis" to merge build targets
Build targets found in included wikis are merged behind any found in
the wiki itself
2014-10-14 15:14:50 +01:00
Jermolene
f187122c35 Lots more docs updates 2014-09-12 16:05:37 +01:00
Jermolene
ef67cc3fd9 Make default location for new tiddlers configurable 2014-07-20 20:19:09 +01:00
Jermolene
f17dafefcb Docs updates 2014-04-28 09:33:47 +01:00
Jermolene
f7e50e0950 Add --build command
First pass at the build system described in #356.

To test it, move to a new, empty directory and try `tiddlywiki
editions/tw5.com --verbose --build`
2014-04-25 22:41:59 +01:00
Jermolene
3994f0dbc6 Add new option to retain tiddler paths 2014-02-27 16:30:05 +00:00
Jermolene
a01bbd4b9c Add automatic saving and warning on exit with unsaved changes
We re-use some of the existing syncer mechanism. It was already keeping
track of changes to tiddlers in the store when working with a tiddler
syncadaptor. Now it also tracks changes when there is no syncadaptor,
allowing us to provide a warning if there are unsaved changes.
2014-02-06 21:36:30 +00:00
Jermolene
e58d9c7008 Adjust documentation for ac163a59e8 2014-01-28 19:46:35 +00:00
Jermolene
b9faadbbc9 Docs updates 2013-12-12 09:48:08 +00:00
Jermolene
2ffcbb76eb Remove modifier and creator fields from tiddlers in tw5.com
Keeps things tidier
2013-12-11 07:57:12 +00:00
Jermolene
8a2b3bc831 Lotsa docs updates 2013-11-29 12:26:48 +00:00
Adrian Sampaleanu
03a81bd8b1 Style changes in user visible text node -> Node
Went through all user visible text and changed lowercase node to Node as per Node.js site.
2013-11-20 17:35:36 -05:00
Jeremy Ruston
c4d7401f02 Lots of docs updates 2013-08-30 20:06:23 +01:00
Jeremy Ruston
6333749d68 Docs updates 2013-08-28 20:14:27 +01:00
Jeremy Ruston
bf7b0629a3 More docs updates 2013-08-25 22:48:53 +01:00
Jeremy Ruston
1ebe0d39b2 Get rid of the 'docs' tag
It was unnecessary, since everything here is documentation
2013-08-25 21:41:00 +01:00
Jeremy Ruston
324a57727d Docs updates 2013-04-18 11:11:55 +01:00