1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-01-23 19:34:39 +00:00

Compare commits

..

732 Commits

Author SHA1 Message Date
Jermolene
72bf150eac Version number update for 5.1.3 2014-10-20 18:14:33 +01:00
Jermolene
deebb90b46 Update release instructions 2014-10-20 18:14:00 +01:00
Jermolene
7dce3c3ecc Move release note and update HelloThere
Preparing for release of 5.1.3
2014-10-20 18:11:22 +01:00
Jermolene
d83666c24b Readme update 2014-10-20 18:06:18 +01:00
Jermolene
561aaa925b Filename typo 2014-10-20 18:06:08 +01:00
Jermolene
5c137b9002 Docs for update to browse widget 2014-10-20 16:57:06 +01:00
Jermolene
71bc78b176 Coding style cleanups 2014-10-20 16:53:42 +01:00
Jeremy Ruston
f6883e5365 Merge pull request #999 from Eucaly/browse-widget
adding a message attribute to the browse widget
2014-10-20 16:49:06 +01:00
Jermolene
9bc4345cb4 Release note update 2014-10-20 16:12:32 +01:00
Jermolene
cf12bcd58a Docs updates 2014-10-20 16:12:24 +01:00
Eucaly
0bbd5eb292 adding a message attribute to the browse widget
* extend browse widget with a message attribute. If blank then import as
original. Otherwise, dispatch the given message with selected files
2014-10-20 21:57:15 +08:00
Jeremy Ruston
f25053490e Merge pull request #998 from xcazin/ogg
Add audio/ogg  to the list of recognised formats
2014-10-20 12:30:00 +01:00
Jermolene
244b3256a9 Docs on putting last modification date in banner 2014-10-20 12:24:28 +01:00
Jermolene
b8ac80fd1a Docs tweaks 2014-10-20 12:09:02 +01:00
Jermolene
aec4c3cd91 Clean up formatting of github fork ribbon 2014-10-20 11:56:13 +01:00
Jermolene
4314fb478d Add new Japanese site to community links 2014-10-20 08:30:53 +01:00
Xavier Cazin
66765ce158 Explicitly states that external Audio uri may also point to audio streams, not only files 2014-10-19 22:13:28 +02:00
Xavier Cazin
6833bfb220 Add audio/ogg to the list of recognised audio formats 2014-10-19 22:09:17 +02:00
Jeremy Ruston
1914b3d8e1 Merge pull request #932 from Marxsal/patch-1
Create How to apply custom style classes by tag
2014-10-19 18:07:28 +01:00
Jermolene
f9cab4bc12 Add fake dom documentation 2014-10-19 13:34:07 +01:00
Jermolene
12e26009ee Allow percentage width and height on image widget 2014-10-19 13:21:20 +01:00
Jeremy Ruston
299bef2a77 Merge pull request #991 from andrey013/ru-RU
Russian translation update
2014-10-19 09:46:30 +01:00
Jeremy Ruston
02b8a8b9d4 Merge pull request #994 from Marxsal/patch-2
Update cla-individual.md
2014-10-19 09:39:53 +01:00
Jermolene
55397e0ab1 Docs tweaks
Thanks @xcazin
2014-10-19 09:39:33 +01:00
Jermolene
9d53a1b5c4 Update macros docs 2014-10-19 09:18:39 +01:00
Jermolene
e1ac85ddd5 Docs: Clarify importing simplified TW files 2014-10-18 19:50:42 +01:00
Jermolene
744245ea32 Raise error for missing wiki folders
Only raise the error if the wiki path is explicitly specified on the
command line, avoiding `tiddlywiki —version` raising an error if the
current directory isn’t a wiki folder.

Fixes #990
2014-10-18 19:39:39 +01:00
Jermolene
9a4bda9c85 Docs tweaks 2014-10-18 19:15:04 +01:00
Marxsal
18ceb63f18 Update cla-individual.md 2014-10-18 11:05:17 -07:00
Jeremy Ruston
3305874235 Merge pull request #992 from Eucaly/variables
add Subsitutions in WikiText
2014-10-18 18:57:13 +01:00
Jermolene
6c76670137 Removed outdated comment 2014-10-18 17:46:19 +01:00
Jermolene
9a36dc61ec Improve docs on TW file format 2014-10-18 17:42:24 +01:00
Jeremy Ruston
da9f634cf7 Merge pull request #993 from xcazin/new_fr-FR
fr-FR upgrader module description string + change case of long version of month names
2014-10-18 17:30:11 +01:00
Xavier Cazin
ae7cce3c59 fr-FR months are more often displayed in lowercase 2014-10-18 17:40:26 +02:00
Xavier Cazin
67dbbc8d65 fr-FR description of the upgrader module type 2014-10-18 17:40:11 +02:00
Jermolene
2ffe53f191 Add audio parser for handling audio content 2014-10-18 14:50:07 +01:00
Jermolene
ea3bdb5556 Release note update 2014-10-18 14:49:43 +01:00
Eucaly
159a310bab add Subsitutions in WikiText 2014-10-18 18:49:10 +08:00
Eucaly
15f3c284ae add Subsitutions in WikiText 2014-10-18 18:45:46 +08:00
Eucaly
7121828980 Merge pull request #1 from Jermolene/master
sync with master
2014-10-18 16:42:00 +08:00
Andrey Yankin
b2dd87f44a russian translation update 2014-10-18 00:01:05 +04:00
Jermolene
564457de1c Update to KaTeX v0.1.1 2014-10-17 20:10:38 +01:00
Andrey Yankin
4194c7e3dd Merge remote-tracking branch 'upstream/master' 2014-10-17 22:56:54 +04:00
Jermolene
21a791cdcd Docs updates 2014-10-17 16:29:27 +01:00
Jermolene
ad13d57523 Use separate state for each slider demo
Fixes #988
2014-10-17 10:02:21 +01:00
Jeremy Ruston
713792831e Merge pull request #989 from BramChen/master
Update chinese translations for adding description for "upgrader" modules
2014-10-17 09:59:16 +01:00
Jermolene
209c018c38 Docs updates 2014-10-16 10:01:02 +01:00
Jermolene
a4c1fee075 Update test.cmd 2014-10-16 10:00:55 +01:00
Jermolene
fc2d3ce56a Docs update 2014-10-16 09:27:25 +01:00
Bram Chen
f20286fb26 Update chinese translations for adding description for "upgrader" modules 2014-10-16 15:48:07 +08:00
Jermolene
dcc33e52b3 Docs updates 2014-10-15 21:56:32 +01:00
Jermolene
e188662438 Move prerelease release note
The release note for the pending release should be part of the
prerelease edition
2014-10-15 21:56:24 +01:00
Jermolene
7672fb37a7 Simplify test script 2014-10-15 21:55:45 +01:00
Jermolene
b0b89fac72 Moved to build.jermolene.github.io 2014-10-15 21:55:33 +01:00
Jermolene
d91e4be74e Docs updates 2014-10-15 19:46:11 +01:00
Jeremy Ruston
ec7eddfc4e Merge pull request #974 from xcazin/fixtw5.com
Fix caption field of the NowMacro doc tiddler
2014-10-15 19:34:15 +01:00
Jermolene
b94fc7b647 Clarify docs for limit parameter of timeline macro
Prompted by a comment in #975
2014-10-15 17:57:00 +01:00
Jermolene
5211f9c40c Fix problem with timeline subfilter
Fixes #975
2014-10-15 17:48:45 +01:00
Jermolene
c1e60736d8 Add description for "upgrader" modules
Fixes #982
2014-10-15 17:07:49 +01:00
Jeremy Ruston
9a43f9df7c Merge pull request #985 from pmario/language-de
some adjustments due to feedback
2014-10-15 16:41:54 +01:00
Jermolene
b0bd5ba96f Build and release docs update 2014-10-15 16:18:08 +01:00
Jermolene
ca650e2012 Stop building a separate readme for tw2 edition 2014-10-15 16:18:00 +01:00
Jermolene
5dfda99388 Remove scripts that have moved to build.jermolene.github.io 2014-10-15 16:17:46 +01:00
Mario Pietsch
230f2d96de some adjustments due to feedback 2014-10-15 15:49:53 +02:00
Jermolene
ed5a87c019 Docs tweaks 2014-10-15 09:17:00 +01:00
Jermolene
f721e25b8c Docs update 2014-10-14 15:15:56 +01:00
Jermolene
86ec42c8c7 Readme for build.jermolene.github.io 2014-10-14 15:15:48 +01:00
Jermolene
62c31ed37a Add prerelease edition
This is the edition that we’ll use for publishing prerelease/beta
builds of TW
2014-10-14 15:15:20 +01: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
Xavier Cazin
4b3d634b25 Fix caption field of NowMacro doc tiddler 2014-10-13 18:08:28 +02:00
Jermolene
2d25c40227 Remove backslashes from example commands 2014-10-13 09:59:34 +01:00
Jermolene
6ec87efb5a Remove references to $TW5_BUILD_OUTPUT 2014-10-13 09:56:52 +01:00
Jeremy Ruston
a501115afb Merge pull request #972 from pmario/language-de
revert leading 0 for timeline, but use it with Journal
2014-10-13 09:26:57 +01:00
Jermolene
5154a83cf9 Exclude search string tiddler from search results 2014-10-13 09:11:34 +01:00
Jermolene
18fa5a4a5d Fix typo
Thanks @TheDiveO
2014-10-12 16:57:01 +01:00
Jeremy Ruston
90ac41b9ec Merge pull request #967 from pmario/german-videos
german video links for saving with chrome, firefox, ie
2014-10-12 16:50:14 +01:00
Mario Pietsch
316e1eca3f fix video protocol 2014-10-12 17:45:54 +02:00
Jermolene
c39b5b913c Docs tweak 2014-10-12 16:45:53 +01:00
Jeremy Ruston
d053b960b6 Merge pull request #963 from Evolena/patch-3
Fix some bad links
2014-10-12 16:38:08 +01:00
Mario Pietsch
554d2c689c revert leading 0 for timeline, but use it with Journal 2014-10-12 17:31:59 +02:00
Jeremy Ruston
0cbe396efb Merge pull request #968 from pmario/language-de
Language de Misc and Dates according to en-GB
2014-10-12 16:26:12 +01:00
Jermolene
601884d894 Docs tweaks 2014-10-12 16:25:52 +01:00
Mario Pietsch
73bc2a1848 remove duplicated elements 2014-10-12 17:20:04 +02:00
Jermolene
4519c47551 Docs update 2014-10-12 16:15:08 +01:00
Mario Pietsch
473b28585a dates and misc same as en-GB now 2014-10-12 17:05:04 +02:00
Mario Pietsch
6fc14e5c1f german video links for saving with chrome, firefox, ie 2014-10-12 16:28:02 +02:00
Evolena
2fe095fcd1 Fix bad links 2014-10-12 13:59:26 +02:00
Jeremy Ruston
824f9c1d8c Merge pull request #965 from xcazin/renew-fr-FR
Journal- and NewTiddler- related fr-FR strings
2014-10-12 10:25:04 +01:00
Xavier Cazin
b81095349f Revert NewJournal fr-FR pattern to be the same as en-GB 2014-10-12 11:14:16 +02:00
Jeremy Ruston
7f7ab768f7 Merge pull request #964 from simonbaird/master
Add span wrapper around button caption text
2014-10-12 09:42:24 +01:00
Jermolene
1695d5fe29 Docs tweaks 2014-10-12 09:42:16 +01:00
Xavier Cazin
4840357ea0 Typo in fr-FR Dates 2014-10-11 20:19:43 +02:00
Xavier Cazin
ca2afd9eef Journal- and NewTiddler- related fr-FR strings 2014-10-11 20:18:20 +02:00
Simon Baird
0671e59fed Add span wrapper around button caption text
Reasons:
- can show or hide the button text with CSS (assuming
  tv-config-toolbar-text is yes).
- can have different looking buttons in the page controls versus the
  view toolbar, etc
- more flexibility styling the button appearance, for example you
  can change the text size compared to the icon size
- button appearance is more themeable
2014-10-12 01:43:01 +10:00
Jermolene
06f9ed8bad Generate new tiddler titles that aren't already subject of a draft 2014-10-10 20:58:56 +01:00
Jermolene
644ced6d4e Preserve modified title when reusing drafts
Should fix the problem raised by @xcazin
2014-10-10 20:58:34 +01:00
Jermolene
a671e72706 Fix problem with import button triggering checkbox on Firefox
It seems that there is a broader problem with the way that the button
is embedded within the label of a checkbox; even on Chrome it meant
that the checkbox active state was triggered when clicking on any of
the buttons. The user experience was in any case confusing; it wasn’t
obvious that clicking on the label to the right of the button would
flick the checkbox.

The solution takes the buttons and labels out of the checkbox label.
2014-10-10 20:50:50 +01:00
Jermolene
f7bdb1c04d Docs updates 2014-10-10 20:32:22 +01:00
Jermolene
9a6f1f66be Yet more fixing for the Firefox jumping toolbar problem...
See #282
2014-10-10 20:32:12 +01:00
Jermolene
6e4dccda4c Docs update 2014-10-10 10:35:43 +01:00
Jermolene
03defe4256 Docs cleanup 2014-10-10 10:35:36 +01:00
Jermolene
39b7771f87 Update release notes 2014-10-10 10:31:17 +01:00
Jermolene
087a0aec58 Fixed typo in language files 2014-10-10 10:31:10 +01:00
Jermolene
f37a7101a7 Fix problem with new tiddler button 2014-10-10 10:17:42 +01:00
Jermolene
e90e588621 Missed from last commit 2014-10-10 10:13:02 +01:00
Jermolene
353f641bcc Move date-related translateable strings into their own file 2014-10-10 10:12:40 +01:00
Jermolene
a8d83096d3 Fix behaviour of new tiddler message
Resolves some inconsistencies over the behaviour of the new tiddler
message under various circumstances.

“new journal here” when a journal for today already exists now brings
up the existing journal for editing, and adds the required tag.

I’d be very grateful for any testing of the behaviour here: try using
new tiddler, clone tiddler, new here, new journal here, and new journal
in various combinations (eg with the draft not existing, already
existing, open or closed etc), and let me know of any peculiarities.
2014-10-10 09:52:19 +01:00
Jermolene
1e02a9f0db Correct return value for makeDraftTiddler 2014-10-10 09:03:35 +01:00
Jeremy Ruston
d74fc931c1 Merge pull request #960 from BramChen/master
Update chinese translations
2014-10-10 08:05:52 +01:00
Bram Chen
1460b6ec12 Add chinese translations of new journal here button 2014-10-10 09:10:50 +08:00
Jermolene
a7c9112c40 Add new filter example 2014-10-09 20:51:58 +01:00
Jermolene
9cd420290b Fix for titles including double quotes 2014-10-09 20:11:11 +01:00
Jermolene
5f08f89956 Add link to Iannis Zannos hints site 2014-10-09 18:08:05 +01:00
Jermolene
ea7d9652c5 Move new journal here button to the correct directory 2014-10-09 18:00:34 +01:00
Jermolene
515b556b48 Fix for previous fix
Fix for problem introduced in 25f4ce93ac
2014-10-09 17:51:29 +01:00
Jermolene
25f4ce93ac Fixed truncation of tiddler info panel
Caused by the fix to #282
2014-10-09 17:42:18 +01:00
Jermolene
d6dc4c14d7 Add new-journal-here button to viewtoolbar ordering 2014-10-09 17:36:33 +01:00
Jeremy Ruston
fcf843d5b1 Merge pull request #959 from simonbaird/new-journal-here
Add a 'new journal here' button
2014-10-09 17:34:13 +01:00
Jermolene
3827f98a43 Improve new tiddler behaviour with existing tiddlers
Now repeatedly clicking “new journal” will reuse the existing journal
if one exists
2014-10-09 17:30:53 +01:00
Jermolene
612e05a247 pushTop should return resulting array 2014-10-09 17:28:39 +01:00
Simon Baird
00cdd04edd Add a 'new journal here' button
The journal tiddler will be tagged with the name of the current
tiddler. This is similar to how the new here button works.

(Would have liked to reuse the journalButton code which is almost
identical between new-journal-here and new-journal, but I'm not
sure how to do it.)
2014-10-10 02:06:56 +10:00
Jermolene
5010859ed6 This deals with one of the specific issues raised in #922, but doesn’t
address the general issue.
2014-10-09 14:56:38 +01:00
Jeremy Ruston
7ed7cbc948 Merge pull request #950 from BramChen/master
Update chinese translations
2014-10-09 13:49:29 +01:00
Jeremy Ruston
b05ff2a5d7 Merge pull request #952 from fghhfg/patch-10
Update Searching.tid
2014-10-09 13:38:43 +01:00
Bram Chen
804c7de635 Add NewJournal.multids for chinese translations 2014-10-09 20:33:57 +08:00
Jermolene
4e37a9fb09 Navigate widget docs update 2014-10-09 13:28:12 +01:00
Bram Chen
4255084913 Merge remote-tracking branch 'upstream/master' 2014-10-09 20:21:11 +08:00
Jeremy Ruston
c538712a2e Merge pull request #953 from buggyj/tw2parserdoc
add install instruction
2014-10-09 13:13:56 +01:00
Jeremy Ruston
f2b8d0b2f9 Merge pull request #955 from pmario/language-de
new UI texts, fixing some more typos
2014-10-09 13:13:28 +01:00
Jermolene
3682c26817 Move new journal strings into language directory 2014-10-09 13:09:59 +01:00
Jermolene
36a43c3f41 Ensure new-here tag is quoted
Fixes problem with new here on tiddlers with spaces in their title.
Thanks to @simonbaird

Fixes #956
2014-10-09 13:08:11 +01:00
Mario Pietsch
896b7c2585 added date translations. Fix default date formats 2014-10-09 14:00:45 +02:00
Bram Chen
01b515a4f4 Add chinese date format strings 2014-10-09 18:29:14 +08:00
Bram Chen
e8c56e57cc Merge remote-tracking branch 'upstream/master' 2014-10-09 18:01:26 +08:00
Jermolene
c6951ee912 Make date format strings be translateable
Note for translators: I’m planning to release 5.1.3 later today.

Fixes #954
2014-10-09 10:33:08 +01:00
Mario Pietsch
8b1d6d235b new UI texts, fixing some more typos 2014-10-09 10:56:27 +02:00
Bram Chen
9075495cc8 Revert to simple tooltip for newhere button for chinese translations 2014-10-09 16:33:46 +08:00
Bram Chen
be3239ecc0 Merge remote-tracking branch 'upstream/master' 2014-10-09 16:32:12 +08:00
Jermolene
e34b4f18e5 Improve new here button 2014-10-09 09:31:26 +01:00
Jermolene
90997020e7 Revert to simple tooltip for newhere button
At present we can’t arrange for the hint to be wikified when it’s used
as the button tooltip.
2014-10-09 08:44:23 +01:00
buggyj
18877f9237 add install instruction 2014-10-09 08:21:00 +02:00
Bram Chen
e5f20d1a9c Update chinese translations
* Add "new here" button
* Add "new journal" button
* Add default title of new tiddler
2014-10-09 13:54:47 +08:00
Bram Chen
b486846a74 Merge remote-tracking branch 'upstream/master' 2014-10-09 09:27:50 +08:00
Jermolene
70984aa39f Add "new here" button
This is a basic “new here” tiddler toolbar button that just creates a
new tiddler tagged with the title of the current tiddler.

@pmario is there anything else required?
2014-10-08 22:02:32 +01:00
Jermolene
c322dc82c3 Simplify new journal button 2014-10-08 20:11:54 +01:00
Jermolene
b53074a0cc Update "Introduction to Filters" docs 2014-10-08 19:02:54 +01:00
Jermolene
d778a90eb0 Make new journal title and tags be configurable 2014-10-08 18:35:25 +01:00
Jermolene
e872f17842 Add a new journal page toolbar button
Spot the easter egg with the toolbar button…

Fixes #336
2014-10-08 17:46:34 +01:00
Jermolene
0dcf54c3b5 Add support for action widgets
This is part of the groundwork for fixing #336
2014-10-08 17:45:26 +01:00
Jermolene
3b69b7b6e8 Coding style tweak 2014-10-08 14:07:48 +01:00
fghhfg
a361ab0608 Update Searching.tid 2014-10-08 16:21:09 +08:00
Bram Chen
96d1981dcc Update chinese translations
* Add confirmation for clearing password
2014-10-08 09:21:54 +08:00
Jermolene
a604afe871 Fix list in "Filters" tiddler
Mentioned by @Evolena in #922
2014-10-07 22:33:06 +01:00
Jermolene
dc9981322a Increase size of search cancel button 2014-10-07 22:11:43 +01:00
Jermolene
ff23a84d28 Docs tweaks 2014-10-07 21:44:54 +01:00
Jeremy Ruston
bbc1d18e25 Merge pull request #949 from fghhfg/patch-8
Update Learning.tid
2014-10-07 21:41:17 +01:00
fghhfg
b3c3442024 Update Learning.tid 2014-10-08 04:21:13 +08:00
Jermolene
b3dcd7d625 Fix tiddler title background colour for sticky titles 2014-10-07 20:41:22 +01:00
Jermolene
70c8659948 Update release note 2014-10-07 15:50:46 +01:00
Jermolene
ef1d531091 Add confirmation for clearing password
Fixes #925
2014-10-07 14:35:42 +01:00
Jermolene
a0460c391b Fix problem with recent zoomin changes 2014-10-07 14:07:55 +01:00
Jermolene
09b6540998 Update history for tm-home message 2014-10-07 14:07:41 +01:00
Jeremy Ruston
c475302663 Merge pull request #940 from fghhfg/patch-1
Simplify upgrading instructions
2014-10-07 13:26:30 +01:00
Jermolene
dd829d9140 Docs tweaks 2014-10-07 13:16:24 +01:00
Jermolene
cda495d692 Doc tweaks 2014-10-07 13:16:04 +01:00
Jeremy Ruston
e108799791 Merge pull request #942 from fghhfg/patch-3
add how to install plugin
2014-10-07 13:03:55 +01:00
Jermolene
811e92c0eb Docs update 2014-10-07 13:02:43 +01:00
Jeremy Ruston
766ec38487 Merge pull request #944 from fghhfg/patch-5
more clear "How to sign the CLA"
2014-10-07 13:00:58 +01:00
Jeremy Ruston
002b07d096 Merge pull request #945 from fghhfg/patch-6
add a example
2014-10-07 09:57:34 +01:00
Jeremy Ruston
68b7212150 Merge pull request #946 from fghhfg/patch-7
add some way to invoke macro
2014-10-07 09:46:29 +01:00
Jeremy Ruston
65504d5d41 Merge pull request #928 from TheDiveO/filter-operators-addsufprefix
addprefix and addsuffix filter operators
2014-10-07 09:44:31 +01:00
Jermolene
548776e828 Add KaTeX static build 2014-10-06 21:20:28 +01:00
Jermolene
63c174d7ed Update KaTeX wrapper to support operation under Node.js
Now we can generate static HTML containing mathematical typesetting
2014-10-06 21:20:19 +01:00
Jermolene
cbe2a53d6a Extend fakedom for KaTeX on Node.js
To make KaTeX work on the server we need to add support for the style
attribute and for setting the textContent of an element.
2014-10-06 21:10:35 +01:00
TheDiveO
f6f9c74fe9 added documentation tiddlers for addprefix and addsuffix; updated
documentation tiddlers for prefix, suffix, removeprefix, removesuffix to
reference the new addprefix and addsuffix filter operators.
2014-10-06 21:49:54 +02:00
fghhfg
651ed60987 add some way to invoke macro 2014-10-07 02:28:40 +08:00
fghhfg
f2e97eeb25 add a example 2014-10-07 00:38:12 +08:00
fghhfg
0d7209ff2f more clear "How to sign the CLA" 2014-10-06 23:38:48 +08:00
Jeremy Ruston
3630a2191e Merge pull request #943 from fghhfg/patch-4
CLA signature from @fghhfg
2014-10-06 16:21:36 +01:00
fghhfg
a2ddf6c4a0 i'm not sure what i'm doing... 2014-10-06 23:19:16 +08:00
fghhfg
e6d59ece6f add how to install plugin 2014-10-06 22:36:02 +08:00
Jermolene
b7bbcfa056 Prompt twice when setting password
Fixes #364
2014-10-06 10:22:09 +01:00
Jermolene
0c8e538077 Add support for custom password prompts 2014-10-06 10:02:34 +01:00
Jermolene
67db9d57a2 Boot prefix should preserve $tw in the browser
This change allows raw markup tiddlers to preload configuration values
into the `$tw` global
2014-10-06 10:02:20 +01:00
fghhfg
61acea7e8d make simpler 2014-10-06 16:32:23 +08:00
Jermolene
5dd6ebff05 Fix problem with zoomin storyview and hidden sidebar
Fixes #933
2014-10-06 09:18:29 +01:00
Andrey Yankin
2b236ceed3 Merge pull request #2 from Jermolene/master
Following the origin
2014-10-05 21:00:16 +04:00
Jeremy Ruston
c126294ae5 Merge pull request #924 from andrey013/ru-RU
Russian translation
2014-10-05 16:35:47 +01:00
Jermolene
3048b79a45 Update button widget docs
Fixes #927
2014-10-05 16:33:05 +01:00
Jeremy Ruston
b9ed7e52c2 Merge pull request #929 from Eucaly/update-dev-doc
update JavaScript Macros reference link to dev document
2014-10-05 16:25:55 +01:00
Jermolene
cc576b052e Fix "each" filter operator with missing tiddlers
Fixes #930
2014-10-05 16:25:01 +01:00
Jermolene
535b695167 Docs edit 2014-10-05 16:18:56 +01:00
Jeremy Ruston
4d732c5733 Merge pull request #931 from gernert/patch-2
Update Lists in WikiText.tid
2014-10-05 16:06:39 +01:00
Jeremy Ruston
02d37dcfcc Merge pull request #934 from pmario/fix-untagged-pill-css
tc-untagged-label doesn't work, because button.tc-tag-label is more specific
2014-10-05 16:00:10 +01:00
Jeremy Ruston
cf6efa7ee5 Merge pull request #935 from Eucaly/variables
add WidgetVariable documentation
2014-10-05 15:59:32 +01:00
Jermolene
15905f3b7a Correct fix for #282
Thanks @pmario and @andrey013
2014-10-05 12:44:06 +01:00
Andrey Yankin
1c5c899096 dragger, dropdown, untagged pill, static alert 2014-10-04 23:38:09 +04:00
Andrey Yankin
e624f52374 Russian palette colours not finished 2014-10-04 23:38:09 +04:00
Andrey Yankin
46749d5f46 Russian fields 2014-10-04 23:38:09 +04:00
Andrey Yankin
cf6c8e23fb Russian ModuleTypes 2014-10-04 23:38:09 +04:00
Andrey Yankin
90ac097f38 svg 2014-10-04 23:38:09 +04:00
Andrey Yankin
e14d151273 types 2014-10-04 23:38:09 +04:00
Andrey Yankin
443dae39ba move fields translation to docs folder 2014-10-04 23:38:09 +04:00
Andrey Yankin
2188ecb91d Upgrader Russian translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
3fd52fab0c LoadedModules incomplete translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
a81375b432 small fix 2014-10-04 23:38:09 +04:00
Andrey Yankin
9a5c7a063c Date format 2014-10-04 23:38:09 +04:00
Andrey Yankin
352c3189da Russian control panel 2014-10-04 23:38:09 +04:00
Andrey Yankin
40cc1fcf5e misc 2014-10-04 23:38:09 +04:00
Andrey Yankin
ad71a102c2 Sign the CLA 2014-10-04 23:38:09 +04:00
Andrey Yankin
b311409924 edit form, filters, getting started, importer, search and info form russian translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
65ba441e81 Russian sidebar 2014-10-04 23:38:09 +04:00
Andrey Yankin
10e7e53a10 Russian buttons 2014-10-04 23:38:09 +04:00
Andrey Yankin
9add946484 Russian flag 2014-10-04 23:38:09 +04:00
Andrey Yankin
fb799a57ff Start russian translation 2014-10-04 23:38:08 +04:00
Andrey Yankin
25cf30b946 Merge pull request #1 from Jermolene/master
Fix Firefox toolbar jump
2014-10-04 23:25:48 +04:00
Jermolene
3ca8d7b6cc Fix Firefox toolbar jump
Fixes #282
2014-10-04 12:17:47 +01:00
Eucaly
52a2d5ade2 update WidgetVariable documentation 2014-10-03 07:15:06 +08:00
Eucaly
d9ccac21d0 add WidgetVariable documentation 2014-10-02 23:02:48 +08:00
Mario Pietsch
f85b07e70b tc-untagged-label because button.tc-tag-label is more specific and also defines the background color. ... weak design 2014-10-02 15:41:40 +02:00
Markqz
6071f3d385 Create How to apply custom style classes by tag 2014-10-01 13:06:44 -08:00
gernert
e343ccc458 Update Lists in WikiText.tid
An extra example with numbers as first level
2014-10-01 19:54:34 +02:00
Eucaly
3acb5de407 update JavaScript Macros reference link to dev document 2014-10-01 18:36:04 +08:00
TheDiveO
05280f09d7 Added new filter operator for adding prefixes and suffixes to titles; these new filter operators are useful in contexts where only a filter expression is allowed and where macro processing isn't allowed. The filters complement the existing remove suffix and prefix filter operators. (So much for the "filter" in filter operator.) 2014-09-30 23:01:32 +02:00
Jermolene
459133cc57 Remove unused file watching code from filesystemadaptor
This code was contributed by @natecain and added in #176. It was almost
immediately disabled because of problems in the field.

I’m removing the code now to simplify the adaptor in advance of some
planned refactoring.
2014-09-28 23:46:55 +01:00
Jeremy Ruston
860a7070a9 Merge pull request #920 from xcazin/list-links
Tweak of the list-links macro in order to display caption fields if present
2014-09-28 20:33:30 +01:00
Xavier Cazin
c26bd4c5a8 Tweak of the list-links macro in order to display caption fields if present 2014-09-28 21:11:58 +02:00
Jermolene
6626da9b3b Update tabs macro documentation 2014-09-28 12:25:27 +01:00
Jermolene
e51c4fcb92 Adjust list macro docs 2014-09-28 09:58:27 +01:00
Jeremy Ruston
e028b87ce8 Merge pull request #918 from pmario/fr-coremacro-classes
Like the tabs macro, the list macro should get a possibility to add a class parameter
2014-09-28 09:56:40 +01:00
Jermolene
7ccf43d3ca Preparing for 5.1.3 2014-09-28 09:56:17 +01:00
Mario Pietsch
1f7a4e3336 fix docs, typo 2014-09-28 10:42:15 +02:00
Mario Pietsch
59f04ffd31 add class parameter to list-links macro 2014-09-28 10:32:54 +02:00
Mario Pietsch
32fcd2e21b Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-09-28 10:20:32 +02:00
Jermolene
1a9f042c25 Version number update for 5.1.2 2014-09-27 17:34:27 +01:00
Jermolene
d9bdc89dfd Update test for transclusion recursion detection 2014-09-27 17:30:13 +01:00
Jermolene
eaf41f3f18 Docs updates 2014-09-27 17:27:39 +01:00
Jermolene
46f6dd02f8 Update release note 2014-09-27 17:25:29 +01:00
Jermolene
1c8d62c3aa Link to couchdb adaptor
@wshallum feel free to send pull requests for this tiddler to reflect
future updates to the adaptor.
2014-09-27 17:02:36 +01:00
Jermolene
42abef6fbf Adjust untagged divider styling
Further fixes for #913
2014-09-27 16:56:59 +01:00
Jermolene
18a2b48b3b Docs adjustments 2014-09-27 11:56:36 +01:00
Mario Pietsch
10040f51e1 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-09-27 12:55:47 +02:00
Jeremy Ruston
81fc8ef570 Merge pull request #909 from gernert/patch-2
Update TableOfContentsMacro.tid
2014-09-27 11:53:38 +01:00
Jeremy Ruston
f8f3d0fb9b Merge pull request #908 from pmario/de-AT-DE-korrektor
fixing typos + german macro docs
2014-09-27 11:39:52 +01:00
Jermolene
23c2d90ee8 Added error handling to upload saver
A further fix for #251
2014-09-27 10:47:31 +01:00
Jermolene
115245a632 Improve storyview error detection
Fixes #912
2014-09-27 10:34:59 +01:00
Jeremy Ruston
9dff0c4b12 Merge pull request #914 from TheDiveO/master
Avoid runtime errors in presence of broken plugin tiddlers
2014-09-27 10:15:32 +01:00
Jermolene
27728f397c Adjust tab positioning
Avoiding an unsightly gap on Firefox and Chrome. Sadly Safari needs the
margin-bottom to be set to `-3px` to achieve the same effect. I think
that that is because the browsers have some differences in their
intrinsic button styles that are not being properly normalised.
2014-09-27 10:13:36 +01:00
Jermolene
580e046e7d Separate tags pills from untagged pill with whitespace
Instead of using an `<hr>`. Fixes #913
2014-09-27 10:12:43 +01:00
TheDiveO
b1fb0a2a07 fix for broken plugin tiddlers that do not contain a tiddlers field;
avoids runtime errors upstream when accessing subtiddlers inside a
(broken) tiddler and when using the plugintiddlers filter operator.
2014-09-26 22:33:47 +02:00
Mario Pietsch
f604a0ac8e be polite 2014-09-26 09:21:39 +02:00
Mario Pietsch
a4b9032d9c Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-09-26 09:04:10 +02:00
Mario Pietsch
beb360d992 Merge branch 'de-AT-DE-korrektor' of github.com:pmario/TiddlyWiki5 2014-09-26 09:02:43 +02:00
gernert
8d48e194cf Update TableOfContentsMacro.tid
Seen the many questions in the group, the TableOfContentsMacro is a hot item but a bit difficult to understand.
I thought a graphical representation with the real tags for the examples might help.
2014-09-25 10:23:03 +02:00
Mario Pietsch
0799c06b1b more docs. ChrisK attribution 2014-09-24 16:28:31 +00:00
Jermolene
eacb9e53eb Delete syncer tiddlerInfo when tiddlers are deleted 2014-09-24 16:21:59 +02:00
Jermolene
e2046ce4ff Treat HTTP 201 response code as success 2014-09-24 16:19:23 +02:00
Jermolene
c9f692d671 Add documentation for "fields" filter operator
Fixes #898
2014-09-24 13:57:23 +02:00
Jermolene
88199ffd62 Update lists in wikitext docs
Thanks @Skeeve
2014-09-24 13:23:40 +02:00
Jermolene
a159b5baf3 Add tiddlerInfo to the syncadaptor saveTiddler method 2014-09-24 13:15:16 +02:00
Jeremy Ruston
8a0309a4bd Merge pull request #899 from simonbaird/master
Fix list macro typo in tw5 Plugins.tid
2014-09-24 12:43:03 +02:00
Jermolene
f8e11da0fc Update lists in wikitext docs
Include workaround for multi-line list entries.
2014-09-24 12:41:12 +02:00
Jermolene
6b3646a025 Update history of TiddlyWiki 2014-09-24 12:08:16 +02:00
Jermolene
b3df07ae3e Error handling for KaTeX plugin 2014-09-24 11:50:49 +02:00
Jermolene
61af1f9379 Add error formatting for transclusion recursion errors 2014-09-24 11:50:38 +02:00
Mario Pietsch
4264fe66ca some fixes. many new doc tiddlers 2014-09-23 22:50:02 +00:00
Simon Baird
6bc2e18cbd Fix list macro typo in tw5 Plugins.tid 2014-09-23 23:59:12 +10:00
Mario Pietsch
aaaed439f7 typos found by ChrisK 2014-09-22 19:26:00 +00:00
Jeremy Ruston
143d4c1ae4 Merge pull request #895 from Evolena/patch-1
Correct a typo in doc
2014-09-22 13:47:01 +01:00
Jeremy Ruston
ccce478b3a Merge pull request #896 from Evolena/patch-2
Sign CLA
2014-09-22 13:46:56 +01:00
Evolena
113d8efb80 Sign CLA 2014-09-22 14:36:16 +02:00
Evolena
f0e638ea62 Correct a typo in doc 2014-09-22 14:04:05 +02:00
Jermolene
972f91182d More preparation for 5.1.2 2014-09-22 12:24:05 +01:00
Jermolene
49f0989db8 Prepare for 5.1.2 2014-09-22 12:23:04 +01:00
Jermolene
b73006a5e9 Version number update for 5.1.1 2014-09-22 12:08:37 +01:00
Jermolene
22bc2dd9d7 Update KaTeX plugin docs 2014-09-22 12:06:49 +01:00
Jermolene
3088d50e87 Update release note for 5.1.1 2014-09-22 12:04:18 +01:00
Jeremy Ruston
3dfc569c00 Merge pull request #894 from pmario/de-AT-DE-korrektor
some more german typos
2014-09-22 11:54:15 +01:00
Jermolene
b7ce56e3ce Release note update for 5.1.1 2014-09-22 11:53:47 +01:00
Mario Pietsch
9059ea5211 some more german typos 2014-09-22 10:49:24 +00:00
Jeremy Ruston
4ebccbe468 Merge pull request #854 from buggyj/tw2parserdocerr
corrected doc error
2014-09-22 11:44:13 +01:00
Jeremy Ruston
32d55cf072 Merge pull request #890 from TheDiveO/master
Minor: fix plugin name ThirdFlow
2014-09-22 11:43:51 +01:00
Jeremy Ruston
5139c82f53 Merge pull request #889 from pmario/fix-encryption-button-consistency
make encryption button text more consistent
2014-09-22 11:43:25 +01:00
Jermolene
6ea18cb61a Readme update 2014-09-22 11:43:07 +01:00
Jermolene
13290692de Update docs for select widget
How’s this @danielo515?
2014-09-22 10:42:41 +01:00
Jermolene
1007ec2ad6 Sort order for TOC on tw5.com 2014-09-22 10:42:23 +01:00
Jermolene
f00c4c164b Add dev docs to readme 2014-09-22 10:42:12 +01:00
Jermolene
d0deacbdc4 Include word "Version" in ribbon on tw5.com 2014-09-22 10:42:02 +01:00
Jermolene
f81b0a6fa9 Add plugins to TOC on tw5.com 2014-09-22 10:41:34 +01:00
Jermolene
3a43de2272 Updates to KaTeX plugin 2014-09-22 10:41:12 +01:00
Jermolene
96b7d0eeba First pass at KaTeX plugin
Finally fixes #458 thanks to the KaTeX plugin from Khan Academy
2014-09-21 23:03:07 +01:00
TheDiveO
378e687a42 fix plugin name ThirdFlow
the icon may be slightly misleading but it's not the Third Wave and instead the Third Flow.
2014-09-21 18:49:06 +02:00
Mario Pietsch
14179c9734 make encryption button text more consistent 2014-09-21 13:48:33 +02:00
Jermolene
d047ccdc84 Remove support for deprecated $:/tags/stylesheet tag 2014-09-21 11:26:11 +01:00
Jermolene
62edd1e8a3 Remove support for deprecated "title" attribute on button widget 2014-09-21 11:25:43 +01:00
Jermolene
d4617ffbe4 Preparing for 5.1.1 2014-09-21 11:22:54 +01:00
Jermolene
3dc99e9605 Adjust links in dev docs
Whoops….
2014-09-21 11:15:27 +01:00
Jeremy Ruston
e536516e81 Merge pull request #888 from pmario/fix-german-typos
Fix german typos
2014-09-21 10:05:10 +01:00
Mario Pietsch
e95c87f068 checked all language files for typos 2014-09-21 09:58:54 +02:00
Mario Pietsch
f4f263ea69 fix some ugly typos 2014-09-21 09:22:20 +02:00
Jermolene
e0a00f360a Version number update for 5.1.0 2014-09-20 17:55:26 +01:00
Jeremy Ruston
658a0e5f0a Merge pull request #885 from BramChen/master
Update chinese translations
2014-09-20 17:00:55 +01:00
Bram Chen
962a865347 Update chinese translations
* correct help text of setfield command
2014-09-20 23:42:58 +08:00
Jeremy Ruston
0ea7f7589b Merge pull request #884 from xcazin/fr-FR
Fr fr
2014-09-20 16:37:17 +01:00
Jermolene
ff0b2afef7 Features docs update 2014-09-20 16:37:05 +01:00
Xavier Cazin
bde00aa455 Translation of the tiddler that links to the fr-FR edition (starting with the localised empty.html only) 2014-09-20 17:16:43 +02:00
Xavier Cazin
1c86a8e0bb fr-FR correction on setfield documentation 2014-09-20 17:05:10 +02:00
Jermolene
2ee82a289a Developer docs update 2014-09-20 15:37:14 +01:00
Jermolene
15e9e21d2a Readme updates for Node.js 2014-09-20 15:06:33 +01:00
Jermolene
ebb911f934 Docs updates 2014-09-20 13:49:34 +01:00
Jermolene
dac046c133 Add TWGuides to resource listing 2014-09-20 13:48:30 +01:00
Jeremy Ruston
ab1def7d94 Merge pull request #883 from pmario/fix-default-language-setting
Fix default language setting
2014-09-20 13:18:11 +01:00
Jermolene
c900c71f8a More docs updates 2014-09-20 13:17:18 +01:00
Jermolene
15c527802b More docs cleanup 2014-09-20 12:46:31 +01:00
Mario Pietsch
055dda9ee2 some language default settings fixed. remove a lot of now unnecessary tilde signs 2014-09-20 13:35:07 +02:00
Jermolene
d3ad7a52c1 Correct setfield documentation 2014-09-20 12:10:50 +01:00
Jermolene
5e5c416ead Remove links to non-existent German and Chinese translations 2014-09-20 12:10:33 +01:00
Mario Pietsch
9c71756738 fix bld-languages.sh 2014-09-20 10:21:27 +02:00
Jermolene
50a7b20cf0 Fix URL typos 2014-09-20 08:29:05 +01:00
Jeremy Ruston
6fbef65ded Merge pull request #879 from BramChen/master
chinese translations for documents of Chinese Edtions
2014-09-20 08:24:59 +01:00
Jeremy Ruston
1075770bf7 Merge pull request #880 from simonbaird/master
Update link to d3 demo in HelloThere content
2014-09-20 08:23:45 +01:00
Simon Baird
dfd35e8c12 Update link to d3 demo in HelloThere content 2014-09-20 16:25:41 +10:00
Bram Chen
59bbf3d56b Convert chinese characters 2014-09-20 12:51:43 +08:00
Bram Chen
15a28bc0a5 chinese translations for documents of Chinese Edtions 2014-09-20 12:34:24 +08:00
Jeremy Ruston
390a6759ea Merge pull request #878 from xcazin/fr-FR
fr-FR translation of the warning about saving settings only used on tidd...
2014-09-19 23:03:47 +01:00
Jermolene
1a75fd0e21 Include translated editions
@pmario and @bramchen and @xcazin

Maybe the titles of these tiddlers should be translated into their
respective languages? And possibly the text too?
2014-09-19 23:03:30 +01:00
Jermolene
9eb2db791f Docs updates 2014-09-19 23:02:03 +01:00
Xavier Cazin
889f8c43e2 fr-FR translation of the warning about saving settings only used on tiddlyspot-like servers 2014-09-19 23:34:51 +02:00
Jermolene
c5d0ae4c9b Fix problem with preview state storage in import listing
Fixes #877
2014-09-19 21:56:37 +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
Jermolene
e40f4ff630 Fix typo
Thanks @pmario
2014-09-19 15:55:18 +01:00
Jermolene
3ad4febc15 Clarify select widget docs 2014-09-19 15:28:08 +01:00
Mario Pietsch
8610a9c064 get default language files back 2014-09-19 16:23:21 +02:00
Mario Pietsch
cda1e916bf fixing many obsolete ~ signs. modify setfield.js to get consistent language settings 2014-09-19 16:16:19 +02:00
Jermolene
9e6dab06cc Fix problem with Maruku Markdown metadata
Fixes #855 - albeit it’s a bit of a kluge. The internal format returned
by `markdown.toHTMLTree()` isn’t sufficiently well documented for me to
be confident that the new code is resilient to all the things that
might be returned.
2014-09-19 15:03:52 +01:00
Jermolene
7ed7aba8d0 Docs updates 2014-09-19 15:02:40 +01:00
Jermolene
e3fee7d56d Contributor updates 2014-09-19 14:43:04 +01:00
Jermolene
449d12ff60 Remove obsolete resource
Sadly, the plugin hasn’t worked for some time and is no longer under
active development.
2014-09-19 14:41:42 +01:00
Jermolene
0a3c399305 Clarify table documentation 2014-09-19 12:45:49 +01:00
Jeremy Ruston
f2791f7d5d Merge pull request #870 from gernert/patch-5
Update UpgradeWizard.tid
2014-09-19 12:42:25 +01:00
Jeremy Ruston
1297c6e820 Merge pull request #869 from gernert/patch-4
Update GettingStarted.tid
2014-09-19 12:42:19 +01:00
Jeremy Ruston
b82806d33d Merge pull request #872 from gernert/patch-7
Update cla-individual.md
2014-09-19 12:41:42 +01:00
gernert
d39760fa21 Update cla-individual.md 2014-09-19 13:40:33 +02:00
Jeremy Ruston
b22c682ab3 Merge pull request #866 from malgam/patch-1
Add module types listing to ModuleType tiddler
2014-09-19 12:33:09 +01:00
Jeremy Ruston
1c018183db Merge pull request #868 from malgam/patch-2
Update cla-individual.md
2014-09-19 12:31:16 +01:00
gernert
401d18e0d7 Update UpgradeWizard.tid
Just added a note.
2014-09-19 12:55:35 +02:00
gernert
f9ff7c44ea Update GettingStarted.tid
As discussed with pull request #863
2014-09-19 12:41:54 +02:00
Jermolene
b239b3d623 Remove curly braces from qualified identifiers
Fixes #860
2014-09-19 11:33:49 +01:00
Jeremy Ruston
5dbcc5f601 Rename Einführung.tid to Einfuhrung.tid
Remove critical diacritical
2014-09-19 11:24:07 +01:00
malgam
9aee46a8f0 Update cla-individual.md 2014-09-19 20:09:18 +10:00
Jeremy Ruston
4ff9346f3a Merge pull request #865 from pmario/de-AT-server
More german documentation
2014-09-19 11:03:09 +01:00
Jeremy Ruston
b0d83301ab Merge pull request #867 from BramChen/master
Update chinese translations
2014-09-19 10:53:13 +01:00
Bram Chen
026ddb7081 Add chinese translations for Saving/TiddlySpot/Description 2014-09-19 16:57:40 +08:00
Jermolene
02601a02fc Add note clarifying purpose of TiddlySpot settings
We’ve had a couple of cases where users have assumed that the “backup”
setting applies to ordinary, local saves
2014-09-19 09:13:18 +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
cbb16df47a Clean up images for /dev
We’ve now got a couple of duplicates which will be sorted out later
2014-09-18 20:16:06 +01:00
Jermolene
ca211094a2 Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Jermolene
ac08f5f4a7 Remove split.recipe from dev edition
Left over from ginsu
2014-09-18 20:00:02 +01:00
Jermolene
de02d5ce9d Update contributors list 2014-09-18 19:59:39 +01:00
Jermolene
88a9115042 Preparing for 5.0.19 2014-09-18 19:27:29 +01:00
Mario Pietsch
3ad8742db8 new TOC, empty default language fix, static banner added, 2014-09-18 15:00:08 +02:00
Mario Pietsch
4199fc9683 insert static banner 2014-09-18 11:31:51 +02:00
Mario Pietsch
194f525478 first run for fullbuid compatibility 2014-09-18 10:56:44 +02:00
Jermolene
ba7422b407 Version number update for 5.0.18-beta 2014-09-17 22:20:43 +01:00
Jermolene
22006f995e Update modified times for new release 2014-09-17 22:12:22 +01:00
Jermolene
ea17e339f3 Release note update 2014-09-17 22:07:48 +01:00
Jermolene
c63488d155 Docs updates for new file locations 2014-09-17 20:01:00 +01:00
Jermolene
c20e6b9d1e Docs update 2014-09-17 19:49:24 +01:00
Jermolene
4f0ce1a835 Introduce fullbld.sh script
This new batch file builds everything needed for a release of
TiddlyWiki.

This is the main part of fixing #823.
2014-09-17 19:49:20 +01:00
Jermolene
28b2ac4fb3 Split de-AT-DE edition into de-AT and de-DE editions
It doesn’t really make sense for an edition to be in two languages
2014-09-17 19:47:43 +01:00
Jermolene
a9f46525a0 Stop classifying digits as lower case letters in wikilinks
Fixes #842
2014-09-17 12:55:39 +01:00
Jermolene
8cc236b4dc Fix problem with sorting missing tiddlers
Fixes #858
2014-09-17 12:17:43 +01: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
813bd2fe1d More docs updates 2014-09-17 08:36:39 +01:00
Jermolene
2d6c6fd208 Add "Briefcase" by Roma Hicks to resources 2014-09-16 21:42:10 +01:00
Jermolene
6d9bd4df8a Add support for markdown file extensions
Fixes #856

By the way @cjp are there any other Markdown extensions in common use?
2014-09-16 20:06:23 +01:00
Jermolene
2b78d5a977 Refactor handling of .htm and .hta file extensions
Taking advantage of the recent change to be able to pass an array of
file extensions to `$tw.utils.registerFileType()`
2014-09-16 20:05:13 +01:00
Jeremy Ruston
60541c5a6e Merge pull request #853 from buggyj/csserror
corrected class name
2014-09-16 16:15:50 +01:00
Jermolene
cbfc9fcc56 More docs updates 2014-09-16 15:19:52 +01:00
buggyj
3472721dbc corrected doc error 2014-09-16 16:10:25 +02:00
buggyj
57693efce7 corrected class name 2014-09-16 16:03:00 +02:00
Jeremy Ruston
67a90cdfad Merge pull request #851 from buggyj/nodedocerror
missing wikilinks on doc
2014-09-16 13:33:26 +01:00
Jermolene
d859fc2f58 Docs updates 2014-09-16 13:32:52 +01:00
buggyj
d27e157cec missing wikilinks on doc 2014-09-16 14:24:53 +02:00
Jermolene
40567c2f88 Drop the count column from the tag manager
It increases the horizontal width of the table, and isn’t particularly
useful.
2014-09-16 13:14:06 +01:00
Jeremy Ruston
ef28630d9a Merge pull request #850 from buggyj/bjtools
changed my site's location
2014-09-16 10:17:56 +01:00
buggyj
4e0b5faa4c change site url 2014-09-16 10:14:07 +02:00
Jeremy Ruston
ea6493d70b Merge pull request #813 from BramChen/master
Correct more vocabularies for simplified chinese
2014-09-14 20:44:24 +01:00
Jeremy Ruston
cd713bf0c2 Merge pull request #835 from Eucaly/master
Update Eucalys Tiddly World.tid
2014-09-14 20:44:15 +01:00
Jeremy Ruston
600b49efd1 Merge pull request #843 from Eucaly/patch-2
Update cla-individual.md
2014-09-14 20:44:02 +01:00
Jermolene
73a4747d05 Handle jpeg file extension correctly
Fixes #844
2014-09-14 20:35:01 +01:00
Jermolene
6ceec9fb44 Adjust permissions of serve.cmd 2014-09-14 19:37:59 +01:00
Eucaly
1e573f7a8d Update cla-individual.md
sorry, updated as @Eucaly
2014-09-14 22:03:12 +08:00
Jermolene
199aa1c2e7 Docs correction
Fixes #836
2014-09-14 10:57:20 +01:00
Jeremy Ruston
4373f48731 Merge pull request #837 from pmario/de-AT-DE-server
All WikiText tiddlers translated
2014-09-14 10:55:57 +01:00
Jermolene
775482a242 Fix problem with radio widget and missing tiddlers
Fixes #840
2014-09-14 10:55:34 +01:00
Jermolene
2571f534aa Fix problem with dragging partially selected link
Fixes #841
2014-09-14 10:50:53 +01:00
Jermolene
320e0af68c Update dev github ribbon 2014-09-14 10:33:29 +01:00
Jeremy Ruston
b0a4bd5479 Merge pull request #839 from Eucaly/patch-1
Update cla-individual.md
2014-09-14 10:32:57 +01:00
Eucaly
4ed990b701 Update cla-individual.md
signed Eucaly J
2014-09-14 05:50:25 +08:00
Mario Pietsch
0d175338c3 fix some typos 2014-09-13 21:45:00 +02:00
Mario Pietsch
a4db140dc8 removed german umlauts 2014-09-13 21:39:41 +02:00
Mario Pietsch
a0a8a457f4 All WikiText tiddlers translated 2014-09-13 21:27:26 +02:00
Eucaly
7105a3a353 Update Eucalys Tiddly World.tid 2014-09-13 20:35:47 +08:00
Jermolene
c4123ba374 Extend timeline macro to allow a subfilter 2014-09-13 11:06:50 +01:00
Jermolene
c44a3bb4a4 Preparing for 5.0.18-beta 2014-09-13 11:02:53 +01:00
Bram Chen
c743f15457 Merge remote-tracking branch 'upstream/master' 2014-09-13 02:14:06 +08:00
Jermolene
c7e3e36564 Version number update for 5.0.17-beta 2014-09-12 17:52:58 +01:00
Jermolene
a00d21a6b3 Missed acknowledgement for @buggyj 2014-09-12 17:50:33 +01:00
Jermolene
c0e420051b Preparing for 5.0.17 release 2014-09-12 17:48:53 +01:00
Jermolene
dd6659d393 Further release note updates 2014-09-12 17:41:24 +01:00
Jermolene
fc11e8cd13 Update ribbon link
For the moment we’ll link to the beta releases
2014-09-12 17:39:34 +01:00
Jermolene
af019623e0 Release note update 2014-09-12 17:39:34 +01:00
Jermolene
0903c35f61 Correct dev link 2014-09-12 17:39:34 +01:00
Jermolene
2588f996f1 Update prefixes for dev content 2014-09-12 17:39:34 +01:00
Jeremy Ruston
d65f80efbb Merge pull request #833 from pmario/new-serve-sh
fix missuse of system environment variable
2014-09-12 16:58:05 +01:00
Jermolene
68b19a48f7 Update build scripts for dev edition 2014-09-12 16:55:33 +01:00
Jermolene
9093f04ba3 Docs updates 2014-09-12 16:54:32 +01:00
Jermolene
65f242f857 More docs mangling 2014-09-12 16:46:59 +01:00
Mario Pietsch
1b11e4e949 fix missuse of system environment variable 2014-09-12 17:37:37 +02:00
Jermolene
f187122c35 Lots more docs updates 2014-09-12 16:05:37 +01:00
Jermolene
c713eddbef Fixed problem with draft tiddlers not counting as dirty 2014-09-12 14:48:39 +01:00
Jermolene
af8c435487 Readme updates 2014-09-12 14:25:12 +01:00
Jermolene
a878f0a5c9 Remove obsolete talkytalky tiddler 2014-09-12 14:24:59 +01:00
Jermolene
2e72162b0c Phrasing updates 2014-09-12 14:24:06 +01:00
Jeremy Ruston
2d188c2436 Remove illegal character from pathname 2014-09-12 13:30:04 +01:00
Jeremy Ruston
06ef809cf2 Remove illegal character from pathname 2014-09-12 13:29:47 +01:00
Jeremy Ruston
3d4a3a0f54 Merge pull request #832 from pmario/de-AT-DE-server
First pass for german editions with basic documentation.
2014-09-12 13:23:04 +01:00
Jeremy Ruston
872e6fc253 Merge pull request #830 from pmario/new-serve-sh
New serve sh with some help texts
2014-09-12 13:14:13 +01:00
Jeremy Ruston
c8a131ffd4 Merge pull request #828 from pmario/new-serve-cmd
make serve.cmd useful for everyone out of the box.
2014-09-12 13:14:04 +01:00
Jermolene
905c793964 Release note update 2014-09-12 13:13:54 +01:00
Mario Pietsch
22060fc198 remove analytics stuff 2014-09-12 14:09:51 +02:00
Mario Pietsch
1bcada1f4b use default layout settings 2014-09-12 14:06:49 +02:00
Mario Pietsch
bda349801e first run with new german edition containing the basic docs in german 2014-09-12 13:52:33 +02:00
Mario Pietsch
fe83d289f4 make empty strings visible 2014-09-12 12:47:09 +02:00
Mario Pietsch
c430f9d2c3 more docs 2014-09-12 12:42:20 +02:00
Mario Pietsch
5351102990 better help text, more params to be the same with serve.sh. typo fixes 2014-09-12 12:31:03 +02:00
Mario Pietsch
9ca6b6bfb8 prepare for PR 2014-09-12 11:50:55 +02:00
Mario Pietsch
fcf65433ea a bit more docs 2014-09-12 11:46:49 +02:00
Mario Pietsch
45f7b6cc45 svere.sh first take, to make it more flexible 2014-09-12 01:55:07 +02:00
Jermolene
54eb85218b Clarify "Editions"
@giffmex - sorry I should have been clearer. We’ll only call things an
“Edition” if it is distributed via tiddlywiki.com. So for instance your
NoteStormTW should be listed under “Resources” until it’s been bought
into tiddlywiki.com.

We’ve already had the situation where people who have built editions
(and indeed plugins) haven’t been able to keep them up to date with the
latest versions of the core. So I want to draw a clear distinction
between those things that are part of the main distribution, and have
some guarantee of long term support and those things that are
distributed independently.
2014-09-11 20:15:06 +01:00
Jermolene
a464256e18 Add mechanisms to the reference docs 2014-09-11 20:12:25 +01:00
Jermolene
022eba9c75 Organising community content 2014-09-11 19:36:30 +01:00
Jermolene
8b0c471736 Update history of tiddlywiki essay 2014-09-11 15:52:58 +01:00
Jermolene
bc985553ed More reference docs mangling 2014-09-11 15:52:47 +01:00
Mario Pietsch
ed4597f12d remove debug info 2014-09-11 11:08:48 +02:00
Mario Pietsch
05dfddeb04 make serve.cmd useful for everyone and use sensible defaults, so it works for different editions out of the box 2014-09-11 10:22:54 +02: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
a95bb2b6ec More docs updates 2014-09-10 22:35:02 +01:00
Jermolene
f781b2b8d0 More documentation mangling 2014-09-10 22:09:44 +01:00
Jermolene
0ee4d21d0d Docs updates 2014-09-10 21:56:54 +01:00
Jermolene
b7ce2a8ab6 Experiment with slightly bigger body text
Trying to improve readability
2014-09-10 21:56:43 +01:00
Jermolene
9adc30f69f Fix bugs with selective expandable toc macro 2014-09-10 21:55:11 +01:00
Jermolene
ccd916ca7c Add "multiple" attribute to browse widget
And default to non-multiple upload; that’s enough to enable the ability
to take photos/videos directly on iOS
2014-09-10 21:54:52 +01:00
Jermolene
50be85287b Extend serve.sh/cmd to pass host address
Useful to be able to do `./bin/serve.sh "" "" 0.0.0.0` to listen on all
network adaptors
2014-09-10 21:34:13 +01:00
Jermolene
08d588fb08 Adjust some content directories 2014-09-10 19:36:54 +01:00
Jermolene
673ede5b3c Remove the obsolete Docs tiddler 2014-09-10 19:36:42 +01:00
Jermolene
ffb26956b5 Start cleaning up tw5.com docs
By moving the individual files into subfolders
2014-09-10 18:35:52 +01:00
Jermolene
411ed76c70 Use tw5.com to generate readmes, not /dev 2014-09-10 18:28:52 +01:00
Jermolene
6a952387d2 Update regexp filter docs with square brackets example 2014-09-10 18:25:38 +01:00
Jermolene
5d0c32b454 Add custom palette for the dev edition 2014-09-10 17:28:08 +01:00
Jermolene
58ff092d4a Clean up modifier/creator fields of dev content
The house style is not to have individual authorship credits on
tiddlywiki.com documentation
2014-09-10 17:27:55 +01:00
Jeremy Ruston
9840b8783b Merge pull request #826 from buggyj/viewtemplate
change filter to stop automatic view transclusion if field 'hide-me' is ...
2014-09-10 17:18:18 +01:00
buggyj
ab944bbf02 change filter to stop automatic view transclusion if field 'hide-body' has the value 'yes' 2014-09-10 18:00:29 +02:00
Jermolene
5e81684b5b Remove obsolete macro 2014-09-10 16:53:49 +01:00
Jermolene
c9f9de3e18 Correct folder 2014-09-10 16:53:43 +01:00
Jermolene
1a95ec9ac4 Introduce dev edition
Thanks to @cjrk and @cheigele for contributing their developer docs
(which can be found at https://github.com/cjrk/saa-tw).

By the way, I plan to remove the “creator” and “modifier” fields but
will keep a prominent acknowledgement for your contributions.
2014-09-10 16:53:32 +01:00
Jermolene
faafeca02c Release note update 2014-09-10 15:02:01 +01:00
Jermolene
e8ae77e738 Fix toc-link tag vs. field 2014-09-10 12:47:34 +01:00
Jermolene
c3eeaeb89f Add new community links 2014-09-10 11:44:42 +01:00
buggyj
04df2a4a20 change filter to stop automatic view transclusion if field 'hide-me' is defined 2014-09-10 12:37:05 +02:00
Jermolene
b7f638aef3 Change button widget 'title' attribute to 'tooltip'
Fixes remainder of #824
2014-09-10 10:25:50 +01:00
Jermolene
7ed1a2ebc7 Ensure that deprecations are clearly marks
So that we can easily remove them before we come out of beta.
2014-09-10 09:20:43 +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
Jermolene
d45c417c18 Add deprecation warning for regexp filter operators 2014-09-09 23:05:58 +01:00
Jermolene
418be0fda8 Further corrections to regexp filter docs
Thanks @pmario
2014-09-09 22:59:40 +01:00
Jermolene
d56d4b0c65 Docs update 2014-09-09 21:32:11 +01:00
Jermolene
f4fff7a330 Add new "regexp" filter operator
Fixes #762
2014-09-09 15:57:41 +01:00
Jermolene
04a5f7f002 Change links for static content used when JS disabled
We were linking to tiddlywiki.com/#HelloThere, now we’ll link to
tiddlywiki.com/static/HelloThere.html
2014-09-09 12:13:08 +01:00
Jeremy Ruston
24e7c7fc0f Merge pull request #822 from giffmex/patch-25
Patch 25
2014-09-09 08:55:16 +01:00
Jermolene
df2cf8bf06 Docs update 2014-09-09 08:54:42 +01:00
giffmex
3119254373 Update TiddlyWiki is a community.tid 2014-09-08 16:54:19 -05:00
giffmex
10482d993e Update Working with TiddlyWiki.tid 2014-09-08 16:52:29 -05:00
giffmex
b84fee6285 Create Sharing tiddlers with others.tid 2014-09-08 16:51:12 -05:00
giffmex
9e56a9a5c1 Update TiddlyWiki standalone.tid 2014-09-08 16:38:38 -05:00
giffmex
1be8ca4a40 Update TiddlyDesktop.tid 2014-09-08 16:37:36 -05:00
giffmex
c9384f6fdf Update How_to_build_a_TiddlyWiki5_from_individual_tiddlers.tid 2014-09-08 16:36:53 -05:00
giffmex
8b6ae7164b Update Windows HTA Hack.tid 2014-09-08 16:36:18 -05:00
giffmex
15debf7d6a Update Using TiddlyWiki for GitHub Pages project documentation.tid 2014-09-08 16:35:46 -05:00
giffmex
3c951476ee Update Using links to navigate.tid 2014-09-08 16:32:45 -05:00
giffmex
97a4612916 Update TableOfContents.tid 2014-09-08 16:28:19 -05:00
Jeremy Ruston
3014fa0b61 Merge pull request #821 from giffmex/patch-24
Patch 24 from @giffmex
2014-09-08 21:29:07 +01:00
giffmex
b8167633ef Update VersionMacro.tid 2014-09-08 15:04:17 -05:00
giffmex
36b47b962e Update TimelineMacro.tid 2014-09-08 15:03:59 -05:00
giffmex
15d75dfef5 Update TableOfContentsMacro.tid 2014-09-08 15:03:42 -05:00
giffmex
80179968a1 Update TabsMacro.tid 2014-09-08 15:03:20 -05:00
giffmex
ad0cc031b8 Update QualifyMacro.tid 2014-09-08 15:02:49 -05:00
giffmex
b3b4567fc4 Update MakeDataUriMacro.tid 2014-09-08 15:01:59 -05:00
giffmex
7140ed997e Update DumpVariablesMacro.tid 2014-09-08 15:01:37 -05:00
giffmex
4b1ccc4171 Update ChangeCountMacro.tid 2014-09-08 15:01:15 -05:00
giffmex
469affa2a5 Update Working with TiddlyWiki.tid 2014-09-08 14:58:42 -05:00
giffmex
7d16691035 Create Using tiddler fields.tid 2014-09-08 14:57:32 -05:00
giffmex
d70182a7f7 Create Creating tabs.tid 2014-09-08 14:56:10 -05:00
giffmex
8e838bb7a5 Create Images in TW.tid 2014-09-08 14:54:42 -05:00
giffmex
9eb542da20 Create TiddlyWiki standalone.tid 2014-09-08 14:52:09 -05:00
giffmex
179cba3425 Update Hosting your TW.tid 2014-09-08 14:50:36 -05:00
giffmex
00b3fd1761 Update Using TiddlyWiki for GitHub Pages project documentation.tid 2014-09-08 14:46:29 -05:00
giffmex
e8e04aa1f9 Update How_to_build_a_TiddlyWiki5_from_individual_tiddlers.tid 2014-09-08 14:45:54 -05:00
giffmex
efd4d2afef Update Windows HTA Hack.tid 2014-09-08 14:44:12 -05:00
giffmex
3e1a64f99c Update TiddlyDesktop.tid 2014-09-08 14:43:35 -05:00
giffmex
1e8aeb0d9f Update Generating Static Sites with TiddlyWiki.tid 2014-09-08 14:42:27 -05:00
giffmex
7d2cb13377 Update Working with TiddlyWiki.tid 2014-09-08 14:41:36 -05:00
giffmex
2c3aa4e723 Update The First Rule of Using TiddlyWiki.tid 2014-09-08 14:41:06 -05:00
giffmex
e04cddced8 Update TiddlyWiki in the Sky for TiddlyWeb.tid 2014-09-08 14:39:27 -05:00
giffmex
8432a9f0fb Update TiddlyWiki in the Sky for TiddlyWeb.tid 2014-09-08 14:39:13 -05:00
giffmex
22feaa55f2 Update Building TiddlyWikiClassic.tid 2014-09-08 14:37:18 -05:00
giffmex
3dd7c66597 Create OtherTWConfigurations.tid 2014-09-08 14:36:40 -05:00
giffmex
4637119b96 Update TiddlyWiki on Node.js.tid 2014-09-08 14:34:50 -05:00
giffmex
7c561ac191 Update and rename TiddlyWiki configurations.tid to Other TiddlyWiki configurations.tid 2014-09-08 14:33:42 -05:00
giffmex
f818b1c923 Update TableOfContents.tid 2014-09-08 14:33:01 -05:00
giffmex
af169bf434 Update Working with TiddlyWiki.tid 2014-09-08 14:31:17 -05:00
giffmex
c3b5c06c3e Update Tagging.tid 2014-09-08 14:30:24 -05:00
giffmex
be2dd6e8cb Create Configure buttons.tid 2014-09-08 14:28:52 -05:00
giffmex
6a2f4092a1 Rename Customise your TiddlyWiki.tid to Customise TiddlyWiki.tid 2014-09-08 14:27:19 -05:00
giffmex
4ea2a1b5e1 Update Customise your TiddlyWiki.tid 2014-09-08 14:26:58 -05:00
giffmex
307ecbdef4 Update Initial customisation.tid 2014-09-08 14:26:00 -05:00
giffmex
a115a8c168 Create Create a CSS.tid 2014-09-08 14:25:19 -05:00
giffmex
6cc8b2d06e Create Change the storyview.tid 2014-09-08 14:23:35 -05:00
giffmex
8fcaf7c628 Create Change layout SystemTags.tid 2014-09-08 14:22:17 -05:00
giffmex
53b55e6949 Create Change the colour palette.tid 2014-09-08 14:21:04 -05:00
giffmex
20f3e38da3 Create Change the animation speed.tid 2014-09-08 14:19:34 -05:00
giffmex
15a078d0a7 Update TableOfContents.tid 2014-09-08 14:17:51 -05:00
giffmex
bd123b01e0 Update and rename TiddlyWiki configurations and editions.tid to TiddlyWiki configurations.tid 2014-09-08 14:16:52 -05:00
giffmex
a70e928921 Create Bookmarklets.tid 2014-09-08 14:16:01 -05:00
Jermolene
257accb7bf Missing docs for field mangler messages 2014-09-08 20:14:58 +01:00
giffmex
aadab77a08 Create Editions.tid 2014-09-08 14:13:33 -05:00
Jermolene
d13e23132a Updated docs for safe mode 2014-09-08 19:52:16 +01:00
Jermolene
ac54fe3326 Disable plugins in safe mode
Fixes #820
2014-09-08 19:50:48 +01:00
Jeremy Ruston
210d7fbc23 Merge pull request #819 from giffmex/patch-23
Patch 23
2014-09-08 19:42:11 +01:00
giffmex
7c356a300c Update Working with TiddlyWiki.tid 2014-09-08 13:25:28 -05:00
giffmex
58d05af356 Create Upgrading TW.tid 2014-09-08 13:19:29 -05:00
giffmex
8dceb7206e Create Importing tiddlers between files.tid 2014-09-08 13:18:09 -05:00
giffmex
7cfe62e566 Create Downloading and saving.tid 2014-09-08 13:16:41 -05:00
giffmex
1fca2792b8 Create Formatting text in TW.tid 2014-09-08 13:15:33 -05:00
giffmex
f1f9db9378 Create Hosting your TW.tid 2014-09-08 13:13:15 -05:00
giffmex
0e03bace94 Create Initial customisation.tid 2014-09-08 13:12:04 -05: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
giffmex
219f305fae Create Filters.tid 2014-09-08 13:08:09 -05:00
giffmex
5ea7cc0f83 Create Widgets.tid 2014-09-08 13:06:50 -05:00
giffmex
5a0a7146b9 Update Groups.tid 2014-09-08 13:02:28 -05:00
giffmex
fdabb5ce4a Update Forums.tid 2014-09-08 13:01:25 -05:00
giffmex
880fe59c80 Update Wills gTD.tid 2014-09-08 12:59:09 -05:00
Jermolene
0f8e877f73 Correct name for dumpvariables docs 2014-09-08 18:58:58 +01:00
giffmex
d7d2b7a846 Update TiddlyWiki for Scholars.tid 2014-09-08 12:58:50 -05:00
Jermolene
c6c4cf2289 Improve timeline macro 2014-09-08 18:58:48 +01:00
giffmex
8e0a58ddf6 Create User-created editions of TW.tid 2014-09-08 12:58:12 -05:00
giffmex
6b06cbd7b2 Create Tips and tutorials.tid 2014-09-08 12:54:58 -05:00
giffmex
1764300000 Update Articles.tid 2014-09-08 12:52:12 -05:00
giffmex
507e1bbaf7 Update Resources.tid 2014-09-08 12:51:07 -05:00
giffmex
8dd8db86b8 Update Examples.tid 2014-09-08 12:49:08 -05:00
giffmex
57967769f4 Update Improving TiddlyWiki Documentation.tid 2014-09-08 12:45:37 -05:00
giffmex
c8d2af7f2b Create Create support resources.tid 2014-09-08 12:43:41 -05:00
giffmex
8534171c41 Create Translate TW.tid 2014-09-08 12:38:40 -05:00
giffmex
cead56f92f Create Report bugs.tid 2014-09-08 12:37:32 -05:00
giffmex
efe562e6a9 Create Develop for TW.tid 2014-09-08 12:34:05 -05:00
giffmex
375549c68c Create Promote TW.tid 2014-09-08 12:32:43 -05:00
giffmex
1bbe440856 Rename Using links to navigate between tiddlers to Using links to navigate.tid 2014-09-08 12:29:52 -05:00
giffmex
f020ba0e2a Update Creating, tagging, and editing tiddlers.tid 2014-09-08 12:29:02 -05:00
giffmex
5ef9140463 Update Searching.tid 2014-09-08 12:27:57 -05:00
giffmex
dbbf283673 Rename Navigating between open tiddlers to Navigating between open tiddlers.tid 2014-09-08 12:26:07 -05:00
Jermolene
c1de85838f Replace snippet/recentchanges with timeline macro 2014-09-08 18:20:34 +01:00
Jeremy Ruston
a599b76b0c Merge pull request #818 from giffmex/patch-21
Patch 21
2014-09-08 18:06:56 +01:00
giffmex
0a481e4b93 Update Creating, tagging, and editing tiddlers.tid 2014-09-08 12:04:55 -05:00
giffmex
051ea8ac82 Update Searching.tid 2014-09-08 12:00:55 -05:00
giffmex
d34968b494 Create TiddlyWiki glossaries.tid 2014-09-08 11:59:02 -05:00
giffmex
c58975e97a Update and rename TiddlyWiki editions and special uses to TiddlyWiki configurations and editions.tid 2014-09-08 11:57:58 -05:00
giffmex
9221b575ce Rename Get help and learn more to Get help and learn more.tid 2014-09-08 11:57:01 -05:00
giffmex
b14744c20c Rename Get involved to Get involved.tid 2014-09-08 11:56:33 -05:00
giffmex
43dcb02a88 Rename Customise your TiddlyWiki to Customise your TiddlyWiki.tid 2014-09-08 11:56:08 -05:00
giffmex
cba737f4ca Rename Working with TiddlyWiki to Working with TiddlyWiki.tid 2014-09-08 11:55:43 -05:00
giffmex
ea929d445b Rename TiddlyWiki advanced features to Advanced features.tid 2014-09-08 11:55:22 -05:00
giffmex
20ff91f615 Update Navigating between open tiddlers 2014-09-08 11:54:31 -05:00
giffmex
a875269a56 Update Using links to navigate between tiddlers 2014-09-08 11:54:05 -05:00
giffmex
a41ae54b41 Update and rename Getting started with TiddlyWiki to Working with TiddlyWiki 2014-09-08 11:53:20 -05:00
giffmex
285aa33739 Update TableOfContents.tid 2014-09-08 11:52:13 -05:00
giffmex
32b660d1b9 Update and rename Customize your TiddlyWiki to Customise your TiddlyWiki 2014-09-08 11:51:31 -05:00
giffmex
671f783c9b Update TiddlyWiki advanced features 2014-09-08 11:50:23 -05:00
giffmex
6fe19d5f42 Update Customize your TiddlyWiki 2014-09-08 11:49:49 -05:00
giffmex
9292a41751 Update Get involved 2014-09-08 11:49:05 -05:00
giffmex
52027e5028 Update Get help and learn more 2014-09-08 11:48:26 -05:00
giffmex
5fba012f6a Update Get help and learn more 2014-09-08 11:47:54 -05:00
giffmex
2e55a9fae9 Update Examples.tid 2014-09-08 11:46:27 -05:00
giffmex
3d5ad42ac8 Create The history of TiddlyWiki.tid 2014-09-08 11:45:45 -05:00
giffmex
9e8617c56f Update TableOfContents.tid 2014-09-08 11:42:46 -05:00
giffmex
3f0606990a Update HelloThere.tid 2014-09-08 11:39:10 -05:00
Jeremy Ruston
bb6ad83cfa Merge pull request #817 from giffmex/patch-20
Patch 20
2014-09-08 17:03:01 +01:00
giffmex
cf5d4998a9 Create Eucalys Tiddly World.tid
saw today at the TW Google Group
2014-09-08 10:41:22 -05:00
giffmex
63c109280a Update PETTIL.tid
Is a resource, not an example
2014-09-08 10:36:43 -05:00
giffmex
c41b7806c6 Update TW5 Magick.tid
Looked at his sites, he seems to have both tutorials and resources there, thus meriting two tags.
2014-09-08 10:35:33 -05:00
Jermolene
6e9cd59437 Move scripts into bin directory
Fixes #807
2014-09-08 16:32:34 +01:00
giffmex
278f58c19e Update Moongift on TiddlyWiki.tid 2014-09-08 10:31:21 -05:00
giffmex
87449ff156 Update Shining Ark Using TiddlyWiki.tid 2014-09-08 10:30:47 -05:00
giffmex
917ed9752f Update Install and run TiddlyWiki on a CentOS 6 VPS using Nginx.tid 2014-09-08 10:30:20 -05:00
giffmex
d22ed1d10d Update Creating a baby journal with TiddlyWiki.tid 2014-09-08 10:29:46 -05:00
giffmex
e395f96ad0 Update Un wiki sur votre BiblioBox avec TiddlyWiki.tid 2014-09-08 10:27:49 -05:00
giffmex
9126fb6afa Update TiddlyWiki Posts.tid 2014-09-08 10:26:51 -05:00
giffmex
ba0a2f185f Update TW5 Mall.tid 2014-09-08 10:26:00 -05:00
giffmex
52c6ae8505 Update TW5 Tribal Knowledge.tid 2014-09-08 10:25:06 -05:00
giffmex
3ca4b34c6e Update TiddlyWiki for Scholars.tid 2014-09-08 10:23:35 -05:00
giffmex
64b60445b8 Update Wills gTD.tid 2014-09-08 10:23:01 -05:00
giffmex
1b4274d7e5 Update and rename johnnotebase.tid to Obadiah.tid
1 John has copyrighted material, so I do not want that accessible from TiddlyWiki.html. This Obadiah file shows off more of what I have been able to do with TiddlyWiki recently.
2014-09-08 10:09:29 -05:00
Jeremy Ruston
1c1a5c7252 Merge pull request #816 from giffmex/patch-19
Patch 19
2014-09-08 16:01:59 +01:00
giffmex
1a18e361cc Update tw5.com-styles.tid
Aesthetic change: more attractive light blue, and unnecessary borders removed.
2014-09-08 09:54:18 -05:00
giffmex
2cb85e045a Update Examples.tid 2014-09-08 09:50:30 -05:00
giffmex
63a2eafe5f Create Using links to navigate between tiddlers 2014-09-08 09:39:52 -05:00
giffmex
1a0b567458 Update HelloThere.tid 2014-09-08 09:31:07 -05:00
giffmex
d7e774562e Create Navigating between open tiddlers 2014-09-08 09:28:53 -05:00
Jeremy Ruston
ead4e9276a Merge pull request #815 from giffmex/patch-18
Update HelloThere.tid
2014-09-08 15:07:26 +01:00
Jermolene
f16d1832aa Add dumpvariables macro 2014-09-08 15:06:49 +01:00
giffmex
5cb4e69839 Update HelloThere.tid
A little clean up
2014-09-08 06:37:10 -05:00
Bram Chen
d5c6f3cecf Fix more vocabularies for simplified chinese 2014-09-08 19:21:25 +08:00
Bram Chen
d7b1dd2315 Merge remote-tracking branch 'upstream/master' 2014-09-08 19:17:41 +08:00
Jeremy Ruston
7f9c7b441f Merge pull request #814 from pmario/de-DE
update german translations - including 2014-09-08
2014-09-08 11:08:11 +01:00
Mario Pietsch
95229674a1 update german translations - including 2014-09-08 2014-09-08 10:07:48 +02:00
Jermolene
756e05504b Fix stylesheet block/inline mode
The problem was that stylesheets were being  transcluded in inline mode
(rather than block mode), which meant that triple backticks were not
being interpreted as block mode markup, but rather as a series of
single backticks.
2014-09-08 08:46:04 +01:00
Bram Chen
4749718ba0 Fix more vocabularies for simplified chinese 2014-09-07 21:23:21 +08:00
Jeremy Ruston
5ce4c4ab7b Merge pull request #812 from BramChen/master
Fix some vocabularies for simplified chinese
2014-09-07 14:04:02 +01:00
Jermolene
6a508e580d Docs updates 2014-09-07 14:03:38 +01:00
Bram Chen
3aaa71a513 Fix some vocabularies for simplified chinese 2014-09-06 18:41:31 +08:00
Jeremy Ruston
6cc442e7b5 Merge pull request #811 from BramChen/master
Update chinese language files
2014-09-06 07:44:00 +01:00
Bram Chen
efad7ba896 Update chinese translations for tabs in control panel
add Info tab
 add autosave option to Setting tab
2014-09-06 08:54:25 +08:00
Bram Chen
16e59ab78b Update chinese help text for server command 2014-09-06 08:45:58 +08:00
Jeremy Ruston
4888d12099 Merge pull request #810 from xcazin/fr-FR
Catching up on recent modifications in translatable tiddlers
2014-09-05 22:24:13 +01:00
Xavier Cazin
1f2f5d3ed8 fr-FR translation for details on using an empty username and passord with the server command 2014-09-05 22:19:21 +02:00
Xavier Cazin
2a15e7d473 fr-FR translation of recent modifications in ControlPanel strings 2014-09-05 22:19:20 +02:00
Xavier Cazin
0ce99cdf49 fr-FR translation of the help tiddler for the "makelibrary" command 2014-09-05 22:19:20 +02:00
Xavier Cazin
477d1da1ce fr-FR translation of strings for blocked tiddlers during importation 2014-09-05 22:19:20 +02:00
Jeremy Ruston
60ef76612b Merge pull request #809 from giffmex/patch-17
@giffmes cla-individual.md signature
2014-09-05 15:59:48 +01:00
giffmex
ed36658291 Update cla-individual.md 2014-09-05 09:44:16 -05:00
Jeremy Ruston
328e068ea8 Merge pull request #803 from giffmex/patch-2
Patch 2
2014-09-05 15:22:56 +01:00
Jeremy Ruston
74afa06394 Merge pull request #805 from giffmex/patch-15
Delete What happened to the other TiddlyWiki?
2014-09-05 15:01:31 +01:00
Jeremy Ruston
e1d4e2739c Merge pull request #806 from giffmex/patch-16
Delete What happened to the other TiddlyWiki?
2014-09-05 15:01:09 +01:00
Jermolene
48bb73f036 Switch edited field to modified 2014-09-05 15:00:27 +01:00
Jeremy Ruston
6e577a02d8 Merge pull request #791 from giffmex/patch-6
Patch 6
2014-09-05 14:58:51 +01:00
giffmex
f36e58a315 Delete What happened to the other TiddlyWiki? 2014-09-05 07:25:46 -05:00
giffmex
b4e0a6de1e Delete What happened to the other TiddlyWiki? 2014-09-05 07:24:32 -05:00
Jermolene
1e5ca780a1 Tweak doc improvement banner 2014-09-05 10:06:46 +01:00
Jermolene
ba3f800235 Extend toc macro so that links can be disabled
This allows table of contents to contain heading entries that do not
function as links, like the one in the sidebar.
2014-09-05 09:49:10 +01:00
Jermolene
7e93c93785 Start to empty out the control panel tools tab
The control panel isn’t the right place for tools; it’s a place for
settings and internal configuration.

Once again apologies to the translators for wiping out your hard work!
2014-09-05 09:28:49 +01:00
Jermolene
ede244f0a4 Move SaveWikiButtonTemplate to correct folder 2014-09-05 09:20:10 +01:00
Jermolene
f90c649d2a Improve wording of autosave setting 2014-09-05 09:19:58 +01:00
giffmex
9826562e8f Create Tagging.tid
To replace TiddlerTags, but I will leave that tiddler for now, since there probably should be a separate tiddler tagged 'definition' that defines what tags are.
2014-09-04 17:59:44 -05:00
giffmex
a976b312b3 Update Articles.tid 2014-09-04 17:02:04 -05:00
giffmex
94a885fe2d Create Documentation progress.tid 2014-09-04 16:57:42 -05:00
giffmex
cf1ae23c28 Delete What happened to the other TiddlyWiki? 2014-09-04 16:54:55 -05:00
Jeremy Ruston
3ee587b6a0 Merge pull request #798 from giffmex/patch-4
Create Discover TiddlyWiki.tid
2014-09-04 20:21:38 +01:00
Jeremy Ruston
23157ffac4 Merge pull request #799 from giffmex/patch-11
Patch 11
2014-09-04 20:21:19 +01:00
Jeremy Ruston
e114a1df24 Merge pull request #800 from giffmex/patch-12
Update tw5.com-styles.tid
2014-09-04 20:20:56 +01:00
Jeremy Ruston
924c685215 Merge pull request #801 from giffmex/patch-13
Update Searching.tid
2014-09-04 20:20:37 +01:00
Jeremy Ruston
296c9b8c31 Merge pull request #802 from giffmex/patch-14
Create Creating, tagging, and editing tiddlers.tid
2014-09-04 20:19:55 +01:00
giffmex
3713b17955 Create Creating, tagging, and editing tiddlers.tid
last one for today...
2014-09-04 14:05:23 -05:00
giffmex
47012fa61b Update Searching.tid 2014-09-04 13:26:02 -05:00
giffmex
b88ead37b0 Update tw5.com-styles.tid 2014-09-04 13:05:17 -05:00
giffmex
7460fab46e Create TiddlyWiki is a tool.tid 2014-09-04 12:37:07 -05:00
giffmex
c15ba77be0 Create TiddlyWiki is a philosophy.tid 2014-09-04 12:31:53 -05:00
giffmex
7bd8d6f02b Create TiddlyWiki is a community.tid 2014-09-04 12:28:45 -05:00
giffmex
47ae6be590 Create TiddlyWiki is a toolbox.tid 2014-09-04 12:24:39 -05:00
Jeremy Ruston
f461b1ab91 Merge pull request #775 from buggyj/tw2typeerror
remove code causing conversion of text/x-tiddlywiki type tiddlers to tex...
2014-09-04 18:24:02 +01:00
Jeremy Ruston
914cc6e8d7 Merge pull request #783 from BramChen/master
Add chinese help text for makelibrary command
2014-09-04 18:13:52 +01:00
Jeremy Ruston
5a5fe75289 Merge pull request #782 from pmario/edit-tags-dom
removes the p-tags for the tag edit dropdown in tiddler edit mode
2014-09-04 18:13:21 +01:00
Jeremy Ruston
465b3ac1de Merge pull request #784 from pmario/fix-type-selector
Fix type selector
2014-09-04 18:13:02 +01:00
giffmex
48d4c615d6 Create Discover TiddlyWiki.tid 2014-09-04 12:12:41 -05:00
Jeremy Ruston
f64e25cb44 Merge pull request #793 from giffmex/patch-7
Update What happened to the other TiddlyWiki.tid
2014-09-04 18:11:40 +01:00
Jeremy Ruston
28b4e0951e Merge pull request #794 from giffmex/patch-8
Update Ten reasons to switch to TiddlyWiki.tid
2014-09-04 18:11:15 +01:00
Jeremy Ruston
22ec703f5f Merge pull request #795 from giffmex/patch-9
Update Some of the things you can do with TiddlyWiki.tid
2014-09-04 18:10:59 +01:00
Jeremy Ruston
656a0070ef Merge pull request #796 from giffmex/patch-1
Update HelloThere.tid
2014-09-04 18:09:19 +01:00
giffmex
b2ceee3be6 Update HelloThere.tid 2014-09-04 12:08:10 -05:00
giffmex
19caee517e Update Some of the things you can do with TiddlyWiki.tid 2014-09-04 11:51:13 -05:00
Jermolene
abe9a0dbc2 First pass at a documentation style guide
Needs more detail.
2014-09-04 17:51:08 +01:00
giffmex
cbab2b6245 Update Ten reasons to switch to TiddlyWiki.tid 2014-09-04 11:49:03 -05:00
giffmex
3f07e6b220 Update What happened to the other TiddlyWiki.tid
tw to tc
2014-09-04 11:43:27 -05:00
Jermolene
aa6e317435 Fix file extensions for new giffmex tiddlers
@giffmex - tiddler files need the `.tid` extension
2014-09-04 17:37:28 +01:00
Jeremy Ruston
a7e45c221f Merge pull request #787 from giffmex/patch-1
Update HelloThere.tid
2014-09-04 17:19:25 +01:00
Jeremy Ruston
b0ddb54e09 Merge pull request #788 from giffmex/patch-2
Create ome of the things you can do with TiddlyWiki
2014-09-04 17:18:55 +01:00
Jeremy Ruston
341db4e4d2 Merge pull request #789 from giffmex/patch-4
Create Ten reasons to switch to TiddlyWiki
2014-09-04 17:17:52 +01:00
Jeremy Ruston
0f5dcfe1a9 Merge pull request #790 from giffmex/patch-5
Create What happened to the other TiddlyWiki?
2014-09-04 17:17:29 +01:00
giffmex
d1fe83cd4c Create TiddlyWiki advanced features 2014-09-04 10:32:57 -05:00
giffmex
f738972f12 Create Get involved 2014-09-04 10:28:29 -05:00
giffmex
4bbfef72b2 Create Get help and learn more 2014-09-04 10:25:03 -05:00
giffmex
f44a538bcf Create TiddlyWiki editions and special uses 2014-09-04 10:21:22 -05:00
giffmex
4ccc0fc262 Create Customize your TiddlyWiki 2014-09-04 10:18:41 -05:00
giffmex
d2f0cd6321 Create Getting started with TiddlyWiki 2014-09-04 10:15:26 -05:00
giffmex
9b657bc1d6 Create TableOfContentsInProcess
I am proposing to leave the present TableOfContents as it is while this new toc is being built and refined. Then when it is sufficiently advanced, we can rename it TableOfContents and delete the other one.
2014-09-04 10:09:08 -05:00
giffmex
8961e2ba19 Create What happened to the other TiddlyWiki? 2014-09-04 09:57:10 -05:00
giffmex
66fd1ed1ea Create Ten reasons to switch to TiddlyWiki
Vanilla stylesheet would need a CSS of doublespacedlist for this to display correctly:

.doublespacedlist li {padding-bottom:.5em;padding-top:.5em;}

I would add it myself, but I don't want to put it in the wrong place and mess up your system
2014-09-04 09:43:48 -05:00
giffmex
5910afae4f Create ome of the things you can do with TiddlyWiki
Hey everyone: need some more examples or demos to complete this: of TW5 to create a blog, to write a book, to inventory stuff. Also, if the timeline demo could be upgraded, at least to a more recent version, the link could be to the demo tiddler specifically rather than to the file in general.
2014-09-04 09:37:25 -05:00
giffmex
474d2ddb72 Create What happened to the other TiddlyWiki? 2014-09-04 08:52:35 -05:00
giffmex
e9519d7ad5 Update HelloThere.tid 2014-09-04 08:42:03 -05:00
Jermolene
169a38164f Update server command docs 2014-09-04 10:51:54 +01:00
Jermolene
94c9f303b1 Sort control panel translations 2014-09-04 10:14:09 +01:00
Jermolene
efd3d1b089 Remove obsolete translations
@BramChen, @xcazin, @pmario: My apologies for the disruption to the
control panel translations. I’m going to continue refactoring for a
while longer, and I’m afraid there are likely to be further changes
2014-09-04 10:12:32 +01:00
Jermolene
42f1a04cd7 Sort control panel en-GB strings 2014-09-04 10:12:17 +01:00
Jermolene
47c53f924f Move control panel autosave settings 2014-09-04 09:58:50 +01:00
Jermolene
6f4af4fc27 Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
Mario Pietsch
487c4a40ab cover the typeselector in a div-element, because the p-element has unwanted margins 2014-09-03 15:26:40 +02:00
Bram Chen
8ae0c583b0 Add chinese help text for makelibrary command 2014-09-03 21:25:59 +08:00
Mario Pietsch
542788bfeb These changes remove the p-tags from the edit-tags dropdown in tiddler edit mode. ... The changes also take effect to the tiddler-type-chooser popup, since it uses the same css classes. 2014-09-03 15:08:51 +02:00
Jermolene
bb97bc11fd Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Mario Pietsch
7f75d651d4 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into edit-tags-dom 2014-09-03 14:08:32 +02:00
Jermolene
a375d2d9b6 Remove "advanced" and "appearance" from control panel tab titles
For example, the previous title for the tiddler containing the editor
types tab of control panel was
“$:/core/ui/ControlPanel/Advanced/EditorTypes”. We’re now removing the
“Advanced” portion, so that we don’t have to rename tiddlers like this
if we move them around between tabs
2014-09-03 12:46:22 +01:00
Jermolene
e7358c9b31 Missing docs for makelibrary command 2014-09-03 10:05:00 +01:00
Jermolene
f87ce7e98a Fix tiddler keyboard shortcuts
Maddeningly, I broke them in 5.0.16-beta…
2014-09-02 22:09:28 +01:00
Jermolene
e34e83db0b Fix typo 2014-09-02 22:04:18 +01:00
Jermolene
f8ae0bf3e6 Filter operator "removesuffix" docs correction 2014-09-02 22:04:11 +01:00
Jermolene
2428111daf Fix typo 2014-09-02 22:03:52 +01:00
Jermolene
c1f80ab05d Preparation for 5.0.17 2014-09-02 22:03:42 +01:00
Mario Pietsch
2690d2cb7c Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-09-01 22:26:55 +02:00
buggyj
c956d9c1dc update to head 2014-09-01 13:00:54 +02:00
buggyj
5b7dbfc5fb remove code causing conversion of text/x-tiddlywiki type tiddlers to text/vnd.tiddlywiki 2014-09-01 11:48:40 +02:00
Mario Pietsch
3788571802 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-31 17:39:48 +02:00
Mario Pietsch
ad045a28db Merge branch 'master' of https://github.com/pmario/TiddlyWiki5 2014-08-31 14:03:26 +02:00
Mario Pietsch
b498726561 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-31 00:12:16 +02:00
Mario Pietsch
d7b40b235d Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-31 00:03:07 +02:00
Mario Pietsch
2136d1de5a Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-30 21:21:30 +02:00
Mario Pietsch
7c8f50c898 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-28 23:05:48 +02:00
Mario Pietsch
cb607820dd Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-28 14:17:16 +02:00
Mario Pietsch
cda0b542f9 Merge tag 'v5.0.15-beta' of https://github.com/Jermolene/TiddlyWiki5
Version number update for 5.0.15-beta
2014-08-21 13:06:00 +02:00
1195 changed files with 13099 additions and 3548 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.DS_Store
.c9/
tmp/
output/

View File

@@ -2,15 +2,6 @@
rem build TiddlyWiki 2.x
rem Prepare the readme file from the revelant content in the tw5.com wiki
node .\tiddlywiki.js ^
editions\tw5.com ^
--verbose ^
--output editions\tw2 ^
--rendertiddler TiddlyWiki2ReadMe readme.md text/html ^
|| exit 1
rem cook the TiddlyWiki 2.x.x index file
node .\tiddlywiki.js ^

View File

@@ -2,15 +2,6 @@
# build TiddlyWiki 2.x
# Prepare the readme file from the revelant content in the tw5.com wiki
node ./tiddlywiki.js \
editions/tw5.com \
--verbose \
--output editions/tw2 \
--rendertiddler TiddlyWiki2ReadMe readme.md text/html \
|| exit 1
# cook the TiddlyWiki 2.x.x index file
node ./tiddlywiki.js \

3
bin/readme.md Normal file
View File

@@ -0,0 +1,3 @@
<h1 class=''>Script Files</h1><p>The <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a> repository contains several scripts in the <code>bin</code> folder that you can use to automate common tasks, or as a useful starting point for your own scripts. See <a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/Scripts%2520for%2520building%2520tiddlywiki.com.html'>Scripts for building tiddlywiki.com</a> for details of the scripts used to build and release <a class='tc-tiddlylink-external' href='http://tiddlywiki.com/' target='_blank'>http://tiddlywiki.com/</a>.</p><p>All the scripts expect to be run from the root folder of the repository.</p><h2 class=''><code>serve</code>: serves tw5.com</h2><pre><code>./bin/serve.sh -h
./bin/serve.sh [edition dir] [username] [password] [host] [port]</code></pre><p>Or:</p><pre><code>./bin/serve.cmd -h
./bin/serve.cmd [edition dir] [username] [password] [host] [port]</code></pre><p>This script starts <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a> running as an HTTP server, defaulting to the content from the <code>tw5.com-server</code> edition. By default, the Node.js serves on port 8080. If the optional <code>username</code> parameter is provided, it is used for signing edits. If the <code>password</code> is provided then HTTP basic authentication is used. Run the script with the <code>-h</code> parameter to see online help.</p><p>To experiment with this configuration, run the script and then visit <code>http://127.0.0.1:8080</code> in a browser.</p><p>Changes made in the browser propagate to the server over HTTP (use the browser developer console to see these requests). The server then syncs changes to the file system (and logs each change to the screen).</p><h2 class=''><code>test</code>: build and run tests</h2><p>This script runs the <code>test</code> edition of <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> on the server to perform the server-side tests and to build <code>test.html</code> for running the tests in the browser.</p><h2 class=''><code>lazy</code>: serves tw5.com with lazily loaded images</h2><pre><code>./bin/lazy.sh &lt;username&gt; [&lt;password&gt;]</code></pre><p>Or:</p><pre><code>./bin/lazy.cmd &lt;username&gt; [&lt;password&gt;]</code></pre><p>This script serves the <code>tw5.com-server</code> edition content with <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/LazyLoading.html'>LazyLoading</a> applied to images.</p><h2 class=''><code>2bld</code>: builds <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> 2.6.5</h2><p>This script builds <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> 2.6.5 from the original source and then displays the differences between them (<code>diff</code> is used for *nix, <code>fc</code> for Windows).</p>

95
bin/serve.cmd Normal file
View File

@@ -0,0 +1,95 @@
:: This script allows you to serve different TiddlyWiki editions.
::
:: It respects a TW_SERVE_EDITION_PATH environment variable.
:: If this variable is set it will be used. A command line parameter will overwrite it.
::
:: Ensure your server tiddlywiki.info configuration contains
:: these plugins, otherwise saving is not possible:
:: - "tiddlywiki/tiddlyweb"
:: - "tiddlywiki/filesystem"
@echo off
echo.
:: Help Wanted!!
:: If you know how to improve -help and -version handling let us know
if "%1" == "--help" call :help
if "%1" == "-h" call :help
if "%1" == "--version" call :version
if "%1" == "-v" call :version
if "%1" == "help" (
call :help
) else (
call :main %1 %2 %3 %4 %5
)
exit 0
:version
echo TiddlyWiki serve.cmd script version 0.0.2"
echo.
exit 0
goto:eof
:help
echo Serve TiddlyWiki over HTTP
echo.
echo Optional parameters
echo - %%1 .. edition directory .. full or relative path to edition directory
echo - %%2 .. username .. for signing edits - can be empty like this: '""'
echo - %%3 .. password .. can be empty like this: '""'
echo - %%4 .. IP address or HOST .. defaults to localhost
echo - %%5 .. PORT .. defaults to 8080
echo.
echo Example 1 .\serve .\editions\tw5.com-server username
echo Example 2 .\serve .\editions\tw5.com-server '""' '""' localhost 9090
echo .. Example 2 defines: empty username, empty password
echo.
echo Help information
echo -v, --version .. shows the script version
echo -h, --help, help .. shows this help information
echo.
exit 0
goto:eof
:main
if [%1] NEQ [] (
:: if there is a editions parameter .. use it.
set TW_SERVE_EDITION_PATH=%1
) else (
if [%TW_SERVE_EDITION_PATH%] == [] (
echo Please provide an edition path as your first parameter or
echo define a valid TW_SERVE_EDITION_PATH environment variable.
echo.
echo Using default edition path 'editions\tw5.com-server' because no environment variable is set
echo.
set TW_SERVE_EDITION_PATH= editions\tw5.com-server
)
)
:: The editions path must exist!
if not exist %TW_SERVE_EDITION_PATH%\nul (
echo The Path: "%TW_SERVE_EDITION_PATH%" does not exist
exit 1
)
if [%5] == [] (
echo Using default port 8080
set PORT=8080
) else (
echo Using port %5
set PORT=%5
)
echo Using edition: %TW_SERVE_EDITION_PATH%
echo.
node .\tiddlywiki.js ^
%TW_SERVE_EDITION_PATH% ^
--verbose ^
--server %PORT% $:/core/save/all text/plain text/html %2 %3 %4^
|| exit 1
goto:eof

124
bin/serve.sh Executable file
View File

@@ -0,0 +1,124 @@
#!/bin/bash
#
# This script allows you to serve different TiddlyWiki editions.
#
# It respects a TW_SERVE_EDITION_PATH environment variable.
# If this variable is set it will be used. A command line parameter will overwrite it.
#
# Ensure your server tiddlywiki.info configuration contains
# these plugins, otherwise saving is not possible:
# - "tiddlywiki/tiddlyweb"
# - "tiddlywiki/filesystem"
# Global settings
# set -o nounset #exit if a variable is not set
set -o errexit #exit on error
# Get command name and path info needed for help text
ARG0=$(basename $0)
#ARG0DIR=$(dirname $0)
#[ $ARG0DIR == "." ] && ARG0DIR=$PWD
# ---- helper functions ----
version () {
echo "$ARG0, TiddlyWiki serve script version 0.0.2"
echo
}
usage() {
version
echo Usage:$'\t'$ARG0 [edition dir] [username] [password] [host] [port]
echo
}
help() {
usage
echo Optional parameters
echo
echo $'\t'\$1 .. edition directory .. full or relative path to edition directory
echo $'\t'\$2 .. username for signing edits - can be empty like this: \"\"
echo $'\t'\$3 .. password - can be empty like this: \"\"
echo $'\t'\$4 .. IP address or HOST name .. defaults to: localhost
echo $'\t'\$5 .. PORT .. defaults to: 8080
echo
echo $'\t'-v .. Version
echo $'\t'-h .. Help
echo
echo Example 1 ./serve ./editions/tw5.com-server username
echo Example 2 ./serve ./editions/tw5.com-server \"\" \"\" localhost 9090
echo .. Example 2 defines: empty username, empty password
echo
}
_log () {
echo
echo "---> $1"
}
# error handling for wrong parameters
error() {
echo "$ARG0: $*" 1>&2
exit 1
}
# start the server
serve () {
#echo 1:$1 2:$2 3:$3 4:$4 5:$5
node ./tiddlywiki.js \
"$1" \
--verbose \
--server "$5" $:/core/save/all text/plain text/html "$2" "$3" "$4" \
|| exit 1
}
check_edition_directory () {
# The editions directory must exist and should contain a tiddlywiki.info file
if [ ! -d $TW_SERVE_EDITION_PATH ]; then
_log "Edition directory: '$TW_SERVE_EDITION_PATH' does not exist"
exit 1
fi
}
# --------------------------------------------------
# command line parameter handler
while getopts vh flag
do
case "$flag" in
(h) help; exit 0;;
(v) version; exit 0;;
(*) help
error
exit 1;;
esac
done
shift $(expr $OPTIND - 1)
#----------------------------------------------------
# If no edition parameter is provided, use Jeremy's defaults
if [ $# -eq 0 ]; then
# check if the edition path environment variable is set. If yes use it.
[ -z $TW_SERVE_EDITION_PATH ] && TW_SERVE_EDITION_PATH="./editions/tw5.com-server"
# directory must exist
check_edition_directory
# serve the default settings.
serve "$TW_SERVE_EDITION_PATH" "" "" localhost 8080
else
if [ -z "$5" ]; then
PORT=8080
else
PORT=$5
fi
# If the 1st parameter (edition) is set, it has priority.
TW_SERVE_EDITION_PATH=$1
# directory must exist
check_edition_directory
serve "$TW_SERVE_EDITION_PATH" "$2" "$3" "$4" $PORT
fi

11
bin/test.cmd Normal file
View File

@@ -0,0 +1,11 @@
@echo off
rem test TiddlyWiki5 for tiddlywiki.com
rem Run the test edition to run the node.js tests and to generate test.html for tests in the browser
node .\tiddlywiki.js ^
.\editions\test ^
--verbose ^
--rendertiddler $:/core/save/all test.html text/plain ^
|| exit 1

13
bin/test.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# test TiddlyWiki5 for tiddlywiki.com
# Run the test edition to run the node.js tests and to generate test.html for tests in the browser
node ./tiddlywiki.js \
./editions/test \
--verbose \
--rendertiddler $:/core/save/all test.html text/plain \
|| exit 1
echo To run the tests in a browser, open "editions/test/output/test.html"

View File

@@ -1,56 +0,0 @@
#!/bin/bash
# Abbreviated version of bld.sh for quicker builds
# Set up the build output directory
if [ -z "$TW5_BUILD_OUTPUT" ]; then
TW5_BUILD_OUTPUT=../jermolene.github.com
fi
if [ ! -d "$TW5_BUILD_OUTPUT" ]; then
echo 'A valid TW5_BUILD_OUTPUT environment variable must be set'
exit 1
fi
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
# Make the CNAME file that GitHub Pages requires
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
# The tw5.com wiki
# index.html: the main file, including content
node ./tiddlywiki.js \
./editions/de-AT-DE \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all de-AT-DE.html text/plain \
--savetiddler $:/favicon.ico favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/zh-Hant \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all zh-Hant.html text/plain \
--savetiddler $:/favicon.ico favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/zh-Hans \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all zh-Hans.html text/plain \
--savetiddler $:/favicon.ico favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/fr-FR \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all fr-FR.html text/plain \
--savetiddler $:/favicon.ico favicon.ico \
|| exit 1

121
bld.cmd
View File

@@ -1,121 +0,0 @@
@echo off
rem build TiddlyWiki5 for tiddlywiki.com
rem Set up the build output directory
if "x%TW5_BUILD_OUTPUT%" == "x" (
set TW5_BUILD_OUTPUT=..\jermolene.github.com
)
if not exist %TW5_BUILD_OUTPUT%\nul (
echo A valid TW5_BUILD_OUTPUT environment variable must be set
exit 1
)
echo Using TW5_BUILD_OUTPUT as %TW5_BUILD_OUTPUT%
echo.
rem Create the `static` directories if necessary
setlocal enableextensions
mkdir %TW5_BUILD_OUTPUT%\static
setlocal disableextensions
rem Delete any existing content
del /q /s %TW5_BUILD_OUTPUT%\static
rem The tw5.com wiki
rem index.html: the main file, including content
rem empty.html: the main file, excluding content
rem static.html: the static version of the default tiddlers
node .\tiddlywiki.js ^
.\editions\tw5.com ^
--verbose ^
--output . ^
--build readmes ^
--output %TW5_BUILD_OUTPUT% ^
--build favicon empty static index ^
|| exit 1
rem upgrade.html: custom edition for handling upgrades
node .\tiddlywiki.js ^
.\editions\upgrade ^
--verbose ^
--output %TW5_BUILD_OUTPUT% ^
--build upgrade ^
|| exit 1
rem encrypted.html: a version of the main file encrypted with the password "password"
node .\tiddlywiki.js ^
.\editions\tw5.com ^
--verbose ^
--output %TW5_BUILD_OUTPUT% ^
--build encrypted ^
|| exit 1
rem tahoelafs.html: empty wiki with plugin for Tahoe-LAFS
node .\tiddlywiki.js ^
.\editions\tahoelafs ^
--verbose ^
--output %TW5_BUILD_OUTPUT% ^
--rendertiddler $:/core/save/all tahoelafs.html text/plain ^
|| exit 1
rem d3demo.html: wiki to demo d3 plugin
node .\tiddlywiki.js ^
.\editions\d3demo ^
--verbose ^
--output %TW5_BUILD_OUTPUT% ^
--rendertiddler $:/core/save/all d3demo.html text/plain ^
|| exit 1
rem codemirrordemo.html: wiki to demo codemirror plugin
node .\tiddlywiki.js ^
.\editions\codemirrordemo ^
--verbose ^
--output %TW5_BUILD_OUTPUT% ^
--rendertiddler $:/core/save/all codemirrordemo.html text/plain ^
|| exit 1
rem markdowndemo.html: wiki to demo markdown plugin
node .\tiddlywiki.js ^
.\editions\markdowndemo ^
--verbose ^
--output %TW5_BUILD_OUTPUT% ^
--rendertiddler $:/core/save/all markdowndemo.html text/plain ^
|| exit 1
rem classicparserdemo.html: wiki to demo classicparser plugin
node .\tiddlywiki.js ^
.\editions\classicparserdemo ^
--verbose ^
--output %TW5_BUILD_OUTPUT% ^
--rendertiddler $:/core/save/all classicparserdemo.html text/plain ^
|| exit 1
rem highlightdemo.html: wiki to demo highlight plugin
node .\tiddlywiki.js ^
.\editions\highlightdemo ^
--verbose ^
--output %TW5_BUILD_OUTPUT% ^
--rendertiddler $:/core/save/all highlightdemo.html text/plain ^
|| exit 1
rem Make the CNAME file that GitHub Pages requires
echo tiddlywiki.com > %TW5_BUILD_OUTPUT%\CNAME
rem Run the test edition to run the Node.js tests and to generate test.html for tests in the browser
.\test.cmd

118
bld.sh
View File

@@ -1,118 +0,0 @@
#!/bin/bash
# build TiddlyWiki5 for tiddlywiki.com
# Set up the build output directory
if [ -z "$TW5_BUILD_OUTPUT" ]; then
TW5_BUILD_OUTPUT=../jermolene.github.com
fi
if [ ! -d "$TW5_BUILD_OUTPUT" ]; then
echo 'A valid TW5_BUILD_OUTPUT environment variable must be set'
exit 1
fi
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
# Make the CNAME file that GitHub Pages requires
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
# Create the `static` directories if necessary
mkdir -p $TW5_BUILD_OUTPUT/static
# Delete any existing content
rm $TW5_BUILD_OUTPUT/static/*
# The tw5.com wiki
# index.html: the main file, including content
# empty.html: the main file, excluding content
# static.html: the static version of the default tiddlers
node ./tiddlywiki.js \
./editions/tw5.com \
--verbose \
--output . \
--build readmes \
--output $TW5_BUILD_OUTPUT \
--build favicon empty static index \
|| exit 1
# upgrade.html: custom edition for handling upgrades
node ./tiddlywiki.js \
./editions/upgrade \
--verbose \
--output $TW5_BUILD_OUTPUT \
--build upgrade \
|| exit 1
# encrypted.html: a version of the main file encrypted with the password "password"
node ./tiddlywiki.js \
./editions/tw5.com \
--verbose \
--output $TW5_BUILD_OUTPUT \
--build encrypted \
|| exit 1
# tahoelafs.html: empty wiki with plugin for Tahoe-LAFS
node ./tiddlywiki.js \
./editions/tahoelafs \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all tahoelafs.html text/plain \
|| exit 1
# d3demo.html: wiki to demo d3 plugin
node ./tiddlywiki.js \
./editions/d3demo \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all d3demo.html text/plain \
|| exit 1
# codemirrordemo.html: wiki to demo codemirror plugin
node ./tiddlywiki.js \
./editions/codemirrordemo \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all codemirrordemo.html text/plain \
|| exit 1
# markdowndemo.html: wiki to demo markdown plugin
node ./tiddlywiki.js \
./editions/markdowndemo \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all markdowndemo.html text/plain \
|| exit 1
# classicparserdemo.html: wiki to demo classicparser plugin
node ./tiddlywiki.js \
./editions/classicparserdemo \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all classicparserdemo.html text/plain \
|| exit 1
# highlightdemo.html: wiki to demo highlight plugin
node ./tiddlywiki.js \
./editions/highlightdemo \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all highlightdemo.html text/plain \
|| exit 1
# Run the test edition to run the Node.js tests and to generate test.html for tests in the browser
./test.sh

View File

@@ -4,20 +4,7 @@ type: application/javascript
The main boot kernel for TiddlyWiki. This single file creates a barebones TW environment that is just sufficient to bootstrap the modules containing the main logic of the application.
On the server this file is executed directly to boot TiddlyWiki. In the browser, this file is packed into a single HTML file along with other elements:
# bootprefix.js
# <module definitions>
# boot.js
The module definitions on the browser look like this:
$tw.defineModule("MyModule","moduletype",function(module,exports,require) {
// Module code inserted here
return exports;
});
In practice, each module is wrapped in a separate script block.
On the server this file is executed directly to boot TiddlyWiki. In the browser, this file is packed into a single HTML file.
\*/
@@ -392,7 +379,14 @@ options: {flags: flags,deserializerType: deserializerType}
*/
$tw.utils.registerFileType = function(type,encoding,extension,options) {
options = options || {};
$tw.config.fileExtensionInfo[extension] = {type: type};
if($tw.utils.isArray(extension)) {
$tw.utils.each(extension,function(extension) {
$tw.config.fileExtensionInfo[extension] = {type: type};
});
extension = extension[0];
} else {
$tw.config.fileExtensionInfo[extension] = {type: type};
}
$tw.config.contentTypeInfo[type] = {encoding: encoding, extension: extension, flags: options.flags || [], deserializerType: options.deserializerType || type};
};
@@ -470,6 +464,7 @@ submitText: text to use for submit button (defaults to "Login")
serviceName: text of the human readable service name
noUserName: set true to disable username prompt
canCancel: set true to enable a cancel button (callback called with null)
repeatPassword: set true to prompt for the password twice
callback: function to be called on submission with parameter of object {username:,password:}. Callback must return `true` to remove the password prompt
*/
$tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
@@ -486,6 +481,11 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
children.push(dm("input",{
attributes: {type: "password", name: "password", placeholder: "Password"}
}));
if(options.repeatPassword) {
children.push(dm("input",{
attributes: {type: "password", name: "password2", placeholder: "Repeat password"}
}));
}
if(options.canCancel) {
children.push(dm("button",{
text: "Cancel",
@@ -520,18 +520,23 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
data[element.name] = element.value;
}
});
// Call the callback
if(options.callback(data)) {
// Remove the prompt if the callback returned true
self.removePrompt(promptInfo);
// Check that the passwords match
if(options.repeatPassword && data.password !== data.password2) {
alert("Passwords do not match");
} else {
// Clear the password if the callback returned false
$tw.utils.each(form.elements,function(element) {
if(element.name === "password") {
element.value = "";
}
});
}
// Call the callback
if(options.callback(data)) {
// Remove the prompt if the callback returned true
self.removePrompt(promptInfo);
} else {
// Clear the password if the callback returned false
$tw.utils.each(form.elements,function(element) {
if(element.name === "password" || element.name === "password2") {
element.value = "";
}
});
}
}
event.preventDefault();
return false;
},true);
@@ -1103,7 +1108,7 @@ $tw.Wiki.prototype.processSafeMode = function() {
// Assemble a report tiddler
var titleReportTiddler = "TiddlyWiki Safe Mode",
report = [];
report.push("TiddlyWiki has been started in [[safe mode|http://tiddlywiki.com/static/SafeMode.html]]. Most customisations have been disabled by renaming the following tiddlers:")
report.push("TiddlyWiki has been started in [[safe mode|http://tiddlywiki.com/static/SafeMode.html]]. All plugins are temporarily disabled. Most customisations have been disabled by renaming the following tiddlers:")
// Delete the overrides
overrides.forEach(function(title) {
var tiddler = self.getTiddler(title),
@@ -1237,10 +1242,14 @@ Decrypt any tiddlers stored within the element with the ID "encryptedArea". The
$tw.boot.decryptEncryptedTiddlers = function(callback) {
var encryptedArea = document.getElementById("encryptedStoreArea");
if(encryptedArea) {
var encryptedText = encryptedArea.innerHTML;
var encryptedText = encryptedArea.innerHTML,
prompt = "Enter a password to decrypt this TiddlyWiki";
// Prompt for the password
if($tw.utils.hop($tw.boot,"encryptionPrompts")) {
prompt = $tw.boot.encryptionPrompts.decrypt;
}
$tw.passwordPrompt.createPrompt({
serviceName: "Enter a password to decrypt this TiddlyWiki",
serviceName: prompt,
noUserName: true,
submitText: "Decrypt",
callback: function(data) {
@@ -1561,7 +1570,9 @@ $tw.loadWikiTiddlers = function(wikiPath,parentPaths) {
$tw.utils.each(wikiInfo.includeWikis,function(includedWikiPath) {
var resolvedIncludedWikiPath = path.resolve(wikiPath,includedWikiPath);
if(parentPaths.indexOf(resolvedIncludedWikiPath) === -1) {
$tw.loadWikiTiddlers(resolvedIncludedWikiPath,parentPaths);
var subWikiInfo = $tw.loadWikiTiddlers(resolvedIncludedWikiPath,parentPaths);
// Merge the build targets
wikiInfo.build = $tw.utils.extend([],subWikiInfo.build,wikiInfo.build);
} else {
$tw.utils.error("Cannot recursively include wiki " + resolvedIncludedWikiPath);
}
@@ -1703,7 +1714,9 @@ $tw.boot.startup = function(options) {
// If the first command line argument doesn't start with `--` then we
// interpret it as the path to the wiki folder, which will otherwise default
// to the current folder
var explicitWikiPath;
if($tw.boot.argv[0] && $tw.boot.argv[0].indexOf("--") !== 0) {
explicitWikiPath = true;
$tw.boot.wikiPath = $tw.boot.argv[0];
$tw.boot.argv = $tw.boot.argv.slice(1);
} else {
@@ -1724,19 +1737,21 @@ $tw.boot.startup = function(options) {
$tw.utils.registerFileType("text/vnd.tiddlywiki2-recipe","utf8",".recipe");
$tw.utils.registerFileType("text/plain","utf8",".txt");
$tw.utils.registerFileType("text/css","utf8",".css");
$tw.utils.registerFileType("text/html","utf8",".html");
$tw.config.fileExtensionInfo[".htm"] = {type: "text/html"};
$tw.config.fileExtensionInfo[".hta"] = {type: "text/html"};
$tw.utils.registerFileType("text/html","utf8",[".html",".htm"]);
$tw.utils.registerFileType("application/hta","utf16le",".hta",{deserializerType:"text/html"});
$tw.utils.registerFileType("application/javascript","utf8",".js");
$tw.utils.registerFileType("application/json","utf8",".json");
$tw.utils.registerFileType("application/pdf","base64",".pdf",{flags:["image"]});
$tw.utils.registerFileType("image/jpeg","base64",".jpg",{flags:["image"]});
$tw.utils.registerFileType("image/jpeg","base64",[".jpg",".jpeg"],{flags:["image"]});
$tw.utils.registerFileType("image/png","base64",".png",{flags:["image"]});
$tw.utils.registerFileType("image/gif","base64",".gif",{flags:["image"]});
$tw.utils.registerFileType("image/svg+xml","utf8",".svg",{flags:["image"]});
$tw.utils.registerFileType("image/x-icon","base64",".ico",{flags:["image"]});
$tw.utils.registerFileType("application/font-woff","base64",".woff");
$tw.utils.registerFileType("audio/ogg","base64",".ogg");
$tw.utils.registerFileType("audio/mp3","base64",".mp3");
$tw.utils.registerFileType("audio/mp4","base64",[".mp4",".m4a"]);
$tw.utils.registerFileType("text/x-markdown","utf8",[".md",".markdown"]);
// Create the wiki store for the app
$tw.wiki = new $tw.Wiki();
// Install built in tiddler fields modules
@@ -1749,10 +1764,13 @@ $tw.boot.startup = function(options) {
$tw.loadTiddlersBrowser();
} else {
$tw.loadTiddlersNode();
if(!$tw.boot.wikiInfo && explicitWikiPath) {
return $tw.utils.error("Wiki folder '" + $tw.boot.wikiPath + "' is missing a 'tiddlywiki.info' file");
}
}
// Unpack plugin tiddlers
$tw.wiki.readPluginInfo();
$tw.wiki.registerPluginTiddlers("plugin");
$tw.wiki.registerPluginTiddlers("plugin",$tw.safeMode ? ["$:/core"] : undefined);
$tw.wiki.unpackPluginTiddlers();
// Process "safe mode"
if($tw.safeMode) {

View File

@@ -99,7 +99,7 @@ return $tw
if(typeof(exports) === "undefined") {
// Set up $tw global for the browser
window.$tw = _bootprefix();
window.$tw = _bootprefix(window.$tw);
} else {
// Export functionality as a module
exports.bootprefix = _bootprefix;

View File

@@ -1,3 +1,3 @@
<h1 class=''>Contributing to <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a></h1><p><a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a> welcomes contributions to its code and documentation via <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5' target='_blank'>GitHub</a>. Please take a moment to read these notes to help make the process as smooth as possible.</p><h2 class=''>Coding Style</h2><p>Code contributions should follow the <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki%2520Coding%2520Style%2520Guidelines.html'>TiddlyWiki Coding Style Guidelines</a>.</p><h2 class=''><a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/GitHub.html'>GitHub</a> Issues</h2><p>See <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/ReportingBugs.html'>ReportingBugs</a> for information about how <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> handles bug reports.</p><h2 class=''>Contributor License Agreement</h2><p>Like other <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/OpenSource.html'>OpenSource</a> projects, <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a> needs a signed contributor license agreement from individual contributors. This is a legal agreement that allows contributors to assert that they own the copyright of their contribution, and that they agree to license it to the <a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/UnaMesa.html'>UnaMesa</a> Association (the legal entity that owns <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> on behalf of the community).</p><ul><li>For individuals use: <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-individual.md' target='_blank'>licenses/CLA-individual</a></li><li>For entities use: <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-entity.md' target='_blank'>licenses/CLA-entity</a></li></ul><p><em>This is a first pass at a CLA for <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a>. Please let us know if we missed something important. If we do have to make essential changes to the CLA, there is a possibility that all contributors will need to sign it again</em></p><h3 class=''>How to sign the CLA</h3><p>Create a <a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/GitHub.html'>GitHub</a> pull request to add your name to <code>cla-individual.md</code> or <code>cla-entity.md</code>, with the date in the format (YYYY/MM/DD).</p><p>eg: <code>Jeremy Ruston, @Jermolene, 2011/11/22</code></p><p><strong>Thank you!</strong></p><h4 class=''>Attribution</h4><p>The CLA documents used for this project were created using <a class='tc-tiddlylink-external' href='http://www.harmonyagreements.org' target='_blank'>Harmony Project Templates</a>. &quot;HA-CLA-I-LIST Version 1.0&quot; for &quot;CLA-individual&quot; and &quot;HA-CLA-E-LIST Version 1.0&quot; for &quot;CLA-entity&quot;
<h1 class=''>Contributing to <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a></h1><p>We welcome contributions to the code and documentation of <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> in several ways:</p><ul><li><a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/ReportingBugs.html'>ReportingBugs</a></li><li>Helping to <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/Improving%2520TiddlyWiki%2520Documentation.html'>improve our documentation</a></li><li>Contributing to the code via <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5' target='_blank'>GitHub</a><ul><li>See <a class='tc-tiddlylink-external' href='http://tiddlywiki.com/dev' target='_blank'>http://tiddlywiki.com/dev</a> for more details</li></ul></li></ul><p>There are other ways to <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/HelpingTiddlyWiki.html'>help TiddlyWiki</a> too.</p><h1 class=''>Contributor License Agreement</h1><p>Like other <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/OpenSource.html'>OpenSource</a> projects, <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a> needs a signed contributor license agreement from individual contributors. This is a legal agreement that allows contributors to assert that they own the copyright of their contribution, and that they agree to license it to the <a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/UnaMesa.html'>UnaMesa</a> Association (the legal entity that owns <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> on behalf of the community).</p><ul><li>For individuals use: <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-individual.md' target='_blank'>licenses/CLA-individual</a></li><li>For entities use: <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-entity.md' target='_blank'>licenses/CLA-entity</a></li></ul><h1 class=''>How to sign the CLA</h1><p>Create a <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/GitHub.html'>GitHub</a> pull request to add your name to <code>cla-individual.md</code> or <code>cla-entity.md</code>, with the date in the format (YYYY/MM/DD).</p><p><strong>step by step</strong></p><ol><li>click <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-individual.md' target='_blank'>licenses/CLA-individual</a> or <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-entity.md' target='_blank'>licenses/CLA-entity</a></li><li>in <code>cla-individual.md</code> or <code>cla-entity.md</code> click icon on the top-right corner (clicking this button will fork the project so you can edit the file)</li><li>add your name at the bottom</li></ol><p>eg: <code>Jeremy Ruston, @Jermolene, 2011/11/22</code></p><hr><p><em>The CLA documents used for this project were created using <a class='tc-tiddlylink-external' href='http://www.harmonyagreements.org' target='_blank'>Harmony Project Templates</a>. &quot;HA-CLA-I-LIST Version 1.0&quot; for &quot;CLA-individual&quot; and &quot;HA-CLA-E-LIST Version 1.0&quot; for &quot;CLA-entity&quot;.</em>
</p><p><em>This file was automatically generated by <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a></em>
</p>

View File

@@ -0,0 +1,8 @@
title: $:/core/images/new-here-button
tags: $:/tags/Image
<svg class="tc-image-new-here-button tc-image-button" width="22pt" height="22pt" viewBox="0 0 128 128">
<g fill-rule="evenodd">
<path d="M56.5301831,72 L48.53728,72 C44.1183542,72 40.5301831,68.418278 40.5301831,64 C40.5301831,59.5907123 44.1150825,56 48.53728,56 L56.5301831,56 L56.5301831,48.0070969 C56.5301831,43.5881712 60.1119051,40 64.5301831,40 C68.9394708,40 72.5301831,43.5848994 72.5301831,48.0070969 L72.5301831,56 L80.5230862,56 C84.9420119,56 88.5301831,59.581722 88.5301831,64 C88.5301831,68.4092877 84.9452837,72 80.5230862,72 L72.5301831,72 L72.5301831,79.9929031 C72.5301831,84.4118288 68.9484611,88 64.5301831,88 C60.1208954,88 56.5301831,84.4151006 56.5301831,79.9929031 L56.5301831,72 Z M64.5301831,128 C99.8764071,128 128.530183,99.346224 128.530183,64 C128.530183,28.653776 99.8764071,0 64.5301831,0 C29.1839591,0 0.530183077,28.653776 0.530183077,64 C0.530183077,99.346224 29.1839591,128 64.5301831,128 Z M64.5301831,118 C94.3535596,118 118.530183,93.8233765 118.530183,64 C118.530183,34.1766235 94.3535596,10 64.5301831,10 C34.7068066,10 10.5301831,34.1766235 10.5301831,64 C10.5301831,93.8233765 34.7068066,118 64.5301831,118 Z M64.5301831,108 C88.8307121,108 108.530183,88.300529 108.530183,64 C108.530183,39.699471 88.8307121,20 64.5301831,20 C40.2296541,20 20.5301831,39.699471 20.5301831,64 C20.5301831,88.300529 40.2296541,108 64.5301831,108 Z M64.5301831,98 C83.3078646,98 98.5301831,82.7776815 98.5301831,64 C98.5301831,45.2223185 83.3078646,30 64.5301831,30 C45.7525016,30 30.5301831,45.2223185 30.5301831,64 C30.5301831,82.7776815 45.7525016,98 64.5301831,98 Z"></path>
</g>
</svg>

View File

@@ -0,0 +1,16 @@
title: $:/core/images/new-journal-button
tags: $:/tags/Image
<svg class="tc-image-new-journal-button tc-image-button" width="22pt" height="22pt" viewBox="0 0 128 128">
<g fill-rule="evenodd">
<path d="M102.545455,112.818182 L102.545455,124.636364 L102.545455,124.636364 L102.545455,124.636364 C102.545455,125.941761 103.630828,127 104.969697,127 L111.030303,127 C112.369172,127 113.454545,125.941761 113.454545,124.636364 L113.454545,112.818182 L125.575758,112.818182 C126.914626,112.818182 128,111.759982 128,110.454545 L128,104.545455 C128,103.240018 126.914626,102.181818 125.575758,102.181818 L113.454545,102.181818 L113.454545,90.3636364 C113.454545,89.0582 112.369172,88 111.030303,88 L104.969697,88 L104.969697,88 C103.630828,88 102.545455,89.0582 102.545455,90.3636364 L102.545455,102.181818 L90.4242424,102.181818 L90.4242424,102.181818 C89.0853705,102.181818 88,103.240018 88,104.545455 L88,110.454545 L88,110.454545 L88,110.454545 C88,111.759982 89.0853705,112.818182 90.4242424,112.818182 L102.545455,112.818182 Z"></path>
<g transform="translate(59.816987, 64.316987) rotate(30.000000) translate(-59.816987, -64.316987) translate(20.316987, 12.816987)">
<g transform="translate(0.000000, 0.000000)">
<path d="M9.99631148,0 C4.4755011,0 -2.27373675e-13,4.48070044 -2.27373675e-13,9.99759461 L-2.27373675e-13,91.6128884 C-2.27373675e-13,97.1344074 4.46966773,101.610483 9.99631148,101.610483 L68.9318917,101.610483 C74.4527021,101.610483 78.9282032,97.1297826 78.9282032,91.6128884 L78.9282032,9.99759461 C78.9282032,4.47607557 74.4585355,0 68.9318917,0 L9.99631148,0 Z M20.8885263,26 C24.2022348,26 26.8885263,23.3137085 26.8885263,20 C26.8885263,16.6862915 24.2022348,14 20.8885263,14 C17.5748178,14 14.8885263,16.6862915 14.8885263,20 C14.8885263,23.3137085 17.5748178,26 20.8885263,26 Z M57.3033321,25.6783342 C60.6170406,25.6783342 63.3033321,22.9920427 63.3033321,19.6783342 C63.3033321,16.3646258 60.6170406,13.6783342 57.3033321,13.6783342 C53.9896236,13.6783342 51.3033321,16.3646258 51.3033321,19.6783342 C51.3033321,22.9920427 53.9896236,25.6783342 57.3033321,25.6783342 Z"></path>
<text font-family="Helvetica" font-size="47.1724138" font-weight="bold" fill="#FFFFFF">
<tspan x="42" y="77.4847912" text-anchor="middle"><<now "DD">></tspan>
</text>
</g>
</g>
</g>
</svg>

View File

@@ -34,10 +34,16 @@ Home/Caption: home
Home/Hint: Open the default tiddlers
Language/Caption: language
Language/Hint: Choose the user interface language
NewTiddler/Caption: new tiddler
NewTiddler/Hint: Create a new tiddler
More/Caption: more
More/Hint: More actions
NewHere/Caption: new here
NewHere/Hint: Create a new tiddler tagged with this one
NewJournal/Caption: new journal
NewJournal/Hint: Create a new journal tiddler
NewJournalHere/Caption: new journal here
NewJournalHere/Hint: Create a new journal tiddler tagged with this one
NewTiddler/Caption: new tiddler
NewTiddler/Hint: Create a new tiddler
Permalink/Caption: permalink
Permalink/Hint: Set browser address bar to a direct link to this tiddler
Permaview/Caption: permaview

View File

@@ -1,59 +1,17 @@
title: $:/language/ControlPanel/
Advanced/Caption: Advanced
Advanced/EditorTypes/Caption: Editor Types
Advanced/EditorTypes/Editor/Caption: Editor
Advanced/EditorTypes/Hint: These tiddlers determine which editor is used to edit specific tiddler types.
Advanced/EditorTypes/Type/Caption: Type
Advanced/Hint: Internal information about this TiddlyWiki
Advanced/LoadedModules/Caption: Loaded Modules
Advanced/LoadedModules/Hint: These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.
Advanced/Settings/Caption: Settings
Advanced/Settings/Hint: These advanced settings let you customise the behaviour of TiddlyWiki.
Advanced/Settings/NavigationAddressBar/Caption: Navigation Address Bar
Advanced/Settings/NavigationAddressBar/Hint: Behaviour of the browser address bar when navigating to a tiddler:
Advanced/Settings/NavigationAddressBar/No/Description: Do not update the address bar
Advanced/Settings/NavigationAddressBar/Permalink/Description: Include the target tiddler
Advanced/Settings/NavigationAddressBar/Permaview/Description: Include the target tiddler and the current story sequence
Advanced/Settings/NavigationHistory/Caption: Navigation History
Advanced/Settings/NavigationHistory/Hint: Update browser history when navigating to a tiddler:
Advanced/Settings/NavigationHistory/No/Description: Do not update history
Advanced/Settings/NavigationHistory/Yes/Description: Update history
Advanced/Settings/ToolbarButtons/Caption: Toolbar Buttons
Advanced/Settings/ToolbarButtons/Hint: Default toolbar button appearance:
Advanced/Settings/ToolbarButtons/Text/Description: Include text
Advanced/Settings/ToolbarButtons/Icons/Description: Include icon
Advanced/TiddlerFields/Caption: Tiddler Fields
Advanced/TiddlerFields/Hint: This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers).
Appearance/Caption: Appearance
Appearance/Hint: Ways to customise the appearance of your TiddlyWiki.
Appearance/Palette/Caption: Palette
Appearance/Palette/Editor/Clone/Caption: clone
Appearance/Palette/Editor/Clone/Prompt: It is recommended that you clone this shadow palette before editing it
Appearance/Palette/Editor/Prompt/Modified: This shadow palette has been modified
Appearance/Palette/Editor/Prompt: Editing
Appearance/Palette/Editor/Reset/Caption: reset
Appearance/Palette/HideEditor/Caption: hide editor
Appearance/Palette/Prompt: Current palette:
Appearance/Palette/ShowEditor/Caption: show editor
Appearance/StoryView/Caption: Story View
Appearance/StoryView/Prompt: Current view:
Appearance/Theme/Caption: Theme
Appearance/Theme/Prompt: Current theme:
Appearance/Toolbars/Caption: Toolbars
Appearance/Toolbars/Hint: Select which toolbar buttons are displayed
Appearance/Toolbars/EditToolbar/Caption: Edit Toolbar
Appearance/Toolbars/EditToolbar/Hint: Choose which buttons are displayed for tiddlers in edit mode
Appearance/Toolbars/ViewToolbar/Caption: View Toolbar
Appearance/Toolbars/ViewToolbar/Hint: Choose which buttons are displayed for tiddlers in view mode
Appearance/Toolbars/PageControls/Caption: Page Toolbar
Appearance/Toolbars/PageControls/Hint: Choose which buttons are displayed on the main page toolbar
Basics/AnimDuration/Prompt: Animation duration:
Basics/Caption: Basics
Basics/DefaultTiddlers/BottomHint: Use &#91;&#91;double square brackets&#93;&#93; for titles with spaces. Or you can choose to <$button set="$:/DefaultTiddlers" setTo="[list[$:/StoryList]]">retain story ordering</$button>
Basics/DefaultTiddlers/Prompt: Default tiddlers:
Basics/DefaultTiddlers/TopHint: Choose which tiddlers are displayed at startup:
Basics/Language/Prompt: Hello! Current language:
Basics/NewJournal/Title/Prompt: Title of new journal tiddlers
Basics/NewJournal/Tags/Prompt: Tags for new journal tiddlers
Basics/OverriddenShadowTiddlers/Prompt: Number of overridden shadow tiddlers:
Basics/ShadowTiddlers/Prompt: Number of shadow tiddlers:
Basics/Subtitle/Prompt: Subtitle:
@@ -63,6 +21,23 @@ Basics/Tiddlers/Prompt: Number of tiddlers:
Basics/Title/Prompt: Title of this ~TiddlyWiki:
Basics/Username/Prompt: Username for signing edits:
Basics/Version/Prompt: ~TiddlyWiki version:
EditorTypes/Caption: Editor Types
EditorTypes/Editor/Caption: Editor
EditorTypes/Hint: These tiddlers determine which editor is used to edit specific tiddler types.
EditorTypes/Type/Caption: Type
Info/Caption: Info
Info/Hint: Information about this TiddlyWiki
LoadedModules/Caption: Loaded Modules
LoadedModules/Hint: These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.
Palette/Caption: Palette
Palette/Editor/Clone/Caption: clone
Palette/Editor/Clone/Prompt: It is recommended that you clone this shadow palette before editing it
Palette/Editor/Prompt/Modified: This shadow palette has been modified
Palette/Editor/Prompt: Editing
Palette/Editor/Reset/Caption: reset
Palette/HideEditor/Caption: hide editor
Palette/Prompt: Current palette:
Palette/ShowEditor/Caption: show editor
Plugins/Caption: Plugins
Plugins/Disable/Caption: disable
Plugins/Disable/Hint: Disable this plugin when reloading page
@@ -73,16 +48,12 @@ Plugins/Enable/Hint: Enable this plugin when reloading page
Plugins/Language/Prompt: Languages
Plugins/Plugin/Prompt: Plugins
Plugins/Theme/Prompt: Themes
Saving/AutoSave/Disabled/Button: enable
Saving/AutoSave/Disabled/Prompt: Autosave is currently disabled
Saving/AutoSave/Enabled/Button: disable
Saving/AutoSave/Enabled/Prompt: Autosave is currently enabled
Saving/AutoSave: Autosave
Saving/Caption: Saving
Saving/Heading: Saving
Saving/TiddlySpot/Advanced/Heading: Advanced Settings
Saving/TiddlySpot/BackupDir: Backup Directory
Saving/TiddlySpot/Backups: Backups
Saving/TiddlySpot/Description: These settings are only used when saving to http://tiddlyspot.com or a compatible remote server
Saving/TiddlySpot/Filename: Upload Filename
Saving/TiddlySpot/Heading: ~TiddlySpot
Saving/TiddlySpot/Hint: //The server URL defaults to `http://<wikiname>.tiddlyspot.com/store.cgi` and can be changed to use a custom server address//
@@ -90,16 +61,40 @@ Saving/TiddlySpot/Password: Password
Saving/TiddlySpot/ServerURL: Server URL
Saving/TiddlySpot/UploadDir: Upload Directory
Saving/TiddlySpot/UserName: Wiki Name
Settings/AutoSave/Caption: Autosave
Settings/AutoSave/Disabled/Description: Do not save changes automatically
Settings/AutoSave/Enabled/Description: Save changes automatically
Settings/AutoSave/Hint: Automatically save changes during editing
Settings/Caption: Settings
Settings/Hint: These settings let you customise the behaviour of TiddlyWiki.
Settings/NavigationAddressBar/Caption: Navigation Address Bar
Settings/NavigationAddressBar/Hint: Behaviour of the browser address bar when navigating to a tiddler:
Settings/NavigationAddressBar/No/Description: Do not update the address bar
Settings/NavigationAddressBar/Permalink/Description: Include the target tiddler
Settings/NavigationAddressBar/Permaview/Description: Include the target tiddler and the current story sequence
Settings/NavigationHistory/Caption: Navigation History
Settings/NavigationHistory/Hint: Update browser history when navigating to a tiddler:
Settings/NavigationHistory/No/Description: Do not update history
Settings/NavigationHistory/Yes/Description: Update history
Settings/ToolbarButtons/Caption: Toolbar Buttons
Settings/ToolbarButtons/Hint: Default toolbar button appearance:
Settings/ToolbarButtons/Icons/Description: Include icon
Settings/ToolbarButtons/Text/Description: Include text
StoryView/Caption: Story View
StoryView/Prompt: Current view:
Theme/Caption: Theme
Theme/Prompt: Current theme:
TiddlerFields/Caption: Tiddler Fields
TiddlerFields/Hint: This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers).
Toolbars/Caption: Toolbars
Toolbars/EditToolbar/Caption: Edit Toolbar
Toolbars/EditToolbar/Hint: Choose which buttons are displayed for tiddlers in edit mode
Toolbars/Hint: Select which toolbar buttons are displayed
Toolbars/PageControls/Caption: Page Toolbar
Toolbars/PageControls/Hint: Choose which buttons are displayed on the main page toolbar
Toolbars/ViewToolbar/Caption: View Toolbar
Toolbars/ViewToolbar/Hint: Choose which buttons are displayed for tiddlers in view mode
Tools/Caption: Tools
Tools/Download/Full/Caption: Download full wiki
Tools/Encryption/ChangePassword/Button: change password
Tools/Encryption/ClearPassword/Button: clear password
Tools/Encryption/Disabled/Prompt: This wiki is not encrypted
Tools/Encryption/Enabled/Prompt: This wiki is encrypted
Tools/Encryption/Heading: Encryption
Tools/Encryption/SetPassword/Button: set password
Tools/Export/AllAsStaticHTML/Caption: Download all tiddlers as static HTML
Tools/Export/Heading: Export
Tools/Import/Heading: Import
Tools/Import/Hint: Browse for files on your computer to import their contents (the individual tiddlers within TiddlyWiki HTML files are imported separately). You can also drag and drop files directly to the browser window.
Tools/Import/Prompt: Import:

View File

@@ -0,0 +1,87 @@
title: $:/language/
Date/DaySuffix/1: st
Date/DaySuffix/2: nd
Date/DaySuffix/3: rd
Date/DaySuffix/4: th
Date/DaySuffix/5: th
Date/DaySuffix/6: th
Date/DaySuffix/7: th
Date/DaySuffix/8: th
Date/DaySuffix/9: th
Date/DaySuffix/10: th
Date/DaySuffix/11: th
Date/DaySuffix/12: th
Date/DaySuffix/13: th
Date/DaySuffix/14: th
Date/DaySuffix/15: th
Date/DaySuffix/16: th
Date/DaySuffix/17: th
Date/DaySuffix/18: th
Date/DaySuffix/19: th
Date/DaySuffix/20: th
Date/DaySuffix/21: st
Date/DaySuffix/22: nd
Date/DaySuffix/23: rd
Date/DaySuffix/24: th
Date/DaySuffix/25: th
Date/DaySuffix/26: th
Date/DaySuffix/27: th
Date/DaySuffix/28: th
Date/DaySuffix/29: th
Date/DaySuffix/30: th
Date/DaySuffix/31: st
Date/Long/Day/0: Sunday
Date/Long/Day/1: Monday
Date/Long/Day/2: Tuesday
Date/Long/Day/3: Wednesday
Date/Long/Day/4: Thursday
Date/Long/Day/5: Friday
Date/Long/Day/6: Saturday
Date/Long/Month/1: January
Date/Long/Month/2: February
Date/Long/Month/3: March
Date/Long/Month/4: April
Date/Long/Month/5: May
Date/Long/Month/6: June
Date/Long/Month/7: July
Date/Long/Month/8: August
Date/Long/Month/9: September
Date/Long/Month/10: October
Date/Long/Month/11: November
Date/Long/Month/12: December
Date/Period/am: am
Date/Period/pm: pm
Date/Short/Day/0: Sun
Date/Short/Day/1: Mon
Date/Short/Day/2: Tue
Date/Short/Day/3: Wed
Date/Short/Day/4: Thu
Date/Short/Day/5: Fri
Date/Short/Day/6: Sat
Date/Short/Month/1: Jan
Date/Short/Month/2: Feb
Date/Short/Month/3: Mar
Date/Short/Month/4: Apr
Date/Short/Month/5: May
Date/Short/Month/6: Jun
Date/Short/Month/7: Jul
Date/Short/Month/8: Aug
Date/Short/Month/9: Sep
Date/Short/Month/10: Oct
Date/Short/Month/11: Nov
Date/Short/Month/12: Dec
RelativeDate/Future/Days: <<period>> days from now
RelativeDate/Future/Hours: <<period>> hours from now
RelativeDate/Future/Minutes: <<period>> minutes from now
RelativeDate/Future/Months: <<period>> months from now
RelativeDate/Future/Second: 1 second from now
RelativeDate/Future/Seconds: <<period>> seconds from now
RelativeDate/Future/Years: <<period>> years from now
RelativeDate/Past/Days: <<period>> days ago
RelativeDate/Past/Hours: <<period>> hours ago
RelativeDate/Past/Minutes: <<period>> minutes ago
RelativeDate/Past/Months: <<period>> months ago
RelativeDate/Past/Second: 1 second ago
RelativeDate/Past/Seconds: <<period>> seconds ago
RelativeDate/Past/Years: <<period>> years ago

View File

@@ -14,6 +14,7 @@ storyview: Story views customise the animation and behaviour of list widgets.
tiddlerdeserializer: Converts different content types into tiddlers.
tiddlerfield: Defines the behaviour of an individual tiddler field.
tiddlermethod: Adds methods to the `$tw.Tiddler` prototype.
upgrader: Applies upgrade processing to tiddlers during an upgrade/import.
utils: Adds methods to `$tw.utils`.
utils-node: Adds Node.js-specific methods to `$tw.utils`.
widget: Widgets encapsulate DOM rendering and refreshing.

View File

@@ -0,0 +1,14 @@
title: $:/language/Help/makelibrary
description: Construct library plugin required by upgrade process
Constructs the `$:/UpgradeLibrary` tiddler for the upgrade process.
The upgrade library is formatted as an ordinary plugin tiddler with the plugin type `library`. It contains a copy of each of the plugins, themes and language packs available within the TiddlyWiki5 repository.
This command is intended for internal use; it is only relevant to users constructing a custom upgrade procedure.
```
--makelibrary <title>
```
The title argument defaults to `$:/UpgradeLibrary`.

View File

@@ -28,4 +28,10 @@ For example:
--server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd
```
The username and password can be specified as empty strings if you need to set the hostname or pathprefix and don't want to require a password:
```
--server 8080 $:/core/save/all text/plain text/html "" "" 192.168.0.245
```
To run multiple TiddlyWiki servers at the same time you'll need to put each one on a different port.

View File

@@ -1,7 +1,7 @@
title: $:/language/Help/setfield
description: Prepares external tiddlers for use
//Note that this command is experimental and may change or be replaced during the TiddlyWiki version 5 beta//
//Note that this command is experimental and may change or be replaced before being finalised//
Sets the specified field of a group of tiddlers to the result of wikifying a template tiddler with the `currentTiddler` variable set to the tiddler.

View File

@@ -8,27 +8,15 @@ ConfirmCancelTiddler: Do you wish to discard changes to the tiddler "<$text text
ConfirmDeleteTiddler: Do you wish to delete the tiddler "<$text text=<<title>>/>"?
ConfirmOverwriteTiddler: Do you wish to overwrite the tiddler "<$text text=<<title>>/>"?
ConfirmEditShadowTiddler: You are about to edit a ShadowTiddler. Any changes will override the default system making future upgrades non-trivial. Are you sure you want to edit "<$text text=<<title>>/>"?
DefaultNewTiddlerTitle: New Tiddler
DropMessage: Drop here (or click escape to cancel)
Encryption/ConfirmClearPassword: Do you wish to clear the password? This will remove the encryption applied when saving this wiki
Encryption/PromptSetPassword: Set a new password for this TiddlyWiki
InvalidFieldName: Illegal characters in field name "<$text text=<<fieldName>>/>". Fields can only contain lowercase letters, digits and the characters underscore (`_`), hyphen (`-`) and period (`.`)
MissingTiddler/Hint: Missing tiddler "<$text text=<<currentTiddler>>/>" - click {{$:/core/images/edit-button}} to create
RecentChanges/DateFormat: DDth MMM YYYY
RelativeDate/Future/Days: <<period>> days from now
RelativeDate/Future/Hours: <<period>> hours from now
RelativeDate/Future/Minutes: <<period>> minutes from now
RelativeDate/Future/Months: <<period>> months from now
RelativeDate/Future/Second: 1 second from now
RelativeDate/Future/Seconds: <<period>> seconds from now
RelativeDate/Future/Years: <<period>> years from now
RelativeDate/Past/Days: <<period>> days ago
RelativeDate/Past/Hours: <<period>> hours ago
RelativeDate/Past/Minutes: <<period>> minutes ago
RelativeDate/Past/Months: <<period>> months ago
RelativeDate/Past/Second: 1 second ago
RelativeDate/Past/Seconds: <<period>> seconds ago
RelativeDate/Past/Years: <<period>> years ago
SystemTiddler/Tooltip: This is a system tiddler
TagManager/Colour/Heading: Colour
TagManager/Count/Heading: Count
TagManager/Icon/Heading: Icon
TagManager/Tag/Heading: Tag
UnsavedChangesWarning: You have unsaved changes in TiddlyWiki

View File

@@ -0,0 +1,4 @@
title: $:/config/NewJournal/
Title: DDth MMM YYYY
Tags: Journal

View File

@@ -1,7 +1,7 @@
title: $:/language/Search/
Filter/Caption: Filter
Filter/Hint: Search via a [[filter expression|http://tiddlywiki.com/static/TiddlerFilters.html]]
Filter/Hint: Search via a [[filter expression|http://tiddlywiki.com/static/Filters.html]]
Filter/Matches: //<small><$count filter={{$:/temp/advancedsearch}}/> matches</small>//
Matches: //<small><$count filter="[!is[system]search{$:/temp/search}]"/> matches</small>//
Shadows/Caption: Shadows

View File

@@ -17,20 +17,6 @@ exports.preferences = {};
exports.preferences.notificationDuration = 3 * 1000;
exports.preferences.jsonSpaces = 4;
exports.dateFormats = {
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November","December"],
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
// suffixes for dates, eg "1st","2nd","3rd"..."30th","31st"
daySuffixes: ["st","nd","rd","th","th","th","th","th","th","th",
"th","th","th","th","th","th","th","th","th","th",
"st","nd","rd","th","th","th","th","th","th","th",
"st"],
am: "am",
pm: "pm"
};
exports.htmlEntities = {quot:34, amp:38, apos:39, lt:60, gt:62, nbsp:160, iexcl:161, cent:162, pound:163, curren:164, yen:165, brvbar:166, sect:167, uml:168, copy:169, ordf:170, laquo:171, not:172, shy:173, reg:174, macr:175, deg:176, plusmn:177, sup2:178, sup3:179, acute:180, micro:181, para:182, middot:183, cedil:184, sup1:185, ordm:186, raquo:187, frac14:188, frac12:189, frac34:190, iquest:191, Agrave:192, Aacute:193, Acirc:194, Atilde:195, Auml:196, Aring:197, AElig:198, Ccedil:199, Egrave:200, Eacute:201, Ecirc:202, Euml:203, Igrave:204, Iacute:205, Icirc:206, Iuml:207, ETH:208, Ntilde:209, Ograve:210, Oacute:211, Ocirc:212, Otilde:213, Ouml:214, times:215, Oslash:216, Ugrave:217, Uacute:218, Ucirc:219, Uuml:220, Yacute:221, THORN:222, szlig:223, agrave:224, aacute:225, acirc:226, atilde:227, auml:228, aring:229, aelig:230, ccedil:231, egrave:232, eacute:233, ecirc:234, euml:235, igrave:236, iacute:237, icirc:238, iuml:239, eth:240, ntilde:241, ograve:242, oacute:243, ocirc:244, otilde:245, ouml:246, divide:247, oslash:248, ugrave:249, uacute:250, ucirc:251, uuml:252, yacute:253, thorn:254, yuml:255, OElig:338, oelig:339, Scaron:352, scaron:353, Yuml:376, fnof:402, circ:710, tilde:732, Alpha:913, Beta:914, Gamma:915, Delta:916, Epsilon:917, Zeta:918, Eta:919, Theta:920, Iota:921, Kappa:922, Lambda:923, Mu:924, Nu:925, Xi:926, Omicron:927, Pi:928, Rho:929, Sigma:931, Tau:932, Upsilon:933, Phi:934, Chi:935, Psi:936, Omega:937, alpha:945, beta:946, gamma:947, delta:948, epsilon:949, zeta:950, eta:951, theta:952, iota:953, kappa:954, lambda:955, mu:956, nu:957, xi:958, omicron:959, pi:960, rho:961, sigmaf:962, sigma:963, tau:964, upsilon:965, phi:966, chi:967, psi:968, omega:969, thetasym:977, upsih:978, piv:982, ensp:8194, emsp:8195, thinsp:8201, zwnj:8204, zwj:8205, lrm:8206, rlm:8207, ndash:8211, mdash:8212, lsquo:8216, rsquo:8217, sbquo:8218, ldquo:8220, rdquo:8221, bdquo:8222, dagger:8224, Dagger:8225, bull:8226, hellip:8230, permil:8240, prime:8242, Prime:8243, lsaquo:8249, rsaquo:8250, oline:8254, frasl:8260, euro:8364, image:8465, weierp:8472, real:8476, trade:8482, alefsym:8501, larr:8592, uarr:8593, rarr:8594, darr:8595, harr:8596, crarr:8629, lArr:8656, uArr:8657, rArr:8658, dArr:8659, hArr:8660, forall:8704, part:8706, exist:8707, empty:8709, nabla:8711, isin:8712, notin:8713, ni:8715, prod:8719, sum:8721, minus:8722, lowast:8727, radic:8730, prop:8733, infin:8734, ang:8736, and:8743, or:8744, cap:8745, cup:8746, int:8747, there4:8756, sim:8764, cong:8773, asymp:8776, ne:8800, equiv:8801, le:8804, ge:8805, sub:8834, sup:8835, nsub:8836, sube:8838, supe:8839, oplus:8853, otimes:8855, perp:8869, sdot:8901, lceil:8968, rceil:8969, lfloor:8970, rfloor:8971, lang:9001, rang:9002, loz:9674, spades:9824, clubs:9827, hearts:9829, diams:9830 };
exports.htmlVoidElements = "area,base,br,col,command,embed,hr,img,input,keygen,link,meta,param,source,track,wbr".split(",");

View File

@@ -70,6 +70,8 @@ function parseFilterOperation(operators,filterString,p) {
rexMatch = rex.exec(filterString.substring(p));
if(rexMatch) {
operator.regexp = new RegExp(rexMatch[1], rexMatch[2]);
// DEPRECATION WARNING
console.log("WARNING: Filter",operator.operator,"has a deprecated regexp operand",operator.regexp);
nextBracketPos = p + rex.lastIndex - 1;
}
else {

View File

@@ -0,0 +1,28 @@
/*\
title: $:/core/modules/filters/addprefix.js
type: application/javascript
module-type: filteroperator
Filter operator for adding a prefix to each title in the list. This is
especially useful in contexts where only a filter expression is allowed
and macro substitution isn't available.
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
Export our filter function
*/
exports.addprefix = function(source,operator,options) {
var results = [];
source(function(tiddler,title) {
results.push(operator.operand + title);
});
return results;
};
})();

View File

@@ -0,0 +1,28 @@
/*\
title: $:/core/modules/filters/addsuffix.js
type: application/javascript
module-type: filteroperator
Filter operator for adding a suffix to each title in the list. This is
especially useful in contexts where only a filter expression is allowed
and macro substitution isn't available.
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
Export our filter function
*/
exports.addsuffix = function(source,operator,options) {
var results = [];
source(function(tiddler,title) {
results.push(title + operator.operand);
});
return results;
};
})();

View File

@@ -20,7 +20,12 @@ exports.each = function(source,operator,options) {
values = {};
source(function(tiddler,title) {
if(tiddler) {
var value = tiddler.getFieldString(operator.operand);
var value;
if((operator.operand === "") || (operator.operand === "title")) {
value = title;
} else {
value = tiddler.getFieldString(operator.operand);
}
if(!$tw.utils.hop(values,value)) {
values[value] = true;
results.push(title);

View File

@@ -19,7 +19,7 @@ exports.plugintiddlers = function(source,operator,options) {
var results = [];
source(function(tiddler,title) {
var pluginInfo = options.wiki.getPluginInfo(title) || options.wiki.getTiddlerData(title,{tiddlers:[]});
if(pluginInfo) {
if(pluginInfo && pluginInfo.tiddlers) {
$tw.utils.each(pluginInfo.tiddlers,function(fields,title) {
results.push(title);
});

View File

@@ -0,0 +1,68 @@
/*\
title: $:/core/modules/filters/regexp.js
type: application/javascript
module-type: filteroperator
Filter operator for regexp matching
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
Export our filter function
*/
exports.regexp = function(source,operator,options) {
var results = [],
fieldname = (operator.suffix || "title").toLowerCase(),
regexpString, regexp, flags = "", match,
getFieldString = function(tiddler,title) {
if(tiddler) {
return tiddler.getFieldString(fieldname);
} else if(fieldname === "title") {
return title;
} else {
return null;
}
};
// Process flags and construct regexp
regexpString = operator.operand;
match = /^\(\?([gim]+)\)/.exec(regexpString);
if(match) {
flags = match[1];
regexpString = regexpString.substr(match[0].length);
} else {
match = /\(\?([gim]+)\)$/.exec(regexpString);
if(match) {
flags = match[1];
regexpString = regexpString.substr(0,regexpString.length - match[0].length);
}
}
regexp = new RegExp(regexpString,flags);
// Process the incoming tiddlers
if(operator.prefix === "!") {
source(function(tiddler,title) {
var text = getFieldString(tiddler,title);
if(text !== null) {
if(!regexp.exec(text)) {
results.push(title);
}
}
});
} else {
source(function(tiddler,title) {
var text = getFieldString(tiddler,title);
if(text !== null) {
if(!!regexp.exec(text)) {
results.push(title);
}
}
});
}
return results;
};
})();

View File

@@ -0,0 +1,41 @@
/*\
title: $:/core/modules/macros/dumpvariables.js
type: application/javascript
module-type: macro
Macro to dump all active variable values
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
Information about this macro
*/
exports.name = "dumpvariables";
exports.params = [
];
/*
Run the macro
*/
exports.run = function() {
var output = ["|!Variable |!Value |"],
variables = [], variable;
for(variable in this.variables) {
variables.push(variable);
}
variables.sort();
for(var index=0; index<variables.length; index++) {
var variable = variables[index];
output.push("|" + variable + " |<input size=50 value=<<" + variable + ">>/> |")
}
return output.join("\n");
};
})();

View File

@@ -0,0 +1,32 @@
/*\
title: $:/core/modules/macros/now.js
type: application/javascript
module-type: macro
Macro to return a formatted version of the current time
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
Information about this macro
*/
exports.name = "now";
exports.params = [
{name: "format"}
];
/*
Run the macro
*/
exports.run = function(format) {
return $tw.utils.formatDateString(new Date(),format || "0hh:0mm, DDth MMM YYYY");
};
})();

View File

@@ -0,0 +1,38 @@
/*\
title: $:/core/modules/parsers/audioparser.js
type: application/javascript
module-type: parser
The audio parser parses an audio tiddler into an embeddable HTML element
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var AudioParser = function(type,text,options) {
var element = {
type: "element",
tag: "audio",
attributes: {
controls: {type: "string", value: "controls"}
}
},
src;
if(options._canonical_uri) {
element.attributes.src = {type: "string", value: options._canonical_uri};
} else if(text) {
element.attributes.src = {type: "string", value: "data:" + type + ";base64," + text};
}
this.tree = [element];
};
exports["audio/ogg"] = AudioParser;
exports["audio/mpeg"] = AudioParser;
exports["audio/mp3"] = AudioParser;
exports["audio/mp4"] = AudioParser;
})();

View File

@@ -25,7 +25,7 @@ exports.types = {inline: true};
var textPrimitives = {
upperLetter: "[A-Z\u00c0-\u00d6\u00d8-\u00de\u0150\u0170]",
lowerLetter: "[a-z0-9\u00df-\u00f6\u00f8-\u00ff\u0151\u0171]",
lowerLetter: "[a-z\u00df-\u00f6\u00f8-\u00ff\u0151\u0171]",
anyLetter: "[A-Za-z0-9\u00c0-\u00d6\u00d8-\u00de\u00df-\u00f6\u00f8-\u00ff\u0150\u0170\u0151\u0171]",
blockPrefixLetters: "[A-Za-z0-9-_\u00c0-\u00d6\u00d8-\u00de\u00df-\u00f6\u00f8-\u00ff\u0150\u0170\u0151\u0171]"
};

View File

@@ -64,7 +64,11 @@ UploadSaver.prototype.save = function(text,method,callback) {
}
}
};
http.send(data);
try {
http.send(data);
} catch(ex) {
return callback("Error:" + ex);
}
$tw.notifier.display("$:/language/Notifications/Save/Starting");
return true;
};

View File

@@ -21,10 +21,11 @@ exports.synchronous = true;
exports.startup = function() {
$tw.rootWidget.addEventListener("tm-set-password",function(event) {
$tw.passwordPrompt.createPrompt({
serviceName: "Set a new password for this TiddlyWiki",
serviceName: $tw.language.getString("Encryption/PromptSetPassword"),
noUserName: true,
submitText: "Set password",
canCancel: true,
repeatPassword: true,
callback: function(data) {
if(data) {
$tw.crypto.setPassword(data.password);
@@ -34,6 +35,11 @@ exports.startup = function() {
});
});
$tw.rootWidget.addEventListener("tm-clear-password",function(event) {
if($tw.browser) {
if(!confirm($tw.language.getString("Encryption/ConfirmClearPassword"))) {
return;
}
}
$tw.crypto.setPassword(null);
});
// Ensure that $:/isEncrypted is maintained properly

View File

@@ -59,6 +59,9 @@ exports.startup = function() {
var storyFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE),
storyList = $tw.wiki.filterTiddlers(storyFilter);
$tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: "", list: storyList},$tw.wiki.getModificationFields());
if(storyList[0]) {
$tw.wiki.addToHistory(storyList[0]);
}
});
// Listen for the tm-permalink message
$tw.rootWidget.addEventListener("tm-permalink",function(event) {

View File

@@ -25,6 +25,10 @@ ClassicStoryView.prototype.navigateTo = function(historyInfo) {
}
var listItemWidget = this.listWidget.children[listElementIndex],
targetElement = listItemWidget.findFirstDomNode();
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
return;
}
// Scroll the node into view
this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement});
};
@@ -32,6 +36,10 @@ ClassicStoryView.prototype.navigateTo = function(historyInfo) {
ClassicStoryView.prototype.insert = function(widget) {
var targetElement = widget.findFirstDomNode(),
duration = $tw.utils.getAnimationDuration();
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
return;
}
// Get the current height of the tiddler
var computedStyle = window.getComputedStyle(targetElement),
currMarginBottom = parseInt(computedStyle.marginBottom,10),
@@ -62,7 +70,15 @@ ClassicStoryView.prototype.insert = function(widget) {
ClassicStoryView.prototype.remove = function(widget) {
var targetElement = widget.findFirstDomNode(),
duration = $tw.utils.getAnimationDuration();
duration = $tw.utils.getAnimationDuration(),
removeElement = function() {
widget.removeChildDomNodes();
};
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
removeElement();
return;
}
// Get the current height of the tiddler
var currWidth = targetElement.offsetWidth,
computedStyle = window.getComputedStyle(targetElement),
@@ -70,9 +86,7 @@ ClassicStoryView.prototype.remove = function(widget) {
currMarginTop = parseInt(computedStyle.marginTop,10),
currHeight = targetElement.offsetHeight + currMarginTop;
// Remove the dom nodes of the widget at the end of the transition
setTimeout(function() {
widget.removeChildDomNodes();
},duration);
setTimeout(removeElement,duration);
// Animate the closure
$tw.utils.setStyle(targetElement,[
{transition: "none"},

View File

@@ -23,6 +23,10 @@ PopStoryView.prototype.navigateTo = function(historyInfo) {
}
var listItemWidget = this.listWidget.children[listElementIndex],
targetElement = listItemWidget.findFirstDomNode();
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
return;
}
// Scroll the node into view
this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement});
};
@@ -30,6 +34,10 @@ PopStoryView.prototype.navigateTo = function(historyInfo) {
PopStoryView.prototype.insert = function(widget) {
var targetElement = widget.findFirstDomNode(),
duration = $tw.utils.getAnimationDuration();
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
return;
}
// Reset once the transition is over
setTimeout(function() {
$tw.utils.setStyle(targetElement,[
@@ -55,13 +63,19 @@ PopStoryView.prototype.insert = function(widget) {
PopStoryView.prototype.remove = function(widget) {
var targetElement = widget.findFirstDomNode(),
duration = $tw.utils.getAnimationDuration();
duration = $tw.utils.getAnimationDuration(),
removeElement = function() {
if(targetElement.parentNode) {
widget.removeChildDomNodes();
}
};
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
removeElement();
return;
}
// Remove the element at the end of the transition
setTimeout(function() {
if(targetElement.parentNode) {
widget.removeChildDomNodes();
}
},duration);
setTimeout(removeElement,duration);
// Animate the closure
$tw.utils.setStyle(targetElement,[
{transition: "none"},

View File

@@ -26,12 +26,16 @@ var ZoominListView = function(listWidget) {
// Make all the tiddlers position absolute, and hide all but the top (or first) one
$tw.utils.each(this.listWidget.children,function(itemWidget,index) {
var domNode = itemWidget.findFirstDomNode();
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(domNode instanceof Element)) {
return;
}
if(targetTiddler !== itemWidget.parseTreeNode.itemTitle || (!targetTiddler && index)) {
domNode.style.display = "none";
} else {
self.currentTiddlerDomNode = domNode;
}
domNode.style.position = "absolute";
$tw.utils.addClass(domNode,"tc-storyview-zoomin-tiddler");
});
};
@@ -43,9 +47,13 @@ ZoominListView.prototype.navigateTo = function(historyInfo) {
}
var listItemWidget = this.listWidget.children[listElementIndex],
targetElement = listItemWidget.findFirstDomNode();
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
return;
}
// Make the new tiddler be position absolute and visible so that we can measure it
$tw.utils.addClass(targetElement,"tc-storyview-zoomin-tiddler");
$tw.utils.setStyle(targetElement,[
{position: "absolute"},
{display: "block"},
{transformOrigin: "0 0"},
{transform: "translateX(0px) translateY(0px) scale(1)"},
@@ -121,19 +129,31 @@ function findTitleDomNode(widget,targetClass) {
ZoominListView.prototype.insert = function(widget) {
var targetElement = widget.findFirstDomNode();
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
return;
}
// Make the newly inserted node position absolute and hidden
$tw.utils.addClass(targetElement,"tc-storyview-zoomin-tiddler");
$tw.utils.setStyle(targetElement,[
{display: "none"},
{position: "absolute"}
{display: "none"}
]);
};
ZoominListView.prototype.remove = function(widget) {
var targetElement = widget.findFirstDomNode(),
duration = $tw.utils.getAnimationDuration();
duration = $tw.utils.getAnimationDuration(),
removeElement = function() {
widget.removeChildDomNodes();
};
// Abandon if the list entry isn't a DOM element (it might be a text node)
if(!(targetElement instanceof Element)) {
removeElement();
return;
}
// Set up the tiddler that is being closed
$tw.utils.addClass(targetElement,"tc-storyview-zoomin-tiddler");
$tw.utils.setStyle(targetElement,[
{position: "absolute"},
{display: "block"},
{transformOrigin: "50% 50%"},
{transform: "translateX(0px) translateY(0px) scale(1)"},
@@ -148,8 +168,8 @@ ZoominListView.prototype.remove = function(widget) {
var toWidgetDomNode = toWidget && toWidget.findFirstDomNode();
// Set up the tiddler we're moving back in
if(toWidgetDomNode) {
$tw.utils.addClass(toWidgetDomNode,"tc-storyview-zoomin-tiddler");
$tw.utils.setStyle(toWidgetDomNode,[
{position: "absolute"},
{display: "block"},
{transformOrigin: "50% 50%"},
{transform: "translateX(0px) translateY(0px) scale(10)"},
@@ -170,10 +190,7 @@ ZoominListView.prototype.remove = function(widget) {
{opacity: "0"},
{zIndex: "0"}
]);
setTimeout(function() {
// Delete the DOM node when the transition is over
widget.removeChildDomNodes();
},duration);
setTimeout(removeElement,duration);
// Now the tiddler we're going back to
if(toWidgetDomNode) {
$tw.utils.setStyle(toWidgetDomNode,[

View File

@@ -467,6 +467,8 @@ Syncer.prototype.dispatchTask = function(task,callback) {
};
// Invoke the callback
callback(null);
},{
tiddlerInfo: self.tiddlerInfo[task.title]
});
} else {
this.logger.log(" Not Dispatching 'save' task:",task.title,"tiddler does not exist");
@@ -493,6 +495,7 @@ Syncer.prototype.dispatchTask = function(task,callback) {
if(err) {
return callback(err);
}
delete self.tiddlerInfo[task.title];
// Invoke the callback
callback(null);
},{

View File

@@ -39,7 +39,7 @@ exports.httpRequest = function(options) {
// Set up the state change handler
request.onreadystatechange = function() {
if(this.readyState === 4) {
if(this.status === 200 || this.status === 204) {
if(this.status === 200 || this.status === 201 || this.status === 204) {
// Success!
options.callback(null,this.responseText,this);
return;

View File

@@ -60,11 +60,12 @@ exports.parseKeyDescriptor = function(keyDescriptor) {
};
exports.checkKeyDescriptor = function(event,keyInfo) {
var metaKeyStatus = !!keyInfo.metaKey; // Using a temporary variable to keep JSHint happy
return event.keyCode === keyInfo.keyCode &&
event.shiftKey === keyInfo.shiftKey &&
event.altKey === keyInfo.altKey &&
event.ctrlKey === keyInfo.ctrlKey &&
event.metaKey === keyInfo.metaKey;
event.metaKey === metaKeyStatus;
};
})();

View File

@@ -39,6 +39,7 @@ var TW_Element = function(tag,namespace) {
this.attributes = {};
this.isRaw = false;
this.children = [];
this.style = {};
this.namespaceURI = namespace || "http://www.w3.org/1999/xhtml";
};
@@ -137,6 +138,15 @@ Object.defineProperty(TW_Element.prototype, "outerHTML", {
}
}
}
if(this.style) {
var style = [];
for(var s in this.style) {
style.push(s + ":" + this.style[s] + ";");
}
if(style.length > 0) {
output.push(" style='",style.join(""),"'")
}
}
output.push(">");
if($tw.config.htmlVoidElements.indexOf(this.tag) === -1) {
output.push(this.innerHTML);
@@ -179,6 +189,9 @@ Object.defineProperty(TW_Element.prototype, "textContent", {
});
return b.join("");
}
},
set: function(value) {
this.children = [new TW_TextNode(value)];
}
});
@@ -219,6 +232,7 @@ var document = {
createTextNode: function(text) {
return new TW_TextNode(text);
},
compatMode: "CSS1Compat", // For KaTeX to know that we're not a browser in quirks mode
isTiddlyWikiFakeDom: true
};

View File

@@ -87,6 +87,7 @@ exports.pushTop = function(array,value) {
}
array.push(value);
}
return array;
};
/*
@@ -167,61 +168,118 @@ exports.slowInSlowOut = function(t) {
return (1 - ((Math.cos(t * Math.PI) + 1) / 2));
};
exports.formatDateString = function (date,template) {
var t = template.replace(/0hh12/g,$tw.utils.pad($tw.utils.getHours12(date)));
t = t.replace(/hh12/g,$tw.utils.getHours12(date));
t = t.replace(/0hh/g,$tw.utils.pad(date.getHours()));
t = t.replace(/hh/g,date.getHours());
t = t.replace(/mmm/g,$tw.config.dateFormats.shortMonths[date.getMonth()]);
t = t.replace(/0mm/g,$tw.utils.pad(date.getMinutes()));
t = t.replace(/mm/g,date.getMinutes());
t = t.replace(/0ss/g,$tw.utils.pad(date.getSeconds()));
t = t.replace(/ss/g,date.getSeconds());
t = t.replace(/[ap]m/g,$tw.utils.getAmPm(date).toLowerCase());
t = t.replace(/[AP]M/g,$tw.utils.getAmPm(date).toUpperCase());
t = t.replace(/wYYYY/g,$tw.utils.getYearForWeekNo(date));
t = t.replace(/wYY/g,$tw.utils.pad($tw.utils.getYearForWeekNo(date)-2000));
t = t.replace(/YYYY/g,date.getFullYear());
t = t.replace(/YY/g,$tw.utils.pad(date.getFullYear()-2000));
t = t.replace(/MMM/g,$tw.config.dateFormats.months[date.getMonth()]);
t = t.replace(/0MM/g,$tw.utils.pad(date.getMonth()+1));
t = t.replace(/MM/g,date.getMonth()+1);
t = t.replace(/0WW/g,$tw.utils.pad($tw.utils.getWeek(date)));
t = t.replace(/WW/g,$tw.utils.getWeek(date));
t = t.replace(/DDD/g,$tw.config.dateFormats.days[date.getDay()]);
t = t.replace(/ddd/g,$tw.config.dateFormats.shortDays[date.getDay()]);
t = t.replace(/0DD/g,$tw.utils.pad(date.getDate()));
t = t.replace(/DDth/g,date.getDate()+$tw.utils.getDaySuffix(date));
t = t.replace(/DD/g,date.getDate());
var tz = date.getTimezoneOffset();
var atz = Math.abs(tz);
t = t.replace(/TZD/g,(tz < 0 ? '+' : '-') + $tw.utils.pad(Math.floor(atz / 60)) + ':' + $tw.utils.pad(atz % 60));
exports.formatDateString = function(date,template) {
var t = template;
t = t.replace(/0hh12/g,function() {
return $tw.utils.pad($tw.utils.getHours12(date));
});
t = t.replace(/hh12/g,function() {
return $tw.utils.getHours12(date);
});
t = t.replace(/0hh/g,function() {
return $tw.utils.pad(date.getHours());
});
t = t.replace(/hh/g,function() {
return date.getHours();
});
t = t.replace(/mmm/g,function() {
return $tw.language.getString("Date/Short/Month/" + (date.getMonth() + 1));
});
t = t.replace(/0mm/g,function() {
return $tw.utils.pad(date.getMinutes());
});
t = t.replace(/mm/g,function() {
return date.getMinutes();
});
t = t.replace(/0ss/g,function() {
return $tw.utils.pad(date.getSeconds());
});
t = t.replace(/ss/g,function() {
return date.getSeconds();
});
t = t.replace(/[ap]m/g,function() {
return $tw.utils.getAmPm(date).toLowerCase();
});
t = t.replace(/[AP]M/g,function() {
return $tw.utils.getAmPm(date).toUpperCase();
});
t = t.replace(/wYYYY/g,function() {
return $tw.utils.getYearForWeekNo(date);
});
t = t.replace(/wYY/g,function() {
return $tw.utils.pad($tw.utils.getYearForWeekNo(date)-2000);
});
t = t.replace(/YYYY/g,function() {
return date.getFullYear();
});
t = t.replace(/YY/g,function() {
return $tw.utils.pad(date.getFullYear()-2000);
});
t = t.replace(/MMM/g,function() {
return $tw.language.getString("Date/Long/Month/" + (date.getMonth() + 1));
});
t = t.replace(/0MM/g,function() {
return $tw.utils.pad(date.getMonth()+1);
});
t = t.replace(/MM/g,function() {
return date.getMonth() + 1;
});
t = t.replace(/0WW/g,function() {
return $tw.utils.pad($tw.utils.getWeek(date));
});
t = t.replace(/WW/g,function() {
return $tw.utils.getWeek(date);
});
t = t.replace(/DDD/g,function() {
return $tw.language.getString("Date/Long/Day/" + date.getDay());
});
t = t.replace(/ddd/g,function() {
return $tw.language.getString("Date/Short/Day/" + date.getDay());
});
t = t.replace(/0DD/g,function() {
return $tw.utils.pad(date.getDate());
});
t = t.replace(/DDth/g,function() {
return date.getDate() + $tw.utils.getDaySuffix(date);
});
t = t.replace(/DD/g,function() {
return date.getDate();
});
t = t.replace(/TZD/g,function() {
var tz = date.getTimezoneOffset(),
atz = Math.abs(tz);
return (tz < 0 ? '+' : '-') + $tw.utils.pad(Math.floor(atz / 60)) + ':' + $tw.utils.pad(atz % 60);
});
t = t.replace(/\\(.)/g,"$1");
return t;
};
exports.getAmPm = function(date) {
return date.getHours() >= 12 ? $tw.config.dateFormats.pm : $tw.config.dateFormats.am;
return $tw.language.getString("Date/Period/" + (date.getHours() >= 12 ? "pm" : "am"));
};
exports.getDaySuffix = function(date) {
return $tw.config.dateFormats.daySuffixes[date.getDate()-1];
return $tw.language.getString("Date/DaySuffix/" + date.getDate());
};
exports.getWeek = function(date) {
var dt = new Date(date.getTime());
var d = dt.getDay();
if(d === 0) d=7;// JavaScript Sun=0, ISO Sun=7
dt.setTime(dt.getTime()+(4-d)*86400000);// shift day to Thurs of same week to calculate weekNo
var n = Math.floor((dt.getTime()-new Date(dt.getFullYear(),0,1)+3600000)/86400000);
return Math.floor(n/7)+1;
if(d === 0) {
d = 7; // JavaScript Sun=0, ISO Sun=7
}
dt.setTime(dt.getTime() + (4 - d) * 86400000);// shift day to Thurs of same week to calculate weekNo
var n = Math.floor((dt.getTime()-new Date(dt.getFullYear(),0,1) + 3600000) / 86400000);
return Math.floor(n / 7) + 1;
};
exports.getYearForWeekNo = function(date) {
var dt = new Date(date.getTime());
var d = dt.getDay();
if(d === 0) d=7;// JavaScript Sun=0, ISO Sun=7
dt.setTime(dt.getTime()+(4-d)*86400000);// shift day to Thurs of same week
if(d === 0) {
d = 7; // JavaScript Sun=0, ISO Sun=7
}
dt.setTime(dt.getTime() + (4 - d) * 86400000);// shift day to Thurs of same week
return dt.getFullYear();
};

View File

@@ -0,0 +1,79 @@
/*\
title: $:/core/modules/widgets/action-navigate.js
type: application/javascript
module-type: widget
Action widget to navigate to a tiddler
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var Widget = require("$:/core/modules/widgets/widget.js").widget;
var NavigateWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);
};
/*
Inherit from the base widget class
*/
NavigateWidget.prototype = new Widget();
/*
Render this widget into the DOM
*/
NavigateWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes();
this.execute();
};
/*
Compute the internal state of the widget
*/
NavigateWidget.prototype.execute = function() {
this.actionTo = this.getAttribute("$to");
this.actionScroll = this.getAttribute("$scroll");
};
/*
Refresh the widget by ensuring our attributes are up to date
*/
NavigateWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes();
if(changedAttributes["$to"] || changedAttributes["$scroll"]) {
this.refreshSelf();
return true;
}
return this.refreshChildren(changedTiddlers);
};
/*
Invoke the action associated with this widget
*/
NavigateWidget.prototype.invokeAction = function(triggeringWidget,event) {
var bounds = triggeringWidget && triggeringWidget.getBoundingClientRect && triggeringWidget.getBoundingClientRect(),
suppressNavigation = event.metaKey || event.ctrlKey || (event.button === 1);
if(this.actionScroll === "yes") {
suppressNavigation = false;
} else if(this.actionScroll === "no") {
suppressNavigation = true;
}
this.dispatchEvent({
type: "tm-navigate",
navigateTo: this.actionTo === undefined ? this.getVariable("currentTiddler") : this.actionTo,
navigateFromTitle: this.getVariable("storyTiddler"),
navigateFromNode: triggeringWidget,
navigateFromClientRect: bounds && { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height
},
navigateSuppressNavigation: suppressNavigation
});
return true; // Action was invoked
};
exports["action-navigate"] = NavigateWidget;
})();

View File

@@ -0,0 +1,82 @@
/*\
title: $:/core/modules/widgets/action-sendmessage.js
type: application/javascript
module-type: widget
Action widget to send a message
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var Widget = require("$:/core/modules/widgets/widget.js").widget;
var SendMessageWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);
};
/*
Inherit from the base widget class
*/
SendMessageWidget.prototype = new Widget();
/*
Render this widget into the DOM
*/
SendMessageWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes();
this.execute();
};
/*
Compute the internal state of the widget
*/
SendMessageWidget.prototype.execute = function() {
this.actionMessage = this.getAttribute("$message");
this.actionParam = this.getAttribute("$param");
};
/*
Refresh the widget by ensuring our attributes are up to date
*/
SendMessageWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes();
if(changedAttributes["$message"] || changedAttributes["$param"]) {
this.refreshSelf();
return true;
}
return this.refreshChildren(changedTiddlers);
};
/*
Invoke the action associated with this widget
*/
SendMessageWidget.prototype.invokeAction = function(triggeringWidget,event) {
// Get the parameter
var param = this.actionParam;
// If the parameter is missing then we'll assemble the attributes as a hashmap
if(!param) {
param = Object.create(null);
var count = 0;
$tw.utils.each(this.attributes,function(attribute,name) {
if(name.charAt(0) !== "$") {
param[name] = attribute;
count++;
}
});
// Revert to an empty parameter if no values were found
if(!count) {
param = undefined;
}
}
// Dispatch the message
this.dispatchEvent({type: this.actionMessage, param: param, tiddlerTitle: this.getVariable("currentTiddler")});
return true; // Action was invoked
};
exports["action-sendmessage"] = SendMessageWidget;
})();

View File

@@ -36,12 +36,18 @@ BrowseWidget.prototype.render = function(parent,nextSibling) {
// Create element
var domNode = this.document.createElement("input");
domNode.setAttribute("type","file");
domNode.setAttribute("multiple","multiple");
if(this.browseMultiple) {
domNode.setAttribute("multiple","multiple");
}
// Add a click event handler
domNode.addEventListener("change",function (event) {
self.wiki.readFiles(event.target.files,function(tiddlerFieldsArray) {
self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)});
});
if(self.message) {
self.dispatchEvent({type: self.message, param: event.target.files});
} else {
self.wiki.readFiles(event.target.files,function(tiddlerFieldsArray) {
self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)});
});
}
return false;
},false);
// Insert element
@@ -54,6 +60,8 @@ BrowseWidget.prototype.render = function(parent,nextSibling) {
Compute the internal state of the widget
*/
BrowseWidget.prototype.execute = function() {
this.browseMultiple = this.getAttribute("multiple");
this.message = this.getAttribute("message");
};
/*

View File

@@ -50,8 +50,8 @@ ButtonWidget.prototype.render = function(parent,nextSibling) {
if(this.style) {
domNode.setAttribute("style",this.style);
}
if(this.title) {
domNode.setAttribute("title",this.title);
if(this.tooltip) {
domNode.setAttribute("title",this.tooltip);
}
if(this["aria-label"]) {
domNode.setAttribute("aria-label",this["aria-label"]);
@@ -59,6 +59,9 @@ ButtonWidget.prototype.render = function(parent,nextSibling) {
// Add a click event handler
domNode.addEventListener("click",function (event) {
var handled = false;
if(self.invokeActions(event)) {
handled = true;
}
if(self.to) {
self.navigateTo(event);
handled = true;
@@ -87,6 +90,10 @@ ButtonWidget.prototype.render = function(parent,nextSibling) {
this.domNodes.push(domNode);
};
ButtonWidget.prototype.getBoundingClientRect = function() {
return this.domNodes[0].getBoundingClientRect();
}
ButtonWidget.prototype.isSelected = function() {
var tiddler = this.wiki.getTiddler(this.set);
return tiddler ? tiddler.fields.text === this.setTo : this.defaultSetValue === this.setTo;
@@ -99,7 +106,7 @@ ButtonWidget.prototype.isPoppedUp = function() {
};
ButtonWidget.prototype.navigateTo = function(event) {
var bounds = this.domNodes[0].getBoundingClientRect();
var bounds = this.getBoundingClientRect();
this.dispatchEvent({
type: "tm-navigate",
navigateTo: this.to,
@@ -141,7 +148,7 @@ ButtonWidget.prototype.execute = function() {
this.hover = this.getAttribute("hover");
this["class"] = this.getAttribute("class","");
this["aria-label"] = this.getAttribute("aria-label");
this.title = this.getAttribute("title");
this.tooltip = this.getAttribute("tooltip");
this.style = this.getAttribute("style");
this.selectedClass = this.getAttribute("selectedClass");
this.defaultSetValue = this.getAttribute("default");

View File

@@ -97,10 +97,10 @@ ImageWidget.prototype.render = function(parent,nextSibling) {
domNode.setAttribute("class",this.imageClass);
}
if(this.imageWidth) {
domNode.setAttribute("width",parseInt(this.imageWidth,10) + "px");
domNode.setAttribute("width",this.imageWidth);
}
if(this.imageHeight) {
domNode.setAttribute("height",parseInt(this.imageHeight,10) + "px");
domNode.setAttribute("height",this.imageHeight);
}
if(this.imageTooltip) {
domNode.setAttribute("title",this.imageTooltip);

View File

@@ -124,56 +124,60 @@ LinkWidget.prototype.handleClickEvent = function (event) {
};
LinkWidget.prototype.handleDragStartEvent = function(event) {
if(this.to) {
// Set the dragging class on the element being dragged
$tw.utils.addClass(event.target,"tc-tiddlylink-dragging");
// Create the drag image elements
this.dragImage = this.document.createElement("div");
this.dragImage.className = "tc-tiddler-dragger";
var inner = this.document.createElement("div");
inner.className = "tc-tiddler-dragger-inner";
inner.appendChild(this.document.createTextNode(this.to));
this.dragImage.appendChild(inner);
this.document.body.appendChild(this.dragImage);
// Astoundingly, we need to cover the dragger up: http://www.kryogenix.org/code/browser/custom-drag-image.html
var cover = this.document.createElement("div");
cover.className = "tc-tiddler-dragger-cover";
cover.style.left = (inner.offsetLeft - 16) + "px";
cover.style.top = (inner.offsetTop - 16) + "px";
cover.style.width = (inner.offsetWidth + 32) + "px";
cover.style.height = (inner.offsetHeight + 32) + "px";
this.dragImage.appendChild(cover);
// Set the data transfer properties
var dataTransfer = event.dataTransfer;
// First the image
dataTransfer.effectAllowed = "copy";
if(dataTransfer.setDragImage) {
dataTransfer.setDragImage(this.dragImage.firstChild,-16,-16);
if(event.target === this.domNodes[0]) {
if(this.to) {
// Set the dragging class on the element being dragged
$tw.utils.addClass(event.target,"tc-tiddlylink-dragging");
// Create the drag image elements
this.dragImage = this.document.createElement("div");
this.dragImage.className = "tc-tiddler-dragger";
var inner = this.document.createElement("div");
inner.className = "tc-tiddler-dragger-inner";
inner.appendChild(this.document.createTextNode(this.to));
this.dragImage.appendChild(inner);
this.document.body.appendChild(this.dragImage);
// Astoundingly, we need to cover the dragger up: http://www.kryogenix.org/code/browser/custom-drag-image.html
var cover = this.document.createElement("div");
cover.className = "tc-tiddler-dragger-cover";
cover.style.left = (inner.offsetLeft - 16) + "px";
cover.style.top = (inner.offsetTop - 16) + "px";
cover.style.width = (inner.offsetWidth + 32) + "px";
cover.style.height = (inner.offsetHeight + 32) + "px";
this.dragImage.appendChild(cover);
// Set the data transfer properties
var dataTransfer = event.dataTransfer;
// First the image
dataTransfer.effectAllowed = "copy";
if(dataTransfer.setDragImage) {
dataTransfer.setDragImage(this.dragImage.firstChild,-16,-16);
}
// Then the data
dataTransfer.clearData();
var jsonData = this.wiki.getTiddlerAsJson(this.to),
textData = this.wiki.getTiddlerText(this.to,"");
// IE doesn't like these content types
if(!$tw.browser.isIE) {
dataTransfer.setData("text/vnd.tiddler",jsonData);
dataTransfer.setData("text/plain",textData);
dataTransfer.setData("text/x-moz-url","data:text/vnd.tiddler," + encodeURI(jsonData));
}
dataTransfer.setData("URL","data:text/vnd.tiddler," + encodeURI(jsonData));
dataTransfer.setData("Text",textData);
event.stopPropagation();
} else {
event.preventDefault();
}
// Then the data
dataTransfer.clearData();
var jsonData = this.wiki.getTiddlerAsJson(this.to),
textData = this.wiki.getTiddlerText(this.to,"");
// IE doesn't like these content types
if(!$tw.browser.isIE) {
dataTransfer.setData("text/vnd.tiddler",jsonData);
dataTransfer.setData("text/plain",textData);
dataTransfer.setData("text/x-moz-url","data:text/vnd.tiddler," + encodeURI(jsonData));
}
dataTransfer.setData("URL","data:text/vnd.tiddler," + encodeURI(jsonData));
dataTransfer.setData("Text",textData);
event.stopPropagation();
} else {
event.preventDefault();
}
};
LinkWidget.prototype.handleDragEndEvent = function(event) {
// Remove the dragging class on the element being dragged
$tw.utils.removeClass(event.target,"tc-tiddlylink-dragging");
// Delete the drag image element
if(this.dragImage) {
this.dragImage.parentNode.removeChild(this.dragImage);
if(event.target === this.domNodes[0]) {
// Remove the dragging class on the element being dragged
$tw.utils.removeClass(event.target,"tc-tiddlylink-dragging");
// Delete the drag image element
if(this.dragImage) {
this.dragImage.parentNode.removeChild(this.dragImage);
}
}
};

View File

@@ -177,12 +177,7 @@ NavigatorWidget.prototype.handleCloseOtherTiddlersEvent = function(event) {
NavigatorWidget.prototype.handleEditTiddlerEvent = function(event) {
var self = this;
function isUnmodifiedShadow(title) {
// jshint eqnull:true
var tiddler = self.wiki.getTiddler(title);
return (
self.wiki.isShadowTiddler(title) &&
tiddler.fields.modified == null
);
return self.wiki.isShadowTiddler(title) && !self.wiki.tiddlerExists(title);
}
function confirmEditShadow(title) {
return confirm($tw.language.getString(
@@ -253,19 +248,14 @@ Create/reuse the draft tiddler for a given title
*/
NavigatorWidget.prototype.makeDraftTiddler = function(targetTitle) {
// See if there is already a draft tiddler for this tiddler
var drafts = [];
this.wiki.forEachTiddler({includeSystem: true},function(title,tiddler) {
if(tiddler.fields["draft.title"] && tiddler.fields["draft.of"] === targetTitle) {
drafts.push(tiddler);
}
});
if(drafts.length > 0) {
return drafts[0];
var draftTitle = this.wiki.findDraft(targetTitle);
if(draftTitle) {
return this.wiki.getTiddler(draftTitle);
}
// Get the current value of the tiddler we're editing
var tiddler = this.wiki.getTiddler(targetTitle),
draftTitle = this.generateDraftTitle(targetTitle);
var tiddler = this.wiki.getTiddler(targetTitle);
// Save the initial value of the draft tiddler
draftTitle = this.generateDraftTitle(targetTitle);
var draftTiddler = new $tw.Tiddler(
tiddler,
{
@@ -372,29 +362,76 @@ NavigatorWidget.prototype.handleCancelTiddlerEvent = function(event) {
};
// Create a new draft tiddler
// event.param can either be the title of a template tiddler, or a hashmap of fields.
//
// The title of the newly created tiddler follows these rules:
// * If a hashmap was used and a title field was specified, use that title
// * If a hashmap was used without a title field, use a default title, if necessary making it unique with a numeric suffix
// * If a template tiddler was used, use the title of the template, if necessary making it unique with a numeric suffix
//
// If a draft of the target tiddler already exists then it is reused
NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
// Get the story details
var storyList = this.getStoryList();
// Get the template tiddler if there is one
var templateTiddler = this.wiki.getTiddler(event.param);
// Title the new tiddler
var title = this.wiki.generateNewTitle((templateTiddler && templateTiddler.fields.title) || "New Tiddler");
// Create the draft tiddler
var draftTitle = this.generateDraftTitle(title),
draftTiddler = new $tw.Tiddler({
text: ""
},templateTiddler,
var storyList = this.getStoryList(),
templateTiddler, title, draftTitle, existingTiddler, mergedTags;
// Work out the title of the target tiddler
if(typeof event.param === "object") {
// If we got a hashmap use it as the template
templateTiddler = event.param;
if(templateTiddler.title) {
// Use the provided title
title = templateTiddler.title
} else {
// Generate a new unique title
title = this.wiki.generateNewTitle($tw.language.getString("DefaultNewTiddlerTitle"));
}
} else {
// If we got a string, use it as the template and generate a new title
templateTiddler = this.wiki.getTiddler(event.param);
title = this.wiki.generateNewTitle(event.param || $tw.language.getString("DefaultNewTiddlerTitle"));
}
// Find any existing draft for this tiddler
draftTitle = this.wiki.findDraft(title);
// Pull in any existing tiddler
if(draftTitle) {
existingTiddler = this.wiki.getTiddler(draftTitle);
} else {
draftTitle = this.generateDraftTitle(title);
existingTiddler = this.wiki.getTiddler(title);
}
// Merge the tags
if(existingTiddler && existingTiddler.fields.tags && templateTiddler && templateTiddler.tags) {
// Merge tags
mergedTags = $tw.utils.pushTop($tw.utils.parseStringArray(templateTiddler.tags),existingTiddler.fields.tags);
} else if(existingTiddler && existingTiddler.fields.tags) {
mergedTags = existingTiddler.fields.tags;
} else if(templateTiddler && templateTiddler.tags) {
mergedTags = templateTiddler.tags;
} else if(templateTiddler && templateTiddler.fields && templateTiddler.fields.tags) {
mergedTags = templateTiddler.fields.tags;
}
// Save the draft tiddler
var draftTiddler = new $tw.Tiddler({
text: "",
"draft.title": title
},
templateTiddler,
existingTiddler,
this.wiki.getCreationFields(),
{
title: draftTitle,
"draft.title": title,
"draft.of": title
"draft.of": title,
tags: mergedTags
},this.wiki.getModificationFields());
this.wiki.addTiddler(draftTiddler);
// Update the story to insert the new draft at the top
var slot = storyList.indexOf(event.navigateFromTitle);
storyList.splice(slot + 1,0,draftTitle);
// Save the updated story
// Update the story to insert the new draft at the top and remove any existing tiddler
if(storyList.indexOf(draftTitle) === -1) {
var slot = storyList.indexOf(event.navigateFromTitle);
storyList.splice(slot + 1,0,draftTitle);
}
if(storyList.indexOf(title) !== -1) {
storyList.splice(storyList.indexOf(title),1);
}
this.saveStoryList(storyList);
// Add a new record to the top of the history stack
this.addToHistory(draftTitle);

View File

@@ -79,7 +79,7 @@ RadioWidget.prototype.setValue = function() {
var tiddler = this.wiki.getTiddler(this.radioTitle),
addition = {};
addition[this.radioField] = this.radioValue;
this.wiki.addTiddler(new $tw.Tiddler(tiddler,addition));
this.wiki.addTiddler(new $tw.Tiddler({title: this.radioTitle},tiddler,addition,this.wiki.getModificationFields()));
}
};

View File

@@ -65,7 +65,11 @@ TranscludeWidget.prototype.execute = function() {
// Check for recursion
if(parser) {
if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) {
parseTreeNodes = [{type: "text", text: "Recursive transclusion error in transclude widget"}];
parseTreeNodes = [{type: "element", tag: "span", attributes: {
"class": {type: "string", value: "tc-error"}
}, children: [
{type: "text", text: "Recursive transclusion error in transclude widget"}
]}];
}
}
// Construct the child widgets

View File

@@ -204,7 +204,7 @@ Widget.prototype.getStateQualifier = function(name) {
}
node = node.parentWidget;
}
return "{" + $tw.utils.hashString(output.join("")) + "}";
return $tw.utils.hashString(output.join(""));
};
/*
@@ -475,6 +475,20 @@ Widget.prototype.removeChildDomNodes = function() {
}
};
/*
Invoke any action widgets that are immediate children of this widget
*/
Widget.prototype.invokeActions = function(event) {
var handled = false;
for(var t=0; t<this.children.length; t++) {
var child = this.children[t];
if(child.invokeAction && child.invokeAction(this,event)) {
handled = true;
}
}
return handled;
};
exports.widget = Widget;
})();

View File

@@ -177,7 +177,7 @@ exports.generateNewTitle = function(baseTitle,options) {
options = options || {};
var c = 0,
title = baseTitle;
while(this.tiddlerExists(title) || this.isShadowTiddler(title)) {
while(this.tiddlerExists(title) || this.isShadowTiddler(title) || this.findDraft(title)) {
title = baseTitle +
(options.prefix || " ") +
(++c);
@@ -317,8 +317,18 @@ exports.sortTiddlers = function(titles,sortField,isDescending,isCaseSensitive,is
var self = this;
titles.sort(function(a,b) {
if(sortField !== "title") {
a = self.getTiddler(a).fields[sortField] || "";
b = self.getTiddler(b).fields[sortField] || "";
var tiddlerA = self.getTiddler(a),
tiddlerB = self.getTiddler(b);
if(tiddlerA) {
a = tiddlerA.fields[sortField] || "";
} else {
a = "";
}
if(tiddlerB) {
b = tiddlerB.fields[sortField] || "";
} else {
b = "";
}
}
if(isNumeric) {
a = Number(a);
@@ -560,7 +570,7 @@ exports.sortByList = function(array,listTitle) {
exports.getSubTiddler = function(title,subTiddlerTitle) {
var bundleInfo = this.getPluginInfo(title) || this.getTiddlerData(title);
if(bundleInfo) {
if(bundleInfo && bundleInfo.tiddlers) {
var subTiddler = bundleInfo.tiddlers[subTiddlerTitle];
if(subTiddler) {
return new $tw.Tiddler(subTiddler);
@@ -1122,6 +1132,19 @@ exports.readFile = function(file,callback) {
}
};
/*
Find any existing draft of a specified tiddler
*/
exports.findDraft = function(targetTitle) {
var draftTitle = undefined;
this.forEachTiddler({includeSystem: true},function(title,tiddler) {
if(tiddler.fields["draft.title"] && tiddler.fields["draft.of"] === targetTitle) {
draftTitle = title;
}
});
return draftTitle;
}
/*
Check whether the specified draft tiddler has been modified
*/

View File

@@ -17,7 +17,7 @@ caption: {{$:/language/Search/Shadows/Caption}}
<<lingo Shadows/Matches>>
<$list filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
<$list filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>
</div>

View File

@@ -17,7 +17,7 @@ caption: {{$:/language/Search/Standard/Caption}}
<<lingo Standard/Matches>>
<$list filter="[!is[system]search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
<$list filter="[!is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>
</div>

View File

@@ -17,7 +17,7 @@ caption: {{$:/language/Search/System/Caption}}
<<lingo System/Matches>>
<$list filter="[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
<$list filter="[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>
</div>

View File

@@ -1,5 +1,5 @@
title: $:/ControlPanel
<div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]" "$:/core/ui/ControlPanel/Basics">>
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]" "$:/core/ui/ControlPanel/Info">>
</div>

View File

@@ -1,9 +1,9 @@
title: $:/core/ui/ControlPanel/Advanced
tags: $:/tags/ControlPanel
tags: $:/tags/ControlPanel/Info
caption: {{$:/language/ControlPanel/Advanced/Caption}}
{{$:/language/ControlPanel/Advanced/Hint}}
<div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]" "$:/core/ui/ControlPanel/Advanced/TiddlerFields">>
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]" "$:/core/ui/ControlPanel/TiddlerFields">>
</div>

View File

@@ -1,8 +0,0 @@
title: $:/core/ui/ControlPanel/Advanced/LoadedModules
tags: $:/tags/ControlPanel/Advanced
caption: {{$:/language/ControlPanel/Advanced/LoadedModules/Caption}}
\define lingo-base() $:/language/ControlPanel/Advanced/
<<lingo LoadedModules/Hint>>
{{$:/snippets/modules}}

View File

@@ -1,19 +0,0 @@
title: $:/core/ui/ControlPanel/Advanced/Settings
tags: $:/tags/ControlPanel/Advanced
caption: {{$:/language/ControlPanel/Advanced/Settings/Caption}}
\define lingo-base() $:/language/ControlPanel/Advanced/Settings/
<<lingo Hint>>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced/Settings]]">
<div style="border-top:1px solid #eee;">
!! <$link><$transclude field="caption"/></$link>
<$transclude/>
</div>
</$list>

View File

@@ -1,10 +0,0 @@
title: $:/core/ui/ControlPanel/Advanced/Settings/NavigationHistory
tags: $:/tags/ControlPanel/Advanced/Settings
caption: {{$:/language/ControlPanel/Advanced/Settings/NavigationHistory/Caption}}
\define lingo-base() $:/language/ControlPanel/Advanced/Settings/NavigationHistory/
<$link to="$:/config/Navigation/UpdateHistory"><<lingo Hint>></$link>
<$radio tiddler="$:/config/Navigation/UpdateHistory" value="yes"> <<lingo Yes/Description>> </$radio>
<$radio tiddler="$:/config/Navigation/UpdateHistory" value="no"> <<lingo No/Description>> </$radio>

View File

@@ -1,9 +0,0 @@
title: $:/core/ui/ControlPanel/Advanced/TiddlerFields
tags: $:/tags/ControlPanel/Advanced
caption: {{$:/language/ControlPanel/Advanced/TiddlerFields/Caption}}
\define lingo-base() $:/language/ControlPanel/Advanced/
<<lingo TiddlerFields/Hint>>
{{$:/snippets/allfields}}

View File

@@ -5,5 +5,5 @@ caption: {{$:/language/ControlPanel/Appearance/Caption}}
{{$:/language/ControlPanel/Appearance/Hint}}
<div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]" "$:/core/ui/ControlPanel/Appearance/Theme">>
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]" "$:/core/ui/ControlPanel/Theme">>
</div>

View File

@@ -1,5 +0,0 @@
title: $:/core/ui/ControlPanel/Appearance/StoryView
tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/Appearance/StoryView/Caption}}
{{$:/snippets/viewswitcher}}

View File

@@ -1,5 +0,0 @@
title: $:/core/ui/ControlPanel/Appearance/Theme
tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/Appearance/Theme/Caption}}
{{$:/snippets/themeswitcher}}

View File

@@ -1,9 +0,0 @@
title: $:/core/ui/ControlPanel/Appearance/Toolbars
tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/Appearance/Toolbars/Caption}}
{{$:/language/ControlPanel/Appearance/Toolbars/Hint}}
<div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance/Toolbars]!has[draft.of]]" "$:/core/ui/ControlPanel/Appearance/Toolbars/ViewToolbar" "$:/state/tabs/controlpanel/toolbars" "tc-vertical">>
</div>

View File

@@ -1,24 +0,0 @@
title: $:/core/ui/ControlPanel/Appearance/Toolbars/EditToolbar
tags: $:/tags/ControlPanel/Appearance/Toolbars
caption: {{$:/language/ControlPanel/Appearance/Toolbars/EditToolbar/Caption}}
\define lingo-base() $:/language/TiddlerInfo/
\define config-title()
$:/config/EditToolbarButtons/Visibility/$(listItem)$
\end
{{$:/language/ControlPanel/Appearance/Toolbars/EditToolbar/Hint}}
<$set name="tv-config-toolbar-icons" value="yes">
<$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
</$list>
</$set>
</$set>

View File

@@ -1,24 +0,0 @@
title: $:/core/ui/ControlPanel/Appearance/Toolbars/PageControls
tags: $:/tags/ControlPanel/Appearance/Toolbars
caption: {{$:/language/ControlPanel/Appearance/Toolbars/PageControls/Caption}}
\define lingo-base() $:/language/TiddlerInfo/
\define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$
\end
{{$:/language/ControlPanel/Appearance/Toolbars/PageControls/Hint}}
<$set name="tv-config-toolbar-icons" value="yes">
<$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
</$list>
</$set>
</$set>

View File

@@ -1,24 +0,0 @@
title: $:/core/ui/ControlPanel/Appearance/Toolbars/ViewToolbar
tags: $:/tags/ControlPanel/Appearance/Toolbars
caption: {{$:/language/ControlPanel/Appearance/Toolbars/ViewToolbar/Caption}}
\define lingo-base() $:/language/TiddlerInfo/
\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end
{{$:/language/ControlPanel/Appearance/Toolbars/ViewToolbar/Hint}}
<$set name="tv-config-toolbar-icons" value="yes">
<$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
</$list>
</$set>
</$set>

View File

@@ -1,5 +1,5 @@
title: $:/core/ui/ControlPanel/Basics
tags: $:/tags/ControlPanel
tags: $:/tags/ControlPanel/Info
caption: {{$:/language/ControlPanel/Basics/Caption}}
\define lingo-base() $:/language/ControlPanel/Basics/
@@ -9,6 +9,8 @@ caption: {{$:/language/ControlPanel/Basics/Caption}}
|<$link to="$:/status/UserName"><<lingo Username/Prompt>></$link> |<$edit-text tiddler="$:/status/UserName" default="" tag="input"/> |
|<$link to="$:/config/AnimationDuration"><<lingo AnimDuration/Prompt>></$link> |<$edit-text tiddler="$:/config/AnimationDuration" default="" tag="input"/> |
|<$link to="$:/DefaultTiddlers"><<lingo DefaultTiddlers/Prompt>></$link> |<<lingo DefaultTiddlers/TopHint>><br> <$edit-text tag="textarea" tiddler="$:/DefaultTiddlers"/><br>//<<lingo DefaultTiddlers/BottomHint>>// |
|<$link to="$:/config/NewJournal/Title"><<lingo NewJournal/Title/Prompt>></$link> |<$edit-text tiddler="$:/config/NewJournal/Title" default="" tag="input"/> |
|<$link to="$:/config/NewJournal/Tags"><<lingo NewJournal/Tags/Prompt>></$link> |<$edit-text tiddler="$:/config/NewJournal/Tags" default="" tag="input"/> |
|<<lingo Language/Prompt>> |{{$:/snippets/minilanguageswitcher}} |
|<<lingo Tiddlers/Prompt>> |''<$count filter="[!is[system]]"/>'' |
|<<lingo Tags/Prompt>> |''<$count filter="[tags[]]"/>'' |

View File

@@ -1,8 +1,8 @@
title: $:/core/ui/ControlPanel/Advanced/EditorTypes
title: $:/core/ui/ControlPanel/EditorTypes
tags: $:/tags/ControlPanel/Advanced
caption: {{$:/language/ControlPanel/Advanced/EditorTypes/Caption}}
caption: {{$:/language/ControlPanel/EditorTypes/Caption}}
\define lingo-base() $:/language/ControlPanel/Advanced/EditorTypes/
\define lingo-base() $:/language/ControlPanel/EditorTypes/
<<lingo Hint>>

View File

@@ -0,0 +1,9 @@
title: $:/core/ui/ControlPanel/Info
tags: $:/tags/ControlPanel
caption: {{$:/language/ControlPanel/Info/Caption}}
{{$:/language/ControlPanel/Info/Hint}}
<div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Info]!has[draft.of]]" "$:/core/ui/ControlPanel/Basics">>
</div>

View File

@@ -0,0 +1,8 @@
title: $:/core/ui/ControlPanel/LoadedModules
tags: $:/tags/ControlPanel/Advanced
caption: {{$:/language/ControlPanel/LoadedModules/Caption}}
\define lingo-base() $:/language/ControlPanel/
<<lingo LoadedModules/Hint>>
{{$:/snippets/modules}}

View File

@@ -1,8 +1,8 @@
title: $:/core/ui/ControlPanel/Appearance/Palette
title: $:/core/ui/ControlPanel/Palette
tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/Appearance/Palette/Caption}}
caption: {{$:/language/ControlPanel/Palette/Caption}}
\define lingo-base() $:/language/ControlPanel/Appearance/Palette/
\define lingo-base() $:/language/ControlPanel/Palette/
{{$:/snippets/paletteswitcher}}

View File

@@ -64,12 +64,12 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
<$list filter="[all[current]] -[[$:/core]]">
<div style="float:right;">
<$reveal type="nomatch" state=<<plugin-disable-title>> text="yes">
<$button set=<<plugin-disable-title>> setTo="yes" title={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}>
<$button set=<<plugin-disable-title>> setTo="yes" tooltip={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}>
<<lingo Disable/Caption>>
</$button>
</$reveal>
<$reveal type="match" state=<<plugin-disable-title>> text="yes">
<$button set=<<plugin-disable-title>> setTo="no" title={{$:/language/ControlPanel/Plugins/Enable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}>
<$button set=<<plugin-disable-title>> setTo="no" tooltip={{$:/language/ControlPanel/Plugins/Enable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}>
<<lingo Enable/Caption>>
</$button>
</$reveal>

View File

@@ -13,17 +13,15 @@ http://$(userName)$.tiddlyspot.com/backup/
</$set>
</$reveal>
\end
! <<lingo Heading>>
|<<lingo AutoSave>> |{{$:/snippets/autosavestatus}} |
! <<lingo TiddlySpot/Heading>>
<<lingo TiddlySpot/Description>>
|<<lingo TiddlySpot/UserName>> |<$edit-text tiddler="$:/UploadName" default="" tag="input"/> |
|<<lingo TiddlySpot/Password>> |<$password name="upload"/> |
|<<lingo TiddlySpot/Backups>> |<<backupLink>> |
!! <<lingo TiddlySpot/Advanced/Heading>>
''<<lingo TiddlySpot/Advanced/Heading>>''
|<<lingo TiddlySpot/ServerURL>> |<$edit-text tiddler="$:/UploadURL" default="" tag="input"/> |
|<<lingo TiddlySpot/Filename>> |<$edit-text tiddler="$:/UploadFilename" default="index.html" tag="input"/> |

View File

@@ -0,0 +1,19 @@
title: $:/core/ui/ControlPanel/Settings
tags: $:/tags/ControlPanel
caption: {{$:/language/ControlPanel/Settings/Caption}}
\define lingo-base() $:/language/ControlPanel/Settings/
<<lingo Hint>>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Settings]]">
<div style="border-top:1px solid #eee;">
!! <$link><$transclude field="caption"/></$link>
<$transclude/>
</div>
</$list>

View File

@@ -0,0 +1,11 @@
title: $:/core/ui/ControlPanel/Settings/AutoSave
tags: $:/tags/ControlPanel/Settings
caption: {{$:/language/ControlPanel/Settings/AutoSave/Caption}}
\define lingo-base() $:/language/ControlPanel/Settings/AutoSave/
<$link to="$:/config/AutoSave"><<lingo Hint>></$link>
<$radio tiddler="$:/config/AutoSave" value="yes"> <<lingo Enabled/Description>> </$radio>
<$radio tiddler="$:/config/AutoSave" value="no"> <<lingo Disabled/Description>> </$radio>

View File

@@ -1,8 +1,8 @@
title: $:/core/ui/ControlPanel/Advanced/Settings/NavigationAddressBar
tags: $:/tags/ControlPanel/Advanced/Settings
caption: {{$:/language/ControlPanel/Advanced/Settings/NavigationAddressBar/Caption}}
title: $:/core/ui/ControlPanel/Settings/NavigationAddressBar
tags: $:/tags/ControlPanel/Settings
caption: {{$:/language/ControlPanel/Settings/NavigationAddressBar/Caption}}
\define lingo-base() $:/language/ControlPanel/Advanced/Settings/NavigationAddressBar/
\define lingo-base() $:/language/ControlPanel/Settings/NavigationAddressBar/
<$link to="$:/config/Navigation/UpdateAddressBar"><<lingo Hint>></$link>

View File

@@ -0,0 +1,10 @@
title: $:/core/ui/ControlPanel/Settings/NavigationHistory
tags: $:/tags/ControlPanel/Settings
caption: {{$:/language/ControlPanel/Settings/NavigationHistory/Caption}}
\define lingo-base() $:/language/ControlPanel/Settings/NavigationHistory/
<$link to="$:/config/Navigation/UpdateHistory"><<lingo Hint>></$link>
<$radio tiddler="$:/config/Navigation/UpdateHistory" value="yes"> <<lingo Yes/Description>> </$radio>
<$radio tiddler="$:/config/Navigation/UpdateHistory" value="no"> <<lingo No/Description>> </$radio>

View File

@@ -1,8 +1,8 @@
title: $:/core/ui/ControlPanel/Advanced/Settings/ToolbarButtons
tags: $:/tags/ControlPanel/Advanced/Settings
caption: {{$:/language/ControlPanel/Advanced/Settings/ToolbarButtons/Caption}}
title: $:/core/ui/ControlPanel/Settings/ToolbarButtons
tags: $:/tags/ControlPanel/Settings
caption: {{$:/language/ControlPanel/Settings/ToolbarButtons/Caption}}
\define lingo-base() $:/language/ControlPanel/Advanced/Settings/ToolbarButtons/
\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtons/
<<lingo Hint>>
<$checkbox tiddler="$:/config/Toolbar/Icons" field="text" checked="yes" unchecked="no" default="yes"> <$link to="$:/config/Toolbar/Icons"><<lingo Icons/Description>></$link> </$checkbox>

View File

@@ -0,0 +1,5 @@
title: $:/core/ui/ControlPanel/StoryView
tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/StoryView/Caption}}
{{$:/snippets/viewswitcher}}

View File

@@ -0,0 +1,5 @@
title: $:/core/ui/ControlPanel/Theme
tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/Theme/Caption}}
{{$:/snippets/themeswitcher}}

View File

@@ -0,0 +1,9 @@
title: $:/core/ui/ControlPanel/TiddlerFields
tags: $:/tags/ControlPanel/Advanced
caption: {{$:/language/ControlPanel/TiddlerFields/Caption}}
\define lingo-base() $:/language/ControlPanel/
<<lingo TiddlerFields/Hint>>
{{$:/snippets/allfields}}

View File

@@ -0,0 +1,9 @@
title: $:/core/ui/ControlPanel/Toolbars
tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/Toolbars/Caption}}
{{$:/language/ControlPanel/Toolbars/Hint}}
<div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Toolbars]!has[draft.of]]" "$:/core/ui/ControlPanel/Toolbars/ViewToolbar" "$:/state/tabs/controlpanel/toolbars" "tc-vertical">>
</div>

View File

@@ -0,0 +1,24 @@
title: $:/core/ui/ControlPanel/Toolbars/EditToolbar
tags: $:/tags/ControlPanel/Toolbars
caption: {{$:/language/ControlPanel/Toolbars/EditToolbar/Caption}}
\define lingo-base() $:/language/TiddlerInfo/
\define config-title()
$:/config/EditToolbarButtons/Visibility/$(listItem)$
\end
{{$:/language/ControlPanel/Toolbars/EditToolbar/Hint}}
<$set name="tv-config-toolbar-icons" value="yes">
<$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i>
</$list>
</$set>
</$set>

View File

@@ -0,0 +1,24 @@
title: $:/core/ui/ControlPanel/Toolbars/PageControls
tags: $:/tags/ControlPanel/Toolbars
caption: {{$:/language/ControlPanel/Toolbars/PageControls/Caption}}
\define lingo-base() $:/language/TiddlerInfo/
\define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$
\end
{{$:/language/ControlPanel/Toolbars/PageControls/Hint}}
<$set name="tv-config-toolbar-icons" value="yes">
<$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i>
</$list>
</$set>
</$set>

View File

@@ -0,0 +1,24 @@
title: $:/core/ui/ControlPanel/Toolbars/ViewToolbar
tags: $:/tags/ControlPanel/Toolbars
caption: {{$:/language/ControlPanel/Toolbars/ViewToolbar/Caption}}
\define lingo-base() $:/language/TiddlerInfo/
\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end
{{$:/language/ControlPanel/Toolbars/ViewToolbar/Hint}}
<$set name="tv-config-toolbar-icons" value="yes">
<$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i>
</$list>
</$set>
</$set>

Some files were not shown because too many files have changed in this diff Show More