Jermolene
3a67fdb768
Obeisance to JSHint for core modules
...
There are still some warnings about making functions in a loop, but
I’ll fix those as a separate pull request because the fixes are more
than typographic errors.
2014-08-30 20:44:26 +01:00
Jermolene
1f6e16318a
First pass at upgrade mechanism
2014-07-12 09:09:36 +01:00
Jermolene
a9b7df96c2
Add support for TIDDLYWIKI_EDITION_PATH
2014-06-17 21:59:20 +01:00
Jermolene
eee3a0cf8e
Extend server command to allow a path prefix
...
Thereby making the number of parameters to the command ludicrous
2014-06-13 14:44:34 +01:00
Jermolene
d2796d0c9c
Introduce setfield command
...
This new command will let us do the manipulations needed to set up
external image tiddlers
2014-06-11 10:05:35 +01:00
Jermolene
305617b632
Introduce savetiddlers command
...
Allows us to save tiddlers in their raw format.
2014-06-09 14:45:41 +01:00
Jermolene
da273be054
Workaround Firefox "no element found" bug
...
See https://bugzilla.mozilla.org/show_bug.cgi?id=884693
Fixes #468
2014-05-27 09:49:48 +01:00
Jermolene
31e1088aa7
Clean up startup logging
...
Now we do boot logging to an array. We harvest it in the —verbose
command. We still need to provide a way to access the log in the
browser too.
2014-05-15 18:50:14 +01:00
Jermolene
e9557b578e
Improve output directory handling
...
This change is likely to break most existing scripts that call
TiddlyWiki.
TL;DR - output paths are now relative to the editions/output folder,
rather than to the current folder
See [[Notes for upgrading to 5.0.11-beta]] for details.
2014-04-27 08:28:21 +01:00
Jermolene
f7e50e0950
Add --build
command
...
First pass at the build system described in #356 .
To test it, move to a new, empty directory and try `tiddlywiki
editions/tw5.com --verbose --build`
2014-04-25 22:41:59 +01:00
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
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
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
cadeb9654c
Add help command
2014-02-25 14:50:18 +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
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
f3930ad69c
Add init command to initialise a wiki folder
...
Fixes #362
2014-02-23 22:58:17 +00:00
Jermolene
dd451800c7
Specify encoding for incoming requests
...
Fixes #397
2014-02-11 19:42:45 +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
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
12770ca3e6
Use an explicit default host
...
Thus fixing #339
2014-01-13 09:09:54 +00:00
Jermolene
bd7db62da0
Added support for specifying hostname for the --server command
...
Fixes #301
2013-12-29 13:07:06 +00:00
Jermolene
6c1489fc2f
Remove duplicate header
...
And provide a slightly more informative prompt
2013-12-19 16:53:48 +00:00
Jermolene
2b72e48a3a
Improve prompt for --server
command
2013-12-18 21:11:16 +00:00
Jermolene
a4e3f66809
Add favicon.ico support to the server
2013-12-18 17:27:24 +00:00
Jermolene
f3b2788ed1
Add a savetiddler command
...
It saves tiddlers in their original, unrendered format
2013-12-18 17:26:23 +00:00
Jermolene
1b75242345
Fix up caller of wiki.forEachTiddler()
2013-12-11 22:01:20 +00:00
Jermolene
50e1727ef7
Stop falling back to anonymous username
...
The `serve` command used to fallback the username parameter to
“ANONYMOUS” if it was not provided. Better is just to not set a
username if it is not provided; newly created tiddlers won’t get a
‘modifier’ field at all.
2013-12-11 07:45:36 +00:00
Jermolene
7d12d89a0a
Added primitive support for basic authentication
...
Note that the password will be passed over HTTP in plain text.
2013-11-28 14:03:08 +00:00
Jermolene
5b89eca5e9
Fix up filenames
...
Left overs from the Great Refactoring
2013-11-27 21:15:35 +00:00
Jermolene
b805633dc9
Reorganise the main file saving templates
...
We’re introducing a mechanism that allows us to decide which tiddlers
get saved. Using `$:/core/save/all` gives all tiddlers, as before.
Using `$:/core/save/empty` gives an empty wiki. Saving an empty wiki
from tw5.com isn’t the same as the empty wiki cooked from
editions/empty because the two editions have different plugins and
other system tiddlers.
2013-11-25 21:16:27 +00:00
Jeremy Ruston
ec481415f9
Fixes for TiddlyWeb
2013-11-08 20:18:26 +00:00
Jeremy Ruston
cc0011abd3
Get rid of the "new_" prefix we had on some methods
...
There's still the "old_" prefix to get rid of too.
2013-11-08 08:51:14 +00:00
Jeremy Ruston
b7cb1d3391
Change new_widget
to widget
...
I was avoiding doing this until after the merge.
2013-11-08 08:47:00 +00:00
Jeremy Ruston
14d7d5ea59
Use the new wiki.makeWidget() method where we can
2013-10-29 14:51:35 +00:00
Jeremy Ruston
bf48e6f8a1
Rename tiddlerTitle
variable to currentTiddler
2013-10-28 23:40:45 +00:00
Jeremy Ruston
20f03de712
The big purge of the old widget mechanism
...
Getting rid of the old widget mechanism files finally gives us a payoff
for all the refactoring. Still a bit of tidying up to do, and we need
to re-introduce the animation mechanisms.
2013-10-27 22:55:36 +00:00
Jeremy Ruston
925e22c46f
Fix up the server command to use the new widget mechanism
2013-10-25 22:30:15 +01:00
Jeremy Ruston
89310e71c8
Add a new version of rendertiddlers command
...
So that we can test static html generation
2013-10-21 18:33:00 +01:00
Jeremy Ruston
ed35d91be6
Initial Commit
...
Carried over from the abortive pull request #169
2013-10-12 17:05:13 +01:00
Jeremy Ruston
a427702628
Allow username to be set for the built-in server
2013-08-21 09:53:45 +01:00
Jeremy Ruston
e27c5005ef
File renames for 46b2fde2d9
2013-08-09 22:00:42 +01:00
Jeremy Ruston
46b2fde2d9
Rename "dump" command to "print" command
...
Being pan-cultural is hard.
2013-08-09 09:24:58 +01:00
Jeremy Ruston
39b6091258
Don't set modification fields on synced tiddlers
2013-08-06 15:26:48 +01:00
Jeremy Ruston
0ae0f68257
Update filenames to reflect changes in 05ac094d2e
2013-08-04 22:31:09 +01:00
Jeremy Ruston
05ac094d2e
Rename the savetiddler
/savetiddlers
commands to rendertiddler
/rendertiddlers
...
'Render' reflects what the commands actually do, and frees up 'save'
for actually saving the raw content of a tiddler.
2013-08-04 22:26:45 +01:00
Jeremy Ruston
be7cc67ab6
Correct mistaken classification of savetiddlers command as asynchronous
2013-08-04 22:02:19 +01:00