Wykres commitów

3717 Commity (29ff28deec81f143906c002547ede6370a731069)

Autor SHA1 Wiadomość Data
jeremy@jermolene.com 29ff28deec Merge branch 'master' into new-json-store-area 2021-07-14 09:13:44 +01:00
jeremy@jermolene.com 155525708b Update release note 2021-07-13 17:50:01 +01:00
jeremy@jermolene.com fdca11dec3 Remove unneeded table class
I think this is a typo @pmario?
2021-07-13 17:49:52 +01:00
jeremy@jermolene.com ddf6a5500a Merge branch 'master' into new-json-store-area 2021-07-13 16:41:20 +01:00
jeremy@jermolene.com f83875331d Update release note 2021-07-12 19:36:36 +01:00
Saq Imtiaz be6deb054e
Update ActionCreateTiddlerWidget.tid (#5871) 2021-07-11 22:39:56 +01:00
Saq Imtiaz b0604a9bf5
Update MessageCatcher docs to clarify usage (#5870) 2021-07-11 22:39:24 +01:00
Saq Imtiaz 30925ee7bf
Update syntax for Eventcatcher (#5868)
* Update syntax for Eventcatcher to be consistent with MessageCatcher while being backwards compatible

* Update docs

* Update docs
2021-07-11 20:21:35 +01:00
jeremy@jermolene.com ec3a37ef15 Remove obsolete docs change 2021-07-11 10:34:07 +01:00
jeremy@jermolene.com 5105815558 Merge branch 'master' into new-json-store-area 2021-07-07 13:31:56 +01:00
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 e7dbb7e712e5cd23e57ec068b9fe9ed3bbaf4617.
2021-07-06 15:02:21 +01:00
jeremy@jermolene.com 0b71f25f74 Revert "Update sync methods (#5467)"
This reverts commit 8d7930f660.

See the discussion at https://github.com/Jermolene/TiddlyWiki5/pull/5467#issuecomment-873590578https://github.com/Jermolene/TiddlyWiki5/pull/5467#issuecomment-873590578
2021-07-05 19:26:20 +01:00
jeremy@jermolene.com 315464372f Version tags missed off 56068d8215 2021-07-05 10:09:04 +01:00
jeremy@jermolene.com 56068d8215 tm-navigate: add separate properties to access bounds of client rectangle
Makes it easier to use the client rectangle information within an action handler
2021-07-05 09:52:17 +01:00
jeremy@jermolene.com 1b55eb9eee Docs improvements; missed off 3094e06236 2021-07-02 14:41:59 +01:00
jeremy@jermolene.com 3094e06236 Add support for full refreshing of action widgets
Fixes #5791
2021-07-02 14:33:38 +01:00
jeremy@jermolene.com f87b3bfcdb Extend messagecatcher widget to allow setting multiple handlers at once 2021-06-30 16:17:59 +01:00
jeremy@jermolene.com e91613eb01 Docs for the jsontiddler widget 2021-06-30 14:16:40 +01:00
Saq Imtiaz f1f951e849
Docs for macro parameters in filter operands (#5837) 2021-06-29 23:25:44 +01:00
Saq Imtiaz 041c3e817c
Support for macro params in filter operands (#5836)
* Exploratory pass at adding support for macro params in filter operands

* whitspace correction

* rename varInfo to varTree for disambiguation

* Refactored parseMacroInvocation to be re-usable, performance improvements for variables with no params and tests

* Revised regular expression and removed spurious white space changes

* Revised regular expression and removed spurious white space changes

* More whitespace cleanup and added more tests for edge cases

* Added test for macro params with square brackets
2021-06-29 22:21:39 +01:00
jeremy@jermolene.com 5a3502bbc5 Remove obsolete item from release note 2021-06-29 22:04:20 +01:00
Saq Imtiaz a6990128f1
Fixed bug introduced into transclusions for blank fields in #5736 (#5835) 2021-06-29 12:07:14 +01:00
jeremy@jermolene.com a7f247b28c Remove excess whitespace
Thanks @simonbaird
2021-06-28 13:59:06 +01:00
jeremy@jermolene.com d300bb1f7d Docs tweaks 2021-06-28 09:34:49 +01:00
jeremy@jermolene.com ac9dc6ee53 Add docs from @saqimtiaz
Thanks @saqimtiaz
2021-06-27 21:44:24 +01:00
Mario Pietsch a409536ad0
Prevent scrolling of the page when modals are displayed (#5816)
* prevent scroll-chaining in modals

* make body overflow hidden to prevent background scrolling
2021-06-27 16:24:06 +01:00
jeremy@jermolene.com c8e7a6ac07 Merge branch 'master' into new-json-store-area 2021-06-26 10:24:49 +01:00
Saq Imtiaz 076a04fbfb
Added docs for th-closing-tiddler hook (#5820) 2021-06-23 09:51:46 +01:00
jeremy@jermolene.com 83ee363cb4 Add charcode operator to make it easier to generate strings containing control characters
Avoids some confusing hacks. @saqimtiaz I'm guessing you might have already done something like this?
2021-06-22 21:52:00 +01:00
Saq Imtiaz 021e9b8c4d
:map filter run prefix with docs and tests (#5813) 2021-06-21 20:59:58 +01:00
Mario Pietsch 9c0d6a46cc
Add "commentpragma" html style rule (#5726)
* html-comment, that can be used in the pragma area

* add commentpragma test

* fix typo

* fix typo and change comments ab bit

* combine html-comment and pragma-comment and add some docs, how to use it

* Make docs simpler by removing caching info

* change h2 wording
2021-06-14 17:39:56 +01:00
Saq Imtiaz 8f9e8c1dee
Keyboard widget: provide variable for shortcut descriptor to actions. (#5782) 2021-06-14 12:03:59 +01:00
jeremy@jermolene.com 275e3abe06 Refactor #5786 for backwards compatibility 2021-06-13 14:08:18 +01:00
jeremy@jermolene.com d3d59eb55b Merge branch 'master' into new-json-store-area 2021-06-13 09:48:36 +01:00
Saq Imtiaz 4f33d2f35c
Update release notes (#5780) 2021-06-11 18:15:07 +01:00
Odin b5db488438
Update release notes 5.1.24 to 5.2.0 (#5754) 2021-06-11 17:56:45 +01:00
jeremy@jermolene.com 753bf8fe62 Revert "Revert "Transclude widget: refresh selectively when needed (#5736)""
This reverts commit 4f9dd50382.
2021-06-02 21:45:06 +01:00
jeremy@jermolene.com 4f9dd50382 Revert "Transclude widget: refresh selectively when needed (#5736)"
This reverts commit 2e695801b1.
2021-06-02 19:14:05 +01:00
Saq Imtiaz 2e695801b1
Transclude widget: refresh selectively when needed (#5736)
* Transclude widget: only refresh when transcluded text reference has changed, includes tests

* Refactor wiki.parseTextReference so it is re-usable for getting the parser info

* Re-arrange methods in wiki.js to improve diff readability
2021-06-02 13:58:30 +01:00
jeremy@jermolene.com 9faaa31299 Extend action-createtiddler to make new title available as a variable
I'm not sure if the docs are clear, but this is quite a big deal, and along with 582b156d5f makes working with action widgets a lot easier.
2021-06-01 09:41:14 +01:00
jeremy@jermolene.com 082aeb92ac Revert "extend lookup op flexibility with 2 parameters (#5315)"
This reverts commit 81b5fe944a.

See https://github.com/Jermolene/TiddlyWiki5/pull/5315#issuecomment-848725198 for explanation
2021-05-26 13:25:19 +01:00
Mario Pietsch 123666c240
Add th-before-importing hook mechanism (#5464) 2021-05-25 22:19:58 +01:00
Mario Pietsch 68930ceb1b
Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
Chris Nicoll fcea51bb95
Fix typo in saqimtiaz username (#5721) 2021-05-25 21:06:30 +01:00
Joshua Fontany 8d7930f660
Update sync methods (#5467) 2021-05-24 21:16:23 +01:00
Saq Imtiaz 7a41283c6b
Format:titlelist operator (#5665) 2021-05-24 19:28:43 +01:00
jeremy@jermolene.com aa9f9316ca Add another test case 2021-05-24 08:27:48 +01:00
Cameron Fischer 61714cbda3
Fixed super minor issue with import pragma (#5521) 2021-05-23 17:39:06 +01:00
jeremy@jermolene.com 53de12762c Update deserializer to support JSON store format and add some tests 2021-05-23 14:27:11 +01:00
Saq Imtiaz 3fc7895af2
CurrentTiddler variable consistency in subfilters and prefixes (#5691)
* Make currentTiddler variable consistent in subfilters and filter run prefixes

* Updated filterun prefix and subfilter operators to use ..currentTiddler instead of outerCurrentTiddler
2021-05-22 19:43:37 +01:00