Wykres commitów

1781 Commity (28bab707b9281dd422e0b7a8a40bf808f8a14ea8)

Autor SHA1 Wiadomość Data
Jermolene 4836cf83e2 Enhance alerting to coalesce repeated alerts with the same text 2014-02-14 10:29:26 +00:00
Jermolene 44678b2ea2 Better not to use relative dates for alerts
Relative dates don’t autorefresh at the moment.
2014-02-14 10:00:02 +00:00
Jermolene 70a120d4a6 Expand the logging mechanism to support alerts overlaid on the main screen
Now we get decent visual indication of sync errors, for instance. Still
work to do to coalesce alerts so that the screen doesn’t fill up with
them after an interval. And probably we should add a button to clear
all alerts.
2014-02-14 07:53:41 +00:00
Jermolene 9bb600299f Extend the navigator widget to maintain the "current-tiddler" field on the history list 2014-02-13 17:59:51 +00:00
Jermolene 9db887748b Extend setTiddlerData() to set arbitrary fields 2014-02-13 17:59:33 +00:00
Jermolene 800bc639f9 Fix problem with the reveal widget not refreshing properly when used with text references
The check for changed tiddlers was failing because `this.stateTitle`
contains the entire text reference, not just the tiddler title.
2014-02-13 17:59:10 +00:00
Jermolene ad4e7ccb17 Add experimental support for building plugins in the browser
It’s a bit rough and ready, but works.
2014-02-13 14:23:27 +00:00
Jermolene 4654f6b971 Fix default tab in the "more" sidebar tab 2014-02-13 14:06:20 +00:00
Jermolene 470beabf17 Enhance links so that control/command clicking suppresses navigation
Control- or Command-clicking on a link will now open the target tiddler
but suppress navigating to it. Kind of like opening in a background tab.
2014-02-12 22:00:12 +00:00
Jeremy Ruston 523eae83ff Merge pull request #407 from Skeeve/regexp_filter
fixed an awful typo in the regexp
2014-02-12 21:38:54 +00:00
Jermolene ca0c352278 Extend the transclude widget to fallback to displaying it's child nodes if the target isn't defined 2014-02-12 21:38:37 +00:00
Stephan Hradek 0dc8de9dd2 fixed an awful typo in the regexp
The regexp fails when backslashes are used in the search-regexp. The closing bracket was at the wrong position.
2014-02-12 22:34:13 +01:00
Jermolene ecad2bf7a8 Add better control over whether tiddlers are transcluded in block or inline mode 2014-02-12 17:59:28 +00:00
Jermolene 8b3bfa6805 Allow [title[Blah]] to match missing tiddlers
Fixes #404
2014-02-12 16:01:20 +00:00
Jermolene d5b526914b Simplify the regular expression for HTML comments
We were getting catastrophic backtracking in Chrome for some input
texts where the closing “—>” of the comment was omitted.
2014-02-12 15:24:03 +00:00
Jermolene 5c66bc6dbc Update the reveal widget to allow control over content retention
Thus bringing back the animation of the opening and closing of the info
panel.
2014-02-12 08:32:19 +00:00
Jermolene dd451800c7 Specify encoding for incoming requests
Fixes #397
2014-02-11 19:42:45 +00:00
Jermolene 190ced7cdd Sync from server even when not logged in 2014-02-11 19:10:40 +00:00
Jermolene daa79a8612 Move the en-GB language plugin into the core
We need to have the default language baked into the core so that we
don’t have problems if no language plugins are available.
2014-02-11 13:20:17 +00:00
Jermolene 441d9078fa Coding style tweaks for #399 2014-02-10 17:34:10 +00:00
Jeremy Ruston f0ab607ea1 Merge pull request #399 from shendaras/patch-1
getRelativeDate: support for negative deltas
2014-02-10 17:33:08 +00:00
Jermolene ecba4f71ea Clean up the highlight plugin
Fixing various issues that were preventing language specifiers from
working.
2014-02-10 13:51:38 +00:00
Jermolene e003889171 Start translating the control panel 2014-02-09 20:34:58 +00:00
Jermolene a2cbc2deb5 Rejig the tabs macro to wikify captions
This will allow us to translate tab captions
2014-02-09 19:19:40 +00:00
Jermolene dea08ed4f8 First pass at language plugins for internationalisation
Still quite a few details to work out, but this shows the basic idea of
re-using the theme mechanism to handle language plugins.

Comments and questions welcome.
2014-02-09 19:18:46 +00:00
Jermolene 73c30716dc Unlinkify the current theme name
Having it link to the underlying plugin tiddler isn’t very useful
2014-02-08 17:29:42 +00:00
Jermolene 8ad34e2db9 Refactor the theme switcher to be a generic plugin switcher 2014-02-08 09:29:37 +00:00
Jermolene b26a32b93a Remove obsolete stylesheet helper 2014-02-08 09:29:11 +00:00
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 2758e586bd Add a "filter" tab to advanced search 2014-02-07 10:07:57 +00:00
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 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
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
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 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 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 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 762940adbc No longer save system modules separately in the main HTML template
These tiddlers were being handled as `<script>` tags to make it easier
to debug them. But in fact modern dev tools are quite happy to debug
code that has been eval’d, and this arrangement was causing problems
for importing.

Fixes #335
2014-01-25 21:22:43 +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 867dfabff8 Change initial default tiddlers to include most recently created tiddlers 2014-01-20 18:26:32 +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 d3c421985c Add delete icon for the tiddler type editor 2014-01-20 11:21:12 +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 2f4932fefc Expose the option to retain story ordering across restarts 2014-01-19 18:42:32 +00:00
Jermolene 5f1d49f2e0 Clarify the shadow GettingStarted docs 2014-01-19 18:42:20 +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 4072c4461d Switch to using a real ellipsis for advanced search 2014-01-13 17:59:14 +00: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 bad2e36e45 Remove obsolete itemClass attribute on the list widget 2014-01-12 17:01:18 +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 5dff212e5a Clarify comment in main template 2014-01-12 11:58:45 +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
Jermolene 209bc78268 Clean up whitespace 2014-01-08 16:51:42 +00:00
Jermolene ffcc215e8f Add ellipsis for advanced search next to search box 2014-01-08 10:43:50 +00:00
Jermolene 0fb13e649b Exclude non-system tiddlers from system tiddler search 2014-01-08 09:55:06 +00:00
João Bolila b42eefe1e8 Merge remote-tracking branch 'upstream/master' 2014-01-08 04:47:20 +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 954901d788 Start adding export options to the control panel 2014-01-05 17:24:53 +00: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
Jermolene 2d99f4dc15 Update copyright year 2014-01-02 10:55:19 +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 b76ca5dc3b Clarify use of double square brackets in default tiddlers 2014-01-01 18:27:27 +00:00
Jermolene 87fbd988f1 Add support for running TiddlyWiki under node-webkit 2014-01-01 17:59:47 +00:00
Jermolene 3d79eb87d1 First pass at an advanced search tiddler 2013-12-31 13:11:01 +00:00
Jermolene e48e7e9443 Style improvements for alltiddlers.html 2013-12-31 11:34:10 +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 b9e80a270b All-in-one static HTML support
Added a first pass at generating an all-in-one static HTML
representation of a wiki, incorporating anchor links for wiki links
2013-12-31 09:43:46 +00: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
Jeremy Ruston 5eb57365b6 Merge pull request #312 from Skeeve/issue_232
fixed issue#232
2013-12-30 03:25:37 -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
Jermolene d69614259f Add TiddlyWiki Classic markup to type dropdown 2013-12-28 17:56:48 +00:00
Stephan Hradek 46892371cb fixed issue#232 2013-12-28 17:46:53 +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 73c5ecdaa7 Added a green version of the favicon for the static pages 2013-12-24 09:09:01 +00: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 c740792105 Fixed illegal HTML comments
Pointed out by @Skeeve, double hyphens are not allowed inside HTML
comments
2013-12-20 18:22:01 +00: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
Stephan Hradek 42ba6852d1 changed 2 loops resolving name conflicts for new tiddlers as suggested in issue 294 2013-12-18 23:48:04 +01:00
Jermolene 638c8b2070 Fixes to fullscreen support
Prompted by this article:

http://generatedcontent.org/post/70347573294/is-your-fullscreen-api-code
-up-to-date-find-out-how-to
2013-12-18 21:39:59 +00:00
Jermolene 2b72e48a3a Improve prompt for `--server` command 2013-12-18 21:11:16 +00:00
Jermolene a4e3f66809 Add favicon.ico support to the server 2013-12-18 17:27:24 +00:00
Jermolene f3b2788ed1 Add a savetiddler command
It saves tiddlers in their original, unrendered format
2013-12-18 17:26:23 +00:00
Jermolene 7ec516a746 Correct template for the static HTML rendering 2013-12-17 19:36:55 +00:00
Jermolene b50eb8da30 Fixed problem with tiddler navigation ordering 2013-12-17 15:42:53 +00:00
Jermolene 4ece301a97 Fix fieldmanger to update modified and modifier fields 2013-12-17 15:04:22 +00:00
Jermolene db85bfe513 Fix problem with covering of the dragger image
Fixes #253
2013-12-17 13:39:46 +00:00
Jermolene 066a4d9fbc Coding style and layout tweaks 2013-12-17 13:32:15 +00:00
Jermolene 3e2f475324 Merge branch 'master' of https://github.com/davidjade/TiddlyWiki5 into davidjade-master 2013-12-17 13:26:08 +00:00
Jermolene a5f33d875b Fix up rootwidget and page container
We need to properly link the page container to the rootwidget.

Fixes #223
2013-12-17 13:13:43 +00:00
Jermolene 6d09db5608 Add a favicon 2013-12-16 23:27:26 +00:00
Jermolene 37a46adac8 Fix problem with radio widget refreshing 2013-12-16 08:52:18 +00:00
Jermolene 7dc7559b90 Adjust references to five.tiddlywiki.com 2013-12-15 16:53:10 +00:00
Jermolene 57adbe5bf7 Fixed typo in hardlinebreak parser 2013-12-14 17:42:50 +00:00
Jermolene 713d6945c6 Misplaced space 2013-12-14 17:22:26 +00:00
Jermolene ef9175e7bc Remove debugging info 2013-12-14 17:07:47 +00:00
Jermolene 6a8feb216a Add parser rule for hard linebreaks 2013-12-14 17:05:57 +00:00
Jermolene 79c8935aef Style cleanups for MOTW
@davidjade I assume these changes are all safe from the BHO’s point of
view? Many thanks
2013-12-14 09:53:39 +00:00
Jermolene 3f06384516 Adjusted plugin encoding so that the JSON text no longer duplicates the fields 2013-12-14 09:46:02 +00:00
David Jade 0984e9322f Revised fix for IE drag/drop issue #252
Also improve browser drag/drop inter-op a tiny bit
2013-12-13 03:12:56 -08:00
David Jade 80e0714c0d Fix for IE drag/drop issue #252 2013-12-12 17:32:06 -08:00
Jermolene 7c9b920e26 More style adjustments 2013-12-12 20:36:54 +00:00
Jermolene ae4a2b58ed Complete renaming the radio widget 2013-12-12 19:49:43 +00:00
Jermolene c73a7af95b Remove file mistakenly included in previous commit 2013-12-12 19:49:29 +00:00
Jermolene 1420aa2f58 Complete renamign the 'fieldradio' widget to 'radio' 2013-12-12 19:41:40 +00:00
Jermolene 0814f3623d Rename 'fieldradio' widget to just 'radio'
We’ve already got two widgets starting “field…”, and “radio” is more
consistent with the existing “checkbox” widget.
2013-12-12 19:40:27 +00:00
Jermolene 382d7e4449 Coding style consistency 2013-12-12 19:39:02 +00:00
Jermolene e2cd611e45 Typo correction 2013-12-12 19:37:57 +00:00
Jermolene bb03bb942f Merge branch 'fieldradio' of https://github.com/Skeeve/TiddlyWiki5 into Skeeve-fieldradio 2013-12-12 19:23:39 +00:00
Jermolene fd996bad20 Fix problem with edit-text widget gaining class="undefined"
Fixes #269
2013-12-12 18:52:51 +00:00
Jeremy Ruston 761b66028d Merge pull request #276 from davidjade/master
Added TiddlyIE and FSO saver modules
2013-12-12 10:18:30 -08:00
Jermolene ae6d1b1685 Major refactoring of the navigator widget
Cleans things up, and hopefully fixes #267
2013-12-12 15:17:12 +00:00
Jermolene 49b3165fbd Fix occasional crash from trying to save a tiddler after it has been deleted 2013-12-12 15:16:44 +00:00
Jermolene 6dbd178378 Merge branch 'issue_270' of https://github.com/Skeeve/TiddlyWiki5 into Skeeve-issue_270 2013-12-11 22:19:19 +00:00
Jermolene 9f058925f7 Fix problem with deleting tiddlers with the filesystemadaptor
Fixes #266
2013-12-11 22:02:34 +00:00
Jermolene 1b75242345 Fix up caller of wiki.forEachTiddler() 2013-12-11 22:01:20 +00:00
Jermolene 6298c7aa43 Refactor wiki.forEachTiddler() and wiki.getTiddlers() to take an options parameter 2013-12-11 22:01:02 +00:00
Stephan Hradek 853cca906c allowing variable number of arguments for non-argument macros 2013-12-11 22:59:52 +01: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 b8897f86fb Ensure that tiddler manipulations affect the history
Previously edit tiddler etc wouldn’t actually navigate to the new
tiddler
2013-12-11 16:30:25 +00:00
Jermolene d11cda4854 Rearrange control panel
Introduce version number too
2013-12-11 16:06:52 +00:00
Jermolene 6a71b399b0 Fix problem with transcluding non-string fields
Transcluding date or list fields (like `modified` or `tags`) was
crashing.
2013-12-11 15:51:32 +00:00
Jermolene 062822d45c Fix file system behaviour for loading new tiddlers
We don’t need to load tiddlers because they will all have been loaded
during bootup, or been created through the file system adaptor.
2013-12-11 11:45:15 +00:00
Jermolene 2ffcbb76eb Remove modifier and creator fields from tiddlers in tw5.com
Keeps things tidier
2013-12-11 07:57:12 +00:00
Jermolene 50e1727ef7 Stop falling back to anonymous username
The `serve` command used to fallback the username parameter to
“ANONYMOUS” if it was not provided. Better is just to not set a
username if it is not provided; newly created tiddlers won’t get a
‘modifier’ field at all.
2013-12-11 07:45:36 +00:00
Jermolene 14cf9ad24a Fix typo preventing page controls from being reordered 2013-12-07 08:59:32 +00:00
Jeremy Ruston 0a93edb1b6 Merge pull request #249 from Skeeve/quotes
added quote rules
2013-12-06 01:16:39 -08:00
Stephan Hradek b0ff8bee6a as requested - quote.js removed because of quotelist - do not forget to add some css classes 2013-12-06 09:57:56 +01:00
Jermolene 48f8046cf5 Fixed problem with cancelling editing the tiddler $:/StoryList 2013-12-06 08:45:24 +00:00
Jermolene 1fddcf075f Big docs update
Finally sorting out the wikitext documentation
2013-12-05 16:21:10 +00:00
Jermolene ffcf2bfaac Missing comma
Omitted from 4d4a0e01b4
2013-12-05 16:20:22 +00:00
Jeremy Ruston 4d4a0e01b4 Merge pull request #258 from Skeeve/quotelist
inserted > into lists
2013-12-05 07:16:05 -08:00
Jermolene b37a139aa7 Typo that prevented edit widget tiddler attribute from working 2013-12-05 10:37:40 +00:00
Stephan Hradek 374743883d inserted > into lists 2013-12-05 00:31:55 +01:00
Stephan Hradek d739b6939a added core/modules/widgets/fieldradio.js 2013-12-05 00:15:06 +01:00
Jermolene 49ade66540 Extend navigator widget to allow target tiddler to be specified for certain events
Now the edit tiddler, delete tiddler, save tiddler and cancel tiddler
events can all be passed the tiddler title as the message param.
2013-12-04 13:09:26 +00:00
Jermolene 4cffa58df3 Fix viewing of date fields 2013-12-03 10:09:58 +00:00
Jermolene f3954d374d Add error reporting for the syncer module
Things were failing silently.
2013-12-03 09:35:02 +00:00
Jermolene b149ab47f4 Refactor importing to to use new wiki.importTiddler method 2013-12-02 09:59:38 +00:00
Jermolene 1b99dbb677 Add wiki.importTiddler()
Exactly like addTiddler except that it rejects plugins that are older
than the currently installed version.
2013-12-02 09:59:17 +00:00
Jermolene c4814cec91 Include plugin version numbers in control panel 2013-12-02 09:58:44 +00:00
Jermolene 7a4abba9fd Ensure system tiddlers are imported
We no longer generate a separate “systemArea” for system tiddlers but
we still need to import it for older wikis
2013-12-02 09:57:54 +00:00
Jermolene 34ae1387a5 Expand the theme switcher in the control panel 2013-12-01 21:57:19 +00:00
Stephan Hradek 62b9fb336b fixed a small bug related to closing wiki-tag - no really 2013-12-01 22:05:49 +01:00
Stephan Hradek 8ed364ed72 fixed a small bug related to closing wiki-tag 2013-12-01 22:01:21 +01:00
Jermolene eb41ca578d Fallback to a list of default themes
Avoids the situation where an empty wiki uses the vanilla theme unless
you explicitly apply a different theme.
2013-12-01 20:28:56 +00:00
Stephan Hradek 2ec58f7fa2 added quote rules 2013-12-01 21:21:15 +01:00
Jermolene a12310f225 Fixed problem with rearranging `$:/tags/PageControls/` 2013-12-01 13:25:48 +00:00
Jermolene 7fcf52543f Make sure tags are in alphabetical order in the view template
Fixes #242
2013-11-30 13:15:17 +00:00
Jermolene 2db3043d6e Tweak appearance of tags editor
Making it a bit more like http://aehlke.github.io/tag-it/
2013-11-30 10:55:45 +00:00
Jermolene 6ee0e07036 Add a class to the button icon SVGs
So that we can default their size to 1em
2013-11-29 17:11:48 +00:00
Jermolene 7baf8431a4 Refactor the download buttons into reusable snippets 2013-11-29 09:12:23 +00:00
Jermolene 7d12d89a0a Added primitive support for basic authentication
Note that the password will be passed over HTTP in plain text.
2013-11-28 14:03:08 +00:00
Jermolene c0a6e94b21 Hash the state qualifier to make it shorter
We were having problems with TW5 generating filepaths that were longer
than Windows likes.

Fixes #240
2013-11-28 10:53:37 +00:00
Jermolene b8f15feca4 Force newly created field names to be lowercase
Fixes #239
2013-11-28 10:35:16 +00:00
Jermolene 5b89eca5e9 Fix up filenames
Left overs from the Great Refactoring
2013-11-27 21:15:35 +00: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 7175f1cbf1 Split a basic Vanilla theme out of Snow White
And add a new Night-Time theme for the /dev wiki.

The idea is that the Vanilla theme will make a more convenient base for
retheming.
2013-11-27 12:38:03 +00:00
Jermolene 584043deee Add a notification when starting to save with the upload plugin 2013-11-26 22:46:20 +00:00
Jermolene 1b54313615 Add SVG images to the type dropdown 2013-11-26 19:42:44 +00:00
Jermolene 42fce1929c Improve save notifications for TiddlySpot 2013-11-26 12:50:40 +00:00
Jermolene d96f85ac83 Add a link to the backup URL to the TiddlySpot control panel tab 2013-11-26 12:30:11 +00:00
Jermolene b805633dc9 Reorganise the main file saving templates
We’re introducing a mechanism that allows us to decide which tiddlers
get saved. Using `$:/core/save/all` gives all tiddlers, as before.
Using `$:/core/save/empty` gives an empty wiki. Saving an empty wiki
from tw5.com isn’t the same as the empty wiki cooked from
editions/empty because the two editions have different plugins and
other system tiddlers.
2013-11-25 21:16:27 +00:00
Jermolene b33a3293fe Rejig the main save template to get rid of the separate system tiddler area
It dates from an ancient version of TW5, and is really redundant now.
It also meant that system tiddlers were not encrypted, which seems
confusing for end users.
2013-11-24 20:40:10 +00:00
Jermolene 802fe9beae Add [is[tiddler]] filter operator
For selecting all non-shadow tiddlers, whether or not they are system
tiddlers
2013-11-24 20:38:58 +00:00
Jermolene 78f56ba875 Stop generating static content when we're saving an encrypted wiki 2013-11-24 20:28:27 +00:00
Jermolene c29975f6b3 Remove special provision for jQuery
This dates from an ancient version of TW5 which had a dependency on
jQuery. Now we’d install jQuery as an ordinary tiddler module, not a
library module.
2013-11-24 20:16:44 +00:00
Jermolene ce03690989 Fix problem with tag-configurable item lists not being able to interleave shadow and non-shadow 2013-11-24 19:38:32 +00:00
Jermolene f380d4b27d Change macro attributes to not wikify their content
One consequence of wikifying macro attributes before use was that we
couldn’t have tiddler titles with wikitext syntax in, which was
definitely a problem.
2013-11-22 20:02:44 +00:00
Jermolene a45f64e738 Trap filter syntax errors
Now a syntax error on a filter just causes the filter to return the
error message as it’s single result.

Fixes #189
2013-11-21 08:52:41 +00:00