jeremy@jermolene.com
a9a36b641a
Filename for action-confirm widget should be 'action-confirm.js' for consistency
2020-12-22 11:50:26 +00:00
Saq Imtiaz
1e9cc2b747
Fix refresh for all attributes of droppable widget. Add disabled class ( #5280 )
2020-12-15 11:09:32 +00:00
Joshua Fontany
d50f6b406e
filesystem cleaup around hook ( #5276 )
2020-12-14 09:50:53 +00:00
jed
c1a1e272cc
Add a hook to allow modifying the the behaviour creating tiddler paths ( #5267 )
...
* Add a hook to allow modifying the the behaviour creating tiddler paths
This is needed for Bob to use the core to generate tiddler fileInfo
I don't know if this is the best way to make the hook, but it works for what I need
* update th-make-tiddler-path arguments
the value is the current path, the parameter passed in is the original unmodified path so it is available to subsequent hooks
2020-12-13 23:24:23 +00:00
Xavier Cazin
88e29b4558
tabsState should hold a tiddler name rather than a list singleton ( #5263 )
...
* tabsState should hold a tiddler name rather than a list singleton
* tabsState should hold a tiddler name rather than a list singleton
2020-12-13 16:15:16 +00:00
Saq Imtiaz
0911d99813
URGENT: Reveal widget - fixed problem with previous patch of refresh handling ( #5260 )
...
* Fixed problem with previous patch of refresh handling
* Update reveal.js
2020-12-11 23:24:27 +00:00
jeremy@jermolene.com
93309b0b7d
Sort plugins in control panel by name instead of title
...
Fixes #5256
2020-12-11 16:13:14 +00:00
Saq Imtiaz
c0dd13d446
Reveal widget should update on changed class and style attributes ( #5258 )
2020-12-11 15:36:00 +00:00
Robin Munn
f60d0ef109
reduce and :reduce handle empty input identically ( #5255 )
...
Fixes #5246 . Now the reduce operator and :reduce filter run prefix will
both return empty output when their input is empty, so that both can be
chained together with the else operator or :else prefix.
2020-12-11 10:07:52 +00:00
Cameron Fischer
6ca89304a1
Fix for LinkedLists when using bad filter prefix ( #5251 )
2020-12-10 18:25:53 +00:00
Simon Huber
0d2b6cf837
Rename control-panel-button to advanced-search-button in advanced-search button ( #5242 )
2020-12-10 17:09:28 +00:00
Cameron Fischer
cd5d9bd5b9
Code cleanup of Linked Lists ( #5241 )
...
* made private methods limited to module scope
* moved private methods to file bottom
* changed tests to run comperable array functions in parallel
* added comments
2020-12-09 09:46:35 +00:00
jeremy@jermolene.com
1e1aeefd93
Fix add plugins modal
...
Fixes #5235
2020-12-09 09:07:48 +00:00
jeremy@jermolene.com
1d7091e637
Hide .tid exporter when more than one tiddler to export
...
Fixes #5237
2020-12-08 17:48:58 +00:00
jeremy@jermolene.com
bb6d41f3dd
Macrocall widget: ensure we separately cache inline vs block parse trees
...
Fixes a bug in #5205
2020-12-07 16:05:34 +00:00
Joshua Fontany
a878d82c7a
Ignore edition filters if not running on node ( #5222 )
2020-12-07 15:59:32 +00:00
Joshua Fontany
85ff47366c
fix viewtemplate quirks ( #5224 )
2020-12-07 15:58:28 +00:00
Saq Imtiaz
ce5d20b8fc
Logging widgets :Fixed issue on Firefox where logging does not work ( #5223 )
...
* Fixed issue on Firefox where logging does not work properly due to column names
* Remove second argument to utils.logTable
2020-12-07 15:53:49 +00:00
Joshua Fontany
c3e34b469c
typo ( #5221 )
2020-12-06 22:59:48 +00:00
Simon Huber
958f57f2c0
Make editTiddler in sidebarsegments/search available as variable ( #5218 )
2020-12-06 17:15:40 +00:00
jeremy@jermolene.com
005f7c55b6
Restore accidental commenting in 0b1a05d10
2020-12-06 10:50:59 +00:00
Simon Huber
122306fc24
Update GruvboxDark, CupertinoDark and Nord palettes to work better with TiddlyDesktop ( #5214 )
...
* Update CupertinoDark.tid
* Update GruvBoxDark.tid
* Update Nord.tid
2020-12-06 09:58:02 +00:00
Jeremy Ruston
0b1a05d10d
Cache result of parsing macro calls which don't use text subsitution ( #5205 )
2020-12-06 09:43:06 +00:00
Joshua Fontany
b0f6d50b60
fix filesystem bugs ( #5213 )
2020-12-06 09:41:03 +00:00
Simon Huber
a3a7d6450d
CodeMirror: Ensure linenumber-gutter has a right border ( #5212 )
...
* Ensure linenumber-gutter has a right border
* Update GruvBoxDark.tid
* Update Nord.tid
2020-12-06 08:56:06 +00:00
Cameron Fischer
a857b4ab9a
use a linked list for filter runs. ( #5206 )
...
* Changed the filterrunprefixes to use LinkedList
* Testing for Linked List
* Finishing touches to LinkedList
* Minor corrections to link-list coding style
* Corrected for sneaky bug in linkedList
2020-12-06 08:54:57 +00:00
Saq Imtiaz
7fd24de372
Tests for filter prefixes ( #5209 )
2020-12-05 23:10:51 +00:00
Simon Huber
396703c478
An even faster version of the TagPickerTagTemplate ( #5207 )
2020-12-05 17:38:39 +00:00
Simon Huber
bfc4b447da
Add selection-background/foreground to GruvboxDark and Nord palettes ( #5204 )
...
* Update GruvBoxDark.tid
* Update Nord.tid
* Update Nord.tid
* Update Nord.tid
* Update Nord.tid
2020-12-05 16:38:08 +00:00
Cameron Fischer
fbe5bb229a
Fix for filterrunprefixes using $tw.wiki ( #5202 )
...
* Fixed runprefix 'and' to use widget wiki
* Made widget arg of filterTiddlers optional again
* Switched to passing {wiki: wiki} to prefixes
2020-12-05 16:12:40 +00:00
Saq Imtiaz
9825b5b4a0
Ensure new variables are strings ( #5197 )
2020-12-04 19:02:05 +00:00
Saq Imtiaz
8799911162
Reduce operator: second optional parameter instead of suffix ( #5193 )
...
* Tweak reduce operator to use an optional second parameter instead of a suffix
* Updated docs
2020-12-04 18:31:23 +00:00
Simon Huber
813e28e1ea
Make the tag-picker tags-dropdown more performant ( #5195 )
...
* Replace macrocall for tag-button with transclusion of a TagPickerTagTemplate
* Create TagPickerTagTemplate.tid
2020-12-04 18:28:36 +00:00
Simon Huber
911e23ee6d
Make sidebarsegments/search button display the count of ALL search results (de-duplicated) ( #5194 )
2020-12-04 18:27:40 +00:00
Saq Imtiaz
046746ba20
Add :reduce filter run prefix ( #5196 )
2020-12-04 18:23:50 +00:00
Robin Munn
8ffe138942
Add rawunicode suffix to (json)stringify operators ( #5191 )
...
Default with no suffix is pre-5.1.23 behavior, escaping all Unicode
characters for maximum compatibility (avoids encoding issues). New
"rawunicode" suffix allows passing through Unicode characters U+0080
and up unchanged, for cases where you know your tools are handling
encoding correctly and you want less verbose escaping.
2020-12-04 13:19:59 +00:00
Saq Imtiaz
1f5e1205ec
Extend Eventcatcher to handle multiple events ( #5185 )
...
* support multiple events
* Add variables for event type and detail. Rename types attribute to events
* Correct typo in refresh handling
2020-12-02 21:15:35 +00:00
Simon Huber
6b03105bed
Update CupertinoDark.tid ( #5183 )
2020-12-02 21:13:42 +00:00
Simon Huber
552843369c
Update shortcuts-mac.multids ( #5179 )
2020-12-02 16:55:55 +00:00
Simon Huber
a1ef66ec6d
Better readability for codemirror linenumbers + CupertinoDark muted-foreground better contrast ( #5164 )
...
* Update styles.tid
* Update CupertinoDark.tid
2020-12-02 12:21:23 +00:00
Simon Huber
fc797f3722
Fix #5162 - tiddler opening position is incorrect, bug in navigator.js
2020-12-02 12:21:02 +00:00
Joshua Fontany
c6bb783308
Fix filesystem regression ( #5176 )
...
* $:/config/OriginalTiddlerPaths if no filters match
* fixed & docs updated
* tested with tiddlywiki.files & tw.com edition
* typos
* originalpath to options, propigate isEditableFile
* syntax cleanup
2020-12-02 09:47:51 +00:00
Saq Imtiaz
4079f72310
Fix typo in x-listops.js ( #5171 )
2020-12-01 18:14:07 +00:00
Mario Pietsch
880930da8b
Add actions parameter to range-widget + docs! ( #5158 )
...
* add actionsStart, -Stop and actions to range-widgets
* fix indent
2020-12-01 18:11:09 +00:00
jeremy@jermolene.com
6a91dbfe2f
Add support for working with negative dates
...
See discussion https://groups.google.com/g/tiddlywiki/c/aHlyaHr93Io/m/vGcDa6lxAgAJ
2020-12-01 10:39:27 +00:00
Joshua Fontany
dde4182830
Fix filesystem adaptor ( #5113 )
...
* ignore .env
testing new implementation
almost there
closer
bug, desyncing
fixed
final testing
final testing
cleanup
cleanup
* isEditableFile flow fixed
* removed `basepath` logic
* callback to delete title from $tw.boot.files
* comment fix
* have syncer delete from boot.files
* syntax
* bugfix: error on missing directory
* bugifx
* remove !draft check
* fix relative filepaths
* cleanup
* cleanup !draft
* catch undefined filepaths in deleteTiddlerFile()
* typo
* whitelist wiki dir, encodeURIComponent otherwise
* test for wikiPath, not wikiPath/tiddlers
* don't need to .normailze()
* whitelist wiki directory, move cleanup to util
* use cleanup util & fail EPERM & EACCESS gracefully
* comments
* final bugs fixed
* improved sync error
2020-11-30 22:31:48 +00:00
Simon Huber
6a319940d3
Make buttons look like buttons in CupertinoDark, GruvboxDark and DesertSand palette ( #5159 )
...
* Make buttons look like buttons in CupertinoDark palette
* Update GruvBoxDark.tid
* Update DesertSand.tid
2020-11-30 21:04:14 +00:00
jeremy@jermolene.com
3406b98af6
Add "autocomplete" attribute to <$edit> and <$edit-text> widgets
2020-11-30 18:48:04 +00:00
Simon Huber
367854c81b
Update static.tiddler.html.tid ( #5148 )
2020-11-30 17:56:19 +00:00
Robin Munn
fd3e77d38f
"dedupe" and "raw" suffixes for enlist-input operator ( #5152 )
...
Includes unit tests.
2020-11-30 17:52:46 +00:00
saqimtiaz
8fc6910c03
Added string operator pad[] along with tests and docs ( #5146 )
2020-11-30 17:43:50 +00:00
Mario Pietsch
5cbe4c5317
Add radio actions, th-radio-variables hook and fix label refresh problem ( #5154 )
...
* Add actions to radio-widget, pass trhough all attributes and user parameters, fix label refresh
* invoke th-radio-hook instead of hardcoded variables
* simplify code and test it with a plugin hook
* remove hook
2020-11-30 17:28:49 +00:00
Jeremy Ruston
4d9e6831bb
Rename "references" to "backlinks" in the tiddler info panel ( #5143 )
...
* Rename "references" to "backlinks" in the tiddler info panel
* Change docs references to "references" to "backlinks"
2020-11-29 18:32:22 +00:00
Simon Huber
ce937595d7
Add Button to remove tags from tiddlers $:/config/NewTiddler/Tags and $:/config/NewJournal/Tags ( #5140 )
...
* Update Basics.tid
* Update ControlPanel.multids
* Update Basics.tid
* Update ControlPanel.multids
* Update ControlPanel.multids
* Update ControlPanel.multids
2020-11-29 12:52:50 +00:00
jeremy@jermolene.com
cc850d7151
Fix typo in list macro
...
See discussion https://github.com/Jermolene/TiddlyWiki5/pull/3710#issuecomment-735295319
2020-11-29 12:38:09 +00:00
Simon Huber
eb7f59a855
Make "tc-dirty" update also on external windows ( #5129 )
...
* Update windows.js
* Update saver-handler.js
* Update saver-handler.js
2020-11-28 21:24:01 +00:00
Simon Huber
b3cbd7d733
Add TiddlySpot-ReadOnly Message-Box to Tiddlyspot Saving Panel ( #5133 )
...
* Add message box to TiddlySpot Saving panel
* add readonly message
2020-11-28 21:22:32 +00:00
Simon Huber
28724138d1
Small update for better readability for CupertinoDark palette ( #5134 )
2020-11-28 21:21:53 +00:00
Simon Huber
c655ec5469
Remove background-colors from framed engine ( #5131 )
2020-11-28 14:08:16 +00:00
Simon Huber
8005c91e79
Correctly add EventListener 'click' for popup-handling in new windows ( #5127 )
2020-11-28 07:26:47 +00:00
Simon Huber
86a9f922bf
Update LayoutSwitcher.tid ( #5125 )
2020-11-27 21:52:26 +00:00
saqimtiaz
2175be27b0
Ensure that we always fetch the latest sha bypassing cache. ( #5126 )
...
Ensure that we always fetch the latest sha bypassing cache.
2020-11-27 21:37:11 +00:00
jeremy@jermolene.com
9637a29e55
Rename widget.executeStartupTiddlers() to invokeActionsByTag()
...
This method was introduced earlier in v5.1.23 in 5cc1600072
It is not in fact restricted to startup tiddlers.
2020-11-26 12:41:24 +00:00
jeremy@jermolene.com
2267e31546
Fix eventcatcher to ensure variable values are strings
...
I was getting some inconsistencies with filter operators that expect strings.
2020-11-25 15:54:28 +00:00
jeremy@jermolene.com
e3bf1f43cf
Missed off previous commit 64ac29adc
...
Thanks @saqimtiaz
2020-11-25 14:07:01 +00:00
jeremy@jermolene.com
64ac29adca
Fix typo preventing filter run prefix modules from being cached
...
This had a significant impact on performance.
2020-11-25 13:58:54 +00:00
jeremy@jermolene.com
94ffb50e04
Fix dark mode event handling
...
Previous code worked but this matches the spec, and works on iOS
2020-11-25 12:33:39 +00:00
saqimtiaz
ce27492b96
Refactor updating of classes for button widgets to avoid potential edge case failures ( #5115 )
2020-11-24 21:19:20 +00:00
Simon Huber
a9d583b85e
Update CupertinoDark.tid ( #5117 )
2020-11-24 21:16:24 +00:00
jeremy@jermolene.com
c854e518fa
Add support for $:/info/darkmode (and for dynamic info tiddlers)
2020-11-24 19:01:33 +00:00
jeremy@jermolene.com
7327a3fb92
Fixed: Shadow tiddlers don't refresh when their plugin is deleted/modified
2020-11-24 18:57:39 +00:00
Simon Huber
50a3c5526f
Update CupertinoDark.tid ( #5107 )
2020-11-23 20:09:53 +00:00
Simon Huber
77971ff720
Lighter sidebar-controls-foreground for Cupertino Dark Palette ( #5106 )
2020-11-23 19:41:51 +00:00
Simon Huber
e0f4d82214
Update CupertinoDark.tid ( #5105 )
2020-11-23 19:32:51 +00:00
Simon Huber
af72fdf245
Add caption to ControlPanel LayoutSwitcher ( #5103 )
...
* Update LayoutSwitcher.tid
* Update ControlPanel.multids
2020-11-23 19:15:04 +00:00
Simon Huber
519962b4a9
Update and rename MacOSDark.tid to CupertinoDark.tid ( #5101 )
...
* Update and rename MacOSDark.tid to CupertinoDark.tid
* Update CupertinoDark.tid
* Update CupertinoDark.tid
* Update CupertinoDark.tid
2020-11-23 19:14:07 +00:00
Simon Huber
c9a77c5877
Create MacOSDark.tid ( #5100 )
2020-11-23 18:41:38 +00:00
Simon Huber
3d93790573
Fix StaticRiver exporter width of static tiddlers ( #5099 )
...
* Add tc-static-story-river class to StaticRiver exporter
* Update base.tid
2020-11-23 18:06:46 +00:00
saqimtiaz
aa6f152d35
Add Switcher modal ( #5089 )
...
* Alternative switcher using a parameter via tm-show-switcher
* Add CSS class for centered modals
* Changed keyboardshortcut and removed transition CSS
* Resolved wording issues
2020-11-23 17:06:24 +00:00
Simon Huber
72b32946aa
Small adjustments for DesertSand palette ( #5098 )
...
* Small adjustments for DesertSand palette
* Update DesertSand.tid
2020-11-23 16:59:48 +00:00
Simon Huber
8c4d67ba2b
Add light "DesertSand" palette - a desert-sandy palette ( #5092 )
...
* Add light "DesertSand" palette - a desert-sandy palette
* Update DesertSand.tid
* Update DesertSand.tid
2020-11-22 21:18:34 +00:00
saqimtiaz
3c195b05cb
Button and Droppable widgets: improve refresh handling for classes ( #5091 )
...
* Button and Droppable widgets: improve refesh handling for classes
* Added comment regarding handling of class attribute
2020-11-22 21:13:24 +00:00
saqimtiaz
fa63ac5d1e
Add: Eventcatcher widget ( #5086 )
...
* Jeremy's original version of the event widget
* Renamed to eventcatcher, added modifier key support and mouse button support as variables
* Allow updating classname without re-rendering entire widget
* Handle tag attribute in refresh handler
* Improve handling for mouse button variable
* Fix typo in refresh handler
* Added variables for position of selected node and position of event relative to selected node and catcher node
2020-11-22 20:47:12 +00:00
saqimtiaz
51ca14861e
Fixed bug with default value in lookup operator ( #5088 )
...
* Fixed bug with default value in lookup operator
* Fixed test for lookup operator with default
2020-11-22 20:43:36 +00:00
saqimtiaz
d2f87d6200
Reveal widget allow re-positioning ( #5087 )
...
* Jeremy's original version of the event widget
* Renamed to eventcatcher, added modifier key support and mouse button support as variables
* Reveal widget: update popup position when state tiddler updates
2020-11-21 17:19:52 +00:00
saqimtiaz
4f07539164
Cycle operator improvements plus docs ( #5069 )
...
* Tweak cycle operator to support step size parameter and add docs for toggle and cycle
* Mention that title list should have no duplicates
2020-11-20 18:37:23 +00:00
saqimtiaz
483fd941f5
Extend action-log and subclass it as log widget ( #5078 )
...
* Extended action-log and subclassed it as log widget
* Do not rename LogWidget class
* Removed unneeded variable declaration
2020-11-20 14:08:18 +00:00
saqimtiaz
89541edcff
Added mathematics filter operators power and log ( #5080 )
2020-11-20 14:00:20 +00:00
Simon Huber
fd14e94610
Add whitespace trims to EditToolbar Buttons ( #5076 )
...
* Add whitespace trim to EditToolbar cancel Button
* Add whitespace trim to EditToolbar delete Button
* Add whitespace trim to EditToolbar save Button
2020-11-19 16:37:36 +00:00
saqimtiaz
e2bea854b6
System tiddler syncing ( #4987 )
...
* First pass at a fix for system tiddler sync issues
* Add new filter syncFromServer
* Undo previous attempt at a fix
* Added a flag to control sync of system tiddlers from server
2020-11-19 15:59:02 +00:00
Simon Huber
da66323dc5
Remove 2em of whitespace from EditTemplate when there are no visible fields ( #5063 )
...
* Remove 2em of whitespace from EditTemplate when there are no visible fields
* Update base.tid
* Update fields.tid
* Update fields.tid
* Update base.tid
2020-11-18 18:02:40 +00:00
saqimtiaz
6f8dca956b
Colour code ImportListing rows ( #5067 )
2020-11-18 15:50:40 +00:00
jeremy@jermolene.com
d181b96518
Wikitext parser: Refactor a poorly written utility function
2020-11-18 12:05:06 +00:00
saqimtiaz
527638d5e6
Improved status messages in ImportListing to remove redundant and irrelevant messages ( #5059 )
2020-11-17 19:12:41 +00:00
Simon Huber
b95f9e6000
Partial fix for issue #4721 ( #5060 )
...
* Update new-tiddler.tid
* Update new-journal.tid
* Update new-image.tid
2020-11-17 19:08:14 +00:00
Simon Huber
eae3da0e9d
Make sidebarsegments/search-results-count work with all search tabs ( #5062 )
2020-11-17 19:05:32 +00:00
jeremy@jermolene.com
8cd13e2f89
Change default branch for GitHub saver to "main"
...
To match GitHub's new default
See also #5055 for the accompanying docs change
2020-11-17 14:47:15 +00:00
saqimtiaz
d6e055368d
Added docs for action-confirm widget, added default message for widget and improved logic for disabling it. ( #5047 )
2020-11-16 17:02:22 +00:00
saqimtiaz
fc1721709a
Cycle operator and refactored toggle operator ( #5021 )
...
* Refactored toggle operator and added cycle operator
* Better handling for operand case
* Syntax/whitespace corrections
2020-11-16 17:02:04 +00:00
Simon Huber
43061e64a6
Fix #5039 - Tag input, Type input and Fields inputs don't delete their state tiddlers on tiddler-cancel/delete ( #5049 )
...
* Update EditTemplate.tid
* Update EditTemplate.tid
* Update EditTemplate.tid
* Update tag-picker.tid
* Update tag-picker.tid
* Update type.tid
* Update fields.tid
* Update cancel.tid
* Update delete.tid
* Update type.tid
* Update ViewTemplate.tid
2020-11-16 16:54:29 +00:00