1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00
TiddlyWiki5/core/wiki/config
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
..
shortcuts Update shortcuts-mac.multids (#5179) 2020-12-02 16:55:55 +00:00
ui add $:/config/ui/EditTemplate 2019-07-03 15:09:32 +02:00
AnimationDuration.tid Move the animation duration into a tiddler so that we can easily let it be adjusted in the control panel 2013-08-28 15:15:56 +01:00
AutoFocus.tid Allow configuration of default focus field of new tiddlers (#4238) 2019-10-12 12:04:10 +01:00
AutoSave.tid Add automatic saving and warning on exit with unsaved changes 2014-02-06 21:36:30 +00:00
BitmapEditorColour.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
BitmapEditorImageSizes.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
BitmapEditorLineWidth.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
BitmapEditorLineWidths.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
BitmapEditorOpacities.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
BitmapEditorOpacity.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
DefaultMoreSidebarTab.tid implements default setting for the More sidebar in the same way as the existing default setting which sidebar tab to open as default; adds control panel setting; adds en-GB and de-DE lingo (#3135) 2018-03-05 11:14:30 +00:00
DefaultSidebarTab.tid Minor tweaks and fixes for #1529 2015-03-03 18:10:01 +00:00
DownloadSaverAutoSave.tid Adds support for autosave with the download saver 2017-01-30 18:19:28 +00:00
Drafts-TypingTimeout.tid Allow drafts typing timeout to be configured 2015-05-11 20:15:42 +01:00
EditModeFieldnameFilter.tid Add ability to navigate fieldname-dropdown by keyboard (#4921) 2020-10-28 11:59:36 +00:00
EditorEnableImportFilter.tid Drag and drop images in the editor to import and insert (#5699) 2021-05-19 21:52:43 +01:00
EditorImportContentTypesFilter.tid Drag and drop images in the editor to import and insert (#5699) 2021-05-19 21:52:43 +01:00
EditorToolbarButtons.multids Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
EditorTypeMappings.multids Add support for webp, heic, and heif image formats 2018-08-21 11:46:46 +01:00
EditTabIndex.tid Add EditTabIndex config (tabindex = 1) (#4791) 2020-08-03 11:09:56 +01:00
EditTemplateFields.multids Hide "revision" and "bag" fields from field editor 2014-08-10 09:13:48 +01:00
Manager.multids Introduce tiddler manager 2016-11-29 08:36:07 +00:00
ManagerItemState.multids Introduce tiddler manager 2016-11-29 08:36:07 +00:00
MissingLinks.tid Add option to disable linking to missing tiddlers 2016-04-04 12:43:40 +01:00
NavigationUpdateAddressBar.tid Stop defaulting to automatically updating the address bar 2014-07-17 18:40:26 +01:00
NavigationUpdateHistory.tid Make permalink behaviour configurable 2014-05-13 14:16:58 +01:00
NewImageType.tid Fix NewImageType config (#3523) 2018-11-07 16:51:55 +00:00
OfficialPluginLibrary.tid Preparing for v5.1.24 as new prerelease 2020-12-29 12:06:30 +00:00
OpenLinkFromInsideRiver.tid upgrading the navigator widget 2015-05-03 13:24:16 +02:00
OpenLinkFromOutsideRiver.tid upgrading the navigator widget 2015-05-03 13:24:16 +02:00
PageControlButtons.multids Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
PerformanceInstrumentation.tid Restore performance instrumentation to be disabled by default 2019-08-30 10:42:01 +01:00
RegisterPluginTypes.multids Missed off previous commit 64ac29adc 2020-11-25 14:07:01 +00:00
SaverFilter.tid Update filters for single file to match changes to syncFilter (#4907) 2020-10-25 15:57:35 +00:00
SaveWikiButtonTemplate.tid Move SaveWikiButtonTemplate to correct folder 2014-09-05 09:20:10 +01:00
SearchAutoFocus.tid Add hidden setting for autofocusing search box 2015-06-19 17:28:57 +01:00
SearchMinLength.tid Suppress search results if search string is too short 2016-10-11 09:27:26 +01:00
SearchResultsDefault.tid Allow control over default search results tab 2014-10-28 08:31:09 +00:00
ServerExternalFiltersDefault.tid Fix syncer to handler errors properly (#4373) 2020-03-30 15:24:05 +01:00
ShortcutInfo.multids Add Switcher modal (#5089) 2020-11-23 17:06:24 +00:00
SwitcherTargets.multids Add Switcher modal (#5089) 2020-11-23 17:06:24 +00:00
SyncFilter.tid System tiddler syncing (#4987) 2020-11-19 15:59:02 +00:00
SyncSystemTiddlersFromServer.tid System tiddler syncing (#4987) 2020-11-19 15:59:02 +00:00
TagsMinLength.tid Tag completion min length (#3190) 2018-04-02 19:43:18 +01:00
TextEditorEditorHeightHeight.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
TextEditorEditorHeightMode.tid Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
TiddlerInfoDefault.tid Default tiddler info to the fields tab 2014-11-06 21:27:59 +00:00
TiddlerInfoMode.tid Add "sticky" mode for tiddler info panel 2016-11-23 18:17:54 +00:00
TitleLinks.tid Add title links setting 2015-06-13 15:22:50 +01:00
ToolbarButtonClass.tid First pass at selectable toolbar button styles 2015-07-02 08:57:06 +01:00
ToolbarIcons.tid Temporary commit losing power 2014-07-25 17:17:02 +01:00
ToolbarText.tid Temporary commit losing power 2014-07-25 17:17:02 +01:00
ViewToolbarButtons.multids Remove print-tiddler-window button for v5.1.17 2018-05-12 11:20:43 +01:00
wikilink.tid First pass at global disabling of parser rules 2015-07-30 12:28:29 +01:00