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

3209 Commits

Author SHA1 Message Date
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
Jermolene
47cdf55133 Add new subtiddlerfields filter operator 2018-04-03 17:48:01 +01:00
twMat
43b4ded2cc Update forum icon (#3191)
This icon is a much better clue to what the forum is about. Especially it is superior when someone is actually looking for help which, presumably, is one of the most important use cases with the tw webpage.
2018-04-02 19:44:13 +01:00
Mario Pietsch
2e8eb15536 Tag completion min length (#3190)
* tested with tw5.com index.html

* Controls the length of the input before the tag list is filtered
2018-04-02 19:43:18 +01:00
Rizwan
501ad2798f Add ability to trigger actions on unchecking checkbox widget (#3182)
* Add uncheck-actions to checkbox widget

* Update checkbox.js

* Docs for "uncheckactions" param of checkbox widget
2018-04-02 19:39:59 +01:00
Jermolene
a8bd22f363 IIS instructions: Add docs link 2018-03-30 10:08:53 +01:00
Jermolene
e19a9e6ff6 Release note update 2018-03-29 14:25:06 +01:00
Jermolene
274bea1258 Docs for running on MS Internet Information Server 2018-03-29 12:51:31 +01:00
Jermolene
1280984e78 Docs: cleanup file locations 2018-03-29 12:51:08 +01:00
Jermolene
b7746b0c55 Docs update for startup actions 2018-03-23 11:48:48 +00:00
Jermolene
1c6942402e Add support for startup actions 2018-03-23 09:35:39 +00:00
Jermolene
28e713caac Add screen width/height to platform information exposed at startup 2018-03-23 09:13:45 +00:00
Jermolene
8e9330e484 Minor tweaks for #3157 2018-03-22 20:37:06 +00:00
Rizwan
033feda02d Adding comparative operators to reveal widget (#3157)
* Adding comparative operators to reveal widget 

>, <, >=, <=

* Adding documentation and formatting changes

* Bring Alphanumericals to the scope of comparison operation
2018-03-22 16:51:02 +00:00
Rizwan
a62e7d218c Create TW5-SingleExecutable_by_Jed_Carty.tid (#3181) 2018-03-20 19:21:31 +00:00
Jermolene
ac154e1452 Release note updates 2018-03-19 16:01:53 +00:00
Jeremy Ruston
aa7b18427f
Incorporate “diff” engine to show visual differences (#3112) 2018-03-16 20:38:35 +00:00
Jermolene
0d354fe57f SetWidget: Add "subtiddler" attribute 2018-03-16 20:35:41 +00:00
Jermolene
b43ff430b7 Update release note 2018-03-15 14:30:51 +00:00
Jermolene
47264c8cd5 Remove third party cookies from tiddlywiki.com
Fixes #3106
2018-03-15 12:54:25 +00:00
Jermolene
de984366b9 Update release note 2018-03-14 21:29:00 +00:00
Marxsal
eae573b9dd Doc: How to hide author's name (#3162)
* Doc: How to hide author's name

* Rename tiddler. Add additional fields to hide.

* Small tweaks

* Removed creator field leftover from testing.

* New instructions for hiding author

* New instructions for hiding author #2
2018-03-14 18:10:56 +00:00
BurningTreeC
c9b8319801 Droppable widget - passing modifiers as variables (#3167)
* pass the modifier keys as variables

* Update DroppableWidget.tid

* Create modifier Variable.tid

* closing bracket got lost
2018-03-14 17:52:13 +00:00
twMat
22a15bed67 Update caption in jsontiddler Macro (#3166)
To not confuse with the actual jsontiddlerS macro
2018-03-12 09:01:55 +00:00
Rizwan
cb28065d8e Docs: Community- Adding Widdly by Opennota (#3160) 2018-03-10 14:52:52 +00:00
Marxsal
bc87c3e3ae Doc: Emergency Tiddler Export for Saving (#3161) 2018-03-10 14:51:56 +00:00
Marxsal
a5f3968304 Community Resource doc for Jed Carty's Dynamic Tables (#3159) 2018-03-10 14:51:22 +00:00
Marxsal
2e9f0b29d0 Doc: Saving with TiddlyFox - change wording re latest version (#3019)
* Doc: Saving with TiddlyFox - change wording re latest version
The instructions were recommending the exactly wrong direction.

* List alternate extensions for FF 57+
2018-03-10 14:50:45 +00:00
Marxsal
0a1152b83a Simple methods to write protect tiddlers (#3163) 2018-03-10 14:47:47 +00:00
Jermolene
7cb54f32c6 Add draggable task management example 2018-03-07 15:52:58 +00:00
Jermolene
de6c9aff9d Update release note 2018-03-07 15:30:47 +00:00
Jermolene
33cdf1550a Docs: DefaultTiddlers tweaks 2018-03-06 16:14:50 +00:00
Marxsal
25d667868d Explain undocumented features of startup tiddlers (#3153) 2018-03-06 11:27:21 +00:00
Jermolene
80e9c39b75 Update release note 2018-03-05 11:41:55 +00:00
AlexHough
25fc4aa3ae Docs: change link (#3152) 2018-03-05 11:36:16 +00:00
AlexHough
ee0ccd4cc4 Docs: change format of draggable in the intro (#3150)
The change brings it into line with the format in TransculdeWidget. I think it's OK to link to the tiddler defining the widget from the tiddler.

The ListWidget tiddler uses a different convention, "The list widget" : for consistancy I think all widgets should contain a WikiLink to themselves in the introduction
2018-03-05 11:26:39 +00:00
AlexHough
22cd017c2f Docs: add Examples tag to ImageGallery (#3147)
* add Example to title

brings naming convention in line with ImageGallery Example

* Update LanguageGallery.tid
2018-03-05 11:23:39 +00:00
Jermolene
74c1fe16c8 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2018-03-05 11:22:21 +00:00
Jermolene
51ad1deaf2 Docs: Add "Lists" tag to "Lists in WikiText"
Thanks @alexhough

Fixes #3146
2018-03-05 11:22:18 +00:00
AlexHough
308c644fc1 Docs: Add tag "Lists" to GroupedLists docs (#3145) 2018-03-05 11:21:09 +00:00
AlexHough
521c1f6068 Docs: add Lists tag to ListWidget (#3144) 2018-03-05 11:20:27 +00:00
Jermolene
8a5c357f23 Clarify DictionaryTiddlers definition
FIxes #3142
2018-03-05 11:19:21 +00:00
Rizwan
2b0204422d Sortan filter for alpha-numeric filter (#3134)
* Sortan filter for alpha-numeric filter

* Removing Case sensitive option, Removing default value for isAlphanumeric parameter, updating formatting

* Formatting changes

* Formatting changes
2018-03-05 11:09:25 +00:00
Jermolene
24c6eece1b Update to KaTeX v0.9.0 2018-02-20 21:24:11 +00:00
Jermolene
cda43f2ef8 Update release note 2018-02-17 19:26:31 +00:00
Skeeve
5963adf92e Bugfix/3117 inconsistent each (#3124)
* Following Jeremy's proposal of using a new suffix

* typo fixed
2018-02-17 18:51:18 +00:00
Jermolene
86266c506f Add Português (Brasil) translation
Thanks to Mauricio Lucas
2018-02-07 15:56:43 +00:00
Jermolene
38cf4c7ccf Remove extraneous draft tiddler
Fixes #3109
2018-02-07 12:51:55 +00:00
Jermolene
6350f55e25 Updated Dutch translation
Thanks @gernert
2018-01-16 16:15:10 +00:00
Jermolene
df7f4fedb2 Docs: Improve system tiddlers docs 2018-01-13 15:39:44 +00:00
Diego Mesa
949c178f45 Fixing incorrect link to Introduction to filter notation (#3088)
Signed-off-by: Diego Mesa <diego898@gmail.com>
2018-01-11 21:30:29 +00:00
Jermolene
4e433966f4 Readme and minor docs updates 2018-01-11 12:42:45 +00:00
Rizwan
302b6a93de Documentation change to "tiddlywiki.info Files" (#3068)
Correct syntax to include of read-only parameter in "includeWiki" - shown in example
2018-01-09 17:30:44 +00:00
Bram Chen
48a98bad02 Revise the last changes for "Linking in WikiText" (#3083)
`[[Open file|c://users/me/index.html]]` is a wrong syntax for linking in wikitext.

`c://users/me/index.html` is not even a valid URI, although `[ext[Open file|c://users/me/index.html]]` works with Google Chrome and Microsoft Edge on Windows 10.

`[ext[Open file|c:\users\me\index.html]]` works with Chrome, Edge and Firefox on Windows 10.
2018-01-09 17:26:54 +00:00
Jermolene
89e8f689bb Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2018-01-09 17:13:50 +00:00
Jermolene
b4c7c59d5d Add emptyMessage parameter to list-links and list-tagged-draggable macros 2018-01-09 17:13:45 +00:00
Furicle
a3dae612fe Update Linking in WikiText.tid (#3064)
For clarity, the absolute file syntax needs to be added in the first section before relative links are shown.

All the examples from the top section should be echoed in the extended section.
2018-01-08 16:51:15 +00:00
Jermolene
3b34f60b90 Rename "Firefox Apocalypse" to "TiddlyFox Apocalypse"
Fixes #3020
2018-01-08 12:26:47 +00:00
Jermolene
5fee52beac Introduce new dynaview plugin 2018-01-05 09:18:19 +00:00
Jermolene
de4eb5ca89 Add new th-page-refreshed hook 2018-01-04 16:01:19 +00:00
Jermolene
edeab188a9 "Ful" edition: Fix dependent plugins
text-slicer now requires sax.
2018-01-02 15:51:51 +00:00
Jermolene
e27497d43d tw.com: Add some links 2017-12-19 17:18:28 +00:00
Bram Chen
cbfbd0c2bc Fix doc typo (#3067)
Update copy-to-clipboard Macro.tid
2017-12-18 09:30:54 +00:00
Jermolene
1b6a06a4d7 Add copy-to-clipboard macro
And use it in the tw5.com example documentation
2017-12-16 10:58:33 +00:00
Jeremy Ruston
c83231871d
Make macro parameters available as variables in wikified macros (#3063)
First commit
2017-12-16 09:10:10 +00:00
Jermolene
d2ff164c07 Add support for tm-copy-to-clipboard message 2017-12-15 15:08:18 +00:00
Jermolene
e344c38349 Major updates to text-slicer plugin
* In the interests of performance and expressiveness, switched to using a Sax parser instead of a DOM implementation.
* Use extensible declarative rules to control the slicing process
* Added new optional set of rules for slicing by heading, where the paragraphs underneath a heading are packed into the same tiddler as the heading
* Added a modal dialogue for specifying parameters when slicing in the browser
2017-12-14 14:16:54 +00:00
Jermolene
49b3ed4770 Tweaks for #3051
* House style:
** Spaces after the "!" of titles
** Blank line after titles
** Sentence Case for Heading Text
* Make use of wikitext-example-without-html macro for the examples
* Make use of .tip macro for tip
* Some phrasing improvements and clarifications
2017-12-12 17:53:37 +00:00
Jermolene
cd32b627b3 Add .tid extension to "Introduction to Lists" 2017-12-12 17:51:25 +00:00
twMat
2b21b74c50 New docs: Introduction to Lists (#3051)
[ref](https://groups.google.com/forum/#!topic/tiddlywiki/oP3r1yx4C14)
2017-12-12 17:30:18 +00:00
Tobias Beer
a2c764d407 enable doc contributions for dev (#3047)
* enable doc contributions for dev

fixes #2921

* involves changes to boot.js to properly build OriginalTiddlerPaths on
Windows
* added ContributionBanner
* added Sources tab to info panel
* updated tiddlywiki.info for dev

* normalize path separator to posix for windows

* more generically transform to posix
2017-12-12 13:50:33 +00:00
Tobias Beer
feace8d26b added gotcha examples to Filter Expressions and rephrased a little for simplicity (#3055) 2017-12-12 13:46:12 +00:00
Jermolene
38fbc4f35a Minor tweaks to #3052 2017-12-12 12:30:34 +00:00
Tobias Beer
661bff4f5b extend LinkWidget to enforce classes (#3052)
* extend ListWidget to enforce classes

Previously, the undocumented *class* attribute only allowed to specify
additional classes to be set.

Especially for use within a LinkCatcher, you can now apply / enforce
only the custom classes and avoid any of the defaults being applied
depending on the link target.

This will allow to implement #1161 more gracefully.

* use setClass insted of exclamation mark syntax

update docs & fix typo in docs
2017-12-12 12:25:06 +00:00
Jermolene
4d2d202935 Add link to Uwe Stuehler's plugins 2017-12-12 10:50:15 +00:00
Aurelien Navarre
9b2d916946 Clarify current limitations on node.js and TiddlyWiki (#1227) 2017-12-03 21:47:37 +00:00
Jermolene
b02ee28968 Add Slovenian translation 2017-11-20 22:00:20 +00:00
Jermolene
c507d4e2dd Use https for YouTube 2017-11-18 19:53:52 +00:00
Mario Pietsch
525e07f259 added new "file-backups" AddOn resource, Added video HowTo's link to WebDav saver info. (#3014) 2017-11-16 16:29:31 +00:00
Jermolene
bd2ff7a4c9 Docs update: add link to Termux for Android docs 2017-11-15 17:41:47 +00:00
Marxsal
e64c42e661 Warn to use 'split' , not 'preg_split' (#3013)
Should have warned user to look for 'split' instead of 'preg_split'
I've retained the new tags, etc. that were put in earlier today
by Jeremy.
2017-11-15 17:24:28 +00:00
Jermolene
06fa483b7d Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2017-11-15 16:38:03 +00:00
Jermolene
ca2225b940 Doc: Explains how to fix preg_split error in store.php
Fixes #3011
2017-11-15 16:37:59 +00:00
Marxsal
c65ca8060c Doc: Include text field in Custom Journal Button (#3012) 2017-11-15 16:35:54 +00:00
Jermolene
5acfc012cb Docs: Add link to Riz's Tekan Kanban 2017-11-15 16:12:47 +00:00
Jermolene
54b1e284fa Docs updates
Missing .tid extensions were causing those tiddlers to be mis-read.
2017-11-14 12:46:21 +00:00
Jermolene
304eb99d41 Docs updates 2017-11-14 12:31:35 +00:00
Jermolene
021b5e072b Updated GettingStarted material about saving changes 2017-11-13 14:00:01 +00:00
Jermolene
2fd2ae993e Add buttonTemplate parameter to tabs macro 2017-11-13 13:56:13 +00:00
Marxsal
464ef889f9 Doc-Resource: Dropboard by Reid Gould (#3009)
* Doc-Resource: Dropboard by Reid Gould

* Minor date tweak
2017-11-13 13:41:10 +00:00
Jermolene
0224da34a9 Preparing for 5.1.15 2017-11-11 14:56:03 +00:00
Jermolene
29364cbd08 Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Jermolene
9e90be47bf Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2017-11-11 09:41:58 +00:00
Jermolene
7abfa9e2e7 Fix date of Firefox Apocalypse
Thanks CodaCoder
2017-11-11 09:41:53 +00:00
Sylvain Naudin
a097b259d7 Update Firefox Apocalypse.tid (#3007)
Type Exploer > Explorer
2017-11-10 21:03:00 +00:00
Jermolene
c5b478efe7 Docs updates
Including a new tiddler about the Firefox Apocalypse
2017-11-10 14:39:15 +00:00
Jermolene
c4e2793b06 Docs updates 2017-11-09 16:07:01 +00:00
Jermolene
ae8fb3e98b Add some resource links 2017-11-07 18:57:51 +00:00
Jermolene
6555fecbf3 Release note updates and other docs tweaks 2017-10-31 17:25:21 +00:00
Jermolene
d7a6816307 Add jsonstringify operator 2017-10-29 15:53:53 +00:00
Jermolene
e646d207c3 Add "external-attachments" plugin
This plugin provides support for importing tiddlers as external attachments -- it only works on platforms such as TiddlyDesktop that provide the required "path" property with imported files.

Using the plugin means that instead of importing binary files as self-contained tiddlers, they are imported as "skinny" tiddlers that reference the original file via the ''_canonical_uri'' field. This reduces the size of the wiki and thus improves performance. However, it does mean that the wiki is no longer fully self-contained
2017-10-11 17:54:03 +01:00
Jermolene
518f57f4bb Add new hook "th-importing-files" 2017-10-11 17:52:37 +01:00
Jermolene
ce5865ba16 Updated readme 2017-10-03 20:44:05 +01:00
Jermolene
e5f96d6415 Update Beaker Browser docs 2017-09-20 18:13:32 +01:00
Jermolene
59505449d2 Docs update 2017-09-20 14:12:09 +01:00
Jermolene
06f70d0a03 Update release note 2017-09-20 11:48:13 +01:00
Jermolene
ce3832e275 Docs tweaks 2017-09-20 11:48:06 +01:00
Jermolene
3c62ef0d71 Add Persian (Iran) translation
Thanks to @amirography
2017-09-16 17:01:58 +01:00
Bram Chen
8ee66d617f Doc typo (#2818) 2017-09-16 15:33:26 +01:00
Thomas Elmiger
489f9a0079 days filter – docs and examples optimisations (#2972)
* Replacement icon stopwatch on

As discussed in issue #2690

* Replacement icon stopwatch off

As discussed in issue #2690

* Added missing tag "Resources" (Community Resource)

* Tried to make a sentence clearer

CamelCase words are NOT joined with hyphens (copy-paste error?). 
Copied "directly" from the line below to make the meaning even clearer.

* Does deleting make the conflict go?

* Recreate deleted file with updated text

* days filter example should show highlights

- show a highlight using a longer timespan (180 days)
- added a second highlight to demo timespan with start AND end in the past
- better readability

* days Operator explanation optimisations

- typo
- readability (explain { positive | negative } first; remove duplication)

* Remove additional blank line

* Remove whitespace after save button

When the save button was not the last edit button (tested by moving to another place via control panel > Appearance > Toolbars > Edit Toolbar by drag-and-drop) then we got additional spacing due to whitespace in the resulting HTML after the button. This is a fix for that, I discovered while developing additional edit buttons.
2017-09-16 15:29:44 +01:00
Mateusz Piotrowski
4e278d0cd7 Add missing wiki directory to command example (#2950)
All the other commands seem to assume that the user is not in the wiki directory, but rather in the parent directory: `tiddlywiki mynewwiki --init server` and `tiddlywiki mynewwiki --server`. This is why `tiddlywiki --build index` fails. A solution to this problem is to add the wiki name to the command.
2017-09-16 15:04:27 +01:00
Jermolene
11da58355e Docs update for LinkWidget 2017-09-07 15:48:11 +01:00
Jermolene
aa417fe899 Add new "lookup" filter 2017-09-07 15:48:00 +01:00
Jermolene
50b0004481 Docs fix: Remove erroneous "class" attribute from tiddler widget
The tiddler widget doesn’t generate any DOM nodes, and so wouldn’t have
anything useful to do with a “class” attribute in any case.
2017-09-01 11:13:39 +01:00
Jermolene
06ea4060cb LinkWidget: Add support for tv-filter-export-link
This change makes it possible to perform the conversion from target
tiddler title to `href` value as a filter expression (previously a
JavaScript macro was needed to use the tv-get-export-link variable)
2017-08-28 11:06:21 +01:00
Jermolene
8293a77c6e Add "mode" attribute to View widget
Useful for controlling how the content is parsed
2017-08-24 20:58:08 +01:00
Jermolene
1088b01f96 Fix typo: MathCell is by Stephen Kimmel 2017-08-13 17:30:36 +01:00
Bram Chen
687cb226f5 Update ImportCommand.tid (#2944)
Corrected caption
2017-07-20 16:39:46 +01:00
Jermolene
8fc80cbf3c Add missing version banners to updated docs 2017-07-18 16:15:46 +01:00
Jermolene
3a73d2e4ee Update release note 2017-07-18 16:00:27 +01:00
Jermolene
a4d919f45c Extend browse widget with deserializer attribute
Along the same lines as 596dfa1d50
2017-07-18 15:32:50 +01:00
Jermolene
0d0b841b5c Drop the mobile drag and drop plugin from the prerelease 2017-07-12 17:19:15 +01:00
Jermolene
e951047461 Add import command
Unlike load, allows manual control of the deserializer to be used
2017-07-12 17:14:27 +01:00
Jermolene
5dd3d97760 Extend the set widget with tiddler, field and index attributes 2017-07-12 16:59:56 +01:00
Jermolene
d966583854 Add new "\whitespace" pragma
This will allow us to simplify some of the more unreadable core
wikitext tiddlers…
2017-07-12 16:46:13 +01:00
Jermolene
596dfa1d50 Allow manual selection of deserializer for dropping or importing files 2017-07-12 16:42:16 +01:00
Jermolene
dc295b2536 LinkCatcherWidget: Add variable containing target tiddler 2017-07-07 12:16:14 +01:00
Jermolene
16d867d380 Release note update 2017-07-05 14:08:16 +01:00