1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-12 21:09:57 +00:00
Commit Graph

3836 Commits

Author SHA1 Message Date
jeremy@jermolene.com
bf6735420d Fix SVG favicons 2020-05-10 11:58:40 +01:00
jeremy@jermolene.com
34181230c7 Release note update 2020-05-09 16:08:46 +01:00
jeremy@jermolene.com
4966f6ab62 Add slugify and duplicateslugs operators
Fixes #3379
2020-05-09 15:54:44 +01:00
jeremy@jermolene.com
48dfadd85b InfoMechanism: Add $:/info/startup-timestamp 2020-05-06 11:05:54 +01:00
Nicolas Petton
71a827eead
Fix mailto links Forums.tid (#4616)
To avoid users being mislead when trying to subscribe by email to one of the
Google Groups, put only the relevant mailto link in each forum section.

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2020-05-06 09:51:11 +01:00
Rizwan
31c4fd586b
Docs updates and fixing broken links (#4628)
* Corecting URL of LuckySushi shop

* Android-Instructions remained for Andtidwiki

* Updating description and feature set of Timimi
Updating URL of Widdly
Resolving minor camelcase issues in TiddlySpot

* Detailed instructions about termux and adding it to save methods

* Correcting the words "open source" and "Unix"

* Changing link protocols of verified domains to https
2020-05-06 09:40:42 +01:00
jeremy@jermolene.com
7ee9003df7 Release note update 2020-05-03 19:06:28 +01:00
jeremy@jermolene.com
6a0ff7db18 JSZip Plugin: Add ability to build and download ZIP files 2020-05-02 21:22:44 +01:00
jeremy@jermolene.com
85fd43a38c Update release note 2020-05-02 14:09:47 +01:00
jeremy@jermolene.com
9cd5415dfe Add new favicon for prerelease
Fixes #4619
2020-04-30 18:00:33 +01:00
jeremy@jermolene.com
7f01445903 Update information about Quine for iOS 2020-04-29 17:02:17 +01:00
jeremy@jermolene.com
ad575efdcc Update sortsub to evaluate the subfilter for each item in the list
See the discussion here https://groups.google.com/d/msg/tiddlywiki/BqUFQ3v-fZw/U0F04CFFBQAJ
2020-04-25 15:22:24 +01:00
jeremy@jermolene.com
685157266d Release note update 2020-04-25 11:27:31 +01:00
jeremy@jermolene.com
619c0752bd Add new sortsub operator 2020-04-25 11:26:19 +01:00
jeremy@jermolene.com
bed76b9a32 Release note: fix typo
Thanks @BramChen
2020-04-23 09:41:38 +01:00
Cameron Fischer
2385bd978f
Fix importvariables crash (#4593)
* Fixed issue: multi nonMacro imports broke everything

* Fixed issue: dead variables in import might linger
2020-04-23 09:10:52 +01:00
jeremy@jermolene.com
1cc5c5e7f0 Update release note
And fix the github comparison link so that it works for the prerelease
2020-04-22 17:47:34 +01:00
jeremy@jermolene.com
2a8f7a9c50 Add support for _canonical_uri field of $:/favicon.ico 2020-04-22 16:40:02 +01:00
jeremy@jermolene.com
a4fb57bf15 Fix typo in BrowseWidget docs 2020-04-22 12:10:34 +01:00
jeremy@jermolene.com
77a929faa3 ActionPopup widget: Add ability to cancel all popups 2020-04-21 22:19:03 +01:00
jeremy@jermolene.com
c86a621d5d BrowseWidget: Add "accepts" attribute
And add docs for the 'message' and 'param' attributes
2020-04-21 22:18:34 +01:00
Marxsal
075321932a
Make commands for static generation more complete (#4588)
* Make commands for static generation more complete

* Added message about installing on node.js
2020-04-21 11:41:50 +01:00
jeremy@jermolene.com
d579ce942c Fix broken links in static rendering
Fixes #4577
2020-04-20 15:56:48 +01:00
jeremy@jermolene.com
d897989965 Add Product Hunt badge 2020-04-19 12:45:35 +01:00
jeremy@jermolene.com
90469679a5 Placeholder banner for v5.1.23
We'll have another competition
2020-04-18 15:52:15 +01:00
Jeremy Ruston
00686fc002 Preparing for v5.1.23-prerelease 2020-04-15 16:23:19 +01:00
Jeremy Ruston
8dd13bdb20 Preparing for v5.1.22 release 2020-04-15 16:10:54 +01:00
Jeremy Ruston
28fe82feff Merge branch 'tiddlywiki-com' 2020-04-15 16:03:38 +01:00
Jeremy Ruston
74eb7e8031 Release note update 2020-04-15 15:58:02 +01:00
Mario Pietsch
22802b4be8
Action create tiddler improvements (#4436)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* add $template and $overwrite parameter

* documentation for new parameters + 4 new examples

* remove unwanted files
2020-04-15 15:51:21 +01:00
Mario Pietsch
de5b0062b5
Add new parameters to fields-widget and fields-operator. (#4433)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* extend fields-widget with include/exclude/sort/reverse and fields-filter with include and exclude params plus DOCS

* remove new-line

* remove eslint settings

* restore old eslint settings

* remove typo
2020-04-15 12:36:48 +01:00
Bram Chen
01226fbe90
Fix wrong configurations in tiddlywiki.info for editions zh-Hant and zh-Hans (#4564) 2020-04-15 10:24:46 +01:00
Jeremy Ruston
6507397343 Update release note 2020-04-14 22:02:51 +01:00
Jeremy Ruston
69e6da9f5c Fix link 2020-04-14 22:02:40 +01:00
Cameron Fischer
65347ae858
Fixed join filter operator to never returns null (#4396)
If the operator were passed an empty list, it would return null
which could cause some proceeding operators to crash.
2020-04-14 17:49:38 +01:00
scott willeke
4873e9447a
fix the example path (#4419) 2020-04-14 17:47:46 +01:00
twMat
a8c55781fa
Update ViewWidget.tid (#4441)
ref https://github.com/Jermolene/TiddlyWiki5/issues/4438
2020-04-14 17:16:07 +01:00
twMat
9313d9427d
Update RevealWidget.tid (#4451) 2020-04-14 17:15:26 +01:00
twMat
5c3a19f298
Update RangeWidget.tid (#4453) 2020-04-14 17:14:59 +01:00
Joshua Fontany
69c8058b72
Add has:index (#4540)
* has:index

* has:index

* has:index docs

* has op examples

* has op examples

* operator macros typo missing </div>

* possible mistake
2020-04-14 16:52:56 +01:00
Jeremy Ruston
27ab7d81b7 Merge branch 'tiddlywiki-com' 2020-04-14 15:16:38 +01:00
Jeremy Ruston
4cc98e361c Release note update 2020-04-13 11:11:24 +01:00
Jeremy Ruston
fd9938f2cc Release note update 2020-04-13 10:04:37 +01:00
Jeremy Ruston
7b53f5724c Add new compare filter operator
Fixes #4554
2020-04-13 10:03:01 +01:00
Jeremy Ruston
3733f8b4ae Release note update 2020-04-12 17:59:31 +01:00
Jeremy Ruston
1ed36adab6 New release banner
Congratulations @telmiger
2020-04-08 12:44:35 +01:00
Jeremy Ruston
5393187f66 Fix missing comma in editions/tw5.com/tiddlywiki.info 2020-04-08 11:47:08 +01:00
Rob Hoelz
72159c5118
Enable indexers in tag test (#4355)
Setting enableIndexers to an empty array ends up disabling all indexers
for the wiki
2020-04-07 20:44:26 +01:00
Matt Lauber
d2f2d7a11b
Update jsonstringify Operator.tid (#4348) 2020-04-07 20:44:08 +01:00
Nils-Hero Lindemann
de5bb823fa
Enable the internals plugin by default in docs (#4335)
* Enable the internals plugin by default in docs

1. Why hide such a useful thing from the users?

2. When playing around with code examples from the docs they may want to know how the resulting html looks.

* Improve doc

* Typo

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2020-04-07 20:41:00 +01:00
Jeremy Ruston
e8506813fe Docs: fix broken link
Fixes #4266
2020-04-07 20:32:40 +01:00
Jeremy Ruston
59fd557067 Minor tweaks to plugin library listings
* Adds a name to the core plugin
* Make plugin listings consistently show "name: description"
* Make plugin listings consistently sort by title (thus grouping publishers)
* Add a missing plugin name

See discussion here: https://github.com/Jermolene/TiddlyWiki5/pull/4508#issuecomment-609671970
2020-04-06 10:15:18 +01:00
Jeremy Ruston
cf46b6b0ff Add "class" attribute to dropzone widget 2020-04-03 10:33:39 +01:00
saqimtiaz
bd449a177b
Update documentation for Modals (#4495)
Update documentation for modals to include the custom class introduced in #4485, as well as the footer and subtitle fields that don't appear to be documented.
2020-04-02 19:49:41 +01:00
Jeremy Ruston
f9638f46ca Fix release note typo 2020-04-01 12:54:25 +01:00
Jeremy Ruston
2027bd7582 Update release note 2020-04-01 12:49:35 +01:00
Jeremy Ruston
1154372a7b Update syncer to distinguish connection errors from other errors
We can automatically remove connection errors when things resume working
2020-03-31 10:47:17 +01:00
Jeremy Ruston
010483f705 Fix ActionPopupWidget example
Thanks @twmat

The example had been written while there was a bug that changed the state tiddler titles used by the sidebar
2020-03-30 20:43:17 +01:00
Jeremy Ruston
b95723a022
Fix syncer to handler errors properly (#4373)
* First commit

* Add throttling of saves

Now we refuse to save a tiddler more often than once per second.

* Wait for a timeout before trying again after an error

* Modest optimisations of isDirty() method

* Synchronise system tiddlers and deletions from the server

Fixes two long-standing issues:

* Changes to system tiddlers are not synchronised from the server to the browser
* Deletions of tiddlers on the server are not propagated to browser clients

* Make sure we update the dirty status even if there isn't a task to perform

* Replace save-wiki button with popup sync menu

* Remove the "Server" control panel tab

We don't need it with the enhanced sync dropdown

* Add indentation to the save-wiki button

* Fix spacing in dropdown menu items

* Switch between cloud icons according to dirty status

* Add a menu item to copy syncer logs to the clipboard

* Improve animated icon

* Remove indentation from save-wiki button

@pmario the annoying thing is that using `\trim whitespace` trims significant whitespace too, so it means we have to use <$text text=" "/> when we need a space that won't be trimmed. For the moment, I've removed the indentation but will keep thinking about it.

* Further icon, UI and copy text tweaks

Move the icons and styles from the core into the TiddlyWeb plugin

* Clean up PR diff

* Tweak animation durations

* Break the actions from the syncer dropdown into separate tiddlers

@pmario I think this makes things a bit easier to follow

* Refactor syncadaptor creation and logging

The goal is for the syncadaptor to be able to log to the same logger as the syncer, so that the "copy syncer logs to clipboard" data is more useful.

* Don't transition the dirty indicator container colour, just the SVG's colour

* Only trigger a sync for changes to tiddlers we're interested in

Otherwise it is triggered by the creation of the alert tiddlers used to display errors.

* Restore deleting local tiddlers removed from the server

(I had commented it out for some testing and accidentally commited it).

* Guard against missing adaptor info

* We still need to trigger a timeout when there was no task to process

* Avoid repeatedly polling for changes

Instead we only trigger a timeout call at if there is a pending task (ie a tiddler that has changed but isn't yet old enough to save).

* Lazy loading: include skinny versions of lazily loaded tiddlers in the index.html

* Introduce _is_skinny field for indicating that a tiddler is subject to lazy loading

* Remove savetrail plugin from prerelease

It doesn't yet work with the new syncer

* Make the savetrail plugin work again

* Clear outstanding alerts when synchronisation is restored

* Logger: only remove alerts from the same component

Missed off 9f5c0de07

* Make the saving throttle interval configurable (#4385)

After switching Bob to use the core syncer the throttle interval makes saving feel very sluggish compared to the message queue setup that I had before.
The editing lock that I use to prevent conflicts with multiple users doesn't go away until the save is completed, and with the 1 second delay it means that if you edit a tiddler and save it than you have to wait one second before you can edit it again.

* Tweaks to appearance of alerts

* Exclude temp tiddlers from offline snapshots

Otherwise alerts will persist

* Tweak appearance of status line in dropdown

* Update release note

* Web server: Don't include full path in error messages

Fixes #3724

* In change event handler check for deletions

* Disable the official plugin library when the tiddlyweb plugin is loaded

* Hide error details from browser for /files/ route

See https://github.com/Jermolene/TiddlyWiki5/issues/3724#issuecomment-565702492 -- thanks @pmario

* Revert all the changes to the relationship between the syncer and the syncadaptor

Previously we had some major rearrangements to make it possible for the syncadaptor to route it's logging to the logger used by the syncer. The motivation is so that the "copy logs to clipboard" button is more useful.

On reflection, changing the interface this drastically is undesirable from a backwards compatibility perspective, so I'm going to investigate other ways to achieve the logger sharing

* Make the tiddlyweb adaptor use the syncer's logger

So that both are availavble when copying the syncer logs to the clipboard

* Update release note

* Support setting port=0 to get an OS assigned port

Quite useful

* Update code comment

* UI: Use "Get latest changes from server" instead of "Refresh"

* Add getUpdatedTiddlers() method to syncadaptor API

See https://github.com/Jermolene/TiddlyWiki5/pull/4373#issuecomment-573579495

* Refactor revision handling within the syncer

Thanks @pmario

* Fix typo in tiddlywebadaptor

* Improve presentation of errors

See https://github.com/Jermolene/TiddlyWiki5/pull/4373#issuecomment-573695267

* Add docs for getTiddlerRevision()

* Remove unused error animation

* Update comment for GET /recipes/default/tiddlers/tiddlers.json

* Optimise SVG cloud image

* Add optional list of allowed filters for get all tiddlers route

An attempt to address @Arlen22's concern here:

https://github.com/Jermolene/TiddlyWiki5/pull/4373#pullrequestreview-342146190

* Fix network error alert text translatability

* Fix error code and logging for GET /recipes/default/tiddlers/tiddlers.json

Thanks @Arlen22

* Flip GET /recipes/default/tiddlers/tiddlers.json allowed filter handling to be secure by default

* Validate updates received from getUpdatedTiddlers()

* Add syncer method to force loading of a tiddler from the server

* Remove the release note update to remove the merge conflict

* Fix crash when there's no config section in the tiddlywiki.info file

* Use config tiddler title to check filter query (merge into fix-syncer) (#4478)

* Use config tiddler title to check filter query

* Create config-tiddlers-filter.tid

* Add config switch to enable all filters on GET /recipes/default/tiddlers/tiddlers.json

And update docs

* Fix bug when deleting a tiddler with a shadow

Reported by @kookma at https://github.com/Jermolene/TiddlyWiki5/pull/4373#issuecomment-604027528

Co-authored-by: jed <inmysocks@fastmail.com>
Co-authored-by: Arlen22 <arlenbee@gmail.com>
2020-03-30 15:24:05 +01:00
Jeremy Ruston
15b8545d72 Update release note 2020-03-30 14:30:09 +01:00
Jeremy Ruston
9ae2c15638 Merge branch 'tiddlywiki-com' 2020-03-30 14:29:55 +01:00
Jeremy Ruston
091bcfce7d Fix the datauri macro to work with _canonical_uri tiddlers 2020-03-30 10:55:37 +01:00
Rob Hoelz
ae04a425c0
Add backlinks indexer (#4421)
* Add tests for backlinks

* Add backlinks indexer

* Use backlinks indexer in getTiddlerBacklinks if available

* Extract link extraction into its own method

This way we can provide an arbitrary parse tree, rather than just a
title, which will allow us to compare lists of outgoing links between
versions of a single tiddler

* Use new extractLinks method in backlinks indexer

...rather than copy-pasting the implementation

* Remove ES6-isms

TiddlyWiki needs to work with browsers that only support ES5
2020-03-26 13:15:02 +00:00
Jeremy Ruston
6928842bbf Update docs for disabling drag and drop 2020-03-20 11:02:14 +00:00
Jeremy Ruston
cb52d709c2 Improve ability to disable drag and drop
Now we disable the draggable list macros too.
2020-03-20 10:46:17 +00:00
Cameron Fischer
561662782e
Fixes issue with #4504 and importvariable copying (#4518)
* Fixes issue with #4504 and importvariable copying

ImportVariables widget was using $tw.utils.extend to copy the
variables from temporary set widgets into itself. However,
$tw.utils.extend does NOT behave like Object.assign. It not only
copies all self-owned variables over, but also all variables
in that object's prototype chain. This led to some redundant copying,
and a problem where some variables might show up more than once
(like transclusion).

Fixed now. importvariables widget does its own copying, since it
can't rely on $tw.utils.extend to do the right job, and it can't
count on Object.assign to be there.

* Added test to prevent reversion of #4504

* Slight corrections to new importvariables test
2020-03-19 20:32:51 +00:00
Jeremy Ruston
c16c2fe5e6 Docs: Clarify Node.js docs 2020-03-18 11:57:58 +00:00
Jeremy Ruston
bc687e5783 Add a hidden setting for disabling the page dropzone 2020-03-15 14:46:33 +00:00
Simon Huber
22e6b20f50
Better readability for "Community" Tiddler with various ... (#4493)
... color palettes
2020-03-12 13:34:59 +00:00
twMat
2ad8d1790b
Update LinkWidget.tid (#4489) 2020-03-11 17:37:53 +00:00
Jeremy Ruston
cab9fd11dc Clarify docs on the path-prefix subcommand of the listen command 2020-03-11 17:19:21 +00:00
Jeremy Ruston
9b48a1c829 Introducing "Dynannotate" plugin for overlaying annotations 2020-03-11 16:55:19 +00:00
JesseWeinstein
d950591051
Mention importing process more explicitly (#3666)
* Mention importing process more explicitly

* Explicitly mention "images"

So this page shows up in a search for "images".

* Apply PR suggestions
2020-03-09 21:34:23 +00:00
Jeremy Ruston
a22438589e Remove unsafe externalimages build target from server edition
See #4484
2020-03-09 21:05:50 +00:00
Jeremy Ruston
6091b01386 Add hidden setting for default tiddler icon 2020-03-06 14:52:37 +00:00
Jeremy Ruston
24d2804799 Add action-popup widget
Fixes #4185
2020-03-03 12:03:32 +00:00
Jeremy Ruston
7ffe3fc91f Prerelease: Disable browser storage to make testing less confusing 2020-02-29 15:51:42 +00:00
Jeremy Ruston
e8aafdfb66 Update release note 2020-02-28 15:56:55 +00:00
Jeremy Ruston
0247d0d88b Disable sticky titles for the prerelease
Sadly, they don't play nicely with the new menu bar
2020-02-28 14:36:23 +00:00
Jeremy Ruston
ad2d4503e5 First commit of new Menu Bar plugin 2020-02-28 14:33:15 +00:00
Jeremy Ruston
4afde5a722 Enhance colour macro with a fallback to a configuration tiddler 2020-02-28 14:31:02 +00:00
saqimtiaz
5b3443947e
Update documentation for tabindex support for ButtonWidget (#4465)
Documentation for changes introduced in https://github.com/Jermolene/TiddlyWiki5/pull/4442
2020-02-23 11:27:49 +00:00
Jeremy Ruston
a339491cc0 Update release note
Better late than never
2020-02-19 14:28:27 +00:00
Jeremy Ruston
dbd2a340e0 Temporarily remove markdown plugin from prerelease
It's giving errors under Travis CI
2020-02-04 14:44:01 +00:00
Jeremy Ruston
005c584d85 First attempt at sharing plugin/edition 2020-02-04 14:06:59 +00:00
Jeremy Ruston
3df1f9c9d0 Extend jsontiddlers macro to generate unformatted output 2020-02-04 13:57:24 +00:00
twMat
9d2eff61ca
Docs: Update ViewWidget.tid (#4437) 2020-02-01 13:41:43 +00:00
Jeremy Ruston
b454e809f3 Docs: Fix typos in button widget docs 2020-01-31 17:15:09 +00:00
Mario Pietsch
db13e49724
More listops tests (#4409)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* make eslint happy

* add more listops tests

* new listops filter tests

* remove new-line

* make eslint happier.

* revert eslint settings
2020-01-31 14:09:06 +00:00
Cameron Fischer
aa817f66d2
Changed importVariable to store its own variables (#4108)
* Changed importVariable to store its ownvariables

Before, importVariables was creating a setWidget for every single variable it would find in its tiddlers, and it would create a long-ass call tree. Now, instead, it just accumulates the variables in itself.

* Can't use Object.assign

Learned the hardway while working on tw5-relink that Object.assign
doesn't exist in IE11. Using $tw.utils.extend instead.

* Retaining setWidget transclusion flexibility

* One more test to verify mixing sets and macros
2020-01-30 12:53:26 +00:00
Mario Pietsch
ba10b4fb00
Docs: bring tm-fold-xxx message docs on par with the code, that is executed. (#4353) 2020-01-30 12:50:19 +00:00
Mario Pietsch
151eed5c81
Docs: fix typos and font-size (#2795) 2020-01-30 12:49:37 +00:00
twMat
cead051c73
Docs: Update sign Operator.tid (#4426) 2020-01-29 17:18:33 +00:00
twMat
35178f41b0
Docs: Update length Operator.tid (#4428) 2020-01-29 17:14:02 +00:00
Jeremy Ruston
17fb43bd6f Introduction edition: fix some display issues
Two of the tiddlers incorporate content dynamically drawn from the core, and so the size of the tiddlers has increased as the core has grown.
2020-01-29 17:09:28 +00:00
Brooks Boyd
b258afea0d Replace Markdown parsing library with Remarkable (#3876)
* Replace Markdown parsing library with Remarkable

* Fix handling of block-level elements

* Update documentation

* Add config options for Parser actions

* Add Config options for Remarkable library

* Match code style

* Update documentation

* Handle ordered lists and horizontal rules

* Update to v2.0.0 of Remarkable library
2020-01-20 13:13:36 +00:00
TonyM
8145caa104 Add a new example that shows using all before to determine the nummeric position of a title in a list. (#4412)
See discussion https://groups.google.com/forum/?hl=en#!topic/tiddlywiki/wY6haW2cYMA
2020-01-14 16:55:53 +00:00
Jeremy Ruston
6732b3c0d9 Use match operator instead of prefix
Fixes #4407
2020-01-05 13:54:06 +00:00
Jeremy Ruston
429d38e75d Update TiddlyFox docs
Fixes #4399
2020-01-04 11:20:17 +00:00
Jeremy Ruston
5a5c967a39 Add support for $:/tags/Macro/View macros that are only visible within view templates 2020-01-03 10:40:11 +00:00
Mario Pietsch
3aa5198c3e Update tests (#4392)
add 3 new tiddlers, add 1 "enlist" test, fix all tests that failed, because 3 new tiddlers where added. stopped ESLint to complain about global vars, fix some mixed-tab-space indent typos.
2019-12-19 13:38:09 +00:00
Jeremy Ruston
0671bc5afd Tweak docs for each filter 2019-12-12 17:39:23 +00:00
Will Atwood Mitchell
d23545de1f Update links to Json Mangler plugin github pages (#4388)
The plugin's repo appears to have been renamed.
2019-12-12 16:48:38 +00:00
Jeremy Ruston
e33d519ce0 Update docs for "each" filter 2019-12-09 09:05:21 +00:00
Jeremy Ruston
afb7435a88 Remove "hack-to-give-us-something-to-compare-against"
It looked messy in the control panel listing.
2019-11-14 09:23:17 +00:00
Marica Odagaki
613f0b2559 Upgrade to Jasmine 3 (#4226)
* process.exit() only exist in a node.js environment

* updateInterval has been removed from upstream

From upstream commit:
b6eb9a4d5e

* Update Jasmine to 3.4.0

* Reuse the evalInContext helper

* Fix expected parse result to match the actual result

* 'describe' cannot be nested inside 'it' blocks

Jasmine started to explicitly raise an error in these cases since:
https://github.com/jasmine/jasmine/pull/1411

* Be consistent about how to refer to library files

* Update link to Jasmine's official website
2019-11-12 21:42:38 +00:00
Jeremy Ruston
bfbd886a8b Add "index" attribute to range widget 2019-11-04 18:56:22 +00:00
Jeremy Ruston
df85281420 Improve docs on installing plugins under Node.js 2019-11-02 13:19:00 +00:00
Jeremy Ruston
43d18e74d5 Syncer: add hidden setting for disabling lazy loading 2019-10-25 10:02:57 +01:00
Matt Lauber
14e799d36b Add discord to forums tiddler. (#4343) 2019-10-24 10:03:05 +01:00
Matt Lauber
9e9944b76d Correct the jsonstringify documentation (#4344)
The jsonstringify substitution table does not list all substitutions, and it listed `'` as being replaced when it's not.  This updates the table based on the code at https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/utils.js#L537
2019-10-24 10:02:20 +01:00
Nils-Hero Lindemann
6fa3e21116 Replace '<<...>>' with a macrocall widget (#4346)
... because there is another macrocall inside.

This was introduced by the commit 'Fix sizes of SVG icons in documentation' (SHA: 9395d75671) where this probably slipped through in a regular expression replacement session.

I searched through the codebase and the other replacements of this type are ok.
2019-10-24 09:15:52 +01:00
Jeremy Ruston
00974be82d Update release note 2019-10-14 13:19:40 +01:00
Jeremy Ruston
6089c4de29 Extend refresh throttling to tiddlers having a "throttle.refresh" field
See discussion here: https://groups.google.com/d/msgid/tiddlywiki/7738644f-b53f-4fb0-b0df-16243fe51795%40googlegroups.com
2019-10-14 10:42:14 +01:00
donmor
e5985566ce Update Saving on Android.tid (#4316) 2019-10-13 17:43:46 +01:00
Jeremy Ruston
9395d75671 Fix sizes of SVG icons in documentation
Fixes #4153
2019-10-13 15:35:36 +01:00
Jeremy Ruston
1010ca01cc Stylesheet cleanup 2019-10-06 14:59:08 +01:00
Jeremy Ruston
124efb31ea Update release note 2019-10-04 17:47:37 +01:00
Matt Lauber
6e57f16517 Documentation: typo in Range widget documentation (#4288)
The documentation for the range widget refers to radio buttons, instead of range sliders.
2019-10-04 15:50:32 +01:00
Matt Lauber
a9cc292dc9 Add an example to the $fieldmangler widget (#4287)
Add an example to the field mangler widget demonstrating the `tiddler` param.
2019-10-04 15:50:00 +01:00
Jeremy Ruston
81867a75cd Add docs for tm-unload-plugin-library message
Fixes #4281
2019-10-04 12:37:04 +01:00
Jeremy Ruston
66435b4992 Update release note 2019-09-28 11:50:53 +01:00
Jeremy Ruston
55e3b8d66d Plugin improvements
* Improve docs
* Improve styling of subplugins
2019-09-28 11:49:09 +01:00
Jeremy Ruston
ded9d4074c Plugin library chooser improvements
* Make "Also requires:" translatable
* Clearer styling for sub-plugins
* Documentation tweaks
2019-09-28 10:06:18 +01:00
Jeremy Ruston
0193bfd5e9 Plugin docs updates 2019-09-27 21:57:46 +01:00
Jeremy Ruston
7428f17551 Docs typo 2019-09-20 16:17:55 +01:00
Jeremy Ruston
1dbab6fd0e Update release note 2019-09-18 21:10:21 +01:00
Jeremy Ruston
1150c87edb Add [is[binary]] operator 2019-09-16 16:15:26 +01:00
Jeremy Ruston
0017d441d9 Update release note 2019-09-16 12:21:20 +01:00
Jeremy Ruston
90745f93a5 Update safe mode docs
Ping @anthonymuscio
2019-09-12 10:33:25 +01:00
Jeremy Ruston
1631f21a6b Preparation for v5.1.22-prerelease 2019-09-10 17:20:36 +01:00
Jeremy Ruston
42060acb43 Preparing for release of v5.1.21 2019-09-10 16:32:30 +01:00
Jeremy Ruston
978d52f3e8 Merge branch 'tiddlywiki-com' 2019-09-10 16:21:55 +01:00
Jeremy Ruston
b8129b6e36 Update release note 2019-09-10 16:21:37 +01:00
Jeremy Ruston
b5e4cc0cc8 Docs: Clarify reveal widget animation requirements 2019-09-10 16:07:36 +01:00
Jeremy Ruston
ff6070f033 Update release note 2019-09-09 16:48:12 +01:00
Cameron Fischer
fb12807a33 Reverting changes to stringifyList (#4249)
I (Flibbles) changed it so that lists generated by stringifyList
would always be compatible with a filter parser, but since lists
are not, and never will be, a subset of filters, there isn't a
point.

More importantly, wrapping negative numbers like "-7" in brackets
would mess up some math stuff.
2019-09-09 14:56:40 +01:00
Jeremy Ruston
f74e4c520d Add docs for tm-rename-tiddler
Fixes #4246
2019-09-09 14:38:29 +01:00
Jeremy Ruston
ef5c53bf9a Release note updates 2019-09-04 16:04:33 +01:00
Jeremy Ruston
6899be59e2 Fix date and time for for "Hidden Setting: Sync Polling Interval" 2019-09-03 19:26:23 +01:00
Jeremy Ruston
9e67be5b6c Fix date for "Hidden Setting: Sync Polling Interval" 2019-09-03 19:25:00 +01:00
Jeremy Ruston
7f5a5dbe09 Merge branch 'tiddlywiki-com' 2019-09-03 10:12:01 +01:00
Bimba Laszlo
9305881efb Syncadapter uses different conditions for loading and saving (#4211)
The description was ambiguous.
2019-09-03 09:49:17 +01:00
Jeremy Ruston
6496107a32 Docs: Clarify that webserver API get all tiddlers only returns non-system tiddlers
Fixes #4212
2019-09-03 09:47:55 +01:00
Jeremy Ruston
82d18ad1fa Update release note for v5.1.21 2019-08-30 15:34:26 +01:00
bimlas
b88812233c Hidden setting: Sync Polling Interval 2019-08-29 08:58:17 +02:00
StefanSTFG
990619b634 Fixed 3 typos in the example in line 88 (#4207)
1.     Removed closing square bracket after <currentTiddler>
2.    Changed capital 'P' in addprefix
3.    Added missing slash at the end
2019-08-27 17:10:00 +01:00
Jeremy Ruston
654eda02c6 Remove reference to stacked story view from prerelease introduction
It's confusing
2019-08-24 12:17:17 +01:00
Cameron Fischer
67066fe86e Improve handling for titles starting with +-~= (#4084) (#4087)
* $tw.utils.stringifyList will wrap tiddlers starting with `+-~=` in brackets.
2019-08-24 12:35:03 +02:00
Jeremy Ruston
a986e4f7d6 Prepare for v5.1.21-prerelease 2019-08-09 15:38:36 +01:00
Jeremy Ruston
ad175e222b Preparing for v5.1.20 release 2019-08-09 14:16:39 +01:00
Jeremy Ruston
2a3ea14437 Docs: More updates to build docs 2019-08-09 14:09:15 +01:00
Jeremy Ruston
762810361f Docs: Update the build docs 2019-08-09 14:08:13 +01:00
Jeremy Ruston
067e8a9f94 Merge branch 'tiddlywiki-com' 2019-08-09 10:29:46 +01:00
Jeremy Ruston
c3df892321 More release note tweaks 2019-08-06 18:46:28 +01:00
Jeremy Ruston
68e6298e7d Tweaks to release note 2019-08-06 17:41:11 +01:00
Jeremy Ruston
9df64c1ecf Update Catalan translation 2019-08-06 16:02:43 +01:00
Jeremy Ruston
b8ac2d7a06 Release note: update contributor list 2019-08-06 14:57:46 +01:00
Jeremy Ruston
41d30bebc8 Update release note 2019-08-06 14:53:23 +01:00
Jeremy Ruston
6df7b617fb Docs tweaks 2019-08-06 14:53:14 +01:00
Simon Huber
31e7dbf020 Add "preventScroll" option to tm-focus-selector message (#4157)
* add "delayed" option to tm-focus-selector message

this delays the focussing for the time of the animation duration if delayed="yes" or delayed="true"

this is useful when navigating the story river up and down with keyboard shortcuts and the shortcuts focus the title input if a navigated tiddler is in edit mode -> navigation doesn't jump but stays smooth

* Update rootwidget.js

* Update WidgetMessage_ tm-focus-selector.tid

* add preventScroll="true" tip
2019-08-06 13:12:21 +01:00
Jeremy Ruston
f49ab78ebd Docs: Add another example to Conditional Operators 2019-08-05 14:28:59 +01:00
Jeremy Ruston
41d3e80397 Update release note
More to come, I've only got as far as June 28th...
2019-08-05 14:28:42 +01:00
Jeremy Ruston
17711657b6 Add then and else operators
Fixes #4147
2019-08-02 14:27:58 +01:00
Bimba Laszlo
b5653babdf Add GitLab saver, apply common lingo to Git savers (#3931)
* Transform GitHub saver to work with GitLab as well

You can choose which provider you want to use, the data is given in the
same place.

I tried to avoid code duplication, so service providers' unique
properties are in separate files, the settings of the selected provider
are loaded.

In two fields I am not sure that it fits into the current structure:

* module-type: gitservice
  Which module is a `gitservice` type, it will be listed in the
  drop-down menu.
* default-api-url: https://gitlab.com/api/v4
  The default URL to access the provider's API.

This is just a sketch, not a final version, suggestions for modification
are welcome!

* Rename saver from GitHub to GitService, update docs

* Split GitHub and GitLab to separate savers, apply common lingo

Sadly, it doesn't seem to make much sense to search for common parts in
the code, because there might be a Git service that is very different
from the GitHub API (such as BitBucket). Therefore, I feel that Git
savers are not able to share other than the translations.

I deleted the defaults values from the translations and set it to the
text entry because they should not depend on the translations.

* Add more information about the password field

It is not clear how to create a personal access token, thus added a link
to the help pages. In addition, GitLab only accepts personal access
token, GitHub also accepts the password, so I made this clear.

* Extract commit message to lingo

* Fix indentation

* Use improved base64 encoder

Fix conflict with a06acc4eb8
2019-07-31 21:38:52 +01:00
Jeremy Ruston
3afaa9de9a Add support for anchored searches 2019-07-31 21:36:12 +01:00
Jeremy Ruston
5faae2547d Add "match" operator for string comparison
Fixes #4130
2019-07-31 09:11:12 +01:00
Jeremy Ruston
269fa5313f Fix for index ordering issue
Fixes #4082

This version removes selective updating of the tag index, instead completely clearing the index on each update. I'm investigating restoring that optimisation.
2019-07-28 16:39:34 +01:00
Jeremy Ruston
32c5490a20 Improve contribution banner
* Make it work with titles with crazy characters
* Hide the banner for tiddlers that didn't originate on GitHub

Fixes #4116 and #4129
2019-07-26 12:46:27 +01:00
Jeremy Ruston
cbd07465f3 Fix test rig shadow tiddler behaviour
The test rig previously used a simplified implementation of shadow tiddlers which broke with the new indexing engine. There was also a problem that made that even if indexers were disabled they were still initialised.

This PR fixes both problems, in preparation for fixing #4082
2019-07-16 16:53:37 +01:00
Jeremy Ruston
27b75f3922 Fix missing .tid extension from #4112 2019-07-16 15:43:18 +01:00
morosanuae
8a53cca00d Adding the "Font Awesome 5 Free SVGs for TiddlyWiki" resource site (#4112) 2019-07-15 18:09:40 +01:00
Jeremy Ruston
8e7c0907f8 Add checkactions attribute to Checkbox widget
See discussion at https://groups.google.com/d/msgid/tiddlywiki/526754d5-8786-49cd-aaa1-c77311670116%40googlegroups.com:

The history here is that in v5.1.14 we added an "actions" attribute to the checkbox widget that specified an action string to be specified whenever the state of the checkbox changed. The same action string is executed regardless of whether the checkbox was checked or unchecked.

Then in v5.1.16 we merged https://github.com/Jermolene/TiddlyWiki5/pull/3182 which added the "uncheckactions" attribute. The difference between the two is that the uncheckactions are only executed if the checkbox is unchecked. The main "actions" attribute is executed before any actions in "uncheckactions", which makes it possible to arrange things so that the "actions" attribute sets things to the checked state while the "uncheckactions" attribute overwrites those changes to set things to the unchecked state.

In retrospect, it would have made more sense to have also added a "checkactions" attribute that was executed only if the checkbox was checked. I'll investigate adding it for v5.1.20.
2019-07-14 13:42:43 +01:00
Jeremy Ruston
7b3d190974
Create Hidden Setting ViewTemplate and EditTemplate.tid 2019-07-05 07:29:06 +01:00
Jeremy Ruston
f5acf3adaa
Make Using Stamp show up in Recent tab 2019-07-04 22:27:19 +01:00
Jeremy Ruston
2a4c60b23d Allow tm-open-window to specify a page title 2019-07-04 15:59:34 +01:00
Jeremy Ruston
3edaa652ee Reveal widget: add option to avoid clamping popup position
Fixes #4041
2019-07-04 15:58:27 +01:00
Simon Huber
f978355ea4
make Using Stamp show up in Recent tab
... just a "modified" update
2019-07-04 07:50:47 +02:00
Simon Huber
1e1b2e28b6
Create Hidden Setting ViewTemplate and EditTemplate.tid
this PR adds information about the hidden settings for View- and EditTemplate
2019-07-04 07:45:04 +02:00
Simon Huber
16a53ae394 Use Resources tag for escapecss examples (#4040) 2019-07-02 16:25:34 +01:00
Simon Huber
d1948621d3 Docs for stamp-button optionally wrap selection (#4047)
* make stamp-button optionally wrap selection

* Update Using Stamp.tid
2019-07-02 16:24:48 +01:00
Jeremy Ruston
02b141f97f Docs: typo in "Using the external JavaScript template" 2019-07-02 15:35:11 +01:00
Simon Huber
15b576618f Docs: Add information about hidden setting EditTabIndex (#4045) 2019-07-02 15:33:43 +01:00
Simon Huber
d2f1debf92 Make escapecss tiddlers show in recent tab (#4032)
* make escapecss show in recent tab

* make escapecss examples show in recent tab
2019-06-29 08:40:46 +01:00
Simon Huber
2f723dd85a Add docs for escapecss operator (#4028)
* Create escapecss_Operator.tid

* Create escapecss Operator (Examples).tid
2019-06-29 08:17:11 +01:00
Simon Huber
42bde75de2 Update KeyboardShortcuts.tid (#4030) 2019-06-29 08:16:35 +01:00
Jeremy Ruston
ed67f4a88b Add new tm-focus-selector message 2019-06-28 17:27:36 +01:00
Simon Huber
448d108d69 Make ContributionBanner more solid (#3645)
this makes the contribution banner work with "badly" named tiddlers, too
2019-06-26 12:33:44 +01:00
Robin Munn
cb2bf25563 Fix examples for sentencecase and titlecase (#4010) 2019-06-24 10:36:28 +01:00
Jeremy Ruston
fd8ede07bf Release note updates 2019-06-21 10:52:54 +01:00
Jeremy Ruston
c8d6f3b681 Fix tests for changes to split operator
We now retain any blank strings
2019-06-21 10:36:53 +01:00
Jeremy Ruston
6582b106ee Fixes to split operator, plus instructions for using it to do search and replace 2019-06-21 10:21:52 +01:00
Jeremy Ruston
90684f9f52 Add support for [is[blank]] to detect empty/blank strings 2019-06-21 10:20:37 +01:00
twMat
ceb2d9f119 Update StartupActions.tid (#4002)
Regarding the bulleted tag pills; they should probably also be removed in place of text but I see value in keeping them for the sake of being able to easily peek at what they tag. We should probably have a section under Ctrlpanel>Settings where any startupaction-tiddlers are listed but since we don't yet, then the mentioned tag pills could perhaps remain.... except for the one in the PR.
2019-06-21 08:36:09 +01:00
Robin Munn
9b27f82a80 Fix sentencecase operator, add titlecase operator (#4006) 2019-06-21 08:24:02 +01:00
Jeremy Ruston
d8b79723cd Docs: Remove broken example of checkbox actions attribute
See https://github.com/Jermolene/TiddlyWiki5/pull/3996#issuecomment-503596160
2019-06-19 15:56:07 +01:00
Jeremy Ruston
2e2ed7902c Add sentencecase operator
Fixes #4000
2019-06-19 12:11:02 +01:00
twMat
6fd70f9c11 Docs: Update CheckBox example (#3996) 2019-06-18 10:49:52 +01:00
Bimba Laszlo
6099ec576c Fix typo in docs of performance instrumentation (#3995) 2019-06-18 09:41:50 +01:00
Jeremy Ruston
47dc59cd54 Fix caption for "join" operator docs
Thanks @twMat
2019-06-17 21:44:50 +01:00
Jeremy Ruston
c963680f9c Release note updates 2019-06-17 21:27:50 +01:00
Robin Munn
e6ac709840 Clarify that the split operator does not dedupe (#3981) 2019-06-17 21:21:48 +01:00
Robin Munn
32a2bea7f5 Better examples for mathematics operators (#3982)
Include = before each number in the Mathematics Operators examples,
so that people get used to seeing that in math examples where dupes
are likely.

Only the Mathematics Operators tiddler really needed to be changed;
the example tiddlers for individual operators were already using =.

Fixes #3979.
2019-06-17 21:21:23 +01:00
Robin Munn
62829dc9d3 Add untrunc operator, the mirror of trunc (#3994) 2019-06-17 18:34:30 +01:00
Robin Munn
58cb300a0a Fix typo (#3984) 2019-06-17 18:32:35 +01:00
Jeremy Ruston
250a1e5356 Release note: Typo 2019-06-14 09:26:24 +01:00
Jeremy Ruston
630a0ecf9e Remove test for concat operator 2019-06-13 16:55:55 +01:00
Jeremy Ruston
fef2ea97a1 Final chunk of docs for new maths/string operators 2019-06-13 16:53:23 +01:00
Jeremy Ruston
fc09f8e331 Tree macro: allow separator to be customised 2019-06-13 08:47:42 +01:00
twMat
1a08430a0c Docs: Fix typo in TextReference.tid (#3978)
minor correction - or am I mistaken?
2019-06-12 22:03:01 +01:00
Jeremy Ruston
23dd8da22c Remove draft inadvertantly included in e5e5b1d73
Thanks @twMat
2019-06-12 12:48:14 +01:00
Jeremy Ruston
e5e5b1d739 Fixes for 7fcdc83ba
Thanks @twMat
2019-06-12 11:34:07 +01:00
Jeremy Ruston
7fcdc83bae First batch of docs for the maths operators 2019-06-11 17:18:51 +01:00
Jeremy Ruston
dd7837d164 Fix issue with allafter operator
Fixes #3962
2019-06-11 09:38:14 +01:00
Jeremy Ruston
4a66ecbf6f Update release note 2019-06-10 21:06:25 +01:00
Jeremy Ruston
f02352f6a1 Use default link text when link widget has no content
Fixes #3974
2019-06-10 21:04:21 +01:00
Jeremy Ruston
cd412d8ccb Update release note 2019-06-10 18:24:38 +01:00
Jeremy Ruston
18fe112da7 Extend the enlist operator to optionally not de-duplicate 2019-06-10 17:54:46 +01:00
Jeremy Ruston
37bb75f0cf Add support for = prefix for filter runs that doesn't remove duplicates 2019-06-10 17:54:20 +01:00
Jeremy Ruston
55bc6e086f Tweaks and fixes for the release note 2019-06-09 17:26:34 +01:00
Jeremy Ruston
6fdc5c8cb2 Docs: Update performance notes 2019-06-09 17:09:35 +01:00
Jeremy Ruston
7590977dd5 Update release note 2019-06-09 17:09:11 +01:00
Jeremy Ruston
1e8a56768f Update ListWidget docs
Fixes #3964
2019-06-08 17:34:06 +01:00
Jeremy Ruston
28c732d2be Improve action-createtiddler to return a draft title too 2019-06-04 12:33:01 +01:00
LordRatte
736ac9052d Update TiddlyDrive info on Tiddlywiki.com (#3961)
* Update TiddlyDrive info

* Accept Licence
2019-05-31 18:11:17 +01:00
twMat
6c08fec2ee Update Saving on TiddlySpot.tid (#3960)
Included mention of community created (i.e created by me) "shortcut" to set up new TW5 on TS.
2019-05-31 16:05:35 +01:00
Jeremy Ruston
5b09881679 Add new deletetiddlers command 2019-05-30 16:54:57 +01:00
Jeremy Ruston
a8f70b08a8
Add indexes to the wiki store to improve performance (#3951)
* First pass at modular wiki indexes

An exploratory experiment

* Fix tests

* Faster checking for existence of index methods

We don't really need to check the type

* Use the index for the has operator

* Fix typo

* Move iterator index methods into indexer modules

Now boot.js doesn't know the core indexers

* Fix up the other iterator index functions

* Fix crash with missing index branch

* Limit the field indexer to values less than 128 characters

* Fallback to the old manual scan if the index method returns null
* Sadly, we can no longe re-use the field indexer to accelerate the `has` operator, because the index now omits tiddlers that have field values longer than the limit

Still need to make the index configuration exposed somehow

* Rearrange tests so that we can test with and without indexers

We also need to expose the list of enabled indexers as a config option

* Test the field indexer with different length fields

So that we test the indexed and non-indexed codepaths
2019-05-24 21:07:37 +01:00
Jeremy Ruston
b992b79adb Merge branch 'tiddlywiki-com' 2019-05-24 18:24:59 +01:00
Jeremy Ruston
feab75a6d1 Add support for preloading plugins by path instead of name 2019-05-24 12:06:11 +01:00
Jeremy Ruston
409a297a63 Docs: Fix inaccuracies in "has" filter docs 2019-05-18 15:55:34 +01:00
Kartik Saranathan
ba0da99b17 Docs: fix typo (#3949) 2019-05-16 17:28:09 +01:00
Jeremy Ruston
634ac92ba2 Update splash screen to add new release banner
See #3935
2019-05-11 19:48:06 +01:00
Jeremy Ruston
184fd9dda8 Docs for Performance Instrumentation improvements
Left off e8d1fbba6
2019-05-11 19:28:09 +01:00
Jeremy Ruston
e8d1fbba6c Performance Instrumentation: Track execution times for individual filters
Fixes #3941
2019-05-10 15:56:01 +01:00
Jeremy Ruston
dddfb7ce67 Merge remote-tracking branch 'origin/tiddlywiki-com' 2019-05-03 11:20:39 +01:00
Jermolene
4401e71498 Docs: Update WebServer Parameter: csrf-disable 2019-04-23 17:53:19 +01:00
Jermolene
373afd72c8 Add savewikifolder command
Makes it much easier to convert a TiddlyWiki HTML file into a full wiki folder.
2019-04-14 12:04:00 +01:00
Jermolene
8c72a28f0c Add ability to load plugins via the command line
Fixes #3907
2019-04-12 18:09:16 +01:00
00SS
61db047870 Docs: Update Headings in WikiText.tid (#3908)
Changed the example to use the **wikitext-example** macro and pointed out that wikitext only works till `<h6>`
2019-04-12 11:44:58 +01:00
00SS
12b08b7abf Docs: Update ListMacro.tid (#3754)
Addressing 2 issues.
1) If the caption field of a tiddler is empty
2) A note addressing no input titles resulting in a Filter Run as brought up on [Google Groups](https://groups.google.com/forum/?hl=en#!topic/tiddlywikidev/VNl_cwu_rIE)
2019-04-10 11:22:12 +01:00
00SS
53124e1d82 DOCS: Update: TiddlyWiki5 Squared by Iannis Zannos.tid (#3773)
* Update TiddlyWiki5 Squared by Iannis Zannos.tid

Link no longer works. Changed it to the github page.

* Update TiddlyWiki5 Squared by Iannis Zannos.tid

Fixed URL linking to the "ur" field
2019-04-10 11:17:54 +01:00
00SS
4ecc99c9d5 DOCS: Correction: How to change the sort order of sub-branches in a TOC macro.tid (#3783)
Changed line
`<<toc-selective-expandable  "TableOfContents" "sort{fuzzy}">>`
to
`<<toc-selective-expandable  "TableOfContents" "sort{!!fuzzy}">>`

Tested that this is the correct code.
2019-04-10 11:17:07 +01:00
Jermolene
aa5eaa98fc Add a GitHub saver
Fixes #3890

I think it would be useful to have a simple tutorial for setting up saving via GitHub pages.
2019-04-08 21:08:58 +01:00
Jermolene
6575db07c7 Docs typo 2019-03-30 12:06:46 +00:00
Jermolene
f4d8c90191 Add missing "from-version" tags to new features 2019-03-30 10:55:22 +00:00
Jermolene
754c1251a9 Add new "variables" and "getvariables" operators 2019-03-30 10:52:28 +00:00
Jermolene
1c436cbbf3 DynaviewDemo: Rename tiddler-list field to story-list 2019-03-28 10:58:24 +00:00
jed
b1edcdb757 Add unusedtitle macro (#3880)
* Add uniquetitle macro

This macro is a wrapper on the $tw.wiki.generateNewTitle function to return a unique name, it has been requested multiple times in the forums.

* Add documentation tiddler for uniquetitle macro

* Add uniquetitle macro examples

* Change name from uniquetitle to unusedtitle for clarity

The title isn't unique, just not currently used in the wiki.

* Update uniquetitle to unusedtitle

* Change uniquetitle to unusedtitle

* Fix a typo
2019-03-26 21:57:58 +00:00
Jermolene
9f0d726f7d Dynaview: Simplify visibility tracking logic 2019-03-21 12:56:26 +00:00
Jermolene
7709192cc8 DynaView: Simplify visibility processing
And add a table of contents to the demo
2019-03-20 18:24:29 +00:00
Simon Huber
a01dc6cb3d Docs: Typo 2019-03-18 12:40:15 +00:00
Simon Huber
f99fb4f9f5 Fix typos in WidgetSubclassingMechanism (#3870) 2019-03-17 18:13:13 +00:00
Jermolene
e52a616891 Add support for widget subclassing
Fixes #3865
2019-03-17 12:25:15 +00:00
Jermolene
05243a6c48 Docs: Add performance instrumentation docs 2019-03-16 16:39:08 +00:00
Jermolene
9f630b5829 v5.1.20 new release banner 2019-03-16 13:24:58 +00:00
Jermolene
256321cd42 Merge branch 'tiddlywiki-com' 2019-03-10 21:17:40 +00:00
Simon Huber
648c7ccd1f Add documentation for edit-text tabindex attribute (#3833)
* add tabindex attr to edit-text documentation

* add tabindex to edit widget documentation
2019-03-09 17:45:59 +00:00
Joshua Fontany
a7dc8b5583 Signing the CLA (#3838)
* Signing the CLA

* added json mangler resource
2019-03-09 16:39:13 +00:00
Jermolene
07635d7b3e Full edition: Fix plugin display 2019-03-07 18:46:38 +00:00
Jermolene
f047e7cbf5 Add example startup action to switch to browser language 2019-03-07 18:45:52 +00:00
Jermolene
c036c22826 Add $:/info/browser/language to the info mechanism 2019-03-07 18:42:49 +00:00
Jermolene
6de13e2f60 Update release note 2019-03-05 22:22:55 +00:00
Jermolene
a9e595c3f6 Dynaview: Add support for saving/restoring scroll position from local storage 2019-03-04 16:59:39 +00:00
Jermolene
477c41f843 Add tooltip attribute to select widget 2019-03-04 12:24:16 +00:00
Jermolene
2104017249 Browser-storage: Only save state tiddlers by default
And add it back to the prerelease now that it's a bit safer
2019-03-03 17:16:35 +00:00
Jeremy Ruston
148c1a0355
Clarify that filter operator brackets cannot be nested 2019-03-03 14:32:26 +00:00
Jermolene
36e76429b1 Add is[variable] filter
See discussion here https://groups.google.com/d/topic/tiddlywiki/4rEuAWc4EpM/discussion
2019-02-25 13:08:22 +00:00
Bimba Laszlo
181897514f Add links to plugins made by @bimlas (#3778) 2019-02-19 12:33:31 +01:00
Jermolene
9d7d3fefa0 Split operator: Remove empty strings when splitting
See the discussion on 9b2d527; thanks @kookma
2019-02-08 15:59:07 +00:00
Jermolene
adb07ccba0 Add a test for all filter with blank operand
Actually quite a useful way to get all of the tiddlers that were passed into the filter.
2019-02-07 17:59:12 +00:00
Jermolene
9601e570af Fix further typo in cdeabba 2019-02-07 15:07:21 +00:00
Jermolene
5c5628e10b Fix typo in cdeabba 2019-02-07 15:00:39 +00:00
Jermolene
cdeabbaf56 Remove browser-storage plugin from main prerelease
But make sure it's in the "full" edition.
2019-02-07 14:53:59 +00:00
Jermolene
158f96a207 Fix split operator testcase 2019-02-07 12:48:23 +00:00
Jermolene
dc29acd656 Fixed bug with split operator 2019-02-07 12:45:07 +00:00
Jermolene
af40485e37 Docs updates 2019-02-07 11:19:06 +00:00
Jermolene
9b2d52716a Add new string operators: length, join, split, concat etc. 2019-02-07 11:18:53 +00:00
Jermolene
f709641967 Upsdate release note 2019-02-06 18:22:29 +00:00
Jermolene
1c982fba2d Fix sticky titles dropdown overlap
Fixes #3572
2019-02-06 14:20:34 +00:00
Jermolene
0ea00b59b0 Add numeric maths filter operators
There are other ways we could add maths to TW5 (including @EvanBalster's awesome https://github.com/EvanBalster/TiddlyWikiFormula) but the approach here has the merit of simplicity because it reuses the existing filter evaluation mechanism. That means that it's not ordinary "2+2" maths, it's a unique list processing language...

Docs to come

Fixes #254
2019-02-06 14:19:55 +00:00
Jermolene
44c66b98a9 Add default prefix for tm-fold-all-tiddlers message 2019-02-05 16:01:24 +00:00
Jermolene
e31c5563ff BrowserStorage: A new plugin to save tiddlers to local storage
Experimental at this point.
2019-02-03 12:51:15 +00:00
Jermolene
a4eb139f99 Innerwiki: Add support for draggable anchors 2019-02-01 10:43:42 +00:00
Jermolene
c4bb2110e3 Merge branch 'tiddlywiki-com' 2019-01-29 17:40:54 +00:00
Jermolene
8defe41458 Dynaview demo: Avoid hiding tiddlers that scroll out of view
We were getting some problems on Firefox/Safari whereby tiddlers would flicker between visible and invisible, spinning up my laptop fan.
2019-01-29 11:38:25 +00:00
Jermolene
b6d901f888 Innerwiki: Add support for SVG overlays 2019-01-28 18:21:24 +00:00
00SS
90b7961629 Update TiddlerFields.tid (#3733)
#3680 Was getting too complicated for me so opened a new PR
2019-01-27 19:29:13 +00:00
00SS
c5aa855ce6 Docs: add example to CountWidget.tid (#3732)
* Update CountWidget.tid

Just a simple example added.

* Update CountWidget.tid

Made a slight addition to conform with the same style used in the Examples section of the $text widget: TextWidget.tid

* Update CountWidget.tid

Modified to use the Documentation display macro:
`<<wikitext-example-without-html>>`
2019-01-27 19:28:42 +00:00
Jeremy Ruston
fc3227831f Docs: fix HTTPS command typos
Fixes #3713
2019-01-27 14:35:58 +00:00
00SS
72ec4d05e4 Update Editor toolbar.tid (#3720)
Small corrections
2019-01-27 14:31:39 +00:00
00SS
07aeaaa1a4 Docs: Update Hidden Setting SaveWikiButton Filename.tid (#3721)
Rewording to make clearer
2019-01-27 14:29:46 +00:00
Marxsal
790d606885 Docs: fixing header typo (#3722) 2019-01-27 14:28:33 +00:00
Jermolene
c6f1fb7627 Innerwiki demo: Adjust default tiddlers 2019-01-27 12:43:10 +00:00
Jermolene
ca7b62a5f6 Introduce "innerwiki" plugin
From the readme:

This plugin enables TiddlyWiki to embed a modified copy of itself (an "innerwiki"). The primary motivation is to be able to produce screenshot illustrations that are automatically up-to-date with the appearance of TiddlyWiki as it changes over time, or to produce the same screenshot in different languages
2019-01-27 10:57:56 +00:00
Jermolene
4c1e3aa8d6 Merge branch 'tiddlywiki-com' 2019-01-22 11:52:38 +00:00
Jermolene
952826e0fa Dynaview: cleaning up
It turns out that we don't need to disable any scroll anchoring done by the browser as our implementation of scroll anchoring will adapt itself.

Also removing an unneeded paragraph tag from the view template.
2019-01-18 17:56:07 +00:00
Marxsal
e6aaafbc8d Grammar and tense fixes. (#3708) 2019-01-18 17:09:27 +00:00
Jermolene
79eb6a5ec1 Docs typo 2019-01-18 09:19:58 +00:00
Jermolene
7c0528340d Docs: Clarify use of "actionTiddler" variable 2019-01-18 08:57:08 +00:00
Jermolene
273768da1d Docs updates for TW5's new branch development model 2019-01-15 17:39:45 +00:00
Jermolene
52a30be7c6 Remove confusing reference to "global tiddlers" 2019-01-15 16:28:52 +00:00
00SS
479726c46e Update TextWidget.tid (#3696)
Used Example display method of <<wikitext-example-without-html>> and added another example.
2019-01-15 16:14:50 +00:00
Ben Webber
3afb251b3a Add en-US localization (#3689) 2019-01-14 09:44:04 +00:00
Johannes Löthberg
1f829dd5a8 Fix typo password -> username (#3686) 2019-01-14 09:42:09 +00:00
Jermolene
e14e69bedc DynaView plugin: add optional scroll position preservation 2019-01-11 17:50:52 +00:00
00SS
d0afbe50a1 Update Plugins.tid (#3688)
In response to the two Jeremy Ruston posts at: https://groups.google.com/forum/#!topic/tiddlywiki/aPjljLW1yHE/discussion
2019-01-08 14:21:06 +00:00
Jermolene
c97c3cea74 CI: Fix intentionally broken test 2019-01-04 20:11:02 +00:00
Jermolene
52d328ee1b CI: Temporarily make one of the tests fail to make sure that failed tests work 2019-01-04 17:58:16 +00:00
Jermolene
d6bffad8ab Remove references to obsolete "2bld" edition 2019-01-04 16:48:07 +00:00
Jermolene
6195069c5e Fix URL of prerelease plugin library for v5.1.20 2018-12-21 09:31:36 +00:00
Jermolene
1793dc5e34 Plugin library version for prerelease 2018-12-20 17:10:35 +00:00
Jermolene
1aea7b075d Prepare release note for v5.1.19 release 2018-12-20 16:37:19 +00:00
Jermolene
1dce674e51 Docs: Add quote from Joe Armstrong 2018-12-20 16:31:32 +00:00
Jermolene
5b6a468757 Docs: simplify community links in HelloThere 2018-12-20 16:31:04 +00:00
Jermolene
4f71c9072f Docs: fix typo 2018-12-20 16:30:20 +00:00
Jermolene
04ba91ce2f Release note update 2018-12-19 13:55:47 +00:00
BurningTreeC
9acff8f21c Add gitter svg + HelloThere link (#3655)
* add gitter svg $:/core/images/gitter

* add gitter link to HelloThere

* Update HelloThere.tid
2018-12-19 09:11:43 +00:00
Jermolene
f3e17c365a New release banner for v5.1.19 2018-12-19 09:07:16 +00:00
Jermolene
98a395095b Fix prerelease display
Including the "released" field for an unrerelease prerelease prevents it from being displayed in the "TiddlyWiki Pre-release"  tiddler
2018-12-18 18:10:55 +00:00
Jermolene
5f1e8acbc0 Tweak "Creating journal tiddlers" to reflect changes in v5.1.18 2018-12-18 18:03:29 +00:00
Dr. Donald Lund
3827feee3f Update WebServer "port" variable docs (#3651)
The colon (:) separator needs to be replaced with an equals sign (=). This kept throwing me off while I was trying to set this up.
2018-12-17 19:36:31 +00:00
Jermolene
172751605e Update release note 2018-12-17 11:25:00 +00:00
Rob Hoelz
d8b291bc04 Fix search method for search tokens spread across fields (#3641)
* Fix search method for search tokens spread across fields

Addresses GH #3636, which reports that if you're searching for "test
body", and "test" only appears in the title field, and "body" only appears
in the text field, 5.1.18's search method won't yield that tiddler as a
result, which appears to be a regression from the 5.1.17 behavior

* Add test for searching for multiple tokens across fields

Verifies GH #3636:

> If I create a tiddler in the empty edition with the title "Test tiddler" and content "Body content", searching the wiki for "test body" yields no results under either "title matches" or "all matches". Searching for either word individually turns up "Test tiddler", and repeating this in an empty wiki I created from the 5.1.17 tag causes "Test tiddler" to show up under "all matches".
2018-12-17 11:19:48 +00:00
Jermolene
500fd8c062 Add build target for empty.html
Part of https://github.com/Jermolene/build.jermolene.github.io/issues/5
2018-12-17 11:07:39 +00:00
BurningTreeC
a4937224b7 More tweaks for "how to create keyboard shortcuts" (#3646)
readability, better wording
2018-12-16 18:24:33 +00:00
Jermolene
42cf077639 Fix basic authentication forced login
Fixes #3647
2018-12-16 18:20:33 +00:00
Jermolene
f71a3b72d7 Update release note 2018-12-15 16:11:00 +00:00
Jermolene
2cfdf59b77 Update release note 2018-12-15 16:01:04 +00:00
Jermolene
a8b8fb3b6f Restore default filename when saving changes, and make it configurable
Fixes #3630
2018-12-15 15:55:19 +00:00
BurningTreeC
a7cdb94957 Reformatting "How to create keyboard shortcuts" (#3633) 2018-12-14 21:49:40 +00:00
Jermolene
f6b1e27281 Prepare for v5.1.19 2018-12-14 17:15:23 +00:00
Jermolene
de808ac66d Prepare for v5.1.19 2018-12-14 16:30:25 +00:00
Jermolene
c065dfa4bb Preparing for v5.1.18 release
Phew!
2018-12-06 09:02:05 +00:00
Jermolene
d4716a6f2b Tweak new release banner 2018-12-03 09:03:32 +00:00
Jeremy Ruston
70500140b9 v5.1.18 banner artwork 2018-12-02 21:13:50 +00:00
Jermolene
e466f62e7e Fix default global keyboard shortcuts for Mac
Fixes #3610
2018-12-02 15:47:32 +00:00
Evan Balster
b9df224f99 Change to natural counting in range[N] operator (#3609)
* Add range operator and documentation

* Use 1-based counting in range[N], update docs
2018-12-02 08:39:28 +00:00
Jermolene
0f3912ba95 Update release note contributors list 2018-12-01 18:05:06 +00:00
BurningTreeC
419ea9a243 Tweak for keyboard-shortcuts how-to (#3605) 2018-12-01 17:27:21 +00:00
Jermolene
80f44e880c Release note update 2018-12-01 15:21:16 +00:00
Luca Dorigo
4a9e2696d6 Promote Gitter Chat in the Readme (#3322)
* Promote Gitter Chat in the Readme

I'm not sure if it's ok to use inline styles for a small addition like this... also, feel free to change the colors :-)

* Added link to Gitter in 'Forums' tiddler and transcluded it in the readme as per @Jermolene comments

* Fixed transclusion and built readme

* Modified Readme so the 'forums' section is transclued with lower heading levels
2018-12-01 14:25:33 +00:00
Jermolene
63031bb3fc Release note update 2018-12-01 13:48:38 +00:00
Andreas Hahn
2bf6203cf5 Improvements to the static single tiddler view as well as documentation. (#3386)
* Improvements to the static single tiddler view as well as documentation.

* Fixed tabs

* Fixed tabs

* Revert static view path

* Documentation updates
2018-12-01 13:30:00 +00:00
BurningTreeC
6e674fe9db KaTeX plugin: add mhchem extension for chemical syntax (#3601)
* add chemParse (mchem extension)

* add mchem.min.js

* Update tiddlywiki.files

* add chemical reference link

* Rename mchem.min.js to mhchem.min.js

* Update tiddlywiki.files

* renaming mchem to mhchem

* Update readme.tid

* add chemical examples

* Update usage.tid
2018-12-01 13:28:51 +00:00
Ingo Blechschmidt
ea91ab1632 Twitter follow button docs: suggest https instead of http (#3458) 2018-11-29 11:10:30 +00:00
Arlen22
603c564872 Add the "tiddlywiki" argument to the server start hook (#3592)
* Update Hook__th-server-command-post-start.tid

* Update server.js

* Update listen.js
2018-11-29 09:51:11 +00:00
BurningTreeC
b18c85b85c Add How-To documentation for keyboard shortcuts (#3588)
* add link to "How to"  keyboard shortcuts + styles

* add "How to create keyboard shortcuts"

* Update How to create keyboard shortcuts.tid

* Update How to create keyboard shortcuts.tid

* Update How to create keyboard shortcuts.tid
2018-11-29 09:49:48 +00:00
BurningTreeC
907d498baf Use stateTitle in dynaview viewtemplate (#3584) 2018-11-29 09:48:35 +00:00
BurningTreeC
addc7c0176 Add tv-show-missing-links doc (#3580) 2018-11-29 09:47:55 +00:00
Marxsal
9268a8c3ca Info about using 0.0.0.0, plus warning about using it. (#3519)
* Info about using 0.0.0.0, plus warning about using it.

* Moved information to WebServer. Incls listen.

* More warnings about n.n.n.n
2018-11-29 09:47:37 +00:00
Marxsal
fe52d5462f Document tweaks to TOC for newcomers (#3518) 2018-11-29 09:46:41 +00:00
HC
5b14a97e0f Documentation of Using Excise text (#2533)
* Documentation of Using Excise text 

Documentation on the Excise text function. 
I propose that the  Excise text drop down ( the tiddler: $:/language/Buttons/Excise/Caption/Tag) links to this doc. I don't have permission to (or don't know how to) edit that tiddler in github. 

I propose the following text for the drop-down tiddler:

Tag new tiddler with the title of this tiddler (If the title is changed you have to [[save and re-edit|Using Excise]] to use the new title as tag).


see the issue:
https://github.com/Jermolene/TiddlyWiki5/issues/2531

* Update Using Excise.tid

changed headings in response to discussion

* Doc for  editor toolbar buttons (wikitext)

Documentation for buttons special to the editor toolbar (wikitext)

* Update Using Excise.tid

placed it under the new [[Editor toolbar]]

* Update Using Stamp.tid

placed it under the new [[Editor toolbar]] tiddler

* Update WikiText.tid

added reference to [[Editor toolbar]]

* Update Formatting text in TiddlyWiki.tid

added reference to the [[Editor toolbar]]

* Update WikiText.tid

* Update Editor toolbar.tid

* Update Editor toolbar.tid

* Update Editor toolbar.tid

* Update Editor toolbar.tid

typo
2018-11-27 21:12:44 +00:00
Mario Pietsch
42f7c03824 tm-open-external-window plus documentation. (#2721)
* first try - tm-open-external-window plus documentation.

* render examples and make help link a global variable
2018-11-27 18:43:25 +00:00
twMat
9232279a79 Update EditBitmapWidget doc to reflect update in code (#2725) 2018-11-27 18:11:21 +00:00
Tobias Beer
ee8821a5b4 Improvde days Operator docs for parameter (#3041)
in response to @rubaboo's [comment](https://github.com/Jermolene/TiddlyWiki5/pull/2972#issuecomment-331284559)
2018-11-27 17:57:13 +00:00
Tobias Beer
e0126b2f77 Tweak layout of HelloThere calls to action (#3046)
should only be at most 4 images per row, centered

the visuals of seeing 6 in the first row and 2 in the second is rather displeasing
2018-11-27 17:56:19 +00:00
Jermolene
2e7faf3439 Updated Dutch translation
Thanks @gernert
2018-11-25 10:41:41 +00:00
Jermolene
1700eb4ba7 Docs update 2018-11-25 10:37:33 +00:00
twMat
536ab10790 Update docs for $:/tags/SideBarSegment (#3579)
The possibility to rearrange stuff "inside" tag pills is not obvious so makes sense to mention.
2018-11-25 10:36:15 +00:00
Jermolene
f6334723f6 Release note update 2018-11-24 16:12:12 +00:00
Jermolene
078df9c157 Remove "TiddlyFox Apocalypse" from HelloThere thumbnails 2018-11-24 15:52:49 +00:00
G0erman
f32cb52ba6 Squashed commit of the following: (#3571)
uthor: G0erman <goerman.rafi@gmail.com
Date:   Fri Nov 23 17:21:43 2018 -0500

    Add a line in the end

commit 3cdd78116965f38147f55897adfcef493befe5d0
Author: G0erman <goerman.rafi@gmail.com>
Date:   Fri Nov 23 17:15:47 2018 -0500

    Recover file accidentally deleted

commit c4536e9182cd90a5d4e6e694ac6fc930ea75ddb5
Author: G0erman <goerman.rafi@gmail.com>
Date:   Fri Nov 23 17:12:25 2018 -0500

    Translate instructions about install plugin in node server.

commit 0622d03beb
Author: Jeremy Ruston <jeremy@jermolene.com>
Date:   Wed Nov 21 12:10:35 2018 +0000

    Update release note contributors list

commit 9d0083d8dc
Merge: 8134f8de2 2541b9b09
Author: Jeremy Ruston <jeremy@jermolene.com>
Date:   Wed Nov 21 11:53:43 2018 +0000

    Merge branch 'master' of https://Jermolene@github.com/Jermolene/TiddlyWiki5.git

commit 8134f8de28
Author: Jeremy Ruston <jeremy@jermolene.com>
Date:   Wed Nov 21 11:53:26 2018 +0000

    Update release note

commit 2541b9b090
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Wed Nov 21 12:32:22 2018 +0100

    Pagescroller - get scroll pos in src window (#3561)

commit d55a498fca
Author: Bimba Laszlo <bimbalaszlo@gmail.com>
Date:   Wed Nov 21 12:26:00 2018 +0100

    Docs: Clarify TextWidget with example (#3564)

commit ce7becd64f
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Wed Nov 21 12:24:50 2018 +0100

    KeyboardShortcut docs (#3496)

    * add SystemTag $:/tags/KeyboardShortcut

    * add Keyboard Shortcut Descriptor

    * Update KeyboardShortcuts.tid

    * Update KeyboardShortcutDescriptor.tid

    * Update and rename SystemTag_$__tags_KeyboardShortcut.tid to SystemTag_ $__tags_KeyboardShortcut.tid

    * Create KeyboardShortcutTiddler.tid

    * Update KeyboardShortcutTiddler.tid

    * Update KeyboardShortcutTiddler.tid

    * Update KeyboardShortcuts.tid

    * Update KeyboardShortcuts.tid

commit 09330968cc
Author: Jeremy Ruston <jeremy@jermolene.com>
Date:   Tue Nov 20 13:29:44 2018 +0000

    New "else" prefix for filters (#3558)

    * Experimental "else" prefix for filters

    See #3557

    * Docs updates for "else" filter runs

commit 02f26d94a1
Author: Jermolene <jeremy@jermolene.com>
Date:   Tue Nov 20 13:29:01 2018 +0000

    Releaase note update

commit 7729649f0e
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Tue Nov 20 12:50:12 2018 +0100

    Fix bad function declaration in wiki.js (#3559)

    fix for #3555 - inner function declaration should be on top of its "host" function

    error originally appeared on firefox v38.0.5

commit 430be4ec30
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Tue Nov 20 12:43:15 2018 +0100

    Fix list-tagged-draggable for quotes !! and ## (#3442)

    * fix list-tagged-draggable for quotes !! and ##

    * Update list.tid

    * Update list.tid

    * Update list.tid

commit b009a60b69
Author: Jermolene <jeremy@jermolene.com>
Date:   Tue Nov 20 11:30:06 2018 +0000

    Update release note

    Not quite up to date, got as far as 31 Oct.

commit 8832409666
Author: Jermolene <jeremy@jermolene.com>
Date:   Tue Nov 20 11:29:36 2018 +0000

    Docs typo

commit 6d67dc8eb8
Author: Bimba Laszlo <bimbalaszlo@gmail.com>
Date:   Tue Nov 20 11:06:12 2018 +0100

    Clarify drag-n-drop behaviour again (#3434)

    * Clarify drag-n-drop behaviour again

    Just found the real reason of drag-n-drop issue mentioned in
    b89e8d1635.

    * Trying to formulate correctly

commit f4ca295086
Author: Bimba Laszlo <bimbalaszlo@gmail.com>
Date:   Mon Nov 19 22:01:56 2018 +0100

    Docs: Remove broken `is` operator example (#3556)

    In 737e9ae4cb the multiple suboperator
    functionality was banned, but an example is remained in the docs.

commit b629b1412d
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Mon Nov 19 21:56:59 2018 +0100

    Fix CodeMirror on fake dom (#3547)

    * fix for #3547

    see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty

    because of "strict mode" - the `parentNode` property may not be writable and causes an error in `fakedom.js` (appendChild)

    to reproduce: install CodeMirror, install "Tools for exploring internals of TW", open a heavy Tiddler like the Control-Panel in edit-mode, toggle preview on, switch to "parse tree" or "widget tree"

    * check for tw fakedom

commit eea034c32d
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Mon Nov 19 18:59:04 2018 +0100

    Docs: add state* documentation to button and reveal widgets (#3553)

    * docs: add state* attributes to reveal widget

    * docs: add state* attributes to button widget

commit f373d8f2bf
Author: Adrian Morosanu <morosanuae@yahoo.com>
Date:   Mon Nov 19 12:50:09 2018 +0200

    Tree macro - fix for double quotes (and other special characters) (#3552)

    * Added fixes for special characters (e.g. double quotes) (including @BurningTreeC and @Jermolene suggestions)
    * Removed a lot of redundant code
    * Set a default value for "tree" macro prefix parameter ($:/)

commit 4f78d3d81b
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Mon Nov 19 10:35:06 2018 +0100

    Fix untagged-pill popup position (#3550)

    this corrects the popup-position of the untagged-pill in the tag-manager, showing on top of the Tiddler, not below the pill

commit 72679d2041
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Sun Nov 18 21:58:03 2018 +0100

    Fix bad characters in the TagManager (#3549)

    now the tag manager needs some fixes for breaking titles, too

    - the `<<__variable__>>` syntax needs to be used
    - the `tag-pills` don't use the tag-pill macro, but `{{||$:/core/ui/TagTemplate}}` directly
    - some already sufficiently qualified states in the `iconEditor` macro are reduced to not use the `qualify` macro

commit 33ba69e852
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Sun Nov 18 21:57:04 2018 +0100

    Modals: Display in source-window (#3539)

    * Make modals display in source Window

    this makes modals display within the window where they got opened, with the parameter `rootwindow` that, if `yes` or `true`, shows the modal always in the root TW window (`<$action-sendmessage $message="tm-modal" $param="mymodal" rootwindow="yes|true"/>`)

    * pass the full event to $tw.modal.display

    we need the event there to find `srcDocument` and `srcWindow`

    * pass event in options object

    * update modal.js to use options.event

    * add docs for rootwindow tm-modal attribute

commit 3aae643e14
Author: Jermolene <jeremy@jermolene.com>
Date:   Sun Nov 18 19:31:53 2018 +0000

    Reveal widget with lazily loaded state tiddlers

    Fixes #3476

commit e983936c30
Author: Lioric <7177570+Lioric@users.noreply.github.com>
Date:   Sun Nov 18 14:19:10 2018 -0500

    Signing the CLA (#3477)

commit 849844be12
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Sun Nov 18 20:16:46 2018 +0100

    Add stateTitle stateField stateIndex attributes (#3529)

    * make triggerPopup optionally set state directly

    * update button widget for new state attributes

    * update reveal widget for new state attributes

    * fix errors in button widget

commit 2b6514ddc2
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Sun Nov 18 11:54:12 2018 +0100

    Use new state* attributes for  reveal and button widgets (#3531)

    * toc macros: use stateTitle and setTitle

    * tree macros: use stateTitle and setTitle

    * TagManager: use popupTitle, stateTitle setTitle

    * body viewtemplate: use stateTitle for folded-state

    * import-listings: use stateTitle and setTitle

commit ddc76622f2
Author: BurningTreeC <hypnotizedkangaroo@gmail.com>
Date:   Sun Nov 18 11:44:19 2018 +0100

    Remove sourceMappingUrl from hammer.js (#3535)

commit 882cad1a0d
Author: Bram Chen <bram.chen@gmail.com>
Date:   Sat Nov 17 21:48:31 2018 +0800

    Add chinese translations for Title/References (#3545)
2018-11-24 09:50:24 +00:00
Jeremy Ruston
0622d03beb Update release note contributors list 2018-11-21 12:10:35 +00:00
Jeremy Ruston
9d0083d8dc Merge branch 'master' of https://Jermolene@github.com/Jermolene/TiddlyWiki5.git 2018-11-21 11:53:43 +00:00
Jeremy Ruston
8134f8de28 Update release note 2018-11-21 11:53:26 +00:00
Bimba Laszlo
d55a498fca Docs: Clarify TextWidget with example (#3564) 2018-11-21 11:26:00 +00:00
BurningTreeC
ce7becd64f KeyboardShortcut docs (#3496)
* add SystemTag $:/tags/KeyboardShortcut

* add Keyboard Shortcut Descriptor

* Update KeyboardShortcuts.tid

* Update KeyboardShortcutDescriptor.tid

* Update and rename SystemTag_$__tags_KeyboardShortcut.tid to SystemTag_ $__tags_KeyboardShortcut.tid

* Create KeyboardShortcutTiddler.tid

* Update KeyboardShortcutTiddler.tid

* Update KeyboardShortcutTiddler.tid

* Update KeyboardShortcuts.tid

* Update KeyboardShortcuts.tid
2018-11-21 11:24:50 +00:00
Jeremy Ruston
09330968cc
New "else" prefix for filters (#3558)
* Experimental "else" prefix for filters

See #3557

* Docs updates for "else" filter runs
2018-11-20 13:29:44 +00:00
Jermolene
02f26d94a1 Releaase note update 2018-11-20 13:29:01 +00:00
Jermolene
b009a60b69 Update release note
Not quite up to date, got as far as 31 Oct.
2018-11-20 11:30:06 +00:00
Jermolene
8832409666 Docs typo 2018-11-20 11:29:36 +00:00
Bimba Laszlo
6d67dc8eb8 Clarify drag-n-drop behaviour again (#3434)
* Clarify drag-n-drop behaviour again

Just found the real reason of drag-n-drop issue mentioned in
b89e8d1635.

* Trying to formulate correctly
2018-11-20 10:06:12 +00:00
Bimba Laszlo
f4ca295086 Docs: Remove broken is operator example (#3556)
In 737e9ae4cb the multiple suboperator
functionality was banned, but an example is remained in the docs.
2018-11-19 21:01:56 +00:00
BurningTreeC
eea034c32d Docs: add state* documentation to button and reveal widgets (#3553)
* docs: add state* attributes to reveal widget

* docs: add state* attributes to button widget
2018-11-19 17:59:04 +00:00
BurningTreeC
33ba69e852 Modals: Display in source-window (#3539)
* Make modals display in source Window

this makes modals display within the window where they got opened, with the parameter `rootwindow` that, if `yes` or `true`, shows the modal always in the root TW window (`<$action-sendmessage $message="tm-modal" $param="mymodal" rootwindow="yes|true"/>`)

* pass the full event to $tw.modal.display

we need the event there to find `srcDocument` and `srcWindow`

* pass event in options object

* update modal.js to use options.event

* add docs for rootwindow tm-modal attribute
2018-11-18 20:57:04 +00:00
Jeremy Ruston
33dd367a65
Introduce new subfilter operator (#3508) 2018-11-16 11:27:19 +00:00
Jermolene
db3f41db29 Docs typo fix for #3540 2018-11-15 21:44:05 +00:00
G0erman
d317bdf3da Documentation language (#3540)
* Improve documentation install language on node.js

* Singing the CLA
2018-11-15 21:43:01 +00:00
Jermolene
8ae62c90df Improve links to demo editions
Now make them relative to the location of index.html
2018-11-13 08:55:13 +00:00
Jermolene
277bc92f92 Add a dynaview demo edition 2018-11-13 08:54:50 +00:00
Bimba Laszlo
196992167f Add link to "code style and auto format settings" repo (#3527)
https://github.com/Jermolene/TiddlyWiki5/pull/3511#issuecomment-436405293
2018-11-08 11:29:31 +00:00
BurningTreeC
9f8a74c6d9 add new-tiddler new-journal new-image keyboard shortcuts (#3512)
* add new-tiddler action tiddler

* use new-tiddler action-tiddler

* use new-tiddler action-tiddler correctly

* use new-journal action-tiddler

* create new-journal action-tiddler

* use new-image action-tiddler

* add new-image action-tiddler

* create new-image type config

users may prefer png over jpeg for example

* add new-tiddler keyboard shortcut

* add keyboard shortcut configs

* add keyboard shortcuts ShortcutInfo

* add new-journal Keyboard shortcut

* add new-image keyboard shortcut

* Create Hidden Setting NewImageType.tid
2018-11-07 12:59:21 +00:00
Marxsal
16eb5e1e32 Doc: Updated info re free WebDAV hosting (#3017) 2018-11-06 15:35:58 +00:00
Marxsal
abda6dd078 Docs: How to customize TiddlyDesktop (#3018)
Adapted from Jeremy's post https://groups.google.com/d/msg/tiddlywiki/KXdrZyr9MZ4/pFPcZtu5DAAJ
2018-11-06 15:35:31 +00:00
Marxsal
729c1e1030 Add lt, gt, lteq, and gteq to text attribute description. (#3470) 2018-11-06 15:34:21 +00:00
Marxsal
88c47d9df4 Documentation resource - Dave Gifford's Toolmap (#3478)
* Documentation resource - Dave Gifford's Toolmap

* Updated description line
2018-11-06 15:33:54 +00:00
Marxsal
899fe7608b Doc - url fix for Timimi documentation (#3479) 2018-11-06 15:33:28 +00:00
Marxsal
7cd1c48643 Doc - additional notes re list widget behavior (#3480) 2018-11-06 15:33:00 +00:00
Jeremy Ruston
6dcdc2049a
Enhance search operator (#3502)
* Enhance search operator

* Add support for searching all fields

and also searching all fields except nominated fields.

* Docs tweaks

Thanks @pmario

* Error message improvements

* Improve error message formatting
2018-10-30 17:39:18 +00:00
Jermolene
a75434a347 Docs: fix date format example 2018-10-29 09:18:55 +00:00
Jermolene
9c849eb10a WebServer - change /login-basic route to /login/basic
To avoid clashing with tiddlers called "login-basic" :)

We also need to revise the rout for /status for the same reason, but there are backward compatibility issues there
2018-10-13 17:22:21 +01:00
Cameron Fischer
d8007386cf Fix issues with ordering of tagged items (#3301)
* Added better handling for sortByList manual placements

If manual placement specifications show up in an inconvenient order,
sortByList, will go to the trouble of processing them in that order.

* Added tests to confirm solution to (#3296)

...That custom tag ordering will not choke when tiddlers get sorted after their dependencies have been placed around them

* Corrected list-after bug when referencing external titles

* Using more error-proof $tw.utils.hop in sortByList

* minor indentation correction in test-tags.js
2018-10-07 12:15:33 +01:00
Jermolene
240bd7bec4 Docs typo 2018-10-03 21:42:34 +01:00
Jermolene
eeb453d471 Docs update 2018-10-02 14:54:46 +01:00
Jermolene
f0c6a09ea7 Docs update 2018-10-02 14:19:06 +01:00
Jermolene
c208c55a22 Finish web server API docs 2018-10-02 14:16:58 +01:00
Jermolene
107b0c17c0 Docs update 2018-09-28 18:30:31 +01:00
Jermolene
f162f4bc7b Typos missed from a9dd8c2 2018-09-28 18:18:07 +01:00
Jermolene
a9dd8c2f52 Use the new import pragma
Good for the core to show best practice
2018-09-28 16:25:54 +01:00
Jermolene
d5da7fd57c Docs updates 2018-09-28 16:02:04 +01:00
Jermolene
7022a98d5a Update splash screen example so that the macros work 2018-09-28 16:01:50 +01:00
Jermolene
fe85845c3c Add new "\import" pragma 2018-09-28 16:01:32 +01:00
Jermolene
f61a61c060 Improvements to splash screen documentation 2018-09-27 11:51:44 +01:00
Jermolene
86f2de0dda Fix typo in example splash screen
Missed off cfb2d7c
2018-09-27 10:11:54 +01:00
Jermolene
cfb2d7c9c8 Add support for splash screens during loading
Fixes #3417

Addresses some of the requirements discussed in #2254
2018-09-27 09:47:55 +01:00
Jermolene
806df86434 Move the system tag documentation into individual tiddlers 2018-09-26 18:24:08 +01:00
Jermolene
b776f9fe90 Remove version history of TiddlyDesktop
It's hard to keep the listing up to date (see https://github.com/Jermolene/TiddlyDesktop/issues/161), and so it's better to just point users at GitHub
2018-09-24 09:26:40 +01:00
Jermolene
f9eed0dc87 Docs about using the web server with external JS 2018-09-05 09:10:42 +01:00
Jeremy Ruston
3d10a35fb7
Add support for externalising TW's JavaScript (#3423)
* Explore externalising TiddlyWiki's JS core into a separate file

* Fix missing newline after copyright notice

* Add an error alert if tiddlywiki.js can't be loaded
2018-09-05 08:44:27 +01:00
Jermolene
8321d2e6fc Docs: webserver and read-only mode 2018-09-05 08:38:47 +01:00
Marxsal
d7b8c1c298 Community doc for Timimi extension (#3415) 2018-08-31 09:59:11 +01:00
Jermolene
19f7287a53 Add $:/tags/TiddlerInfoSegment for adding segments to the tiddler info panel 2018-08-30 13:42:51 +01:00
Jermolene
4b630de4bd Release note update 2018-08-26 16:49:02 +01:00
Jermolene
72e2238dc9 Release note updates 2018-08-23 13:14:11 +01:00
Jermolene
0151d8e564 Docs typo 2018-08-21 18:21:35 +01:00
Jermolene
b7558f98f4 Release note update 2018-08-21 14:01:24 +01:00
TechLifeWeb
5756f30edd Docs: Update TW5 Tribal Knowledge.tid (#3327)
This link has been long dead because DropBox changed their policy on public folders. I've moved the file and started making updates to it again.
2018-08-20 18:11:46 +01:00
Jermolene
59b6cc134f Don't include qrcode and nodewebkitsaver plugins in prerelease 2018-08-20 17:56:17 +01:00
Jermolene
ee28f66b0a Docs: tweaks to 'Macro Definitions in WikiText' 2018-08-20 17:55:32 +01:00
twMat
9a2e2cd385 Docs: Update Macro Definitions in WikiText.tid (#3381)
* Update Macro Definitions in WikiText.tid

*The table is intended as an overview.
*The "Parameters as Variables" example is more clean cut than previously.

Please note that the text lacks an example of  direct `<<variable>>` invocation (because I'm not even sure I categorize or name this properly). Also my changes may contain factual errors or faulty lingo - please check!

* Update Macro Definitions in WikiText.tid
2018-08-20 17:50:23 +01:00
Jermolene
11529ab399 Docs: clarify docs for "each" filter operator 2018-08-20 15:31:57 +01:00
Jens
0c965175aa Docs: Add description of suffix: value (#3393) 2018-08-19 18:37:37 +01:00
Jens
e92eb6a945 Docs: fix regexp default field (#3394) 2018-08-19 18:37:14 +01:00
twMat
dce564c238 Update doc on HTML Block vs Inline mode (#3395) 2018-08-19 18:24:23 +01:00
Arlen22
68b063ab24 Rename TiddlyWiki in the Sky to TiddlyWiki Cloud (#3398) 2018-08-19 18:23:27 +01:00
Jermolene
8a38685de9 Optionally adjust scroll targets to allow for a top menu bar
Fixes #3396
2018-08-16 12:07:50 +01:00
Jermolene
763f8afaf2 Add "contains" filter operator for searching list fields 2018-08-15 13:50:07 +01:00
Jermolene
3140ff9e49 Extent tm-full-screen message to support forcing the status
Now one can force "enter" or "exit", instead of just toggling the current status
2018-08-14 22:53:53 +01:00
Bimba Laszlo
b89e8d1635 Clarify the drag-n-drop behaviour (#3387)
* Clarify the drag-n-drop behaviour

In my case I misunderstood it: I thought that I need to select the text and
drag the selection, because drag-n-drop did not work by default.

* Fix grammar
2018-08-10 21:29:13 +01:00
Jermolene
bb9e2de861 Docs improvements 2018-08-08 10:47:10 +01:00
Jermolene
0285eb600e Clarify date format docs
Fixes #3369
2018-07-30 21:19:59 +01:00
Jermolene
6cfd973fbd Readme credits 2018-07-20 14:19:11 +01:00
Jermolene
49e9789d9c Readme updates 2018-07-20 13:34:00 +01:00
Evan Balster
be58de8409 Add range operator and documentation (#3346) 2018-07-19 21:42:09 +01:00
twMat
e554561f95 [doc] Update CountWidget.tid (#3348)
* [doc] Update CountWidget.tid

* Update CountWidget.tid
2018-07-19 17:59:24 +01:00
twMat
57d6215fda [doc update] Custom_styles_by_data-tags.tid (#3355)
A few minor improvements that I propose are merged directly.

But, @pmario , we also need a clarifying example showing how to target a tiddler using *multiple* tags. So, under the examples there ought to be something like this:... BUT I fail to get this to work (syntax?):

```
[data-tags*="[[How to apply custom styles]] example-test"] {
  outline: 2px solid green;
}
```

Further, the text states that

`Important: Tiddler tags are not sorted, so the order in the rendered output may be different!`

...but I'm not sure what this means. Does it mean:

```
Important: A tiddlers tags are displayed alphabetically but rendered styles may come out in a different order. As per standard CSS behaviour, styles rendered later override styles rendered earlier.
```
2018-07-19 17:58:58 +01:00
twMat
fcccc85994 [doc] minor tweak to TranscludeWidget.tid (#3356) 2018-07-19 17:58:04 +01:00
snlhnk
c05c0d3df6 Module-ize server routes, add static file support and other enhancements(#2679)
* Module-ize server routes and add static file support (#2510)

* Refactor server routes to modules

New module type: serverroute

Caveats: Loading order is not deterministic but this would only matter
if two route modules attempted to use the same path regexp (that would
be silly).

* Add static assets plugin

This plugin allows the node server to fetch static assets in the /assets
directory. I felt that this was a feature that goes above the core
functionality. That is why I added it as a plugin. with the modular
route extensions this was a breeze.

* Add serverroute description to ModuleTypes

* Coding standards tweaks

* Fix filename typo

* Move support for attachments from a plugin into the core

* Missing "else"

* Refactor server handling

* Introduce a new named parameter scheme for commands
* Move the SimpleServer class into it's own module
* Deprecate the --server command because of the unwieldy syntax
* Add a new --listen command using the new syntax

For example:

tiddlywiki mywiki --listen host:0.0.0.0 port:8090

* Add check for unknown parameters

* Add support for multiple basic authentication credentials in a CSV file

Beware: Passwords are stored in plain text. If that's a problem, use an authenticating proxy and the trusted header authentication approach.

* Refactor module locations

* Rename "serverroute" module type to "route"

* Remove support for verifying optional named command parameters

The idea was to be able to flag unknown parameter names, but requiring a command to pre-specify all the parameter names makes it harder for (say) the listen command to be extensible so that plugins can add new optional parameters that they handle. (This is particularly in the context of work in progress to encapsulate authenticators into their own modules).

* Refactor the two authenticators into separate modules and add support for authorization

* Correct mistaken path.join vs. path.resolve

See https://stackoverflow.com/a/39836259

* Docs for the named command parameters

I'd be grateful if anyone with sufficient Windows experience could confirm that the note about double quotes in "NamedCommandParameters" is correct.

* Be consistent about lower case parameter names

* Do the right thing when we have a username but no password

With a username parameter but no password parameter we'll attribute edits to that username, but not require authentication.

* Remove obsolete code

* Add support for requiring authentication without restricting the username

* Refactor authorization checks

* Return read_only status in /status response

* Fix two code typos

* Add basic support for detecting readonly status and avoiding write errors

We now have syncadaptors returning  readonly status and avoid attempting to write to the server if it's going to fail

* Add readonly-styles

We hide editing-related buttons in read only mode

I've made this part of the tiddlyweb plugin but I think a case could be made for putting it into the core.

* Add custom request header as CSRF mitigation

By default we require the header X-Requested-With to be set to TiddlyWiki. Can be overriden by setting csrfdisable to "yes"

See https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet#Protecting_REST_Services:_Use_of_Custom_Request_Headers

* Add support for HTTPS

* First pass at a route for serving rendered tiddlers

cc @Drakor

* Tweaks to the single tiddler static view

Adding a simple sidebar

* Switch to "dash" separated parameter names

* Typo

* Docs: Update ServerCommand and ListenCommand

* First pass at docs for the new web server stuff

Writing the docs is turning out to be quite an undertaking, much harder than writing the code!

* Get rid of extraneous paragraphs in static renderings

* Rejig anonymous user handling

Now we can support wikis that are read-only for anonymous access, but allow a user to login for read/write access.

* More docs

Slowly getting there...

* Static tiddler rendering: Fix HTML content in page title

* Docs updates

* Fix server command parameter names

Missed off 30ce7ea

* Docs: Missing quotes

* Avoid inadvertent dependency on Node.js > v9.6.0

The listenOptions parameter of the plain HTTP version of CreateServer was only introduced in v9.6.0

cc @Drakor @pmario

* Typo
2018-07-18 16:54:43 +01:00
Jermolene
9735e13dea Fix broken test 2018-07-03 12:09:59 +01:00
Jermolene
19b54fe905 Docs for the new tm-edit-text-operation save-selection action 2018-06-30 08:35:10 +01:00
Jermolene
2f425c303f Add docs macros to dev edition
Fixes #3345
2018-06-29 16:40:45 +01:00
Jermolene
acaa07a964 First stab at a threaded commenting plugin 2018-06-21 08:36:15 +01:00
Jermolene
2e51f08bef Add support for rebasing headings at render time
Fixes #3330
2018-06-10 15:54:23 +01:00
Jermolene
17e73befde Docs: Update IIS setup instructions
Reference to the wiki folder was incorrect
2018-06-01 10:30:46 +01:00
Jermolene
89f99151b3 Correction to the IIS installation instructions 2018-05-30 18:25:30 +01:00
Jermolene
33e636cbe7 Docs: Add popupmechanism link to Button widget docs
Fixes #3284
2018-05-16 16:23:57 +01:00
twMat
1436196758 Update search.tid (#3279)
minor correction
2018-05-15 15:44:03 +01:00
Jermolene
4fd980debe Docs: TiddlySpot and Ruby saver tweaks 2018-05-14 15:01:38 +01:00
Marxsal
38b24906c1 Docs: Saving via a minimal Ruby server (#3277)
* Saving via a minimal Ruby server

* Small grammatical mistake fix.
2018-05-14 14:56:00 +01:00
Jermolene
9e8a0653b0 Preparing for v5.1.18-prerelease 2018-05-12 12:31:10 +01:00
Jermolene
f355f07ff9 Preparing for release of v5.1.17 2018-05-12 11:46:06 +01:00
Jermolene
6e2b4ebf3e Remove print-tiddler-window button for v5.1.17
We'll reconsider it for v5.1.18
2018-05-12 11:20:43 +01:00
Jermolene
c5511854ab Reinstate TiddlySpot docs
Fixes #3269
2018-05-11 21:11:51 +01:00
Jermolene
577a87a502 Update /dev build instructions 2018-05-10 15:55:36 +01:00
Jermolene
731759e20b Temporarily remove the 5.1.18 release note
So that it doesn't show up on the prerelease
2018-05-10 15:55:25 +01:00
Jermolene
85648590e5 Fix release date of v5.1.16 2018-05-10 15:54:59 +01:00
Jermolene
944010c3bf Release note update 2018-05-10 15:30:46 +01:00
Jermolene
737e9ae4cb Revert multiple suboperator functionality from the "is" operator
See the discussion here: https://github.com/Jermolene/TiddlyWiki5/pull/3240#issuecomment-388035466
2018-05-10 13:15:49 +01:00
Jermolene
523060e823 Add new "print tiddler" button for the view toolbar
It works by opening the tiddler in a new window and then triggering the browser print dialogue.
2018-05-10 11:33:23 +01:00
Matt Lauber
0ab9ec1ad3 Refactored the is operator for simplicity and efficiency. (#3240)
* Refactored the is operator for simplicity and efficiency.

* Improve `is` filter documentation.

* Update is.js

* extracted `subops.length` to `num_of_subops`
* renamed `subop` to `operator` for clarity/differentiation from `subops`
* refactored to avoid using a `Set` object.

* Update is.js
2018-05-09 18:07:08 +01:00
Daniel Rodríguez Rivero
715cb1d1bc Docs: Update RenderCommand.tid (#3263)
Adds a link that opens the advanced search with a filter to list all the template tiddlers.
2018-05-09 18:05:58 +01:00
Tobias Beer
a2606781b7 Docs: Add "Named vs unnamed parameters" section (#3022)
to clarify the risks of using unnamed parameters, esp. w/ states, see #1252
2018-05-09 18:01:03 +01:00
Jermolene
d4b4c3c936 New Release Banner for v5.1.17 2018-05-05 10:11:51 +01:00
twMat
38baa70bc6 Update Sharing your tiddlers with others.tid (#3254)
Just a little polishing up.
Ideally the icons should be styled to not be so big.
2018-05-04 10:48:11 +01:00
twMat
8464101430 [doc] Update RangeWidget.tid (#3251)
very minor correction
2018-05-03 17:49:52 +01:00
Jermolene
55453d463a Update release note 2018-05-02 17:09:24 +01:00
Jermolene
c95a32abdf Prepare for 5.1.17-prerelease 2018-05-02 16:10:22 +01:00
Jermolene
ac26c8829d Update release note 2018-05-02 16:04:43 +01:00
Jermolene
8feb07e429 Add information about "class" field used by the ViewTemplate 2018-05-02 16:02:24 +01:00
twMat
3aaa7357f6 Update TiddlerFields.tid (#3236)
Add "icon", "list-before" and "list-after"
2018-05-02 16:00:16 +01:00
Jermolene
aab408109f Prepare for v5.1.17 2018-05-02 15:28:17 +01:00
Jermolene
d84a03c2d7 Preparing for v5.1.16 2018-04-25 18:33:53 +01:00
Jermolene
9499af9a70 Release note update 2018-04-25 15:33:39 +01:00
Jermolene
d77a3795b7 Update new release banner 2018-04-25 15:33:13 +01:00
jed
75709d745f Fix a typo in @inmysocks name (#3224)
So it points to the correct GitHub user.
2018-04-25 15:12:19 +01:00
Jermolene
3e707f6a51 Docs: add RangeWidget examples 2018-04-25 14:29:26 +01:00
Jermolene
466566502c Release note update 2018-04-24 23:16:18 +01:00
Jermolene
df50d675f2 Prerelease: enable CodeMirror plugin 2018-04-24 23:03:31 +01:00
Mario Pietsch
19085a1277 Add data attributes to ViewTemplate (#3209)
* change 3 set-widgets to 1 var-widget call. Add data-tags and userClass.

* add new documentation and change the existing one accordingly.
2018-04-24 22:08:20 +01:00
BurningTreeC
200e854814 codemirror update v5.37.0 (#3220)
* Update codemirror.js

* Update xml-fold.js

* Update javascript.js

* Update markdown.js

* Update readme.tid

* add tiddlywiki theme to codemirror demo

* set tiddlywiki theme for codemirror demo

* correct naming of meta to tw-meta

* vim keymap updates were missing - now added
2018-04-24 22:06:59 +01:00
Tobias Beer
6bbf36f903 Update docs for delimiter in environment variables (#3049)
fixes #2954
2018-04-24 22:06:09 +01:00
Matt Lauber
c974858cf5 Add Range widget (#2988)
* Adds a range widget 

Adds a range widget that supports all the range attributes on a input[type=range] element.  These include min max and increment.

* Update range.js

* Fix spaces vs tabs.

* Added documentation.
2018-04-24 22:05:05 +01:00
Jermolene
7f1541464a Release note update 2018-04-23 16:23:54 +01:00
Jermolene
141629c63b Update TiddlySpace info
Fixes #3218
2018-04-21 17:27:31 +01:00
Matt Lauber
5ea6c9a273 Modify the is operator to allow multiple types to be specified. (#2982)
* Modify the is operator to allow multiple types to be specified.

* Fixed indentation.

* Fixed indentation.

* Rewritten to maintain input order when multiple filters provided.

* Updated documentation.

* Update is.tid
2018-04-12 13:21:49 +01:00
Arlen22
2163302190 Invoke hook when server starts (#3024)
* Invoke hook when server starts

Invokes the `th-server-command-start` hook when the server is started, with the server object as the parameter. This allows adding a WebSocket listener to the server.

* Return the HTTP server from the listen function

Returns the node HTTP server created in the listen function to allow extension

* Add node HTTP server to server-command-start hook

* Change hook to post start in case we add a pre-start hook

* Create Hook__th-server-command-post-start.tid
2018-04-10 21:55:54 +01:00
Jermolene
99d8da9fc4 Update TiddlyWiki in the Sky for Dropbox URL 2018-04-10 13:00:51 +01:00
Jermolene
d4fc913012 Release note update 2018-04-08 10:35:37 +01:00
BurningTreeC
afe14b47b5 draggable widget: actions on drag-start and drag-end (#3203)
* pass drag-start end drag-end actions to draggable

* Update dragndrop.js

* Update dragndrop.js

* Update dragndrop.js

* Update dragndrop.js

* Update dragndrop.js

* renaming dragstart/dragend -> start/end

* renaming dragstart/dragend -> start/end

* adding docs
2018-04-08 10:29:17 +01:00
Tobias Beer
f092d08358 sets checked class for radio widget wrapper / label (#2182)
* sets checked ckass for radio widget wrapper

* added tc-radio as standard class for radio widgets

* removed selectedClass again, as suggested

@pmario ;-)
2018-04-08 09:52:41 +01:00
Jermolene
ea763d0eab Add support for retaining tab content
Fixes #2031
2018-04-08 09:47:57 +01:00
Jermolene
ce7cb020fb Add link to prerelease CodeMirror demo
Fixes #3204
2018-04-08 09:35:15 +01:00
Jermolene
1d6edfbfcb Release note clean up 2018-04-08 09:33:19 +01:00
Rizwan
3c92512a2d [Doc] New types info to attributes table of reveal widget (#3198) 2018-04-07 12:49:12 +01:00
Jermolene
a07fe6f016 Release note update 2018-04-07 12:23:02 +01:00
BurningTreeC
3d64d7d126 CodeMirror 5.36.0 modularized (#3184)
* v5.35.1

* codemirror 5.35.1

* v5.35.1

* v5.35.1

* v5.35.1

* v5.35.1

* v5.35.1

* adding search&replace and autocomplete

* update version number

* add jump-to-line.js required for search&replace

* adding show-hint.js required by autocomplete

* adding basic autocomplete for any word

* adding autocomplete css

* adding new files to tiddlywiki.files

* forgot adding search.js

* minify 'em all

* Delete vim.js

* Delete sublime.js

* Delete emacs.js

* Delete anyword-hint.js

* Delete show-hint.css

* Delete show-hint.js

* Update config.tid

* Update tiddlywiki.files

* Update tiddlywiki.files

* Update config.tid

* Update config.tid

* Update config.tid

* Delete dialog.js

* Delete dialog.css

* Delete jump-to-line.js

* Delete search.js

* Delete searchcursor.js

* Update tiddlywiki.files

* Update tiddlywiki.files

* Update tiddlywiki.files

* add search-and-replace cm-addon as plugin

* add autocomplete cm-addon as plugin

* add fullscreen-editing cm-addon as plugin

* add keymaps as plugins + cleanup

* add highlighting modes as plugins

* small update on usage.tid

* moved multiplex.js to htmlembedded mode - the only one using it

* config/CodeMirror update

* how to disable line numbers

* how to change CM theme

* add closebrackets and closetags addons

* packaging a base-addon

* move meta.js from codemirror to base addon

* inputStyle: textarea -> prevents contenteditable on mobile browsers, keeps focus when clicking toolbar buttons, prevents import on paste

* default config no line numbers

* temporary add panel plugin for demo

* put base-plugin back to codemirror editor

* searchcursor to searchnreplace plugin

* bad copypasta mistake

* another typo

* stripped down meta.js + moved matchbrackets to closebrackets plugin

* remove panel

* change module-type to codemirro and make init "require" dynamic.

* make config handling dynamic with sensible defaults

* make cm settings translateable

* delete multids. they will be replaced

* add auto-config tiddlers

* dynamically create config structure for CM

* fix filename

* change typo

* kitchensink config, plus change plugin description for better sorting.

* add matchBrackets config tiddler

* RIP codeblock

* removed install instructions from readme - codemirror usage tiddler still todo

* control panel settings for cm base

* add setting for auto-close tags

* adding fontfamily settings and theme settings

* change tags for settings from $:/tags/ControlPanel/Settings to $:/tags/ControlPanel/Settings/CodeMirror

* more usage info

* more usage info

* update to v5.36.0

* ugly hack enables highlighting and tag-closing for vnd.tiddlywiki and x-tiddlywiki

* disable auto-indent for vnd.tiddlywiki & x-tiddlywiki and add some hidden settings

* remove engine.js hack

* meta.js -> tw-meta.js

* codemirror settings tab

* rename tiddler to tw-meta.js

* make editor font monospace or sans-serif - dropdown select

* make editor font monospace or sans-serif - dropdown select

* now using correct tiddler for editor font setting

* better usage doc

* make markdown-mode require tw-meta

* add more themes info

* add active-line highlighting option

* mini usage change

* add integer type to engine.js config-getter

* blink rate config type string

* correct engine.js

* license for base-plugin, usage link in settings tab

* codemirrordemo hellothere update

* codemirrordemo hellothere update

* Update license.tid

* codemirror demo sidebarlayout, license

* license headers to addon files

* license formatting & forgot what year we have

* license formatting & forgot what year we have & codemirror demo sitetitle sitesubtitle

* more informations 'try-this-style' for codemirrordemo hellothere

* codemirror demo sitetitle & cm fontfamily

* hellothere

* font-family setting must be editor-font-family, not code-font-family

* add basic keyboard shortcuts table

* shortcuts change to not interfere with toolbar shortcuts - needs testing - vim and emacs todo

* formatting

* controlpanel change keymap - default keymap is default

* ctrl-T becomes Alt-T in default keymap

* adjustments for codemirror demo

* demo: hellothere - hint for sidebar keymap cheatsheet

* toolbar focus fix + remove console log

* engine.js cleanup

* formatting

* reverting focus fix

* indenting engine.js

* hoping that indenting gets better
2018-04-06 17:34:50 +01:00
Jermolene
038f19ca9d New release banner for v5.1.16 2018-04-05 16:31:50 +01:00
Jermolene
df9b8c5505 Release note update 2018-04-03 19:01:57 +01:00
Jermolene
9e03264ebe Add pluggable previews to the import listing 2018-04-03 17:50:57 +01:00