1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00
TiddlyWiki5/editions
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
..
aws Add first release of AWS plugin 2017-07-03 20:34:58 +01:00
classicparserdemo Use https for YouTube 2017-11-18 19:53:52 +00:00
codemirrordemo Add default "tiddlywiki" styles to CodeMirror and Highlight.js (#5128) 2020-11-28 14:07:12 +00:00
d3demo First pass at an --editions command 2014-10-27 21:50:25 +00:00
de-AT Get "New Release Banner" from TW5-com edition (#4912) 2020-10-25 22:03:35 +00:00
de-AT-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
de-DE Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
dev Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
dynaviewdemo Performance Instrumentation: Track execution times for individual filters 2019-05-10 15:56:01 +01:00
empty Add build target for empty.html 2018-12-17 11:07:39 +00:00
es-ES Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
es-ES-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
fr-FR Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
fr-FR-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
full Add Arabic (Palestine) to the "Full Edition" 2020-08-28 17:51:17 +01:00
highlightdemo Highlight plugin: add static demo 2015-09-11 22:36:30 +01:00
innerwikidemo Innerwiki: Add support for draggable anchors 2019-02-01 10:43:42 +00:00
introduction Introduction edition: fix some display issues 2020-01-29 17:09:28 +00:00
ja-JP Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
katexdemo KaTeX plugin: add mhchem extension for chemical syntax (#3601) 2018-12-01 13:28:51 +00:00
ko-KR Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
ko-KR-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
markdowndemo Replace Markdown parsing library with Remarkable (#3876) 2020-01-20 13:13:36 +00:00
pluginlibrary Lots of improvements to the plugin library 2015-03-18 11:46:28 +00:00
prerelease Update release note 2021-07-13 17:50:01 +01:00
resumebuilder Cleanup editions information (#2444) 2016-05-17 22:00:26 +01:00
server Fix accidental changes in 41a7d98e17 2020-06-07 10:30:39 +01:00
server-external-js Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
share Fix accidental changes in 41a7d98e17 2020-06-07 10:30:39 +01:00
tahoelafs First pass at an --editions command 2014-10-27 21:50:25 +00:00
test Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
testcommonjs First pass at an --editions command 2014-10-27 21:50:25 +00:00
text-slicer Major updates to text-slicer plugin 2017-12-14 14:16:54 +00:00
translators Add Português (Brasil) translation 2018-02-07 15:56:43 +00:00
tw5.com Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
tw5.com-docs Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
tw5.com-server Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
tw5tank Enable the internals plugin by default in docs (#4335) 2020-04-07 20:41:00 +01:00
tw5tiddlyweb Typos 2014-12-05 10:20:32 +00:00
upgrade First pass at an --editions command 2014-10-27 21:50:25 +00:00
xlsx-utils xlsx-utils: Fix demo spreadsheet 2021-01-16 16:09:42 +00:00
xlsx-utils-server Add first pass at XLSX Utilities plugin 2016-10-23 22:49:59 +01:00
zh-Hans Fix wrong configurations in tiddlywiki.info for editions zh-Hant and zh-Hans (#4564) 2020-04-15 10:24:46 +01:00
zh-Hant Fix wrong configurations in tiddlywiki.info for editions zh-Hant and zh-Hans (#4564) 2020-04-15 10:24:46 +01:00