1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00
TiddlyWiki5/editions/dev/tiddlers/from Heigele and Jurke
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
..
Caching.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00
Conclusion.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00
Data Management during Runtime.tid Small documentation fixes 2016-04-04 12:45:31 +01:00
Data Persistence.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Data-Storage.tid Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
Datamodel.tid Add highlight plugin to /dev wiki 2014-11-28 10:06:17 +00:00
Deserializer.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00
Event Mechanism.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Extended Persistence.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Extending the Store.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Introduction.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00
Messages.tid Add highlight plugin to /dev wiki 2014-11-28 10:06:17 +00:00
Microkernel and Datamodel.tid Small documentation fixes 2016-04-04 12:45:31 +01:00
Microkernel Architecture.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Microkernel Description.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Microkernel.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00
Modularization.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00
Module System.tid Add highlight plugin to /dev wiki 2014-11-28 10:06:17 +00:00
NEW NEW TOC.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Parser.tid Fix typo which prevented example from working 2015-10-25 13:56:21 -07:00
Persist data.tid Add highlight plugin to /dev wiki 2014-11-28 10:06:17 +00:00
RootWidget and Rendering Startup.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Saver.tid Update dev docs for saver modules (#2919) 2017-06-28 18:04:52 +01:00
Section Overview.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Selective Update.tid Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Startup Process.tid Add highlight plugin to /dev wiki 2014-11-28 10:06:17 +00:00
StartupTimeline.png.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00
Syncadaptor.tid Syncadapter uses different conditions for loading and saving (#4211) 2019-09-03 09:49:17 +01:00
System Tiddlers.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Table of Contents.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Tags and Filter Mechanism.tid Add highlight plugin to /dev wiki 2014-11-28 10:06:17 +00:00
The Heart of TiddlyWiki Boot-Kernel.tid Small documentation fixes 2016-04-04 12:45:31 +01:00
The Plugin and Module concept.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
The TiddlyWiki data management concept.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
The User Interface.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Tiddler as Basic Element.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
TiddlyWiki - A quick Overview.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
TiddlyWiki as Single Page Application.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
TiddlyWiki Core Application.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
TiddlyWiki.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00
Timeline of the startup Process.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Toc.tid Correct two links 2014-12-22 13:42:25 +00:00
Transclusion and TextReference.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
UI and Rendering Pipeline.tid Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Using Modules to build a Single File Application.tid Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Widgets.tid Add highlight plugin to /dev wiki 2014-11-28 10:06:17 +00:00
wikimethod module type.tid Add documentation for indexer modules (#4873) 2020-11-30 22:10:07 +00:00
WikiText Markup.tid Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Wikitext.tid Clean up modifier/creator fields of dev content 2014-09-10 17:27:55 +01:00