Commit Graph

21 Commits

Author SHA1 Message Date
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
Simon Baird 30d23196b6
Add 401 and 403 error messages for the put saver (#5638) 2021-04-27 10:14:04 +01:00
jeremy@jermolene.com 0be778fc27 Update Dutch translation
Thanks @gernert
2020-11-18 16:56:01 +00:00
Jeremy Ruston a4003d4697 Updates for Dutch translation
Thanks @gernert
2020-03-30 20:25:24 +01:00
Jermolene 06a10d7180 Update Dutch translation
Thanks @gernert

Co-Authored-By: gernert <gernert@users.noreply.github.com>
2018-04-10 10:27:55 +01:00
Jermolene 29364cbd08 Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Jermolene 4b9fcdf958 Enable 'edit' button in body of missing tiddler template 2017-06-09 15:20:45 +01:00
Jermolene 3693b4786d Dutch translation update
Thanks @gernert
2017-04-18 20:58:34 +01:00
Jermolene f9b4f747a1 Updates to Danish and Dutch translations
Thanks @gernert
2017-01-02 17:45:58 +00:00
Myeongjin 74db143ee8 Split exporters from miscellaneous language tiddler (#2460) 2016-05-23 12:30:57 -06:00
Myeongjin 8afc1e9354 Add localisable strings (#2438)
* Add localisable string for recursive transclusion error

* Add localisable string for count

* Add localisable strings for syncer
2016-05-12 08:44:28 -06:00
Myeongjin bb1c660a51 Cleanup language editions (#2396)
* Fix problem in GettingStarted and SiteTitle

* Remove snippets message in miscellaneous
2016-04-27 07:58:50 +01:00
Jermolene 360ad9a1cc Updated Dutch translation from @gernert 2016-04-24 13:43:07 +01:00
Jermolene ec59316ca5 Revert "Updated Dutch translation from @gernert"
This reverts commit b2143f91d9.
2016-04-24 13:36:18 +01:00
Jermolene b2143f91d9 Updated Dutch translation from @gernert 2016-04-24 13:35:34 +01:00
Jermolene 0240a8048f Fix default date format 2016-01-04 20:09:06 +00:00
Jermolene 7037b66479 Updated Dutch translation from @gernert 2015-12-23 08:34:52 +00:00
Jermolene bc885027c3 Updated Dutch translation 2015-06-26 16:31:11 +01:00
Jermolene a3ed82b703 Update dutch translation 2015-04-21 19:30:02 +01:00
Jermolene b1c5d7694e Updated Dutch translation
Thanks @gernert

I’ve not updated GettingStarted because I plan to do one final
redrafting before 5.1.6.

I’ll put up a prerelease for you to play with in a couple of hours when
I get to better wifi!
2014-12-17 09:48:44 +00:00
Jermolene edce18c10d Added nl-NL translation from @gernert
Thank you @gernert

I’ve pushed a new prerelease, let me know if anything looks wrong.
2014-12-04 16:54:13 +00:00