Jeremy Ruston
d126605479
Added wiki.renderTiddler() function
2012-05-02 17:24:23 +01:00
Jeremy Ruston
71ec12a784
Added support for the dump and verbose commands
2012-05-02 15:02:58 +01:00
Jeremy Ruston
dac06537e5
Added command handling
...
The idea is that the same commands will work on the server or the
client, and that the client will be able to remotely run commands on
the server.
Also includes abstraction of the version number of TW5.
2012-05-02 11:02:47 +01:00
Jeremy Ruston
12bf2b6fb9
Fixed problem improperly refreshing edit controls
...
Thanks to pmario for pointing out the problem
2012-05-01 10:02:34 +01:00
Jeremy Ruston
e9996b7fe4
Missed off the previous commit
2012-04-30 19:18:25 +01:00
Jeremy Ruston
3d0d8556f2
Made the module and plugin globals a bit less global
2012-04-30 19:14:39 +01:00
Jeremy Ruston
d93bbbbe7b
Introduce plugin module mechanism
...
See the readme for details
2012-04-30 12:23:03 +01:00
Jeremy Ruston
e9e211e51d
Added Recipe support for the tiddler marker "pluginmodule"
...
This allows TW5 to output new-style plugin modules for the upcoming
rewrite
2012-04-30 09:32:52 +01:00
Jeremy Ruston
e09228450c
Corrected content type for BaseColour
2012-04-23 11:18:15 +01:00
Jeremy Ruston
bbb817d18d
Fixed issue with applying stylesheets on IE
2012-04-19 10:55:14 +02:00
Jeremy Ruston
de979a3af2
Add support for StyleSheet tiddler
...
Note how you can update BaseColour and watch the stylesheet get
automatically refreshed
2012-04-19 10:15:55 +02:00
Jeremy Ruston
441479f1b4
Added function to dynamically apply stylesheets
2012-04-19 10:15:29 +02:00
Jeremy Ruston
9ec268cd2f
Add a parser for TiddlyText
...
TiddlyText being plain text with macros and transclusions. It's the
equivalent of getRecursiveTiddlerText in classic TW
2012-04-19 10:15:11 +02:00
Jeremy Ruston
4197358281
Added dynamic stylesheet tiddlers
2012-04-19 10:12:29 +02:00
Jeremy Ruston
c91fa95843
Fixed problem with accidentally using HREF instead of SRC with the IMG tag
...
Surprisingly, it worked fine with HREF in mode browsers.
2012-04-18 09:52:12 +02:00
Jeremy Ruston
6a7f2473db
Added support for outputting tiddlers in the MHTML format accepted by older versions of IE
...
I don't plan for TW5 itself to run under IE6, but it's still quite
useful to be able pack base64 tiddlers in a way that IE understands
2012-04-13 18:27:01 +01:00
Jeremy Ruston
41637a791f
Corrected missing export of RawNode
2012-04-13 14:06:42 +01:00
Jeremy Ruston
3dd8cf17f6
Docs update
2012-04-13 13:28:43 +01:00
Jeremy Ruston
65659e9858
Keeping JSHint happy
2012-04-13 13:28:38 +01:00
Jeremy Ruston
b4a5d3f259
Fixed spaces->tabs
2012-04-13 13:27:13 +01:00
Jeremy Ruston
a7dceac7b8
Avoided using .hasAttribute()
2012-04-13 13:27:00 +01:00
Jeremy Ruston
119f11f651
Rearranged definitions
...
So that we don't get complaints about things being used before they're
defined
2012-04-13 13:26:49 +01:00
Jeremy Ruston
fd10f3bd66
Fixed incorrect MIME type on script block
2012-04-13 13:26:25 +01:00
Jeremy Ruston
24b134a9cf
Moved Bootstrap around, and added jQuery
2012-04-13 13:26:11 +01:00
Jeremy Ruston
a693fa3935
Replaced jQuery with Zepto in TW5
...
Zepto seems much sleeker, and the animations are proper CSS transitions
2012-04-11 11:30:22 +01:00
Jeremy Ruston
b62eef675a
Add tags to the default templates
...
Which now look pretty terrible, by the way
2012-04-11 11:29:46 +01:00
Jeremy Ruston
a302be82d0
Use stringified fields where possible in the view macro
2012-04-11 11:29:26 +01:00
Jeremy Ruston
90677022e5
Added custom scroller animator
...
To remove a dependency on jQuery, and allow us to move to Zepto (which
doesn't allow animation of scrollTop)
2012-04-11 11:29:03 +01:00
Jeremy Ruston
71ded42b60
Made sure to remove "draft.of" field after use
2012-04-10 14:38:27 +01:00
Jeremy Ruston
f89ca3c338
Fixed problem with obtaining stringified version of field content
2012-04-10 14:38:09 +01:00
Jeremy Ruston
6479fff012
Fixed problem with deleting fields in the Tiddler constructor
2012-04-10 14:37:52 +01:00
Jeremy Ruston
0c824f3ce7
Added a tag for testing
2012-04-10 14:37:37 +01:00
Jeremy Ruston
3743bcc562
My old buddy JSHint
2012-04-10 14:07:43 +01:00
Jeremy Ruston
b456c0a01c
Switched back to using textareas and inputs for editors
...
The contenteditable stuff was complicated and performing badly. More to
the point, I've now got a pretty solid way to resize the textarea to
fit it's content
2012-04-10 13:53:02 +01:00
Jeremy Ruston
0d8cdb9671
Refactored for ease of reading
2012-04-10 13:52:15 +01:00
Jeremy Ruston
6d6c860309
Fixed problem with position of zooming chooser
...
It wasn't scrolling with the page
2012-04-10 13:51:58 +01:00
Jeremy Ruston
e7701d8af0
Fixed typo with `class` member of `linkInfo`
...
And improved the docs
2012-04-07 14:28:50 +01:00
Jeremy Ruston
94ff60f64b
Fixed problem with long titles in zooming chooser
2012-04-07 14:25:24 +01:00
Jeremy Ruston
269e03caad
Added link to prototype to top of readme
2012-04-07 12:13:47 +01:00
Jeremy Ruston
ced1ed1d01
Improved batch file layout
2012-04-07 12:13:34 +01:00
Jeremy Ruston
af7b69e778
Refactored linkMassager mechanism
...
Now the link massager can control the HTML attributes of the link, and
suppress it entirely if necessary. Using this new facility to generate
a cleaner readme file for github
2012-04-07 12:10:46 +01:00
Jeremy Ruston
5d10e7b750
Renamed "target" parameter of link macro to "to"
...
To avoid confusion with the HTML target attribute of link elements
2012-04-07 11:32:41 +01:00
Jeremy Ruston
9e4404bb97
Improved comments
2012-04-07 11:32:16 +01:00
Jeremy Ruston
d34f163dbc
Added deletion support to HttpSync and LocalFileSync
2012-04-05 18:25:39 +01:00
Jeremy Ruston
0ac55688c4
Browser now syncs changes with server which syncs with the file system
...
A bit rough and ready, but this gives us basic support for editting
tiddlers in the browser and updating the original file on the server
2012-04-05 12:21:49 +01:00
Jeremy Ruston
495ef1ada5
Extended Tiddler object to allow retrieval of fields as strings
2012-04-05 12:20:06 +01:00
Jeremy Ruston
5ea99f053e
Whoops typo in MIME type
2012-04-05 12:19:34 +01:00
Jeremy Ruston
62eb0ef5b9
Improved TW5 http serving batch file to make a copy of the store before execution
...
Makes it easier to test the saving code
2012-04-05 12:19:20 +01:00
Jeremy Ruston
d13e2bacaf
Added linkMassager callback
2012-04-03 17:07:38 +01:00
Jeremy Ruston
b44f6b47cc
Fixed JSHint complaining about making a function in a loop
2012-04-03 16:59:55 +01:00