1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-05 05:13:52 +00:00

11936 Commits

Author SHA1 Message Date
pmario
3c888992a8 add options.hasDom to widgets, that create DOM elements 2024-04-25 16:59:05 +02:00
pmario
bb9c991ce3 button use tv-limit-nested-buttons variable if set 2024-04-25 16:57:56 +02:00
pmario
05f1ba20ca widget add dom-tree-depth detection 2024-04-25 16:57:23 +02:00
pmario
d28271620b some new tests 2024-04-25 16:56:49 +02:00
pmario
1a4c114ecb add parent-ancestorcount-dom macro 2024-04-25 15:18:54 +02:00
pmario
1a5c05d2a9 Merge branch 'button-in-button-fix' into dynamic-max-widget-tree-depth 2024-04-19 10:41:59 +02:00
pmario
49208cf056 allow 1 nested button. button in button in button will return an error 2024-04-19 10:37:05 +02:00
pmario
3ea14a3a71 remove buttons from test tiddlers 2024-04-18 09:24:40 +02:00
pmario
7897e75a69 remove tv- variable from button 2024-04-18 09:15:56 +02:00
pmario
ee8249d6a2 Merge branch 'button-in-button-fix' into dynamic-max-widget-tree-depth 2024-04-18 09:13:25 +02:00
pmario
9f4f76d4c8 tidy up nested button detection 2024-04-18 09:07:27 +02:00
pmario
474905828f add button custom recursion detection and protection 2024-04-17 13:22:09 +02:00
pmario
9820dc0c6c update tests 2024-04-17 10:41:27 +02:00
pmario
6e7ccfa9fa rename widget-ancestorcount to parent-ancestorcount 2024-04-17 10:41:13 +02:00
pmario
f50c5bc0c4 improve performance so it is the same as before 2024-04-17 10:29:29 +02:00
pmario
eba18b935e add new test tiddlers 2024-04-17 10:28:13 +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
pmario
ffdfb9c46c updat tests 2024-04-16 15:24:22 +02:00
pmario
bd94695f3e make tv-widget-ancestors variable available for every widget. This one may help us in the future 2024-04-16 15:23:35 +02:00
pmario
eee246091d add custom button in button check and remove "relative" recursion protection 2024-04-16 15:22:44 +02:00
pmario
8990f437c8 add button in button error message 2024-04-16 15:21:07 +02:00
pmario
c1f4523f70 tests - add new recursion detection tests 2024-04-16 13:21:21 +02:00
pmario
06f57a8008 tests - add ancestorCount to recursion error message 2024-04-16 13:20:47 +02:00
pmario
e57d459473 update test tiddlers 2024-04-16 13:19:36 +02:00
pmario
04f9477ec7 fix init problems 2024-04-16 12:28:26 +02:00
pmario
838c4639a0 add test tiddlers for easy testing 2024-04-16 11:55:01 +02:00
pmario
0b89992bca allow the button-widget to use a relative max-widget-tree-depth recursion detection 2024-04-16 11:54:30 +02:00
pmario
60d6d5d36b implement dynamic config and check for max-widget-tree-depth recursion detection 2024-04-16 11:53:51 +02: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
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
Crystal Person
804f227815
Signing CLA (#8126) 2024-03-31 17:08:09 +01:00
Rob Hoelz
9939759690
Report throttled refreshes (#8116)
Fixes GH #6054
2024-03-29 14:47:22 +00:00
Mario Pietsch
b595651fe1
Fix hide-show button code needs to be transcluded mode=block (#8082) 2024-03-28 21:50:22 +00:00
Mario Pietsch
9cd6affcae
Minor changes to Widgets tiddler (#8107) 2024-03-28 19:29:57 +00:00
Mario Pietsch
e43cd2d989
Use v5.3.x syntax for $:/core/ui/PageTemplate/pagecontrols (#8088) 2024-03-28 19:29:16 +00:00
Mario Pietsch
f1e707bff4
Refactor GitHub-fork-ribbon plugin for better compatibility (#8075) 2024-03-28 19:27:58 +00:00
Mario Pietsch
2d92a6fd78
Tag picker rewritten using new v5.3.x syntax (#7978)
* tag-picker add Examples

* tag-picker - use new v5.3.x wikitext syntax

* tag-picker - more inline docs

* tag-picker - fix add button

* rename local functions: tag, userInput to _tf.getTag and _tf.getUersName to make the code and variable scopes more understandable

* tag-picker - move local variables definitions into one place: tag-picker macro

* tag-picker - replace reveal-widget with conditional IF syntax

* tag-picker - remove logs and test tag-picker - actions parameer -> OK

* tag-picker - add tag-picker Macro docs

* tag-picker docs - change \define -> \procedure

* tag-picker -- fix problem with focus loss if elements selected by mouse click

* tag-picker -- add tf. prefix only to new function definition names for backwards compatibility.

* tag-picker -- update example docs

* re-add tags: $:/tags/Macro
2024-03-28 19:09:31 +00:00
Mario Pietsch
2e0e541ebf
Add tc-tag-missing or tc-tag-exists to tag pills including docs (#7951)
* add tc-tag-missing or tc-tag-exists to tag pills including docs

* changes as requested

* macros not needed anymore - so remove

* fix the tag Macro docs
2024-03-28 19:07:54 +00:00
Mario Pietsch
b4d7e34a5a
Add unusedtitle macro tests - should have full code covery (#7939)
* add unusedtitle macro tests - should have full code covery

* remove numbering from tests
2024-03-28 18:39:57 +00:00
Mario Pietsch
b6eab1afd6
Add theme font size settings to Open in New Window CSS (#7945)
* add theme font size settings to Open in New Window CSS

* add DOCTYPE html to New Window startup template

* fix merge typo

* fix merge typo one more time
2024-03-28 18:36:33 +00:00
Télumire
32cbd53423
Set a proper doctype for the open window template (#8095) 2024-03-27 18:20:35 +00:00
Jeremy Ruston
90a6f31db2 Merge branch 'tiddlywiki-com' 2024-03-27 10:10:26 +00:00
Jeremy Ruston
d37d6595b5 Docs: Add link to Basic Auth example 2024-03-27 10:09:46 +00:00
Jeremy Ruston
e02cafb938 Add docs about using Basic Authentication in HTTP requests 2024-03-27 08:35:56 +00:00
Jeremy Ruston
801ed0ea11 Fix cycle operator crashing if step size is larger than the number of operands
See https://talk.tiddlywiki.org/t/bug-report-javascript-error-at-tw-com-within-cycle-operator-try-it/9430/1
2024-03-26 16:04:13 +00:00