Jeremy Ruston
6c210df0bd
Update HTML deserializer to cope with TiddlyWiki classic and TW5 files
2013-04-03 12:57:17 +01:00
Jeremy Ruston
c182533efc
Parse TiddlyWiki classic wikitext as plain text
...
Too many errors if we try to parse it as TW5 wikitext
2013-04-02 18:20:38 +01:00
Jeremy Ruston
a17e3588a6
Fix problem triggered by stale history list
2013-04-02 09:28:48 +01:00
Jeremy Ruston
c287d9d6d0
First pass at a widget for importing tiddlers
2013-04-01 19:06:39 +01:00
Jeremy Ruston
d99db91dd5
Fixed attribute assignment
2013-03-28 21:47:51 +00:00
Jeremy Ruston
8146d57190
Style tweaks
...
Finally started to use `box-sizing: border-box`
2013-03-28 21:30:22 +00:00
Jeremy Ruston
0f0a96c4da
Update list widget to transclude block vs. inline correctly
2013-03-28 21:29:42 +00:00
Jeremy Ruston
abf3673fc9
Update texteditor to respect prevailing classes and styles
2013-03-28 21:29:20 +00:00
Jeremy Ruston
63fd149ea9
Relaxed restrictions on the names of constituent tiddlers within plugins
...
Thus allowing us to give a more sensible title to the core plugin
2013-03-28 17:15:52 +00:00
Jeremy Ruston
cd36f594c5
Make the core into a plugin
2013-03-28 17:07:30 +00:00
Jeremy Ruston
c411ee5106
Better error handling in boot.js
2013-03-28 14:06:50 +00:00
Jeremy Ruston
9c066617a1
Add a default tab for the tiddler dropdown
...
Unfortunately, we're not yet highlighting the tab itself
2013-03-27 13:48:55 +00:00
Jeremy Ruston
54d858a371
Improved default logic for the reveal widget
2013-03-27 13:48:39 +00:00
Jeremy Ruston
e88db07085
Fixed problem with ignored default in wiki.getTiddlerText()
2013-03-27 13:48:17 +00:00
Jeremy Ruston
554dffd83f
Add tag and missing dropdowns to the sidebar
2013-03-26 09:47:22 +00:00
Jeremy Ruston
b6345a9223
Remove logging from the server command
...
We really need to update the logging infrastructure
2013-03-25 20:19:36 +00:00
Jeremy Ruston
829ab59a7d
Add error message for recursively including a wiki
2013-03-25 19:56:22 +00:00
Jeremy Ruston
5bfcbb99ba
Add support for wiki directories to recursively include other wiki directories
2013-03-25 18:55:41 +00:00
Jeremy Ruston
d73cdfef77
Don't save "bag" fields
...
They're just an artefact of syncing
2013-03-25 12:22:15 +00:00
Jeremy Ruston
10b192e743
Add support for saving binary files
2013-03-25 12:11:34 +00:00
Jeremy Ruston
692b8b4b15
Use a system tiddler for the tiddler dropdown info state
2013-03-25 11:08:42 +00:00
Jeremy Ruston
77a6b72245
Enable server side file synchronisation in the clientserver edition
...
Use with great caution for the moment
2013-03-25 10:43:46 +00:00
Jeremy Ruston
b97681758c
Set up $tw.boot.wikiTidlersPath
...
A surprising amount of refactoring to do this
2013-03-25 10:43:18 +00:00
Jeremy Ruston
f427339a78
Add renderContext parameter to wiki.renderTiddler
2013-03-25 10:42:14 +00:00
Jeremy Ruston
70def07d63
Clearer logging preparatory to implementing file synchronisation
2013-03-24 12:53:09 +00:00
Jeremy Ruston
2870a09dc1
Make some of the sync adaptor methods be optional
2013-03-24 12:27:46 +00:00
Jeremy Ruston
9fb8ef25ed
Ensure we don't register file information for externally loaded tiddlers
...
Also make sure some globals like setInterval are available on the server
2013-03-24 12:27:45 +00:00
Jeremy Ruston
638ed6429c
Show affected filepaths on the server
...
Preparatory to doing file sync on the server
2013-03-23 22:43:39 +00:00
Jeremy Ruston
b574436dff
Don't track file information for externally loaded tiddlers
2013-03-23 22:43:05 +00:00
Jeremy Ruston
e8746c1575
On the server, start registering information about each writable tiddler file
2013-03-23 22:11:23 +00:00
Jeremy Ruston
d7b000fd6b
Start using term shadow tiddlers for tiddlers from plugins
2013-03-23 21:41:28 +00:00
Jeremy Ruston
2479e38155
Refactor loadTiddlersFromPath to return path information for each tiddler
2013-03-23 21:37:48 +00:00
Jeremy Ruston
25e56c2ade
Stop using the term "bundle" to describe plugins
2013-03-23 16:34:12 +00:00
Jeremy Ruston
d8b76f656e
Rearranging boot.js
2013-03-23 16:15:45 +00:00
Jeremy Ruston
ed3a0ba6a3
Stop using 'wiki' directory within wiki directories
2013-03-22 21:30:37 +00:00
Jeremy Ruston
a788593687
Further refactorings of boot.js
2013-03-22 21:12:39 +00:00
Jeremy Ruston
ed07798c29
More tidying up of boot.js
2013-03-22 20:02:19 +00:00
Jeremy Ruston
e336e0661c
Further rearrangements of boot.js
...
Getting better..
2013-03-22 19:44:12 +00:00
Jeremy Ruston
2c5f2bb67a
Reorganising the order of ceremonies in boot.js
...
With a view to making it all a bit more readable
2013-03-22 19:27:09 +00:00
Jeremy Ruston
1beb3a78f1
Fixes to the position of the tiddler info popup
2013-03-22 10:50:46 +00:00
Jeremy Ruston
ff076c33e6
Improvements to appearances in edit mode
2013-03-22 10:17:31 +00:00
Jeremy Ruston
4848a21c6b
Add GettingStarted tiddler for empty TiddlyWikis
2013-03-21 22:21:34 +00:00
Jeremy Ruston
6f88a57a41
Add wiki.countTiddlers() method
2013-03-21 22:21:00 +00:00
Jeremy Ruston
7e46565182
Update help URL for system dialogues
2013-03-21 22:20:37 +00:00
Jeremy Ruston
3eeac8efca
Simplify $tw.utils.log
...
And in the process make it run on node.js
2013-03-21 18:12:57 +00:00
Jeremy Ruston
738952029b
Icons for editing tiddlers
2013-03-20 17:20:46 +00:00
Jeremy Ruston
cf96679e66
Style adjustments
2013-03-20 14:41:29 +00:00
Jeremy Ruston
443ea8d01d
Rudimentary print stylesheet adjustments
2013-03-20 12:14:12 +00:00
Jeremy Ruston
0d2ac57ff7
Make static links to tiddlers with spaces work
...
A bit of a hack - the savetiddlers command should generate filenames
better
2013-03-20 11:02:06 +00:00
Jeremy Ruston
b1d218065e
Remove the form from the search box
...
To stop unintended submission if the user presses enter
2013-03-20 11:01:32 +00:00
Jeremy Ruston
505ce42bbc
Added search feature back
2013-03-20 09:01:44 +00:00
Jeremy Ruston
cbf2e9add9
Add fieldgrid in tiddler info dropdown
2013-03-19 22:39:24 +00:00
Jeremy Ruston
d4ada346dd
The list widget should parse the empty message as inline text
2013-03-19 22:39:04 +00:00
Jeremy Ruston
64c6e63cd4
Better positioning for the tiddler info dropdown
2013-03-19 20:35:34 +00:00
Jeremy Ruston
1a74a9cbdc
Use system tiddler for state in the tag dropdown
2013-03-19 20:35:22 +00:00
Jeremy Ruston
004e0b4f3a
A slightly different blue for links in the sidebar
2013-03-19 20:34:58 +00:00
Jeremy Ruston
2aff4db744
Fix relative date viewer so that it displays absolute dates in static HTML representations
2013-03-19 19:06:23 +00:00
Jeremy Ruston
ec83bc5c64
Bring back the relativedate viewer
2013-03-19 18:59:13 +00:00
Jeremy Ruston
dbfbad3dd3
Let view widget viewers get postRenderInDom() callbacks
2013-03-19 18:59:00 +00:00
Jeremy Ruston
28707edd72
Decode paths for TiddlyFox
2013-03-19 18:36:27 +00:00
Jeremy Ruston
5a6c2b91f8
Parse JSON as text so that it doesn't generate missing tiddlers
2013-03-19 18:26:55 +00:00
Jeremy Ruston
d0c87c679a
Update search templates
...
Not actually using them at the moment but want to avoid the
SearchPreviewTemplate showing up as a non-system tiddler
2013-03-19 18:16:02 +00:00
Jeremy Ruston
cbbc9d5879
Better styling for edit mode
2013-03-19 18:15:29 +00:00
Jeremy Ruston
952f1b3900
Add tiddler info dropdown
...
Including backlinks
2013-03-19 16:45:07 +00:00
Jeremy Ruston
069bb624e5
Fix popup removal
2013-03-19 16:44:32 +00:00
Jeremy Ruston
7cb65a3816
Add 'missing' and 'orphan' tabs
2013-03-19 10:14:44 +00:00
Jeremy Ruston
43001d58d1
Make a control panel sidebar tab
2013-03-18 22:43:08 +00:00
Jeremy Ruston
a1260dc57d
Basic first implementation of tabs for the sidebar
2013-03-18 22:18:54 +00:00
Jeremy Ruston
2a4294dc27
Slight tweak to the default link colour
2013-03-18 22:18:31 +00:00
Jeremy Ruston
4af8026e28
Fix savetiddlers command to create files with special characters in the name
2013-03-18 22:16:01 +00:00
Jeremy Ruston
53fc40e98f
Styling for control panel
2013-03-18 12:08:59 +00:00
Jeremy Ruston
9afb87ffe9
Style the control panel area
2013-03-18 11:14:08 +00:00
Jeremy Ruston
5b6376a386
Better titles for drafts of new tiddlers
2013-03-18 10:59:47 +00:00
Jeremy Ruston
8ca7368200
Disable password autocomplete
...
It doesn't seem to work properly.
2013-03-18 10:53:27 +00:00
Jeremy Ruston
5e12868e76
Fixes to ensure revision field is always a string
...
TiddlyWeb returns it as a number, which seems like it might be an
accident.
2013-03-18 10:13:36 +00:00
Jeremy Ruston
d14c61ef45
Switch "userName" to "username"
...
Because the former is naff
2013-03-17 19:37:31 +00:00
Jeremy Ruston
822f436534
Fix revision handling
2013-03-17 19:26:13 +00:00
Jeremy Ruston
d19fa16ca6
Fix inclusion of revision field when getting a tiddler
2013-03-17 19:25:59 +00:00
Jeremy Ruston
2624fed4f1
Get rid of the support for old-style syncers
2013-03-17 18:45:22 +00:00
Jeremy Ruston
210f596d0c
Marginally improve the elegance of the simple HTTP server
2013-03-17 17:57:46 +00:00
Jeremy Ruston
dbde2bf23b
Started refactoring TiddlyWeb syncer into generic syncer + TiddlyWeb adaptor
...
The refactored plugin is `tiddlyweb2` for the moment. The idea is to be
able to use the same syncer with a different adaptor for syncing
changes to the local file system.
2013-03-17 15:28:49 +00:00
Jeremy Ruston
8e6ce3733d
Use "self" rather than "me" for consistency
2013-03-17 15:06:09 +00:00
Jeremy Ruston
17a9cdd1e3
Remove initSyncers() from wiki.js
2013-03-16 11:06:44 +00:00
Jeremy Ruston
71aa79013d
Remove invokeSyncers() method from wiki.js
2013-03-16 10:58:47 +00:00
Jeremy Ruston
854e8d7083
Use the wiki event mechanism to dispatch lazyLoad notifications to syncers
...
We're trying to get to the point where wiki.js doesn't know about
syncers
2013-03-16 10:50:36 +00:00
Jeremy Ruston
c3b57507b0
Refactored wiki event mechanism to support multiple event types
2013-03-16 10:42:46 +00:00
Jeremy Ruston
623a3ec8f8
Rename "shadow" tiddlers to "system" tiddlers
...
What we have at the moment isn't really the same as TiddlyWiki
classic's shadow tiddlers, it's a much simpler system for excluding
tiddlers. We'll use the term "shadow" instead to refer to the way that
tiddlers in plugins behave, which is exactly like TiddlyWiki classic's
shadow tiddlers.
2013-03-15 22:00:19 +00:00
Jeremy Ruston
e5443e27cb
Minor tweaks to getTiddlers
2013-03-15 20:02:31 +00:00
Jeremy Ruston
71ecb022ef
Update TiddlyWeb support
...
Lots of changes:
* Make the built-in server support recipes and bags, albeit there's
just one of each, called "default"
* Correctly parse returned Etag to get bag of freshly PUT tiddlers
* URI encoding for tiddler titles, so that tiddlers with slashes and so
on work OK
2013-03-12 19:18:56 +00:00
Jeremy Ruston
7e57c422dc
Re-introduce video widget
2013-03-12 19:17:13 +00:00
Jeremy Ruston
6b78352764
Fixed handling of deleting tiddlers over HTTP
2013-03-11 10:04:44 +00:00
Jeremy Ruston
ab8fc26ba1
Update server command to be compatible with the TiddlyWeb syncer
...
Now TW5 in the browser can use the TiddlyWeb syncer to talk to TW5 on
the server
2013-03-10 19:28:24 +00:00
Jeremy Ruston
00ad0bc7a9
Docs update
2013-03-10 19:27:44 +00:00
Jeremy Ruston
fc33df8829
Add support for deleting tiddlers
2013-03-10 19:24:49 +00:00
Jeremy Ruston
21cb1e233e
Add "info" widget for displaying information about tiddlers
...
Currently only supports displaying the changecount of a tiddler
2013-03-10 19:24:22 +00:00
Jeremy Ruston
83a141752c
Further simplifications to syncer interface
...
Dropped the idea of exposing separate server connections
2013-03-09 09:54:01 +00:00
Jeremy Ruston
3da508b7c4
Simplify syncer interface
2013-03-08 20:29:13 +00:00
Jeremy Ruston
7d589b4b27
Removed extraneous debugging code
2013-03-08 17:50:40 +00:00
Jeremy Ruston
e0f342a62e
Comments
2013-03-08 17:50:28 +00:00
Jeremy Ruston
0731135866
Adding comment
2013-03-07 17:18:04 +00:00
Jeremy Ruston
3b458031ff
Fix close button syntx for save instructions
2013-03-07 17:17:42 +00:00
Jeremy Ruston
f85afdb964
Fixed #70
2013-03-06 22:12:21 +00:00
Jeremy Ruston
06c5308c4b
More explicit name for "touchTiddler"
...
Thanks to @boycook for the conversation that triggered this refactoring
2013-03-05 19:59:55 +00:00
Jeremy Ruston
9155b8475f
Use synchronous file writes for saving tiddlers
...
So that we don't get problems with "docs.tid" overwrites "Docs.tid"
halfway through each other
2013-03-05 11:56:15 +00:00
Jeremy Ruston
8e9b2996eb
Restore qualifyHoverTitles
attribute to link widget
2013-03-05 11:55:25 +00:00
Jeremy Ruston
ff3bdcabd6
We don't need the copyright notice in the static representations
2013-03-04 19:21:18 +00:00
Jeremy Ruston
ac6aa1e25f
Fixed template for static CSS generation
2013-03-04 19:19:32 +00:00
Jeremy Ruston
4ab4b1b8bf
Use external stylesheet in static representation
2013-03-04 19:14:47 +00:00
Jeremy Ruston
dc3190d44e
Improve static rendering of tiddlers
2013-03-04 18:48:54 +00:00
Jeremy Ruston
15a9e04a6a
Add support for static site generation
...
See http://five.tiddlywiki.com/static.html for an example
2013-03-04 18:15:54 +00:00
Jeremy Ruston
c24c00e8d6
Make the htmwikified viewer pass the renderContext through
2013-03-04 18:05:22 +00:00
Jeremy Ruston
fc79db53ab
Allow templating with the link widget
...
And add some documentation
2013-03-04 11:13:10 +00:00
Jeremy Ruston
79bb082b92
Restore password widget
...
Hence allowing TiddlySpot integration to work again
2013-03-04 11:12:49 +00:00
Jeremy Ruston
4c06bd72de
Fix #59
...
Much more intelligent automatic scrolling
2013-03-03 20:06:23 +00:00
Jeremy Ruston
f7668c80c4
Fix #61
2013-03-02 16:15:52 +00:00
Jeremy Ruston
eb0f800e5a
Add explanatory text to edit template
2013-03-02 16:08:52 +00:00
Jeremy Ruston
d7896f051a
Fixed problem with greediness of filtered transclude regexp
2013-03-02 13:01:44 +00:00
Jeremy Ruston
25df8bae6a
Quick fix to allow wikilinks to be disabled
...
And using it to disable wikilinks in the readmes
2013-03-01 18:04:53 +00:00
Jeremy Ruston
f8d2c21be1
Adjust tiddler width
2013-03-01 09:13:23 +00:00
Jeremy Ruston
9cbee467cb
Smaller titles for modal dialogs
2013-03-01 09:13:10 +00:00
Jeremy Ruston
5a37820a21
Add modal dialogue styles
2013-02-10 18:44:23 +00:00
Jeremy Ruston
6c4a2a6026
Fix modal dialogue to use inline parsing for header and footer
2013-02-10 18:44:00 +00:00
Jeremy Ruston
2c5b33d75e
Update the close widget on the Download tiddler
2013-02-10 18:43:34 +00:00
Jeremy Ruston
f3acc92730
Tweak removal animation in classic list view
2013-02-09 17:18:00 +00:00
Jeremy Ruston
114e8f4145
Remove extraneous newline in HTML representation
2013-02-09 17:07:52 +00:00
Jeremy Ruston
c76d038b8e
Update command line processing to allow a wiki path to be specified
2013-02-09 17:07:18 +00:00
Jeremy Ruston
63f52dad9e
Tag style tweaks
...
Added a hover effect
2013-02-08 11:12:33 +00:00
Jeremy Ruston
652088009b
Style tweaks for tags
2013-02-08 09:23:54 +00:00
Jeremy Ruston
6584939114
Less confusing method name
2013-02-08 09:22:21 +00:00
Jeremy Ruston
5fd73a2b8d
Remove obsolete modules
...
ArgParser was used by the old tw2 parser, and the Sprite animator was
never actually used
2013-02-08 09:22:02 +00:00
Jeremy Ruston
87986a945d
Animation tweaks for classic listview
2013-02-06 17:06:48 +00:00
Jeremy Ruston
1d77709372
Underline links on hover
...
Looks better and less obtrusive than reversing them
2013-02-06 11:27:34 +00:00
Jeremy Ruston
b0a20e704b
Restored the classic listview
2013-02-06 11:27:09 +00:00
Jeremy Ruston
dd5597fc36
Turn on iOS scrolling for the sidebar
2013-02-05 22:10:35 +00:00
Jeremy Ruston
039c9417fc
Style tweaks
2013-02-05 19:12:23 +00:00
Jeremy Ruston
1b2cdf9cd0
Use string.charAt(n) instead of string[n]
...
Safari doesn't seem to like the string indices in some circumstances
2013-02-05 19:12:05 +00:00
Jeremy Ruston
35d2290155
Style and layout tweaks
2013-02-04 20:47:21 +00:00
Jeremy Ruston
b61778cee2
More style tweaks
2013-02-04 15:29:38 +00:00
Jeremy Ruston
170c1425f7
Normalise custom event names
2013-02-04 15:29:25 +00:00
Jeremy Ruston
1f98ea5c87
Stylesheet tweaks
2013-02-04 11:56:23 +00:00
Jeremy Ruston
365974d14f
Improved generation of titles for draft tiddlers
2013-02-04 11:56:11 +00:00
Jeremy Ruston
b260e6e69a
Ensure that dropdown menu items don't word wrap
2013-02-04 10:54:55 +00:00
Jeremy Ruston
319e1b72f8
Use wikitext horizontal rule
2013-02-04 10:54:42 +00:00
Jeremy Ruston
0961286ad5
Add styles to static rendering
2013-02-04 10:16:07 +00:00
Jeremy Ruston
30d0dec1fa
Replacement styles
...
Smaller simpler styles (including CSS reset from
https://github.com/necolas/normalize.css/ )
2013-02-03 23:02:23 +00:00
Jeremy Ruston
eb2503eac7
Merge branch 'getting-rid-of-bootstrap'
2013-02-03 17:50:18 +00:00
Jeremy Ruston
5df60aaa3c
Don't render content or closing tag for void elements
2013-02-03 17:44:40 +00:00
Jeremy Ruston
c85acd71fe
Move the void element list into the main config file
2013-02-03 17:44:28 +00:00
Jeremy Ruston
4289a027d4
Add newlines after opening and closing tags
...
Which also fixes the problem with the PRE tag eating it's first newline
2013-02-03 17:11:03 +00:00
Jeremy Ruston
440608bfae
Remove files associated with Bootstrap
2013-02-03 16:03:22 +00:00