Commit Graph

11958 Commits

Author SHA1 Message Date
Jeremy Ruston eb4e9d86ac Fix handling of currentTiddler variable
Fixes problem reported by @btheado in https://github.com/Jermolene/TiddlyWiki5/pull/7817#issuecomment-2103704468
2024-05-15 12:37:25 +01:00
Jeremy Ruston 4234aa968e "Test case" should be two words 2024-05-09 08:16:30 +01:00
Jeremy Ruston 5a7f958c64 Don't reference the geospatial plugin 2024-05-08 22:13:45 +01:00
Jeremy Ruston 3751a883f5 Use the view template body for failing tests 2024-05-08 22:13:33 +01:00
Jeremy Ruston 5c34d273bd Rename $:/core/ui/testcases/DefaultTemplate/SourceTabs from $:/core/ui/testcases/DefaultTemplate/Source 2024-05-08 22:13:21 +01:00
Jeremy Ruston 4f19f0a66b Docs update 2024-05-08 18:03:24 +01:00
Jeremy Ruston 70f68c7cc2 Simplify template 2024-05-08 18:03:16 +01:00
Jeremy Ruston 400514f52f Remove obsolete code comments 2024-05-08 18:03:07 +01:00
Jeremy Ruston 6b7cf37f36 Cleanup comments 2024-05-08 18:02:55 +01:00
Jeremy Ruston edc6661948 Documentation improvements 2024-05-08 17:50:27 +01:00
Jeremy Ruston 8207b80f9f Add support for narrative tiddlers in test cases 2024-05-08 13:26:14 +01:00
Jeremy Ruston 53908b792e Wording tweak 2024-05-08 13:25:26 +01:00
Jeremy Ruston a856d0b322 Docs update for 648855e8a5 2024-05-07 19:13:14 +01:00
Jeremy Ruston 648855e8a5 Links in testcase output switch to the tab containing that tiddler
Thanks to @btheado for the suggestion
2024-05-07 19:09:38 +01:00
Jeremy Ruston 83ebfc67fb Fix data widget not refreshing 2024-05-07 18:33:53 +01:00
Jeremy Ruston d5b7bc7d41 DataWidget docs typo 2024-05-06 21:56:49 +01:00
Jeremy Ruston 00ac5503d9 Extend testcase default template so that the display format can be chosen
It is selected by setting the variable "displayFormat"
2024-05-06 21:56:35 +01:00
Jeremy Ruston 43fe5e9523 Don't expect our intentionally failing test to pass 2024-05-06 15:43:17 +01:00
Jeremy Ruston 0db4c44939 Clearer testcases for data widget, and docs tweaks 2024-05-06 15:37:03 +01:00
Jeremy Ruston ff03a1bfc4 Add testcase convenience procedure 2024-05-06 15:36:26 +01:00
Jeremy Ruston 1d89c7925a Update data widget to display its content in JSON 2024-05-06 15:34:42 +01:00
Jeremy Ruston e378c6c4c9 Run the new tw5.com testcases in the test edition 2024-05-06 15:34:12 +01:00
Jeremy Ruston e8a3ffdffc Styling tweaks 2024-05-05 22:25:55 +01:00
Jeremy Ruston 6b4bd4728a Docs improvements 2024-05-05 21:55:07 +01:00
Jeremy Ruston 08913314c5 Styling tweaks 2024-05-05 21:54:53 +01:00
Jeremy Ruston 39d463337b Make testcase tiddler tempalte link to itself 2024-05-05 21:54:11 +01:00
Jeremy Ruston d361a1e3cf Whitespace fixes 2024-05-05 19:34:48 +01:00
Jeremy Ruston 4758b6afb9 Test edition should display testcases 2024-05-05 13:55:21 +01:00
Jeremy Ruston fa9e643e54 Add a view template body template to render testcase tiddlers 2024-05-05 13:55:06 +01:00
Jeremy Ruston 1be73ad664 Add testcases to control panel 2024-05-05 13:54:45 +01:00
Jeremy Ruston 57e74a0ad5 Extend the testcase widget to run tests 2024-05-05 13:54:02 +01:00
Jeremy Ruston 22ad43954e Use different background colours for nested testcase widgets 2024-05-05 13:45:41 +01:00
Jeremy Ruston 17e939fa2c Don't duplicate "description" field in test cases 2024-05-02 22:37:26 +01:00
Jeremy Ruston f0d6779dd3 Merge branch 'master' into testcase-widget 2024-05-02 14:13:19 +01:00
Jeremy Ruston 64f5dd942c Update release note 2024-05-02 11:39:25 +01:00
Jeremy Ruston 9007e0b8c8 Merge branch 'tiddlywiki-com' 2024-05-01 12:46:20 +01:00
sarna 07a048975d
Improve Polish date translation (#8170)
* Make month and weekday names lowercase

* Replace AM and PM with Polish words

* Adhere to recommendations wrt short weekday names

https://sjp.pwn.pl/poradnia/haslo/dni-tygodnia-i-inne-roznosci;1788.html

* Fix a typo

* Inflect month names

I assume they're always used as part of the full date,
and in this case months are always inflected in Polish.

* Use roman numerals in place of short month names

I could not find any actual use of short month names in Polish.
The only mentions are from people trying to translate English
conventions into Polish - typically in software.

In https://sjp.pwn.pl/poradnia/haslo/dni-tygodnia-i-inne-roznosci;1788.html
Mr. Bańko answered (translation mine):
  Abbreviations of month names are less common, numbers are used instead.
  Such abbreviations can be created [...]. However, one must take into account
  that the reader will not understand them.

I decided to go with a convention that's in actual use, rather than to
force an English convention which is alien to non-software dev Poles.
2024-04-28 19:23:31 +02:00
sarna b4e0a9b28b
Signing the CLA (#8171) 2024-04-28 19:22:58 +02:00
FSpark 67845f8ebe
Fix: some plugin subtiddlers do not have title in savewikifolder command (#8151)
* fix: some plugin subtiddlers do not have title in savewikifolder command

* fix: following coding style
2024-04-25 18:29:09 +02:00
Matt Lauber a081e58273
HTTP Client: Return success calls for all 2XX response codes (#8150)
APIs especially use 2XX response codes outside of 200, 201, 204 for responding to responses.  Treat all "Successful" response codes (i.e. anything between 200-299) as successes, and pass the responseText.
2024-04-16 16:24:53 +01:00
Jeremy Ruston 1d48909012 Docs: Remove reference to restrictions on field names
Fixes #8146
2024-04-16 10:34:49 +01:00
Joshua Fontany d3722a6602
Docs for use-browser-cache (#8142)
* docs for use-browser-cache

* Update WebServer Parameter_ use-browse-cache.tid

remove timestamps

* revert last change

* move to webserver folder

* clarify, typos

* dedupe
2024-04-13 10:08:40 +01:00
Joshua Fontany 5f74f4c2fa
Fix bug 7878: Save command (#8140)
* first pass at fixing bug 7878, needs testing

* clarify default behaviour in comment

* fix property typo, tested and works as intended

* remove debugger
2024-04-11 21:54:46 +01:00
Joshua Fontany 9167b190d2
Fix bug 8138: server cache-control (#8141)
* cache-control no-store by default

* clarify comment spec reference

* comment typo

* fix else formatting

* Update server.js

allow route definitions to set their own cache-control
2024-04-11 19:23:32 +01:00
Cameron Fischer df8731f760
Made library boot module requirements consistent (#8083) 2024-04-10 10:52:22 +01:00
andjar 1fb9098c76
Update cla-individual.md (#8133)
Signing the CLA
2024-04-09 22:22:18 +01:00
Rob Hoelz e9aa3c6c93
Add $timestamp argument for <$action-deletefield> widget (#8115)
* Start on some tests for <$action-deletefield />

* Only update modified field if we actually delete a field

…in the <$action-deletefield /> widget.

Fixes a bug where <$action-deletefield foo /> would update the modified field
if the "foo" field wasn't present on a tiddler.

* action-deletefield: Test when modified does and doesn't exist

* Add $timestamp argument to action-deletefield

To make it more consistent with other tiddler-manipulating action widgets

* Add docs for action-deletefield $timestamp
2024-04-04 16:03:15 +01:00
Jeremy Ruston 105e8195d5 Merge branch 'tiddlywiki-com' 2024-04-03 21:51:13 +01:00
Simon Huber eeb4e7a7f7
Add a "Refresh Browser" keyboard shortcut (#8121)
* Create a `refresh` keyboard shortcut

This creates a `refresh` keyboard shortcut that refreshes the page.
In TiddlyDesktop <kbd>ctrl-R</kbd> doesn't work

* Update refresh.tid

* Update shortcuts-not-mac.multids

* Update shortcuts-mac.multids

* Update ShortcutInfo.multids
2024-04-03 09:58:56 +01:00
Simon Huber 7ce85a2ddb
Update reset.tid to use modern-normalize 2.0.0 (#8120)
This PR updates the vanilla/reset stylesheet to use the newer `modern-normalize 2.0.0`
2024-04-02 17:35:10 +01:00