Jeremy Ruston
7b45c0bec8
Move the required template overrides into the tiddlyweb plugin
2013-04-03 13:23:07 +01:00
Jeremy Ruston
e449c0bb7d
Added support for deleting tiddlers during file synchronisation
2013-03-25 20:16:12 +00:00
Jeremy Ruston
1b4f292351
Grammar
2013-03-25 20:04:52 +00:00
Jeremy Ruston
631dd1cc5f
Added ability to disable file saving for specific tiddlers
2013-03-25 19:50:33 +00:00
Jeremy Ruston
d75db05ea6
Cleaning up the previous commit
2013-03-25 12:12:53 +00:00
Jeremy Ruston
10b192e743
Add support for saving binary files
2013-03-25 12:11:34 +00:00
Jeremy Ruston
19b62c30d8
Parameterise the template for saving tiddlers
2013-03-25 11:09:34 +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
70def07d63
Clearer logging preparatory to implementing file synchronisation
2013-03-24 12:53:09 +00:00
Jeremy Ruston
7df3d48451
Add a file system sync adaptor for the server
...
It's going to save tiddler changes to the file system
2013-03-24 12:27:46 +00:00
Jeremy Ruston
25e56c2ade
Stop using the term "bundle" to describe plugins
2013-03-23 16:34:12 +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
09a0b2a336
Use the newly refactored syncer in favour of the old tiddlyweb code
2013-03-17 18:21:24 +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
e78c161c63
Correct comment
2013-03-17 15:06:26 +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
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
daf3d35180
Fix TiddlyWeb adaptor to make deleting work
2013-03-11 10:05:01 +00:00
Jeremy Ruston
672fa4b38c
Update TiddlyWeb syncer
...
Includes the beginnings of support for deleting tiddlers. It also
allows the recipe to be optional.
2013-03-10 19:27:37 +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
a13d30e85a
Fix recipe loading to handle comments
2013-03-08 16:10:20 +00:00
Jeremy Ruston
f6faa156a5
Cleaning up recipe file access code
2013-03-01 09:13:44 +00:00
Jeremy Ruston
91002165af
Update TW2 edition
...
Move the plugins into the core, add a template for the externaljs
distribution of TW
2013-02-09 17:10:18 +00:00
Jeremy Ruston
9a71117853
Prettify JSON
2013-01-28 19:27:22 +00:00
Jeremy Ruston
b006cf163f
Remove the old parser code
...
Thus introducing a few functional regressions, but it's going to be
easier to fix things up without the old code knocking around and
getting in the way.
2012-12-28 22:08:32 +00:00
Jeremy Ruston
580bd6438e
Fixed issues with blank tiddler text
...
The empty string is falsy in JavaScript, to keep us on our toes.
2012-11-23 13:08:10 +00:00
Jeremy Ruston
3087c2001c
If host and recipe are missing from connection then infer them from the page environment
2012-11-20 16:31:25 +00:00
Jeremy Ruston
147fde31b2
More TiddlyWeb sync tweaks
2012-11-19 22:14:25 +00:00
Jeremy Ruston
49ca83e17d
Fix content type for TiddlyWeb
2012-11-19 17:35:12 +00:00
Jeremy Ruston
3d38d4add3
Use text/x-tiddlywiki for old format TiddlyWiki text for compatibility
2012-11-19 16:58:16 +00:00
Jeremy Ruston
d663368b9c
Logging and fixes for TiddlyWeb sync
2012-11-19 16:55:57 +00:00
Jeremy Ruston
e2d6c16f50
Minor refactorings and reorderings
2012-11-19 14:18:21 +00:00
Jeremy Ruston
b8fcc9f0c0
Fixed problem with polling
2012-11-19 13:59:32 +00:00
Jeremy Ruston
6463f972e0
Added polling for changes from the server
2012-11-19 13:54:25 +00:00
Jeremy Ruston
d42e5e1319
Got the basic two way sync working
...
Quite pleased with how relatively simple the logic becomes once one
thinks in terms of queues of tasks
2012-11-19 12:56:54 +00:00
Jeremy Ruston
4e9dd3123b
More TiddlyWeb sync
2012-11-19 09:04:35 +00:00
Jeremy Ruston
baba32e548
More TiddlyWeb sync
2012-11-18 21:07:14 +00:00
Jeremy Ruston
84650b9a54
Swap over to the new mime type conventions
...
Discussed in
https://groups.google.com/forum/#!topic/tiddlywikidev/re8xfLqZNCE
2012-11-18 15:22:13 +00:00
Jeremy Ruston
951c53c982
Do some content type jiggling with TiddlyWeb
...
To be fixed up later
2012-11-18 14:57:54 +00:00
Jeremy Ruston
b962739f04
Fix TW2 parser crashing on skinny tiddlers
2012-11-18 14:57:28 +00:00
Jeremy Ruston
5c87b437ee
Support for lazy loaded tiddlers
2012-11-18 13:14:28 +00:00
Jeremy Ruston
a5d2a3a4e8
Start bringing tiddlers back from TiddlyWeb
2012-11-18 10:24:20 +00:00
Jeremy Ruston
4742ab14fc
Start using the server connection tiddler to store host details
2012-11-17 21:15:19 +00:00
Jeremy Ruston
ecd45e2732
Improve error handling
2012-11-17 20:31:30 +00:00
Jeremy Ruston
e194aed449
Introduce syncer mechanism
2012-11-17 20:18:36 +00:00
Jeremy Ruston
fc61b9aca7
Added login and logout macros for TiddlyWeb
2012-11-17 12:32:51 +00:00