1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00
TiddlyWiki5/core/language/en-GB
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
..
Docs Add support for utils-browser modules 2021-02-22 12:11:39 +00:00
Help i18n(en-GB) apply grammarly recommendations found while translating es-ES (#5733) 2021-05-30 18:51:44 +01:00
Modals Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Snippets Remove extraneous "mode" field from snippet tiddlers 2016-04-29 18:54:44 +01:00
Types Sort the edit content type dropdown groups more sensibly 2016-11-28 14:01:09 +00:00
Buttons.multids Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
ControlPanel.multids i18n(en-GB) apply grammarly recommendations found while translating es-ES (#5733) 2021-05-30 18:51:44 +01:00
Dates.multids Fixed typo in language files 2014-10-10 10:31:10 +01:00
EditTemplate.multids i18n(EditorPreview) translate difference view caption (#5732) 2021-05-30 18:49:57 +01:00
Exporters.multids Simplify wording of exporter descriptions 2015-04-13 07:53:36 +01:00
Fields.multids Fix syncer to handler errors properly (#4373) 2020-03-30 15:24:05 +01:00
Filters.multids Add advanced search canned filter for "tiddlers modified this session" 2019-02-08 11:07:06 +00:00
GettingStarted.tid Shadow GettingStarted: Get rid of double "important" 2018-02-20 16:00:06 +00:00
icon.tid Update language flags to generic plugin icon convention 2014-08-07 15:45:56 +01:00
Import.multids Improve import cancel warning (#5812) 2021-06-21 20:58:58 +01:00
Misc.multids Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
NewJournal.multids Add default new-tiddler and new-journal tags mechanism and... (#4314) 2019-10-13 16:53:52 +01:00
NewJournalTags.tid Fix #4591: Use text field instead of tags field for $:/config/NewJournal/Tags ... (#4600) 2020-06-14 09:40:48 +01:00
Notifications.multids Improve "copy to clipboard" notification text 2018-08-17 09:29:23 +01:00
Search.multids Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
SideBar.multids Minor tweaks to new tiddler Explorer 2017-06-09 15:31:55 +01:00
SiteSubtitle.tid Change SiteTitle/SiteSubtitle into $:/SiteTitle and $:/SiteSubtitle 2014-02-22 11:39:18 +00:00
SiteTitle.tid Change SiteTitle/SiteSubtitle into $:/SiteTitle and $:/SiteSubtitle 2014-02-22 11:39:18 +00:00
ThemeTweaks.multids Update hint for sticky titles option 2018-05-03 16:14:05 +01:00
TiddlerInfo.multids Rename "references" to "backlinks" in the tiddler info panel (#5143) 2020-11-29 18:32:22 +00:00