Jeremy Ruston
18fe112da7
Extend the enlist operator to optionally not de-duplicate
2019-06-10 17:54:46 +01:00
Jeremy Ruston
37bb75f0cf
Add support for =
prefix for filter runs that doesn't remove duplicates
2019-06-10 17:54:20 +01:00
Jeremy Ruston
ac1d5b828d
Fix regression in 7fcd2f132
...
Previously we saved tiddlers as .tid files using this template that explicitly excludes the "bag" field:
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/templates/tid-tiddler.tid
Now we generate both .tid and .json files programmatically, and so we have to explicitly exclude the bag field
2019-06-10 17:52:26 +01:00
Jeremy Ruston
55bc6e086f
Tweaks and fixes for the release note
2019-06-09 17:26:34 +01:00
Jeremy Ruston
6fdc5c8cb2
Docs: Update performance notes
2019-06-09 17:09:35 +01:00
Jeremy Ruston
7590977dd5
Update release note
2019-06-09 17:09:11 +01:00
Jeremy Ruston
1e8a56768f
Update ListWidget docs
...
Fixes #3964
2019-06-08 17:34:06 +01:00
Jeremy Ruston
8012a3508f
Ensure tiddlyspot saver works with local storage disabled
...
Fixes #3955
2019-06-08 16:38:13 +01:00
Jeremy Ruston
abb3c01505
Catalan Translation update
2019-06-08 13:19:41 +01:00
Jeremy Ruston
28c732d2be
Improve action-createtiddler to return a draft title too
2019-06-04 12:33:01 +01:00
Jeremy Ruston
72c64013c7
Fix control panel stylesheets tab to use $:/state/... instead of $:/config/...
2019-06-03 13:28:59 +01:00
Jeremy Ruston
9c2726c530
Remove $tw.perf.log() banner under Node.js
2019-06-03 13:28:41 +01:00
Xavier Cazin
427b56039b
fr-FR translations of Help on the savewikifolder and deletetiddlers commands ( #3966 )
...
* fr-FR translation of Help on the savewikifolder command
* fr-FR translation of Help on the deletetiddlers command
2019-06-02 20:49:50 +01:00
LordRatte
736ac9052d
Update TiddlyDrive info on Tiddlywiki.com ( #3961 )
...
* Update TiddlyDrive info
* Accept Licence
2019-05-31 18:11:17 +01:00
twMat
6c08fec2ee
Update Saving on TiddlySpot.tid ( #3960 )
...
Included mention of community created (i.e created by me) "shortcut" to set up new TW5 on TS.
2019-05-31 16:05:35 +01:00
Jeremy Ruston
147d758931
Add version tags for deletetiddlers and savewikifolders commands
...
@BramChen -- I added the tag to the Chinese translations, too, let me know if it is not right.
2019-05-31 08:38:34 +01:00
Bram Chen
5f6abad3c5
Update chinese translations ( #3959 )
...
* Add chinese translations for Saving/GitHub/ServerURL
* Improve simplified chinese wording
* Add chinese help text for deletetiddlers command
2019-05-31 08:36:19 +01:00
Jeremy Ruston
5b09881679
Add new deletetiddlers command
2019-05-30 16:54:57 +01:00
donmor
496610aa49
Signing the CLA for @donmor ( #3957 )
2019-05-30 09:42:57 +01:00
Jeremy Ruston
c80fcf19c0
More browser storage fixes
...
See 698733a4a
2019-05-29 09:37:48 +01:00
Jeremy Ruston
698733a4ad
Fix crashes when localStorage not available
...
As reported by @bimlas in https://github.com/Jermolene/TiddlyWiki5/issues/3945#issuecomment-496797809
2019-05-29 09:01:11 +01:00
Jeremy Ruston
a8f70b08a8
Add indexes to the wiki store to improve performance ( #3951 )
...
* First pass at modular wiki indexes
An exploratory experiment
* Fix tests
* Faster checking for existence of index methods
We don't really need to check the type
* Use the index for the has operator
* Fix typo
* Move iterator index methods into indexer modules
Now boot.js doesn't know the core indexers
* Fix up the other iterator index functions
* Fix crash with missing index branch
* Limit the field indexer to values less than 128 characters
* Fallback to the old manual scan if the index method returns null
* Sadly, we can no longe re-use the field indexer to accelerate the `has` operator, because the index now omits tiddlers that have field values longer than the limit
Still need to make the index configuration exposed somehow
* Rearrange tests so that we can test with and without indexers
We also need to expose the list of enabled indexers as a config option
* Test the field indexer with different length fields
So that we test the indexed and non-indexed codepaths
2019-05-24 21:07:37 +01:00
Jeremy Ruston
b992b79adb
Merge branch 'tiddlywiki-com'
2019-05-24 18:24:59 +01:00
Jeremy Ruston
feab75a6d1
Add support for preloading plugins by path instead of name
2019-05-24 12:06:11 +01:00
Jeremy Ruston
2f8053265e
Performance: Add average filter execution time
2019-05-20 12:50:10 +01:00
Jeremy Ruston
409a297a63
Docs: Fix inaccuracies in "has" filter docs
2019-05-18 15:55:34 +01:00
Kartik Saranathan
ba0da99b17
Docs: fix typo ( #3949 )
2019-05-16 17:28:09 +01:00
Jeremy Ruston
634ac92ba2
Update splash screen to add new release banner
...
See #3935
2019-05-11 19:48:06 +01:00
Jeremy Ruston
184fd9dda8
Docs for Performance Instrumentation improvements
...
Left off e8d1fbba6
2019-05-11 19:28:09 +01:00
Jeremy Ruston
94d18a2f18
KaTeX: Fix bug with embedded SVGs
...
See https://github.com/Jermolene/TiddlyWiki5/issues/2500#issuecomment-489976530
2019-05-11 17:31:35 +01:00
Jeremy Ruston
ff85fcfe93
Fix typo from e8d1fbba6
2019-05-10 16:03:24 +01:00
Jeremy Ruston
e8d1fbba6c
Performance Instrumentation: Track execution times for individual filters
...
Fixes #3941
2019-05-10 15:56:01 +01:00
Jeremy Ruston
7869546fef
Speed up reveal widget
...
It turns out that the `localeCompare` function used by `compareStateText()` is very, very slow. Replacing it with a straightforward equality test makes one of my test rigs be 10x faster...
Note that this PR reverts the behaviour of match/nomatch to that before #3157 . That change was not backwards compatible in that the switch to localeCompare meant that é === e, now it doesn't again.
2019-05-10 08:47:00 +01:00
Jeremy Ruston
dddfb7ce67
Merge remote-tracking branch 'origin/tiddlywiki-com'
2019-05-03 11:20:39 +01:00
Jeremy Ruston
5ae14a16ec
Classic Storyview: Optimise for animation duration of zero (part 2)
...
See fddc5d4ee
2019-05-02 21:21:22 +01:00
Jeremy Ruston
fddc5d4ee6
Classic Storyview: Optimise for animation duration of zero (part 1)
...
Approximtely 50% speed improvement in tests opening a storyview with 8,000 entries.
(I've deferred the indentation adjustments until the next commit so that the git diffs are clearer)
2019-05-02 21:20:24 +01:00
Jeremy Ruston
091864ddaf
Browser messaging: suppress logging
...
Commented out because it can be useful for debugging.
2019-05-02 20:21:58 +01:00
Jermolene
07198b9cda
Update view toolbar "new here" button
...
Avoiding textual substitution fixes probems with tiddler titles containing double square brackets.
2019-04-23 17:54:49 +01:00
Jermolene
4401e71498
Docs: Update WebServer Parameter: csrf-disable
2019-04-23 17:53:19 +01:00
Bram Chen
df416814b1
Update chinese translations ( #3917 )
...
* Add chinese translations for Saving/GitHub/ServerURL
* Improve simplified chinese wording
2019-04-16 15:56:05 +01:00
Jermolene
b7e0930122
savewikifolder: Fix custom plugin fields
...
We need to carry across all plugin fields into the tiddlywiki.info file
2019-04-16 11:59:34 +01:00
Jermolene
0a5c826816
GitHub Saver: Fix ServerURL name
2019-04-16 10:15:58 +01:00
Jermolene
25c0ebb523
GitHub Saver: Make server URL configurable
2019-04-15 21:30:59 +01:00
Jermolene
b32a5aa9af
GitHub saver: Fix problem with saving to a non-existent directory
2019-04-15 21:08:04 +01:00
Jermolene
232eba2f7d
Http utilities: add xhr object to callback
2019-04-15 21:07:23 +01:00
Talha Mansoor
04a4a0f92e
Add support of language aliases in highlight.js plugin ( #3898 )
...
listLanguages() returns a list of supported languages. It does not
return language aliases.
highlight.js has extensive support of language aliases which can be
viewed here
https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html#language-names-and-aliases
But because of using listLanguages(), TW does not take advantage of
alias.
getLanguage() method on the other hand supports aliases.
https://highlightjs.readthedocs.io/en/latest/api.html#getlanguage-name
To summarize, now user can use javascript, js or jsx for the code block. getLanguage() will return an object which means highlight.js supports
this language.
2019-04-15 18:45:45 +01:00
Jermolene
0513837228
Ensure tiddler.getFieldStringBlock uses a deterministic ordering
...
Makes diffs easier to track
2019-04-14 14:23:49 +01:00
Bram Chen
58cdbbf865
Add chinese help texts for the new savewikifolder command ( #3911 )
2019-04-14 14:14:20 +01:00
Jermolene
373afd72c8
Add savewikifolder command
...
Makes it much easier to convert a TiddlyWiki HTML file into a full wiki folder.
2019-04-14 12:04:00 +01:00
Jermolene
7fcd2f132e
Filesystemadaptor: Improve handling of JSON files
...
Fixes #3875
* Use .json files (instead of .tid) for any tiddler whose fields contain values that can't be stored as a .tid file
* Save application/json tiddlers as .json files
* Refactor most of the file handling as re-usable utilities
2019-04-13 14:59:44 +01:00