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
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
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
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
87fbd988f1
Add support for running TiddlyWiki under node-webkit
2014-01-01 17:59:47 +00:00
David Jade
cffe9375b2
Added TiddlyIE and FSO saver modules
...
Modified tiddlywiki5 template to support TiddlyIE and HTAs
Added empty.hta creation to bld scripts
Added TiddlyIE topics
2013-12-11 12:45:35 -08:00
Jermolene
0956ae10a0
Add support for downloading files
...
We were re-using the `tw-save-wiki` message both for saving the current
wiki and downloading a new wiki. Now we’ll use the separate
`tw-download-file` message for downloading.
Fixes #236
2013-11-27 20:51:08 +00:00
Jermolene
584043deee
Add a notification when starting to save with the upload plugin
2013-11-26 22:46:20 +00:00
Jermolene
42fce1929c
Improve save notifications for TiddlySpot
2013-11-26 12:50:40 +00:00
Jermolene
24e361da77
Removed inadvertent alert()
2013-11-12 20:58:54 +00:00
Jermolene
791033d751
First pass at a saver for IE10 and above
...
It's not great, sadly. Clicking save in the browser pulls up an
unobtrusive bar at the bottom of the browser window where you can click
"save". You then get a new copy of your wiki in the downloads folder.
2013-11-12 20:49:00 +00:00
natecain
c45f4d1c62
Small revision to previous commit, avoids double encoding.
...
We don't need to encodeURIComponent at all when using blob links.
The data never goes into the dom directly, just a guid reference.
This makes saving with blobs very fast!
2013-10-01 17:35:58 -04:00
natecain
aef8e63cf8
Use Blob api to generate data links in download saver
...
This should fix crashing on large wikis under chrome
see chrome bug: https://code.google.com/p/chromium/issues/detail?id=103234
This should also speed up generating the download html by a couple of seconds
it avoids repeatedly marshalling the base64 encoded href string across the sandbox boundary
it avoids some time and memory consumed by "large" dom manipulation
major remaining delay is in encodeURIComponent
TODO: consider using iconv on the server
TODO: consider async invocation of regular expressions to avoid client "lockup"
Conflicts:
core/modules/savers/download.js
2013-10-01 17:35:47 -04:00
Jeremy Ruston
d0db2221d3
Fix problem with lowercase drive letters when saving with TiddlyFox under Windows
2013-09-19 13:50:28 +01:00
Jeremy Ruston
dec7870eeb
Update HTML5 saver to use current filename where possible
...
Most browsers still ignore the specified filename, sadly.
2013-09-19 10:50:14 +01:00
Jeremy Ruston
1fd59a4bd3
First pass at a saver for the AndTidWiki app on Android
2013-08-19 13:55:40 +01:00
Jeremy Ruston
1e5842dc1c
Fix download saver on Firefox
...
Turns out that Firefox needs the link to be in the document before it
will honour the click on it.
2013-05-23 11:26:47 +01:00
Jeremy Ruston
c0683fd65c
Added a saver for the TWEdit iPad/iPhone app
2013-05-14 20:20:48 +01:00
Jeremy Ruston
6e44a20804
Fix problem with TiddlyFox on Windows
...
Fix #97
2013-05-10 18:14:01 +01:00
Jeremy Ruston
e501c0ec2a
Enhance TiddlyFox saver to display a notification on success
2013-05-07 18:09:15 +01:00
Jeremy Ruston
28707edd72
Decode paths for TiddlyFox
2013-03-19 18:36:27 +00:00
Jeremy Ruston
d14c61ef45
Switch "userName" to "username"
...
Because the former is naff
2013-03-17 19:37:31 +00:00
Jeremy Ruston
0731135866
Adding comment
2013-03-07 17:18:04 +00:00
Jeremy Ruston
705c88d1aa
Fix TiddlyFox transfer attribute names
2012-11-17 20:17:29 +00:00
Jeremy Ruston
a4d88769b9
Only use the download saver when the download attribute is supported
2012-11-16 19:31:32 +00:00
Jeremy Ruston
80bd198908
Introduce new manualdownload saver
...
This saver pops up a modal dialogue giving the user an opportunity to
right click and save the wiki
2012-11-16 19:31:18 +00:00
Jeremy Ruston
b74df6d1b0
Remove the old Firefox XUL saver
...
It's only of historical interest now, sadly.
2012-11-16 18:06:45 +00:00
Jeremy Ruston
9f6909ddc4
Appeasing the gods of JSHint
2012-11-06 17:21:56 +00:00
Jeremy Ruston
a3694d8cb3
Removed extraneous console.log
2012-08-30 08:40:00 +01:00
Jeremy Ruston
68f7072c94
TiddlyFox now saves with TiddlyWiki5 as well as TiddlyWiki Classic
2012-08-29 22:40:58 +01:00
Jeremy Ruston
4a783d08c6
Keeping JSHint happy
2012-07-16 12:56:59 +01:00
Jeremy Ruston
3a24bdbaf3
Credit for BidiX
2012-07-13 16:51:35 +01:00
Jeremy Ruston
85068ab0b3
Fixes for upload saver
2012-07-13 13:53:51 +01:00
Jeremy Ruston
5e11de719c
Added HTTP upload saver
...
Now we can save changes to TiddlySpot
2012-07-13 13:03:38 +01:00
Jeremy Ruston
a7c1b1896e
Tell JSHint about Firefox's globals
2012-07-13 11:26:12 +01:00
Jeremy Ruston
05d9cb60fc
Passed host wiki to saver constructors
2012-07-12 16:58:49 +01:00
Jeremy Ruston
9404d670d3
Added download saver, our fallback based on standard HTML
...
It's clunky, and requires manual intervention to accomplish a save, but
it does work on Chrome, Safari, iOS mobile safari
2012-07-12 13:13:48 +01:00
Jeremy Ruston
632c846ae0
Check for being on a file URI before trying to use Firefox's XUL file saving
2012-07-12 13:11:58 +01:00
Jeremy Ruston
6a0a4ae00d
Removed extraneous console.log
2012-07-11 15:51:52 +01:00
Jeremy Ruston
c340082653
Added primitive save changes mechanism
...
Works in Firefox for now
2012-07-10 23:18:44 +01:00