1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-08-04 18:20:37 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/webserver
cdruan 23fec9e390
Fix faulty external-js single-file wiki (#5570)
* Fix problems with building single-file wiki using external-js template

* core/templates/external-js/tiddlywiki5-external-js.html.tid,
  core/templates/external-js/save-all-external-js.tid,
  core/templates/external-js/save-offline-external-js.tid
  core/templates/external-js/load-external-js.tid:
  Fix #5343. Exclude client-server plugins in tiddler imports and to
  specify a working URL for loading tiddlywiki5.js from local disk.
  Mirror save/all and save/offline templates in the regular server
  edition.

  Fix #4717 (tiddlywiki5-external-js.html.tid)

* core/modules/saver-handler.js:
  Need the change to make single file autosave work with the external-js
  template.

* editions/server-external-js/tiddlywiki.info:
  Provide external-js related build targets.

* core/language/en-GB/Snippets/ExtJSReadme.tid:
  Temporary doc to supplement TW5.com's external-js section. Demonstrate
  that upgrade could be done on single-file wikis with an externalized
  TW core.

* core/language/en-GB/Snippets/GetTiddlyWikiJS.tid:
  Documentation. Meant to be included in every wiki and to help end
  users acquire tiddlywiki5.js.

* Pre-configure save-wiki template for end-users

* Remove the newline character at the end of the file.

* Trim "template" value in saveWiki()

* Safeguard the code from extraneous whitespaces in transcluded result.

* Rename and add versioning to downloaded tiddlywiki core JS

* Rename "tiddlywiki5.js" to "twcore-VERSION.js"

* Preload $:/config/SaveWikiButton/Template tiddler with the required
  external-js template value.

* Update external-js user documentation

* Add "download tiddlywiki core JS" menu item to the "cloud" button.

* Update build's target defintions associated with external-js template.

* Move the user doc to the tw5.com edition.

* Coding style update

* Undo template name changes

* Correct text & fill colors on some disabled buttons

* Add new "export tiddlywiki core" button under page control tools

This new button can export tiddlywiki's core JS from user's wiki as
long as the wiki is served with the regular "root" template. The
button will be ineffective, thus disabled, if the core has already been
externalized by the "external-js" template.

With this button, a full standalone html wiki can obtain the matching
core JS without TiddlyWiki on node.js. Once this is done, the html wiki
can be converted to using the "external-js" template.

* Alternate version of "save tiddlywiki core for offline use"

This version will fire up a "Save File" dialogue box when clicked,
instead of directing the user to a helper doc for further instruction.
It achieves this by using the "download" attribute of the <a> html tag.
It works on most modern desktop browsers, but older browsers (e.g. IE)
may display the file instead.

* Adjust font-weight to match other menu items

* Merge two user documentations into one

* Add user-browser-cache=yes to --listen command

* Update "export tiddlywiki core" button hint

* Simpler implementation for switching btw online/offline core URL

Shave off one template by using filtered transclusion to control
online/offline core URL.

* Update user doc

Update the user doc to clarify that build index step is not needed to
initialize a new wiki.

* Rename twcore to tiddlywikicore

* Reformat the user doc

* Rework export-tiddlywikicore button

Popup an error message instead of disabling the button when export
core cannot be performed.

* Revert "Correct text & fill colors on some disabled buttons"

This reverts commit e7dbb7e712.
2021-07-06 15:02:21 +01:00
..
TiddlyWeb JSON tiddler format.tid Finish web server API docs 2018-10-02 14:16:58 +01:00
Using HTTPS.tid Docs: fix HTTPS command typos 2019-01-27 14:35:58 +00:00
Using the external JavaScript template.tid Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
Using the integrated static file server.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
Using the read-only single tiddler view.tid Improvements to the static single tiddler view as well as documentation. (#3386) 2018-12-01 13:30:00 +00:00
WebServer Anonymous Access.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer API_ Delete Tiddler.tid Update docs for PUT and DELETE APIs to mention CSRF requirements 2021-04-18 10:09:49 +01:00
WebServer API_ Force Basic Authentication Login.tid Fix basic authentication forced login 2018-12-16 18:20:33 +00:00
WebServer API_ Get All Tiddlers.tid Fix syncer to handler errors properly (#4373) 2020-03-30 15:24:05 +01:00
WebServer API_ Get Favicon.tid Finish web server API docs 2018-10-02 14:16:58 +01:00
WebServer API_ Get File.tid Finish web server API docs 2018-10-02 14:16:58 +01:00
WebServer API_ Get Rendered Tiddler.tid Docs update 2018-10-02 14:54:46 +01:00
WebServer API_ Get Server Status.tid Finish web server API docs 2018-10-02 14:16:58 +01:00
WebServer API_ Get Tiddler.tid Finish web server API docs 2018-10-02 14:16:58 +01:00
WebServer API_ Get Wiki.tid Finish web server API docs 2018-10-02 14:16:58 +01:00
WebServer API_ Put Tiddler.tid Update docs for PUT and DELETE APIs to mention CSRF requirements 2021-04-18 10:09:49 +01:00
WebServer API.tid Docs update 2018-10-02 14:19:06 +01:00
WebServer Authentication.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Authorization.tid Docs: webserver and read-only mode 2018-09-05 08:38:47 +01:00
WebServer Basic Authentication.tid Fix basic authentication forced login 2018-12-16 18:20:33 +00:00
WebServer Guides.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Header Authentication.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ anon-username.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ authenticated-user-header.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ credentials.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ csrf-disable.tid Docs: Update WebServer Parameter: csrf-disable 2019-04-23 17:53:19 +01:00
WebServer Parameter_ debug-level.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ host.tid Info about using 0.0.0.0, plus warning about using it. (#3519) 2018-11-29 09:47:37 +00:00
WebServer Parameter_ password.tid Fix typo password -> username (#3686) 2019-01-14 09:42:09 +00:00
WebServer Parameter_ path-prefix.tid Update path-prefix docs 2020-10-27 12:32:06 +00:00
WebServer Parameter_ port.tid Fix syncer to handler errors properly (#4373) 2020-03-30 15:24:05 +01:00
WebServer Parameter_ readers.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ root-render-type.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ root-serve-type.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ root-tiddler.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ sse-enabled.tid Fix a typo in WebServer Parameter_ sse-enabled.tid (#5407) 2021-01-15 12:20:22 +00:00
WebServer Parameter_ system-tiddler-render-template.tid Improvements to the static single tiddler view as well as documentation. (#3386) 2018-12-01 13:30:00 +00:00
WebServer Parameter_ system-tiddler-render-type.tid Improvements to the static single tiddler view as well as documentation. (#3386) 2018-12-01 13:30:00 +00:00
WebServer Parameter_ tiddler-render-template.tid Improvements to the static single tiddler view as well as documentation. (#3386) 2018-12-01 13:30:00 +00:00
WebServer Parameter_ tiddler-render-type.tid Fix typo; closes #4815 (#4844) 2020-11-30 21:33:16 +00:00
WebServer Parameter_ tls-cert.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ tls-key.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameter_ username.tid Docs update 2018-11-25 10:37:33 +00:00
WebServer Parameter_ writers.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer Parameters.tid Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
WebServer.tid Fix basic authentication forced login 2018-12-16 18:20:33 +00:00