1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-29 21:09:56 +00:00
TiddlyWiki5/languages/ja-JP
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 Update Japanese translation 2015-01-02 09:54:39 +00:00
Help replace type to rendertype at setfield help 2015-10-18 17:23:37 +09:00
Modals Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Types Update Japanese translation 2015-01-02 09:54:39 +00:00
Buttons.multids add Japanese Translations 2014-12-14 02:39:13 +09:00
ControlPanel.multids Update translations (#2463) 2016-05-25 12:10:41 -06:00
CoreReadMe.tid Update Japanese translation 2015-01-02 09:54:39 +00:00
Dates.multids Updated Japanese translation 2014-10-29 11:54:46 +00:00
EditTemplate.multids Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
Exporters.multids Split exporters from miscellaneous language tiddler (#2460) 2016-05-23 12:30:57 -06:00
Fields.multids Remove "hack-to-give-us-something-to-compare-against" 2019-11-14 09:23:17 +00:00
Filters.multids add Japanese Translations 2014-12-14 02:39:13 +09:00
GettingStarted.tid Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
icon.tid Use bordered flags for ja-JP and ru-RU 2014-10-29 12:15:19 +00:00
Import.multids Update Japanese translation 2015-01-02 09:54:39 +00: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 Japanese Translations 2014-12-14 02:39:13 +09:00
Notifications.multids some translation added 2014-04-15 12:00:04 +09:00
plugin.info remove untranslated tiddlers 2014-11-05 06:42:20 +09:00
Search.multids Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
SideBar.multids Update translations (#2463) 2016-05-25 12:10:41 -06:00
SiteSubtitle.tid add ja-JP directory 2014-04-15 09:58:21 +09:00
SiteTitle.tid fix problem in GettingStarted and SiteTitle 2016-02-07 15:06:56 +09:00
TiddlerInfo.multids Updated Japanese translation 2014-10-29 11:54:46 +00:00