1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 14:54:51 +00:00
TiddlyWiki5/core/language/en-GB
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
..
Docs Add color descriptions for menubar-background and ... (#4481) 2020-03-09 21:08:48 +00:00
Help Add server sent events (#5279) 2021-01-15 10:37:55 +00:00
Modals Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Snippets Remove extraneous "mode" field from snippet tiddlers 2016-04-29 18:54:44 +01:00
Types Sort the edit content type dropdown groups more sensibly 2016-11-28 14:01:09 +00:00
Buttons.multids Update Buttons.multids 2019-07-04 09:00:34 +02:00
ControlPanel.multids Clarify TiddlySpot warning text 2020-12-22 15:42:21 +00:00
Dates.multids Fixed typo in language files 2014-10-10 10:31:10 +01:00
EditTemplate.multids Add missing tooltip and aria-label to clear-tag-input button (#5033) 2020-11-13 19:19:55 +00:00
Exporters.multids Simplify wording of exporter descriptions 2015-04-13 07:53:36 +01:00
Fields.multids Fix syncer to handler errors properly (#4373) 2020-03-30 15:24:05 +01:00
Filters.multids Add advanced search canned filter for "tiddlers modified this session" 2019-02-08 11:07:06 +00:00
GettingStarted.tid Shadow GettingStarted: Get rid of double "important" 2018-02-20 16:00:06 +00:00
icon.tid Update language flags to generic plugin icon convention 2014-08-07 15:45:56 +01:00
Import.multids Improved status messages in ImportListing to remove redundant and irrelevant messages (#5059) 2020-11-17 19:12:41 +00:00
Misc.multids Add Switcher modal (#5089) 2020-11-23 17:06:24 +00:00
NewJournal.multids Add default new-tiddler and new-journal tags mechanism and... (#4314) 2019-10-13 16:53:52 +01:00
NewJournalTags.tid Fix #4591: Use text field instead of tags field for $:/config/NewJournal/Tags ... (#4600) 2020-06-14 09:40:48 +01:00
Notifications.multids Improve "copy to clipboard" notification text 2018-08-17 09:29:23 +01:00
Search.multids Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
SideBar.multids Minor tweaks to new tiddler Explorer 2017-06-09 15:31:55 +01:00
SiteSubtitle.tid Change SiteTitle/SiteSubtitle into $:/SiteTitle and $:/SiteSubtitle 2014-02-22 11:39:18 +00:00
SiteTitle.tid Change SiteTitle/SiteSubtitle into $:/SiteTitle and $:/SiteSubtitle 2014-02-22 11:39:18 +00:00
ThemeTweaks.multids Update hint for sticky titles option 2018-05-03 16:14:05 +01:00
TiddlerInfo.multids Rename "references" to "backlinks" in the tiddler info panel (#5143) 2020-11-29 18:32:22 +00:00