Commit Graph

11481 Commits

Author SHA1 Message Date
Jeremy Ruston d1f90f075f
Add tm-http-request message for making HTTP requests (#7422)
* Initial Commit

* HttpClient object shouldn't need to know about events

* Add support for cancelling HTTP requests

* Make the number of outstanding HTTP requests available in a state tiddler

* Add a network activity button

Click it to cancel outstanding requests

* Fix typo

Thanks @btheado

Co-authored-by: btheado <brian.theado@gmail.com>

* Fix crash when cancelling more than one HTTP request

Thanks @saqimtiaz

* Further fixes to cancelling outstanding HTTP requests

* Fix missing body

---------

Co-authored-by: btheado <brian.theado@gmail.com>
2023-06-13 10:35:55 +01:00
jeremy@jermolene.com a12a9bd939 Fixes to browser storage plugin icon 2023-06-12 09:22:20 +01:00
Carlo Colombo 6efd6dbf8b
Update Jasmine website (#7533)
pivotal.github.io/jasmine website does not exists anymore,
replaced with the current Jasmine website
2023-06-11 10:36:02 +01:00
GameDungeon 578e883bdc
Add Tabs To Settings (#7524)
* Move to Core

* List-Before

* Update core/ui/ControlPanel/Settings.tid

* Proper list-before
2023-06-11 10:28:52 +01:00
jeremy@jermolene.com 66212cd491 Refactor dependency on widget.getVariableInfo
Fixing https://talk.tiddlywiki.org/t/tw-v5-3-0-pre-problem-with-autocomplete-plugin/6958/9?u=jeremyruston
2023-06-11 09:46:05 +01:00
jeremy@jermolene.com cc383e6d1e Refactor function evaluation code to avoid adding evaluateVariable method
Adding the new widget method was causing backwards compatibility issues. For example, see this discussion:

https://talk.tiddlywiki.org/t/tw-v5-3-0-pre-problem-with-autocomplete-plugin/6958
2023-06-10 08:58:04 +01:00
jeremy@jermolene.com 98e72558d0 Default site title no longer needs a tilde
Now that CamelCase linking is disabled by default
2023-06-09 08:35:42 +01:00
Jeremy Ruston 0095ea60d9
Switch off CamelCase linking by default (#7513)
* Disable camelcase by default

* New parse rule for ~CamelCase

For backwards compatibility with text that includes ~ to suppress camelcase links

* Enable CamelCase for main documentation wikis

Will take us a bit longer to convert all the links over

* Fix tests

* Release note update
2023-06-08 21:45:14 +01:00
Mario Pietsch 92f720901d
Add missing data-tag-title attributes where needed (#7530)
* add missing data-tag-title assignments

* docs for data-tag-title

* fix typo in the docs

* rename file
2023-06-08 21:38:31 +01:00
jeremy@jermolene.com 7b9915b5c2 Update release note 2023-06-08 21:18:24 +01:00
jeremy@jermolene.com 8682beb717 Merge branch 'tiddlywiki-com' 2023-06-08 20:18:02 +01:00
jeremy@jermolene.com cce23ac6cd Fix size of buttons in editor toolbar dropdowns
Fixes #7529
2023-06-08 08:32:56 +01:00
twMat f141cbf8a5
Update WidgetMessage_ tm-close-all-windows.tid (#7525)
added caption. The problem can be seen in list 
https://tiddlywiki.com/#Messages
2023-06-07 15:26:47 +01:00
Bram Chen 88dc6eba96
Update chinese language files (#7514)
* Add chinese error messages for 'deserialize' operator
2023-06-03 18:00:37 +01:00
Saq Imtiaz 2221b8e08a
Adds a deserialize filter operator (#7511)
* feat: added deserialize operator, tests and documentation

* fix: correct typo in lingo file

* fix: remove test that fails on node but succeeds in browser due to different availability of DOM deserializer
2023-06-03 14:33:10 +01:00
Mario Pietsch d83d8e7245
Cover stand alone .from-version pill in a HTML block-element (#7512) 2023-06-03 14:27:59 +01:00
jeremy@jermolene.com 48b22abdaa Add a warning for tiddlywiki.info or plugin.info having json errors 2023-06-02 10:41:42 +01:00
jeremy@jermolene.com a371ea0555 Minor fixes for introduction edition 2023-06-01 15:30:17 +01:00
jeremy@jermolene.com 68a7655396 Custom widgets and filter operator names must now contain a period
Fixes #7428
2023-06-01 08:06:28 +01:00
jeremy@jermolene.com f19e74900e Merge branch 'tiddlywiki-com' 2023-05-29 12:45:59 +01:00
jeremy@jermolene.com df323fe3c9 Simplify content shown for users without JavaScript
Saves 15% of the size of index.html

Fixes #7501
2023-05-29 12:45:41 +01:00
Tavin Cole 4e7a6ffc22
Add codemirror option to show trailing space (#7493)
* codemirror edit/trailingspace addon (default off)

* refactor as codemirror-trailingspace plugin

* copy cm-trailingspace styles from cm demo
2023-05-27 18:28:27 +02:00
Joshua Fontany bc3a7d9826
Ignore visual studio files (#7499) 2023-05-27 18:26:37 +02:00
Arlen22 90f0ff8067
Polyfill is not needed, only globalCheck (#7492) 2023-05-27 18:24:25 +02:00
btheado 74e0619782
Protect codemirror.css from wikitext parsing, otherwise 'CodeMirror' is considered a wikilink (#7500) 2023-05-27 18:22:31 +02:00
Tavin Cole 86e5fbce5d
Sign CLA (#7495) 2023-05-25 18:36:35 +02:00
twMat fb79bebef4
Update Tiddler Colour Cascade.tid (updated PR) (#7491) 2023-05-24 22:03:10 +02:00
twMat 5d0043012a
Update Edit Template Body Cascade.tid (#7484) 2023-05-24 18:35:17 +02:00
twMat fec7e8791d
Update View Template Title Cascade.tid (#7485) 2023-05-24 18:31:18 +02:00
twMat f2c458a722
Update Field Editor Cascade.tid (#7486)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2023-05-24 18:30:53 +02:00
twMat 86524aafbd
Update Tiddler Icon Cascade.tid (#7487) 2023-05-24 18:29:10 +02:00
twMat 442e3f1e97
Update Field Editor Cascade.tid (#7488) 2023-05-24 18:26:53 +02:00
twMat a9380655a0
Update Story Tiddler Template.tid (#7483)
improved phrasing (ref previous PR)
2023-05-24 11:57:19 +02:00
Bram Chen 9b59dff275
Update chinese language files (#7480)
* Update chinese help text for `authenticated-user-header`
2023-05-23 09:51:06 +02:00
lin onetwo 3f763775d6
Feat: decode url-encoded user name in authenticate request header to allow CJK username in header (#7471)
* fix: CJK in header has to be urlEncoded

* refactor: use $tw.utils.decodeURIComponentSafe

* docs: about chagne in this field

* docs: update

* docs: use less "field"
2023-05-22 12:25:51 +01:00
Mohammad Rahmani 9b78e871aa
Update ParametersWidget and add Examples (#7464)
* Update ParametersWidget and add Examples

This PR updates the  ParametersWidget.tid and adds several examples

* Update Procedure and Parameters Pragma

This PR improve documentation for using parameters inside procedures

* Update Pragma_ _procedure.tid

A caution when use parameters inside procedures

* Resolved conversation

All comments by Jeremy were implemented.
2023-05-22 10:46:45 +01:00
Robin Munn d4846bae6c
Procedure definition example should not say macro (#7467)
The word "macro" appears in the text of the procedure definition
example, but it should be "procedure" instead.
2023-05-19 10:14:02 +01:00
Robin Munn 6941d079b8
Release notes for bugfix to checkbox date fields (#7466)
Add release notes for PR #7448
2023-05-19 10:13:43 +01:00
Mohammad Rahmani e62f86a4c7
Update Procedure Definitions.tid (#7463)
Change macro to procedure!
2023-05-18 18:35:45 +01:00
jeremy@jermolene.com 8e132948b6 Fix crash when transcluding a lazily loaded tiddler as an attribute value
See bug report at https://talk.tiddlywiki.org/t/text-and-skinny-tiddler-and-echarts-oh-my/7044
2023-05-18 18:18:56 +01:00
jeremy@jermolene.com 6a12b15fac Remove #6699 from release note 2023-05-18 17:29:57 +01:00
jeremy@jermolene.com 990909c310 Revert "Feat: destroy() method for widgets to do custom cleanup (#6699)"
This reverts commit 474b73bdbe.
2023-05-18 17:27:05 +01:00
jeremy@jermolene.com 8ad08b0cd4 Fix diff-text widget crash with empty/missing attributes
Fixes #7462
2023-05-18 12:47:40 +01:00
Jeremy Ruston a4da53ef6c Make newline after parameters pragma be optional
Fixes #7456
2023-05-16 09:41:58 +01:00
twMat 2e377b1f48
Simplify link widget in sidebar "open" tab (#7454)
simplified linkwidget use
2023-05-15 11:04:28 +01:00
Jeremy Ruston 70ee30fdf3
Add fillignore attribute to transclude widget to fix visible transclusion (#7451)
* slotignore attribute for transclude widget to fix visible transclusion

Fixes #7449

* Remove unneeded depth attribute

No longer needed

* Replace "slotignore" by "fillignore"
2023-05-14 21:25:35 +01:00
jeremy@jermolene.com d5a7425458 Merge branch 'tiddlywiki-com' 2023-05-14 16:26:02 +01:00
Robin Munn fb10b1ee91
Checkbox widget should not affect date fields (#7448)
* Checkbox widget should not affect date fields

If a date field like `created` or `modified` is passed as the listField
attribute of the checkbox widget, it will be left unchanged and actions
on the checkbox widget will *not* fire.

Includes unit tests to ensure that the "created" and "modified" fields
will not be touched by checkboxes and will continue to be Date objects.

* Replace const with var in checkbox tests
2023-05-11 18:28:44 +01:00
Jeremy Ruston 576d476a21 Merge branch 'master' of https://Jermolene@github.com/Jermolene/TiddlyWiki5.git 2023-05-11 16:26:52 +01:00
Jeremy Ruston 8aa0db59a3 Transclude widget should use fallback content if variable is missing or blank
Fixes #7424
2023-05-11 16:26:18 +01:00