1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 17:40:29 +00:00
TiddlyWiki5/core/language/en-GB/Help
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
..
build.tid Add --build command 2014-04-25 22:41:59 +01:00
clearpassword.tid Typo: Set => Clear 2014-04-26 11:12:59 +02:00
default.tid Move command documentation into the core 2014-02-25 14:50:37 +00:00
deletetiddlers.tid Add version tags for deletetiddlers and savewikifolders commands 2019-05-31 08:38:34 +01:00
editions.tid First pass at an --editions command 2014-10-27 21:50:25 +00:00
fetch.tid Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
help.tid Move command documentation into the core 2014-02-25 14:50:37 +00:00
import.tid Docs updates 2017-11-09 16:07:01 +00:00
init.tid First pass at an --editions command 2014-10-27 21:50:25 +00:00
listen.tid Add server sent events (#5279) 2021-01-15 10:37:55 +00:00
load.tid Provide an option for the load command to not error if no tiddlers are found 2019-03-08 16:43:04 +00:00
makelibrary.tid Missing docs for makelibrary command 2014-09-03 10:05:00 +01:00
notfound.tid Move command documentation into the core 2014-02-25 14:50:37 +00:00
output.tid Update docs 2014-10-31 20:12:06 +00:00
password.tid Provide clarification about running with password 2015-10-04 10:51:27 -07:00
render.tid Clarify help for render command 2019-03-16 13:25:34 +00:00
rendertiddler.tid Add "save" and "render" commands 2017-09-12 16:04:07 +01:00
rendertiddlers.tid Update rendertiddlers.tid (#4635) 2020-05-14 14:31:32 +01:00
save.tid Docs tweaks 2017-10-03 21:00:36 +01:00
savetiddler.tid Add "save" and "render" commands 2017-09-12 16:04:07 +01:00
savetiddlers.tid Add "save" and "render" commands 2017-09-12 16:04:07 +01:00
savewikifolder.tid Add version tags for deletetiddlers and savewikifolders commands 2019-05-31 08:38:34 +01:00
server.tid Info about using 0.0.0.0, plus warning about using it. (#3519) 2018-11-29 09:47:37 +00:00
setfield.tid replace type to rendertype at setfield help 2015-10-18 17:23:37 +09:00
unpackplugin.tid Add unpackplugin command 2014-10-29 11:43:43 +00:00
verbose.tid remove unnecessary spaces 2015-10-18 16:49:48 +09:00
version.tid Move command documentation into the core 2014-02-25 14:50:37 +00:00