1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-02 10:13:16 +00:00
Commit Graph

3473 Commits

Author SHA1 Message Date
twMat
4c39db1f54
Update ActionListopsWidget.tid (#4738) 2020-06-27 13:13:01 +01:00
twMat
c0f0aadf09
Update TaskManagementExampleDraggableTemplate.tid (#4737) 2020-06-27 13:12:52 +01:00
twMat
55109177ee
Update TaskManagementExampleDraggable.tid (#4736) 2020-06-27 13:12:24 +01:00
twMat
2e39b5add5
Update TaskManagementExample.tid (#4735) 2020-06-27 13:11:57 +01:00
twMat
4127ce8e9f
Update StateMechanism.tid (#4734) 2020-06-27 13:11:50 +01:00
twMat
6f4f38506e
Update NavigatorWidget.tid (#4733) 2020-06-27 13:11:41 +01:00
twMat
33ee650fb7
Update How to create keyboard shortcuts.div (#4732) 2020-06-27 13:11:32 +01:00
twMat
7f08025175
Update HistoryMechanism.tid (#4731) 2020-06-27 13:11:20 +01:00
saqimtiaz
d46872c061
Extend tm-import-tiddlers message (#4741)
* Allow tm-import-tiddlers event to override tv-auto-open-on-import

* Add autoOpenOnImport attribute to dropzone

* Updated DropZone docs

* Updated dropzone to support importTitle attribute

* Updated navigator to support importTitle attribute on tm-import-tiddlers

* Update dropzone docs for importTitle attribute

* Updated docs for tm-import-tiddlers

* Fixed formatting
2020-06-27 12:32:11 +01:00
jeremy@jermolene.com
c57bdc46f4 Update release note 2020-06-22 11:35:31 +01:00
jeremy@jermolene.com
3de6c95fd6 Update release note 2020-06-19 19:06:21 +01:00
saqimtiaz
7911007973
Revised: toggling relink in tm-rename-tiddler (#4723)
* switch boolean logic in new parameters

Use renameinTags and renameInLists instead of dontRenameInTags and dontRenameInLists respectively. This avoids users having to think through double negatives, as well as corresponds better to the setting in $:/config/RelinkOnRename

* Updated docs for revised parameters for tm-new-tiddler
2020-06-19 18:20:25 +01:00
saqimtiaz
24ef51df01
Revert "Allow toggling relink in tm-rename-tiddler (#4719)" (#4722)
This reverts commit a689f31978.
2020-06-19 18:05:08 +01:00
saqimtiaz
a689f31978
Allow toggling relink in tm-rename-tiddler (#4719)
* Allow toggling relink in tm-rename-tiddler

* Updated docs for tm-rename-tiddler
2020-06-19 11:07:03 +01:00
jeremy@jermolene.com
f760a2fa79 Add old tiddler to th-saving-tiddler hook
Addresses https://github.com/Jermolene/TiddlyWiki5/pull/4434#issuecomment-645939182
2020-06-18 11:49:59 +01:00
jeremy@jermolene.com
6265be01cd Release note update 2020-06-16 14:40:49 +01:00
jeremy@jermolene.com
fc1877dcce Merge branch 'tiddlywiki-com' 2020-06-16 14:15:10 +01:00
jeremy@jermolene.com
5cda5c82e1 Add docs for list-thumbnails macro
Thanks @Marxsal
2020-06-14 17:26:19 +01:00
jeremy@jermolene.com
b8225f6993 Create Saving with TW Receiver
Fixes #4712

(with 09a2db1cff)
2020-06-14 17:23:28 +01:00
Rizwan
1e221ddbdb
Visual changes to Saving Tiddler (#4640)
* Styles and templates for visual changes to Saving methods listing

* Color coding saver methods according to delivery

* Changes to tags and few tiddlers
- The tag InternetExplorer has been changed to [[Internet Explorer]]
- A tag for Edge is added
- Reclassified TiddlyServer as DIY instead of App
The existing criteriion for classification is unclear. Here is my reasoning for the change. An app is something user can simply install and run. Like TiddlyDesktop or Tiddloid. A DIY is something user has to install additional runtimes for. Thus Nodejs is a DIY. In the same vein, TiddlyServer is a DIY

* Adding Twexe

* Reversing accidental changes to StoryList

* Restyling Download button and Card Size

* Removing "Read more" links

Entire card is now clickable
To give visual clues regarding the clickability of card, title will change color to blue on card hover

* Removing margins from elements under link and adding padding instead.

Why this change? Margins are not "clickable". Having margins under <a> tag means there are minute dead areas where the mouse pointer will change shape, is not clickable and degrade user experience. Paddings are "clickable"
2020-06-14 11:48:13 +01:00
Jeremy Ruston
09a2db1cff
Update Saving on a PHP Server.tid (#4714)
As suggested by @Marxsal
2020-06-14 11:22:37 +01:00
twMat
2f55a8808c
Update KeyboardWidget.tid (#4606)
Add railroad for key strings.
2020-06-13 19:29:38 +01:00
twMat
e3ad276dd0
Update Images in WikiText.tid (#4691) 2020-06-11 12:11:26 +01:00
twMat
1f1fd49d0b
Update LinkWidget.tid (#4690)
add image link
2020-06-11 12:11:12 +01:00
saqimtiaz
d31d4621a4
Incorrect modified field glitches timeline macro (#4676) 2020-06-11 11:48:55 +01:00
twMat
d42b7f173b
Update TiddlyWiki in the Sky for TiddlyWeb (#4667)
remove refs to TiddlySpace
2020-06-11 11:46:51 +01:00
twMat
ceb2411794
Update How to apply custom styles.tid (#4663) 2020-06-11 11:46:22 +01:00
Simon Huber
e59f606566
Cancel popups when clicking within an editor (#4658)
* Add cancelPopups attribute to edit widget

* Add cancelPopups attribute to factory.js

* Cancel popups in editor/simple.js

* Cancel popups on focus in engines/framed.js

* Cancel popups on focus in CodeMirror engine

* Add cancelPopups="yes" to tag-picker

* Add cancelPopups="yes" to sidebar search

* Add cancelPopups="yes" to editor

* Add cancelPopups="yes" to fields EditTemplate

* Update body.tid

* Add cancelPopups="yes" to title EditTemplate

* Add cancelPopups="yes" to type EditTemplate

* Update EditTextWidget.tid

* Update EditWidget.tid

* Add cancelPopups="yes" to menubar plugin search

* Update tag-picker.tid

* Update tags.tid
2020-06-11 11:41:35 +01:00
jeremy@jermolene.com
2c24f30cdd Update release note 2020-06-11 11:30:11 +01:00
jeremy@jermolene.com
954c9944ad Fix accidental changes in 41a7d98e17
Put this one down to COVID-19
2020-06-07 10:30:39 +01:00
jeremy@jermolene.com
41a7d98e17 Merge branch 'tiddlywiki-com' 2020-05-16 20:13:38 +01:00
jeremy@jermolene.com
75589d78d8 Update RoadMap tiddler
Fixes #4661
2020-05-16 19:52:54 +01:00
Simon Huber
72ff1a26fc
Update Generating Static Sites with TiddlyWiki.tid (#4636) 2020-05-14 14:31:16 +01:00
mocsa
1812cbbb7c
Clarify Introduction to filter notation.tid (#4639)
I'm reading the documentation for the first time and I'm trying to clarify parts which are hard to understand for first-time users.
2020-05-14 14:30:48 +01:00
jeremy@jermolene.com
3440f0f308 Merge branch 'tiddlywiki-com' 2020-05-14 14:30:07 +01:00
Bimba Laszlo
6570561d4e
The !has[tags] filter didn't work because tags field is an array (#4643)
* The `!has[tags]` filter didn't work because "tags" is an array

The negated `has` filter only considered empty strings, but not empty
arrays (such as the `tags` field).

* Add tests for `has` filter operator with array-like fields (tags, list)
2020-05-14 13:57:12 +01:00
jeremy@jermolene.com
d1441d29fd Release note update 2020-05-10 11:59:22 +01:00
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