1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-18 14:10:28 +00:00
Commit Graph

7608 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
Andreas Hahn
d1f2c399ce Add missing widget message documentation (#2399)
* Add documentation to various widget messages.
The following widget messages now have documentation:
* tm-edit-bitmap-operation
* tm-edit-text-operation
* tm-fold-all-tiddlers
* tm-fold-other-tiddlers
* tm-fold-tiddler
* tm-unfold-all-tiddlers
* tm-load-plugin-from-library
* tm-load-plugin-library
* tm-open-window
* tm-scroll

* Fixed alignment error.
2016-04-25 08:28:42 +01:00
Jermolene
387198d9d9 Add instructions for adding a table of contents tab to the sidebar 2016-04-24 16:15:11 +01:00
Xavier Cazin
4d9c228df1 Minor but long overdue improvements to fr-FR translation (#2394)
* Finally get the word "language" translated in fr

* fr-FR: More verbal consistency between captions and hints

* fr-FR mistranslation of "Tiddler Fields"
2016-04-24 16:04:44 +01:00
Jermolene
556e54a0f6 Add link to @stevenleeg's twproxy 2016-04-24 16:03:46 +01:00
Bram Chen
eddefe3a58 Fix docs example (#2393)
Remove redundant double quotes
2016-04-24 15:53:43 +01:00
Jermolene
360ad9a1cc Updated Dutch translation from @gernert 2016-04-24 13:43:07 +01:00
Jermolene
51798414c0 Add Danish to release note 2016-04-24 13:39:03 +01:00
Jermolene
d0bbf3d8d1 Updated Danish translation from Birthe C 2016-04-24 13:38:42 +01:00
Jermolene
ec59316ca5 Revert "Updated Dutch translation from @gernert"
This reverts commit b2143f91d9.
2016-04-24 13:36:18 +01:00
Jermolene
b2143f91d9 Updated Dutch translation from @gernert 2016-04-24 13:35:34 +01:00
Jermolene
0bd79694f2 Change the keyboard shortcut for the preview pane
ctrl-P clashes with the system default for “Print” on Windows (and
Linux?)
2016-04-24 13:31:04 +01:00
Evolena
2b1d38d3ca Add a subfilter parameter to image-picker macro (#2391)
* Documentation and examples
* Fix the tag of image- and colour-picker macros in documentation
2016-04-24 13:27:32 +01:00
Jermolene
fe63694a20 Add link to @roma0104's Sublime Text TW extension 2016-04-24 13:20:03 +01:00
Myeongjin
86f99d1f9e Add Korean (Korea Republic) Edition (#2392)
empty only
2016-04-24 13:11:25 +01:00
Jermolene
b7530bac44 Ensure iframe textarea styles are updated
Previously, changing the palette didn’t update the textarea styles.
2016-04-24 12:30:44 +01:00
Jermolene
f5f92072e1 Add @sukima's personal site example 2016-04-24 12:22:34 +01:00
Jermolene
ba8c4dca98 Fix minor glitch with the file icon 2016-04-24 12:08:42 +01:00
Bram Chen
02da449525 Release note update (#2389) 2016-04-24 09:40:30 +01:00
Myeongjin
a2fdfe8ad4 Update Korean translation (#2390) 2016-04-24 09:39:50 +01:00
Jermolene
3e9cc3e8fd Add a warning for undo/redo buttons in Firefox 2016-04-24 09:32:06 +01:00
Jermolene
3b49cd17fc Fixes from @Infurnoape 2016-04-23 17:23:14 +01:00
Jermolene
d58be59586 Docs update 2016-04-23 17:20:57 +01:00
Eric Drechsel
69f7119b25 Add gettingstarted doc for webdav (#2291) 2016-04-23 08:51:52 +01:00
Jermolene
db86586219 Switch tw5.com to fluid-fixed layout 2016-04-22 17:37:45 +01:00
Jermolene
df9f94900a Release note update 2016-04-22 17:37:35 +01:00
Paulus
dcffd93a28 Update docs for GitHub ribbon plugin (#2384)
* Outdated source of Corner ribbon plugin

No sources provided for  [[$:/plugins/tiddlywiki/github-fork-ribbon]].
Edition aims to its current source in the plugin library and updates the plugin name

* CamelCase link override for visual clarity

* typo corrected
2016-04-22 16:06:19 +01:00
Jermolene
5b11399793 Update KaTeX plugin to v0.6.0 2016-04-22 15:50:23 +01:00
Jermolene
147ce5803c Add link for TiddlyChrome 2016-04-22 15:37:55 +01:00
twMat
1069fc2e45 Docs: Correct faulty tab reference (#2385) 2016-04-22 11:25:11 +01:00
Jermolene
44e9634164 Update codemirror and markdown plugins from #2315 2016-04-22 08:41:31 +01:00
Jermolene
f68bdce7a8 Add the new toolbar icons back 2016-04-22 08:39:08 +01:00
Jeremy Ruston
2adf09129d Introduce text editor toolbar (#2315)
Tada!
2016-04-22 08:36:29 +01:00
Jermolene
4dd701c2dd Fix problem with missing link logic
See
https://github.com/Jermolene/TiddlyWiki5/commit/7908e10488cc4280dd8e4f40
5bcb09f2fb6d3524#commitcomment-17174321
2016-04-20 11:57:38 +01:00
Mario Pietsch
3463a576f2 DE translation for new core texts (#2383)
* Translation for new core texts

* fix some typos

* tiddlyspot settings
2016-04-20 11:47:36 +01:00
Jermolene
a38d133d6e Move text editor images into master
There’s currently 249 changed files in the text-editor branch, which
exceeds github.com’s ability to display the diffs. So we’ll put the
images straight into master to get the diffs down by 32 files.
2016-04-19 08:30:04 +01:00
Jermolene
1e0d019610 Don't repeatedly lazy load the same tiddler
If we don’t get a “text” field back the first time we shouldn’t keep
asking for it.
2016-04-18 14:50:13 +01:00
Myeongjin
e6e346ea29 change string 'Close' to lowercase for dialog (#2366) 2016-04-14 23:03:14 +01:00
Devin Weaver
bea6d741e3 Reword makedatauri.js description (#2373)
Closes issue #2372
2016-04-14 23:02:40 +01:00
Paulus
93b62bfa8c CLA signature for @PauDeLuca (#2375) 2016-04-14 23:02:25 +01:00
Myeongjin
5738543dd3 Update korean translation for Settings/MissingLinks 2016-04-06 08:43:00 +01:00
Bram Chen
b2cfd172f8 Add zh translations for Settings/MissingLinks 2016-04-05 09:02:29 +01:00
Devin Weaver
de3adf905a Fix word wrapping in code blocks
* Fix word wrapping in code blocks

When you create a code block with the three back ticks any thing that
was wider then the pre block would be word wrapped. That causes code
snippets to look odd.

* Make code wrapping a theme tweek option
2016-04-04 17:27:55 +01:00
nome
811aa23010 Include tiddler line number in SyntaxError output
While JavaScript runtime errors include the line number within the

module tiddler where the error occured, syntax errors do not, leaving

the user guessing where the error is hiding. Attempt to remedy this, as

well as the various platforms permit.
2016-04-04 12:46:48 +01:00
nome
9e01a30dc7 Small documentation fixes
* Copy example from  ActionSendMessageWidget to tm-new-tiddler

It is counter-intuitive that the ActionSendMessageWidget documentation has more information on tm-new-tiddler than the more specific one.

* Fix link in reference docs

* Fix some typos
2016-04-04 12:45:31 +01:00
Devin Weaver
7908e10488 Add option to disable linking to missing tiddlers
* Add LinkWidget option to ignore missing tiddlers
* Add missing link option to settings
2016-04-04 12:43:40 +01:00
nome
37823f64e9 Add build targets to server edition
Define for the server edition the same build targets as for the empty

edition, but using the correct template so that the "offline" version

(target "index") works correctly when accessed via HTTP. With this,

`tiddlywiki --build index` is equivalent to the save button.



While the process of setting up TiddlyWiki on Node.js is well documented

and easy enough, the options for  publishing such a wiki to an offline

version (scriptably, e.g. for push-to-deploy setups) are decidedly

non-obvious. With the added build steps, the user only needs to know

three simple commands:



tiddlywiki --init server

tiddlywiki --server

tiddlywiki --build index



and optionally



tiddlywiki --build static
2016-04-03 20:22:11 +01:00
nome
0dd3e9c144 CLA Signature for @nome 2016-04-03 20:21:01 +01:00
Jeremy Ruston
2c6b2ec2c6 Merge pull request #2355 from BramChen/zh
Update Chinese translations
2016-04-01 11:55:02 +01:00
Jeremy Ruston
d8c96af1c8 Merge pull request #2356 from araname/master
Update Korean translation
2016-04-01 11:40:05 +01:00