TiddlyWiki5/editions/tw5.com/tiddlers
Jeremy Ruston d455072f13
Add support for JSON-formatted tiddler store, and make it the default (#5708)
* Add support for JSON-formatted tiddler store, and make it the default

The change to `getTiddlersAsJson()` is to allow experimentation

* Move JSON tiddlers into their own store area, and fix support for encrypted tiddlers

Also add a dummy old-style store area for backwards compatibility

The current arrangement is that JSON tiddlers will always override old-style tiddlers.

* Use the deserialiser mechanism to decode the content

* Refactor $:/core/modules/deserializers.js before we start extending it

Cleaning up the helper function names and ordering

* Drop support for the "systemArea" div

It was only used in really old v5.0.x

* Update deserializer to support JSON store format and add some tests

* Life UI restrictions on characters in fieldnames

* Add another test case

* Correct mis-merge

* Remove toLowerCase() methods applied to fieldnames

* Insert line breaks in output of getTiddlersAsJson (#5786)

Rather than have the entire store on one line, insert a line break
after each tiddler.

* Refactor #5786 for backwards compatibility

* Only read .tiddlywiki-tiddler-store blocks from script tags

Prompted by @simonbaird's comment here: https://github.com/Jermolene/TiddlyWiki5/pull/5708#discussion_r648833367

* Clean up escaping of unsafe script characters

It seems that escaping `<` is sufficient

* Add docs from @saqimtiaz

Thanks @saqimtiaz

* Docs tweaks

* Remove excess whitespace

Thanks @simonbaird

* Fix templates for lazy loading

* Remove obsolete item from release note

* Clean up whitespace

* Docs for the jsontiddler widget

* Fix whitespace

Fixes #5840

* Comments

* Fix newlines in JSON store area

* Remove obsolete docs change

Co-authored-by: Simon Baird <simon.baird@gmail.com>
2021-07-14 09:15:30 +01:00
..
about Add another podcast link (#5567) 2021-03-24 21:21:45 +00:00
commands Docs fixes from @fkohrt 2020-08-14 15:04:01 +01:00
community Merge branch 'tiddlywiki-com' 2021-04-18 10:10:39 +01:00
concepts Drag and drop images in the editor to import and insert (#5699) 2021-05-19 21:52:43 +01:00
customising Update Customising search results.tid (#5233) 2020-12-15 10:38:16 +00:00
definitions Doc updates for ActionLog and Log widgets (#5081) 2020-11-20 18:37:48 +00:00
demonstrations Prevent scrolling of the page when modals are displayed (#5816) 2021-06-27 16:24:06 +01:00
editions Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
features Missing docs for working with negative years 2020-12-01 15:51:07 +00:00
fields Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
fileformats Update release note 2019-06-09 17:09:11 +01:00
filters Docs for macro parameters in filter operands (#5837) 2021-06-29 23:25:44 +01:00
gettingstarted Visual changes to Saving Tiddler (#4640) 2020-06-14 11:48:13 +01:00
hellothere Add a link to the community aggregator 2021-03-22 15:22:49 +00:00
hiddensettings Drag and drop images in the editor to import and insert (#5699) 2021-05-19 21:52:43 +01:00
howtos Add support for disabled editor toolbar buttons & docs (#5294) 2021-04-25 16:17:32 +01:00
images Merge branch 'tiddlywiki-com' 2021-03-22 15:24:15 +00:00
languages Docs: Create Japanese (Japan) Edition.tid (#5324) 2021-01-04 11:05:41 +00:00
learning Clarify drag-n-drop behaviour again (#3434) 2018-11-20 10:06:12 +00:00
macros Docs for macro parameters in filter operands (#5837) 2021-06-29 23:25:44 +01:00
mechanisms Add throttling for changed tiddlers prefixed with $:/temp/volatile/ (#5458) 2021-05-21 08:51:15 +01:00
menubar First commit of new Menu Bar plugin 2020-02-28 14:33:15 +00:00
messages Version tags missed off 56068d8215 2021-07-05 10:09:04 +01:00
nodejs Cleaned up Customising Tiddler File Naming docs (#5320) 2021-01-03 11:50:39 +00:00
platforms Update TiddlyWiki in the Sky for TiddlyWeb (#4667) 2020-06-11 11:46:51 +01:00
plugins Add docs on share plugin (#5331) 2021-01-03 11:48:17 +00:00
readme Promote Gitter Chat in the Readme (#3322) 2018-12-01 14:25:33 +00:00
reference Add support for splash screens during loading 2018-09-27 09:47:55 +01:00
releasenotes Update release note 2021-04-04 11:48:24 +01:00
roadmap Update RoadMap tiddler 2020-05-16 19:52:54 +01:00
saving Docs typo 2021-01-21 17:02:21 +00:00
styleguide Docs: Minor formatting tweaks 2021-02-07 12:48:06 +00:00
system Update release note 2021-04-04 11:48:24 +01:00
systemtags Docs for new system tag $:/tags/EditorTools (#5705) 2021-05-22 11:07:55 +01:00
tiddlydesktop Remove version history of TiddlyDesktop 2018-09-24 09:26:40 +01:00
variables Update modifier variable docs (#5114) 2020-11-24 21:19:37 +00:00
videos Use https for YouTube 2017-11-18 19:53:52 +00:00
webserver Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
widgets Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
wikitext Add "commentpragma" html style rule (#5726) 2021-06-14 17:39:56 +01:00
workingwithtw Add docs on share plugin (#5331) 2021-01-03 11:48:17 +00:00
$__StoryList.tid Add a link to the community aggregator 2021-03-22 15:22:49 +00:00
$__key-test.tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
$__key-test_action.tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
AllTiddlers.tid More tag colours 2014-02-25 21:22:21 +00:00
Key Codes (Example 1).tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
Key Codes (Example).tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
Keyboard Codes (Macros).tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
Keyboard Codes.tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
License.tid Docs: fix typos and font-size (#2795) 2020-01-30 12:49:37 +00:00
TableOfContents.tid Rename "configurations" to "platforms" 2015-06-20 09:24:14 +01:00