1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 08:20:46 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers
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
..
about [Docs] Update links to developer discussions 2020-12-22 11:48:40 +00:00
commands Docs fixes from @fkohrt 2020-08-14 15:04:01 +01:00
community Merge branch 'tiddlywiki-com' 2020-12-22 11:49:18 +00:00
concepts Missing docs for working with negative years 2020-12-01 15:51:07 +00:00
customising Update Customising search results.tid (#5233) 2020-12-15 10:38:16 +00:00
definitions Doc updates for ActionLog and Log widgets (#5081) 2020-11-20 18:37:48 +00:00
demonstrations Update TaskManagementExampleDraggableTemplate.tid (#4737) 2020-06-27 13:12:52 +01:00
editions Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
features Missing docs for working with negative years 2020-12-01 15:51:07 +00:00
fields Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
fileformats Update release note 2019-06-09 17:09:11 +01:00
filters Merge branch 'tiddlywiki-com' 2020-12-22 11:49:18 +00:00
gettingstarted Visual changes to Saving Tiddler (#4640) 2020-06-14 11:48:13 +01:00
hellothere Preparing for release of v5.1.23 2020-12-24 13:37:18 +00:00
hiddensettings Fix #4998 - Pressing Enter creates Missing Tiddler (#5001) 2020-11-08 11:43:24 +00:00
howtos Merge branch 'tiddlywiki-com' 2020-12-06 13:56:43 +00:00
images Fix filename of new release banner 2020-12-29 14:08:09 +00:00
languages Docs: Create Japanese (Japan) Edition.tid (#5324) 2021-01-04 11:05:41 +00:00
learning Clarify drag-n-drop behaviour again (#3434) 2018-11-20 10:06:12 +00:00
macros Use displayshortcuts macro for keyboard_driven_input_macro tiddler (#5226) 2020-12-07 14:44:07 +00:00
mechanisms Add support for $:/info/darkmode (and for dynamic info tiddlers) 2020-11-24 19:01:33 +00:00
menubar First commit of new Menu Bar plugin 2020-02-28 14:33:15 +00:00
messages Doc updates for Modals (#5057) 2020-11-17 14:43:46 +00:00
nodejs Fix filesystem regression (#5176) 2020-12-02 09:47:51 +00:00
platforms Update TiddlyWiki in the Sky for TiddlyWeb (#4667) 2020-06-11 11:46:51 +01:00
plugins Update and rearrange release note 2020-10-19 09:51:11 +01:00
readme Promote Gitter Chat in the Readme (#3322) 2018-12-01 14:25:33 +00:00
reference Add support for splash screens during loading 2018-09-27 09:47:55 +01:00
releasenotes Preparing for release of v5.1.23 2020-12-24 13:37:18 +00:00
roadmap Update RoadMap tiddler 2020-05-16 19:52:54 +01:00
saving Correct for new GitHub default branch (#5055) 2020-11-17 14:45:32 +00:00
styleguide Docs updates and fixing broken links (#4628) 2020-05-06 09:40:42 +01:00
system Release note: More tweaks and reformatting 2020-12-24 13:10:44 +00:00
systemtags Docs for switching layouts (#5109) 2020-11-24 21:38:18 +00:00
tiddlydesktop Remove version history of TiddlyDesktop 2018-09-24 09:26:40 +01:00
variables Update modifier variable docs (#5114) 2020-11-24 21:19:37 +00:00
videos Use https for YouTube 2017-11-18 19:53:52 +00:00
webserver Add server sent events (#5279) 2021-01-15 10:37:55 +00:00
widgets Docs update for Set Widget (#5239) 2020-12-09 11:12:57 +00:00
wikitext Merge branch 'tiddlywiki-com' 2020-12-06 13:56:43 +00:00
workingwithtw Merge branch 'tiddlywiki-com' 2020-12-22 11:49:18 +00:00
AllTiddlers.tid More tag colours 2014-02-25 21:22:21 +00:00
License.tid Docs: fix typos and font-size (#2795) 2020-01-30 12:49:37 +00:00
TableOfContents.tid Rename "configurations" to "platforms" 2015-06-20 09:24:14 +01:00