Jermolene
828fc9dcd0
Autosave when deleting a tiddler
2014-02-07 10:14:10 +00:00
Jermolene
f0d512edf0
Remove extraneous autosave attribute from navigator widget
...
Inadvertently committed.
2014-02-07 10:12:45 +00:00
Jermolene
a01bbd4b9c
Add automatic saving and warning on exit with unsaved changes
...
We re-use some of the existing syncer mechanism. It was already keeping
track of changes to tiddlers in the store when working with a tiddler
syncadaptor. Now it also tracks changes when there is no syncadaptor,
allowing us to provide a warning if there are unsaved changes.
2014-02-06 21:36:30 +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
Daniel Barrett
d02ce5dbf3
oops, actually correct delta
...
Actually change delta to a positive number to get the logic the same.
2014-02-05 12:37:37 -06:00
Daniel Barrett
32f290dc13
getRelativeDate: support for negative deltas
...
Add support for format="relativedate" to be used when the date is in the future.
2014-02-05 11:44:01 -06:00
Jermolene
1d685df928
Add support for autosave
...
Causes the wiki to be autosaved whenever clicking “done” after editing
a tiddler. Only works with savers that support autosave. We should
probably make autosave configurable
2014-02-04 21:21:01 +00:00
Jermolene
4882f70557
Clearer explanation of key descriptor syntax
2014-02-04 20:05:34 +00:00
Jermolene
7eafd51a7d
Use placeholder text for editing missing tiddlers
...
Fixes #387
2014-01-30 17:39:32 +00:00
Jeremy Ruston
7b054440ca
Merge pull request #374 from Skeeve/patch-1
...
Update utils.js
2014-01-30 08:24:00 -08:00
Jermolene
e3a05625b2
Add experimental keyboard shortcut widget
...
It’s not cool that we have to use a separate keyboard widget for each
keyboard shortcut.
Fixes #386
2014-01-30 13:40:36 +00:00
Jermolene
0c20092644
Refactor the image parser to avoid generating badly formed image src's
...
Previously, a transclusion of a skinny image tiddler (ie one where the
body has yet to be loaded) would render a broken image.
2014-01-29 19:11:05 +00:00
Skeeve
758d461823
Update utils.js
...
I think /\\/g is wrong as it will remove every \ from the string. I think, the usual way of keeping the following character is more appropriate.
2014-01-29 13:43:34 +01:00
Jermolene
02ba92c6b5
Add [is[image]]
filter operator
2014-01-29 09:04:41 +00:00
Jermolene
70ed6e6ad3
Fixed problem with list filter
...
A bug was preventing the tiddler title from being omitted in the list
filter (ie, [list[HelloThere!!field]] worked, but [list[!!field]] did
not.
2014-01-27 16:24:28 +00:00
Jermolene
dfc57ffa49
More logging
2014-01-26 20:59:30 +00:00
Jermolene
3f9561dd95
Better logging
2014-01-26 18:53:31 +00:00
Jermolene
69d342d46a
Stop the reveal widget caching hidden content
...
Previously, when displayed content is hidden by the reveal widget there
was an optimisation such that the content was retained in the DOM but
hidden using CSS, so that it could be shown again quickly.
It turns out that a sideeffect of that optimisation is that clicking
through all the sidebar tabs leaves them all active, so that they all
need to be refreshed whenever a character is typed in an editor.
This commit suppresses the optimisation, so that hidden content is
removed from the DOM and the render tree.
2014-01-26 09:57:46 +00:00
Jermolene
45c45e098f
Add a cancel button to the 'set password' dialog
...
Fixes #185
2014-01-25 19:55:56 +00:00
Jermolene
9297b27b89
Reference correct wiki object
2014-01-25 18:17:33 +00:00
Jermolene
0b3efe179e
Extend list filter operator to take a text reference
...
Instead of just a title. Means that we can apply the list operator to
fields other than the list field.
2014-01-25 18:14:30 +00:00
Jermolene
e6843aabff
Refactoring of new filter list operators
2014-01-25 17:44:36 +00:00
Jeremy Ruston
592ef257a2
Merge pull request #326 from Skeeve/listops
...
New list operations from @Skeeve
2014-01-25 08:51:26 -08:00
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
6255b97b14
Resolve merge conflict
2014-01-25 14:41:48 +00:00
Jermolene
70a7321edd
Take editor configuration from configuration tiddlers
...
This should enable @buggyj to add an html editor by including a
configuration tiddler in the plugin.
2014-01-24 20:22:23 +00:00
Jermolene
a76da88380
Rename the operator portion after the colon to "suffix"
2014-01-24 19:15:27 +00:00
Jermolene
e6a7a0db1e
Style tweaks
2014-01-24 18:54:50 +00:00
Jermolene
edc71cb920
Merge branch 'regexp_filter' of https://github.com/Skeeve/TiddlyWiki5 into Skeeve-regexp_filter
2014-01-24 18:40:27 +00:00
Jermolene
f4b27b33de
Fixed problem with multiple tiddlers created from dragging a single file
2014-01-24 14:09:06 +00:00
Jermolene
64304f9b7f
Ensure that new tiddlers created from a skeleton don't inherit created/creator fields
2014-01-21 21:00:08 +00:00
Jermolene
2fc6451bf7
Rejigged encrypted import so that the current password isn't changed
...
We still try the currently stored password. If that doesn’t work then
we prompt for a password, but we no longer store the password in the
store.
2014-01-20 13:35:55 +00:00
Jermolene
1e54b1bcc9
Remove empty tag fields in the field mangler
...
This means that removing the last tag from a tiddler will remove the
tags field.
2014-01-20 11:53:26 +00:00
Jermolene
1c283c5586
Tighten "has" filter operator
...
We now require the field not to be an empty string in order to be
counted.
2014-01-20 08:59:01 +00:00
Jermolene
95cb99adb9
Enhance text widget to optionally use "text" attribute
...
This lets us use the text widget to render text in macros that we don’t
want to be wikified.
2014-01-19 21:45:55 +00:00
Jermolene
ed5cf8b044
Refactor importing of encrypted TiddlyWiki files so that it works on Node.js
2014-01-19 20:13:55 +00:00
Jermolene
299e9d15fb
Add support for importing encrypted TiddlyWiki documents
2014-01-19 18:43:02 +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
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
Stephan Hradek
14ca91a949
implemented the new regexp syntax
2014-01-14 22:08:05 +01:00
Stephan Hradek
0338c36610
implemented the field: syntax
2014-01-14 16:19:34 +01:00
Jermolene
809c441ab3
Merge branch 'master' of https://github.com/jbolila/TiddlyWiki5 into jbolila-master
2014-01-13 17:28:08 +00:00
Jermolene
12770ca3e6
Use an explicit default host
...
Thus fixing #339
2014-01-13 09:09:54 +00:00
Stephan Hradek
a5d75db8d2
Thinking about your mail led me to this new push -> Mail follows
2014-01-13 08:44:53 +01:00
Stephan Hradek
9444ef095f
I feel ashamed :( Somehow this slipped me :( Sorry!
2014-01-12 23:37:11 +01:00
Jermolene
b04141fefd
Don't load tiddlers that don't have a title
...
We were getting problems (eg, adding a `readme.md` to a plugin without
an accompanying `readme.md.meta` would end up creating a tiddler called
“undefined”)
2014-01-12 21:48:18 +00:00
João Bolila
426f2978cf
fixes of a newbie, me
2014-01-12 17:09:24 +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
b7a1db1e9f
Display tiddler data dictionaries as plain text
2014-01-12 11:58:32 +00:00
Stephan Hradek
8ef520ef37
Created regexp search for milestone 5.1
2014-01-10 10:32:49 +01:00
Jermolene
b64b7982af
Fix notification removal to not rely on transitionEnd events
2014-01-09 22:26:21 +00:00
João Bolila
82a48cf85c
codeblock as a widget and plugin for highlight code blocks
2014-01-07 22:57:46 +00:00
Stephan Hradek
9fee9b1043
Fix for Paul's concerns
2014-01-07 21:12:59 +01:00
Jermolene
e0f428b9b2
Fixed problem with Element.ELEMENT_NODE undefined on Safari
2014-01-04 15:15:12 +00:00
Stephan Hradek
103f4f6637
added some more filters
2014-01-04 00:01:17 +01:00
Jermolene
b06e09a4d3
Fix typo in default date format string for view widget
...
Fixes #320
2014-01-03 18:34:27 +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
8fc5c1d4a0
Further style tweaks to #321
2014-01-03 10:48:00 +00:00
Jermolene
1374bd9d78
Coding style fixes for #321
2014-01-03 10:43:08 +00:00
Jermolene
307b5c7d6b
Merging #321 Table valign from @Skeeve
2014-01-03 10:39:55 +00:00
Jeremy Ruston
5dea8ca758
Merge pull request #324 from Skeeve/nsort
...
Add numeric sort filter operators
2014-01-03 02:30:12 -08:00
Jermolene
b132e1023d
Add error checking to $tw.utils.setStyle()
2014-01-02 19:00:46 +00:00
Stephan Hradek
b652238650
fixed issue #241 - created first, last, rest and reverse filter functions
2014-01-01 22:38:08 +01:00
Jermolene
87fbd988f1
Add support for running TiddlyWiki under node-webkit
2014-01-01 17:59:47 +00:00
Stephan Hradek
917865c393
fixed an initialization error
2013-12-31 11:09:17 +01:00
Stephan Hradek
ec14a0a16d
vertical alignment of cells - version 2
2013-12-31 11:05:08 +01:00
Jermolene
d043bdd289
Fix problem with view widget relativedate format
...
Fixes #319
2013-12-30 13:08:48 +00:00
Stephan Hradek
ce8cc7607f
changed to conform to Jeremy's standards - sorry…
2013-12-30 13:44:32 +01:00
Jeremy Ruston
2ee5093944
Merge pull request #305 from Skeeve/issue_186
...
added a fix for issue #186
2013-12-30 04:06:05 -08:00
Jermolene
ec7dff291d
Fix problem with "import" button not working
...
Fixes #308
2013-12-30 11:54:51 +00:00
Jeremy Ruston
de2e5adf15
Merge pull request #307 from Skeeve/issue_94
...
added fix for issue #94 for horizontal rules, tables and typed block
2013-12-30 03:46:16 -08:00
David Jade
3b114371d0
Only set placeholders when field has no data ( fixes #317 )
2013-12-29 17:18:00 -08:00
Stephan Hradek
14868d8228
also fixed issue #315
2013-12-30 00:28:43 +01:00
Stephan Hradek
3cc8138133
fixed issue #314 - fix for > at end of line
2013-12-29 23:57:42 +01:00
Stephan Hradek
8e080eac0a
fixed issue #314
2013-12-29 23:51:22 +01:00
Stephan Hradek
38142d2b19
Missed that I need to explicitly need to git rm …
2013-12-29 22:32:23 +01:00
Jermolene
bd7db62da0
Added support for specifying hostname for the --server command
...
Fixes #301
2013-12-29 13:07:06 +00:00
Stephan Hradek
cee1bc0863
small typofix
2013-12-29 00:19:51 +01:00
Stephan Hradek
ce8c79ecfa
changed sort and sortcs to support nsort and nsortcs
2013-12-29 00:15:11 +01:00
Stephan Hradek
f9de55ad5f
added fix for issue #94 for horizontal rules, tables and typed block
2013-12-25 23:06:42 +01:00
Stephan Hradek
81106e500d
added a fix for issue #186
2013-12-25 14:31:35 +01:00
Jermolene
eef32e70e3
Added support for dynamic favicons
...
Now it’s possible to edit $:/favicon.ico with the image editor, and see
the changes instantly reflected in the browser.
2013-12-24 09:08:25 +00:00
Jermolene
ad6bf4f9c5
Extend support for .ico files
...
Now we can parse image/x-icon tiddlers for display, and provide an
entry for them in the type dropdown.
2013-12-24 09:07:25 +00:00
Jermolene
12b4cc5d3e
Update wiki.readFiles() to call the callback just once
...
Now we accumulate the results and just pass them to the callback once.
2013-12-23 08:55:11 +00:00
Jermolene
10c25c1692
Fix slow regexp in importing TiddlyWiki HTML files
2013-12-23 08:54:33 +00:00
Jermolene
2d1d53893a
Adjust regex to work around an issue with importing certain tiddlers on Firefox
2013-12-22 11:28:03 +00:00
Jermolene
74fd683a22
Clean up indenting
2013-12-21 20:56:19 +00:00
Jermolene
8cc10d87d4
Added missing RawWidget
...
Fixes #298 . Thanks to @buggyj for pointing it out.
2013-12-21 16:11:48 +00:00
David Jade
7f5a8fc937
Better drag/drop for Firefox/Chrome and improved IE support
2013-12-20 19:57:05 -08:00
Jermolene
bd80bf4acc
Regex optimisation suggested by @Skeeve
2013-12-20 18:14:11 +00:00
Jermolene
e66fb948c1
Typo from #296
2013-12-20 17:07:30 +00:00
Jermolene
79046c52b4
Make the tiddler text prompt be a placeholder
2013-12-20 17:07:15 +00:00
Jermolene
062c4e5400
Make the edit widget pass through the placeholder attribute
2013-12-20 17:06:57 +00:00
Jermolene
8538d69dc1
Update navigator widget to use wiki.generateNewTitle()
2013-12-20 16:53:49 +00:00
Jermolene
274c52005d
Merge branch 'tiddlerexistsloops' of https://github.com/Skeeve/TiddlyWiki5 into Skeeve-tiddlerexistsloops
2013-12-20 16:49:12 +00:00
Jermolene
1c529ddcd4
Refactored stylesheet implementation
...
This way we reuse the refresh mechanism properly so that theme tweaks
can be applied interactively.
2013-12-20 15:31:16 +00:00
Jermolene
3bcaab513d
Fixed problem with insertBefore() method in fakedom
...
Was preventing refreshing of widget trees built against the fakedom.
2013-12-20 15:29:01 +00:00
Stephan Hradek
04077549ca
Fixed the typos Mario noticed
2013-12-19 20:38:59 +01:00
Jermolene
6c1489fc2f
Remove duplicate header
...
And provide a slightly more informative prompt
2013-12-19 16:53:48 +00:00