1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 02:33:15 +00:00
Commit Graph

3588 Commits

Author SHA1 Message Date
jeremy@jermolene.com
ae273a08f1 xlsx-utils: Fix demo spreadsheet
Somehow it had an error in it
2021-01-16 16:09:42 +00:00
Nicolas Petton
afa490a0c1
Fix a typo in WebServer Parameter_ sse-enabled.tid (#5407) 2021-01-15 12:20:22 +00:00
Nicolas Petton
17b4f53ba2
Add server sent events (#5279)
* Create server-sent-events.js

* Create sse-change-listener.js

* Implement server sent events

* Convert to ES5 and wrap in function

* Use the host string from tiddlyweb

* Improve comments in sse-server.js

* Can't use object reference as key

* Add retry timeout

* Fix a bug

* bug fix

* Fix formatting

* Fix ES5 compat

* capitalize comments

* more fixes

* Refactor tiddlywek/sse-server.js

* Extract helper functions for handling wikis and connections.
* Replace JSDoc comments.
* Fix formatting according to TW core.
* Simplify the logic for adding and removing connections.

* Fix formatting of tiddlyweb/sse-client.js

Fix formatting according to TW core.

* Fix formatting of server-sent-events.js

Fix formatting and comments following TW core guidelines.

* Extract a debounce function in sse-client.js

* Avoid using startsWith in server-sent-events.js

startsWith is part of ES2015, while TiddlyWiki uses the 5.1 dialect.

* New sse-enabled WebServer parameter

* If not set to "yes", disabled SSE request handling.
* Add documentation for the parameter in core/language/en-GB/Help/listen.tid
* Add new tiddler editions/tw5.com/tiddlers/webserver/WebServer Parameter_ sse-enabled.tid

* Disable polling for changes if SSE is enabled

* Add sse_enabled to /status JSON response
* Store syncer polling status in $:/config/SyncDisablePolling
* Handled disabling polling in core/modules/syncer.js

* Simply boolean logic in syncer.js

* Delete trailing whitespaces in syncer.js

Co-authored-by: Arlen22 <arlenbee@gmail.com>
2021-01-15 10:37:55 +00:00
Cameron Fischer
b8a9826f23
Cleaned up jasmine test suite output (#5377)
* Cleaned up jasmine test suite output

Also testing for expected log messages, instead of just letting them print
to the console every single time, constantly making you think there's some
warning you need to worry about, and making all those dots not line up nicely.

* switched single quotes to double in collectLogs
2021-01-09 20:53:17 +00:00
Cameron Fischer
65932a9b21
Memory efficient linked list (#5380)
* Outlines of the mem efficient linked list

Need to stop for now. Found problem with $tw.utils.pushTop that I need
consultation for.

* Link list throws when given non-string vals

* Think I got rid of the last LinkList infinite loops

* LinkedList push better; fixed coding conventions

* Cleaning up LinkedList code and tests

* Ready to ship new mem efficient Linked List

* Switching to double quotes in LinkedList
2021-01-09 20:52:34 +00:00
donmor
5832002feb
Docs: Create Japanese (Japan) Edition.tid (#5324)
Added the Japanese version tiddler since the Japanese version of empty.html exists
2021-01-04 11:05:41 +00:00
Cameron Fischer
be70e5851d
Taking advantage of linkedLists in all operator (#5362)
* Taking advantage of linkedLists in all operator

* Test to confirm [all[]] with LinkList is the same
2021-01-04 08:38:50 +00:00
Joe Bordes
0ea89970d1
Doc(Developer) typo (#5354) 2021-01-02 17:39:46 +00:00
Jeremy Ruston
7ec6d37031 Fix filename of new release banner 2020-12-29 14:08:09 +00:00
Jeremy Ruston
24646e1993 Adjust placeholder release banner for readability 2020-12-29 13:27:00 +00:00
jeremy@jermolene.com
1e1b52088f Preparing for v5.1.24 as new prerelease
The new release banner is a placeholder; we'll run the competition once the release has taken shape a little.
2020-12-29 12:06:30 +00:00
jeremy@jermolene.com
2ab5fd9abb Preparing for release of v5.1.23 2020-12-24 13:37:18 +00:00
jeremy@jermolene.com
f6339d437e Release note: Jazz up the contributor list 2020-12-24 13:21:06 +00:00
jeremy@jermolene.com
8e61e37f2b Release note: More tweaks and reformatting 2020-12-24 13:10:44 +00:00
jeremy@jermolene.com
2632ed0078 Release note: coloured badges for different types of changes 2020-12-24 11:47:36 +00:00
jeremy@jermolene.com
03ad396db1 Start to rearrange release note into topics
The previous groupings were getting too large to manage
2020-12-22 19:12:12 +00:00
jeremy@jermolene.com
9e70e89a84 Update Release Note 2020-12-22 17:34:24 +00:00
jeremy@jermolene.com
625c3de6f7 Merge branch 'tiddlywiki-com' 2020-12-22 11:49:18 +00:00
jeremy@jermolene.com
ddda9a34ae [Docs] Update links to developer discussions 2020-12-22 11:48:40 +00:00
twMat
c0a56e790d
Update title.tid (#5292) 2020-12-18 20:19:02 +00:00
jeremy@jermolene.com
3c003364d2 Add the Atrounoush's winning banner design for v5.1.23
The image was received with a transparent background, but I adjusted it to give it a white background to ensure it is readable with all colour schemes.
2020-12-15 11:59:07 +00:00
Simon Huber
f968130696
Update Customising search results.tid (#5233) 2020-12-15 10:38:16 +00:00
jed
e046d5ad76
Create Hook_th-make-tiddler-path.tid (#5274)
Documentation for the hook
2020-12-14 19:20:29 +00:00
Robin Munn
3c3cd4673e
Railroad diagram for filter expression now includes named prefixes (#5278) 2020-12-14 19:18:51 +00:00
jeremy@jermolene.com
81947edd5c Dev: Update hook mechanism docs 2020-12-13 20:01:47 +00:00
Robin Munn
f60d0ef109
reduce and :reduce handle empty input identically (#5255)
Fixes #5246. Now the reduce operator and :reduce filter run prefix will
both return empty output when their input is empty, so that both can be
chained together with the else operator or :else prefix.
2020-12-11 10:07:52 +00:00
Cameron Fischer
6ca89304a1
Fix for LinkedLists when using bad filter prefix (#5251) 2020-12-10 18:25:53 +00:00
Saq Imtiaz
3016b3d094
Docs update for Set Widget (#5239)
* Update docs for Set Widget

This updates the docs for Set Widget to add a tip regarding a common source of misunderstanding for users, i.e. using Filtered List Variable Assignment and being confused as to why the value of the variable is in double square brackets.

* Corrected typos
2020-12-09 11:12:57 +00:00
Saq Imtiaz
da5d12d6fb
Docs for :reduce filter run prefix (#5238) 2020-12-09 11:11:14 +00:00
Cameron Fischer
cd5d9bd5b9
Code cleanup of Linked Lists (#5241)
* made private methods limited to module scope
* moved private methods to file bottom
* changed tests to run comperable array functions in parallel
* added comments
2020-12-09 09:46:35 +00:00
Simon Huber
2c76cfa67a
Use displayshortcuts macro for keyboard_driven_input_macro tiddler (#5226)
* Update keyboard-driven-input_Macro.tid

* Update keyboard-driven-input_Macro.tid
2020-12-07 14:44:07 +00:00
Simon Huber
5df0225356
Update Customising search results.tid (#5225) 2020-12-07 10:22:02 +00:00
jeremy@jermolene.com
43a3228200 Update Performance docs for macro parsing optimisation
Replacing #5216
2020-12-06 14:02:06 +00:00
jeremy@jermolene.com
96d4f87e78 Revert "Update documentation on Performance (#5203)"
This reverts commit f798eab33f.
2020-12-06 14:01:03 +00:00
Saq Imtiaz
a8c1e6a3bd
Update performance documentation (#5216)
Documents the change to macro parsing from #5205 
This builds on documentation changes made in the tw.com branch and is therefore based on that branch, but should not be merged before 5.1.23 is live.
2020-12-06 13:57:47 +00:00
jeremy@jermolene.com
36fe519eff Merge branch 'tiddlywiki-com' 2020-12-06 13:56:43 +00:00
Cameron Fischer
a857b4ab9a
use a linked list for filter runs. (#5206)
* Changed the filterrunprefixes to use LinkedList

* Testing for Linked List

* Finishing touches to LinkedList

* Minor corrections to link-list coding style

* Corrected for sneaky bug in linkedList
2020-12-06 08:54:57 +00:00
Saq Imtiaz
7fd24de372
Tests for filter prefixes (#5209) 2020-12-05 23:10:51 +00:00
Saq Imtiaz
f798eab33f
Update documentation on Performance (#5203) 2020-12-05 16:30:49 +00:00
Cameron Fischer
fbe5bb229a
Fix for filterrunprefixes using $tw.wiki (#5202)
* Fixed runprefix 'and' to use widget wiki

* Made widget arg of filterTiddlers optional again

* Switched to passing {wiki: wiki} to prefixes
2020-12-05 16:12:40 +00:00
Saq Imtiaz
8799911162
Reduce operator: second optional parameter instead of suffix (#5193)
* Tweak reduce operator to use an optional second parameter instead of a suffix

* Updated docs
2020-12-04 18:31:23 +00:00
Robin Munn
8ffe138942
Add rawunicode suffix to (json)stringify operators (#5191)
Default with no suffix is pre-5.1.23 behavior, escaping all Unicode
characters for maximum compatibility (avoids encoding issues). New
"rawunicode" suffix allows passing through Unicode characters U+0080
and up unchanged, for cases where you know your tools are handling
encoding correctly and you want less verbose escaping.
2020-12-04 13:19:59 +00:00
Mohammad Rahmani
15be409c42
Minor issue in example of Import Variables Widget (#5165)
an unbalanced [ was resolved.
2020-12-03 22:27:21 +00:00
Robin Munn
c92f9dd404
Docs for trim operator suffix use from-version (#5161)
Trim suffix was introduced in version 5.1.23; docs should mention that.
2020-12-03 21:20:23 +00:00
Rob Hoelz
2bbcc94b4d
Add documentation for shortcuts introduced in 5.1.20 (#4324) 2020-12-03 21:19:25 +00:00
Saq Imtiaz
1f5e1205ec
Extend Eventcatcher to handle multiple events (#5185)
* support multiple events

* Add variables for event type and detail. Rename types attribute to events

* Correct typo in refresh handling
2020-12-02 21:15:35 +00:00
Robin Munn
e620aaed80
Fix a couple typos in "deprecated feature" warning (#5174)
One tiddler had been renamed since the deprecation warning tiddler was
created, and there were also a couple of minor punctuation and/or
spelling errors.
2020-12-02 16:59:04 +00:00
Joshua Fontany
c6bb783308
Fix filesystem regression (#5176)
* $:/config/OriginalTiddlerPaths if no filters match

* fixed & docs updated

* tested with tiddlywiki.files & tw.com edition

* typos

* originalpath to options, propigate isEditableFile

* syntax cleanup
2020-12-02 09:47:51 +00:00
Mario Pietsch
880930da8b
Add actions parameter to range-widget + docs! (#5158)
* add actionsStart, -Stop and actions to range-widgets

* fix indent
2020-12-01 18:11:09 +00:00
Joshua Fontany
68cb08749f
Docs for filesystem adaptor update (#5169)
* rebased to master

* cleanup typos

* typo
2020-12-01 17:36:38 +00:00