1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-01-22 10:54:46 +00:00

Compare commits

...

803 Commits

Author SHA1 Message Date
Jermolene
0a6077286f Version number update for 5.0.9-beta 2014-04-15 21:43:51 +01:00
Jermolene
634e76eb7f Update release date for 5.0.9 2014-04-15 21:39:46 +01:00
Jermolene
cd1463cbb0 Get rid of the home button
I’m not keen on it because it ends up being very visually prominent for
something that’s not particularly useful.
2014-04-15 20:33:58 +01:00
Jermolene
4b8be85b88 Docs updates 2014-04-15 13:24:43 +01:00
Jermolene
d01f1020d2 Release note updates 2014-04-15 09:07:25 +01:00
Jermolene
f77de37a2f Include Japanese translation in tiddlywiki.com
All of which is making index.html far too big, which we’ll address with
a plugin library.
2014-04-15 09:07:19 +01:00
Jeremy Ruston
f3c5ce7ca4 Merge pull request #558 from pekopeko1/japanese
Translation to Japanese.
2014-04-15 08:34:12 +01:00
Jermolene
6ed38389b0 Update test for previous commit
Test should have been updated with
dad60cda05
2014-04-15 08:28:47 +01:00
pekopeko1
5393fbee99 signed in CLA 2014-04-15 12:14:34 +09:00
pekopeko1
3b31c6fe3a some translation added 2014-04-15 12:00:04 +09:00
pekopeko1
9ba55c7e79 GettingStarted.tid plugin.info 2014-04-15 09:59:30 +09:00
pekopeko1
9323574efb add ja-JP directory 2014-04-15 09:58:21 +09:00
Jermolene
f5cf8cba5c Docs update 2014-04-14 21:33:16 +01:00
Jermolene
88be791e58 Fix full screen background 2014-04-14 21:30:42 +01:00
Jermolene
dad60cda05 Improve wiki.sortByList()
Previously list-before and list-after didn’t work if they referenced
entries that hadn’t yet been placed
2014-04-14 21:30:30 +01:00
Jermolene
fe0ed5e4ce Tweaks to themes
And shaking out some paragraph tags in the sidebar
2014-04-14 18:37:09 +01:00
Jermolene
aa243e4478 Add new seamless theme
Gets rid of the borders around tiddlers, and tightens up the use of
white space. Works particularly well with the sidebar hidden.
2014-04-14 13:12:44 +01:00
Jermolene
4c648e7cdc Exclude more illegal characters from external links 2014-04-14 11:17:28 +01:00
Jermolene
0aa559cd23 Improve responsiveness during editting
Simple optimisation whereby we defer the main refresh cycle when only
draft tiddlers have been modified.

We defer for 400ms, and keep extending the delay at each fresh draft
modification. The effect is that if the user is using the preview then
they’ll need to pause typing for 400ms before the preview is updated.

Fixes #470, #454, and maybe #206.
2014-04-14 10:20:32 +01:00
Jermolene
28db76ddb3 Refactor page rendering into a separate function
Refactoring page rendering so that we can fix the performance issues
with editing drafts. The plan is to defer the refresh cycle if all the
changes are to draft tiddlers.

We need to do a bit more of this to get startup.js into better shape
(and more extensible).
2014-04-14 09:53:13 +01:00
Jermolene
e366aa3746 Use Date.now() instead of new Date()
Just for when what we actually want is a millisecond counter.

Interesting video about this:

https://www.youtube.com/watch?v=Vo72W1HWeFI
2014-04-14 09:02:52 +01:00
Jermolene
22a529b28d New ribbon colour for 5.0.9 2014-04-14 08:57:50 +01:00
Jermolene
c2d6086bd9 Show fewer tiddlers in recent changes 2014-04-13 21:17:44 +01:00
Jermolene
f1578d3409 Turn off instrumentation
All those console.log()s make editing very slow
2014-04-13 21:17:44 +01:00
Jermolene
93b9d16d6c Don't include pipe characters in URLs 2014-04-13 21:17:44 +01:00
Jeremy Ruston
13bb20cad4 Merge pull request #553 from xcazin/fr-FR
fr-FR translation of the confirmation string before cancelling tiddler changes
2014-04-13 21:03:42 +01:00
Xavier Cazin
bba7e97f60 fr-FR translation of the confirmation string before cancelling tiddler changes 2014-04-13 16:55:13 +02:00
Xavier Cazin
cb32d187c5 Merge remote-tracking branch 'upstream/master' 2014-04-13 16:45:30 +02:00
Jeremy Ruston
8582e5ebe2 Merge pull request #552 from BramChen/master
Add chinese translations of confirmation for cancelling edits
2014-04-13 09:24:45 +01:00
Jermolene
46969fbd3e Adjust Cecily tiddler width 2014-04-13 09:24:06 +01:00
Jermolene
260d3ad8c0 Docs typo 2014-04-13 09:23:57 +01:00
Bram Chen
d9b87055bf Add chinese translations of confirmation for cancelling edits 2014-04-13 14:34:17 +08:00
Jermolene
4f4b743d9c Fix Cecily tiddler width for when sidebar hidden 2014-04-12 18:24:39 +01:00
Jermolene
ee2cd2056c Make tiddler width fluid when sidebar hidden 2014-04-12 17:14:27 +01:00
Jermolene
be5f6f6700 Allow spaces in property names in text references 2014-04-12 17:14:09 +01:00
Jermolene
be7822281a Release note updates 2014-04-12 16:32:58 +01:00
Jermolene
3afa26b9a3 Require confirmation before abandoning edits
Fixes #544
2014-04-12 14:15:49 +01:00
Xavier Cazin
2a2cc20601 Merge remote-tracking branch 'upstream/master' 2014-04-12 10:22:07 +02:00
Jeremy Ruston
400ab3b3c5 Merge pull request #550 from xcazin/fr-FR
3 new plugin-related strings in fr-FR Control Panel
2014-04-12 08:44:42 +01:00
Xavier Cazin
ebe7587aa0 Merge remote-tracking branch 'upstream/master' into fr-FR 2014-04-12 08:48:00 +02:00
Xavier Cazin
c954ac01fe Merge remote-tracking branch 'upstream/master' 2014-04-12 08:46:18 +02:00
Jermolene
a3cf925e56 Add classes for the current theme and language
Add the classes to the tw-page-container DIV
2014-04-11 21:37:58 +01:00
Xavier Cazin
be7c33dc48 Revert "Another missed update"
This reverts commit 7aaab03e03.
2014-04-11 16:23:23 +02:00
Xavier Cazin
634f914610 Another missed update 2014-04-11 16:15:56 +02:00
Xavier Cazin
7aaab03e03 Another missed update 2014-04-11 16:13:32 +02:00
Xavier Cazin
fd1399f6d9 3 new plugin-related strings in fr-FR Control Panel 2014-04-11 09:48:32 +02:00
Jermolene
442bc35bcb Remove dropdown from edit mode tags
Firefox didn’t like the nested buttons.

The better fix would be to switch the tag pills to being links instead
of buttons.

Fixes #515
2014-04-10 22:49:46 +01:00
Jermolene
1bc9bf541a Remove headings from Tiddler Info advanced tab
Fixes #518
2014-04-10 21:44:56 +01:00
Jermolene
ccf2cb36a1 Extend sameday operator to select field
Now the target field can be specified in the suffix:
`[sameday:created[20140808]]`
2014-04-10 20:19:12 +01:00
Jeremy Ruston
18d14031b7 Merge pull request #548 from xcazin/fr-FR
Four file updates on fr-FR translations
2014-04-10 20:08:26 +01:00
Jermolene
5fff6fc87f Docs update 2014-04-10 19:57:21 +01:00
Jermolene
5a65898dbe Update tiddler filter docs 2014-04-10 19:56:51 +01:00
Jermolene
cbf45a9982 Update release note 2014-04-10 19:56:43 +01:00
Jermolene
7a4a00f6ca Sort operator should default to title
Previously we were crashing if a sort field wasn’t specified
2014-04-10 19:56:21 +01:00
Xavier Cazin
dfb367c104 Last fr-FR updates to translatable content 2014-04-10 15:46:00 +02:00
Xavier Cazin
7853b7f7b3 Four file updates on fr-FR translations 2014-04-10 12:38:55 +02:00
Jermolene
ccefc1b17b Tolerate more whitespace in block elements
Previously the double newlines marking a block mode element couldn’t be
interspersed with whitespace.
2014-04-10 11:05:27 +01:00
Jeremy Ruston
6786a1fd14 Merge pull request #547 from BramChen/master
Fix typo in PaletteColours.multids for zh-Hant
2014-04-10 08:29:32 +01:00
Bram Chen
e73d2854f9 Fix typo in PaletteColours.multids for zh-Hant 2014-04-10 09:34:48 +08:00
Jeremy Ruston
127cd70769 Merge pull request #545 from xcazin/fr-FR
fr-FR translation of PaletteColours.multids + typo in core en-GB of the same
2014-04-09 22:20:40 +01:00
Jermolene
fc407d079c Pixel accuracy for restoring pre-refactor layout
Two problems:

* Extraneous whitespace shows up as whitespace in the HTML, making it
hard to style
* Fix some padding
2014-04-09 22:19:27 +01:00
Jermolene
df6fe8f852 Merge branch 'sidebar-remove-p' of https://github.com/pmario/TiddlyWiki5 into pmario-sidebar-remove-p 2014-04-09 21:56:20 +01:00
Jermolene
613f413942 Add docs on filter changes in 5.0.9 2014-04-09 21:53:34 +01:00
Mario Pietsch
70a2db34d1 these changes remove most of the <p> tags from the right sidebar, without changing the layout too much. The tab buttons are a little bit higher but this will be adjusted with the next CSS tweaks. 2014-04-09 21:12:10 +02:00
Mario Pietsch
5821165ec5 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-04-09 19:59:39 +02:00
Xavier Cazin
4888417a35 fr-FR translation of PaletteColours.multids + typo in core en-GB version. 2014-04-09 19:11:41 +02:00
Jeremy Ruston
2aa1acb565 Merge pull request #526 from BramChen/master
Keep up-to-date changes for chinese translations.
2014-04-09 16:11:39 +01:00
Jermolene
e5fe3f76ac Fix linkcatcher message sending
We need to send messages to the parent so that we don’t set up an
infinite loop by sending `tw-navigate` messages. Also we need to pass
along the target of the navigation.
2014-04-09 16:09:12 +01:00
Jermolene
ef03e5ce63 Docs update 2014-04-09 14:33:55 +01:00
Jermolene
690c8fe9a0 Update macros docs
Include single line macros
2014-04-09 14:33:47 +01:00
Jermolene
6f1e8ee3a1 Missed adjustments of wikitext tests
The commit 4d91a7762e broke the test
2014-04-09 11:54:03 +01:00
Jeremy Ruston
9b52ca7cc0 Merge pull request #543 from welford/load-and-deserialize
Make deserializing a bit more robust
2014-04-09 11:51:16 +01:00
Jermolene
f9a274df85 Require confirmation for all tiddler deletions
Previously we only asked for confirmation when deleting a draft tiddler
2014-04-09 11:32:08 +01:00
Jermolene
776bf29afc Update LinkCatcherWidget docs 2014-04-09 11:31:36 +01:00
Jermolene
f08c4aa525 Arrange fields alphabetically in the edit template 2014-04-09 11:31:27 +01:00
James Welford Anderson
0f07977930 deserializertype -> deserializerType 2014-04-09 06:26:01 +09:00
James Welford Anderson
362df18a19 make deserializing a bit more robust
load.js references the encoding set in boot.js when loading a file.
boot.js can now register file type with different deserialization from
their actual type
2014-04-09 06:20:51 +09:00
Jermolene
426281539a Merge branch 'saner-filters' 2014-04-08 14:14:11 +01:00
Jermolene
dc5831a8a8 First pass at a release note for 5.0.9 2014-04-08 14:12:35 +01:00
Jermolene
6d43b4e8dc Update link widget docs 2014-04-08 14:12:27 +01:00
Jermolene
3282bd948f Fix problem with search filter operator 2014-04-08 09:36:30 +01:00
Jermolene
7ec356ac80 Add @welford's signature to CLA 2014-04-08 09:16:22 +01:00
Jeremy Ruston
688879e6fa Merge pull request #540 from mwfogleman/michael-cla
Add Michael Fogleman to cla-individual.md.
2014-04-08 08:55:39 +01:00
Michael Fogleman
9bdd7a4e19 Add Michael Fogleman to cla-individual.md. 2014-04-08 11:24:38 +05:30
Jermolene
78f81a6894 Move notifications a little to the left
So that they don’t overlap the menu hamburger
2014-04-07 19:01:08 +01:00
Jermolene
5ec0775d3e Link wikitext help text to tiddlywiki.com
Fixes #537
2014-04-07 18:08:11 +01:00
Jermolene
c4d0ee11d3 Update Emacs tip 2014-04-07 09:02:31 +01:00
Jermolene
597b8ca4b1 Ensure fieldnames are not wikified
`__proto__` was being wikified into underlined text
2014-04-06 22:49:59 +01:00
Jermolene
ea46f85a8a Fix problem with fields called "__proto__" 2014-04-06 22:49:20 +01:00
Jermolene
1e960ffcac Fix problems with tiddlers called __proto__
Background:

http://www.2ality.com/2012/01/objects-as-maps.html
2014-04-06 22:43:10 +01:00
Jermolene
8a7d0f53d3 Add a sourceURL to the end of eval'd code
This, miraculously, lets Chrome dev tools list tiddler modules in the
script tag by their proper titles. Which lets you set breakpoints
within them!!!!!

https://chromedevtools.googlecode.com/svn-history/r421/trunk/tutorials/b
reapoints/index.html#regular
2014-04-06 22:36:51 +01:00
Jermolene
b51d851f93 Fix extraneous comma
Thanks to Danielo Rodríguez
2014-04-06 22:09:42 +01:00
Jermolene
e21d558ff0 Add Michael Fogleman's Emacs macro 2014-04-06 22:08:29 +01:00
Jermolene
c7b4febae3 Optimise ordering of filter expressions
We get a significant speed improvement of >10% by rearranging filter
operators to bring to the front the operators likely to reduce the size
working list.
2014-04-06 11:50:16 +01:00
Jermolene
4d91a7762e Optimise link widget
Handle the classes better, and stop using a default tooltip (parsing
the tooltip was a performance hog)
2014-04-05 17:37:58 +01:00
Jermolene
272a4bbe61 Filtering optimisations 2014-04-05 17:31:36 +01:00
Jermolene
b7f674c51a First pass at refactoring filter execution
This is the beginning of addressing #523.
2014-04-03 20:49:16 +01:00
Jermolene
14f90b9519 Include direct tiddler link in template for community links 2014-04-03 20:30:31 +01:00
Jermolene
2f458e8573 Add link to Martin Kantor's MathJax plugin 2014-04-03 20:25:40 +01:00
Jermolene
3619eb1378 Fix missing newline
Fixes #529
2014-04-03 18:10:54 +01:00
Mario Pietsch
9bd626315e Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-04-03 19:03:51 +02:00
Jeremy Ruston
d3c0296a87 Merge pull request #520 from pmario/decouple-sitetitle
right menue SiteTitle and SiteSubtitle decoupled
2014-04-03 17:02:22 +01:00
Jermolene
e397e4d159 Disable the tiddlyweb adaptor unless loaded over http(s) 2014-04-03 16:33:42 +01:00
Jermolene
93c29bd388 Fix missing require in filesystem adator 2014-04-03 15:40:30 +01:00
Bram Chen
7985a808bf Keep up-to-date changes for chinese translations. 2014-04-02 16:27:03 +08:00
Mario Pietsch
aced860d52 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-04-01 23:20:59 +02:00
Jeremy Ruston
c1bb7b00c1 Merge pull request #522 from pmario/de-DE
german language update. Contains changes till Mar 31, 2014
2014-04-01 15:24:06 +01:00
Mario Pietsch
856b68a34d german language update. Contains changes till Mar 31, 2014 2014-04-01 15:43:08 +02:00
Mario Pietsch
1940bd4dce right menue SiteTitle and SiteSubtitle decoupled from tiddler title and tiddler subtitle. Otherwise it is not possible to modify the tiddler title styling, without affecting the site title. 2014-04-01 10:34:58 +02:00
Jermolene
d402d3c5a6 Add performance measurement features
This is an experimental module to help us measure the performance of
the refresh cycle and the filter mechanism. Not intended to replace the
performance measurement features in browser developer tools, just to
make it easier to automate performance checks cross-browser.

The immediate purpose is to help in refactoring the filter mechanism.
The recent change to encapsulate the wiki store “tiddlers” object has
hurt the performance of filters, and it’s going to be helpful to have
decent measurements while refactoring that code.

I’m still not convinced that this stuff should be in the core, and may
well end up removing it after the present refactoring cycle.
2014-04-01 08:33:36 +01:00
Jermolene
dcce487934 Add support for platform dependent high resolution performance timers
For profiling filter performance
2014-03-31 18:42:30 +01:00
Jermolene
53ca7f6a2f More defensive handling of pluginInfo 2014-03-31 18:30:45 +01:00
Jermolene
c3e24c1228 Trim spaces from new field and tag names
Fixes #517
2014-03-31 17:59:28 +01:00
Jermolene
6307293469 Fix some Node.js cross-platform compatibility issues
Thanks to http://shapeshed.com/writing-cross-platform-node/

Surprising that file path format is pretty much the only issue.
2014-03-31 17:17:36 +01:00
Jeremy Ruston
0d0679de1b Merge pull request #514 from Skeeve/patch-6
Show site title when logging in
2014-03-31 12:59:15 +01:00
Jermolene
09214d1c33 Fix problem with --load command overwriting $:/core
Now we use the `wiki.importTiddler()` method - it rejects attempts to
load older versions of loaded plugins
2014-03-31 12:46:10 +01:00
Jermolene
914a536d82 Correct relative date handling of t=1s
We were incorrectly displaying “1 seconds ago”
2014-03-31 12:41:54 +01:00
Jermolene
5a085f7927 Add basic CSV parser 2014-03-31 12:41:02 +01:00
Skeeve
0595619d39 Show site title when logging in
I have several TW5 servers running on the same host and think it would be good, would the password prompt display the $:/SiteTitle
2014-03-31 08:58:13 +02:00
Jermolene
776c9a2cad Add James Anderson's resource links 2014-03-27 09:56:33 +00:00
Jeremy Ruston
36dabd792e Merge pull request #509 from BramChen/master
Update chinese translations of types
2014-03-27 09:55:31 +00:00
Jermolene
ec90ac99cf Skinner dropdown arrow 2014-03-27 08:54:28 +00:00
Bram Chen
299007f08b Update chinese translations of types. 2014-03-27 10:06:40 +08:00
Bram Chen
49578bb144 Merge remote-tracking branch 'upstream/master' 2014-03-27 09:33:36 +08:00
Jeremy Ruston
ead5e607fa Merge pull request #502 from BramChen/master
Add chinese translations of translatable core strings in JavaScript modules
2014-03-26 22:15:01 +00:00
Jermolene
5c3c6cd7c0 Fix various typos 2014-03-26 21:57:13 +00:00
Jeremy Ruston
818b29386e Merge pull request #504 from buggyj/58texthtml
added missing text/html type
2014-03-26 21:49:45 +00:00
Bram Chen
c0f78df48d Merge remote-tracking branch 'upstream/master' 2014-03-27 00:53:15 +08:00
Jermolene
c58852a67b On narrow screens ensure there is a background behind the home and menu buttons 2014-03-26 14:11:26 +00:00
Jermolene
bca1d55280 Add validation of legal characters for fieldnames 2014-03-26 13:38:43 +00:00
Jermolene
45a362c285 Add a dropdown to tags in edit mode
As discussed in TW Hangout 40
2014-03-26 13:06:11 +00:00
Jermolene
355f467465 Update line colour for SVG curved text example 2014-03-26 10:16:15 +00:00
Jermolene
871630be88 Fix the menu hamburger 2014-03-26 10:16:00 +00:00
Jermolene
8b813ccb43 Correct typo 2014-03-25 22:17:31 +00:00
Jermolene
59ac38a3da Remove the scrollable from the story river
The problem was that the scrollable required that the mouse be over the
story river itself in order to scroll it with the wheel. If we fallback
to scrolling the story by scrolling the browser body then we are able
to scroll even if the mouse is over the sidebar.
2014-03-25 22:15:54 +00:00
Jermolene
80b65b1651 Add a top-left and top-right menu 2014-03-25 21:54:06 +00:00
Jermolene
7dede861e1 Fix styling for input boxes in sidebar 2014-03-25 21:53:18 +00:00
Jermolene
514b8e1776 Fix hover colour of the close buttons in the sidebar "open" tab 2014-03-25 14:37:55 +00:00
Jermolene
79d643775d Fix scrollable widget not to crash on the server 2014-03-25 14:37:33 +00:00
Jermolene
945ad6792f Add first pass at Cecily plugin 2014-03-25 14:29:32 +00:00
Jermolene
7c235566c4 Rejig the page layout to use the scrollable widget
This is the start of some refactoring of the main layout CSS intended
to give us more flexibility and control.
2014-03-25 14:29:16 +00:00
Jermolene
d3e178becc Add scrollable widget
A new widget to handle scrollable areas. We’ll use it both for the
story river and the sidebar.
2014-03-25 14:26:54 +00:00
Jermolene
bc432d5e52 Remove obsolete nighttime theme
Better to do change the background colour with a palette
2014-03-25 09:31:48 +00:00
Jermolene
fa10801d72 Fix tags for curved text howto 2014-03-24 22:53:11 +00:00
Jermolene
87c8478c80 Add curved text demo 2014-03-24 22:49:10 +00:00
Jermolene
535837e017 Use client bounding rect rather than offset positions for computing scroll positions 2014-03-24 22:31:03 +00:00
Jermolene
20f6383528 Add storyviews list filter and use it in view switcher 2014-03-24 22:17:45 +00:00
Jermolene
26fd460670 Move the version banner to the sidebar
By making it a page control we move it into the sidebar, making it easy
to control with the sidebar.
2014-03-24 21:37:42 +00:00
Jermolene
20d7264e4b Add protocol to YouTube URLs
Otherwise they don’t work when viewed from a file URI
2014-03-24 21:36:19 +00:00
Jermolene
3ce2159a95 Missing semicolon 2014-03-24 21:35:48 +00:00
buggyj
968d44e4be added missing text/html type 2014-03-24 11:31:28 +05:30
Bram Chen
f46d445ba2 Add chinese translations of PaletteColours 2014-03-24 10:34:36 +08:00
Bram Chen
1b0a39cd1a Add chinese translations of translatable core strings in JavaScript modules 2014-03-24 10:25:54 +08:00
Jeremy Ruston
cb2653aee0 Merge pull request #499 from mpollio/master
Italian translation available
2014-03-23 13:49:31 +00:00
Jermolene
34445dcc68 Break the links up into separate tiddlers 2014-03-22 17:32:28 +00:00
Maurizio
54abcdceeb Update cla-individual.md 2014-03-21 17:22:12 +01:00
Maurizio
cf7554a938 Delete favicon.ico 2014-03-21 11:03:24 +01:00
Maurizio
fb72b3b859 Delete index.html 2014-03-21 11:03:16 +01:00
Jeremy Ruston
03cfa61ae8 Merge pull request #494 from nameanyone/master
Stop using obsoleted "-moz-border-radius" and "-webkit-border-radius" pr...
2014-03-20 22:19:45 +00:00
Jeremy Ruston
4badabce4b Merge pull request #496 from buggyj/syncer
syncer freeze fix
2014-03-20 20:58:50 +00:00
Jeremy Ruston
3cb2b365c5 Merge pull request #498 from buggyj/plugindocumentation
Plugin development with github
2014-03-20 20:56:30 +00:00
Jermolene
178cfb1084 Make more core strings be translateable
Now we’re translating strings that occur in JavaScript modules.

Partially fixing #491
2014-03-20 20:55:59 +00:00
mpollio
920df5d2d4 Italian translation available
Add italian translation
2014-03-20 13:40:40 +01:00
buggyj
7b57561160 plugin development doc 2014-03-20 13:28:17 +05:30
buggyj
d2a41b8486 plugin development with github and node.js 2014-03-20 13:20:52 +05:30
buggyj
aa63151815 syncer freeze fix 2014-03-19 20:20:54 +05:30
Jermolene
ba6edd42c1 Explicitly blacklist unsafe elements, starting with <script>
Are there are any other elements that might be considered unsafe?
2014-03-19 10:05:44 +00:00
nameanyone
7616c4ce7d Stop using obsoleted "-moz-border-radius" and "-webkit-border-radius" properties
Fixes #480
2014-03-18 16:38:52 -07:00
Jermolene
925b3d2a5b Fix typo 2014-03-18 21:18:46 +00:00
Jermolene
b8d0fd059b Fix bug with plugintiddlers filter operator 2014-03-18 21:18:45 +00:00
Jermolene
a19432541e New architecture diagram and docs updates 2014-03-18 21:18:45 +00:00
Jeremy Ruston
b52299872a Merge pull request #493 from BramChen/master
Add chinese translations of ClassicWarning section for TWC tiddlers
2014-03-18 08:45:56 +00:00
Bram Chen
699b863588 Add chinese translations of ClassicWarning section for TWC tiddlers 2014-03-18 09:53:29 +08:00
Jermolene
bdbbf94326 Update transclusion wikitext syntax to allow a template without a target tiddler
This allows us to transclude a tiddler without changing the current
tiddler with `{{||MyTiddler}}`.
2014-03-17 21:44:10 +00:00
Jermolene
cdf3e101a8 Fix crash with headings
`this.match[1].length` can get overwritten when we parse the content of
the heading
2014-03-17 20:55:08 +00:00
Jermolene
06500e5f71 New error message text for recursive transclusion error 2014-03-17 11:54:41 +00:00
Jermolene
9de17aa206 Make shadowTiddlers, pluginTiddlers and pluginInfo be private to the Wiki object constructor 2014-03-17 10:50:18 +00:00
Jermolene
279626a3e3 Freeze array or object tiddler fields
Previously object fields like the tags array weren’t frozen.
2014-03-17 08:58:42 +00:00
Jermolene
721e333a20 Starting to make the members of $tw.Wiki be private
We want to avoid plugins from directly accessing the tiddlers hashmap.
Later we’ll do pluginTiddlers, pluginInfo and shadowTiddlers.
2014-03-16 21:23:10 +00:00
Jermolene
499730c458 Remove whitespace between toolbar icons 2014-03-15 17:04:12 +00:00
Jermolene
baa8cf3dd0 Add a warning segment to templates for TWC tiddlers
Now there’s a warning banner on all TWC tiddlers. It includes an
`upgrade` button that currently just flips the tiddler type to TW5
2014-03-15 17:03:50 +00:00
Jermolene
f649b5b037 Extend button widget to set text references
Previously the `set` attribute could only be used to identify a
tiddler, not a full text reference.
2014-03-15 17:02:13 +00:00
Jermolene
afa677b9a0 Add a class to tiddler frames in view mode
We’re already marking tiddlers in edit mode with tw-tiddler-edit-mode,
makes sense to make view mode tiddlers too.
2014-03-15 11:20:33 +00:00
Jeremy Ruston
6fe884bb8a Merge pull request #489 from BramChen/master
Keep up-to-date changes for zh-Hant and zh-Hans
2014-03-15 09:02:29 +00:00
Bram Chen
00af144085 Add Chinese translations for tiddler info 'advanced' panel 2014-03-15 09:57:50 +08:00
Bram Chen
5d893397c4 Merge remote-tracking branch 'upstream/master' 2014-03-15 08:39:54 +08:00
Jermolene
42c67cfeb7 Add tiddler info "advanced" panel 2014-03-14 15:23:28 +00:00
Jermolene
b714c67374 Refactor plugin loading to retain plugin info for all plugins
Previously we were not reading the plugin info for plugins that hadn’t
been loaded.
2014-03-14 15:23:12 +00:00
Jermolene
00cb2f4659 Add links to static representations for people with JS turned off 2014-03-14 15:21:52 +00:00
Jermolene
24b6603c42 Fix problem with checking versions of plugins carrying a badly formatted "version" field 2014-03-14 10:43:22 +00:00
Bram Chen
a82e50c07f Keep up-to-date changes for zh-Hant and zh-Hans 2014-03-14 13:02:49 +08:00
Jermolene
ebc77fbd09 Get ready for a new view template segment carrying information about plugins 2014-03-13 17:44:27 +00:00
Jermolene
96457d8011 Rejig plugins tab of control panel
Now we divide the plugins into categories and organise the displayed
information a bit better
2014-03-13 17:43:18 +00:00
Jermolene
3d9f61f041 More whitespace in core templates 2014-03-13 17:42:29 +00:00
Jermolene
f48701544e Enhance tiddler title for system tiddlers
Now the $:/ part of the name is rendered in grey, making the main part
of the title more prominent.

@tobibeer suggested this a long time ago; good idea!
2014-03-13 17:40:53 +00:00
Jermolene
50cf9678cb Add support for tw-home message 2014-03-12 22:32:13 +00:00
Jermolene
c4119f4f93 Default colour tweaks 2014-03-12 22:22:18 +00:00
Jermolene
cafe74fc89 Tweaks to list-before and list-after field descriptions 2014-03-12 22:22:02 +00:00
Jeremy Ruston
2466389397 Merge pull request #485 from TheDiveO/master
added descriptions for list-before, list-after
2014-03-12 21:57:41 +00:00
Jermolene
dd3ee2a603 Extend tag manager to edit icons assigned to tags
Add a dropdown for choosing available images for a tag.

As part of this change we need to tag tiddlers that contain images
typed as wikitext (these are inline SVG icons) so that we can display
them in the dropdown.
2014-03-12 21:56:46 +00:00
Jermolene
8e17c1dfd5 Fix setTextReference()
It wasn’t working for non-existent tiddlers. Also added support for
setting indexed properties of a data tiddler.
2014-03-12 21:54:43 +00:00
Jermolene
9bd0174205 Left off previous commit 2014-03-12 21:53:50 +00:00
TheDiveO
522dad95be added descriptions for list-before, list-after 2014-03-12 21:26:18 +01:00
Jeremy Ruston
87c4839fed Merge pull request #484 from TheDiveO/master
signed CLA
2014-03-12 20:06:01 +00:00
Jermolene
22b6425bac Update link to tags docs 2014-03-12 20:05:45 +00:00
Jermolene
5ba92fe274 Update to latest version of normalize.css and fix tab styling
Tab styling was inconsistent on Firefox due to some line-height issues.
2014-03-12 20:05:34 +00:00
TheDiveO
91939d67ed signed CLA 2014-03-12 20:45:04 +01:00
Jermolene
d0caf21b2d Exclude attributes starting "on" on HTML elements
Because:

* It doesn't work well with TW5's refresh mechanism, which relies on
being able to regenerate any portion of the DOM as required; this
frequently causes inline handlers to be re-executed at unexpected times
(see
http://tiddlywiki.com/static/TiddlyWiki%2520for%2520Developers.html)
* It mixes TW5 version-specific JavaScript with user content
* In multiuser environments there is a security risk to importing or
viewing tiddlers you didn't author if they can have JavaScript in them
2014-03-12 16:39:18 +00:00
Jermolene
0d18f3cc5d Add support for ordering tags by the 'list-before' and 'list-after' fields
See the discussion here:

https://groups.google.com/d/topic/tiddlywikidev/AXDJEjcAphs/discussion
2014-03-12 14:19:26 +00:00
Jermolene
a3507bf611 Freeze the fields of a tiddler
Thus enforcing the immutability of tiddler objects
2014-03-12 08:33:13 +00:00
Jermolene
62bc20a181 Restore visibility of system tags in view template
On discussion at Hangout #38 we felt that hiding them was confusing,
and that there were few situations where a user would see system tags
except on system tiddlers.
2014-03-11 18:25:41 +00:00
Jermolene
9ded88105b Update test of tagging filter to reflect 0d7c4ae6c7 2014-03-11 15:53:41 +00:00
Jermolene
aec618793f Fix problem with refreshing D3 plugin
Fixes #217
2014-03-11 11:12:56 +00:00
Jeremy Ruston
fe33906ef0 Merge pull request #481 from BramChen/master
Add chinese translation of canned filters
2014-03-11 08:30:33 +00:00
Jermolene
6a17bad96e Add margin on code blocks and tables 2014-03-11 08:29:11 +00:00
Bram Chen
4f9fa5d66e Add chinese translation of canned filters 2014-03-11 12:51:32 +08:00
Jermolene
0d7c4ae6c7 Include tags on shadow tiddlers in tagging filter
Ensures that for system tiddlers the info panel "Tagging" tab correctly
shows the tagged tiddlers.

Final fix for #478
2014-03-10 19:41:38 +00:00
Jermolene
2608a323eb Hide system tags from the sidebar tags list
Part of #478
2014-03-10 19:40:07 +00:00
Jermolene
8d612aefdd Fix problem with theme overrides triggering the syncer object
Fixes #479
2014-03-10 19:05:06 +00:00
Jermolene
ad96c48034 Docs updates 2014-03-10 18:41:30 +00:00
Jermolene
12e153ecff Update wikitext tests to reflect title attribute 2014-03-10 18:41:26 +00:00
Jermolene
db35bc36aa Disable storyviews when rendering to the fake dom 2014-03-10 18:41:11 +00:00
Jermolene
af34fbbca3 Only show command line help if no arguments are provided
Previously we were checking in a way that meant that `tiddlywiki
<wiki>` would trigger the help message.
2014-03-10 18:20:07 +00:00
Jermolene
8239275edb Add dropdown of canned filter searches
Now you can pick from a dropdown of predefined filtered searches in the
advanced search filter tab.
2014-03-10 18:16:10 +00:00
Jermolene
be6509a17f Remove system tags from sidebar tags listing 2014-03-10 18:15:12 +00:00
Jermolene
01e1133219 Fix bug where count widget wasn't being updated correctly 2014-03-10 18:15:00 +00:00
Jermolene
f04527ae32 Correct filter for count of overridden shadow tiddlers 2014-03-10 15:05:07 +00:00
Jermolene
98872bbe7c Allow pasting/dropping of HTML content
Fixes #477
2014-03-09 20:39:03 +00:00
Jermolene
bc8b72e6eb Use hasOwnProperty to text for tiddler existence 2014-03-09 19:20:58 +00:00
Jermolene
127d547632 Avoid confusion with the word "breaking"
I meant “broken” in the sense of “incompatible”, not “breaking” as in
“news”.
2014-03-09 09:19:47 +00:00
Jermolene
53755d87c8 Added tooltip examples to the link widget 2014-03-09 09:16:31 +00:00
Jermolene
289bec0fd5 Parse the wiki link tooltip as wiki text 2014-03-08 16:06:57 +00:00
Jermolene
8bd1fa50dc Fixed typo in dom maker 2014-03-08 10:43:01 +00:00
Jermolene
81af6bdd48 Fix typo in navigate handler for button widget 2014-03-08 10:22:09 +00:00
Jermolene
a5a2c718b1 Add support for a tooltip on the link widget 2014-03-06 12:38:47 +00:00
Jeremy Ruston
6b67a3f3c2 Merge pull request #471 from BramChen/master
Update doc and the chinese tranlastions of descriptive text for missing tiddlers
2014-03-06 08:31:54 +00:00
Jermolene
1cea80a3ab Docs update 2014-03-06 08:31:05 +00:00
Bram Chen
b6a202f525 Update doc 2014-03-06 11:47:20 +08:00
Bram Chen
7b109506c8 Update the chinese tranlastions of descriptive text for missing tiddlers 2014-03-06 11:31:17 +08:00
Jermolene
c277370e48 Display --help message if run without arguments
Fixes #389
2014-03-05 11:13:58 +00:00
Jermolene
f83443feac Fix location of stylesheet docs 2014-03-05 09:14:08 +00:00
Jermolene
8529ad13d6 Docs on using stylesheets 2014-03-05 09:13:14 +00:00
Jeremy Ruston
8deedf93a2 Merge pull request #467 from nameanyone/master
Fix a typo
2014-03-05 08:22:23 +00:00
nameanyone
bdcfa75220 Fixed a typo 2014-03-04 20:15:53 -08:00
nameanyone
20d39588b5 Signed CLA 2014-03-04 20:14:57 -08:00
Jermolene
67f3d58f71 Fix problem with "null" message when unloading under IE11
Fixes #457
2014-03-04 22:21:18 +00:00
Jeremy Ruston
bbfb855c2e Merge pull request #465 from BramChen/master
Add chinese translation of MissingTiddler stuff in Misc.multids.
2014-03-04 21:47:18 +00:00
Jermolene
6a63a45968 Improved tiddler filter documentation 2014-03-04 21:17:01 +00:00
Jermolene
70d2d4b7a1 Remove the "create" button from the missing tiddler template 2014-03-04 18:55:43 +00:00
Bram Chen
6aa21b3db6 Add chinese translation of MissingTiddler stuff in Misc.multids. 2014-03-04 17:38:26 +08:00
Jermolene
ff32317f5b Update grammar docs 2014-03-04 09:06:14 +00:00
Jermolene
df6436a12c Allow middle mouse button to trigger navigation suppression when clicking a tiddler link
Equivalent to holding control/command while clicking.
2014-03-03 09:09:13 +00:00
Jermolene
0200bc1b4e Force the highlight language to lower case 2014-03-02 19:42:40 +00:00
Jermolene
bd750a21e2 Add docs for keyboard widget 2014-03-02 19:30:13 +00:00
Jermolene
8c3782c1e2 Docs update 2014-03-02 18:43:59 +00:00
Jermolene
2f2a257745 Improve the descriptive text for missing tiddlers
Now we explain that it’s a missing tiddler, and add a “create” button
2014-03-02 18:43:22 +00:00
Jermolene
ab7d2d64e7 Add docs for tw-close-other-tiddlers message
Fixes #461
2014-03-02 18:36:46 +00:00
Jermolene
bc18501b59 Add @buggj's plugin site to the Community tiddler 2014-03-02 18:36:06 +00:00
Jermolene
0a5ce6d740 Prepare for 5.0.9-prerelease 2014-03-02 18:35:45 +00:00
Jermolene
622d4a2d50 Version number update for 5.0.8-beta 2014-02-28 15:54:01 +00:00
Jermolene
0cff397111 Set release date for 5.0.8 2014-02-28 15:52:12 +00:00
Jermolene
fbf4486d92 Docs updates 2014-02-28 15:50:19 +00:00
Jermolene
2714e0939f Docs updates 2014-02-28 15:48:12 +00:00
Jermolene
bde6f8d2b8 Docs updates 2014-02-28 15:31:43 +00:00
Jermolene
4194f9f20f Retract change to new tiddler handling in navigator.js
Original commit: d5c31ed07f
2014-02-28 15:31:35 +00:00
Jeremy Ruston
2c6e7ef489 Merge pull request #451 from xcazin/fr-FR
Elements necessary to create fr-FR.html via bld-languages.sh, aside "de" and "zh" files
2014-02-28 09:08:24 +00:00
Xavier Cazin
cc5be5eb15 Elements necessary to create an empty fr-FR.html via bld-languages.sh, aside "de" and "zh" files 2014-02-27 23:19:38 +01:00
Jeremy Ruston
be8efe1bc7 Merge pull request #441 from BramChen/master
Keep up-to-date changes for chinese translation
2014-02-27 18:48:38 +00:00
Jeremy Ruston
db3c06ecd0 Merge pull request #446 from xcazin/fr-FR
Last fr-FR translations (along with minor improvements and corrections), plus a typo on transclusion of rendertiddlers.tid.
2014-02-27 18:45:02 +00:00
Jeremy Ruston
947b48bcf9 Merge pull request #447 from pmario/de-DE
Help text tiddlers initial translation to de-DE
2014-02-27 18:41:11 +00:00
Jeremy Ruston
bed6cc7d67 Merge pull request #450 from xcazin/modifications
Added blank lines to switch to block rendering in RevealWidget examples
2014-02-27 18:40:18 +00:00
Xavier Cazin
63cb0eb3db In the examples, missing blank lines prevented the revealed text
to display as a block when clicking on buttons.
2014-02-27 19:21:04 +01:00
Jermolene
89c7310a53 Docs update 2014-02-27 17:07:52 +00:00
Jermolene
f244293cac Add a link back to github for each tiddler on tiddlywiki.com 2014-02-27 16:30:24 +00:00
Jermolene
3994f0dbc6 Add new option to retain tiddler paths 2014-02-27 16:30:05 +00:00
Jermolene
66bb7ad6ba Add backups to the roadmap 2014-02-27 16:29:46 +00:00
Jermolene
84928ac99c Docs updates 2014-02-26 20:27:00 +00:00
Mario Pietsch
6b4ec343a7 help text tiddlers translated to de-DE 2014-02-26 21:14:35 +01:00
Jermolene
3ff85e9507 Docs updates about edition name changes 2014-02-26 19:58:30 +00:00
Jermolene
cd09cf3874 Better documentation for widget messages 2014-02-26 19:55:42 +00:00
Mario Pietsch
9ce79b0795 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into de-DE 2014-02-26 19:41:33 +01:00
Xavier Cazin
e2f964ae73 Translation of new Help directory on server commands. Plus minor improvements on previous translated strings. 2014-02-26 16:09:31 +01:00
Xavier Cazin
2aca526d4e Typo in transclusion. 2014-02-26 15:12:17 +01:00
Jermolene
0aa9f26d51 Docs update 2014-02-26 08:27:40 +00:00
Bram Chen
9e820a602b Keep up-to-date changes for chinese translation 2014-02-26 12:18:00 +08:00
Jermolene
d38c513512 Remove some coloured tag pills
When we render the static representation we get case insensitive
titles, so “community” overwrites “Community”, unhelpfully.
2014-02-25 22:38:34 +00:00
Jermolene
83b2a5d305 More tag colours 2014-02-25 21:22:21 +00:00
Jermolene
bcc282016e Use proper tag pills in the tag manager 2014-02-25 21:22:15 +00:00
Jermolene
cdc99ac29c Whoops, retract change to defaulttiddlers 2014-02-25 20:16:38 +00:00
Jermolene
cf4eed0129 Add first pass at a tag manager
As independently suggested by @Skeeve and @Spangenhelm
2014-02-25 20:14:16 +00:00
Mario Pietsch
70306de1b1 changed favicon, so flag colors are right now 2014-02-25 16:58:43 +01:00
Jeremy Ruston
a1a5ada68f Merge pull request #437 from pmario/de-DE
de-DE added favicon and typo fixes
2014-02-25 14:51:48 +00:00
Jermolene
9233069065 Docs update 2014-02-25 14:51:14 +00:00
Jermolene
e5103c32f3 Move command documentation into the core 2014-02-25 14:50:37 +00:00
Jermolene
cadeb9654c Add help command 2014-02-25 14:50:18 +00:00
Jermolene
2ed8df0d1f Add a new "commands" filter 2014-02-25 14:49:56 +00:00
Jermolene
3636744d4f Add support for retrieving formatted text content from the fake dom
The idea is to convert HTML block elements into newlines, so that the
output is readable on a terminal.
2014-02-25 14:49:07 +00:00
Jermolene
8ce7c3920c Get rid of the old print command
We’ll be introducing a help command to replace it
2014-02-25 14:47:19 +00:00
Mario Pietsch
470c056b8d Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into de-DE 2014-02-25 12:13:30 +01:00
Mario Pietsch
fd3ce5f668 new favicon for german languages. some type fixes. 2014-02-25 12:13:19 +01:00
Jermolene
f42246f171 Docs update 2014-02-24 14:40:41 +00:00
Jermolene
599f5978c9 Docs updates 2014-02-24 14:09:29 +00:00
Jermolene
042698b508 Some rejigging of the editions folders
Now we’re optimising the editions for use with the —init command.
Documentation coming up.
2014-02-24 13:28:55 +00:00
Jermolene
a1ad735822 Extend the init command to allow editions to be merged
Now we can say “—init tw5.com clientserver” to get the tw5.com content
with the client server plugins.
2014-02-24 10:58:11 +00:00
Jermolene
3f6bf2452a Init command should remove any includeWikis definitions
The includeWikis references will otherwise be broken when the edition
is copied.
2014-02-24 10:14:17 +00:00
Jermolene
886d648568 Remove obsolete plugins from tw5.com edition 2014-02-24 09:39:45 +00:00
Jermolene
dd299bf769 Typos and style tweaks 2014-02-23 23:09:58 +00:00
Jermolene
f3930ad69c Add init command to initialise a wiki folder
Fixes #362
2014-02-23 22:58:17 +00:00
Jermolene
b0394f1560 Add support for utils-node modules that are only run under Node.js 2014-02-23 22:57:25 +00:00
Jermolene
327403b3c9 Docs update 2014-02-23 19:28:05 +00:00
Jermolene
6cd13efd48 Docs updates 2014-02-23 19:22:44 +00:00
Jeremy Ruston
6947f8ebc2 Merge pull request #431 from pmario/de-DE
Added new translations for de-DE
2014-02-23 18:08:27 +00:00
Jermolene
0623dd5b7f Include toolbar button colours in palettes 2014-02-23 17:54:38 +00:00
Jermolene
99ccdf4584 Add confirmation when deleting tiddlers
Fixes #381
2014-02-23 17:37:32 +00:00
Jeremy Ruston
a332b82df5 Merge pull request #434 from BramChen/master
Get back on the right path
2014-02-23 17:31:11 +00:00
Jermolene
7f5f4df562 Tweaks to the vanilla theme and palette entries 2014-02-23 17:19:58 +00:00
Bram Chen
2b4dfba2ff Get back on the right path 2014-02-23 20:41:44 +08:00
Jermolene
260080164f Update setTiddlerData() to preserve tiddler dictionaries
Previously, data tiddlers were always being saved in JSON format,
regardless of the original format.
2014-02-23 12:33:00 +00:00
Mario Pietsch
3f7ff22280 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into de-DE 2014-02-22 19:16:25 +01:00
Mario Pietsch
51c1a863f8 translations for Misc.multids and ControlPanel. Fields moved to outer dir 2014-02-22 19:16:16 +01:00
Jermolene
823b4fa61b Docs updates 2014-02-22 17:06:02 +00:00
Jermolene
c3f9cf41d5 Tweaks to @giffmex's palettes 2014-02-22 17:05:56 +00:00
Jermolene
ecb845f1cd Require that wiki folders have a tiddlywiki.info file
Previously, we were just using default content if the tiddlywiki.info
file was missing. This allowed us to do things like `tiddlywiki
—server` without actually being in a valid wiki folder.

Fixes #361
2014-02-22 16:38:34 +00:00
Jeremy Ruston
0737e62161 Merge pull request #430 from xcazin/fr-FR
Corrections on fr-FR translation per Julie Strzelecki remarks.
2014-02-22 16:13:49 +00:00
Jermolene
39ee69910e More docs updates 2014-02-22 16:13:32 +00:00
Jermolene
2ab0facf3a Extend button widget to allow navigating to a tiddler
Fixes #327
2014-02-22 16:13:16 +00:00
Xavier Cazin
6bff3e3163 Corrections on fr-FR translation per Julie Strzelecki remarks. 2014-02-22 17:10:14 +01:00
Jermolene
ec606c89d2 Docs updates 2014-02-22 13:31:24 +00:00
Jermolene
9e0f1240c5 Change SiteTitle/SiteSubtitle into $:/SiteTitle and $:/SiteSubtitle
To make things more consistent
2014-02-22 11:39:18 +00:00
Jermolene
199fdb090d Convert @giffmex themes into colour palettes
Although there are some style changes in the existing themes they’re
mostly a matter of a changed palette.

@giffmex - I’ll send you a prerelease of 5.0.8 so that you can tweak
the palettes if you’ve got time.
2014-02-22 11:00:51 +00:00
Jermolene
d6a44b67a3 Fix control panel modules tab 2014-02-22 08:57:39 +00:00
Jeremy Ruston
2e7efe2dc0 Merge pull request #428 from xcazin/fr-FR
Change suffix tids to multids for 2 fr-translated multi tiddler files
2014-02-22 08:54:10 +00:00
Jermolene
639fd4be20 Docs updates 2014-02-22 08:53:58 +00:00
Jermolene
75ff9fb6c0 Allow the end of text to be treated as a linebreak for parsing HTML tags 2014-02-22 08:43:03 +00:00
Xavier Cazin
57c956716e Overlooked formatting consequences for 2 translation decisions 2014-02-21 23:02:17 +01:00
Xavier Cazin
cfa6f0a8a6 Change suffix of two MultiTiddlerFiles from tids to multids 2014-02-21 22:34:07 +01:00
Jermolene
0961b0426b Use import report tiddler only if more than one tiddler is imported
If there’s only one, just display the tiddler itself.
2014-02-21 20:17:34 +00:00
Jeremy Ruston
cf5fa875aa Merge pull request #426 from xcazin/fr-FR
Translation of recently added translateable strings.
2014-02-21 18:31:23 +00:00
Xavier Cazin
a812c6e386 Translation of recently added translateable strings. 2014-02-21 19:26:49 +01:00
Jermolene
dfbb6e1fba Ensure that $:/isEncrypted is reset if modified 2014-02-21 18:21:10 +00:00
Jermolene
31975e0042 Update importing so we don't open every imported tiddler
Instead we just display a report with links to each imported tiddler.
Should make importing much faster.
2014-02-21 18:21:10 +00:00
Jeremy Ruston
38ef4fa609 Merge pull request #425 from BramChen/master
Add "Misc.multids" to chinese language packs
2014-02-21 16:13:52 +00:00
Jermolene
7f66df78ff Cleaning up from mangled merge of @xcazin's fr-FR translation 2014-02-21 16:13:10 +00:00
Jermolene
96dc489ba8 Merge branch 'fr-FR' of https://github.com/xcazin/TiddlyWiki5 into xcazin-fr-FR
Conflicts:
	languages/fr-FR/ControlPanel.tids
	licenses/cla-individual.md
2014-02-21 16:05:11 +00:00
Bram Chen
34a7fc6084 Merge remote-tracking branch 'upstream/master' 2014-02-22 00:01:41 +08:00
Bram Chen
41575b8012 Add Misc.multids to chinese language packs and more words and phrases are improved 2014-02-22 00:01:06 +08:00
Jermolene
cb5b95add2 Extend fakedom to support .value property
So that 88ffb2ad12 will work on the server
2014-02-21 15:43:25 +00:00
Bram Chen
372553d9da Merge remote-tracking branch 'upstream/master' 2014-02-21 23:01:59 +08:00
Bram Chen
747ec243ff Merge remote-tracking branch 'upstream/master' 2014-02-21 22:41:08 +08:00
Jeremy Ruston
1bc2700137 Merge pull request #424 from BramChen/master
Improve more Simplified Chinese words and phrases used in chinese langua...
2014-02-21 14:38:38 +00:00
Jermolene
4ee277f41b Fix some missing translateables 2014-02-21 14:27:49 +00:00
Bram Chen
894588db54 Improve more Simplified Chinese words and phrases used in chinese language pack. 2014-02-21 22:12:41 +08:00
Jermolene
68bcbff753 Rough and ready control over bitmap editor line width and colour
Fixes #414
2014-02-21 14:06:04 +00:00
Jeremy Ruston
d4baf515ed Merge pull request #423 from Skeeve/patch-3
Update navigator.js
2014-02-21 09:40:16 +00:00
Skeeve
d5c31ed07f Update navigator.js
As described here: https://groups.google.com/d/msg/tiddlywikidev/AWvXz7RMIC4/gFF5crN2UJoJ

Providing a name for the new tiddler message only works if a skeleton tiddler already exists. If not, "New Tiddler" is taken. This change fixes that in that the provided name is taken even if there is no skeleton.
2014-02-21 10:37:20 +01:00
Jermolene
9b6c59e9a6 Allow .multids files to contain blank lines and ": " sequences
Also added a warning for multiple definitions of the same tiddler in a
multids file.

Fixes #415
2014-02-21 09:24:36 +00:00
Jermolene
ec0769d7ca Fix typo
Fixes #417, thanks @pmario
2014-02-21 09:11:27 +00:00
Xavier Cazin
93f5e736e7 Update cla-individual.md 2014-02-21 10:07:56 +01:00
Jermolene
c4058c4662 Another block mode vs inline mode fix 2014-02-21 09:07:46 +00:00
Jermolene
f59b84e63b Add DanieloRodriguez's BrainTest to Community tiddler
And remove Bram’s translation, because it will be built into 5.0.8
2014-02-20 22:47:40 +00:00
Jermolene
c17844b815 Another fix for the block vs inline handline 2014-02-20 22:43:04 +00:00
Jermolene
c761bbe2ed Restore stub French translation 2014-02-20 22:27:43 +00:00
Jermolene
279f32080d Start to make the core templates more readable
Yay for line breaks.
2014-02-20 22:22:45 +00:00
Jermolene
06a0d21734 Use double linebreaks to indicate content of a widget or html element should be parsed in block mode
Fixes #82.

The old behaviour was to parse the content of a widget or html element
in block mode if the opening tag was followed by a line break. The new
behaviour requires two line breaks.

This makes it possible to include linebreaks more liberally within
wikitext, although care must still be taken to only use double line
breaks when the block mode behaviour is desired.

The code change here is very simple, just a single line change in
html.js. Most of the other changes are to convert various single line
breaks into double line breaks.
2014-02-20 21:42:31 +00:00
Xavier Cazin
d8513b23c2 Removed .gitignore by mistake 2014-02-20 22:00:11 +01:00
Xavier Cazin
49b4e86091 Two last minute corrections that deserve being integrated. 2014-02-20 21:55:54 +01:00
Xavier Cazin
f522a96064 Last tweaks before pull request 2014-02-20 21:13:46 +01:00
Jermolene
8f9d88f25b Fix static stylesheets 2014-02-20 19:28:17 +00:00
Jermolene
e88f8ad4e9 Fix typo with <<color>> macro 2014-02-20 19:12:05 +00:00
Jermolene
0480bf023d Fix static CSS generation 2014-02-20 18:33:01 +00:00
Jermolene
e3c1906eaf Make the show/hide editor button be translateable
Missed by accident from earlier commit
2014-02-20 17:53:23 +00:00
Jeremy Ruston
45f29f6425 Merge pull request #421 from BramChen/master
Add palette editor translation for zh-Hant and zh-Hans
2014-02-20 17:35:43 +00:00
Jermolene
f4c7a269bd Allow "<<color>>" as a synonym for the "<<colour>>" macro
Entente cordiale!
2014-02-20 17:14:27 +00:00
Bram Chen
46b2c9e24c Merge remote-tracking branch 'upstream/master' 2014-02-21 00:44:34 +08:00
Bram Chen
f46864fff5 Add palette editor translation for zh-Hant and zh-Hans 2014-02-21 00:41:45 +08:00
Jermolene
5bc408fa75 Remove the old placeholder translations for French and US English 2014-02-20 16:20:14 +00:00
Jermolene
921ff6ae39 Make palette editor translateable 2014-02-20 16:07:03 +00:00
Jermolene
b9e72fb676 Move starlight themes macros into the core 2014-02-20 15:59:44 +00:00
Jermolene
1258c16e2b Add Simplified Chinese to tw5.com
We’ll have to stop adding every available translation to tiddlywiki.com.
2014-02-20 15:55:31 +00:00
Jeremy Ruston
35eb3aee35 Merge pull request #420 from BramChen/master
Add initial translation for Simplified Chinese (zh-Hans).
2014-02-20 15:14:26 +00:00
Bram Chen
12016bd0f8 Add initial translation for Simplified Chinese (zh-Hans). 2014-02-20 23:03:06 +08:00
Xavier Cazin
3817ba642d Consistency tweaks 2014-02-20 15:00:01 +01:00
Jeremy Ruston
d6ef67e817 Merge pull request #419 from BramChen/master
remove extraneous files in editions/zh-Hant
2014-02-20 13:10:54 +00:00
Bram Chen
a51a5e969f remove extraneous files in editions/zh-Hant 2014-02-20 21:03:26 +08:00
Jeremy Ruston
ae9d0f8288 Merge pull request #418 from BramChen/master
Add initial translation for Traditional Chinese (zh-Hant).
2014-02-20 12:22:30 +00:00
Bram Chen
b26b620548 Add initial translation for Traditional Chinese (zh-Hant). 2014-02-20 20:14:27 +08:00
Jermolene
d21fb85d94 Change .tids file extension to .multids
Hopefully less confusing
2014-02-20 10:27:02 +00:00
Jermolene
bcd86d5861 Add palette editor 2014-02-20 10:00:38 +00:00
Jermolene
5417b8c4d7 Add 'indexes' filter operator
Returns the indexes within a data tiddler.

We’re about to use this to enumerate the colours within a palette.
2014-02-20 10:00:13 +00:00
Jermolene
2744671211 Fix generateTitle to avoid clashing with shadow tiddlers 2014-02-20 09:58:01 +00:00
Jermolene
88ffb2ad12 Fix problem that was causing Chrome to display black in colour picker swatches
Hurrah!
2014-02-20 09:57:44 +00:00
Xavier Cazin
aa27305134 Very first pass. Certainly needs consistency checks 2014-02-20 00:29:02 +01:00
Jermolene
a186b6f978 Remove duplicate definition 2014-02-19 21:22:36 +00:00
Jeremy Ruston
e55e7ab31b Merge pull request #416 from pmario/de-DE
Add initial translation for de-AT and de-DE.
2014-02-18 21:09:33 +00:00
Jermolene
e1dfb621f5 Add colour swatches to palette switcher 2014-02-18 13:59:11 +00:00
Mario Pietsch
bd552aedde Add initial translation for de-AT and de-DE. de-AT depends on de-DE and doesn't contain any tiddlers atm. Added de-CH plugin info with no content atm. Added a de-AT-DE edition, that will contain german how-to's in the future. 2014-02-18 00:06:02 +01:00
Jermolene
3f89d2d0fa Documentation for translators
I’d appreciate help with putting together more complete and foolproof
instructions.
2014-02-17 22:46:30 +00:00
Jermolene
c999d82a23 Palette and theme tweaks 2014-02-17 22:45:46 +00:00
Jermolene
118b841aa2 More palette tweaks and polish 2014-02-17 17:30:02 +00:00
Jermolene
ca1daf5a4e First pass at switchable colour palettes
Fixes #410

Still some cleaning up to do, and we need a way for incomplete palettes
to inherit from a base palette.
2014-02-17 12:09:10 +00:00
Jermolene
5e9dae8fb4 Fix view widget so that it works with indexes 2014-02-17 11:28:48 +00:00
Jermolene
d00a82e9e9 Put language files in alphabetical order 2014-02-17 08:58:53 +00:00
Jermolene
3307604130 Make type information translateable 2014-02-16 19:58:53 +00:00
Jermolene
1ff8d225d9 Rejig the control panel to use nested tabs for Appearance and Advanced 2014-02-16 19:33:18 +00:00
Jermolene
489509c810 Add missing field descriptions 2014-02-16 19:11:11 +00:00
Jermolene
aa6e02ce8e Fix typo 2014-02-16 19:10:55 +00:00
Jermolene
df8ff9eb26 Make the control panel "internal" tab translatable 2014-02-16 19:02:24 +00:00
Jermolene
e051eb7d90 Making more things translateable
Now we’re done with the text that lives in tiddlers, and we’ll need to
get on with the text that is embedded in code modules.
2014-02-16 09:46:43 +00:00
Jermolene
75b9de222e Add a demo of alerts and tweak styles 2014-02-15 17:36:49 +00:00
Jermolene
5a45fffa9e Get the remaining core control panel tabs prepared for translation
We’ll do ThemeTweaks separately as it’s part of the Vanilla theme
2014-02-15 13:29:24 +00:00
Jermolene
5252328dd9 Add note about joining Google Groups without a Google account 2014-02-15 13:11:10 +00:00
Jermolene
a763610db1 Get rid of the separate language prompt tiddler
More consistent to stick with .tids files
2014-02-15 11:36:00 +00:00
Jermolene
c43cd325ca Reduce the inconsistent use of "language" vs. "lingo"
Now we’re just using the word “lingo” for the macro defined in
PageTemplate (where the abbreviation is useful), and using the full
word “language” everywhere else.

It’s possible that we should be using “locale” instead of “language”,
what do you think?
2014-02-15 11:32:11 +00:00
Jermolene
e9ba7f3d70 Add example of creating substories 2014-02-14 22:22:41 +00:00
Jermolene
68809f9333 Add a bit of the old TWC text talking about the "tiddler" name 2014-02-14 22:22:31 +00:00
Jermolene
42b8b86e52 Tidy up docs 2014-02-14 22:22:11 +00:00
Jermolene
69c0b5e031 Fix problem with pasting items into the browser 2014-02-14 20:00:23 +00:00
Jermolene
30997f3f24 Docs update 2014-02-14 19:28:44 +00:00
Jermolene
bea8730a47 Fix problem with tiddlers of the type text/css
Fixes #395
2014-02-14 19:25:38 +00:00
Jermolene
c3254bc981 Add hint for typing triple backticks on some keyboards 2014-02-14 19:09:49 +00:00
Jermolene
e43a190dab Docs updates 2014-02-14 12:40:37 +00:00
Jermolene
4836cf83e2 Enhance alerting to coalesce repeated alerts with the same text 2014-02-14 10:29:26 +00:00
Jermolene
44678b2ea2 Better not to use relative dates for alerts
Relative dates don’t autorefresh at the moment.
2014-02-14 10:00:02 +00:00
Jermolene
70a120d4a6 Expand the logging mechanism to support alerts overlaid on the main screen
Now we get decent visual indication of sync errors, for instance. Still
work to do to coalesce alerts so that the screen doesn’t fill up with
them after an interval. And probably we should add a button to clear
all alerts.
2014-02-14 07:53:41 +00:00
Jermolene
28212f08b2 Darker text for the "close all" text on the "open" sidebar tab 2014-02-13 19:25:25 +00:00
Jermolene
9bb600299f Extend the navigator widget to maintain the "current-tiddler" field on the history list 2014-02-13 17:59:51 +00:00
Jermolene
9db887748b Extend setTiddlerData() to set arbitrary fields 2014-02-13 17:59:33 +00:00
Jermolene
800bc639f9 Fix problem with the reveal widget not refreshing properly when used with text references
The check for changed tiddlers was failing because `this.stateTitle`
contains the entire text reference, not just the tiddler title.
2014-02-13 17:59:10 +00:00
Jermolene
dc8e84fcb7 Credit for @Tikkoneus's grammar docs 2014-02-13 15:47:05 +00:00
Jermolene
ad4e7ccb17 Add experimental support for building plugins in the browser
It’s a bit rough and ready, but works.
2014-02-13 14:23:27 +00:00
Jermolene
4654f6b971 Fix default tab in the "more" sidebar tab 2014-02-13 14:06:20 +00:00
Jermolene
6f23aeabb4 Add config tiddler for host string 2014-02-12 22:20:28 +00:00
Jermolene
21eae0135d Fix typos 2014-02-12 22:20:20 +00:00
Jermolene
470beabf17 Enhance links so that control/command clicking suppresses navigation
Control- or Command-clicking on a link will now open the target tiddler
but suppress navigating to it. Kind of like opening in a background tab.
2014-02-12 22:00:12 +00:00
Jeremy Ruston
523eae83ff Merge pull request #407 from Skeeve/regexp_filter
fixed an awful typo in the regexp
2014-02-12 21:38:54 +00:00
Jermolene
ca0c352278 Extend the transclude widget to fallback to displaying it's child nodes if the target isn't defined 2014-02-12 21:38:37 +00:00
Stephan Hradek
0dc8de9dd2 fixed an awful typo in the regexp
The regexp fails when backslashes are used in the search-regexp. The closing bracket was at the wrong position.
2014-02-12 22:34:13 +01:00
Jermolene
b5225f5ca8 Remove obsolete VideoWidget docs 2014-02-12 20:04:29 +00:00
Jermolene
1a8d6811b7 Add new edition for Tank, along with a build script 2014-02-12 18:29:32 +00:00
Jermolene
d56eec40c9 Update title for the TiddlyWeb edition 2014-02-12 18:29:10 +00:00
Jermolene
b72d7f1447 Remove extraneous tiddler from tw5tiddlyweb edition 2014-02-12 18:29:02 +00:00
Jermolene
ecad2bf7a8 Add better control over whether tiddlers are transcluded in block or inline mode 2014-02-12 17:59:28 +00:00
Jermolene
f67e216b3a Merge branch 'reduce-wikilinks' of https://github.com/pmario/TiddlyWiki5 into pmario-reduce-wikilinks 2014-02-12 16:32:28 +00:00
Jermolene
8b3bfa6805 Allow [title[Blah]] to match missing tiddlers
Fixes #404
2014-02-12 16:01:20 +00:00
Jermolene
01fa82fac1 Move the modal background blur effect from Snow White to Vanilla
It’s a slow effect, and so it should be possible to suppress it by
returning to the barebones Vanilla theme.
2014-02-12 15:33:21 +00:00
Jermolene
d5b526914b Simplify the regular expression for HTML comments
We were getting catastrophic backtracking in Chrome for some input
texts where the closing “—>” of the comment was omitted.
2014-02-12 15:24:03 +00:00
Jermolene
5c66bc6dbc Update the reveal widget to allow control over content retention
Thus bringing back the animation of the opening and closing of the info
panel.
2014-02-12 08:32:19 +00:00
Mario Pietsch
1eab3ecbb2 remove temporary files 2014-02-11 21:09:22 +01:00
Mario Pietsch
280bbde329 remove redundant wiki links in tiddlers 2014-02-11 21:02:23 +01:00
Jermolene
dd451800c7 Specify encoding for incoming requests
Fixes #397
2014-02-11 19:42:45 +00:00
Jermolene
190ced7cdd Sync from server even when not logged in 2014-02-11 19:10:40 +00:00
Jermolene
7a62a86baf Docs updates 2014-02-11 19:10:17 +00:00
Jermolene
1086c51019 Fixed problem with field mauling when reading skinny tiddlers
The problem was showing up as tiddlers with the field “fields” and the
value “[Object object]”.
2014-02-11 15:47:56 +00:00
Jermolene
daa79a8612 Move the en-GB language plugin into the core
We need to have the default language baked into the core so that we
don’t have problems if no language plugins are available.
2014-02-11 13:20:17 +00:00
Jermolene
441d9078fa Coding style tweaks for #399 2014-02-10 17:34:10 +00:00
Jeremy Ruston
f0ab607ea1 Merge pull request #399 from shendaras/patch-1
getRelativeDate: support for negative deltas
2014-02-10 17:33:08 +00:00
Jeremy Ruston
afaf5b23c9 Merge pull request #400 from shendaras/patch-2
Sign individual CLA.
2014-02-10 17:22:42 +00:00
Jermolene
f68d48fcd3 Docs on searching 2014-02-10 16:22:02 +00:00
Jermolene
10891081ca Added formal grammar documentation for tiddler filters 2014-02-10 15:52:49 +00:00
Jermolene
ecba4f71ea Clean up the highlight plugin
Fixing various issues that were preventing language specifiers from
working.
2014-02-10 13:51:38 +00:00
Jermolene
e003889171 Start translating the control panel 2014-02-09 20:34:58 +00:00
Jermolene
1f41daf433 Add support for multi-tiddler files with a .tids extension 2014-02-09 20:34:42 +00:00
Jermolene
a2cbc2deb5 Rejig the tabs macro to wikify captions
This will allow us to translate tab captions
2014-02-09 19:19:40 +00:00
Jermolene
dea08ed4f8 First pass at language plugins for internationalisation
Still quite a few details to work out, but this shows the basic idea of
re-using the theme mechanism to handle language plugins.

Comments and questions welcome.
2014-02-09 19:18:46 +00:00
Jermolene
d1bc053a9c Update control panel text 2014-02-08 17:30:02 +00:00
Jermolene
73c30716dc Unlinkify the current theme name
Having it link to the underlying plugin tiddler isn’t very useful
2014-02-08 17:29:42 +00:00
Jermolene
8ad34e2db9 Refactor the theme switcher to be a generic plugin switcher 2014-02-08 09:29:37 +00:00
Jermolene
b26a32b93a Remove obsolete stylesheet helper 2014-02-08 09:29:11 +00:00
Daniel Barrett
f54122b90e Sign individual CLA. 2014-02-07 08:18:44 -06:00
Jermolene
828fc9dcd0 Autosave when deleting a tiddler 2014-02-07 10:14:10 +00:00
Jermolene
f0d512edf0 Remove extraneous autosave attribute from navigator widget
Inadvertently committed.
2014-02-07 10:12:45 +00:00
Jermolene
2758e586bd Add a "filter" tab to advanced search 2014-02-07 10:07:57 +00:00
Jermolene
68bcfe1c8c Docs updates 2014-02-06 22:21:03 +00:00
Jermolene
dbd63e6fe7 Move some system tiddlers into the right name space
The tiddlers temporarily used for adding new fields and tags should be
in the $:/temp namespace so that they don’t dirty the store
2014-02-06 22:20:58 +00:00
Jermolene
a01bbd4b9c Add automatic saving and warning on exit with unsaved changes
We re-use some of the existing syncer mechanism. It was already keeping
track of changes to tiddlers in the store when working with a tiddler
syncadaptor. Now it also tracks changes when there is no syncadaptor,
allowing us to provide a warning if there are unsaved changes.
2014-02-06 21:36:30 +00:00
Jermolene
8e8e31fb9f Force position:relative on tag pills
This avoids a problem with tag pills not working properly within table
cells.
2014-02-06 12:48:10 +00:00
Jermolene
6d3d3322e5 Fix problem in server with URI encoding of titles in etags
Fixes #398
2014-02-05 19:39:29 +00:00
Daniel Barrett
d02ce5dbf3 oops, actually correct delta
Actually change delta to a positive number to get the logic the same.
2014-02-05 12:37:37 -06:00
Daniel Barrett
32f290dc13 getRelativeDate: support for negative deltas
Add support for format="relativedate" to be used when the date is in the future.
2014-02-05 11:44:01 -06:00
Jermolene
1d685df928 Add support for autosave
Causes the wiki to be autosaved whenever clicking “done” after editing
a tiddler. Only works with savers that support autosave. We should
probably make autosave configurable
2014-02-04 21:21:01 +00:00
Jermolene
4882f70557 Clearer explanation of key descriptor syntax 2014-02-04 20:05:34 +00:00
Jermolene
7eafd51a7d Use placeholder text for editing missing tiddlers
Fixes #387
2014-01-30 17:39:32 +00:00
Jermolene
e6fa9b8a85 Add number of tags to control panel "Basics" tab 2014-01-30 16:51:36 +00:00
Jeremy Ruston
1a54d590e1 Merge pull request #388 from simonbaird/sameday_tz_fix
Also fix timezone related eachday test failure
2014-01-30 08:30:29 -08:00
Jermolene
d72d245523 Remove "escape" keyboard shortcut for abandon editting
Too easy to trigger accidentally, until we have confirmations.
2014-01-30 16:26:50 +00:00
Jeremy Ruston
7b054440ca Merge pull request #374 from Skeeve/patch-1
Update utils.js
2014-01-30 08:24:00 -08:00
Simon Baird
6ed8a7624d Also fix timezone related eachday test failure
In some timezones, (eg GMT+6) the modified timestamps for the
'TiddlerOne' and 'Tiddler Three' test tiddlers were actually on
the same day. This was causing the 'eachday' filter test to fail.

Similar to the fix in commit 8487221, this just adjusts the
timestamp to ensure the test passes in any timezone.
2014-01-31 00:56:25 +10:00
Jermolene
e3a05625b2 Add experimental keyboard shortcut widget
It’s not cool that we have to use a separate keyboard widget for each
keyboard shortcut.

Fixes #386
2014-01-30 13:40:36 +00:00
Jeremy Ruston
9acb10f781 Merge pull request #385 from simonbaird/sameday_tz_fix
Fix timezone related filter test failure
2014-01-30 00:45:47 -08:00
Simon Baird
8487221654 Fix timezone related sameday filter test failure
In certain timezones, 201304151312 UTC is not actually the same day
as 201304152219 any 201304151756. This was causing the test for the
'sameday' filter operator to fail. (I'm in GMT+10).

This is a quick-fix. I've just adjusted the timestamps to be close
together so they will be same day no matter what timezone you're in.
2014-01-30 18:24:05 +10:00
Simon Baird
6780a16ce9 Add Simon Baird to Contributor Licence Agreement 2014-01-30 13:13:22 +10:00
Jermolene
92aa682bc5 Update docs for 'has' filter operator 2014-01-29 21:49:48 +00:00
Jermolene
405b4a9007 Update URL for Stanford JavaScript Crypto Library 2014-01-29 21:49:38 +00:00
Jermolene
0c20092644 Refactor the image parser to avoid generating badly formed image src's
Previously, a transclusion of a skinny image tiddler (ie one where the
body has yet to be loaded) would render a broken image.
2014-01-29 19:11:05 +00:00
Skeeve
758d461823 Update utils.js
I think /\\/g is wrong as it will remove every \ from the string. I think, the usual way of keeping the following character is more appropriate.
2014-01-29 13:43:34 +01:00
Jermolene
29c4ed20ce Docs update 2014-01-29 09:05:33 +00:00
Jermolene
fa59382215 Add support for serving TW5 with lazily loaded images 2014-01-29 09:05:00 +00:00
Jermolene
02ba92c6b5 Add [is[image]] filter operator 2014-01-29 09:04:41 +00:00
Jermolene
e58d9c7008 Adjust documentation for ac163a59e8 2014-01-28 19:46:35 +00:00
Jermolene
ac163a59e8 Stop suppressing saving story list for the clientserver wiki
It’s useful to save it so that people can usefully set their
$:/DefaultTiddlers to `[list[$:/StoryList]]`
2014-01-28 19:44:10 +00:00
Jermolene
175e86078c Fix crash when wiki/themes folder contains files that are not themes
Fixes #370
2014-01-28 18:58:01 +00:00
Jermolene
3b255561b7 Add text/css to the type dropdown 2014-01-28 15:24:20 +00:00
Jermolene
59379b14fa Remove extraneous shadow tiddlers 2014-01-28 15:24:08 +00:00
Jermolene
5af30086c0 Fix substitution for nbsp
We were substituting the wrong character for non-breaking spaces
2014-01-28 15:23:58 +00:00
Jermolene
b342f6db67 Docs update 2014-01-27 17:10:07 +00:00
Jermolene
5d3dda1a17 Fix problem with highlighting only working in the DOM
The current implementation of the highlight plugin only works properly
in the browser, and doesn’t work under Node.js. It also doesn’t work
when rendering to the fakedom in the browser (as happens when rendering
stylesheets, for example).
2014-01-27 17:10:02 +00:00
Jermolene
70ed6e6ad3 Fixed problem with list filter
A bug was preventing the tiddler title from being omitted in the list
filter (ie, [list[HelloThere!!field]] worked, but [list[!!field]] did
not.
2014-01-27 16:24:28 +00:00
Jermolene
8d031afa94 Update instructions for releasing TiddlyWiki5 2014-01-27 16:23:41 +00:00
Jermolene
a42ba1a310 Update version number for next release 2014-01-27 16:23:27 +00:00
Jermolene
b4b524deae Update release date of 5.0.7 2014-01-26 21:08:13 +00:00
Jermolene
8f6ee1d2a8 Version number update for 5.0.7-beta 2014-01-26 21:04:38 +00:00
Jermolene
183e9544b4 Readme update 2014-01-26 20:59:36 +00:00
Jermolene
dfc57ffa49 More logging 2014-01-26 20:59:30 +00:00
Jermolene
3f9561dd95 Better logging 2014-01-26 18:53:31 +00:00
Jermolene
37ca86ff3d Docs updates 2014-01-26 17:49:43 +00:00
Jermolene
cf26986061 Update upgrading instructions 2014-01-26 13:54:08 +00:00
Jermolene
54822e25d4 Update static link generation 2014-01-26 13:34:53 +00:00
Jermolene
4a9108154d Readme update 2014-01-26 13:26:25 +00:00
Jermolene
8a88253b4e Remove the white background rectangle from Motovun Jack.svg 2014-01-26 13:24:39 +00:00
Jermolene
7891824883 Fix video protocol
YouTube’s default of missing out the protocol for the iframe src
unfortunately makes videos malfunction when viewing TiddlyWiki on a
file: URL
2014-01-26 13:24:27 +00:00
Jermolene
fca5681a1a Docs updates 2014-01-26 13:04:09 +00:00
Jeremy Ruston
5c9a5f5cba Merge pull request #360 from pmario/docs-cm
docs: CodeMirror config tiddler
2014-01-26 02:01:57 -08:00
Jermolene
69d342d46a Stop the reveal widget caching hidden content
Previously, when displayed content is hidden by the reveal widget there
was an optimisation such that the content was retained in the DOM but
hidden using CSS, so that it could be shown again quickly.

It turns out that a sideeffect of that optimisation is that clicking
through all the sidebar tabs leaves them all active, so that they all
need to be refreshed whenever a character is typed in an editor.

This commit suppresses the optimisation, so that hidden content is
removed from the DOM and the render tree.
2014-01-26 09:57:46 +00:00
Mario Pietsch
66254b436c fix #215 cm gutter adjust .CodeMirror-linenumber min-width, font-size. It should work up to 999 lines now. There should be a ControlPanel tab for codemirror 2014-01-25 23:33:24 +01:00
Mario Pietsch
d42981f201 docs: CodeMirror config tiddler needs to be type:application/json 2014-01-25 22:53:52 +01:00
Jeremy Ruston
04dbf99e54 Merge pull request #359 from pmario/fix-docs
some doc updates.
2014-01-25 13:26:42 -08:00
Jermolene
762940adbc No longer save system modules separately in the main HTML template
These tiddlers were being handled as `<script>` tags to make it easier
to debug them. But in fact modern dev tools are quite happy to debug
code that has been eval’d, and this arrangement was causing problems
for importing.

Fixes #335
2014-01-25 21:22:43 +00:00
Mario Pietsch
f58d4fb531 some doc updates. server default IP fix and changed Ton's entry page 2014-01-25 22:02:48 +01:00
Jermolene
45c45e098f Add a cancel button to the 'set password' dialog
Fixes #185
2014-01-25 19:55:56 +00:00
Jermolene
b5629ccc82 Update codemirror plugin docs
@pmario and @jbolila - could you kindly check whether the docs cover
everything?
2014-01-25 19:34:32 +00:00
Jermolene
bd067c6b1e Include the nodewebkitsaver in tw5.com
Just for the moment, to make it easier for people to find it.
2014-01-25 19:33:35 +00:00
Jermolene
1d10ccb368 Update release notes for 5.0.7 2014-01-25 19:33:00 +00:00
Jermolene
9297b27b89 Reference correct wiki object 2014-01-25 18:17:33 +00:00
Jermolene
0b3efe179e Extend list filter operator to take a text reference
Instead of just a title. Means that we can apply the list operator to
fields other than the list field.
2014-01-25 18:14:30 +00:00
Jermolene
e6843aabff Refactoring of new filter list operators 2014-01-25 17:44:36 +00:00
Jermolene
02d3861d7d Tests for the new filter operators 2014-01-25 17:44:14 +00:00
Jeremy Ruston
592ef257a2 Merge pull request #326 from Skeeve/listops
New list operations from @Skeeve
2014-01-25 08:51:26 -08:00
Jermolene
6ba9bf9a95 Boost the priority of the upload saver
If we’ve got an upload wiki name then we should always use the upload
saver.

See https://groups.google.com/d/topic/tiddlywiki/Jqd2jbPmYFA/discussion
2014-01-25 16:38:08 +00:00
Jermolene
18fe0c0f75 Add Jeffrey Kishner link to Community tiddler 2014-01-25 14:51:43 +00:00
Jermolene
c49681ecf3 Docs tweaks 2014-01-25 14:47:25 +00:00
Jermolene
6255b97b14 Resolve merge conflict 2014-01-25 14:41:48 +00:00
Jermolene
6cb44ac0cc Fix typo in field mangler docs
Fixes #358
2014-01-25 14:07:32 +00:00
Jermolene
b1b9c7d6cd Fix typo in codemirror editor 2014-01-25 14:07:10 +00:00
Jermolene
951147d502 Style tweaks 2014-01-24 21:45:37 +00:00
Jermolene
9539664e46 Merge branch 'codemirror_keymap' of https://github.com/jbolila/TiddlyWiki5 into jbolila-codemirror_keymap 2014-01-24 21:39:55 +00:00
Jermolene
f9b5d75446 Clarify that global macros are coming 2014-01-24 20:42:09 +00:00
Jermolene
70a7321edd Take editor configuration from configuration tiddlers
This should enable @buggyj to add an html editor by including a
configuration tiddler in the plugin.
2014-01-24 20:22:23 +00:00
Jermolene
9522050aa7 Merge @buggyj's CLA signature 2014-01-24 19:19:56 +00:00
Jermolene
8d37219545 Add some tests 2014-01-24 19:15:34 +00:00
Jermolene
a76da88380 Rename the operator portion after the colon to "suffix" 2014-01-24 19:15:27 +00:00
Jermolene
42262a637c Docs tweaks 2014-01-24 18:54:55 +00:00
Jermolene
e6a7a0db1e Style tweaks 2014-01-24 18:54:50 +00:00
Jermolene
edc71cb920 Merge branch 'regexp_filter' of https://github.com/Skeeve/TiddlyWiki5 into Skeeve-regexp_filter 2014-01-24 18:40:27 +00:00
Jermolene
bd48ecfcb1 Generate the copyright.md file in the same way we generate readme.md
Fixing #351
2014-01-24 18:35:17 +00:00
Jermolene
f4b27b33de Fixed problem with multiple tiddlers created from dragging a single file 2014-01-24 14:09:06 +00:00
Jermolene
644d88a6c5 Adjust control panel links 2014-01-24 13:43:51 +00:00
Jermolene
43eb81173d Add note about system tiddler naming conventions 2014-01-23 08:23:49 +00:00
Jermolene
a8eff78b62 Fix formatting 2014-01-23 08:22:55 +00:00
Jermolene
f90db97625 Correct year of release for 5.0.6 2014-01-23 08:22:45 +00:00
Jermolene
e339b6dffe Add documentation on sharing via Dropbox 2014-01-22 09:06:07 +00:00
Jermolene
64304f9b7f Ensure that new tiddlers created from a skeleton don't inherit created/creator fields 2014-01-21 21:00:08 +00:00
Jermolene
867dfabff8 Change initial default tiddlers to include most recently created tiddlers 2014-01-20 18:26:32 +00:00
Jermolene
b627bba277 Added link to download instructions 2014-01-20 17:48:03 +00:00
Jermolene
b9b1b001da Update Typed Blocks documentation 2014-01-20 17:14:38 +00:00
Jermolene
e9ae8d2015 Clarify upgrading instructions for encrypted wikis 2014-01-20 13:38:57 +00:00
Jermolene
2fc6451bf7 Rejigged encrypted import so that the current password isn't changed
We still try the currently stored password. If that doesn’t work then
we prompt for a password, but we no longer store the password in the
store.
2014-01-20 13:35:55 +00:00
Jermolene
f31369035b Update JavaScript Macro docs 2014-01-20 13:02:12 +00:00
Jermolene
1e54b1bcc9 Remove empty tag fields in the field mangler
This means that removing the last tag from a tiddler will remove the
tags field.
2014-01-20 11:53:26 +00:00
Jermolene
d3c421985c Add delete icon for the tiddler type editor 2014-01-20 11:21:12 +00:00
Jermolene
1c283c5586 Tighten "has" filter operator
We now require the field not to be an empty string in order to be
counted.
2014-01-20 08:59:01 +00:00
Jermolene
4f5a923ca0 Update release note 2014-01-19 21:46:01 +00:00
Jermolene
95cb99adb9 Enhance text widget to optionally use "text" attribute
This lets us use the text widget to render text in macros that we don’t
want to be wikified.
2014-01-19 21:45:55 +00:00
Jermolene
d5df78d979 Docs update 2014-01-19 20:16:29 +00:00
Jermolene
ed5cf8b044 Refactor importing of encrypted TiddlyWiki files so that it works on Node.js 2014-01-19 20:13:55 +00:00
Jermolene
98edbec46d Adjust the position of modal dialogues
The top was off the top of the window
2014-01-19 20:12:55 +00:00
Jermolene
299e9d15fb Add support for importing encrypted TiddlyWiki documents 2014-01-19 18:43:02 +00:00
Jermolene
2f4932fefc Expose the option to retain story ordering across restarts 2014-01-19 18:42:32 +00:00
Jermolene
5f1d49f2e0 Clarify the shadow GettingStarted docs 2014-01-19 18:42:20 +00:00
Jermolene
6ea9dc997f Remove extraneous full stop 2014-01-19 18:42:08 +00:00
Jermolene
c9d06ad18a Add link to French thesis notebook 2014-01-18 14:58:24 +00:00
Jermolene
3414f1ca8e Move node-webkit saver into a plugin
We don’t need it for TiddlyDesktop now that it reuses the TiddlyFox
saver. But it is still useful for embedding a TW directly into a
node-webkit app
2014-01-18 14:57:42 +00:00
Jermolene
60926198b1 Improve logic for initialising reading node tiddlers
We want fine control of whether tiddlers are read from the DOM or the
file system, without ganging it to whether we’re on node vs. browser.
2014-01-18 14:53:26 +00:00
Jermolene
2c790d982f Switch to using $tw.fakeDocument for the fakedom document object
So that we can free us `$tw.document` to be the actual DOM document
2014-01-15 14:57:35 +00:00
Jermolene
839361d54f Futher refactoring for TiddlyDesktop
We need finer control over the boot process so that we can force it to
load tiddlers from the Node.js file APIs rather than from the DOM
2014-01-15 14:51:04 +00:00
Stephan Hradek
14ca91a949 implemented the new regexp syntax 2014-01-14 22:08:05 +01:00
Stephan Hradek
81de74342d implemented the new regexp syntax 2014-01-14 22:07:20 +01:00
Stephan Hradek
0338c36610 implemented the field: syntax 2014-01-14 16:19:34 +01:00
Jermolene
c7fb0bd349 Start updating the boot kernel for more node-webkit integration
The goal is to make it possible to use the Node.js boot code under
node-webkit, so that we can directly load wiki folders
2014-01-14 14:09:04 +00:00
João Bolila
d7d5165847 all configuration and required libs in the config tiddler 2014-01-13 23:34:11 +00:00
Jeremy Ruston
aefc7b7ce2 Merge pull request #343 from csugden/patch-1
Updates "main" in package.json
2014-01-13 13:40:44 -08:00
Jeremy Ruston
1657111cb7 Merge pull request #344 from csugden/patch-2
Update cla-individual.md
2014-01-13 13:39:08 -08:00
csugden
08a8689117 Update cla-individual.md 2014-01-13 21:22:13 +00:00
csugden
b1b38dc143 Updates "main" in package.json
Fixes require "Error: Cannot find module 'tiddlywiki'"
2014-01-13 18:29:22 +00:00
Jermolene
22f48198bd Update release note 2014-01-13 17:59:22 +00:00
Jermolene
4072c4461d Switch to using a real ellipsis for advanced search 2014-01-13 17:59:14 +00:00
Jermolene
43fb16f232 Updates to the batch files
We should build highlightdemo.html on Windows
2014-01-13 17:33:33 +00:00
Jermolene
809c441ab3 Merge branch 'master' of https://github.com/jbolila/TiddlyWiki5 into jbolila-master 2014-01-13 17:28:08 +00:00
Jermolene
9985efa406 Fix link to tutsplus.com node-webkit tutorial 2014-01-13 17:02:21 +00:00
Jermolene
84e149e36c Reset the JavaScript error dialogue width
It inadvertantly got affected by the change to the password dialogue.
2014-01-13 16:17:08 +00:00
Jermolene
25423d2d07 Clarified the PHP instructions 2014-01-13 12:32:46 +00:00
Jermolene
12770ca3e6 Use an explicit default host
Thus fixing #339
2014-01-13 09:09:54 +00:00
Stephan Hradek
a5d75db8d2 Thinking about your mail led me to this new push -> Mail follows 2014-01-13 08:44:53 +01:00
Stephan Hradek
9444ef095f I feel ashamed :( Somehow this slipped me :( Sorry! 2014-01-12 23:37:11 +01:00
Jermolene
b04141fefd Don't load tiddlers that don't have a title
We were getting problems (eg, adding a `readme.md` to a plugin without
an accompanying `readme.md.meta` would end up creating a tiddler called
“undefined”)
2014-01-12 21:48:18 +00:00
João Bolila
c74bf6a655 in resp to https://github.com/Jermolene/TiddlyWiki5/pull/328#issuecomment-32131402 2014-01-12 21:48:03 +00:00
Jermolene
19080f9958 Update coding style guidelines 2014-01-12 21:28:58 +00:00
Jermolene
b5d2b79a37 Add nbsp handling to htmlDecode 2014-01-12 20:11:51 +00:00
João Bolila
17b542980f if a function 2014-01-12 20:03:34 +00:00
João Bolila
8f4e1587a2 rename from mode to keymap bindings (Vim and Emacs bindings) 2014-01-12 19:38:27 +00:00
Jermolene
4b000fac72 Added some docs about naming conventions for system tiddlers 2014-01-12 19:02:15 +00:00
João Bolila
426f2978cf fixes of a newbie, me 2014-01-12 17:09:24 +00:00
Jermolene
bad2e36e45 Remove obsolete itemClass attribute on the list widget 2014-01-12 17:01:18 +00:00
Jermolene
a4f895dc4d Introduce coding style guidelines 2014-01-12 16:56:05 +00:00
Jermolene
e254529763 More configuration controls for TiddlySpot saver
And more reliable checking of the result returned from the server
2014-01-12 12:05:15 +00:00
Jermolene
5dff212e5a Clarify comment in main template 2014-01-12 11:58:45 +00:00
Jermolene
b7a1db1e9f Display tiddler data dictionaries as plain text 2014-01-12 11:58:32 +00:00
Jermolene
6964120fce Move PHP docs 2014-01-11 21:46:33 +00:00
João Bolila
a704498155 added suport for vim and emacs keymaps (codemirror updated to 3.20) 2014-01-11 15:23:49 +00:00
Jermolene
83811bc2a9 Updated docs 2014-01-11 10:22:17 +00:00
Jermolene
bd40977c85 Fix docs error 2014-01-11 09:50:34 +00:00
Jermolene
e87097c22e Updated docs for saving to a PHP server 2014-01-11 09:39:50 +00:00
Jermolene
e74cb05540 Adjust CLA docs 2014-01-11 08:58:54 +00:00
Jermolene
b326315b0e Make the password dialogue narrower
To make it work better on mobile devices
2014-01-10 16:51:39 +00:00
Stephan Hradek
a3384d101e Extended the filter documentation 2014-01-10 13:23:26 +01:00
Stephan Hradek
8ef520ef37 Created regexp search for milestone 5.1 2014-01-10 10:32:49 +01:00
Jermolene
b64b7982af Fix notification removal to not rely on transitionEnd events 2014-01-09 22:26:21 +00:00
João Bolila
c5035fc0b0 highlight.js updated to version 8.0 (http://highlightjs.org/) 2014-01-09 14:32:31 +00:00
Jermolene
2740f8c1f0 A trivial change for testing purposes 2014-01-08 18:04:49 +00:00
Jermolene
209bc78268 Clean up whitespace 2014-01-08 16:51:42 +00:00
Jermolene
ffcc215e8f Add ellipsis for advanced search next to search box 2014-01-08 10:43:50 +00:00
Jermolene
0fb13e649b Exclude non-system tiddlers from system tiddler search 2014-01-08 09:55:06 +00:00
João Bolila
b42eefe1e8 Merge remote-tracking branch 'upstream/master' 2014-01-08 04:47:20 +00:00
João Bolila
82a48cf85c codeblock as a widget and plugin for highlight code blocks 2014-01-07 22:57:46 +00:00
Stephan Hradek
9fee9b1043 Fix for Paul's concerns 2014-01-07 21:12:59 +01:00
Jermolene
d57010d2fb Docs updates 2014-01-07 11:57:42 +00:00
Jermolene
f2409d4245 Fixed problem with positioning of the sidebar in the centralised theme 2014-01-07 11:09:56 +00:00
João Bolila
4181de5b74 sign contributor license agreement 2014-01-05 20:01:26 +00:00
Jermolene
954901d788 Start adding export options to the control panel 2014-01-05 17:24:53 +00:00
Jermolene
4688190c96 Docs update 2014-01-05 16:33:01 +00:00
João Bolila
a1d2e70307 Plugin for syntax highlighting with highlight.js from Ivan Sagalaev 2014-01-05 09:58:01 +00:00
Jermolene
e0f428b9b2 Fixed problem with Element.ELEMENT_NODE undefined on Safari 2014-01-04 15:15:12 +00:00
Jermolene
504f353844 Update docs with new video tutorials 2014-01-04 13:56:21 +00:00
Jermolene
7857464ab5 Correct another npm typo 2014-01-04 12:05:24 +00:00
Stephan Hradek
103f4f6637 added some more filters 2014-01-04 00:01:17 +01:00
Jermolene
b06e09a4d3 Fix typo in default date format string for view widget
Fixes #320
2014-01-03 18:34:27 +00:00
Jermolene
9d72570092 Update version number for next version 2014-01-03 18:33:03 +00:00
Jermolene
1638824adc Version number update for 5.0.6-beta 2014-01-03 17:16:19 +00:00
Jermolene
79bed656bb Update release date of 5.0.6 2014-01-03 17:15:27 +00:00
Jermolene
6fcfa2738a Docs updates 2014-01-03 17:14:01 +00:00
Jermolene
47ebed87f9 Docs updates 2014-01-03 17:13:03 +00:00
Jermolene
3c35c9ecf8 Improved instructions for TiddlyFox on Android 2014-01-03 13:55:30 +00:00
Jermolene
027421f5e6 More coding style consistency 2014-01-03 10:54:00 +00:00
Jermolene
1a74e2538c Cleaning up further coding style inconsistencies that have crept in 2014-01-03 10:50:00 +00:00
Jermolene
8fc5c1d4a0 Further style tweaks to #321 2014-01-03 10:48:00 +00:00
Jermolene
1374bd9d78 Coding style fixes for #321 2014-01-03 10:43:08 +00:00
Jermolene
307b5c7d6b Merging #321 Table valign from @Skeeve 2014-01-03 10:39:55 +00:00
Jeremy Ruston
5dea8ca758 Merge pull request #324 from Skeeve/nsort
Add numeric sort filter operators
2014-01-03 02:30:12 -08:00
Jermolene
3677fdd3b0 Moved docs to right edition 2014-01-03 09:18:36 +00:00
Jermolene
5758fcb69b Add instructions for adding a Twitter Follow button 2014-01-03 09:16:58 +00:00
Jermolene
385099c4f7 Clarify references to sudo 2014-01-02 21:47:01 +00:00
Jermolene
2343bb3e5b Switch to using 127.0.0.1 in docs 2014-01-02 20:07:05 +00:00
Jermolene
b132e1023d Add error checking to $tw.utils.setStyle() 2014-01-02 19:00:46 +00:00
Jermolene
2d99f4dc15 Update copyright year 2014-01-02 10:55:19 +00:00
Stephan Hradek
c9b319c41c nsort - adapted documentation 2014-01-01 23:59:09 +01:00
Stephan Hradek
b652238650 fixed issue #241 - created first, last, rest and reverse filter functions 2014-01-01 22:38:08 +01:00
Jermolene
d0cd72ed85 Docs update 2014-01-01 20:51:38 +00:00
Jermolene
4289367b7f Add some more filter examples 2014-01-01 18:37:46 +00:00
Jermolene
b76ca5dc3b Clarify use of double square brackets in default tiddlers 2014-01-01 18:27:27 +00:00
Jermolene
71b5c561f2 Docs update 2014-01-01 18:19:50 +00:00
Jermolene
6a02535d08 Docs update 2014-01-01 17:59:55 +00:00
Jermolene
87fbd988f1 Add support for running TiddlyWiki under node-webkit 2014-01-01 17:59:47 +00:00
Jermolene
3d79eb87d1 First pass at an advanced search tiddler 2013-12-31 13:11:01 +00:00
Jermolene
089a838611 Docs update 2013-12-31 11:36:51 +00:00
Jermolene
e48e7e9443 Style improvements for alltiddlers.html 2013-12-31 11:34:10 +00:00
Stephan Hradek
917865c393 fixed an initialization error 2013-12-31 11:09:17 +01:00
Stephan Hradek
ec14a0a16d vertical alignment of cells - version 2 2013-12-31 11:05:08 +01:00
Jermolene
b9e80a270b All-in-one static HTML support
Added a first pass at generating an all-in-one static HTML
representation of a wiki, incorporating anchor links for wiki links
2013-12-31 09:43:46 +00:00
Jermolene
44568dc6ef Hide encryption status when running on the server
A partial fix for #303
2013-12-30 15:05:07 +00:00
Jermolene
d043bdd289 Fix problem with view widget relativedate format
Fixes #319
2013-12-30 13:08:48 +00:00
Stephan Hradek
ce8cc7607f changed to conform to Jeremy's standards - sorry… 2013-12-30 13:44:32 +01:00
Jermolene
6d6e8afb9c Add a style rule for padding paragraphs within dropdowns
Fixes #306
2013-12-30 12:38:45 +00:00
Jermolene
bb0be9e02f Correct npm upgrading instructions
Fixes #304
2013-12-30 12:16:06 +00:00
Jermolene
5dd33904e7 Update docs for double backtick syntax 2013-12-30 12:13:23 +00:00
Jeremy Ruston
2ee5093944 Merge pull request #305 from Skeeve/issue_186
added a fix for issue #186
2013-12-30 04:06:05 -08:00
Jermolene
87a553d75d Docs update 2013-12-30 11:54:56 +00:00
Jermolene
ec7dff291d Fix problem with "import" button not working
Fixes #308
2013-12-30 11:54:51 +00:00
Jeremy Ruston
de2e5adf15 Merge pull request #307 from Skeeve/issue_94
added fix for issue #94 for horizontal rules, tables and typed block
2013-12-30 03:46:16 -08:00
Jermolene
b3ad61ce20 Add a failing test for @Skeeve's upcoming #307 2013-12-30 11:45:18 +00:00
Jeremy Ruston
5eb57365b6 Merge pull request #312 from Skeeve/issue_232
fixed issue#232
2013-12-30 03:25:37 -08:00
Jermolene
c49bc2b0a6 Update docs for tables in wikitext
Fixes #314
2013-12-30 10:51:25 +00:00
Jeremy Ruston
3494dd019d Merge pull request #318 from davidjade/master
Fix for #317
2013-12-30 02:33:27 -08:00
Jermolene
784e6d17f0 Update issues policy 2013-12-30 10:16:32 +00:00
Jermolene
9efd45dda9 Docs update 2013-12-30 10:16:24 +00:00
Stephan Hradek
eb7b82696b fixed documentation for issue #314 2013-12-30 09:51:54 +01:00
David Jade
3b114371d0 Only set placeholders when field has no data (fixes #317) 2013-12-29 17:18:00 -08:00
Stephan Hradek
14868d8228 also fixed issue #315 2013-12-30 00:28:43 +01:00
Stephan Hradek
3cc8138133 fixed issue #314 - fix for > at end of line 2013-12-29 23:57:42 +01:00
Jermolene
b6f2f1e1aa Add margin around message box icons 2013-12-29 22:54:26 +00:00
Jermolene
424147234e Add TiddlyWikiClassic upgrading warning 2013-12-29 22:52:46 +00:00
Stephan Hradek
8e080eac0a fixed issue #314 2013-12-29 23:51:22 +01:00
Stephan Hradek
38142d2b19 Missed that I need to explicitly need to git rm … 2013-12-29 22:32:23 +01:00
Jermolene
bd7db62da0 Added support for specifying hostname for the --server command
Fixes #301
2013-12-29 13:07:06 +00:00
Jermolene
4cdfbd6b36 Docs update 2013-12-29 12:54:08 +00:00
Jermolene
ef59a3743f Fix crashes when attempting full screen mode on browsers that don't support it
Fixes #311
2013-12-29 12:54:00 +00:00
Stephan Hradek
cee1bc0863 small typofix 2013-12-29 00:19:51 +01:00
Stephan Hradek
ce8c79ecfa changed sort and sortcs to support nsort and nsortcs 2013-12-29 00:15:11 +01:00
Jermolene
ac81d9d43f Docs update
Hopefully fixing #309
2013-12-28 17:57:11 +00:00
Jermolene
d69614259f Add TiddlyWiki Classic markup to type dropdown 2013-12-28 17:56:48 +00:00
Jermolene
0e88417e62 Update version number for next release 2013-12-28 17:49:35 +00:00
Stephan Hradek
46892371cb fixed issue#232 2013-12-28 17:46:53 +01:00
Stephan Hradek
f9de55ad5f added fix for issue #94 for horizontal rules, tables and typed block 2013-12-25 23:06:42 +01:00
Stephan Hradek
81106e500d added a fix for issue #186 2013-12-25 14:31:35 +01:00
Jermolene
cfad04a5d0 Version number update for 5.0.5-beta 2013-12-24 14:22:28 +00:00
Jermolene
1aa5dedfaf Docs update 2013-12-24 14:21:35 +00:00
Jermolene
98fdd3e184 Fix problem with modal positioning on narrow screens
Fixes #302
2013-12-24 09:44:40 +00:00
Jermolene
73c5ecdaa7 Added a green version of the favicon for the static pages 2013-12-24 09:09:01 +00:00
Jermolene
eef32e70e3 Added support for dynamic favicons
Now it’s possible to edit $:/favicon.ico with the image editor, and see
the changes instantly reflected in the browser.
2013-12-24 09:08:25 +00:00
Jermolene
ad6bf4f9c5 Extend support for .ico files
Now we can parse image/x-icon tiddlers for display, and provide an
entry for them in the type dropdown.
2013-12-24 09:07:25 +00:00
Jermolene
7db31dc138 Typo correction 2013-12-24 09:06:09 +00:00
Jermolene
7b7e799a70 Fixed problem with static content being included in empty.html
A bit of a hack to fix this problem:

https://groups.google.com/forum/#!topic/tiddlywikidev/Ucpbq5eeq8g
2013-12-23 09:53:31 +00:00
Jermolene
3aab737bea Docs update 2013-12-23 08:55:15 +00:00
Jermolene
12b4cc5d3e Update wiki.readFiles() to call the callback just once
Now we accumulate the results and just pass them to the callback once.
2013-12-23 08:55:11 +00:00
Jermolene
10c25c1692 Fix slow regexp in importing TiddlyWiki HTML files 2013-12-23 08:54:33 +00:00
Jermolene
c35742f916 Prepare version info for 5.0.5 2013-12-23 08:54:07 +00:00
Jermolene
15a41d7e57 Docs update 2013-12-22 16:25:01 +00:00
Jermolene
4e37fa7e47 Docs updates 2013-12-22 15:50:27 +00:00
Jermolene
1c17cfb0ff Version number update for 5.0.4-beta 2013-12-22 15:48:22 +00:00
Jermolene
912c26f848 Correct previous commit 2013-12-22 15:46:41 +00:00
Jermolene
a5de1cf7fb Docs update 2013-12-22 15:46:06 +00:00
Jermolene
84e0dc9d1a Docs update 2013-12-22 15:32:04 +00:00
Jermolene
39743b4758 Docs update 2013-12-22 15:07:32 +00:00
Jermolene
6091b41960 Docs update 2013-12-22 11:28:08 +00:00
Jermolene
2d1d53893a Adjust regex to work around an issue with importing certain tiddlers on Firefox 2013-12-22 11:28:03 +00:00
Jermolene
861e350444 Docs update 2013-12-21 20:56:38 +00:00
Jermolene
9a15cb0516 Docs correction 2013-12-21 20:56:31 +00:00
Jermolene
74fd683a22 Clean up indenting 2013-12-21 20:56:19 +00:00
Jermolene
8cc10d87d4 Added missing RawWidget
Fixes #298. Thanks to @buggyj for pointing it out.
2013-12-21 16:11:48 +00:00
Jeremy Ruston
ce13548884 Merge pull request #299 from davidjade/master
Better drag/drop for Firefox/Chrome and improved IE support
2013-12-21 05:34:43 -08:00
Jermolene
ffcc5a09f2 Improve TiddlyFox instructions 2013-12-21 09:12:30 +00:00
David Jade
7f5a8fc937 Better drag/drop for Firefox/Chrome and improved IE support 2013-12-20 19:57:05 -08:00
Jermolene
c740792105 Fixed illegal HTML comments
Pointed out by @Skeeve, double hyphens are not allowed inside HTML
comments
2013-12-20 18:22:01 +00:00
Jermolene
bd80bf4acc Regex optimisation suggested by @Skeeve 2013-12-20 18:14:11 +00:00
Jermolene
e66fb948c1 Typo from #296 2013-12-20 17:07:30 +00:00
Jermolene
79046c52b4 Make the tiddler text prompt be a placeholder 2013-12-20 17:07:15 +00:00
Jermolene
062c4e5400 Make the edit widget pass through the placeholder attribute 2013-12-20 17:06:57 +00:00
Jermolene
8538d69dc1 Update navigator widget to use wiki.generateNewTitle() 2013-12-20 16:53:49 +00:00
Jermolene
274c52005d Merge branch 'tiddlerexistsloops' of https://github.com/Skeeve/TiddlyWiki5 into Skeeve-tiddlerexistsloops 2013-12-20 16:49:12 +00:00
Jermolene
99dd029816 Drop the backticks around colour values
It’s safe to do since no CSS color could be inadvertantly wikified.
2013-12-20 16:44:04 +00:00
Jermolene
1c529ddcd4 Refactored stylesheet implementation
This way we reuse the refresh mechanism properly so that theme tweaks
can be applied interactively.
2013-12-20 15:31:16 +00:00
Jermolene
1491c261f5 Add quick build
For testing it’s handy to be able to build index.html quickly
2013-12-20 15:29:53 +00:00
Jermolene
3bcaab513d Fixed problem with insertBefore() method in fakedom
Was preventing refreshing of widget trees built against the fakedom.
2013-12-20 15:29:01 +00:00
Stephan Hradek
04077549ca Fixed the typos Mario noticed 2013-12-19 20:38:59 +01:00
Jermolene
6c1489fc2f Remove duplicate header
And provide a slightly more informative prompt
2013-12-19 16:53:48 +00:00
Jermolene
1336058336 Docs updates 2013-12-19 16:45:13 +00:00
Jermolene
b659c65959 Add offline download to TiddlyWeb control panel
Add button to download an offline-compatible snapshot to the TiddlyWeb
control panel
2013-12-19 16:28:42 +00:00
Jermolene
e8f16c1c97 Correct description of github-fork-ribbon plugin 2013-12-19 16:26:00 +00:00
Jermolene
6b51a51609 Docs updates 2013-12-19 10:08:14 +00:00
Jermolene
a4d063e884 Docs update 2013-12-19 07:59:18 +00:00
Stephan Hradek
42ba6852d1 changed 2 loops resolving name conflicts for new tiddlers as suggested in issue 294 2013-12-18 23:48:04 +01:00
Jermolene
638c8b2070 Fixes to fullscreen support
Prompted by this article:

http://generatedcontent.org/post/70347573294/is-your-fullscreen-api-code
-up-to-date-find-out-how-to
2013-12-18 21:39:59 +00:00
Jermolene
cc39686693 Create tiddlers subfolder in wiki folder if it is not present 2013-12-18 21:11:52 +00:00
Jermolene
2b72e48a3a Improve prompt for --server command 2013-12-18 21:11:16 +00:00
Jermolene
0ec2224757 Fallback to a default tiddlywiki.info file if it does not exist
We fallback to settings suitable for the server version, to help people
get up and running quickly.
2013-12-18 21:11:00 +00:00
Jermolene
218b9c967e Docs update 2013-12-18 17:34:33 +00:00
Jermolene
a4e4b6797a Give a different coloured favicon for the client server edition 2013-12-18 17:34:02 +00:00
Jermolene
a4e3f66809 Add favicon.ico support to the server 2013-12-18 17:27:24 +00:00
Jermolene
07dd524016 Adjust build scripts to save favicon.ico from wiki
And add file type information for `image/x-icon`
2013-12-18 17:27:10 +00:00
Jermolene
f3b2788ed1 Add a savetiddler command
It saves tiddlers in their original, unrendered format
2013-12-18 17:26:23 +00:00
Jeremy Ruston
a389f9bc8c Merge pull request #181 from natecain/excludes_refactor
A small refactor and addition to exclude more files
2013-12-18 08:51:36 -08:00
Jermolene
1144504bb3 Docs update 2013-12-18 16:29:45 +00:00
Jeremy Ruston
72f07947ea Merge pull request #286 from willover/285
Fix Issue #285: Minor typo
2013-12-18 08:26:08 -08:00
Jeremy Ruston
e8549cba4b Merge pull request #292 from willover/291
Sign CLA (Issue #291)
2013-12-18 08:23:21 -08:00
willover
a5aa2c08b2 Sign CLA (@willover) 2013-12-18 15:47:57 +00:00
Jermolene
14b98f5966 Docs update 2013-12-18 12:05:26 +00:00
Jermolene
7ec516a746 Correct template for the static HTML rendering 2013-12-17 19:36:55 +00:00
willover
886b069dce Fix Issue #285: Minor typo
Fix Issue #285: and TiddlyWikiClassic is -> and "TiddlyWikiClassic" is
2013-12-17 18:49:54 +00:00
Jermolene
b50eb8da30 Fixed problem with tiddler navigation ordering 2013-12-17 15:42:53 +00:00
Jermolene
4ece301a97 Fix fieldmanger to update modified and modifier fields 2013-12-17 15:04:22 +00:00
Jermolene
810167bc7b Improve handling of double square brackets within tags
Now a [[ has to be preceded by the beginning of the string or a
whitespace and a ]] has to be followed by whitespace or the end of the
string to act as quotes.

Thanks to @Skeeve for the regex
2013-12-17 14:53:02 +00:00
Jermolene
1b2a5fe130 Fixed hover effects for Firefox
For some reason Firefox doesn’t like :hover on an SVG element
2013-12-17 13:59:39 +00:00
Jermolene
88d483a2c8 Docs update 2013-12-17 13:42:19 +00:00
Jermolene
db85bfe513 Fix problem with covering of the dragger image
Fixes #253
2013-12-17 13:39:46 +00:00
Jermolene
066a4d9fbc Coding style and layout tweaks 2013-12-17 13:32:15 +00:00
Jermolene
3e2f475324 Merge branch 'master' of https://github.com/davidjade/TiddlyWiki5 into davidjade-master 2013-12-17 13:26:08 +00:00
Jermolene
a5f33d875b Fix up rootwidget and page container
We need to properly link the page container to the rootwidget.

Fixes #223
2013-12-17 13:13:43 +00:00
Jermolene
6d09db5608 Add a favicon 2013-12-16 23:27:26 +00:00
Jermolene
23b2f74e94 Docs update 2013-12-16 08:57:05 +00:00
Jermolene
37a46adac8 Fix problem with radio widget refreshing 2013-12-16 08:52:18 +00:00
Jermolene
65e3780cc1 Preparing for 5.0.4 2013-12-16 08:52:06 +00:00
Jermolene
7d33dd71a2 Version number update for 5.0.3-beta 2013-12-15 17:00:25 +00:00
Jermolene
d03728ea71 Preparation for 5.0.3 2013-12-15 16:57:58 +00:00
Jermolene
9396d52b42 Docs updates 2013-12-15 16:57:51 +00:00
Jermolene
7dc7559b90 Adjust references to five.tiddlywiki.com 2013-12-15 16:53:10 +00:00
Jermolene
5ac5b2c76d Move markdown.js
Leaving it in node_modules meant that it wasn’t getting installed by npm

Fixes #281
2013-12-15 16:44:49 +00:00
Jermolene
d4d8cdf9a4 Getting ready for 5.0.3 2013-12-15 16:41:36 +00:00
Jermolene
9e5e08a7d3 Docs update 2013-12-15 14:57:56 +00:00
Jermolene
41c592b758 Revert the bump to 5.0.3
So that we can do rebuilds if needed as we execute the move to
tiddlywiki.com
2013-12-15 14:44:55 +00:00
Jermolene
84ad161eab Adjust cname for move to tiddlywiki.com 2013-12-15 14:44:33 +00:00
Jermolene
4ab431bb93 Preparing for 5.0.3 2013-12-15 14:40:30 +00:00
Jermolene
f6bea8f58b Docs updates 2013-12-15 14:37:37 +00:00
David Jade
0984e9322f Revised fix for IE drag/drop issue #252
Also improve browser drag/drop inter-op a tiny bit
2013-12-13 03:12:56 -08:00
David Jade
80e0714c0d Fix for IE drag/drop issue #252 2013-12-12 17:32:06 -08:00
natecain
5e743262d4 A small refactor and addition to exclude more files
Refactored duplicated `excludeRegExp` into `$tw.boot.excludeRegExp`
  Added NPM's ignore list to ignore more files during node bootstrap
2013-10-13 12:58:10 -04:00
1008 changed files with 20034 additions and 7226 deletions

52
bld-languages.sh Normal file
View File

@@ -0,0 +1,52 @@
#!/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 \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/de-AT-DE.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/zh-Hant \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/zh-Hant.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/zh-Hans \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/zh-Hans.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/fr-FR \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/fr-FR.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
|| exit 1

16
bld.cmd
View File

@@ -1,6 +1,6 @@
@echo off
rem build TiddlyWiki5 for five.tiddlywiki.com
rem build TiddlyWiki5 for tiddlywiki.com
rem Set up the build output directory
@@ -35,11 +35,15 @@ node .\tiddlywiki.js ^
.\editions\tw5.com ^
--verbose ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\index.html text/plain ^
--savetiddler $:/favicon.ico %TW5_BUILD_OUTPUT%\favicon.ico ^
--rendertiddler ReadMe .\readme.md text/html ^
--rendertiddler ContributingTemplate .\contributing.md text/html ^
--rendertiddler $:/core/copyright.txt .\licenses\copyright.md text/plain ^
--rendertiddler $:/editions/tw5.com/download-empty %TW5_BUILD_OUTPUT%\empty.html text/plain ^
--rendertiddler $:/editions/tw5.com/download-empty %TW5_BUILD_OUTPUT%\empty.hta text/plain ^
--savetiddler $:/green_favicon.ico %TW5_BUILD_OUTPUT%/static/favicon.ico ^
--rendertiddler $:/core/templates/static.template.html %TW5_BUILD_OUTPUT%\static.html text/plain ^
--rendertiddler $:/core/templates/alltiddlers.template.html %TW5_BUILD_OUTPUT%\alltiddlers.html text/plain ^
--rendertiddler $:/core/templates/static.template.css %TW5_BUILD_OUTPUT%\static\static.css text/plain ^
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html %TW5_BUILD_OUTPUT%\static text/plain ^
|| exit 1
@@ -86,9 +90,17 @@ node .\tiddlywiki.js ^
|| exit 1
rem highlightdemo.html: wiki to demo highlight plugin
node .\tiddlywiki.js ^
.\editions\highlightdemo ^
--verbose ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\highlightdemo.html text/plain ^
|| exit 1
rem Make the CNAME file that GitHub Pages requires
echo five.tiddlywiki.com > %TW5_BUILD_OUTPUT%\CNAME
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

16
bld.sh
View File

@@ -1,6 +1,6 @@
#!/bin/bash
# build TiddlyWiki5 for five.tiddlywiki.com
# build TiddlyWiki5 for tiddlywiki.com
# Set up the build output directory
@@ -17,7 +17,7 @@ echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
# Make the CNAME file that GitHub Pages requires
echo "five.tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
# Create the `static` directories if necessary
@@ -36,11 +36,15 @@ node ./tiddlywiki.js \
./editions/tw5.com \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/index.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
--rendertiddler ReadMe ./readme.md text/html \
--rendertiddler ContributingTemplate ./contributing.md text/html \
--rendertiddler $:/core/copyright.txt ./licenses/copyright.md text/plain \
--rendertiddler $:/editions/tw5.com/download-empty $TW5_BUILD_OUTPUT/empty.html text/plain \
--rendertiddler $:/editions/tw5.com/download-empty $TW5_BUILD_OUTPUT/empty.hta text/plain \
--savetiddler $:/green_favicon.ico $TW5_BUILD_OUTPUT/static/favicon.ico \
--rendertiddler $:/core/templates/static.template.html $TW5_BUILD_OUTPUT/static.html text/plain \
--rendertiddler $:/core/templates/alltiddlers.template.html $TW5_BUILD_OUTPUT/alltiddlers.html text/plain \
--rendertiddler $:/core/templates/static.template.css $TW5_BUILD_OUTPUT/static/static.css text/plain \
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html $TW5_BUILD_OUTPUT/static text/plain \
|| exit 1
@@ -86,6 +90,14 @@ node ./tiddlywiki.js \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/markdowndemo.html text/plain \
|| exit 1
# highlightdemo.html: wiki to demo highlight plugin
node ./tiddlywiki.js \
./editions/highlightdemo \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/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

@@ -14,13 +14,11 @@ Error message and password prompt
z-index: 20000;
position: fixed;
text-align: center;
width: 480px;
width: 200px;
top: 4em;
left: 50%;
margin-left: -264px; /* - width/2 - paddingHorz/2 - border */
margin-left: -144px; /* - width/2 - paddingHorz/2 - border */
padding: 16px 16px 16px 16px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
@@ -29,6 +27,8 @@ Error message and password prompt
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
background-color: rgb(255, 75, 75);
border: 8px solid rgb(255, 0, 0);
width: 480px;
margin-left: -244px; /* - width/2 - paddingHorz/2 - border */
}
.tw-error-form div {
@@ -54,4 +54,9 @@ Error message and password prompt
.tw-password-wrapper h1 {
font-size: 16px;
line-height: 20px;
padding-bottom: 16px;
}
.tw-password-wrapper input {
width: 100%;
}

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,12 @@ var _bootprefix = (function($tw) {
"use strict";
$tw = $tw || {browser: typeof(window) !== "undefined" ? {} : null};
$tw = $tw || {};
// Detect platforms
$tw.browser = typeof(window) !== "undefined" ? {} : null;
$tw.node = typeof(process) === "object" ? {} : null;
$tw.nodeWebKit = $tw.node && global.window && global.window.nwDispatcher ? {} : null;
/*
Information about each module is kept in an object with these members:
@@ -92,6 +97,3 @@ if(typeof(exports) === "undefined") {
// Export functionality as a module
exports.bootprefix = _bootprefix;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
title: $:/config/EditorTypeMappings/image/gif
bitmap

View File

@@ -0,0 +1,3 @@
title: $:/config/EditorTypeMappings/image/jpeg
bitmap

View File

@@ -0,0 +1,3 @@
title: $:/config/EditorTypeMappings/image/jpg
bitmap

View File

@@ -0,0 +1,3 @@
title: $:/config/EditorTypeMappings/image/png
bitmap

View File

@@ -0,0 +1,3 @@
title: $:/config/EditorTypeMappings/image/x-icon
bitmap

View File

@@ -0,0 +1,3 @@
title: $:/config/EditorTypeMappings/text/vnd.tiddlywiki
text

View File

@@ -4,7 +4,7 @@ type: text/plain
TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)
Copyright © Jeremy Ruston 2004-2007
Copyright © UnaMesa Association 2007-2013
Copyright © UnaMesa Association 2007-2014
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/bag
The name of the bag from which a tiddler came

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/color
The CSS color value associated with a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/created
The date a tiddler was created

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/creator
The name of the person who created a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/description
The descriptive text for a wizard

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/draft.of
For draft tiddlers, contains the title of the tiddler of which this is a draft

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/draft.title
For draft tiddlers, contains the proposed new title of the tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/footer
The footer text for a wizard

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/icon
The title of the tiddler containing the icon associated with a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/library
If set to "yes" indicates that a tiddler should be saved as a JavaScript library

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/list
An ordered list of tiddler titles associated with a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/modified
The date and time at which a tiddler was last modified

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/modifier
The tiddler title associated with the person who last modified a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/name
The human readable name associated with a plugin tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/plugin-priority
A numerical value indicating the priority of a plugin tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/plugin-type
The type of plugin in a plugin tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/revision
The revision of the tiddler held at the server

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/source
The source URL associated with a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/subtitle
The subtitle text for a wizard

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/tags
A list of tags associated with a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/text
The body text of a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/title
The unique name of a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/fields/type
The content type of a tiddler

View File

@@ -1,3 +0,0 @@
title: $:/docs/moduletypes/animation
Animation modules contain animations that may be used with the RevealWidget.

View File

@@ -1,3 +0,0 @@
title: $:/docs/types/application/json
description: JSON data
name: application/json

View File

@@ -1,3 +0,0 @@
title: $:/docs/types/image/gif
description: GIF image
name: image/gif

View File

@@ -1,3 +0,0 @@
title: $:/docs/types/image/png
description: PNG image
name: image/png

View File

@@ -1,3 +0,0 @@
title: $:/docs/types/text/vnd.tiddlywiki
description: TW5 wikitext
name: text/vnd.tiddlywiki

View File

@@ -1,3 +1,4 @@
title: $:/core/images/cancel-button
tags: $:/tags/Image
<svg class="tw-image-cancel-button tw-image-button" viewBox="366 150 58 58" width="22pt" height="22pt"><path d="M 414.76236 158.98764 C 403.77887 148.0041 385.97113 148.0041 374.98764 158.98764 C 364.0041 169.97113 364.0041 187.77887 374.98764 198.76236 C 385.97113 209.7459 403.77887 209.7459 414.76236 198.76236 C 425.7459 187.77887 425.7459 169.97113 414.76236 158.98764 M 385.3967 165.32954 L 385.3967 165.32954 L 394.77674 174.7096 L 404.3533 165.13303 C 405.53068 163.95566 407.4396 163.95566 408.61697 165.13303 C 409.79434 166.31041 409.79434 168.21932 408.61697 169.39669 L 399.0404 178.97325 L 408.42046 188.35331 C 409.59783 189.53068 409.59783 191.43959 408.42046 192.61697 L 408.42046 192.61697 C 407.24308 193.79434 405.33417 193.79434 404.1568 192.61697 L 394.77675 183.23692 L 385.5932 192.42046 C 384.41583 193.59783 382.50692 193.59783 381.32954 192.42046 L 381.32954 192.42046 C 380.15217 191.24308 380.15217 189.33417 381.32954 188.1568 C 381.32954 188.1568 381.32954 188.1568 381.32954 188.1568 L 381.32954 188.1568 L 381.32954 188.1568 L 390.51309 178.97326 L 381.13303 169.5932 C 379.95566 168.41583 379.95566 166.50692 381.13303 165.32954 L 381.13303 165.32954 C 382.3104 164.15217 384.21932 164.15217 385.3967 165.32954 C 385.3967 165.32954 385.3967 165.32954 385.3967 165.32954 Z"/></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/close-button
tags: $:/tags/Image
<svg class="tw-image-close-button tw-image-button" viewBox="222 150 56 56" width="22pt" height="22pt"><path d="M 249.56668 185.88827 L 267.06757 203.38916 C 269.26427 205.58586 272.82582 205.58586 275.02252 203.38916 L 275.02252 203.38916 C 277.21922 201.19246 277.21922 197.63091 275.02252 195.43421 L 257.52163 177.93332 L 275.38916 160.06579 C 277.58586 157.86909 277.58586 154.30754 275.38916 152.11084 C 273.19246 149.91414 269.63091 149.91414 267.43421 152.11084 L 249.56668 169.97837 L 232.06579 152.47748 L 232.06579 152.47748 C 232.06579 152.47748 232.06579 152.47748 232.06579 152.47748 C 229.86909 150.28078 226.30754 150.28078 224.11084 152.47748 L 224.11084 152.47748 C 221.91414 154.674175 221.91414 158.23573 224.11084 160.43243 L 241.61173 177.93332 L 224.47748 195.06757 L 224.47748 195.06757 L 224.47748 195.06757 C 224.47748 195.06757 224.47748 195.06757 224.47748 195.06757 C 222.28078 197.26427 222.28078 200.82583 224.47748 203.02252 L 224.47748 203.02252 C 226.67418 205.21922 230.23573 205.21922 232.43243 203.02252 Z"/></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/delete-button
tags: $:/tags/Image
<svg class="tw-image-delete-button tw-image-button" viewBox="303 155 39 50" width="17pt" height="22pt"><path d="M 333 164.25 L 333 157.25 C 333 156.14543 332.10457 155.25 331 155.25 L 314.75 155.25 C 314.75 155.25 314.75 155.25 314.75 155.25 C 313.64543 155.25 312.75 156.14543 312.75 157.25 L 312.75 164.25 L 303.75 164.25 L 303.75 168.75 L 306 168.75 L 306 201.75 L 306 201.75 L 306 201.75 C 306 203.40685 307.34315 204.75 309 204.75 L 336.75 204.75 C 338.40685 204.75 339.75 203.40685 339.75 201.75 L 339.75 168.75 L 342 168.75 L 342 164.25 Z M 317.25 160.75 L 317.25 160.75 C 317.25 160.19772 317.69772 159.75 318.25 159.75 C 318.25 159.75 318.25 159.75 318.25 159.75 L 327.5 159.75 C 328.05228 159.75 328.5 160.19772 328.5 160.75 L 328.5 164.25 L 317.25 164.25 L 317.25 160.75 Z M 310.5 168.75 L 312.75 168.75 L 312.75 200.25 L 310.5 200.25 Z M 317.25 168.75 L 319.5 168.75 L 319.5 200.25 L 317.25 200.25 Z M 324 168.75 L 326.25 168.75 L 326.25 200.25 L 324 200.25 Z M 330.75 168.75 L 333 168.75 L 333 200.25 L 330.75 200.25 Z"/></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/done-button
tags: $:/tags/Image
<svg class="tw-image-done-button tw-image-button" viewBox="434 150 68 55" width="22pt" height="18pt"><path d="M 438.49266 178.00797 L 439.00744 177.49319 C 441.35054 175.15008 445.14946 175.15004 447.49262 177.49309 L 452.50734 182.50757 C 454.8505 184.85063 458.6494 184.85058 460.99252 182.50748 L 488.50747 154.99255 C 490.85058 152.64944 494.6495 152.6494 496.99266 154.99246 L 497.50722 155.506995 C 499.8504 157.85009 499.8505 161.64908 497.5074 163.99228 C 497.50738 163.99229 497.50736 163.99231 497.50734 163.99233 L 460.9926 200.5077 C 458.64947 202.85087 454.85048 202.8509 452.50732 200.50778 C 452.5073 200.50777 452.5073 200.50777 452.5073 200.50776 L 438.49268 186.49327 C 436.14952 184.15013 436.1495 180.35114 438.49264 178.00799 C 438.49265 178.00798 438.49265 178.00797 438.49266 178.00797 Z"/></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/down-arrow
tags: $:/tags/Image
<svg class="tw-image-down-arrow tw-image-button" viewBox="441 306 59 45" width="24pt" height="22pt"><path d="M 441 306 L 470.25 351 L 499.5 306 Z"/></svg>
<svg class="tw-image-down-arrow tw-image-button" viewBox="63 152 64 64" width="22pt" height="22pt"><path d="M 98.001786 212.81802 L 123.45763 187.36218 C 125.21499 185.60482 125.21499 182.75557 123.45763 180.99821 C 121.70027 179.24086 118.85103 179.24086 117.09367 180.99821 L 94.819805 203.27208 L 72.54594 180.99821 C 70.788582 179.24086 67.93934 179.24086 66.18198 180.99821 C 64.42462 182.75557 64.42462 185.60482 66.18198 187.36218 L 91.637825 212.81802 C 93.395184 214.57538 96.244426 214.57538 98.001786 212.81802 Z"/></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/edit-button
tags: $:/tags/Image
<svg class="tw-image-edit-button tw-image-button" viewBox="244 193 20 22" width="20pt" height="22pt"><path d="M 257.33334 196.80951 L 245.90476 207.2857 L 244 212.0476 L 248.7619 210.14284 L 260.19048 199.66665 Z M 259.2381 194.90475 L 258.28566 195.85716 L 261.14284 198.71428 L 262.09522 197.76187 Z M 261.14286 193 L 260.19042 193.95241 L 263.04762 196.80953 L 264 195.85714 Z M 244 213.72882 C 244 213.72882 247.4281 215.43353 250.8572 213.7288 C 254.28599 212.02405 261.14284 214.86531 261.14284 214.86531 L 261.14284 213.72884 C 261.14284 213.72884 254.28577 210.88755 250.8572 212.5923 C 247.42858 214.29712 244 212.59228 244 212.59228 Z"/></svg>

View File

@@ -0,0 +1,4 @@
title: $:/core/images/home-button
tags: $:/tags/Image
<svg class="tw-image-home-button tw-image-button" viewBox="81 513 64 54" width="22pt" height="22pt"><g><path d="M 97.04536 522.62083 L 81.364685 531.49067 L 87.85863 531.49067 L 87.85863 566.9699 L 107.49902 566.9699 L 107.49902 552.99265 L 117.95268 552.99265 L 117.95268 566.9699 L 137.59307 566.9699 L 137.59307 531.49067 L 144.086885 531.49067 L 112.72591 513.751 L 107.49902 516.70758 L 107.49902 513.751 L 97.04536 513.751 Z M 94.669443 534.17844 L 103.222493 534.17844 L 103.222493 545.19854 L 94.669443 545.19854 Z M 108.449266 534.17844 L 117.002435 534.17844 L 117.002435 545.19854 L 108.449266 545.19854 Z M 122.387575 534.17844 L 130.9405 534.17844 L 130.9405 545.19854 L 122.387575 545.19854 Z"/></g></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/info-button
tags: $:/tags/Image
<svg class="tw-image-info-button tw-image-button" viewBox="294 150 58 58" width="22pt" height="22pt"><path d="M 342.76236 158.98764 C 331.77887 148.0041 313.97113 148.0041 302.98764 158.98764 C 292.0041 169.97113 292.0041 187.77887 302.98764 198.76236 C 313.97113 209.7459 331.77887 209.7459 342.76236 198.76236 C 353.7459 187.77887 353.7459 169.97113 342.76236 158.98764 M 326.5425 157.5 L 326.5425 157.5 C 327.72545 157.5 328.72201 157.91022 329.5337 158.73088 C 330.34465 159.55157 330.75 160.54402 330.75 161.7075 C 330.75 162.87172 330.33979 163.86316 329.51911 164.68385 C 328.69842 165.5045 327.70674 165.91501 326.5425 165.91501 C 325.39801 165.91501 324.4153 165.5045 323.5946 164.68385 C 322.77393 163.86316 322.36372 162.87172 322.36372 161.7075 C 322.36372 160.54402 322.76906 159.55157 323.58 158.73088 C 324.39171 157.91022 325.3793 157.5 326.5425 157.5 Z M 327.80211 190.47259 C 324.91945 195.49132 321.85778 198 318.61462 198 C 317.37452 198 316.38691 197.65158 315.65186 196.9555 C 314.9176 196.25866 314.54943 195.37617 314.54943 194.30782 C 314.54943 193.60202 314.71223 192.70572 315.03629 191.61813 L 319.0151 177.93651 C 319.39685 176.61922 319.58735 175.62754 319.58735 174.95991 C 319.58735 174.53996 319.40582 174.16692 319.04356 173.84286 C 318.68052 173.51905 318.18469 173.35701 317.55527 173.35701 C 317.26861 173.35701 316.92506 173.36677 316.5246 173.38548 L 316.89661 172.2407 L 326.59967 170.66627 L 328.31744 170.66627 L 322.44986 191.01638 C 322.12503 192.18064 321.963 192.94337 321.963 193.30666 C 321.963 193.51588 322.04862 193.71121 322.2204 193.89273 C 322.39218 194.07425 322.5737 194.16554 322.7642 194.16477 C 323.08903 194.16554 323.4131 194.02221 323.73792 193.73559 C 324.59605 193.02976 325.6267 191.75142 326.82838 189.90008 Z"/></svg>

View File

@@ -0,0 +1,4 @@
title: $:/core/images/menu-button
tags: $:/tags/Image
<svg class="tw-image-menu-button tw-image-button" viewBox="216 585 63 45" width="22pt" height="22pt"><g><path d="M 274.5 585 L 229.5 585 C 227.01472 585 225 587.01472 225 589.5 L 225 589.5 C 225 591.98528 227.01472 594 229.5 594 L 274.5 594 C 276.98528 594 279 591.98528 279 589.5 L 279 589.5 C 279 587.01472 276.98528 585 274.5 585 Z"/><path d="M 274.5 603 L 229.5 603 C 227.01472 603 225 605.01472 225 607.5 L 225 607.5 C 225 609.98528 227.01472 612 229.5 612 L 274.5 612 C 276.98528 612 279 609.98528 279 607.5 L 279 607.5 C 279 605.01472 276.98528 603 274.5 603 Z"/><path d="M 274.5 621 L 229.5 621 C 227.01472 621 225 623.01472 225 625.5 L 225 625.5 C 225 627.9853 227.01472 630 229.5 630 L 274.5 630 C 276.98528 630 279 627.9853 279 625.5 L 279 625.5 C 279 623.01472 276.98528 621 274.5 621 Z"/></g></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/new-button
tags: $:/tags/Image
<svg class="tw-image-new-button tw-image-button" viewBox="83 81 50 50" width="22pt" height="22pt"><path d="M 101.25 112.5 L 101.25 127.5 C 101.25 127.5 101.25 127.5 101.25 127.5 L 101.25 127.5 C 101.25 129.156855 102.593146 130.5 104.25 130.5 L 111.75 130.5 C 113.406854 130.5 114.75 129.156854 114.75 127.5 L 114.75 112.5 L 129.75 112.5 C 131.406854 112.5 132.75 111.156854 132.75 109.5 L 132.75 102 C 132.75 100.343146 131.406854 99 129.75 99 L 114.75 99 L 114.75 84 C 114.75 82.343146 113.406854 81 111.75 81 L 104.25 81 C 104.25 81 104.25 81 104.25 81 C 102.593146 81 101.25 82.343146 101.25 84 L 101.25 99 L 86.25 99 C 86.25 99 86.25 99 86.25 99 C 84.593146 99 83.25 100.343146 83.25 102 L 83.25 109.5 C 83.25 109.5 83.25 109.5 83.25 109.5 L 83.25 109.5 C 83.25 111.156855 84.593146 112.5 86.25 112.5 Z"/></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/options-button
tags: $:/tags/Image
<svg class="tw-image-options-button tw-image-button" viewBox="434 218 68 68" width="22pt" height="22pt"><path d="M 478.39696 232.53705 L 478.39696 232.53705 C 477.11453 231.85132 475.77877 231.30146 474.4106 230.88735 L 474.4106 218.24993 L 461.58944 218.24993 L 461.58944 230.88735 C 460.22126 231.30146 458.8855 231.85132 457.60308 232.53705 L 448.66825 223.60214 L 439.6022 232.66814 L 448.53716 241.60304 C 447.8515 242.88541 447.30158 244.22116 446.88747 245.58935 L 434.25 245.58935 L 434.25 258.41052 L 446.88747 258.41052 C 447.30158 259.7787 447.8515 261.11446 448.53716 262.39689 L 439.6022 271.33173 L 448.66825 280.39779 L 457.60308 271.46281 C 458.8855 272.14862 460.22126 272.69847 461.58944 273.11251 L 461.58944 285.74986 L 474.4106 285.74986 L 474.4106 273.11251 C 475.77877 272.69847 477.11453 272.14862 478.39696 271.46281 L 487.3318 280.39779 L 496.3977 271.33173 L 487.46287 262.39689 C 488.14854 261.11446 488.6984 259.7787 489.11257 258.41052 L 501.7499 258.41052 L 501.7499 245.58935 L 489.11257 245.58935 C 488.6984 244.22116 488.14854 242.88541 487.46287 241.60304 L 496.3977 232.66814 L 487.3318 223.60214 Z M 475.3328 244.66714 C 479.38253 248.71698 479.38253 255.2829 475.3328 259.33273 C 471.28297 263.3826 464.71706 263.3826 460.66723 259.33273 C 456.61737 255.2829 456.61737 248.71698 460.66723 244.66714 C 464.71706 240.61734 471.28297 240.61734 475.3328 244.66714"/></svg>

View File

@@ -1,3 +1,4 @@
title: $:/core/images/save-button
tags: $:/tags/Image
<svg class="tw-image-save-button tw-image-button" viewBox="4 512 64 60" width="22pt" height="21pt"><path d="M 13.5 537.75 L 11.5 537.75 C 11.5 537.75 11.5 537.75 11.5 537.75 C 7.6340064 537.75 4.4999994 540.884 4.5 544.75 L 4.5 564.5 L 4.5 564.5 C 4.5 564.5 4.5 564.5 4.5 564.5 L 4.5 564.5 C 4.5000006 568.366 7.634007 571.5 11.5 571.5 L 60.5 571.5 C 64.365993 571.5 67.5 568.366 67.5 564.5 L 67.5 544.75 C 67.5 540.884 64.365993 537.75 60.5 537.75 L 58.5 537.75 L 49.5 546.75 L 50 546.75 C 52.20914 546.75 54 548.54086 54 550.75 L 54 556.25 C 54 558.45914 52.20914 560.25 50 560.25 L 36 560.25 L 22 560.25 C 19.790861 560.25 18 558.45914 18 556.25 L 18 556.25 C 18 556.25 18 556.25 18 556.25 L 18 550.75 C 18 548.54086 19.790861 546.75 22 546.75 C 22 546.75 22 546.75 22 546.75 L 22.5 546.75 Z"/><path d="M 16.37132 533.87132 L 33.87868 551.37868 C 35.050253 552.55025 36.949747 552.55025 38.12132 551.37868 L 55.62868 533.87132 C 56.800252 532.69975 56.800252 530.80025 55.62868 529.62868 C 55.06607 529.06607 54.30301 528.75 53.50736 528.75 L 48 528.75 C 46.343146 528.75 45 527.40685 45 525.75 L 45 516 C 45 514.34315 43.656854 513 42 513 L 30 513 C 28.343146 513 27 514.34315 27 516 L 27 525.75 C 27 527.40685 25.656854 528.75 24 528.75 L 18.492641 528.75 C 16.835786 528.75 15.492641 530.09315 15.492641 531.75 C 15.492641 532.54565 15.808711 533.3087 16.37132 533.87132 Z"/></svg>

7
core/language/en-GB.tid Normal file
View File

@@ -0,0 +1,7 @@
title: $:/languages/en-GB
name: en-GB
description: English (British)
author: JeremyRuston
core-version: >=5.0.0"
Stub pseudo-plugin for the default language

View File

@@ -0,0 +1,75 @@
title: $:/language/ControlPanel/
Advanced/Caption: Advanced
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/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:
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/OverriddenShadowTiddlers/Prompt: Number of overridden shadow tiddlers:
Basics/ShadowTiddlers/Prompt: Number of shadow tiddlers:
Basics/Subtitle/Prompt: Subtitle:
Basics/SystemTiddlers/Prompt: Number of system tiddlers:
Basics/Tags/Prompt: Number of tags:
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:
Plugins/Caption: Plugins
Plugins/Fields/Description: Description
Plugins/Fields/Title: Title
Plugins/Fields/Version: Version
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/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//
Saving/TiddlySpot/Password: Password
Saving/TiddlySpot/ServerURL: Server URL
Saving/TiddlySpot/UploadDir: Upload Directory
Saving/TiddlySpot/UserName: Wiki Name
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,22 @@
title: $:/language/Docs/ModuleTypes/
animation: Animations that may be used with the RevealWidget.
browser-startup: Startup functions that are only executed in the browser.
command: Commands that can be executed under Node.js.
config: Data to be inserted into `$tw.config`.
filteroperator: Individual filter operator methods.
global: Global data to be inserted into `$tw`.
isfilteroperator: Operands for the ''is'' filter operator.
macro: JavaScript macro definitions.
parser: Parsers for different content types.
saver: Savers handle different methods for saving files from the browser.
startup: Startup functions.
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.
utils: Adds methods to `$tw.utils`.
utils-node: Adds Node.js-specific methods to `$tw.utils`.
widget: Widgets encapsulate DOM rendering and refreshing.
wikimethod: Adds methods to `$tw.Wiki`.
wikirule: Individual parser rules for the main WikiText parser.

View File

@@ -0,0 +1,100 @@
title: $:/language/Docs/PaletteColours/
alert-background: Alert background
alert-border: Alert border
alert-highlight: Alert highlight
alert-muted-foreground: Alert muted foreground
background: General background
blockquote-bar: Blockquote bar
code-background: Code background
code-border: Code border
code-foreground: Code foreground
download-background: Download button background
download-foreground: Download button foreground
dragger-background: Dragger background
dragger-foreground: Dragger foreground
dropdown-background: Dropdown background
dropdown-border: Dropdown border
dropdown-tab-background-selected: Dropdown tab background for selected tabs
dropdown-tab-background: Dropdown tab background
dropzone-background: Dropzone background
external-link-background-hover: External link background hover
external-link-background-visited: External link background visited
external-link-background: External link background
external-link-foreground-hover: External link foreground hover
external-link-foreground-visited: External link foreground visited
external-link-foreground: External link foreground
foreground: General foreground
message-background: Message box background
message-border: Message box border
message-foreground: Message box foreground
modal-backdrop: Modal backdrop
modal-background: Modal background
modal-border: Modal border
modal-footer-background: Modal footer background
modal-footer-border: Modal footer border
modal-header-border: Modal header border
muted-foreground: General muted foreground
notification-background: Notification background
notification-border: Notification border
page-background: Page background
pre-background: Preformatted code background
pre-border: Preformatted code border
primary: General primary
sidebar-button-foreground: Sidebar button foreground
sidebar-controls-foreground-hover: Sidebar controls foreground hover
sidebar-controls-foreground: Sidebar controls foreground
sidebar-foreground-shadow: Sidebar foreground shadow
sidebar-foreground: Sidebar foreground
sidebar-muted-foreground-hover: Sidebar muted foreground hover
sidebar-muted-foreground: Sidebar muted foreground
sidebar-tab-background-selected: Sidebar tab background for selected tabs
sidebar-tab-background: Sidebar tab background
sidebar-tab-border-selected: Sidebar tab border for selected tabs
sidebar-tab-border: Sidebar tab border
sidebar-tab-divider: Sidebar tab divider
sidebar-tab-foreground-selected: Sidebar tab foreground for selected tabs
sidebar-tab-foreground: Sidebar tab foreground
sidebar-tiddler-link-foreground-hover: Sidebar tiddler link foreground hover
sidebar-tiddler-link-foreground: Sidebar tiddler link foreground
static-alert-foreground: Static alert foreground
tab-background-selected: Tab background for selected tabs
tab-background: Tab background
tab-border-selected: Tab border for selected tabs
tab-border: Tab border
tab-divider: Tab divider
tab-foreground-selected: Tab foreground for selected tabs
tab-foreground: Tab foreground
table-border: Table border
table-footer-background: Table footer background
table-header-background: Table header background
tag-background: Tag background
tag-foreground: Tag foreground
tiddler-background: Tiddler background
tiddler-border: Tiddler border
tiddler-controls-foreground-hover: Tiddler controls foreground hover
tiddler-controls-foreground-selected: Tiddler controls foreground for selected controls
tiddler-controls-foreground: Tiddler controls foreground
tiddler-editor-background: Tiddler editor background
tiddler-editor-border-image: Tiddler editor border image
tiddler-editor-border: Tiddler editor border
tiddler-editor-fields-even: Tiddler editor background for even fields
tiddler-editor-fields-odd: Tiddler editor background for odd fields
tiddler-info-background: Tiddler info panel background
tiddler-info-border: Tiddler info panel border
tiddler-info-tab-background: Tiddler info panel tab background
tiddler-link-background: Tiddler link background
tiddler-link-foreground: Tiddler link foreground
tiddler-subtitle-foreground: Tiddler subtitle foreground
tiddler-title-foreground: Tiddler title foreground
toolbar-new-button: Toolbar 'new tiddler' button foreground
toolbar-options-button: Toolbar 'options' button foreground
toolbar-save-button: Toolbar 'save' button foreground
toolbar-info-button: Toolbar 'info' button foreground
toolbar-edit-button: Toolbar 'edit' button foreground
toolbar-close-button: Toolbar 'close' button foreground
toolbar-delete-button: Toolbar 'delete' button foreground
toolbar-cancel-button: Toolbar 'cancel' button foreground
toolbar-done-button: Toolbar 'done' button foreground
untagged-background: Untagged pill background
very-muted-foreground: Very muted foreground

View File

@@ -0,0 +1,14 @@
title: $:/language/EditTemplate/
Body/Hint: Use [[wiki text|http://tiddlywiki.com/static/WikiText.html]] to add formatting, images, and dynamic features
Body/Placeholder: Type the text for this tiddler
Body/Preview/Button/Hide: hide preview
Body/Preview/Button/Show: show preview
Fields/Add/Button: add
Fields/Add/Name/Placeholder: field name
Fields/Add/Prompt: Add a new field:
Fields/Add/Value/Placeholder: field value
Tags/Add/Button: add
Tags/Add/Placeholder: tag name
Type/Placeholder: content type
Type/Prompt: Type:

View File

@@ -0,0 +1,34 @@
title: $:/language/Docs/Fields/
bag: The name of the bag from which a tiddler came
caption: The text to be displayed on a tab or button
color: The CSS color value associated with a tiddler
component: The name of the component responsible for an [[alert tiddler|AlertMechanism]]
current-tiddler: Used to cache the top tiddler in a [[history list|HistoryMechanism]]
created: The date a tiddler was created
creator: The name of the person who created a tiddler
dependents: For a plugin, lists the dependent plugin titles
description: The descriptive text for a plugin, or a modal dialogue
draft.of: For draft tiddlers, contains the title of the tiddler of which this is a draft
draft.title: For draft tiddlers, contains the proposed new title of the tiddler
footer: The footer text for a wizard
hack-to-give-us-something-to-compare-against: A temporary storage field used in [[$:/core/templates/static.content]]
icon: The title of the tiddler containing the icon associated with a tiddler
library: If set to "yes" indicates that a tiddler should be saved as a JavaScript library
list: An ordered list of tiddler titles associated with a tiddler
list-before: If set, the title of a tiddler before which this tiddler should be added to the ordered list of tiddler titles, or at the start of the list if this field is present but empty
list-after: If set, the title of the tiddler after which this tiddler should be added to the ordered list of tiddler titles
modified: The date and time at which a tiddler was last modified
modifier: The tiddler title associated with the person who last modified a tiddler
name: The human readable name associated with a plugin tiddler
plugin-priority: A numerical value indicating the priority of a plugin tiddler
plugin-type: The type of plugin in a plugin tiddler
revision: The revision of the tiddler held at the server
released: Date of a TiddlyWiki release
source: The source URL associated with a tiddler
subtitle: The subtitle text for a wizard
tags: A list of tags associated with a tiddler
text: The body text of a tiddler
title: The unique name of a tiddler
type: The content type of a tiddler
version: Version information for a plugin

View File

@@ -0,0 +1,12 @@
title: $:/language/Filters/
AllTiddlers: All tiddlers except system tiddlers
RecentTiddlers: Recently modified tiddlers
AllTags: All tags except system tags
Missing: Missing tiddlers
Drafts: Draft tiddlers
Orphans: Orphan tiddlers
SystemTiddlers: System tiddlers
ShadowTiddlers: Shadow tiddlers
OverriddenShadowTiddlers: Overridden shadow tiddlers
SystemTags: System tags

View File

@@ -0,0 +1,13 @@
title: GettingStarted
Welcome to TiddlyWiki, the non-linear personal web notebook.
To get started, first verify that you can save changes successfully - see http://tiddlywiki.com/ for detailed instructions.
Then you can:
* Create new tiddlers using the 'plus' button in the sidebar
* Visit the [[control panel|$:/ControlPanel]] using the 'cog' button in the sidebar to customise your wiki
** Stop this message appearing by changing the default tiddlers under the ''Basics'' tab
* Save changes using the 'download' button in the sidebar
* Learn more about [[WikiText|http://tiddlywiki.com/static/WikiText.html]]

View File

@@ -0,0 +1,22 @@
title: $:/language/Help/default
\define commandTitle()
$:/language/Help/$(command)$
\end
```
usage: tiddlywiki [<wikifolder>] [--<command> [<args>...]...]
```
Available commands:
<ul>
<$list filter="[commands[]sort[title]]" variable="command">
<li><$link to=<<commandTitle>>><$macrocall $name="command" $type="text/plain" $output="text/plain"/></$link>: <$transclude tiddler=<<commandTitle>> field="description"/></li>
</$list>
</ul>
To get detailed help on a command:
```
tiddlywiki --help <command>
```

View File

@@ -0,0 +1,10 @@
title: $:/language/Help/help
description: Display help for TiddlyWiki commands
Displays help text for a command:
```
--help [<command>]
```
If the command name is omitted then a list of available commands is displayed.

View File

@@ -0,0 +1,23 @@
title: $:/language/Help/init
description: Initialise a new wiki folder
Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.
```
--init <edition> [<edition> ...]
```
For example:
```
tiddlywiki ./MyWikiFolder --init empty
```
Note:
* The wiki folder directory will be created if necessary
* The "edition" defaults to ''empty''
* The init command will fail if the wiki folder is not empty
* The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file
* When multiple editions are specified, editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)
* `--help editions` returns a list of available editions

View File

@@ -0,0 +1,16 @@
title: $:/language/Help/load
description: Load tiddlers from a file
Load tiddlers from 2.x.x TiddlyWiki files (`.html`), `.tiddler`, `.tid`, `.json` or other files
```
--load <filepath>
```
To load tiddlers from an encrypted TiddlyWiki file you should first specify the password with the PasswordCommand. For example:
```
tiddlywiki ./MyWiki --password pa55w0rd --load my_encrypted_wiki.html
```
Note that TiddlyWiki will not load an older version of an already loaded plugin.

View File

@@ -0,0 +1,3 @@
title: $:/language/Help/notfound
No such help item

View File

@@ -0,0 +1,9 @@
title: $:/language/Help/password
description: Set a password for subsequent crypto operations
Set a password for subsequent crypto operations
```
--password <password>
```

View File

@@ -0,0 +1,8 @@
title: $:/language/Help/rendertiddler
description: Render an individual tiddler as a specified ContentType
Render an individual tiddler as a specified ContentType, defaults to `text/html` and save it to the specified filename:
```
--rendertiddler <title> <filename> [<type>]
```

View File

@@ -0,0 +1,14 @@
title: $:/language/Help/rendertiddlers
description: Render tiddlers matching a filter to a specified ContentType
Render a set of tiddlers matching a filter to separate files of a specified ContentType (defaults to `text/html`) and extension (defaults to `.html`).
```
--rendertiddlers <filter> <template> <pathname> [<type>] [<extension>]
```
For example:
```
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html ./static text/plain
```

View File

@@ -0,0 +1,8 @@
title: $:/language/Help/savetiddler
description: Saves a raw tiddler to a file
Saves an individual tiddler in its raw text or binary format to the specified filename.
```
--savetiddler <title> <filename>
```

View File

@@ -0,0 +1,30 @@
title: $:/language/Help/server
description: Provides an HTTP server interface to TiddlyWiki
The server built in to TiddlyWiki5 is very simple. Although compatible with TiddlyWeb it doesn't support many of the features needed for robust Internet-facing usage.
At the root, it serves a rendering of a specified tiddler. Away from the root, it serves individual tiddlers encoded in JSON, and supports the basic HTTP operations for `GET`, `PUT` and `DELETE`.
```
--server <port> <roottiddler> <rendertype> <servetype> <username> <password> <host>
```
The parameters are:
* ''port'' - port number to serve from (defaults to "8080")
* ''roottiddler'' - the tiddler to serve at the root (defaults to "$:/core/save/all")
* ''rendertype'' - the content type to which the root tiddler should be rendered (defaults to "text/plain")
* ''servetype'' - the content type with which the root tiddler should be served (defaults to "text/html")
* ''username'' - the default username for signing edits
* ''password'' - optional password for basic authentication
* ''host'' - optional hostname to serve from (defaults to "127.0.0.1" aka "localhost")
If the password parameter is specified then the browser will prompt the user for the username and password. Note that the password is transmitted in plain text so this implementation isn't suitable for general use.
For example:
```
--server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd
```
To run multiple TiddlyWiki servers at the same time you'll need to put each one on a different port.

View File

@@ -0,0 +1,8 @@
title: $:/language/Help/verbose
description: Triggers verbose output mode
Triggers verbose output, useful for debugging
```
--verbose
```

View File

@@ -0,0 +1,8 @@
title: $:/language/Help/version
description: Displays the version number of TiddlyWiki
Displays the version number of TiddlyWiki.
```
--version
```

View File

@@ -0,0 +1,30 @@
title: $:/language/
ClassicWarning/Hint: This tiddler is written in TiddlyWiki Classic wiki text format, which is not fully compatible with TiddlyWiki version 5. See http://tiddlywiki.com/static/Upgrading.html for more details.
ClassicWarning/Upgrade/Caption: upgrade
CloseAll/Button: close all
ConfirmCancelTiddler: Do you wish to discard changes to the tiddler "<$text text=<<title>>/>"?
ConfirmDeleteTiddler: Do you wish to delete the tiddler "<$text text=<<title>>/>"?
ConfirmOverwriteTiddler: Do you wish to overwrite the tiddler "<$text text=<<title>>/>"?
InvalidFieldName: Illegal characters in field name "<$text text=<<fieldName>>/>". Fields can only contain lowercase letters 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

View File

@@ -1,8 +1,8 @@
title: $:/messages/Download
title: $:/language/Modals/Download
type: text/vnd.tiddlywiki
subtitle: Download changes
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Close</$button>
help: http://five.tiddlywiki.com/static/DownloadingChanges.html
help: http://tiddlywiki.com/static/DownloadingChanges.html
Your browser only supports manual saving.

View File

@@ -1,8 +1,8 @@
title: $:/messages/SaveInstructions
title: $:/language/Modals/SaveInstructions
type: text/vnd.tiddlywiki
subtitle: Save your work
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Close</$button>
help: http://five.tiddlywiki.com/static/SavingChanges
help: http://tiddlywiki.com/static/SavingChanges.html
Your changes to this wiki need to be saved as a ~TiddlyWiki HTML file.

View File

@@ -0,0 +1,4 @@
title: $:/language/Notifications/
Save/Done: Saved wiki
Save/Starting: Starting to save wiki

View File

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

View File

@@ -0,0 +1,17 @@
title: $:/language/SideBar/
All/Caption: All
Drafts/Caption: Drafts
Missing/Caption: Missing
More/Caption: More
Open/Caption: Open
Orphans/Caption: Orphans
Recent/Caption: Recent
Shadows/Caption: Shadows
System/Caption: System
Tags/Caption: Tags
Tags/TagManager/Caption: Tag Manager
Tags/Untagged/Caption: untagged
Tools/Caption: Tools
Types/Caption: Types

View File

@@ -1,3 +1,3 @@
title: SiteSubtitle
title: $:/SiteSubtitle
a non-linear personal web notebook

View File

@@ -0,0 +1,3 @@
title: $:/SiteTitle
My ~TiddlyWiki

View File

@@ -0,0 +1,20 @@
title: $:/language/TiddlerInfo/
Advanced/Caption: Advanced
Advanced/PluginInfo/Empty/Hint: none
Advanced/PluginInfo/Heading: Plugin Details
Advanced/PluginInfo/Hint: This plugin contains the following shadow tiddlers:
Advanced/ShadowInfo/Heading: Shadow Status
Advanced/ShadowInfo/NotShadow/Hint: The tiddler <$link to=<<infoTiddler>>><$text text=<<infoTiddler>>/></$link> is not a shadow tiddler
Advanced/ShadowInfo/Shadow/Hint: The tiddler <$link to=<<infoTiddler>>><$text text=<<infoTiddler>>/></$link> is a shadow tiddler
Advanced/ShadowInfo/Shadow/Source: It is defined in the plugin <$link to=<<pluginTiddler>>><$text text=<<pluginTiddler>>/></$link>
Advanced/ShadowInfo/OverriddenShadow/Hint: It is overridden by an ordinary tiddler
Fields/Caption: Fields
List/Caption: List
List/Empty: This tiddler does not have a list
Listed/Caption: Listed
Listed/Empty: This tiddler is not listed by any others
References/Caption: References
References/Empty: No tiddlers link to this one
Tagging/Caption: Tagging
Tagging/Empty: No tiddlers are tagged with this one

View File

@@ -0,0 +1,3 @@
title: $:/language/Docs/Types/application/json
description: JSON data
name: application/json

View File

@@ -1,3 +1,3 @@
title: $:/docs/types/application/x-tiddler-dictionary
title: $:/language/Docs/Types/application/x-tiddler-dictionary
description: Data dictionary
name: application/x-tiddler-dictionary

View File

@@ -0,0 +1,3 @@
title: $:/language/Docs/Types/image/gif
description: GIF image
name: image/gif

View File

@@ -1,3 +1,3 @@
title: $:/docs/types/image/jpeg
title: $:/language/Docs/Types/image/jpeg
description: JPEG image
name: image/jpeg

View File

@@ -0,0 +1,3 @@
title: $:/language/Docs/Types/image/png
description: PNG image
name: image/png

View File

@@ -1,3 +1,3 @@
title: $:/docs/types/image/svg+xml
title: $:/language/Docs/Types/image/svg+xml
description: Structured Vector Graphics image
name: image/svg+xml

View File

@@ -0,0 +1,3 @@
title: $:/language/Docs/Types/image/x-icon
description: ICO format icon file
name: image/x-icon

View File

@@ -0,0 +1,3 @@
title: $:/language/Docs/Types/text/css
description: Static stylesheet
name: text/css

View File

@@ -0,0 +1,3 @@
title: $:/language/Docs/Types/text/html
description: HTML markup
name: text/html

View File

@@ -1,3 +1,3 @@
title: $:/docs/types/text/plain
title: $:/language/Docs/Types/text/plain
description: Plain text
name: text/plain

View File

@@ -0,0 +1,3 @@
title: $:/language/Docs/Types/text/vnd.tiddlywiki
description: TiddlyWiki version 5 wikitext
name: text/vnd.tiddlywiki

View File

@@ -0,0 +1,3 @@
title: $:/language/Docs/Types/text/x-tiddlywiki
description: TiddlyWiki Classic wikitext
name: text/x-tiddlywiki

View File

@@ -1,16 +0,0 @@
title: $:/messages/EnterEditMode
type: text/vnd.tiddlywiki
subtitle: Editing this wiki
footer: <<button close class:"btn btn-primary"><Close>>
help: http://five.tiddlywiki.com/static/EditMode
You can edit this wiki and save your changes. You are strongly advised to verify that saving is working properly before trusting ~TiddlyWiki with your data.
The following methods of saving changes are available:
* Using Firefox's built-in file system access
* Uploading to a simple server script
* Using HTML5's data URI and download attribute
[x] Don't show this message again

View File

@@ -1,3 +0,0 @@
title: $:/messages/Saved
Saved wiki

View File

@@ -1,3 +0,0 @@
title: $:/messages/StartingSave
Starting to save wiki

View File

@@ -0,0 +1,41 @@
/*\
title: $:/core/modules/commands/help.js
type: application/javascript
module-type: command
Help command
\*/
(function(){
/*jshint node: true, browser: true */
/*global $tw: false */
"use strict";
exports.info = {
name: "help",
synchronous: true
};
var Command = function(params,commander) {
this.params = params;
this.commander = commander;
};
Command.prototype.execute = function() {
var subhelp = this.params[0] || "default",
helpBase = "$:/language/Help/",
text;
if(!this.commander.wiki.getTiddler(helpBase + subhelp)) {
subhelp = "notfound";
}
// Wikify the help as formatted text (ie block elements generate newlines)
text = this.commander.wiki.renderTiddler("text/plain-formatted",helpBase + subhelp);
// Remove any leading linebreaks
text = text.replace(/^(\r?\n)*/g,"");
this.commander.streams.output.write(text);
};
exports.Command = Command;
})();

View File

@@ -0,0 +1,59 @@
/*\
title: $:/core/modules/commands/init.js
type: application/javascript
module-type: command
Command to initialise an empty wiki folder
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
exports.info = {
name: "init",
synchronous: true
};
var Command = function(params,commander) {
this.params = params;
this.commander = commander;
};
Command.prototype.execute = function() {
var fs = require("fs"),
path = require("path");
// Check that we don't already have a valid wiki folder
if($tw.boot.wikiTiddlersPath) {
return "Wiki folder is not empty";
}
// Loop through each of the specified editions
var editions = this.params.length > 0 ? this.params : ["empty"];
for(var editionIndex=0; editionIndex<editions.length; editionIndex++) {
var editionName = editions[editionIndex];
// Check the edition exists
var editionPath = path.resolve($tw.boot.corePath,$tw.config.editionsPath) + path.sep + editionName;
if(!$tw.utils.isDirectory(editionPath)) {
return "Edition '" + editionName + "' not found";
}
// Copy the edition content
var err = $tw.utils.copyDirectory(editionPath,$tw.boot.wikiPath);
if(!err) {
this.commander.streams.output.write("Copied edition '" + editionName + "' to " + $tw.boot.wikiPath + "\n");
} else {
return err;
}
}
// Tweak the tiddlywiki.info to remove any included wikis
var packagePath = $tw.boot.wikiPath + "/tiddlywiki.info",
packageJson = JSON.parse(fs.readFileSync(packagePath));
delete packageJson.includeWikis;
fs.writeFileSync(packagePath,JSON.stringify(packageJson,null,$tw.config.preferences.jsonSpaces));
return null;
};
exports.Command = Command;
})();

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