1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 11:29:58 +00:00
Commit Graph

3502 Commits

Author SHA1 Message Date
Jermolene
dbd63e6fe7 Move some system tiddlers into the right name space
The tiddlers temporarily used for adding new fields and tags should be
in the $:/temp namespace so that they don’t dirty the store
2014-02-06 22:20:58 +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
8e8e31fb9f Force position:relative on tag pills
This avoids a problem with tag pills not working properly within table
cells.
2014-02-06 12:48:10 +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
Jermolene
e6fa9b8a85 Add number of tags to control panel "Basics" tab 2014-01-30 16:51:36 +00:00
Jeremy Ruston
1a54d590e1 Merge pull request #388 from simonbaird/sameday_tz_fix
Also fix timezone related eachday test failure
2014-01-30 08:30:29 -08:00
Jermolene
d72d245523 Remove "escape" keyboard shortcut for abandon editting
Too easy to trigger accidentally, until we have confirmations.
2014-01-30 16:26:50 +00:00
Jeremy Ruston
7b054440ca Merge pull request #374 from Skeeve/patch-1
Update utils.js
2014-01-30 08:24:00 -08:00
Simon Baird
6ed8a7624d Also fix timezone related eachday test failure
In some timezones, (eg GMT+6) the modified timestamps for the
'TiddlerOne' and 'Tiddler Three' test tiddlers were actually on
the same day. This was causing the 'eachday' filter test to fail.

Similar to the fix in commit 8487221, this just adjusts the
timestamp to ensure the test passes in any timezone.
2014-01-31 00:56:25 +10: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
Jeremy Ruston
9acb10f781 Merge pull request #385 from simonbaird/sameday_tz_fix
Fix timezone related filter test failure
2014-01-30 00:45:47 -08:00
Simon Baird
8487221654 Fix timezone related sameday filter test failure
In certain timezones, 201304151312 UTC is not actually the same day
as 201304152219 any 201304151756. This was causing the test for the
'sameday' filter operator to fail. (I'm in GMT+10).

This is a quick-fix. I've just adjusted the timestamps to be close
together so they will be same day no matter what timezone you're in.
2014-01-30 18:24:05 +10:00
Simon Baird
6780a16ce9 Add Simon Baird to Contributor Licence Agreement 2014-01-30 13:13:22 +10:00
Jermolene
92aa682bc5 Update docs for 'has' filter operator 2014-01-29 21:49:48 +00:00
Jermolene
405b4a9007 Update URL for Stanford JavaScript Crypto Library 2014-01-29 21:49:38 +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
29c4ed20ce Docs update 2014-01-29 09:05:33 +00:00
Jermolene
fa59382215 Add support for serving TW5 with lazily loaded images 2014-01-29 09:05:00 +00:00
Jermolene
02ba92c6b5 Add [is[image]] filter operator 2014-01-29 09:04:41 +00:00
Jermolene
e58d9c7008 Adjust documentation for ac163a59e8 2014-01-28 19:46:35 +00:00
Jermolene
ac163a59e8 Stop suppressing saving story list for the clientserver wiki
It’s useful to save it so that people can usefully set their
$:/DefaultTiddlers to `[list[$:/StoryList]]`
2014-01-28 19:44:10 +00:00
Jermolene
175e86078c Fix crash when wiki/themes folder contains files that are not themes
Fixes #370
2014-01-28 18:58:01 +00:00
Jermolene
3b255561b7 Add text/css to the type dropdown 2014-01-28 15:24:20 +00:00
Jermolene
59379b14fa Remove extraneous shadow tiddlers 2014-01-28 15:24:08 +00:00
Jermolene
5af30086c0 Fix substitution for nbsp
We were substituting the wrong character for non-breaking spaces
2014-01-28 15:23:58 +00:00
Jermolene
b342f6db67 Docs update 2014-01-27 17:10:07 +00:00
Jermolene
5d3dda1a17 Fix problem with highlighting only working in the DOM
The current implementation of the highlight plugin only works properly
in the browser, and doesn’t work under Node.js. It also doesn’t work
when rendering to the fakedom in the browser (as happens when rendering
stylesheets, for example).
2014-01-27 17:10:02 +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
8d031afa94 Update instructions for releasing TiddlyWiki5 2014-01-27 16:23:41 +00:00
Jermolene
a42ba1a310 Update version number for next release 2014-01-27 16:23:27 +00:00
Jermolene
b4b524deae Update release date of 5.0.7 2014-01-26 21:08:13 +00:00
Jermolene
8f6ee1d2a8 Version number update for 5.0.7-beta 2014-01-26 21:04:38 +00:00
Jermolene
183e9544b4 Readme update 2014-01-26 20:59:36 +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
37ca86ff3d Docs updates 2014-01-26 17:49:43 +00:00
Jermolene
cf26986061 Update upgrading instructions 2014-01-26 13:54:08 +00:00
Jermolene
54822e25d4 Update static link generation 2014-01-26 13:34:53 +00:00
Jermolene
4a9108154d Readme update 2014-01-26 13:26:25 +00:00
Jermolene
8a88253b4e Remove the white background rectangle from Motovun Jack.svg 2014-01-26 13:24:39 +00:00
Jermolene
7891824883 Fix video protocol
YouTube’s default of missing out the protocol for the iframe src
unfortunately makes videos malfunction when viewing TiddlyWiki on a
file: URL
2014-01-26 13:24:27 +00:00
Jermolene
fca5681a1a Docs updates 2014-01-26 13:04:09 +00:00
Jeremy Ruston
5c9a5f5cba Merge pull request #360 from pmario/docs-cm
docs: CodeMirror config tiddler
2014-01-26 02:01:57 -08: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