1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-07 20:44:23 +00:00
Commit Graph

3804 Commits

Author SHA1 Message Date
Mario Pietsch
ac15334bb0
Add support for disabled editor toolbar buttons & docs (#5294)
* add dynamic toolbar buttons + HowTo

* remove some whitespace.

* move howto and improve shortcut logic

* move howto

* add whitespace so it can be removed in an other PR.
2021-04-25 16:17:32 +01:00
Miha Lunar
62fdaa633a Fixed fallback range logic + added ranges to tests 2021-04-25 16:03:35 +02:00
Saq Imtiaz
ca1cf7bb41
MessageCatcher docs: corrected typo (#5632) 2021-04-25 08:24:02 +01:00
Simon Baird
792171c8fc
Two typo fixups related to surplus tilde chars (#5627) 2021-04-24 15:42:02 +01:00
Simon Baird
051a468c63
Add info on TiddlyHost saving & revised TiddlySpot (#5622)
I updated the English text only. Will need some help with the
translations.

Summary:
- Mention that TiddlySpot is deprecated and doesn't allow site
  creation any more. Suggest using TiddlyHost instead.
- Remove obsolete intructions about creating TiddlySpot sites.
- Misc editing/rewording/tweaking of existing TiddlySpot info
  for tidiness and clarity.
- Add new information about saving on TiddlyHost.
- Add logos because why not..

Note: I usually prefer the non-camel case versions of Tiddlyspot and
Tiddlyhost, but decided to go with the CamelCase WikiWords here to
fit in with the existing conventions.
2021-04-23 17:45:44 +01:00
Jeremy Ruston
85ba7ac041
Extend list widget with "index" attribute (#5611)
* Extend list widget with "index" attribute

* Fix refreshing bug

* Clarify performance note
2021-04-20 09:15:11 +01:00
jeremy@jermolene.com
a725da2b39 Merge branch 'tiddlywiki-com' 2021-04-18 10:10:39 +01:00
jeremy@jermolene.com
7878e77e96 Update docs for PUT and DELETE APIs to mention CSRF requirements 2021-04-18 10:09:49 +01:00
jeremy@jermolene.com
ac022ec79f Fix typo 2021-04-11 11:28:21 +01:00
jeremy@jermolene.com
89546b3357 Add a hidden setting to control HTML sandboxing 2021-04-11 10:10:16 +01:00
jeremy@jermolene.com
55173c17a3 Remove obsolete link 2021-04-10 16:42:25 +01:00
Saq Imtiaz
7f3fed2f50
Update DropzoneWidget.tid (#5598) 2021-04-10 10:23:16 +01:00
Saq Imtiaz
eced60853f
Extend Dropzone widget (#5597)
* Extend dropzone widget with optional actions invoked after tm-import-tiddlers message has been sent. Allows triggering an alternative UX for the import

* Allow restricting a dropzone to specific mimeTypes via mimeTypes and mimeTypesPrefix attributes

* Use a mimeTypesFilter instead of the mimeTypes and mimeTypesPrefix attributes

* Updated refresh handling

* Syntax cleanup

* Replace references to mimeType with content type for consistency with existing documentation. Update documentation for DropZone widget
2021-04-10 09:48:50 +01:00
jeremy@jermolene.com
b90aad9cea Fix typo in filtered permalink example
Fixes #5588
2021-04-06 13:13:12 +01:00
jeremy@jermolene.com
fdf89f83c2 Fix typo in v5.1.24 release note 2021-04-05 10:11:03 +01:00
jeremy@jermolene.com
dce425ecb8 Update release note
Apologies for the delay
2021-04-04 11:48:24 +01:00
jeremy@jermolene.com
a8fe653e3c Update contributing guidelines 2021-04-02 14:45:17 +01:00
jeremy@jermolene.com
013218b852 Further updates to contributing guidelines 2021-04-02 14:39:29 +01:00
jeremy@jermolene.com
c976aad5e0 Update the contributing guidelines
Following the discussion in #5484
2021-04-02 13:15:39 +01:00
jeremy@jermolene.com
28521d82f3 Revert "Extend transclude widget to optionally set variables"
Actually a partial reversion, because we're keeping the minor refactoring of makeChildWidget() in widget.js

This reverts commit 80ee5adb14.
2021-04-02 09:47:38 +01:00
jeremy@jermolene.com
54d3782167 Add version banner for docs for #5383 2021-04-02 09:34:27 +01:00
Cameron Fischer
ef6307a64e
Do not escape double quotes in tiddler DIVs to save space (#5383)
* double quotes are no longer escaped in html bodies

* changed tiddlyweb's html-div-tiddler; documentation

French version still needs a translation though
2021-04-02 09:32:32 +01:00
cdruan
3b35411aba
Change css-escape-polyfill to a tw uitility method (#5552)
* Replace css-escape-polyfill.js with escapecss.js utility module

* Add $tw.utils.escapeCSS() method and invoke that function within the
  escapecss operator.

* Add test cases for the "escapecss" filter operator

* Fix $tw.boot.doesTaskMatchPlatform() so it works as expected if
  a module's export.platforms contains more than one values

* Add missed files to the last commit
2021-04-02 09:25:01 +01:00
FND
c3955c3cf9
Add another podcast link (#5567) 2021-03-24 21:21:45 +00:00
jeremy@jermolene.com
8d763f7682 Merge branch 'tiddlywiki-com' 2021-03-22 15:24:15 +00:00
jeremy@jermolene.com
f5887d9e25 Add a link to the community aggregator 2021-03-22 15:22:49 +00:00
twMat
0beac47243
Update SelectWidget.tid (#5556)
Placeholder value - Correction of previous attempt.
2021-03-21 16:55:18 +00:00
twMat
99bef2614c
Update SelectWidget.tid (#5555)
Added instrux for placeholder value. [Ref.](https://github.com/Jermolene/TiddlyWiki5/issues/5544)
2021-03-20 22:43:35 +00:00
jeremy@jermolene.com
80ee5adb14 Extend transclude widget to optionally set variables
Partially fixes #5199
2021-03-19 15:37:59 +00:00
Cameron Fischer
427eb6d085
Refactored filter tests to use nifty spyOn method (#5550) 2021-03-18 08:57:21 +00:00
Mario Pietsch
715ce6b603
Add tag: Community Edditions (#5548)
Add tag: Community Edditions
2021-03-18 08:54:54 +00:00
jeremy@jermolene.com
85646e5db3 Update tw5.com docs macro to allow macros within examples
This was supposed to be committed before 9eda02868
2021-03-09 18:11:36 +00:00
jeremy@jermolene.com
9eda02868f Introduce messagecatcher widget 2021-03-09 18:07:07 +00:00
jeremy@jermolene.com
c69a3e827a Include correct plugin library in prerelease edition 2021-03-08 23:01:55 +00:00
twMat
3c9ee052a3
Update SystemTags.tid (#5530)
Interestingly, in spite of the missing quote characters, the tiddler renders well on 

https://tiddlywiki.com/#SystemTags

but not on 

https://tiddlywiki.com/prerelease/#SystemTags
2021-03-08 18:00:41 +00:00
jeremy@jermolene.com
5e4430dbf9 Fix Radio widget to refresh selectively, and use the checked attribute properly 2021-03-07 15:49:07 +00:00
jeremy@jermolene.com
93f4b5dac9 Merge branch 'tiddlywiki-com' 2021-03-07 10:33:08 +00:00
jeremy@jermolene.com
b58e4236b7 Docs tweaks
* The "tip" macro isn't designed to be used in a table cell (it generates a blockquote)
* We avoid full stops at the end of table entries or list items

It seems to be incredibly hard to police consistency with documentation but I think it's very important
2021-03-07 10:32:51 +00:00
jeremy@jermolene.com
60e40b5af9 Merge branch 'tiddlywiki-com' 2021-03-07 10:25:45 +00:00
jeremy@jermolene.com
6e93770459 Update RangeWidget and RadioWidget examples from #5158
@pmario we avoid using the details element because it doesn't remember its state across refreshes. It's not something that we should encourage people to use if they don't understand the limitations.

I also simplified the radio widget example because putting all the options on one line with a vertical bar separator is not a common way to display radio buttons.
2021-03-07 10:23:14 +00:00
morosanuae
5ad1193eb6
Create TW Icons by morosanuae.tid (#5495) 2021-02-13 20:16:06 +00:00
jeremy@jermolene.com
40d21f607a Docs: Minor formatting tweaks
I was cloning this docs tiddler to experiment with docs for a new widget and noticed some punctuation inconsistencies
2021-02-07 12:48:06 +00:00
jeremy@jermolene.com
9f9ce6595b Make it easier to subclass the wikitext parser with a custom rule set
We can now pass arrays of rule classes to the parser constructor, overriding the rules that would normally be used by the parser.

This allows us to create custom variants of the wikitext parser with their own content type.

It could also provide a basis for a new Markdown parser based on our existing wikitext parser but with new rules.
2021-02-03 15:13:56 +00:00
Cameron Fischer
4c7dcb83d1
Fix for #3306, inline/block widget glitch (#5452)
* Fix for #3306, inline/block widget glitch

* Just realized we don't need to set lastIndex anymore

* Forgot that parseBlocks doesn't use options
2021-01-29 14:57:30 +00:00
Cameron Fischer
45355a7fcf
Wikirules now use better macrocall parser (#5451)
* wikirules now use better macrocall parser

Before, wikirules would use a deficient macrocall parser which couldn't
handle certain types of arguments. Now it uses the same one that the
widget parser uses. Less code!

* style changes and removing weird switch statement

That switch statement made more sense in an earlier iteration.

* comment improvements

* oops, wikirule macrocalls could do ONE thing better

* '=' wasn't allowed for widget macros, but why?

Now they're allowed for both widget macros and macrocall macros.
2021-01-29 13:26:31 +00:00
jeremy@jermolene.com
8bab081c9e Remove illegal character from filename
Fixes #5430 for tiddlywiki-com branch
2021-01-27 17:21:25 +00:00
Joshua Fontany
4667139864
Rename TW5-firebase: TiddlyWiki5 for Google Firebase by Peter Neumark.tid (#5430)
* Delete TW5-firebase: TiddlyWiki5 for Google Firebase by Peter Neumark.tid

Delete file with illegal character in filename

* replace file without illegal character

* fixed ext
2021-01-27 17:18:54 +00:00
jeremy@jermolene.com
b4605e3573 Merge branch 'tiddlywiki-com' 2021-01-21 17:05:58 +00:00
jeremy@jermolene.com
674d55db06 Docs typo 2021-01-21 17:02:21 +00:00
leehawk787
678ec7b3dd
Update Saving to a Git service.tid (#5427) 2021-01-21 17:00:38 +00:00
BlueGreenMagick
1ec532ea50
Update WikiRuleModules.tid (#5429) 2021-01-21 16:57:12 +00:00
jeremy@jermolene.com
ae273a08f1 xlsx-utils: Fix demo spreadsheet
Somehow it had an error in it
2021-01-16 16:09:42 +00:00
Peter Neumark
ce8c03250c
Other Resources: fixed TW5-firebase URL (#5411) 2021-01-15 16:52:44 +00:00
Nicolas Petton
82b7167d55
Update the Notebook theme tiddler (#5387)
* Update the title to be shorter.
* Update the description to follow the description on
  https://nicolas.petton.fr/tw/notebook.html.
2021-01-15 12:20:55 +00:00
Nicolas Petton
afa490a0c1
Fix a typo in WebServer Parameter_ sse-enabled.tid (#5407) 2021-01-15 12:20:22 +00:00
Peter Neumark
8344d13efb
Add TW5-firebase (#5408)
* Added resource tiddler for TW5-firebase

* Signing the CLA
2021-01-15 12:17:28 +00:00
Nicolas Petton
17b4f53ba2
Add server sent events (#5279)
* Create server-sent-events.js

* Create sse-change-listener.js

* Implement server sent events

* Convert to ES5 and wrap in function

* Use the host string from tiddlyweb

* Improve comments in sse-server.js

* Can't use object reference as key

* Add retry timeout

* Fix a bug

* bug fix

* Fix formatting

* Fix ES5 compat

* capitalize comments

* more fixes

* Refactor tiddlywek/sse-server.js

* Extract helper functions for handling wikis and connections.
* Replace JSDoc comments.
* Fix formatting according to TW core.
* Simplify the logic for adding and removing connections.

* Fix formatting of tiddlyweb/sse-client.js

Fix formatting according to TW core.

* Fix formatting of server-sent-events.js

Fix formatting and comments following TW core guidelines.

* Extract a debounce function in sse-client.js

* Avoid using startsWith in server-sent-events.js

startsWith is part of ES2015, while TiddlyWiki uses the 5.1 dialect.

* New sse-enabled WebServer parameter

* If not set to "yes", disabled SSE request handling.
* Add documentation for the parameter in core/language/en-GB/Help/listen.tid
* Add new tiddler editions/tw5.com/tiddlers/webserver/WebServer Parameter_ sse-enabled.tid

* Disable polling for changes if SSE is enabled

* Add sse_enabled to /status JSON response
* Store syncer polling status in $:/config/SyncDisablePolling
* Handled disabling polling in core/modules/syncer.js

* Simply boolean logic in syncer.js

* Delete trailing whitespaces in syncer.js

Co-authored-by: Arlen22 <arlenbee@gmail.com>
2021-01-15 10:37:55 +00:00
Nicolas Petton
a8457f7f9e
Add a community resource tiddler documenting Projectify (#5372) 2021-01-13 12:51:48 +00:00
Cameron Fischer
b8a9826f23
Cleaned up jasmine test suite output (#5377)
* Cleaned up jasmine test suite output

Also testing for expected log messages, instead of just letting them print
to the console every single time, constantly making you think there's some
warning you need to worry about, and making all those dots not line up nicely.

* switched single quotes to double in collectLogs
2021-01-09 20:53:17 +00:00
Cameron Fischer
65932a9b21
Memory efficient linked list (#5380)
* Outlines of the mem efficient linked list

Need to stop for now. Found problem with $tw.utils.pushTop that I need
consultation for.

* Link list throws when given non-string vals

* Think I got rid of the last LinkList infinite loops

* LinkedList push better; fixed coding conventions

* Cleaning up LinkedList code and tests

* Ready to ship new mem efficient Linked List

* Switching to double quotes in LinkedList
2021-01-09 20:52:34 +00:00
CodaCoder
5125b91b3f
Update Formatting List Results as Tables with CSS - Specified Columns Methods.tid (#5375)
-moz-column* seems to have been dropped in Firefox. Added the non-prefixed, standard properties.
2021-01-07 18:22:05 +00:00
jeremy@jermolene.com
eadbd62e6d Fix "modified" dates for tiddlers modified in #5353 2021-01-06 15:12:05 +00:00
donmor
5832002feb
Docs: Create Japanese (Japan) Edition.tid (#5324)
Added the Japanese version tiddler since the Japanese version of empty.html exists
2021-01-04 11:05:41 +00:00
jeremy@jermolene.com
6a98106679 Update styles docs
Fixes #1691
2021-01-04 09:15:28 +00:00
CodaCoder
d5175e4fdc
Update EventCatcherWidget.tid (#5335)
* Update EventCatcherWidget.tid

Changed "JavaScript events" to "DOM-initiated Javascript events". 
Removed the quotes from `"event"`. 
Tightened up some of the language.

* Update EventCatcherWidget.tid

Edited/reworded as per discussion(s).
2021-01-04 08:40:35 +00:00
Chris Nicoll
6edcbfd0cd
Fix typos and Refnotes URL in kookma resources (#5365)
Co-authored-by: clutterstack <clutterstack@gmail.com>
2021-01-04 08:39:14 +00:00
Cameron Fischer
be70e5851d
Taking advantage of linkedLists in all operator (#5362)
* Taking advantage of linkedLists in all operator

* Test to confirm [all[]] with LinkList is the same
2021-01-04 08:38:50 +00:00
Mario Pietsch
6f62c4fc7f
Add missing tags (#5360) 2021-01-03 19:29:17 +00:00
Joshua Fontany
bbe94f3544
Cleaned up Customising Tiddler File Naming docs (#5320)
* cleaned up Customising Tiddler File Naming

* revereted to british customis*
2021-01-03 11:50:39 +00:00
Rob Hoelz
69e595abf9
Add docs on share plugin (#5331)
…and mention it in the "sharing tiddlers" tiddler
2021-01-03 11:48:17 +00:00
jeremy@jermolene.com
9434e95396 Fix PETTIL url
Fixes #5348
2021-01-03 10:48:13 +00:00
Odin
4ee3ded04a
Fixed typo in Community.tid (#5356) 2021-01-03 09:51:20 +00:00
Odin
87704b1770
Tiddlywiki com - Update to the Community page (#5353)
* Replaced the 'resources' tab with: Editions, Plugin, Themes, Palettes, Other resources.

* Added tiddlers that lists the new categories to be used in the Community tabs tiddler

* Added three themes for in the Community Themes section of the community page.

* Added three community made edtitions to the Community Editions tabs of the community page.

* Removed David Giffords Obahiah by his request.

* Added two palettes into the Community Palettes tab.

* Changed the link of 'PETTIL - Forth for the Commodore PET' to webarchive as discussed in pull request #5116

* removed four tiddlers because of dead links.

* Changed the dead link in Tiddlydrive add-on by Joshua Stubbs to link to the projects github instead.

* Fixed titltes in the community tabs macro.

* Sorted all entries into their new categories, updates tags accordingly and moved tid files into new folders according to their new category.

* final edit for sorting
2021-01-02 20:46:19 +00:00
Joe Bordes
0ea89970d1
Doc(Developer) typo (#5354) 2021-01-02 17:39:46 +00:00
Jeremy Ruston
7ec6d37031 Fix filename of new release banner 2020-12-29 14:08:09 +00:00
Jeremy Ruston
24646e1993 Adjust placeholder release banner for readability 2020-12-29 13:27:00 +00:00
jeremy@jermolene.com
1e1b52088f Preparing for v5.1.24 as new prerelease
The new release banner is a placeholder; we'll run the competition once the release has taken shape a little.
2020-12-29 12:06:30 +00:00
jeremy@jermolene.com
2ab5fd9abb Preparing for release of v5.1.23 2020-12-24 13:37:18 +00:00
jeremy@jermolene.com
f6339d437e Release note: Jazz up the contributor list 2020-12-24 13:21:06 +00:00
jeremy@jermolene.com
8e61e37f2b Release note: More tweaks and reformatting 2020-12-24 13:10:44 +00:00
jeremy@jermolene.com
2632ed0078 Release note: coloured badges for different types of changes 2020-12-24 11:47:36 +00:00
jeremy@jermolene.com
03ad396db1 Start to rearrange release note into topics
The previous groupings were getting too large to manage
2020-12-22 19:12:12 +00:00
jeremy@jermolene.com
9e70e89a84 Update Release Note 2020-12-22 17:34:24 +00:00
jeremy@jermolene.com
625c3de6f7 Merge branch 'tiddlywiki-com' 2020-12-22 11:49:18 +00:00
jeremy@jermolene.com
ddda9a34ae [Docs] Update links to developer discussions 2020-12-22 11:48:40 +00:00
twMat
c0a56e790d
Update title.tid (#5292) 2020-12-18 20:19:02 +00:00
jeremy@jermolene.com
3c003364d2 Add the Atrounoush's winning banner design for v5.1.23
The image was received with a transparent background, but I adjusted it to give it a white background to ensure it is readable with all colour schemes.
2020-12-15 11:59:07 +00:00
Simon Huber
f968130696
Update Customising search results.tid (#5233) 2020-12-15 10:38:16 +00:00
jed
e046d5ad76
Create Hook_th-make-tiddler-path.tid (#5274)
Documentation for the hook
2020-12-14 19:20:29 +00:00
Robin Munn
3c3cd4673e
Railroad diagram for filter expression now includes named prefixes (#5278) 2020-12-14 19:18:51 +00:00
jeremy@jermolene.com
81947edd5c Dev: Update hook mechanism docs 2020-12-13 20:01:47 +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
Saq Imtiaz
3016b3d094
Docs update for Set Widget (#5239)
* Update docs for Set Widget

This updates the docs for Set Widget to add a tip regarding a common source of misunderstanding for users, i.e. using Filtered List Variable Assignment and being confused as to why the value of the variable is in double square brackets.

* Corrected typos
2020-12-09 11:12:57 +00:00
Saq Imtiaz
da5d12d6fb
Docs for :reduce filter run prefix (#5238) 2020-12-09 11:11:14 +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
Simon Huber
2c76cfa67a
Use displayshortcuts macro for keyboard_driven_input_macro tiddler (#5226)
* Update keyboard-driven-input_Macro.tid

* Update keyboard-driven-input_Macro.tid
2020-12-07 14:44:07 +00:00
Simon Huber
5df0225356
Update Customising search results.tid (#5225) 2020-12-07 10:22:02 +00:00
jeremy@jermolene.com
43a3228200 Update Performance docs for macro parsing optimisation
Replacing #5216
2020-12-06 14:02:06 +00:00
jeremy@jermolene.com
96d4f87e78 Revert "Update documentation on Performance (#5203)"
This reverts commit f798eab33f.
2020-12-06 14:01:03 +00:00
Saq Imtiaz
a8c1e6a3bd
Update performance documentation (#5216)
Documents the change to macro parsing from #5205 
This builds on documentation changes made in the tw.com branch and is therefore based on that branch, but should not be merged before 5.1.23 is live.
2020-12-06 13:57:47 +00:00
jeremy@jermolene.com
36fe519eff Merge branch 'tiddlywiki-com' 2020-12-06 13:56:43 +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
Saq Imtiaz
f798eab33f
Update documentation on Performance (#5203) 2020-12-05 16:30:49 +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
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
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
Mohammad Rahmani
15be409c42
Minor issue in example of Import Variables Widget (#5165)
an unbalanced [ was resolved.
2020-12-03 22:27:21 +00:00
Robin Munn
c92f9dd404
Docs for trim operator suffix use from-version (#5161)
Trim suffix was introduced in version 5.1.23; docs should mention that.
2020-12-03 21:20:23 +00:00
Rob Hoelz
2bbcc94b4d
Add documentation for shortcuts introduced in 5.1.20 (#4324) 2020-12-03 21:19:25 +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
Robin Munn
e620aaed80
Fix a couple typos in "deprecated feature" warning (#5174)
One tiddler had been renamed since the deprecation warning tiddler was
created, and there were also a couple of minor punctuation and/or
spelling errors.
2020-12-02 16:59:04 +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
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
Joshua Fontany
68cb08749f
Docs for filesystem adaptor update (#5169)
* rebased to master

* cleanup typos

* typo
2020-12-01 17:36:38 +00:00
jeremy@jermolene.com
13b69a9c10 Missing docs for working with negative years 2020-12-01 15:51:07 +00:00
jeremy@jermolene.com
b63049b4df Fix tests to work in other timezones
Oops.
2020-12-01 10:52:24 +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
Rob Hoelz
abe9af1369
Add documentation for indexer modules (#4873) 2020-11-30 22:10:07 +00:00
Florian Kohrt
6f09a5ee65
Fix link to TiddlyWikiFolders (#4843)
* Fix link to TiddlyWikiFolders

* Better link to tiddlywiki.info reference tiddler
2020-11-30 21:34:00 +00:00
Florian Kohrt
706fc3e06e
Fix typo; closes #4815 (#4844) 2020-11-30 21:33:16 +00:00
Mario Pietsch
1de747b182
add docs for radio-actions (#5156) 2020-11-30 18:48:48 +00:00
jeremy@jermolene.com
3406b98af6 Add "autocomplete" attribute to <$edit> and <$edit-text> widgets 2020-11-30 18:48:04 +00:00
Robin Munn
4f13848ca2
Document using double hashes for anchor links (#5149)
This is based on #3836, updated and revised with the edits made by
Watt on the Google Group.
2020-11-30 17:54:45 +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
Robin Munn
4623c45d29
Tag trim operator as a string operator (#5147)
* Tag trim operator as a string operator

With the new functionality of the trim operator in 5.1.23, it's now a
general-purpose string manipulation tool. So it should be given the
"String operators" tag so that people see it in the same list as
removeprefix and removesuffix, etc.

* Document suffix of trim operator
2020-11-30 17:30:51 +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
Robin Munn
5887c6621e
Create "Filter Run Prefix (Examples)" tiddler (#5144)
Move the `+` vs `:intersection` example into a separate Examples tiddler
which can be expanded on later.
2020-11-29 15:45:39 +00:00
saqimtiaz
12bb938463
Corrected typo in contributor's name (#5138) 2020-11-28 22:05:54 +00:00
Jeremy Ruston
e54f3368e9 Update contributors list in release note 2020-11-28 21:43:09 +00:00
jeremy@jermolene.com
98e60758a9 Updated Release Note 2020-11-28 17:32:42 +00:00
Simon Huber
09d7a77f1b
Add default "tiddlywiki" styles to CodeMirror and Highlight.js (#5128)
* Update styles.tid

* Update styles.tid

* Update theme.tid

* Delete cm-theme-tiddlywiki.tid
2020-11-28 14:07:12 +00:00
jeremy@jermolene.com
3e3f185562 Clarify behaviour of self closing tags 2020-11-25 09:44:48 +00:00
saqimtiaz
6c98bb706a
Docs for switching layouts (#5109) 2020-11-24 21:38:18 +00:00
saqimtiaz
0e247c991d
Update modifier variable docs (#5114)
Listing the potential key combination in a single line is hard to read and also redundant when we have the same information in the table below.
2020-11-24 21:19:37 +00:00
jeremy@jermolene.com
c854e518fa Add support for $:/info/darkmode (and for dynamic info tiddlers) 2020-11-24 19:01:33 +00:00
saqimtiaz
cb62c8c96d
Docs for eventcatcher (#5097) 2020-11-23 17:07:41 +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
a0f145197c
Correct error in operator documentation (#5084) 2020-11-20 21:34:43 +00:00
saqimtiaz
c97003238b
Doc updates for ActionLog and Log widgets (#5081) 2020-11-20 18:37:48 +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
89541edcff
Added mathematics filter operators power and log (#5080) 2020-11-20 14:00:20 +00:00
jeremy@jermolene.com
0d434583ec Merge branch 'tiddlywiki-com' 2020-11-19 10:01:23 +00:00
jeremy@jermolene.com
a81b7fc9f4 Remove extraneous modifier/creator fields
Fixes #5068
2020-11-18 18:21:38 +00:00
saqimtiaz
1a8c6fdc4b
Docs: Added example of how to remove stop words (#5066)
* Added example of how to remove stop words

* Moved filter operator example tiddlers to correct folder
2020-11-18 15:56:38 +00:00
Mohammad Rahmani
6d5ea90bfd
Add resources by Mohammad (#5061)
* Correct for new GitHub default branch

This PR corrects the default branch of GitHub from master to main. This is ne GitHub repository configuration from Oct 1st, 2020

* Update Saving to a Git service.tid

GitLab still uses `master` as default branch.

* Add Kookma plugins as resources

Some of Kookma resources including TW-Scripts, Commander, Trashbin, Todolist has been added.

* Revert "Add Kookma plugins as resources"

This reverts commit 199fce3a08.

* Adding Resources by Mohammad

This PR adds resources created by Mohammad mostly in GitHub
2020-11-17 19:07:32 +00:00
Mohammad Rahmani
3b75297168
Correct for new GitHub default branch (#5055)
* Correct for new GitHub default branch

This PR corrects the default branch of GitHub from master to main. This is ne GitHub repository configuration from Oct 1st, 2020

* Update Saving to a Git service.tid

GitLab still uses `master` as default branch.

* Add Kookma plugins as resources

Some of Kookma resources including TW-Scripts, Commander, Trashbin, Todolist has been added.

* Revert "Add Kookma plugins as resources"

This reverts commit 199fce3a08.
2020-11-17 14:45:32 +00:00
saqimtiaz
2b60ab1fdc
Doc updates for Modals (#5057) 2020-11-17 14:43:46 +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
Robin Munn
d8d88c67e3
Fix minor mistake in ButtonWidget docs (#5050)
The ButtonWidget documentation refers to a "state" attribute, but this
should probably be "set". The name "state" appears to be an artifact
from when the setTitle, setField, and setIndex attributes were added to
the widget; at one time they were called stateTitle and so on, and then
they were renamed to setTitle instead, but not every instance of "state"
was found and renamed to "set". This is one such instance, now fixed.
2020-11-16 16:50:32 +00:00
Robin Munn
ffd6a8cce7
More documentation for :intersection filter prefix (#5051) 2020-11-16 16:32:28 +00:00
saqimtiaz
13499557bf
Fix whitespace in x-listops.js and tweak toggle operator (#5024)
* Replaced leading spaces with tabs

* Tweak toggle[] to insert new value in same list position
2020-11-15 16:04:03 +00:00
Simon Huber
2aa6e761fd
Make Tag-Picker Macro work with every field (#5035)
* Make tag-picker work with every field

* Make EditTemplate/tags work with every field

* Make NewTiddlerTags and NewJournalTags selectable through tag-picker

* Update tag-picker Macro Docs
2020-11-15 12:04:50 +00:00
jeremy@jermolene.com
1b31c25ea7 Introduce <$action-log> widget to help debugging action strings 2020-11-14 13:00:00 +00:00
saqimtiaz
568990409a
Fix typo in toggle operator docs (#5020) 2020-11-09 20:43:44 +00:00
saqimtiaz
09f7ad84b2
Added disabled attribute to input widgets (#5014)
* checkbox widget: added disabled attribute

* Range widget: added disabled attribute

* Radio widget: added disabled attribute

* EditText widget: added disabled attribute
2020-11-09 18:28:12 +00:00
saqimtiaz
445c15e719
Extend toggle operator (#5015)
* Extend toggle operator to support optional second operand to toggle a value pair

* Added tests for extended toggle filter

* Updated docs for toggle operator
2020-11-09 18:27:45 +00:00
saqimtiaz
519ce3e89d
Update Release 5.1.23.tid (#5005)
Updated release notes
2020-11-08 22:37:43 +00:00
saqimtiaz
71194d8767
Added disabled attribute support to ButtonWidget (#5010)
* Added disabled attribute to ButtonWidget

* Update ButtonWidget.tid
2020-11-08 22:32:27 +00:00
Robin Munn
e72d90c227
More examples for enlist-input operator (#4968)
The examples should also show what would happen without the operator, to
give a better feel for why it's useful.
2020-11-08 11:47:15 +00:00
Simon Huber
c729115506
Update modifier Variable.tid with a test-button and... (#5002)
... a tip for meta-key detection on various operating systems
2020-11-08 11:46:13 +00:00
Simon Huber
9854a4fc08
Fix #4998 - Pressing Enter creates Missing Tiddler (#5001)
* Update search.tid

* Update Filter.tid

* Update Shadows.tid

* Update Standard.tid

* Update System.tid

* Update search.tid

* Create Hidden Setting Search-NavigateOnEnter.tid
2020-11-08 11:43:24 +00:00
Simon Huber
9fe4c4889a
Add "meta" to getEventModifierKeyDescriptor (#5000)
* Add "meta" to getEventModifierKeyDescriptor

* Update modifier Variable.tid
2020-11-08 10:15:29 +00:00
saqimtiaz
66636d1a86
Docs for new operators (#4994)
* Docs for is[draft]

* Better error handling for suffixes

* Docs for search-replace operator

* Added tests for search-replace operator

* Docs for toggle operator
2020-11-08 09:34:05 +00:00
saqimtiaz
2a7cdb22c0
Documentation for multiple filter operands (#4969) 2020-11-08 09:32:37 +00:00
saqimtiaz
ee250bf6c9
Updated release notes (#4997) 2020-11-08 09:26:58 +00:00
saqimtiaz
2b31c7a509
Multiple operands for filter operators (#4964)
* Firt pass at adding multiple operands to filter operators

* Optimized parsing of multiple operands and added more tests. Need more flexibility for interpreting multiple operands as variables/text references

* Add support for parsing text references and variables in multiple operands

* Added string-replace filter for testing multiple filter operands

* Added more tests for variables and text references in operands

* Removed string-replace operator and some whitespace corrections

* Removed string-replace operator and some whitespace corrections

* Added test with comma in operand
2020-11-07 09:47:08 +00:00
saqimtiaz
70561bd481
Added docs for enlist-input filter operator (#4966) 2020-11-02 22:50:22 +00:00
saqimtiaz
2f5f0db00f
Added docs for :intersection filter run prefix (#4967) 2020-11-02 22:49:50 +00:00
Simon Huber
f29d24a1f5
Doc updates for keyboard-driven-input (#4963) 2020-11-02 19:04:25 +00:00
saqimtiaz
e7245a709c
Add string operator enlist-input[] (#4948)
* Add string operator titlelist[]

* Update strings.js

* Update strings.js

* Add tests
2020-11-01 17:11:46 +00:00
Robin Munn
c0b021f509
Typo fix (#4951) 2020-11-01 11:03:59 +00:00
Robin Munn
77fe6244a2
Fix bug with sortan operator called on date fields (#4839)
* Add failing unit test that shows the bug

* Fix the bug
2020-11-01 10:45:18 +00:00
Robin Munn
cae32d39a5
Improve documentation for reduce operator (#4936) 2020-10-29 13:00:49 +00:00
twMat
4914208011
Update Configuring startup tiddlers.tid (#4009) 2020-10-29 12:57:11 +00:00
saqimtiaz
f5ad5010bc
Added documentation for ':filter' prefix for filter runs. (#4920) 2020-10-28 12:00:18 +00:00
Simon Huber
e43ffe860b
Fix #4910 - "Editor link dropdown is broken in pre-release." (#4913)
* fix #4910 in sidebarsegments/search

* fix #4910 in editortoolbar/link-dropdown

* fix #4910 in keyboard-driven-input macro

* Update keyboard-driven-input_Macro.tid

* Fix #4910 in tag-picker macro

* Update tag-picker.tid
2020-10-27 17:33:06 +00:00
saqimtiaz
d0081a7247
Updated Filter docs for named filter run prefixes (#4917) 2020-10-27 16:49:56 +00:00
jeremy@jermolene.com
9eec6ff915 Update path-prefix docs
Addressing @OblivionSY's comment https://github.com/Jermolene/TiddlyWiki5/issues/4898#issuecomment-717207456
2020-10-27 12:32:06 +00:00
saqimtiaz
83f976ea54
Extended tiddlywiki.files to allow optionally saving changes to a tiddler back to the original file location (#4914) 2020-10-26 17:36:50 +00:00
Mario Pietsch
15338e60e8
Get "New Release Banner" from TW5-com edition (#4912)
* Fix state tiddlers for action-create-tiddlers examples

* Get "New Release Banner" from TW5-com edition
2020-10-25 22:03:35 +00:00
jeremy@jermolene.com
f7f55e8eff Add support for username/password parameters for tm-login message 2020-10-25 16:33:44 +00:00
jeremy@jermolene.com
5cc1600072 Introduce post-render startup actions 2020-10-25 16:22:21 +00:00
Simon Huber
a1b486436e
update TabsMacro.tid with "actions" and "explicitState" attribute (#4902) 2020-10-23 19:33:46 +01:00
saqimtiaz
adf0c1a12a
Documentation for format filter operator (#4895)
* Documentation for format operator

* Examples for format operator
2020-10-23 16:25:05 +01:00
saqimtiaz
fd4cfaeb02
Typo in username (#4896) 2020-10-23 16:24:33 +01:00
Simon Huber
ae8ee5b955
Update modifier Variable.tid (#4894)
* Update modifier Variable.tid

This updates the "modifier Variable" tiddler

* Update modifier Variable.tid
2020-10-23 16:23:54 +01:00
Mario Pietsch
7686be7b14
Fix state tiddlers for action-create-tiddlers examples (#4897) 2020-10-23 16:23:17 +01:00
jeremy@jermolene.com
d254612826 Update and rearrange release note 2020-10-19 09:51:11 +01:00
jeremy@jermolene.com
41931082e6 Update release note 2020-10-18 14:42:25 +01:00
jeremy@jermolene.com
5af76c5ea1 Extend TOC macros to allow custom link targets 2020-10-17 13:44:15 +01:00
jeremy@jermolene.com
1446a1e44c Extend tm-scroll to accept CSS selector to identify the target 2020-10-14 15:59:27 +01:00
jeremy@jermolene.com
69c12618d9 Syncer: Allow syncadaptor to customise the login prompt 2020-10-14 12:41:51 +01:00
jeremy@jermolene.com
2fc62c1a52 Merge branch 'tiddlywiki-com' 2020-10-08 16:49:00 +01:00
jeremy@jermolene.com
5ebd98779a Update Quine 2 URL 2020-10-08 16:46:57 +01:00
jeremy@jermolene.com
14a28b7779 Add "reduce" and "filter" operators 2020-10-06 19:20:03 +01:00
jeremy@jermolene.com
0027b990e4 Move tw5.com docs tiddlers to the correct folders 2020-10-04 17:36:08 +01:00