1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers
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
..
about Add another podcast link (#5567) 2021-03-24 21:21:45 +00:00
commands Docs fixes from @fkohrt 2020-08-14 15:04:01 +01:00
community Merge branch 'tiddlywiki-com' 2021-04-18 10:10:39 +01:00
concepts Drag and drop images in the editor to import and insert (#5699) 2021-05-19 21:52:43 +01: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 Prevent scrolling of the page when modals are displayed (#5816) 2021-06-27 16:24:06 +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 Docs for macro parameters in filter operands (#5837) 2021-06-29 23:25:44 +01:00
gettingstarted Visual changes to Saving Tiddler (#4640) 2020-06-14 11:48:13 +01:00
hellothere Add a link to the community aggregator 2021-03-22 15:22:49 +00:00
hiddensettings Drag and drop images in the editor to import and insert (#5699) 2021-05-19 21:52:43 +01:00
howtos Add support for disabled editor toolbar buttons & docs (#5294) 2021-04-25 16:17:32 +01:00
images Merge branch 'tiddlywiki-com' 2021-03-22 15:24:15 +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 Docs for macro parameters in filter operands (#5837) 2021-06-29 23:25:44 +01:00
mechanisms Add throttling for changed tiddlers prefixed with $:/temp/volatile/ (#5458) 2021-05-21 08:51:15 +01:00
menubar First commit of new Menu Bar plugin 2020-02-28 14:33:15 +00:00
messages Version tags missed off 56068d8215 2021-07-05 10:09:04 +01:00
nodejs Cleaned up Customising Tiddler File Naming docs (#5320) 2021-01-03 11:50:39 +00:00
platforms Update TiddlyWiki in the Sky for TiddlyWeb (#4667) 2020-06-11 11:46:51 +01:00
plugins Add docs on share plugin (#5331) 2021-01-03 11:48:17 +00: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 Update release note 2021-04-04 11:48:24 +01:00
roadmap Update RoadMap tiddler 2020-05-16 19:52:54 +01:00
saving Docs typo 2021-01-21 17:02:21 +00:00
styleguide Docs: Minor formatting tweaks 2021-02-07 12:48:06 +00:00
system Update release note 2021-04-04 11:48:24 +01:00
systemtags Docs for new system tag $:/tags/EditorTools (#5705) 2021-05-22 11:07:55 +01: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 Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
widgets Docs improvements; missed off 3094e06236 2021-07-02 14:41:59 +01:00
wikitext Add "commentpragma" html style rule (#5726) 2021-06-14 17:39:56 +01:00
workingwithtw Add docs on share plugin (#5331) 2021-01-03 11:48:17 +00:00
$__key-test_action.tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
$__key-test.tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
$__StoryList.tid Add a link to the community aggregator 2021-03-22 15:22:49 +00:00
AllTiddlers.tid More tag colours 2014-02-25 21:22:21 +00:00
Key Codes (Example 1).tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
Key Codes (Example).tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
Keyboard Codes (Macros).tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
Keyboard Codes.tid Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01: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