1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
Commit Graph

234 Commits

Author SHA1 Message Date
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
5ba7b30891 Update system tags docs 2016-02-15 17:43:54 +00:00
gernert
fa6dc5677d Update SystemTags.tid
Added missing $:/tags/ToolbarButtonStyle
2016-01-18 19:19:13 +01:00
alexhough
fa3ea480fe add "Transclusion and Substitution" to learn more 2016-01-03 17:11:13 +00:00
Jens
6c89b27328 Changed Transclusion from html to TidlerWiki syntax in order to force new tab when following
With the html syntax when you go back after following the link knowledges of open tiddlers is lost.
Not sure if there should also be feature request for TiddlerWiki to store knowledge of open tiddlers in browser history.
2015-11-22 13:53:59 +01:00
Tobias Beer
9f6fea7607 updated to point to new location 2015-10-13 12:23:58 +02:00
Jermolene
268da52f8c Documentation updates
Adding “Story River” to the “Concepts” category, and doing some
clean-up of other entries in the category by moving some concepts to
become sub-concepts in the TOC
2015-09-18 09:19:21 +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
16ebdff1cc Clarify TextReference documentation
Prompted by this comment:

https://github.com/Jermolene/TiddlyWiki5/pull/1721#issuecomment-10217516
5
2015-05-18 19:07:14 +01:00
gernert
1d4c387113 Update SystemTags.tid
Add missing tags
2015-04-25 20:52:56 +02:00
Jermolene
bf67ea02ac Docs tweaks 2015-03-26 11:15:43 +00:00
Astrid Elocson
f73891c083 Document the tv-* variables 2015-02-28 14:38:00 +00:00
Astrid Elocson
b001c7b558 Macros and styles for tips and warnings 2015-02-26 16:32:00 +00:00
Jermolene
b13d87fdf2 Overhaul the macro and variable documentation #1519 2015-02-24 17:41:16 +01:00
Astrid Elocson
3dd4f943ce Rename to SelectionConstructors.tid 2015-01-29 13:41:11 +00:00
Astrid Elocson
9a7bda28e9 Revise filter terminology: constructors and modifiers 2015-01-29 13:40:18 +00:00
Astrid Elocson
a5d54a0ada Rename AbsoluteOperators.tid 2015-01-29 13:23:24 +00:00
Astrid Elocson
e6d204db0f Adjust documentation following pull #1378 2015-01-27 15:44:55 +00:00
Astrid Elocson
15f05b076c Retarget a couple of links and add trailing linefeeds 2015-01-24 21:53:28 +00:00
Astrid Elocson
aac2a63e05 Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
Astrid Elocson
ade1c40911 Revise terminology around tiddler sets 2015-01-19 19:37:26 +00:00
Astrid Elocson
172c7ef7dd Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
Astrid Elocson
8fc404bbca Make filter syntax explanations accurate 2015-01-14 21:27:07 +00:00
Astrid Elocson
28b6302a83 Improve filter documentation 2015-01-11 19:09:35 +00:00
Jeremy Ruston
be06cb1019 Merge pull request #1334 from tobibeer/variable-documentation
updates to variable documentation
2015-01-10 15:05:48 +00:00
Tobias Beer
391768ae3f updates to variable documentation 2015-01-07 16:18:36 +01:00
Astrid Elocson
90e43d5f5a Further improvements around filter documentation 2015-01-05 14:06:10 +00:00
Jeremy Ruston
71357a8e39 Merge pull request #1316 from aelocson/filter-syntax
Use railroad diagrams to explain filter syntax
2015-01-04 16:00:17 +00:00
Astrid Elocson
388464190d Use railroad diagrams to explain filter syntax 2015-01-03 20:16:46 +00:00
Jermolene
3f5e46011f Remove inaccurate docs 2015-01-02 17:42:04 +00:00
Jermolene
544ee4668e Typo correction 2014-12-31 09:34:32 +00:00
Jeremy Ruston
8707d51b7d Merge pull request #1293 from aelocson/patch-3
Improvements to wording
2014-12-30 18:42:03 +00:00
Astrid Elocson
79a3beeaa6 Add concept of Tag Tiddlers 2014-12-28 09:55:36 +00:00
Astrid Elocson
4f1d6f71fc Add concept of JSON Tiddlers 2014-12-28 09:54:44 +00:00
Astrid Elocson
9aafed511b Add concept of Dictionary Tiddlers 2014-12-28 09:53:58 +00:00
Astrid Elocson
117d10275f Improvements to wording 2014-12-28 09:51:53 +00:00
Astrid Elocson
e9c6610d74 Improvements to wording 2014-12-28 09:51:13 +00:00
Astrid Elocson
7290be9e47 Improvements to wording 2014-12-28 09:50:19 +00:00
Astrid Elocson
cc2688bf44 Update and rename TiddlerChain.tid to TitleList.tid 2014-12-23 21:55:04 +00:00
Astrid Elocson
304848f258 Add a TiddlerChain tiddler
For the common but unnamed concept of a "string [[of tiddler]] titles" like that.
2014-12-23 15:06:18 +00:00
Astrid Elocson
1b61ad13d2 Clearer wording 2014-12-23 07:33:38 +00:00
Astrid Elocson
efda54465e Create InfoPanel tiddler 2014-12-23 00:31:54 +00:00
Jc-L
313f731f77 Update ExternalImages.tid
Minor typo correction
2014-12-21 19:32:42 +01:00
Jermolene
376b447570 Documentation tweaks
@erwanm I ended up making some fairly extensive tweaks.

One issue is that the (excellent) material you’ve provided on
transclusion with templates covers very much the same ground as the
existing TemplateTiddlers tiddler. The existing text was focused on
transclusion with widgets; I think your material using transclusion
notation is much easier to understand.

I’ve also removed the exercises section. We don’t have exercises
elsewhere in the documentation, so I think we need to make a conscious
decision about whether we’re going to try to add them, and then do so
consistently across the material.

I also made some changes to bring the text into house style for
consistency (which I’ve also tried to start documenting).
2014-12-10 17:08:59 +00:00
Erwan Moreau
63c441d3e8 Create TransclusionAsTemplateUsage.tid 2014-12-09 14:45:40 +00:00
Erwan Moreau
46e6fb1957 Create TransclusionBasicUsage.tid 2014-12-09 14:44:28 +00:00
Erwan Moreau
900738e796 Create TransclusionPrinciple.tid 2014-12-09 14:42:41 +00:00
Tobias Beer
a94da683f0 list core descriptions for ModuleType
changed dead links with descriptions ...these are still missing:

* $:/language/Docs/ModuleTypes/allfilteroperator
* $:/language/Docs/ModuleTypes/info
* $:/language/Docs/ModuleTypes/library
2014-12-02 13:10:25 +01:00
Jermolene
7d46afc7b2 Move docs for 5.1.5 release 2014-11-26 11:22:20 +00:00
Jermolene
27c9e7269e Update "Tiddlers" docs
Suggested by @twMat
2014-11-21 17:06:12 +00:00
Jermolene
4e3f6fc4f8 Tweaks "Tiddlers" docs
Thanks for the prompt @FND - I’ve pushed this version to
http://tiddlywiki.com/#Tiddlers and
http://tiddlywiki.com/static/Tiddlers.html
2014-11-01 11:30:22 +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
c39b5b913c Docs tweak 2014-10-12 16:45:53 +01:00
Eucaly
3acb5de407 update JavaScript Macros reference link to dev document 2014-10-01 18:36:04 +08:00
Jermolene
f81b0a6fa9 Add plugins to TOC on tw5.com 2014-09-22 10:41:34 +01:00
Jermolene
3c58426ff2 Docs updates 2014-09-19 21:56:07 +01:00
Jermolene
06cc8ed5ef Lots of documentation cleanup 2014-09-19 17:18:25 +01:00
malgam
b31300c59c No "Internals" tab in control panel
ModuleType.tid refers to a non-existing "Internals" tab in the control panel for a list of module types used in this wiki.  I propose listing these directly in this tiddler as an alternative.
2014-09-19 14:57:01 +10:00
Jermolene
1b0eec143e Refine preliminary list macro
@pmario: I’ve taken your suggestion and made the HTML element type(s)
be macro parameters.
2014-09-17 12:13:24 +01:00
Jermolene
f187122c35 Lots more docs updates 2014-09-12 16:05:37 +01:00
Jermolene
bc985553ed More reference docs mangling 2014-09-11 15:52:47 +01:00
Jermolene
184b9817b4 Update wikitext documentation 2014-09-11 09:15:58 +01:00
Jermolene
e20ef97c27 More mangling of reference docs 2014-09-11 00:06:19 +01:00
Jermolene
def4aca200 Update filter docs 2014-09-10 23:42:13 +01:00
Jermolene
f72bb66f6a Update macro reference docs 2014-09-10 23:42:06 +01:00
Jermolene
f6ff0a7f71 Deprecate $:/tags/stylesheet in favour of $:/tags/Stylesheet
A warning message appears at the top of the story river if any
`$:/tags/stylesheet` tags are found.

Fixing the first half of #824
2014-09-10 09:13:21 +01:00
giffmex
e51d78187f Update Plugins.tid 2014-09-08 13:09:50 -05:00
giffmex
c8bc314a33 Update Macros.tid 2014-09-08 13:09:18 -05:00
Jermolene
6a508e580d Docs updates 2014-09-07 14:03:38 +01:00
Jeremy Ruston
61de0f41ed Merge pull request #776 from gernert/patch-1
Update TiddlerTags.tid
2014-09-01 15:13:09 +01:00
gernert
bc75bd8559 Update SystemTags.tid
The list of system tags was not complete.
I took the info from my guide 'Customization of TW5', http://tw5custom.tiddlyspot.com/#Adding%20parts%20by%20tagging:%5B%5BAdding%20parts%20by%20tagging%5D%5D
2014-09-01 15:08:54 +02:00
gernert
c2d5870fac Update TiddlerTags.tid
typo
2014-09-01 12:20:02 +02:00
Stephan Sokolow
2bf5398eaa Add an attention-drawing warning regarding the spelling of _canonical_uri 2014-08-09 17:17:57 -04:00
Jermolene
17f78ae9c1 Docs update 2014-08-02 13:39:02 +01:00
Jermolene
507cda234e Docs update 2014-07-21 13:17:24 +01:00
Jermolene
ef67cc3fd9 Make default location for new tiddlers configurable 2014-07-20 20:19:09 +01:00
Jermolene
8612bc4006 Rename $:/tags/AboveStory and $:/tags/BelowStory 2014-07-18 11:29:09 +01:00
Jermolene
91acad0f7c Add support for story backdrop and frontdrop
Allows elements to be added above or below the story river
2014-07-08 10:16:10 +01:00
Jermolene
21c137a66c Refactor theme tweaks as individual tiddlers
The trouble with the previous approach of storing several settings in a
single data tiddler was that it made it hard to introduce new settings.
Users who already have a custom copy of the settings/metrics tiddler
wouldn’t get the default settings. The new approach uses individual
tiddlers for each setting.

This commit also introduces a new theme tweak for the cutoff width for
switching between responsive views.
2014-07-06 16:55:51 +01:00
Jermolene
71aa2bbe5f Docs update 2014-06-21 11:16:48 +01:00
Jermolene
ca34cc437c Rename $:/core/templates/canonical-uri-external-image
As per @pmario’s suggestion.
2014-06-13 10:04:31 +01:00
Jermolene
666f243a82 Release note and doc updates for 5.0.13 2014-06-12 19:03:12 +01:00
Jermolene
9547a1f01c First pass at external image support
A bunch of little changes that together enable external image support.
Try:

```
tiddlywiki editions/tw5.com --verbose --build externalimages
```

Then open `externalimages.html`, look for the images in the more/types
tab of the sidebar, open them and verify that they are set with an
external SRC attribute, not a data URI.
2014-06-12 08:36:30 +01:00
Jermolene
3f25db0abe More permalink tweaks
And more documentation this time!
2014-05-29 23:17:21 +01:00
Jermolene
f14ecf4eb8 Add support for $:/tags/RawMarkup 2014-05-26 22:50:54 +01:00
Jermolene
1d15e4b7d3 Docs update 2014-05-16 14:37:05 +01:00
Jermolene
d972988a53 Remove obsolete filter operators docs
It was overwritten by a later version in editions/tw5.com/filters.
2014-05-12 15:17:16 +01:00
Jermolene
6ccf02ed96 Add support for onhashchange
Now we respond dynamically to changes in the location hash in the URL
bar. It means that you can do links in HTML as `<a
href=“#HelloThere”>go</a>` and in Markdown as `[example
link](#HelloThere).`

We still need to make startup.js more modular
2014-05-03 12:20:28 +01:00
Jermolene
a5e9ef9b5f Adopt new URL scheme for permalinks
Instead of using `%00` as a separator we do the more conventional
`#!<target-title>:<story filter>`.
2014-05-03 11:32:55 +01:00
Jermolene
327b53a641 Start adding support for permalinks
At this point we respect any permalink at startup, but we don’t yet
dynamically update the permalink, nor do we respond to ongoing
permalink changes.

The permalink separator being `%00` seems like it might be a bit
controversial. It buys us not having to wrap tiddler titles in double
square brackets if they contain spaces.

Another thing is that this scheme doesn’t support tiddler filters; the
plan is to support them like this:

http://tiddlywiki.com/#!Target%00%00[tag[task]sort[created]]
2014-05-02 19:21:32 +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
Mario Pietsch
523faf71fb change modified date 2014-04-19 15:16:12 +02:00
Mario Pietsch
ad2bbb2c93 tiddler: TiddlerFields - fix the description column. 2014-04-19 15:11:20 +02:00
Jermolene
9fbe72a877 Rearrange system tag configuration
By rearranging the `[all[]]` operator we are able to ensure that shadow
tiddlers get processed before ordinary tiddlers. This makes it easier
to create custom stylesheets that override the core.
2014-04-18 09:28:14 +01:00
Jermolene
5fff6fc87f Docs update 2014-04-10 19:57:21 +01:00
Jermolene
5a65898dbe Update tiddler filter docs 2014-04-10 19:56:51 +01:00
Jermolene
b7f674c51a First pass at refactoring filter execution
This is the beginning of addressing #523.
2014-04-03 20:49:16 +01:00