1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00
Commit Graph

39 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
Jeremy Ruston
afb7435a88 Remove "hack-to-give-us-something-to-compare-against"
It looked messy in the control panel listing.
2019-11-14 09:23:17 +00: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
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
Jeremy Ruston
2adf09129d Introduce text editor toolbar (#2315)
Tada!
2016-04-22 08:36:29 +01:00
Myeongjin
c05c8e8878 fix problem in GettingStarted and SiteTitle 2016-02-07 15:06:56 +09:00
Jermolene
41287d7859 Update Russian translation 2015-10-25 23:13:26 +00:00
Jermolene
f1f318931d Reinstate translation for "download full wiki"
It’s used in `$:/snippets/download-wiki-button`
2014-11-18 14:05:23 +00:00
Jermolene
0ea8cfb1de Remove obsolete control panel tools tab
Now we’ve got the export button instead
2014-11-14 09:46:09 +00:00
Andrey Yankin
28d6e6ad1c Russian translation update 2014-11-14 09:56:47 +03:00
Andrey Yankin
2e41b139d3 Russian translation for Modals 2014-11-04 00:56:48 +03:00
Andrey Yankin
d34bcc2ebb delete untranslated help for commands 2014-11-04 00:16:45 +03:00
Andrey Yankin
8ac31e9134 RecentSystemTiddlers russian translation 2014-11-04 00:13:48 +03:00
Jermolene
e7b4cab20d Use bordered flags for ja-JP and ru-RU
The borderless images don’t show up well in the menu
2014-10-29 12:15:19 +00:00
Andrey Yankin
fddefc0d52 Russian: Add support for custom search result visualisations 2014-10-29 09:46:04 +03:00
Jermolene
04d26e6fae First pass at an --editions command
Also added a “description” field for wiki folders.

Right now there’s too many editions listed. I think we should by
default only list editions whose `tiddlywiki.info` file has
`showInListings` set to `true`, and have an `--editions all` command
that lists everything.

@pmario please could you check that the editions in your
`TIDDLYWIKI_EDITION_PATH` are correctly listed?
2014-10-27 21:50:25 +00:00
Jermolene
ddc7495542 Move search result count logic out of translations
Also fixes a problem pointed out by @Evolena whereby the advanced
search counts hadn’t been adjusted to remove `$:/temp/advancedsearch`
from the search.
2014-10-21 20:27:42 +01:00
Andrey Yankin
b2dd87f44a russian translation update 2014-10-18 00:01:05 +04:00
Jermolene
353f641bcc Move date-related translateable strings into their own file 2014-10-10 10:12:40 +01:00
Andrey Yankin
1c5c899096 dragger, dropdown, untagged pill, static alert 2014-10-04 23:38:09 +04:00
Andrey Yankin
e624f52374 Russian palette colours not finished 2014-10-04 23:38:09 +04:00
Andrey Yankin
46749d5f46 Russian fields 2014-10-04 23:38:09 +04:00
Andrey Yankin
cf6c8e23fb Russian ModuleTypes 2014-10-04 23:38:09 +04:00
Andrey Yankin
90ac097f38 svg 2014-10-04 23:38:09 +04:00
Andrey Yankin
e14d151273 types 2014-10-04 23:38:09 +04:00
Andrey Yankin
443dae39ba move fields translation to docs folder 2014-10-04 23:38:09 +04:00
Andrey Yankin
2188ecb91d Upgrader Russian translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
3fd52fab0c LoadedModules incomplete translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
a81375b432 small fix 2014-10-04 23:38:09 +04:00
Andrey Yankin
9a5c7a063c Date format 2014-10-04 23:38:09 +04:00
Andrey Yankin
352c3189da Russian control panel 2014-10-04 23:38:09 +04:00
Andrey Yankin
40cc1fcf5e misc 2014-10-04 23:38:09 +04:00
Andrey Yankin
b311409924 edit form, filters, getting started, importer, search and info form russian translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
65ba441e81 Russian sidebar 2014-10-04 23:38:09 +04:00
Andrey Yankin
10e7e53a10 Russian buttons 2014-10-04 23:38:09 +04:00
Andrey Yankin
9add946484 Russian flag 2014-10-04 23:38:09 +04:00
Andrey Yankin
fb799a57ff Start russian translation 2014-10-04 23:38:08 +04:00