1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-01-22 10:54:46 +00:00

Compare commits

...

8387 Commits

Author SHA1 Message Date
Jeremy Ruston
e82229210e Version number update for 5.3.2 2023-12-13 08:11:32 +00:00
Jeremy Ruston
c13c321a61 Preparing for release of v5.3.2 2023-12-13 08:10:38 +00:00
Jeremy Ruston
0d2aeb8253 Merge branch 'tiddlywiki-com' 2023-12-12 15:48:52 +00:00
Jeremy Ruston
9d94459c5d Syncer: fix object reference
We should be passing the syncer object, not the task object
2023-12-12 15:48:09 +00:00
Jeremy Ruston
5c283f843b Add banner details to the release note 2023-12-12 09:06:38 +00:00
Jeremy Ruston
51862f8128 Update New Release Banner for v5.3.2 2023-12-12 09:04:37 +00:00
Jeremy Ruston
15e53b8cd1 Revert: #7768 Ensure {{}} doesn't cause a recursion error
See https://github.com/Jermolene/TiddlyWiki5/pull/7768#issuecomment-1850578638
2023-12-11 17:56:11 +00:00
Jeremy Ruston
4a9b3009dd Further fix for d1c7f79dd2
The plus sign needs escaping on some regex engines
2023-12-11 15:21:03 +00:00
etardiff
c9be572baf Signing the CLA (#7879) 2023-12-10 10:01:30 +00:00
Robin Munn
4e06c31022 Move list-join example onto single line (#7877)
It's a little less readable this way, but avoids the whitespace issue.
2023-12-07 08:34:07 +00:00
Mateusz Wilczek
5578fa5f94 Improve jsonset operator docs (#7873)
* Update docs of jsonset operator

* Move jsonset examples into a separate tiddler

* Update jsonset operator docs
2023-12-04 15:24:33 +00:00
Saq Imtiaz
2b0675cac5 Docs: fixes typos in conditonal shortcut syntax docs (#7872)
* Docs: Conditional Shortcut Syntax corrections

* Update Conditional Shortcut Syntax.tid

Add a link to Filter Expression tiddler
2023-12-04 08:53:24 +00:00
Jeremy Ruston
155db0f6f8 Improve release note 2023-12-04 08:13:23 +00:00
Jeremy Ruston
4e67aafeb7 Scrollable hotfix: Avoid setTimeout
See #7869
2023-12-02 08:58:35 +00:00
yaisog
e60ddf0b0a Handle switching the bound tiddler (#7868) 2023-11-30 18:26:26 +00:00
Jeremy Ruston
f7359671aa Defer scrollable widget updating bound tiddler for 100ms
See discussion https://talk.tiddlywiki.org/t/5-3-2pre-scroll-binding/8570/3?u=jeremyruston
2023-11-29 18:06:54 +00:00
Jeremy Ruston
c61c34e9df Debounce scrollable widget scroll handler 2023-11-29 14:45:34 +00:00
Jeremy Ruston
6b47cbed32 Scrollable: write bound value if title of bound tiddler changes
Thanks @yaisog
2023-11-29 14:36:58 +00:00
Jeremy Ruston
c282208668 Fix jsonset crash when applied to primitive types
See https://talk.tiddlywiki.org/t/final-checks-before-release-of-v5-3-2/8560/7
2023-11-29 12:06:40 +00:00
Jeremy Ruston
622512c380 Further reduce syncer logging
The rationale is that the deeper logs are only useful for debugging the syncer logic, and are overwhelming for most users
2023-11-29 11:24:54 +00:00
Jeremy Ruston
f56f5dcc56 Fix savetiddlers handling of tiddlers with no text field 2023-11-29 11:23:57 +00:00
Mateusz Wilczek
fc1e9b6c43 Update forum link in update wizard (#7865)
* Update forum link in upgrade wizard

* Update links to forum in es-ES and de-AT editons
2023-11-29 10:06:47 +00:00
Jeremy Ruston
fe17f16675 Fix syncer not exiting when used on CLI
Fixes #7867
2023-11-29 09:31:19 +00:00
Mateusz Wilczek
b08281a20b Improve jsonstringify and stringify operators docs: part 2 (#7748) 2023-11-29 09:01:46 +00:00
Jeremy Ruston
5dc468f1ea Fix release note typo
Apologies again @oflg
2023-11-28 17:43:57 +00:00
Mario Pietsch
c2e61fffe0 German translations (#7864) 2023-11-28 13:49:13 +00:00
Jeremy Ruston
53d493b876 Conditional shortcut docs: highlight use of "condition" variable 2023-11-28 11:51:56 +00:00
Jeremy Ruston
3b84088b27 Syncer: Reduce logging intensity 2023-11-28 11:44:21 +00:00
Jeremy Ruston
a21f45b93a Release note: fix typos 2023-11-28 10:53:38 +00:00
Bram Chen
8f661423f7 Update chinese translations (#7859)
* Update help for CommandsCommand
2023-11-27 22:01:25 +00:00
Maurycy Zarzycki
6bd69cc53f Add changes to PL translation from 233b871fdf (#7862) 2023-11-27 21:53:42 +00:00
Saq Imtiaz
233b871fdf Update help for CommandsCommand to avoid deduplication (#7858) 2023-11-26 17:42:53 +00:00
Robin Munn
64812f5c06 Add join attribute to list widget (#7694)
* Add join attribute to list widget

* Use new join attribute in HTML saving templates

This simplifies the logic involved in saving tiddlers in JSON format
into TW html files, and should also slightly speed up the saving process
depending on how often that list widget gets refreshed.

* Unit tests for list widget's new join attribute

* Add `<$list-join>` widget

Allows specifying complicated join text more easily than an attribute
2023-11-25 09:35:05 +00:00
Jeremy Ruston
22f9df5850 Update release note 2023-11-24 15:11:21 +00:00
Jeremy Ruston
1cb607249e Fix syncer race condition (#7843)
* Initial commit

* Log task choosing

* A tiny bit more logging

* Typo

* Restructure syncer to use a single state machine
2023-11-24 13:02:09 +00:00
Jeremy Ruston
ca41a8db04 Core macros don't allow pragmas in action strings (#7855)
* First commit

* Transclude preferred over macrocall
2023-11-24 10:48:48 +00:00
Jeremy Ruston
d1c7f79dd2 Correct fix for Windows line endings in wiki based tests 2023-11-24 10:42:53 +00:00
Jeremy Ruston
862cb01be7 Revert "Fix wiki based tests with Windows-style line endings"
This reverts commit f22e047fa2.
2023-11-24 10:41:23 +00:00
Jeremy Ruston
f22e047fa2 Fix wiki based tests with Windows-style line endings 2023-11-24 10:31:11 +00:00
Jeremy Ruston
0716ed4c30 Revert "Simplify Permalink/Permaview URLs (#7729)"
This reverts commit 145a8d6992.
2023-11-24 10:13:57 +00:00
Jeremy Ruston
62bb8affa4 Add data attribute support to button and other widgets (#7769)
* Add data attribute support to button widget

* Fix typo

* Refactor ready for making mechanism more generic

* Apply more generic implementation to multiplate widgets

* Refactor to use existing widget.assignAttributes() method

* Fix typo

* Clarify docs

* Update docs

* Update select widget to support style.* attributes

* Remove obsolete comment

* Fixes refresh issues for checkbox and links widgets for data attributes (#7846)

* fix: refresh issues with checkbox and links widgets

* fix: indenting

* Feat: add support for data attributes to Draggable and Droppable widgets (#7845)

* Docs clarification

* docs: add style and data attributes to Draggable and Droppable widget docs (#7850)

* Refactors Select widget to directly create DOM node (#7848)

* fix: refactored SelectWidget to directly create DOM nodes

* fix: refactored SelectWidget to directly create DOM nodes

* fix: improve refresh handling for select widget

* Fixes issues in the PR "Button widget data attributes" (#7852)

* fix: fixed ordered attributes handling and improved tests to catch event attributes

* fix: clean up code from testing

* fix: more tests and refactoring

* fix: use lowercase when checking for event attribute prefix

* fix: use lowercase when checking for event attribute prefix

* fix: changed comment wording

* fix: minor refactoring

* refactor: for brevity

---------

Co-authored-by: Saq Imtiaz <saq.imtiaz@gmail.com>
2023-11-22 20:05:40 +00:00
yaisog
4c2979286b Change separators to match doc (#7303) 2023-11-21 11:58:12 +00:00
Marxsal
ad9cb8a0a8 Modify SetWidget to include use to set global variables. (#7608)
* Modify SetWidget to include use to set global variables.

* Make sample variables easier to read.

* Change text to indicate use of pragma whitespace trim.

* Make compliant with 5.3.1 (?) release
2023-11-21 11:55:54 +00:00
Jeremy Ruston
de6b866f22 Fix detection of DOM properties
Alternate fix for #7714
2023-11-21 11:54:37 +00:00
Jeremy Ruston
06b1cc4bca Scrollable widget: Fix crash in CI 2023-11-21 11:49:34 +00:00
Eric Haberstroh
0cd3c9a8ac Add usemap attribute to image widget (#7634)
* Add usemap attribute to image macro

Allow for a usemap attribute on the $image macro call which is passed through to the resulting img tag. This makes the use of HTML image maps [1] possible.

[1]: <https://www.w3schools.com/html/html_images_imagemap.asp>

* Document new usemap attribute in ImageWidget

* Update version docs

---------

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2023-11-21 11:44:39 +00:00
Mario Pietsch
37c625384a add archive HTML wikis, add index.html + css (#7776)
* add archive HTML wikis, add index.html + css

* only build archive for release version

* tested and add more docs

* fix indent

* fix spacing

* add $TW5_BUILD_OUTPUT_ARCHIVE env variable for testing

* use $TW5_BUILD_OUTPUT_ARCHIVE to check if archive should be built

* use TW5_BUILD_ARCHIVE as requested
2023-11-21 11:42:17 +00:00
Mario Pietsch
a4850ba3d9 make all list-* macros readable for easier future improvements (#7551)
* make all list-* widgets readable for easier future improvements

* remove whitespace on closing braces
2023-11-21 11:30:05 +00:00
Scott Sauyet
145a8d6992 Simplify Permalink/Permaview URLs (#7729)
* Simplify Permalink/Permaview URLs

* Fix lint warnings by removing arrow functions

* Remove commented sample code

* Remove post-ES5 code

* Add many more allowable non-percent-encodedcharacters

* Fix more ES6+ stuff, add end-of-sentence padding character.

* Fix to match standards

* Move the new code from boot to util

* Change from custom map/filter to $tw.utils.each

* Make `each` blocks multi-line

* Move the permalink handling to its own file

* Remove auto-navigation

* Revert "Remove auto-navigation"

This reverts commit ca1e5cf387.
2023-11-21 11:24:17 +00:00
Jeremy Ruston
9012d36859 Allow scrollable widget to bind scroll position to a tiddler (#7649)
* Initial Commit

* Update version number
2023-11-21 11:23:10 +00:00
Robin Munn
ab72cc7b09 Allow negative indexes in json operators (#7849)
* Add unit tests for negative indexes in json ops

* Allow negative indexes in JSON operators

Negative indexes will be treated as counting from the end, so -1 means
last item of the array, -2 means next-to-last item, and so on.

* Add documentation for negative indexes
2023-11-21 11:05:13 +00:00
Saq Imtiaz
bf8b3cff03 Fixes Text Parser being impacted by overrides to codeblock widget (#7844)
* fix: overriding codeblock widget should not impact text parser

* fix: whitespace changes
2023-11-20 08:38:04 +00:00
Mario Pietsch
e4bf7c5f44 fix the add field button tooltip (#7842) 2023-11-18 16:13:27 +00:00
Robin Munn
215bd4e015 Avoid skipping extra whitespace in wikiparser.js (#7835)
When wikiparser parses text looking for a pragma block, it skips
whitespace before looking for the next pragma. If no pragma is found,
we should return the parse position to the original location so that the
skipped whitespace can be parsed as a text node. This allows the
attribute `join=" and "` to parse as " and " rather than "and ".
2023-11-14 22:10:58 +00:00
Robin Munn
758089cbb3 Alternate fix for inconsistent list template syntax (#7827)
* Alternate fix for inconsistent list template syntax

First attempt, which fails on the ListWidget/WithMissingTemplate test.

* Make WithMissingTemplate test pass, inefficiently

Unfortunately, this ends up being very inefficient, because the
clone-and-mutate logic is repeated for every list item. Not ideal.

* More efficient way to do it

This also makes the failing test pass, but far more efficiently.

* Improve performance of list template discovery

Since parse tree nodes never change after widget creation (whereas
attribute values *can* change), we can safely search for the explicit
list templtaes only once, at widget creation time. This saves time as
the search doesn't have to be done on each re-render, and also allows us
to safely do a clone-and-mutate step to extract the list widget's body
(if any) without any `$list-empty` or other items. That, in turn, allows
using the list widget's body as the template even if `$list-empty` is
specified inside the widget body.
2023-11-06 21:18:31 +00:00
Robin Munn
6567843927 Make unit tests run faster in Github Actions (#7829) 2023-11-02 08:44:29 +00:00
Mario Pietsch
1001590326 Macros -- Make "New in 5.3.0" Info More Prominent (#7750)
* Macros -- Make "New in 5.3.0" Info More Prominent

* Add links to new text substitution possibilities
2023-10-30 14:51:06 +00:00
Maurycy Zarzycki
4b56cb4298 Add support for running in-browser tests via playwright in GitHub CLI (#7820)
* Add support for running in-browser tests via playwright in GitHub CLI

* `ci.yml` was updated to store the report so that it can be inspected on failure
* `ci-test.sh` was added as an expansion to `test.sh` which installs and runs playwright
* `playwright.spec.js` does the actual verification of opening the test TW edition in browser, waiting for the tests to finish and then verifying it has indeed passed
* `playwright.config.js` Playwrifht configuration

* Add support for running in-browser tests via playwright in GitHub CLI

* `ci.yml` was updated to store the report so that it can be inspected on failure
* `ci-test.sh` was added as an expansion to `test.sh` which installs and runs playwright
* `playwright.spec.js` does the actual verification of opening the test TW edition in browser, waiting for the tests to finish and then verifying it has indeed passed
* `playwright.config.js` Playwrifht configuration

* Fix file permissions for `ci-test.sh`

* Increased node version for github actions to support playwright

* Add installation of the required @playwright/test library during CI test execution
2023-10-29 09:05:24 +00:00
FrittRo
e593f80278 Signing CLA (#7818) 2023-10-26 22:53:09 +01:00
Simon Huber
902c7f55ba Fix overflow issue of codemirror editor within grid container (#7794)
* fix overflow issue of codemirror editor within grid container

* tiddler preview needs overflow: auto, too
2023-10-26 11:43:24 +01:00
Robin Munn
801e8e312c Fix window.btoa call in browser (#7814) 2023-10-26 09:05:59 +01:00
Scott Sauyet
23a576b8bd Tweak TOC to not show expander for sublist with all children excluded (#7802) 2023-10-25 13:37:24 +01:00
Simon Huber
6a52081d6b Don't set focus on field-name input field when deleting field using delete-field button (#7806) 2023-10-25 13:29:40 +01:00
Robin Munn
246751be1b Fix last filter operator when zero items selected (#7809)
Previously, [last[0]] was incorrectly returning the entire list. It now
returns zero items as it should.
2023-10-25 13:14:49 +01:00
Jeremy Ruston
4ebaba8e89 Tweak wording 2023-10-23 10:13:32 +01:00
Jeremy Ruston
8617fa39dc Tweak appearance of Chinese community link 2023-10-20 10:20:14 +01:00
Jeremy Ruston
f89b52e521 Docs: Link to format operator from titlelist tiddler 2023-10-19 15:54:16 +01:00
Mario Pietsch
efaa8dd1e8 tm-open-window set focus to existing window (#7708)
* tm-open-window set focus to existing window

* tm-open-window: update docs
2023-10-18 16:10:04 +01:00
Robin Munn
326ae61929 Fix encodebase64 and decodebase64 filters (#7683)
* Fix encodebase64 and decodebase64 filters

The documentation for encodebase64 says that the input is treated as
binary data, but in fact the input is being treated as text data, with
an extra UTF-8 encoding step being performed first.

Likewise, the decodebase64 documentation says that it outputs binary
data, but in fact it will do a UTF-8 decoding step before producing
output, which will in fact garble binary data.

This commit changes the behavior of encodebase64 and decodebase64 to
match what the documentation says they do. It also adds an optional
`text` suffix to both filters to keep the current behavior.

Finally, an optional `urlsafe` suffix is added to both filters to allow
them to use the "URL-safe" variant of base64 (using `-` instead of `+`
and `_` instead of `/`).

* Try to fix failing test

Turns out a little more than this is going to be needed.

* Fix binary base64 encoding, including unit tests

* Update base64 filter documentation

* Can't use replaceAll, too new

Have to use String.replace with a global regex instead

* Replace uses of window.btoa() in rest of code

Since window.btoa() is not available under Node.js, we'll replace all
uses of it with the $tw.utils.base64encode() function that now works
correctly for binary data.

* Add link to UTF-8 glossary definition at MDN
2023-10-18 16:08:56 +01:00
Simon Huber
c185e373c5 Use display: grid for editor toolbar, editor and preview (#7787)
* make toolbar, editor and preview display: grid

* correct display of bitmap editor

* grid-area: toolbar not only when preview is shown

* use dedicated classes and tc-grid and no brittle CSS selectors

* no need for width: 100%

* cleanup style definitions

* use semantic classnames
2023-10-17 11:54:20 +01:00
Jeremy Ruston
2ffbfd84a5 Merge branch 'tiddlywiki-com' 2023-10-17 11:38:23 +01:00
Jeremy Ruston
faef02df7a Docs: Add information about the Chinese TiddlyWiki community (#7792) 2023-10-17 11:37:57 +01:00
Ke Wang
c93d56667e Extend ImageWidget to generate the src based on the encoding format of the image entries (#7783)
* Make ImageWidget rendering image tiddler based on encoding of type

* change indent

* use deserializerType instead of type
2023-10-17 09:47:46 +01:00
Ke Wang
3855a9f013 Signing the CLA (#7791) 2023-10-17 09:46:54 +01:00
Jeremy Ruston
4d548580e6 Merge branch 'tiddlywiki-com' 2023-10-16 18:32:37 +01:00
lin onetwo
9773dff1e3 Chore: Add npm script for new core developers (#7539)
* Update package.json

* lint fix

* chore: use node ./tiddlywiki.js  instead of ./bin/serve.sh

* Update package.json

* Update package.json
2023-10-16 18:29:51 +01:00
Guang Li
c6604c0c56 Add floating popup to Dynannotate (#7790) 2023-10-16 18:21:26 +01:00
Jeremy Ruston
e521ee2133 Update release note 2023-10-16 12:27:56 +01:00
Guang Li
a7bd134c35 Docs: Add FSRS4TW plugin (#7770) 2023-10-16 12:23:22 +01:00
lin onetwo
d3f5695601 Fix: Evernote .enex image import (#7785)
* feat: add modifier info

* feat: replace image and attachment with [img[] and [[]]

* feat: import as wikitext tid

* fix: a few resources don't have title

* fix: use hash as random name for images

* fix: Firefox's DOMParser have problem in some cases

* fix: bad char in title, and useless xmlns

* Update sample-enex-with-image.xml.enex

* Update enex-deserializer.js

* Update readme.tid

* fix: some dont have modified
2023-10-15 12:40:38 +01:00
Simon Huber
efa4f34131 Update Basics.tid to not use fixed height in edit widgets (#7789) 2023-10-15 12:32:17 +01:00
Jeremy Ruston
fffbedd6b9 Updated release note 2023-10-14 10:25:16 +01:00
Jeremy Ruston
ff1437e439 Fix refreshing of transcluded functions (#7698)
* Passing test

* Failing test

* Fix test

It still fails, but now fails correctly

* Fix refreshing transcluded functions (#7755)

We store the previous result of the filter function and recalculate it
when the transclude widget needs to be refreshed, refreshing the widget
if the result is different.

---------

Co-authored-by: Jeremy Ruston <174761+Jermolene@users.noreply.github.com>
Co-authored-by: Robin Munn <rmunn@pobox.com>
2023-10-14 09:44:18 +01:00
Jeremy Ruston
32966c9e91 Introduce jsonset operator (#7742) 2023-10-14 09:43:23 +01:00
Jeremy Ruston
96b0543351 Add barcode reader widget to qrcode plugin (#7746)
* Add barcode reader widget to qrcode plugin

* Don't use a fixed ID
2023-10-14 09:42:34 +01:00
Jeremy Ruston
b7562f0c7b Conditional Shortcut Syntax (#7710)
* Initial Commit

* Update docs

* Add support for elseif blocks

* Another test

* WIP

* Change from `{%if%}` to `<%if%>`

See discussion here - https://talk.tiddlywiki.org/t/proposed-if-widget/7882/64

* Don't use the widget body as the template if a list-empty widget is present

See discussion here - https://github.com/Jermolene/TiddlyWiki5/pull/7710#issuecomment-1717193296

* List widget should search recursively for list-template and list-empty

* Allow block mode content within an if/then/else clause

* Update docs

* Add from-version tag to docs
2023-10-14 09:41:21 +01:00
Jeremy Ruston
4c9c85aec5 Add support for list-template and list-empty widgets for specifying list widget templates (#7784)
Cherry picked from #7710
2023-10-14 09:31:11 +01:00
Maurycy Zarzycki
7726982d71 Polish Translations 2023-10-11 (#7779)
* Add translations introduced in 5bb8155422

* Add translations introduced in d17525ec8e
2023-10-11 21:07:49 +01:00
Jeremy Ruston
774058912d Update release note 2023-10-09 17:12:22 +01:00
Jeremy Ruston
106e1c68df Merge branch 'tiddlywiki-com' 2023-10-08 16:23:29 +01:00
Jeremy Ruston
12f42ad62f Add a summary for each release, and include in archive listing 2023-10-08 10:29:42 +01:00
Jeremy Ruston
66a8e2dbf2 Ensure {{}} doesn't generate a transclude widget with no attributes (#7768) 2023-10-07 21:55:39 +01:00
Jeremy Ruston
327ecf8f66 Don't refresh the body editor when switching the preview on and off (#7747)
* Don't refresh the body editor when switching the preview on and off

* Focus editor when switching the preview on or off
2023-10-06 21:49:02 +01:00
Mateusz Wilczek
35e45f3b90 Clean up after #7671 (Change favicon format from ICO to PNG) (#7774)
* Delete editions/tw5.com/tiddlers/_tw_shared/favicons/favicons.svg

* Delete editions/tw5.com/tiddlers/_tw_shared/favicons/favicons.svg.md
2023-10-06 21:39:43 +01:00
Jeremy Ruston
93bc9e4309 Merge branch 'tiddlywiki-com' 2023-10-05 22:29:45 +01:00
Jeremy Ruston
23b75bbc5d Add links to archived versions of TiddlyWiki
@pmario v5.3.0 and v5.3.1 are missing from the archive, would you be able to kindly prepare a PR?
2023-10-05 22:25:07 +01:00
Mateusz Wilczek
68da654eb3 Change favicon format from ICO to PNG, fix #7665 (#7671)
* Change favicon format from ICO to PNG

* Revert renaming `./favicon.ico`

Keep the backwards compatible file name `./favicon.ico` (though they will actually be in PNG format now).

* Add SVG template for creating favicons

Add `favicons.svg`, the template for creating the current PNG favicons, along with some helpful information about it in `favicons.svg.md`.

* Add source Inkscape SVG

Add source Inkscape SVG as an example of image tiddler in tw-com
2023-10-04 22:15:23 +01:00
Bram Chen
1eceb5f47f Update chinese language files (#7765)
* Improve consistency of naming file types and content types in some UI hints.
2023-10-04 18:25:10 +01:00
Timur
def508a220 Fix offline upgrade download link (#6088)
* Fix offline upgrade download link

In Firefox (92.0.1) `href="#"` does not allow to start downloading of `upgrade.html` (Chrome has no such problem). Making href completely empty fixes the issue.

* Update plugins/tiddlywiki/upgrade/UpgradeWizard.tid
2023-10-04 18:24:45 +01:00
Timur
3fb71e2553 Signing the CLA (#7766) 2023-10-04 18:24:14 +01:00
Mateusz Wilczek
d17525ec8e Improve file type names (TID, SVG, ICO) in hints (#7764)
* Make filetype names in hints consistent

* Make ICO content type hint more consistent
2023-10-03 21:37:49 +01:00
Joe Bordes
5bb8155422 i18n(ES) update to latest version changes (#7761) 2023-10-01 09:00:06 +01:00
Robin Munn
bb2973fc29 Make flexbox or grid layouts possible (#7690)
Both flexbox and grid layouts need the container div to be the direct
parent of the children it lays out. To enable that, we need a class that
can select the direct parent of the list widget in PageTemplate.tid so
that that class can have `display: flex` or `display: grid` applied to
it. The `tc-page-container` div is not suitable, because it contains
a `<$dropzone>` inside it, and the dropzone widget creates a div so
tc-page-container is no longer the direct parent of the list. Instead,
a tc-page-container-inner class is added to the dropzone widget in
addition to its existing tc-dropzone class, so that grid or flexbox
layouts can target tc-page-container-inner for setting the appropriate
CSS `display` property.
2023-09-30 16:33:40 +01:00
Jeremy Ruston
bbaa0890b5 Fix broken render commands
Fixes #7759
2023-09-30 13:30:31 +01:00
Mario Pietsch
b4a862c618 Fix #7757 vanilla styles should be first (#7758) 2023-09-28 14:59:50 +01:00
Jeremy Ruston
1be8f0a933 Comments plugin should use palette colours 2023-09-26 17:55:01 +01:00
lin onetwo
773c1f83f2 API for deleting core hooks (#7751)
* feat: Delete hooks from the hashmap

* fix: not using findIndex in the core

* Update HookMechanism.tid
2023-09-24 21:54:52 +01:00
Robin Munn
9ee1ef7e23 Fix a dangling link in filter run prefix docs (#7715)
One example was moved to another tiddler but its link wasn't updated to
follow it. This fixes the link to point to the example again.
2023-09-24 20:20:13 +01:00
Robin Munn
8effb3f218 Fix list widget bug with counter-last when appending items (#7712)
* Add failing test for list widget with counter-last

The failing test appends a value to a list without changing the rest of
the list, and the counter-last value doesn't get updated correctly when
that happens. Also added another test, which passes, testing removing
the last item of the list, just in case of a regression.

* Improve unit tests for counter-last list widget bug

The unit tests were looking very similar to each other, so I factored
out the common code and made them into simple data-driven tests.

* Fix bug where counter-last fails in list widget

The only scenario that was failing was when counter-last was used, but
the list was strictly appended to with no other changes made. The one
unit test that was failing now passes with this fix.

* Improve bugfix to list widget counter-last

Now we only refresh the last item if it was truly necessary.
2023-09-24 20:19:50 +01:00
Robin Munn
780e5d33a4 Slightly speed up [all[shadows+tiddlers]] filters (#7702)
The `all` filter operator has shortcuts to optimise common patterns like
`[all[shadows+tiddlers]]` or `[all[tiddlers]]`. In those cases, the
filter operator function returns early and never uses the `result`
linked list that was created, so it's immediately garbage-collected.
Let's delay creating it until we know it's actually going to be used.
2023-09-24 20:19:04 +01:00
Maurycy Zarzycki
526e997aa4 Add translation changes to Polish from e16635a5ad (#7752) 2023-09-22 19:11:15 +01:00
Jeremy Ruston
e4d8849f22 Merge branch 'tiddlywiki-com' 2023-09-21 18:17:28 +01:00
Jeremy Ruston
bd99cf3385 Docs: Clarify that whitespace trim is inherited by procedure and widget definitions 2023-09-21 18:11:54 +01:00
Simon Huber
711d1658e2 Edittemplate delete button should also delete the typeInputTiddler (#7749)
If we don't delete the typeInputTiddler with the click on the "delete" button then the dropdown stays filtered - but the text input seems to be empty. This PR corrects this behavior
2023-09-21 17:57:53 +01:00
Jeremy Ruston
b82f012c0c Revert "Make preview editor button focus the editor"
This reverts commit f383863654.
2023-09-19 16:08:13 +01:00
Jeremy Ruston
f383863654 Make preview editor button focus the editor 2023-09-19 16:07:52 +01:00
Mateusz Wilczek
697dc8db4c Improve jsonstringify and stringify operators docs (#7650) 2023-09-19 15:52:04 +01:00
Jeremy Ruston
49c96901f3 Fix typo in 7d8766d2b9 2023-09-13 18:06:30 +01:00
Jeremy Ruston
7d8766d2b9 Test editors shouldn't set type attribute of textareas
fixes #7732
2023-09-13 18:04:12 +01:00
Simon Baird
6255856205 Add offline-external-js to empty edition (#7737)
Currently I'm building these files myself for use on tiddlyhost.com.
I'm thinking it would be nicer if they were built and distributed by
TiddlyWiki's own build automation, so this is a step towards that.

The two new files that are created, "empty-external-core.js" and
"tiddlywikicore-<version>.js" will appear alongside the existing
"empty.html" and "empty.hta" when the TiddlyWiki site is deployed.
2023-09-13 15:55:23 +01:00
Simon Baird
6f307ae01e Fix edition file formatting inconsistencies (#7738)
I noticed these inconsistencies in the tiddlywiki.info json files
while working on the previous commit and thought I'd fix them for
the sake of neatness and tidiness.

This contains whitespace changes only, so git diff -b should be
empty.

Includes:
- Remove some trailing whitespace in several files
- Fix incorrect indenting in one file
- Add end of file newlines in two files
2023-09-13 15:12:49 +01:00
Simon Huber
213a850715 Remove ";" from value of $:/themes/tiddlywiki/vanilla/settings/fontfamily (#7735)
the tiddler gets transcluded in the stylesheets like so:

```
font-family: {{$:/themes/tiddlywiki/vanilla/settings/fontfamily}};
```

note - the semicolon at the end
So this semicolon is superfluous
2023-09-12 09:11:18 +01:00
Jeremy Ruston
217af20fcd Merge branch 'tiddlywiki-com' 2023-09-11 18:56:49 +01:00
TonyM
6d0b4108a4 Update _Timimi_ Extension and executable by Riz.tid (#7726)
* Update _Timimi_ Extension and executable by Riz.tid

Include the line

* The native host requires a component installed on the host computer, outside the browser.

So it is clearer there are two components to be installed and access to the local machine is implied.

* Update _Timimi_ Extension and executable by Riz.tid

Added blank line
2023-09-07 09:36:39 +01:00
Bram Chen
642f8da6ed Update chinese language files (#7725)
* Tweak chinese wording of server command help
2023-09-06 15:21:40 +01:00
Jeremy Ruston
e16635a5ad Tweak wording of server command help
Fixes #7724
2023-09-06 12:33:09 +01:00
TonyM
db79bf2380 Update WidgetMessage_ tm-permalink.tid (#7721)
Addition of note that the permalink message;

"The resulting link will be copied to the clipboard."
2023-09-06 12:27:06 +01:00
TonyM
2b16fa7b5c Update GenesisWidget.tid (#7723)
Add "or HTML element" to the description of "attributes not starting with $".
2023-09-06 12:26:27 +01:00
Mohammad Rahmani
64c9d17181 Update TranscludeWidget.tid correct procedure name (#7717)
The copy pasted `mymacro` from old docs is changed to `myproc`
2023-09-04 16:59:08 +01:00
Buckaroo Banzai
ceee20fd59 Remove tiddler with invalid link and advertising (#7709)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2023-09-01 17:21:21 +01:00
Buckaroo Banzai
0889f13fef Signing the CLA (#7711) 2023-09-01 17:20:53 +01:00
Jeremy Ruston
fa9bfa07a0 Fix missing closing tag in tag-pill-inner macro
Fixes #7697
2023-08-25 14:06:17 +01:00
Jeremy Ruston
dbe233fc87 Merge branch 'tiddlywiki-com' 2023-08-20 18:12:38 +01:00
Jeremy Ruston
3965e2c027 Tweak release note 2023-08-20 12:53:59 +01:00
Jeremy Ruston
c22cd3f4c6 Temporary banner image for v5.3.2 2023-08-20 12:51:21 +01:00
Jeremy Ruston
dc282db31b Missing banner credits for v5.3.1 2023-08-20 12:50:08 +01:00
Jeremy Ruston
70309c67d1 Prepare for v5.3.2-prerelease 2023-08-20 11:45:38 +01:00
Jeremy Ruston
ba5bfd1ad0 Version number update for 5.3.1 2023-08-20 11:34:07 +01:00
Jeremy Ruston
3c66af9fdc Update release note for v5.3.1 2023-08-20 11:32:29 +01:00
Jeremy Ruston
6877082090 Preparing for release of v5.3.1 2023-08-20 11:31:23 +01:00
Jeremy Ruston
9201d2bedc Merge remote-tracking branch 'origin/tiddlywiki-com' 2023-08-20 11:18:43 +01:00
Robin Munn
229e681550 Add release note for bugfix PR #7679 (#7681) 2023-08-20 11:07:59 +01:00
Robin Munn
779ac28bd0 Fix checkbox widget when listIndex field undefined (#7679) 2023-08-15 17:12:49 +01:00
yaisog
78ecc20c5e Add notes about subfilter expressions (#7667) 2023-08-08 09:52:39 +01:00
Marxsal
8b6bc6664b Link to archive of Jeffrey Kishner site (#7668) 2023-08-08 09:50:28 +01:00
cmo-pomerium
674bd1822c Signing the CLA (#7664) 2023-08-08 09:46:53 +01:00
Jeremy Ruston
6c67dc8235 Dog demo: Update CSS 2023-08-01 16:13:22 +02:00
Jeremy Ruston
72a4adbd6b Update Procedure Definitions.tid 2023-08-01 07:58:39 +01:00
btheado
aaf0bffb39 Transclude the widget attribute subtiddlers (#7654)
* Use 'translink' macro on widget attribute 'subtiddlers' to make it browsable by scrolling

* Avoid the styling of the translink macro by directly transcluding

---------

Co-authored-by: btheado <btheado@mailinator.com>
2023-08-01 07:56:45 +01:00
Saq Imtiaz
9bbd8a70c2 Updates example for ActionPopupWidget (#7653) 2023-07-31 21:26:23 +01:00
Jeremy Ruston
cc57cf2fe9 Update SystemTag_ $__tags_Macro.tid
Fixing missing colon
2023-07-31 21:02:49 +01:00
Jeremy Ruston
34bc9c72c6 Merge branch 'tiddlywiki-com' 2023-07-31 16:30:54 +01:00
Mario Pietsch
aeb502657b Some new gitlab related docs changes (#7651)
* Some new GitLab related Definitions an minor changes to Git related docs

* remove DevOps tiddler and move tiddlers to their paths
2023-07-31 16:30:41 +01:00
Jeremy Ruston
48705db21f Fix random dog link 2023-07-31 16:04:24 +01:00
Jeremy Ruston
587aa28853 Update release note 2023-07-31 14:37:40 +01:00
Jeremy Ruston
b926a33b55 Warn about random dog image/video sizes 2023-07-31 14:36:29 +01:00
Jeremy Ruston
44ccfe83c9 Missed contributor for release note 2023-07-31 14:19:52 +01:00
Jeremy Ruston
cef0ac680d Update release note 2023-07-31 12:25:12 +01:00
lin onetwo
b8a235697f Improve boot kernel error reporting to include original error message (#7645) 2023-07-31 12:19:10 +01:00
Jeremy Ruston
ed82536a55 Merge branch 'tiddlywiki-com' 2023-07-31 12:16:12 +01:00
btheado
d99b1897c3 Refactor variable invocation docs (#7642)
* Factored out variable invocation tiddlers into separate tiddlers

* Document the variable attribute value behavior more completely

---------

Co-authored-by: btheado <btheado@mailinator.com>
2023-07-31 12:13:37 +01:00
Mateusz Wilczek
3684cfd178 Improve docs on styles and classes in WikiText (#7641) 2023-07-31 12:12:14 +01:00
Mateusz Wilczek
643819f5f5 Add docs on achieving unique tag macro dropdowns inside list widget (#7639) 2023-07-31 12:09:46 +01:00
lilscribby
52f7f6382b Fixed typos in documentation for new pragma (#7637) 2023-07-31 12:06:04 +01:00
lilscribby
575930b31d Signing CLA (#7636)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2023-07-31 12:02:52 +01:00
Marxsal
73f256a411 Change hashmap references to indicate additional variables (#7635) 2023-07-31 12:01:44 +01:00
Eric Haberstroh
1b5b8905d8 Sign the CLA (#7633)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2023-07-31 11:57:31 +01:00
TonyM
825f4eaae1 Update Widgets in WikiText.tid (#7623)
* Update Widgets in WikiText.tid

Added Minimalist link to [[Substituted Attribute Values]] so the new method is also listed.

* Update Widgets in WikiText.tid

removed see also
2023-07-31 11:53:14 +01:00
Jeremy Ruston
d0da1ef9d9 Fix error "Global assignment is not allowed within modules on node" (#7648) 2023-07-31 11:50:58 +01:00
Jeremy Ruston
3e213569e2 Update release note 2023-07-30 22:50:01 +01:00
Jeremy Ruston
4bdac09872 Fix transclude inefficiency (#7647)
* Refactor parse mode out of getTransclusionTarget

* Refactor missing transclusion target

* Add a test to avoid regressions on the handling of macros vs procedures

* Refactor condition logic

* Preparing to split getTransclusionTarget into two separate functions

* Split getTransclusionTarget into getTransclusionTargetIncludingParseTreeNodes

* Resolve another inefficiency

The transclusion target was sometimes being parsed twice when transcluding as text/plain

Associated test results are also made more consistent

* Simplify method naming

* Neatening up
2023-07-30 18:04:05 +01:00
TiddlyTweeter
4c9eaeaaf2 Signing CLA (#7638)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2023-07-30 13:37:27 +01:00
Jeremy Ruston
c1ff85c205 Merge remote-tracking branch 'origin/tiddlywiki-com' 2023-07-27 18:30:23 +01:00
catter-fly
afcbac5e86 Signing CLA (#7643)
* Signing CLA

* Fix double entry

---------

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2023-07-27 18:23:08 +01:00
Jeremy Ruston
1a92fd5dc0 Update release note 2023-07-22 15:51:39 +01:00
Mario Pietsch
e60232e0cb Fix drag and drop from chrome-like browsers to FireFox (#7622)
* fix drag and drop from chrome-like browsers to FireFox

* test feature matchMedia function

* implement new borwser sniffing functions as utilities

* use $tw.browser structure for isMobileChrome detection
2023-07-22 15:47:39 +01:00
Jeremy Ruston
ad6e09f1cb Minor refactor transclude widget
Preparing to fix #7592
2023-07-22 14:01:24 +01:00
Jeremy Ruston
3ddb852a16 Update release note 2023-07-22 12:46:08 +01:00
Mario Pietsch
b000f20283 Fix toc indentation problem (#7627)
* fix toc indentation problem

* add caption to Third & Fourth toc tiddlers to see caption-handling

* reset modified fields
2023-07-22 12:41:19 +01:00
Jeremy Ruston
160cc0e9a9 Revert "Add widget.destroy() function (#7468)"
See discussion at https://github.com/Jermolene/TiddlyWiki5/pull/7468#issuecomment-1645753857
2023-07-22 11:41:36 +01:00
Jeremy Ruston
fd8b8f62da Fix tiddler icon size (#7619)
* Fix tiddler icon size

* Adjust icon size

---------

Co-authored-by: Jeremy Ruston <174761+Jermolene@users.noreply.github.com>
2023-07-21 14:44:49 +01:00
Saq Imtiaz
61a08cbd7b Feat: allow new pragmas to be indented (#7624) 2023-07-21 13:40:42 +01:00
Jeremy Ruston
0fd6b986a0 Update release note 2023-07-20 22:03:07 +01:00
Jeremy Ruston
0a4cfa1164 Revert f61d244410
No evidence that this change improved anything
2023-07-20 22:03:00 +01:00
Jeremy Ruston
04e971c3c6 Merge remote-tracking branch 'origin/tiddlywiki-com' 2023-07-20 21:48:00 +01:00
Jeremy Ruston
963887c8c4 Update Saving via a Minimal Web Server.tid (#7617)
Co-Authored-By: hffqyd <10190817+hffqyd@users.noreply.github.com>
2023-07-20 17:07:45 +01:00
hffqyd
aef76fa25f Update Saving via a Minimal Web Server.tid (#7617)
update information
2023-07-20 17:00:33 +01:00
Jeremy Ruston
4124bbdfb3 New release banner for v5.3.1 2023-07-20 16:58:04 +01:00
Cameron Fischer
98ff6b67fd Fixed boot so module line numbers are correct again (#7618) 2023-07-20 16:13:36 +01:00
Jeremy Ruston
9b2af13596 tm-http-request: Add support for binary responses
With a demo courtesy of https://random.dog/

@rmunn you recently worked on the base64 utilities. I tried to use $tw.utils.base64Encode instead of window.btoa, but found that it didn't work. It's concerning because we expose that utility method as a filter operation, and it would be frustrating if we were not base64encoding things properly.
2023-07-17 12:15:20 +01:00
Jeremy Ruston
7182dbf244 Fix whitespace within new journal button image
Fixes #7612
2023-07-17 09:33:38 +01:00
Jeremy Ruston
f61d244410 Adjust max widget tree depth to 500
See discussion at https://talk.tiddlywiki.org/t/recursive-error-in-template-tiddler-not-getting-caught-in-5-3-0/7566/12
2023-07-17 09:33:16 +01:00
Saq Imtiaz
284669544b Trim whitespace when importing variables in $importvariables (#7611)
* fix: trim whitespace when importing variables

* feat: added tests for importing variables
2023-07-17 09:18:42 +01:00
Jeremy Ruston
b54a88ce83 Clean up transclude widget
1. Update comments
2. Refactor use of parseTreeNodes so that they are not referenced unnecessarily
3. getTransclusionTarget doesn't need to return the parser object
2023-07-16 14:04:09 +01:00
Mario Pietsch
3bd8c5d50d Add code-body to unsafe templates, and new cascade for tiddlers with system tags (#7583) 2023-07-15 18:12:10 +01:00
Jeremy Ruston
3a90c37816 Update substitute operator docs
Fixes #7609
2023-07-15 17:58:14 +01:00
Jeremy Ruston
ff7214ff56 New test for importvariables widget 2023-07-15 17:56:20 +01:00
btheado
8e9d8d4fef Allow attribute substitution to handle variables containing non-word characters (#7606)
* Added failing test for #7604

* Fix attribute substitution regexp

Use the same regexp in wiki.getSubstitutedText as is used in
Widget.prototype.substituteVariableReferences. Fixes #7604.

* Added a test for a variable name containing spaces
2023-07-14 21:42:31 +01:00
Jeremy Ruston
a7bafd8840 Google Analytics: tweaks 2023-07-14 12:41:55 +01:00
Jeremy Ruston
a6779efb1c Use locale sort for shadows
For consistency and compatibility with non-shadow ordering
2023-07-14 12:41:04 +01:00
twMat
ec00dc5042 Update Saving on Browser with TiddlyStow.tid (#7605)
Prevent CC linking in the GettingStarted card display
2023-07-13 19:31:54 +01:00
Jeremy Ruston
08bad90e51 Ensure shadow tiddler listings are always sorted
Currently shadow tiddler ordering depends upon the order in which the shadows appear in the plugin JSON
2023-07-13 19:27:50 +01:00
Jeremy Ruston
9a1d7085b8 Merge remote-tracking branch 'origin/tiddlywiki-com' 2023-07-13 17:57:30 +01:00
jeremy@jermolene.com
feb797701f Fix internal link in "Anchor Links using HTML"
Fixes #7600
2023-07-11 11:26:50 +01:00
TonyM
34ef27fbc0 Update Widget Attributes.tid (#7582)
Fixing error in 
* [[a transclusion of a macro/variable|Transcluded Attribute Values]]

Which should be;

* [[a transclusion of a macro/variable|Variable Attribute Values]]
2023-07-09 16:55:37 +01:00
Scott Sauyet
f517497fe7 Add tabindex to SelectWidget and docs (#7594) 2023-07-09 16:52:35 +01:00
btheado
eff158b1ae Fixed http-request bind-status and bind-progress option names (#7595) 2023-07-09 16:50:48 +01:00
jeremy@jermolene.com
6954fbee51 Fix comment missing from previous commit 6c7c21a87b 2023-07-06 12:01:39 +01:00
jeremy@jermolene.com
6c7c21a87b Fix overeager onload handler in Jasmine plugin
All of this is needed to enable the Jasmine plugin to work in environment with an asynchronous startup, as seen in the sqlite3 wiki store
2023-07-06 11:52:33 +01:00
jeremy@jermolene.com
29b5b064d6 Robustify widget.removeLocalDomNodes
Otherwise we get crashes if the DOM nodes generated by a widget have been subsequently modified by something like MathJax – see https://talk.tiddlywiki.org/t/tw-5-3-0-js-exception/7488/2
2023-07-06 09:56:39 +01:00
jeremy@jermolene.com
02f6d850d5 Remove references to https://github.com/jermolene/tiddlywiki5/releases
It is not actually populated
2023-07-06 09:10:56 +01:00
Steve Schneider
7597f5af77 Update WidgetMessage_ tm-http-request Example Zotero.tid (#7584)
* corrected zotero groups available for import
* added field zotero-group to imported tiddlers
2023-07-03 18:48:11 +01:00
Jeremy Ruston
0c64b58cfb Update release note 2023-07-01 14:34:19 +01:00
Bram Chen
39f342a943 Update chinese language files (#7577)
* Update help text for savewikifolder command
2023-07-01 14:33:32 +01:00
Maurycy Zarzycki
a6722e9735 Add polish translation to changes introduces in: (#7576)
* 28aef51855
 * 9589e3df33
2023-07-01 14:32:57 +01:00
Bram Chen
42d4c5d5ab Update chinese language files (#7575)
* Update help text for savewikifolder command
2023-07-01 14:13:31 +01:00
jeremy@jermolene.com
04e771ccbf Update New Release Banner filename 2023-07-01 12:59:42 +01:00
jeremy@jermolene.com
57d85d4f64 Preparation for v5.3.1 2023-07-01 12:51:58 +01:00
jeremy@jermolene.com
c101e9efe6 Version number update for 5.3.0 2023-07-01 12:41:12 +01:00
jeremy@jermolene.com
d893241ba9 Preparing for v5.3.0 2023-07-01 12:40:38 +01:00
jeremy@jermolene.com
3ec6c0eaf1 Adjust plugin library version number 2023-07-01 12:39:30 +01:00
jeremy@jermolene.com
47813ae31f Release note tweak 2023-07-01 12:29:33 +01:00
jeremy@jermolene.com
9589e3df33 Clarify savewikifolder docs
See discussion at https://github.com/Jermolene/TiddlyWiki5/pull/7490#discussion_r1247708635
2023-07-01 11:11:08 +01:00
Jeremy Ruston
ee1200bde1 Fix build error 2023-06-30 23:00:37 +01:00
Jeremy Ruston
419760a8e5 Release note banner credits for v5.3.0 2023-06-30 18:19:26 +01:00
Jeremy Ruston
04950452fa New Release Banner for v5.3.0
See https://talk.tiddlywiki.org/t/banner-image-competition-for-v5-3-0/7406
2023-06-30 18:17:15 +01:00
jeremy@jermolene.com
3f4e301a20 Update release note 2023-06-30 16:41:36 +01:00
jeremy@jermolene.com
2db0322a76 Merge branch 'tiddlywiki-com' 2023-06-30 16:32:57 +01:00
oeyoews
d6c77f549f Update Chinese language files (#7574)
* Update Chinese languagesfiles

* Update Chinese language files

* Update ControlPanel.multids
2023-06-30 16:16:17 +01:00
oeyoews
7dbcab0192 Sign CLA (#7573) 2023-06-30 16:15:41 +01:00
Mario Pietsch
823bcd7999 Update German translation (#7572) 2023-06-30 11:38:23 +01:00
jeremy@jermolene.com
c24d1ef4fb Codify implicit startup module dependency
Previously, the implicit sort ordering of modules ensured that the "plugins" startup module ran before the "startup" startup module. That no longer holds when experimenting with alternate stores that might use a subtly different collation order (eg $:/core/modules/startup.js vs. $:/core/modules/startup/commands.js), so it's more robust to explicitly specify the dependency
2023-06-30 10:50:28 +01:00
Bram Chen
b5d835e7dd Update chinese language files (#7571)
* Add chinese help text for new "explodePlugins" option to SaveWikiFolderCommand
2023-06-30 08:53:42 +01:00
jeremy@jermolene.com
5c5543815b Update release note 2023-06-29 15:46:28 +01:00
WhiteFall
28aef51855 Add explodePlugins=yes option to savewikifolder command (#7490)
* add option explodeplugins

refactor

Maintain Parameter Compatibility

change let to var

Refactoring the code

add conditional judgment

use === to avoid type-casting errors

refactor use <path> [<name>=<value>]

delete redundant code

backward compatibility support

easier to use

improve code

add documentation

* Update Notes

* Improve the code
2023-06-29 15:40:35 +01:00
Jeremy Ruston
158384867b Fix typo in release note 2023-06-28 17:55:01 +01:00
jeremy@jermolene.com
a02d99a4c1 Widget.getVariableInfo() shouldn't return srcVariable if variable is missing
Fixes #7566
2023-06-28 11:31:12 +01:00
Mario Pietsch
16ef1d84cd Change arrow-function to function call for HTA (#7552) 2023-06-28 09:54:27 +01:00
Saq Imtiaz
6bb0da07dc Docs: created Deserializers tiddler with overview of core deserializer modules (#7564) 2023-06-27 11:43:23 +01:00
Xavier Cazin
ebeb1a8956 Various fr-FR translation improvements (#7562)
* fr-FR translation for network activity button

* fr-FR translation of error strings related to the deserialise operator

* fr-FR translation of the error string related to text nodes in Story View interaction

* fr-FR additions and corrections of core field descriptions

* fr-FR translation of Layout Switcher strings

* fr-FR addition of the --commands help file

* Better fr-FR description of the subtitle and footer core fields
2023-06-25 12:48:20 +01:00
btheado
bc07fd731c Use .operator-example for all substitute operator examples (#7561) 2023-06-25 08:14:12 +01:00
jeremy@jermolene.com
d46aa4ba4d Release note update 2023-06-24 19:04:16 +01:00
yaisog
f2d6c5a6eb Add a :then filter run prefix (#7392)
* Initial commit

* Replace previous result only when non-empty

* Add doc tiddler

* Small change in rp-output description

* Update FRP title

lowercase with colon prefix

* Integrate with other doc tiddlers

* Add two doc-styles for reuse

* Add tests

* Add another test

* Correct indentation in stylesheet

* Change title and tags, add example to doc tiddler

* Replace leading spaces with tabs

* Improve docs text and structure
2023-06-24 18:07:34 +01:00
jeremy@jermolene.com
4659b893d8 Release note updates 2023-06-24 17:53:26 +01:00
Mario Pietsch
c499fff2a9 German translation update (#7560) 2023-06-24 17:47:36 +01:00
jeremy@jermolene.com
0d723d8b9d Update release note 2023-06-24 15:21:30 +01:00
Saq Imtiaz
3825e2579f Adds Text substitution support in widget attributes and new operator (#7526)
* feat: new text substitution support, first pass

* fix: use the widget method instead of evaluating a filter

* revert to earlier implementation that emulates macro syntax

* fix: capitalize comments

* feat: add support for triple backticks for substituted attributes

* docs: added docs for substitute operator

* chore: more docs tweaks

* docs: substituted attributes, refactored docs for widget attributes

* docs: fixed typo

* docs: more examples for substituted attributes

* docs: updated prior documentation on concatenating text and variables

* docs: documentation corrections

* Update editions/tw5.com/tiddlers/filters/examples/substitute Operator (Examples).tid

Co-authored-by: btheado <brian.theado@gmail.com>

---------

Co-authored-by: btheado <brian.theado@gmail.com>
2023-06-24 14:57:15 +01:00
Mario Pietsch
e5566543c9 Make tag-macro and tag*-templates human readable for future improvements (#7559) 2023-06-24 14:52:43 +01:00
jeremy@jermolene.com
a5c258ecac Update release note 2023-06-24 10:51:20 +01:00
Jeremy Ruston
9b8db5dbb1 Update to Google Analytics 4 (#7554)
* Adopt Google Analytics 4 tag code

* Fix typo

* Temporarily add Google Analytics tracking to tw5.com

So that we can test everything is working with the Vercel preview

* Remove test configuration
2023-06-22 08:48:48 +01:00
jeremy@jermolene.com
a05302da10 Revert "Bidirectional text improvements (#4541)"
This reverts commit f90eb386ae.
2023-06-21 17:13:33 +01:00
jeremy@jermolene.com
5647ad71b0 Merge branch 'tiddlywiki-com' 2023-06-21 09:38:41 +01:00
jeremy@jermolene.com
6fd2139376 Use empty edition to create empty.html and empty.hta
Fixes #7555
2023-06-20 15:43:13 +01:00
btheado
13a895bd2d Remove text subst from operator example macro (#7550)
* Removed textual substitution from .operator-example macro

* Convert .operator-example from macro to procedure
2023-06-18 11:05:06 +01:00
jeremy@jermolene.com
b90c9ef9a0 Transclude widget should only create double underscore variables for macros and ordinary variables
Fixes #7544
2023-06-17 10:32:44 +01:00
jeremy@jermolene.com
d8124ee82d Menu bar plugin: Hide menu bar in static renderings
Fixes #7476
2023-06-17 08:58:50 +01:00
jeremy@jermolene.com
190613ad29 Add tv-config-static variable for indicating static rendering 2023-06-17 08:58:15 +01:00
btheado
5bef6d50bc Removed stale reference to double dollar signs for custom widgets (#7546) 2023-06-15 11:10:25 +01:00
Saq Imtiaz
f4626aa69e Fix: Fix tests for deserialize[] so they can be run on browser as well as node.js (#7543) 2023-06-14 17:57:43 +01:00
Jeremy Ruston
edaa3727d9 Update Release 5.3.0.tid 2023-06-14 09:59:18 +01:00
cdruan
b61c01d8b0 Update widget name policy (#7510) 2023-06-14 09:55:16 +01:00
Maurycy Zarzycki
73b23f48a0 Polish Translations 2023-06-14 (#7540)
* Add Polish translations for strings introduced in 2221b8e08a

* Add Polish translations for strings changed in 98e72558d0

* Add Polish translations for strings changed in d1f90f075f
2023-06-14 07:42:49 +01:00
Jeremy Ruston
f90eb386ae Bidirectional text improvements (#4541)
* Add support for \dir pragma

* Add "dir" attribute to reveal, edit, edit-text and edit-codemirror widgets

* Add  $:/config/DefaultTextDirection hidden setting

* Revert accidentally commited test data

This reverts some of commit b83c1d160f.

* Remove Codemirror plugin from Prerelease

Makes it easier to test things

* Fix framed text editor directionality in Firefox

* Add direction attribute for edit body template

* Missed closing brace

* Add docs for \dir pragma

* Templates should set text direction from a variable, not a transclusion

* Updates to framed.js in the light of PRs that have been merged since this

* Restore whitespace trim

* Docs dates

* Fix typo

* Clarify docs
2023-06-13 16:36:07 +01:00
lin onetwo
12f7b98c4f Docs for widget.destroy (#7508) 2023-06-13 15:57:24 +01:00
buggyj
50315310f5 Add widget.destroy() function (#7468) 2023-06-13 15:55:44 +01:00
Bram Chen
120c2f8136 Update chinese language files (#7536)
* Add chinese translations for the new network activity button
2023-06-13 14:50:20 +01:00
jeremy@jermolene.com
f277493acd Improved fix for #7529
The fix in cce23ac6cd was affecting other editor dropdowns
2023-06-13 11:22:11 +01:00
twMat
46d0aea0f2 Update ShadowTiddlers.tid (updated) (#7518)
* Update ShadowTiddlers.tid

main change is added section about "overriding shadow tids"

* The word "extracted" might be confusing

---------

Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
2023-06-13 11:02:06 +01:00
TonyM
5947140b61 Update Using Excise.tid (#7504)
Added a comma and fixed a typo
2023-06-13 10:59:40 +01:00
btheado
86d45f1c3d Request permission to protect local storage from eviction (#7398)
* Request the browser to never evict the persistent storage

* Store browser storage persisted state in a tiddler

* Factor out some code into helper functions

* Display status of persistence request in the settings page
2023-06-13 10:50:00 +01:00
Mario Pietsch
106f121133 Table-of-content macros -- make "exclude" an official macro parameter (#7417)
* toc make exclude a proper macro parameter using subfilter instead of enlist

* add exclude parameter to TOC documentation tiddler

* add exclude parameter to toc-tabbed-xx macros

* add from-version to exclude parameter
2023-06-13 10:44:34 +01:00
Jeremy Ruston
d1f90f075f Add tm-http-request message for making HTTP requests (#7422)
* Initial Commit

* HttpClient object shouldn't need to know about events

* Add support for cancelling HTTP requests

* Make the number of outstanding HTTP requests available in a state tiddler

* Add a network activity button

Click it to cancel outstanding requests

* Fix typo

Thanks @btheado

Co-authored-by: btheado <brian.theado@gmail.com>

* Fix crash when cancelling more than one HTTP request

Thanks @saqimtiaz

* Further fixes to cancelling outstanding HTTP requests

* Fix missing body

---------

Co-authored-by: btheado <brian.theado@gmail.com>
2023-06-13 10:35:55 +01:00
jeremy@jermolene.com
a12a9bd939 Fixes to browser storage plugin icon 2023-06-12 09:22:20 +01:00
Carlo Colombo
6efd6dbf8b Update Jasmine website (#7533)
pivotal.github.io/jasmine website does not exists anymore,
replaced with the current Jasmine website
2023-06-11 10:36:02 +01:00
GameDungeon
578e883bdc Add Tabs To Settings (#7524)
* Move to Core

* List-Before

* Update core/ui/ControlPanel/Settings.tid

* Proper list-before
2023-06-11 10:28:52 +01:00
jeremy@jermolene.com
66212cd491 Refactor dependency on widget.getVariableInfo
Fixing https://talk.tiddlywiki.org/t/tw-v5-3-0-pre-problem-with-autocomplete-plugin/6958/9?u=jeremyruston
2023-06-11 09:46:05 +01:00
jeremy@jermolene.com
cc383e6d1e Refactor function evaluation code to avoid adding evaluateVariable method
Adding the new widget method was causing backwards compatibility issues. For example, see this discussion:

https://talk.tiddlywiki.org/t/tw-v5-3-0-pre-problem-with-autocomplete-plugin/6958
2023-06-10 08:58:04 +01:00
jeremy@jermolene.com
98e72558d0 Default site title no longer needs a tilde
Now that CamelCase linking is disabled by default
2023-06-09 08:35:42 +01:00
Jeremy Ruston
0095ea60d9 Switch off CamelCase linking by default (#7513)
* Disable camelcase by default

* New parse rule for ~CamelCase

For backwards compatibility with text that includes ~ to suppress camelcase links

* Enable CamelCase for main documentation wikis

Will take us a bit longer to convert all the links over

* Fix tests

* Release note update
2023-06-08 21:45:14 +01:00
WhiteFall
a66b04f532 Signing the CLA (#7516) 2023-06-08 21:39:33 +01:00
Mario Pietsch
92f720901d Add missing data-tag-title attributes where needed (#7530)
* add missing data-tag-title assignments

* docs for data-tag-title

* fix typo in the docs

* rename file
2023-06-08 21:38:31 +01:00
jeremy@jermolene.com
7b9915b5c2 Update release note 2023-06-08 21:18:24 +01:00
jeremy@jermolene.com
8682beb717 Merge branch 'tiddlywiki-com' 2023-06-08 20:18:02 +01:00
jeremy@jermolene.com
cce23ac6cd Fix size of buttons in editor toolbar dropdowns
Fixes #7529
2023-06-08 08:32:56 +01:00
twMat
f141cbf8a5 Update WidgetMessage_ tm-close-all-windows.tid (#7525)
added caption. The problem can be seen in list 
https://tiddlywiki.com/#Messages
2023-06-07 15:26:47 +01:00
Bram Chen
88dc6eba96 Update chinese language files (#7514)
* Add chinese error messages for 'deserialize' operator
2023-06-03 18:00:37 +01:00
Saq Imtiaz
2221b8e08a Adds a deserialize filter operator (#7511)
* feat: added deserialize operator, tests and documentation

* fix: correct typo in lingo file

* fix: remove test that fails on node but succeeds in browser due to different availability of DOM deserializer
2023-06-03 14:33:10 +01:00
Mario Pietsch
d83d8e7245 Cover stand alone .from-version pill in a HTML block-element (#7512) 2023-06-03 14:27:59 +01:00
jeremy@jermolene.com
48b22abdaa Add a warning for tiddlywiki.info or plugin.info having json errors 2023-06-02 10:41:42 +01:00
jeremy@jermolene.com
a371ea0555 Minor fixes for introduction edition 2023-06-01 15:30:17 +01:00
jeremy@jermolene.com
68a7655396 Custom widgets and filter operator names must now contain a period
Fixes #7428
2023-06-01 08:06:28 +01:00
jeremy@jermolene.com
f19e74900e Merge branch 'tiddlywiki-com' 2023-05-29 12:45:59 +01:00
jeremy@jermolene.com
df323fe3c9 Simplify content shown for users without JavaScript
Saves 15% of the size of index.html

Fixes #7501
2023-05-29 12:45:41 +01:00
Tavin Cole
4e7a6ffc22 Add codemirror option to show trailing space (#7493)
* codemirror edit/trailingspace addon (default off)

* refactor as codemirror-trailingspace plugin

* copy cm-trailingspace styles from cm demo
2023-05-27 18:28:27 +02:00
Joshua Fontany
bc3a7d9826 Ignore visual studio files (#7499) 2023-05-27 18:26:37 +02:00
Arlen22
90f0ff8067 Polyfill is not needed, only globalCheck (#7492) 2023-05-27 18:24:25 +02:00
btheado
74e0619782 Protect codemirror.css from wikitext parsing, otherwise 'CodeMirror' is considered a wikilink (#7500) 2023-05-27 18:22:31 +02:00
Tavin Cole
86e5fbce5d Sign CLA (#7495) 2023-05-25 18:36:35 +02:00
twMat
fb79bebef4 Update Tiddler Colour Cascade.tid (updated PR) (#7491) 2023-05-24 22:03:10 +02:00
twMat
5d0043012a Update Edit Template Body Cascade.tid (#7484) 2023-05-24 18:35:17 +02:00
twMat
fec7e8791d Update View Template Title Cascade.tid (#7485) 2023-05-24 18:31:18 +02:00
twMat
f2c458a722 Update Field Editor Cascade.tid (#7486)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2023-05-24 18:30:53 +02:00
twMat
86524aafbd Update Tiddler Icon Cascade.tid (#7487) 2023-05-24 18:29:10 +02:00
twMat
442e3f1e97 Update Field Editor Cascade.tid (#7488) 2023-05-24 18:26:53 +02:00
twMat
a9380655a0 Update Story Tiddler Template.tid (#7483)
improved phrasing (ref previous PR)
2023-05-24 11:57:19 +02:00
Bram Chen
9b59dff275 Update chinese language files (#7480)
* Update chinese help text for `authenticated-user-header`
2023-05-23 09:51:06 +02:00
lin onetwo
3f763775d6 Feat: decode url-encoded user name in authenticate request header to allow CJK username in header (#7471)
* fix: CJK in header has to be urlEncoded

* refactor: use $tw.utils.decodeURIComponentSafe

* docs: about chagne in this field

* docs: update

* docs: use less "field"
2023-05-22 12:25:51 +01:00
Mohammad Rahmani
9b78e871aa Update ParametersWidget and add Examples (#7464)
* Update ParametersWidget and add Examples

This PR updates the  ParametersWidget.tid and adds several examples

* Update Procedure and Parameters Pragma

This PR improve documentation for using parameters inside procedures

* Update Pragma_ _procedure.tid

A caution when use parameters inside procedures

* Resolved conversation

All comments by Jeremy were implemented.
2023-05-22 10:46:45 +01:00
Robin Munn
d4846bae6c Procedure definition example should not say macro (#7467)
The word "macro" appears in the text of the procedure definition
example, but it should be "procedure" instead.
2023-05-19 10:14:02 +01:00
Robin Munn
6941d079b8 Release notes for bugfix to checkbox date fields (#7466)
Add release notes for PR #7448
2023-05-19 10:13:43 +01:00
Mohammad Rahmani
e62f86a4c7 Update Procedure Definitions.tid (#7463)
Change macro to procedure!
2023-05-18 18:35:45 +01:00
jeremy@jermolene.com
8e132948b6 Fix crash when transcluding a lazily loaded tiddler as an attribute value
See bug report at https://talk.tiddlywiki.org/t/text-and-skinny-tiddler-and-echarts-oh-my/7044
2023-05-18 18:18:56 +01:00
jeremy@jermolene.com
6a12b15fac Remove #6699 from release note 2023-05-18 17:29:57 +01:00
jeremy@jermolene.com
990909c310 Revert "Feat: destroy() method for widgets to do custom cleanup (#6699)"
This reverts commit 474b73bdbe.
2023-05-18 17:27:05 +01:00
jeremy@jermolene.com
8ad08b0cd4 Fix diff-text widget crash with empty/missing attributes
Fixes #7462
2023-05-18 12:47:40 +01:00
Jeremy Ruston
a4da53ef6c Make newline after parameters pragma be optional
Fixes #7456
2023-05-16 09:41:58 +01:00
twMat
2e377b1f48 Simplify link widget in sidebar "open" tab (#7454)
simplified linkwidget use
2023-05-15 11:04:28 +01:00
Jeremy Ruston
70ee30fdf3 Add fillignore attribute to transclude widget to fix visible transclusion (#7451)
* slotignore attribute for transclude widget to fix visible transclusion

Fixes #7449

* Remove unneeded depth attribute

No longer needed

* Replace "slotignore" by "fillignore"
2023-05-14 21:25:35 +01:00
jeremy@jermolene.com
d5a7425458 Merge branch 'tiddlywiki-com' 2023-05-14 16:26:02 +01:00
Robin Munn
fb10b1ee91 Checkbox widget should not affect date fields (#7448)
* Checkbox widget should not affect date fields

If a date field like `created` or `modified` is passed as the listField
attribute of the checkbox widget, it will be left unchanged and actions
on the checkbox widget will *not* fire.

Includes unit tests to ensure that the "created" and "modified" fields
will not be touched by checkboxes and will continue to be Date objects.

* Replace const with var in checkbox tests
2023-05-11 18:28:44 +01:00
Jeremy Ruston
576d476a21 Merge branch 'master' of https://Jermolene@github.com/Jermolene/TiddlyWiki5.git 2023-05-11 16:26:52 +01:00
Jeremy Ruston
8aa0db59a3 Transclude widget should use fallback content if variable is missing or blank
Fixes #7424
2023-05-11 16:26:18 +01:00
btheado
9d6784f262 Add $slot widget examples and document the $depth parameter (#7446)
* Added $slot widget examples and documented the $depth parameter

* Fixed quotes and added named parameter
2023-05-11 15:09:16 +01:00
Mario Pietsch
61e2ad4286 Update thisTiddler Variable.tid (#7447)
Changing the caption of thisTiddler.tid to `caption: thisTiddler`
2023-05-11 14:20:53 +01:00
Mateusz Wilczek
db6b4f17e8 Improve translink macro, fixes 4877 (#7425)
* Improve translink macro

Changes:
- Change styles to adapt colours to the current palette, instead of hard-coded white inside black box with grey borders.
- Simplify the design to a single div (inspired by the Community links on tiddlywiki.com), instead of two nested contrasting divs.

Comments:
- I found pre-border and pre-background to be the most consistently readable across the default palettes (better than relying on e.g. tiddler-border, tiddler-background, page-background, code-border, code-background). Cupertino Dark, Gruvbox Dark, Nord, Solar Flare, Spartan Day, Spartan Night, Spartan Day, and Twilight have same or very similar pre-border and pre-background colours, so if the macro is nested (translinking a tiddler that contains a translink), the inner frames are not distinguishable, but I think it's an acceptable edge case.
- Padding is defined separately for block and inline modes of the macro to make it appear consistent.

* Update translink macro

Change the `<h1>` styling so that it is only applied to the transcluded tiddler's title and not to any potential `<h1>` in its text.

* Update translink macro

Change the class-constructing filter so that the empty message is displayed with consistent padding in block mode.

* Update translink.tid

* Add styles for translink macro to vanilla/base.tid

Split `pre` element styling, to allow part of it be reused with `.tc-pre-border` (used by translink macro).
Add `.tc-big-bold` class under Other utility classes (used by translink macro).

* Update base.tid

Add `.tc-big-bold` class under Other utility classes (used by translink macro).

* Update translink.tid

Update `tc-pre-border` class name to match the one in vanilla/base.tid

* Update translink.tid

Simplify by always wrapping transclusion in `<p>` element (adjusts padding when inline mode or tiddler missing).

* Update translink.tid

Localise missing tiddler message (`$:/language/MissingTiddler/Hint`)

* Update vanilla/base.tid

- Modify class `tc-pre-background`, so that it can be applied to elements other than `pre`. The styling of `pre` remains unchanged, it is only split into two parts, for one part to be reused in the `tc-pre-background` class (used e.g. in translink macro).
- Add `tc-big-v-gap` and `tc-big-bold` in the *Other utility classes* section (used e.g. in translink macro).

* Update translink.tid

Improve styling to depend only on classes specified in vanilla/base.tid

* Update base.tid

Update class `tc-translink` and CSS selectors to make styling the translink macro easier

* Update translink.tid

Change the classes of elements, so that changing the style is possible by modifying the stylesheet only

* Update base.tid

Add selectors to support new inline mode in translink macro

* Update translink.tid

Change behaviour of the inline mode, now the whole macro is inline, not just the transcluded text.

* Update base.tid

Fix padding of tc-translink class to account for multiline inline content.

* Update base.tid

Remove pseudo-element parentheses from inline translink macro

* Update translink.tid

Add parentheses around inline macro
2023-05-10 21:57:15 +01:00
Mateusz Wilczek
2ab28cc2b8 Add documentation on translink macro (#7426)
* Update Using Excise.tid

Rephrase the last paragraph (note).
Fix some minor formatting.

* Update WidgetMessage_ tm-edit-text-operation.tid

Add link to `translink Macro`

* Create TranslinkMacro.tid

* Create translink.tid
2023-05-10 16:38:58 +01:00
Mohammad Rahmani
1af4324370 Update thisTiddler Variable (Examples) for using unique parameter n in .example macro (#7434)
Address issue in https://github.com/Jermolene/TiddlyWiki5/pull/7433#discussion_r1186744704
2023-05-09 18:54:01 +01:00
jeremy@jermolene.com
3da0a9431c Introduce $:/tags/Global tag
And also $:/tags/Global/View and $:/tags/Global/View/Body
2023-05-09 15:46:54 +01:00
jeremy@jermolene.com
1f35b945a5 Fix comment typo 2023-05-09 14:32:03 +01:00
jeremy@jermolene.com
5124cbc776 Correct build version in build-site.sh 2023-05-09 14:31:52 +01:00
jeremy@jermolene.com
9f1eab175d Fix transclusion refresh
Fixes #7441
2023-05-09 14:31:36 +01:00
Carmine T. Guida
8f4b22110c Added a comma (#7438) 2023-05-07 22:45:34 +01:00
Carmine T. Guida
8ad35a9411 Signing the CLA (#7437) 2023-05-07 18:07:06 +01:00
Mario Pietsch
18d7d3d8c0 Improve the wording for the core-plugin in the upgrader-editioin (#6878) 2023-05-07 17:47:13 +01:00
jeremy@jermolene.com
3518e257c0 Tweak release note 2023-05-06 19:26:42 +01:00
Mohammad Rahmani
fe716dd58f thisTiddler description and examples improved (#7433) 2023-05-06 18:57:22 +01:00
jeremy@jermolene.com
e2fe681b50 Update release note 2023-05-06 17:33:19 +01:00
Mohammad Rahmani
36ac142110 Correct the caption for Procedure Call tiddler (#7432) 2023-05-06 15:35:03 +01:00
GameDungeon
e66e791944 Correct handling of pasting tiddlers (#7215)
* First Pass Implementation

* Fix Check

* Fix Style

* Update drag-drop interop example to support copy tiddlers to clipboard

---------

Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
2023-05-06 14:02:16 +01:00
lin onetwo
474b73bdbe Feat: destroy() method for widgets to do custom cleanup (#6699)
* feat: inform child widget to do some custom cleanup

* fix: type

* refactor: restore old removeChildDomNodes

* refactor: make destroy() a separate method

* refactor: make destroy call removeChildDomNodes

* refactor: call destroy instead of removeChildDomNodes in each core widgets

* fix: refreshSelf does not mean destroy

* refactor: use old var insteadof const

* docs: about subclass
2023-05-06 12:19:11 +01:00
Arlen22
2b95daf59b Change evalSandboxed to use only one context for all modules (#4624)
* Run modules in one new context

* Fix polyfill running on require

* Add code to check for global assignments

* Allow globals in separate context

This lets the caller request a separate context which may be polluted.

* Jasmine needs to pollute the global

* Formatting

* Add polyfill and cleanup code

* Convert to ES5

* One bug fix

* Some formatting

* Remove console.log line!

* Cleanup

* revert css-escape-polyfill.js to hopefully remove it from the PR

* Remove JSDOC directives
2023-05-06 12:11:18 +01:00
Jeremy Ruston
2bfefe3880 Parameterise core icons (#7413)
* Parameterise all the icons

* Improve splash screen macro for rendering icons

* Add new example from @kookma
2023-05-06 12:08:46 +01:00
Jeremy Ruston
96f97f237a Remove "direction" CSS property from framed version of editor (#7409) 2023-05-06 12:08:20 +01:00
Mario Pietsch
9cdb38d800 Linkcatcher should pass through event objects (#7401) 2023-05-06 12:07:55 +01:00
donmor
4e96a012f6 Add missing extensions for audio/mpeg (#7378)
Add missing extensions for audio/mpeg
2023-05-06 11:55:41 +01:00
yaisog
e92e125697 Add the querySelectorSafe() function and replace querySelector() usage (#7380)
* Initial commit

* Correct the over-estimation of my abilities

* Add fallback and move code to dom.js

* Use new function for tm-focus-selector

* Replace other uses of querySelector*

* Undo rash replacements of querySelector()
2023-05-06 11:54:54 +01:00
yaisog
6820d45bf0 Improve the StoryTiddlerTemplate fallback (#7332)
* Initial commit

* Update StoryTiddlerTemplate.tid

* Extend cascades hint to help in case of problems

* Remove note about debugging from docs

I think that this brief note is more confusing than anything else

---------

Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
2023-05-06 11:53:58 +01:00
yaisog
d6533b9ee1 Add the timestamp suffix to the format operator (#7292)
* Create timestamp.js

Taken verbatim from @ericshulman.

* Add description of the timestamp suffix

* Add an example for timestamp use

I also snuck it a couple of cosmetic corrections, because I was too lazy to open a new PR. 😢

* Correct example 4 to use the right date formats

* Correct description of the default date format

* Add a test for the timestamp suffix

* Add more format:timestamp tests

* Drop invalid input

* Update version tag in docs

---------

Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
2023-05-06 11:44:22 +01:00
btheado
3ee5f10362 BrowserStoragePlugin: Do not save shadow tiddlers to local storage (#7365)
If a tiddler is only a shadow tiddler, then do not save it
to local storage. Otherwise when installing a plugin, each
individual tiddler will be expanded and saved individually.
In order to uninstall such a plugin, the plugin tiddler and
each tiddler needs to be deleted.

This can be prevented by including a run like `-[is[shadow]!is[tiddler]]`
in the save filter, but that has the side effect of preventing
overwritten shadow tiddlers from being deleted from local storage.
2023-05-06 11:41:22 +01:00
Jeremy Ruston
a6ced74a13 Introduce "thisTiddler" variable (#7182)
* Initial Commit

* Change of mind: Do not blank thisTiddler within macros

* Revert previous implementation

* Somewhat simpler implementation

* Add docs

* Add docs version tag
2023-05-06 11:40:22 +01:00
Mario Pietsch
b61aef27d7 External-js file naming adjusted. import docs form tw5.com. make extrnal-js more visible (#7361)
* external-js file naming adjusted. import docs form tw5.com. make external-js more visible

* add comment about doc usage in server-external-js edition

* add changes suggested by cdruan

* change modifed date to start vercel rebuild process
2023-05-06 11:37:05 +01:00
jeremy@jermolene.com
a1b706a945 Remove dynannotate plugin fro tw5.com edition
It was added temporarily to make #7260 easier to work on
2023-05-06 11:36:36 +01:00
yaisog
2340d48844 Add additional searchModes to Dynannotate (#7260)
* Add searchModes: literal, some and words

* Add additional search modes

Description of selection tracker config tiddlers was also changed.

* Update simple.tid

* Improve View Template examples

Transcludes a sample tiddler for demonstration instead of the dynannotate view template code.
Adds an example for usage with $genesis to add state tiddler controlled per-tiddler highlights.

* Make search highlights not case sensitive

* Remove created and modified fields

* Add another example text (Searching in Tiddlywiki)

* Add dynannotate for vercel deployment

This should probably not be merged...

* Create LegacySelectionTracker.tid

* Create SelectionTracker.tid

* Revert putting the SelectionTracker config titles in code blocks

* Replace inline styles with CSS class

* Add class for view template examples

Class name is tc-dynannotate-example-frame.

* Remove some <br> line breaks.

* Remove first example transclusion and fix some tab spacing

* Add class to override control panel table layout

* Add class to settings table

* More tab shenanigans

Great Scott!

* Add explanatory comment to example macro

* Change defaults to match widget behavior

* Make previous macro comment more concise

* Change example to transclude CP tiddler

$:/core/ui/ControlPanel/TiddlerFields

* Delete unnecessary example tiddler
2023-05-06 11:30:21 +01:00
Michelle Saad
4e641f4fc0 Add 'filepath' source attribute to tiddlywiki.files (#7253)
* Add 'filepath' source attribute to tiddlywiki.files

Adds a new source attribute to facilitate importing subdirectories with
the `searchSubdirectories` attribute.

The `filepath` atttribute is like `filename` except it includes the full
pathname relative to the directory path. Consequently it only works with
`directories` sections (not `tiddlers`).

* Add `subdirectories` source attribute to tiddlywiki.files

Adds another new source attribute to facilitate importing subdirectories
with the `searchSubdirectories` attribute.

The `subdirectories` source attribute is only usable with `directories`
sections (not `tiddlers`). It resolves to an array containing all the
directories in the file's path relative to the directory path. Eg, if
the directory path is `files`, `{ source: 'subdirectories' }` for a file
in  `files/images/photos` would resolve to `['images', 'photos'].

This commit also adds an example to the "tiddlywiki.files Files"
documentation tiddler that demonstrates using the `filepath` and
`subdirectories` source attributes to import and auto-tag image files
as external-image tiddlers.
2023-05-06 11:26:40 +01:00
Mohammad Rahmani
17f18daa89 Docs: Fix typo in “Procedure Calls.tid” (#7429)
fix typo in procedure call
2023-05-05 18:47:03 +01:00
jeremy@jermolene.com
b2aeea0393 Merge branch 'tiddlywiki-com' 2023-05-04 09:11:14 +01:00
Mario Pietsch
48b7b5d294 Fix a typo in example (#7423)
fix a typo in example
2023-05-01 12:53:26 +01:00
jeremy@jermolene.com
1cac177211 Fix pragma procedure docs
See #7412 - thanks @kookma
2023-04-23 10:29:15 +01:00
btheado
e33a65a139 Add tiddler documenting the different ways of defining and invoking variables (#7411) 2023-04-22 17:10:42 +01:00
jeremy@jermolene.com
98af893443 Docs: Fixed erroneous caption fields
Thanks @kookma (see https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1514860999)
2023-04-20 14:55:40 +01:00
Jeremy Ruston
6bd4127e88 Parameterised transclusions (#6666)
* Initial commit

Everything is draft.

* Fix test execution

* Fix and test missing target handling

* Use the ubertransclude widget for the wikitext transclusion syntax

* Changed transclude widget in binary parser to ubertransclude

* Add a test for custom action widgets

* Don't worry about ordered attributes

The changes in 0bffae2108 mean that we don't need to explicitly maintain the ordered attributes

* Remove need to explicitly clear widget mapping variable when invoking overridden widget

* Use ts- prefix for system slot names

* Add a definition for the value widget just so that it doesn't cause errors

Of course, it doesn't actually need to be a JS widget, it could be a wikitext widget...

* Add support for positional parameters

* Ubertransclusion positional parameters should be based on name, not position

* Add support for shortcut syntax for positional transclusion parameters

* Importvariables should skip parameters widgets

* Refactor transclude widget before uberfying it

* Refactor ubertransclude functionality into transclude widget

* Replace ubertransclude widget with transclude widget

* Add wikitext shortcut for new-style function definitions

* Allow brackets to be omitted for function definitions with no parameters

* Add pragma rule for parameters declarations

* Remove erroneous "tag" property

* Add support for accessing function parameters as name/value pairs

* Be as permissive as possible with parameter names

Previously restricted to upper and lower case, digits and dash and underscore

* Rewrite some tests to use the shortcut syntaxes

* Mustn't allow commas in parameter names

* Fix crash when transcluding an undefined variable

Thanks @pmario

See https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1114692359

* Unquoted parameters should not eat a succeeding comma

Fixes #6672

* Remove extraneous code

* Allow the let widget to create variables starting with $

* Fix addAttributeToParseTreeNode handling of ordered attributes

* Reuse attribute objects when executing custom widgets

* Fix importing of function definitions

* Fix parameter handling

* Introduce genesis widget for dynamically creating widgets

See the "RedefineLet" test for a contrived example of usage

* Change tiddler separator used in wikitext tests

Underscore looked ambiguous; I kept typing dashes by accident

* Cache parse trees when transcluding variables

* Fix bug with empty strings ignored in $tw.utils.stringifyList/parseStringArray

I will pull this out into a separate PR. Fixing it doesn't cause problems for the core but I imagine it might cause issues for 3rd party code.

* Fixes to enable the transclude widget itself to be overridden

There are two big changes here:

Replace the previous "ts-wrapper" mechanism, which we had been using to redefine custom widgets inside their definitions to prevent recursive calls. Now we've got the genesis widget we can instead control recursion through a new "$remappable" attribute that allows the custom widget mechanism to be skipped.

We also extend the slot widget to allow a depth to be specified; it then reaches up by the indicated number of transclusion widgets to find the one from which it should retrieve the slot value.

* Fix genesis widget example

* Use enlist:raw to preserve duplicates

* Don't create variables with value undefined for missing parameters

* Fix variable retrieval bug with test harness

* Improve recursion detection

While retaining backwards compatibility

* Experimental support for custom filter operators

Just as we can define custom widgets we can also define custom parameterised filter operators

* Add visible transclusions component and demo

Very useful to see transclusions explicitly

Makes a good demo of a super-complicated widget override.

* Genesis widget should pass raw attributes onto child widget...

...so that it can more efficiently handle refreshing itself.

* Use consistent parse tree node property for params

* Extend transclude widget to work with old-style macros and use it for the macrocall shortcut syntax

* Clarify that the recent changes allow functions to be invoked with the double bracket syntax

In other words, the transclude widget distinguishes between functions and macros and handles the parameters appropriately

* Make the macrocall widget delegate to the transclude widget

* Switch to using \procedure to define new-style macros, and \function for custom filter operator functions

I now need to update the OP!

* Fix visible transclusion example

* Remove obsolete code

Left over after refactoring

* Better backwards compatibility for legacy recursion marker

Fixes the problem with tag dropdowns @btheado

* Fix stringifying/parsing string arrays containing newlines

A very old bug.

Fixes the ActionListOpsWidget problem @btheado

* Transclude: replace paramNames/paramValues with more robust JSON payload

More details at https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1123719153

* Rename internal "unknown" filter operator so that users cannot invoke it

* Detect recursion by tracking widget tree depth

The old recursion marker approach was very slow, and didn't catch test cases like editions/test/tiddlers/tests/data/transclude/Recursion.tid

* Use \widget for custom widget definitions, and remove need for angle brackets

Need to do some refactoring of all those isFunctionDefinition/isProcedureDefinition/isWidgetDefinition flags into a single property

* Rename <$value> widget to <$fill>

* Require $$ for custom widgets, and that overridden JS widgets must exist

See https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1133637763

* Fix invocation of JS macros

* Experimental update of the parse-tree preview visualisation

An experiment to try out using the new JSON operators for rendering the JSON parse tree that we get back from the wikify widget.

As usual with these experiments, this one is going to require quite a lot more work to finish up:

* The formatting is via direct styles rather than classes
* The formatting for attributes and properties is not yet completed
* The same thing needs to also be done to the widget tree preview

* Procedures and widgets inherit whitespace trim setting from their definition

* Missed off 22e7ec2381

* Require period prefix for custom filter operator functions

To ensure that custom filter operators cannot clash with future core operators.

* Allow custom functions to be invoked as attributes

* WIP

* Remove unneeded test tiddler

* Make is[variable] and variables[] operators resilient to fake widgets

* Fix importvariables to work with setvariables as well as set (they are aliases)

* Add support for $:/tags/Global

* Remove accidental commit 6cc99fcbe3

* Add utility function for parsing macro parameter definitions

* Introduce true global variables

The basic idea is that if we don't find a variable `foo` then we fallback to retrieving the value from the tiddler `$:/global/foo`, if it exists.

This allows us to replace the usual importvariables-based mechanism for global definitions, avoiding cluttering up the variable namespace with every macro.

In order to permit subprocedures to be overridden, we also introduce a mechanism for conditional definitions: preceding the word definition|procedure|function|widget with a + causes the definition only to occur if the specified variable doesn't already exist. In the next commit we'll apply this mechanism to the tabs macro

* Convert the tabs macro into a global

So far it appears to be totally backwards compatible... In practice, I think maybe this and the conversion of the other macros should go into a separate subsequent PR.

* Change to `?` for conditional definitions

* Fix tabs global so it doesn't crash when viewed directly

* Test showing how to un-override a core widget

* Cleaning up after f636349007

* Minor cleanups

* Clean up unknown filter

* Introduce function operator for calling functions

Can invoke any functions, not just those start with a period. And can pass zero parameters (in contrast when invoked as a custom filter operator there's no way to omit the first parameter).

* Use underscores for new system fields for global variable tiddlers

For consistency with `_canonical_uri`; unlike many system fields, the behaviour of these fields is baked into the core JS code.

* Refactor $parameters widget

The objective is to add a $depth attribute so that it is possible to reach up to retrieve the parameters of ancestor transclusions. However, doing so requires changing the encoding of parameter names so that it is not possible for a user parameter to clash with an attribute like $depth. So now we have to double up dollars on any attribute names seen by the parameters widget, just like with the transclude widget itself.

* Fix refreshing of global variables

Global variables access within attributes will automatically trigger a refresh if the attribute text changes, but that wasn't happening for transclusions.

* Remove support for $:/tags/Global

It is not needed now that we have true global variables

* Typo from f513b403fe

* Make slot fill data available to transclusions

Allows transcluded content to dynamically process <$fill> widgets within the calling transclusion

* Mark docs as v5.3.0

* Simplify metaparameters implementation

* Fix typo

* Adjust naming of transclusion metaparameter

* Fix up handling of slot/fill for custom widgets

Previously we were wrapping the body in an implicit `<$fill $name="ts-body">` widget

* Add format:json operator

I've been finding this useful for debugging, and it kind of goes with the JSON operators

* Docs: JSON operators and tweaks to genesis widget

* Docs: format:json

Also tweak to the behaviour of format:json if the input string is not valid JSON

* Fix #6721

* Revert "Fix #6721"

This reverts commit b216579255 which was committed to the wrong branch

* Fix new selection tracker to return relative coordinates

* Make use of type attribute consistent

* Docs: Transclude widget

* Simplify the fill widget

We can rely on the default processing in the base class

* Slot widget: be more defensive about negative depth values

* Parameters widget: Be defensive about negative depths

* Protect against excessively recursive functions

* FIx transcluding of functions

This first implementation concatenates the results of the filter (with no separator) and then wikifies the result.

The test in this commit is quite interesting...

* Tweak semantics of JSON operators to match #6932

This allows us to later bring in the optimisations without breaking backwards compatibility.

* Revert obsolete changes to boot.js

* Fix inadvertent whitespace change

* Remove tests related to obsolete changes to boot.js

Should have been part of 2f494ba152

* Revert changes to parse tree preview

This implementation requires #6666

* Add test to show that global widgets need not use the _parameters field

* Disable overriding core widgets in safe mode

* Coding style tweak

* More comments

* Fix caching of parse variables/macros/procedures

* Transcluded functions should operate on the entire store

* Refactor filter recursion detection to avoid an unneeded wrapper function

* Fix error in 25312b3e32

* WIP

* Revert "WIP"

This reverts commit 8654dfc679.

* When transcluding functions, pass an empty item list to the filter, and just return the first item

* Rejig genesis widget to be easier to use

* Parameters widget: protect against negative $depth

* Docs updates

* Docs updates

* Tweak comments

* Add custom view template body for globals, and a new sidebar tab under "more"

And also a custom view template title that greys out the $:/global/ part of the title

* Update function operator to return the input list if the function is missing

* Remove negation from function operator

This implementation was not useful.

* Tests and docs for function operator

* Docs tweaks

* Improve indentation

See https://github.com/Jermolene/TiddlyWiki5/pull/6666#discussion_r967655251

* Missing tests for parameters widget

* Fix visible transclude

* Docs update

* Docs typo

* Huge Documentation Update

Not quite finished, but definitely on the home stretch

* Slight optimisation to user defined widgets

* Remove implementation of $:/globals/

Performance with this implementation is inherently poor because of the need to perform a wiki lookup for each child widget created.

* Docs clarification

* Docs update

* Some widget.js cleanups

* Remove support for conditional definitions

It was introduced for use cases associated with the global mechanism that was dropped in e3d13696c8

* Docs updates

* Revert change to setwidget docs

* Docs update

* Docs updates

* Clarify/simplify some tests

* More docs updates

* Fix doc file locations

* Docs updates

* Revert modified date of docs that have only had minor tweaks

* Docs typo

https://github.com/Jermolene/TiddlyWiki5/pull/6666#discussion_r990811220

Thanks @btheado

* Transcluding functions: fix missing parameters passed as undefined

Thanks @btheado – see https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1276187372

* Parameter parenthesis should be mandatory in function/procedure/widget definitions

See https://github.com/Jermolene/TiddlyWiki5/pull/6666#issuecomment-1280404387

* Attempt to build this branch with CI

* Add release note etc for 5.3.0

* Temporary new release banner for v5.3.0

* New New Release Banner

* New test for undefined parameters

* Adjust modified times of docs tiddlers to make them easier to find

* Update release note

* Add parenthesis to the visible transclusion definition

Parenthesis were made mandatory in 5194b24108

Fixes #6998

* Fix macrocall refresh issue

It turns out that this.transcludeTitle is always truthy, even if we are transcluding a variable

Fixes #7001

* Filter run prefixes should use widget.makeFakeWidgetWithVariables

* Docs typo

Thanks @twMat

* Docs: clarify function operator invocation

See discussion at https://github.com/Jermolene/TiddlyWiki5/issues/6991#issuecomment-1301703599

* Docs: Update \define pragma to cover named ends

* Docs: move tiddlers to correct directory

* Add support for named end markers for procedures, functions and widgets

* Docs note about nested macro definitions

* Rename test

* Fix detection of empty transclusions

See https://talk.tiddlywiki.org/t/exploring-default-tiddler-links-hackability-in-v5-3-0/5745/25?u=jeremyruston

* New test missed off a45349cc99

* Refactor wikified function tests

* Refactor function invocation

* Introduce new widget helper function to evaluate variables.Functions are evaluated as parameterised filter strings, macros as text with textual substitution of parameters and variables, and procedures and widgets as plain text
* Refactor the function operator and unknown operator to use the new helper
* Use the new helper to evaluate variables within filter strings, thus fixing a bug whereby functions called in such a way were being returned as plain text instead of being evaluated
* Refactor the transclude widget to use the new helper
* Update tests

* Fix positional parameters in widget.evaluateVariable()

This should clear up the remaining anomalies in #7009, let me know how you get on @btheado

* Remove 5.2.8 release note

* Fix nonstandard initialisation code for fill/parameter/slot widgets

* Update modification times of doc tiddlers

So that they are at the top of the recent tab

* Update 5.3.0 release note

* Remove custom CI step for this branch

* Restore standard sitetitle
2023-04-19 11:55:25 +01:00
jeremy@jermolene.com
6da74c6104 Docs: Xememex implementation clarification 2023-04-18 22:52:17 +01:00
jeremy@jermolene.com
5e329b1da1 Merge branch 'tiddlywiki-com' 2023-04-17 10:21:41 +01:00
jeremy@jermolene.com
31de1527f3 Docs: Fix tag on Tiddlyhost tiddler
Thanks @pmario https://github.com/Jermolene/TiddlyWiki5/pull/7399#issuecomment-1510920662
2023-04-17 09:49:50 +01:00
jeremy@jermolene.com
23b5b7f7d9 Merge branch 'tiddlywiki-com' 2023-04-12 15:19:17 +01:00
jeremy@jermolene.com
be67b0714c Add a community link to Open Collective 2023-04-12 14:25:56 +01:00
Jeremy Ruston
d3ef198842 Remove the 14px adjustment to textarea autoheight (#7400) 2023-04-12 11:18:17 +01:00
jeremy@jermolene.com
b1c295230d Fix clean.sh
It was missing the output of the `zh-Hans` edition previously
2023-04-10 21:03:26 +01:00
jeremy@jermolene.com
bffe538982 Merge branch 'tiddlywiki-com' 2023-04-10 16:06:52 +01:00
Jeremy Ruston
caac9bee92 Docs: Fixed PR for getting started tweaks (#7399)
* Cherry picked from getting-started-tweaks-feb-2023

* Update tiddler modified dates
2023-04-10 15:52:10 +01:00
Yukai Chou
36d766081d Fix typos in Saving to a Git service.tid (#7396)
* Fix typos in `Saving to a Git service.tid`

* Sign the CLA
2023-04-07 13:39:12 +01:00
jeremy@jermolene.com
54548babc8 Mastodon verification link 2023-04-07 12:33:07 +01:00
jeremy@jermolene.com
dccce5878c Merge branch 'tiddlywiki-com' 2023-04-06 16:11:44 +01:00
yaisog
bfcb386343 Restructure and optimize CheckboxWidget docs (#7362)
* Restructure and optimize `CheckboxWidget` docs

* Minor improvements

* Use new tab macros and some reformatting

* Fix bug in widget-attr-link tooltip

* Minor layout tweaks

* First try at a Widget Documentation Style Guide

* Add new tabs-related macros to overview

* Update CSS, add tm-scroll and rename macros

* Avoid RSoE with tm-scroll, improve CSS for tab-links

* Handle doc-tab-links within tab tiddlers better

* Reflect macro name changes in their docs

* Update Widget Doc Style Guide
2023-04-04 18:00:04 +01:00
Marxsal
f7c3ac4c54 Add save mechanism TiddlyStow (#7389)
* Add save mechanism TiddlyStow

* Add save mechanism TiddlyStow (incl url)
2023-04-03 20:20:32 +01:00
jeremy@jermolene.com
2a19c60e20 Merge branch 'tiddlywiki-com' 2023-04-02 14:00:19 +01:00
Mohammad Rahmani
c28dbd0025 Update regexp.tid (#7382)
The list-links by default show caption of listed tiddlers instead of their title. So in the example here

```
<$macrocall
$name="wikitext-example-without-html"
src="""<$set name="digit-pattern" value="[0-9]{2}">
<<list-links "[regexp:title<digit-pattern>]" field:"title">>
</$set>"""/>
```

you need to use field:"title" to see the correct results visually.
2023-03-28 10:23:02 +02:00
Mohammad Rahmani
29c2260457 Update ListMacro.tid (#7381)
The field input parameter was corrected
2023-03-28 10:22:32 +02:00
Saq Imtiaz
d7c89de11d Update docs for TiddlerTemplate classes (#7377)
* Update docs for TiddlerTemplate classes

* Update SystemTag_ $__tags_ClassFilters_TiddlerTemplate.tid
2023-03-26 18:03:02 +01:00
jeremy@jermolene.com
e0ff54a04e Preparation for v5.2.8 2023-03-26 12:56:40 +01:00
jeremy@jermolene.com
042f3c59ad Merge branch 'tiddlywiki-com' 2023-03-26 12:54:10 +01:00
jeremy@jermolene.com
07960f1527 Update relesase banner for v5.2.8 2023-03-26 09:28:26 +01:00
jeremy@jermolene.com
5cdffd6943 Missed release date for v5.2.7 2023-03-26 09:05:06 +01:00
jeremy@jermolene.com
ee0a32c8f1 Version number update for 5.2.7 2023-03-26 08:50:15 +01:00
jeremy@jermolene.com
4bb3d2ba34 Preparing for the release of v5.2.7 2023-03-26 08:49:40 +01:00
jeremy@jermolene.com
e7c0ad484b Merge branch 'tiddlywiki-com' 2023-03-26 08:45:04 +01:00
yaisog
e82053609b Tweak some examples for get and getindex (#7376) 2023-03-25 17:56:12 +00:00
jeremy@jermolene.com
7926af8541 Updated release banner for v5.2.7 2023-03-25 07:52:44 +00:00
Cameron Fischer
bcca4eca81 Fixed issue with trailing newlines in macrodefs (#7371) 2023-03-23 22:37:35 +00:00
jeremy@jermolene.com
925ff202a0 Preparing for v5.2.7 2023-03-20 19:01:54 +00:00
jeremy@jermolene.com
97bc9039e6 Version number update for 5.2.6 2023-03-20 18:51:07 +00:00
jeremy@jermolene.com
e6149e7e29 Update readme for v5.2.6 2023-03-20 18:50:30 +00:00
jeremy@jermolene.com
e47f038d2a Preparing for release of v5.2.6 2023-03-20 18:48:56 +00:00
jeremy@jermolene.com
2789bc8ef6 Update release note to add banner competition information 2023-03-20 18:44:43 +00:00
jeremy@jermolene.com
3a2831870b Remove peace symbol from new release banner
Our code of conduct declares that TiddlyWiki does not espouse any political statements.
2023-03-20 18:32:59 +00:00
jeremy@jermolene.com
4cddfa228b New release banner for v5.2.6
See competition at https://talk.tiddlywiki.org/t/vote-for-the-tiddlywiki-banner-v5-2-6/6469
2023-03-20 18:28:07 +00:00
jeremy@jermolene.com
da1825e6c5 Update release note 2023-03-20 15:10:38 +00:00
jeremy@jermolene.com
4ae2d8422b Revert to original icon for "dirty" version of save wiki icon
This restores the circle-in-a-circle image first introduced in #7232
2023-03-20 14:58:33 +00:00
jeremy@jermolene.com
c9e1b91099 Simplify save wiki button dirty state
Thanks to Thomas_Chuffart at https://talk.tiddlywiki.org/t/now-is-the-time-to-help-with-testing-the-tiddlywiki-v5-2-6-prerelease/6405/66

Addendum to #7232
2023-03-18 16:02:55 +00:00
jeremy@jermolene.com
95f987544c Update save wiki "dirty" state icon
See https://talk.tiddlywiki.org/t/now-is-the-time-to-help-with-testing-the-tiddlywiki-v5-2-6-prerelease/6405/60

Addendum to #7232
2023-03-14 14:50:52 +00:00
jeremy@jermolene.com
308e207a67 Remove reference to #7297 from release note 2023-03-12 17:03:19 +00:00
jeremy@jermolene.com
aa5a6627e6 Revert "Use sticky flag to improve regexp search performance (#7297)"
This reverts commit e313857822.
2023-03-12 17:02:16 +00:00
Mario Pietsch
6f038e362e External-js: fix index.html overwrites external wiki (#7356) 2023-03-12 16:49:15 +00:00
jeremy@jermolene.com
95a9c0bd54 Merge branch 'tiddlywiki-com' 2023-03-12 16:19:22 +00:00
jeremy@jermolene.com
0a20c08107 Fix Typo
Thanks @timp
2023-03-12 15:49:37 +00:00
jeremy@jermolene.com
964993f879 New-here: Fix unwanted double braces around tags specified in $:/config/NewTiddler/Tags
Fixes #7354
2023-03-11 11:13:35 +00:00
yaisog
e6175227b2 Add another example for the get operator (#7351) 2023-03-10 15:57:51 +00:00
jeremy@jermolene.com
f247686970 Remove "const" accidentally included in #7290
See #7350
2023-03-10 12:32:52 +00:00
jeremy@jermolene.com
589813f233 Improved fix for #7270 2023-03-10 09:41:36 +00:00
jeremy@jermolene.com
007b759421 Undefined variables in let widget: Revert fix for #7270
Reverts 8c378e0d24 and adds a test
2023-03-10 09:41:18 +00:00
yaisog
714587cdfc Improve documentation for get and getindex - Update descriptions and examples (#7349) 2023-03-10 08:48:28 +00:00
Michelle Saad
d8c2ab3baf Sign CLA (#7342) 2023-03-08 18:16:48 +00:00
jeremy@jermolene.com
b16d695386 Update release note 2023-03-08 08:53:02 +00:00
yaisog
2bac676ac4 Docs: Align description with example (#7339) 2023-03-07 21:51:52 +00:00
Mario Pietsch
ba01d06962 German Translation: fix some typos and add missing tiddlers (#7337) 2023-03-07 08:56:41 +00:00
yaisog
6732d96f78 Add a description and examples for "strict" results from getindex (#7333)
* Add a description and examples for "strict" results

* Add another example

* Amend description of output with suffix "index"
2023-03-06 16:14:08 +00:00
Mario Pietsch
416a2fae7a Add syntax docs to railroad plugin (#7334) 2023-03-06 16:12:26 +00:00
jeremy@jermolene.com
2ce14ac8f9 Remove erroneously committed storylist tiddler 2023-03-05 18:05:25 +00:00
jeremy@jermolene.com
3764ca4760 Update release note 2023-03-05 17:59:32 +00:00
jeremy@jermolene.com
3f478f5689 Naming tweak to #6047
@linonetwo I realised on review that we refer to boot.files as the "tiddler file info"
2023-03-05 17:40:04 +00:00
cdruan
f9604c40d3 Add wikiparser.js dependency (#7330) 2023-03-05 10:34:41 +00:00
Jeremy Ruston
11ffc83493 Introduce new levenshtein, makepatches, applypatches operators (#7290)
* Initial Commit

* Fix crash with invalid patches

See https://github.com/Jermolene/TiddlyWiki5/pull/7290#issuecomment-1453155311

Thanks @yaisog

* Add words and lines options to makepatches (#7326)

* Prevent infinite loop for single-word texts (#7327)

* Add docs and examples for the new operators (#7328)

* Create makepatches Operator.tid

* Improve wording

* Doc and examples for the new operators

---------

Co-authored-by: yaisog <m@rcuswinter.de>
2023-03-04 21:16:26 +00:00
jeremy@jermolene.com
f343198353 Merge branch 'tiddlywiki-com' 2023-03-04 20:42:22 +00:00
yaisog
1946f173a9 Update ActionListopsWidget documentation including notes on de-duplication (#7301)
* Changed headings under Content

Made them H2 and changed the wording a bit.

* Move the list of filters to another tiddler

There is a tiddler for Extended Listops Filters, and the list should go there, so that the Widget tiddler does not get too overcrowded.

* Rework comparison to ActionSetFieldWidget

* Add notes on de-duplication

* Update link to Extended Listops Filters

* Updated link to Extended Listops Filters

* Update link to Extended Listops Filters

Duh. This was the most important one.

* Remove repeated links to widgets within one section

* Re-create original tiddler with a redirect notice

* Excised the examples into a separate tiddler

Also created an "examples" subdirectory under tw5.com/tiddlers/widgets.
2023-03-04 11:48:14 +00:00
hffqyd
7d7ac662a2 Saving via a Minimal Web Server (#7315)
A standalone mini web server enables support tiddlywiki as well as upload files/images, for use like `[img[images/uploaded.jpg]]`.
2023-03-03 22:02:15 +00:00
hffqyd
3627ad1d28 Signing the CLA (#7316) 2023-03-03 21:58:13 +00:00
Mario Pietsch
b16ed6629d Docs: Improve Formatting in Wikitext (#7320)
* improve Formatting in Wikitext

* formatting add more info about semantic meaning

* back to 1 tiddler Formatting in Wikitext

* single backtics are used for code - fix typo
2023-03-03 21:57:21 +00:00
lin onetwo
d14e775b90 Allow deleteTiddler to not modify fs (#6047)
* feat: allow deleteTiddler to not modify fs

* refactor: add new function that merely delete file in cache, and let old func calls it

* fix: self is undefined
2023-03-03 21:56:40 +00:00
Mario Pietsch
d4b10605c3 improve WikiText docs add a Markdown tiddler (#7319)
* improve WikiText docs add a Markdown tiddler

* remove Elements heading as requested
2023-03-03 21:51:01 +00:00
Mario Pietsch
7f1064d14b Add dollar sign to HTML entities (#7323) 2023-03-03 21:34:30 +00:00
Mario Pietsch
867d647839 Move fourcolumns CSS class as multicolumns to tw5-styles for reuse (#7318) 2023-03-03 21:25:12 +00:00
Mario Pietsch
8c39c9e911 Docs: Add HTML Entities to WikiText info (#7321) 2023-03-03 20:25:28 +00:00
Bram Chen
c0ce53e3ea Update chinese language files (#7310)
* Add chinese translation for the text of `Error/ZoominTextNode` in Misc.multids
2023-03-02 08:40:11 +00:00
Maurycy Zarzycki
3a9f848ea0 Report ZoomIn issues when using tiddler template that starts with a text node (#7007)
* add alert when zoomin error occurs plus protection to avoid TW getting stuck when it happens

* Reverted additional logging and made the zoomin just silently and safely ignore the issue
2023-03-01 16:18:41 +00:00
Saq Imtiaz
5bce35d90b Fix: add twEditor attribute to paste events handled by codemirror (#7281) 2023-02-28 08:35:15 +00:00
lin onetwo
8d39ce95eb FieldIndexer performance: use isShadowTiddler instead of allTitles (#7299)
* feat: use `isShadowTiddler` insteadof `allTitles`

* fix: use `tiddlerExists` instead
2023-02-27 17:32:20 +00:00
Jeremy Ruston
e313857822 Use sticky flag to improve regexp search performance (#7297) 2023-02-27 15:12:07 +00:00
Maurycy Zarzycki
ce988f909a Add PL translations to strings introduce in 7b7063a7b2 (#7300) 2023-02-27 15:03:03 +00:00
yaisog
ba2c9f44b0 Make some cosmetic changes to the DateFormat and Date Fields documentation (#7295)
* Add description of field date format

* Add description of field date format and improvements

Due to the re-creation of the PR all changes to this file got mushed together.
2023-02-27 09:24:36 +00:00
btheado
6479c26b59 Removes datauri triggered save instructions modal (#7296)
* Do not trigger a save instructions modal when viewing through data uri

* Removed all instances of the no longer used SaveInstructions tiddler
2023-02-26 21:42:10 +00:00
Jeremy Ruston
2271f6885a Add focusSelectFromStart/focusSelectFromEnd attributes to <$edit-text> widget (#7222)
* Initial commit

* WIP

* Align implementation with @yaisog's suggestion

See https://github.com/Jermolene/TiddlyWiki5/pull/7222#issuecomment-1410194593

* Commit missing from 3262b8d77d

Thanks @pmario

* Fix version number

Thanks @yaisog

* Add two examples for text selection (#7286)

---------

Co-authored-by: yaisog <m@rcuswinter.de>
2023-02-25 18:25:46 +00:00
jeremy@jermolene.com
8c378e0d24 Let widget should specify a default value for variables
Fixes #7270
2023-02-25 13:41:13 +00:00
andrigamerita
925ce2b505 Add meta viewport to StaticRiver (#6953)
StaticRiver HTML didn't feature a <meta name="viewport" line, which made single-page full wiki static exports look bad on mobile.
2023-02-24 16:51:30 +00:00
andrigamerita
cf25dae8a7 Signing the CLA (#7287) 2023-02-24 16:50:49 +00:00
cdruan
eb8f4d66b9 Markdown Plugin: Handle non-string attr values in tw_image() (#7284) 2023-02-24 15:41:29 +00:00
jeremy@jermolene.com
ef03a4a5df Markdown Plugin: Default to recognising TiddlyWiki-format links
Fixes #7275
2023-02-24 09:51:45 +00:00
jeremy@jermolene.com
51a4d39c19 Refresh text editors when the palette changes
Fixes #7276
2023-02-23 10:13:13 +00:00
Mateusz Wilczek
55124b4ee6 Improve documentation of WikiText formatting (#7272)
* Improve 'Formatting in WikiText.tid'

Add highlight formatting example.
Simplify code formatting example to be single line without nested list.
Improve bold, italic, and underscore formatting examples to be consistent with others.

* Improve 'Styles and Classes in WikiText.tid'

Add more examples, including the default highlight styling when no style or class is defined, as introduced in #6877
2023-02-17 19:14:21 +01:00
Mateusz Wilczek
fb99d3050e Sign the CLA (#7271)
Mateusz Wilczek, @mateuszwilczek, 2023/02/16
2023-02-17 10:09:45 +01:00
btheado
95dc56d850 Fix importTitle and autoOpenOnImport in the tm-import-tiddler message (#7243)
* Add initial tm-import-tiddler test

* Add failing test for tm-import-tiddlers importTitle #7234

* Add failing test for tm-import-tiddlers autoOpenOnImport #7234

* Use event.paramObject instead of event to access tm-import-tiddlers options. Fixes #7234.

* Added a clarifying comment

* Allow mixing tm-import-tiddler params in both event and event.paramObject

* Added import test using tv-auto-open-on-import variable

* Removed stray punctuation
2023-02-11 09:15:44 +00:00
Jeremy Ruston
77b418004a Zoomin: Avoid using broken tc-storyview-zoomin-tiddler class (#7252)
* First commit

Fixes #7247

* Revert to setting the faulty tc-storyview-zoomin-tiddler class for backwards compatibility
2023-02-10 21:27:20 +00:00
Cameron Fischer
028dfe39b7 Fixed issue where $genesis didn't pass isBlock (#7230)
* Fixed issue where $genesis didn't pass isBlock

* Added $mode attribute for genesis

* Added documentation for $mode attribute
2023-02-10 10:17:32 +00:00
jeremy@jermolene.com
81f5141166 Dynannotate: Don't crash when used in the fake DOM
Fixes #7258
2023-02-10 09:00:52 +00:00
TonyM
8567c48be8 Update BrowseWidget.tid (#7231)
* Update BrowseWidget.tid

Made sure all references to use of the `<$browse>` widget were changed to `<$browse/>`

Which possibly caused this problem, now closed https://github.com/Jermolene/TiddlyWiki5/issues/7223

If not closed other widgets may work

* To documentation standard

Replaced `The content of the `<$browse>` widget is ignored.`
`The content of the <<.wid BrowseWidget>> widget is ignored.`
To restore documentation standards as per   @Jermolene
2023-02-03 19:25:23 +00:00
jeremy@jermolene.com
3da3318396 Node.js: Prefer .tid format when a _canonical_uri field present
Fixes #7238
2023-02-03 19:22:43 +00:00
jeremy@jermolene.com
89fd8871b6 Add encodebase64/decodebase64 operators
Proposed by @ericshulman
2023-02-02 09:55:54 +00:00
jeremy@jermolene.com
f249b79e81 Fix edit toolbar button classes
Appears to have been broken at least as far back as v5.1.10
2023-02-01 19:04:46 +00:00
jeremy@jermolene.com
524cee1489 XLSX plugin: Add support for numeric fields 2023-01-30 21:42:44 +00:00
jeremy@jermolene.com
93abe5e3a6 xlsx-utils plugin: Update to latest version of xlsx.js 2023-01-30 09:43:18 +00:00
jeremy@jermolene.com
c0bca18cab Dynannotate: Fix searchCaseSensitive default in docs
Fixes #7245
2023-01-29 16:43:01 +00:00
Jeremy Ruston
d70b6a7d6c Make save wiki button be accessible to users without colour vision (#7232)
* Make save wiki button be accessible to users without colour vision

* Make the dynamic button be a separate button

For backwards compatibility
2023-01-28 09:51:25 +00:00
jeremy@jermolene.com
6404d5652e Minor tweaks for fe2c677ac4 2023-01-27 20:49:34 +00:00
fkmiec
fe2c677ac4 Docs for #7169 - update readme tiddlers for TiddlyWebAdaptor and BrowserStorage plugins (#7240)
* Update readme to reflect optional use of browser storage with tiddlyweb sync adapter

* Fix typos in readme
2023-01-27 20:39:13 +00:00
Mario Pietsch
3faadd69c0 Fix #7227 control panel parser rule checkbox text spacing (#7228) 2023-01-23 22:20:35 +00:00
jeremy@jermolene.com
4e5c957e97 Further fix to whitespace handling in $tw.utils.stringifyList
Fixes typo in 3d0ec5b1bd

See 3d0ec5b1bd (commitcomment-97804850)
2023-01-23 19:36:13 +00:00
jeremy@jermolene.com
3d0ec5b1bd Fix handling of whitespace in $tw.utils.stringifyList
Fixes #7226
2023-01-23 17:16:51 +00:00
Mario Pietsch
fb8e5d1417 Improve readability of the editor save-button (#7225) 2023-01-23 13:23:25 +00:00
Mario Pietsch
2426cc668d Fix #7220 whitespace issue with editor save button (#7224) 2023-01-23 13:22:27 +00:00
jeremy@jermolene.com
75a399a389 Add contributors to release note 2023-01-21 17:14:17 +00:00
jeremy@jermolene.com
4c4399c32d Merge branch 'master' of github.com:Jermolene/TiddlyWiki5 2023-01-21 13:57:36 +00:00
jeremy@jermolene.com
194df33de3 Update release note 2023-01-21 13:57:14 +00:00
Télumire
6718f82b4c Small gap fix for the updated toc macro (alternative to tc-tiny-gap-left) (#7219) 2023-01-20 10:15:35 +00:00
jeremy@jermolene.com
8ef6d78bef Filesystemadaptor: Use json format for tiddlers with fieldnames containing hash
Fixes #7144
2023-01-19 21:16:46 +00:00
Mario Pietsch
e6189078ff Make tag-picker and keyboard-driven-input macros human readable (#7118)
* make tag-picker and keyboard-driven-input macros human readable

* fix indentation as requested
2023-01-19 20:44:00 +00:00
Cameron Fischer
c20c35c0a6 Fully committing core to the $genesis widget (#7129) 2023-01-19 17:48:23 +00:00
cdruan
51cbf83c23 Fix data-tiddler field duplications in server snapshots (#7130) 2023-01-19 17:47:49 +00:00
Télumire
1441138d5c Correction of the toc and toc-body macro (#7121)
* correction of the toc and toc-body macro: tiddler without toc-link field can now be overriden + nested the macros

* reverted macro nesting

.. to be able to override the toc-body macro

* reverted tabs to spaces
2023-01-19 17:46:50 +00:00
Jeremy Ruston
a5894946de Extend encodeuricomponent to process additional characters (#7128)
* First commit

* Fix version number in docs

* Add code comment
2023-01-19 17:45:54 +00:00
Matthias Bilger
a3a1eceb4a Use iframe to embed PDF (#7102)
`<iframe>` is kind of preferred over `<embed>` and widely supported.
2023-01-19 17:01:53 +00:00
cdruan
aa8f7f77d6 External.js: Allow boot code to remain as tiddlers in tiddlywikicore.js (#7210)
* Allow boot code to remain as tiddlers

* Sync up with tiddlywiki5.html

* Add \whitespace trim

* Add download-full-wiki button

* Simplify ExportTiddlyWikiCore code

No longer needs the if-boot-code-is-missing part of the code.

* Replace space btw icon and button text with CSS
2023-01-19 16:52:12 +00:00
jeremy@jermolene.com
5d650e87dd Remove savers for Beaker Browser now it is archived
See https://github.com/beakerbrowser/beaker/blob/master/archive-notice.md
2023-01-19 16:45:30 +00:00
jeremy@jermolene.com
67a8f7aeba Merge branch 'tiddlywiki-com' 2023-01-19 16:44:09 +00:00
jeremy@jermolene.com
485bf19c3c Remove docs references to Beaker Browser now it is archived
See https://github.com/beakerbrowser/beaker/blob/master/archive-notice.md
2023-01-19 16:43:48 +00:00
jeremy@jermolene.com
586d44f6ce Allow missing tiddlers to be deleted (ie closed)
Fixes #7217
2023-01-18 16:50:58 +00:00
jeremy@jermolene.com
18c790152f Merge branch 'master' of github.com:Jermolene/TiddlyWiki5 2023-01-17 23:14:15 +00:00
jeremy@jermolene.com
9541f3c283 Clean up build errors 2023-01-17 23:13:58 +00:00
GameDungeon
5aa5fc72b1 Gamedungeon Sign CLA (#7216) 2023-01-17 22:16:09 +00:00
fkmiec
005dfdadf0 Automatic sync of tiddler changes in browser storage when sync connection is re-established (#7169)
* Add automatic sync of tiddler changes in browswer-storage on restoration of server connection in tiddlywebadaptor

* Fix issue with new tiddlers not being synced.

* Fix issue with new tiddlers not being synced.

* Added logging

* Modified browser-storage plugin. Refactored into utility class.

* Modified browser-storage plugin. Refactored into utility class.

* Fix: browser storage config tiddler created on load only if not already exists

* Fix: Removed extra indent in util.js
2023-01-17 22:12:18 +00:00
Mario Pietsch
af1cc56c0c [DOC] Improve ActionCreateTiddlerWidget documentation (#7202)
* [DOC] Improve ActionCreateTiddlerWidget documentation

* action-createtitddler improve docs as requested
2023-01-17 17:29:08 +00:00
jeremy@jermolene.com
5bf60cd26f Remove some contractions that have crept in
They do not belong in technical documentation
2023-01-17 16:56:52 +00:00
jeremy@jermolene.com
4546828541 Genesis widget rewording 2023-01-17 16:56:25 +00:00
jeremy@jermolene.com
1a69fb7e5c Merge branch 'tiddlywiki-com' 2023-01-17 16:48:26 +00:00
Mario Pietsch
db88eed88f Improve docs for genesis-widget (#7174)
* Improve docs for genesis-widget

* improve wording

* use <<.attr macro instead of <<.param
2023-01-17 16:45:51 +00:00
Mario Pietsch
c51816e826 Fix pasting of multiple types at once (#6622)
* wip fix dropzone closure variable problem

* just a new commit to autocreate at test wiki
2023-01-17 15:02:57 +00:00
Mario Pietsch
e41511c652 make core/ui/MoreSideBar/Tags look nice in the story river (#7212) 2023-01-17 14:57:49 +00:00
jeremy@jermolene.com
8f7441f296 Share plugin: Further fixes to c39ef398bf
See https://talk.tiddlywiki.org/t/revived-share-plugin/5887/14

Thanks @btheado
2023-01-17 14:34:06 +00:00
jeremy@jermolene.com
c8d99c8aad Merge branch 'tiddlywiki-com' 2023-01-17 12:32:04 +00:00
yaisog
166f68cc15 Improve \parsermode documentation (#7214) 2023-01-17 12:31:07 +00:00
jeremy@jermolene.com
fecb7edca4 Fix typo in messagecatcher widget
I think this was a copy-paste error, but would appreciate other eyes on this...
2023-01-16 19:34:02 +00:00
jeremy@jermolene.com
7632a3317a Merge branch 'tiddlywiki-com' 2023-01-16 19:21:07 +00:00
jeremy@jermolene.com
0039c2134b Use correct image for Mastodon link 2023-01-16 14:05:36 +00:00
jeremy@jermolene.com
34643a4279 Add icon to default page layout and show in switcher
Thanks @linonetwo

Fixes #7197
2023-01-16 13:21:40 +00:00
twMat
4d040d2499 Docs: Update is.tid (#7213)
Ref [discussion](https://talk.tiddlywiki.org/t/filter-q-is-tiddler-or-shadow-how/5888)
2023-01-16 12:56:51 +00:00
jeremy@jermolene.com
c0615e20ec Revert "Fix table overflow for small screens (#7010)"
This reverts commit 2db886793e.
2023-01-15 20:22:52 +00:00
jeremy@jermolene.com
c39ef398bf Share plugin: decode the URI component before checking for the leading hash sign
Should compensate for the mangling we get from Discourse – see https://talk.tiddlywiki.org/t/revived-share-plugin/5887
2023-01-15 18:55:36 +00:00
jeremy@jermolene.com
02d28c100b Merge branch 'tiddlywiki-com' 2023-01-15 18:46:46 +00:00
Pippo Peppo
dc225da1ff Update italian language file (#7209)
* Update italian language file

* Update italian language file
2023-01-14 16:55:40 +00:00
jeremy@jermolene.com
aeec6aee23 Docs typo 2023-01-14 14:56:49 +00:00
jeremy@jermolene.com
f9efbd93b1 Docs: Fix ordering of badges 2023-01-14 14:31:37 +00:00
jeremy@jermolene.com
b7c420393c Add a "NEW" banner to the newsletter badge 2023-01-14 14:11:19 +00:00
jeremy@jermolene.com
9574506a89 Image for TiddlyWiki newsletter badge 2023-01-14 14:09:05 +00:00
jeremy@jermolene.com
13c0f3c5e2 TiddlyWiki Newsletter badge 2023-01-14 14:06:03 +00:00
jeremy@jermolene.com
301a0ecec7 Docs: Remove another stray camelcase link 2023-01-14 14:00:25 +00:00
jeremy@jermolene.com
917975b464 Avoid unnecessary full stop 2023-01-14 13:49:36 +00:00
jeremy@jermolene.com
c9691bdb27 Docs: Remove camelcase wikification for newsletter badge 2023-01-14 13:47:16 +00:00
jeremy@jermolene.com
5ea9743cd5 Add TiddlyWiki Newsletter badge 2023-01-14 13:39:25 +00:00
cdruan
0c328a1696 Revamp markdown plugin (#6528)
* Rename markdown to markdown-legacy

* Change how default renderWikiTextPragma value is displayed

To prevent out-of-sync, dynamically display the default value of
renderWikiTextPragma from the shadow tiddler instead of hard coding
the text in the "usage.tid".

* Repackage remarkable-based markdown plugin as markdown-legacy

- Rename plugin title to $:/plugins/tiddlywiki/markdown-legacy

- Add support for "text/markdown" MIME type and set that as the default
  when creating new markdown tiddlers

* Create new markdown plugin

* add support to text/markdown MIME type

* remove linkify and linkNewWindow config options

- linkify feature should be controlled by "extlink" TW parser rule;
  enabling markdown's linkify option will interfere with parsing

- remove the possibility to open external links in the same tab/window
  to match TW's behavior

* Ignore latex-parser wikirule in rednerWikiTextPragma

* Prevent camel-case link text from generating a link

* Update editions/markdowndemo

* Produce better parse tree

* Improve markdown/tiddlywiki integration

- widget block should not interrupt paragraph
- ignore tw-syntax links inside markdown-syntax links
- remove repeated renderWikiTextPragma parsing
- more efficient findNextMatch when examining tw rules

* Update user docs

* Replace includes() with indexOf() for legacy browsers
2023-01-14 09:49:04 +00:00
btheado
b5134951e5 Allow attribute override in innerwiki widget (#7176) 2023-01-13 10:48:51 +00:00
btheado
6e10918a28 Fixes share plugin stale url and prevents wikification of generated json (#7207)
* Use tv-action-refresh-policy to ensure generated share url is up-to-date

* Use 'text/raw' output to prevent generated json from being wikified
2023-01-12 23:36:21 +00:00
Wincent Balin
0ee53bbc01 Use British English (#7180)
Fixed some typos too.
2023-01-12 20:59:34 +00:00
btheado
a52da67563 Use decodeURIComponent in share plugin rawmarkup (#7204) 2023-01-12 18:24:32 +00:00
Mohammad Rahmani
494ee984f8 Update Macro Definitions in WikiText.tid (#7201)
Ref: https://talk.tiddlywiki.org/t/requesting-macro-massage-willing-to-donate-50-to-tw/5833/17

Add explanation for single line nested macro
2023-01-11 18:57:21 +00:00
Marxsal
9c70ee34d4 Update community resources TiddlyResearch and Drift (#7198) 2023-01-10 22:18:32 +00:00
Bram Chen
c7612ff4ce Update chinese language files (#7195)
* Added documentation for more core fields
2023-01-09 09:36:07 +00:00
TonyM
51acc24b0a Remove the tag to itself on the "Open collective" tiddler (#7187)
Remove [[Open Collective]] from the tags of itself.

This breaks the heirachy of the TOC and produces an entry that will not open its own list see HelloThere > Open Collective
2023-01-08 13:20:17 +00:00
yaisog
c5ce1d78a2 Update cla-individual.md (#7189) 2023-01-08 13:18:53 +00:00
Saq Imtiaz
dd6e00687b Adds support for indenting pragmas with whitespace (#7185)
* feat: first pass at allowing pragmas to be indented

* Added documentation
2023-01-08 13:17:01 +00:00
Cameron Fischer
7b7063a7b2 Added documentation for neglected core fields (#7191) 2023-01-08 13:13:04 +00:00
jeremy@jermolene.com
f3ebb258f7 Remove obsolete content from v5.2.6 release note
Should have been included in 44de7918ab
2023-01-05 11:21:02 +00:00
Scott Sauyet
67beafe359 Add Scott Sauyet (CrossEye) to the CLA (#7181) 2023-01-05 08:22:46 +00:00
jeremy@jermolene.com
8ca0bf10e4 Lazy loading a tiddler should trigger a sync
Fixes #7138
2023-01-03 14:28:48 +00:00
btheado
6f9cf20e77 Fixes reduce, filter, and sortsub operators undefined variable exception (#7156)
* Added failing tests for #7155

* Pass getVariable options through to the widget method. Fixes #7155

* Whitespace fix

* Added tests to verify macro parameters work inside filter, reduce, and sortsub operators
2023-01-03 13:48:20 +00:00
Pippo Peppo
fb8df29948 Fix and enhance italian translation (#7173)
* Fixed and enhanced italian translation

* Fixed and enhanced italian translation

* Delete type: text/vnd.tiddlywiki

* Delete type: text/vnd.tiddlywiki

* Update and rename application%2Fjavascript.tid to application_javascript.tid

* Update and rename application%2Fjson.tid to application_json.tid

* Update and rename application%2Fx-tiddler-dictionary.tid to application_x_tiddler_dictionary.tid

* Update and rename image%2Fgif.tid to image_gif.tid

* Update and rename image%2Fjpeg.tid to image_jpeg.tid

* Update and rename image%2Fpng.tid to image_png.tid

* Update and rename image%2Fsvg%2Bxml.tid to image_svg_xml.tid

* Update and rename image%2Fx-icon.tid to image_x-icon.tid

* Update and rename text%2Fcss.tid to text_css.tid

* Update and rename text%2Fhtml.tid to text_html.tid

* Update and rename text%2Fplain.tid to text_plain.tid

* Update and rename text%2Fvnd.tiddlywiki.tid to text_vnd.tiddlywiki.tid

* Update and rename text%2Fx-tiddlywiki.tid to text_x-tiddlywiki.tid

* Fixed and enhanced italian translation

* Fixed and enhanced italian translation

* Changed en-GB to ''en-GB''

* Fixed and enhanced italian translation

* Fixed and enhanced italian translation

* Fixed and enhanced italian translation

* Fixed and enhanced italian translation

* Update NewJournal.multids

* Create NewJournalTags.tid

* Delete Advanced/Matches

* Update SideBar.multids

* Fixed and enhanced italian translation

* Fixed and enhanced italian translation
2023-01-03 10:17:10 +00:00
Pippo Peppo
b33b41e1fc Signing the CLA (#7172) 2023-01-03 10:16:42 +00:00
jeremy@jermolene.com
04810667e6 It's 2023 2023-01-02 15:47:24 +00:00
jeremy@jermolene.com
50971db392 Italian translation update
Thanks Pippo Peppo

See https://talk.tiddlywiki.org/t/italian-it-it-translation-update/5680
2023-01-01 18:58:23 +00:00
fkmiec
d57abcbb23 Signing the CLA (#7168) 2023-01-01 18:21:36 +00:00
Nick Bell
8a2fad2499 Using stamp - docs (#7165)
* Using stamp - docs

* Moved from-version pill

* Changed tag-pill to tag

* Corrected the right tag-pill

Oops!
2023-01-01 18:15:09 +00:00
Nick Bell
666e2a795f Signing the CLA (#7164) 2023-01-01 18:12:50 +00:00
jeremy@jermolene.com
42a408146d Empty or missing type on genesis widget should not render an element/widget
Fixes #7153
2022-12-30 21:42:07 +00:00
Jeremy Ruston
bf8e1ca5b0 Fix options.tiddlerinfo is undefined on New Tiddler button click (#7162)
See https://talk.tiddlywiki.org/t/nodejs-wiki-typeerror-options-tiddlerinfo-is-undefined-on-new-tiddler-button-click/5583
2022-12-30 19:41:41 +00:00
jeremy@jermolene.com
3bdc18ab84 Fix json operators retrieving properties of strings and numbers
Fixes #7160
2022-12-30 15:28:34 +00:00
jeremy@jermolene.com
43214c1cc6 Docs: System tag doc tables should display description if caption is missing
Fixes #7161
2022-12-30 15:15:24 +00:00
jeremy@jermolene.com
0b39e47ce8 Browsers import MP3 files as audio/mpeg, not audio/mp3
Chrome changed in v81 to match Firefox and Safari - https://stackoverflow.com/questions/61363934/chrome-81-mimetype-change-to-file-upload-of-audio-mp3

Fixes #7157
2022-12-30 09:34:38 +00:00
cs8425
87c3e53299 Signing the CLA (#7159) 2022-12-30 09:15:18 +00:00
jeremy@jermolene.com
3a7a3d64c2 Docs: Update indexes operator to note that results are sorted
See https://talk.tiddlywiki.org/t/how-can-i-get-the-indexes-of-a-data-tiddler-in-the-order-they-are-given-there/3359
2022-12-29 09:43:18 +00:00
Mario Pietsch
c819b2d365 Changecount macro change the wording ... just a bit (#7146) 2022-12-24 16:00:30 +00:00
Mario Pietsch
119813529d changecount macro change the wording ... just a bit (#7147) 2022-12-24 15:59:48 +00:00
Mario Pietsch
9f69161709 Add ignore .github, .vscode to regexp (#7148) 2022-12-24 15:58:50 +00:00
Jeffrey Zhang
18d3ea9d14 Support obsidian external link (#7149) 2022-12-24 15:56:46 +00:00
Jeffrey Zhang
ae18c2e19b Signing the CLA (#7150) 2022-12-24 15:55:56 +00:00
jeremy@jermolene.com
95e6168839 Fix logout triggering 404 error
See https://talk.tiddlywiki.org/t/logout-error-xmlhttprequest-error-code-404/5590/5 for details

We can't POST to the logout endpoint without triggering authentication, so we report in advance whether logout is supported.
2022-12-24 12:13:01 +00:00
jeremy@jermolene.com
73507ca8b5 Release note typo 2022-12-24 10:30:34 +00:00
Mohammad Rahmani
4a6e3d4281 Convert Rendertiddler(s) Command in Sever TiddlyWIki.info (#7124)
* convert rendertiddler(s) in sever .info

* Conversion of rendertiddler(s) in tiddlywiki.info for editions/empty

Conversion of rendertiddler(s) in tiddlywiki.info for editions/empty

* Conversion of rendertiddler(s) in tiddlywiki.info for editions\server-external-js

Conversion of rendertiddler(s) in tiddlywiki.info for editions\server-external-js

* Convert Rendertiddler(s) in tiddlywiki.info in tw5.com, tw5.com-doc

Convert Rendertiddler(s) in tiddlywiki.info in tw5.com, tw5.com-doc

* Convert rendertiddler(s) editions\twitter-archivist\tiddlywiki.info

Convert rendertiddler(s) editions\twitter-archivist\tiddlywiki.info

* Convert rendertiddler(s) in editions\katexdemo\tiddlywiki.info

Convert rendertiddler(s) in editions\katexdemo\tiddlywiki.info

* Correct for extra space in editions\katexdemo\tiddlywiki.info

* Convert rendertiddler(s) editions\highlightdemo\tiddlywiki.info

* Convert rendertiddler(s) in editions\tw.org\tiddlywiki.info

Convert rendertiddler(s) in editions\tw.org\tiddlywiki.info
2022-12-23 22:42:25 +00:00
Wincent Balin
d217826375 Fix miscellaneous docs typos (#7143) 2022-12-21 10:07:14 +00:00
jeremy@jermolene.com
a5afed9384 Fix crash with illegal tag names for element widget
Fixes #7122
2022-12-20 17:31:51 +00:00
jeremy@jermolene.com
b37a356b5e Crash with <$genesis $type="" />
Fixes #7140
2022-12-20 16:45:29 +00:00
jeremy@jermolene.com
55d9a5e16d Preparing for v5.2.6 2022-12-19 18:52:03 +00:00
jeremy@jermolene.com
3bab996acd Version number update for 5.2.5 2022-12-19 18:47:55 +00:00
jeremy@jermolene.com
7e8380a8df Update readme.tid for github 2022-12-19 18:47:05 +00:00
jeremy@jermolene.com
44de7918ab Preparing for release of v5.2.5 2022-12-19 18:46:10 +00:00
jeremy@jermolene.com
5ee6af0632 Merge branch 'tiddlywiki-com' 2022-12-19 18:41:28 +00:00
jeremy@jermolene.com
ccf444c834 Release note updates 2022-12-19 17:25:52 +00:00
Wincent Balin
ecaa288fc5 Docs typo (#7137) 2022-12-19 15:49:05 +00:00
jeremy@jermolene.com
ceb6999dd6 Update release note 2022-12-19 08:56:18 +00:00
jeremy@jermolene.com
e51dd406b1 Revert global CSS changes from v5.2.4
Changes to style definitions for unclassed elements are being reverted because of backwards compatibility issues in the field. See #7126.
2022-12-19 08:46:26 +00:00
Wincent Balin
6ea61ac94f Signing the CLA (#7134) 2022-12-19 08:18:02 +00:00
Joe Bordes
caf01f10d6 i18n(ES) update with latest changes in master (#7127) 2022-12-17 14:00:57 +00:00
Mario Pietsch
1bd7924e1b Docs: "Saving with the HTML5 saver" improvements (#7109)
* "Saving with the HTML5 saver" improvements

* fix typos add platform tags

* reset modified date and fix minor typos
2022-12-17 08:22:27 +00:00
jeremy@jermolene.com
25b8f26073 Banner for v5.2.5
Daria has kindly reworked their v5.2.4 artwork for v5.2.5.
2022-12-16 17:41:59 +00:00
jeremy@jermolene.com
9160d81cc6 BibTex plugin: Fix obsolete comments 2022-12-16 17:41:05 +00:00
jeremy@jermolene.com
0b1a4f3a4d Fix release note typo 2022-12-13 17:30:52 +00:00
jeremy@jermolene.com
8d48964aca Preparing for v5.2.5 2022-12-13 16:42:40 +00:00
jeremy@jermolene.com
6cd2fc029d Version number update for 5.2.4 2022-12-13 16:35:26 +00:00
jeremy@jermolene.com
6235f29749 Preparing for release of v5.2.4 2022-12-13 16:34:14 +00:00
jeremy@jermolene.com
6385534638 Release note tweaks 2022-12-13 16:26:09 +00:00
jeremy@jermolene.com
ba3cba6170 Merge branch 'tiddlywiki-com' 2022-12-13 16:20:11 +00:00
Simon Baird
34c9e83bec Remove "Saving" tag from "Saving on TiddlySpot" (#7115)
The content is still there since there are links to it from various
places, but let's not have its card appear in the list of savers
shown in the "Saving" tiddler any more.

Removing just the "Saving" tag would have been sufficient, but I
think it makes sense to remove the other tags as well.
2022-12-13 12:26:14 +00:00
jeremy@jermolene.com
ed9cc84fb2 Remove erroneous references to en-GB language plugin
en-GB is built into the core, and so does not have a separate language plugin
2022-12-13 09:36:10 +00:00
jeremy@jermolene.com
22bc826247 Merge branch 'tiddlywiki-com' 2022-12-12 08:51:52 +00:00
jeremy@jermolene.com
6e6efcafc9 Reword Grok TiddlyWiki card 2022-12-12 08:45:38 +00:00
jeremy@jermolene.com
3c81558d74 Add introduction message to "Saving" tiddler
Fixes #7095
2022-12-10 14:23:28 +00:00
Mario Pietsch
cc47bb0330 Improve readability for: Using the external JavaScript template (#7097)
* Improve readability for: Using the external JavaScript template

* remove the extra button
2022-12-10 14:10:54 +00:00
Jeremy Ruston
0ce5788747 Fixes for JSON operators (#7105) 2022-12-09 18:31:23 +00:00
jeremy@jermolene.com
1118de319e Update prerelease warning 2022-12-09 10:43:13 +00:00
jeremy@jermolene.com
c2d82ccb32 Update release note 2022-12-09 10:17:31 +00:00
Maurycy Zarzycki
a899aac92c Change first letter in two plugin-related buttons to be uppercase to be consistent with the button that appears earlier (#7103) 2022-12-08 13:48:45 +00:00
jeremy@jermolene.com
bef11fe6a2 Allow overriding the coreURL for the external JS builds
Fixes #7096
2022-12-07 22:02:58 +00:00
Mario Pietsch
17a1ae23eb Fix truncated search results on small screens (#7099) 2022-12-07 17:14:12 +00:00
jeremy@jermolene.com
9f867ad51e Dynannotate: Fix undefined class 2022-12-07 17:10:45 +00:00
jeremy@jermolene.com
28c1e6bfc3 Docs update for nested macro definitions
Suggested by @kookma in bcb3b06d60 (commitcomment-91922651) and bcb3b06d60 (commitcomment-91922974)
2022-12-07 09:43:39 +00:00
Mario Pietsch
2db886793e Fix table overflow for small screens (#7010)
* fix table overflow for small screens

* add PRE word-break for Chrome and Safari on mobile

* remove comment, since it looks better for all browsers now

* add 1 space to trigger the new automatic build

* change small screen settings only for tiddler frame
2022-12-06 16:36:26 +00:00
jeremy@jermolene.com
8d050e0e69 Merge branch 'tiddlywiki-com' 2022-12-06 15:36:04 +00:00
jeremy@jermolene.com
e77006de63 Update links to Open Collective 2022-12-05 22:44:35 +00:00
FlashSystems
80442b7f7f Fix for bug #7054 (#7092)
* Fix Bug #7054: Reuse of $:/core/ui/EditTemplate/fields broken

This fixes Bug #7054 by creating a new variable
`safeNewFieldValueTiddlerPrefix` that is always set to a valid,
temporary prefix. This variable is used within `$action-deletetiddler`.
If the passed `newFieldValueTiddlerPrefix` variable is empty a new
prefix will be generated by the same logic that creates the original
`newFieldValueTiddlerPrefix` variable.

To be even more defensive, the prefix-filter was prepended with another
prefix filter that limits matches to `$:/temp/NewFieldValue`. This
prevents a bogus but non empty value in `newFieldValueTiddlerPrefix`
to delete arbitrary tiddlers.

* Add a default for `newFieldValueTiddlerPrefix`

This fixes a problem that was identified while fixing bug #7054. If the
tiddler `$:/core/ui/EditTemplate/fields` is transcluded directly and
`newFieldValueTiddlerPrefix` is not set, it will be generated. This
makes sure that this value is defined. It can not be redefined
unconditionally because if this tiddler is transcluded from
`EditTemplate.tid` these two tiddlers must agree on the same prefix
because the clean-up is duplicated between `EditTemplate.tid` and
`fields.tid`.

This would make `safeNewFieldValueTiddlerPrefix` obsolete, but I leave
it in there to make the macros safe and prevent any problems if the
`newFieldValueTiddlerPrefix` is unset by a later change.
2022-12-05 22:05:20 +00:00
Mario Pietsch
10bb3ba09d German Translation Update (#7093) 2022-12-05 22:04:52 +00:00
Maurycy Zarzycki
58013ba435 Another bundle of Polish translations (#7090)
* add Polish transaltions introduced in 272ba6a4b7

* Polish translations to changes introduced in a93a499684 and 0db987da60
2022-12-05 16:30:40 +00:00
Bram Chen
ee7bde58a2 Add chinese translations for the new layout switcher page control button (#7089) 2022-12-05 07:38:59 +00:00
Télumire
229159fea7 Correction of zindex for tc-card-ribbon-wrapper (new ribbon) (#7088) 2022-12-04 23:29:36 +00:00
Télumire
a311e5ebac correction of the z-index for the card ribbon wrapper (#7087) 2022-12-04 22:09:06 +00:00
jeremy@jermolene.com
9ff479ce87 Merge branch 'tiddlywiki-com' 2022-12-04 21:23:08 +00:00
jeremy@jermolene.com
77053cfe13 Update release note 2022-12-04 21:20:14 +00:00
jeremy@jermolene.com
1bd58db944 Add missing docs for commands command 2022-12-04 21:14:30 +00:00
jeremy@jermolene.com
4be0c17dd0 Fix HelloThere thumbnail for latest version to work in prerelease 2022-12-04 21:00:31 +00:00
jeremy@jermolene.com
595da5f9f6 Page control button for page layout should be hidden by default 2022-12-04 20:01:17 +00:00
jeremy@jermolene.com
ff674b9117 Merge branch 'tiddlywiki-com' 2022-12-04 19:57:22 +00:00
jeremy@jermolene.com
38dce175d6 Add Funding and Marketplace material, and refresh HelloThere 2022-12-04 17:58:16 +00:00
jeremy@jermolene.com
1ab9f457b4 Fix description of emergency tiddler expert
Confusing that it was using the same wording as the HTML5 fallback saver
2022-12-04 17:57:18 +00:00
jeremy@jermolene.com
1eddb52de5 Remove obsolete HelloThere badges 2022-12-04 17:55:52 +00:00
jeremy@jermolene.com
52fd6ce9c2 Remove creator field from docs tiddlers
By convention we don't attribute authors to tiddlers on tiddlywiki.com
2022-12-04 17:55:00 +00:00
jeremy@jermolene.com
62308792c8 Layout switcher page control button should be hidden by default 2022-12-04 16:26:52 +00:00
lin onetwo
272ba6a4b7 Add layout switcher page control button (#7076)
* feat: add layout switcher page control button

* feat: use icon from https://morosanuae.github.io/tw-icons/

$:/images/tabler-icons/layout

* fix: trigger switcher

* feat: beautify button icon

* fix: caption

* feat: group palette theme and layout buttons together

* fix: review

* fix: style issue
2022-12-04 16:25:13 +00:00
jeremy@jermolene.com
90449c9458 Fix modified data for "Installing TiddlyWiki on Node.js" 2022-12-04 16:06:37 +00:00
Bram Chen
5b8f36a594 Add chinese help texts for commands command (#7085) 2022-12-04 12:44:31 +00:00
jeremy@jermolene.com
acc7224758 Ensure unfold indicator is always visible
Fixes #7084
2022-12-04 11:19:54 +00:00
jeremy@jermolene.com
0db987da60 Minor tweaks for #7073 2022-12-04 11:03:51 +00:00
Carlo Colombo
a93a499684 Add commands command to run commands returned from a filter (#7073) 2022-12-04 10:59:59 +00:00
jeremy@jermolene.com
2c33502a4a Exclude drafts from the advanced search filter dropdown
Fixes #7083
2022-12-03 17:53:42 +00:00
lin onetwo
451a3454b5 Optionally allow click outside to close modals (#7072)
* feat: option to allow click on modalBackdrop to close modal

* feat: allow switcher modals closable

* feat: allow use caption field as modal title

* refactor: make maskClosable a variable

* fix: use "true"

* fix: code style

* docs: add description about maskClosable

* fix: convention is to have double quotes for strings in the TW core

* refactor: using a "mask-closable" field on the modal tiddlers instead of as a message parameter

* docs: move to modal tid

* Update WidgetMessage_ tm-modal.tid
2022-12-03 17:26:44 +00:00
Mohammad Rahmani
45a7eb1c03 Add new focus attribute to $select widget (#7081)
* Add focus attribute to $select widget

This address https://github.com/Jermolene/TiddlyWiki5/issues/7070

* Update SelectWidget.tid

Update the documentation for $select widget to include the new attribute: focus
2022-12-03 08:22:21 +00:00
jeremy@jermolene.com
d03da6085b Merge branch 'tiddlywiki-com' 2022-12-02 09:58:32 +00:00
Carlo Colombo
fa4dc2a4e9 Signing the CLA (#7074) 2022-12-01 21:26:08 +00:00
FlashSystems
3918e59cc1 Fixed PR to fix popup position if popup is triggered from within an offsetParent element (#7013)
* Fix popup location for tables

This commit introduces the `popupAbsCoords` option to the $button widget
and implements an absolut coordinate format.

Coordinates for popups are stored in the format `(x,y,w,h)`. These
coordinates are relative to the offset parent of the element that
defines the popup.

This commits adds a second format `@(x,y,w,h)`. Coordinates specified in
this format a relative to the pages root element.

The `popupAbsCoords` option of the $button widget enables the use of
this coordinates.

* Unify the declaration of the RegEx for parsing the popup-position

The regular expression was declared in three locations with the same
content. This commit supplies a new function `parseCoordinates` in
`popup.js`. This function returns the parsed coordinates and understands
the classic/absolute coordinates.

This function is used in `reveal.js` and `action-popup.js` to parse the
coordinates.

* Add documentation for coordinate systems

* Consolidate creating coordinate strings

The Popup object now contains a `buildCoordinates` method that can be
used to build coordinate strings. It takes an "enum" for the coordinate-
system to use. This makes everything easily extensible and prevents the
use of magic values.

* Add tests for `parseCoordinates` and `buildCoordinates`

* Add `tv-popup-abs-coords` to `collectDOMVariables`

This will make the absolute coordinates available for the
`DraggableWidget` and the `EventCatcherWidget`.

* Add documentation for the `tv-popup-abs-coords`

... to the `DraggableWidget` and the `EventCatcherWidget`.

* Fix crash when generating a static version of the TW

The Popup class is not initialized in `startup.js` if `$tw.browser` is
not true. After having consolidated the facilities for parsing
coordinate strings into `popup.js` this breaks because the static build
needs to parse coordinate stings even if no Popup module is initialized.
This commit solves this problem by making `readPopupState`,
`parseCoordinates` and `buildCoordinates` static methods of `popup.js`.
It also adds a comment to these functions to show that these can be called
safely even if the Popup-Class is not initialized.
2022-12-01 21:16:44 +00:00
lin onetwo
f7ccba4c25 Add "code" and "key" to propogateKeydownEvent's cloneEvent (#7071)
* feat: add key

* feat: add code
2022-11-30 10:17:10 +00:00
Mario Pietsch
319d7fbe9c Add hidden option to make "More" sidebar tabs be horizontal (#7063)
* make more sidebar tabs configurable vertical or horizontal

* more sidebar tabs orientation German translation

* remove language specific texts for more-horizontal setting

* Add More -> tabs horizontal setting to Hidden Settings
2022-11-30 09:57:14 +00:00
Guang Li
67c8f29160 more localized translation (#7069) 2022-11-29 22:57:13 +00:00
Cameron Fischer
856aca2f92 Linked-List refactor (#6056)
* Added failing linked-list test for #7059

* Fixed linked-list remove bug #7059

* Added failing linked-list test for #7059

* Switched LinkedList to use Map

* Removed this.last from LinkedList

* Removed this.first from LinkedList

* Switching to deleting old LinkedList entries

* LinkedList rewritten to be better

* Using null as LinkList ends to reduce hashing

* Using adhoc map... cause it's better than ECMA6 Map

* compliance with TiddlyWiki coding conventions

* Made link-list tests confirm the prev links

Co-authored-by: btheado <brian.theado@gmail.com>
2022-11-27 17:48:08 +00:00
jeremy@jermolene.com
34a20463c7 Update release note 2022-11-27 13:55:22 +00:00
jeremy@jermolene.com
56f13133d8 Missed off preparation for v5.2.4 2022-11-27 13:35:56 +00:00
Marxsal
684673cbff TiddlyBucket - Save to AWS or Google Storage (#7066) 2022-11-27 08:48:41 +00:00
btheado
bea1a6b14f Fix issue with linked list remove (#7065)
* Added failing linked-list test for #7059

* Fixed linked-list remove bug #7059
2022-11-26 15:05:10 +00:00
jeremy@jermolene.com
32a033bb50 Fix advanced search keyboard shortcut navigation
Fixes #7008
2022-11-26 11:22:24 +00:00
Mario Pietsch
97f7db169a Allow the big download button to be defined using the colour palette values (#7064) 2022-11-26 11:15:47 +00:00
jeremy@jermolene.com
850a4dd351 Correct colour for Mastodon icon 2022-11-25 17:59:11 +00:00
jeremy@jermolene.com
d707e6f825 Add Mastodon icon 2022-11-25 15:28:12 +00:00
jeremy@jermolene.com
5c378855ab Merge branch 'tiddlywiki-com' 2022-11-25 15:27:42 +00:00
jeremy@jermolene.com
ebc1f7e4ce Add link to official Mastodon account 2022-11-25 15:14:15 +00:00
Maurycy Zarzycki
2fcbf3b521 Update documentation to fix a mistake with format used by created and modified (#7060) 2022-11-24 18:43:51 +00:00
jeremy@jermolene.com
00927d2e13 Add parsermode pragma
Fixes #7058
2022-11-23 22:35:32 +00:00
Mario Pietsch
882e040e62 Refactor import preview to not use a hidden table row (#7057) 2022-11-23 21:53:21 +00:00
jeremy@jermolene.com
026739e2e0 Revert "Revert "add table utility classes and some docs how to use them. fix problem with control-panel basics tab shown in story river (#7039)""
See https://github.com/Jermolene/TiddlyWiki5/pull/7057#issue-1461608206

This reverts commit fba9efcf4a.
2022-11-23 21:52:36 +00:00
jeremy@jermolene.com
fba9efcf4a Revert "add table utility classes and some docs how to use them. fix problem with control-panel basics tab shown in story river (#7039)"
See #7056

This reverts commit b8a30091ee.
2022-11-23 08:28:06 +00:00
jeremy@jermolene.com
acfea3a212 New release banner credits 2022-11-22 21:10:36 +00:00
jeremy@jermolene.com
0dc30086e9 Update new release banner 2022-11-22 21:08:41 +00:00
Jeremy Ruston
cb0d0cfa6d Support nested macro definitions (#7004)
* First commit

* Switched to \end <name> instead of all those repeated backslashes

Thanks @kookma. See https://github.com/Jermolene/TiddlyWiki5/pull/7004#issuecomment-1286429236

* Docs update
2022-11-22 17:10:37 +00:00
Maurycy Zarzycki
d32d559f93 Add Timestamp to DateFormat (#7043)
* add Timestamp to DateFormat

* improve TIMESTAMP documentation
2022-11-21 16:13:34 +00:00
Cameron Fischer
8ead7e0624 Jasmine command (#6944) 2022-11-20 17:54:18 +00:00
Maurycy Zarzycki
4f7b10e055 CSV parser improvements (#7042) 2022-11-20 17:51:01 +00:00
Mario Pietsch
b8a30091ee add table utility classes and some docs how to use them. fix problem with control-panel basics tab shown in story river (#7039) 2022-11-20 17:48:10 +00:00
Maurycy Zarzycki
6955f14c3c add a hidden config to disable Syncer logging to the console (#7049) 2022-11-20 17:26:14 +00:00
Maurycy Zarzycki
994c5a2970 fix incorrect quote characters used in a code example (#7035) 2022-11-19 22:23:36 +00:00
Maurycy Zarzycki
ea150029f5 add a lot of small language tweaks and fixes to Polish translation (#7045) 2022-11-19 22:13:35 +00:00
Talha Mansoor
c663d2ba00 Sort completed tasks by 'modified' instead of 'created' field (#7047) 2022-11-19 22:13:02 +00:00
Talha Mansoor
39e8c8b125 Fix modified timestamp (#7046) 2022-11-19 22:11:46 +00:00
jeremy@jermolene.com
3713ee4fa9 Update release note 2022-11-16 17:27:10 +00:00
jeremy@jermolene.com
a99f934371 Fix build-site.sh hang with #6588 2022-11-16 08:26:35 +00:00
jeremy@jermolene.com
63803fd99d Merge branch 'tiddlywiki-com' 2022-11-15 19:50:44 +00:00
jeremy@jermolene.com
79ec96cb59 Remove old link 2022-11-15 17:58:50 +00:00
jeremy@jermolene.com
419b3b3534 Twitter Archivist: Update todo list 2022-11-15 17:12:54 +00:00
jeremy@jermolene.com
368963def0 Revert "Allow $:/core/ui/ControlPanel/Basics to work in the story river + some docs about utility classes (#6912)"
This reverts commit 10cb585dae.
2022-11-15 11:41:55 +00:00
jeremy@jermolene.com
830ffe64de Twitter Archivist: Add note about browser import only working on Chrome 2022-11-15 11:13:02 +00:00
jeremy@jermolene.com
1483195cd5 Merge branch 'tiddlywiki-com' 2022-11-15 10:39:05 +00:00
Mario Pietsch
9b9ff1e843 Extend pluginlibrary edition with a minimal test server (#6588)
* pluginlibrary - minimal test server

* changes suggested by Jeremy

* use tmp instead of the files directory

* new tmp-route

* rename edition to test-pluginlibrary

* fix .gitignore

* remove StoryList tiddler

* improve GettingStarted text

* rename edtion test-pluginlibrary back to pluginlibrary

* remove 2 tiddlers that shouldn't be there
2022-11-15 08:18:58 +00:00
Mario Pietsch
ea3503e30c Allow users to overwrite TOC default icons (#6913)
* Allow users to overwrite TOC default icons

* Fix docs as requested
2022-11-14 22:04:30 +00:00
Mario Pietsch
5e116d2a57 Add data-tags and data-tiddler-title attributes to preview area (#6939) 2022-11-14 17:48:00 +00:00
Mario Pietsch
aa5183a08e Add indentation to $:/TagManager (#6923) 2022-11-14 17:42:17 +00:00
Mario Pietsch
10cb585dae Allow $:/core/ui/ControlPanel/Basics to work in the story river + some docs about utility classes (#6912)
* allow $:/core/ui/ControlPanel/Basics to work in the story river + some docs about utility classes

* apply changes suggested by twMat

* fix some typos and change the base padding for tables

* fix a typo and remove whitespace

* remove TODO in base CSS
2022-11-14 17:36:01 +00:00
Mario Pietsch
029203dbc0 Move the version number to the top of the upgrader (#6881)
* Move the version number to the top of the upgrader

* change header to be clearer

* Move Upgrade Wizard to the top
2022-11-14 17:31:30 +00:00
Mario Pietsch
832868ecae Allow user defined setting for retain-story-order button in ControlPanel (#6863)
* allow user defined setting for retain-story-order button in ControlPanel

* improve hidden setting wording

* adjust all languages with new "ControlPanel DefaultTiddlers BottomHint

* fix typos and snippet filename
2022-11-14 17:30:13 +00:00
Mario Pietsch
7f48b6c6ce Make timeline macro more customisable (#5947)
* make the timeline-macro more customizable

* changed comment as requested
2022-11-14 17:11:26 +00:00
TonyM
b263ee3c80 Update SystemTag_ $__tags_Filter.tid (#7019)
said seach not search in two places description and body
2022-11-14 17:05:16 +00:00
Jeremy Ruston
b097d2ec48 Fix typo in SystemTag_ $__tags_ClassFilters_TiddlerTemplate.tid
Thanks @twMat
2022-11-14 16:58:50 +00:00
Jeremy Ruston
ef779c11e8 Fix Node.js installation instructions for Arch Linux
Fixes #7027
2022-11-14 11:52:38 +00:00
jeremy@jermolene.com
06520c8994 Wikify hashtags 2022-11-14 08:51:18 +00:00
jeremy@jermolene.com
710e51fe04 Twitter Archivist: Fix off by one error in af6c017086 2022-11-13 19:11:56 +00:00
jeremy@jermolene.com
af6c017086 Twitter Archivist: Expand t.co URLs in tweets 2022-11-13 19:05:09 +00:00
jeremy@jermolene.com
34353f4065 Twitter Archivist: Fix display of tweet author
Also:

* Cleaner user interface
* Added data model spec
* Added todo list
* Icons for archives
2022-11-13 11:18:47 +00:00
Jeremy Ruston
fedc23d73c Introduce Twitter Archivist Plugin 2022-11-12 17:09:31 +00:00
jeremy@jermolene.com
344110e289 Rearrange ordering of MP4 extension so that it defaults to video not audio
Previously using the --load command to import an MP4 file would cause it to be recognised as autio/mp4 instead of video/mp4
2022-11-09 13:56:28 +00:00
Xavier Cazin
72f06581b6 More consistency in fr-FR captions for cascade examples in ControlPanel (#7025) 2022-11-08 18:09:42 +00:00
tw-FRed
ae12e8fb69 Help Plugin: Update links to community resources (#7023)
* Promote Talk TiddlyWiki
* Change link to GG to https
2022-11-05 17:44:41 +00:00
jeremy@jermolene.com
e8148ff978 Missed off 965bd090a9
Thanks @pmario @saqimtiaz
2022-11-05 09:41:43 +00:00
jeremy@jermolene.com
965bd090a9 list-links macro: add "field" parameter
See https://talk.tiddlywiki.org/t/choosing-what-field-to-show-with-list-links/5039?u=jeremyruston
2022-11-05 09:10:31 +00:00
Cameron Fischer
3be9b13814 Fix for #4767: lazy-loading deletes tiddler bodies (#7014) 2022-11-02 17:26:08 +00:00
jeremy@jermolene.com
62f26d6630 Improve genesis widget examples 2022-11-01 10:07:54 +00:00
jeremy@jermolene.com
8fe2f6086d Update release notes credits 2022-11-01 09:48:08 +00:00
jeremy@jermolene.com
30af537b91 Update release note 2022-11-01 09:45:08 +00:00
jeremy@jermolene.com
f54ecc23f3 Fix wikification of tiddler titles in advanced search filter dropdown
Closes #7017

Thanks @ericshulman
2022-10-31 12:03:47 +00:00
jeremy@jermolene.com
67dd3f06bf Merge branch 'tiddlywiki-com' 2022-10-30 21:21:40 +00:00
btheado
6af3eb539b Adds a javascript widget tutorial to the dev tiddlywiki edition (#7016)
* Initial widget tutorials extracted from https://btheado.github.io/tw-widget-tutorial/

* Fixes for refresh behavior change
2022-10-30 16:10:12 +00:00
Saq Imtiaz
3f55f827a6 Extend page template with filter assigned classes (#6976)
* Extend page template with filter assigned classes

* feat: added dynamic class support for tiddler templates and documentation
2022-10-28 12:58:58 +01:00
jeremy@jermolene.com
b9d27e9fd5 Revert "Fix popup position if popup is triggered from within an offsetParent element (#6887)"
This reverts commit 5b85786f73.
2022-10-22 13:22:15 +01:00
FlashSystems
5b85786f73 Fix popup position if popup is triggered from within an offsetParent element (#6887)
* Fix popup location for tables

This commit introduces the `popupAbsCoords` option to the $button widget
and implements an absolut coordinate format.

Coordinates for popups are stored in the format `(x,y,w,h)`. These
coordinates are relative to the offset parent of the element that
defines the popup.

This commits adds a second format `@(x,y,w,h)`. Coordinates specified in
this format a relative to the pages root element.

The `popupAbsCoords` option of the $button widget enables the use of
this coordinates.

* Unify the declaration of the RegEx for parsing the popup-position

The regular expression was declared in three locations with the same
content. This commit supplies a new function `parseCoordinates` in
`popup.js`. This function returns the parsed coordinates and understands
the classic/absolute coordinates.

This function is used in `reveal.js` and `action-popup.js` to parse the
coordinates.

* Add documentation for coordinate systems

* Consolidate creating coordinate strings

The Popup object now contains a `buildCoordinates` method that can be
used to build coordinate strings. It takes an "enum" for the coordinate-
system to use. This makes everything easily extensible and prevents the
use of magic values.

* Add tests for `parseCoordinates` and `buildCoordinates`

* Add `tv-popup-abs-coords` to `collectDOMVariables`

This will make the absolute coordinates available for the
`DraggableWidget` and the `EventCatcherWidget`.

* Add documentation for the `tv-popup-abs-coords`

... to the `DraggableWidget` and the `EventCatcherWidget`.
2022-10-22 13:13:39 +01:00
Rob Hoelz
24dbf69180 Fix [is[variable]] operator doesn't work for "fake" variables #6303 (#6996)
* Add tests for [is[variable]] and "faked" variables

See GH #6303

* Make is[variable] and variables[] operators resilient to fake widgets

Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
2022-10-18 17:08:04 +01:00
jeremy@jermolene.com
7b408c7adf Update release note 2022-10-17 16:50:54 +01:00
jeremy@jermolene.com
c19d6d6328 Merge branch 'tiddlywiki-com' 2022-10-17 12:22:06 +01:00
jeremy@jermolene.com
941c09fae2 ScrollableWidget example shouldn't iterate through all tiddlers 2022-10-17 12:21:34 +01:00
jeremy@jermolene.com
b531984f50 Restore "Add default settings for styled inline SPANs (#6877)"
This reverts commit 6f98edd6bd.
2022-10-16 17:28:36 +01:00
jeremy@jermolene.com
8f079e2d45 Fix handling of orderedattributes when adding classes/styles
Fixes issue referred to in https://github.com/Jermolene/TiddlyWiki5/pull/6877#issuecomment-1277590200
2022-10-16 17:27:46 +01:00
Maurycy Zarzycki
cfd894e6fb allow select widget class to update if it uses a filter and is output changes (#6987)
* allow select widget class to update if it uses a filter and the filter output changes

* rewrite code to be more idiomatic + updates local property
2022-10-15 12:26:21 +01:00
Rob Hoelz
91327c1af0 Use deprecated macro for deprecated commands (#6973)
This just brings the documentation for these commands more inline with
other deprecations, plus offers a link to the recommended alternative
as well as the explanation for deprecation
2022-10-10 16:49:20 +01:00
jeremy@jermolene.com
6f98edd6bd Revert "Add default settings for styled inline SPANs (#6877)" because of failed tests
This reverts commit 23e0eeb556.
2022-10-07 18:43:09 +01:00
Mario Pietsch
23e0eeb556 Add default settings for styled inline SPANs (#6877)
* add default settings for styled inline SPANs

* change color names in palettes and vanilla-base

* change parser behaviour if custom class is used

* tc-inline-style will only be set if no other custom setting is appliead

* Add tests for inline-styles

* add one more test

* remove space after if
2022-10-07 18:05:49 +01:00
Maurycy Zarzycki
f33c7e2aef Allow global keyboard shortcuts to override all other shortcuts by providing a special field (#6735)
* allow global keyboard shortcuts to override all other shortcuts by providing a special field

* rework the global shortcuts taking priority

* replace bool option with options object in KeyboardManager's keydown handler

* update keyboard shortcut documentation to add information about the new priority setting

* add support for priority global keyboard shortcuts to code mirror

* update the feature's docs to point out it was/will be introduced in 5.2.4

* rollback unnecessary change
2022-10-07 17:31:04 +01:00
jeremy@jermolene.com
fc586481a9 Merge branch 'tiddlywiki-com' 2022-10-07 16:57:34 +01:00
jeremy@jermolene.com
09179d2f62 Deprecated macro: update text 2022-10-07 16:57:19 +01:00
jeremy@jermolene.com
d6ff38095b Docs: Fix typo 2022-10-06 10:25:14 +01:00
Maurycy Zarzycki
3bbbe77471 Update Polish translations (#6975)
* add polish translations to changes introduced in two commits:

 * ca762ab7a6
 * a453121e96

* add polish translations to changes introduced in d7b9e6fb02

* add polish translations to changes introduced in 0b1fc8e574
2022-10-05 15:40:23 +01:00
Maurycy Zarzycki
5657dfec0e Add VScode user settings directory to git ignore (#6974) 2022-10-05 14:51:11 +01:00
Bram Chen
31ab6dce77 Update chinese language files (#6972)
* Revise the footer and subtitle texts in Fields.multids
2022-10-03 09:45:30 +01:00
jeremy@jermolene.com
4007610d52 Prefer "modal" over "wizard" in the core
See https://github.com/Jermolene/TiddlyWiki5/discussions/6965#discussioncomment-3754315
2022-10-02 18:59:05 +01:00
jeremy@jermolene.com
fb34df84ed New image shortcut should not add journal tags
Fixes #6968
2022-10-02 18:55:26 +01:00
twMat
79e2e317cf Update Styles and Classes in WikiText.tid (#6969)
Add tag to include this tiddler in the list in the tiddler

https://tiddlywiki.com/prerelease/#How%20to%20apply%20custom%20styles
2022-10-02 17:37:03 +01:00
jeremy@jermolene.com
36896c3db8 Use view template body when opening tiddler in new window 2022-10-02 17:22:48 +01:00
Joe Bordes
82de7c9b1a i18n(ES) update translation with latest master (#6971) 2022-10-02 14:19:26 +01:00
jeremy@jermolene.com
1841b0fa4f Fix tests 2022-10-01 14:05:13 +01:00
jeremy@jermolene.com
47f80339b2 Update transclude widget to use error widget
Missed off #6970
2022-10-01 10:15:14 +01:00
Jeremy Ruston
db6abb9703 Improve recursion detection for transclusion and filters (#6970) 2022-10-01 10:13:40 +01:00
jeremy@jermolene.com
8d1e6b5d23 Test plugin should run tests in shadow tiddlers
Missed off #6961, preventing the tests introduced there from running
2022-10-01 10:03:50 +01:00
jeremy@jermolene.com
1df4c29d73 Relax the restriction on the let widget being unable to create variables starting with a dollar 2022-10-01 09:47:26 +01:00
jeremy@jermolene.com
81e4745c56 Update release note contributors list 2022-09-24 14:23:36 +01:00
jeremy@jermolene.com
87597ea273 Update release note 2022-09-24 14:20:30 +01:00
Jeremy Ruston
4e9267ea58 Introduce genesis widget (#6961)
* Initial Commit

* Fix version number

* Fix docs date
2022-09-24 14:07:42 +01:00
jeremy@jermolene.com
dd66fcc759 Merge branch 'tiddlywiki-com' 2022-09-24 11:06:39 +01:00
jeremy@jermolene.com
8ebb9ef442 Typo from a981f8ccfe
Fixes #6955
2022-09-24 10:55:22 +01:00
jeremy@jermolene.com
81ac987484 Optimise variable prototype chain handling
With this improvement and 53d229592d I'm measuring a 10-15% performance improvement between v5.2.3 and master using https://github.com/Jermolene/tiddlywiki-performance-test-rig
2022-09-24 08:28:16 +01:00
jeremy@jermolene.com
0a00da6db9 Optimise fake dom
Object.setPrototypeOf() appears to be significantly faster
2022-09-23 18:09:45 +01:00
jeremy@jermolene.com
53d229592d Optimise wiki.getTiddler() 2022-09-23 18:09:16 +01:00
jeremy@jermolene.com
166a156584 Fix typo: Safe mode should prevent globally disabling parser rules 2022-09-23 18:08:28 +01:00
jeremy@jermolene.com
c5d3d4c26e Disable wiki indexers in safe mode 2022-09-23 18:07:46 +01:00
Robin Munn
51bdf60ee8 Fix bug when using built-in list field as listField parameter to checkbox widget (#6897)
* Fix bug with checkbox widget and `list` field

The `list` field is stored as a list and frozen against modifications,
and getFieldList() returns it directly without creating a copy. So
before we modify it, we need to make a copy so we're not modifying a
frozen list. This bug doesn't manifest with custom fields, which are
stored as strings, only with the built-in `list` field.

* Fix checkboxes referencing non-existent tiddlers

This fixes the "tiddler is undefined" error when a checkbox's listField
property references a tiddler that doesn't (yet) exist.

* Better logic for checkbox listField handling

If the field contains an array, then it's almost certainly referenced
elsewhere and needs a defensive copy made. If it contained a string,
then it's safe to modify without making a defensive copy.
2022-09-22 18:52:55 +01:00
jeremy@jermolene.com
50f54ba6ca Merge branch 'tiddlywiki-com' 2022-09-22 10:34:41 +01:00
jeremy@jermolene.com
1a0ab68dec Complete fix for a981f8ccfe 2022-09-22 10:34:27 +01:00
jeremy@jermolene.com
bb67f96562 Merge branch 'tiddlywiki-com' 2022-09-21 09:32:33 +01:00
jeremy@jermolene.com
a981f8ccfe Partial fix for wikitext example macros
They don't work when the src text contains variable substitution syntax.
2022-09-21 09:32:18 +01:00
白宦成
859d15a446 Signing the CLA (#6951) 2022-09-17 16:52:05 +01:00
Cameron Fischer
debfd42d51 Log message not to have spaces and <empty string> (#6947) 2022-09-15 12:10:33 +01:00
twMat
fe365354d0 [doc] Update WidgetMessage: tm-new-tiddler (#6945)
...
2022-09-13 17:20:28 +01:00
jeremy@jermolene.com
d825f1c875 Use view template body cascade for the default preview 2022-09-10 11:01:29 +01:00
jeremy@jermolene.com
fe74a776e9 Docs: Add note for retrieving system tiddlers via HTTP under Node.js
See #6866
2022-09-09 10:02:26 +01:00
Roma Hicks
93e1a632b8 Updated URL to new public site. (#6496) 2022-09-05 18:04:47 +01:00
jeremy@jermolene.com
9b7edfc1a7 Revert changes to parse tree preview
This implementation requires #6666
2022-09-03 10:55:15 +01:00
jeremy@jermolene.com
3b2c64a85b Update release note 2022-09-02 21:28:32 +01:00
Jeremy Ruston
35b9faaa89 JSON Filter Operators (Revised Attempt) (#6936)
* First commit

Cherry-picked from #6666

* Adjust release version number

Just in case we decide to make a release before we merge #6666
2022-09-02 18:15:45 +01:00
tw-FRed
11b258a14b Fix tag pills style (#6934) 2022-09-01 08:38:26 +01:00
Bram Chen
7652aa5fed Update chinese translations (#6935)
* Add Hint and Caption of the delete button in the AdvancedSearch filter results
* Add confirm messages for the above deleting action
2022-09-01 08:03:37 +01:00
jeremy@jermolene.com
d62a16ee46 iPhone/iPad: Prevent long presses on tiddlylinks from triggering a preview 2022-08-31 17:44:31 +01:00
Xavier Cazin
0b1fc8e574 Make dialogs over deleting AdvancedSearch filter results translatable (#6933)
* Add fr-FR strings over deleting AvancedSearch filter results

* Add default strings over deleting AvancedSearch filter results

* Make dialogs over deleting results from AdvancedSearch filters translatable
2022-08-31 17:32:55 +01:00
jeremy@jermolene.com
127f660c91 Edit widget: remove default text "Type the text for the tiddler 'foo'"
Fixes #6152
2022-08-28 15:12:51 +01:00
Jeremy Ruston
668f443fc2 Fix prerelease version string 2022-08-19 13:14:11 +00:00
Jeremy Ruston
c8ad385947 Docs: Update code of conduct 2022-08-19 11:15:57 +00:00
Marxsal
c1f6e02d14 Fix missing links in Getting Started. (#6900)
* Fix empty links in Getting Started.

* Remove standalone TH reference and combine lines.
2022-08-19 08:14:04 +01:00
jeremy@jermolene.com
f0423c20b9 Merge branch 'tiddlywiki-com' 2022-08-17 18:11:12 +01:00
Mario Pietsch
953b89fd6b CSS: Make input and button elements consistent for all browsers (#6910) 2022-08-17 14:54:15 +01:00
Bram Chen
f87ab06414 Update chinese language files (#6895)
* Change core GettingStarted tiddler table layout
* Revise wording
2022-08-10 10:06:57 +02:00
Mario Pietsch
2ff5bd5a0f Fix removing a field with empty name (#6888)
* allow us to remove a field with empty key

* fix typo in if clause
2022-08-09 18:44:45 +02:00
Mario Pietsch
d7b9e6fb02 Getting started new table layout (#6894)
* change core GettingStarted tiddler table layout

* rename tc-table-no-grid to tc-table-no-border
2022-08-09 18:42:01 +02:00
BALLOON | FU-SEN
8420f8430f Minor adjustments to Japanese language files (#6884)
Since there was a mixture of "Desumasu-style"(ですます調) and "Dearu-style"(である調), the unification (that is unique to Japanese)
2022-08-06 11:07:47 +02:00
Mario Pietsch
a572979cc4 Add global option to show default text below the edit textarea (#6882) 2022-08-05 17:16:39 +02:00
Guang Li
90d6a0f1a6 Update readme.tid (#6883) 2022-08-05 16:59:53 +02:00
twMat
406dbd0883 Update Releases.tid (#6880) 2022-08-04 19:18:06 +01:00
jeremy@jermolene.com
3fd2cfc339 Preparing for v5.2.4
Note that we currently only plan to release v5.2.4 if there's an issue with v5.2.3, and that the next release version will be v5.3.0
2022-08-02 17:31:20 +01:00
jeremy@jermolene.com
f690458792 Version number update for 5.2.3 2022-08-02 12:32:01 +01:00
jeremy@jermolene.com
6bc18570f2 Update readmes for v5.2.3 2022-08-02 12:31:33 +01:00
jeremy@jermolene.com
1f4b12cd0e Preparing for release of v5.2.3 2022-08-02 12:27:50 +01:00
jeremy@jermolene.com
608aa3378a Merge branch 'tiddlywiki-com' 2022-08-02 12:21:14 +01:00
jeremy@jermolene.com
bff7dc88e8 Update release note 2022-08-02 10:03:28 +01:00
jeremy@jermolene.com
667da96c97 Fix crash when closing plugin library
Fixes #6855
2022-07-31 15:35:14 +01:00
jeremy@jermolene.com
fb037de091 WIP 2022-07-31 15:34:31 +01:00
jeremy@jermolene.com
75865385a6 Docs: Fix typos
Thanks @amreus

Fixes #6860

Fixes #6859
2022-07-31 15:23:58 +01:00
Xavier Cazin
091a6a9dc1 Updates to various fr-FR translation strings (#6856)
* Update to the fr-FR translation of the render command

* Add a Caption entry to the fr-FR translation of EditTemplate strings

* updates to the fr-FR translation of the default command help

* Add a Caption to the fr-FR translation of SideBar-related strings

* Update to fr-FR translation strings for Control Panel

* Update to Misc fr-FR translations strings

* Updates to the Fields-related fr-FR translation strings
2022-07-31 14:06:19 +01:00
Mario Pietsch
38f0337207 Update german translation (#6857) 2022-07-31 13:58:03 +01:00
Bram Chen
a3b294470f Update chinese language files (#6853)
* Render command help: use single quotes for safety
2022-07-30 11:45:24 +01:00
jeremy@jermolene.com
53c5cc535e Put hide-body at the start of the view template body cascade 2022-07-29 14:20:26 +01:00
jeremy@jermolene.com
9e6713d3e0 Release note: Remove duplicated line 2022-07-29 14:18:07 +01:00
jeremy@jermolene.com
1acad41574 Docs: Clarify ordering of tagged tiddlers
Fixes #6850
2022-07-29 14:16:09 +01:00
jeremy@jermolene.com
9a5f6558fe Updated release banner (GitHub URL this time) 2022-07-29 14:11:09 +01:00
jeremy@jermolene.com
5d9b71771a Updated new release banner
See https://talk.tiddlywiki.org/t/banner-competition-voting-for-v5-2-3/4009/16
2022-07-29 14:09:55 +01:00
jeremy@jermolene.com
f891eacddc Ensure code-body field can override new stylesheet view
See https://github.com/Jermolene/TiddlyWiki5/issues/6813#issuecomment-1199108091
2022-07-29 11:16:20 +01:00
jeremy@jermolene.com
178e652a5d Update release note inc. banner credits 2022-07-29 10:48:57 +01:00
jeremy@jermolene.com
daf4eec702 Final new release banner for v5.2.3
See https://talk.tiddlywiki.org/t/banner-competition-voting-for-v5-2-3/4009
2022-07-29 10:20:45 +01:00
jeremy@jermolene.com
34b1b8128f Server: correctly print URL when running on IPv6
Since https://github.com/nodejs/node/issues/40537 users are more likely to encounter IPv6 connections.

IPv6 URLs require square brackets around raw addresses.

With this change VS Code correctly hyperlinks the message `Serving on http://[::1]:8080`
2022-07-29 10:07:59 +01:00
jeremy@jermolene.com
a453121e96 Render command help: use single quotes for safety
See https://github.com/Jermolene/TiddlyWiki5/issues/6827#issuecomment-1198540330
2022-07-29 09:48:49 +01:00
Bram Chen
e849aaab4d Update chinese language files (#6846)
* Additional example of render command
2022-07-29 08:53:35 +01:00
Saq Imtiaz
453d91caeb Fix invalid file path in tiddlywiki-com branch (#6844)
* Delete editions/tw5.com/tiddlers/$:/editions/tw5.com directory

* Create systemtag-template.tid
2022-07-28 21:31:14 +01:00
Mario Pietsch
0ad0001e29 Fix #6840 tab macro stat handling (#6841) 2022-07-28 21:26:09 +01:00
Mario Pietsch
2441819c70 Remove hardcoded spaces and replace with SPAN and proper class (#6825) 2022-07-28 17:02:14 +01:00
jeremy@jermolene.com
ca762ab7a6 Additional example of render command
Fixes #6827
2022-07-28 16:33:57 +01:00
jeremy@jermolene.com
28070f847c Ensure dirty indicator has higher CSS specificity than menu bar
Fixes #6832
2022-07-28 16:20:47 +01:00
jeremy@jermolene.com
8f85fbca33 Added some background on different types of brackets 2022-07-28 16:05:10 +01:00
Nathaniel Knight
655cf4729a Add tiddly-wiki-server to TiddlyWeb implementors (#6794) 2022-07-27 19:22:49 +01:00
Nathaniel Knight
55f3ee5eab Add Nathaniel Knight's signature to the CLA (#6830) 2022-07-27 19:21:42 +01:00
Robin Munn
63bba13758 Fix copy-and-paste mistake in insertafter docs (#6824) 2022-07-25 08:41:06 +01:00
BALLOON | FU-SEN
c22d52c046 Japanese translation: Fixed Title/Relink/Prompt (#6814) 2022-07-24 20:42:50 +01:00
BALLOON | FU-SEN
8c57cfdf26 Spell correction (#6815) 2022-07-24 20:42:27 +01:00
btheado
4f38903c7b Add description and examples comparing :map vs. :map:flat (#6821)
* Added description and examples comparing :map vs. :map:flat

* Make it clear :flat is just a suffix on the :map filter run

* Reword the description comparing :map and :map:flat

* Swap the :map and :map:flat columns in the examples table

* Removed mention of how to express ':map' in terms of ':map:flat'
2022-07-24 19:12:33 +01:00
Saq Imtiaz
ab1e85e01e Fixes invalid path in new docus view template (#6820)
* Delete editions/tw5.com/tiddlers/$:/editions/tw5.com directory

Delete invalid file path directory

* Create systemtag-template.tid

Restore deleted file
2022-07-23 13:53:39 +01:00
jeremy@jermolene.com
065911259b Add modified date to front page release note listing 2022-07-22 16:45:05 +01:00
jeremy@jermolene.com
6497633859 Update release note 2022-07-22 16:20:00 +01:00
jeremy@jermolene.com
9cc4c3ead7 Add first pass at Code of Conduct 2022-07-21 21:22:52 +01:00
Saq Imtiaz
613b3df367 Image lazy loading (#6809)
* Extend image widget with lazy loading support

* docs: added from-version to docs update
2022-07-21 15:30:56 +01:00
jeremy@jermolene.com
39996c7a2f Merge branch 'tiddlywiki-com' 2022-07-21 10:11:14 +01:00
Saq Imtiaz
0237d9ed94 feat(filters): extend :map filter run prefix to accept a suffix to enable mapflat (#6806) 2022-07-21 09:23:01 +01:00
jeremy@jermolene.com
7e9c2a1a10 Fix crash when viewing $:/core/ui/ViewTemplate/body/rendered-plain-text
Fixes #6805
2022-07-21 09:05:20 +01:00
Robin Munn
d4fc8f585e Small grammar fix in release notes (#6800) 2022-07-20 09:56:41 +01:00
Robin Munn
caa6b888e9 Make insertafter docs more similar to insertbefore (#6801)
Now both the insertafter and insertbefore filter operators have similar
wording in their documentation tiddlers, making it more clear that the
"start" and "end" suffixes are only available in the two-parameter form.
2022-07-20 09:56:06 +01:00
twMat
a1b240de2f [doc] Update TagMacro.tid (#6797) 2022-07-19 19:10:39 +01:00
twMat
7a98ab1677 [doc] SystemTag template (#6798) 2022-07-19 19:10:07 +01:00
twMat
c49d5a3b08 [tw.com] Improve the saver cards (#6799)
* [tw.com] Improve the saver cards

* [tw.com] Improve the saver cards _ take 2

* Update tw5.com-styles.tid
2022-07-19 19:05:23 +01:00
jeremy@jermolene.com
93717560dc Docs: Update advice about using counter attribute of list widget 2022-07-18 12:03:42 +01:00
BALLOON | FU-SEN
abc3af16c3 Significant improvement in Japanese (#6795)
- Add translations for untranslated items
- Unification of terms (translations differed by multiple translators)
- Add signature of `author` (Includes translation assistance for dajya-ranger. I also added his signature)

It's a lot of updates, but I've tested it on my TiddlyWiki.
Help etc. are still lacking.
2022-07-18 09:29:58 +01:00
Saq Imtiaz
97eaec88d1 Update Release 5.2.3.tid (#6790) 2022-07-15 18:45:27 +01:00
Mohammad Rahmani
2275255c2b Improve formatting of Contributors Section in Release Tiddler (#6788)
* improve contributors section in release tiddler

* comments implemented

Jeremy comments were implemented
2022-07-15 18:20:40 +01:00
Saq Imtiaz
fe1147c6fd Fix: restore drag and drop on mobile chrome (#6789) 2022-07-15 18:19:44 +01:00
jeremy@jermolene.com
eceacc23c8 Update release note 2022-07-15 17:43:19 +01:00
Jeremy Ruston
1ca6305acb Split the tiddler subtitle into individual segments tagged $:/tags/ViewTemplate/Subtitle (#6779) 2022-07-15 17:37:25 +01:00
Saq Imtiaz
19331cc6f9 Fix: brittle selector implementation for draggable widget (#6786)
* Fix: fixes #6595, brittle selector implementation for draggable widget

* Docs: updated for fix to selector implementation for draggable widget
2022-07-15 15:38:09 +01:00
Saq Imtiaz
f6e021d70f Feat: dynamically refresh class for draggable widget DOM node instead of re-rendering the widget (#6787) 2022-07-15 15:37:27 +01:00
jeremy@jermolene.com
2da117484c Docs: Update release note contributors to new format 2022-07-14 13:50:30 +01:00
jeremy@jermolene.com
1c1dd2a4cf Merge branch 'tiddlywiki-com' 2022-07-14 13:50:08 +01:00
jeremy@jermolene.com
f957874d18 Docs: Improve styling of GitHub contributors listing 2022-07-14 13:49:23 +01:00
jeremy@jermolene.com
aa4a284b88 Update release note 2022-07-14 09:03:04 +01:00
Jeremy Ruston
338dc11436 Show stylesheets as rendered plain text with highlighting (#6778)
* First commit

* Enable syntax highlighting when highlight plugin is installed

* Use highlighting for the control panel stylesheet listings
2022-07-14 09:00:56 +01:00
Mario Pietsch
22d8fdd259 Adjust position of server page control dropdown (#6767) 2022-07-13 17:28:32 +01:00
twMat
c270e3cd6b Update TiddlyWiki in the Sky for TiddlyWeb.tid (#6769)
For e.g the listing in 
https://tiddlywiki.com/prerelease/#Deprecated%20-%20What%20does%20it%20mean
2022-07-13 17:27:45 +01:00
Robin Munn
18d8173dcc New insertafter filter operator (#6771)
* Implement insertafter operator (like insertbefore)

Currently, the behavior of insertafter if the target is not found is to
append the inserted tiddler to the end of the list, like insertbefore
does. In the next commit, we'll add a suffix to customize what both
insertafter and insertbefore do when the target is not found.

* Add failing tests for insertafter suffixes

Also includes tests for insertbefore suffixes (start/end), since we'll
be implementing both of those at the same time.

* Add start/end suffixes for insertafter/before

The tests that exercise the start/end suffixes now pass.
2022-07-13 17:08:17 +01:00
Mohammad Rahmani
4cd3c065e7 Add emptyMessage to list-links-draggable and correct docs (#6776) 2022-07-13 15:58:27 +01:00
jeremy@jermolene.com
45895bd560 Update release note 2022-07-13 09:32:31 +01:00
jeremy@jermolene.com
af86080943 Docs for $:/info/browser/is/mobile 2022-07-13 09:32:22 +01:00
jeremy@jermolene.com
94b02ba3a0 Docs missed off #6675 2022-07-12 16:51:38 +01:00
lin onetwo
bbae2ab6da Feat: update katex to 0.16 stable (#6768) 2022-07-12 11:18:15 +01:00
jeremy@jermolene.com
3b778c156b Merge branch 'tiddlywiki-com' 2022-07-11 17:22:50 +01:00
lin onetwo
2f817e4293 Update katex to latest 0.15.3 (#6671)
* feat: update snippet fields

https://github.com/Jermolene/TiddlyWiki5/discussions/6670

* chore: upgrade files

* docs: update readme

* fix: usage of mhchem

* fix: add back katex.without-font-face.min.css

https://github.com/Jermolene/TiddlyWiki5/pull/6671#issuecomment-1116287404

* style: format json with 4 space

* style: format json with 1 space

* style: restore old format

* feat: update css by using new one and delete font face

* update developer info

* move implementation notes to plugin

* update TW style tiddler

* update katexdemo edition

* chore: delete unused files

* Update developer.tid

* Update developer.tid

Co-authored-by: pmario <pmariojo@gmail.com>
2022-07-09 08:37:47 +01:00
Mario Pietsch
0112d04033 Fix 6731 tag and field name trim (#6740)
* this commit should fix #6731. It trims field and tag whitespace

* this commit increases tag space visibility as mentioned in 002d47b4d9

* fix a missing HTML end tag

* fix $:/Manager select element max width
2022-07-09 08:35:38 +01:00
BALLOON | FU-SEN
56d8f47710 Japanese translation: Month correction (#6760)
The month notation is strange in the date in the default Japanese display.
2022-07-07 09:06:23 +01:00
BALLOON | FU-SEN
f818fd96cd Set the date and time in Japanese format (#6761)
The date and time format is incorrect in the current Japanese display of TiddleWiki. I fixed it.
2022-07-07 09:05:45 +01:00
BALLOON | FU-SEN
c5821326d0 Add signature (#6762)
https://github.com/Jermolene/TiddlyWiki5/pull/6761
2022-07-07 09:05:12 +01:00
Maurycy Zarzycki
add14ef65a add polish translation to a new string added in 92c4c820 (#6763)
Co-authored-by: Maurycy Zarzycki <maurycy@evidentlycube.com>
2022-07-07 08:59:31 +01:00
jeremy@jermolene.com
f93fe50044 Fix anchor links do not work with addressbar=permalink and animationduration=0
Fixes #6757
2022-07-05 18:39:14 +01:00
jeremy@jermolene.com
ceec7b5737 Style tweaks for #6755 2022-07-05 17:47:57 +01:00
Mario Pietsch
76bc2f7524 Fix svg foreignObject that contains DIVs (#6755)
* xmlns attribute defined in element takes precedence

* use predefined tagNamespaces variable as default value

* change code as suggested by Jeremy
2022-07-05 17:46:31 +01:00
jeremy@jermolene.com
a59ec3ebf7 Merge branch 'tiddlywiki-com' 2022-07-04 21:15:23 +01:00
jeremy@jermolene.com
20df381cf3 Docs: Improve deprecation documentation 2022-07-04 17:42:58 +01:00
jeremy@jermolene.com
4185d9a26c Docs: Make .from-version macro be a link to the release note
Fixes #6750
2022-07-04 17:35:03 +01:00
Bram Chen
bf6d5fa767 Update chinese language files (#6752)
* Add `Caption` to EditTemplate.multids
2022-07-04 15:19:03 +01:00
Nolan Darilek
92c4c82005 Add ARIA region for editor. (#6749) 2022-07-01 15:39:52 +01:00
Maurycy Zarzycki
1110fd50cf add Polish translation for the newly introduced English i18n string (#6747)
Co-authored-by: Maurycy Zarzycki <maurycy@evidentlycube.com>
2022-06-29 14:03:16 +01:00
FSpark
2c607ee8e6 Add storyTiddler to render command (#6746) 2022-06-29 08:58:40 +01:00
Bram Chen
dfebd69d8f Update chinese language files (#6745)
* Add `Caption/Sidebar` in SideBar.multids
* Update Help/default.tid
2022-06-29 08:20:29 +01:00
Mario Pietsch
926b7808b3 Fix a typo in the Plugin Ordering tiddler (#6744) 2022-06-28 17:59:33 +01:00
Nolan Darilek
7ac7d26f86 Add alert role to notifications so they're automatically spoken by screen readers. (#6743) 2022-06-28 17:48:03 +01:00
Nolan Darilek
f02bd2392f Various accessibility improvements (#6742)
* Add `main` and `article` roles to stories and story.

* Support `role` and \aria-checked` in buttons, and integrate with sidebar tabs.

* Add `region` role to sidebar, and set caption as `aria-label`.

* Add accessibility roles and labels to static templates.

* Update test fixtures with new ARIA tab attributes.
2022-06-28 14:05:52 +01:00
Nolan Darilek
2b45bbc4c4 Sign the CLA. (#6741) 2022-06-27 20:48:54 +01:00
Rizwan
bce3ec6e6f Update Installing TiddlyWiki on Node.js.tid (#6734) 2022-06-23 08:48:15 +01:00
jeremy@jermolene.com
5e35c8dda6 Revert "Allow global keyboard shortcuts to work in framed editor (#6705)"
This reverts commit 8e64e21039.

See https://github.com/Jermolene/TiddlyWiki5/pull/6705#issuecomment-1162738927
2022-06-22 08:18:13 +01:00
Mario Pietsch
8af7054efa Doc restructuring Plugin Install using core Libraries and with Node.js (#6722)
* Doc restructuring Plugin Install using core Libraries and with Node.js

* fixing typos and concerns raised by Jeremy
2022-06-20 13:55:12 +01:00
Mario Pietsch
10bc84ba6c Add Note formatting to an important paragraph in ScrollableWidget (#6729) 2022-06-20 13:51:44 +01:00
jeremy@jermolene.com
0391e1855c Fix new selection tracker to return relative coordinates 2022-06-17 16:40:29 +01:00
jeremy@jermolene.com
a29889a741 Fix layout bug introduced in d5030eb87b
Thanks @pmario
2022-06-17 14:03:36 +01:00
Marxsal
27609d2619 Add new instructions for saving with Koofr (#6726) 2022-06-17 08:01:11 +01:00
jeremy@jermolene.com
d5030eb87b Prevent Chrome from offering password autocomplete for search boxes
Fixes #6723
2022-06-14 09:45:49 +01:00
jeremy@jermolene.com
35b0833e0c Fix handling of {!!title} in a filter with no currentTiddler
Fixes #6721
2022-06-14 08:33:47 +01:00
Maurycy Zarzycki
45f5ba7d38 update Keyboard Shortcut documentation with information on how it interacts with navigate actions (#6703) 2022-06-11 09:53:06 +01:00
Maurycy Zarzycki
8e64e21039 Allow global keyboard shortcuts to work in framed editor (#6705)
Co-authored-by: Maurycy Zarzycki <maurycy@evidentlycube.com>
2022-06-11 08:57:08 +01:00
jeremy@jermolene.com
bb47cc97f5 Fix code_body typo 2022-05-29 10:51:49 +01:00
jeremy@jermolene.com
7e4722f07a Fix crash with missing palette tiddler 2022-05-25 18:08:08 +01:00
jeremy@jermolene.com
df7416d16b Dynannotate: Improve selection tracker
These improvements rely on the new JSON operators to be useful. Those improvements were originally in #6522 but now there's an updated version in #6666. Managing things is simpler if I merge these changes now
2022-05-25 15:23:11 +01:00
Robin Munn
a226975b3e Fix UTC format date string test properly this time (#6709)
Hours could also end up as a single-digit number, just like date, if
timezone offset is low enough that it wraps around midnight.
2022-05-24 10:02:45 +01:00
Robin Munn
2a62da1498 Fix unit test for formatDateString UTC format (#6708)
Now the test should run correctly in any timezone
2022-05-24 09:47:02 +01:00
Cameron Fischer
696c5c9c7a Compiled filters are cached (#6402)
* Compiled filters are cached

* Adjusting comments, and filtercache cap
2022-05-23 11:26:56 +01:00
jeremy@jermolene.com
c808764254 Merge branch 'tiddlywiki-com' 2022-05-23 09:14:54 +01:00
jeremy@jermolene.com
a9b0c5d7ff Cherry-pick JSON docs improvements from #6522 2022-05-23 09:14:02 +01:00
jeremy@jermolene.com
9e3c233686 Add some warnings about the dangers of title lists 2022-05-23 08:56:10 +01:00
jeremy@jermolene.com
8fabcabebb Browserstorage plugin: don't crash if local storage not available
Fix #6701
2022-05-21 15:36:23 +01:00
jeremy@jermolene.com
96cb66a27e New example for tm-new-tiddler
Fixes #6690
2022-05-21 14:38:05 +01:00
jeremy@jermolene.com
6eb4fbeead Fix double palette entries
Fixes #6700

Thanks to Eric Shulman
2022-05-20 17:13:12 +01:00
Max Schillinger
7cbe1e1d83 Fix toggling of the numbered list prefix in Markdown tiddlers (#6697)
* Fix toggling of the numbered list prefix in Markdown tiddlers

* Define startsWith in utils.js because it's not available in ECMAScript5.1
2022-05-17 22:31:50 +02:00
Max Schillinger
5ea315fb98 Allow toggling wrap-lines text operations (like mono block) (#6698) 2022-05-17 22:16:54 +02:00
Max Schillinger
855b6719d6 Markdown: Add separate link and linkify buttons (#6693)
* Markdown: Add separate link and linkify buttons

* Add Markdown linkify icon (created by Jeremy); cleanup
2022-05-15 18:47:21 +02:00
Max Schillinger
91cfb217d8 Markdown: Add shortcut for new Markdown tiddler (#6696)
ctrl-M on mac, alt-M on other platforms
2022-05-15 18:46:32 +02:00
jeremy@jermolene.com
1a377a485b Merge branch 'tiddlywiki-com' 2022-05-14 15:55:42 +01:00
lin onetwo
71ee271eac docs: mark out-of-box standalone apps (#6677)
docs: delete tiddlyie and ie tiddler

docs: delete  [[Internet Explorer]] tag

Revert "docs: delete  [[Internet Explorer]] tag"

This reverts commit a796fc1fff3748f73a1919c5f2fff6d50990ae38.

Revert "docs: delete tiddlyie and ie tiddler"

This reverts commit 38067c7369c92f1b22ffd98090bdabdd96fa1fb3.
2022-05-14 14:04:36 +01:00
lin onetwo
95e0fac655 Expose isMobile to browser info (#6675)
* feat: expose isMobile to info

* feat: allow access browser info from $tw.browser

* fix: adapt typo

* refactor: only export selected properties

 Jermolene 5 hours ago

The trouble is that the properties of bowser.browser are not under our direct control, and so subsequent updates to Bowser might overwrite important properties of our own. I'd rather explicitly import the properties that we choose to support.

* refactor: put things into `is`
2022-05-14 14:02:52 +01:00
Mario Pietsch
084a5cb0f0 Fix headings in wikitext example code (#6692) 2022-05-14 13:31:36 +01:00
FlashSystems
e9405ac810 Fix for Bug #6618 (#6628)
* Fix for Bug #6618

This Commit fixes Bug #6618. It is a little bit more complicated than
using one tiddler to store the new value for a field. Because the
following can happen:

* The user types "not-a-date" into the field value of a simple text field.
* The user now selects a field name that uses a HTML5 date editor. The
  Editor will show no date because the value cannot be parsed.
* The user saves the tiddler by clicking the checkmark.

Now the date-field contains the value "not-a-date" but the user was not
aware that this will be added. The edit control showed no date (because
the value was invalid) and the user assumed the field was empty and
won't be added to the tiddler.

To prevent this, every kind of field editor gets its own storage tiddler.
Its name is derived from the SHA256-hash of the name of the tiddler that
is returned by the Field Editor Cascade. That way every editor in the
cascade is only seeing its input. As long as the default setup (with one
default editor) is used, everything works like in 5.2.1.

This commit also fixes the bug that the after adding a field the
field-type input box was not focused again.

* Update Documentation for Field Editor Cascade

The fix for bug #6618 makes the handling of the tiddler backing the edit
operation much more complicated. See previous commit "Fix for Bug #6618"
for more details.
2022-05-14 13:30:04 +01:00
Max Schillinger
775c7f0074 Markdown: Add link(ify) button and enable shortcut (ctrl-L) (#6691) 2022-05-12 22:19:26 +01:00
Max Schillinger
34f9cd952c Markdown: Add code block button + enable shortcut (#6689)
* Markdown: Add code block button and enable shortcut (ctrl-shift-M)

* Support alternative type "text/markdown"
2022-05-12 09:44:02 +01:00
Max Schillinger
e37f36f387 Signing the CLA (#6688) 2022-05-12 09:42:38 +01:00
lin onetwo
7a7d3571cc Create issue template config.yml (#6685)
* Create config.yml

* chore: make bug report form

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml
2022-05-10 08:09:38 +01:00
Mario Pietsch
bc8c011eb3 Fix title indentation problem (#6679)
* fix-6678-title-indent

* optimize code as suggested by Saq
2022-05-09 15:49:42 +01:00
Simon Huber
b4deb7cc45 Add tv-widgetnode-width and tv-widgetnode-height (#6681)
* Add tv-widgetnode-width and tv-widgetnode-height to collectDOMVariables

* Add docs

* update docs

* Update modified field
2022-05-09 10:42:23 +01:00
Simon Huber
4b8594c4a8 Fix: eventcatcher widget - variables can be undefined (#6668)
* Fix: eventcatcher widget - variables can be undefined

* Fix: selectedNode can be an svg where offsetLeft ... are undefined

* Make check for offsetLeft short

* remove second collectDOMNodeVariables
2022-05-06 17:11:13 +01:00
lin onetwo
9b9e443c73 Fix lazy all template with user defined macro cause error (#6644)
* Fix lazy all template with user defined macro cause error

Fixes https://github.com/Jermolene/TiddlyWiki5/issues/6637

* fix: exclude the SJCL library when saving

@Jermolene said:

The construction -[type[application/javascript]library[yes]] is used in the core as a rather clumsy way to exclude the SJCL library when saving. The same construction is in the usual $:/core/save/all filter too.

It's possible that we should review unintended side effects of that behaviour, but here we should leave it alone.
2022-05-06 17:09:33 +01:00
jeremy@jermolene.com
f3bf5b6e85 Add support for $:/tags/Macro/View/Body macros 2022-05-05 08:30:05 +01:00
Simon Huber
5d55850c73 Update some palettes in the light of colorscheme: dark (#6661)
* Update CupertinoDark.tid

* Update GruvBoxDark.tid

* Update Nord.tid
2022-04-27 22:22:54 +01:00
Télumire
873ce4823f Added a reference to encrypted wiki in "Creating a splash screen" (#6664)
A user was wondering how to add a background image to the password screen of an encrypted wiki (https://talk.tiddlywiki.org/t/background-image-on-login-page/3145). It was not obvious that an encrypted wiki is considered as "loading", so I updated this tiddler to hint at this. 

I also added a hint to the other system tags $:/tags/RawMarkup.. since they can also be used for the same purpose.
2022-04-27 22:21:59 +01:00
Marxsal
03910fce66 Add tiddler 'How to update ...' (#6667)
Adding tiddler 'How to update TiddlyWiki to the latest version' which transcludes the existing tiddler 'Upgrading'. 
Some people search for term 'update' instead of 'upgrade' .
2022-04-27 17:24:06 +01:00
jeremy@jermolene.com
0bffae2108 Add utility method for getting ordered attributes 2022-04-26 14:02:31 +01:00
jeremy@jermolene.com
bdd99edfe8 Tests: Improve transclusion recursion test
Previously we were testing a tiddler transcluding itself, but it's clearer to make it an indirect recursion
2022-04-26 14:02:08 +01:00
Simon Huber
9bcbb9131e Add :root { color-sheme: ...; } to vanilla base (#6659) 2022-04-25 09:56:34 +01:00
Simon Huber
1410488a23 Fix my error in framed.js (#6658)
* Fix my error in framed.js

* ouch
2022-04-25 08:45:42 +01:00
Simon Huber
e2ef5c933b Update CupertinoDark.tid (#6655) 2022-04-24 21:46:33 +01:00
Simon Huber
3cf078faeb Write the right "color-scheme" meta tag to the iframe of the framed text-editor (#6656)
* Write the right "color-scheme" meta tag to the iframe of the framed text-editor

* Update framed.js
2022-04-24 21:45:56 +01:00
tw-FRed
9bad66f02e [fr-FR] New batch of Documentation translations (#6657)
This batch includes:
- Minor corrections of metadata from my previous translations
- Translation updates for tiddlers tagged WikiText
- New translations for Parser Modes documentation
- Update of outdated core tiddlers translations (ie Open sidebar tab)
2022-04-24 21:45:06 +01:00
jeremy@jermolene.com
ed4ccc4290 Sites menu: remove link underlining 2022-04-20 09:43:03 +01:00
jeremy@jermolene.com
6e3f4c8772 Sites menu: Fix standalone styling 2022-04-19 20:01:56 +01:00
jeremy@jermolene.com
400936920a Merge branch 'tiddlywiki-com' 2022-04-19 16:37:51 +01:00
jeremy@jermolene.com
c78bff5bb2 Fix sites menu 2022-04-19 16:24:48 +01:00
jeremy@jermolene.com
8b309ecb42 Make the sites menu exportable by dragging the TiddlyWikiSitesMenu tag pill 2022-04-19 16:08:11 +01:00
jeremy@jermolene.com
e2869e6ede tiddlywiki.org: Update fundraising 2022-04-19 11:17:34 +01:00
jeremy@jermolene.com
8e25f693c6 tiddlywiki.org: Add fundraising information 2022-04-19 10:57:28 +01:00
Joshua Fontany
42bf203758 Fix 6649 (#6650)
* use filesystem utils

* use filesystem utils

* don't touch syncer

* fix messaging
2022-04-19 08:18:44 +01:00
Guang Li
f0416964fa Add TiddlyMemo edition (#6647)
TiddlyMemo focuses on learning and memorization
2022-04-18 20:50:28 +01:00
Robin Munn
8dec674121 Allow checkboxes to be indeterminate (#6593)
* Documentation for indeterminate checkboxes

* Unit tests for indeterminate checkboxes

* Implement indeterminate checkboxes

* Simplify indeterminate checkbox example

* Slightly simplify refresh logic for indeterminate

That five-line if statement can be turned into a simple assignment.

* Use "yes" and "no" for checkbox indeterminate attr

This makes the "indeterminate" attribute of the checkbox widget work the
same way as other boolean attributes of other widgets.

* Fix bug with invertTag attribute

One place in the checkbox widget code was checking invertTag for
Javascript truthiness rather than the value "yes", which could have
produced incorrect results if anyone wrote invertTag="no". Fixed.
2022-04-18 20:50:03 +01:00
jeremy@jermolene.com
16f56af873 Sites menu: fix mobile view
See https://talk.tiddlywiki.org/t/new-sites-menu-for-tiddlywiki-com/3093/6
2022-04-18 19:16:20 +01:00
jeremy@jermolene.com
e9fa861418 Merge branch 'tiddlywiki-com' 2022-04-18 17:42:20 +01:00
jeremy@jermolene.com
5ab2148807 Sites menu: Add upgrader 2022-04-18 17:37:06 +01:00
jeremy@jermolene.com
396e7e6921 Fix github ribbon in /dev 2022-04-18 15:00:05 +01:00
jeremy@jermolene.com
3d2663c900 Restore github-fork-ribbon to /dev 2022-04-18 13:36:11 +01:00
jeremy@jermolene.com
d31839d1e8 Merge branch 'tiddlywiki-com' 2022-04-18 13:26:29 +01:00
jeremy@jermolene.com
7d404e4ec5 Sites menu: fix URLs 2022-04-18 13:26:09 +01:00
jeremy@jermolene.com
5356345f19 Sites menu: fix matching of current site 2022-04-18 11:37:17 +01:00
jeremy@jermolene.com
f3ee7f429c Site menu: Adjust spacing of current site 2022-04-18 11:28:22 +01:00
jeremy@jermolene.com
59417f0896 Merge branch 'tiddlywiki-com' 2022-04-18 11:23:29 +01:00
jeremy@jermolene.com
2ab0f762e0 Add shared "sites" menu to tiddlywiki.com, dev, org 2022-04-18 11:22:06 +01:00
jeremy@jermolene.com
deeef27cff Remove unneeded plugins from prerelease 2022-04-18 09:33:00 +01:00
jeremyredhead
7459ccfed5 Add static fallback content/links for tw.org (#6597)
Modified from the static.content template used in the tw5.com branch
2022-04-17 21:10:53 +01:00
es-kha
8d5c94e028 Update Mathematics Operators documentation (#6598) 2022-04-17 21:09:20 +01:00
jeremy@jermolene.com
6d2d3396ac Update release note 2022-04-17 19:47:12 +01:00
jeremy@jermolene.com
dc2c4635c1 Merge branch 'tiddlywiki-com' 2022-04-17 19:42:18 +01:00
Jeremy Ruston
fd0b985ac5 action-setfield shouldn't write to the current tiddler if the $tiddler attribute is present but has evaluated to a missing attribute
Fixes #5916
2022-04-16 18:02:27 +01:00
Cameron Fischer
eb0b2a8d8e Trim Saga: Advanced Search and actions (#6604)
* Trim Saga: Advanced Search and actions

* Split up AdvancedSearch macros to be readable
2022-04-16 17:40:27 +01:00
jeremy@jermolene.com
7d6923f3d6 Revert "Give plugin authors the chance to extend a palette (#6624)"
This reverts commit b3b3020d99.
2022-04-16 17:37:08 +01:00
Cameron Fischer
05375e093c Trim Saga: I think this is the last batch (#6611) 2022-04-16 17:19:05 +01:00
lin onetwo
cc25e1f5b4 fix: formatDateString with [UTC]xxx didn't use passed date (#6615)
* fix: formatDateString with [UTC]xxx didn't use passed date

* test: for formatDateString UTC

* fix: not possible to test internal date without hijack

Expected '20220410073037515' to be '20220410073037516'.

* fix: hour
2022-04-16 17:10:57 +01:00
Simon Huber
b3b3020d99 Give plugin authors the chance to extend a palette (#6624)
* Give plugin authors the chance to extend a palette

* Update CSS.tid

* Update ColourMacro.tid

* Update CSS.tid

* Update ColourMacro.tid

* Add whitespace trim to colour macro
2022-04-16 16:50:21 +01:00
Simon Huber
383c8b5e49 Add docs for "enable" attribute of draggable widget (#6634) 2022-04-16 16:30:50 +01:00
Simon Huber
2fd17e864c Fix: dragndrop missing variables (#6632) 2022-04-15 17:05:27 +01:00
Simon Huber
030155ec27 Add "enabled" attribute to draggable widget (#6581)
* Add "enabled" attribute to draggable widget

* Update draggable.js

* Update draggable.js

* Update draggable.js
2022-04-15 14:17:06 +01:00
Simon Huber
58dd47d128 Add "tv-selectednode-width" and "tv-selectednode-height" ... (#6582)
* Add "tv-selectednode-width" and "tv-selectednode-height" ...

... variables to dragstartactions

* Update dragndrop.js

* Update dragndrop.js

* Add docs

* Update dragndrop.js

* Update dragndrop.js

* Update DraggableWidget.tid

* Update modifier Variable.tid

* Update modifier Variable.tid

* Update eventcatcher.js

* Update dom.js

* Update dragndrop.js

* Update dragndrop.js

* Update DraggableWidget.tid

* add a space after //

* Update modifier Variable.tid
2022-04-15 13:46:09 +01:00
btheado
8a9d48e055 Allow browser storage plugin to delete existing tiddlers (#6625)
* Do not remove localstorage items while looping

While looping over all the browser storage items by index, the items
should not be removed because removing alters the index positions. The
item following the removed one will be skipped by the loop.

Instead, accumulate a list of keys to remove and remove them after the
loop.

* Implement full delete support for browser storage plugin

Before, deletes only worked for tiddlers which are only present in the
localstorage. Now deleted tiddlers are marked in localstorage using an
empty string value.

At startup, the localstorage tiddlers with empty strings will be deleted
from the wiki if they are still present. If they are already gone from
the wiki, then the blank localstorage entry will be deleted.

* Document drawbacks to using '[all[]]' and provide an alternative
2022-04-12 22:11:37 +01:00
Marxsal
6c505ebc49 Fix url (#6609) 2022-04-12 12:08:16 +01:00
Saq Imtiaz
ae9a183a53 Extend documentation for tm-close-window (#6613) 2022-04-12 12:08:02 +01:00
tw-FRed
b9fec0c669 [fr-FR] Translation of Saving and all saving methods (#6623)
* Remove old tiddlers already deleted from EN edition
* Start using EN edition paths for updated/new translations
2022-04-11 18:12:49 +01:00
jeremy@jermolene.com
73138b79aa Save command exit with error when encountering missing tiddlers
Fixes #6603
2022-04-06 17:18:13 +01:00
Cameron Fischer
6624ce3716 Fix for broken style block wikitext (#6599)
* Fix for broken style block wikitext

* Fixed it so styles are correct too
2022-04-06 08:33:38 +01:00
Cameron Fischer
c5ea6628f5 Trim Saga: Control panel and Editor Toolbar (#6600)
Shout out to the TiddlySpot tiddler macro for being completely broken, but also being completely unused, so no one noticed.
2022-04-06 08:27:05 +01:00
jeremy@jermolene.com
ad512be04e Don't code body for system tiddlers containing images
Fixes #6594
2022-04-05 17:29:47 +01:00
Simon Baird
39e4e69ae7 Show server response as error message in put saver (#6589)
* Show server response as error message in put saver

I'd like to use this on Tiddlyhost so users can get more informative
error messages if the put save fails for whatever reason.

This would make the put saver a viable replacement for the legacy
upload saver, which is what Tiddlyhost uses currently.

I'm not sure what standard WebDAV servers do, but I would guess they
don't provide any response body for put requests, and hence this
patch would have no impact for a standard WebDAV server. (That said,
it would be a good idea to test it to make sure there aren't any
unexpected regressions for WebDAV or other put saver compatible
services.)

* Access http response status directly in put saver

There's no need to extract it from the error string created inside
tw.utils.httpRequest if we can get it directly from the xhr object.

* Add 'Save starting' notification for put saver

There are two related changes here:

1. Add a 'Save starting' notification for the put saver, similar to
   the upload saver. Not sure if it was intentionally omitted for
   the put saver, but it seems reasonable to have the two be
   consistent.

2. Send the 'Save starting' notifications in both upload and put
   save right before the actual request is sent. While testing I
   noticed that the save might have failed before the "Save
   starting" notification appeared which doesn't seem useful.
2022-04-05 17:06:56 +01:00
Cameron Fischer
8990423374 Another batch of whitespace trims (#6587) 2022-04-05 16:48:07 +01:00
Robin Munn
e28af8d594 Checkbox widget: list and filter modes (#6561)
* Docs for CheckboxWidget list and filter modes

This documents the `listField` and `filter` attributes.

* Tests for checkbox widget list mode

* Implement checkbox list mode

* WIP on implementing filter attr for checkboxes

* Improve CheckboxWidget documentation

* Refactor checkbox tests: move function to top

The big findNodeOfType function belongs at the top of the describe
block, so that the checkbox tests are more compact and easy to read.

* Move checkbox widget tests to end of file

The checkbox widget tests are long and involved, so we'll move them to
the end of the file so they aren't a huge block of code you need to read
past to find the next test.

* Improve formatting of CheckboxWidget docs

The \define() calls that are short enough to fit on one line should be
put on one line, for readability. The ones that are quite long have been
kept on multiple lines, for readability.

* Added more passing tests for checkbox widget

* Add some failing tests for checkbox widget

The filter mode where neither checked nor unchecked is specified (in
which case an empty filter result means false and a non-empty result
means true) is not working yet.

* Make failing tests pass

* Uncomment (and improve) test for field mode

We're now ready to start working on making this test pass. (There was
also one small mistake in the test, which this commit corrects).

* All tests now passing

* No indeterminate checkboxes in simple modes

The simple checkbox modes (field and index) should not produce
indeterminate checkboxes. That should be reserved for the advanced modes
(list and filter).

* Minor improvement to unit tests

* Allow indeterminate checkboxes in list and filter modes

This change may require some tweaks to the unit tests to be able to test
it properly.

* Slightly easier to read tests

* Two more tests for list mode

* Greatly simplify unit test code

Turns out there's no need to jump through Object.getPrototypeOf hoops.

* Minor simplification of unit test

* Add tests for indeterminate in list & filter modes

With this, the set of tests is complete.

* More tests to specify list mode behavior

* Unfocus tests so all tests run

* Update docs to say "new in 5.2.3" insetad of 5.2.2

* Move checkbox widget tests into their own file

The test-widget.js file was getting too long with all the checkbox
tests added, so we'll move the checkbox tests into their own file.

* Add checkbox widget tests for index mode

This commit also adds tests for index list mode (with a listIndex
attribute that will parallel the listField attribute) but leaves them
commented out because they don't pass yet: the code that implements the
listIndex attribute hasn't been written yet).

* Add listIndex attribute to checkbox widget

* Remove code that lets checkboxes be indeterminate

This reverts commit 6afcb151be. We will
add this code back in a later PR.

* Remove indeterminate tests for checkbox widget

We're currently not allowing indeterminate checkboxes, so there's no
need for the tests that check for them.

* Document listIndex attribute of CheckboxWidget

* adds class tc-checkbox-checked when checked

* equivalent to #2182 (RadioWidget)
* also applies `tc-checkbox` to checkboxes by default, always

* Move macro definitions inside example text

Since the wikitext-example-without-html macro creates a new parsing
context, it's safe to have macro definitions inside it. That makes these
examples a lot easier to write, and to read.

* Remove all mention of indeterminate checkboxes

Also improve the documentation a little bit: mention what happens in
list mode if neither checked nor unchecked is specified.

* Move filter mode to bottom of checkbox docs

The `filter` attribute should be under both `listField` and `listIndex`
rather than being between them. The documentation for filter mode should
similarly be after the `listIndex` documentation.

* Improve docs for `class` attr of checkbox widget

This brings the wording of the `class` attribute more in line with how
it's worded in the RadioWidget docs.

* Fix bug with list tiddlers

If neither checked nor unchecked was specified, then the behavior should
be "empty = false, non-empty = true". But if *both* are specified yet
neither is found, then the checkbox should be unchecked (false). It had
been falling through to the "non-empty = true" behavior, which was wrong.

* Improve listIndex example of checkbox widgets

* Remove unused function from test-widget.js

Co-authored-by: Tobias Beer <beertobias@gmail.com>
2022-04-02 15:16:08 +01:00
jeremy@jermolene.com
2ab4e965b2 Merge branch 'tiddlywiki-com' 2022-04-02 09:32:46 +01:00
jeremy@jermolene.com
4b100503da Fix URL of TiddlyWiki links aggregator 2022-04-02 09:24:00 +01:00
jeremy@jermolene.com
1f14969ab8 Merge branch 'tiddlywiki-com' 2022-04-01 21:06:42 +01:00
jeremy@jermolene.com
0b6a345208 Revert "CI: Only commit if there are changes"
This reverts commit e4b2698380.
2022-04-01 21:01:33 +01:00
Marxsal
f97b25676e Make choice selections save to state tiddler (#6585)
* Make choice selections save to state tiddler

Currently choice selections save to current tiddler (Saving), which marks TW as needing to Save. This fixes that by saving the working list to a state tiddler.

* Change state tiddler to $:/state/gettingstarted
2022-04-01 18:07:38 +01:00
Maurycy Zarzycki
b5ad5c3421 Polish translation updates (#6584)
* Add new Polish translations

Introduced in commit 54cfda76ee

* add Polish translations for changes from commits d78ad756 to b9ae6607

Co-authored-by: Maurycy Zarzycki <maurycy@evidentlycube.com>
2022-04-01 17:58:07 +01:00
es-kha
2391675e9c Signing the CLA (Eskha) (#6507)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2022-04-01 12:14:27 +01:00
Cameron Fischer
def8e6d354 Trim Saga: All snippets, language tiddlers, and typed (#6275)
* adding trim: link-dropdown, Fields, unfold

* adding trim: all remaining snippets

* Fix for reversion I accidentally applied
2022-04-01 12:10:29 +01:00
Cameron Fischer
6701683ddf Trim saga: The big macros (#6269)
* adding trim: large macros and languageswitcher

* adding trim: KeyboardShortcuts.tid

* Hidden space to force some macros to be inline

This'll be our little secret. This single byte will actually allow
the uglifier to trim over thirty bytes while condensing.

I know I'm not supposed to optimize TW for some 3rd party plugin,
but I'm the one doing the whitespace trim work, so I'll give myself
this.

* More consistent nested quoting
2022-04-01 12:09:59 +01:00
Cameron Fischer
4a9cf67a25 Trim Saga: whitespace trimming three big tiddlers (#6265)
* whitespace trimming three big tiddlers

* Forgot one macro

* This emptyMessage needed trimming too

* Switching to more consistent emptyMessage quotes
2022-04-01 12:09:30 +01:00
Cameron Fischer
5e38f1b0b8 Trim Saga: First batch of \whitespace trim (#6257)
* First batch of \whitespace trim

Along with some quotation improvements to compensate for the new bytes.

* Undid experimental, new-age, gen-Z formatting

* daring to whitespace trim a placeholder macro

* switching to more consistent nesting of quotes
2022-04-01 12:08:53 +01:00
FlashSystems
73a9625b81 Fix regressions cause by PR #6511 (#6567)
* Fix field edit bug

This fixes the field edit bug mentioned in
https://talk.tiddlywiki.org/t/possible-field-editing-bug-in-5-2-2/2884 .

* Revert "Fix visual regression in #6511"

This reverts commit c920960942.

* Add new class `tc-edit-fieldeditor`

This class must be added to input and select elements that are used as
field editors. This class reduces the line height of the input element
if it is displayed within the `tc-edit-fields` part of the edit
template.

This allows the same input and select elements to be used for editing
and adding fields.

* Add the new class `tc-edit-field` to the docs

The example in `Customizing EditTemplate Field Rendering` now uses the
new CSS classes.
2022-04-01 11:42:16 +01:00
jeremy@jermolene.com
bc242cf83a Fix bug introduced in #4122
Fixes #6579
2022-04-01 11:38:40 +01:00
jeremy@jermolene.com
051b29c5b3 Merge branch 'tiddlywiki-com' 2022-04-01 11:10:03 +01:00
jeremy@jermolene.com
e4b2698380 CI: Only commit if there are changes
Suggested by https://github.community/t/ignore-working-tree-clean/193304

We also get rid of `set -e` to simplify things
2022-04-01 11:04:18 +01:00
jeremy@jermolene.com
6e89ecd13a Revert "CI: Temporarily enable output for git push commands"
This reverts commit 55eb37222a.
2022-04-01 11:01:47 +01:00
jeremy@jermolene.com
55eb37222a CI: Temporarily enable output for git push commands
The call to ./bin/ci-push.sh is failing for both master and tiddlywiki-com:

https://github.com/Jermolene/TiddlyWiki5/actions/runs/2071743915
2022-04-01 10:37:06 +01:00
Mario Pietsch
ff42a9e4d4 Update core tabs-macro to make it easier to extend for plugin authors. (#6578)
* tabs activate v5.2.2 tests add whitespace trim

* tabs-macro -- add indentation and code preview

* tabs-macro -- replace substitutions with variables

* split tabs-macro macro into different elements

 - tabs-button
 - tabs-tab
 - tabs-tab-list
 - tabs-tab-body
 - tabs ... main macro

* tabs: add cascade to button and reaveal widgets

This will allow users to create "default tab" configurations similar to the tiddler info tab handling.

* tabs-macro -- add code_body: yes
2022-03-31 15:41:19 +01:00
jeremy@jermolene.com
778581b4ff Merge branch 'tiddlywiki-com' 2022-03-31 12:06:08 +01:00
jeremy@jermolene.com
dafb3f1c4f Update TiddlyDesktop repository URL 2022-03-31 12:05:56 +01:00
Arlen22
adcef4f803 Fix possible bug (#4122)
Check for outstanding tasks to execute before the task in question seems to have invalid checks.
2022-03-30 19:39:21 +01:00
damscal
321f417d58 Correct typos (#6571) 2022-03-30 18:25:03 +01:00
Saq Imtiaz
08d9c90dc5 Fixed typo in Contributing.tid (#6570)
Fixed typo in Contributing.tid
2022-03-29 10:00:21 +01:00
jeremy@jermolene.com
6dbb3ee36e Revert scrollable changes e49dda3b48
See https://talk.tiddlywiki.org/t/stroll-issue-with-5-2-2/2885/2
2022-03-29 09:49:31 +01:00
jeremy@jermolene.com
c920960942 Fix visual regression in #6511
See https://talk.tiddlywiki.org/t/extra-space-between-fields-row-in-5-2-2-versus-5-2-1/2879/3
2022-03-28 11:01:34 +01:00
jeremy@jermolene.com
ad490017f8 Update contributing notes and PR template
See https://github.com/Jermolene/TiddlyWiki5/pull/6511#issuecomment-1080430636
2022-03-28 10:54:51 +01:00
Simon Huber
e84acf97de ControlPanel Button: use tv-story-list variable (#6562)
This PR makes the ControlPanel Button show as selected when the `tv-story-list` contains `$:/ControlPanel` in its list field
2022-03-27 08:54:33 +01:00
jeremy@jermolene.com
6a5d73dae6 Add missing languages to Translators edition
Fixes #6557
2022-03-26 15:25:50 +00:00
Cameron Fischer
98a509dbf3 Trim Saga: Another batch of medium-sized files (#6270)
* adding trim: Last of the macros I think

* adding trim: EditTemplate and ItemSidebarIcon

* adding trim: control panel basics

* Another hidden space to guide the uglifier

* More consistent nested quoting

* Reconciling tests for \whitespace trim
2022-03-26 15:19:04 +00:00
Cameron Fischer
5d69fe7bef Trim Saga: Making existing trim tiddlers consistent (#6272)
* adding trim: AdvancedSearch Standard

* adding trim: tiddlers that had SOME trim already

* making all existing trim tiddlers consistent

* Forgot to properly indent this widget

* I don't THINK that space was important...

but I'm putting it back in

* Forgot one whitespace trim
2022-03-26 15:18:42 +00:00
Cameron Fischer
b9ae6607c0 Trim Saga: Edit and View templates (#6276)
* the text/vnd-tiddlywiki tiddler and language

* adding trim: edit and view templates
2022-03-26 14:16:01 +00:00
jeremy@jermolene.com
758d590837 Disable link rendering when rendering list-links-draggable captions 2022-03-26 12:49:17 +00:00
jeremy@jermolene.com
1c16f12d6f Disable link rendering when rendering list-links captions
Fixes #6558
2022-03-26 12:44:28 +00:00
jeremy@jermolene.com
9922701304 Prepare for v5.2.3-prerelease 2022-03-25 15:05:03 +00:00
jeremy@jermolene.com
76236f5ebe Version number update for 5.2.2 2022-03-25 13:59:52 +00:00
jeremy@jermolene.com
aec2ad2d12 Update readme 2022-03-25 13:58:31 +00:00
jeremy@jermolene.com
bd6ea2d6a9 Update release note for v5.2.2 2022-03-25 13:56:57 +00:00
jeremy@jermolene.com
74d63c7003 Fix another inadvertent div-nested-in-span 2022-03-25 13:35:25 +00:00
jeremy@jermolene.com
e26a4d8cb5 Merge branch 'tiddlywiki-com' 2022-03-25 13:03:35 +00:00
jeremy@jermolene.com
d1bc079138 Remove rounded corners from new release banner
The CSS for the splash screen expects the image to be rectangular (the rounded corners get a pointed shadow which looks wrong)
2022-03-25 13:02:49 +00:00
jeremy@jermolene.com
ffd3599369 New Release Banner for v5.2.2
Thanks to Elise Springer: https://groups.google.com/g/tiddlywiki/c/y6OMgyQx2-k/m/laL5MszxAQAJ
2022-03-25 13:00:14 +00:00
Mario Pietsch
bfa5882175 German translation adjustments (#6554) 2022-03-24 10:47:24 +00:00
damscal
258f4acb10 Docs typo (#6556)
At the end of file, filerrunprefix --> filterrunprefix
2022-03-24 07:03:19 +00:00
damscal
7e85ec35d3 Signing the CLA (#6555) 2022-03-24 07:02:33 +00:00
jeremy@jermolene.com
a4dcd92f1b Update release note to include span -> div change 2022-03-23 14:07:29 +00:00
Saq Imtiaz
fe581a83b3 Fix nesting of block elements inside inline elements in the edit template (#6553)
* Fix nesting of block elements inside inline elements in the edit template

* Fix typo in previous commit
2022-03-23 13:30:49 +00:00
Saq Imtiaz
25b2e708c9 Fix typo in CSS for drafts list (#6552)
Fixed typo in CSS for drafts list
2022-03-23 13:06:08 +00:00
jeremy@jermolene.com
5db5d711d3 Fix release note typo 2022-03-23 10:15:54 +00:00
jeremy@jermolene.com
075b2ab149 Release note update 2022-03-23 09:36:10 +00:00
jeremy@jermolene.com
8301fb8699 Merge branch 'tiddlywiki-com' 2022-03-22 21:59:12 +00:00
jeremy@jermolene.com
bc81195b5a tw.org just one more CI fix 2022-03-20 17:31:07 +00:00
jeremy@jermolene.com
02f8713012 tw.org yet more CI fixes 2022-03-20 17:11:40 +00:00
jeremy@jermolene.com
9df88bfda9 tw.org more CI fixes 2022-03-20 17:10:05 +00:00
jeremy@jermolene.com
97901d756e tw.org more fixes 2022-03-20 17:01:05 +00:00
jeremy@jermolene.com
ecde2606ad tw.org more CI fixes 2022-03-20 15:56:02 +00:00
jeremy@jermolene.com
938419ba2c tw.org CI fixes 2022-03-20 15:46:09 +00:00
jeremy@jermolene.com
1cb1e77785 Fix bug in 7cc100b82d
I HATE YAML!
2022-03-20 14:13:01 +00:00
jeremy@jermolene.com
a8331f8909 Triggering a build for testing purposes 2022-03-20 14:00:31 +00:00
jeremy@jermolene.com
7cc100b82d Introduce a tiddlywiki.org edition
Using its own build script so that we can push it to https://github.com/TiddlyWiki/tiddlywiki.org-gh-pages
2022-03-20 13:36:08 +00:00
jeremy@jermolene.com
681f22b66d Remove erroneously included code
See https://github.com/Jermolene/TiddlyWiki5/pull/6540#pullrequestreview-914281218
2022-03-18 12:40:12 +00:00
Jeremy Ruston
b0c4886d23 Fix action-listops unsafe use of $tw.utils.stringifyList() (#6540)
Fixes #6535
2022-03-18 10:10:43 +00:00
Bram Chen
c1f123499c Update chinese language files (#6539)
* Add chinese translations for `FieldEditor/*` in ControlPanel.multids.
2022-03-18 08:26:00 +00:00
Saq Imtiaz
977ea24e96 Fix: only refresh styles if the CSS has changed (#6537) 2022-03-17 21:19:49 +00:00
FlashSystems
b529e69289 Add a cascade for rendering fields within the Edit Template (#6511)
* Allow the rendering of fields to be extended

This commit extends the `$:/core/ui/EditTemplate/fields` tiddler to
use a new cascade (Field Editor Cascade) to allow customizing the
rendering of the field editor.
It provides a default element for the cascade that displays the standard
EditTextWidget as a fallback. That way, the implementation is completely
backwards compatible. The `currentTiddler` and `currentField` variables
are available in the transcluded tiddler. This has the additional
benefit, that not only the `EditTextWidget` can be used. The user can
use a dropdown-list or even something completely crazy. As long as it
can be put into a tiddler that updates the field, it will be fine.

* Make `select` Tags in Fields look like the rest

This patch updates the CSS to make `tc-edit-texteditor` usable on
`select`-tags as well.

I'm not sure what `-webkit-appearance: none;` is for, but it hides the
DropDown-arrow in Chrome and makes the select-tag hard to discover. I've
changed the css to only apply it to the input tag. Maybe it can be
removed altogether.

* Add documentation for the Field Editor Cascade
2022-03-17 17:06:24 +00:00
Mario Pietsch
b5edaae1f4 Fix the Advanced search link. ... (#6534) 2022-03-16 15:30:06 +00:00
Mario Pietsch
22fd1ca630 Improve Filters doc and add "Learn more about how to use Filters" link to every operator reference tiddler (#6533) 2022-03-16 12:38:49 +00:00
Mario Pietsch
c741978e95 Fix the button default fix (#6531) 2022-03-16 11:57:56 +00:00
Mario Pietsch
28a91aafa7 Button Widget: ensure changes to "default" attribute trigger a refresh 2022-03-15 12:35:58 +00:00
Jeremy Ruston
1d8c538e45 Eventcatcher widget: add "matchSelector" attribute (#6523)
* Initial Commit

* Allow matchSelector to be used even if selector attribute isn't used
2022-03-14 09:56:23 +00:00
Guang Li
3f0fb71635 use Cascade to set dynannotate ViewTemplate (#6520) 2022-03-12 17:09:47 +00:00
Guang Li
347355128b Update cla-individual.md (#6526) 2022-03-12 17:09:22 +00:00
Marxsal
2a38b15a29 Add files via upload (#6524)
See GG discussion. There are, of course, many tiddlers that need this treatment.
2022-03-11 19:15:28 +00:00
Mario Pietsch
84ad758829 Prepare tabs macro tests for future readability improvements (#6504)
* prepare tabs macro test for future improvements

* update tests for tabs-macro to check all possible parameters
2022-03-11 16:33:58 +00:00
FSpark
f694f5ead7 Signing the CLA (#6518) 2022-03-08 17:02:34 +00:00
tw-FRed
29aef731a3 [fr] New batch of documentation translations (#6508) 2022-03-05 09:19:22 +00:00
tw-FRed
115b20ff7b FR documentation translations update (#6489 redone) (#6502)
* Translation updates, new translations, tiddlers renaming

* Wrong target tiddler name for tw5.com's doc-macros.tid

* Update GettingStarted
2022-03-02 18:50:29 +00:00
CodaCoder
a38b25eff5 Fix issues in WidgetMessage: tm-open-window (#6497) 2022-03-02 17:59:36 +00:00
TW Videos
71df5162ba Improve the docs for the sortan operator (#6495) 2022-03-02 17:40:23 +00:00
TW Videos
864b5ec05d Improve readability for documentation macros (#6494) 2022-03-02 17:36:53 +00:00
Saq Imtiaz
aaf1aa3821 Improve affordances for new browser windows (#6498)
* feat: extend tm-open-window to allow opening the same tiddler in multiple templates, and introduce tm-close-window to close browser windows

* fix: use a windowID parameter to uniquely identify a window and introduce tm-close-all-tiddlers

* fix: whitespace

* fix: update variable
2022-03-02 17:34:02 +00:00
jeremy@jermolene.com
8114d5475b Update release note 2022-03-01 16:56:52 +00:00
jeremy@jermolene.com
29599baa3b Merge branch 'tiddlywiki-com' 2022-03-01 16:49:36 +00:00
Saq Imtiaz
b196cf77e8 Sort sidebar language, plugin and theme list by name rather than description (#6501) 2022-03-01 09:23:19 +00:00
jeremy@jermolene.com
4d3ebf4bf0 Revert "fr-FR next batch of translation updates (#6489)"
This reverts commit b3268546ef.
2022-02-27 17:23:36 +00:00
tw-FRed
b3268546ef fr-FR next batch of translation updates (#6489)
* Move GettingStarted to the right place

Previous batch of translations changed the wrong file

* Revert #6467 for GettingStarted

* Delete $ _editions_tw5.com_doc-macros.tid

Wrong name for the updated tiddler

* Update $__editions_tw5.com_doc-macros.tid

* Translation updates

* Update of 2 tiddlers referenced on HelloThere

* 5 more tiddlers, referenced in WikiText.tid
2022-02-27 17:21:55 +00:00
Saq Imtiaz
615d8da64f Docs: mention MessageCatcher widget in LinkCatcher tiddler (#6485) 2022-02-26 18:59:45 +00:00
TW Videos
45a1478bc9 Allow TiddlyVee to submitt PRs (#6487)
This is pmario and TiddlyVee will be used to create real PRs shown in videos
2022-02-26 18:48:49 +00:00
TW Videos
a071881562 Links to CLA: change branch from master to tiddlywiki-com (#6488) 2022-02-26 18:45:58 +00:00
Ben Webber
2c38c8351b Make butlast[0] consistent with rest (#6483)
butlast[0] now returns the input list unchanged.

Fixes: #5833
2022-02-26 09:42:24 +00:00
Ben Webber
a51191d334 Support specifying insertbefore position title as parameter (#6477)
* Support specifying insertbefore position title as parameter

Closes: #6133

* Update insertbefore calls with new variable parameter syntax

See-also: 96b52606a (Support specifying insertbefore position title as parameter, 2022-02-21)
2022-02-24 11:08:06 +00:00
Saq Imtiaz
4054566493 Extend $draggable to support an optional drag handle (#6480)
* feat: extend  to support a selector attribute identifying the DOM element to be used as the drag handle

* fix: remove redundant variable declaration

* fix: remove extranneous variable declaration
2022-02-24 11:06:18 +00:00
Marxsal
5f994f7d46 Savers: Polly (#6481)
* Savers: Polly

* Polly, with url
2022-02-23 21:47:21 +00:00
Ben Webber
7a7472833f Consider non-existent tiddlers untagged (#6478)
Fixes regression introduced in 575c23359.

Fixes: #6119
See-also: 575c23359 (Update untagged filter to avoid $tw.utils.pushTop (#6034), 2021-09-18)
2022-02-23 12:46:34 +00:00
Marxsal
9777aa9d13 Webdav - category "paid" hosting (#6476) 2022-02-22 19:56:07 +00:00
Cameron Fischer
d0b5b2124a Is draft (#6442)
* corrected [!is[draft]] to be a proper complement

* Ensuring [is[draft]] and [!is[draft]] are complements

* Made [is[draft]] more analogous to .isDraft()
2022-02-22 16:41:29 +00:00
Ben Webber
95bd694a65 Support case insensitive matching in prefix/suffix operators (#6468)
* Support case insensitive matching in prefix/suffix operators

Support `caseinsensitive`/`caseinsensitive` suffixes in the following
filter operators:

  * prefix
  * suffix
  * removeprefix
  * removesuffix

The suffixes have the same behaviour as in the match operator.

Closes: #6407

* Do not filter titles if suffix/removesuffix operand is empty

Issue: #6407
2022-02-22 16:38:40 +00:00
jeremy@jermolene.com
49de500b5e Add contributors to release note 2022-02-22 09:54:46 +00:00
jeremy@jermolene.com
4cf3df0f86 Merge branch 'tiddlywiki-com' 2022-02-22 09:25:15 +00:00
jeremy@jermolene.com
1ae1ff3da2 Update release note 2022-02-21 17:38:11 +00:00
cdruan
4f42df8bef Update highlight.js to v11.4.0 (#6427)
* Rename v9 highlight.js plugin to highlight-legacy

* Add ES6 version of highlight.js plugin

* highlightblock.js

	- ensure this ES6 plugin will not cause error on legacy browsers
	- update the code to use new highlight.js APIs
	- change class tagging to match more closely with highlight.js
	- allow users to add language definitions as JS "highlight" modules

* styles.tid

	- update to match v11

* howto.tid

	- add instructions on how to add language definitions as JS modules

* highlight.min.js, default.min.css

	- version 11.4.0 common languages only

* Remove extraneous whitespaces

* Update readme.tid

* Update bundled languages

bundled: common + apache + nginx + latex + dockerfile + fortran

* Update highlight-legacy subtiddlers' titles

* Touch up highlight-legacy docs

* Touch up highlight plugin docs

* Fix pre block styling

- add "hljs" class to <pre> so the element can be styled
2022-02-21 15:35:13 +00:00
Jeremy Ruston
36b162a377 Fix for tag ordering issue #6382 (#6383)
* Failing test

* Fix underlying problem

* Less naive fix

Now we make sure we maintain the sort order of the titles array when adding a new tiddler

* Fix failing tests

* Refactor filter tests to repeat them with different store orderings

* Revert "Fix failing tests"

This reverts commit ee03ee57f5.

* Refine fix to retain stylesheet ordering

The order of tiddlers in the HTML file uses localeCompare(), and that determines the insertion order. So if we want to be compatible with older versions we have to use localeCompare() to order tiddlers, not a plain sort()

* Don't sort shadow tiddlers

Instead rely on the existing ordering

* Fix failing tests, take 2

I think that all of these changes are explained by the store no longer retaining insertion order, but now using localecompare ordering

* Fix tests from #6327
2022-02-21 15:34:05 +00:00
Jeremy Ruston
82c8fe7fa8 Introduce JSON parse utility function with error handling (#6401)
* Introduce JSON parse utility function with error handling

Fixes #6400

* Fix typo
2022-02-21 15:29:25 +00:00
Jeremy Ruston
5378b45c40 Allow newlines within filtered transclusions (#6421)
* Allow newlines within filtered transclusions

* Docs
2022-02-21 15:28:21 +00:00
Jeremy Ruston
ab3109d84b Add support for directly setting style.* attributes on HTML elements (#6388)
* Support direct style attributes on the element widget

* Fix tests

Not all parse tree nodes have an "orderedAttributes" member (eg. the error message generated at 5613bcc884/core/modules/widgets/transclude.js (L73-L75))

* Ensure ordering isn't insertion dependent if orderedAttributes is missing

* Add docs
2022-02-21 15:24:06 +00:00
Cameron Fischer
a4ab42da8a findListingsOfTiddler should cache results (#6327)
* findListingsOfTiddler uses FieldIndexer now

* Turns out FieldIndexer can't help listed[]
2022-02-21 15:07:30 +00:00
jeremy@jermolene.com
af87727ffc Adjust version tag for #6293 2022-02-21 15:06:39 +00:00
Mario Pietsch
6b4e5c74ad Add "some" flag to search operator (#6293) 2022-02-21 15:05:34 +00:00
lin onetwo
94ab1e998d Create Saving on TidGi.tid (#6473) 2022-02-21 12:23:50 +00:00
jeremy@jermolene.com
8af99878cc Add version tags for #5899 2022-02-21 09:56:05 +00:00
Joshua Fontany
d6d2bc455c Fix server options (#5899)
* removed illegal cahracter in filename

* fixes required plugin options & updates docs

* Update dev docs

* call self.displayError

* Revert "call self.displayError"

This reverts commit 5d599aa979.

* adds path based auth (backwards compatible)

* refactor per-route auth

* get status bug

* server options

* server options

* server options, new 'server-settings' param

* reflow

* fix boot.origin

* refactor new parameters

* restore sitetitle as servername option

* Soft reset to master

* docs update

* tweak wording

* docs

* cleanup

* remove literal string

* cleanup docs

* formatting

* Remove per-path auth

* revert get-status

* fold in PR 5538

* remove server-options

* remove doc

* required-plugins a server-parameter, not option
2022-02-21 09:53:06 +00:00
jeremy@jermolene.com
d5ff723d4c Update version tag for #5742 2022-02-21 09:49:55 +00:00
Joshua Fontany
1d0af90ba2 Extend lookup operator to work with fields and indexes (#5742)
* extend lookup op flexibility with 2 parameters

* bumped .from macro to .24

* aligned syntax

* lookup fixes

* bugfix

* docs

* messed up the tests somehow

* docs fix

* lookup bugfix

* docs

* docs

* call self.displayError

* Revert "call self.displayError"

This reverts commit 5d599aa979.

* storylist

* tests

* tests pass
2022-02-21 09:48:29 +00:00
tw-FRed
b12d6c0758 Use cascade for FR ViewTemplate title instead of shadow tiddler (#6471)
* Delete $__core_ui_ViewTemplate_title.tid

fr-FR modifications to ViewTemplate/title can now be done through cascades mechanism.

* fr-FR New ViewTemplate title cascade

Replacement for old fr-FR ViewTemplate/title shadow tiddler

* fr-FR Better ViewTemplate title cascade

Updated according to @Jermolene review.
2022-02-20 19:38:13 +00:00
tw-FRed
a89677ea40 [fr_FR] French translation update (#6467)
* [fr_FR] Add utility macro for translated links

* Update Saving.tid

* Add TiddlyFox Apocalypse translation

* Update TiddlyFox.tid

* Translate Community Links Aggregator.tid

* Update Forums.tid

* Update Developers.tid

* Update HelloThere.tid

* Update GettingStarted.tid

* Update Community.tid

* Update tw5.com edition macros from uplink

Some text in these macros must be translated.

* Various translation updates

* Clean utility fields I had left over

* Clean older files too
2022-02-20 17:25:25 +00:00
Saq Imtiaz
59572cd75d Extend tm-open-window to support optional top and left position for new browser window (#6470)
* feat: extend tm-open-window to support optional top and left position for new browser window

* fix: whitespace correction

* Update WidgetMessage_ tm-open-window.tid
2022-02-20 11:23:27 +00:00
jeremy@jermolene.com
1d16206188 Add support for tm-relink-tiddler message 2022-02-19 09:38:48 +00:00
jeremy@jermolene.com
37a6ff8521 Move tm-rename-tiddler handling from navigator widget into startup module
This reverses an August 2015 change in 68e15c10641e2eda1e64cf29954786a07326a920; the original rationale was wrong: there is nothing related to the navigator widget in the implementation of the tm-rename-tiddler message
2022-02-19 09:20:32 +00:00
jeremy@jermolene.com
d3ea98fcef Menubar plugin: fix class handling for dropdowns
Fixes  #6457
2022-02-14 10:44:42 +00:00
Bram Chen
5022516c61 Update chinese language files (#6449)
* Update chinese field descriptions

* Revised chinese translations for `DropMessage`
2022-02-08 16:01:30 +00:00
jeremy@jermolene.com
965d8ee014 Update release note 2022-02-08 15:40:15 +00:00
Marxsal
8e50ad1243 Change 'Drop here' to 'Drop now' in import msg (#6435) 2022-02-07 17:32:06 +00:00
jeremy@jermolene.com
33f40c47c6 Use code-body: yes for more templates
Fixes #6444
2022-02-07 16:53:36 +00:00
Cameron Fischer
1b3c2557b8 Fixed issue: deprecated regexp could cause crash (#6438)
* Fixed issue: deprecated regexp could cause crash

* Different fix which will bother plugins less
2022-02-07 16:39:29 +00:00
Dyllon Gagnier
6b31d7cae3 Add TW5-browser-nativesaver to tw5.com docs (#6447)
* Signing the CLA

* Add TW5-browser-nativesaver to tw5.com docs

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2022-02-06 10:49:48 +00:00
jeremy@jermolene.com
1a4766c5a1 Merge branch 'tiddlywiki-com' 2022-02-05 16:39:35 +00:00
btheado
3e62e8406b Docs: Compare the wikitext concept of inline vs. block to the corresponding HTML concept (#6443) 2022-02-03 19:22:24 +00:00
jeremy@jermolene.com
e49dda3b48 Fix search results cutoff on narrow screens
Fixes #6440
2022-02-01 09:36:30 +00:00
jeremy@jermolene.com
bd447f0716 Add talk.tiddlywiki.org as the official forum for the community 2022-01-31 17:05:55 +00:00
RJ Skerry-Ryan
13faeaa0bd Markdown: Let WikiText parsing handle the creation of LaTeX widgets. (#6428)
* Markdown: Let WikiText parsing handle the creation of LaTeX widgets.

When embedding LaTeX snippets in inline HTML nodes, such as TiddlyRemember
macros or HTML tables, the parsing of latex nodes breaks the WikiText by
splitting it into pieces around the latex node.

This commit fixes the issue by converting the Remarkable katex nodes back to
text, using a newline to indicate a block katex snippet. This is then re-parsed
by the WikiText KaTeX plugin.

TESTED:

Created a test wiki with:
```
$ node tiddlywiki.js test --init markdowndemo
$ node tiddlywiki.js test --listen
```

* Verified markdown + KaTeX support still works as expected.
* Verified that embedding LaTeX snippets in inline HTML works (e.g. `<a
href="https://example.com/">$x^2$</a>`).
* Verified the markdown + KaTeX support works as expected with renderWikiText
set to `false`.

* Style: Remove spaces between if and opening parentheses.
2022-01-30 11:23:00 +00:00
twMat
7f0fb2b610 [doc] Update Importing Tiddlers.tid - attempt 2 (#6432) 2022-01-30 11:17:39 +00:00
Rizwan
7d2994388b Remove 2 whitespaces (#6434)
These whitespaces were messing the list rendering
2022-01-30 11:07:32 +00:00
RJ Skerry-Ryan
edb5dc3fdc Add keyword-spacing rule to .eslintrc.yml to reflect the project code style. (#6431)
- Update .eslintignore to ignore "third party" code.
- Add a "lint" script to package.json so `npm run lint` runs eslint on the repo.
2022-01-29 17:41:09 +00:00
Marxsal
df1b1316c8 One word change to 'Images in WikiText' (#6430) 2022-01-29 15:39:29 +00:00
jeremy@jermolene.com
1a0c831216 Add sha256 operator 2022-01-29 11:02:47 +00:00
jeremy@jermolene.com
f4365e4bb4 Macro: remove confusing advice
See https://talk.tiddlywiki.org/t/wikitext-parsing-and-rendering-in-macros/2218
2022-01-28 11:24:06 +00:00
Saq Imtiaz
75d10a2dc3 Fix: bug with importvariables widget when importing block mode widgets. fixes #6424 (#6426) 2022-01-27 17:35:18 +00:00
Marxsal
da7cf7a4f3 QualifyWidget documentation (#6422) 2022-01-25 17:59:59 +00:00
Saq Imtiaz
6452eb56a9 fix: bug introduced with 88812092fd fixes #6419 (#6420) 2022-01-24 19:17:09 +00:00
Saq Imtiaz
9fce8153df Add support to tm-scroll message for scrolling without animating (#6410)
* feat: add support for animationDuration attribute of paramObject for tm-scroll message

* docs: added docs for animationDuration attribute of tm-scroll message

* fix: use .utils.hop instead of Object.hasOwnProperty()

* fix: do not check if object before calling utils.hop()

* fix: syntax
2022-01-24 09:44:04 +00:00
jeremy@jermolene.com
4cdfa4e3f9 Update tm-download-file docs to mention the filename parameter 2022-01-23 18:35:38 +00:00
btheado
d6384df6fc Add warnings about non-recursive nature of dynamic attribute values (#6417) 2022-01-23 18:24:25 +00:00
btheado
f0bd06b38d Add doc related to WikiText parser modes (#6415)
* Added macros for displaying wikitext examples in a table

* Added documentation for WikiText parsing

* Changed recognize to British spelling

* Add links to the new wikitext parser tiddlers
2022-01-23 09:44:01 +00:00
Saq Imtiaz
d823856082 feat: add support for renderEnd method for storyviews in widget's render() method (#6409) 2022-01-19 19:48:02 +00:00
twMat
b02a82ba0f Update list-links-draggabe Macro.tid (#6405)
The commented problem is, I presume, resolved now that we can directly edit fields in the current tiddler.
2022-01-19 11:13:08 +00:00
twMat
c43b013539 Paragraph on "anchor links" for Linking in WikiText.tid (#6404) 2022-01-18 19:27:54 +00:00
twMat
5548186c93 Update size attribute in EditTextWidget.tid (#6403)
ref: https://github.com/Jermolene/TiddlyWiki5/issues/6165
2022-01-17 10:11:20 +00:00
twMat
def9b553a8 typo in EventCatcherWidget.tid (#6399) 2022-01-15 12:57:51 +00:00
jeremy@jermolene.com
35f7a8ea06 Fix renaming a tiddler can result in duplicate tags
Fixes #6398
2022-01-14 16:57:30 +00:00
jeremy@jermolene.com
54bfb28063 Merge branch 'tiddlywiki-com' 2022-01-11 17:51:32 +00:00
jeremy@jermolene.com
80c63b96cf Fix processing of $:/tags/RawMarkupWikified/TopHead tiddlers
Fixes #6395
2022-01-11 17:16:50 +00:00
Nils Lindemann
2ef9ecbc44 Signing the CLA (#6394)
* Using a different account now (Second try)

* Typo
2022-01-10 09:34:02 +00:00
jeremy@jermolene.com
88812092fd Fix crash with "wrap-lines" text editor operation if prefix or suffix is missing
Fixes #6376
2022-01-09 17:43:34 +00:00
jeremy@jermolene.com
4e01fc1838 Radio widget should use default if field/index is missing
Fixes #6389
2022-01-09 17:17:12 +00:00
Louis Davout
5cab75f4a7 In 'Filter Operators' add column to indicate those operators that construct an entirely new selection. (#6351) 2022-01-09 14:44:19 +00:00
btheado
1345384d39 Add section about dynamic links to 'Linking in WikiText' (#6361)
* Add discussion of dynamic links to 'Linking in WikiText'

* Added macro and styles for displaying a 'bad' example

* Use .bad-example macro in 'Linking in WikiText'

* Convert existing warnings to use .bad-example macro
2022-01-09 14:30:22 +00:00
Bram Chen
927013a57a Update chinese field descriptions (#6393) 2022-01-09 14:26:14 +00:00
jeremy@jermolene.com
0d11fccba2 Update release note 2022-01-09 10:18:19 +00:00
jeremy@jermolene.com
d78ad756db Docs missed off 54cfda76ee 2022-01-09 10:18:11 +00:00
jeremy@jermolene.com
5613bcc884 It's 2022 2022-01-03 20:22:52 +00:00
jeremy@jermolene.com
0729d730f8 Merge branch 'tiddlywiki-com' 2022-01-03 20:22:05 +00:00
jeremy@jermolene.com
f2422efeb8 Fix issue with Alice in Wonderland demo
Thanks @pmario

See https://github.com/Jermolene/TiddlyWiki5/pull/6213#issuecomment-1003628637
2022-01-03 20:20:48 +00:00
Cameron Fischer
cbb002ec4b Added sourceURL tags to boot js (#6381) 2022-01-03 17:25:40 +00:00
jeremy@jermolene.com
c7e8c87f85 Refine criteria for displaying $:/core/ system tiddlers as code
Fixes #6369
2022-01-03 16:42:50 +00:00
jeremy@jermolene.com
66ae1d6930 Image widget: Add classes for loading/loaded/error 2022-01-02 17:28:54 +00:00
jeremy@jermolene.com
8e3885277f Update messagecatcher widget example to use newer syntax 2021-12-22 15:31:35 +00:00
jeremy@jermolene.com
9293dfa477 Add docs for "help" field of modals
Previously undocumented for no good reason
2021-12-21 10:26:58 +00:00
Louis Davout
8a80d89582 Signing the CLA (#6347) 2021-12-20 19:36:51 +00:00
btheado
10ebd93df3 Add ViewWidget cross references and examples (#6355)
* Link ViewWidget formats to similar filter operators

* Merge the ViewWidget columns and use the tip macro instead

* Reference the format filter operator in ViewWidget

* More accurate language in the ViewWidget docs
2021-12-20 10:07:34 +00:00
jc-ose
d414eef773 Clarify list location requirement (#6338) 2021-12-14 22:27:05 +00:00
jc-ose
7d1f0ea8f4 Signing the CLA (#6337) 2021-12-14 22:26:22 +00:00
twMat
f477e90192 Update Cascade Filter Run Prefix.tid (#6340) 2021-12-14 22:21:49 +00:00
Maurycy Zarzycki
b4dec78a72 add polish translations to cascades (#6335) 2021-12-13 17:28:35 +00:00
jeremy@jermolene.com
60187dc59e Fix importing/upgrading encrypted single file wikis
The problem was that v5.2.0 trimmed the whitespace from $:/core/templates/store.area.template.html which we'd previously been relying on during the import.

This change still allows v5.2.2 to import encrypted pre-v5.2.0 wikis

Fixes #6330
2021-12-11 19:46:20 +00:00
twMat
4453aefad8 Typo in Images in WikiText.tid (#6328)
Typo in link
2021-12-11 09:29:26 +00:00
jeremy@jermolene.com
54cfda76ee ViewTemplateBodyCascade: Add support for code-body field
Missed off #6168
2021-12-09 20:47:51 +00:00
Rizwan
1e8c2821d6 Acknowledgements for banner design 5.1.21-5.2.0 (#6326) 2021-12-09 17:40:12 +00:00
jeremy@jermolene.com
cbc030fbe2 Merge branch 'tiddlywiki-com' 2021-12-09 11:57:16 +00:00
jeremy@jermolene.com
b454116163 Add banner image credits for v5.2.1
See https://talk.tiddlywiki.org/t/the-banner-designer-should-be-acknowledged-in-the-whats-new-section/1787

cc @ibnishak
2021-12-09 11:56:31 +00:00
jeremy@jermolene.com
0186c6490f Edit type dropdown: Add whitespace between description and MIME type 2021-12-08 21:25:44 +00:00
jeremy@jermolene.com
853a899c77 Avoid wraping field names in field viewers
Also avoid wikifying field names
2021-12-08 19:29:02 +00:00
jeremy@jermolene.com
95a3d7fde2 Temporary new release banner for v5.2.2 2021-12-08 12:42:08 +00:00
jeremy@jermolene.com
d33e0a05e2 Preparing for v5.2.2-prerelease 2021-12-08 12:22:51 +00:00
jeremy@jermolene.com
cb833b3f65 build-site.sh: Update version number 2021-12-08 12:21:16 +00:00
jeremy@jermolene.com
b73c50adeb Version number update for 5.2.1 2021-12-08 12:17:32 +00:00
jeremy@jermolene.com
fdfa45329a Updating readme and contributing 2021-12-08 12:16:55 +00:00
jeremy@jermolene.com
7b1880404c Preparing for release of v5.2.1 2021-12-08 12:01:56 +00:00
jeremy@jermolene.com
2739b1bafe Merge branch 'tiddlywiki-com' 2021-12-08 11:56:50 +00:00
jeremy@jermolene.com
cc782ff518 Update release note 2021-12-08 11:55:40 +00:00
jeremy@jermolene.com
492bfbebe9 Sidebar plugin listing
Fix text colour in DarkPhotos and Muted palettes

Thanks @kookma

See https://github.com/Jermolene/TiddlyWiki5/discussions/6167#discussioncomment-1768298
2021-12-07 21:30:38 +00:00
jeremy@jermolene.com
c9fbff265a Update release note 2021-12-07 13:19:37 +00:00
jeremy@jermolene.com
b0f72d0690 Improve sidebar plugin listing
Fixes #6167
2021-12-07 13:17:15 +00:00
Marxsal
6070a2c921 Add two cloud services that support webdav (#6292) 2021-12-07 12:48:17 +00:00
jeremy@jermolene.com
cb43b91ab6 Add official v5.2.1 banner
See https://groups.google.com/g/tiddlywiki/c/GU0TPGNMPvw/m/y1SyQk_nAQAJ
2021-12-06 17:26:34 +00:00
jeremy@jermolene.com
804bc9e9c0 Merge branch 'tiddlywiki-com' 2021-12-06 17:05:43 +00:00
jeremy@jermolene.com
4514a67a1f Add user documentation for cascade mechanism 2021-12-06 16:59:13 +00:00
jeremy@jermolene.com
edcba4ee16 Docs Macros: Add new <<.tiddler-fields>> macro 2021-12-06 16:59:07 +00:00
jeremy@jermolene.com
9e28356047 Cascades: Ignore draft configuration tiddlers 2021-12-06 16:25:51 +00:00
btheado
44ad8c770f Added documentation tiddlers for intersection filter run prefix (#6307) 2021-12-05 17:27:35 +00:00
btheado
2dd4fa41a5 Add documentation tiddlers for filter filter run prefix (#6310)
* Added documentation tiddlers for filter filter run prefix

* Added examples to compare :filter filter run prefix to :and prefix
2021-12-04 20:44:04 +00:00
tw-FRed
f5389b3859 [FR_fr] Fix Latest Version image not displaying (#6308)
Image broken link on the welcome screen of French documentation edition.
See "Quoi de neuf dans la version 5.2.0" here: https://tiddlywiki.com/languages/fr-FR/index.html#HelloThere
2021-12-04 18:21:28 +00:00
tw-FRed
65c8d74218 Sign the CLA (#6306) 2021-12-04 17:34:57 +00:00
btheado
f88e3939e1 Add a cascade filter run example (#6302) 2021-12-04 10:25:43 +00:00
jeremy@jermolene.com
769778b05b Fix tag of control panel tab for edit template cascade
Missed off a350a76a00 (diff-902fbf6814c65f26a991299f17ef1698df82d1004af8d10d81a11a14660e805c)
2021-12-02 19:25:33 +00:00
jeremy@jermolene.com
f84ff0d778 Update release note 2021-12-02 19:21:07 +00:00
Boris Mann
ca1aabe21f Signing TW CLA (#6076)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2021-12-01 14:57:46 +00:00
jeremy@jermolene.com
dd801d1571 Merge branch 'tiddlywiki-com' 2021-12-01 09:08:46 +00:00
Saq Imtiaz
485730483b Docs: reference documentation for :cascade filter run prefix (#6294)
* docs: formal documentation for :cascade filter run prefix

* fix: typos

* fix: typos
2021-11-30 15:07:10 +00:00
jeremy@jermolene.com
8b6733d792 Docs: Add a new overview of customisation techniques 2021-11-29 09:21:50 +00:00
Saq Imtiaz
75aabcce64 Fix for CodeMirror issues with drop events in Chrome 96 (#6278)
* fix: handle drag events ourselves in chrome when it adds pseudo file objects to the event

* fix: corrected typo in comment

* fix: coding style

* fix: formatting and remove comments
2021-11-28 14:46:27 +00:00
jeremy@jermolene.com
5dfa6b2bb4 Remove "Page and tiddler layout customisation" and most of the excised subtiddlers
These tiddlers are poor quality, and the titles are long and clumsy
2021-11-27 08:40:56 +00:00
btheado
3798a3c7d0 Add NavigatorWidget example (#6285)
* Add NavigatorWidget example

* Moved NavigatorWidget example into the 'Creating SubStories' tiddler

* Fixed link: NavigationMechanism => HistoryMechanism
2021-11-27 07:58:29 +00:00
Marxsal
1c4b2243a6 New tag 'KeyboardDrivenInput' on two tiddlers (#6271) 2021-11-26 17:51:39 +00:00
Mario Pietsch
c11493ec37 fix TiddlerColorFilters/default ... to return a color name or value (#6283) 2021-11-26 12:10:18 +00:00
jeremy@jermolene.com
b6c8cdae64 Merge branch 'tiddlywiki-com' 2021-11-26 11:19:28 +00:00
jeremy@jermolene.com
b80d079d71 Move docs tiddlers out of the root folder
Some of which I'd accidentally left from 1348607c8f, but I thought it was worth clearing them all up
2021-11-26 11:18:03 +00:00
btheado
6512b038c5 Added examples to compare :map filter run prefix to + prefix (#6282)
* Added examples to compare :map filter run prefix to + prefix

* Prefer ':and' over '+'
2021-11-25 18:03:30 +00:00
jeremy@jermolene.com
6d1d497a63 Tweak docs for #6268 2021-11-25 18:00:32 +00:00
Telumire
6ea7140e8f Add a snippet to visualise faulty stylesheets (#6268)
* Add a snippet to visualise faulty stylesheets

As discussed in https://github.com/Jermolene/TiddlyWiki5/issues/6176, a faulty stylesheet can propagate and break several other stylesheets. This can be tricky to debug in a wiki with a lot of custom stylesheets.

This wikitext snippet will display a list of the stylesheets created/modified by the user and will display a red cross next to the one causing a parsing error.

* Improve the css code and add a message

This commit add a short message that provide guidance on how to fix the CSS error(s).
2021-11-25 17:49:28 +00:00
btheado
7b311b0e4a Fix duplicate example id for map filter run prefix (#6281) 2021-11-25 15:20:30 +00:00
jeremy@jermolene.com
be3018fe3b Cascade: Improve demo custom story tiddler template
Now the buttons are part of the template, making it easier to manage new tiddlers given the tag $:/tags/TiddlerList

See #6280
2021-11-25 08:55:10 +00:00
jeremy@jermolene.com
68095eb392 Docs: Misc minor edits 2021-11-25 08:38:17 +00:00
jeremy@jermolene.com
4bb34e4801 Merge branch 'tiddlywiki-com' 2021-11-24 21:04:47 +00:00
jeremy@jermolene.com
1348607c8f Refactor some docs preparatory to adding the cascade docs on master branch 2021-11-24 21:04:22 +00:00
btheado
2f86779a27 Add doc tiddlers for reduce filter run prefix functionality (#6277)
* Added documentation tiddlers for reduce filter run prefix

* Make filter text box wider so long filters fit better

* removed some duplicate words

* Restored the :reduce filter run prefix tip
2021-11-24 20:02:40 +00:00
jeremy@jermolene.com
2af632a46d Don't use CodeMirror unless in the browser
Avoids crashes when rendering static tiddlers under Node.js that include edit widgets with CodeMirror.

The tiddler "SampleWindowTemplate" in 05606f72ad was triggering a build error in https://github.com/Jermolene/TiddlyWiki5/runs/4310561088?check_suite_focus=true#step:6:41
2021-11-24 10:41:38 +00:00
jeremy@jermolene.com
05606f72ad Merge branch 'tiddlywiki-com' 2021-11-24 10:07:17 +00:00
jeremy@jermolene.com
6d0701e0fa Update release note
I will add some more details about the filter cascade stuff
2021-11-23 17:31:59 +00:00
Saq Imtiaz
76cdc17f3b Support macro parameters in filter run prefixes (#6164)
* Support macro params in filter run prefixes and support substitution for variables set by filter run prefixes

* feat: add support macro parameters and variable substitution for all filter run prefixes

* fix: rename options argument to opts for disambiguation

* feat: add support for macro params to cascade filterrun prefix
2021-11-23 13:51:42 +00:00
Marxsal
7b076eadfa Tag Definition for tiddler node-webkit (#6255) 2021-11-21 22:20:13 +00:00
Marxsal
c5ce2a0a94 Tag Definition for tiddler ModuleType (#6256) 2021-11-21 22:19:54 +00:00
Saq Imtiaz
7fcc84156e Fix: issues with drag and drop in Chrome 96 (#6261)
* fix: issues with drag and drop (false positives in detection for files being dropped) introduced by Chrome 96

* fix: call dragEventContainsType method more consistently.

* fix: call dragEventContainsType method more consistently.
2021-11-21 20:48:16 +00:00
Marxsal
75bf12db7a Tags related to releases for file path (#6236)
* Tags related to releases for file path

* Tag Releases -> Release Template

Changing "Releases" tag to "Release Template"
2021-11-20 17:28:48 +00:00
Marxsal
07de96459e Tags for file paths (#6250) 2021-11-20 17:27:43 +00:00
Marxsal
be036aa9c8 Tag Demonstrations for Sample Wizard tiddlers (#6251) 2021-11-20 17:26:38 +00:00
Bram Chen
0664895670 Update chinese translations (#6249)
* Add chinese translations for `TiddlerColour/*` in ControlPanel.multids

* Fix typo
2021-11-20 16:16:54 +00:00
jeremy@jermolene.com
dde1e4bc0f Fixed missed icon and colour cascades 2021-11-20 08:55:00 +00:00
jeremy@jermolene.com
122de63b71 Add a cascade for choosing tiddler colour
Following on from #6168
2021-11-19 12:01:32 +00:00
jeremy@jermolene.com
e3ba880e18 Fix tag pill colouring
Fixes #6221
2021-11-19 10:52:13 +00:00
Marxsal
e3be15531f Adding tag 'Saving' to four IIS Examples (#6244) 2021-11-19 08:07:19 +00:00
Marxsal
5a3ff4e3dc Adding tag Definition for Osmosoft (#6247) 2021-11-19 07:55:16 +00:00
Marxsal
f7f32f00a3 Adding tag to ListopsData (#6248) 2021-11-19 07:54:43 +00:00
Marxsal
d7d694b14f tagging product badges as HelloThere Badge (#6243) 2021-11-18 18:43:23 +00:00
Cameron Fischer
a6feb6dd66 Changed vanilla/reset.tid to be a css file (#6242) 2021-11-18 18:01:13 +00:00
Marxsal
ecf10e41c3 Add tag 'Definitions' to 'BT' (#6231) 2021-11-18 09:02:05 +00:00
Marxsal
481edc1cfe Tag additions (#6233) 2021-11-18 08:58:41 +00:00
Marxsal
ff5817ab50 Tag additions - Widget Examples (#6234) 2021-11-18 08:56:36 +00:00
Marxsal
80235bf049 New tag - Message Examples (#6235) 2021-11-18 08:56:03 +00:00
Marxsal
ecddd5a7be Tags related to Mechanisms for file path (#6237) 2021-11-18 08:48:16 +00:00
Marxsal
f22fc788e5 Changing tags for NamedCommandParameters (#6238) 2021-11-18 08:47:52 +00:00
Marxsal
f828a582c3 Adding tags for file paths (#6240) 2021-11-18 08:45:20 +00:00
Cameron Fischer
a94f94f352 Trim whitespace is stylesheet viewer (#6241) 2021-11-18 08:43:15 +00:00
Marxsal
9f34a01577 Add tag 'Operator Examples' days of the week tiddler set (#6224) 2021-11-17 12:18:57 +00:00
Marxsal
9cd49ed485 Add tag 'Widget Examples' to 3 sample tiddlers (#6226) 2021-11-17 12:15:03 +00:00
Marxsal
4ea1a05af6 Add tag 'Variable Examples' to 3 tiddlers (#6227) 2021-11-17 12:14:42 +00:00
Marxsal
b6eb6d477b Message tm-open-window enhancements (#6188)
* Message tm-open-window enhancements

* Add Messages tiddler. Enhance its description.
2021-11-17 12:13:01 +00:00
jeremy@jermolene.com
cce18d8e2e Merge branch 'tiddlywiki-com' 2021-11-17 09:33:55 +00:00
Marxsal
45d469ca5c Fix tag 'Hidden Settings' on 'Hidden Setting: New-Image Type (#6225) 2021-11-16 22:41:24 +00:00
Marxsal
fbee714ffe Add tags to route to widgets file path (#6223) 2021-11-16 22:06:04 +00:00
Bram Chen
2429dcc2e2 Add chinese translations of control panel UI for inspecting template cascades (#6219) 2021-11-16 17:01:57 +00:00
Marxsal
4d84422f22 Add tag 'Macro Examples' to examples of macros (#6220) 2021-11-16 17:01:43 +00:00
jeremy@jermolene.com
d98bfbde58 Partial revert of "Add tag Demonstration to related tiddlers (#6213)"
See #6222

This reverts commit 7e32e2efcf.
2021-11-16 09:24:27 +00:00
Marxsal
983787a8f2 Tag changes to TW5 Magick and TiddlyMap Plugin (#6210) 2021-11-15 21:19:17 +00:00
Marxsal
7b83c22e78 Tag changes to Plugin Types (#6211) 2021-11-15 21:18:47 +00:00
Marxsal
c8c43b2811 Add new tag TaskManagementExample to related tiddlers (#6212) 2021-11-15 21:18:22 +00:00
Marxsal
7e32e2efcf Add tag Demonstration to related tiddlers (#6213) 2021-11-15 21:17:47 +00:00
eiro10
6f8e842105 tw5.com : Fix typo in ActionListopsWidget.tid (#6215)
* tw5.com : Fix typo in ActionListopsWidget.tid

* tw5.com : update modified field of ActionListopsWidget.tid

When editing a tiddler outside TW itself, this doesn't change automatically the modified field.
2021-11-15 21:17:10 +00:00
eiro10
ce99c0aa0f tw5.com : Fix typo in contributing.tid (#6216)
* tw5.com : Fix typo in contributing.tid

* tw5.com : update modified field of Contributing.tid

When editing a tiddler outside TW itself, this doesn't change automatically the modified field.
2021-11-15 21:16:36 +00:00
eiro10
3ff165402c tw5.com : Fix typo in list.tid (#6217)
* tw5.com : Fix typo in list.tid

* tw5.com : update modified field of list.tid

When editing a tiddler outside TW itself, this doesn't change automatically the modified field.
2021-11-15 21:15:59 +00:00
Jeremy Ruston
a350a76a00 Add "cascade" filter run prefix and use it to control view templates (#6168)
* Initial Commit

* Set currentTiddler and ..currentTiddler for filter evaulation

* Precompile the filters for performance

* Add explicit test for empty result when no filter passes

* Use the cascade filter run prefix to choose the view template body template

* Use the cascade mechanism to choose between the edit and view templates

* Simplify cascade filter

Thanks @saqimtiaz

* Add control panel UI for inspecting the template cascades

* Refactor import listing and plugin listing as alternate body templates

As suggested by @pmario

* Refer to $:/core/ui/{View|Edit}Template via their associated config tiddlers

* Fix typo in previous commit

* Add demo of custom story tiddler template

* Tweak control panel wording

* Standardise "Story Tiddler Template" nomenclature

* Add a cascade for the editor template body

* Add a cascade for the view template title

* Avoid unwanted whitespace

* Add a cascade for dynamically choosing tiddler icons
2021-11-15 21:06:47 +00:00
Marxsal
05b9dd1822 Add tag TaskManagementExample to ...Mordor... (#6218) 2021-11-15 18:40:08 +00:00
Saq Imtiaz
5207b1c127 Docs: add node.js related tag to relevant tiddlers (#6205) 2021-11-14 15:47:45 +00:00
Saq Imtiaz
267c351735 Docs: add "Widgets" tag to new docs tiddlers (#6195) 2021-11-14 15:47:19 +00:00
eiro10
f545418e55 Signing the CLA (#6206) 2021-11-14 15:45:10 +00:00
Marxsal
97dd832d2e More tag changes for file routing (#6199) 2021-11-14 09:12:19 +00:00
Marxsal
d7e7d87581 Add Filter tag to The Extended Listops Filters (#6201) 2021-11-14 08:47:53 +00:00
Marxsal
bd2efeaaa3 Add new tag 'Table-of-Contents Demonstrations' (#6202) 2021-11-14 08:47:07 +00:00
Marxsal
a206bf56b9 Add new tag 'GettingStarted' to Getting Started Tiddlers (#6204) 2021-11-14 08:42:43 +00:00
Marxsal
a33e94c4ee Correct tag names. Add missing tags (#6193)
* Correct tag names. Add missing tags

* Update _muritest_ by Simon Huber.tid

Auto PR didn't include this.

* Update _TiddlyServer_ by Matt Lauber.tid

Fixing tag
2021-11-13 08:48:52 +00:00
Saq Imtiaz
e9313b1c9d Update Hidden Setting_ Typin Refresh Delay.tid (#6187) 2021-11-09 19:44:15 +00:00
twMat
8096935d87 Update DateFormat.tid (#6186)
Ref [discussion](https://talk.tiddlywiki.org/t/help-me-improve-the-dateformat-doc)
2021-11-09 19:16:25 +00:00
Marxsal
dcb083abb0 Add example of actions attribute to SelectWidget documentation (#6181) 2021-11-08 16:59:17 +00:00
Telumire
6cc76fe6ab Update the tiddler "Simple ways to write protect tiddlers" to use data-tags (#6175) 2021-11-06 08:14:36 +00:00
Marxsal
4f8de1881c Increase specificity of doc-examples input (#6174) 2021-11-05 18:09:53 +00:00
jeremy@jermolene.com
9caba544eb Fix refreshing of codeblock widget
Fixes #6171
2021-11-05 08:28:56 +00:00
Marxsal
746a8ca17f Restore some docs re EditTextWidget (#6170) 2021-11-04 20:39:53 +00:00
jeremy@jermolene.com
2475e1b501 Merge branch 'tiddlywiki-com' 2021-11-04 20:34:01 +00:00
Marxsal
193628d63f Add note about exporting variables to 'Environmental Variables on Node.js' (#6169) 2021-11-04 17:53:09 +00:00
Saq Imtiaz
b6ce353a7d Fix: resolved search-replace operator regexp encoding bug (#6162)
* fix: resolved search-replace operator bug with $ character in replacement strings, added test and more examples

* fix: reset regexp after each title
2021-11-01 13:24:30 +00:00
btheado
7a50603d9d Added MessageHandlerWidgets and TriggeringWidgets tags (#6161) 2021-11-01 12:56:52 +00:00
btheado
d21fabca4b Docs: Fix filters selection constructors tag (#6154)
Add constructor tag to these filter operators:
* deserializers
* range
* storyviews

Remove constructor tag from
* enlist-input
2021-10-31 10:36:45 +00:00
btheado
daa9a8ae45 Add subfilter operator examples and mention when it is a constructor (#6155) 2021-10-31 10:36:03 +00:00
btheado
d9eb5499a3 Ensure the operator examples have unique id (#6153)
The first parameter of the operator examples macro is used for
constructing unique state tiddler titles. The cycle, log, and
match operators had duplicates, causing examples to share state
with each other.
2021-10-30 15:54:57 +01:00
jeremy@jermolene.com
870c7897ad Fix docs typos 2021-10-30 15:28:54 +01:00
jeremy@jermolene.com
95da1c2907 Update release note 2021-10-30 11:44:58 +01:00
Cameron Fischer
2bfe522b72 Add $let widget (#6148)
* $let widget added and tested

* Documentation for $let, doc improvements for $vars

* let properly avoids refreshing when possible

* $let Changes as recommended by others

* Removed superfluous super method call

Also improved $let test
2021-10-30 11:42:22 +01:00
Saq Imtiaz
c099bf9893 Extends :map filter run prefix to provide missing variables (#6149)
* Extends :map filter run prefix to provide the variables index, revIndex and length to bring it into line with :reduce

* update :maps examples

* docs: fix formatting issue with documentation
2021-10-30 10:04:50 +01:00
jeremy@jermolene.com
ab0dda1177 Merge branch 'tiddlywiki-com' 2021-10-30 09:54:55 +01:00
Saq Imtiaz
4f65953da9 Added zero based zth[] operator and documentation (#6150) 2021-10-30 09:52:38 +01:00
jeremy@jermolene.com
d77de61a06 Update docs for per-tiddler preview pane 3287cf56bb 2021-10-29 10:04:08 +01:00
Simon Huber
3287cf56bb Make editor-preview open on a per-tiddler basis (#5998)
* make editor-preview open on a per-tiddler basis

* use qualified state for showeditpreview

* fix added p tag

* Make tiddler-preview per-tiddler configurable

* Create ShowEditPreviewPerTiddler.tid

* Update ControlPanel.multids

* Create ShowEditPreviewPerTiddler.tid

* Update body.tid

* Update ShowEditPreviewPerTiddler.tid

* Update ControlPanel.multids

* Delete ShowEditPreviewPerTiddler.tid

* Delete ShowEditPreviewPerTiddler.tid

* Create Hidden Setting ShowEditPreviewPerTiddler.tid
2021-10-28 19:17:15 +01:00
Saq Imtiaz
b5c81d2721 Provide actionValue variable to actions fired by EditTextWidget (#6145)
* feat: provide actionValue variable to actions fired by EditTextWidget

* also extend CodeMirror engine to set actionValue variable when invoking actions
2021-10-28 19:15:50 +01:00
Maurycy Zarzycki
d3522854b6 Polish translation fixes (#6144)
* fix word used for the sidebar's "Open" tab header

"Otwórz" is a verb (to open), while "Otwarte" is an adjective (the ones which are open)

* fix "shadow tiddler" declension

* fix declension

* fix missing space

* fix declension

* fix invalid plugin version message to read better

Co-authored-by: Maurycy Zarzycki <maurycy@evidentlycube.com>
2021-10-28 09:59:27 +01:00
jeremy@jermolene.com
2f3f9de7be Fix typo in d5f72cb282
Fixes #6143
2021-10-28 09:18:54 +01:00
Simon Huber
6890952357 Make image-picker in theme tweaks not dismiss popup ... (#6015)
when clicking the system-images checkbox
2021-10-27 14:13:49 +01:00
Simon Huber
d695fca301 Add focus-editor text operation and use it where sensible (#6012)
* add and use focus-editor text operation

* add docs
2021-10-27 11:37:40 +01:00
Simon Huber
a0d2392f01 Update link-widget refresh method (#6013)
* update link-widget refresh method

* update link-widget refresh method
2021-10-27 11:37:08 +01:00
Jeremy Ruston
23b4e03cd5 Extend HTML tag parser to maintain an ordered array of attribute names (#6132)
* Extend HTML tag parser to maintain an ordered array of attribute names

* Add some tests for repeated attributes

* Record entire attribute in orderedAttributes array so that we can work with duplicated attributes
2021-10-27 11:35:12 +01:00
Jeremy Ruston
d5f72cb282 Set multiple fields/variables/params using filters (#6130)
* Add action-setmultiplefields and setmultiplevariables, and extend action-sendmessage

* Add getfield operator

* Remove getfield operator

See discussion at https://github.com/Jermolene/TiddlyWiki5/pull/6130#issuecomment-949911439

* Add docs

* Adjust whitespace

* Add support for assigning multiple indexes to action-setmultiplefields
2021-10-27 11:20:11 +01:00
jeremy@jermolene.com
5f57bf81cd Merge branch 'pr/4977' 2021-10-27 11:18:57 +01:00
Joshua Fontany
e32c9e4658 Feature tiddlywiki.files "searchSubdirectories" flag (#5275)
* experimenting

* recurse flag for directories in tiddlywiki.files

* searchSubdirectories docs

* filesystem cleanup to seperate PR

* cleanup

* improved docs
2021-10-27 11:16:05 +01:00
Joshua Fontany
2a73505508 Fix overwriting of modification fields when PUTting a tiddler #6075 (#6084)
* call self.displayError

* Revert "call self.displayError"

This reverts commit 5d599aa979.

* fix PUT bug with created/modified fields
2021-10-27 11:15:30 +01:00
jeremy@jermolene.com
4d87ef4231 Add a comment on the default value of tv-action-refresh-policy 2021-10-26 09:51:00 +01:00
jeremy@jermolene.com
71be167592 Clarify ActionWidget Execution Modes to include default value 2021-10-26 09:50:02 +01:00
Telumire
c543036a0f Add missing parameter to atan2 operator (#6142)
* Added missing trigonometrics filter operators

This PR adds support to trigonometry operators, allowing to create spider graphs and other geometric shapes with filters.

* Adds the missing trigonometric filter operators

This PR adds support to the missing trigonometric filter operators (cos, sin, tan, acos, asin, atan, atan2), allowing to create spider graphs, [pie charts, donut charts, polar charts](https://ffoodd.github.io/chaarts/pie-charts.html) and other geometric shapes with filters, which was previously not possible without add-ons.

Example :

`[[2]cos[]] = -0.4161468365471424`

See also this radar chart made in wikitext by @saqimtiaz using the new trigonometric operators :
https://saqimtiaz.github.io/sq-tw/temp/radar-chart-demo.html

* Add documentation for the Trigonometric Operators 

Accompanies code changes #6127

* Fix formatting of atan2 Operator.tid

Removed two empty lines at the end of the tiddler

* Add examples for the trigonometric operators 

Accompanies code changes Jermolene#6127

* Fix version in the doc for trigonometric operators

This PR fix the content of the documentation tiddlers regarding trigonometric operators (#6131). 

<<.from-version "5.1.20">> was changed to <<.from-version "5.1.21">>

* Fix formatting of atan2 Operator.tid

Removed two empty lines at the end of the tiddler

* Add missing parameter to atan2 operator

The atan2 operator needs two parameters (Binary Mathematics Operators), this PR adds the second one that was missing.

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/atan2 for more technical info on the atan2 function.
2021-10-25 21:13:18 +01:00
btheado
989947b99a Make filter operater examples live-editable (#6139)
* Make filter operator examples easily editable

* Add 'Reset' button to filter operator examples

* Only display the reset button when filter has changed

* Introduce '.doc-example input' class rather than re-use tc-advanced-search to make input wider

* Grab focus for the filter text box

* Fix firefox ctrl-z/undo issue by replacing list widget with filter transclusion

* Replace spaced indent with tabs to make it consistent with the other code
2021-10-25 16:35:57 +01:00
jeremy@jermolene.com
3d86d62a6e Minor tweaks to 0cfe6597d4 2021-10-25 16:29:53 +01:00
Mario Pietsch
0cfe6597d4 Add new improved "Icon Gallery" (#6112)
* add a core icon selector to the docs

* Add Icon Gallery and improve links to expose the function

* re-add the ImageGallery Example tiddler
2021-10-25 16:23:57 +01:00
jeremy@jermolene.com
8ae4428332 Fix $timestamp ignored for action-setfield widget when setting index values 2021-10-24 20:19:42 +01:00
Marxsal
81b4e99ccc Update LazyLoading.tid (#6099) 2021-10-22 14:35:25 +01:00
Telumire
2f133a08aa Add documentation and examples for the trigonometric filter operators (#6131)
* Added missing trigonometrics filter operators

This PR adds support to trigonometry operators, allowing to create spider graphs and other geometric shapes with filters.

* Adds the missing trigonometric filter operators

This PR adds support to the missing trigonometric filter operators (cos, sin, tan, acos, asin, atan, atan2), allowing to create spider graphs, [pie charts, donut charts, polar charts](https://ffoodd.github.io/chaarts/pie-charts.html) and other geometric shapes with filters, which was previously not possible without add-ons.

Example :

`[[2]cos[]] = -0.4161468365471424`

See also this radar chart made in wikitext by @saqimtiaz using the new trigonometric operators :
https://saqimtiaz.github.io/sq-tw/temp/radar-chart-demo.html

* Add documentation for the Trigonometric Operators 

Accompanies code changes #6127

* Fix formatting of atan2 Operator.tid

Removed two empty lines at the end of the tiddler

* Add examples for the trigonometric operators 

Accompanies code changes Jermolene#6127

* Fix version in the doc for trigonometric operators

This PR fix the content of the documentation tiddlers regarding trigonometric operators (#6131). 

<<.from-version "5.1.20">> was changed to <<.from-version "5.1.21">>

* Fix formatting of atan2 Operator.tid

Removed two empty lines at the end of the tiddler
2021-10-22 11:35:47 +01:00
jeremy@jermolene.com
6b17e688da Merge branch 'tiddlywiki-com' 2021-10-21 09:21:29 +01:00
jeremy@jermolene.com
8654066f03 Remove docs about editing a field of the containing tiddler
Doesn't apply post v5.2.0
2021-10-21 09:21:00 +01:00
Joshua Fontany
56dae90425 Fix $tw.utils.decodeURISafe and $tw.utils.decodeURIComponentSafe not available during boot process (#6107)
* call self.displayError

* Revert "call self.displayError"

This reverts commit 5d599aa979.

* fix 5999 URI utils bug
2021-10-20 16:25:05 +01:00
Telumire
1f6ef07860 Add trigonometric filter operators (#6127)
* Added missing trigonometrics filter operators

This PR adds support to trigonometry operators, allowing to create spider graphs and other geometric shapes with filters.

* Adds the missing trigonometric filter operators

This PR adds support to the missing trigonometric filter operators (cos, sin, tan, acos, asin, atan, atan2), allowing to create spider graphs, [pie charts, donut charts, polar charts](https://ffoodd.github.io/chaarts/pie-charts.html) and other geometric shapes with filters, which was previously not possible without add-ons.

Example :

`[[2]cos[]] = -0.4161468365471424`

See also this radar chart made in wikitext by @saqimtiaz using the new trigonometric operators :
https://saqimtiaz.github.io/sq-tw/temp/radar-chart-demo.html
2021-10-19 15:56:08 +01:00
Telumire
f30a455ee3 Signing the CLA (#6128)
see https://github.com/Jermolene/TiddlyWiki5/pull/6127
2021-10-18 09:06:49 +01:00
btheado
03bd99cd11 Docs: fix invalid html comment in operator template #6100 2021-10-11 12:01:34 +01:00
btheado
cc389ec82b Improve $action-listops attribute docs (#6104)
* Added comparisons of $filter, $subfilter, and $tags attributes

* Added comparison between action-listops and action-setfield widgets
2021-10-11 11:59:47 +01:00
btheado
f85678b6dc Signing the CLA (#6103) 2021-10-11 11:52:29 +01:00
Marxsal
8d7c869072 Changes to TiddlyServer by Matt Lauber (#6094)
This version of the project is not maintained. I've noted this and added a link to Arlen Beiler's community reference. I suppose it could be deleted entirely, but might be useful for historical purposes?
2021-10-08 19:09:17 +01:00
Marxsal
8f592d3f0a Documentation - Installing Nodejs fixes (#6085) 2021-10-04 09:48:44 +01:00
jeremy@jermolene.com
1f2e0ed189 Placeholder banner image for v5.2.1 2021-10-03 16:17:15 +01:00
jeremy@jermolene.com
4d6c428ba9 Preparation for v5.2.1-prerelease 2021-10-03 15:46:25 +01:00
jeremy@jermolene.com
d095aa0182 Version number update for 5.2.0 2021-10-03 15:29:21 +01:00
jeremy@jermolene.com
15bf850280 Update plugin library for prerelease 2021-10-03 15:28:40 +01:00
jeremy@jermolene.com
62b273266e Update readme.md and contributing.md for v5.2.0 2021-10-03 15:26:45 +01:00
jeremy@jermolene.com
1d058177be Move v5.2.0 release note and prepare v5.2.1 release note 2021-10-03 15:25:36 +01:00
jeremy@jermolene.com
14676b345a Update modified dates for release note and hellothere 2021-10-03 15:21:02 +01:00
jeremy@jermolene.com
a50e6eed38 Merge branch 'tiddlywiki-com' 2021-10-03 15:12:55 +01:00
Saq Imtiaz
073a064ae8 Fixed typo in relese notes (#6083) 2021-10-03 15:11:03 +01:00
jeremy@jermolene.com
e00a3d3cb4 Update release note with an "Other Notable Improvements" section 2021-10-03 13:06:08 +01:00
jeremy@jermolene.com
68d9200a6b Breakup the action widgets execution modes documentation 2021-10-03 13:05:48 +01:00
jeremy@jermolene.com
2551bb3e3f Update release note 2021-10-03 11:40:35 +01:00
jeremy@jermolene.com
80b18e6315 Update JSON store area docs 2021-10-03 11:40:27 +01:00
Maurycy Zarzycki
e0561397f1 Added Polish translation (#6079)
* add Polish translation

* tweak Polish translations to make certain things moree readable

primarily changed translation of "story river" to keep using the English
phrase, but also some other phraes that were awkward when I used the
translation

* add polish flag icon

* add polish translation notes

* replace 'ukryte tiddlery' with 'tiddlery-cienie'

Co-authored-by: Maurycy Zarzycki <maurycy@evidentlycube.com>
2021-10-03 09:19:48 +01:00
jeremy@jermolene.com
b9c3c38edc List widget: Clarify performance optimisation impact of counter attribute 2021-10-02 18:27:50 +01:00
lin onetwo
077ced0d1a Fix: add text to QR Code button caption (#6082) 2021-10-02 18:09:11 +01:00
jeremy@jermolene.com
e5ff84035c Minor fixes to introduction edition 2021-10-02 17:31:02 +01:00
jeremy@jermolene.com
e18a983209 Update dynaview demo viewtemplate with latest core changes 2021-10-02 17:22:24 +01:00
jeremy@jermolene.com
6f61fa07fb Update view template to use whitespace trim 2021-10-02 17:22:10 +01:00
jeremy@jermolene.com
d5d73e02e9 Fix bug with innerwiki template
The problem was that the innerwiki template included the tiddler $:/plugins/tiddlywiki/railroad, which was omitted from the wiki. Unexpectedly, missing tiddlers were rendered by the jsontiddler widget as an empty object {}. The fix is to always include the title when the tiddler is missing.

Also cleaned up the template to remove unneeded tiddlers
2021-10-02 16:17:07 +01:00
Maurycy Zarzycki
4ba7454d8d Signing the CLA (#6078) 2021-10-01 13:26:00 +01:00
Mario Pietsch
5192a39830 Update German translations (#6077) 2021-09-30 15:46:33 +01:00
jeremy@jermolene.com
aa5413b942 Fix incomplete sentence in MessageCatcherWidget docs 2021-09-30 10:34:27 +01:00
Xavier Cazin
ef284e9bde Update the Android section in Saving via WebDAV (#6069) 2021-09-28 10:22:35 +01:00
Cameron Fischer
9c41fe1d18 JSONTiddler a little more extensible (#6057)
As per discussion #6043
2021-09-27 14:23:52 +01:00
jeremy@jermolene.com
e577cf7302 Render command: verbose mode should print title before rendering
Fixes #6067
2021-09-24 18:40:34 +01:00
jeremy@jermolene.com
ebf563ac70 Additional transliteration pairs
Fixes #6066
2021-09-24 18:29:40 +01:00
jeremy@jermolene.com
909340c6fe Release note tweaks 2021-09-24 12:15:19 +01:00
jeremy@jermolene.com
df6d38df65 Update release note 2021-09-24 12:00:07 +01:00
jeremy@jermolene.com
59a53e695b Further refine date format tokens for day of year and weekday number
See f223896c26
2021-09-23 10:09:27 +01:00
jeremy@jermolene.com
6d17505f7b Fix typo in DateFormat docs 2021-09-23 07:41:06 +01:00
Jeremy Ruston
36dd8ea1d2 Optimise wiki.sortTiddlers() (#6053)
* Optimise wiki.sortTiddlers()

* Remove local changes to test-filters.js that have now been made on master

Makes the subsequent merge easier

* Fix bug with numeric sorts of textual values
2021-09-22 13:44:35 +01:00
Saq Imtiaz
b965ae926b Fix(action-confirm): check if event is defined before accessing its properties (#6063) 2021-09-22 13:43:02 +01:00
jeremy@jermolene.com
f6eadbd1c9 Fix crash with reading invalid JSON files 2021-09-22 12:56:55 +01:00
jeremy@jermolene.com
bdbb884be0 MessageCatcher: Fix stack overflow when re-issuing a trapped message
This makes it possible to trap a message and then re-issue the same message within the action string without an infinite loop.
2021-09-20 16:46:26 +01:00
jeremy@jermolene.com
0be39cfbc2 More sorting tests to help with #6053 2021-09-20 11:04:37 +01:00
Saq Imtiaz
ef2aeac7de Added modulesproperty filter operator and extended modules operator (#6055)
* Added modulesproperty filter operator and extended modules operator. Docs included

* Removed spurious new line
2021-09-20 08:25:53 +01:00
Cameron Fischer
157afda2fc Change backlinks to use LinkedList (#6050) 2021-09-19 19:58:45 +01:00
jeremy@jermolene.com
fb4d77ef46 Improved fix for #5701
Reverts dbd3f835bf

Fixes #6042
2021-09-19 13:28:58 +01:00
Cameron Fischer
575c233597 Update untagged filter to avoid $tw.utils.pushTop (#6034) 2021-09-18 16:47:46 +01:00
Saq Imtiaz
2e59d770f7 Fix eventcatcher widget: check for event properties before accessing (#6048) 2021-09-18 15:08:15 +01:00
Soren Bjornstad
baf0ee9cde Remove stray characters in example of :map prefix (#5963)
The `get[` here isn't valid and looks like a copy-paste error.
2021-09-18 15:04:50 +01:00
Soren Bjornstad
af89bb591d Sign CLA (#6049) 2021-09-18 15:03:42 +01:00
Mario Pietsch
d0dec741ad katex-plugin: fix #6041 add automatic numbering reset to KaTex style-sheet (#6046)
* katex-plugin: fix #6041 add automatic numbering reset to KaTex style-sheet

* fix typo
2021-09-18 09:45:17 +01:00
jeremy@jermolene.com
33a82e395e Revert tiddlylink font weight to match v5.1.23
Otherwise links to missing tiddlers are too skinny
2021-09-17 15:11:29 +01:00
jeremy@jermolene.com
f223896c26 Refine date format tokens for weekday number, and add support for day of year
See discussion at https://groups.google.com/g/tiddlywiki/c/tf23ByDXzxM/m/5Wx7PV36AwAJ
2021-09-17 14:52:08 +01:00
Saq Imtiaz
de33b365ae Fixed refresh bug with radio widget where the tc-radio-selected class is not correctly updated (#6044) 2021-09-17 12:52:27 +01:00
Cameron Fischer
e9d8547a81 Optimise LinkedList filter ops to return iterator instead of array (#6035)
* filter ops don't LinkedList to array anymore

* LL.tiddlerIterator -> LL.makeTiddlerIterator

LinkedList method name change.
2021-09-16 22:22:44 +01:00
Cameron Fischer
dcff318a98 Fix wiki.eachShadow returns overridden sources (#6036)
It was returning the underlying shadows before, even if overridden, which
was causing some bugs.

Fixes #6033
2021-09-16 20:08:11 +01:00
jeremy@jermolene.com
f725123690 Simplify freelinks regexp
As discussed here: https://github.com/Jermolene/TiddlyWiki5/issues/6029#issuecomment-917612980
2021-09-14 10:22:27 +01:00
jeremy@jermolene.com
e9e5d37ff0 Draggable widget: Add option to hide drag image
Thanks @ericshulman

Fixes #6027
2021-09-12 14:20:03 +01:00
jeremy@jermolene.com
f70cee6907 Add new date format tokens for weekday number
See https://en.wikipedia.org/wiki/ISO_8601#Week_dates
2021-09-12 11:53:46 +01:00
jeremy@jermolene.com
1491339f50 Update KaTeX version number 2021-09-12 10:56:39 +01:00
jeremy@jermolene.com
8a5ed59ff4 Release note update for KaTeX 2021-09-12 10:55:33 +01:00
jeremy@jermolene.com
a2ca5e4d1e Update KaTeX to v0.13.18 2021-09-12 10:54:54 +01:00
jeremy@jermolene.com
fba993502d Revert some of the UI changes for downloading external-js
See https://github.com/Jermolene/TiddlyWiki5/pull/5570#issuecomment-892127428
2021-09-12 10:48:17 +01:00
jeremy@jermolene.com
9fae3a932b Release note: Emphasise more flexible parsing of macros 2021-09-12 09:07:15 +01:00
Jieao Song
62610f0666 Add custom macro editor for KaTeX plugin (#5933)
* Add custom macro editor for KaTeX plugin

* Use list

* Better escape

* Tweaks

* Remove const

* Catch bad macros

* Capitalize tags

* Name KaTeX-macro tiddlers properly

* UI tweaks

* Move input string to temp

* Improve UI; import macros using LaTeX cmd directly
2021-09-10 21:28:13 +01:00
Cameron Fischer
7282ec5286 Fix getCacheForTiddler to cache falsy values (#5413)
* getCacheForTiddler can cache falsy values

* Switch to "!== undefined" for getCacheForTiddler
2021-09-10 21:17:35 +01:00
Simon Huber
9830e0104f Fix the EditTabIndex value applied to DomNodes which was '1\n' (#6022) 2021-09-08 14:50:11 +01:00
jeremy@jermolene.com
e6fd0caf6b Update range operator to use multiple operands
We still also support the old way of packing all three parameters into one operand with a delimiter
2021-09-07 17:16:09 +01:00
jeremy@jermolene.com
137df37bc7 Merge branch 'tiddlywiki-com' 2021-09-07 11:02:03 +01:00
Bram Chen
d895706199 Revise chinese translations in Imports.multids (#6024) 2021-09-06 08:16:14 +01:00
Xavier Cazin
6ed7d418b5 A few updates to the fr-FR translation + a typo correction in core Imports.multids (#6023) 2021-09-05 19:51:48 +01:00
jeremy@jermolene.com
62b8a83741 Avoid MSIE crash
Fixes #6014
2021-09-01 09:56:17 +01:00
Marxsal
e795b501ac Update Saving via WebDAV (#6011) 2021-08-31 09:19:10 +01:00
Marxsal
03228d8d20 Allow compare operator to appear on filter list (#6008) 2021-08-30 08:58:26 +01:00
jeremy@jermolene.com
c9c5d4cf79 Remove new docs from #5648
See https://github.com/Jermolene/TiddlyWiki5/pull/5648#issuecomment-907845331
2021-08-29 19:36:23 +01:00
Simon Huber
f5cc5bc6a1 Make stamp-dropdown items that are suffixed and prefixed ... (#6003)
... work for shadow tiddlers, too
2021-08-29 18:04:32 +01:00
Mario Pietsch
447494ad4d Fix some typos in the ViewTolbar button docs (#5974)
* fix some typos in the ViewTolbar button docs

* add missing fields to shadow. closes #5980
2021-08-29 17:50:28 +01:00
Simon Huber
c9f178ec87 Make Stamp-Dropdown sortable by Drag&Drop (#5981)
* Make stamp-dropdown reorderable by list-tagged-draggable macro

* Add stamp-dropdown ItemTemplate tiddler

* Make stamp-entries editable by ctrl-click

* Update stamp-dropdown-item-template.tid

* Add `tc-editortoolbar-stamp-button` class to stamp button

* Make stamp-dropdown look like before

* Update base.tid
2021-08-29 17:48:32 +01:00
jeremy@jermolene.com
33be326ef6 Add from-version banner to search-replace operator "m" flag 2021-08-29 17:45:59 +01:00
Simon Huber
c13f04d838 Add m flag for multiline matches to search-replace filter operator (#5968)
* add m flag to search-replace operator and add tests

* update documentation

* Update test-filters.js

* Update test-filters.js

* Update search-replace Operator (Examples).tid

* Fix "Hello There" title (HelloThere)
2021-08-29 17:44:34 +01:00
Mohammad Rahmani
737685149c Plugins tab in control panel display tabs using tag filter instead of hardcoded list (#5694)
* Plugins tab in control panel display tabs using filter instead of hard coded list

* Update ControlPanelPlugins.tid

The two entries `[[$:/core/ui/ControlPanel/Plugins/Installed]] [[$:/core/ui/ControlPanel/Plugins/Add]]` were removed from list filed as per @Jermelon confirmation!

* Create SystemTag_ $__tags_ControlPanel_Plugins.tid

Update the SystemTags documentation tiddler
2021-08-29 17:35:18 +01:00
Joshua Fontany
33eef0202d Adds $tw.utils.decodeURISafe and $tw.utils.decodeURIComponentSafe (#5999)
* call self.displayError

* Revert "call self.displayError"

This reverts commit 5d599aa979.

* fixes decodeURI & decodeURIComponent
2021-08-29 13:39:32 +01:00
jeremy@jermolene.com
a67b1b8bb5 Fileserver: Check for valid file paths 2021-08-28 13:16:54 +01:00
jeremy@jermolene.com
124b49456a MessageCatcher: Expose lists of the message property names 2021-08-21 12:50:38 +01:00
Saq Imtiaz
24956087cc Do not add X-Requested-With header for simple requests (#5931) 2021-08-17 09:56:52 +01:00
jeremy@jermolene.com
199ca57f1c Release note tweaks 2021-08-15 18:13:02 +01:00
jeremy@jermolene.com
64d53ac533 Release note: Optimised Refreshing of Transclusions
A first attempt to write up the consequences, including the impact on broken JS macros. The problem is that there's not really a simple fix that we can give.

The best I can think of is not good enough: a $:/config/ tiddler that globally controls whether the transclude widget uses the new selective refreshing.
2021-08-15 13:17:59 +01:00
Cameron Fischer
b3accbf9e0 Fakedom: use text encoder for html text (#5950) 2021-08-12 16:46:11 +01:00
Joshua Fontany
99249a3160 Fix syncer logout alert (#5936)
* call self.displayError

* Revert "call self.displayError"

This reverts commit 5d599aa979.

* fix Syncer logout alert
2021-08-05 14:50:22 +01:00
Jieao Song
f7cd8bad3a Signing the CLA (#5938) 2021-08-05 14:42:28 +01:00
jeremy@jermolene.com
e9613d7f12 eventcatcher widget: Add viewport-relative coordinates
This is useful because we get viewport relative coordinates from the link and action-navigate widgets
2021-08-05 08:35:44 +01:00
jeremy@jermolene.com
97dff042f7 Reveal widget: fix crash when popup tiddler is refreshed but the popup is not displayed 2021-08-04 17:00:42 +01:00
jeremy@jermolene.com
32b36fb2af Update New Release Banner with winning artwork from Frank B 2021-08-04 11:58:04 +01:00
jeremy@jermolene.com
41535150dd Fix docs typos in "Customising Tiddler File Naming" 2021-08-03 20:47:44 +01:00
jeremy@jermolene.com
8e69284e8c Updated Catalan translation from Paco Riviere 2021-08-01 15:19:14 +01:00
jeremy@jermolene.com
61cfac4eeb Fix typo in release note
Thanks @twMat
2021-07-30 16:33:00 +01:00
jeremy@jermolene.com
2720072b23 Text editor: fix crash when assigning new value to file input controls
Fixes #5911
2021-07-30 16:31:42 +01:00
Joshua Fontany
0413c3a38e Fix syncer error handling for getStatus (#5914) 2021-07-30 16:21:02 +01:00
Mario Pietsch
f2b30c1fe0 tabs-macro: improve info about the "default" parameter (#5904) 2021-07-30 16:19:23 +01:00
Simon Huber
3c86cf7d2e Add pop storyview to ViewToolbar buttons (#5910)
* Add pop storyview to ViewToolbar buttons

* Update title.tid
2021-07-30 16:11:27 +01:00
jeremy@jermolene.com
451074f7ed Fix typo in release note
Thanks @twMat
2021-07-29 12:41:26 +01:00
Saq Imtiaz
1e5601ca31 Fix inaccuracies in documentation for duplicateslugs[] (#5918) 2021-07-29 11:39:20 +01:00
jeremy@jermolene.com
75c99cd235 Merge branch 'tiddlywiki-com' 2021-07-27 19:33:36 +01:00
jeremy@jermolene.com
bb2c2be9b6 Remove file erroneously committed in c4a7ae3164 2021-07-27 19:33:20 +01:00
jeremy@jermolene.com
53c247b9a1 Merge branch 'tiddlywiki-com' 2021-07-27 19:30:44 +01:00
Mario Pietsch
82667d9d16 Add indentation to $:/core/ui/Components/plugin-info (#5777)
* Add indentation to plugin-info, to make the macros readable.

* add missing indent
2021-07-26 21:59:02 +01:00
Bram Chen
97ed2757f0 Revise chinese translations (#5915) 2021-07-26 14:31:43 +01:00
jeremy@jermolene.com
19fd5ca5f2 Remove erroneous \s from field name check
Fixes #5905
2021-07-22 16:55:17 +01:00
jeremy@jermolene.com
6ae78a770f Fix erroneous bolding of links
An accident from f97850dd05
2021-07-19 14:03:12 +01:00
jeremy@jermolene.com
04962b4cd6 Update release note 2021-07-19 12:56:18 +01:00
jeremy@jermolene.com
f97850dd05 Update "Snow White" font-family and font-weight
Fixes #5896
2021-07-19 12:54:57 +01:00
jeremy@jermolene.com
2cb3ed3ab9 Change tab switching shortcuts to alt-ctrl-left/right
Fixes #5889
2021-07-16 13:06:49 +01:00
jeremy@jermolene.com
a4421f50c6 Git{hub|ea|lab} saver should wikify commit messages
Proposed in discussion https://github.com/Jermolene/TiddlyWiki5/discussions/5886#discussioncomment-1012593
2021-07-16 12:04:05 +01:00
Saq Imtiaz
cb726f40fa Fix: bug with List Widget where the counter-last variable is not always accurately updated on refresh (#5883) 2021-07-15 21:59:07 +01:00
Arlen22
be026aa308 Revert "Add server sent events (#5279)" (#5880)
This reverts commit 17b4f53ba2 according to Github Desktop.

git checkout that commit
revert commit in GitHub Desktop
git switch -c revert-sse
uncommit in Github Desktop
switch to master, bringing changes
resolve deletions with command line
2021-07-14 17:16:57 +01:00
jeremy@jermolene.com
0924ca6365 Update docs that mention store area 2021-07-14 13:08:19 +01:00
jeremy@jermolene.com
39fec2decf Update release note 2021-07-14 10:12:50 +01:00
jeremy@jermolene.com
dbfd45814d Search and replace "v5.1.24" to "v5.2.0"
As discussed in #5708
2021-07-14 09:21:37 +01:00
Jeremy Ruston
d455072f13 Add support for JSON-formatted tiddler store, and make it the default (#5708)
* Add support for JSON-formatted tiddler store, and make it the default

The change to `getTiddlersAsJson()` is to allow experimentation

* Move JSON tiddlers into their own store area, and fix support for encrypted tiddlers

Also add a dummy old-style store area for backwards compatibility

The current arrangement is that JSON tiddlers will always override old-style tiddlers.

* Use the deserialiser mechanism to decode the content

* Refactor $:/core/modules/deserializers.js before we start extending it

Cleaning up the helper function names and ordering

* Drop support for the "systemArea" div

It was only used in really old v5.0.x

* Update deserializer to support JSON store format and add some tests

* Life UI restrictions on characters in fieldnames

* Add another test case

* Correct mis-merge

* Remove toLowerCase() methods applied to fieldnames

* Insert line breaks in output of getTiddlersAsJson (#5786)

Rather than have the entire store on one line, insert a line break
after each tiddler.

* Refactor #5786 for backwards compatibility

* Only read .tiddlywiki-tiddler-store blocks from script tags

Prompted by @simonbaird's comment here: https://github.com/Jermolene/TiddlyWiki5/pull/5708#discussion_r648833367

* Clean up escaping of unsafe script characters

It seems that escaping `<` is sufficient

* Add docs from @saqimtiaz

Thanks @saqimtiaz

* Docs tweaks

* Remove excess whitespace

Thanks @simonbaird

* Fix templates for lazy loading

* Remove obsolete item from release note

* Clean up whitespace

* Docs for the jsontiddler widget

* Fix whitespace

Fixes #5840

* Comments

* Fix newlines in JSON store area

* Remove obsolete docs change

Co-authored-by: Simon Baird <simon.baird@gmail.com>
2021-07-14 09:15:30 +01:00
jeremy@jermolene.com
155525708b Update release note 2021-07-13 17:50:01 +01:00
jeremy@jermolene.com
fdca11dec3 Remove unneeded table class
I think this is a typo @pmario?
2021-07-13 17:49:52 +01:00
jeremy@jermolene.com
f83875331d Update release note 2021-07-12 19:36:36 +01:00
Saq Imtiaz
be6deb054e Update ActionCreateTiddlerWidget.tid (#5871) 2021-07-11 22:39:56 +01:00
Saq Imtiaz
b0604a9bf5 Update MessageCatcher docs to clarify usage (#5870) 2021-07-11 22:39:24 +01:00
Saq Imtiaz
30925ee7bf Update syntax for Eventcatcher (#5868)
* Update syntax for Eventcatcher to be consistent with MessageCatcher while being backwards compatible

* Update docs

* Update docs
2021-07-11 20:21:35 +01:00
Bram Chen
7204f442cd Add chinese translations for ExportTiddlyWikiCore/* (#5856)
* add ExportTiddlyWikiCore/Caption
* add ExportTiddlyWikiCore/Hint
2021-07-07 11:02:33 +01:00
cdruan
23fec9e390 Fix faulty external-js single-file wiki (#5570)
* Fix problems with building single-file wiki using external-js template

* core/templates/external-js/tiddlywiki5-external-js.html.tid,
  core/templates/external-js/save-all-external-js.tid,
  core/templates/external-js/save-offline-external-js.tid
  core/templates/external-js/load-external-js.tid:
  Fix #5343. Exclude client-server plugins in tiddler imports and to
  specify a working URL for loading tiddlywiki5.js from local disk.
  Mirror save/all and save/offline templates in the regular server
  edition.

  Fix #4717 (tiddlywiki5-external-js.html.tid)

* core/modules/saver-handler.js:
  Need the change to make single file autosave work with the external-js
  template.

* editions/server-external-js/tiddlywiki.info:
  Provide external-js related build targets.

* core/language/en-GB/Snippets/ExtJSReadme.tid:
  Temporary doc to supplement TW5.com's external-js section. Demonstrate
  that upgrade could be done on single-file wikis with an externalized
  TW core.

* core/language/en-GB/Snippets/GetTiddlyWikiJS.tid:
  Documentation. Meant to be included in every wiki and to help end
  users acquire tiddlywiki5.js.

* Pre-configure save-wiki template for end-users

* Remove the newline character at the end of the file.

* Trim "template" value in saveWiki()

* Safeguard the code from extraneous whitespaces in transcluded result.

* Rename and add versioning to downloaded tiddlywiki core JS

* Rename "tiddlywiki5.js" to "twcore-VERSION.js"

* Preload $:/config/SaveWikiButton/Template tiddler with the required
  external-js template value.

* Update external-js user documentation

* Add "download tiddlywiki core JS" menu item to the "cloud" button.

* Update build's target defintions associated with external-js template.

* Move the user doc to the tw5.com edition.

* Coding style update

* Undo template name changes

* Correct text & fill colors on some disabled buttons

* Add new "export tiddlywiki core" button under page control tools

This new button can export tiddlywiki's core JS from user's wiki as
long as the wiki is served with the regular "root" template. The
button will be ineffective, thus disabled, if the core has already been
externalized by the "external-js" template.

With this button, a full standalone html wiki can obtain the matching
core JS without TiddlyWiki on node.js. Once this is done, the html wiki
can be converted to using the "external-js" template.

* Alternate version of "save tiddlywiki core for offline use"

This version will fire up a "Save File" dialogue box when clicked,
instead of directing the user to a helper doc for further instruction.
It achieves this by using the "download" attribute of the <a> html tag.
It works on most modern desktop browsers, but older browsers (e.g. IE)
may display the file instead.

* Adjust font-weight to match other menu items

* Merge two user documentations into one

* Add user-browser-cache=yes to --listen command

* Update "export tiddlywiki core" button hint

* Simpler implementation for switching btw online/offline core URL

Shave off one template by using filtered transclusion to control
online/offline core URL.

* Update user doc

Update the user doc to clarify that build index step is not needed to
initialize a new wiki.

* Rename twcore to tiddlywikicore

* Reformat the user doc

* Rework export-tiddlywikicore button

Popup an error message instead of disabling the button when export
core cannot be performed.

* Revert "Correct text & fill colors on some disabled buttons"

This reverts commit e7dbb7e712.
2021-07-06 15:02:21 +01:00
RJ Skerry-Ryan
8d9dc0cd29 Markdown: Don't emit paragraph tags when a paragraph is "tight". (#5848)
* markdown: Don't emit paragraph tags when a paragraph is "tight".

Motivation: Since the upgrade to remarkable.js (#3876), lists are rendered as
HTML like this:

```
<ul>
  <li><p>One</p></li>
  <li><p>Two</p></li>
  <li><p>Three</p></li>
</ul>
```

The paragraph nodes insert blocks that break the visual flow of the list and are
unexpected e.g. compared to WikiText markup's rendering of a bulleted list.

Solution: remarkable.js annotates certain paragraph nodes as "tight", and in the
bulleted list case, the paragraph nodes wrapping the text of each list item are
marked tight.

remarkable uses the tight property to [elide paragraph tags in its
renderer](58b6945f20/lib/rules.js (L136-L142)).

This change implements the equivalent logic in TiddlyWiki's markdown rendering:
If a paragraph is marked tight, then we elide the `<p>` tag wrapping its children.

* Use ES5 Array.concat instead of ES6 spread operator.
2021-07-06 11:33:12 +01:00
RJ Skerry-Ryan
a1d9464011 Add optional KaTeX support to markdown plugin (#5846)
* Add optional KaTeX support to the tiddlywiki/markdown plugin.

Uses the remarkable-katex plugin 1.1.8 by Brad Howes to enable KaTeX support if
the tiddlywiki/katex plugin is installed. Fixes #2984.

TESTED:

Created a test wiki with:
```
$ node tiddlywiki.js test --init markdowndemo
$ node tiddlywiki.js test --listen
```

* Verified markdown support works without the tiddlywiki/katex plugin enabled.
* Verified markdown support works with the tiddlywiki/katex plugin enabled.
* Verified KaTeX (both inline and blocks) work as expected when the
tiddlywiki/katex plugin is enabled.

* Mention remarkable-katex plugin usage in the readme Tiddler.

* Include the remarkable-katex license as a tiddler.

* Include the Remarkable license.

* Include unminified original source of remarkable-katex 1.1.8.
2021-07-06 11:32:32 +01:00
jeremy@jermolene.com
0b71f25f74 Revert "Update sync methods (#5467)"
This reverts commit 8d7930f660.

See the discussion at https://github.com/Jermolene/TiddlyWiki5/pull/5467#issuecomment-873590578https://github.com/Jermolene/TiddlyWiki5/pull/5467#issuecomment-873590578
2021-07-05 19:26:20 +01:00
jeremy@jermolene.com
315464372f Version tags missed off 56068d8215 2021-07-05 10:09:04 +01:00
jeremy@jermolene.com
56068d8215 tm-navigate: add separate properties to access bounds of client rectangle
Makes it easier to use the client rectangle information within an action handler
2021-07-05 09:52:17 +01:00
RJ Skerry-Ryan
b95f6ca084 Signing the CLA (#5847) 2021-07-04 11:57:38 +01:00
twMat
4a7f078abd Update qualify.tid (#5845)
superfluous blockquoting
2021-07-03 17:43:20 +01:00
jeremy@jermolene.com
1b55eb9eee Docs improvements; missed off 3094e06236 2021-07-02 14:41:59 +01:00
jeremy@jermolene.com
3094e06236 Add support for full refreshing of action widgets
Fixes #5791
2021-07-02 14:33:38 +01:00
jeremy@jermolene.com
f87b3bfcdb Extend messagecatcher widget to allow setting multiple handlers at once 2021-06-30 16:17:59 +01:00
jeremy@jermolene.com
a0a0df9655 Update action-navigate widget with metakeys to match link widget 2021-06-30 16:11:21 +01:00
jeremy@jermolene.com
31c1584b9a Extend $tw.utils.removeArrayEntries to return the array 2021-06-30 16:10:52 +01:00
Saq Imtiaz
f1f951e849 Docs for macro parameters in filter operands (#5837) 2021-06-29 23:25:44 +01:00
Saq Imtiaz
041c3e817c Support for macro params in filter operands (#5836)
* Exploratory pass at adding support for macro params in filter operands

* whitspace correction

* rename varInfo to varTree for disambiguation

* Refactored parseMacroInvocation to be re-usable, performance improvements for variables with no params and tests

* Revised regular expression and removed spurious white space changes

* Revised regular expression and removed spurious white space changes

* More whitespace cleanup and added more tests for edge cases

* Added test for macro params with square brackets
2021-06-29 22:21:39 +01:00
jeremy@jermolene.com
70e60cd93f Remove whitespace from plugin text
https://github.com/Jermolene/TiddlyWiki5/pull/5708#issuecomment-870749131

Has no effect on functionality, but makes the prerelease index.html go from 6821151 to 6680944 bytes (saving 6680944-6821151=-140,207 bytes or (6680944-6821151)/6680944=2.1%
2021-06-29 22:17:16 +01:00
Tejasvi S. Tomar
54d8b8a373 Correct term usage (#5417) 2021-06-29 12:24:09 +01:00
GHSRobert Ciang
dd6bd58140 Update TiddlyWiki in the Sky for Dropbox.tid (#5832) 2021-06-29 12:09:16 +01:00
Saq Imtiaz
a6990128f1 Fixed bug introduced into transclusions for blank fields in #5736 (#5835) 2021-06-29 12:07:14 +01:00
jeremy@jermolene.com
338b7c92a2 Ensure tiddlers with fieldnames containing colons don't get saved in .tid file format
Prompted by discussion over at https://github.com/Jermolene/TiddlyWiki5/pull/5708#issuecomment-862399985
2021-06-27 21:27:57 +01:00
Mario Pietsch
a409536ad0 Prevent scrolling of the page when modals are displayed (#5816)
* prevent scroll-chaining in modals

* make body overflow hidden to prevent background scrolling
2021-06-27 16:24:06 +01:00
Joe Bordes
c9af04d0e5 New Spanish translation strings (#5822) 2021-06-25 17:57:17 +01:00
Saq Imtiaz
076a04fbfb Added docs for th-closing-tiddler hook (#5820) 2021-06-23 09:51:46 +01:00
jeremy@jermolene.com
83ee363cb4 Add charcode operator to make it easier to generate strings containing control characters
Avoids some confusing hacks. @saqimtiaz I'm guessing you might have already done something like this?
2021-06-22 21:52:00 +01:00
Adam Sherwood
63fa0c4fa4 Hook for closing tiddlers (#3797) 2021-06-22 19:51:35 +01:00
Bram Chen
644062fc21 Add chinese translations for import cancel warning (#5818) 2021-06-22 09:58:38 +01:00
Saq Imtiaz
021e9b8c4d :map filter run prefix with docs and tests (#5813) 2021-06-21 20:59:58 +01:00
Mario Pietsch
afa653a7aa Improve import cancel warning (#5812) 2021-06-21 20:58:58 +01:00
Mario Pietsch
0b56d5fd37 update German translation (#5811) 2021-06-21 12:14:36 +01:00
jeremy@jermolene.com
2da7ae0b73 Action-createtiddler: Ensure child widgets are refreshed before invocation
Fixes #5791
2021-06-14 18:13:51 +01:00
Álvaro González Rincón
4c56bd771a Signing the CLA (#5794) 2021-06-14 17:42:26 +01:00
Mario Pietsch
9c0d6a46cc Add "commentpragma" html style rule (#5726)
* html-comment, that can be used in the pragma area

* add commentpragma test

* fix typo

* fix typo and change comments ab bit

* combine html-comment and pragma-comment and add some docs, how to use it

* Make docs simpler by removing caching info

* change h2 wording
2021-06-14 17:39:56 +01:00
Saq Imtiaz
06318b7617 Pass reference to widget to CodeMirror (#5790) 2021-06-14 16:46:39 +01:00
Saq Imtiaz
8f9e8c1dee Keyboard widget: provide variable for shortcut descriptor to actions. (#5782) 2021-06-14 12:03:59 +01:00
Simon Huber
3cd80de5bb Revert #5720 and fix #5770 by removing :root { color-scheme: ... } 2021-06-14 11:01:00 +01:00
Simon Huber
f2e26927c1 Add test for event.event.target being undefined in the tm-focus-selector listener (#5771) 2021-06-14 10:59:31 +01:00
felixhayashi
960160b3a2 word break property when viewing field values (#1661) 2021-06-14 10:37:04 +01:00
Saq Imtiaz
4f33d2f35c Update release notes (#5780) 2021-06-11 18:15:07 +01:00
Odin
b5db488438 Update release notes 5.1.24 to 5.2.0 (#5754) 2021-06-11 17:56:45 +01:00
Simon Huber
6dd1887f0b Use event.event.view.confirm for confirmation messages in navigator.js and action-confirm.js (#5776) 2021-06-11 16:56:06 +01:00
Frank
a70b26cd55 Sign the CLA (#5774) 2021-06-09 21:32:31 +01:00
Simon Huber
219beb13cc Add test to storyviews if targetElement is null (#5767)
* Update classic.js

* Update pop.js

* Update zoomin.js

* simplify test in classic.js

* simplify test in pop.js

* simplify test in zoomin.js
2021-06-09 10:18:15 +01:00
Simon Huber
c18b7527a7 Fix #5760 - tm-focus-selector doesn't work in new windows (#5766)
* Pass the original event to invokeActionString

* Update rootwidget.js
2021-06-06 12:42:28 +01:00
Simon Huber
2f1806ab6a Keyboard widget: don't refresh when class changes (#5758) 2021-06-06 11:03:08 +01:00
Simon Huber
afa4ea3d03 Make navigation in new windows work for storyviews (#5759) 2021-06-06 10:47:19 +01:00
Simon Huber
2b911ac11f Make the insert- and remove-animations of storyviews work in new windows (#5755)
* Make classic storyview work in new windows, too

* Make pop storyview work in new windows, too

* Make zoomin storyview insert and remove animation work in new windows, too
2021-06-04 16:59:45 +01:00
jeremy@jermolene.com
c4a7ae3164 Add demo of drag and drop from a standalone HTML file 2021-06-03 14:14:11 +01:00
jeremy@jermolene.com
056e6541a1 Revert 582b156d5f: Refresh non-action widgets before invocation 2021-06-02 21:47:28 +01:00
jeremy@jermolene.com
753bf8fe62 Revert "Revert "Transclude widget: refresh selectively when needed (#5736)""
This reverts commit 4f9dd50382.
2021-06-02 21:45:06 +01:00
jeremy@jermolene.com
4f9dd50382 Revert "Transclude widget: refresh selectively when needed (#5736)"
This reverts commit 2e695801b1.
2021-06-02 19:14:05 +01:00
Saq Imtiaz
2e695801b1 Transclude widget: refresh selectively when needed (#5736)
* Transclude widget: only refresh when transcluded text reference has changed, includes tests

* Refactor wiki.parseTextReference so it is re-usable for getting the parser info

* Re-arrange methods in wiki.js to improve diff readability
2021-06-02 13:58:30 +01:00
jeremy@jermolene.com
55c522ab8f Improve comments
As per @pmario's comment at 582b156d5f (commitcomment-51566608)
2021-06-01 11:49:05 +01:00
jeremy@jermolene.com
9faaa31299 Extend action-createtiddler to make new title available as a variable
I'm not sure if the docs are clear, but this is quite a big deal, and along with 582b156d5f makes working with action widgets a lot easier.
2021-06-01 09:41:14 +01:00
jeremy@jermolene.com
582b156d5f Refresh non-action widgets before invoking them
Fixes #5744
2021-06-01 09:28:04 +01:00
Bram Chen
652e8b1262 Update chinese translations (#5740) 2021-05-31 07:37:01 +01:00
Joe Bordes
82ec63e711 style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
Joe Bordes
51fd02d9b6 i18n(en-GB) apply grammarly recommendations found while translating es-ES (#5733) 2021-05-30 18:51:44 +01:00
Joe Bordes
1a6d3e686b i18n(EditorPreview) translate difference view caption (#5732) 2021-05-30 18:49:57 +01:00
Joe Bordes
e694145eec i18n(es-ES) update to version 5.1.23 (#5731) 2021-05-30 18:49:03 +01:00
Joe Bordes
8b8f654c9c Signing the CLA (#5730) 2021-05-30 18:47:34 +01:00
Miha Lunar
9b247f6d63 Removed fallback range logic 2021-05-29 20:30:04 +02:00
Simon Huber
3a740b23bb Add tc-small-gap-right to tag-pills in tags editTemplate (#5727) 2021-05-27 14:07:50 +01:00
jeremy@jermolene.com
082aeb92ac Revert "extend lookup op flexibility with 2 parameters (#5315)"
This reverts commit 81b5fe944a.

See https://github.com/Jermolene/TiddlyWiki5/pull/5315#issuecomment-848725198 for explanation
2021-05-26 13:25:19 +01:00
Bram Chen
903cfd98a6 Update chinese translations (#5704) 2021-05-26 07:54:05 +01:00
Simon Huber
eaf1da66b6 Add color-scheme: dark/light to the root element ... (#5720) 2021-05-25 22:22:21 +01:00
Mario Pietsch
c6ed4aa84e allow us to import formerly blocked system tiddlers (#5479) 2021-05-25 22:21:57 +01:00
Mario Pietsch
123666c240 Add th-before-importing hook mechanism (#5464) 2021-05-25 22:19:58 +01:00
Mario Pietsch
f342fdc41d improve setwidget examples and add a link to and from enlist operator (#5666) 2021-05-25 22:19:28 +01:00
Mario Pietsch
ca96f7f62b contain the long list inside a div which is 50% of vertical height (#5385) 2021-05-25 22:19:09 +01:00
Mario Pietsch
68930ceb1b Extend keyboard widget (#5648) 2021-05-25 22:18:37 +01:00
Saq Imtiaz
2f31eab8f4 Update docs for tabs macro (#5722) 2021-05-25 22:16:02 +01:00
Chris Nicoll
fcea51bb95 Fix typo in saqimtiaz username (#5721) 2021-05-25 21:06:30 +01:00
Joshua Fontany
8d7930f660 Update sync methods (#5467) 2021-05-24 21:16:23 +01:00
Saq Imtiaz
7a41283c6b Format:titlelist operator (#5665) 2021-05-24 19:28:43 +01:00
BlueGreenMagick
c30ce544d1 Fix ViewToolbar items inconsistent spacing (#5473) 2021-05-24 19:24:37 +01:00
Mohammad Rahmani
dcba17fc5f Correct pointer shape and color for disabled button (#5692)
* Update base.tid

this PR addresses the #5625

* Update base.tid

The extra space has been removed!
2021-05-23 18:13:04 +01:00
Mario Pietsch
2ab0474e14 Fix configuration list of HTML5 block elements (#5469) 2021-05-23 17:50:27 +01:00
Cameron Fischer
61714cbda3 Fixed super minor issue with import pragma (#5521) 2021-05-23 17:39:06 +01:00
jeremy@jermolene.com
8fbf52e419 Don't issue plugin reload warning for plugin-type: import
Fixes #5719
2021-05-23 11:19:46 +01:00
Xavier Cazin
3fe5b77770 Updates to fr-FR translations (#5718)
* fr-FR help for the use-browser-cache param of the listen command

* fr-FR dialog heading for drag&drop image import in editor

* fr-FR translations for PutForbidden & PutUnauthorized errors

* fr-FR translations for TiddlySpot and TiddlyHost saver information

* Update to fr-FR translations for named filters in $:/AdvancedSearch tab

* fr-FR translation update for the render command help

* fr-FR update to ModuleTypes translations

* fr-FR help update for the sse-enabled param of the listen command

* fr-FR update to ControlPanel Basics information

* fr-FR translation improvements to TiddlerInfo captions and hints

* fr-FR translation for the Layout Switcher caption

* fr-FR translation updates for Layout-related information

* fr-FR translation for ConfirmAction

* fr-FR for the captions related to tag input clearing
2021-05-23 11:07:55 +01:00
jeremy@jermolene.com
485779f5b2 Fix crash when accessing variables in filters that don't have a widget context
This should catch a large number of crashes, including:

Fixes #5716
2021-05-22 20:00:24 +01:00
Saq Imtiaz
3fc7895af2 CurrentTiddler variable consistency in subfilters and prefixes (#5691)
* Make currentTiddler variable consistent in subfilters and filter run prefixes

* Updated filterun prefix and subfilter operators to use ..currentTiddler instead of outerCurrentTiddler
2021-05-22 19:43:37 +01:00
Saq Imtiaz
bf25c4d34a Docs for new system tag $:/tags/EditorTools (#5705) 2021-05-22 11:07:55 +01:00
Saq Imtiaz
10b20657cc Deserializers[] filter operator (#5673) 2021-05-22 10:50:11 +01:00
Saq Imtiaz
0003d70132 New text operation insert-text (#5707) 2021-05-21 10:35:40 +01:00
Joshua Fontany
81b5fe944a extend lookup op flexibility with 2 parameters (#5315) 2021-05-21 10:11:23 +01:00
Saq Imtiaz
c8528fd1f7 Update keyboard-driven-input_Macro.tid (#5712) 2021-05-21 10:02:35 +01:00
Chris Nicoll
07ac85d9fa Add demo for keyboard-driven-input (#5710) 2021-05-21 09:54:11 +01:00
Saq Imtiaz
270ead4701 Eventcatcher: Fixed FF and IE bugs, added stopPropagation attribute (#5711) 2021-05-21 09:43:20 +01:00
Nicolas Petton
1ddc3ab037 Add throttling for changed tiddlers prefixed with $:/temp/volatile/ (#5458) 2021-05-21 08:51:15 +01:00
Saq Imtiaz
05d38054c8 Drag and drop images in the editor to import and insert (#5699)
* Merge

* Clean up

* More clean up

* Ensure image import works when type is not set, clean up post import actions

* Removed spurious new line

* For non image files insert a tiddler link

* Added documentation for new settings and features
2021-05-19 21:52:43 +01:00
jeremy@jermolene.com
c7f6cedc43 Update release note 2021-05-19 14:23:54 +01:00
Mario Pietsch
ec1df7edf0 Fix whitespace in themes (#5700) 2021-05-19 14:12:12 +01:00
jeremy@jermolene.com
dbd3f835bf Fix crash when sorting by non-string fields
tags, list, created, modified are not stored as strings by default.

Fixes #5701
2021-05-19 14:10:39 +01:00
Odin
fe12a4adbf Update releasenotes 5.1.24 (#5670)
* Update releasenotes 5.1.24 

This includes changes up to 06-05-2021

* Incorporated feedback into release notes 5.1.24

Incorporated feedback and moved the '[[ActionPopupWidget]] to create floating popups that must be manually cleared' under widget improvements.
2021-05-19 13:21:22 +01:00
jeremy@jermolene.com
e84f214280 Add link to @sobjornstad's "Grok TiddlyWiki" 2021-05-19 11:08:48 +01:00
Saq Imtiaz
b267a71f2d Dropzone: persistent dragover state fix (#5688) 2021-05-16 14:01:46 +01:00
Bram Chen
e7b3f69162 Add chinese help texts for use-browser-cache (#5677) 2021-05-10 19:27:48 +01:00
FlashSystems
f4d7b2c7f7 Network performance optimizations for node.js (#5436) 2021-05-08 16:05:39 +01:00
ualich
e699cf1fe8 Display tiddler link in 'Target tiddler already exists' warning (#5672) 2021-05-06 12:25:29 +01:00
ualich
9cd65efad9 Signing the CLA (#5671) 2021-05-06 12:24:08 +01:00
jeremy@jermolene.com
d8ac00a108 TiddlyWebAdaptor: Avoid crashing if server sent events not available
Fixes #5663
2021-05-04 17:31:37 +01:00
Mario Pietsch
cf56a17f28 allow unusedtitle macro to use the prefix parameter and fix wiki.generateNewTitle() (#5361) 2021-05-02 19:26:50 +01:00
Saq Imtiaz
3f98686153 Extend <-popup> to create floating popups that must be manually cleared (#5655) 2021-05-02 10:20:39 +01:00
Saq Imtiaz
cb44cc0f2b Add :sort filter run prefix (#5653)
* Add :sort filter run prefix, docs and tests. Also extended .utils.makeCompareFunction with a flag for caseSensitivity.

* Documentation updates

* Move case sensitivity handling entirely to utils method so it is reusable
2021-05-01 13:58:40 +01:00
Saq Imtiaz
44df6fe52f Fixed issue with widget not being available to filter operator, added test (#5640) 2021-05-01 10:00:32 +01:00
Chris Nicoll
41200ab6d7 Fix #5310: docs for unique[] filter operator (#5651)
Co-authored-by: clutterstack <clutterstack@gmail.com>
2021-04-29 13:14:28 +01:00
Bram Chen
cb34c695b5 Update chinese error messages for the put saver (#5650) 2021-04-28 14:22:23 +01:00
Saq Imtiaz
07caa16e87 Extend dropzone to also use the specified deserializer for strings either dropped or pasted on to the dropzone. (#5601) 2021-04-27 10:15:27 +01:00
Simon Baird
30d23196b6 Add 401 and 403 error messages for the put saver (#5638) 2021-04-27 10:14:04 +01:00
Jeremy Ruston
bf773eb39a Add "average" filter operator for arithmetic mean (#5612) 2021-04-27 10:09:13 +01:00
jeremy@jermolene.com
4a99e0cc7d Change "index" attribute of list widget to "counter", and use 1-based counting
Extends #5611
2021-04-26 14:41:26 +01:00
Saq Imtiaz
e2379b599e Fixes Action-listops bug (#5644) 2021-04-26 11:29:16 +01:00
Saq Imtiaz
8203ee06c3 Allow suffixes for filter runs (#5252)
* Make filter run prefixes extensible

* Make filter run prefixes extensible

* Support rich suffixes for filter runs

* merged conflicts

* Pass suffixes to filterrunprefix
2021-04-25 19:37:47 +01:00
Mario Pietsch
ac15334bb0 Add support for disabled editor toolbar buttons & docs (#5294)
* add dynamic toolbar buttons + HowTo

* remove some whitespace.

* move howto and improve shortcut logic

* move howto

* add whitespace so it can be removed in an other PR.
2021-04-25 16:17:32 +01:00
Mario Pietsch
8849ed0d46 Fix refreshing of select widget when attributes change (#5635) 2021-04-25 16:05:02 +01:00
Miha Lunar
62fdaa633a Fixed fallback range logic + added ranges to tests 2021-04-25 16:03:35 +02:00
Miha Lunar
79f5e6b498 Merge remote-tracking branch 'origin/master' into parser-ranges 2021-04-25 13:17:44 +02:00
Miha Lunar
23bd7e7817 Replaced restructuring and added fallback comment 2021-04-25 13:12:45 +02:00
Saq Imtiaz
ca1cf7bb41 MessageCatcher docs: corrected typo (#5632) 2021-04-25 08:24:02 +01:00
Bram Chen
80133895ba Update chinese translations for Saving/TiddlySpot/ (#5633) 2021-04-25 08:22:03 +01:00
Simon Baird
792171c8fc Two typo fixups related to surplus tilde chars (#5627) 2021-04-24 15:42:02 +01:00
Simon Baird
5e236d35a5 Revise the TiddlySpot Saver settings form (#5628)
Mention TiddlyHost and link to some documentation on the
configuration options.

Also remove the TiddlySpot control panel and backups links since
they no longer work.

Notes:
* The last three fields are no use for TiddlySpot or TiddlyHost, but
  it's possible that someone, somewhere is still using the old
  store.php from Bidix's UploadPlugin, and would miss them if they
  were removed.

  I'd be happy to remove them in a future PR, if it's decided they
  can be retired.

  (If they were removed, I could delete the last row here:)
  https://github.com/simonbaird/tiddlyhost/wiki/TiddlySpot-Saver-configuration-for-Tiddlyhost-and-Tiddlyspot

* It's still called "TiddlySpot Saver" which I think is fine for
  now. TiddlyHost might use a different saving method in future
  so keeping the existing name seems best.
2021-04-24 08:54:44 +01:00
Simon Baird
051a468c63 Add info on TiddlyHost saving & revised TiddlySpot (#5622)
I updated the English text only. Will need some help with the
translations.

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

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

* Fix refreshing bug

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

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

* Use a mimeTypesFilter instead of the mimeTypes and mimeTypesPrefix attributes

* Updated refresh handling

* Syntax cleanup

* Replace references to mimeType with content type for consistency with existing documentation. Update documentation for DropZone widget
2021-04-10 09:48:50 +01:00
jeremy@jermolene.com
b9647b2c48 Ensure Fieldmangler widget doesn't propogate events that it traps
Fixes #5593
2021-04-08 16:56:36 +01:00
jeremy@jermolene.com
953fb9f237 BibTeX Plugin: Force fieldnames to be lowercase
Fixes #5591
2021-04-07 17:43:41 +01:00
jeremy@jermolene.com
b90aad9cea Fix typo in filtered permalink example
Fixes #5588
2021-04-06 13:13:12 +01:00
jeremy@jermolene.com
e2d35751e2 Rebuild readme.md and contributing.md 2021-04-05 10:11:29 +01:00
jeremy@jermolene.com
fdf89f83c2 Fix typo in v5.1.24 release note 2021-04-05 10:11:03 +01:00
jeremy@jermolene.com
dce425ecb8 Update release note
Apologies for the delay
2021-04-04 11:48:24 +01:00
jeremy@jermolene.com
55735d7552 BibTeX plugin: Report errors more sanely
Fixes #5581
2021-04-04 11:25:39 +01:00
jeremy@jermolene.com
a8fe653e3c Update contributing guidelines 2021-04-02 14:45:17 +01:00
jeremy@jermolene.com
013218b852 Further updates to contributing guidelines 2021-04-02 14:39:29 +01:00
jeremy@jermolene.com
c976aad5e0 Update the contributing guidelines
Following the discussion in #5484
2021-04-02 13:15:39 +01:00
jeremy@jermolene.com
28521d82f3 Revert "Extend transclude widget to optionally set variables"
Actually a partial reversion, because we're keeping the minor refactoring of makeChildWidget() in widget.js

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

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

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

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

* Add test cases for the "escapecss" filter operator

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

* Add missed files to the last commit
2021-04-02 09:25:01 +01:00
jeremy@jermolene.com
d6ea369f5e Edit text widgets should use default text for missing fields 2021-03-31 14:15:01 +01:00
Mario Pietsch
55e44a9554 This PR add tc-tiny-gap-xxx to the vanilla theme. It is similar to &nbsp; and should replace it. (#5574) 2021-03-29 16:45:12 +01:00
Saq Imtiaz
860568136f ViewSwitcher : use Button widget instead of LinkWidget (#5573) 2021-03-29 09:02:47 +01:00
Mario Pietsch
85835ebe42 fix 5424 add button is in new line (#5425) 2021-03-26 09:32:12 +00:00
Joshua Fontany
3d608892bd targeted fix for 5366 (#5416) 2021-03-26 08:42:31 +00:00
Joshua Fontany
5be647b610 Fix 4461 (#5522) 2021-03-26 08:41:41 +00:00
Joshua Fontany
a2e7cc51b5 Fix 5483 & 3483 (#5504) 2021-03-26 08:39:32 +00:00
FND
c3955c3cf9 Add another podcast link (#5567) 2021-03-24 21:21:45 +00:00
jeremy@jermolene.com
226df2ad7d Fix exporting of tiddlers that begin and end with double quotes 2021-03-23 09:27:16 +00:00
jeremy@jermolene.com
8d763f7682 Merge branch 'tiddlywiki-com' 2021-03-22 15:24:15 +00:00
jeremy@jermolene.com
f5887d9e25 Add a link to the community aggregator 2021-03-22 15:22:49 +00:00
jeremy@jermolene.com
7f202f35b4 Minor refactoring for clarity
See 9af68297cd (r48540814)
2021-03-22 09:50:54 +00:00
jeremy@jermolene.com
9c31ff1fb1 Use window.setTimeout(fn,0) for $tw.utils.nextTick in the browser
It seems that best practice has now moved to using zero:

https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
2021-03-22 09:08:32 +00:00
twMat
0beac47243 Update SelectWidget.tid (#5556)
Placeholder value - Correction of previous attempt.
2021-03-21 16:55:18 +00:00
twMat
99bef2614c Update SelectWidget.tid (#5555)
Added instrux for placeholder value. [Ref.](https://github.com/Jermolene/TiddlyWiki5/issues/5544)
2021-03-20 22:43:35 +00:00
Bram Chen
a44a8c31f0 Update chinese help texts for render command (#5553) 2021-03-20 09:43:36 +00:00
jeremy@jermolene.com
8aad7b00ab Render command: fix bug with multiple variable usage 2021-03-19 18:35:10 +00:00
jeremy@jermolene.com
a38dc17300 Extend render command to allow multiple variables to be passed 2021-03-19 17:09:53 +00:00
jeremy@jermolene.com
9af68297cd Fix transclusion refreshing
Missed off 80ee5adb14
2021-03-19 16:14:15 +00:00
jeremy@jermolene.com
80ee5adb14 Extend transclude widget to optionally set variables
Partially fixes #5199
2021-03-19 15:37:59 +00:00
cdruan
743d9c56c0 Signing the CLA (#5551) 2021-03-18 08:57:43 +00:00
Cameron Fischer
427eb6d085 Refactored filter tests to use nifty spyOn method (#5550) 2021-03-18 08:57:21 +00:00
Mario Pietsch
715ce6b603 Add tag: Community Edditions (#5548)
Add tag: Community Edditions
2021-03-18 08:54:54 +00:00
jeremy@jermolene.com
a6958bfe85 Fix css-escape-polyfill.js on old iOS
Fixes #5546
2021-03-14 10:34:41 +00:00
jeremy@jermolene.com
7b1a0c6e6a Fix ES5 issue
Fixes #5545
2021-03-14 10:27:05 +00:00
jeremy@jermolene.com
e157d16b72 Add data-tag-title attribute to tag pills
Fixes #5543
2021-03-13 13:19:12 +00:00
Mario Pietsch
05acf3dce4 fix wiki.search options invert init problem (#5542) 2021-03-12 21:12:06 +00:00
Quentin Minster
37fd52e6c9 Signing the CLA (#5536) 2021-03-10 22:33:50 +00:00
jeremy@jermolene.com
85646e5db3 Update tw5.com docs macro to allow macros within examples
This was supposed to be committed before 9eda02868
2021-03-09 18:11:36 +00:00
jeremy@jermolene.com
9eda02868f Introduce messagecatcher widget 2021-03-09 18:07:07 +00:00
jeremy@jermolene.com
8980927b54 Build empty.html with the main edition
So that we get the OfficialPluginLibrary tiddler added in c69a3e827 included in the empty prerelease
2021-03-09 09:23:46 +00:00
jeremy@jermolene.com
c69a3e827a Include correct plugin library in prerelease edition 2021-03-08 23:01:55 +00:00
twMat
3c9ee052a3 Update SystemTags.tid (#5530)
Interestingly, in spite of the missing quote characters, the tiddler renders well on 

https://tiddlywiki.com/#SystemTags

but not on 

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

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

I also simplified the radio widget example because putting all the options on one line with a vertical bar separator is not a common way to display radio buttons.
2021-03-07 10:23:14 +00:00
jeremy@jermolene.com
d56e8764a1 Button widget: apply aria-expanded attribute when controlling a popup
Addresses (1) and (5) from #5519
2021-03-01 17:59:29 +00:00
Bram Chen
e84c87ef37 Update chinese language files (#5514)
* Add chinese descriptions for module-type `utils-browser`
* Fixed typos
2021-02-23 17:26:17 +00:00
jeremy@jermolene.com
ef76349c37 Add support for utils-browser modules 2021-02-22 12:11:39 +00:00
jeremy@jermolene.com
010fa140c7 Bug issue template: Add section about configuration 2021-02-20 10:43:01 +00:00
jeremy@jermolene.com
625ea364c4 Fix typo in Chinese (Simplified) 2021-02-17 12:49:45 +00:00
morosanuae
5ad1193eb6 Create TW Icons by morosanuae.tid (#5495) 2021-02-13 20:16:06 +00:00
jeremy@jermolene.com
0ed32fded9 Freelinks: Add a filter for which tiddlers can be the targets of freelinks 2021-02-13 12:03:35 +00:00
jeremy@jermolene.com
50d0b6ee50 Modals: don't crash if options.event is missing
Raised here:

https://groups.google.com/d/msgid/tiddlywiki/3E83D2D3-42B2-4AA1-A042-52AB1D7B9B15%40gmail.com
2021-02-13 10:28:31 +00:00
Cameron Fischer
c0dc2669c0 Preallocating in LinkedList's toArray method (#5488) 2021-02-11 13:39:50 +00:00
jeremy@jermolene.com
40d21f607a Docs: Minor formatting tweaks
I was cloning this docs tiddler to experiment with docs for a new widget and noticed some punctuation inconsistencies
2021-02-07 12:48:06 +00:00
Joshua Fontany
bfa062f23d Fix filesystem (#5465) 2021-02-04 16:11:07 +00:00
jeremy@jermolene.com
9f9ce6595b Make it easier to subclass the wikitext parser with a custom rule set
We can now pass arrays of rule classes to the parser constructor, overriding the rules that would normally be used by the parser.

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

It could also provide a basis for a new Markdown parser based on our existing wikitext parser but with new rules.
2021-02-03 15:13:56 +00:00
Simon Baird
12f1847475 Support upload saver without username/password (#5455)
The default behaviour is unchanged, but if you write "yes" to
$:/UploadWithUrlOnly then it will assume it's possible to upload
with a blank username and password, as long as the host is set.

The motivation is to support a upload plugin compatible upload
service that uses some method to authenticate other than the legacy
upload plugin user/password params.

Without this patch, the user would need to enter something random in
the user and password fields for TW to decide the upload plugin can
be used.
2021-01-31 15:32:18 +00:00
jeremy@jermolene.com
f2aba29d94 Update to KaTeX v0.12.0 2021-01-31 15:11:12 +00:00
Nicolas Petton
6a55069609 Fix the right margin of tags used outside of the tags wrapper (#5440) 2021-01-29 18:16:41 +00:00
Dyllon Gagnier
3eefb3cce6 Fix backtracking issue with regex (#5401)
There was an unnecessary
2021-01-29 15:26:25 +00:00
Dyllon Gagnier
2b41661721 Signing the CLA (#5445)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2021-01-29 15:25:43 +00:00
jeremy@jermolene.com
a360adbba9 Ensure dropzone is full size even if story river is empty
Thanks @jeremyredhead

Fixes #5446
2021-01-29 15:22:43 +00:00
Cameron Fischer
4c7dcb83d1 Fix for #3306, inline/block widget glitch (#5452)
* Fix for #3306, inline/block widget glitch

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

* Forgot that parseBlocks doesn't use options
2021-01-29 14:57:30 +00:00
Mario Pietsch
010158db81 Fix tiddler info area content bleeding on close animation (#5453) 2021-01-29 14:34:06 +00:00
Cameron Fischer
45355a7fcf Wikirules now use better macrocall parser (#5451)
* wikirules now use better macrocall parser

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

* style changes and removing weird switch statement

That switch statement made more sense in an earlier iteration.

* comment improvements

* oops, wikirule macrocalls could do ONE thing better

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

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

Delete file with illegal character in filename

* replace file without illegal character

* fixed ext
2021-01-27 17:18:54 +00:00
FlashSystems
2e47f277ac Fix blank favicon if root-tiddler=$:/core/save/lazy-images is set (#5423)
If image lazy loading is used with node.js the favicon is blank. The
line `-[!is[system]is[image]]` excludes only non system images from
begin saved as full tiddlers. But the `[is[image]]` line includes system
images as skinny tiddlers. The created HTML file has all system image
tiddlers (as the favicon) listed twice. And the skinny tiddler seems to
win in this case and breaks the display of the favicon.

This patch fixes this issue by excluding system images from the skinny
tiddlers list.
2021-01-21 17:07:28 +00:00
FlashSystems
ea12994f47 Signing the CLA (#5421)
...to contribute some code.

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2021-01-21 17:07:13 +00:00
jeremy@jermolene.com
b4605e3573 Merge branch 'tiddlywiki-com' 2021-01-21 17:05:58 +00:00
jeremy@jermolene.com
674d55db06 Docs typo 2021-01-21 17:02:21 +00:00
leehawk787
678ec7b3dd Update Saving to a Git service.tid (#5427) 2021-01-21 17:00:38 +00:00
leehawk787
53ebfffedf Update cla-individual.md (#5426)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2021-01-21 16:59:39 +00:00
BlueGreenMagick
1ec532ea50 Update WikiRuleModules.tid (#5429) 2021-01-21 16:57:12 +00:00
BlueGreenMagick
3c3f1b60c6 Update cla-individual.md (#5428) 2021-01-21 16:56:12 +00:00
jeremy@jermolene.com
ae273a08f1 xlsx-utils: Fix demo spreadsheet
Somehow it had an error in it
2021-01-16 16:09:42 +00:00
jeremy@jermolene.com
36de5f65ff Core plugin images: Add missing classes 2021-01-16 15:39:05 +00:00
jeremy@jermolene.com
7be1e7e5f8 Xlsx-utils: Fix crash when using deserializer
Fixes #5400 (broken in #4601)
2021-01-16 15:37:50 +00:00
Nicolas Petton
b205da2007 Minor cleanup of startup.js (#5409)
* Remove unused var declaration
* Remove trailing whitespaces
2021-01-15 16:55:52 +00:00
Bram Chen
ffc8feea0c Update chinese help text for parameters of listen command (#5410)
* Improve help text for "csrf-disable"
* Add help text for "sse-enabled"
2021-01-15 16:54:03 +00:00
Peter Neumark
ce8c03250c Other Resources: fixed TW5-firebase URL (#5411) 2021-01-15 16:52:44 +00:00
Nicolas Petton
82b7167d55 Update the Notebook theme tiddler (#5387)
* Update the title to be shorter.
* Update the description to follow the description on
  https://nicolas.petton.fr/tw/notebook.html.
2021-01-15 12:20:55 +00:00
Nicolas Petton
afa490a0c1 Fix a typo in WebServer Parameter_ sse-enabled.tid (#5407) 2021-01-15 12:20:22 +00:00
Peter Neumark
8344d13efb Add TW5-firebase (#5408)
* Added resource tiddler for TW5-firebase

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

* Create sse-change-listener.js

* Implement server sent events

* Convert to ES5 and wrap in function

* Use the host string from tiddlyweb

* Improve comments in sse-server.js

* Can't use object reference as key

* Add retry timeout

* Fix a bug

* bug fix

* Fix formatting

* Fix ES5 compat

* capitalize comments

* more fixes

* Refactor tiddlywek/sse-server.js

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

* Fix formatting of tiddlyweb/sse-client.js

Fix formatting according to TW core.

* Fix formatting of server-sent-events.js

Fix formatting and comments following TW core guidelines.

* Extract a debounce function in sse-client.js

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

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

* New sse-enabled WebServer parameter

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

* Disable polling for changes if SSE is enabled

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

* Simply boolean logic in syncer.js

* Delete trailing whitespaces in syncer.js

Co-authored-by: Arlen22 <arlenbee@gmail.com>
2021-01-15 10:37:55 +00:00
Nicolas Petton
a8457f7f9e Add a community resource tiddler documenting Projectify (#5372) 2021-01-13 12:51:48 +00:00
jeremy@jermolene.com
ca95f1069f Fixed comment parsers to match end marker correctly
Fixes #5396
2021-01-13 11:48:42 +00:00
Nicolas Petton
65ffe96cc2 Fix broken aria-label in $:/PaletteManager (#5397) 2021-01-13 10:18:27 +00:00
Cameron Fischer
b8a9826f23 Cleaned up jasmine test suite output (#5377)
* Cleaned up jasmine test suite output

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

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

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

* Link list throws when given non-string vals

* Think I got rid of the last LinkList infinite loops

* LinkedList push better; fixed coding conventions

* Cleaning up LinkedList code and tests

* Ready to ship new mem efficient Linked List

* Switching to double quotes in LinkedList
2021-01-09 20:52:34 +00:00
jeremy@jermolene.com
af897361c7 Fix name of default branch for GitHub saver
Fixes #5317

Missed off 8cd13e2f89
2021-01-09 13:34:21 +00:00
Simon Huber
4858b24cfe Fix #5308 - WidgetSubclassingMechanism not working with widgets that add EventListeners (or logic ?) in constructor (#5382)
* add EventListeners in the render() method instead of the constructor

* scrollable widget: add EventListeners in render() method instead of constructor +

... move logic from constructor to render()

* linkcatcher: add EventListeners in render() instead of constructor

* fieldmangler: add EventListeners in render() instead of constructor

* edit-bitmap: initialise editorOperations in render() instead of constructor

* list-widget: initialise storyviews in render() instead of constructor

* vars widget: execute Widget.call(this) in render() instead of constructor

... not shure what this should do

* Update fieldmangler.js

* Update edit-bitmap.js

* Update linkcatcher.js

* Update navigator.js

* Update scrollable.js

* Update list.js

* Update vars.js
2021-01-09 13:25:48 +00:00
CodaCoder
5125b91b3f Update Formatting List Results as Tables with CSS - Specified Columns Methods.tid (#5375)
-moz-column* seems to have been dropped in Firefox. Added the non-prefixed, standard properties.
2021-01-07 18:22:05 +00:00
Cameron Fischer
b632cea6b7 Fixed issue where [lookup[]] could emit undefined (#5376) 2021-01-07 18:19:50 +00:00
jeremy@jermolene.com
eadbd62e6d Fix "modified" dates for tiddlers modified in #5353 2021-01-06 15:12:05 +00:00
Cameron Fischer
e280f89ca5 Converting [links[]] to use better LinkedList (#5369) 2021-01-05 17:36:18 +00:00
Mohammad Rahmani
87b9dbcda1 Remove extra dashes in page title (#5370)
When Tiddlywiki has no subtitle you see extra dashes!
2021-01-05 17:35:26 +00:00
donmor
5832002feb Docs: Create Japanese (Japan) Edition.tid (#5324)
Added the Japanese version tiddler since the Japanese version of empty.html exists
2021-01-04 11:05:41 +00:00
jeremy@jermolene.com
6a98106679 Update styles docs
Fixes #1691
2021-01-04 09:15:28 +00:00
CodaCoder
d5175e4fdc Update EventCatcherWidget.tid (#5335)
* Update EventCatcherWidget.tid

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

* Update EventCatcherWidget.tid

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

* Test to confirm [all[]] with LinkList is the same
2021-01-04 08:38:50 +00:00
Mario Pietsch
6f62c4fc7f Add missing tags (#5360) 2021-01-03 19:29:17 +00:00
maki lam
4fe411be80 Signing the CLA (#5327)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2021-01-03 11:52:30 +00:00
Simon Huber
ac40ee4246 Fix #5318 - remove-tag-button not having the correct fill color (#5326) 2021-01-03 11:51:30 +00:00
Joshua Fontany
bbe94f3544 Cleaned up Customising Tiddler File Naming docs (#5320)
* cleaned up Customising Tiddler File Naming

* revereted to british customis*
2021-01-03 11:50:39 +00:00
Joshua Fontany
03626bc142 always test ext in tiddler title and remove it (#5329)
* always test ext in tiddler title and remove it

* patch custom ext length vulernability
2021-01-03 11:50:14 +00:00
Rob Hoelz
69e595abf9 Add docs on share plugin (#5331)
…and mention it in the "sharing tiddlers" tiddler
2021-01-03 11:48:17 +00:00
jeremy@jermolene.com
e96a54c753 TiddlyWebAdaptor: Don't crash if "etag" header is missing 2021-01-03 11:46:40 +00:00
Glenn Dixon
a8639c3129 Signing the CLA (#5358) 2021-01-03 11:37:28 +00:00
Chris Nicoll
3ae27cab9e Signed cla-individual (#5333)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2021-01-03 11:36:11 +00:00
jeremy@jermolene.com
9434e95396 Fix PETTIL url
Fixes #5348
2021-01-03 10:48:13 +00:00
jeremy@jermolene.com
fecf622616 It's 2021! 2021-01-03 10:05:02 +00:00
jeremy@jermolene.com
d25e540dd2 Add support for image/vnd.microsoft.icon content type
Fixes #5357
2021-01-03 10:04:52 +00:00
Odin
4ee3ded04a Fixed typo in Community.tid (#5356) 2021-01-03 09:51:20 +00:00
Odin
87704b1770 Tiddlywiki com - Update to the Community page (#5353)
* Replaced the 'resources' tab with: Editions, Plugin, Themes, Palettes, Other resources.

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

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

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

* Removed David Giffords Obahiah by his request.

* Added two palettes into the Community Palettes tab.

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

* removed four tiddlers because of dead links.

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

* Fixed titltes in the community tabs macro.

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

* final edit for sorting
2021-01-02 20:46:19 +00:00
Odin
493b45706f Signing the CLA (#5347)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2021-01-02 17:52:53 +00:00
Joe Bordes
0ea89970d1 Doc(Developer) typo (#5354) 2021-01-02 17:39:46 +00:00
Joe Bordes
c2c8892aa5 Signing the CLA (#5355) 2021-01-02 17:38:51 +00:00
Jeremy Ruston
7ec6d37031 Fix filename of new release banner 2020-12-29 14:08:09 +00:00
Jeremy Ruston
24646e1993 Adjust placeholder release banner for readability 2020-12-29 13:27:00 +00:00
jeremy@jermolene.com
1e1b52088f Preparing for v5.1.24 as new prerelease
The new release banner is a placeholder; we'll run the competition once the release has taken shape a little.
2020-12-29 12:06:30 +00:00
jeremy@jermolene.com
ac8f521303 Version number update for 5.1.23 2020-12-24 13:38:24 +00:00
jeremy@jermolene.com
2ab5fd9abb Preparing for release of v5.1.23 2020-12-24 13:37:18 +00:00
jeremy@jermolene.com
f6339d437e Release note: Jazz up the contributor list 2020-12-24 13:21:06 +00:00
jeremy@jermolene.com
8e61e37f2b Release note: More tweaks and reformatting 2020-12-24 13:10:44 +00:00
jeremy@jermolene.com
2632ed0078 Release note: coloured badges for different types of changes 2020-12-24 11:47:36 +00:00
jeremy@jermolene.com
7cb6dc0e4f Override crazy browser defaults for h1 fontsize
Fixes #5311
2020-12-24 10:37:54 +00:00
Bram Chen
8620b77b45 Improve chinese translations for TiddlySpot warning text (#5306) 2020-12-23 13:34:23 +00:00
jeremy@jermolene.com
03ad396db1 Start to rearrange release note into topics
The previous groupings were getting too large to manage
2020-12-22 19:12:12 +00:00
jeremy@jermolene.com
9e70e89a84 Update Release Note 2020-12-22 17:34:24 +00:00
jeremy@jermolene.com
2f8a100bab Clarify TiddlySpot warning text 2020-12-22 15:42:21 +00:00
jeremy@jermolene.com
a9a36b641a Filename for action-confirm widget should be 'action-confirm.js' for consistency 2020-12-22 11:50:26 +00:00
jeremy@jermolene.com
625c3de6f7 Merge branch 'tiddlywiki-com' 2020-12-22 11:49:18 +00:00
jeremy@jermolene.com
ddda9a34ae [Docs] Update links to developer discussions 2020-12-22 11:48:40 +00:00
twMat
c0a56e790d Update title.tid (#5292) 2020-12-18 20:19:02 +00:00
Simon Huber
dc83ee411d Fix problem with tc-btn-invisible not correct fill color (#5288) 2020-12-16 16:20:14 +00:00
jeremy@jermolene.com
3c003364d2 Add the Atrounoush's winning banner design for v5.1.23
The image was received with a transparent background, but I adjusted it to give it a white background to ensure it is readable with all colour schemes.
2020-12-15 11:59:07 +00:00
Saq Imtiaz
1e9cc2b747 Fix refresh for all attributes of droppable widget. Add disabled class (#5280) 2020-12-15 11:09:32 +00:00
Simon Huber
f968130696 Update Customising search results.tid (#5233) 2020-12-15 10:38:16 +00:00
jed
e046d5ad76 Create Hook_th-make-tiddler-path.tid (#5274)
Documentation for the hook
2020-12-14 19:20:29 +00:00
Robin Munn
3c3cd4673e Railroad diagram for filter expression now includes named prefixes (#5278) 2020-12-14 19:18:51 +00:00
Joshua Fontany
d50f6b406e filesystem cleaup around hook (#5276) 2020-12-14 09:50:53 +00:00
jed
c1a1e272cc Add a hook to allow modifying the the behaviour creating tiddler paths (#5267)
* Add a hook to allow modifying the the behaviour creating tiddler paths

This is needed for Bob to use the core to generate tiddler fileInfo 

I don't know if this is the best way to make the hook, but it works for what I need

* update th-make-tiddler-path arguments

the value is the current path, the parameter passed in is the original unmodified path so it is available to subsequent hooks
2020-12-13 23:24:23 +00:00
jeremy@jermolene.com
81947edd5c Dev: Update hook mechanism docs 2020-12-13 20:01:47 +00:00
Xavier Cazin
88e29b4558 tabsState should hold a tiddler name rather than a list singleton (#5263)
* tabsState should hold a tiddler name rather than a list singleton

* tabsState should hold a tiddler name rather than a list singleton
2020-12-13 16:15:16 +00:00
Simon Huber
8798ebadbd Add foreground color to CodeMirror selections and fix #5272 (#5266)
* Add foreground color to CodeMirror selections

* Use default selection background if tiddler-editor-background matches selection-background
2020-12-13 11:40:57 +00:00
Bimba Laszlo
a17fa35c28 Remove menubar from print (#5273)
In the print view, a shadow appeared at the top of each page, and the
first lines were not visible.

I hide the menubar in the print view.
2020-12-13 11:37:07 +00:00
Saq Imtiaz
0911d99813 URGENT: Reveal widget - fixed problem with previous patch of refresh handling (#5260)
* Fixed problem with previous patch of refresh handling

* Update reveal.js
2020-12-11 23:24:27 +00:00
jeremy@jermolene.com
93309b0b7d Sort plugins in control panel by name instead of title
Fixes #5256
2020-12-11 16:13:14 +00:00
Saq Imtiaz
c0dd13d446 Reveal widget should update on changed class and style attributes (#5258) 2020-12-11 15:36:00 +00:00
ento
ae61b08ae5 Fix browser testing (#5254)
* jasmine: specify 'after' only in Node

The commands module is never executed in browsers and the 'after'
constraint caused a regression where tests were never run in the
browser.

* jasmine: give the startup module a name like all others
2020-12-11 10:12:01 +00:00
Robin Munn
f60d0ef109 reduce and :reduce handle empty input identically (#5255)
Fixes #5246. Now the reduce operator and :reduce filter run prefix will
both return empty output when their input is empty, so that both can be
chained together with the else operator or :else prefix.
2020-12-11 10:07:52 +00:00
Cameron Fischer
6ca89304a1 Fix for LinkedLists when using bad filter prefix (#5251) 2020-12-10 18:25:53 +00:00
Simon Huber
78c2beb640 Add fill: <<colour button-foreground>> to html button in vanilla/base (#5250) 2020-12-10 17:33:42 +00:00
Stefano Stoduto
e34a88e3e4 Signing the CLA (#4876)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2020-12-10 17:27:47 +00:00
Simon Huber
0d2b6cf837 Rename control-panel-button to advanced-search-button in advanced-search button (#5242) 2020-12-10 17:09:28 +00:00
Simon Huber
1af1f6621a cursor:pointer on input[type=file] doesn't work in webkit browsers... (#5244) 2020-12-10 17:09:03 +00:00
jeremy@jermolene.com
50d8325d4c Dynannotate: Fix off-by-one error for end of annotation text 2020-12-09 19:14:43 +00:00
Saq Imtiaz
3016b3d094 Docs update for Set Widget (#5239)
* Update docs for Set Widget

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

* Corrected typos
2020-12-09 11:12:57 +00:00
Saq Imtiaz
da5d12d6fb Docs for :reduce filter run prefix (#5238) 2020-12-09 11:11:14 +00:00
Cameron Fischer
cd5d9bd5b9 Code cleanup of Linked Lists (#5241)
* made private methods limited to module scope
* moved private methods to file bottom
* changed tests to run comperable array functions in parallel
* added comments
2020-12-09 09:46:35 +00:00
jeremy@jermolene.com
1e1aeefd93 Fix add plugins modal
Fixes #5235
2020-12-09 09:07:48 +00:00
jeremy@jermolene.com
1d7091e637 Hide .tid exporter when more than one tiddler to export
Fixes #5237
2020-12-08 17:48:58 +00:00
Simon Huber
4334de88a0 Make search-matches button discoverable on dark palettes (#5232) 2020-12-07 17:29:42 +00:00
jeremy@jermolene.com
bb6d41f3dd Macrocall widget: ensure we separately cache inline vs block parse trees
Fixes a bug in #5205
2020-12-07 16:05:34 +00:00
Joshua Fontany
a878d82c7a Ignore edition filters if not running on node (#5222) 2020-12-07 15:59:32 +00:00
Joshua Fontany
85ff47366c fix viewtemplate quirks (#5224) 2020-12-07 15:58:28 +00:00
Saq Imtiaz
ce5d20b8fc Logging widgets :Fixed issue on Firefox where logging does not work (#5223)
* Fixed issue on Firefox where logging does not work properly due to column names

* Remove second argument to utils.logTable
2020-12-07 15:53:49 +00:00
Simon Huber
2c76cfa67a Use displayshortcuts macro for keyboard_driven_input_macro tiddler (#5226)
* Update keyboard-driven-input_Macro.tid

* Update keyboard-driven-input_Macro.tid
2020-12-07 14:44:07 +00:00
Simon Huber
90f05295a2 Add missing config options to ControlPanel->Settings->CodeMirror (#5229)
* Create cursorBlinkRate.tid

* Update config-language.multids

* Create indentUnit.tid

* Create indentWithTabs.tid

* Create smartIndent.tid

* Create tabSize.tid
2020-12-07 14:43:44 +00:00
Simon Huber
5df0225356 Update Customising search results.tid (#5225) 2020-12-07 10:22:02 +00:00
Joshua Fontany
c3e34b469c typo (#5221) 2020-12-06 22:59:48 +00:00
Simon Huber
e8815b79ff Update CodeMirror Dialog to always have a background color (#5217) 2020-12-06 17:21:35 +00:00
Simon Huber
958f57f2c0 Make editTiddler in sidebarsegments/search available as variable (#5218) 2020-12-06 17:15:40 +00:00
jeremy@jermolene.com
43a3228200 Update Performance docs for macro parsing optimisation
Replacing #5216
2020-12-06 14:02:06 +00:00
jeremy@jermolene.com
96d4f87e78 Revert "Update documentation on Performance (#5203)"
This reverts commit f798eab33f.
2020-12-06 14:01:03 +00:00
Saq Imtiaz
a8c1e6a3bd Update performance documentation (#5216)
Documents the change to macro parsing from #5205 
This builds on documentation changes made in the tw.com branch and is therefore based on that branch, but should not be merged before 5.1.23 is live.
2020-12-06 13:57:47 +00:00
jeremy@jermolene.com
36fe519eff Merge branch 'tiddlywiki-com' 2020-12-06 13:56:43 +00:00
Simon Huber
b2d270a7e8 CodeMirror: Make colored selections based on palette work in chrome, too (#5215)
* Make colored selections based on palette work in chrome, too

* Update styles.tid
2020-12-06 13:00:19 +00:00
jeremy@jermolene.com
005f7c55b6 Restore accidental commenting in 0b1a05d10 2020-12-06 10:50:59 +00:00
Simon Huber
122306fc24 Update GruvboxDark, CupertinoDark and Nord palettes to work better with TiddlyDesktop (#5214)
* Update CupertinoDark.tid

* Update GruvBoxDark.tid

* Update Nord.tid
2020-12-06 09:58:02 +00:00
Jeremy Ruston
0b1a05d10d Cache result of parsing macro calls which don't use text subsitution (#5205) 2020-12-06 09:43:06 +00:00
Joshua Fontany
b0f6d50b60 fix filesystem bugs (#5213) 2020-12-06 09:41:03 +00:00
Simon Huber
a3a7d6450d CodeMirror: Ensure linenumber-gutter has a right border (#5212)
* Ensure linenumber-gutter has a right border

* Update GruvBoxDark.tid

* Update Nord.tid
2020-12-06 08:56:06 +00:00
Cameron Fischer
a857b4ab9a use a linked list for filter runs. (#5206)
* Changed the filterrunprefixes to use LinkedList

* Testing for Linked List

* Finishing touches to LinkedList

* Minor corrections to link-list coding style

* Corrected for sneaky bug in linkedList
2020-12-06 08:54:57 +00:00
ento
c4dcf510ef Ensure jasmine-plugin startup module is executed in the right order (#5210) 2020-12-06 07:29:34 +00:00
Saq Imtiaz
7fd24de372 Tests for filter prefixes (#5209) 2020-12-05 23:10:51 +00:00
Simon Huber
396703c478 An even faster version of the TagPickerTagTemplate (#5207) 2020-12-05 17:38:39 +00:00
Simon Huber
bfc4b447da Add selection-background/foreground to GruvboxDark and Nord palettes (#5204)
* Update GruvBoxDark.tid

* Update Nord.tid

* Update Nord.tid

* Update Nord.tid

* Update Nord.tid
2020-12-05 16:38:08 +00:00
Simon Huber
d957b3e4e6 Update CodeMirror styles to set selection colors based on foreground contrastcolour (#5200)
* Update styles.tid

* Update styles.tid

* Update styles.tid
2020-12-05 16:37:50 +00:00
Saq Imtiaz
f798eab33f Update documentation on Performance (#5203) 2020-12-05 16:30:49 +00:00
Cameron Fischer
fbe5bb229a Fix for filterrunprefixes using $tw.wiki (#5202)
* Fixed runprefix 'and' to use widget wiki

* Made widget arg of filterTiddlers optional again

* Switched to passing {wiki: wiki} to prefixes
2020-12-05 16:12:40 +00:00
Simon Huber
ae5d78b4dd Update codemirror styles (#5198) 2020-12-04 19:14:59 +00:00
Saq Imtiaz
9825b5b4a0 Ensure new variables are strings (#5197) 2020-12-04 19:02:05 +00:00
Saq Imtiaz
8799911162 Reduce operator: second optional parameter instead of suffix (#5193)
* Tweak reduce operator to use an optional second parameter instead of a suffix

* Updated docs
2020-12-04 18:31:23 +00:00
Simon Huber
813e28e1ea Make the tag-picker tags-dropdown more performant (#5195)
* Replace macrocall for tag-button with transclusion of a TagPickerTagTemplate

* Create TagPickerTagTemplate.tid
2020-12-04 18:28:36 +00:00
Simon Huber
911e23ee6d Make sidebarsegments/search button display the count of ALL search results (de-duplicated) (#5194) 2020-12-04 18:27:40 +00:00
Saq Imtiaz
046746ba20 Add :reduce filter run prefix (#5196) 2020-12-04 18:23:50 +00:00
Robin Munn
8ffe138942 Add rawunicode suffix to (json)stringify operators (#5191)
Default with no suffix is pre-5.1.23 behavior, escaping all Unicode
characters for maximum compatibility (avoids encoding issues). New
"rawunicode" suffix allows passing through Unicode characters U+0080
and up unchanged, for cases where you know your tools are handling
encoding correctly and you want less verbose escaping.
2020-12-04 13:19:59 +00:00
Mohammad Rahmani
15be409c42 Minor issue in example of Import Variables Widget (#5165)
an unbalanced [ was resolved.
2020-12-03 22:27:21 +00:00
Robin Munn
c92f9dd404 Docs for trim operator suffix use from-version (#5161)
Trim suffix was introduced in version 5.1.23; docs should mention that.
2020-12-03 21:20:23 +00:00
Rob Hoelz
2bbcc94b4d Add documentation for shortcuts introduced in 5.1.20 (#4324) 2020-12-03 21:19:25 +00:00
Saq Imtiaz
1f5e1205ec Extend Eventcatcher to handle multiple events (#5185)
* support multiple events

* Add variables for event type and detail. Rename types attribute to events

* Correct typo in refresh handling
2020-12-02 21:15:35 +00:00
Simon Huber
6b03105bed Update CupertinoDark.tid (#5183) 2020-12-02 21:13:42 +00:00
Simon Huber
9d5babc248 Bump CodeMirror plugin version (#5184) 2020-12-02 21:12:56 +00:00
Robin Munn
e620aaed80 Fix a couple typos in "deprecated feature" warning (#5174)
One tiddler had been renamed since the deprecation warning tiddler was
created, and there were also a couple of minor punctuation and/or
spelling errors.
2020-12-02 16:59:04 +00:00
Simon Huber
552843369c Update shortcuts-mac.multids (#5179) 2020-12-02 16:55:55 +00:00
Simon Huber
f0eba7fdc6 Re-add minified codemirror, without minification bug (#5180) 2020-12-02 16:55:37 +00:00
Simon Huber
9871c1a6a9 Small tweak for codemirror selected-linenumber (#5181) 2020-12-02 16:54:36 +00:00
Simon Huber
a1ef66ec6d Better readability for codemirror linenumbers + CupertinoDark muted-foreground better contrast (#5164)
* Update styles.tid

* Update CupertinoDark.tid
2020-12-02 12:21:23 +00:00
Simon Huber
fc797f3722 Fix #5162 - tiddler opening position is incorrect, bug in navigator.js 2020-12-02 12:21:02 +00:00
Joshua Fontany
c6bb783308 Fix filesystem regression (#5176)
* $:/config/OriginalTiddlerPaths if no filters match

* fixed & docs updated

* tested with tiddlywiki.files & tw.com edition

* typos

* originalpath to options, propigate isEditableFile

* syntax cleanup
2020-12-02 09:47:51 +00:00
Simon Huber
c3055f92a9 Don't minify codemirror.js (#5173) 2020-12-01 20:55:22 +00:00
Saq Imtiaz
4079f72310 Fix typo in x-listops.js (#5171) 2020-12-01 18:14:07 +00:00
Simon Huber
cc1f32067f Update CodeMirror to 5.58.3 - fix vim-mode cursor invisible (#5172)
* Update codemirror to v5.58.3

* Update jump-to-line.js

* Update search.js
2020-12-01 18:11:40 +00:00
Mario Pietsch
880930da8b Add actions parameter to range-widget + docs! (#5158)
* add actionsStart, -Stop and actions to range-widgets

* fix indent
2020-12-01 18:11:09 +00:00
Joshua Fontany
68cb08749f Docs for filesystem adaptor update (#5169)
* rebased to master

* cleanup typos

* typo
2020-12-01 17:36:38 +00:00
jeremy@jermolene.com
13b69a9c10 Missing docs for working with negative years 2020-12-01 15:51:07 +00:00
jeremy@jermolene.com
b63049b4df Fix tests to work in other timezones
Oops.
2020-12-01 10:52:24 +00:00
jeremy@jermolene.com
6a91dbfe2f Add support for working with negative dates
See discussion https://groups.google.com/g/tiddlywiki/c/aHlyaHr93Io/m/vGcDa6lxAgAJ
2020-12-01 10:39:27 +00:00
Joshua Fontany
dde4182830 Fix filesystem adaptor (#5113)
* ignore .env

testing new implementation

almost there

closer

bug, desyncing

fixed

final testing

final testing

cleanup

cleanup

* isEditableFile flow fixed

* removed `basepath` logic

* callback to delete title from $tw.boot.files

* comment fix

* have syncer delete from boot.files

* syntax

* bugfix: error on missing directory

* bugifx

* remove !draft check

* fix relative filepaths

* cleanup

* cleanup !draft

* catch undefined filepaths in deleteTiddlerFile()

* typo

* whitelist wiki dir, encodeURIComponent otherwise

* test for wikiPath, not wikiPath/tiddlers

* don't need to .normailze()

* whitelist wiki directory, move cleanup to util

* use cleanup util & fail EPERM & EACCESS gracefully

* comments

* final bugs fixed

* improved sync error
2020-11-30 22:31:48 +00:00
Rob Hoelz
abe9af1369 Add documentation for indexer modules (#4873) 2020-11-30 22:10:07 +00:00
Florian Kohrt
6f09a5ee65 Fix link to TiddlyWikiFolders (#4843)
* Fix link to TiddlyWikiFolders

* Better link to tiddlywiki.info reference tiddler
2020-11-30 21:34:00 +00:00
Florian Kohrt
706fc3e06e Fix typo; closes #4815 (#4844) 2020-11-30 21:33:16 +00:00
Simon Huber
6a319940d3 Make buttons look like buttons in CupertinoDark, GruvboxDark and DesertSand palette (#5159)
* Make buttons look like buttons in CupertinoDark palette

* Update GruvBoxDark.tid

* Update DesertSand.tid
2020-11-30 21:04:14 +00:00
jeremy@jermolene.com
fe8606759e Fix parsing of dates between 0 and 100 AD 2020-11-30 18:56:52 +00:00
Mario Pietsch
1de747b182 add docs for radio-actions (#5156) 2020-11-30 18:48:48 +00:00
jeremy@jermolene.com
3406b98af6 Add "autocomplete" attribute to <$edit> and <$edit-text> widgets 2020-11-30 18:48:04 +00:00
Bram Chen
80191903b6 Update chinese translations (#5145)
* Improve `References/Caption`
* Add `Basics/RemoveTags` and `Basics/RemoveTags/Hint`
2020-11-30 17:58:33 +00:00
Simon Huber
367854c81b Update static.tiddler.html.tid (#5148) 2020-11-30 17:56:19 +00:00
Robin Munn
4f13848ca2 Document using double hashes for anchor links (#5149)
This is based on #3836, updated and revised with the edits made by
Watt on the Google Group.
2020-11-30 17:54:45 +00:00
Robin Munn
fd3e77d38f "dedupe" and "raw" suffixes for enlist-input operator (#5152)
Includes unit tests.
2020-11-30 17:52:46 +00:00
saqimtiaz
8fc6910c03 Added string operator pad[] along with tests and docs (#5146) 2020-11-30 17:43:50 +00:00
Robin Munn
4623c45d29 Tag trim operator as a string operator (#5147)
* Tag trim operator as a string operator

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

* Document suffix of trim operator
2020-11-30 17:30:51 +00:00
Mario Pietsch
5cbe4c5317 Add radio actions, th-radio-variables hook and fix label refresh problem (#5154)
* Add actions to radio-widget, pass trhough all attributes and user parameters, fix label refresh

* invoke th-radio-hook instead of hardcoded variables

* simplify code and test it with a plugin hook

* remove hook
2020-11-30 17:28:49 +00:00
Jeremy Ruston
4d9e6831bb Rename "references" to "backlinks" in the tiddler info panel (#5143)
* Rename "references" to "backlinks" in the tiddler info panel

* Change docs references to "references" to "backlinks"
2020-11-29 18:32:22 +00:00
Robin Munn
5887c6621e Create "Filter Run Prefix (Examples)" tiddler (#5144)
Move the `+` vs `:intersection` example into a separate Examples tiddler
which can be expanded on later.
2020-11-29 15:45:39 +00:00
Simon Huber
ce937595d7 Add Button to remove tags from tiddlers $:/config/NewTiddler/Tags and $:/config/NewJournal/Tags (#5140)
* Update Basics.tid

* Update ControlPanel.multids

* Update Basics.tid

* Update ControlPanel.multids

* Update ControlPanel.multids

* Update ControlPanel.multids
2020-11-29 12:52:50 +00:00
jeremy@jermolene.com
cc850d7151 Fix typo in list macro
See discussion https://github.com/Jermolene/TiddlyWiki5/pull/3710#issuecomment-735295319
2020-11-29 12:38:09 +00:00
Bram Chen
a21428a33a Add chinese translations for Saving/TiddlySpot/ReadOnly (#5139) 2020-11-29 12:26:21 +00:00
saqimtiaz
12bb938463 Corrected typo in contributor's name (#5138) 2020-11-28 22:05:54 +00:00
Jeremy Ruston
e54f3368e9 Update contributors list in release note 2020-11-28 21:43:09 +00:00
Simon Huber
eb7f59a855 Make "tc-dirty" update also on external windows (#5129)
* Update windows.js

* Update saver-handler.js

* Update saver-handler.js
2020-11-28 21:24:01 +00:00
Simon Huber
b3cbd7d733 Add TiddlySpot-ReadOnly Message-Box to Tiddlyspot Saving Panel (#5133)
* Add message box to TiddlySpot Saving panel

* add readonly message
2020-11-28 21:22:32 +00:00
Simon Huber
28724138d1 Small update for better readability for CupertinoDark palette (#5134) 2020-11-28 21:21:53 +00:00
Simon Huber
62a2a0e579 Fix typo in vanilla/base (#5135) 2020-11-28 21:13:18 +00:00
jeremy@jermolene.com
98e60758a9 Updated Release Note 2020-11-28 17:32:42 +00:00
Simon Huber
c655ec5469 Remove background-colors from framed engine (#5131) 2020-11-28 14:08:16 +00:00
Simon Huber
7d2703bffb Make tiddler-editor iframe same color as tiddler background (#5132) 2020-11-28 14:07:46 +00:00
Simon Huber
09d7a77f1b Add default "tiddlywiki" styles to CodeMirror and Highlight.js (#5128)
* Update styles.tid

* Update styles.tid

* Update theme.tid

* Delete cm-theme-tiddlywiki.tid
2020-11-28 14:07:12 +00:00
Simon Huber
8005c91e79 Correctly add EventListener 'click' for popup-handling in new windows (#5127) 2020-11-28 07:26:47 +00:00
Simon Huber
86a9f922bf Update LayoutSwitcher.tid (#5125) 2020-11-27 21:52:26 +00:00
saqimtiaz
2175be27b0 Ensure that we always fetch the latest sha bypassing cache. (#5126)
Ensure that we always fetch the latest sha bypassing cache.
2020-11-27 21:37:11 +00:00
jeremy@jermolene.com
9637a29e55 Rename widget.executeStartupTiddlers() to invokeActionsByTag()
This method was introduced earlier in v5.1.23 in  5cc1600072

It is not in fact restricted to startup tiddlers.
2020-11-26 12:41:24 +00:00
Mario Pietsch
8320a55fef fix titlebar line-height for chrome (#5122) 2020-11-25 16:27:31 +00:00
jeremy@jermolene.com
2267e31546 Fix eventcatcher to ensure variable values are strings
I was getting some inconsistencies with filter operators that expect strings.
2020-11-25 15:54:28 +00:00
jeremy@jermolene.com
e3bf1f43cf Missed off previous commit 64ac29adc
Thanks @saqimtiaz
2020-11-25 14:07:01 +00:00
jeremy@jermolene.com
64ac29adca Fix typo preventing filter run prefix modules from being cached
This had a significant impact on performance.
2020-11-25 13:58:54 +00:00
jeremy@jermolene.com
94ffb50e04 Fix dark mode event handling
Previous code worked but this matches the spec, and works on iOS
2020-11-25 12:33:39 +00:00
jeremy@jermolene.com
3e3f185562 Clarify behaviour of self closing tags 2020-11-25 09:44:48 +00:00
saqimtiaz
6c98bb706a Docs for switching layouts (#5109) 2020-11-24 21:38:18 +00:00
Bram Chen
4f88d79d8b Add chinese translations for Switchers (#5111) 2020-11-24 21:27:24 +00:00
saqimtiaz
0e247c991d Update modifier variable docs (#5114)
Listing the potential key combination in a single line is hard to read and also redundant when we have the same information in the table below.
2020-11-24 21:19:37 +00:00
saqimtiaz
ce27492b96 Refactor updating of classes for button widgets to avoid potential edge case failures (#5115) 2020-11-24 21:19:20 +00:00
Simon Huber
a9d583b85e Update CupertinoDark.tid (#5117) 2020-11-24 21:16:24 +00:00
Simon Huber
5769cf9784 Fix #5108 - vanilla/reset overrides system fonts (#5118) 2020-11-24 21:15:37 +00:00
jeremy@jermolene.com
c854e518fa Add support for $:/info/darkmode (and for dynamic info tiddlers) 2020-11-24 19:01:33 +00:00
jeremy@jermolene.com
7327a3fb92 Fixed: Shadow tiddlers don't refresh when their plugin is deleted/modified 2020-11-24 18:57:39 +00:00
Simon Huber
50a3c5526f Update CupertinoDark.tid (#5107) 2020-11-23 20:09:53 +00:00
Simon Huber
77971ff720 Lighter sidebar-controls-foreground for Cupertino Dark Palette (#5106) 2020-11-23 19:41:51 +00:00
Simon Huber
e0f4d82214 Update CupertinoDark.tid (#5105) 2020-11-23 19:32:51 +00:00
Simon Huber
af72fdf245 Add caption to ControlPanel LayoutSwitcher (#5103)
* Update LayoutSwitcher.tid

* Update ControlPanel.multids
2020-11-23 19:15:04 +00:00
Simon Huber
519962b4a9 Update and rename MacOSDark.tid to CupertinoDark.tid (#5101)
* Update and rename MacOSDark.tid to CupertinoDark.tid

* Update CupertinoDark.tid

* Update CupertinoDark.tid

* Update CupertinoDark.tid
2020-11-23 19:14:07 +00:00
Simon Huber
c9a77c5877 Create MacOSDark.tid (#5100) 2020-11-23 18:41:38 +00:00
Simon Huber
3d93790573 Fix StaticRiver exporter width of static tiddlers (#5099)
* Add tc-static-story-river class to StaticRiver exporter

* Update base.tid
2020-11-23 18:06:46 +00:00
saqimtiaz
cb62c8c96d Docs for eventcatcher (#5097) 2020-11-23 17:07:41 +00:00
saqimtiaz
aa6f152d35 Add Switcher modal (#5089)
* Alternative switcher using a parameter via tm-show-switcher

* Add CSS class for centered modals

* Changed keyboardshortcut and removed transition CSS

* Resolved wording issues
2020-11-23 17:06:24 +00:00
Simon Huber
72b32946aa Small adjustments for DesertSand palette (#5098)
* Small adjustments for DesertSand palette

* Update DesertSand.tid
2020-11-23 16:59:48 +00:00
Mario Pietsch
60850ee69b Update German Language (#5096)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* Don't override browser selection colours by default

Reverts some of #4590

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* Update German Language

* some typos

Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
2020-11-23 16:24:37 +00:00
Simon Huber
8c4d67ba2b Add light "DesertSand" palette - a desert-sandy palette (#5092)
* Add light "DesertSand" palette - a desert-sandy palette

* Update DesertSand.tid

* Update DesertSand.tid
2020-11-22 21:18:34 +00:00
saqimtiaz
3c195b05cb Button and Droppable widgets: improve refresh handling for classes (#5091)
* Button and Droppable widgets: improve refesh handling for classes

* Added comment regarding handling of class attribute
2020-11-22 21:13:24 +00:00
Simon Huber
530b4308e3 Make type input field min-width the highest character length of selectable types (#5090)
* Make type input field min-width the highest character length of selectable types

* Update base.tid

* Update base.tid
2020-11-22 21:12:19 +00:00
saqimtiaz
fa63ac5d1e Add: Eventcatcher widget (#5086)
* Jeremy's original version of the event widget

* Renamed to eventcatcher, added modifier key support and mouse button support as variables

* Allow updating classname without re-rendering entire widget

* Handle tag attribute in refresh handler

* Improve handling for mouse button variable

* Fix typo in refresh handler

* Added variables for position of selected node and position of event relative to selected node and catcher node
2020-11-22 20:47:12 +00:00
saqimtiaz
51ca14861e Fixed bug with default value in lookup operator (#5088)
* Fixed bug with default value in lookup operator

* Fixed test for lookup operator with default
2020-11-22 20:43:36 +00:00
saqimtiaz
d2f87d6200 Reveal widget allow re-positioning (#5087)
* Jeremy's original version of the event widget

* Renamed to eventcatcher, added modifier key support and mouse button support as variables

* Reveal widget: update popup position when state tiddler updates
2020-11-21 17:19:52 +00:00
saqimtiaz
a0f145197c Correct error in operator documentation (#5084) 2020-11-20 21:34:43 +00:00
saqimtiaz
c97003238b Doc updates for ActionLog and Log widgets (#5081) 2020-11-20 18:37:48 +00:00
saqimtiaz
4f07539164 Cycle operator improvements plus docs (#5069)
* Tweak cycle operator to support step size parameter and add docs for toggle and cycle

* Mention that title list should have no duplicates
2020-11-20 18:37:23 +00:00
Simon Huber
5945506169 Revert line-height of 3em on tiddler-edit-title (#5083) 2020-11-20 18:21:30 +00:00
saqimtiaz
483fd941f5 Extend action-log and subclass it as log widget (#5078)
* Extended action-log and subclassed it as log widget

* Do not rename LogWidget class

* Removed unneeded variable declaration
2020-11-20 14:08:18 +00:00
Simon Huber
1339c23b3a Adjustments for narrow screens (#5079) 2020-11-20 14:00:56 +00:00
saqimtiaz
89541edcff Added mathematics filter operators power and log (#5080) 2020-11-20 14:00:20 +00:00
Simon Huber
fd14e94610 Add whitespace trims to EditToolbar Buttons (#5076)
* Add whitespace trim to EditToolbar cancel Button

* Add whitespace trim to EditToolbar delete Button

* Add whitespace trim to EditToolbar save Button
2020-11-19 16:37:36 +00:00
Simon Huber
f591a78f37 Fix small typo in syncer-actions-refresh.tid (#5075) 2020-11-19 16:32:43 +00:00
saqimtiaz
e2bea854b6 System tiddler syncing (#4987)
* First pass at a fix for system tiddler sync issues

* Add new filter syncFromServer

* Undo previous attempt at a fix

* Added a flag to control sync of system tiddlers from server
2020-11-19 15:59:02 +00:00
jeremy@jermolene.com
0d434583ec Merge branch 'tiddlywiki-com' 2020-11-19 10:01:23 +00:00
jeremy@jermolene.com
a81b7fc9f4 Remove extraneous modifier/creator fields
Fixes #5068
2020-11-18 18:21:38 +00:00
Simon Huber
da66323dc5 Remove 2em of whitespace from EditTemplate when there are no visible fields (#5063)
* Remove 2em of whitespace from EditTemplate when there are no visible fields

* Update base.tid

* Update fields.tid

* Update fields.tid

* Update base.tid
2020-11-18 18:02:40 +00:00
jeremy@jermolene.com
0be778fc27 Update Dutch translation
Thanks @gernert
2020-11-18 16:56:01 +00:00
Bram Chen
37f4421ed1 Improve chinese status messages in ImportListing (#5064) 2020-11-18 16:39:45 +00:00
jeremy@jermolene.com
f61906501d Fix issue with Arabic translation
See discussion https://groups.google.com/d/msgid/tiddlywikidev/bb2f558e-5daa-4f18-8dca-73abc61d4dbfn%40googlegroups.com

@Kamal-Habash the .multids file does not allow line breaks in items. Does my fix look right?
2020-11-18 16:31:28 +00:00
saqimtiaz
1a8c6fdc4b Docs: Added example of how to remove stop words (#5066)
* Added example of how to remove stop words

* Moved filter operator example tiddlers to correct folder
2020-11-18 15:56:38 +00:00
saqimtiaz
6f8dca956b Colour code ImportListing rows (#5067) 2020-11-18 15:50:40 +00:00
jeremy@jermolene.com
061b75741b Fix GitHub Actions
Copied from 4ecd885a0c which fixes #4885
2020-11-18 13:14:19 +00:00
jeremy@jermolene.com
d181b96518 Wikitext parser: Refactor a poorly written utility function 2020-11-18 12:05:06 +00:00
saqimtiaz
527638d5e6 Improved status messages in ImportListing to remove redundant and irrelevant messages (#5059) 2020-11-17 19:12:41 +00:00
Simon Huber
b95f9e6000 Partial fix for issue #4721 (#5060)
* Update new-tiddler.tid

* Update new-journal.tid

* Update new-image.tid
2020-11-17 19:08:14 +00:00
Mohammad Rahmani
6d5ea90bfd Add resources by Mohammad (#5061)
* Correct for new GitHub default branch

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

* Update Saving to a Git service.tid

GitLab still uses `master` as default branch.

* Add Kookma plugins as resources

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

* Revert "Add Kookma plugins as resources"

This reverts commit 199fce3a08.

* Adding Resources by Mohammad

This PR adds resources created by Mohammad mostly in GitHub
2020-11-17 19:07:32 +00:00
Simon Huber
eae3da0e9d Make sidebarsegments/search-results-count work with all search tabs (#5062) 2020-11-17 19:05:32 +00:00
Bram Chen
684f13fbcb Add chinese translations for ConfirmAction (#5056) 2020-11-17 14:47:31 +00:00
jeremy@jermolene.com
8cd13e2f89 Change default branch for GitHub saver to "main"
To match GitHub's new default

See also #5055 for the accompanying docs change
2020-11-17 14:47:15 +00:00
Mohammad Rahmani
3b75297168 Correct for new GitHub default branch (#5055)
* Correct for new GitHub default branch

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

* Update Saving to a Git service.tid

GitLab still uses `master` as default branch.

* Add Kookma plugins as resources

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

* Revert "Add Kookma plugins as resources"

This reverts commit 199fce3a08.
2020-11-17 14:45:32 +00:00
saqimtiaz
2b60ab1fdc Doc updates for Modals (#5057) 2020-11-17 14:43:46 +00:00
saqimtiaz
d6e055368d Added docs for action-confirm widget, added default message for widget and improved logic for disabling it. (#5047) 2020-11-16 17:02:22 +00:00
saqimtiaz
fc1721709a Cycle operator and refactored toggle operator (#5021)
* Refactored toggle operator and added cycle operator

* Better handling for operand case

* Syntax/whitespace corrections
2020-11-16 17:02:04 +00:00
Simon Huber
43061e64a6 Fix #5039 - Tag input, Type input and Fields inputs don't delete their state tiddlers on tiddler-cancel/delete (#5049)
* Update EditTemplate.tid

* Update EditTemplate.tid

* Update EditTemplate.tid

* Update tag-picker.tid

* Update tag-picker.tid

* Update type.tid

* Update fields.tid

* Update cancel.tid

* Update delete.tid

* Update type.tid

* Update ViewTemplate.tid
2020-11-16 16:54:29 +00:00
Robin Munn
d8d88c67e3 Fix minor mistake in ButtonWidget docs (#5050)
The ButtonWidget documentation refers to a "state" attribute, but this
should probably be "set". The name "state" appears to be an artifact
from when the setTitle, setField, and setIndex attributes were added to
the widget; at one time they were called stateTitle and so on, and then
they were renamed to setTitle instead, but not every instance of "state"
was found and renamed to "set". This is one such instance, now fixed.
2020-11-16 16:50:32 +00:00
Robin Munn
ffd6a8cce7 More documentation for :intersection filter prefix (#5051) 2020-11-16 16:32:28 +00:00
saqimtiaz
a637f7fb60 Modals: add navigator to handle tm-navigate (#5027)
* Wrap modal in a navigator widget to allow tm-navigate to work

* Move all story list handling to Modal

* Make sure any values for story list or history list sent as variables have precedence

* Code clean up
2020-11-16 16:27:46 +00:00
Simon Huber
ca4cdc81dd Remove reduntant fieldmangler widget from tags EditTemplate (#5044) 2020-11-15 16:04:39 +00:00
saqimtiaz
13499557bf Fix whitespace in x-listops.js and tweak toggle operator (#5024)
* Replaced leading spaces with tabs

* Tweak toggle[] to insert new value in same list position
2020-11-15 16:04:03 +00:00
Simon Huber
a2b2e117e3 Delete all state tiddlers after adding a new field (#5045) 2020-11-15 15:49:43 +00:00
Bram Chen
d9b8a800c6 Update chinese translations (#5046)
* add the tooltip and aria-label of clear-tag-input button
2020-11-15 15:49:05 +00:00
Simon Huber
2aa6e761fd Make Tag-Picker Macro work with every field (#5035)
* Make tag-picker work with every field

* Make EditTemplate/tags work with every field

* Make NewTiddlerTags and NewJournalTags selectable through tag-picker

* Update tag-picker Macro Docs
2020-11-15 12:04:50 +00:00
Simon Huber
7078ca2c1e Revert Tag-input behavior to how it was before (#5041) 2020-11-15 11:42:46 +00:00
saqimtiaz
04bf6e0fd8 Action widget: confirm (#5037)
* added action widget: confirm

* Check for all attributes in refresh handler

* Always return a value from invokeActions
2020-11-15 11:40:08 +00:00
Simon Huber
bb6fee4e1c Remove image-buttons from type image/svg+xml and add editor-height and stamp button (#5042)
* Add stamp button to image/svg+xml

* Add editor-height Button to image/svg+xml

* Remove rotate-left button from image/svg+xml

* Remove size Button from image/svg+xml

* Remove paint Button from image/svg+xml

* Remove line-width Button from image/svg+xml

* Remove clear Button from image/svg+xml

* Remove opacity Button from image/svg+xml
2020-11-15 11:37:30 +00:00
Xavier Cazin
f087a62c99 fr-FR translations updates (#5043)
* fr-FR translations for Shortcut hints

* fr-FR translations related to renaming tiddlers during Import

* Correction of NewJournal Tags default config in fr-FR

* fr-FR update for the rendertiddlers command

* fr-FR translations for new Filter errors

* fr-FR update for the savetiddlers command

* fr-FR update for the savetiddler command

* fr-FR update for the rendertiddler command

Co-authored-by: Xavier Cazin <xavier.cazin@gmail.com>
2020-11-15 11:35:17 +00:00
jeremy@jermolene.com
1b31c25ea7 Introduce <$action-log> widget to help debugging action strings 2020-11-14 13:00:00 +00:00
Simon Huber
02a956b1bb Add Pop Storyview to Manager Tags Section (#5034) 2020-11-14 12:32:39 +00:00
jeremy@jermolene.com
cc3462999b When importing don't use file type as content type
Fixes #5028

I've checked that importing other file types still works but would appreciate a sanity check!
2020-11-14 12:05:35 +00:00
Simon Huber
b63c90e401 Add missing tooltip and aria-label to clear-tag-input button (#5033)
* Add tooltip and aria-label to new clear-tags-input button

* Update EditTemplate.multids
2020-11-13 19:19:55 +00:00
Simon Huber
497b334d60 Change tag-picker behavior when there is user-input ... (#5032)
... in the search field
2020-11-13 18:50:50 +00:00
Simon Huber
fa373a1c6f Make keyboard-driven-input Macro reset to typed input ... (#5031)
... on up/down when reaching the top/bottom of the list
2020-11-13 18:01:24 +00:00
jeremy@jermolene.com
1eac5c051f Menu lists should only use white-space: nowrap in the sidebar
Fixes #5030
2020-11-13 18:00:37 +00:00
saqimtiaz
568990409a Fix typo in toggle operator docs (#5020) 2020-11-09 20:43:44 +00:00
saqimtiaz
09f7ad84b2 Added disabled attribute to input widgets (#5014)
* checkbox widget: added disabled attribute

* Range widget: added disabled attribute

* Radio widget: added disabled attribute

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

* Added tests for extended toggle filter

* Updated docs for toggle operator
2020-11-09 18:27:45 +00:00
Simon Huber
27bed615ab Move styles from menubar plugin to vanilla/base (#5019)
* Update styles.tid

* Update base.tid

* Update styles.tid

* Update base.tid
2020-11-09 18:18:30 +00:00
jeremy@jermolene.com
1ec8b7877e Ensure root template contents is parsed in block mode
Embarrassingly, the double blank lines at the end of the tiddler are needed to ensure the transclude widget is recognised in block mode, instead of being wrapped in a paragraph tag.

Fixes #5016
2020-11-09 17:08:34 +00:00
saqimtiaz
59c6f4447e Import UI : Fix issue with size of rename button (#5012)
* Fix issue with size of rename button

* Add css instead of hard coded style attribute
2020-11-08 23:21:01 +00:00
Simon Huber
343207fc35 MenuBar: Add fallback value to breakpoint-plus-one and ... (#5009)
* Add fallback value to breakpoint-plus-one and ...

... sidebarbreakpoint-minus-one in case that widths aren't given in px units

* Update styles.tid
2020-11-08 22:38:08 +00:00
saqimtiaz
519ce3e89d Update Release 5.1.23.tid (#5005)
Updated release notes
2020-11-08 22:37:43 +00:00
saqimtiaz
71194d8767 Added disabled attribute support to ButtonWidget (#5010)
* Added disabled attribute to ButtonWidget

* Update ButtonWidget.tid
2020-11-08 22:32:27 +00:00
Simon Huber
480e4e2ce9 Make fieldvalue-input a bit larger when viewport is narrow (#5007)
* Make field-value input display a bit larger when narrow

* Update base.tid

* Update base.tid

* Update base.tid
2020-11-08 22:30:31 +00:00
Simon Huber
db48ce5f2c Correct breakpoint for no-box-shadow in snowwhite/base stylesheet (#5008) 2020-11-08 22:28:32 +00:00
Simon Huber
4d85d267a1 Make navigating and editing Shadow tiddlers work again (#5004)
* Update search.tid

* Update Filter.tid

* Update Shadows.tid

* Update Standard.tid

* Update System.tid

* Update search.tid
2020-11-08 13:26:02 +00:00
Simon Huber
98f67373b1 Menubar plugin: make sidebar-scrollable top margin adjust ... (#4974)
* Menubar plugin: make sidebar-scrollable top margin adjust ...

... to height of menubar

* Update styles.tid

* Update styles.tid

* Update styles.tid

* Update styles.tid

* Update menu.tid

* Update styles.tid

* Update styles.tid

* Update styles.tid

* Update styles.tid

* Update menu.tid

* Update styles.tid

* Update styles.tid
2020-11-08 11:50:15 +00:00
ento
e574cb4724 Markdown plugin: add rel="noopener noreferrer" to external links (#4771) 2020-11-08 11:47:44 +00:00
Robin Munn
e72d90c227 More examples for enlist-input operator (#4968)
The examples should also show what would happen without the operator, to
give a better feel for why it's useful.
2020-11-08 11:47:15 +00:00
Simon Huber
c729115506 Update modifier Variable.tid with a test-button and... (#5002)
... a tip for meta-key detection on various operating systems
2020-11-08 11:46:13 +00:00
Simon Huber
9854a4fc08 Fix #4998 - Pressing Enter creates Missing Tiddler (#5001)
* Update search.tid

* Update Filter.tid

* Update Shadows.tid

* Update Standard.tid

* Update System.tid

* Update search.tid

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

* Update modifier Variable.tid
2020-11-08 10:15:29 +00:00
Simon Huber
750f56a235 Update Basics.tid (#4999) 2020-11-08 09:44:49 +00:00
saqimtiaz
66636d1a86 Docs for new operators (#4994)
* Docs for is[draft]

* Better error handling for suffixes

* Docs for search-replace operator

* Added tests for search-replace operator

* Docs for toggle operator
2020-11-08 09:34:05 +00:00
saqimtiaz
2a7cdb22c0 Documentation for multiple filter operands (#4969) 2020-11-08 09:32:37 +00:00
Simon Huber
b69b84b38e Update core "tabs" macros to use explicitState (#4985)
* Update ControlPanel.tid

* Update Advanced.tid

* Update Appearance.tid

* Update Info.tid

* Update AddPlugins.tid

* Update Plugins.tid

* Update Saving.tid

* Update Toolbars.tid

* Update Plugins.tid

* Update More.tid

* Update TiddlerInfo.tid

* Update tabs.tid

* Update settings.tid

* Update ControlPanel.tid

* Update Advanced.tid

* Update Appearance.tid

* Update Info.tid

* Update AddPlugins.tid

* Update Plugins.tid

* Update Saving.tid

* Update Toolbars.tid

* Update Plugins.tid

* Update More.tid

* Update tabs.tid

* Update settings.tid

* Update TiddlerInfo.tid

* Update AdvancedSearch.tid

* Update Filter.tid

* Update Shadows.tid

* Update Standard.tid

* Update System.tid
2020-11-08 09:31:39 +00:00
saqimtiaz
ee250bf6c9 Updated release notes (#4997) 2020-11-08 09:26:58 +00:00
Simon Huber
de69ab0d0e Update keyboard-driven type-input actions on "Escape" (#4992)
* Delete "type" field when pressing escape in type input

* Update type.tid
2020-11-07 12:21:24 +00:00
saqimtiaz
cf58dcf116 Add is[draft] operator (#4991) 2020-11-07 10:29:15 +00:00
saqimtiaz
53922d3558 search-replace string operator (#4973)
* Added search-replace operator

* Merge with master

* Add try catch around new RegExp

* Better error handling
2020-11-07 10:09:11 +00:00
saqimtiaz
c41e34793d Add x-listops filter toggle (#4990) 2020-11-07 10:00:47 +00:00
saqimtiaz
5aa4e4cb68 Initial support for switching page templates (#4979)
* Add support for switching page templates

* Revert "Add support for switching page templates"

This reverts commit dbf7682d47.

* Adopt Jeremy's approach to page template switching instead

* Fix default value of recursion marker

* Fixed issue with conditional check
2020-11-07 09:51:01 +00:00
saqimtiaz
2b31c7a509 Multiple operands for filter operators (#4964)
* Firt pass at adding multiple operands to filter operators

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

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

* Added string-replace filter for testing multiple filter operands

* Added more tests for variables and text references in operands

* Removed string-replace operator and some whitespace corrections

* Removed string-replace operator and some whitespace corrections

* Added test with comma in operand
2020-11-07 09:47:08 +00:00
Simon Huber
0bd866e2f9 Make type input keyboard-driven (#4989) 2020-11-07 09:46:05 +00:00
jeremy@jermolene.com
93e7380188 Update default body text font to modern-normalize.css default
Fixes #4988
2020-11-07 09:45:03 +00:00
jeremy@jermolene.com
9003c81039 Switch to more modern fork of normalize.css
https://github.com/sindresorhus/modern-normalize
2020-11-07 09:42:37 +00:00
Simon Huber
900a29fbb3 Tag-picker: focus tag-input after clicking a tag from the dropdown (#4986)
* Tag-picker: focus tag-input after clicking a tag from the dropdown

* Update tag-picker.tid
2020-11-06 21:16:14 +00:00
Miha Lunar
1b226c7556 Fixed coding standard nits 2020-11-06 19:56:20 +01:00
Simon Huber
b3d0303139 Add editor-height button and stamp-button to tiddler types that miss them (#4975)
* Add editor-height button also to application/javascript ...

... application/json and application/x-tiddler-dictionary

* Add stamp button also to application/javascript ...

... application/json and application/x-tiddler-dictionary
2020-11-06 18:34:10 +00:00
Miha Lunar
feefc4cceb Signing the CLA (#4976) 2020-11-06 17:51:53 +00:00
Simon Huber
d51975b183 KeyboardWidget: don't trap keyboard shortcut if actions and message are empty and invokeActions isn't handled (#4971)
* KeyboardWidget: don't trap keyboard shortcut if actions are empty

* Update keyboard.js

* Update keyboard.js
2020-11-06 17:32:26 +00:00
jeremy@jermolene.com
15e8772170 Remove erroneously committed file 2020-11-06 17:01:13 +00:00
Simon Huber
bc5143f190 When accessing the AdvancedSearch from the sidebar, delete sidebar-search state tiddlers (#4981) 2020-11-06 16:53:11 +00:00
Simon Huber
458460354e Add delete-field keyboard shortcut (#4978)
* Add delete-field keyboard-widget

* Update shortcuts.multids

* Update ShortcutInfo.multids

* Update fields.tid

* Update shortcuts.multids
2020-11-06 16:27:41 +00:00
Simon Huber
78c72b85fb Make tag for menubar-contents dropdown configurable (#4983)
* Make tag for menubar-contents dropdown configurable

* Make tag for menubar-contents dropdown configurable

* Make tag for menubar-contents dropdown configurable
2020-11-06 16:26:44 +00:00
jeremy@jermolene.com
22e25c05eb Remove normalize.css's styling of search inputs
As discussed here: https://github.com/Jermolene/TiddlyWiki5/issues/4984#issuecomment-723169753
2020-11-06 16:24:05 +00:00
jeremy@jermolene.com
4394b8e723 Dynannotate: Add example of view template usage 2020-11-06 12:27:46 +00:00
Miha Lunar
2bd9cc45fa Added more start/end parser ranges 2020-11-04 21:02:17 +01:00
Simon Huber
d5c4aa250a Remove dependency on wiki.js for story-startup and navigator (#4200)
* Update story.js

* Update wiki.js

* Update navigator.js

* Add deprecation console logs to addToHistory and addToStory
2020-11-02 22:52:02 +00:00
saqimtiaz
70561bd481 Added docs for enlist-input filter operator (#4966) 2020-11-02 22:50:22 +00:00
saqimtiaz
2f5f0db00f Added docs for :intersection filter run prefix (#4967) 2020-11-02 22:49:50 +00:00
Simon Huber
4a6aa865b3 Make Escape in keyboard-driven-inputs behave like in AdvancedSearch/Filter (#4961)
* Create focus-editor.js

* Update search.tid

* Update link-dropdown.tid

* Update search.tid

* Update Standard.tid

* Update Shadows.tid

* Update System.tid

* Update fields.tid

* Update tag-picker.tid

* Update Filter.tid

* Update clear.tid

* Update link-dropdown.tid

* Delete focus-editor.js
2020-11-02 19:08:24 +00:00
Simon Huber
f29d24a1f5 Doc updates for keyboard-driven-input (#4963) 2020-11-02 19:04:25 +00:00
Bram Chen
2818f52f95 Add chinese translations for Shortcuts/SidebarLayout/Hint (#4962) 2020-11-02 09:17:09 +00:00
Bram Chen
9453c4d684 Add chinese translations for Listing/Rename/OverwriteWarning (#4960) 2020-11-01 17:15:27 +00:00
Mario Pietsch
42b965c9f0 Init less parsers (#4954)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* Don't override browser selection colours by default

Reverts some of #4590

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* list-widget, init new Parser() only if needed.

* fix braces

Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
2020-11-01 17:14:42 +00:00
saqimtiaz
e9a635dc81 Added intersection filter run prefix (#4959) 2020-11-01 17:13:52 +00:00
Simon Huber
26ade60e93 Make AdvancedSearch/Filter navigatable by keyboard (#4932)
* Make AdvancedSearch/Filter keyboard-driven

* Adapt keyboard-driven-input macro for use with...

... AdvancedSearch/Filter Tab

* Adjust Filter dropdown for kb-driven AdvancedSearch/Filter

* Adjust Clear Button for kb-driven AdvancedSearch/Filter

* Adjust Delete Button for kb-driven AdvancedSearch/Filter

* Adjust Export Button for kb-driven AdvancedSearch/Filter

* Update clear.tid

* Avoid editing the wron tiddler

* Make cancel-search-actions a bit more sophisticated

* Update Filter.tid

* Update Filter.tid

* Update Filter.tid

* Update keyboard-driven-input.tid

* Update dropdown.tid

* Update dropdown.tid

* Update Filter.tid

* Update clear.tid

* Update delete.tid

* Update dropdown.tid

* Update export.tid

* Update clear.tid

* Update Shadows.tid

* Update Standard.tid

* Update Shadows.tid

* Update System.tid

* Update Filter.tid

* Update keyboard-driven-input.tid
2020-11-01 17:12:29 +00:00
saqimtiaz
e7245a709c Add string operator enlist-input[] (#4948)
* Add string operator titlelist[]

* Update strings.js

* Update strings.js

* Add tests
2020-11-01 17:11:46 +00:00
Simon Huber
a6efc14a7c Add keyboard shortcut to change the sidebar layout (#4952)
* Create change-sidebar-layout keyboard shortcut

* Update shortcuts.multids

* Update ShortcutInfo.multids

* Update Misc.multids
2020-11-01 17:10:19 +00:00
saqimtiaz
9fbcdeb29e Import UI: add warning about tiddlers that already exist (#4956)
* Added message when tiddler being imported already exists

* Refactored some filters into a shared subfilter, optimized macro definitions
2020-11-01 11:33:02 +00:00
Simon Huber
ef1b7d619a Make ctrl-Enter in sidebar search also focus the AdvancedSearch input (#4941)
* Update search.tid

* Update Misc.multids

* Update search.tid

* Update search.tid

* Update search.tid

* Update search.tid
2020-11-01 11:23:18 +00:00
Simon Huber
ec70e5c179 AdvancedSearch keyboard shortcut: Let the navigator widget handle scrolling (#4955) 2020-11-01 11:22:34 +00:00
Simon Huber
4de0dc301b Rename $:/core/ui/KeyboardShortcut/toggle-sidebar... (#4953)
... to $:/core/ui/KeyboardShortcuts/toggle-sidebar for consistency
2020-11-01 11:15:53 +00:00
Simon Huber
769ffa19b7 Update CodeMirror plugins to v5.58.2 (#4950)
* Update codemirror.js to 5.58.2

* Update codemirror.css to 5.58.2

* Update activeline.js to 5.58.2

* Update dialog.js to 5.58.2

* Update jump-to-line.js to 5.58.2

* Update search.js to 5.58.2

* Update searchcursor.js to 5.58.2

* Update xml.js to 5.58.2

* Update show-hint.js to 5.58.2

* Update show-hint.css to 5.58.2

* Update javascript-hint.js to 5.58.2

* Update xml-hint.js to 5.58.2

* Update html-hint.js to 5.58.2

* Update css-hint.js to 5.58.2

* Update anyword-hint.js to 5.58.2

* Update closebrackets.js to 5.58.2

* Update matchbrackets.js to 5.58.2

* Update closetag.js to 5.58.2

* Update xml-fold.js to 5.58.2

* Update fullscreen.js to 5.58.2

* Update emacs.js to 5.58.2

* Update sublime.js to 5.58.2

* Update comment.js to 5.58.2

* Update vim.js to 5.58.2

* Update css.js to 5.58.2

* Update multiplex.js to 5.58.2

* Update htmlembedded.js to 5.58.2

* Update htmlmixed.js to 5.58.2

* Update javascript.js to 5.58.2

* Update markdown.js to 5.58.2

* Update markdown.js

* Update readme.tid

* Update markdown.js
2020-11-01 11:10:00 +00:00
Robin Munn
c0b021f509 Typo fix (#4951) 2020-11-01 11:03:59 +00:00
Simon Huber
635ec65d3f Fix alignment of tc-tiddler-edit-title (#4949) 2020-11-01 10:58:27 +00:00
Simon Huber
da06b64845 Fix AdvancedSearch Standard, System and Shadows up/down behavior (#4939)
* add filterMinLength to AdvancedSearch/Shadows

* add filterMinLength to AdvancedSearch/Standard

* add filterMinLength to AdvancedSearch/System

* Update link-dropdown.tid
2020-11-01 10:57:13 +00:00
Robin Munn
ecb3c86e7b Fix bug when location hash contains a # (#4947)
The bug fixed in this commit had an interesting side effect when the
location hash started with #, e.g. it looked like wiki.html##foo.
In that case, TiddlyWiki's navigation processing is not triggered and
the browser's navigation processing is used instead, which allows
anchors to be used within tiddlers for sub-tiddler navigation. To
preserve this unintended but useful side-effect, we check for a location
hash that starts with # and ignore it if it does.
2020-11-01 10:47:50 +00:00
Bram Chen
c6cd4d33e6 Add chinese translations for Listing/Rename/Prompt (#4946) 2020-11-01 10:45:48 +00:00
Robin Munn
77fe6244a2 Fix bug with sortan operator called on date fields (#4839)
* Add failing unit test that shows the bug

* Fix the bug
2020-11-01 10:45:18 +00:00
Simon Huber
f6e485b897 Avoid editing the wrong tiddlers when input fields are empty (#4943)
* Avoid editing the 'undefined' tiddler

* Avoid editing the wrong tiddler

* Avoid editing the wrong tiddler

* Avoid editing the wrong tiddler
2020-10-31 13:22:46 +00:00
Simon Huber
4b5d287c90 Change input-accept-variant actions shortcut from alt-Enter ... (#4942)
... to ctrl-Enter and advanced-search-sidebar shortcut from ctrl-Enter to alt-Enter

the ctrl-Key blocks navigation to the AdvancedSearch tiddler
2020-10-31 13:22:05 +00:00
saqimtiaz
c01e9cef12 Do not save temp tiddlers in single file (#4938)
* Update single file template to exclude temp tiddlers

* Update save-all-external-js.tid
2020-10-31 13:21:28 +00:00
saqimtiaz
655501140b Improvements for Import UI (#4937)
* Fixed bug with old titles used in popup, improved UI for greater rename input size

* Added flexbox utility CSS and use it for import UI
2020-10-29 13:01:17 +00:00
Robin Munn
cae32d39a5 Improve documentation for reduce operator (#4936) 2020-10-29 13:00:49 +00:00
Bram Chen
bc5609820f Update chinese translations (#4935)
* Update chinese language files
* add `Error/FilterRunPrefix` in Misc.multids
* add `Shortcuts/Input/AdvancedSearch/Hint` in Misc.multids

* Add chinese translations for Listing/Rename/*
2020-10-29 12:57:54 +00:00
twMat
4914208011 Update Configuring startup tiddlers.tid (#4009) 2020-10-29 12:57:11 +00:00
Simon Huber
b8fa6f0f0a Fix keyboard-driven fieldname dropdown (#4930)
I've accidentally overwritten the correct file when adding the tc-small-gap classes ... SORRY!
2020-10-28 17:16:20 +00:00
saqimtiaz
9605d94b6c Import rename (#4928)
* Add UI for renaming tiddlers before import in the import listing

* Removed spurious whitespace
2020-10-28 16:03:04 +00:00
Bram Chen
49b11bc493 Update chinese language files (#4929)
* add `Error/FilterRunPrefix` in Misc.multids
* add `Shortcuts/Input/AdvancedSearch/Hint` in Misc.multids
2020-10-28 15:59:02 +00:00
Simon Huber
9a4eb1e835 Add meta-S (mac) / ctrl-S shortcuts to save wiki (#4927)
* Create save-wiki.tid

* Update shortcuts-mac.multids

* Update shortcuts.multids

* Update ShortcutInfo.multids
2020-10-28 14:42:41 +00:00
Simon Huber
e71bf27dae Replace various &nbsp; with tc-small-gap classes (#4926)
* replace &nbsp; by span.tc-small-gap-right

* replace &nbsp;

* replace &nbsp;

* replace &nbsp;

* replace &nbsp;

* replace &nbsp;

* replace &nbsp;

* replace &nbsp;
2020-10-28 13:13:55 +00:00
Simon Huber
c985fd63f9 make link-dropdown navigatable by keyboard (#4919) 2020-10-28 12:01:05 +00:00
saqimtiaz
f5ad5010bc Added documentation for ':filter' prefix for filter runs. (#4920) 2020-10-28 12:00:18 +00:00
Simon Huber
12be7ac7e9 Add ability to navigate fieldname-dropdown by keyboard (#4921)
* make fields EditTemplate navigatable by keyboard

* Add configuration tiddler for fieldname-dropdown filters

* Update base.tid
2020-10-28 11:59:36 +00:00
Ryan Kramer
651619076a add override saver (#4908)
* add override saver

* rename 'override' to 'custom' and use the  global instead of introducing a new one
2020-10-28 11:58:48 +00:00
Simon Huber
57ba4c8cba Add .tc-small-gap (+left / right) and .tc-big-gap... (#4923)
(+left / right) classes that define margins of .5em / 1em
2020-10-28 11:57:08 +00:00
Simon Huber
6a01ab20a0 Fix menubar-plugin search (#4922) 2020-10-28 10:55:16 +00:00
Simon Huber
81e3ab0bc5 Make AdvancedSearch/Standard, AdvancedSearch/System and AdvancedSearch/Shadows navigatable by keyboard (#4925)
* Make AdvancedSearch/Shadows navigatable by keyboard

* Make AdvancedSearch/System navigatable by keyboard

* Make AdvancedSearch/Standard navigatable by keyboard

* Update search.tid
2020-10-28 10:53:41 +00:00
Simon Huber
e43ffe860b Fix #4910 - "Editor link dropdown is broken in pre-release." (#4913)
* fix #4910 in sidebarsegments/search

* fix #4910 in editortoolbar/link-dropdown

* fix #4910 in keyboard-driven-input macro

* Update keyboard-driven-input_Macro.tid

* Fix #4910 in tag-picker macro

* Update tag-picker.tid
2020-10-27 17:33:06 +00:00
saqimtiaz
d0081a7247 Updated Filter docs for named filter run prefixes (#4917) 2020-10-27 16:49:56 +00:00
saqimtiaz
972456ca07 Add new 'filter' prefix for filter runs (#4918) 2020-10-27 16:48:40 +00:00
jeremy@jermolene.com
9eec6ff915 Update path-prefix docs
Addressing @OblivionSY's comment https://github.com/Jermolene/TiddlyWiki5/issues/4898#issuecomment-717207456
2020-10-27 12:32:06 +00:00
saqimtiaz
c9efa23f02 Named filter run prefixes (#4915)
* First pass at refactoring filter code to support named filter run prefixes

* Remove filter prefix for now

* renamed module type and filter run prefixes

* Moved inline handling for no filter run prefix to 'or' filter run prefix.

* Added error handling for undefined filter run prefixes
2020-10-27 12:24:18 +00:00
Simon Huber
3843c61132 Add ability to cycle Advanced-search tabs by keyboard ... (#4909)
* Update AdvancedSearch.tid

* Update System.tid

* Update Standard.tid

* Update Filter.tid

* Update Shadows.tid

* Update search.tid

* Update shortcuts.multids

* Update ShortcutInfo.multids

* Update Misc.multids

* Update ShortcutInfo.multids

* Update search.tid
2020-10-27 09:03:34 +00:00
jeremy@jermolene.com
f6938d6abb Fix external-attachments plugin relative path bug
Fixes #4549
2020-10-26 18:36:46 +00:00
Rob Hoelz
aa7a00d080 Add eslint plus very tolerant starting config (#4872)
* Add eslint plus very tolerant starting config

Addresses GH #1865

This adds eslint as a developer dependency, plus a generated eslint
config that doesn't take a very strong stance on much of anything.  The
goal here to get started using automated style checking, add eslint
checking to the testing flow, and gradually introduce stricter checks
over time.

* eslint: Fix ecmaVersion

See
https://github.com/Jermolene/TiddlyWiki5/pull/4421#issuecomment-587002325,
where @Jermolene declared TiddlyWiki targets EcmaScript 5
2020-10-26 17:52:25 +00:00
jeremy@jermolene.com
4c6de22711 Recognise the image/jpg content type, even though it's not really legal
Browsers also respect it.

Fixes #4571
2020-10-26 17:47:19 +00:00
saqimtiaz
83f976ea54 Extended tiddlywiki.files to allow optionally saving changes to a tiddler back to the original file location (#4914) 2020-10-26 17:36:50 +00:00
jeremy@jermolene.com
3153c588ec Disable autosave in the upgrade wizard
To address @pmario's suggestion here: https://github.com/Jermolene/TiddlyWiki5/issues/4879#issuecomment-704320381
2020-10-26 17:28:57 +00:00
Robin Munn
0ce1843070 Simplify ci-push.sh: end script on any error (#4886)
Use the bash -e option to exit on any error, so || exit 1 is not needed.

As a bonus, this lets us get the actual return code from any failures.
2020-10-26 16:58:21 +00:00
Mario Pietsch
15338e60e8 Get "New Release Banner" from TW5-com edition (#4912)
* Fix state tiddlers for action-create-tiddlers examples

* Get "New Release Banner" from TW5-com edition
2020-10-25 22:03:35 +00:00
jeremy@jermolene.com
f7f55e8eff Add support for username/password parameters for tm-login message 2020-10-25 16:33:44 +00:00
jeremy@jermolene.com
5cc1600072 Introduce post-render startup actions 2020-10-25 16:22:21 +00:00
saqimtiaz
1a91f81976 Update filters for single file to match changes to syncFilter (#4907)
* Update saverFilter to match new changes in syncFilter

* Update save-all.tid

* Update save-all-external-js.tid

* Update save-offline.tid
2020-10-25 15:57:35 +00:00
saqimtiaz
b9234fe238 Update syncFilter to allow excluding multiple storyLists (#4906) 2020-10-25 15:56:41 +00:00
Bram Chen
4cdbe6540b Update chinese translations (#4890)
* Add chinese translations for "Error/FormatFilterOperator"

* Update Misc.multids
2020-10-24 08:22:39 +01:00
Mario Pietsch
4877891980 Fix tiddler title alignment if no icon is acitve (#4859)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* don't show the span if no icons are active.

* title lineheight 1.3 needed for eg: gggggg
2020-10-23 19:39:03 +01:00
Simon Huber
a1b486436e update TabsMacro.tid with "actions" and "explicitState" attribute (#4902) 2020-10-23 19:33:46 +01:00
Simon Huber
c3a8cc7eb4 fix error in sidebarsegments / search (#4903) 2020-10-23 19:32:40 +01:00
jeremy@jermolene.com
707e9d8926 Exclude $:/StoryList from syncing
Fixes #4868
2020-10-23 16:27:17 +01:00
saqimtiaz
adf0c1a12a Documentation for format filter operator (#4895)
* Documentation for format operator

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

This updates the "modifier Variable" tiddler

* Update modifier Variable.tid
2020-10-23 16:23:54 +01:00
Mario Pietsch
7686be7b14 Fix state tiddlers for action-create-tiddlers examples (#4897) 2020-10-23 16:23:17 +01:00
Simon Huber
84479bc403 Fix #4826 - Keyboard-driven-inputs clashes with customized search results. (#4875)
* Update search.tid

* Update DefaultSearchResultList.tid

* Update tabs.tid

* Update SearchResults.tid

* Update tabs.tid

* Update SearchResults.tid

* Update search.tid

* Update keyboard-driven-input.tid

* Update shortcuts.multids

* Update ShortcutInfo.multids

* Update Misc.multids

* Update keyboard-driven-input.tid

* Update search.tid

* Update Misc.multids
2020-10-23 15:58:34 +01:00
jeremy@jermolene.com
794dfb96f2 Don't try to process lazily loaded plugins
Fixes #4900
2020-10-23 15:37:20 +01:00
jeremy@jermolene.com
d254612826 Update and rearrange release note 2020-10-19 09:51:11 +01:00
jeremy@jermolene.com
c8721b38fd JSZip plugin: Fix example formatting 2020-10-19 09:44:55 +01:00
jeremy@jermolene.com
f863acf8ac Update BibTeX parser to use later fork of library
https://github.com/ORCID/bibtexParseJs
2020-10-18 17:05:43 +01:00
jeremy@jermolene.com
7e7ecbe7a5 Google Actions requires spaces instead of tabs 2020-10-18 16:51:36 +01:00
jeremy@jermolene.com
4ecd885a0c Update GitHub Actions to avoid deprecated "set-env" command
Fixes #4885
2020-10-18 16:13:38 +01:00
ento
dbda09b9fc Make test harness exit with a non-zero code when there's test failure (#4889)
* Rename variables to better convey what they're about

* Refactor comments so that they make more sense

* In Node.js, call the wrapper's execute function

The function sets up callbacks necessary for
exiting the process with the appropriate exit code.
https://github.com/jasmine/jasmine-npm/blob/v3.4.0/lib/jasmine.js#L235

* No need to configure the default reporter manually

The .execute() function does it

* Add note on which path comes from which npm package

* Note that other properties of the process object are referenced too
2020-10-18 15:19:52 +01:00
jeremy@jermolene.com
41931082e6 Update release note 2020-10-18 14:42:25 +01:00
jeremy@jermolene.com
5af76c5ea1 Extend TOC macros to allow custom link targets 2020-10-17 13:44:15 +01:00
jeremy@jermolene.com
1446a1e44c Extend tm-scroll to accept CSS selector to identify the target 2020-10-14 15:59:27 +01:00
jeremy@jermolene.com
69c12618d9 Syncer: Allow syncadaptor to customise the login prompt 2020-10-14 12:41:51 +01:00
jeremy@jermolene.com
651fb777ab PasswordPrompt: Return the object so it can be modified 2020-10-14 12:41:33 +01:00
jeremy@jermolene.com
34a51d2e23 Typo in comment
Thanks @saqimtiaz
2020-10-08 17:21:31 +01:00
jeremy@jermolene.com
2fc62c1a52 Merge branch 'tiddlywiki-com' 2020-10-08 16:49:00 +01:00
jeremy@jermolene.com
5ebd98779a Update Quine 2 URL 2020-10-08 16:46:57 +01:00
jeremy@jermolene.com
14a28b7779 Add "reduce" and "filter" operators 2020-10-06 19:20:03 +01:00
jeremy@jermolene.com
0027b990e4 Move tw5.com docs tiddlers to the correct folders 2020-10-04 17:36:08 +01:00
jeremy@jermolene.com
9716c32695 Fix Firefox bug with selection colours
See 543f9107b6 (commitcomment-42849656)
2020-09-30 17:59:39 +01:00
jeremy@jermolene.com
f7a626fef2 Add version tag missed off ae13a0fee1 2020-09-29 16:40:24 +01:00
jeremy@jermolene.com
f8961abb8a Share Plugin: Fix problem with sharing double quoted tiddler titles 2020-09-28 11:31:58 +01:00
jeremy@jermolene.com
59f233cd46 Fix exporting tiddlers with double quoted titles
Fixes #4860
2020-09-28 11:31:33 +01:00
jeremy@jermolene.com
ae13a0fee1 Extend Macro Call Widget to support outputting raw text 2020-09-28 11:30:28 +01:00
jeremy@jermolene.com
543f9107b6 Don't override browser selection colours by default
Reverts some of #4590
2020-09-25 14:06:00 +01:00
Gerald
5bf810408a Fix: add tc-tiddlylink-external to markdown links (#4862) 2020-09-25 13:07:36 +01:00
Gerald
405c618b6b Signing the CLA (#4867) 2020-09-25 13:07:08 +01:00
Florian Kohrt
4cd6a24431 Mention <tiddler-filter> parameter of savelibrarytiddlers command (#4857) 2020-09-24 19:09:06 +01:00
Florian Kohrt
773dcce713 Signing the CLA (#4845) 2020-09-24 19:08:23 +01:00
Robin Munn
d5cf4112fa Joining an empty list should return an empty list (#4853) 2020-09-24 18:37:51 +01:00
saqimtiaz
72c07a3f81 Format filter to create formatted date strings (#4785)
* asdate filter to create formatted date strings

* Added format filter operator
2020-09-24 18:35:10 +01:00
Mario Pietsch
bdaf3a4502 Change description for Filesystem and TiddlyWeb plugins (#4865)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* Improve the plugin description field to make the dataflow more obvious
2020-09-24 18:28:22 +01:00
jeremy@jermolene.com
f7fe47914e Dynaview: Fix transclude-when-visible macro 2020-09-23 17:33:00 +01:00
jeremy@jermolene.com
0338f0fee2 AWS Plugin: Add aws-encodeuricomponent filter that also encodes single quotes
Because AWS S3 doesn't allow single quotes in filenames
2020-09-23 17:32:38 +01:00
jeremy@jermolene.com
843319ebb0 Merge branch 'master' of github.com:Jermolene/TiddlyWiki5 2020-09-14 13:20:06 +01:00
jeremy@jermolene.com
2374fb5104 More release note updates 2020-09-14 13:16:10 +01:00
Robin Munn
31c9c23a18 Gitea API wants tokens, not HTTP basic auth (#4854) 2020-09-14 13:14:10 +01:00
jeremy@jermolene.com
af82a95a29 Update release note 2020-09-14 11:34:38 +01:00
jeremy@jermolene.com
87dc67d0cd Update CI scripts 2020-09-08 12:59:37 +01:00
jeremy@jermolene.com
68b455565b Update workflow file 2020-09-08 12:55:07 +01:00
Devin Weaver
c60402b06d Add Reveal.js plugin entry to Resources (#4842) 2020-09-08 11:34:35 +01:00
jeremy@jermolene.com
422eb43e50 CI: Update name of token 2020-09-01 17:08:53 +01:00
jeremy@jermolene.com
a78570c99a Minor change for testing GitHub Actions
See https://github.com/Jermolene/TiddlyWiki5/issues/4834#issuecomment-683447272
2020-08-30 18:27:25 +01:00
Robin Munn
5202441769 Add suffix and parameter to trim operator (#4811)
* Add suffix and parameter to trim operator

Fixes #4809

* Unit tests for new trim operator parameters

* Mention trim operator in 5.1.23 release notes

* Address review comments

* Move regex escaping into utils.js trim functions

This way the trimPrefix and trimSuffix functions from utils.js are safe
to call without regex-escaping their parameters, which should make them
easier to use from other parts of the Javascript code.
2020-08-29 12:27:58 +01:00
ento
ef29d05ea4 Finish migration to GitHub Actions (#4836)
* Fix 'if' condition syntax in Actions workflow

Strings in expressions need to be in single quotes:
https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#literals

* Delete .travis.yml

We moved to GitHub Actions

* Inline git-related environment variables

* Inline the build number variable

* Rename TRAVIS_BRANCH to TW5_BUILD_BRANCH

Since we don't use Travis anymore

* Update developer documentation regardgin which CI service is used

* Document the decision about setting env vars in the workflow file
2020-08-29 11:58:34 +01:00
ento
e332bb1728 Fix 'if' condition syntax in Actions workflow (#4835)
Strings in expressions need to be in single quotes:
https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#literals
2020-08-29 11:57:05 +01:00
jeremy@jermolene.com
14573d2c2d Add Arabic (Palestine) to the "Full Edition" 2020-08-28 17:51:17 +01:00
jeremy@jermolene.com
cbf79b8b90 Add RTL indicator to Arabic (Palestine) translation 2020-08-28 17:50:44 +01:00
Habash
ae604cd660 Add Arabic (Palestine) translation (#4720)
This is  my first contribution to Tiddlywiki , which contains an Arabic translation of 603 strings out of the porposed 941 strings in the translator edition.

I'll be working soon to finish the translator's edition strings, and I'll create a proper cascading for the arabic tiddlers.
2020-08-28 17:47:57 +01:00
ento
a206dccf0a Add GitHub Actions workflow (#4793)
* Parameterize strings that mention Travis

This is so that the script can be shared with
GitHub Actions while we make the transition.

* Add GitHub Actions workflow

More or less a direct translation of .travis.yml

* Rename scripts that mention travis

* Fix typo
2020-08-28 17:31:57 +01:00
Habash
c187f4b238 Signing the CLA (#4833) 2020-08-28 17:30:00 +01:00
jeremy@jermolene.com
4eda601a32 Update "Hidden Setting: Disable Drag and Drop" with version tag
Fixes #4573
2020-08-28 15:46:29 +01:00
Arlen22
4f376fba35 Separate $tw.boot.startup into three functions (#4602)
* Update boot.js

* Update boot.js
2020-08-28 15:43:42 +01:00
jeremy@jermolene.com
8bfd8f3a26 Update $:/tags/TextEditor/Snippet docs
Fixes #4603
2020-08-28 15:41:33 +01:00
gernert
ba9de17b87 Update SystemTag_ $__tags_Macro_View.tid (#4604) 2020-08-28 15:38:47 +01:00
jeremy@jermolene.com
8497e5b95d GitHub/Gitlab/Gitea savers: Handle empty paths correctly
Fixes #4656
2020-08-28 15:28:34 +01:00
jeremy@jermolene.com
918e52b37b Merge branch 'tiddlywiki-com' 2020-08-28 15:25:47 +01:00
Cameron Fischer
b86bbf3fc4 Compressing $set chains into one $vars (#4659) 2020-08-28 14:53:20 +01:00
jeremy@jermolene.com
7de8e1fc97 Remove extraneous CSS property
Fixes #4713
2020-08-28 14:51:11 +01:00
twMat
b16f5592fc Update contains Operator.tid (#4746) 2020-08-28 14:44:40 +01:00
saqimtiaz
48c6146ab6 Link widget: Include original event in tm-navigate (#4724) 2020-08-27 15:52:25 +01:00
John Xia
485022797f Clarifying plugin installation for Node.js (#4728)
All thanks go to @matrixbot on the Gitter for explaining what was going on!
2020-08-27 15:51:48 +01:00
John Xia
7bd719f3f3 Signing the CLA (#4727)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2020-08-27 15:50:52 +01:00
Mario Pietsch
6645afcd15 Fix #4750 plugin priority for tiddlyweb (#4751)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* fix issue #4750 add plugin-priority of 10 to tiddlyweb plugin.
2020-08-27 15:48:30 +01:00
twMat
05de5b4c49 Update fixed Operator (examples).tid (#4763)
To clarify it zero pads.
2020-08-27 15:47:05 +01:00
ento
259b45065a Fix server error when saving a new tiddler created by following a tiddler link (#4770)
* Initialize draft tiddler with empty text

Otherwise, when the tiddler has a meta file,
$tw.utils.saveTiddlerToFile will call fs.writeFile with the content
to write as `undefined`. Depending on the version of Node, this
results in the string "undefined" getting saved or a TypeError.

* Remove what seems to be a leftover debug log
2020-08-27 15:45:34 +01:00
Simon Huber
aa08210e44 Fix #4795 - PaletteManager showing wrong tooltip (#4796) 2020-08-27 15:40:39 +01:00
Mario Pietsch
a0509a5170 Fix 4800 - remove communication to prodcut hunt on display. (#4812)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* fix #4800 - remove network communication to product hunt
2020-08-27 15:37:18 +01:00
Mario Pietsch
21f1c163d8 Update navigator widgets parameter docs (#4828)
Update navigator widgets parameter docs
2020-08-27 15:36:13 +01:00
jeremy@jermolene.com
a2796d89ab Fix httpRequest() header handling
Header names are not case sensitive, so the old code failed if it was called with a "Content-Type" header
2020-08-17 18:44:36 +01:00
Robin Munn
c23eedd069 Fix incorrect base64 encoding of astral-plane text (#4813)
Most astral-plane text is emojis like U+1F4DA BOOKS (📚), but some
languages like Osage have their alphabet entirely in the supplementary
multilingual plane as well. For proper support of languages like Osage,
and newer emojis, the UTF-8 decode and encode functions need to properly
handle codepoints above U+FFFF, which are represented by a surrogate
pair in Javascript strings.
2020-08-17 17:33:46 +01:00
jeremy@jermolene.com
ccda938248 More docs fixes from @fkohrt
See #4815
2020-08-14 15:19:16 +01:00
jeremy@jermolene.com
acd2cbf56a Docs fixes from @fkohrt
See #4815
2020-08-14 15:04:01 +01:00
jeremy@jermolene.com
f74c49f393 Fix syncing issues with external JS template
Fixes #4808
2020-08-14 11:06:08 +01:00
Adithya Badidey
8cf458d3b3 Adding SolarizedDark Palette, updated SolarizedLight and one tiny UI fix (#4799)
* Fixed Overflow svg fill

When hovered, the svg should be the same colour as the text it comes alongside. This fixes that.

* Fixed the Solarized Palettes as per spec

- Added the Solarized Dark palette
- Remade the Solarized Light palette with the right contrast ratios as per Solarized Spec.

* Sidebar Selected Tab UI Change

Changed the selected tab border and foreground from pink to white(base01) because the pink was too distracting and not very readable.

* Fixed Hover css for plugin info listing

The css was not working so I fixed it.

* Fixed the UI for plugin info tiddler (among others)
2020-08-11 18:54:17 +01:00
Mario Pietsch
fca9879321 Rename savewikifolder.tig to savewikifolder.tid (#4804) 2020-08-11 14:08:01 +01:00
jeremy@jermolene.com
7e964e9501 Browser-storage: Fix startup constraints
The use of $tw.perf requires the "startup" startup module to be executed first.
2020-08-11 12:32:39 +01:00
John Duhamel
89c0c6157b Add saver for Hyperdrive protocol used in Beaker 1.x (#4777) 2020-08-10 20:32:28 +01:00
Adithya Badidey
981e3bed45 Signing the CLA (#4801) 2020-08-10 14:56:33 +01:00
Simon Huber
17e2b208e8 Fix #4794 - tc-type-selector-wrapper not containing tc-edit (#4798)
* Update type.tid

* Update base.tid
2020-08-10 09:25:14 +01:00
Simon Huber
bbdd12cffd Add EditTabIndex config (tabindex = 1) (#4791) 2020-08-03 11:09:56 +01:00
saqimtiaz
dd79c096be Fix #4786 (#4787)
* Fix #4786

Fix #4786

* Update header.js
2020-08-03 10:41:23 +01:00
ento
9898e5e2db Don't run build-* stages for PRs against master (#4788) 2020-08-02 12:11:11 +01:00
Simon Huber
84b6a85293 Fix css selector for edit template new field (#4783) 2020-07-31 14:49:09 +01:00
ento
7acb9a255b Fix markdown table to honor alignment directives (#4774)
* Extract withChildren

* Handle table cell alignment

* 🎨 add missing semicolon
2020-07-31 13:01:21 +01:00
Simon Huber
5a6e35b4b0 Update keyboard-driven-input_Macro.tid (#4781) 2020-07-31 12:54:06 +01:00
ento
222821804e Fix Entity widget not rendering its content without a refresh (#4776)
* Expose TEXT_NODE and ELEMENT_NODE constants

* Add failing test for initial rendering of entity widget

* Compute attributes when rendering
2020-07-31 08:25:15 +01:00
Bram Chen
b32eb49d50 Update chinese translations (#4715)
* Update NewJournalTags.tid for zh* languages

* Add chinese shortcut descriptions to Misc.multids

* Add chinese translations for `Saving/TiddlySpot/ControlPanel`
2020-07-31 08:14:01 +01:00
jeremy@jermolene.com
97d2af7ebd TiddlySpot Saver: Add link to control panel
Thanks @twmat

Fixes #4778
2020-07-30 19:14:53 +01:00
Diep Pham
a9d79a1a84 Fix authenticated-user-header is case sensitive in header authenticator (#4780)
From RFC 2616 - "Hypertext Transfer Protocol -- HTTP/1.1", Section 4.2, "Message Headers":

Each header field consists of a name followed by a colon (":") and the field value. Field names are case-insensitive.
2020-07-30 18:24:28 +01:00
Diep Pham
792d285970 Signing the CLA (#4779) 2020-07-30 18:23:36 +01:00
Simon Huber
4de95a64c1 Lower width for field-value input field (#4760) 2020-07-17 08:48:30 +01:00
Simon Huber
95e30138f0 Add modifier variable to linkcatcher actionstring (#4758)
* Add modifier variable to linkcatcher actionstring

* Update LinkCatcherWidget.tid
2020-07-15 12:27:14 +01:00
Simon Huber
484c9e986f Fix #4755 - Indirect colours not shown in palette switcher (#4757)
* Fix #4755 - Indirect colours not shown in palette switcher

* Update currpalettepreview.tid

* Update currpalettepreview.tid
2020-07-15 12:23:13 +01:00
Simon Huber
00ff0d6fa0 Add modifier variable to button actionstring (#4671)
* Add modifier variable to button actionstring

* Update ButtonWidget.tid

* Update droppable.js

* Create getEventModifierKeyDescriptor method in keyboard.js

* Update droppable.js

* Update button.js
2020-07-14 17:04:06 +01:00
Simon Huber
a0bd93c596 Make tags in tags-dropdown change bg-color on hover (#4753) 2020-07-14 12:32:51 +01:00
Simon Huber
d66725fd31 Integrate keyboard-driven-input in menubar-search (#4752) 2020-07-14 12:32:40 +01:00
jeremy@jermolene.com
5b2048fad1 Update release note 2020-07-13 17:49:40 +01:00
Simon Huber
0d2df34c58 Keyboard-driven dropdown inputs (#4725)
* Add shortcut descriptions to Misc.multids

* Update framed.js

* Update simple.js

* Add inputActions and refreshTitle to factory.js

* Add inputActions and refreshTitle to edit.js

* Update DefaultSearchResultList.tid

* Update search.tid

* Update ShortcutInfo.multids

* Update shortcuts.multids

* Create keyboard-driven-input.tid

* Update tag-picker.tid

* Create keyboard-driven-input_Macro.tid

* Update EditTextWidget.tid

* Update EditWidget.tid

* Update engine.js

* Update base.tid

* Use primaryListFilter, secondaryListFilter, primaryList and secondaryList

* Update tag-picker.tid

* Update search.tid

* Update DefaultSearchResultList.tid

* Update keyboard-driven-input_Macro.tid

* Fix typo udpate -> update

* Update framed.js
2020-07-13 17:42:55 +01:00
jeremy@jermolene.com
d505eeb269 Consent widget
Block the raw widget unless consent has been granted. This is helpful because the tw2parser generates <$raw> widgets for content embedded with <html>, and thus this blocks YouTube embeds.
2020-07-13 11:49:21 +01:00
jeremy@jermolene.com
a0db3abe99 Consent banner: Add optional blocking of embedded content until consent granted 2020-07-02 13:14:51 +01:00
jeremy@jermolene.com
bd2cf5c464 Extend the element widget with a hook to intercept DOM node creation
The element widget is used to render HTML elements in wikitext.
2020-07-02 13:13:55 +01:00
twMat
8b5a4faa07 Update Filter Operators.tid (#4739) 2020-06-27 13:13:10 +01:00
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
35a842ade6 EditWidget: Pass attributes from parseTreeNode to child widgets (#4740) 2020-06-27 12:33:14 +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
64034f4977 Consent banner: Reorganise readme 2020-06-22 12:27:58 +01:00
jeremy@jermolene.com
4d2d6cc818 Consent banner: Use palette colours 2020-06-22 12:25:55 +01:00
jeremy@jermolene.com
c57bdc46f4 Update release note 2020-06-22 11:35:31 +01:00
jeremy@jermolene.com
4a84ed0018 Add new "Consent Banner" plugin, and update Google Analytics plugin to use it 2020-06-22 11:31:54 +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
9a479a95ad Catalan updates 2020-06-16 14:58:07 +01:00
jeremy@jermolene.com
7e1f5b8471 Add script for updating language plugins from translators edition 2020-06-16 14:57:58 +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
Simon Huber
881aed879b Fix #4591: Use text field instead of tags field for $:/config/NewJournal/Tags ... (#4600)
* Update Basics.tid

* Update new-tiddler.tid

* Update new-journal.tid

* Update new-image.tid

* Update new-here.tid

* Update new-journal-here.tid

* Update NewJournalTags.tid

* Update NewJournalTags.tid
2020-06-14 09:40:48 +01:00
twMat
2f55a8808c Update KeyboardWidget.tid (#4606)
Add railroad for key strings.
2020-06-13 19:29:38 +01:00
saqimtiaz
38e329edad Fixes use of stateTitle instead of state resulting in artifacts during import (#4711)
* Fixes use of stateTitle instead of state

* Fixed bug with merging
2020-06-13 09:16:33 +01:00
Simon Huber
d832cb93ce Fix (again) error in scrollable.js (#4705) 2020-06-11 13:54:59 +01:00
Simon Huber
bbf20f8955 Scrollable widget: Fix error in variable declaration (#4704) 2020-06-11 12:33:18 +01:00
Simon Huber
17a36726fa Fields EditTemplate: Correct positioning of dropdown (#4687)
* Add wrapper div to fields EditTemplate

* Add classes

* remove obsolete span

* Update base.tid
2020-06-11 12:18:31 +01:00
Simon Huber
482f7a92ae Type EditTemplate: show dropdown at correct position ... (#4686)
* Refactor type edittemplate for correct positioning...

... of type dropdown

* Refactor classes
2020-06-11 12:14:09 +01:00
Simon Huber
b191ee9210 Fix #4673 - Adding tags in $:/Manager does not work (#4674)
* Add fieldmangler to Manager Tags-Sidebar

This makes the tm-add-tag messages in the tag-picker work

* Add actions parameter back to tag-picker macro

* Add div so that tag-dropdown shows below input field

* Add missing tc-btn-dropdown class to dropdown button ...

... for consistency with dropdown buttons in EditTemplate

* Update tag-picker.tid
2020-06-11 12:12:45 +01:00
saqimtiaz
25f8b3f903 Check for DOM node existence before removing class. (#4696)
Can cause issues if dragstart and dragend actions trigger a refresh.
2020-06-11 12:11:56 +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
Cameron Fischer
e01b354f7d Corrected issue with markdowns softbreaks AND whitespace between md markup (#4684)
* Corrected issue with markdowns softbreaks

It wasn't respecting the $:/config/markdown/breaks setting.
It was effectively always "true".
Also, no more errors when encountering hardbreaks.

* Corrected introduced md bug

Made it so after each md type, accumulated text may be flushed.

* Changed convertNodes to use switch statement

It's faster, less text, easier to read, and now debuggers don't play
duck-duck-goose with every if-else block.

* whitespace text is no longer forgotten

* Fixed issue with text after md pattern and \n
2020-06-11 12:09:10 +01:00
Simon Huber
84cd761c8c Fix alignment of tag-pill icons (#4683) 2020-06-11 12:07:23 +01:00
Simon Huber
a947a6b6bc Fix hover colors of tag dropdown entries in sidebar (#4682) 2020-06-11 12:06:49 +01:00
Cameron Fischer
b0485eef6a Corrected incorrect image source for markdown (#4680) 2020-06-11 12:03:16 +01:00
Simon Huber
5b9dbf7b95 Use srcWindow in scrollable widget (#4677) 2020-06-11 11:49:32 +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
cbff2fb692 Fix e.toggleComment being undefined in CM sublime keymap (#4662)
* Create comment.js

* Update tiddlywiki.files
2020-06-11 11:45:47 +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
Bram Chen
042c8d8a69 Update chinese help texts for rendertiddlers command (#4657) 2020-06-11 11:39:57 +01:00
Arlen22
d32fb6f900 Allow setting boot, wiki, and pathPrefix for each request (#4649)
* Add pathPrefix to state, and options to request handler

* use ternary operator instead of default empty object

* Fix styling issues

* Update server.js

* Add boot to server and filesystem adapter
2020-06-11 11:36:41 +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
jeremy@jermolene.com
b0e40e8641 Fix dynaview examples 2020-05-16 14:56:08 +01:00
Simon Huber
99a07f80f1 Add missing Linkify ShortcutInfo (#4653) 2020-05-14 14:37:17 +01:00
Mario Pietsch
79ec21346d Fix 4596 - High cpu consume after upgrade to 5.1.22 (#4634)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* fix high CPU load
2020-05-14 14:31:57 +01:00
Simon Huber
5d91c27980 Update rendertiddlers.tid (#4635) 2020-05-14 14:31:32 +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
Bimba Laszlo
9c22537b4e Fix the class attribute of Droppable widget (#4647)
Even though we passed the `class` attribute, it did not take it into
account. For example try to render this:

  <$droppable class="custom-css-class">
    ... content ...
  </$droppable>

Before applying this patch:

  <span class=" tc-droppable">
    ... content ...
  </span>

After applying:

  <span class="custom-css-class tc-droppable">
    ... content ...
  </span>
2020-05-14 13:55:33 +01:00
Jonas Passerini
84a4784dee Add Transcludify ShortcutInfo (#4651)
* Signing the CLA

* Add Transcludify ShortcutInfo
2020-05-14 12:19:16 +01:00
jeremy@jermolene.com
5c0d91c510 Fix title of slugify.js filter module 2020-05-14 07:53:30 +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
2eb11d9a2d Add slugify operator to JSZip static export example 2020-05-09 15:56:48 +01:00
jeremy@jermolene.com
4966f6ab62 Add slugify and duplicateslugs operators
Fixes #3379
2020-05-09 15:54:44 +01:00
jeremy@jermolene.com
33d973fb91 Add originating widget to event objects 2020-05-09 15:53:38 +01:00
Arlen22
81f07cdf85 Use this.wiki where applicable (#4601)
* Use state.wiki

* use local wiki where available

* fix a couple this vs self cases
2020-05-06 11:27:50 +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
Simon Huber
86640474b5 Fix search dropdown items text color on hover (#4632) 2020-05-06 09:46:29 +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
Nicolas Petton
33e9f88c73 Add Nicolas Petton to the list of contributors (#4617)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2020-05-06 09:34:13 +01:00
mocsa
b9d02b61b1 Update cla-individual.md (#4607) 2020-05-06 09:33:18 +01:00
jeremy@jermolene.com
c9692d7a50 Fix case-insensitive freelinks 2020-05-05 16:38:29 +01:00
jeremy@jermolene.com
7ee9003df7 Release note update 2020-05-03 19:06:28 +01:00
jeremy@jermolene.com
75d65d2694 JSZip Plugin: Docs update 2020-05-02 21:31:15 +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
1f354a972e Freelinks plugin: Add support for ignoring case 2020-05-02 14:07:39 +01:00
jeremy@jermolene.com
5eee11beed Update Catalan translation 2020-05-02 13:16:52 +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
13b8281f6b $tw.utils.copyDirectory: Ensure directories don't overlap 2020-04-27 15:00:06 +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
5f98e7d7b3 Ensure $tw.utils.hasClass/addClass/removeClass work with SVG elements
These docs make clear that .className isn't recommended for SVG elements:

https://developer.mozilla.org/en-US/docs/Web/API/Element/className#Notes
2020-04-22 15:32:20 +01:00
jeremy@jermolene.com
a4fb57bf15 Fix typo in BrowseWidget docs 2020-04-22 12:10:34 +01:00
Simon Huber
cae937f107 Make selections follow palette colors (#4590) 2020-04-22 10:46:36 +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
jeremy@jermolene.com
3a20fb1e3a Twitter Plugin: Add warning if the wiki needs to be saved and reloaded 2020-04-21 21:22:13 +01:00
jeremy@jermolene.com
d6ee700bca Fix $tw.utils.getSubdirectories() 2020-04-21 21:21:38 +01:00
jeremy@jermolene.com
c87f4a1e94 Update prerelease version number
Whoops
2020-04-21 15:12:43 +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
Simon Huber
39d532a4a0 Revert "Make input fields dismiss their popups when the ... (#4579)" (#4586)
This reverts commit 4efcad46f3.
2020-04-20 19:26:54 +01:00
Simon Huber
86d7564661 Update gruvbox dark for better readability of ... (#4585)
... toolbar buttons
2020-04-20 17:13:00 +01:00
jeremy@jermolene.com
d579ce942c Fix broken links in static rendering
Fixes #4577
2020-04-20 15:56:48 +01:00
Simon Huber
4efcad46f3 Make input fields dismiss their popups when the ... (#4579)
* Make input fields dismiss their popups when the ...

... fields loose focus (`blur`)

* Update simple.js
2020-04-20 15:49:30 +01:00
jeremy@jermolene.com
1546a4a189 Client-server: Add message about disabled plugin library
Fixes #4570
2020-04-20 13:28:02 +01:00
jeremy@jermolene.com
2649d2f7dc Syncer: Fix typos
Fixes a bug introduced in #4584
2020-04-20 13:19:27 +01:00
idotobi
154e886873 Fix Comment in Webserver API route tidlers.json (#4557)
This commit fixes the the comment in the route
`recipes/default/tiddlers.json` which was inconsistent with the actually
used regex. Furthermore, the 403 response was adjusted to also agree
with the the new comment and the regex.

Co-authored-by: tobidot <post@tobidot.net>
2020-04-20 13:07:06 +01:00
idotobi
d9387cf4f8 Signing the CLA (#4581) 2020-04-20 13:06:41 +01:00
jeremy@jermolene.com
5688670da6 makelibrary command: Guard against invalid directories 2020-04-20 12:58:27 +01:00
jeremy@jermolene.com
678e25f510 makelibrary command should skip non-directories
Fixes #4583
2020-04-20 11:47:54 +01:00
jeremy@jermolene.com
15d7255728 Syncer: Should not call syncadaptor for missing tiddlers
Fixes #4580
2020-04-20 11:35:11 +01:00
jeremy@jermolene.com
05e6c1bf62 Freelinks Plugin: Don't autolink within HTML <a> links 2020-04-20 11:26:37 +01:00
Daniel Rodríguez Rivero
4ea79cb0c3 fix(syncer): restore tiddlerInfo param to saveTiddler (#4584)
This was added on a159b5baf3 and lost in #4373.
Will be a good idea to introduce tests against this kind of changes
2020-04-20 11:17:27 +01:00
jeremy@jermolene.com
e71a27ac2d Fix link widget to work within SVG elements 2020-04-19 12:57:56 +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
1a6be5ae09 Version number update for 5.1.22 2020-04-15 16:13:55 +01:00
Jeremy Ruston
efb121e016 Update readme for v5.1.22 2020-04-15 16:11:52 +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
Jeremy Ruston
7cbe766bde Utils: ParseInt should specify a radix
Thanks @pmario
2020-04-15 15:28:03 +01:00
Jeremy Ruston
f21d013241 jsontiddlers macro: parse "spaces" parameter as integer 2020-04-15 15:27:53 +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
Mario Pietsch
2b6c87fb4b Remove unwanted whitespace from sidebar links (#4552)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* fix 4532. Links should not add unwanted whitespace, since this causes problems with CSS styling

* remove whitespace from tiddler title and add a little bit of margin-right to the tiddler icon.

* use default parameters for link handling, which results in less code

* introduce tc-viewswitcher class to be able to style icon distance to text
2020-04-15 12:35:35 +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
2f3a95a0b8 Plugin Chooser: Display libraries as separate tabs
Suggested by @kookma
2020-04-15 10:20:17 +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
lin onetwo
161643c5da Fix: z-index for codemirror hint not large enough (#4551)
It is currently covered by other tiddler.
2020-04-14 21:53:18 +01:00
lin onetwo
1f313e8555 Signing the CLA to start contributing (#4562)
My Chinese name is Lin Dongwu, I will use that to sign it.
2020-04-14 21:52:11 +01:00
Mandar Vaze
bc3e5cda9e Add details about special tag in usage for ribbon (#4544)
Resolve #2581
2020-04-14 18:02:50 +01:00
Mandar Vaze
7900412fd0 Add Mandar Vaze to Individual Contrib. Agreement (#4543) 2020-04-14 18:02:28 +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
Cameron Fischer
43fdb553b7 Reduced indexOf calls in wiki.sortByList (#4275) (#4397)
Examined the tests in test-tag. They already cover all the use cases
I could think of.
2020-04-14 17:49:10 +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
dc82365956 Update copyright date in license 2020-04-14 15:19:03 +01:00
Jeremy Ruston
27ab7d81b7 Merge branch 'tiddlywiki-com' 2020-04-14 15:16:38 +01:00
Jeremy Ruston
0836fb7184 Makelibrary.js: Minor refactoring 2020-04-14 12:08:15 +01:00
jed
4146a04a9e Fix makelibrary.js to use enviroment variable paths (#4559)
This makes makelibrary.js use environment variables to find paths for plugins, themes and languages instead of just using the paths hardcoded in boot.js
2020-04-14 12:03:12 +01:00
Jeremy Ruston
84eaee8210 Control Panel Plugin Listing: Fallback to last component of title if name field is missing 2020-04-14 11:52:01 +01:00
Jeremy Ruston
4bbc58dd24 Plugin Chooser: Ensure official plugin library is shown first 2020-04-13 11:45:06 +01:00
Jeremy Ruston
4529123777 Plugin Chooser: Colour of update all button should match individual update buttons
Fixes the final issue mentioned by @kookma at https://github.com/Jermolene/TiddlyWiki5/issues/4486#issuecomment-612841838
2020-04-13 11:38:53 +01:00
Jeremy Ruston
0d0698ea6e Plugin Chooser: Don't display the "already installed" message twice
Fixing the first issue here https://github.com/Jermolene/TiddlyWiki5/issues/4486#issuecomment-612841838 by @kookma
2020-04-13 11:35:52 +01:00
Jeremy Ruston
63dee16611 Plugin Chooser: Use separate tab state for each plugin library
Fixing the third issue at https://github.com/Jermolene/TiddlyWiki5/issues/4486#issuecomment-612841838 from @kookma
2020-04-13 11:28:24 +01:00
Bram Chen
bd0b9d5f81 Add chinese translations for AddPlugins things (#4546)
* Add chinese translations for AddPlugins things
* "updates" tab
* prompt for plugins that have subplugins

* Improve chinese wording

* Update chinese translations for AddPlugins
* add Plugins/Downgrade/Caption
* add Plugins/Update/Caption
* update Plugins/Updates/UpdateAll/Caption
2020-04-13 11:17:25 +01:00
Xavier Cazin
8310af068c Additional fr-FR translation for Control Panel (#4555)
* fr-FR translation for strings relative to plugin updates

* Missing fr-FR translation for a string in ControlPanel

* Missing fr-FR translation for Copy to Clipboard caption & hint

* Missing fr-FR translations for the Edit Template

* fr-FR translations for updates/upgrades in plugin chooser
2020-04-13 11:15:20 +01:00
Jeremy Ruston
4cc98e361c Release note update 2020-04-13 11:11:24 +01:00
Jeremy Ruston
dc98432fa0 Plugin Chooser: Use existing template for updates tab 2020-04-13 11:11:16 +01:00
Jeremy Ruston
fd9938f2cc Release note update 2020-04-13 10:04:37 +01:00
Jeremy Ruston
86296b67aa Plugin Chooser: Distinguish between install, reinstall, update and downgrade 2020-04-13 10:04:14 +01:00
Jeremy Ruston
245dab0c8c Plugin Chooser: Include currently installed version 2020-04-13 10:03:24 +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
308ac8c5b0 AddPlugins: Add new "updates" tab 2020-04-09 11:07:13 +01:00
Jeremy Ruston
bc8859b550 AddPlugins: Add a clearer prompt for plugins that have subplugins 2020-04-09 11:06:54 +01:00
Jeremy Ruston
bdc5ac592f Fix count widget to return "0" for an empty filter string instead of undefined 2020-04-09 11:04:50 +01:00
Jeremy Ruston
c80f580833 Remove internal version number info from dynnannotate plugin 2020-04-09 10:58:32 +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
Nils-Hero Lindemann
322c37d693 Let chained > blockquotes generate valid HTML (#4332)
* Replace "p" with "div" in itemTag

'>> text' will now be valid html.

* Make the new div's behave like p's
2020-04-07 20:39:13 +01:00
Simon Huber
338cffd8c7 Add dependents to codemirror addons (#4278)
* use dependents in codemirror-autocomplete

* add dependents to codemirror-mode-htmlmixed

* add dependents to sublime keymap

* add dependents to vim keymap

* add dependents to htmlmixed mode

* add dependents to htmlembedded mode

* add dependents to markdown mode

* fix typo in markdown-mode

* fix typo in codemirror-mode-htmlembedded

* fix typo in codemirror-keymap-sublime

* fix typo in codemirror-keymap-vim

* fix typo in codemirror-mode-htmlembedded

* fix typo in codemirror-mode-markdown
2020-04-07 20:33:46 +01:00
Jeremy Ruston
e8506813fe Docs: fix broken link
Fixes #4266
2020-04-07 20:32:40 +01:00
Jeremy Ruston
fa86a90ef8 Add pull request template 2020-04-07 20:26:46 +01:00
Jeremy Ruston
291b1e2d33 Update issue templates 2020-04-07 20:21:49 +01:00
Mohammad Rahmani
9d4c05b6ce Signing the CLA (#4235)
Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2020-04-07 17:48:21 +01:00
Jeremy Ruston
c7d8492842 Add support for woff2 files 2020-04-06 17:35:10 +01:00
Mario Pietsch
d1b8cce6bf Update German translations (#4539)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* update German translations
2020-04-06 16:54:13 +01:00
Jeremy Ruston
c259aea3bc Travis-CI: Fix nvm failing to install Node.js v12.4.0
Something must have changed on the travis-ci end to cause things to suddenly fail
2020-04-06 11:05:45 +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
Xavier Cazin
06639850ba fr-FR translations catch up (#4535)
* fr-FR translated strings for the Gitea saver

* fr-FR translation for the _is_skinny description

* fr-FR translation for the Network Error alert

* fr-FR translation for Menu Bar colors

* fr-FR translation for the hint of the add button in EditTemplate

* fr-FR translation for the default focus field hint

* fr-FR translation for throttle.refresh field description

* fr-FR translation for Icon: None in TagManager

* fr-FR translation for Plugins "Also requires:"

* Add NewJournalTags.tid in fr-FR directory

* fr-FR translations for plugin related strings

* fr-FR translation for Sidebar visibility toggle hint

* fr-FR translation for the sidebar search hint

* fr-FR translation for two Palette Editor hints
2020-04-04 16:55:32 +01:00
saqimtiaz
21565f635e Fix range widget for IE10/11 (#4534)
As detailed in #4519 the range widget currently does not save its value to the state tiddler on IE 10/11 as they do not support the input event, but rather the change event is fired instead of the input event. This has patch has been tested in IE11 and should work in IE10 as well.

Note that on Chrome and Firefox, the change event will fire only once after the user stops dragging the range slider (In addition the input event). However this does lead to an extra refresh as the handleInputEvent method already checks to see if the current value of the slider is different from the saved value before saving to the store.
2020-04-03 13:07:55 +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
Simon Huber
bbdebb27ce Add TiddlyDesktop's wikilist colours to Gruvbox palette (#4521) 2020-04-02 17:29:24 +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
493a28c396 TiddlyWebAdaptor: Trim whitespace from save button
Fixes #4530
2020-03-31 14:54:03 +01:00
Bram Chen
7d30664b7d Update chinese translations (#4528)
* add description of field `_is_skinny`
* add alert message `Error/NetworkErrorAlert`
2020-03-31 11:01:09 +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
a4003d4697 Updates for Dutch translation
Thanks @gernert
2020-03-30 20:25:24 +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
Joshua Fontany
6f4daa70e1 GruvBoxDark palette contrast tweaks (#4522) 2020-03-29 13:44:09 +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
2d9a9703cb Menubar: Fix positioning of toprightbar when narrow
Fixes #4477
2020-03-24 10:35:07 +00:00
Simon Huber
4232b402ab Update Vanilla.tid (#4515) 2020-03-20 18:31:57 +00:00
Simon Huber
10ab83940a Update Nord Palette for better readability (#4517) 2020-03-20 12:47:48 +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
Bram Chen
33fb4f5c0d Fix the index names of chinese translations for Gitea saver in ControlPanel.multids (#4506) 2020-03-16 09:14:15 +00:00
Simon Huber
c6b109fbde Update GruvBoxDark.tid (#4510)
better readability, was wrong the first time
2020-03-16 09:12:35 +00:00
Jeremy Ruston
8f12717935 Menu bar: Fix search result visibility
Fixes #4509
2020-03-16 09:11:08 +00:00
Jeremy Ruston
bc687e5783 Add a hidden setting for disabling the page dropzone 2020-03-15 14:46:33 +00:00
Jeremy Ruston
a6f6db40d9 Revert "Fix test for needing to update text editor DOM"
This reverts commit a65ec87c53.
2020-03-15 14:23:10 +00:00
Simon Huber
e67485ec54 Highlight Plugin: Update readme to reflect version change (#4503) 2020-03-14 17:16:38 +00:00
Jeremy Ruston
fa48a592da Menubar: Fix links in sidebar "open" tab
Fixes @BurningTreeC's report 061a2c6c94 (commitcomment-37826117)
2020-03-14 17:03:40 +00:00
Simon Huber
f3ac255855 Update GruvBoxDark.tid (#4501) 2020-03-14 13:10:39 +00:00
Simon Huber
f051e0d790 Update highlight.js to latest v9.18.1 (#4502)
* update highlight.pack.js to latest v9.18.1

* Update readme.tid
2020-03-14 13:06:50 +00:00
Jeremy Ruston
061a2c6c94 Menubar: Add an optional dropdown for the sidebar tabs 2020-03-14 12:55:11 +00:00
Matthias Bilger
62f8c9353e Use CamelCase for Gitea (#4496) 2020-03-13 17:36:05 +00:00
Jeremy Ruston
ff7fab6175 Menubar: Move behind modals in z-order
Fixed fix for #4499
2020-03-13 09:52:24 +00:00
Bram Chen
0644716f4b Add chinese translations for description of Gitea saver (#4498) 2020-03-13 09:41:43 +00:00
Jeremy Ruston
1dc517b151 Menubar: Move behind modals in z-order
Fixes #4499
2020-03-13 09:35:37 +00:00
saqimtiaz
ca6dd93214 Add support for a custom class to modal wrapper (#4490)
* Add support for a custom class to modal wrapper

As per https://github.com/Jermolene/TiddlyWiki5/issues/4485 add support for a custom class to modal wrapper, by means of a field in the modal tiddler. The class is added to the modal wrapper in addition to the default class, allowing for custom styling via css of any part of the modal.

* Remove redundant check for tiddler.
2020-03-12 16:58:14 +00:00
Simon Huber
195b3b0209 Add "Gruvbox Dark" color palette (#4494)
* Add "Gruvbox Dark" color palette

this adds the "gruvbox dark" color palette (https://github.com/morhetz/gruvbox) which is also available for highlight.js and codemirror

* add "credits" field

* change "credits" field to "license" field
2020-03-12 15:54:23 +00:00
Matthias Bilger
52a9f928ae Added gitea saver (#4491)
* added gitea saver

* create nonexistent file
2020-03-12 15:53:55 +00:00
Matthias Bilger
d704507069 Signing the CLA (#4492) 2020-03-12 15:42:15 +00:00
Simon Huber
22e6b20f50 Better readability for "Community" Tiddler with various ... (#4493)
... color palettes
2020-03-12 13:34:59 +00:00
Simon Huber
3d16745b4b Add german descriptions for menubar-background... (#4483)
* add german descriptions for menubar-background...

* Update PaletteColours.multids

* Update PaletteColours.multids
2020-03-11 17:40:22 +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
Bram Chen
592922d399 Add chinese translations for color descriptions for menubar-background and menubar-foreground (#4488) 2020-03-10 10:41:42 +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
Simon Huber
0f7e365450 Add color descriptions for menubar-background and ... (#4481)
menubar-foreground to PaletteColours.multids
2020-03-09 21:08:48 +00:00
Simon Huber
8b5f38c53e Add menubar-background and menubar-foreground to Nord palette (#4482)
Nord palette
2020-03-09 21:08:22 +00:00
saqimtiaz
8cd1dc36c1 Fix suspected typo that impacts refresh handling (#4464) 2020-03-09 21:07:34 +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
ae9ce4f01c ViewTemplate: Add tc-tiddler-overridden-shadow class 2020-03-09 20:31:42 +00:00
Jeremy Ruston
665b63ec38 Fix lack of refresh when button widget actions attribute changes 2020-03-08 17:11:21 +00:00
Jeremy Ruston
a65ec87c53 Fix test for needing to update text editor DOM
Checking the active element is clumsy, and interferes with debugging. Checking the content is clearer, and avoids the Firefox bug.

Fixes #4472
2020-03-07 14:00:46 +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
scott willeke
3fd301a5d2 Markdown plugin: Description notes remarkable instead of markdown-js (#4422) 2020-03-02 09:29:16 +00:00
scott willeke
a942b161ad Signing the CLA (#4440) 2020-03-02 09:27:55 +00:00
Jeremy Ruston
6cdffc4eae Fix broken filters introduced in b179a6011
The mistake arose because browser local storage was enabled
2020-02-29 15:56:22 +00:00
Jeremy Ruston
7ffe3fc91f Prerelease: Disable browser storage to make testing less confusing 2020-02-29 15:51:42 +00:00
Jeremy Ruston
63ba2883a4 Menubar: Reverse order of top right menu items 2020-02-28 21:35:45 +00:00
Jeremy Ruston
edf025ebdc Push top right menu items to the right
Looking more backwards compatible
2020-02-28 17:22:47 +00:00
Jeremy Ruston
5644c2ac7b Menubar tweaks
* Fix old references to "top menu" to the new "menu bar" terminology
* Use vanilla breakpoint for responsive adjustment to menu bar padding
2020-02-28 16:09:26 +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
b179a60111 Tweak some system buttons to look better in the new menu bar
The reveal widget leaves behind an unnecessary span, which breaks the CSS used to target the button.
2020-02-28 14:34:06 +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
Jeremy Ruston
46159bd061 Share plugin: Add prominent warning in readme 2020-02-28 14:28:08 +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
1dfc29c127 Browser-storage plugin: Don't save popup state by default 2020-02-19 18:58:13 +00:00
Jeremy Ruston
a339491cc0 Update release note
Better late than never
2020-02-19 14:28:27 +00:00
Jeremy Ruston
07c2c21dbf Share plugin: Add warning prompt 2020-02-14 15:01:45 +00:00
lucible
0b1887e677 Signing the CLA (#4447) 2020-02-05 21:44:55 +00:00
saqimtiaz
04c28ba5f2 Add tabindex support to button widgets (#4442)
This pull request adds support for specifying a tabindex for button widgets following the same pattern as the LinkWidget.
2020-02-05 12:14:38 +00:00
Jeremy Ruston
b9d20f1868 Share plugin: Improve startup error handling 2020-02-04 16:20:16 +00:00
Jeremy Ruston
90366e9b3b Share: Exclude the $:/build tiddler 2020-02-04 16:05:14 +00:00
Jeremy Ruston
33087ccee9 Travis CI: Another attempt to fix things
Seems that I don't understand YAML
2020-02-04 15:25:34 +00:00
Jeremy Ruston
6bf625d20e Travis CI: Add .travis.yml back again 2020-02-04 15:17:33 +00:00
Jeremy Ruston
74135c2f38 Travis CI: Try deleting and recreating .travis.yml
It appears to have worked for some people c.f. stackoverflow
2020-02-04 15:16:49 +00:00
Jeremy Ruston
f1b4d2d24d Travis CI: Move to Node.js 12
Apparently the default Node 10 doesn't include Math.trunc()
2020-02-04 15:06:30 +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
8eb2ec9357 Fix Travis CI syntax error
We were getting "SyntaxError: Use of const in strict mode."
2020-02-04 14:35:21 +00:00
Jeremy Ruston
9dd719ba32 Fix path.posix.sep which appears to be undefined on Travis CI 2020-02-04 14:24:57 +00:00
Jeremy Ruston
aaae1d1bbb Include share.html in the main build 2020-02-04 14:07:28 +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
Bram Chen
a4593b8e3d Update chinese translations (#4325)
* Update chinese translations
* Imporve chinese translations for UI of basic tab in controlpanel
* Add chinese translations for description of throttle.refresh field

* Add chinese translations for the `none` option of icon dropdown in tag manager
2020-02-02 08:50:18 +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
Lee Sheng Long
80b066f409 Fix support for zip files in some environments (#4432)
In some environments (at least on my own machine), TiddlyWiki detects zip files as type `"application/x-zip-compressed"` instead of `"application/zip"`. This commit adds support for zip files with type `"application/x-zip-compressed"` so that they are encoded in `"base64"` like other zip files with type `"application/zip"`.
2020-01-31 14:08:28 +00:00
Lee Sheng Long
96eca32b11 Add download button/link to binary tiddler warning banners in view and edit mode (#4423) 2020-01-31 09:13:28 +00:00
Jeremy Ruston
3eacdc19fd Ensure GitHub and GitLab savers use a default path of / if empty
The empty string gets a slash appended further down this method.
2020-01-30 17:02:14 +00:00
Lee Sheng Long
5bfc66b8e3 Signing the CLA (#4424) 2020-01-30 16:18:09 +00:00
Simon Huber
5d0e4732b2 Add "none" as an option in the icon dropdown in tag manager (#4361)
* add no-icon option to tagmanager and add ...

... whitespace trims

* Update Misc.multids
2020-01-30 15:52:33 +00:00
Simon Huber
1bcb381570 Add optional storyview to list-tagged-draggable macro (#4329)
* add optional storyview to list-tagged-draggable macro

* Update list.tid
2020-01-30 15:43:02 +00:00
Simon Huber
69bcb1609a Add whitespace trims to tag-picker macro (#4360) 2020-01-30 15:41:21 +00:00
Simon Huber
18151cc193 Make "type" input look consistent with "fields" input (#4358)
* add class tc-edit-texteditor to type field, trim ...

... whitespace, make look consistent

* define width 20% for type input field

* add second nbsp; for consistency with type input
2020-01-30 15:39:38 +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
Jeremy Ruston
152125f53b Railroad plugin: Use message box colours so that they change with the palette 2020-01-30 12:16:29 +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
Jeremy Ruston
29461403ed Fix bug with navigating via location hash
Introduced in 8159c4a865, the problem was that it is actually valid for storyTitle and/or historyTitle to be falsey in the Story constructor.
2020-01-27 17:59:13 +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
Jeremy Ruston
7795ed9230 Fix stamp dropdown not transcluding caption field 2020-01-15 20:29:13 +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
Simon Huber
f59d044a8c Replace "&times" with close-button in keyboard-shortcuts (#4406)
this PR replaces the `&times` in the keyboard-shortcuts dropdown with the `$:/core/images/close-button`
2020-01-05 13:13:39 +00:00
Jeremy Ruston
338f3bad32 Freelinks: Add note about customising within which tiddlers are freelinked 2020-01-04 17:02:00 +00:00
Jeremy Ruston
e3835c64da Restore whitespace for page control buttons
Even with whitespace trim, we need a single space between the icon and text
2020-01-04 16:44:33 +00:00
Jeremy Ruston
870c34ab0a Don't freelink within links and buttons 2020-01-04 16:34:34 +00:00
Jeremy Ruston
1c91f72baa Add a faint background to freelinks 2020-01-04 16:33:52 +00:00
Stefan Krüger
1ed884cef4 Add support for file type webm & ogg theora (#4404) 2020-01-04 11:27:13 +00:00
Stefan Krüger
9c1882dce6 Signing the CLA (#4403) 2020-01-04 11:26:08 +00:00
Simon Huber
75ba862a7e Fix "remove" tooltip in keyboard shortcuts (#4405)
this PR just fixes the tooltip of the small "remove" button in the keyboard-shortcut dropdown
2020-01-04 11:25:43 +00:00
Jeremy Ruston
429d38e75d Update TiddlyFox docs
Fixes #4399
2020-01-04 11:20:17 +00:00
Jeremy Ruston
ae3ca9bccd It's 2020! 2020-01-03 11:34:26 +00:00
Jeremy Ruston
447cd56da9 Initial commit of freelinks plugin 2020-01-03 10:40:35 +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
Jeremy Ruston
136dbf1a60 Fix bug with importvariables and empty set widgets
A self-closing set widget doesn't have a "children" property.
2020-01-03 10:39:37 +00:00
Jeremy Ruston
dd62efd459 Updated Portuguese Translation
See https://groups.google.com/d/msg/tiddlywiki/esj5IB935oo/xS-F9n5FBAAJ
2019-12-22 12:37:30 +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
144ec28552 Update class settings in edit template to match view template
@pmario this adds the tc-tagged- classes to the edit template, do you think that's useful?
2019-12-17 12:01:59 +00:00
Jeremy Ruston
28b9161301 Another attempt to force Travis to use an old Node.js
Another attempt at 55ed290e1
2019-12-12 18:05:31 +00:00
Jeremy Ruston
55ed290e18 Fix tests in tiddlywiki-com branch by forcing an older version of node.js 2019-12-12 18:02:21 +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
Will Atwood Mitchell
e3fd14d6e7 Signing the CLA (#4387) 2019-12-12 16:45:55 +00:00
Jeremy Ruston
e33d519ce0 Update docs for "each" filter 2019-12-09 09:05:21 +00:00
Jeremy Ruston
015306dfc9 Remove extraneous paths from line-width and list icons
Fixes #4369 and #4368
2019-11-25 12:15:24 +00:00
Jeremy Ruston
18f5333e01 Optimised SVG icons 2019-11-22 12:21:54 +00:00
Jeremy Ruston
d785a605e4 Add script to optimise SVGs
Fixes #4379. Optimised SVGs in the next commit
2019-11-22 12:21:03 +00:00
Jeremy Ruston
668ca00a88 Avoid setting an explicit colour in the new-journal-button icon
This change means that the colour for the date on the new journal button icon will change according to the current colour palette, and simplifies things for #4379
2019-11-22 12:08:53 +00:00
Jeremy Ruston
174a36cda6 Make the single window template compatible with the page template
The tv-* variables were missing, making toolbar buttons appear incorrectly. There was also no tc-page-container class.

Fixes #4372
2019-11-20 18:01:06 +00:00
Jeremy Ruston
54fc932740 Fix wiki referenced by navigator widget's rename tiddler handler 2019-11-20 17:38:59 +00:00
Jeremy Ruston
a65cfe98d5 Slight optimisation of $tw.utils.addClass() 2019-11-20 17:38:28 +00:00
Jeremy Ruston
9cff8eb741 Merge branch 'master' of https://Jermolene@github.com/Jermolene/TiddlyWiki5.git 2019-11-20 09:51:27 +00:00
Jeremy Ruston
d2323cb1f4 Add Elixir to languages supported by Highlight plugin
Fixes #4378
2019-11-20 09:51:00 +00:00
donmor
7b66df688a Refactor andtidwiki.js (The saver for Android apps including AndTidWiki, Tiddloid and Tiddloid Lite) (#4276)
* Create tiddloid.js

* Update andtidwiki.js

* Delete tiddloid.js

* Update andtidwiki.js

* Update andtidwiki.js

* Update andtidwiki.js

* Update andtidwiki.js

* Update andtidwiki.js

* Update andtidwiki.js
2019-11-20 09:45:42 +00:00
Jeremy Ruston
8f3da69f81 Correct fix for bug with millisecond 0XXX date format
Milliseconds need 3 digits, not 4...
2019-11-18 13:24:47 +00:00
Jeremy Ruston
cd8ab13b55 Fix bug with millisecond 0XXX date format 2019-11-18 13:22:10 +00:00
Jeremy Ruston
e4eaae14fa Ensure splash screen isn't shown when JS is disabled 2019-11-14 11:00:07 +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
Marica Odagaki
7387ca78f8 Sign the CLA as ento (#4222) 2019-11-12 21:41:46 +00:00
Xavier Maysonnave
337135d1bb Signing the CLA (#4367) 2019-11-12 21:17:45 +00:00
Mario Pietsch
2deed528bc Remove &nbsp from tag pill in edit mode (#4366)
* remove &nbsp from tag pill in edit mode

PR: fix missing space between edittemplate tags #3585 introduced an unbreakable space ...

The `&nbsp` isn't needed and **causes problems**, if users copy&paste the tag text, because the "new" tag in the text input field now contains an space in front of the tag. This space invalidates the tag, so it doesn't function anymore. 

see [comment in GG](https://groups.google.com/d/msg/tiddlywiki/RQEyqPQIZSM/uaU7lgJJAAAJ) .. I also had a problem like this some time ago, which costed me several hours of debugging.

* Update base.tid

* Update tag.tid
2019-11-07 12:39:14 +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
7beee4f9ce Fix comment plugin typo 2019-11-02 12:37:07 +00:00
Jeremy Ruston
16c1cbee29 Comment plugin: Add link to top post 2019-11-02 09:31:36 +00:00
Jeremy Ruston
e84c422e50 Range widget: fix refreshing
The range widget wasn't refreshing correctly when the underlying tiddler value changed
2019-11-02 09:31:15 +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
Nils-Hero Lindemann
e114fed3f9 Replace div with span in colour picker (#4333) 2019-10-20 18:22:22 +01:00
Simon Huber
793d84bcb1 Fix typos in tag-picker (#4336)
... sorry @Jermolene
2019-10-20 18:08:19 +01:00
Simon Huber
423a942a8f Fix newTagNameTiddler being undefined in ControlPanel (#4326)
* fix newTagNameTiddler being undefined in ControlPanel

* Update Basics.tid

* prevent newTagNameTiddler being undefined

* Update Basics.tid

* Update tag-picker.tid

* Update tag-picker.tid
2019-10-20 17:00:08 +01:00
Jeremy Ruston
46c90af308 2nd attempt to fix overflowing content in vertical tabs
Previously we'd tried to fix it with word-break: break-word, but that broke other things (see 81f1e6af4e). This overflow: auto approach appears to be best practice.
2019-10-20 10:45:27 +01:00
donmor
588af44d4c Scale embedded videos and audios to fit their container (#3943)
* Update videoparser.js

* Update audioparser.js

* Update videoparser.js

* Update audioparser.js
2019-10-19 11:44:18 +01:00
Mario Pietsch
6ca1e90659 Fix #4327 table formatting problem introduced with normalize css 8.0.1 (#4328) 2019-10-18 11:01:10 +01:00
Jeremy Ruston
05a3e1ad36 Add language attribute to HTML tag 2019-10-17 18:07:13 +01:00
Jeremy Ruston
1bf8821bd8 System icon: remove extraneous closing tag 2019-10-17 15:04:00 +01:00
Simon Huber
1cf2d0799d Fix field-name input (#4322) 2019-10-14 14:54:47 +01:00
Simon Huber
3c365a2567 EditTemplate optimizations (#4104)
#4093 and #4100 are bundled in this PR

* qualified state-tiddlers for the tags input and fieldname + fieldvalue inputs
* newTagName, newFieldNameTiddler and newFieldValueTiddler variables defined in EditTemplate (all qualified through `qualify` macro)
* save-tiddler-actions macro in the EditTemplate (reused by the save-tiddler button)
* enter (configurable) in the fieldvalue field adds the field and sets focus to the next fieldname input

Edit:

* storyview="pop" for fields list
2019-10-14 14:31:57 +01:00
Simon Huber
45def4def4 Fix focus in fields editTemplate (#4321)
the focus was set to the wrong field
2019-10-14 13:57:45 +01:00
Simon Huber
7af24d217a Make tags in controlpanel animate (#4320) 2019-10-14 13:57:28 +01:00
Jeremy Ruston
00974be82d Update release note 2019-10-14 13:19:40 +01:00
Jeremy Ruston
ac66d863aa Simplify GitHub fork ribbon plugin metadata 2019-10-14 13:19:27 +01:00
Jeremy Ruston
73bb27fd77 Tweak autofocus text in control panel
Also made the trailing punctuation more consistent
2019-10-14 13:19:08 +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
Bram Chen
03e98d1d62 Update chinese translations (#4317)
* Add chinese translations for default new-tiddler and new-journal tags mechanism

* Add chinese translations for tooltips of add-tag button and add-field button
2019-10-14 09:33:44 +01:00
Mario Pietsch
4d3916b063 Update normalze.css from 3.0.0 to 8.0.1 (#4208) 2019-10-14 09:23:12 +01:00
donmor
e5985566ce Update Saving on Android.tid (#4316) 2019-10-13 17:43:46 +01:00
Simon Huber
daa24a52bd Add default new-tiddler and new-journal tags mechanism and... (#4314)
* Update Basics.tid

* Update ControlPanel.multids

* Update NewJournal.multids

* Create NewJournalTags.tid

* Update new-tiddler.tid

* Update new-image.tid

* Update new-journal.tid

* Update new-here.tid

* Update new-journal-here.tid
2019-10-13 16:53:52 +01:00
Simon Huber
89728d8a9a Make tag-picker add-tag button more consistent II (#4313)
* Update tag-picker.tid

* Update tags.tid

* Update tag-picker.tid
2019-10-13 16:53:40 +01:00
Jeremy Ruston
9395d75671 Fix sizes of SVG icons in documentation
Fixes #4153
2019-10-13 15:35:36 +01:00
Simon Huber
4cf96e7339 Revert "Fix: make tag-picker "add-tag" button more consistent (#4199)" (#4311)
This reverts commit 74172b35ce.
2019-10-13 10:19:44 +01:00
Simon Huber
f0779b58ac Revert "Add default new tiddler tags mechanism and interface (#4307)" (#4312)
This reverts commit 007fc8239b.
2019-10-13 10:19:07 +01:00
Simon Huber
920f0869c4 Fix: remove cancelPopups from codemirror engine (#4310) 2019-10-12 16:40:51 +01:00
Simon Huber
007fc8239b Add default new tiddler tags mechanism and interface (#4307)
* Update ControlPanel.multids

* Update Basics.tid

* Update new-tiddler.tid

* Update new-journal.tid

* Update new-image.tid

* Update new-here.tid

* Update new-journal-here.tid

* Update new-tiddler.tid

* Update new-image.tid

* Update new-journal.tid

* Update new-tiddler.tid

* Update new-image.tid

* Update new-here.tid

* Update new-journal-here.tid

* Update Basics.tid

* Update Basics.tid
2019-10-12 16:30:59 +01:00
Simon Huber
ea6113b255 Fix CamelCase AutoFocus in ControlPanel (#4308)
* from AutoFocus to ~AutoFocus

* Update minifocusswitcher.tid

* Update Basics.tid

* Update body-editor.tid
2019-10-12 15:10:24 +01:00
Simon Huber
bfa3ddd077 Add two missing tooltips: add-tag button and add-field button (#4306)
* add tooltip to field add button

* Update EditTemplate.multids

* Update EditTemplate.multids

* add tooltip to tag-picker add button
2019-10-12 14:10:06 +01:00
Simon Huber
d01b781283 Restore previous popup mechanism (no cancelling when focusing inputs) (#4305)
* remove cancelpopups from factory.js

* remove handleFocusEvent from framed engine

* remove cancelPopups from simple engine

* Update popup.js
2019-10-12 14:08:52 +01:00
Simon Huber
66b68f4a58 Allow configuration of default focus field of new tiddlers (#4238)
* add editFocus attribute to edit widget

* add focus condition to title editTemplate

* add focus condition to body-editor editTemplate

* add focus attribute to type editTemplate

* add focus attribute to fields editTemplate

* add focus attribute to tag-picker

* add $:/config/AutoFocus tiddler

... default focus is title

* Update Basics.tid

* Update ControlPanel.multids

* Create minifocusswitcher.tid

* Update minifocusswitcher.tid

* Update Basics.tid

* Update body-editor.tid
2019-10-12 12:04:10 +01:00
Simon Huber
74172b35ce Fix: make tag-picker "add-tag" button more consistent (#4199)
* make tag-picker add-button compliant with enter-actions

... the `$actions$` way throws a filter syntax error in some cases, the `<<add-tag-actions>>` way is more solid

* Update tags.tid

remove tag-picker-actions
2019-10-12 10:01:27 +01:00
Simon Huber
9ed45cfaad Add whitespace trim to SideBarSegments search (#4302) 2019-10-12 09:24:05 +01:00
Jeremy Ruston
d30eacc652 Select widget: fix bug with deselecting entries programmatically
Previously, it was not possible to deselect entries by editing the tiddler $:/generated-list-demo-state used in the final example of the SelectWidget docs
2019-10-11 17:46:30 +01:00
Jeremy Ruston
81f1e6af4e Vertical tabs: remove word break setting
See discussion here: https://groups.google.com/d/msgid/tiddlywiki/467c887e-edf6-4187-9727-bf806fdeb711%40googlegroups.com
2019-10-11 15:34:57 +01:00
Jeremy Ruston
e9211b0eee Allow sidebar tabs to be independently targeted via CSS 2019-10-11 10:57:29 +01:00
Simon Huber
d8fd2f75d6 Two missing whitespace trims for PageControls (#4296)
* add whitespace trim to help button

* add whitespace trim to new markdown button

* Update help.tid
2019-10-07 18:50:30 +01:00
Simon Huber
8efd0ace34 Missing whitespace trim in PageControls (#4293)
* add whitespace trim to advanced search button

* add whitespace trim to new tiddler

* add whitespace trim to new journal

* add whitespace trim to new image

* add whitespace trim to control panel button

* add whitespace trim to tiddler manager button

* add whitespace trim to language button

* add whitespace trim to palette button

* add whitespace trim to theme button

* add whitespace trim to storyview button

* add whitespace trim to timestamp button

* add whitespace trim to encryption button

* add whitespace trim to tag-manager button
2019-10-07 15:13:55 +01:00
Jeremy Ruston
cb2640669b HTTP Server: should include bag in returned tiddlers
The bag field is included in the tiddlers baked into the HTML file, but is also needed on tiddlers read from the server dynamically.

Fixes #4291
2019-10-06 17:34:50 +01:00
Jeremy Ruston
1010ca01cc Stylesheet cleanup 2019-10-06 14:59:08 +01:00
Jeremy Ruston
89716bb81d Add class identifying the tiddler body editor
See https://groups.google.com/d/msgid/tiddlywiki/13fb3572-4259-46c3-9cc7-6ed85b636177%40googlegroups.com
2019-10-06 14:58:45 +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
fb9ea69ad2 Selective expandable TOC: use "sort" filter when determining whether node is expandable
Fixes #4284
2019-10-04 11:40:22 +01:00
Jeremy Ruston
a054d100e7 Fix usage of tm-edit-text-operation count parameter
Fixes #3912
2019-10-04 11:23:17 +01:00
Jeremy Ruston
0e771e2419 Fix currentTiddler in pagecontrol buttons
Bug introduced in 8db893b9c9

Fixes #4283
2019-10-03 12:13:29 +01:00
Bram Chen
916d006ed5 Add chinese translations for Plugins/AlsoRequires (#4277) 2019-09-29 15:55:25 +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
93e01435d1 Dynamic plugins: Change "contains JavaScript" to "requires reload"
We might in the future offer support for certain types of JS module to be hot loaded.
2019-09-27 16:47:55 +01:00
Jeremy Ruston
cb3bec65a1 Don't crash for edit enginges that don't support cancelPopups 2019-09-26 08:51:35 +01:00
Jeremy Ruston
e752ba7c6a Use the dependents and parent-plugin fields to automatically install dependencies 2019-09-25 21:57:22 +01:00
Jeremy Ruston
58f1eb77bd Fix sub-plugin dropdown display 2019-09-25 21:56:54 +01:00
Jeremy Ruston
92340d81cc Introduce "parent-plugin" field to control how plugins are displayed in the chooser
"Sub-plugins" are displayed within the dropdown of their parent plugin.

This is a more elaborate version of #4109. It doesn't address dependent plugins (yet), this is just about grouping addon plugins under their parent.
2019-09-25 16:16:28 +01:00
Jeremy Ruston
f460b2caa1 Include empty.html in the quick build 2019-09-24 13:23:21 +01:00
Jeremy Ruston
7428f17551 Docs typo 2019-09-20 16:17:55 +01:00
Jeremy Ruston
db2ed63e54 Fix formatting of plugin listing in control panel
And make some minor tweaks across the plugin chooser too
2019-09-20 14:30:52 +01:00
Jeremy Ruston
d91fcd990e Improve appearance of plugin chooser 2019-09-19 13:20:07 +01:00
Jeremy Ruston
bf9aeb5755 Improve plugin metadata, and add a "name" field
The "name" is optional, but makes the library listing much clearer.
2019-09-19 13:04:10 +01:00
Jeremy Ruston
1dbab6fd0e Update release note 2019-09-18 21:10:21 +01:00
Jeremy Ruston
336f1ceae3 Indicate in import listing whether a plugin contains JS modules 2019-09-17 08:49:39 +01:00
Jeremy Ruston
83954582f4 Text-slicer: Only show slice button for text tiddlers 2019-09-16 16:16:18 +01:00
Jeremy Ruston
8c89461291 Adding [is[binary]] filter -- Missed off 1150c87ed 2019-09-16 16:16:03 +01:00
Jeremy Ruston
1150c87edb Add [is[binary]] operator 2019-09-16 16:15:26 +01:00
Bram Chen
36498867d5 Update chinese translations for Dynamic loading/unloading of plugins (#4264)
* Add `Plugins/PluginWillRequireReload` to ControlPanel.multids
* Improve `PluginReloadWarning` in Misc.multids
2019-09-16 14:02:11 +01:00
Jeremy Ruston
7f9823c5b2 Dynamic plugins: Fix registration of themes and languages 2019-09-16 13:17:09 +01:00
Jeremy Ruston
0017d441d9 Update release note 2019-09-16 12:21:20 +01:00
Jeremy Ruston
1c23059204 Dynamic loading/unloading of plugins (#4259)
* First pass at dynamic loading/unloading

* Show warning for changes to plugins containing JS modules

* Use $:/config/RegisterPluginType/* for configuring whether a plugin type is automatically registered

Where "registered" means "the constituent shadows are loaded".

* Fix the info plugin

The previous mechanism re-read all plugin info during startup

* Don't prettify JSON in the plugin library

* Indicate in plugin library whether a plugin requires reloading

* Display the highlighted plugin name in the plugin chooser

And if there's no name field fall back to the part of the title after the final slash.
2019-09-16 12:15:39 +01:00
Jeremy Ruston
90745f93a5 Update safe mode docs
Ping @anthonymuscio
2019-09-12 10:33:25 +01:00
Jeremy Ruston
b44dc39299 Update Dutch translation
Thanks @gernert
2019-09-11 12:10:33 +01:00
Jeremy Ruston
68163684a2 Fix publishFilter in save templates
Fixes #4252
2019-09-11 11:40:45 +01:00
Jan-Oliver Kaiser
11506e9acf Fix gitlab saver (#4243)
This fixes the HTTP request sent to gitlab that is meant to see if the
target file already exists. It did not follow the official gitlab v4 api
documentation. That documentation dictates both `path` and `branch` to
be passed via corresponding GET parameters.
2019-09-11 10:21:31 +01:00
Jeremy Ruston
1631f21a6b Preparation for v5.1.22-prerelease 2019-09-10 17:20:36 +01:00
Jeremy Ruston
165538180e Version number update for 5.1.21 2019-09-10 16:32:45 +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
Bimba Laszlo
3732c83ad4 Fix GitLab saver Base64 encoding (#4255) 2019-09-10 14:16:06 +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
953038f0b2 Don't use field indexer when looking for blank/missing fields
Fixes #4247
2019-09-09 14:47:27 +01:00
Jeremy Ruston
f74e4c520d Add docs for tm-rename-tiddler
Fixes #4246
2019-09-09 14:38:29 +01:00
Xavier Cazin
85da202cca fr-FR: small fix in tiddler date format (#4250) 2019-09-09 14:28:56 +01:00
Simon Huber
00fb4190f2 Fix whitespace around fields inputs (II) (#4240) 2019-09-09 14:17:32 +01:00
Simon Huber
19d2aab6b9 Remove text-shadow for tags in sidebar (#4245)
For consistency with tags in the main story river
2019-09-07 09:27:00 +01:00
Jan-Oliver Kaiser
fff97e7326 Signing the CLA (#4244) 2019-09-07 09:06:19 +01:00
Jeremy Ruston
996ee52cf9 External-attachments plugin: Fix bug on Windows
Fixes #4237
2019-09-06 17:40:03 +01:00
Jeremy Ruston
bb036ced93 Translators plugin: Minor layout fixes 2019-09-06 15:40:36 +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
Simon Huber
6fb2a33847 Add missing foreground color to tc-btn-invisible (#4203) 2019-09-03 09:50:24 +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
0610a7b1eb Hidden setting: Sync Polling Interval 2019-09-03 09:42:16 +01:00
Jeremy Ruston
16652f926f Fix inverted default HTML-class for items in toc and toc-expandable 2019-09-03 09:41:34 +01:00
Mark Stegeman
dd09266b46 Fix inverted default HTML-class for items in toc and toc-expandable
5d36b484c6 swapped the "emptyValue" and "value" that determine the
HTML-class for toc items, but did not change the default values for
"itemClassFilter" in "toc" and "toc-expandable" to reflect this.
2019-09-02 19:31:13 +02:00
Jeremy Ruston
27858625df Merge pull request #4232 from markstegeman/patch-1
Signing the CLA
2019-09-02 18:28:03 +01:00
markstegeman
ab24d58b11 Signing the CLA 2019-09-02 19:27:06 +02:00
Jeremy Ruston
ba7e7fd649 fix "Open" SideBar tab (#4228) 2019-09-02 18:08:09 +01:00
Simon Huber
1873785ef6 Fix whitespace around field inputs (#4227) 2019-09-02 18:07:45 +01:00
Nils-Hero Lindemann
2008a617b5 Signing the CLA (#4204) 2019-09-02 15:55:24 +01:00
markkerrigan
8053cf1806 Signing the CLA (#4197) 2019-09-02 15:50:39 +01:00
Simon Huber
c81bf49704 fix "Open" SideBar tab 2019-09-01 11:00:09 +02:00
Nils-Hero Lindemann
1c5b3e3d8d Remove duplicate code from transcludeblock parser (#4221) 2019-08-30 17:20:16 +01:00
Jeremy Ruston
82d18ad1fa Update release note for v5.1.21 2019-08-30 15:34:26 +01:00
Simon Huber
4ef9ccbab9 Fix bug with wikitext in fieldnames #4218 2019-08-30 10:44:23 +01:00
Jeremy Ruston
83386f34b5 Restore performance instrumentation to be disabled by default
Fixes #4201
2019-08-30 10:42:01 +01:00
bimlas
b88812233c Hidden setting: Sync Polling Interval 2019-08-29 08:58:17 +02:00
Jeremy Ruston
471b73158a Fix overeager alerts from core module overwrite upgrade warning
This fixes a bug in #3634, and refines the logic so that the warning is only given if the incoming tiddler exists as a shadow tiddler. (In my case I have several draft core modules inactive in my notes wiki and they were erroneously suppressed from the upgrade).
2019-08-28 14:44:46 +01: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
StefanSTFG
8d3dfdebe3 Signing the CLA (#4206) 2019-08-27 17:09:23 +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
Jeremy Ruston
a170210069 Fix crash with action-deletefield and missing tiddler attribute
Fixes #4188
2019-08-24 11:39:00 +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
Simon Huber
fada96651e Update "Open" tab to use tv-config-story-list (#4189) 2019-08-24 11:27:20 +02:00
Rob Hoelz
0402dbd48d Pass pathFilters as an array (#4174)
* Pass pathFilters as an array

Otherwise, when we try to iterate over pathFilters in the filesystem
utils module, we end up iterating over each character in the filter
string, which ends up generating 'Filter error_ Missing [ in filter
expression.tid' as the tiddler's filename

Fixes GH #4173

* Allow for multiple path filters to be specified

...via $:/config/FileSystemPaths, split by newlines
2019-08-22 10:24:40 +02:00
Jeremy Ruston
bab1bca485 Coding style tweaks 2019-08-14 23:00:01 +01:00
Jeremy Ruston
a986e4f7d6 Prepare for v5.1.21-prerelease 2019-08-09 15:38:36 +01:00
Jeremy Ruston
f49c55fe3c Version number update for 5.1.20 2019-08-09 14:17:35 +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
9244a2f4fd Bring over remaining scripts from build.jermolene.github.io 2019-08-09 10:30:26 +01:00
Jeremy Ruston
067e8a9f94 Merge branch 'tiddlywiki-com' 2019-08-09 10:29:46 +01:00
Jeremy Ruston
a91ae1a877 More Catalan updates 2019-08-08 15:22:57 +01:00
Bram Chen
2be09f23eb Corrected typo in help link for GitLab saver (#4169)
* for zh-Hant and zh-Hans
2019-08-08 09:55:49 +01:00
Xavier Cazin
59264bbf2a fr-FR translation updates (#4167)
* Typo in GitLab saver link

* Improve fr-FR DateFormat for ViewTemplate subtitles

* Update fr-FR translations for Saving/GitService
2019-08-07 18:01:02 +01:00
Bram Chen
803c2c749f Add chinese translations for Saving/GitService (#4137) 2019-08-06 21:05:35 +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
Simon Huber
e1bb532d98 Fix popups not being cancelled correctly (#4158) 2019-08-04 13:01:24 +01:00
Jeremy Ruston
8159c4a865 Fix navigator widget when story and/or history attributes are missing
To fix the crash described here: https://groups.google.com/d/msgid/tiddlywiki/c5461591-bf27-4c85-9f27-9eef14c38816%40googlegroups.com?utm_medium=email&utm_source=footer
2019-08-04 11:34:45 +01:00
Simon Huber
0903fd2fec Update katex plugin to latest v0.10.2 (#4133)
* update katex.min.js to v0.10.2

* update katex-without-fontface.min.js to latest

* Update katex.min.css

* Update katex.js

* update katex fonts

* Delete katex.js ...

... we're using katex.min.js

* add version number to plugin.info

* Update readme.tid

* Create katex.js

* Update plugin.info
2019-08-03 17:36:40 +01:00
Simon Huber
62a7fa4203 Pop storyview for fields list in EditTemplate (#4148) 2019-08-02 15:05:30 +01:00
Simon Huber
776ce0f65f Pop storyview for tabs macro (#4149) 2019-08-02 15:05:12 +01:00
Simon Huber
4952be6518 "Open" SideBar tab: use tv-story-list and tv-history-list (#4150) 2019-08-02 15:03:09 +01:00
Simon Huber
427fbfd623 Fix tags not animating in viewtemplate (#4142)
* fix tags not animating in viewtemplate

this PR uses the addprefix removesuffix filters, not a new filter as proposed in #3763

* use new `then` operator
2019-08-02 14:32:36 +01:00
Jeremy Ruston
17711657b6 Add then and else operators
Fixes #4147
2019-08-02 14:27:58 +01:00
Jeremy Ruston
394725f00c Fix edit-bitmap crash with missing tiddlers
Fixes #4141
2019-08-02 09:16:36 +01:00
Simon Huber
9a2de11db1 Pop storyview for topright and topleft bar (#4146)
* pop storyview for topright bar

* pop storyview for topleft bar
2019-08-02 09:03:51 +01:00
Simon Huber
fab67a463b Pop storyview: fix bug where targetElement is null (#4143) 2019-08-02 08:51:16 +01:00
Simon Huber
64fe260f4d Fix: correct handling of tc-popup-keep when cancelling ... (#4144)
... popups through focussing inputs
2019-08-02 08:49:06 +01:00
Simon Huber
8db893b9c9 Add pop storyview for pagecontrols (#4145)
this PR adds the pop storyview to the page-control buttons in the sidebar
2019-08-02 08:47:47 +01:00
Simon Huber
2d4831f920 Tag-picker: delete double-definition of tag-actions (#4139) 2019-08-01 17:32:39 +01:00
Jeremy Ruston
0a6870656f Fix typo in b5653babd 2019-07-31 21:39:52 +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
dbaccf792d Use the new "match" operator across the core
Instead of the old "prefix" hack
2019-07-31 09:30:16 +01:00
Jeremy Ruston
5faae2547d Add "match" operator for string comparison
Fixes #4130
2019-07-31 09:11:12 +01:00
Jeremy Ruston
7f78065992 Fix unnecessary "list" field creation when renaming tiddlers
Fixes #4120
2019-07-30 17:10:53 +01:00
Simon Huber
cb1d35e230 More Plugins - Button: use primary color (#4075)
* Update AddPlugins.tid

* Update base.tid

* Update AddPlugins.tid

* Update AddPlugins.tid

* Update base.tid
2019-07-30 13:49:40 +01:00
Simon Huber
0a2d532a7b Fix bug where edit widget input-tag is empty (#4088) 2019-07-30 13:49:05 +01:00
Simon Huber
e669ec098f Fix beyboard widget empty parameters (#4094) 2019-07-30 13:47:56 +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
Simon Huber
b30746813b Fix: store noStateReference in popup.js (#4115) 2019-07-26 17:13:53 +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
jed
e86d4d29d5 Fix th-renaming-tiddler (see #4023) (#4037)
* Remove the th-renaming-tiddler hook from navigatior.js

The hook is invoked in the renameTiddler function which would cause the same hook to be called twice, and the version in the navigator widget didn't have the correct inputs and return value according to the documentation.

* Make it so that the th-renaming-tiddler hook isn't called twice

by removing it from the navigator.js file
2019-07-24 18:12:09 +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
Mario Pietsch
5d36b484c6 Toc cosmetic changes for tabbed-xxxx macros (#4101)
* toc cosmetic changes.

* toc in right sidebar should use toc-item if itemCalssFilter is not defined
2019-07-15 12:31:50 +01:00
Simon Huber
e2bad34e89 Fix bug and typo in framed.js (#4110) 2019-07-15 10:11:36 +01:00
Cameron Fischer
b67e088e55 Reducing function calls across board (#4102) 2019-07-14 16:20:27 +01:00
Jeremy Ruston
cb77f3f503 Make big green (etc) buttons a bit rounder 2019-07-14 16:11:28 +01:00
Jeremy Ruston
8226efa154 Merge pull request #4106 from BurningTreeC/patch-17
fix missing tag for advanced-search keyboard shortcut
2019-07-14 16:08:01 +01:00
Jeremy Ruston
ac49b4d20c Cancel open popups when inputs get focus 2019-07-14 16:07:36 +01:00
Simon Huber
78cc80db13 fix missing tag for advanced-search keyboard shortcut 2019-07-14 17:06:09 +02:00
Jeremy Ruston
2bcb36f151 Add advanced-search kb shortcut ctrl-shift-A 2019-07-14 15:49:15 +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
Simon Huber
66dc7df745 Update popup.js 2019-07-14 09:37:53 +02:00
Simon Huber
fd88be4173 Update ShortcutInfo.multids 2019-07-14 07:25:50 +02:00
Simon Huber
880a2aa153 Update ShortcutInfo.multids 2019-07-14 07:25:02 +02:00
Simon Huber
173e9c6c3a add advanced search key combination ctrl-shift-A 2019-07-14 07:23:47 +02:00
Simon Huber
a87a299aa9 add advanced-search kb shortcut 2019-07-14 07:22:46 +02:00
Jeremy Ruston
f5b2599432 Make it possible to distinguish the two different sidebar elements with the class "tc-sidebar-lists" 2019-07-11 22:00:28 +01:00
Simon Huber
ba2f4822dd Merge branch 'master' into patch-10 2019-07-11 18:19:49 +02:00
Jeremy Ruston
a3a25f2453 Fix bug with popup cancelling if state is in a field other than 'text' 2019-07-11 17:07:25 +01:00
Simon Huber
ecbbe87a0d popup cancelling - use state reference
in the google group there's a discussion: https://groups.google.com/forum/#!topic/tiddlywiki/_mDDZ1jpMgU

buttons allow setting a state-reference for popups but the popup mechanism doesn't respect that
2019-07-11 07:35:06 +02:00
Simon Huber
217670cdf3 Update engine.js 2019-07-10 09:57:59 +02:00
Simon Huber
345a6a0f90 Update framed.js 2019-07-10 09:57:11 +02:00
Simon Huber
c647b42574 Update simple.js 2019-07-10 09:56:34 +02:00
Simon Huber
7811614d53 Update popup.js 2019-07-10 09:55:32 +02:00
Simon Huber
8aa6427d67 Update factory.js 2019-07-10 09:54:35 +02:00
Jeremy Ruston
86286c6fce Don't generate filenames starting with a period 2019-07-09 12:22:52 +01:00
Simon Huber
f7da4bafae big-green button: border-radius 2px
make it a bit more beautiful
2019-07-08 11:14:32 +02:00
Jeremy Ruston
08c900786e Make katex toolbar (text buttons) button same color 2019-07-07 17:31:54 +01:00
Simon Huber
efa593bb50 make katex toolbar (text buttons) button same color 2019-07-07 18:00:17 +02:00
Jeremy Ruston
19f2280803 German translations 2019-07-07 13:02:47 +01:00
pmario
6721d70de5 german translations 2019-07-07 01:08:25 +02:00
Jeremy Ruston
7b3d190974 Create Hidden Setting ViewTemplate and EditTemplate.tid 2019-07-05 07:29:06 +01:00
Jeremy Ruston
3997600137 Update chinese translations 2019-07-05 07:23:11 +01:00
Jeremy Ruston
9f31867731 Update core/modules/savers/github.js 2019-07-05 07:21:53 +01:00
Bram Chen
a06acc4eb8 Update core/modules/savers/github.js
Using "$tw.utils.base64Encode()" to encode content of data instead of calling module library directly.
2019-07-05 11:03:05 +08:00
BramChen
6f3db0118e Update chinese translations
* Add hint of toggle-sidebar keyboard shortcut
2019-07-05 10:30:19 +08:00
Jeremy Ruston
f5acf3adaa Make Using Stamp show up in Recent tab 2019-07-04 22:27:19 +01:00
Jeremy Ruston
5ac2064d18 Add toggle-sidebar keyboard shortcut 2019-07-04 22:18:40 +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
77fedf9582 fix keyboard shortcut 2019-07-04 12:00:10 +02:00
Simon Huber
cf4c4532c3 Update Buttons.multids 2019-07-04 09:00:34 +02:00
Simon Huber
ea0e1357bf Update ShortcutInfo.multids 2019-07-04 08:59:23 +02:00
Simon Huber
ef7210adf4 add alt-shift-S to toggle sidebar 2019-07-04 08:57:49 +02:00
Simon Huber
e91fb29253 add keyboard shortcut toggle-sidebar 2019-07-04 08:56:17 +02: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
Jeremy Ruston
d489f61f2a include wiki in options sent to generateTiddlerFilePath 2019-07-03 17:54:58 +01:00
Jeremy Ruston
727d660715 Story PageTemplate: configurable View- and EditTemplates (#4051)
* Story PageTemplate: configurable View- and EditTemplates

* add $:/config/ui/ViewTemplate

* add $:/config/ui/EditTemplate
2019-07-03 17:42:13 +01:00
Simon Huber
6e5566b907 Add whitespace trim to pagetemplate, story and sidebar (#4052)
* add whitespace trim to pagetemplate

* add whitespace trim to story pagetemplate

* add whitespace trim to sidebar pagetemplate
2019-07-03 17:41:23 +01:00
Bram Chen
958b3e7b7c Improve the base64 encode/decode utility functions (#4053)
Make good use of "$:/core/modules/utils/base64-utf8/base64-utf8.module.js"
* Add a new base64Encode()
* Both of base64Encode and base64Decode work for Nodejs and Browsers
2019-07-03 17:39:32 +01:00
Simon Huber
c578566dea add $:/config/ui/EditTemplate 2019-07-03 15:09:32 +02:00
Simon Huber
8a0aef4dcb add $:/config/ui/ViewTemplate 2019-07-03 15:08:43 +02:00
Simon Huber
35a71ad577 Story PageTemplate: configurable View- and EditTemplates 2019-07-03 15:07:06 +02:00
jed
c202ef4201 include wiki in options sent to generateTiddlerFilePath
This adds options.wiki to the object sent to the generateTiddlerFilePath

The function generateTiddlerFilePath can take a wiki in the options object, but generateTiddlerFileInfo doesn't pass the wiki to it.
2019-07-03 12:11:10 +02:00
Jeremy Ruston
f42351e235 Add new readme build script, and update the readme build 2019-07-02 16:53:23 +01:00
Jeremy Ruston
da61917797 list-links macro: trim whitespace
Fixes #4044
2019-07-02 16:53:02 +01: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
Bram Chen
de04755a0a Fix bug with not definded variable (#4049)
Using the variable "resolveCredentialsFilepath" to provide a good debug information.
2019-07-02 15:40:07 +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
91db09bd1e Katex dropdown: add description hint (#4048)
* katex dropdown: add description hint

* Update katex-dropdown.tid
2019-07-02 15:04:57 +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
Bram Chen
f6c9150d32 Add chinese translations for hint of sidebar-search keyboard shortcut (#4027) 2019-06-29 08:21:06 +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
Simon Huber
112443c054 Update/fix nord palette notification background (#4031) 2019-06-29 08:15:46 +01:00
Jeremy Ruston
7781cb1f8b Streamline wording for sidebar search shortcut 2019-06-28 17:35:17 +01:00
Jeremy Ruston
bf51ae0019 Add keyboard shortcut for focusing sidebar search
Fixes #4020

Fixes #4025
2019-06-28 17:28:24 +01:00
Jeremy Ruston
ed67f4a88b Add new tm-focus-selector message 2019-06-28 17:27:36 +01:00
Bram Chen
274dffe750 Update chinese translations for the revised PaletteManager (#4019)
* Palette/Editor/Delete/Hint
 * Palette/Editor/Names/External/Show
2019-06-26 16:44:31 +01:00
Simon Huber
14003b0e88 Make framed editor use tiddler-editor-background color (#3611)
so we can customise it better if we don't like what we see
2019-06-26 14:53:49 +01:00
Simon Huber
36c7e82cc0 Add/refactor PaletteManager (#3832)
* add PaletteManager

* add hint for "external" palette-names

* macro utility, for local \import only

this tiddler is never meant to be tagged $:/tags/Macro

contains only a colour macro which allows to call `<<colour "...">>` within a tiddler and get the parameter-name instead of the resolved color

used in the PaletteManager to reveal the original color below the color that just uses its color with the colour macrocall

example:

```
\define get-real-index(string)
\import $:/core/macros/utils
<$wikify $name="result" text="""$string$"""> <- does the "colour" macrocall, but the one that returns the parameter name
<<result>>
</$wikify>
\end
<$set name="color" value={{{ [{$:/palette}getindex[color-of-interest]] }}}>

-> <<colour primary>>

<$wikify name="real-color-index" text="""<$macrocall $name="get-real-index" string=<<color>>/>""">

<<real-color-index>> -> primary

...
```

* transclude PaletteManager in snippets/paletteeditor

* transclude PaletteManager in core/ui/ControlPanel/Palette

* Update ControlPanel.multids

* add style for color inputs in PaletteManager

* Update PaletteManager.tid

* Update PaletteManager.tid

* add tooltips & aria-labels

* Update ControlPanel.multids

* Update PaletteManager.tid

* Update PaletteManager.tid

* Update PaletteManager.tid
2019-06-26 12:36:13 +01:00
Simon Huber
31b141097d Tags edittemplate: replace &times; with svg (#3859)
* tags edittemplate: replace &times; with close-button svg

* make close-button smaller + v-aligned middle
2019-06-26 12:34:18 +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
Simon Huber
69d3a47073 Add escapecss filter (#3546)
* add escapecss filter

this filter would allow creating valid css classes from titles containing special characters

we assign a class to an element using `encodeuricomponent[]` so that the class name is encoded

in a stylesheet we create the classname by `<title>escapecss[]` which applies the uri encoding and escapes characters that need to be escaped

* Update encodings.js

* refactor tagToCssSelector, add escapeCssSelector

* use escapeCssSelector

* escape using CSS.escape if it's available

* Update encodings.js

* revert factoring out escapeCssSelector
2019-06-26 12:32:01 +01:00
Simon Huber
e313b0b7ca CSS.escape as startup module (#3574)
* don't know what I'm doing - apply polyfill methods

* don't know what I'm doing add CSS.escape polyfill

* execute polyfills in load-modules

* Delete cssescape.js

* add css-escape polyfill as startup module

* Update load-modules.js

* this was for testing :)

* Update css-escape-polyfill.js

* Update css-escape-polyfill.js
2019-06-26 12:31:22 +01:00
Simon Huber
dc9f4e2de7 Pop storyview: animation - don't x-overflow page (#3857)
... this makes the animation when inserting tiddlers / navigating to tiddlers in the pop storyview less jumpy

it simply sets `overflow-x` to `hidden` for the time of the insert-animation
2019-06-26 11:50:52 +01:00
Robin Munn
cb2bf25563 Fix examples for sentencecase and titlecase (#4010) 2019-06-24 10:36:28 +01:00
Jeremy Ruston
e09ac2ab37 CI: Fix commit field in $:/build 2019-06-23 20:11:55 +01:00
Jeremy Ruston
b580baf5ee Add a "commit" field to the $:/build tiddler 2019-06-21 15:21:10 +01:00
Jeremy Ruston
a6500ba711 DynaView: Suppress local storage errors 2019-06-21 15:19:51 +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
Robin Munn
a4dcc20797 Signing the CLA as rmunn (#3992) 2019-06-17 18:31:54 +01:00
Xavier Cazin
2002ff72b7 fr-FR translation for GitHub saver related strings (#3988) 2019-06-17 16:46:03 +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
73eb7fbd4e Maths operators: Remove concat (same as addsuffix) and add splitregexp 2019-06-13 16:52:19 +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
86387a9185 Add some error trapping to maths operators 2019-06-11 17:18:18 +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
ac1d5b828d Fix regression in 7fcd2f132
Previously we saved tiddlers as .tid files using this template that explicitly excludes the "bag" field:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/templates/tid-tiddler.tid

Now we generate both .tid and .json files programmatically, and so we have to explicitly exclude the bag field
2019-06-10 17:52:26 +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
8012a3508f Ensure tiddlyspot saver works with local storage disabled
Fixes #3955
2019-06-08 16:38:13 +01:00
Jeremy Ruston
abb3c01505 Catalan Translation update 2019-06-08 13:19:41 +01:00
Jeremy Ruston
28c732d2be Improve action-createtiddler to return a draft title too 2019-06-04 12:33:01 +01:00
Jeremy Ruston
72c64013c7 Fix control panel stylesheets tab to use $:/state/... instead of $:/config/... 2019-06-03 13:28:59 +01:00
Jeremy Ruston
9c2726c530 Remove $tw.perf.log() banner under Node.js 2019-06-03 13:28:41 +01:00
Xavier Cazin
427b56039b fr-FR translations of Help on the savewikifolder and deletetiddlers commands (#3966)
* fr-FR translation of Help on the savewikifolder command

* fr-FR translation of Help on the deletetiddlers command
2019-06-02 20:49:50 +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
147d758931 Add version tags for deletetiddlers and savewikifolders commands
@BramChen -- I added the tag to the Chinese translations, too, let me know if it is not right.
2019-05-31 08:38:34 +01:00
Bram Chen
5f6abad3c5 Update chinese translations (#3959)
* Add chinese translations for Saving/GitHub/ServerURL

* Improve simplified chinese wording

* Add chinese help text for deletetiddlers command
2019-05-31 08:36:19 +01:00
Jeremy Ruston
5b09881679 Add new deletetiddlers command 2019-05-30 16:54:57 +01:00
donmor
496610aa49 Signing the CLA for @donmor (#3957) 2019-05-30 09:42:57 +01:00
Jeremy Ruston
c80fcf19c0 More browser storage fixes
See 698733a4a
2019-05-29 09:37:48 +01:00
Jeremy Ruston
698733a4ad Fix crashes when localStorage not available
As reported by @bimlas in https://github.com/Jermolene/TiddlyWiki5/issues/3945#issuecomment-496797809
2019-05-29 09:01:11 +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
2f8053265e Performance: Add average filter execution time 2019-05-20 12:50:10 +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
94d18a2f18 KaTeX: Fix bug with embedded SVGs
See https://github.com/Jermolene/TiddlyWiki5/issues/2500#issuecomment-489976530
2019-05-11 17:31:35 +01:00
Jeremy Ruston
ff85fcfe93 Fix typo from e8d1fbba6 2019-05-10 16:03:24 +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
7869546fef Speed up reveal widget
It turns out that the `localeCompare` function used by `compareStateText()` is very, very slow. Replacing it with a straightforward equality test makes one of my test rigs be 10x faster...

Note that this PR reverts the behaviour of match/nomatch to that before #3157. That change was not backwards compatible in that the switch to localeCompare meant that é === e, now it doesn't again.
2019-05-10 08:47:00 +01:00
Jeremy Ruston
dddfb7ce67 Merge remote-tracking branch 'origin/tiddlywiki-com' 2019-05-03 11:20:39 +01:00
Jeremy Ruston
5ae14a16ec Classic Storyview: Optimise for animation duration of zero (part 2)
See fddc5d4ee
2019-05-02 21:21:22 +01:00
Jeremy Ruston
fddc5d4ee6 Classic Storyview: Optimise for animation duration of zero (part 1)
Approximtely 50% speed improvement in tests opening a storyview with 8,000 entries.

(I've deferred the indentation adjustments until the next commit so that the git diffs are clearer)
2019-05-02 21:20:24 +01:00
Jeremy Ruston
091864ddaf Browser messaging: suppress logging
Commented out because it can be useful for debugging.
2019-05-02 20:21:58 +01:00
Jermolene
07198b9cda Update view toolbar "new here" button
Avoiding textual substitution fixes probems with tiddler titles containing double square brackets.
2019-04-23 17:54:49 +01:00
Jermolene
4401e71498 Docs: Update WebServer Parameter: csrf-disable 2019-04-23 17:53:19 +01:00
Bram Chen
df416814b1 Update chinese translations (#3917)
* Add chinese translations for Saving/GitHub/ServerURL

* Improve simplified chinese wording
2019-04-16 15:56:05 +01:00
Jermolene
b7e0930122 savewikifolder: Fix custom plugin fields
We need to carry across all plugin fields into the tiddlywiki.info file
2019-04-16 11:59:34 +01:00
Jermolene
0a5c826816 GitHub Saver: Fix ServerURL name 2019-04-16 10:15:58 +01:00
Jermolene
25c0ebb523 GitHub Saver: Make server URL configurable 2019-04-15 21:30:59 +01:00
Jermolene
b32a5aa9af GitHub saver: Fix problem with saving to a non-existent directory 2019-04-15 21:08:04 +01:00
Jermolene
232eba2f7d Http utilities: add xhr object to callback 2019-04-15 21:07:23 +01:00
Talha Mansoor
04a4a0f92e Add support of language aliases in highlight.js plugin (#3898)
listLanguages() returns a list of supported languages. It does not
return language aliases.

highlight.js has extensive support of language aliases which can be 
viewed here

https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html#language-names-and-aliases

But because of using listLanguages(), TW does not take advantage of 
alias.

getLanguage() method on the other hand supports aliases.

https://highlightjs.readthedocs.io/en/latest/api.html#getlanguage-name

To summarize, now user can use javascript, js or jsx for the code block. getLanguage() will return an object which means highlight.js supports
this language.
2019-04-15 18:45:45 +01:00
Jermolene
0513837228 Ensure tiddler.getFieldStringBlock uses a deterministic ordering
Makes diffs easier to track
2019-04-14 14:23:49 +01:00
Bram Chen
58cdbbf865 Add chinese help texts for the new savewikifolder command (#3911) 2019-04-14 14:14:20 +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
7fcd2f132e Filesystemadaptor: Improve handling of JSON files
Fixes #3875

* Use .json files (instead of .tid) for any tiddler whose fields contain values that can't be stored as a .tid file
* Save application/json tiddlers as .json files
* Refactor most of the file handling as re-usable utilities
2019-04-13 14:59:44 +01:00
Jermolene
edd3156430 Improve loading/importing of JSON files
First part of fix for #3875

The idea is to do a better of job of distinguishing JSON files that contain tiddlers versus those that contain plain blobs of JSON that should be stored as a single application/json tiddler.

Under Node.js, .json files with an accompanying metafile are always treated as a JSON blob. Without a meta file, those that appear to not contain valid tiddlers are returned as a JSON blob, otherwise the tiddlers within the file are imported.

In the browser, we don't have .meta files so we rely on the valid tiddler check.
2019-04-13 14:47:27 +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
Bimba Laszlo
9b72eabd1a Fix crash in GitHub saver (#3905)
If the path was not specified, RSOD error occurred when we wanted to
download the wiki:

  Uncaught TypeError: Cannot read property 'substring' of undefined
2019-04-11 08:21:55 +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
Bram Chen
61d87875ff Add chinese translations for configuration of GitHub saver (#3899) 2019-04-09 08:13:14 +01:00
Jermolene
73703da2e7 Minify base64-utif8 module
Minified with https://skalman.github.io/UglifyJS-online/
2019-04-08 21:37:32 +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
Simon Huber
662ae91067 Bugfix: reveal widget regression! (#3897) 2019-04-06 10:27:37 +01:00
Jermolene
d5fa68b46a Simplify PageTemplate
We no longer need to mess around with the currentTiddler variable to be able to access to the "name" field of the current language
2019-04-05 09:11:54 +01:00
Jermolene
6e81122fa3 Restore exclude parameter for selective TOC macros
Reverting 94607aa9cd
2019-03-30 12:10:42 +00: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
37ea659bf0 Refactor the dumpvariables macro as wikitext
Making it easier to customise
2019-03-30 10:52:49 +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
Jermolene
94607aa9cd TOC macros: Remove redundant recursion protection
As discussed in #3881, it isn't really needed when user interaction is required to open child nodes.
2019-03-27 15:00:13 +00:00
Jermolene
62477c9fbb TOC Macros: fix recursion regression
Fixes #3881
2019-03-27 14:59:38 +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
Brooks Boyd
d51a89135d Add signature for MidnightDesign, LLC to CLA Entity agreement (#3877) 2019-03-22 18:08:36 +00:00
Jermolene
d38b42f7c7 AWS Plugin: Don't error when no files to load 2019-03-22 17:27:20 +00:00
Jermolene
fffd0ee9e1 AWS: Add command for setting credentials profile 2019-03-22 09:20:25 +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
Jermolene
02ae8969b2 Reveal widget: faulty logic for default handling
@BurningTreeC I think this might have been a typo in your recent refactorings; if you look back at an old version such as c0c1b557eb/core/modules/widgets/reveal.js then there is no sign of this fallback.

Fixes #3874
2019-03-20 16:50:34 +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
a89991cc46 Dynaview: Fix crash 2019-03-16 13:25:45 +00:00
Jermolene
f4fe254038 Clarify help for render command
The ordering of the bullet lists didn't match the order of the parameters
2019-03-16 13:25:34 +00:00
Jermolene
9f630b5829 v5.1.20 new release banner 2019-03-16 13:24:58 +00:00
Xavier Cazin
c904aeb05f fr-FR translation updates (#3856)
* update/improve translations of a few fr-FR strings

* update/add fr-FR for load and listen command docs
2019-03-13 09:34:44 +00:00
Simon Huber
efd7aa3a53 Make codemirror use tiddler-editor-border palette color (#3819) 2019-03-12 16:41:22 +00:00
Simon Huber
a4b24670f6 Update highlight.js to latest release v9.15.6 (#3635)
* update highlight.js to latest release v9.13.1

* update to v9.13.1 default.css

does the current default.css include adjustments for the different languages?

* Update highlight.pack.js

* Update readme.tid

* update highlight.pack to 9.15.6

* update version number + included languages
2019-03-12 12:04:38 +00:00
Simon Huber
2e0b2c8045 Palette manager: sort palettes by name, not description (#3853)
... currently it appears as if there was no sorting logic
2019-03-12 09:48:34 +00:00
Simon Huber
d068cb3625 Fix palette: missing type application/x-tiddler-dictionary (#3852) 2019-03-11 10:59:34 +00:00
Simon Huber
0d8c749f37 Rename SpartanDay to SpartanDay.tid (#3851)
* Rename SpartanDay to SpartanDay.tid

* Update SpartanDay.tid
2019-03-11 09:55:49 +00:00
Simon Huber
0303b7871b Rename SpartanNight to SpartanNight.tid (#3850) 2019-03-11 09:55:14 +00:00
Simon Huber
44d1a00bb0 Fix "cannot read substr of undefined" in removeprefix filter (#3826) 2019-03-11 09:38:15 +00:00
Simon Huber
784db30614 Fix removesuffix filter when title is undefined (#3827) 2019-03-11 09:37:49 +00:00
jdjdjdjdjdjd
26c6d6035e Add Spartan Day palette (#3846)
Ugh, hehe.. this is my first try at this. Hopefully got it right...
2019-03-11 09:25:54 +00:00
jdjdjdjdjdjd
b82cf3d070 Add Spartan Night palette (#3847)
* add Spartan Night palette

This and Spartan Day go hand in hand I feel like.

* Found a typo
2019-03-11 09:25:37 +00:00
jdjdjdjdjdjd
f07ffb2b41 Add @jdjdjdjdjdjd to the CLA (#3849) 2019-03-11 09:25:16 +00:00
Simon Huber
c9b16d88f3 Fix: reveal widget prevent undefined state (#3848)
the state didn't fall back to the default when there was no data-item to extract for a stateIndex

see the google group for a bug report: https://groups.google.com/forum/#!topic/TiddlyWiki/3jiFpayAIRc
2019-03-11 09:04:17 +00:00
Jermolene
256321cd42 Merge branch 'tiddlywiki-com' 2019-03-10 21:17:40 +00:00
Simon Huber
71aed78e2e Fix sticky draggable-placeholders in list macros (firefox) (#3823)
* fix draggable lists for firefox (sticky placeholders)

ff doesn't like whitespace and also those &nbsp; entities make problems

placeholder is styled in vanilla base

* tc-droppable-placeholder styles for tagged-draggable ...

and links-draggable lists

* make it beautiful
2019-03-10 20:05:18 +00:00
Simon Huber
0ab29e2c09 Community Palettes: Twilight by Thomas Elmiger (#3845) 2019-03-10 17:37:05 +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
Simon Huber
2dc70682cd Fix for SolarizedLight palette, missing tag and type (#3844) 2019-03-09 17:37:15 +00:00
Simon Huber
441011885c Fix: tm-full-screen when event.event undefined (#3835) 2019-03-09 17:09:34 +00:00
Simon Huber
449fd02cda Update Nord palette + solarized light palette (#3828)
* update Nord palette

* small change

* port solarized light palette

* Update SolarizedLight.tid
2019-03-09 17:08:58 +00:00
Joshua Fontany
a7dc8b5583 Signing the CLA (#3838)
* Signing the CLA

* added json mangler resource
2019-03-09 16:39:13 +00:00
Bram Chen
7478ba9165 Update Chinese languages (#3837)
* Add initial translation for zh-TW depends on zh-Hant

* Add initial translation for zh-CN depends on zh-Hans

* Add initial translation for zh-HK depends on zh-Hant

* Update chinese help texts for load command

    * for the new optional "noerror" parameter
2019-03-09 13:17:54 +00:00
Jermolene
12630d4a91 Provide an option for the load command to not error if no tiddlers are found 2019-03-08 16:43:04 +00:00
Jermolene
07635d7b3e Full edition: Fix plugin display 2019-03-07 18:46:38 +00:00
Jermolene
e61c71961b Fix default language
It is supposed to be the built-in core language, en-GB
2019-03-07 18:46:24 +00:00
Jermolene
f047e7cbf5 Add example startup action to switch to browser language 2019-03-07 18:45:52 +00:00
Jermolene
2c2d03f7a7 Refactor startup action execution so that they can switch language/theme 2019-03-07 18:43:23 +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
0c2689dd78 SaverHandler: Don't generate file if autosave disabled 2019-03-05 15:43:14 +00:00
Jermolene
a9e595c3f6 Dynaview: Add support for saving/restoring scroll position from local storage 2019-03-04 16:59:39 +00:00
Jermolene
348a0bc8bc Core: Allow startup navigation to be suppressed
Plugins can suppress it so that they can provide their own startup scroll handling
2019-03-04 16:59:15 +00:00
Jermolene
477c41f843 Add tooltip attribute to select widget 2019-03-04 12:24:16 +00:00
Simon Huber
0b1ce30a04 Add outline color to button, textarea, input (#3822)
* add outline-color to button, textarea, input

* add select elements, move to top

* use primary color
2019-03-03 21:22:13 +00:00
Simon Huber
e8b50df4a6 Porting the Nord palette (#3820)
https://github.com/arcticicestudio/nord

this palette is very popular, available for highlight.js, codemirror, all kinds of desktop/terminal applications ...
would be great to have it in tiddlywiki, too

this is a draft PR, certain things needs to be improved, but looks very good in tiddlywiki
2019-03-03 21:09:42 +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
dd4305d520 Browser-storage: Only delete our own items
We should only delete our own items because browsers share local storage with all file:// URIs
2019-03-03 11:30:14 +00:00
Simon Huber
638eb53429 Add tabindex attributes to edit templates (#3758)
* add tabindex attribute to editor-body edit-template

* add tabindex attr to fields edit-template

* add tabIndex variable to tags edit-template

* add tabindex attr to title edit-template

* add tabindex attr to type edit-template

* add tabindex attr to canonical-uri input

* add tabindex attr (as variable tabIndex) to tag-picker macro
2019-03-02 19:04:27 +01:00
Simon Huber
b6e2985ac6 Fix typo in edit-shortcut widget refresh - missing focus attr (#3815)
* fix edit-shortcut widget refresh - missing focus attr

* + typo fix. NOW it works
2019-03-02 18:16:55 +01:00
Simon Huber
87eab62b7e Make the keyboard-shortcut input focus automatically (#3776)
* add focus capability to edit-shortcut widget

* focus the keyboard-shortcut inputs in the control panel

... there's no other reason why it could have been opened other than just pressing a shorcut ...

... saves the mouseclick
2019-03-02 17:25:49 +01:00
Jermolene
fb0713ae78 Comments plugin: Fix extraneous paragraph in above story area
Fixes #3813
2019-03-02 16:18:50 +00:00
Simon Huber
16bb474fef Partial fix for the sticky dropzone on firefox (#3809)
in my tests listening for the dragend event and removing the tc-dragover class in that case removes the `tc-dragover` every time it should ...

without this, firefox often doesn't remove it and the green bar sticks at the top

investigating now if the droppable widget has a similar problem
2019-03-02 16:13:36 +01:00
Simon Huber
77e6f5c0e3 Fix for "Open" tab placeholders in FireFox (#3806)
* fix for "Open" tab placeholders in FireFox

this PR fixes the placeholders in FireFox not being removed on drag-leave from time to time

it consists of 2 mods where apparently both are needed:

- creating a `droppable-item` macro where whitespace is trimmed. that macro contains the droppable and inserts the placeholders
- removing the `&nbsp;` entity in favor of an inline style `height:2em;` on the placeholder div, putting it in a macro where whitespace can be trimmed, too

I'm investigating if there's a similar fix for the top page dropzone

* remove unnecessary whitespace trim, add css classes

`.tc-sidebar-tab-open-item { position: relative; }`

`.tc-sidebar-tab-open .tc-droppable-placeholer {  line-height:2em; height:2em; } `

* replace times entity with close-button

* add sidebar-open-tab styles
2019-03-02 14:54:23 +01:00
Simon Huber
41e338dc41 Add smartIndent to codemirror (#3810)
* add smartIndent config to codemirror

* add indentWithTabs config to codemirror

* make default tabSize same value as indentUnit

* make tab and enter do smart indentation
2019-03-02 14:46:10 +01:00
Jermolene
a6875df7ef Browser-storage: Add enable/disable and clear button 2019-03-01 22:06:14 +00:00
Jermolene
655fc31cee Server: Avoid displaying "undefined" for missing path prefix 2019-03-01 18:28:51 +00:00
Jermolene
18c00c2ef0 Don't allow $:/Import tiddler to be imported 2019-03-01 17:39:42 +00:00
Jermolene
b862348b06 Fix !is[variable] operator
Fixes #3804
2019-02-28 11:54:04 +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
810033bd71 Server: include path-prefix in display URL 2019-02-12 18:32:00 +00:00
Jermolene
6aab4d5524 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2019-02-12 12:14:58 +00:00
Jermolene
72f2a94251 Ensure things work when $:/config/AnimationDuration is blank or not a valid number
Thanks @jdjdjdjdjdjd
2019-02-12 12:14:55 +00:00
Bram Chen
6dedcd958d Update chinese translations (#3762)
* Add advanced search canned filter for "tiddlers modified this session"
2019-02-10 09:24:30 +00:00
Simon Huber
f97d18bb6e Adding optional tabindex attr to simple, framed and cm engines (#3756)
* add optional tabindex attribute to factory.js

* add changedAttributes.tabindex to refresh mechanic

* add optional tabindex attribute to edit widget

* remove some extra whitespace

* remove some trailing whitespace

* add optional tabindex attribute to simple engine

* add optional tabindex attribute to framed engine

* add optional tabindex attribute to cm engine
2019-02-08 16:11:39 +00: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
6ff7a7d261 BrowserStorage: Make sure tiddlers loaded from local storage mark wiki as dirty
Thanks @xcazin
2019-02-08 15:38:23 +00:00
Jermolene
2710fae71d BrowserStorage: Use path to make unique item names for non-file URIs
Previously, we were only using the path to disambiguate files on a file:// URI. That meant that all wikis on tiddlywiki.com was sharing the same pool of local storage...
2019-02-08 15:19:20 +00:00
Jermolene
0e6855eba8 Add advanced search canned filter for "tiddlers modified this session" 2019-02-08 11:07:06 +00:00
Jermolene
8b04cfd4d5 Fix problem with extraneous raw markup in saved files
Previously, raw markup tiddlers were being saved even if they weren't included in the saveTiddlerFilter. This meant that, for example, using "save empty" button in GettingStarted would include the splash screen markup tiddler.
2019-02-07 18:30:17 +00:00
Jermolene
2c37c25c28 BrowserStorage: Add startup log and fix save filter
The previous filter was rejecting tiddlers that needed to be deleted.
2019-02-07 17:59:55 +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
b64216cfa7 BrowserStorage: Add another warning 2019-02-07 15:15:05 +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
5577f7a4fe BrowserStorage: Add support for a custom quota exceeded message 2019-02-07 14:46:23 +00:00
Jermolene
51b4f63c5c BrowserStorage: Add a filter to determine which tiddlers are saved 2019-02-07 14:35:25 +00:00
Jermolene
7df58a6813 Fixed bug with length operator
Thanks @BurningTreeC
2019-02-07 12:56:12 +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
64b665e706 More maths operators 2019-02-07 11:18:32 +00:00
Jermolene
f709641967 Upsdate release note 2019-02-06 18:22:29 +00:00
Jermolene
94f143bf64 Autofocus advanced search text edit input 2019-02-06 17:53:00 +00:00
Bram Chen
22fe4451c8 Update Chinese translations (#3735)
* Update chinese translations
* Add field descriptions for toc-link
* Add help texts for gzip parameter of listen command

* Add missing chinese warning message of "Upgrader/System"
2019-02-06 15:10:01 +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
Simon Huber
5e9fc661a9 Tentative: Remove conditional from wrap-selection text-operation (#3749)
As per the discussion in #3749, the original purpose of the removed condition is unknown, and so we cannot be certain that removing it is safe, but doing so seems the best way of discovering more...
2019-02-05 17:18:20 +00:00
Jermolene
e5f3301c1c Merge branch 'pr/3634' 2019-02-05 16:21:06 +00:00
Jermolene
b08a7e3f04 Wording tweaks 2019-02-05 16:20:44 +00:00
Jermolene
44c66b98a9 Add default prefix for tm-fold-all-tiddlers message 2019-02-05 16:01:24 +00:00
bimlas
ce256102a7 Suggested slightly "better English" wording for the warning 2019-02-04 22:09:31 +01:00
Jermolene
6f5f9ca2fb Browser-storage: Handle quota exceeded error 2019-02-03 17:29:32 +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
70f5dff81e Add a boot hook for modifying the tiddler store 2019-02-03 12:01:57 +00:00
Jermolene
689e172e79 Move some utility functions into boot.js
So that they are available to code running earlier in the boot process
2019-02-03 12:01:38 +00:00
Diego Mesa
5ffcd7e5da When renaming a tiddler only show references if there are any (#3654)
* fixing 3648 - now non updated references are shown only when non zero

Signed-off-by: Diego Mesa <diego898@gmail.com>

* change to list widget

As per @jermolene comments I changed to the list widget

* Putting back the accidently removed title (will no longer use github interface).

Signed-off-by: Diego Mesa <diego898@gmail.com>

* making sure I dont overwrite currentTiddler

Signed-off-by: Diego Mesa <diego898@gmail.com>
2019-02-01 17:33:39 +00:00
Jermolene
5a37a84a54 Enhance plugin library search to all fields
Fixes #3741
2019-02-01 17:26:20 +00:00
Simon Huber
4228c3f9cc Fix bug in reveal widget when stateTitle tiddler is missing (#3745)
in the group this bug was reported

when the stateTitle is missing it tries to get a field string of an undefined tiddler ...
2019-02-01 16:53:29 +00:00
Jermolene
a4eb139f99 Innerwiki: Add support for draggable anchors 2019-02-01 10:43:42 +00:00
Jermolene
7bc1458749 Boot: Enhance domMaker to support namespaces and styles 2019-02-01 10:43:14 +00:00
Jermolene
92b8368115 Innerwiki: Improve examples 2019-01-30 16:58:04 +00:00
Jermolene
c4bb2110e3 Merge branch 'tiddlywiki-com' 2019-01-29 17:40:54 +00:00
Jermolene
f7d938e4bc Innerwiki: improve wiki state examples 2019-01-29 17:40:40 +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
6753a1485a Dynaview: turn off scroll anchoring 2019-01-29 11:37:26 +00:00
Jermolene
7f97e3080c Innerwiki: make sure we can click through the svg overlays 2019-01-28 19:32:35 +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
admls
036ea400c5 Signing the CLA (#3734) 2019-01-27 19:27:45 +00:00
Moritz Ulrich
049244e8a8 WebServer: Enable deflate and gzip compression (#3677)
* get-index: Enable deflate and gzip compression

* Spaces -> Tabs

* listen: Add optional `gzip=yes` parameter (defaults to "no")

* get-index: Add comment explaining the usage of `zlib.*Sync` instead of async.
2019-01-27 16:23:24 +00:00
JesseWeinstein
95aca11719 Signing the CLA (#3695) 2019-01-27 14:53:58 +00:00
00SS
02fbae4200 Update field description lingo (#3698)
Made this new PR for for the master branch, and closed #3697 
This PR is needed for text shown in the update PR #3680 which is for the tiddlywiki-com branch
2019-01-27 14:52:29 +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
44816ea0da Fix URL for innerwiki demo 2019-01-27 11:07:51 +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
353821f442 TagManager: Remove extraneous caption field
Fixes #3727
2019-01-26 17:38:46 +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
Simon Huber
95dbdff08a Fix bug with event.event.target being undefined (#3683) 2019-01-14 09:41:19 +00:00
dnebauer
bfd09133de Add howto for changing highlight languages (#3674)
* Create howto.tid

Howto explains customising the languages supported by the highlight plugin. This involves:

* Using the highlight.js download page to get a zip archive containing the files for a highlight.js server which supports a set of languages selected by the user
* Replacing the highlight plugin's `highlight.pack.js` file with the `highlight.pack.js` file from the downloaded archive

* Update plugin.info

Add howto.
2019-01-14 09:32:58 +00:00
dnebauer
dc74fc4306 Update url of highlight.js github project (#3672)
Github repo of the highlight.js project has changed from `github.com/isagalaev/highlight.js` to `github.com/highlightjs/highlight.js`.
2019-01-14 09:31:29 +00:00
Bram Chen
557053ab35 Fix outdated external-js template. (#3657)
Fix outdated external-js template.

Add the missing raw markup sections:
  * the top of the head
  * the top of the body
  * the bottom of the body
2019-01-14 09:18:57 +00:00
Ben Webber
317d75171c Sign CLA (#3690) 2019-01-14 09:17:20 +00:00
Johannes Löthberg
0e568fe69a Signing the CLA (#3687) 2019-01-14 09:16:00 +00:00
Moritz Ulrich
e2fe40a282 Sign the CLA (#3678) 2019-01-14 09:14:22 +00:00
dnebauer
193fb32423 Signing the CLA (#3671) 2019-01-14 09:11:53 +00:00
Jermolene
e14e69bedc DynaView plugin: add optional scroll position preservation 2019-01-11 17:50:52 +00:00
Jermolene
af9f90e8cd Merge branch 'master' into tiddlywiki-com 2019-01-08 15:23:13 +00:00
Jermolene
b899563971 CI: Fix repo for rebuilding tiddlywiki-com 2019-01-08 14:58:59 +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
00SS
0aac98f361 Signing the CLA (#3631)
* Signing the CLA

* Update cla-individual.md

I have edited the file to remove my "name." A real name was required for signing, which I did, and it is now in record. I would prefer the name not be on the TW.com website.
2019-01-08 14:19:51 +00:00
Jermolene
fa638b8b5b CI: Enable continuous integration
Going live!
2019-01-08 14:02:46 +00:00
Jermolene
4d5a79acb8 CI: Add branch to travis commit messages 2019-01-08 13:46:18 +00:00
Jermolene
fcfdb0632b CI: Trigger build of "tiddlywiki-com" branch 2019-01-08 13:27:08 +00:00
Jermolene
d14d7f0168 CI: Remove non-functional attempt to set build timezone
And also trigger a build for testing
2019-01-08 11:33:45 +00:00
Jermolene
83bea2a270 CI: Another attempt to fix the timezone 2019-01-08 11:16:31 +00:00
Jermolene
2b8efdc3ea CI: Fix building of test.html 2019-01-08 11:00:14 +00:00
Jermolene
27d0b2b491 CI: Try to fix the timezone of the build
To match the timezone of my development machine used for previous builds
2019-01-08 10:47:56 +00:00
Jermolene
824930682a CI: Fix plugin library version and build test.html 2019-01-08 10:34:50 +00:00
Jermolene
d8104e2c41 CI: Add timezone to datestamps 2019-01-08 10:01:23 +00:00
Jermolene
06f1f1a532 CI: Make sure we can see commit error messages 2019-01-07 21:44:07 +00:00
Jermolene
6121c0b5a7 CI: Fix date format 2019-01-07 21:34:30 +00:00
Jermolene
2c5b1c4a8c CI: Remove extraneous log information 2019-01-07 21:31:43 +00:00
Jermolene
3d687a7935 CI: Fix switched tiddlywiki versions 2019-01-07 21:30:58 +00:00
Jermolene
5d20a54713 CI: Figure out why master is building with the wrong version number 2019-01-07 21:27:05 +00:00
Jermolene
14623d33d2 CI: Fixes
Things are starting to work now...

* Now we extract the version number from package.json to use in making the plugin library
* We start building the whole site (eek, going to be slow)
2019-01-07 20:07:32 +00:00
Jermolene
37b335a136 CI: Try to quieten the commits 2019-01-07 18:48:40 +00:00
Jermolene
d5a25c9a96 CI: Start building properly 2019-01-07 18:40:22 +00:00
Jermolene
6c48c24332 CI: Include the date in the build details 2019-01-07 17:32:46 +00:00
Jermolene
86e27d64f2 CI: Fix up getting the git branch details into the build 2019-01-07 17:27:18 +00:00
Jermolene
decbe33f1f CI: More tweaking git commands... 2019-01-07 17:08:25 +00:00
Jermolene
8205893af9 CI: Further attempts to fix up the git integration 2019-01-07 17:01:12 +00:00
Jermolene
75158c0366 CI: Fixing up the Git integration 2019-01-07 16:51:06 +00:00
Jermolene
a2d4239db0 CI: Pull scripts out into files
Still trying to get the github integration working
2019-01-07 16:42:30 +00:00
Jermolene
1d9c932e16 CI: Attempt to pull pages branch from GitHub before the build, and push afterwards
Using a testing repository for now
2019-01-07 16:29:42 +00:00
Jermolene
58f7e7bd85 CI: Fixing getting the build details into a file 2019-01-07 11:40:52 +00:00
Jermolene
8f54231d62 CI: Start to get the build details into the build 2019-01-07 11:21:10 +00:00
Jermolene
97f7f8f111 CI: Doh! A simpler way to get the branch name 2019-01-07 10:44:19 +00:00
Jermolene
4e0b03b19f CI: Fix git branch detection
The old code was returning "HEAD" where we really want "master"
2019-01-07 10:38:48 +00:00
Jermolene
097b0e2d4a CI: Further attempts to pass Git details to our build script 2019-01-07 10:31:56 +00:00
Jermolene
87f077314b CI: Now try passing some details about the current git commit 2019-01-06 21:56:32 +00:00
Jermolene
7a07c84eac CI: Still trying to pass an environment variable 2019-01-06 21:49:20 +00:00
Jermolene
512d5662cc CI: Another attempt to fix passing an environment variable to a script 2019-01-06 21:41:36 +00:00
Jermolene
32974eebdb CI: Still trying to pass an environment variable to our build script 2019-01-06 21:14:32 +00:00
Jermolene
eca5df9f01 CI: Fixing setting up job-specific environment variables 2019-01-06 21:08:31 +00:00
Jermolene
c42eba3308 CI: Pass environment variable to the build job 2019-01-06 19:08:23 +00:00
Jermolene
77d286213f CI: Fix another yml problem 2019-01-05 18:35:56 +00:00
Jermolene
da864e23d6 CI: Fix YAML errors
I don't understand YAML
2019-01-05 12:10:55 +00:00
Jermolene
d58bc33df4 CI: Investigate conditional stages
For "master" we need to rebuild the prerelease; for "tiddlywiki-com" we need to rebuild the main release using the latest release. I want to have as much of the travis specific build logic expressed in travis.yml as possible, hence having to figure out Travis's syntax rather than doing everything in a script that tests the $TRAVIS_BRANCH environment variable...
2019-01-05 11:59:16 +00:00
Jermolene
c97c3cea74 CI: Fix intentionally broken test 2019-01-04 20:11:02 +00:00
Jermolene
e9f2a24f30 CI: Exit when tests fail 2019-01-04 20:07:37 +00:00
Jermolene
0b7f72ce5c CI: Output the build TW version number for debugging 2019-01-04 18:02:59 +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
ddf22ec2a4 We have to force the installation of TiddlyWiki
(This is so that we have the latest released version of TW5 for building the non-prerelease version)
2019-01-04 17:53:59 +00:00
Jermolene
6b4294923f Test edition: exit with an error code if the tests fail 2019-01-04 17:46:11 +00:00
Jermolene
2dd76007d3 CI: Stipulate the latest version of node 2019-01-04 17:45:52 +00:00
Jermolene
31470f676c Minimal first pass at continuous integration
For now, we're just using Travis CI to run the main build script
2019-01-04 17:25:30 +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
8e3f9d6aba Version update for v5.1.20-prerelease 2018-12-20 17:27:36 +00:00
Jermolene
1793dc5e34 Plugin library version for prerelease 2018-12-20 17:10:35 +00:00
Jermolene
21f4d05ca0 Version number update for 5.1.19 2018-12-20 16:38:56 +00:00
Jermolene
653604ae86 Automated readme update 2018-12-20 16:38:13 +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
ed714ab731 Adjust version for v5.1.19 prerelease 2018-12-19 09:08:14 +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
d5618ca60a Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2018-12-17 11:07:42 +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
d5ac2ee49e Bugfix button widget: popupTitle refresh (#3650) 2018-12-17 10:52:20 +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
eea036f803 Update plugin library location for 5.1.19 2018-12-15 16:07:49 +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
aa1c6a9872 Fix KaTeX plugin fonts (#3640)
* Update KaTeX_AMS-Regular.woff

* correct all katex fonts
2018-12-14 21:51:23 +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
bimlas
18ed2faf82 Implement in $:/core/upgraders instead of navigator.js
The core module tiddlers are not blocked, they are only marked.
2018-12-10 23:05:41 +01:00
bimlas
38b088eabf Warn when importing core tiddlers
See https://groups.google.com/d/msg/tiddlywiki/YZlPGP0qX1o/3tUpyoHXDgAJ
2018-12-10 09:20:58 +01:00
Jermolene
c4b39af052 Version number update for 5.1.18 2018-12-06 09:04:51 +00:00
Jermolene
1c73783ea4 Readme update for v5.1.18 2018-12-06 09:03:22 +00:00
Jermolene
c065dfa4bb Preparing for v5.1.18 release
Phew!
2018-12-06 09:02:05 +00:00
BurningTreeC
a36d8471a8 TOC macro - macrocall wasn't closed (#3622) 2018-12-05 14:30:24 +00:00
BurningTreeC
e3c0616326 Missing stateTitle attribute in unfold viewtemplate (#3617) 2018-12-04 09:13:49 +00:00
BurningTreeC
d00d46a772 Missing stateTitle attribute in subtitle viewtemplate (#3618) 2018-12-04 09:13:27 +00:00
BurningTreeC
40eeba20ef Missing stateTitle attribute in tags viewtemplate (#3619) 2018-12-04 09:13:02 +00:00
BurningTreeC
f163a1f12c Missing stateTitle attr in fold button (#3620) 2018-12-04 09:12:32 +00:00
BurningTreeC
018f7628f5 Remove the last of the new editor styles (reverting) (#3616) 2018-12-03 09:08:11 +00:00
BurningTreeC
bc124c0645 Remove the text-editor box-shadow (reverting) (#3615) 2018-12-03 09:05:52 +00:00
Jermolene
d4716a6f2b Tweak new release banner 2018-12-03 09:03:32 +00:00
BurningTreeC
ad799dbb61 Revert setting styles in framed.js (#3614)
this sets the framed-editor styles to 5.1.17 state
2018-12-03 08:55:16 +00:00
BurningTreeC
31e88dd2c6 Revert "remove unnecessary border-radius already set on the iframe" (#3613)
* Revert "v5.1.18 banner artwork"

This reverts commit 70500140b9.

* Revert "Revert #3607 and #3608"

This reverts commit 87b3e470c2.

* Revert "Fix default global keyboard shortcuts for Mac"

This reverts commit e466f62e7e.

* Revert "Comment plugin: Improve styles"

This reverts commit e17456e3bc.

* Revert "Style tweaks for framed editor + preview (#3608)"

This reverts commit c058378da0.

* Revert "Change to natural counting in range[N] operator (#3609)"

This reverts commit b9df224f99.

* Revert "Update release note contributors list"

This reverts commit 0f3912ba95.

* Revert "Make editor-preview not hide text-editor shadow (#3607)"

This reverts commit 11f02dc362.

* Revert "Editor needs to stand out a bit more (#3606)"

This reverts commit d711ef25ed.

* Revert "Tweak for keyboard-shortcuts how-to (#3605)"

This reverts commit 419ea9a243.

* Revert "Remove unnecessary border-radius already set on the iframe (#3604)"

This reverts commit 288d25e733.
2018-12-03 08:51:50 +00:00
BurningTreeC
e509291b18 Revert "editor needs to stand out a bit more" (#3612)
* Revert "v5.1.18 banner artwork"

This reverts commit 70500140b9.

* Revert "Revert #3607 and #3608"

This reverts commit 87b3e470c2.

* Revert "Fix default global keyboard shortcuts for Mac"

This reverts commit e466f62e7e.

* Revert "Comment plugin: Improve styles"

This reverts commit e17456e3bc.

* Revert "Style tweaks for framed editor + preview (#3608)"

This reverts commit c058378da0.

* Revert "Change to natural counting in range[N] operator (#3609)"

This reverts commit b9df224f99.

* Revert "Update release note contributors list"

This reverts commit 0f3912ba95.

* Revert "Make editor-preview not hide text-editor shadow (#3607)"

This reverts commit 11f02dc362.

* Revert "Editor needs to stand out a bit more (#3606)"

This reverts commit d711ef25ed.
2018-12-03 08:51:17 +00:00
Jeremy Ruston
70500140b9 v5.1.18 banner artwork 2018-12-02 21:13:50 +00:00
Jermolene
87b3e470c2 Revert #3607 and #3608
Hi @BurningTreeC apologies I merged these without properly looking at them, but I think we should move them to 5.1.19 because:

* On Chrome, the new version hides the resize handle on textarea, which can be quite useful
* It's visually quite different, and I think might benefit from more discussion
* It's inconsistent with the CodeMirror editor

Would you mind perhaps starting another PR for edit template enhancements?
2018-12-02 20:57:13 +00:00
Jermolene
e466f62e7e Fix default global keyboard shortcuts for Mac
Fixes #3610
2018-12-02 15:47:32 +00:00
Jermolene
e17456e3bc Comment plugin: Improve styles 2018-12-02 15:15:48 +00:00
BurningTreeC
c058378da0 Style tweaks for framed editor + preview (#3608)
* remove border: none for iframe from framed.js

... inherits the iframe border 1px solid editor-border in vanilla base

* last style tweaks for editor-preview

same border-radius as framed editor

same additional space at the right as at the left

* Update base.tid

* Update base.tid

* looks actually better with this border
2018-12-02 08:40:11 +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
11f02dc362 Make editor-preview not hide text-editor shadow (#3607) 2018-12-01 17:58:06 +00:00
BurningTreeC
d711ef25ed Editor needs to stand out a bit more (#3606) 2018-12-01 17:28:01 +00:00
BurningTreeC
419ea9a243 Tweak for keyboard-shortcuts how-to (#3605) 2018-12-01 17:27:21 +00:00
BurningTreeC
288d25e733 Remove unnecessary border-radius already set on the iframe (#3604) 2018-12-01 15:31:34 +00:00
Jermolene
0ecc7c6071 Update plugin library to 5.1.18 2018-12-01 15:21:31 +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
BurningTreeC
6e59d2597a Style the framed editor (#3596)
* style the framed editor

this makes the framed editor look a bit less ugly 😎

* Update framed.js

* Update base.tid

* Update base.tid
2018-12-01 14:21:43 +00:00
BurningTreeC
7502ef875e Remove bad outline style from remove-tag-button (#3602) 2018-12-01 13:59:39 +00:00
Jermolene
8c367cdb21 Fix typo in #3601 2018-12-01 13:59:08 +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
BurningTreeC
a82800050d Update katex to 0.10.0 (#3600)
* update to 0.10.0

* update to 0.10.0

* get current fonts from katex repo

* Update README.md

* update to 0.10.0
2018-12-01 12:37:44 +00:00
Bram Chen
9cd58caafc Update chinese translations (#3594)
* Improve help texts for listen and server commands
2018-11-29 18:02:36 +00:00
Ingo Blechschmidt
ea91ab1632 Twitter follow button docs: suggest https instead of http (#3458) 2018-11-29 11:10:30 +00:00
BurningTreeC
17232cfe91 Fix missing space between edittemplate tags (#3582) (#3585)
* add tc-tag-list-item to edittemplate  tag

... and remove a space that doesn't do anything here

* we need an `&nbsp` here
2018-11-29 09:51:58 +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
62cbbf1db4 fix textnodes between tags in viewtemplate (#3587)
this removes additional text-nodes in the dom after each `tc-tag-list-item` caused by the last empty line
we could also just remove that line but I don't know if that's a permanent solution or if some mechanism will re-add that line at some point, so I go with the `whitespace trim` pragma
2018-11-29 09:49:29 +00:00
BurningTreeC
0396af849a Undo #3490 - error in popup-cancelling logic (#3586) 2018-11-29 09:49:11 +00:00
BurningTreeC
907d498baf Use stateTitle in dynaview viewtemplate (#3584) 2018-11-29 09:48:35 +00:00
Xavier Cazin
ea76a868bf Update to fr-FR language translations (#3583)
* Update to fr-FR language translations

* Add missing space

* Fix a line feed mistake
2018-11-29 09:48:11 +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
BurningTreeC
545c508138 fix tags-dropdown link (missing-tiddlers ) (#3589) 2018-11-27 20:51:54 +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
19c49ae18a Fix animations for tags in edittemplate
Fixes #3577
2018-11-25 11:13:42 +00:00
BurningTreeC
ad4107a94b Fix animations in "Open" Sidebar-Tab (#3578) 2018-11-25 11:12:06 +00:00
BurningTreeC
8542ebaecb Fix $tw.platform.isLinux on latest firefox (#3495) 2018-11-25 10:51:42 +00:00
BurningTreeC
cd0ce0cde5 Show tag-icons in tags edittemplate (#3447) 2018-11-25 10:43:13 +00:00
BurningTreeC
01407fa8f9 Make tag-icons use the tag-pill-styles (#3448)
this line inherits the `fill: $(foregroundColor)$` from `<<tag-pill-styles>>` in `$:/core/macros/tags`
deleting the line makes the tag-icons fill with the computed color
2018-11-25 10:42:47 +00:00
Rob Hoelz
09ea59240a Cancel non-ancestor popups when showing a new popup (#3490)
Addresses GH #3484

As far as I can tell, the popup level checks in this module are
meant to handle nested popups.  It seems to me that the goal is
for at most a single hierarchy of popups to exist at any given time
- bearing that in mind, this change checks any popups currently tracked
by the module, canceling any that don't share an element hierarchy with
the new popup.
2018-11-25 10:42:21 +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
a83cd3f984 Change logic of tv-hide-missing-links to tv-show-missing-links
See https://github.com/Jermolene/TiddlyWiki5/pull/3530#issuecomment-441368922
2018-11-24 15:53:39 +00:00
Jermolene
078df9c157 Remove "TiddlyFox Apocalypse" from HelloThere thumbnails 2018-11-24 15:52:49 +00:00
Mario Pietsch
dc972237a2 Prepare for 5.1.18 (#3576) 2018-11-24 14:32:05 +00:00
Jermolene
32c8ef1d62 Docs typo
Thanks @pmario
2018-11-24 14:18:59 +00:00
BurningTreeC
3f91d5b3a1 Add tv-override-missing-links to fix links to missing tiddlers (#3530)
* add tv-override-missing-links variable

this lets us set `tv-override-missing-links` true so that we can fix edge cases like the `Filter` dropdown in the `Advanced Search` when `enable missing links` is unchecked in the `Settings` tab of the Control Panel

* add tv-override-missing-links to filter dropdown

* add tv-override-missing-links to type dropdown

* add tv-override-missing-links to fieldname dropd

* add tv-override-missing-links to TagManager(icons)

* undo tv-override-missing-links TagManager

not needed here

* Update link.js

* Update dropdown.tid

* Update fields.tid

* Update type.tid

* Update dropdown.tid

* Update link.js

* simplify all together

* add tv-hide-missing-links to pagetemplate

* do we need to refresh here...

... if the variable gets set on top of the pagetemplate?
2018-11-24 13:36:48 +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
BurningTreeC
2541b9b090 Pagescroller - get scroll pos in src window (#3561) 2018-11-21 11:32:22 +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
BurningTreeC
7729649f0e 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
2018-11-20 11:50:12 +00:00
BurningTreeC
430be4ec30 Fix list-tagged-draggable for quotes !! and ## (#3442)
* fix list-tagged-draggable for quotes !! and ##

* Update list.tid

* Update list.tid

* Update list.tid
2018-11-20 11:43:15 +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
b629b1412d 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
2018-11-19 20:56:59 +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
Adrian Morosanu
f373d8f2bf 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 ($:/)
2018-11-19 10:50:09 +00:00
BurningTreeC
4f78d3d81b 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
2018-11-19 09:35:06 +00:00
BurningTreeC
72679d2041 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
2018-11-18 20:58:03 +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
Jermolene
3aae643e14 Reveal widget with lazily loaded state tiddlers
Fixes #3476
2018-11-18 19:31:53 +00:00
Lioric
e983936c30 Signing the CLA (#3477) 2018-11-18 19:19:10 +00:00
BurningTreeC
849844be12 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
2018-11-18 19:16:46 +00:00
BurningTreeC
2b6514ddc2 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
2018-11-18 10:54:12 +00:00
BurningTreeC
ddc76622f2 Remove sourceMappingUrl from hammer.js (#3535) 2018-11-18 10:44:19 +00:00
Bram Chen
882cad1a0d Add chinese translations for Title/References (#3545) 2018-11-17 13:48:31 +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
BurningTreeC
9752531b61 FIX for keyboard widget keyInfoArray (#3544)
apologies
2018-11-15 21:40:27 +00:00
BurningTreeC
43c8a0f485 Keyboard Widget: refresh keyInfoArray (#3541)
this makes a keyboard widget update its keyInfoArray if its key has the `((descriptor))` format and one of the platform-specific configuration tiddlers with that descriptor-suffix changes
2018-11-15 16:50:23 +00:00
BurningTreeC
4f7297645d Fix action-navigate widget for undefined event (#3542)
we need to prevent the event from being undefined which happens when using `action-navigate` within a global keyboard shortcut
2018-11-15 16:49:41 +00:00
Xavier Codinas
c5d4990cc5 Fix some catalan translations (#3464) 2018-11-15 15:51:34 +00:00
Jermolene
1f296951d4 Minor tweaks for #3534
* Minor rewording of prompt text
* Moved the colon into the translation string, reasoning that it may need to be changed for languages that use punctuation differently
* Corrected expand/collapse arrows
* Moved prompt into expand/collapse button, making it easier to hit use
2018-11-15 15:43:16 +00:00
Bimba Laszlo
88664f0286 Show backlinks on rename (#3534)
* List backlinks when renaming tiddler

* List references inplace

* TiddlerInfo/References accepting specific tiddler

If `operandTitle` is set, it will show its references instead of current
tiddler's.

It's purpose is to prevent code duplication (the references are listed
when renaming tiddler).

* Don't use variable for References template, use <$tiddler>

Set the `current` to desired title with `<$tiddler>` widget.

* List references in a separate block

* Rename state tiddler

* Use qualified state
2018-11-15 15:18:38 +00:00
BurningTreeC
0ff96f9caf [pagescroller] add callback function option (#3473)
this allows using the pagescroller for scrolling elements into view where the rect gets calculated somewhere else

Example: CodeMirror has the `cm.cursorCoords()` function that returns the rect of the textselection (or cursor coordinates)

this scrolls the cursor or text selection into view using tiddlywikis pagescroller:

`$tw.pageScroller.scrollIntoView(undefined, function() { return self.cm.cursorCoords(true,"window"); });`
2018-11-15 14:58:32 +00:00
BurningTreeC
c82edbe6bc New window: add missing click listener for popups (#3538)
this adds a click listener to new windows which enables us to cancel popups by clicking
2018-11-13 18:08:54 +00:00
BurningTreeC
55b5b6dd56 PageScroller: scroll in new windows (#3537)
* make pageScroller work in new windows

* update getScrollPosition to work for new windows

* Update dom.js
2018-11-13 18:07:55 +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
cb74536b3c Update CodeMirror config tiddlers (#3524)
* use "text" config scheme

* use "text" config scheme

* use "text" config scheme

* use "text" config scheme

* use "text" config scheme

* use "text" config scheme

* use "text" config scheme

* use "text" config scheme

* use "text" config scheme + set type integer

* use "text" config scheme

* set type integer

* set type integer
2018-11-07 17:58:38 +00:00
BurningTreeC
22caef9e34 Fix NewImageType config (#3523)
* fix new-line in NewImageType config

sorry for this, too

* fix NewImageType config tiddler

* use "text" field for config
2018-11-07 16:51:55 +00:00
BurningTreeC
d64fc5d8cd Fix new-image button (#3521)z
sorry for the mistake
2018-11-07 16:05:56 +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
BurningTreeC
6c9dfd7f62 Fix tag macros problem with double quotes (#3437)
* [Further TOC fixes] - FollowUp: fix tag macros

this fixes the tag macros when titles are used that contain quotes, especially triple quotes and more

* Update tag.tid
2018-11-06 21:35:36 +00:00
Jermolene
4f8e32a647 Change qualify widget parameter name to match qualify macro 2018-11-06 16:41:18 +00:00
BurningTreeC
4d1127ed5b Fix tc-adjust-top-of-scroll (#3475)
* correct scrolling with tc-adjust-top-of-scroll

not multiplying `offset` with t causes jumps at the first animation steps, where the offset value is bigger than `endY - scrollPosition.y`

* correct scroll offset
2018-11-06 16:23:46 +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
Jermolene
d7914e3f3e Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2018-11-06 15:29:16 +00:00
Jermolene
698224556e Avoid wikify widget in TOC macro
Fixing the most egregious problem from #3517

@pmario can you kindly retest?
2018-11-06 15:29:13 +00:00
BurningTreeC
aeaf5ee5b6 FIX "Observe openLinkFromOutsideRiver ..." (#3516)
I assumed the attribute to be available but it's not
2018-11-06 14:33:41 +00:00
BurningTreeC
97b098b059 Observe openLinkFromOutsideRiver when creating new tiddlers (#3514) 2018-11-06 13:55:18 +00:00
BurningTreeC
457f03798c Fix error opening new windows with popup-blocker (#3515)
this prevents errors when a popup blocker blocks opening a new window from within a running TW
2018-11-06 13:54:00 +00:00
BurningTreeC
3592333cb8 Add support for global keyboard shortcuts (#3493)
* changes for global keyboardshortcuts

* add keyboard.js startup module

* remove not existing "th-opening-window" hook

* correct title

* use utils.addEventListeners

* define platform lookup-names on startup

* use the startup-lookup-names array

* use the platform-specific lookupNames only

* Update keyboard.js

* move initializations to the constructor

* move initializations to the constructor

* rename hasAnyTiddlerChanged

* don't explicitely create new RegExp

* use $tw.utils.hopArray

* match strings, no regex

* remove hopArray, move to boot.js

* add $tw.utils.hopArray to boot.js

* style update

* style updates

* move more to keyboardManager module

this could probably be moved to rootwidget.js

* move more to keyboardManager module

* add event listener for shortcuts in new windows

* prevent error when opening window is blocked

* add keydown listener on document in startup.js

* delete startup/keyboard.js

* add missing this.shortcutTiddlers

* Update keyboard.js

* Update boot.js

* add exports.hopArray to utils.js

* minor codingstyle tweak

* change how lookupnames get pushed to array

* Update windows.js

* re-add shortcuts-listener for new windows

I removed this before which I think was because I misunderstood what exactly should go to a separate PR
2018-11-06 13:34:51 +00:00
Jermolene
b584295831 Fix crash with search operator with blank field list 2018-11-01 12:56:56 +00:00
A.B. Samma
dff5315afe Signing the CLA as Abraham Samma (#3506) 2018-10-31 11:49:40 +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
d6a0b06f02 AWS plugin: Add support for a compressed payload
AWS imposes a limit of 16MB in my testing for the payload of a lambda. Compressing it enables us to pass x2-3 more data, thanks to the inefficiencies of JSON
2018-10-30 09:29:12 +00:00
Jermolene
a75434a347 Docs: fix date format example 2018-10-29 09:18:55 +00:00
Jermolene
78f5465a47 Fix hover colour for textual editor toolbar buttons 2018-10-24 10:33:16 +01:00
jed
baddd89abb Added flag to $tw.utils.parseStringArray to allow non-unique entries (#2027)
* Added flag to $tw.utils.parseStringArray to allow non-unique entries

With this change if you use $tw.utils.parseStringArray(list) you get identical behavior to before and enforces uniqueness in lists, but if you use $tw.utils.parseStringArray(list,true) it allows duplicate values in the list.

Because of how JavaScript handles overloaded functions this shouldn't have any affect on existing code that just passes one argument to the function.

* Update to hopefully remove merge conflicts
2018-10-21 16:58:41 +01:00
Yurii Rashkovskii
c0c1b557eb Problem: revealed dropdown menu on mobiles (#3491)
On mobile phones, tiddler's dropdown menu stays partially off-screen.

Solution: ensure that the revealed coordinates are never negative

Closes #3486
2018-10-21 16:53:45 +01:00
Yurii Rashkovskii
b95f6b523b Signing CLA for Yurii Rashkovskii (#3492) 2018-10-20 12:47:43 +01:00
Jermolene
6b03ba9876 Syncer: support configurable polling interval 2018-10-19 16:32:23 +01:00
Jermolene
d50e2df57b Syncer: fix problem with incoming tiddlers
The bug here is that incoming tiddlers (ie tiddlers that were updated on the server and synced back to the browser) will retain any fields that are currently present but deleted in the incoming tiddler
2018-10-14 15:35:26 +01: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
BurningTreeC
5dcdff4b37 Fix scrolling with tc-adjust-top-of-scroll (#3467)
not multiplying `offset` with t causes jumps at the first animation steps, where the offset value is bigger than `endY - scrollPosition.y`
2018-10-07 10:23:41 +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
83a245ed21 Refactor utility for converting tiddlers to JSON 2018-10-01 11:27:45 +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
7282bf4721 Fix search result count
It's been broken since 097c87f
2018-09-26 16:20:13 +01:00
Jermolene
287a83c1cc Dynaview: Fix parameter name typo 2018-09-26 15:23:49 +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
7368cc74e1 Remove inadvertant usage of Object.assign
In order to retain compatibiltiy with IE11

See this discussion: https://groups.google.com/d/topic/tiddlywiki/RjA7_mee5oc/discussion
2018-09-21 10:56:01 +01:00
Jermolene
f98b4d5956 Add more logging for drop operations 2018-09-13 20:42:35 +01:00
Jermolene
e4e7a0912d Revert "Fix tag macro problems with bad characters in title/tags (#3435)"
This reverts commit b76c5011cf.

Thanks @pmario @BurningTreeC, let's redo this.
2018-09-12 08:42:56 +01:00
Jermolene
d650784dd6 Fix typo in keyboard shortcuts UI 2018-09-11 16:06:29 +01:00
BurningTreeC
b76c5011cf Fix tag macro problems with bad characters in title/tags (#3435)
this fixes the tag macros when titles are used that contain quotes, especially triple quotes and more
2018-09-11 16:05:39 +01:00
Jermolene
e5550b91e6 Further TOC fixes
Continuing the work of 587fe9d10e

Fixes the test case in @BurningTreeC's comment: 587fe9d10e (commitcomment-30450611)
2018-09-11 13:02:28 +01:00
Jermolene
587fe9d10e Fix TOC macro with titles ending with double quotes
By almost entirely eliminating text subsitution, we can avoid the situations where special characters in tags or titles gets the macro confused.

These are quite intricate changes, and so I'd appreciate any help reviewing and testing, many thanks.

Fixes #3427
2018-09-10 12:56:38 +01:00
Jermolene
874318091e Fix crash with illegal arguments to decodeuri(component)
Fixes #3428
2018-09-09 20:48:53 +01:00
Jermolene
f9eed0dc87 Docs about using the web server with external JS 2018-09-05 09:10:42 +01:00
Jermolene
f2a38960fc Fix external JS template to work with the TW5 webserver
It's a bit gross that we have to change the filename used to reference the JS file. This is to make it work with the webserver.

At the moment, the webserver exposes system tiddlers as plain text renderings, and ordinary tiddlers as full HTML renderings through a view template. So we have to use a system tiddler title for the JS file.

The workaround I'm thinking of is to remove the blanket exposure of system tiddlers, and instead have a list of system tiddlers that are specifically exposed through a namespace like `127.0.0.1:8080\lib\tiddlywiki.js`. That can't clash with a tiddler title because tiddler titles are URI encoded and so can't contain slashes.
2018-09-05 08:57:29 +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
Jermolene
4f39e69e9d Add support for resize tracking 2018-09-01 13:19:28 +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
65af4e7748 DynaView: Fix stylesheet title 2018-08-29 19:02:52 +01:00
Jermolene
25727df649 DynaView: Remove optisizer functionality
It was slow and clunky, and turned out to be easier to do in CSS.
2018-08-29 14:47:57 +01:00
BurningTreeC
4ec8881c2b CodeMirror: revert preventing dragging within textarea (#3414)
this reverts #3070 which prevents dragging text from one codemirror instance to another

there are other ways to solve the issue I tried to solve with this, so we should revert this to the standard behavior
2018-08-28 21:02:32 +01:00
Jermolene
4b630de4bd Release note update 2018-08-26 16:49:02 +01:00
Jermolene
e237d8fa97 Transliterate servername to safe ASCII
Fixes #3410
2018-08-24 14:33:31 +01:00
Jermolene
0f7ce7b67f Refactor navigator widget to use story utility to manipulate the storylist as well as the historylist 2018-08-23 18:31:48 +01:00
Jermolene
3bfa9c6f10 Experimental "persistent draft indicators"
Fixes #3409
2018-08-23 18:02:39 +01:00
Jermolene
63ad284784 Fix variable name in PageTemplate 2018-08-23 17:43:34 +01:00
Jermolene
7dbe117bc5 Add username (if set) to the title of draft tiddlers
Makes things a bit easier to follow when working in multiuser environments.

@inmysocks, @danielo515, @arlen22, @pmario, @drakor does this make sense for your use cases?
2018-08-23 17:43:06 +01:00
Jermolene
72e2238dc9 Release note updates 2018-08-23 13:14:11 +01:00
Jermolene
7a6213dcbf Update code comment for $tw.utils.http 2018-08-23 13:13:49 +01:00
Jermolene
03602215c4 Comment plugin: Autofocus new comment edit box
Fixes #3408
2018-08-22 09:57:31 +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
Jermolene
09112ed455 Add support for webp, heic, and heif image formats
https://en.wikipedia.org/wiki/WebP
https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format
2018-08-21 11:46:46 +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
d96c844264 Use the sitetitle as the default filename for saving 2018-08-20 15:38:57 +01:00
Jermolene
11529ab399 Docs: clarify docs for "each" filter operator 2018-08-20 15:31:57 +01:00
Jermolene
fbaceaa8bd Don't steal "paste" events from contenteditable elements
Fixes pasting with a WYSIWYG editor
2018-08-20 15:26:41 +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
Andreas Hahn
fe527b7eaf Fixed type mismatch (#3403) 2018-08-19 18:22:52 +01:00
Bram Chen
e72c72f04c Improve chinese translations for CopiedToClipboard/Succeeded (#3404) 2018-08-19 11:00:20 +01:00
Jermolene
f218c946f1 Fix usages of is[current] that can be changed to all[current]
Fixes #3402
2018-08-18 14:47:35 +01:00
Bram Chen
b1f9ff3f6c Add chinese translations for settings of Permalink/permaview Mode (#3401) 2018-08-17 17:21:34 +01:00
Jermolene
7d0b255a2a Improve "copy to clipboard" notification text 2018-08-17 09:29:23 +01:00
Jermolene
5a2e87eb09 Extend permalink/permaview to optionally copy URL to the clipboard
Fixes #3255
2018-08-16 19:39:18 +01:00
Jermolene
b55a3102be Fix typo from 8a38685 2018-08-16 16:08:33 +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
f210b75a30 Comments plugin: Switch to using the list field to attach comments
https://github.com/Jermolene/TiddlyWiki5/issues/3378#issuecomment-413137626
2018-08-15 13:50:29 +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
Bimba Laszlo
c48aff2c87 Add Bimba Laszlo (@bimlas) to individual CLA (#3391) 2018-08-10 21:28:56 +01:00
Jermolene
7b9dc7557c Popup manager enhancements 2018-08-09 19:39:58 +01:00
Jermolene
c87c18be96 Fix tm-new-tiddler overwriting creation fields of existing tiddlers
Fixes #3371
2018-08-08 15:08:34 +01:00
Jermolene
bb9e2de861 Docs improvements 2018-08-08 10:47:10 +01:00
Jermolene
0a5633dd4a Missed off fcc5a6e
Related to #3378
2018-08-07 21:47:22 +01:00
Jermolene
fcc5a6e796 Missed off ec18a55
Related to #3378
2018-08-07 21:45:48 +01:00
Jermolene
ec18a55033 Comments plugin: several enhancements
As proposed in #3378

* Experimental support for comments on the entire wiki (enable in the plugin config panel). Implemented as comments on $:/SiteTitle, with the comments appearing at the top of the story river
* Refactor the "add comment" button actions so that they can be reused
* Refactor the comment toolbar to be extensible via a system tag
* Add an $:/AdvancedSearch canned filter for accessing all comments
2018-08-07 21:37:07 +01:00
Jermolene
097c87fa7b Modularize the sidebar
Fixes #2758
2018-08-02 13:22:21 +01:00
Jermolene
2d231a2e07 Fix typo in reveal widget
Introduced in a3a4c28143
2018-07-31 13:30:00 +01:00
Jermolene
0285eb600e Clarify date format docs
Fixes #3369
2018-07-30 21:19:59 +01:00
Jermolene
4b9bc1b766 Fix crash with malformed hexadecimal HTML entities
Fixes #3373
2018-07-28 16:22:38 +01:00
Jermolene
a3a4c28143 Fix bug with reveal widget not refreshing when state tiddler changes 2018-07-20 17:07:48 +01:00
Jermolene
6cfd973fbd Readme credits 2018-07-20 14:19:11 +01:00
Bram Chen
794be7ffd7 Update Chinese translations (#3366)
* Add chinese help texts for the new listen command

* Add chinese texts for color setting of `<select>` element
2018-07-20 14:10:30 +01:00
Jermolene
49e9789d9c Readme updates 2018-07-20 13:34:00 +01:00
Jermolene
8520c9d8fd Coding style tweaks for #3346 2018-07-19 21:48:40 +01:00
Evan Balster
be58de8409 Add range operator and documentation (#3346) 2018-07-19 21:42:09 +01:00
Jermolene
34e04b7ca6 Minor tweaks for #3362 2018-07-19 21:28:31 +01:00
Arlen22
aa8b2e11bb Allow all methods and add bodyFormat property to route definition (#3362)
* Allow all methods and add bodyFormat property to route definition

* Set string as the default bodyFormat

* Only set encoding on string routes
2018-07-19 21:24:57 +01:00
Jermolene
8b787cd806 Add new palette colours from #3360 to other core palettes 2018-07-19 21:19:21 +01:00
Jermolene
1317e13974 Fix issue with #3360
See https://github.com/Jermolene/TiddlyWiki5/pull/3360#issuecomment-406400700
2018-07-19 21:18:54 +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
Talha Mansoor
e0be9a3d09 Add <select> color setting to the palette (#3360)
* Add <select> color setting to the palette

* Signing the CLA
2018-07-19 17:25:35 +01:00
Bram Chen
d7001c6f6b Update chinese translations for built-in HTTP server (#3364)
* Add chinese help texts for the new listen command
* Add chinese descriptions of "authenticator" and "route" in Docs/ModuleTypes
* Revised chinese help texts for the server command
2018-07-19 17:24:16 +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
c72e4f01f1 Fix typo in excise button
It meant that the excise button didn't appear on tiddlers of type text/vnd.tiddlywiki
2018-07-03 11:12:12 +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
bef3242075 New text editor operation: save selection to a tiddler 2018-06-29 15:09:51 +01:00
Jermolene
f54a0a11bc Add support for editor toolbar buttons to have action widgets 2018-06-29 15:09:34 +01:00
Jermolene
929b0c9833 Fix broken QR code wifi example 2018-06-23 10:18:39 +01:00
Jermolene
acaa07a964 First stab at a threaded commenting plugin 2018-06-21 08:36:15 +01:00
Bram Chen
23797b05a1 Add chinese help text of debuglevel for the server command (#3337) 2018-06-20 17:16:30 +01:00
Jermolene
1ce9973bed Add optional debug logging to the server command 2018-06-20 12:43:41 +01:00
Jermolene
c29f5a1b61 Server command: map missing path to "/"
Otherwise, the user gets a 404 if we use a path prefix and the user omits the trailing slash
2018-06-20 12:18:35 +01:00
BurningTreeC
2a3f1b4403 Make tm-full-screen work in all windows (#3334)
this makes tm-full-screen work in new windows, too
2018-06-16 10:03:38 +01:00
Jermolene
7557b8b5b7 Remove extraneous debugging code from 35cbb127a3 2018-06-15 11:34:06 +01:00
Jermolene
35cbb127a3 Restrict variable substitutions to macros defined with the define pragma
Fixes #3333
2018-06-15 08:31:02 +01:00
Jermolene
aba9c94f5a Fix coding standards for put.js
A few minor things, but the accidental use of "const" is serious: TW5 is intended to run on ES5.
2018-06-13 15:50:47 +01:00
Jermolene
bacf500d50 Avoid deprecated new Buffer() usage
See https://alexatnet.com/node-js-10-important-changes/#buffer-1

> Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning.

More details: https://nodejs.org/api/buffer.html#buffer_buffer_from_buffer_alloc_and_buffer_allocunsafe
2018-06-13 11:22:17 +01:00
Jermolene
2e51f08bef Add support for rebasing headings at render time
Fixes #3330
2018-06-10 15:54:23 +01:00
Jermolene
29606c6d24 Refactor new journal actions
Using contained actions, as we were, meant that the actions (and in this case the wikify widget) were being rendered at render time, but might have been out of date by the time the actions were triggered. Using the action attribute ensures the actions are rendered when they are executed.

Fixes #3326
2018-06-06 19:41:02 +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
d2682b71ff DynaView: Only apply minimum height to tiddlers that are not yet visible 2018-05-25 11:08:27 +01:00
Jermolene
121e868ca4 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2018-05-23 14:18:28 +01:00
Jermolene
4b42173962 DynaView: refactor checkVisibility for performance and readability 2018-05-23 14:17:49 +01:00
Jermolene
01bdaff005 Separate the two reveal-on-scroll examples
Making them easier to understand and copy
2018-05-23 14:17:23 +01:00
AnthonyMuscio
edcf1b1d41 Update cla-individual.md (#3305) 2018-05-21 10:40:16 +01:00
BurningTreeC
05af050cbf CodeMirror plugin: tweak for font-size (#3294) 2018-05-19 08:50:18 +01:00
Jermolene
6b14969cf6 Display a warning for binary tiddlers in view mode
The base64 data is currently parsed as wikitext, which is slow and unhelpful

We already display the same warning for binary tiddlers in edit mode.
2018-05-18 17:53:07 +01:00
Jermolene
f0b7c9a3d5 TextSlicer: Fix external links 2018-05-17 18:30:21 +01:00
Jermolene
33453039fc Fix broken import previews
All three were inadvertently showing the existing tiddler (if any), not the imported tiddler.
2018-05-16 17:40:15 +01:00
Jermolene
33e636cbe7 Docs: Add popupmechanism link to Button widget docs
Fixes #3284
2018-05-16 16:23:57 +01:00
Mario Pietsch
760c80c655 BibTex plugin: Fix a problem with MIME types under Ubuntu 18.04
Ubuntu 18.04 returns text/x-bibtex for .bib files instead of application/x-bibtex.
2018-05-16 14:20:51 +01:00
twMat
1436196758 Update search.tid (#3279)
minor correction
2018-05-15 15:44:03 +01:00
Jermolene
c252d7c945 BibTeX plugin: fix name of deserializer module 2018-05-15 14:02:27 +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
398b715bb8 Version number update for 5.1.17 2018-05-12 11:49:02 +01:00
Jermolene
d54f599269 Readme updates 2018-05-12 11:46:54 +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
78e734797b Remove extraneous test error
Left over from testing RSOE
2018-05-10 15:30:32 +01:00
Jermolene
98bafd0b69 Tweaks for RSOD adjustments 7468ad7
Better to centre the button
2018-05-10 15:29:31 +01:00
BurningTreeC
4e12c93b90 update german translations (#3267) 2018-05-10 15:03:11 +01:00
Bram Chen
280cc39434 Add chinese translations for new "print tiddler" button (#3266) 2018-05-10 15:02:38 +01:00
Mario Pietsch
7468ad7acf Make rsod less annoying (#2799)
* give js-error form its own CSS rules. error form should not exceed screen size

* fix whitespace
2018-05-10 14:45:50 +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
e11282cc08 Fix name of print tiddler button 2018-05-10 11:36:57 +01:00
Jermolene
2beae0db2e Tweaks for the new print tiddler toolbar button 2018-05-10 11:35:18 +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
Jermolene
b95aa6ec6a Fix problem with repeated "new journal" with text set
Fixes problem whereby a repeated "new journal" would replace the text of the existing journal tiddler if the control panel new journal text was set.

Fixes #3028 and #3265
2018-05-10 11:28:07 +01:00
Jermolene
e6466b2c32 Fix problem with extraneous space in new journal titles 2018-05-10 08:52:02 +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
Devin Weaver
230c13129a Fix undefined xhr bug (#3262)
Closes #3261

Bug introduced in commit f9be41720 ("Minor tweak for RetrieveETag
(#3257)", 2018-05-05)
2018-05-09 18:04:52 +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
Daniel Rodríguez Rivero
4c89bbabbe Retain $:/status/UserName when logged out (#2893)
The user name tiddler should not be removed just because we are not logged in
2018-05-09 14:22:55 +01:00
Luca Dorigo
3816819705 Signed the CLA (#3258) 2018-05-08 18:51:55 +01:00
Bram Chen
f9be417204 Minor tweak for RetrieveETag (#3257)
Need to check if the server responses a null value for ETag.
(In the case testing with build-in webdav server of CarotDAV on Windows 10)
2018-05-05 11:40:41 +01:00
Jermolene
d4b4c3c936 New Release Banner for v5.1.17 2018-05-05 10:11:51 +01:00
Jermolene
c64fc164fc Fix mime type for 2c7f467 2018-05-04 17:49:21 +01:00
Jermolene
2c7f467514 Add support for /*\ style metadata comments at the top of CSS files
Just as we already support for JS files
2018-05-04 17:38:30 +01:00
Sebastian Silva
46e8e4343a Fix WebDAV by requesting new ETag. (#3230)
* Fix WebDAV by requesting new ETag conditionally

For me. this was saving only the first time and subsequently failing.
Having revised the requests, I noticed it didn't get a new ETag after saving.
Seems not all WebDAV implementations return a new ETag in PUT requests.

In my WebDAV service (WsgiDAV) - ETag is only served from a HEAD
request.

So if no ETag is found with PUT - we request one with HEAD.

This patch fixes error handling and should also work with servers that
provide ETag directly upon PUT.

* Add tweak from PMario
2018-05-04 11:48:38 +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
Bram Chen
36d321746b Update chinese translations for hint of sticky titles option (#3253) 2018-05-04 08:59:50 +01:00
Jermolene
ab5e5795e8 Fix issue with lazy loading temporary tiddlers
Fixes #3235
2018-05-03 18:27:17 +01:00
twMat
8464101430 [doc] Update RangeWidget.tid (#3251)
very minor correction
2018-05-03 17:49:52 +01:00
Jermolene
c569df4bd4 Update hint for sticky titles option
Fixes #3249
2018-05-03 16:14:05 +01:00
Sebastian Silva
215c8bb9ea Update cla-individual.md (#3246) 2018-05-03 14:22:40 +01:00
Jermolene
55453d463a Update release note 2018-05-02 17:09:24 +01:00
Jermolene
b2173d11ea Restore default of preview pane hidden 2018-05-02 16:52:45 +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
Sebastian Silva
895447c40c Add write condition for DAT protocol (#3244)
In order to write to a DAT with Beaker Browser, it needs to have access to the file via `dat:` protocol.
2018-05-02 15:57:47 +01:00
BurningTreeC
5626148202 Fix for sidebar not showing #3223 (#3226)
* fix for sidebar not showing

I believe this fixes #3223

* add explaining comment

* ... and fix indentation.
2018-05-02 15:31:26 +01:00
Jermolene
aab408109f Prepare for v5.1.17 2018-05-02 15:28:17 +01:00
Jermolene
34ce15638c Update readme 2018-04-25 18:35:23 +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
Bram Chen
c397004cfb Revised chinese translations for descriptions of list-before and list-after fields (#3222) 2018-04-25 09:56:33 +01:00
Jermolene
466566502c Release note update 2018-04-24 23:16:18 +01:00
Jermolene
7f2ad15464 Make links a little bolder
To make them more prominent, to compensate for the blue colour
2018-04-24 23:04:10 +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
Tobias Beer
f26bcb273b Fix new field value handling in edit template (#3048)
prevents variables in the value from being replaced when adding a new field
2018-04-24 22:03:59 +01:00
Tobias Beer
61f9adb710 allows to add link via ENTER in input (#2703)
simplified / refactored actions
2018-04-24 22:02:04 +01:00
Cameron Fischer
7e58866499 Added present-but-empty list-after functionality (#3219)
This places the list item at the end of the list when its 'list-item' field
is an empty string.
2018-04-24 16:58:09 +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
Jermolene
07887c1226 Revert "Add swipe,tap and press widget to hammerjs (#3214)"
This reverts commit 8bf7dd7172.
2018-04-18 16:00:03 +01:00
BurningTreeC
8bf7dd7172 Add swipe,tap and press widget to hammerjs (#3214)
* Create swipe.js

* add swipe widget

* add popup handling

* velocity mini-tweak

* add press widget

* add tap widget

* remove popup from tap widget - not possible as it seems

* add pan widget + utility css

* correcting field name

* naming and formatting

* add usage

* add pinch widget

* add pinch widget

* various small fixes

* adding absolute coordinates to pan widget

* prevent default dragging for pan widget

* improve pan widget stability
2018-04-18 11:33:59 +01:00
Jermolene
df809bcb87 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2018-04-13 09:24:09 +01:00
Jermolene
848d9cc4cb Don't misreport KaTeX plugin version 2018-04-13 09:24:04 +01:00
BurningTreeC
462d0a9402 Dynaview: unset functionality when scrolling out (#3212)
* try adding data-dynaview-unset-tiddler

I obviously lied

* dynaview unset functionality when scrolling out of view

* additional undefined check

* Update docs.tid

* update true and false to "true" and "false"

* add example of unset functionality

* Update reveal-on-scroll.tid
2018-04-12 13:23:50 +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
jed
3af0487f29 Add hooks for canceling editing a tiddler, new tiddler and renaming a tiddler (#3206)
These hooks are used by the multi-user plugin and are required to make the live two-way updating between the file system and the browser
2018-04-10 19:52:00 +01:00
Jermolene
99d8da9fc4 Update TiddlyWiki in the Sky for Dropbox URL 2018-04-10 13:00:51 +01:00
Jermolene
06a10d7180 Update Dutch translation
Thanks @gernert

Co-Authored-By: gernert <gernert@users.noreply.github.com>
2018-04-10 10:27:55 +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
Mario Pietsch
b783d0f5af de-DE 5.1.16 adjustments (#3207)
* 5.1.16 adjustments

* minor styling fixes
2018-04-08 10:07:26 +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
Arlen22
f4496d8fd3 Allow specifying a custom boot path (#2990) 2018-04-08 09:38:28 +01:00
Jermolene
df1f7e9798 Put saver: fix missing "else"
Thanks @arlen22
2018-04-08 09:37:49 +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
Xavier Cazin
4139690447 A few fr-FR translation updates before 5.1.16 (#3205)
* fr-FR translation for import listing preview

* fr-FR translations for new buttons

* fr-FR translations for new ControlPanel items

* fr-FR translation for 'Diffs/CountMessage'

* Update fr-FR help texts for Server command
2018-04-08 09:31:56 +01:00
Bram Chen
6cf508ef27 Add chinese translations for import listing preview (#3199) 2018-04-07 12:49:36 +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
Tobias Beer
02529a51d0 Improve styling and reusability of palette, language, and theme switchers (#1954)
allows to override styles more easily via new class tc-chosen

----

updated all of storyview, theme, palette, language

» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing

----

fixed dropdown hover colour override

if I wouldn't then it would go blank owed to default drop-down styles

----

polished styles

» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead

----

use snippets languageswitcher for pagecontrols button, after all

----

wrap all switchers in tc-chooser

----

apply big font only to buttons, not reveals in pagecontrols

----

moved language switcher wrapper class to snippet

improved language switcher image alignment

----

make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.

now using css rem to address drop-downs for pagecontrols

thanks @pmario

removed css artefacts in vanilla/base from before merging @pmario's PR

with comments being baked-in I don't think we want these in the code

css simplification for .tc-chosen and tc-chooser-item
2018-04-06 17:26:54 +01:00
Jermolene
67bab83902 DynaView: Add "data-dynaview-has-triggered" attribute 2018-04-06 14:52:27 +01:00
Jermolene
bafe447e1c DynaView: force DIVs for transclude-when-visible macro 2018-04-06 08:19:03 +01:00
Jermolene
0c3e549235 Fix TOC recursion detection
We need to explicitly guard against tiddlers tagged with themselves.
2018-04-05 16:32:35 +01:00
Jermolene
038f19ca9d New release banner for v5.1.16 2018-04-05 16:31:50 +01:00
Jermolene
df0b8b5a1e Rescind preview pane default of "diff"
It was done temporarily to make the prerelease clearer
2018-04-03 19:02:42 +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
53f2cc9814 Add compareTiddlers macro 2018-04-03 17:50:36 +01:00
Jermolene
0080728d36 Improve diff count for diff-text widget 2018-04-03 17:50:17 +01:00
Jermolene
47cdf55133 Add new subtiddlerfields filter operator 2018-04-03 17:48:01 +01:00
Bram Chen
52319ee88a Update chinese help texts for Server command (#3197)
* support environment variables for specifying port number
2018-04-02 19:44:36 +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
Mario Pietsch
e4660a8cc1 Fix new journal here (#3189)
* fix new journal here if template contains a quote "

* typo
2018-04-02 19:42:26 +01:00
Skeeve
6401b5c886 Now fixing bug mentioned in groups (#3188)
* fixed the "0 is not a number bug" in listops and x-listops

* Fixed one comment

* "default" is not a good name for a variable

* Following code styles.
Moving getInt to utils.

* Removing unwanted spaces introduced by me
2018-04-02 19:40:47 +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
633208958c Docs: Clarify example of using environment variables for port number 2018-03-29 12:34:50 +01:00
Jermolene
f4fd5e76f8 Server command: support environment variables for specifying port number 2018-03-28 11:58:46 +01:00
Jermolene
be375c40f2 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2018-03-23 11:48:52 +00:00
Jermolene
b7746b0c55 Docs update for startup actions 2018-03-23 11:48:48 +00:00
Mario Pietsch
019cb6a542 Fix #3078 (#3185) 2018-03-23 11:08:53 +00:00
BurningTreeC
44a7ca7e43 Fix duplicate shortcut (#3187) 2018-03-23 11:07:50 +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
1b31004941 Shift dropdown left for "more" tiddler toolbar button 2018-03-22 21:39:26 +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
Jermolene
f1b38c42f9 Fix problem with rotate-left bitmap operation
Spotted by @BurningTreeC  - c0569849d2 (commitcomment-28211117)
2018-03-22 10:46:57 +00:00
Matt Lauber
1dc7647640 Add plugin-priority fields for core plugins (#3113)
* Bug in plugin Ordering

Comparing plugin A without a `plugin-priority` field to plugin B with a `plugin-priority= 1` results in the plugins being ordered B, A when it seems like they should be ordered A, B.

* Switch to setting a plugin-priority on the built in themes to allow overriding parts of them.
2018-03-20 21:05:07 +00:00
Rizwan
a62e7d218c Create TW5-SingleExecutable_by_Jed_Carty.tid (#3181) 2018-03-20 19:21:31 +00:00
Matt Lauber
6963a54c66 Better Editor Toolbar Conditions (#3180)
* The Excise tool only works with tiddlywiki5 format, so only display it on tiddlers that use the tiddlywiki5 parser.

* The Editor Height tool and stamp tool only make sense with text editors, so only display them when the content type starts with text
2018-03-19 18:01:24 +00:00
Jermolene
ac154e1452 Release note updates 2018-03-19 16:01:53 +00:00
Mete Balci
45bf58b920 fix for #3176 (#3177) 2018-03-19 15:56:28 +00:00
Mete Balci
c4f6ba3a3f Signing the CLA (#3175) 2018-03-19 15:56:07 +00:00
BurningTreeC
54f2c4c34f add transcludify & linkify shortcuts (#3174)
* add transcludify & linkify shortcuts

* correct shortcuts
2018-03-19 15:55:35 +00:00
BurningTreeC
e92e109162 Transclusion -> Transcludify (#3173)
my mistake, sorry to all!
2018-03-19 15:54:57 +00:00
Bram Chen
92c1a82492 Add chinese translations for "Diffs/CountMessage" (#3172) 2018-03-19 15:53:41 +00:00
Matt Lauber
bbccb60c0b Code Cleanup (#3178)
Noticed an unused variable in the image parser, from before a old refactor.
2018-03-19 15:46:07 +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
Xavier Cazin
f78190ef61 Allow empty string as value parameter in SetWidget (#3164)
When occuring in a tiddler named "New Tiddler", the following construct should return ++ instead of +[[New Tiddler]]+

<$set name="myVariable" filter="[all[current]field:title[New Tiddler]]" value="">
+<<myVariable>>+
</$set>
2018-03-15 14:12:33 +00:00
Jermolene
47264c8cd5 Remove third party cookies from tiddlywiki.com
Fixes #3106
2018-03-15 12:54:25 +00:00
Bram Chen
11b21d3583 Add chinese translations for new buttons (#3168)
* "rotate-left" bitmap editor toolbar button
* "transclusion" and "wikilink" editor toolbar buttons
2018-03-15 09:21:45 +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
Jermolene
de6e0d1c1e Dynaview: Add support for updating the address bar when scrolling
We add an attribute to tiddler frames in the DOM giving the title of the corresponding tiddler
2018-03-13 14:07:29 +00:00
Jermolene
c0569849d2 Add rotate-left button to bitmap editor toolbar 2018-03-12 12:45:56 +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
dbfe28094c DynaView plugin: Add font "optisizer"
A mechanism to choose the optimum font size of a passage of text to yield a particular numbr of characters per line.

@BurningTreeC I've made some minor consistency tweaks and cleanups to the viewport stuff, too.
2018-03-10 10:33:34 +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
Jermolene
1a52fdd626 Minor tweaks to linkify and transcludify icons 2018-03-06 14:55:44 +00:00
Tobias Beer
6acf36e898 remove superfluous list item at the end of list-links-draggable (#3043)
fixes #2970

Also fixes the nesting. If a template is defined for the list item, it should define the link as is done for **list-tagged-draggable**, i.e. the template defines any link widget it contains.
2018-03-06 13:29:27 +00:00
Jermolene
3361d749bf Add missing tags to new editor toolbar buttons
Fixes #3156
2018-03-06 13:10:16 +00:00
BurningTreeC
540cd1a286 EditorToolbar: add "transclusion" and "wikilink" buttons (#3155)
* add transclusion "image" for editor button

* add wikilink "image" for editor button

* add wikilink editor toolbar button

* add transclusion editor toolbar button

* add transclusion/wikilink button styles

* add transclusion/wikilink button captions & hints

* add german captions/hints

* revert styles not needed anymore

* update transcludify icon

* update linkify icon

* update transcludify icon

* update german

* Update Buttons.multids

* Delete wikilink.tid

* Delete transclusion.tid
2018-03-06 12:44:42 +00:00
Jermolene
634eb222ca Add linkify and transcludify icons
fyi @BurningTreeC
2018-03-06 12:23:49 +00:00
Marxsal
25d667868d Explain undocumented features of startup tiddlers (#3153) 2018-03-06 11:27:21 +00:00
Bram Chen
5fe80ec122 Add new chinese translations for Control Panel items (#3154)
* Basics/NewTiddler/Title/Prompt
* Settings/DefaultMoreSidebarTab/Caption
* Settings/DefaultMoreSidebarTab/Hint
2018-03-06 09:12:32 +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
BurningTreeC
8030ea0fd6 Make new tiddler title editable in ControlPanel (#3149)
* add option to configure new tiddler title

there may be users that don't like to see the word tiddler everywhere
this makes changing titles easier to access

* controlpanel - basics - new tiddler title prompt

* controlpanel-basics- newtiddler title prompt

* controlpanel - basics - new tiddler prompt
2018-03-05 11:24:29 +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
7f5a2f96ef Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2018-03-05 11:19:24 +00:00
Jermolene
8a5c357f23 Clarify DictionaryTiddlers definition
FIxes #3142
2018-03-05 11:19:21 +00:00
Mario Pietsch
8abe626957 Contributor License Agreement formatting fixes (#3140)
fixed renderer problems. Look as intended again
2018-03-05 11:17:07 +00:00
Mario Pietsch
64ca68e8e9 fix formatting problems (#3139)
Just updated the h2 headings. It seems github changed the md renderer
2018-03-05 11:16:06 +00:00
TheDiveO
29e4965d2b implements default setting for the More sidebar in the same way as the existing default setting which sidebar tab to open as default; adds control panel setting; adds en-GB and de-DE lingo (#3135) 2018-03-05 11:14:30 +00:00
Jermolene
fb3b7aa1cd Coding style tweaks for #3134 2018-03-05 11:11:49 +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
BurningTreeC
cc39a86430 KaTeX - EditorToolbar stamp button for wysiwyg katex snippet input (#3131)
* add KaTeX logo

* add katex stamp button

* add katex stamp dropdown

* add a snippet so that the dropdown isn't empty

* correct dropdown title

* change tag

* update snippets tag
2018-03-05 11:05:44 +00:00
Jermolene
da0ffce2d6 Fix Snow White default fonts according to GitHub's advice
Does indeed seem to look better, at least on my Mac. In particular, the title of "HelloThere" is now properly kerned.

http://markdotto.com/2018/02/07/github-system-fonts/
2018-02-28 11:42:08 +00:00
Jermolene
b252abd4d1 TOC: Don't dismiss popup when clicking disclosure triangles
This change makes it possible to put the TOC in a popup dropdown.
2018-02-21 14:44:10 +00:00
Jermolene
24c6eece1b Update to KaTeX v0.9.0 2018-02-20 21:24:11 +00:00
Jermolene
b1cd450889 Shadow GettingStarted: Get rid of double "important" 2018-02-20 16:00:06 +00:00
Jermolene
0b9a3923bf AWS Plugin: Less logging 2018-02-19 09:11:48 +00:00
Xavier Cazin
5341d2887f New and corrected fr-FR translations (#3129)
* Better fr-FR translation for "rendering"

* Better fr-FR translation for rendering commands

* fr-FR translations for Control Panel items

* fr-FR translations for the Theme Tweaks tab

* New and corrected fr-FR translations for command help
2018-02-18 20:29:03 +00:00
BurningTreeC
4435afc726 Dynaview: Update viewport state refreshing (#3128)
To prevent repeated updates
2018-02-18 15:39:10 +00:00
BurningTreeC
042e9185a9 DynaView plugin: make viewport dimensions available in state tiddlers (#3126)
* add export-viewport-dimensions functionality

* add config.tid

* add config to plugin.info list

* typo

* update docs.tid

* change default tiddler to $:/state/viewport

* change default to $:/state/viewport

* Update dynaview.js

* changes as discussed - lingo missing
2018-02-18 12:04:35 +00:00
Jermolene
cda43f2ef8 Update release note 2018-02-17 19:26:31 +00:00
Bram Chen
220f73fde6 Add chinese translations for "Info/Advanced/Stylesheets" tab in Control Panel (#3089) 2018-02-17 19:07:50 +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
BurningTreeC
477cb0c47e Add HammerJS library Plugin (#3125)
* hammerjs library plugin - add readme.tid

* hammerjs library - add plugin.info

* hammerjs library plugin - add tiddlywiki.files

* hammerjs library plugin - add hammer.min.js v2.0.8 latest master

* hammerjs library plugin - add LICENSE

* change to latest hammer.js from hammerjs.github.io

as I've tested, the version from master (dated 2016-09-30) doesn't work like the latest version available from the website (https://hammerjs.github.io), dated 2016-04-23
2018-02-17 18:48:53 +00:00
Jermolene
86266c506f Add Português (Brasil) translation
Thanks to Mauricio Lucas
2018-02-07 15:56:43 +00:00
Jermolene
5754216479 KaTeX: Fix problem running under TiddlyDesktop as a wikifolder
Fixes https://github.com/Jermolene/TiddlyDesktop/issues/124 (the problem over there is that TiddlyWiki running as a wiki folder in TiddlyDesktop reports itself as running both under Node and the browser, and the previous test was wrongly choosing the fakedom)
2018-02-07 14:51:34 +00:00
Jermolene
38cf4c7ccf Remove extraneous draft tiddler
Fixes #3109
2018-02-07 12:51:55 +00:00
Jermolene
1c8170463c Simplify page scrolling behaviour
Fixes #2180
2018-01-30 11:29:07 +00:00
Jermolene
7534a97518 Text-slicer: Add support for hyperlinks 2018-01-30 11:06:50 +00:00
Jermolene
ab2ac78620 Text-slicer: Tweaks to linear slice rules 2018-01-24 20:57:39 +00:00
Jermolene
55d7f43f0c Text-slicer: Add support for discarding the content of an element 2018-01-24 12:01:56 +00:00
Jermolene
3e81921eea Text-slicer: Fix typo
Thanks @Evolena
2018-01-24 12:01:24 +00:00
Xavier Cazin
028888edff Take default value in account when index attribute is used (#3099) 2018-01-23 16:50:03 +00:00
BurningTreeC
c194cec520 tc-body background transparent if background attachment (#3100)
* tc-body transparent if background attachment

if you go fullscreen with the fullscreen button, the tc-body background color hides the background attachments - so make it transparent if $:/themes/tiddlywiki/vanilla/settings/backgroundimage isn't empty

* if background attachment macro

macro to make tc-body background transparent
2018-01-23 16:49:24 +00:00
Jermolene
327fed30c8 Mitigate problem with microscropic editor in zoomin view
See #3098
2018-01-23 16:22:35 +00:00
BurningTreeC
42660b05a7 check if dataTransfer is undefined (#3093)
this prevents an error when dragging elements not by mouse where dataTransfer can be undefined
2018-01-20 17:28:10 +00:00
Jermolene
ff6aa0570f Check for dollar sign within HTML element name
Fixes #3091
2018-01-16 22:13:40 +00:00
Jermolene
6350f55e25 Updated Dutch translation
Thanks @gernert
2018-01-16 16:15:10 +00:00
Jermolene
eaf0869c94 Update to KaTeX v0.9.0-beta 2018-01-16 16:06:29 +00:00
Jermolene
df7f4fedb2 Docs: Improve system tiddlers docs 2018-01-13 15:39:44 +00:00
Jermolene
460a07ca03 Introduce "Info/Advanced/Stylesheets" tab to Control Panel
Makes it a bit easier to understand what the browser will see for each stylesheet tiddler
2018-01-12 21:44:38 +00:00
Jermolene
4e1f9bf5ed Don't use the toolbar editor when rendering to the fakedom
Otherwise the iframe editor will crash when trying to set itself up
2018-01-12 10:56:08 +00:00
Jermolene
a88e28cb5a KaTeX Plugin: Update to v0.9.0-alpha2 2018-01-11 21:42:56 +00:00
Jermolene
ad116be7f6 JSZip plugin: Update to v2.6.1
We can't update to v3.x.x because the API is not backwards compatible
2018-01-11 21:31:58 +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
Diego Mesa
a4623a8ebb signing CLA (#3087)
Signed-off-by: Diego Mesa <diego898@gmail.com>
2018-01-11 21:29:09 +00:00
Jermolene
293c2fce07 Text-Slicer: Fix issue with single quotes in the base tiddler title 2018-01-11 13:47:21 +00:00
Jermolene
92870c0b2d Text-slicer: Retain text outside paragraphs 2018-01-11 12:43:24 +00:00
Jermolene
4e433966f4 Readme and minor docs updates 2018-01-11 12:42:45 +00:00
Jermolene
43108926de Update for 2018 🎉🎊 2018-01-11 12:32:24 +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
Furicle
6fa1602c2c Update cla-individual.md (#3082) 2018-01-08 16:50:14 +00:00
Jermolene
3b34f60b90 Rename "Firefox Apocalypse" to "TiddlyFox Apocalypse"
Fixes #3020
2018-01-08 12:26:47 +00:00
Mario Pietsch
25f76a5996 Fix new journal button (#3079)
* fix "new-journal" button if template elements contain a double-quote

* fix typo
2018-01-08 12:23:34 +00:00
Jermolene
5fee52beac Introduce new dynaview plugin 2018-01-05 09:18:19 +00:00
Jermolene
413894e3e7 Text-slicer: Add new slicer rules for linear chunking
In this configuration there is no weaving together by hierarchical heading; the document is just a linear list of paragraphs.
2018-01-04 16:06:08 +00:00
Jermolene
50950d8143 Text-slicer: Switch to loose mode
So that non-XML entities work.
2018-01-04 16:02:58 +00:00
Jermolene
a7a3748bca Text-slicer: Add primitive support for escaping wikitext 2018-01-04 16:02:18 +00:00
Jermolene
de4eb5ca89 Add new th-page-refreshed hook 2018-01-04 16:01:19 +00:00
Jermolene
3f5e8aed3d Fix file extension from 17bd6b76a8
Thanks @bramchen
2018-01-03 12:06:06 +00:00
Jermolene
17bd6b76a8 Use minimum search length of 1 character for Chinese language
@bramchen I read a (translated) Chinese article about TiddlyWiki over the holidays that mentioned that the first thing for Chinese users to do was to change the minimum search length. Do you think it's useful to bake the setting into the plugin(s)?
2018-01-02 15:53:09 +00:00
Jermolene
edeab188a9 "Ful" edition: Fix dependent plugins
text-slicer now requires sax.
2018-01-02 15:51:51 +00:00
BurningTreeC
4bc592c9e8 preventDefault drag behaviour inside textarea (#3070)
fixes errors when trying to drag inside textarea while an eventhandler is listening for drag events
2017-12-22 09:40:23 +00:00
BurningTreeC
6a96cd1284 signing CLA (#3071) 2017-12-22 09:40:06 +00:00
Jermolene
47d065b239 Text-slicer: Fix title of document tiddler
For compatibility with the previous version, we ensure that the document tiddler ends up with the base tiddler title.
2017-12-21 22:15:00 +00:00
Jermolene
642a6505a1 Text-slicer: Fix image URLs 2017-12-21 22:14:08 +00:00
Jermolene
57e1fc6cd8 Add file type for true type fonts 2017-12-21 22:02:04 +00:00
Jermolene
358d416526 Further optimisations to wiki store
These changes give us a minor performance improvement for adding and deleting tiddlers
2017-12-21 22:01:52 +00:00
Jermolene
e4b10d42f9 Optimise the tag filter
Spending a bit more time with Chrome dev tools, and further to 254e1ca, this optimisation reduces the rendering time for the sample TOC from 1.9s to about 0.9s...
2017-12-21 16:13:47 +00:00
Jermolene
7e71fcfab8 Stop content area of vertical tabs overflowing on the right 2017-12-21 15:46:34 +00:00
Jermolene
254e1ca7f7 Optimise some tiddler store operations
I noticed that the rendering of a TOC with around 200 entries seemed frustratingly slow.

First, I analysed the execution of the code using the Chrome developer tools "timeline" tab: prepare by switching to the "Tools" tab, then start profiling, switch to the "Contents" tab, and then stop profiling once it has displayed. I then used the "bottom-up" view to dectermine that the various Object.keys() calls in the main wiki store were taking around 500ms of the overall time.

Before making any code changes, I also used TW's built in instrumentation to get some baseline timings: I found that the main refresh cycle was taking around 3.0s when rendering the Contents tab.

I then performed the attached simple optimisations of caching the list of tiddler titles and the list of shadow tiddler titles.

The results bring the overall main refresh time down to about 1.9s, a nearly 50% improvement.

The moral of the story is that the first rule of optimisation is measurement...
2017-12-21 15:46:01 +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
ca43a28d0e Fix copy to clipboard for iOS 10/11 2017-12-17 21:37:29 +00:00
Bram Chen
34306983b2 Add chinese translations for CopyToClipboard button (#3066) 2017-12-17 20:52:04 +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
Bram Chen
6c7f8e5381 Add chinese translations for CopiedToClipboard messages (#3065) 2017-12-16 09:11:04 +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
Bram Chen
f128650c6e Update chinese translations (#3056)
* Add hint for field list dropdown
* Improve wording
2017-12-13 22:58:21 +00:00
Mario Pietsch
d96b4f4d90 v5.1.15 german translations (#3015)
* v5.1.15 german translations

* fix typos and improve grammar

* fix Parameter typo

* fixing some more typos
2017-12-13 22:56:47 +00:00
Jermolene
f478fa97fc Fix test regression caused by #3052 2017-12-12 18:15:33 +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
Jermolene
6928c411d6 Fix another typo from 38fbc4f35a 2017-12-12 17:51:08 +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
7ba9cbc052 Add hint for field list dropdown (#3040)
fixes #2983

@twMat: I know you can do it yourself, right here, and so you might. ;-)
2017-12-12 17:27:39 +00:00
Jermolene
451150ebd6 Fix typo from 38fbc4f35a 2017-12-12 15:56:56 +00:00
Jermolene
56940e49c2 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2017-12-12 13:58:30 +00:00
Jermolene
920d225f37 Improve XLSX docs 2017-12-12 13:58:26 +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
twMat
be4c108ed9 Remove ToC 3d level boldness (#3035)
Ref issue #1627
2017-12-03 18:47:15 +00:00
BurningTreeC
abec14af9b update TiddlerInfo.multitids (#3030)
some typos and small changes for better understanding
2017-12-02 13:05:39 +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
0b3e637880 Update version for 5.1.16-prerelease 2017-11-15 16:12:30 +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
8d00d6cb22 Version number update for 5.1.15 2017-11-14 12:33:09 +00:00
Jermolene
031fd8fb22 Readme updates 2017-11-14 12:32:33 +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
Bram Chen
6b575f5404 Update chinese translations (#2978)
* Update chinese translations for revises in #2803

* Revise chinese help texts for "save" and "render" command

* Update chinese help texts for "import" and "load" commands

* Revise chinese help texts for "load" command
2017-11-11 09:43:27 +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
f366a74f68 Fix problem with SVG background images that include parenthesis
See discussion https://groups.google.com/d/topic/tiddlywiki/GEmh0rwAHcY/discussion
2017-11-10 17:29:28 +00:00
Jermolene
c5b478efe7 Docs updates
Including a new tiddler about the Firefox Apocalypse
2017-11-10 14:39:15 +00:00
Jermolene
b4ec32ca70 Export transliteration pairs
Just in case plugins want to use them
2017-11-10 14:37:31 +00:00
Jermolene
c4e2793b06 Docs updates 2017-11-09 16:07:01 +00:00
Jermolene
967b123b51 Fix problem with new tiddler fields cascade
Fixes #2821

The problem was that an empty configured text field for new journals was overriding any value provided in the existing tiddler.
2017-11-08 08:41:00 +00:00
Jermolene
ae8fb3e98b Add some resource links 2017-11-07 18:57:51 +00:00
Jermolene
95b84dd0ca Use filename as default title when loading tiddlers under Node
Fixing this regression gets the `classictools` plugin working again
2017-11-05 14:14:00 +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
7bdaabce78 Browse widget: add support for nwdirectory attribute 2017-10-03 21:52:51 +01:00
Jermolene
49fad6dae9 Docs tweaks 2017-10-03 21:00:36 +01:00
Jermolene
ce5865ba16 Updated readme 2017-10-03 20:44:05 +01:00
Jermolene
afea0ba9bf Further updates for Greek translation
Thanks Stratos Aravias
2017-10-03 20:43:40 +01:00
Jermolene
1c16c494eb Updated Greek translation from Stratos Aravias 2017-09-27 17:59:27 +01:00
Jermolene
05a3d9a302 Syncer: allow logging to be disabled
We don't want the syncer used by the savetrail plugin to be logging
2017-09-26 17:10:57 +01:00
Jermolene
1dcc8c99e5 Ensure we don't colour browser logs under nw.js
Under nw.js $tw.browser and $tw.node are both true...
2017-09-22 15:18:11 +01:00
Jermolene
e5f96d6415 Update Beaker Browser docs 2017-09-20 18:13:32 +01:00
Jermolene
73953080e3 SaveTrailPlugin: Fix syncer UI interactions
The syncer used by the savetrail plugin shouldn't perform any UI interactions
2017-09-20 16:28:11 +01:00
Jermolene
59505449d2 Docs update 2017-09-20 14:12:09 +01:00
Jermolene
9ada7a0bb1 Ensure fieldmangler widget always updates modifier/modified fields
Fixes #2969
2017-09-20 14:09:18 +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
148a4eea4d Persian translation: Add missing RTL flag 2017-09-17 19:27:32 +01:00
Jermolene
3c62ef0d71 Add Persian (Iran) translation
Thanks to @amirography
2017-09-16 17:01:58 +01:00
Xavier Cazin
db8fd9ea74 Amendments to warnings upon loading content via _canonical_uri (#2796) (#2803)
* fr-FR translation of additional error strings

* include SaveTrail

* Amendments to the warnings upon loading content via _canonical_uri

* Typo: add a missing THE

* Clarification on why the browser might refuse to load external content
2017-09-16 15:34:26 +01:00
Bram Chen
8ee66d617f Doc typo (#2818) 2017-09-16 15:33:26 +01:00
twMat
a8622cdd72 Add missing macro bracket (#2816)
Missing closing bracket caused confusing text.
2017-09-16 15:33:08 +01:00
Bram Chen
46453d23cb Add chinese help texts for "save" and "render" commands (#2975) 2017-09-16 15:30:37 +01:00
Arlen22
c069d48a2a Remove URI encoding from PUT saver (#2974)
Remove URI encoding from PUT saver and let the browser handle it as necessary. This seems to be the normal way of doing things. We have confirmed that several WebDAV servers do not expect the file names to be double-encoded.
2017-09-16 15:30:13 +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
7a714da9cb AWS Plugin: Fix crash when attempting to save a missing tiddler 2017-09-15 14:15:56 +01:00
Jermolene
24c325611b AWS Plugin: More flexible specification of the output type 2017-09-12 16:04:35 +01:00
Jermolene
35a7a66b01 Add "save" and "render" commands
A first pass at fixing #2973 - comments are welcome. If everybody is
happy, the next step is to deprecate the existing
rendertiddler(s)/savetiddler(s) commands and replace them in all
examples and tiddlywiki.info files with the new equivalents.
2017-09-12 16:04:07 +01:00
Jermolene
378e00aee8 Give a warning message for missing plugin.info files 2017-09-12 15:53:52 +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
1b7d9d65f4 Only use colour output if we're on a terminal
And not if we’re running on AWS Lambda, for instance
2017-09-07 15:47:36 +01:00
Jermolene
5a5d648127 AWS Plugin: improved error handling 2017-09-07 10:55:42 +01:00
Jermolene
51b1ead5c9 Add more colour to command line output 2017-09-04 14:55:12 +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
08ae7321c1 AWS Plugin: Lambda should return list of files written to S3 2017-08-29 21:41:50 +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
2381fb5312 AWS Plugin: improve s3-savetiddlers and s3-rendertiddlers
Instead of the simple ‘prefix’ and ‘extension’ parameters, we now
accept a filename filter. As well as allowing prefixes and suffixes to
be added via filter operators, we can also transform the title
2017-08-28 10:31:27 +01:00
Jermolene
90c1c6242e Fix typo 2017-08-28 10:29:36 +01:00
Jermolene
5cdf86b307 Add more transliterate pairs
Should help avoid me accidentally committing files with accents in
their titles
2017-08-26 23:17:53 +01:00
Jermolene
d3a2cfb2bc Move $tw.utils.transliterate() into its own file 2017-08-26 23:11:22 +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
94f9929c80 AWS Plugin: Add savetype for s3-savetiddler(s) command 2017-08-23 10:31:28 +01:00
Jermolene
b6f948b61e Add another canonical_uri template
This one doesn’t include a subdirectory
2017-08-19 10:31:42 +01:00
Jermolene
2ebf4285e8 AWS Plugin: Add s3-savetiddlers command 2017-08-16 18:10:52 +01:00
Jermolene
7e88dd788c Improve read-only logic
We also need to hide buttons from the “more” dropdowns
2017-08-15 15:49:25 +01:00
Jermolene
3fb8d9b848 Fix tab border radius
The default button border radius was showing through
2017-08-15 15:48:54 +01:00
Jermolene
509a474f4a AWS Plugin: Add s3-load and s3-rendertiddlers commands
With these commands we can do static rendering straight to an S3 bucket
2017-08-15 15:48:12 +01:00
Jermolene
1088b01f96 Fix typo: MathCell is by Stephen Kimmel 2017-08-13 17:30:36 +01:00
Jermolene
523280362b Use UI button tiddler titles as CSS classes
Which enables us to do a cleaner readonly theme
2017-08-08 18:25:45 +01:00
Marxsal
68e17f92de Restore ability to use sub-filter with image-picker macro (#2940) 2017-07-24 12:41:50 +01:00
Adrian Morosanu
34404dcfc9 Fix for automatic CamelCase linking (#2947) 2017-07-24 12:41:26 +01:00
Bram Chen
687cb226f5 Update ImportCommand.tid (#2944)
Corrected caption
2017-07-20 16:39:46 +01:00
Bram Chen
9ca9c188c9 Update chinese help texts (#2945)
* update help texts of load command
* add help texts for new import command
2017-07-20 16:39:07 +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
9ac784a468 Update text-slicer icon and wording 2017-07-18 15:44:27 +01:00
Jermolene
e471bd54d4 Update Stanford JavaScript Library to 1.0.7 2017-07-18 15:42:35 +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
c6e4b7a123 Update load command docs 2017-07-12 17:13:59 +01:00
Jermolene
5dd3d97760 Extend the set widget with tiddler, field and index attributes 2017-07-12 16:59:56 +01:00
Jermolene
c25a1eef33 Remove obsolete code and update docs 2017-07-12 16:50:50 +01:00
Jermolene
f59809e9a4 Use "whitespace trim" to improve spacing and legibility of view toolbar buttons
Previously, the standard toolbar buttons exhibited uneven spacing due
to the vestigial whitespace.
2017-07-12 16:47:52 +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
41b6c5c088 Fix some toolbar margin issues
Some toolbar buttons are nested inside more than one span
2017-07-11 14:42:05 +01:00
Jermolene
95ef1c4580 Fix linkcatcher recursion problem
Using action-navigate within the “actions” attribute of the linkcatcher
widget would otherwise trigger the navigation handler recursively.
2017-07-10 14:43:43 +01:00
Bram Chen
7bca39842f Update chinese help texts for "fetch" command (#2930) 2017-07-09 21:09:50 +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
Jermolene
69528093d9 Update fetch commands to respect 302 redirects
Astonishingly, node.js appears to require us to do this manually…
2017-07-05 10:58:35 +01:00
Bram Chen
17fbe49f2b Add chinese translations for Settings/EditorFontFamily (#2928) 2017-07-04 09:16:51 +01:00
Jermolene
a346888213 Add first release of AWS plugin
Tools for working with Amazon Web Services:

* Templates for saving a TiddlyWiki as a single JavaScript file in a
ZIP file that can be executed as an AWS Lambda function. In this form,
TiddlyWiki is a self contained single file containing both code and
data, just like the standalone HTML file configuration
* Commands that can be used to interact with AWS services, under both
the Node.js and Lambda configurations of TiddlyWiki
2017-07-03 20:34:58 +01:00
Jermolene
c179dc93cb Add "raw-file(s)" options to "fetch" command 2017-07-03 16:52:10 +01:00
Marxsal
4db950cc45 Add ability to now macro to return same UTC string used in date fields (#2884)
* Add ability to now macro to return same UTC string used in the modified and created fields.

* Revert "Add ability to now macro to return same UTC string used in the modified and created fields."

This reverts commit 7b6ad7db4a.

* Mods to formatDateString to adjust displayed date to UTC for [UTC]
format. Corresponding doc changes, and optimization for special
case.
2017-07-01 18:09:16 +01:00
Jermolene
1919f0e9b0 Update release note 2017-07-01 13:46:24 +01:00
Jermolene
ccac0258af Apply URL decoding in download saver
document.location gives us an URL encoded version of the original
filename, so we decode it to recover the original filename for saving.

Fixes #2828

Fixes #2819
2017-07-01 12:39:25 +01:00
Xavier Cazin
a7b57d7f97 allbefore:include should be the identity function when applied to 1st item (#2842)
* fr-FR translation of additional error strings

* allbefore:include should be the identity function when applied to the 1st item
2017-06-29 18:02:33 +01:00
Rob Hoelz
847727146e Fix issue 2850 (#2852)
* Trim tiddler titles imported via JSON

Otherwise, it's possible to create a tiddler with a trailing space (or a
leading one, I suppose) in its title.  TiddlyWiki, in general, trims
titles before operating on a tiddler, so having a tiddler with a
trailing space ends up making that tiddler, for all intents and
purposes, uneditable.

Fixes GH #2850

* Signing the CLA
2017-06-29 17:07:23 +01:00
twMat
b71583e9d7 TiddlyWikiClassic.tid - remove dead link (#2853) 2017-06-29 17:05:04 +01:00
twMat
d7315126e7 TabsMacro.tid - remove character that causes problem (#2856)
The example link at bottom was not visible in correct way
2017-06-29 17:04:38 +01:00
Thomas Herlea
6091b12eb0 Corrected "currentVariable" to "currentTiddler". (#2859) 2017-06-29 17:04:13 +01:00
Thomas Herlea
f9e1188b3a Properly closed macro call; fixed "any links it" -> "any links to it". (#2860) 2017-06-29 17:03:33 +01:00
Thomas Herlea
4759f73770 Added missing "tags" option to the railroad diagram and put the categories in alphabetical order. (#2861) 2017-06-29 17:03:10 +01:00
Mario Pietsch
e9173b7a71 added several missing tags, visual refactoring, improves readability. (#2865)
* added several missing tags, visual refactoring, improves readability.

* better wording
2017-06-29 17:02:00 +01:00
Mario Pietsch
cee7baa183 Make editor font configurable, so user can easily change it to eg monospace font (#2867) 2017-06-29 16:55:49 +01:00
Jermolene
37cbaa08f1 Docs for #2901 2017-06-29 09:05:11 +01:00
saqimtiaz
48e0186ba9 Added th-editing-tiddler hook in handleEditTiddlerEvent. A plugin can use the hook to return false and prevent editing or provide alternative editing options. (#2901) 2017-06-29 08:55:43 +01:00
Jermolene
2d0ac7245f Docs and tweaks for #2904
@saqimtiaz I added a dash to separate the words in the variable names
for consistency with other core variables.
2017-06-29 08:47:26 +01:00
saqimtiaz
5d74513a97 Navigator now sets variables for the story list and history list, that are available to child widgets. Needed in a mutiple-story tiddlywiki. (#2904) 2017-06-29 08:36:20 +01:00
cjhunt
5892c4d8bc Update Saving on iPad_iPhone.tid (#2917)
* Update Saving on iPad_iPhone.tid

Changing to reference Quine in place of TWEdit

* Update Saving on iPad_iPhone.tid

Fixing errors....! Thanks!!

* Update Saving on iPad_iPhone.tid

Removed whitespaces....
2017-06-28 18:05:33 +01:00
Daniel Rodríguez Rivero
6085b1171a Update dev docs for saver modules (#2919)
* Update Saver.tid

Stupid typo corrected

* Update Saver.tid

Fix callback documentation in case of successful save.
2017-06-28 18:04:52 +01:00
Jermolene
bf51acd8d6 Docs tweaks for #2922 2017-06-28 17:58:58 +01:00
Daniel Rodríguez Rivero
1905a3f343 Add dev docs for notification mechanism (#2922)
Documentation about the notifier module. I didn't say any, so I have created it.

Regards
2017-06-28 17:51:25 +01:00
Jermolene
96ff7ab86f Docs for #2925 2017-06-28 17:50:19 +01:00
Adrian Morosanu
f75e97f308 Create the new "tree" global macro (#2925)
* Create the "tree" global macro file (tree.tid)

* Added styles for the new "tree" global macro

* Update Explorer tab

* Cleaning the macro of unneeded code

I have chosen to keep the slash suffix in the branch node titles to go along with the rest (e.g. root node), so the "clean-chunk" macro isn't needed anymore.

* Minor fix
2017-06-28 17:44:15 +01:00
Jermolene
d5b50e0854 Update 5.1.15 release note 2017-06-28 16:06:19 +01:00
Jermolene
efd0c270d7 Docs: Update link to Beaker instructions 2017-06-28 16:06:07 +01:00
Jermolene
c40fd7f7f2 Move Beaker docs to GettingStarted 2017-06-27 15:00:43 +01:00
Jermolene
a5e565e198 Tweaks for #2918
A couple of fixes:

* Fixed problem with loading saver in a file URI within Beaker
* Fixed problem when saving to a directory-style URI with an implicit
“/index.html”
* Switched to double quotes for strings
2017-06-24 22:30:26 +01:00
Mario Pietsch
ef9efbc399 Fix for beaker 072 - new dat API (#2918)
* initial version that works again with beaker 0.7.2

* activate path again
2017-06-24 21:54:44 +01:00
Jermolene
cf9085b5ce Stop syncing the storylist
Reverting e3544ff3c2
2017-06-24 17:59:28 +01:00
Jermolene
534f5e7c13 Revert "Add text/vnd.tiddlywiki to system tiddlers within plugins that should be wikified (c.f. #2883)"
This reverts commit 7436fc7374.
2017-06-24 17:48:32 +01:00
Jermolene
a4989f5c4d Revoke #2814
The requirement to whitelist system tiddlers that need wikifying was
too burdensome
2017-06-24 17:48:18 +01:00
saqimtiaz
d89010752a Modified handleClickEvent to send original event data with tm-navigate event. Fixes 2889 (#2900) 2017-06-14 18:16:13 +01:00
saqimtiaz
de81984973 Signing the CLA (#2899)
Signing the CLA ahead of upcoming pull requests.
2017-06-14 18:15:26 +01:00
Bram Chen
58234b755d Add chinese translations for Explorer/Caption (#2890) 2017-06-10 18:48:37 +01:00
Marxsal
ab064e15a9 MathCell - community document ref (#2877) 2017-06-09 16:48:06 +01:00
Jermolene
c97458f0d4 Tweaks to 9ea178e327
Making it clearer that the private browsing problem is fixed in v2.0.2,
and that a prompt is coming.
2017-06-09 16:28:40 +01:00
Marxsal
9ea178e327 Saving with TiddlyFox -- Additional Doc.s for TF 2.0 (#2879) 2017-06-09 16:26:19 +01:00
Jermolene
a4035d3424 Coding style tweaks for #2885 2017-06-09 16:21:39 +01:00
Arlen22
0bc325025a Add a callback to $tw.boot.boot() (#2885)
* Add a callback to $tw.boot.boot()

* Move callback into the options object

* Update boot.js
2017-06-09 16:20:12 +01:00
Marxsal
18cd37c2de Doc: getindex filter example fix (#2888)
The 2nd filter example is broken and yields no results,
probably because it doesn't see shadow tiddlers.
Added 'all' filter to bring in actual palettes.
2017-06-09 16:01:06 +01:00
Jermolene
7436fc7374 Add text/vnd.tiddlywiki to system tiddlers within plugins that should be wikified (c.f. #2883) 2017-06-09 15:52:19 +01:00
Jermolene
b99a1b6496 Remove extraneous text/vnd.tiddlywiki from system tiddlers in light of #2883
There’s no special reason for these tiddlers to be viewed wikified
2017-06-09 15:42:32 +01:00
rubaboo
881e834f89 Wikify system tiddlers if type=text/vnd.tiddlywiki (#2883)
* Wikify system tiddlers if type=text/vnd.tiddlywiki

+ update CLA with my new handle

* Add filter missed in the previous commit
2017-06-09 15:34:42 +01:00
Marxsal
f2f5afa106 Doc: Adding comment to release notes re archived releases (#2882)
* Doc: Adding comment to release notes to indicate where archived releases can be found.

* Adding note about node.js to Release tiddler and Installing on Node.js tiddler
2017-06-09 15:33:24 +01:00
Jermolene
9c57ebb05d Minor tweaks to new tiddler Explorer 2017-06-09 15:31:55 +01:00
Adrian Morosanu
1e9d214f67 New System Explorer tab in sidebar (#2881)
* Create System-Explorer.tid

* Fixes problem with syslink parser
2017-06-09 15:22:09 +01:00
Jermolene
4b9fcdf958 Enable 'edit' button in body of missing tiddler template 2017-06-09 15:20:45 +01:00
Jermolene
432542bbcc Don't throw errors when hitting limits of the fakedom 2017-06-09 15:20:45 +01:00
Adrian Morosanu
1733a2c39c Signing the CLA (#2880) 2017-06-09 15:17:28 +01:00
Jermolene
e3544ff3c2 Don't sync $:/StoryList
Otherwise, multiple users logged into the same server overwrite one
anothers story list.

@danielo515 would this change have any impact on NoteSelf?
2017-05-04 17:29:41 +01:00
Jermolene
3edf3892e8 Fix has filter docs
See discussion
https://github.com/Jermolene/TiddlyWiki5/commit/6085936475851a8f93a05a52
f9e7ddcb066c6569#commitcomment-21966472

Thanks @telmiger
2017-05-03 18:33:42 +01:00
Jermolene
683285d449 Display "contents" tab for plugins that lack any information tabs
Fixes #2841
2017-04-30 09:59:41 +01:00
Jermolene
93771fdf27 Show raw text (instead of wikified) of system tiddlers
Fixes #2814
2017-04-28 09:41:27 +01:00
Jermolene
684e4feff5 Add link for TWEUM2017 2017-04-28 09:40:58 +01:00
Jermolene
cb0ccb22b1 Add thumbnail for TWEUM2017 microsite 2017-04-27 08:59:19 +01:00
Jermolene
982792a22a Prep for 5.1.14-prerelease 2017-04-26 18:25:21 +01:00
Jermolene
e631e59f00 Missing links in 5.1.14 release note 2017-04-26 18:24:32 +01:00
Jermolene
17110169a9 Update prerelease 2017-04-26 18:24:02 +01:00
Jermolene
384e5b7b63 Version number update for 5.1.14 2017-04-26 17:03:35 +01:00
Jermolene
5e317161f6 Update readmes 2017-04-26 17:03:01 +01:00
Jermolene
39e8a83c4c Prepare for release of 5.1.14 2017-04-26 17:02:06 +01:00
Jermolene
7890440569 Improve organization for the 5.1.14 release notes 2017-04-26 16:26:33 +01:00
Jermolene
02331365f0 Update plugin library location 2017-04-26 14:35:24 +01:00
Jermolene
48fe208f0c Update release note 2017-04-26 14:35:16 +01:00
Jermolene
a613ffb6a3 Update contributor list in 5.1.14 release note 2017-04-26 14:35:03 +01:00
Jermolene
c0f7f18f0a Update KaTeX to v0.7.1 2017-04-26 14:34:17 +01:00
Jermolene
e18b6bf5c4 Docs typo 2017-04-24 16:27:10 +01:00
Jermolene
31523a1e7b Add empty link to prerelease tiddler
Thanks @twMat
2017-04-24 16:26:56 +01:00
Jermolene
4b780899a5 Move SJCL license file into core plugin
It was added as a separate system tiddler, but that means updating a
lot of filters to add and exclude it as appropriate (as we do with
$:/library/sjcl.js itself)
2017-04-23 09:53:18 +01:00
Jermolene
04f402b974 Fix drag and drop issue on iOS 2017-04-21 16:27:44 +01:00
Jermolene
aa2f240936 Update to latest version of ios-drag-drop.js 2017-04-21 08:22:58 +01:00
twMat
d99e0c9f97 Edit getindex Operator.tid op-purpose (#2837)
Other `op-` fields should probably also be added.
2017-04-20 16:20:40 +01:00
Jermolene
2a1fb964d5 Reformatting "wikilabs" resource link title 2017-04-19 15:56:41 +01:00
Mario Pietsch
5050829e63 add wikilabs resource link tiddler (#2834) 2017-04-19 15:54:37 +01:00
Jermolene
6c4c1a984b Make help panel scrollbars be optional 2017-04-19 13:26:22 +01:00
Jermolene
53181d2ab8 Missed parenthesis
Thanks @twMat
2017-04-19 13:25:31 +01:00
Mario Pietsch
f22547fa3a german text updates (#2830) 2017-04-18 21:01:58 +01:00
Jermolene
3693b4786d Dutch translation update
Thanks @gernert
2017-04-18 20:58:34 +01:00
Jermolene
cd16573f20 Rephrase the Google Analytics plugin pages 2017-04-18 18:48:17 +01:00
Jermolene
0aaebe9757 Revert #2814
As per the discussion on the ticket, we’ll revisit this after 5.1.14
2017-04-18 08:15:25 +01:00
Jermolene
379e780e80 Release note update 2017-04-17 18:46:02 +01:00
Jermolene
0a2c3d0c3c Add quote to HelloThere 2017-04-17 17:54:17 +01:00
Jermolene
202ffd9c51 Add big block quote style 2017-04-17 17:53:19 +01:00
Jermolene
2e0c119d5b Add Tiddler.getFieldStrings() method 2017-04-17 17:04:15 +01:00
Jermolene
f03feb69a9 Add elementTag parameter to list-tagged-draggable macro 2017-04-17 16:51:12 +01:00
Jermolene
40a61ff2e7 The last batch of drag and drop docs 2017-04-06 10:15:22 +01:00
Bram Chen
b9a8c3c01d Update chinese translations (#2810)
* Add chinese translations of hint for drag and drop to Toolbars/*/Hint in control panel

* Add chinese translations for Basics/NewJournal/Text/Prompt
2017-04-05 11:23:07 +01:00
Jermolene
c25a44756b Add new journal text to control panel
Making #2821 a bit more accessible
2017-04-04 18:16:37 +01:00
Jermolene
83497c13d9 Fix whitespace and missing closing tag issues in #2821 2017-04-04 18:15:49 +01:00
Richard Decal
ec0fa2f932 Added ability to change text template of NewJournal (#2821)
* adding custom text field to new-journal

* fixed spacing

* signing the CLA
2017-04-04 18:06:49 +01:00
Jermolene
773ef6adfb Docs update 2017-04-02 17:51:45 +01:00
Jermolene
b1e0fa4a34 More drag and drop docs 2017-04-02 17:51:24 +01:00
Jermolene
aa1a8cf2eb Docs typo 2017-03-29 10:19:49 +01:00
Jermolene
8802015f1a Docs updates
Starting to document the new drag and drop stuff
2017-03-29 10:19:42 +01:00
Jermolene
50268d9231 Killer typo 2017-03-29 09:22:51 +01:00
Jermolene
b37178dda1 Fix download saver for Safari 10.1
Safari now finally supports the ‘download’ attribute for the anchor
tag, meaning that the download saver works properly.
2017-03-29 09:21:49 +01:00
Jermolene
1e106a8f3d Better handling of dropeffect 2017-03-28 15:09:36 +01:00
Jermolene
f3cab3753e Don't set draggable property for links 2017-03-28 13:05:00 +01:00
Jermolene
303f255fcd Avoid wikifying system tiddlers
Fixes #2814
2017-03-27 10:00:31 +01:00
Jermolene
af45d509eb Adjust capitalisation of X-UA-Compatible meta tag
The docs suggest that the capitalised form is correct
2017-03-27 10:00:05 +01:00
Jermolene
d3fe4f600a Partially fix drag and drop on IE11
These changes allow drag and drop to work with one issue: <a> links are
not draggable; draggable divs, spans, buttons etc. seem to work fine.
There’s some issue with IE11 that I don’t understand.

For testing, you can force links to become spans by changing line 64 of
$:/core/modules/widgets/link.js to:

	var domNode = this.document.createElement("span");
2017-03-27 09:59:40 +01:00
Jermolene
0276b69244 Remove double quotes from copyright message
Needed because we transclude the copyright message into a head meta
tag. IE11 was complaining; other browsers didn’t seem to mind.
2017-03-27 09:57:17 +01:00
Jermolene
4891732481 Adjust listops widget to only modify tiddler if tags have changed
We do this so that we don’t accidentally modify shadow tiddlers when we
drag them to reorder them within their tag parent. Otherwise, moving a
toolbar button like $:/core/ui/Buttons/permaview in the control panel
will override the shadow tiddler.
2017-03-24 09:57:22 +00:00
Jermolene
d9ed01b621 Fix: removing other tags during drag and drop 2017-03-24 09:55:42 +00:00
Jermolene
0493208a23 mobiledragdrop: attempt to fix scrolling issues on ios
See https://github.com/timruffles/ios-html5-drag-drop-shim/issues/77
2017-03-23 21:16:01 +00:00
Jermolene
0efed8335d mobiledragdrop: Enable "holdToDrag"
Hopefully, this will make links clickable again, and reduce accidental
dragging while scrolling.
2017-03-23 21:15:33 +00:00
Jermolene
1f860bd04e Fix problem with dragging links 2017-03-23 17:52:15 +00:00
Jermolene
8744d77f88 Add mobiledragdrop shim plugin
This seems to work quite well for me - cc @xcazin
2017-03-23 17:03:35 +00:00
Jermolene
24f29ac605 Add support for wikified raw markup tiddlers 2017-03-23 17:02:37 +00:00
Jermolene
b1ed77d6b8 Switch drag image to use draggable DOM node
We’ll still support dragging pills, but dragging the DOM node image
seems to look better in most situations.
2017-03-23 17:02:26 +00:00
Jermolene
8f1114960a Refactor draggable stuff for easier reuse
And in the process, make the button widget draggable.

Unfortunately, Firefox has a bug that prevents buttons from being
dragged (see https://bugzilla.mozilla.org/show_bug.cgi?id=568313 and
https://bugzilla.mozilla.org/show_bug.cgi?id=646823). So we have to use
the “tag” attribute to make it use a different element.
2017-03-23 14:23:33 +00:00
Jermolene
3a00d2eea3 Allow drag and drop in toolbar layout in control panel 2017-03-20 22:29:03 +00:00
Jermolene
5ed7ade44f Add some handy drag-and-drop macros
And refactor the tag template to use one of them
2017-03-20 22:11:06 +00:00
Jermolene
bea33efd63 Fix problem with dragging text snippets 2017-03-20 22:03:28 +00:00
Jermolene
f4656b0f25 Add support dragging to the bottom of a list 2017-03-20 22:02:55 +00:00
Jermolene
9bad99d14e Draggable: properly stringify tiddler titles
Thanks @twMat
2017-03-20 22:01:51 +00:00
Jermolene
3197f9a639 Add select all/none checkbox to $:/Import
Prompted by this discussion:
https://groups.google.com/d/topic/tiddlywiki/MYBWCxOc_gM/discussion
2017-03-20 22:00:14 +00:00
Jermolene
eba1c3c160 Improve support for drag and drop
Documentation TBD
2017-03-19 19:33:56 +00:00
Jermolene
c2391c5250 Action-deletefield should only update tiddler modified/created if it is changed 2017-03-19 19:30:52 +00:00
Jermolene
5b3bb1974c Move coding docs to the /dev wiki 2017-03-19 13:53:21 +00:00
Jermolene
39cdaeb34d Fix problem with tracking dragenter/leave events in Firefox
Fixes #686 (hopefully!)
2017-03-17 14:54:30 +00:00
Jermolene
d778bc9a21 Add link to Tinka 2017-03-17 14:20:44 +00:00
Jermolene
fe5670663d Add plugins to TOC 2017-03-17 14:20:36 +00:00
Jermolene
8804278e6e Add OpenOffice docx and pptx file types 2017-03-17 14:20:17 +00:00
Jermolene
b9fbe12118 More defensive deepFreeze()
IE11 chokes on Object.freeze(undefined)
2017-03-17 14:20:04 +00:00
Jermolene
779e62a30f Add support for JSON files containing a single tiddler
At the moment, we support JSON files containing an array of tiddlers.
With this change the core will import files containing a single
tiddler. Also adding templates for saving individual tiddlers in JSON
format
2017-03-17 14:19:43 +00:00
gernert
d65fd771e7 Update ColourPalettes.tid (#2806) 2017-03-17 13:54:32 +00:00
Jermolene
73e1724fdf Extend $tw.utils.httpRequest() to cope with binary data
The problem was that `this.responseText` crashes for non-text data. We
fix it by letting the client specify which property should be returned.

@ericshulman does this work for you?
2017-03-17 13:41:17 +00:00
Jermolene
595072b2bc Update browser support for importing via paste 2017-03-17 13:36:28 +00:00
Jermolene
66d5e2650e Fix problem with dragger image in Chrome
Fixes #2800
2017-03-12 18:07:59 +00:00
tejjyid
bb81f00161 Update cla-individual.md (#2792)
For documentation purposes only...
2017-03-06 08:58:23 +00:00
twMat
5dbc1b7163 Doc typo correction (#2791) 2017-03-05 20:25:24 +00:00
Jermolene
28b861451b Yet more tweaks to the highlight.js integration
Now we check that the selected language is supported before we invoke
highlight.js; left to its own devices, it crashes…
2017-03-02 09:17:48 +00:00
Jermolene
796e59e0dc Google Analytics plugin: Remove unneeded version number
By omitting the version number the core will apply the current core
version number to the plugin.
2017-02-28 10:23:02 +00:00
Jermolene
e30330d4be Introduce Twitter plugin for embedding tweets etc. 2017-02-28 10:23:02 +00:00
Jermolene
52a414959c wiki.extractTiddlerDataItem() should use caching 2017-02-28 10:23:02 +00:00
Jermolene
b9a835b879 Fix bug with wiki.getTiddlerDataCached()
We need to process the default data outside of the cache function to
ensure that we don’t cache the defaults
2017-02-28 10:23:02 +00:00
Tobias Beer
6343c39bd6 Docs: improve description of remove operator (#2735)
see https://github.com/Jermolene/TiddlyWiki5/issues/2731#issuecomment-275200159
2017-02-27 16:40:48 +00:00
twMat
35b327e336 Mat finally, and somewhat shameful, signing the CLA (#2723)
All previous contribs from me are included in the signing of the agreement.
2017-02-27 16:39:55 +00:00
jrgetsin
63b3d88604 Typo: Update TiddlyWiki.tid (#2566)
for "bought" put "brought"
looked like a typo to me
2017-02-27 16:38:57 +00:00
gernert
a71e27386f Update SystemTags.tid (#2508)
* Update SystemTags.tid

* Update SystemTags.tid

@Jermolene
Hope I did it correct now ;-)
2017-02-27 16:38:13 +00:00
gernert
9a67a90a30 Update Using Stylesheets.tid (#2786) 2017-02-27 15:54:15 +00:00
Roma
d53d6e7921 Added community tiddler for ViM syntax file. (#2544) 2017-02-26 16:48:07 +00:00
Jermolene
b90600580f Filesystemadaptor: Fix bug with JSON tiddlers
Fixes #2783
2017-02-24 15:36:22 +00:00
Jermolene
d0594e4a45 Rejiggle the license to try to make GitHub recognise it 2017-02-24 13:52:39 +00:00
twMat
b5360db375 Clarified intro statment for TiddlerWidget (#2770)
Ref [discussion](https://groups.google.com/d/msg/tiddlywiki/S-DliskYksE/55c6_CssCgAJ).
2017-02-23 17:02:49 +00:00
Sylvain Comte
da0c244a51 created a "resource" card for leaflet maps plugin (#2734) 2017-02-23 17:01:41 +00:00
Jermolene
ad1c2a6571 Fix problem with 'has' operator
Fixes problem introduced in 6085936475
2017-02-23 14:27:43 +00:00
Marxsal
617ec82a22 Update documentation to reflect actual way timeline macro currently works. (#2781) 2017-02-23 10:59:40 +00:00
Jermolene
7c2d519d4f Update release note 2017-02-23 08:20:43 +00:00
Bram Chen
f246b93a38 Add chinese translations for the "close plugin library" button (#2779) 2017-02-22 15:55:44 +00:00
Jermolene
31a803626f Add GettingStarted "online" tab
Fixes #2780
2017-02-22 15:34:50 +00:00
Tobias Beer
88a65f038e Add a "close plugin library" button (#2072)
* provides a "close plugin library" button

* starting from #1718 by @inmysocks
* possibly fixes all of #1718, #1597,  and #2067

* corrected code comment

* add back title

No idea why I overlooked this beforehand.

Next time I will not suggest such changes that have little to do with
the PR, but rather just comment the code.

* ah, sorry, "fixed" wrong spot

now

```
<$action-sendmessage $message="tm-load-plugin-from-library"
url={{!!url}} title={{$(assetInfo)$!!original-title}}/>
```

...should be back at the right spot.

* mhhh... still fixing the mess

load, unload, puh... let's see if I got it now

* added unloadIFrame and minor syntax fixes
2017-02-22 12:15:26 +00:00
Tobias Beer
6085936475 Introduce "field" suffix for "has" filter operator (#2066)
* has:field — tested & documented

allows to test whether a field exists

* fixed inverted condition

* added from version to docs
2017-02-22 12:13:59 +00:00
Jermolene
cd2bc88658 Add "enlist" operator
Fixes #2767
2017-02-21 15:17:47 +00:00
Jermolene
b1ecf81b0c Tentative improvements to highlight plugin problems
We now use highlight.js in raw HTML mode on the server, rather than
trying to use it with the fakedom. This causes problems with fakedoms
inability to get textContent for a node that has been created by
assigning innerHTML. So we extend the fakedom to allow the original
text content to be saved.

See #2778 for discussion.
2017-02-21 13:09:32 +00:00
Jermolene
eee18aab40 Docs: Fix typo 2017-02-21 08:47:00 +00:00
Jermolene
9fc2086b71 Optimise sameday filter
I used this test:

console.time();for(var t=0; t<200; t++)
{$tw.wiki.filterTiddlers("[all[tiddlers+shadows]sameday[20170210]]");};c
onsole.timeEnd()

Before this patch, I got speeds of approx 190ms, versus 140ms
afterwards.

Note that the ability to add a cache property like this is only
possible because tiddler objects are immutable.
2017-02-21 08:31:05 +00:00
Thomas Elmiger
8307f7c3ca Tiny optimisation for Naming of System Tiddlers.tid (#2773)
* 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.
2017-02-21 08:28:53 +00:00
Jermolene
b26e138503 Tweaks for #2774 2017-02-19 20:50:52 +00:00
twMat
16da00fe3e Clarify EditTextWidget behaviour and tag attribute (#2774) 2017-02-19 20:48:32 +00:00
Bram Chen
7086c41b6c Update chinese translations for help command (#2775)
* enhanced rendertiddler command
* the new fetch command
2017-02-19 20:46:25 +00:00
Xavier Cazin
6a172363da fr-FR for new fetch command and modified rendertiddler (#2777)
* fr-FR translation of additional error strings

* a slightly better fr-FR translation for the Site Subtitle

* fr-FR translation for the "print page" button

* fr-FR translation for Tiddler Info Panel-related strings

* fr-FR translation for Timestamp activation strings

* fr-FR translation for TiddlerManager related strings

* fr-FR translation for an additional string related to system tiddlers

* add group-sort fields to fr-FR Types

* fixes to the fr-FR Tiddler Manager translations

* fixes fr-FR translation for timestamp-related strings

* fr-FR translation of the tiddler renaming strings

* fr-FR translation of what is the StoryList filter

* fr-FR translations for new saver-related settings

* fr-FR translations around the new fetch command

* fr-FR translation for modified rendertiddler command
2017-02-19 18:27:22 +00:00
Jermolene
75b501f681 Optimise $tw.utils.parseStringArray()
On my machine, the following test performed on the prerelease improves
from 40ms to 8ms with this patch:

```
var a =
$tw.utils.stringifyList($tw.wiki.allTitles());console.time();$tw.utils.p
arseStringArray(a);console.timeEnd()
```
2017-02-19 18:08:15 +00:00
Jermolene
daf703b67f Add support for th-navigating event 2017-02-19 15:47:37 +00:00
Jermolene
0d0ece6377 Add new "fetch" command
Like the load command except retrieves the file over HTTP/HTTPS.

Allows experimentation with server-side twederation

This is a cleaned up version of code that I wrote last year at TWEUM
2016 @inmysocks @pmario @twMat @xcazin
2017-02-18 13:33:41 +00:00
Jermolene
74b0da065e Add logging functions to commander 2017-02-18 13:30:04 +00:00
Jermolene
6f93ce6ea7 Enhance rendertiddler command with support for additional variable
Passing an arbitrary variable allows us to e.g. reuse the export
filters as shown in the example
2017-02-18 13:17:44 +00:00
Jermolene
91b341e8e0 Better error trapping for WebDAV saver
Without these checks we get a startup crash when using TiddlyWiki in
client-server configuration.
2017-02-18 12:12:29 +00:00
Jermolene
f0ff1f993e Fix problem with textarea background colour
Fixes #2772
2017-02-17 17:39:01 +00:00
Bram Chen
d0c20435cd Add chinese translations for Error/EditConflict (#2771) 2017-02-17 17:11:30 +00:00
FND
6505e6f448 WebDAV file overwrite protection (#2614)
* putSaver: detect edit conflicts to prevent clobbering, if possible

if the server supplies an ETag, we send it back when saving, allowing
the server to detect edit conflicts and respond with 412 (cf.
https://www.w3.org/1999/04/Editing/)

caveats:
* this only kicks in after the first save, as we don't have access to
  the ETag when first loading the document
* there's no recovery mechanism (e.g. resetting `this.etag` in order to
  force clobbering), other than manually reloading the document

* putSaver: retrieve ETag upon initialization for clobbering protection

this addresses one of the caveats from the previous commit
(2d75cb83af) - while theoretically prone
to a race condition, it seems unlikely that saving will be triggered
before the server responds

* putSaver: simplify URI extraction

this simplifies the approach introduced in
f51f6bf774, with the purpose of removing
the fragment identifier

* putSaver: localize error message

* putSaver: switch to built-in HTTP helper

in the process, fixed ETag assignment in `#save` method (was
`this.etag`, now `self.etag`) as well as a syntax error due to a missing
closing brace

* putSaver: consolidate URI handling
2017-02-17 12:26:15 +00:00
twMat
a6b538b308 Clarify use of RawMarkup tag (#2768)
Anyone attempting to use this tag will need information about required reload of TW for activation.
2017-02-15 08:56:49 +00:00
Jermolene
467bf17dd8 GoogleAnalytics Plugin: Make sure we don't crash if the config tiddlers don't exist 2017-02-13 11:39:39 +00:00
Jermolene
95f565878e Savetrail: Fix conditionality of hook-based saving 2017-02-13 09:00:34 +00:00
Jermolene
d6f5b3cacd Filesystemadaptor: Fix problem with unknown file extensions 2017-02-12 15:35:04 +00:00
Jermolene
d5b04c2688 Fix problem with loading metafiles
This issue was introduced in 1b41b44684.

Fixes problem raised by @pmario in
https://github.com/Jermolene/TiddlyWiki5/commit/3708f6c8e4f4bf2ea1cb10b0
fa685888485f788a#commitcomment-20848240
2017-02-12 12:14:04 +00:00
Jermolene
7b251df989 Filesystemadaptor: Fix problem with creation of unneeded directories
@pmario this fixes the problem reported in
https://github.com/Jermolene/TiddlyWiki5/commit/3708f6c8e4f4bf2ea1cb10b0
fa685888485f788a#commitcomment-20847981
2017-02-12 11:15:23 +00:00
Jermolene
a51f62bc40 Docs: Move beaker browser file 2017-02-12 11:14:21 +00:00
Jermolene
6397ce8997 Docs: move a couple of files to the correct dir 2017-02-12 11:14:05 +00:00
Jermolene
de9bb2fa40 Feature TiddlyMap in the HelloThere thumbnails 2017-02-12 11:13:43 +00:00
Jermolene
b5482d8dba Remove extraneous console.log
I’ve leaving the one at line 91 because it might be useful for field
debugging…
2017-02-11 12:59:18 +00:00
Jermolene
3708f6c8e4 Major refactoring of filesystemadaptor
The code here had got a bit broken by some PRs that I should have
checked more carefully. I’ve done a major refactoring which will
hopefully make it easier to understand, and fixes a number of problems:

* Problem with eg .md tiddlers not being deleted correctly
* Problem with Windows path separators not being usable within
$:/config/FileSystemPaths on Windows
* Problem with filename clashes not being detected correctly when
saving to a different directory via $:/config/FileSystemPaths
* Enables slashes within tiddler titles to be mapped into folders
* Enables plain text files like .md and .css to be saved with .meta
files instead of as .tid files (see #2558)
* No longer replaces spaces with underscores

As this is such a major update, I’d be grateful if Node.js users could
give it a careful run through — in particular, you’ll need to try
creating new tiddlers of various types and ensure that the expected
files are created.
2017-02-11 12:56:42 +00:00
Jermolene
1961db6732 Register alternate mime type for Markdown files
macOS considers them to be `text/markdown`, which meant that dragging
an .md file ended up with the wrong content type
2017-02-11 12:48:41 +00:00
Jermolene
36c0af0fd4 Docs: Fix typo in example filter 2017-02-11 12:47:56 +00:00
Jermolene
9e08aed8ad Update release note 2017-02-10 12:45:26 +00:00
Jermolene
075d7d76df SaveTrail: Update readme 2017-02-10 07:33:38 +00:00
Jermolene
3d8249dc7a Savetrails: Download before and after files for destructive modifications 2017-02-09 15:45:39 +00:00
Jermolene
97e995e0c7 Add wiki.checkTiddlerText() convenience method 2017-02-09 15:43:28 +00:00
Jermolene
2397f0aa6f Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
Jermolene
6b2ab90721 Update hook mechanism so that multiple parameters can be passed 2017-02-09 15:42:21 +00:00
Jermolene
73ded6a82a Add new "count" filter operator
See discussion here:
https://groups.google.com/d/msgid/tiddlywiki/fe51b7f5-5369-493b-82e5-94c
18e863fe0%40googlegroups.com?utm_medium=email&utm_source=footer
2017-02-08 20:11:44 +00:00
Jermolene
9bc523fdef Fix bug in renameTiddler
This operation isn’t used by the core, but is used by the TextSlicer
plugin
2017-02-08 20:04:36 +00:00
Jermolene
f4a015f120 Upgrade to latest version of xmldom 2017-02-07 18:20:30 +00:00
Jermolene
d9fd722e50 Text-slicer: Improve image support
Previously we only worked with base64 data URI images; now we work with
relative URLs as well.
2017-02-07 11:05:08 +00:00
Jermolene
112a8d95c5 Docs: Switch "Mailing List" to "Forum"
Fixes #2761
2017-02-07 11:03:39 +00:00
Jermolene
ef1c47c3aa Fix accidental wikilinking 2017-02-05 19:58:58 +00:00
Jermolene
6282fe43af Docs capitalisation consistency
Thanks @twMat
2017-02-05 13:34:37 +00:00
Jermolene
db056a84a5 Remove obsolete code 2017-02-04 18:14:20 +00:00
Jermolene
a14b8a94df Fix JSON format for bc61f7eebf
Otherwise the JSON files cannot be imported back into TiddlyWiki
2017-02-04 18:08:47 +00:00
twMat
e20682dcfd Update title to "How to Add a New Tab to the Sidebar" (#2754)
Only title modified, from lowercase to uppercase letters.
2017-02-04 18:06:17 +00:00
Jermolene
bc61f7eebf Introduce savetrail plugin
See the readme:

“This plugin causes TiddlyWiki to continuously save the contents of
each tiddler that is changed as a JSON file. Configured correctly, the
browser will download the files silently in the background, and they
can be used as a backup in case of accidental data loss.”

Inspired by @telmiger’s comment (3) here:
https://github.com/Jermolene/TiddlyWiki5/issues/2741#issuecomment-276128
871
2017-02-04 17:37:31 +00:00
Jermolene
6c65aa2a6d Make the syncer more configurable, including names for sync adaptors
@danielo515 you may want to add a name to your sync adaptor 😄
2017-02-04 17:25:30 +00:00
Jermolene
ced9f315a1 Rename variable for clarity
It’s called an iterator in filter.js
2017-02-04 17:24:25 +00:00
Jermolene
1563f207b3 Tweaks to #2753
@twMat I felt that the “see below” part was a bit clumsy, as it jumps
quite a long way down, past three embedded videos.
2017-02-04 16:22:25 +00:00
twMat
9a01e9ab71 Update doc on how to submit PR's. (#2753)
Added note to clarify difference between submitting doc improvements and code improvements.
2017-02-04 16:18:48 +00:00
Bram Chen
3527379468 Update chinese translations for "saving" related settings (#2751) 2017-02-03 18:13:04 +00:00
Xavier Cazin
abb9f262c3 fr-FR for saver-related settings and the predefined StoryList filter (#2742)
* fr-FR translation of additional error strings

* a slightly better fr-FR translation for the Site Subtitle

* fr-FR translation for the "print page" button

* fr-FR translation for Tiddler Info Panel-related strings

* fr-FR translation for Timestamp activation strings

* fr-FR translation for TiddlerManager related strings

* fr-FR translation for an additional string related to system tiddlers

* add group-sort fields to fr-FR Types

* fixes to the fr-FR Tiddler Manager translations

* fixes fr-FR translation for timestamp-related strings

* fr-FR translation of the tiddler renaming strings

* fr-FR translation of what is the StoryList filter

* fr-FR translations for new saver-related settings
2017-01-30 21:37:45 +00:00
Jermolene
b5059c612a Adds support for autosave with the download saver
Also does some reorganisation of control panel to move “saving” related
settings together, and expose a UI for savers to plug into.

Fixes #2741
2017-01-30 18:19:28 +00:00
Jermolene
56b6781715 Fixes to license visibility
Credits to @cdent - is 2012 right, or did your work there carry on into
2013?

Addresses part of #2378
2017-01-29 21:11:30 +00:00
Jermolene
4bf626d741 As noted by @twMat over on the [mailing
list](https://groups.google.com/d/msgid/tiddlywikidev/8571ba0d-da8e-449a
-bad2-a21e3f2587aa%40googlegroups.com), GitHub has stopped recognising
TiddlyWiki’s license file — see
https://help.github.com/articles/adding-a-license-to-a-repository/.
This commit is intended to fix that
2017-01-27 22:10:18 +00:00
Duarte Ramos
8dc971a11e Pt pt translation improvements (#2719)
* Update "Open" Tab Sidebar Caption

Fix wrong translation for the "Open" tab in the page sidebar tabs

* Update SideBar.multids

* Wrong date format

Remove suffixes from dates, we don't really use any in Portuguese, and the way they were presented was currently wrong
2017-01-19 12:37:55 -07:00
dedioste
f914f0a6a2 Fix Date format for date display date in "recent" tabs (#2717)
Moved from GG MM AAAA to DD MM YYYY to ensure that the date is correctly displayed in the "Recent" tab
2017-01-19 09:00:58 -07:00
dedioste
0b14a0c24e CLA Signature for @dedioste (#2718) 2017-01-19 09:00:14 -07:00
twMat
3e40403d11 VarsWidget doc - erroneous example (#2714) 2017-01-17 08:20:06 -07:00
Tobias Beer
1b339e17bc Add "tag" attribute to keyboard widget (#2593)
* allows to define the tag for keyboard widget

* added from 5.1.14 to docs
2017-01-13 11:17:19 -07:00
Marxsal
2b90d0ab96 Doc: Community Resources: TiddlyServer (#2708) 2017-01-13 11:00:06 -07:00
Thomas Elmiger
d632e47ffe Added missing tag "Resources" (Community Resource) (#2707)
* Replacement icon stopwatch on

As discussed in issue #2690

* Replacement icon stopwatch off

As discussed in issue #2690

* Added missing tag "Resources" (Community Resource)
2017-01-13 10:59:38 -07:00
Jermolene
0e37e0cd78 Fix typo 2017-01-13 08:17:31 -07:00
Jeremy Ruston
190d4881bf Remove accented character from filename
@Marxsal just a fyi there are a lot of problems on some platform combinations with accented characters in filenames.
2017-01-13 08:17:03 -07:00
Saul D Beniquez
c3833d0232 Update cla-individual.md (#2704)
For [PR69](https://github.com/Jermolene/TiddlyWiki5/pull/2691)
2017-01-10 18:41:25 +00:00
Rizwan
ac3b67b819 Signing the CLA, Riz (#2705) 2017-01-10 18:18:16 +00:00
Jermolene
dbcda815fa Add tight-heavier theme that combines "tight" and "heavier" 2017-01-09 12:46:20 +00:00
Jermolene
74bdbb9be8 Readme updates 2017-01-09 12:46:20 +00:00
Marxsal
b152d0a727 Doc: How to concatenate text and variables (#2676)
* How to concatenate text and variables

* Adding warnings around anti-example code
2017-01-09 12:39:50 +00:00
Marxsal
00669e87da Docs: Community Resources: Noteself,Slides and Stories, TKN (#2685)
* Docs: Community Resources: Noteself,Slides and Stories, TKN

* Doc: Community Resource: Cardo

* Tweaks to community resources

* removing unnecessary new lines

* Removed spacing around question marks.

* Noteself. Removing one more space. Picked a bad day not to wear glasses.
2017-01-09 12:32:56 +00:00
Tobias Beer
d4db283d61 Refresh simple editor when empty text, e.g. hitting ENTER (#2702)
fixes #2592, missing bit of deleting the field for adding a new tag in
edit-mode

also fix for:
https://groups.google.com/forum/?fromgroups=#!topic/tiddlywiki/L6Z7gSvBWjw
2017-01-09 10:31:40 +00:00
Daniel Rodríguez Rivero
2f21cbc971 Updated tabs macro documentation (#2697)
Adding how to deal with transclusions inside the tabs itself. It is not weird that you want use tabs on a set of tiddlers that transclude other tiddlers using their own title. If you don't understand well the consequences of of what the sentence `currentTiddler variable is not affected...` this can be quite frustrating.
2017-01-04 21:40:11 +00:00
Marxsal
18280249f4 Doc: How to turn off camel case (#2687)
* Doc: How to turn off camel case

* Changed title. Added tag.
2017-01-03 18:07:48 +00:00
Jermolene
da6149cdde Include word "unique" in description of "each Operator"
Fixes #2689
2017-01-03 18:01:56 +00:00
Sylvain Comte
c16f96626e Update to latest version of google analytics code (#2671)
* trying to implement new googleanalytics tracker

* trying to put new google tracker. Not working...

* more dev options for testing

still don"t understand wants goes wrong

* New version. Seems to work

* achieved update for new tests
brought back tiddlywiki.com settings value
created a settings tab to make it easier

* adding settings to plugin

add a settings tab to plugin to make it easier to use and see which GA account is in use

* fixes bug with GA_ACCOUNT and GA_DOMAIN tiddlers containing newlines at their end, preventing plugins to work

* soft rebase on jermolene's master

* revert to oldest version of GA_account and GA_domain tiddlers - had been overwritten by ones with a new line at the end

* Integrates some @tobibeer comments

* googleanalytics.js : removed "rebranding", var declaration and console log. Did not manage to get a non-minified version of Google script. But as far as I can see, jermolene's original plugin did same way
* plugin.info : placed "readme" first
* readme : back to previous "legacy" version. No more mention to temporary fork. Added mention and link to google official code.

* signed CLA
2017-01-03 15:43:05 +00:00
Jermolene
56131e4563 It's 2017!
🥂🍾
c.f. 665d6657bb
2017-01-03 13:31:22 +00:00
Jermolene
f9b4f747a1 Updates to Danish and Dutch translations
Thanks @gernert
2017-01-02 17:45:58 +00:00
Thomas Elmiger
79ae3f8cb7 Replacement icon for timestamp on/off (#2692)
* Replacement icon stopwatch on

As discussed in issue #2690

* Replacement icon stopwatch off

As discussed in issue #2690
2017-01-02 17:38:32 +00:00
Bram Chen
c60fd4c0c6 Add chinese translations for exporting story list (#2683) 2016-12-31 13:22:12 +00:00
Marxsal
a37137d426 DOC: How to embed PDFs and other documents (#2678)
* How to embed PDFs and other documents

* Adding notes about external linking and other details
2016-12-31 13:21:32 +00:00
Jermolene
a2b465ee75 Docs: Tweaks for title conventions for resources 2016-12-31 13:20:54 +00:00
Marxsal
241f901d85 New references for Community resources. (#2677)
* New references for Community resources.

This batch includes Filter Examples by Tobias Beerand and
Gospel Bubbles by David Gifford

* Four more community resources added --
How Does Twederation Work
Ghostwriter Theme
Moments Theme
Lucky Sushi Online SHop

* Two more: Hacks by Thomas Elmiger. Forum on Reddit by Riz
2016-12-31 13:18:48 +00:00
Jermolene
7a6cbb1629 Tweaks to checkbox widget docs 2016-12-30 17:49:35 +00:00
Marxsal
94d460ef20 CheckboxWidget actions documentation (#2673)
* Add example of how to use action parameter in Checkbox Widget

* Doc: CheckboxWidget actions
2016-12-30 17:46:48 +00:00
Marxsal
5b5b25dd16 Docs: Add how-tos on putting list into table format (#2672)
* Document method(s) to format the output of a list in tabular format.

* Added  2nd CSS method for formatting as Table

* Three methods of putting lists into table form.

* Removed "probably" comment
2016-12-30 17:45:44 +00:00
Jermolene
0c2734f181 Tweak wording of exporting story list 2016-12-30 17:43:35 +00:00
Jermolene
60c6f039e4 Update link to tobibeer's tips 2016-12-30 17:42:34 +00:00
Jermolene
0e83fad837 Remove link to TW5Mall
The site has been retired by the author.
2016-12-30 17:42:34 +00:00
Marxsal
b1a5afbf15 Add an entry to the filter drop down for exporting the current story (minus advanced search) (#2670) 2016-12-30 17:42:23 +00:00
Xavier Cazin
28b7493c3c Updates to fr-FR translations (#2645)
* fr-FR translation of additional error strings

* a slightly better fr-FR translation for the Site Subtitle

* fr-FR translation for the "print page" button

* fr-FR translation for Tiddler Info Panel-related strings

* fr-FR translation for Timestamp activation strings

* fr-FR translation for TiddlerManager related strings

* fr-FR translation for an additional string related to system tiddlers

* add group-sort fields to fr-FR Types

* fixes to the fr-FR Tiddler Manager translations

* fixes fr-FR translation for timestamp-related strings

* fr-FR translation of the tiddler renaming strings
2016-12-30 17:41:05 +00:00
Jermolene
ab1b1f2cde Fix problem with beaker saver and default index pages
As discussed on the mailing list, we need to check for a URL that is
missing the default `/index.html`

https://groups.google.com/d/msg/tiddlywikidev/n6yUdu2zHWo/m32R2BuIDgAJ
2016-12-29 16:45:47 +00:00
Jermolene
eac449e8ff Release note updates 2016-12-29 12:44:42 +00:00
Jermolene
f495df6386 Tone down the colours of the "from-version" macro 2016-12-29 12:44:36 +00:00
Jermolene
2945c9abc1 Add information about Beaker Browser support 2016-12-29 12:44:12 +00:00
Jermolene
bbcc367e5a Add link to google groups search at mail-archive.com 2016-12-29 09:13:28 +00:00
Jermolene
0383b98555 Add support for other movie content types 2016-12-23 08:34:07 +00:00
Jermolene
f143164cbe Correct the name of the video parser 2016-12-22 22:07:28 +00:00
Jermolene
a1a4bf0f9d Refactoring the slicer engine for easier reuse 2016-12-22 17:46:42 +00:00
Jermolene
ba9d6187af Rename the dat saver to Beaker
It’s actually specific to the API provided by the Beaker browser, and
not a generic Dat saver
2016-12-22 08:15:16 +00:00
Jermolene
cec5522b72 Fix up the version number of the plugin library 2016-12-21 15:07:48 +00:00
Jermolene
a20da9f530 Add preliminary Dat file saver
See https://datproject.org/ and https://beakerbrowser.com/
2016-12-21 12:09:08 +00:00
Jermolene
daad0ec142 xlsx-utils: Automatically trim cell values 2016-12-21 12:09:08 +00:00
Marxsal
ed1a7e73cd Update instructions on using a PHP server, directing to a live website. (#2669)
Adding note about increasing maximum upload size.
2016-12-19 22:54:24 +00:00
Bram Chen
352d7d664c Chinese translation updates (#2666)
Typo
2016-12-19 12:22:39 +00:00
Jermolene
74107b9b8a New thumbnail for 5.1.14 2016-12-19 12:21:47 +00:00
Marxsal
7d1e3f4c35 Add docs for making a custom New Journal button (#2664)
Includes change to 'Creating journal tiddlers' to link up to new Instructional tiddler.
2016-12-19 11:27:50 +00:00
Tobias Beer
15c7d24eaa Allows adding a new tag name by typing enter (#2592)
* allows to add a new tagname hitting enter

see: https://groups.google.com/forum/#!topic/tiddlywiki/wqQ8jPYG-X4

* revert changes to vanilla/base

* added "Special Keys" to KeyboardShortcuts

* added info to Creating and editing tiddlers

did not add current version of <<.from-version "5.1.14">>  because it
would interrupt the flow. When changed from a noisy "New in 5.1.14" to
"(new in 5.1.14)" we might add the version info here

* revert setText & added inline styles to vanilla base

* remove fieldmangler

* commit initial edittemplate tags to merge master

* ok, now really revert to initial edittemplate tags

* move add tag via enter into tag-picker macro(s)
2016-12-18 20:43:26 +00:00
Mario Pietsch
e1053bf014 Toc recursion protection (#2650)
* add recursion protection first take

* fix problem with selectable expand

* ust path for toc-state variable instead of tag

* reactivate disabled macro call.
2016-12-17 15:29:03 +00:00
Arlen22
66a13cb915 TiddlyFox saver canSave() should always return true (#2626)
Whether saving is allowed should be determined by the parent side of the TiddlyFox, as this plugin can be used in many places.
2016-12-17 15:27:25 +00:00
Arlen22
1530b3e2d8 Put request handler on SimpleServer.prototype (#2627)
The request handler may be used by ExpressJS apps directly and can do most of the heavy lifting without any modification. Note that the self variable must be assignee using `[Function].bind(null,SimpleServer instance)`.
2016-12-17 15:06:10 +00:00
Jermolene
a2fe101848 Updated text reference docs 2016-12-17 12:25:43 +00:00
Nuno Mota
50d25e24f9 pt-PT translation update (#2654)
* pt-PT translation update

* Remove extra white-space

* Signing the CLA
2016-12-17 12:18:12 +00:00
Tobias Beer
e5b432a86b Allows checkbox widget to worth with indexes within data tiddlers (#2103) 2016-12-17 11:59:59 +00:00
Tobias Beer
d6d3aab36a Allow radio widget to work with indexes in a data tiddler (#2104)
* allow radio widget to set an index in a data tiddler

* updated RadioWidget docs, with same demo macro as for CheckboxWidget
in #2103
* removed docs in widget code (seems the wrong place)

* added from version to docs

* revert doc maros to master

* using wikitext-example-without-html and .tip macro now

* fix quotes
2016-12-17 11:51:24 +00:00
Jermolene
424b8a1f68 Move QR code view toolbar button 2016-12-17 11:44:24 +00:00
Matt Lauber
9c3a6976f0 #2312 Prevent move filter from wrapping (#2658)
given a list `A B C D` if I run `A B C D +[move:-1 [A]]` I get `B C A D`.  However, if I were to do `A B C D +[move:1[D]]` it doesn't wrap around, and I get `A B C D`.  This fixes that such that `A B C D +[move:-1 [A]]` gives 'A B C D`
2016-12-16 17:58:45 +00:00
Marxsal
52d32fe3fd Howto1 (#2659)
* Create One weird trick to change the sort order of sub-branches in a TOC macro

* Update and rename One weird trick to change the sort order of sub-branches in a TOC macro to How to change the sort order of sub-branches in a TOC macro

* Added .tid to file name

* Delete How to change the sort order of ...

The correct version is the one with the .tid file extension
2016-12-16 17:47:08 +00:00
Marxsal
2319c9269e Create How to widen tiddlers (aka story river) (#2651) 2016-12-16 17:40:05 +00:00
Marxsal
a393705cef Clarifying Tiddlywiki node.js launch instructions. (#2662) 2016-12-16 17:39:20 +00:00
Marxsal
4d3d7de3b5 Add example of using a text reference with a field in RevealWidget (#2660)
* Adding example of how to use a field's text references to control the RevealWidget.

* Attempting to add field "jeremy".
2016-12-16 17:38:29 +00:00
Jermolene
4a45e9d2dc Improve text reference documentation 2016-12-16 17:36:11 +00:00
Jermolene
28591965b1 Yet more refactoring of the tag macro vs template
This change re-instates the existing behaviour whereby omitting the
parameter to the “tag” macro will default to the current tiddler
2016-12-16 17:25:06 +00:00
Jeremy Ruston
7a71a87ed0 Merge pull request #2644 from BramChen/zh
Update chinese translations
2016-12-16 07:41:31 +00:00
Bram Chen
3c005a153f Add chinese translations for "Title/Exists/Prompt" and "Title/Relink/Prompt" 2016-12-16 10:24:09 +08:00
Bram Chen
24ccb215b2 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-12-16 09:52:47 +08:00
Jermolene
b4dc730575 Fix xlsx-utils startup module name
We were using the same name as one of the core startup modules.
2016-12-15 17:13:32 +00:00
Jermolene
e8bb897e26 Add support for relinking when renaming tiddlers
When renaming an existing tiddler, the edit template now shows a
checkbox that determines whether or not to relink references to the
tiddler in the list or tags fields of other tiddlers.
2016-12-15 17:13:32 +00:00
Jermolene
1bba9dc315 Reuse $tw.loadTiddlersFromPath() in --load command
Thus allowing things like tiddlywiki.files to be used with the —load
command
2016-12-15 17:13:32 +00:00
Jermolene
ad9769451d Add filename-uri-decoded support for tiddlywiki.files 2016-12-15 17:13:32 +00:00
Jermolene
74def9e080 Separate the PDF parser from the image parser
It was a bit of a hack, and made it harder to customise PDF presentation
2016-12-15 17:13:32 +00:00
Jermolene
25b2e846ce Update to Stanford JavaScript Library v1.0.6
And add their license file
2016-12-15 17:13:32 +00:00
Jeremy Ruston
fbd689368e Merge pull request #2643 from pmario/de-DE
add new tag manager texts
2016-12-01 10:51:19 +00:00
Mario Pietsch
db00c699f4 fix some typos, pointed out by Helmut. thx 2016-12-01 11:35:54 +01:00
Bram Chen
2fedd8dcd3 Add chinese translations for tiddler manager 2016-11-30 10:35:58 +08:00
Mario Pietsch
f32d05ae4b add new tag manager stuff 2016-11-29 18:42:58 +01:00
Jeremy Ruston
487dab57e6 Merge pull request #2201 from tobibeer/filter-operators-overview
updates to overall operators docs
2016-11-29 17:24:23 +00:00
Jeremy Ruston
ee486b2863 Merge pull request #2623 from BramChen/zh
Update chinese translations
2016-11-29 17:23:19 +00:00
Jeremy Ruston
b3a8780044 Merge pull request #2631 from pmario/de-DE
german language update
2016-11-29 17:23:07 +00:00
Jeremy Ruston
7736e6e4e4 Merge pull request #2641 from pmario/fix-2634
second-try / fix for 2634 week calculation
2016-11-29 17:22:23 +00:00
Mario Pietsch
b43b89f44a fix for 2634 problems with week calculation 2016-11-29 17:31:54 +01:00
Jermolene
0c6b2311ae Update release note 2016-11-29 10:29:39 +00:00
Jermolene
12ecb1fd08 Fix multids formatting 2016-11-29 10:29:32 +00:00
Bram Chen
b29c9cf829 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-11-29 17:44:22 +08:00
Jermolene
16bb65d17f Introduce tiddler manager 2016-11-29 08:36:07 +00:00
Jermolene
2f2ddf6c0e Update docs for tag macros 2016-11-28 21:31:09 +00:00
Jermolene
f07e0f981a Refactor tag template into an underlying macro
By refactoring the innards of the tag template into global macros, we
make it easier to re-use elements of the tag template
2016-11-28 19:17:25 +00:00
Jermolene
9a38642141 Add new "order" filter operator 2016-11-28 19:16:08 +00:00
Jermolene
a3dc3b4b98 Add new [all[tags]] filter operator 2016-11-28 19:04:04 +00:00
Jermolene
c02c3a06e0 Sort the edit content type dropdown groups more sensibly
Now we put the developer stuff at the bottom instead of the top…
2016-11-28 14:01:09 +00:00
Jermolene
cf28eeb2a1 Fix problem with checkbox widget and empty strings
If the value of `tiddler.fields[this.checkboxField]` was an empty
string then it would incorrectly fall back to the value of
`this.checkboxDefault`.
2016-11-28 13:45:41 +00:00
Jermolene
b759d82f4c @pmario's fix for #2635
This got reverted due to my git inabilities
2016-11-28 13:43:43 +00:00
Jermolene
c65d08240b Add strict mode to tag operator 2016-11-28 13:42:30 +00:00
Jermolene
c460cc03a4 Change "is" filter with blank operand to pass through arguments 2016-11-28 13:42:06 +00:00
Bram Chen
b2260c9d7e Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-11-28 21:11:20 +08:00
Jeremy Ruston
4e0aea288d Merge pull request #2638 from Jermolene/revert-2637-tagger
I accidentally performed a merge commit, which lost the individual commit comments, so we'll revert it and then merge it properly
2016-11-28 10:41:52 +00:00
Jeremy Ruston
a9b54d6fce Revert "Add provisional version of new tagger manager" 2016-11-28 10:40:55 +00:00
Jeremy Ruston
a85d034015 Merge pull request #2637: Introduce tiddler manager
Introduce tiddler manager
2016-11-28 10:28:12 +00:00
Jermolene
96708ecf65 Manager styling tweaks
* Make expand/collapse state be global across all tiddlers
* Remove “Show raw text” option, now that we’ve got the two expandable
areas for raw and wikified text
* Hide raw text by default
* Accentuate currently open tiddler
2016-11-28 10:01:30 +00:00
Bram Chen
940aafe2e0 Add chinese translations for timestamps on/off button 2016-11-28 13:37:11 +08:00
Bram Chen
ca179cc904 Add chinese translations of "sticky" mode for tiddler info panel 2016-11-28 13:19:10 +08:00
Bram Chen
58e12139de Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-11-28 11:53:24 +08:00
Jermolene
f67777161d Make manager sections be expandable 2016-11-27 23:04:54 +00:00
Jermolene
251619189e Add indentation to the manager 2016-11-27 22:35:04 +00:00
Jermolene
117bf0a0de Refactor the sidebar items into separate tiddlers
With some better styling too
2016-11-27 22:34:46 +00:00
Jermolene
e5af022bd3 Add image-picker-dropdown macro
Still need to add a way to select system images (like in the image
dropdown in tag manager)
2016-11-27 22:34:19 +00:00
Mario Pietsch
766bc7acee Fix for #2634 problem with week calculations (#2635) 2016-11-27 17:33:19 +00:00
Jermolene
b00c1c7290 Add select box for displaying tags vs. tiddlers 2016-11-27 14:52:39 +00:00
Jermolene
8e033eb0d4 Add new "all[tags]" filter operator 2016-11-27 14:52:04 +00:00
Jermolene
0b4669621a Return all tiddlers when "is" filter operand is missing 2016-11-27 14:51:51 +00:00
Jermolene
1a2ec12831 Fix problem with checkbox widget and empty strings
If the value of `tiddler.fields[this.checkboxField]` was an empty
string then it would incorrectly fall back to the value of
`this.checkboxDefault`.
2016-11-27 14:51:23 +00:00
Jermolene
9418538104 Separate the tag manager and tagger into separate tiddlers
As discussed in Hangout-101: https://www.youtube.com/watch?v=nXwCm794O6M
2016-11-27 13:53:42 +00:00
Bram Chen
14293d1b6b Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-11-27 09:19:10 +08:00
Jermolene
e98d324e66 Add provisional version of new tagger manager
For discussion
2016-11-26 12:48:47 +00:00
Jermolene
3bceb98119 Add support for actions attribute to CheckboxWidget 2016-11-26 08:21:58 +00:00
Jermolene
d1121787c0 Add new button to temporarily suspend timestamps
Useful when you want to make an edit but preserve the modification
date/time.
2016-11-23 18:20:31 +00:00
Jermolene
b3273bcbda Add "sticky" mode for tiddler info panel
A new option in control panel to cause the info panel to stay open
until it is explicitly closed
2016-11-23 18:17:54 +00:00
Jermolene
b86d142408 Revert accidental default to the "Heavier" theme 2016-11-23 18:15:17 +00:00
Jermolene
5bf238fc86 Use slightly bolder text for tag pills 2016-11-23 18:14:49 +00:00
Jermolene
0e57ce4090 Vanilla theme: ensure cursor is a pointer for invisible buttons 2016-11-23 18:14:25 +00:00
Jermolene
3c715c5e0d Extend require() to try appending index.js as well as .js
Better Common/JS compatibility
2016-11-23 18:13:26 +00:00
Jermolene
c8f7573a23 Make fakedom more resilient to non-string data 2016-11-22 20:24:59 +00:00
Jermolene
0f85ca3478 Add icon to "New in version" docs macro 2016-11-21 12:50:16 +00:00
Mario Pietsch
997029a78f fix typo 2016-11-16 01:24:39 +01:00
Bram Chen
3a70ddb235 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-11-15 08:10:23 +08:00
Jermolene
903cdc09cc Improve checking for missing titles 2016-11-14 15:37:55 +00:00
Jermolene
a485eb8588 Two improvements to xlsx-utils plugin
Add support for skipping an entire tiddler if a particular column is
blank

Add support for reading a row by column, making each of the columns
into a fieldname.

Also significantly refactored the code to break up the main, monolithic
function.
2016-11-14 15:23:15 +00:00
Jermolene
f7d81a00c2 Make "Heavier" theme heavier 2016-11-14 15:14:47 +00:00
Jermolene
632e062749 Add epub file type 2016-11-14 15:14:33 +00:00
Jermolene
b8cbc07c54 Add support for uri decoded components in tiddlywiki.files files 2016-11-14 15:14:25 +00:00
Bram Chen
8ed91f2f90 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-11-06 09:41:40 +08:00
Jermolene
fc483abfc8 xlsx-utils control panel: put new entities at the top of their respective lists 2016-11-05 08:35:56 +00:00
Bram Chen
62adfba68c Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-11-04 10:04:08 +08:00
Jermolene
0d0764b6ce Tweaks to "Heavier" theme 2016-11-03 22:27:14 +00:00
Jermolene
975d5346fb Introduce "Heavier" theme, with thicker fonts
Partly prompted by this piece:

https://backchannel.com/how-the-web-became-unreadable-a781ddc711b6
2016-11-03 19:11:24 +00:00
Xavier Cazin
87fbd07728 Updated fr-FR localised strings (#2632)
* fr-FR translation of additional error strings

* Better consistancy in fr-FR translations for Buttons.multids

* Fixes to fr-FR translation of Control Panel strings

* Updates to fr-FR strings in EditTemplate.multids

* fixes to fr-FR strings in Fields.multids

* added fr-FR translation of TypedTiddlers in Filters.multids

* fix fr-FR string in GettingStarted.tid

* fix fr-FR string in Import.multids

* fixes to fr-FR strings in Misc.multids

* add fr-FR translated strings in Search.multids

* fixes to fr-FR strings in Sidebars.multids

* fixes in fr-FR translated strings of the Theme Tweaks settings

* fixes fr-FR translated strings of TiddlerInfo

* fixes and additions to fr-FR translations of ModuleTypes.multids strings

* add missing fr-FR translation in PaletteColours.multids

* fixes and additions to the fr-FR-translated Help for commands

* fixes to the fr-FR-translated strings in the Download Modal

* add an fr-FR translation to the Macro Definition snippet
2016-11-01 17:55:05 +00:00
Mario Pietsch
d204688f35 de-DE text update 2016-10-27 18:03:14 +02:00
Mario Pietsch
dd8f660c4e new german text elements 2016-10-27 17:30:00 +02:00
Bram Chen
5c8844a51a Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-10-27 19:37:41 +08:00
Jermolene
8d35178bc4 Undo 664225f6fd and 56640b90bb
See the discussion at #2628
2016-10-26 21:41:41 +01:00
Bram Chen
52f02717a8 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-10-26 08:47:45 +08:00
Jermolene
56640b90bb Fix issue with tabs macro introduced by fix for #2628
I’m fixing this now to show how the tabs macro can be changed to
accommodate the change, but we may yet decide to reverse out the change
in order to maintain backwards compatibility.

One problem with changes like this is that there’s no easy way to find
out where it impacts the core UI. The tabs macro is now fixed, but
perhaps there’s more obscure things that are still broken in the core.

If we do opt to reverse the change to preserve backwards compatibility,
we could add a way to explicitly trigger the new behaviour. For
example, a new attribute `updateState=“yes”`.

Yet another alternative is to make completely new alternative to the
list widget with revised semantics, that authors can opt-in to. For
example `<$loop>`. (There was another issue we discussed a year or two
ago about adding support for an index variable which may be a candidate
for fixing at the same time).
2016-10-25 22:30:02 +01:00
Jermolene
664225f6fd Ensure list widget item title is used in getStateQualifier
Resolves a longstanding problem where the same state qualifier is
generated for every member of a list.

Fixes #2628
2016-10-25 15:34:20 +01:00
Bram Chen
5685724774 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-10-24 08:44:20 +08:00
Jermolene
cedb953f83 Missed off previous commit (54d0cb2021) 2016-10-23 23:27:35 +01:00
Jermolene
54d0cb2021 Fix background colour of import specification selector 2016-10-23 22:59:58 +01:00
Jermolene
5a361bdadc Fix content type for JSZip plugin license file 2016-10-23 22:50:14 +01:00
Jermolene
8de4583d6c Add first pass at XLSX Utilities plugin
Thanks to @stevesunypoly for help with preparing the demo spreadsheet
2016-10-23 22:49:59 +01:00
Jermolene
e9470169d8 Update full edition with recent plugins 2016-10-23 21:22:16 +01:00
Tobias Beer
9c50a223b8 Merge remote-tracking branch 'Jermolene/master' into filter-operators-overview 2016-10-22 10:17:44 +02:00
Bram Chen
fb07992fa8 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into zh 2016-10-22 10:14:14 +08:00
Jermolene
7108e0d861 Add support for filtered attributes to HTML elements and widgets
Fixes #2624
2016-10-21 11:27:07 +01:00
Jermolene
c72a0b7a67 Add action-createtiddler widget
Basically the same as sending a tm-new-tiddler message except that the
newly created tiddler is not added to the story.
2016-10-21 11:26:26 +01:00
Bram Chen
3259b80114 Add chinese translations for print page button 2016-10-20 20:27:27 +08:00
Jermolene
cd5366087c Improve QR code plugin docs 2016-10-20 09:45:04 +01:00
Jermolene
0b76c327c2 Add page print button
cc @silvyn
2016-10-20 09:44:52 +01:00
Jermolene
6dc90718f0 Update tw5.com Tiddler Info/Sources to use links
Prompted by @sukima
2016-10-19 22:06:15 +01:00
Jermolene
a292a2be44 Add copy to clipboard icon 2016-10-19 14:57:19 +01:00
Jermolene
c415af13f1 bibtex plugin updates 2016-10-19 10:21:50 +01:00
Bram Chen
030c51b1f8 Update Chinese translations (#2619)
* Add chinese transaltions of descriptions for missing module types

* Update chinese transaltions of Parsing/Hint

* Add chinese transaltions for Search/TooShort
2016-10-19 10:03:28 +01:00
Jermolene
7f11c151f0 First pass at bibtex importer 2016-10-18 18:00:01 +01:00
Jermolene
5ec7250621 QR code plugin clean ups 2016-10-18 17:59:52 +01:00
Jermolene
28a25be5f7 Marginally improved qrcode icon 2016-10-18 16:39:27 +01:00
Jermolene
8e02bde938 Refinements to 87fa7f972c 2016-10-18 16:39:18 +01:00
Jermolene
5aba7292e7 Fix typo 2016-10-18 16:02:17 +01:00
Jermolene
52cef1394c Fix typo in 1b41b44684 2016-10-18 13:33:54 +01:00
Jermolene
7b535b8f31 Release note update for 5.1.14 2016-10-18 13:26:24 +01:00
Jermolene
22c1b04ee7 Added first version of QR code generator plugin 2016-10-18 09:23:47 +01:00
Jermolene
7a6d7e2a15 Refactor user interface for plugin tiddlers
* Refactored control panel “Plugins” tab to make the elements more
reusable
* Refactored the display of plugin tiddlers to use the same format as
the control panel (as suggested, I think by @danielo515), adding the
shadow tiddler listing as an overridable extension tab
* Added a new tab in the “More” sidebar providing quick access to all
installed plugins
2016-10-18 09:23:19 +01:00
Jermolene
87fa7f972c Ensure global macros are available in modals and notifications 2016-10-18 09:18:56 +01:00
Jermolene
b4b77d1681 Add new filter operators for various string encoding/decodings 2016-10-18 09:18:32 +01:00
Jermolene
b35544bf49 Extend set widget to support returning a single result from a filter
This solves the problem with extraneous double square brackets when
using the filtered set widget.
2016-10-18 09:16:47 +01:00
Jermolene
d9f301f755 Add 'formattedtext' output type to Wikify widget 2016-10-18 09:13:52 +01:00
Jermolene
2f590a365e Expose document location via $:/info/url/* info tiddlers 2016-10-18 09:12:55 +01:00
Jermolene
8fbcfaa79b Make the editor preview scrollable in fixed height mode
Fixes #2616
2016-10-18 08:46:48 +01:00
Jermolene
accd4a1b65 Fix regexp performance problem introduced in c7b31b0242
This fixes a problem introduced in
c7b31b0242.

The changes by @tobibeer inadvertently made the regular expression
evaluation significantly more expensive because of lookahead. The is
less elegant but reverts the performance problem.
2016-10-17 19:08:01 +01:00
Jermolene
537cfcbf79 Addendum to #2610
* Ensure we don’t try to read tiddlers from `.meta` files
* Improve docs
2016-10-15 18:06:17 +01:00
Jermolene
1b41b44684 Improve support for bulk loading tiddlers under Node.js
Fixes #2610
2016-10-15 16:23:17 +01:00
FND
d7b6917638 Clarify WebDAV documentation (#2613) 2016-10-15 14:19:19 +01:00
Jermolene
892a1f560e Trap JSON syntax errors during import
Fixes #2609
2016-10-13 14:16:55 +01:00
Jermolene
da298f037d Remove extraneous console.log()
Fixing f97c1226aa
2016-10-12 15:50:43 +01:00
Jermolene
f97c1226aa Prevent HTML parser from mis-recognising email addresses
Email addresses such as `<jeremy@example.com>` were being erroneously
parsed as HTML tags.

Fixes #2604
2016-10-12 13:17:53 +01:00
Jermolene
989cee5059 Suppress search results if search string is too short
Fixes #2603
2016-10-11 09:27:26 +01:00
Jermolene
e724bc6120 Extend docs template for operators to allow for "from-version" field 2016-10-11 09:26:50 +01:00
Jermolene
ffcbcbfa82 Add new 'minlength' operator
Fixes #1493
2016-10-11 09:26:20 +01:00
Devin Weaver
f1090d749e Fix str.length strEndsWith bug (#2572)
This was some how missed in dev testing I guess. @buggyj suggested this.

Should fix #2571
2016-10-08 14:06:30 +01:00
Tobias Beer
b9299309cc Fixes #2076 single line macros shouldn't need terminating line break 2016-10-08 13:44:30 +01:00
Tobias Beer
bf253a603b Removed unused vars + some whitespace (#2106) 2016-10-08 13:32:14 +01:00
Tobias Beer
f575389d89 Update wikiparserrules operator for no operand (#2193)
* return all wikiparserrules w/o operand

* simpler layout & code / updated instruction details

Also wanted to link each rule to the official docs using a dictionary at
`$:/language/Docs/ParserRules/`. However, without #2194 this is not
doable.
2016-10-08 13:04:11 +01:00
Jermolene
994432e28e Merge branch 'Serj-Aleks-patch-1' 2016-10-08 12:27:35 +01:00
Jermolene
6079563ff8 Merge branch 'patch-1' of https://github.com/Serj-Aleks/TiddlyWiki5 into Serj-Aleks-patch-1 2016-10-08 12:27:09 +01:00
Jermolene
ff6b0bd5dc Merge branch 'zakrec-patch-9' 2016-10-08 12:24:44 +01:00
Jermolene
23060f92f0 Merge branch 'patch-9' of https://github.com/zakrec/TiddlyWiki5 into zakrec-patch-9 2016-10-08 12:24:17 +01:00
Tobias Beer
d038e0bc1b Filter titles in new fieldname popup by entered string (#2585) 2016-10-08 12:18:19 +01:00
Tobias Beer
3486acaec6 Remove old titles from story on save (#2587)
fix for #2381
2016-10-08 12:17:27 +01:00
Jermolene
be574b713e Fixes #2588 2016-10-08 12:10:07 +01:00
Tobias Beer
808587f1c1 Fixes #2311 allows ctrl-enter to add tag and field (#2590)
fixes #2311

demo: http://2311.tiddlyspot.com
2016-10-08 11:53:20 +01:00
Tobias Beer
c7b31b0242 allows textPrimitives.anyLetter in syslink (#2596)
* allows textPrimitives.anyLetter in syslink

now only supports anyletter as per request by @jermolene
2016-10-08 11:51:07 +01:00
Jermolene
641eeaf611 Refresh action widgets before invoking them
Fixes #2599, at least partially.
2016-10-08 10:19:09 +01:00
Jermolene
c4e13bc94a Add icon and message handler for print button
I’m inclined to think it’s not worth adding a corresponding page
control button because it’ll require a lot of tiddlers for the
translation etc.
2016-10-08 10:10:54 +01:00
Jermolene
ee66d1a1af Add a documentation macro for marking version numbers
By signalling features that are new in 5.1.14 we can include
documentation updates for the new version when we build updates to
5.1.13
2016-10-08 10:05:34 +01:00
Jermolene
e4f3d56bdc Correct reference to missing variable 2016-10-06 14:50:54 +01:00
Jermolene
20daaae7e8 Make $tw.utils.stringifyList() resilient to null values in the array 2016-09-30 18:28:12 +01:00
Jermolene
b867b7487e Fix tw2-plugin-check warning so that more than one plugin is displayed 2016-09-30 18:27:45 +01:00
Jermolene
4be5f0abe8 Switch highlight plugin under Node.js to use DOM rather than raw HTML
Hi @welford I wondered if you could kindly review this commit, since
you authored the original code? Before this commit, I was running into
a crash when running `prerelease-bld.sh` from
`build.jermolene.github.io`, caused by using raw HTML for the
highlighted block. Switching to the fake dom seems to fix things, but
I’d like a second pair of eyes.
2016-09-28 11:34:15 +01:00
Jermolene
292d653880 Fix typo affecting created/creator fields when deleting field
Fixes #2579
2016-09-28 11:18:58 +01:00
Jermolene
d86e4043c2 Some sample .ENEX files for testing 2016-09-26 12:32:57 +01:00
Daniel Rodríguez Rivero
0409151801 Update How to customise the password prompt.tid (#2580)
A minor typo corrected. Minor but a link broker!
2016-09-22 13:14:58 +02:00
nameanyone
e1cc285151 Align the right edge of the preview (#2583)
Currently it's 3px off to the left compared to the above element.
2016-09-22 12:37:22 +02:00
Jermolene
ffc0899f52 Move the copyright.md file to the root of the repo
Hopefully GitHub might start to recognise TiddlyWiki’s license
2016-09-14 08:30:23 +01:00
Jermolene
2d9aa12aa8 Increase size of icons in Advanced Search/Filter
An easy one.

Fixes #2464
2016-09-13 19:26:37 +01:00
Jermolene
fc898ae64a Fix broken macro in "Release 5.1.9"
This local `<<colour-picker>>` macro was overwritten by the new core
macro of the same name

Fixes #2573
2016-09-07 11:12:30 +01:00
Daniel Rodríguez Rivero
975bc30079 Update PluginMechanism.tid (#2574)
Added link to sematic versioning
2016-09-06 14:53:38 +01:00
Jermolene
06b7de415c Ensure cancel button in login prompt doesn't also submit form
Fixes #2561
2016-08-29 19:13:25 +01:00
Jermolene
3ad8cf59bd Add column count CSS macro
Still needs prefixing for Firefox
2016-08-27 14:24:07 +01:00
Jermolene
5f0a1dd967 Revision of 03db25cf38
We should only fallback to the classic storyview if a storyview was
specified; if none was specified then we shouldn’t use a storyview.
2016-08-27 14:24:07 +01:00
Steve Schneider
0788145cb5 CLA signature for @stevesunypoly (#2557) 2016-08-26 18:13:26 +01:00
Jermolene
03db25cf38 Fallback to "classic" if specified storyview not found
Fixes #2555
2016-08-26 11:34:43 +01:00
Jermolene
4d74f52202 Remove extraneous text
Copy/paste whoops.
2016-08-20 17:11:54 +01:00
Jermolene
05b32728bc Allow browser-based file reading to use deserializers for binary files 2016-08-20 17:09:22 +01:00
Jermolene
3a2ea9b98b Register .xlsx filetype 2016-08-20 17:08:44 +01:00
Jermolene
da1905b789 Revise default for Buffer in the browser
Back in 7d12d89a0a we added support for
Node.js global `Buffer` object, explicitly exposing it to the module
loader sandbox. The value `{}` was used in the browser, but is now
causing problems with libraries that perform feature detection.
2016-08-20 17:08:24 +01:00
Daniel Rodríguez Rivero
845e8294cd Update How to customise the password prompt.tid (#2543)
Fixed small typo on the use of a template.
2016-08-20 15:46:50 +01:00
Jermolene
f079b31334 Fix further issue with highlight.js brush handling 2016-08-18 10:32:21 +01:00
Jermolene
ee9d19d299 Fix problem with highlight plugin language brushes
TiddlyWiki passes the MIME type of the tiddler to highlight.js as the
"language brush", but it turns out that highlight.js doesn't actually
understand MIME types. This commit introduces a configuration mapping
between common MIME types and highlight.js language brushes

Fixes #2535
2016-08-18 09:07:06 +01:00
Jermolene
ffae85140f Fix state cleanup for excise toolbar button
We were deleting the wrong tiddler
2016-08-18 08:59:09 +01:00
Jermolene
ba2f831d8c Fix parsing of multids files
The old code required a space after the colon separating the title
fragment from the text, and didn’t trim the strings. The new code is
more tolerant, by not requiring the space, and trimming the strings.
2016-08-18 08:58:54 +01:00
Jermolene
7bc7f643b6 Remove extraneous console.log 2016-08-16 15:48:25 +01:00
Jermolene
18dd8d4433 Fix problem with lazy loading under Node.js
Fixes #2514
2016-08-16 15:48:14 +01:00
Jermolene
118b2ffe2f Fix lazy.sh to serve the edition *tw5.com-server*
As per the existing documentation:
http://tiddlywiki.com/#Scripts%20for%20TiddlyWiki%20on%20Node.js
2016-08-16 15:46:53 +01:00
Jermolene
4be6efdb4e Fix JSON typo 2016-08-16 15:45:17 +01:00
Jermolene
e20bce5450 Add experimental support for RTL languages
This commit permits language plugins to carry the field
“text-direction” with the value “rtl” to trigger right-to-left layout
of the entire page. We also adjust the sidebar layout to work in RTL
mode.

There are still a number of problems to be addressed:

* Brackets and other punctuation incorrectly placed within en-GB UI text
* System tiddler titles are rendered semi-back-to-front (eg
`languages/ca-ES/:$`)

Starting to address #1845 and the discussion in #2523.
2016-08-15 19:47:26 +01:00
nameanyone
12e3e8b489 Fix a link to GroupedTiddlers (#2537) 2016-08-15 18:42:26 +01:00
HC
b7c416d340 @hchaase CLA signature.md (#2534)
sry for the delay.. forgot to sign
2016-08-11 14:59:03 +01:00
Jermolene
8b60dbb81d Ensure page background colour takes shows through transparent background images
Fixes #2529
2016-08-09 09:36:17 +01:00
Przemek Wesołek
9bd002e41d Change the order of static content generation. (#2528)
Prevents the `--rendertiddlers` removing the `static.css` file rendered earlier,
similar to https://github.com/Jermolene/TiddlyWiki5/pull/1207
and https://github.com/Jermolene/TiddlyWiki5/issues/703.
2016-08-08 11:16:48 +01:00
DoronTzur
10d5aecf3f @DoronTzur CLA signature (#2526) 2016-08-08 09:43:25 +01:00
Jermolene
4eed18496f Extend editor link button to create external links and missing links
Fixes #2521
2016-08-07 10:18:53 +01:00
Jermolene
959a7ac485 Add icon for foldbar visibility control
Fixes #2525
2016-08-07 10:16:44 +01:00
Jermolene
8f6abf534f Add descriptions for missing module types 2016-08-06 21:38:17 +01:00
Jermolene
b96377099a Add Hebrew translation
Many thanks to @DoronTzur
2016-08-06 15:56:25 +01:00
Jermolene
486b326ea9 Update for building 5.1.14-prerelease 2016-08-06 15:03:13 +01:00
Jermolene
7326a3a4cc Only call isReady() for sync adaptors that support it
Fixes #2522
2016-08-06 14:45:33 +01:00
Jermolene
08cfa88249 Fix problem with unsafe use of String.prototype.replace()
We were using `String.prototype.replace()` without addressing the
wrinkle that dollar signs in the replacement string have special
handling. This caused problems in situations where the replacement
string is derived from user input and contains dollar signs.

Fixes #2517
2016-08-06 14:45:33 +01:00
Przemek Wesołek
82694e1426 @jest CLA signature (#2524) 2016-08-06 14:38:01 +01:00
Sergey A. Shishkin
570c1b20f0 Update cla-individual.md 2016-07-28 18:08:59 +02:00
Jermolene
1da8a32837 Retrospectively update release node for 5.1.13 2016-07-25 11:11:28 +01:00
Jermolene
360915d3cd Version number update for 5.1.13 2016-07-25 09:51:02 +01:00
Jermolene
77eb05e7fe Update readmes 2016-07-25 09:50:24 +01:00
Jermolene
b201141753 Set dates for 5.1.13 2016-07-25 09:49:09 +01:00
Jermolene
65a5135245 Updated Portuguese Translation 2016-07-25 09:31:52 +01:00
Jermolene
851ea44b3b Content updates for 5.1.13 release 2016-07-25 09:10:45 +01:00
Jermolene
e282ff1d92 Fix problem with tiddler titled "undefined"
Fixes #2507

The problem stems from a JavaScript quirk: the fact that
`({“undefined":"Me"})[undefined]` returns “Me”. The quirk is that the
value `undefined` is coerced into the string “undefined” when used as
an index.

In this particular case, the code for `wiki.getTiddler()` was returning
the tiddler with the title `”undefined”` when called with the title set
to the value `undefined`. It happens that the pluginswitcher called
`wiki.getTiddler(undefined)`.
2016-07-22 11:31:02 +01:00
Jermolene
487d6642e3 Fix KaTeX rendering bug on Chrome
Fixes #2500
2016-07-21 08:48:13 +01:00
Jermolene
8f6178acfc Remove tiddler frame padding in print view
It was wasting a border around each page.
2016-07-20 22:09:41 +01:00
Jermolene
5cc09d9cd5 Fix some typos from #2504 2016-07-20 16:16:21 +01:00
Devin Weaver
64b7e66675 Prevent adding extra file extensions (#2504)
Fixes #2503

This bug was introduced in commit c4c7b18 where it would append
additional .tid extensions to a file every time the node server was
restarted.

Here we check the filepath does not have the extension already before
appending it.
2016-07-20 16:07:28 +01:00
Jermolene
6499fe5d3d Update docs for installing/uninstalling plugins 2016-07-20 16:02:04 +01:00
Jermolene
e49d310ea9 Relax external link matching to ignore illegal characters
Fixes #2501, and rolls back some of #2324
2016-07-20 11:37:44 +01:00
Jermolene
c4c7b1868c Ensure .tid extension when saving .tid files
Missed off of a4506231a7
2016-07-15 16:55:57 +01:00
Jermolene
a4506231a7 Fix writing non-wikitext text tiddlers
The plan had been to switch template depending on the content type, but
we’d only implemented support for saving wikitext tiddlers. That meant
that creating a tiddler with any non-wikitext content type failed to
write the file correctly under Node.js.

Now we just always save in .tid file format.
2016-07-14 17:42:57 +01:00
Jermolene
b357e8bb26 Correct thumbnail size 2016-07-14 16:19:25 +01:00
Jermolene
a0bdefbd8b Add HelloThere thumbnail for TWEUM2016 2016-07-14 15:46:41 +01:00
Jermolene
782553eb62 Remove tilde from characters not allowed in external URLs 2016-07-13 14:06:47 +01:00
Jermolene
b24488174c Prepare for 5.1.13-prerelease 2016-07-13 12:14:24 +01:00
Jermolene
939f0a9e1d Version number update for 5.1.12 2016-07-13 11:50:17 +01:00
Jermolene
6e0e43f68c Update readmes 2016-07-13 11:49:50 +01:00
Jermolene
fe85358bfd Release dates for 5.1.12 2016-07-13 11:48:50 +01:00
Myeongjin
e938c5f49b Update Korean translation (#2495) 2016-07-13 10:21:27 +01:00
Myeongjin
98b435d550 Fix inconsistencies in language string IDs (#2494) 2016-07-13 10:00:21 +01:00
Jermolene
62dac3e7d9 Release note updates 2016-07-12 18:18:28 +01:00
Jermolene
01859dadf5 Update contributors list 2016-07-12 18:10:18 +01:00
Jermolene
b849011d8f Move stacked view control panel into sidebar 2016-07-12 17:22:33 +01:00
Jermolene
dca9e008ce Remove single quote from illegal characters in URLs
Fixes #2493
2016-07-12 17:22:20 +01:00
Jermolene
1299472c38 Add links to TiddlyWiki European Meetup 2016 2016-07-12 13:16:30 +01:00
Jermolene
edde700138 Tweak colours for link info items 2016-07-12 13:16:30 +01:00
Jermolene
14dc8accd6 Blog plugin: Transclude caption so that wikitext works 2016-07-12 13:16:30 +01:00
Devin Weaver
aaf884b70a Add this.document to ES2016 documentation (#2314)
In the sample example for using ES2016 it used the
`$tw.utils.domMaker()`. I just found out that if this code is executed
by Node.js instead of in the browser that it doesn't work because
`window.document` doesn't exist. The expectation is that widgets pass in
the fake `this.document`.

I updated the example to reflect this.
2016-07-11 13:46:22 +01:00
Jermolene
aa58f4fc7d Introduction edition: Set default drawing colour 2016-07-11 13:27:12 +01:00
Devin Weaver
bf74d13df5 Handle binary files better when saving on Node.JS (#2420)
* Save binary tiddlers with meta file

The filesystemadaptor plugin was a little simplistic in its
understanding of a binary file. It was using the typeInfo dictionary to
choose what tiddler types were binary (and hence needed a meta file when
saving).

I looked as if it was trying to be smart by looking for the hasMetaFile
*OR* had the encoding of base64. Unfortunately the typeInfo only defined
image/jpeg and so any other base64 encoded tiddler was assumed to be of
type text/vnd.tiddlywiki.

The net effect was only JPG images got a meta file and everything else
were saved as .tid files with base64 encoding. It all still worked but
made working with binary data in a Git repo a bit daunting.

There is enough information in the $tw.config.contentTypeInfo to
determine if a tiddler type is encoded with base64 or not. A better list
is available from boot/boot.js who registers all the types thorough the
registerFileType and marks then with base64 were appropriate.

This commit uses the typeInfo dictionary first for any filesystem
specific overrides, then the contentTypeInfo, and finally defaults to
the typeInfo["text/vnd.tiddlywiki"]. It also eliminates the now
unnecessary override for image/jpeg.

I think this might have been the original intent from commit 10b192e7.
From my limited testing all files described in boot/boot.js (lines
1832-1856) with an encoding of base64 now save as the original binary
and a meta file. Meaning that when you start the node server and then
drag-n-drop a binary file (i.e. image/png) it will PUT to the server
and then save it on the filesystem as-is allowing the file to be managed
as a binary file and not a text file. (Binary diffs are better and
GitHub supports them as well).

* Prevent duplicate file extensions

A side effects of using the $tw.config.contentFileInfo in the previous
commit is that it will always append a file extension to the tiddler
title when saving. In most cases this is the correct course of action.
However, sometimes that title is already a proper filename with an
extension (for example importing 'foobar.png' would save a file named
'foobar.png.png') which seemed silly.

This commit simply checks to make sure the title does not already end
with the file extension before appending it to the filename. A little
convenience really.

Since IE apparently doesn't have the String endsWith method I took the
liberty to add a helper method to $tw.utils trying to follow the other
polyfill patterns. I figured this was more generic and readable then
attempting to use a one-off solution inline. I got the polyfill code
from MDN.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith#Polyfill

Is strEndsWith the best method name?
2016-07-11 11:18:19 +01:00
Brent Maxwell
19e699d330 Added mobile-web-app-capable meta tag for Android Chrome (#2456)
* Added mobile-web-app-capable meta tag for Android Chrome

* Added "mobile-web-app-capable" meta tag to the rest of the templates.
2016-07-11 11:16:58 +01:00
Bram Chen
59b62f68da Add Chinese translation for missing plugin info (#2466) 2016-07-11 11:16:27 +01:00
Jermolene
8dece4b4f6 Simplify styling of community resources
Feedback from @ssokolow
2016-07-10 16:14:58 +01:00
Jermolene
dd1e213b52 Add "Developers" to Reference section
Feedback from @ssokolow
2016-07-10 16:14:38 +01:00
Jermolene
1fdc7344ee Update new release banner picture 2016-07-10 15:37:48 +01:00
Jermolene
4523aece5e Fix reference to sync mechanism
Fixes #2492
2016-07-09 12:28:20 +01:00
Mario Pietsch
1b3819bf70 german language updatges (#2489) 2016-07-06 12:51:55 +01:00
Jermolene
1e87c4fb06 Merge branch 'pr/2473' 2016-07-05 18:09:04 +01:00
Jermolene
b2c6c24771 Minor fixes for #2473 2016-07-05 18:06:52 +01:00
Myeongjin
80256b4dab Update document in tiddlywiki.com edition
* Add string '.htm' to 'Saving with TiddlyIE'
* Change external links to match locale with wiki language
* Add instructions for use to 'Saving on Android'
* Change string in 'task'
* Change instructions for use in 'Saving on iPad/iPhone'
* Add newline to 'TiddlyDesktop Releases'
* Remove caption from 'Serving TW5 from Android'
* Change link to external in tiddlers which tagged 'Editions'
* Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki'
* Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community'
* Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community'
* Change string 'done' to 'Upgrade' in 'UpgradeMechanism'
* Change buttons to images in 'How to export tiddlers'
* Add images about buttons to tiddlers
* Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement'
* Rename 'UsingSVG' to 'Using SVG'
* Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG'
* Add tiddler 'Using Stamp'
* Add 'rel="noopener noreferrer"' to external links
* Add description about 'rel="noreferrer"' to 'HTML in WikiText'
* Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language'
* Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library'
* Add download button to 'Empty Edition'
2016-07-06 01:10:51 +09:00
Jermolene
c3d18364c1 Don't use syncadaptors until they are ready
Fixes #2453
2016-07-05 11:29:59 +01:00
Jermolene
ff57b4084a Extend notification handler to accept variables
Now we can provide variables to be passed to the rendering of the
notification text
2016-07-03 14:55:41 +01:00
Jermolene
6f8ee52e90 Text-editor: fix placeholder colour in Chrome 2016-07-03 14:53:37 +01:00
Devin Weaver
c0b55b4498 Show tags with contrast colour in edit template (#2484)
Closes #2483

Copy the same pattern from core/ui/TagTemplate.tid and use it in
core/ui/EditTemplate/tags.tid
2016-07-01 10:40:37 +01:00
Jermolene
e8e9759816 Add more flexible support for static content
Passing the static content through the `$:/core/templates/html-tiddler`
template made it impossible to produce output that wasn’t HTML encoded
(eg stylesheets).
2016-06-23 16:29:51 +01:00
Jermolene
3d5885f5a5 Extend view widget with plainwikified format 2016-06-23 16:28:59 +01:00
Jermolene
28730caf7b Remove missing link for http://dullroar.com/tiddlywiki5.html 2016-06-23 16:24:05 +01:00
Jermolene
4934d3251e Add note about docs forum 2016-06-23 16:23:52 +01:00
Jermolene
f51f6bf774 Fix URI in "put" save handler
We don’t want the location hash
2016-06-23 16:23:36 +01:00
Jermolene
bdd5aa9343 Trap missing tiddlers in savetiddler command 2016-06-23 16:19:00 +01:00
Myeongjin
4764c456ca Update document in fr-FR edition (#2474)
* Add field 'fr-title' to 'TaskManagementExample'
* Change button texts to latest version
* Change language English to French of link for empty edition
* Change language English to French of link for document
* Add download button to 'Empty Edition'
* Remove string 'index.html' from 'Full Edition'
* Change external links to match locale with wiki language
* Change string in 'task'
* Add newline to 'TiddlyDesktop Releases'
* Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki'
* Change instructions for use in 'Saving on iPad/iPhone'
* Add YouTube button to 'HelloThere'
* Add 'rel="noopener noreferrer"' to external links
* Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community'
* Change link 'TiddlyWiki Groups' to 'Forums' in 'Articles'
* Change language English to French of caption in tiddlers tagged 'HelloThumbnail'
* Add image to 'HelpingTiddlyWiki'
2016-06-14 21:10:42 +01:00
Andrew J Harrison
f76c7e9560 Refactor $:/core/ui/TagTemplate using sub-tiddlers (#2477)
The Open All by tag feature should really be in a plugin.
2016-06-14 16:46:40 +01:00
maxthomax
a9c4f113a1 More documentation about named properties (#2481)
* Made the link between "names" and "properties" explicit (I only figured it out by reading the TextReference documentation)
* Documented named property manipulation through ActionWidgets.
2016-06-09 22:09:16 +01:00
maxthomax
776d42c330 @maxthomax CLA signature (#2480) 2016-06-09 22:08:20 +01:00
twMat
77d4b084e6 Update TiddlerFields.tid (#2479)
Include mention of *caption* field.
2016-06-09 20:32:33 +01:00
Myeongjin
ace20ecf80 Updates and fixed for es-ES edition (#2475)
* Change button texts to latest version
* Change language English to Spanish of link for empty edition
* Rename 'GettingStarted1' to 'GettingStarted'
* Change language English to Spanish of link for document
* Add download button to 'Empty Edition'
* Change external links to match locale with wiki language
* Change string in 'task'
* Change link to external in tiddlers which tagged 'Editions'
* Remove dot from 'Plugin Editions'
* Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki'
* Add 'rel="noopener noreferrer"' to external links
* Remove CamelCase link 'TiddlyWiki' from 'Examples'
* Change space to dot in 'Tutorials'
* Change language English to Spanish of caption in tiddlers tagged 'HelloThumbnail'
* Change instructions for use in 'Saving on iPad/iPhone'
2016-06-09 16:49:50 +01:00
Richard Smith
b326ba5b2c Fixed: Titles containing a URL are interpreted as external links (#2324) 2016-06-05 20:03:04 +01:00
Myeongjin
423086bd11 Add localisable string for missing plugin info (#2465) 2016-05-26 09:06:17 -06:00
Bram Chen
9cb4c5f675 Clean up line endings (#2462)
Convert line endings to Linux style ("\n") to ensure greater consistency in repository.
2016-05-25 12:11:03 -06:00
Myeongjin
f7d49723ae Update translations (#2463) 2016-05-25 12:10:41 -06:00
Myeongjin
26a252ffd9 Remove unused strings for EditTemplate (#2461) 2016-05-24 07:46:59 -06:00
Myeongjin
74db143ee8 Split exporters from miscellaneous language tiddler (#2460) 2016-05-23 12:30:57 -06:00
Myeongjin
99c21232ee Fix referred name of localisable string for recursive transclusion error (#2458) 2016-05-22 15:33:02 -06:00
Xavier Cazin
b161f49126 fr-FR translation of additional error strings (#2459) 2016-05-22 15:32:37 -06:00
Brent Maxwell
9a936a0442 Signing the CLA (#2455) 2016-05-21 13:18:02 -06:00
Myeongjin
5cceca8f55 Update edition informations (#2457) 2016-05-21 08:25:33 -06:00
Myeongjin
fb146bc4b8 Fix readme path of jszip (#2430) 2016-05-20 07:46:29 -06:00
Myeongjin
2edaa5fbce Update tiddlywiki.com edition (#2454)
* Change button texts to latest version

* Move tiddler files to appropriate categorys
2016-05-20 07:46:11 -06:00
Bram Chen
fdbf56379a Add Chinese translation for error messages (#2450) 2016-05-18 18:49:07 +01:00
Jermolene
f846a004b6 Partial fix for copyStyles problem under Chrome
There’s still a problem: in Chrome, the styling of the textarea
placeholder isn’t correct.
2016-05-17 15:45:10 -06:00
Jermolene
682b1e7027 Fix sandbox attribute for html parser generated iframes
See
https://developer.mozilla.org/en/docs/Web/HTML/Element/iframe#attr-sandb
ox
2016-05-17 15:45:10 -06:00
Myeongjin
a90cb03975 Cleanup editions information (#2444)
* Replace spaces to tabs from editions information

* Remove theme nighttime from editions information
2016-05-17 22:00:26 +01:00
Myeongjin
34bc8a5507 Update Spanish translation (#2445)
* Remove snippet messages from miscellaneous

* Update GettingStarted
2016-05-17 22:00:00 +01:00
Myeongjin
e9eb40589d Add languages for developer documentation edition (#2446) 2016-05-17 21:59:27 +01:00
Myeongjin
6388f859d1 Add localisable strings for error (#2447)
* Add localisable strings for error

* Update tiddler Transclusion Basic Usage in fr-FR
2016-05-17 21:58:47 +01:00
Myeongjin
eb47c6b2c5 Update es-ES edition (#2442)
* Cleanup es-ES edition
* Cleanup edition infomation
* Remove newline at download-empty-button

* Update system tiddlers for es-ES edition
2016-05-16 12:01:19 -06:00
Myeongjin
2fa98ee642 Update system tiddlers for ko-KR edition (#2443)
* Change type to TiddlyWiki5 in $:/SiteSubtitle
2016-05-16 12:00:53 -06:00
Xavier Cazin
c5755c5262 fr-FR translations of strings newly made localisable by @araname (#2440)
* Translation of "count" in fr-FR

* fr-FR translation of Syncer strings
2016-05-14 09:00:25 -06:00
Bram Chen
da9f05b21c Update Chinese translation (#2439)
* Refine Simplified Chinese wording

* Add Chinese translation for new localisable strings
  * RecursiveTransclusion
  * Syncer
2016-05-13 08:39:13 -06:00
Jermolene
5f804ff11d Remove themetweaks overrides from tw5.com edition
The attempt to rename the Vanilla themetweaks to make it look like a
core component was mistaken because it requires us to duplicate a
shadow tiddler within an edition, creating a huge problem for the
future where we have to track all the overridden shadows and make sure
that they are updated manually.
2016-05-12 09:07:50 -06:00
Jeremy Ruston
444bb2f32b Rename Información_para_traductores.tid to Informacion_para_traductores.tid
There are problems on some platforms with Git and accented filename characters
2016-05-12 08:51:00 -06:00
Jeremy Ruston
1b5c806243 Rename Résumé_Builder_Edition.tid to Resume_Builder_Edition.tid
There are problems on some platforms with Git and accented filename characters
2016-05-12 08:50:35 -06:00
Jeremy Ruston
5297c887b2 Rename Edición_en_Castellano.tid to Edicion_en_Castellano.tid
There are problems on some platforms with Git and accented filename characters
2016-05-12 08:49:56 -06:00
Myeongjin
4c94b44bc4 Add ThemeTweaks to build target (#2437) 2016-05-12 08:46:47 -06:00
Paulus
fa61bc53fc TW5, Spanish Edition (#2436)
* TW5-es-ES-edition

Spanish edition of TW5.
A full localisation of TiddlyWiki into castillian spanish (es-ES).

* Translation ongoing

* Translation ongoing

* Translation ongoing

* Translation ongoing + TiddlySpot upload

* Translation ongoing

* Translation ongoing + macro fixes

* Translation ongoing

* translation ongoing + macro fixes

* Translation ongoing

* Translation ongoing

* Translation ongoing

* Translation ongoing

* Translation ongoing

* translation ongoing

* translation ongoing

* Translation ongoing

* translation ongoing

* translation ongoing

* translation ongoing

* Arreglo plugin

* Arreglo plugin

* Translation ongoing

* Translation ongoing

* Translation ongoing

* translation ongoing

* Add Spanish edition to TW5.com

* Reverting forced language plugin load.

folder es-ES was provisorily added to the tiddlerStore in order to force the load of the updated language plugin. Finished the translation, and with the updated plugin on place, this folder has no use when the new release comes out.
2016-05-12 08:46:18 -06:00
Myeongjin
8afc1e9354 Add localisable strings (#2438)
* Add localisable string for recursive transclusion error

* Add localisable string for count

* Add localisable strings for syncer
2016-05-12 08:44:28 -06:00
Myeongjin
9f7e55c317 Add system tiddler for language editions (#2421) 2016-05-11 11:41:25 -06:00
Myeongjin
33a569f6ce Fix problem when single tiddler is outputed (#2433) 2016-05-11 11:26:13 -06:00
Myeongjin
7ccddeeab7 Update Korean translation (#2434) 2016-05-11 11:24:08 -06:00
Jermolene
c5ac10024b Text-slicer: Fix issue with missing destination title 2016-05-11 11:13:15 -06:00
nameanyone
2a4a3d9fe9 Replace spaces with margins in editor toolbar (#2429) (#2435) 2016-05-11 11:09:54 -06:00
Bram Chen
6ee90880df Add Chinese translations for Settings/EditorToolbar (#2431) 2016-05-10 12:11:27 -06:00
Myeongjin
71284fbc6a Except specific prefixes from miscellaneous in translators plugin (#2432) 2016-05-10 12:07:13 -06:00
Jermolene
7598832e01 Minor fix to preview-closed icon 2016-05-09 14:41:13 -06:00
Jermolene
e54cc7b211 Fix copyStyles() not working in Firefox
Yet more browser incompatibilities to weep over…
2016-05-09 14:11:08 -06:00
Jermolene
c8777ea012 Add control panel setting for disabling the new editor toolbar 2016-05-09 10:33:15 -06:00
nameanyone
848a65d840 Remove space character between Cancel and Save buttons (#2428) 2016-05-09 09:52:27 -06:00
Xavier Cazin
f7aecd3293 Refinements of ThemeTweaks fr-FR strings (#2425)
* Refinements in ThemeTweaks fr-FR string

* fr-FR translation for Yes and No
2016-05-08 14:50:34 -06:00
Mario Pietsch
79ee3b5a3b new german text elements (#2426)
* new german text elements

* Theme-Tweaks first take.
2016-05-08 14:50:09 -06:00
Myeongjin
faa3653683 Minor update Korean translation of ThemeTweaks (#2427) 2016-05-08 14:49:34 -06:00
Jermolene
d1642da2a9 Add link to Stephen Kimmel's plugins 2016-05-05 19:10:20 +01:00
Bram Chen
732c566688 Update Chinese translation (#2423)
* Add Chinese translation for tweaks of the Vanilla theme

* Add Chinese translation for tweaks of the Vanilla theme
  for missing ThemeTweaks.multids
2016-05-05 18:29:19 +01:00
Jermolene
3a3754aebb Add rel="noopener noreferrer" to external links
Background:
https://medium.com/@jitbit/target-blank-the-most-underestimated-vulnerab
ility-ever-96e328301f4c#.hduwdbjlb
2016-05-05 11:49:40 +01:00
Jermolene
8a08eee4bd Remove duplicate fr-FR edition tiddler 2016-05-05 11:48:44 +01:00
Myeongjin
71111550d6 Add localisable strings for vanilla (#2422)
* Add localisable strings for vanilla

* Remove system tiddler for theme tweaks from fr-FR edition
2016-05-05 10:11:06 +01:00
Jermolene
854a9a3b75 Refine behaviour of heading formatting toolbar buttons
Previous behaviour was that the H1 button on `!!! x` gave us `!! x`
2016-05-05 07:54:32 +01:00
Myeongjin
048d421c06 Add system tiddlers of document for ko-KR edition (#2419) 2016-05-03 16:44:33 +01:00
Xavier Cazin
398e9b2d08 update tiddlers from fr-FR edition after their updated shadow counterparts (#2404) 2016-05-02 11:24:48 +01:00
Xavier Cazin
ea8b81935a Improvements to Android and fr-FR docs (#2418)
* A third way to use TW5 on Android

small improvements to Android/Node.js doc tiddlers

* fr-FR translation for the link button

* replace _ with space in file name
2016-05-02 11:08:27 +01:00
Jermolene
e3415796b2 Fix problem with lazy loading images
Fixes @2263

Thanks @buggyj
2016-05-02 10:29:26 +01:00
Jermolene
a11a4de6af Fix problem with editing missing tiddlers
Fixes #2412
2016-05-02 10:12:08 +01:00
Myeongjin
5f68f411c8 Replace '_' to space in tw5.com edition (#2417)
* Move tiddler 'thumbnail Macro (Examples)' to directory 'macros/examples'

* Replace '_' to space in tw5.com edition
2016-05-02 08:34:30 +01:00
Jermolene
3bce7b3bc0 Update release note 2016-05-02 08:24:54 +01:00
Jermolene
54bf6c8a93 Fix table of contents issue with tiddler titles containing single quotes 2016-05-02 08:20:04 +01:00
Jermolene
cdeca55d45 Fix another IE11 problem
IE11 doesn’t support String.prototype.repeat
2016-05-01 18:17:47 +01:00
Jermolene
01eb45946c Fix problem with IE11
It turns out that IE11 has a horrible bug whereby setting the
placeholder attribute before setting the text will trigger an input
event:

https://social.msdn.microsoft.com/Forums/ie/en-US/ae4832b0-8eee-4729-b93
3-a9977ea1b583/internet-explorer-input-event-get-fired-when-settingunset
ting-the-placeholder?forum=iewebdevelopment
2016-05-01 18:17:28 +01:00
Jermolene
037cfb7cc7 Fix problem with modals in zoomin storyview 2016-05-01 15:41:36 +01:00
Jermolene
785ad664de Add a link to @malgam's sandbox 2016-05-01 14:19:46 +01:00
Jermolene
c5a1e105d5 Remove quotes from bad title character warning
Experience shows that both double and single quotes are OK
2016-05-01 13:56:41 +01:00
Jermolene
6dce8d9763 Remove final vestiges of undo/redo buttons 2016-05-01 13:54:16 +01:00
Jermolene
72fb1e22ed Remove undo/redo formatting toolbar buttons
There have been long standing problems with the buttons not working in
Firefox, and now a [further
problem](https://groups.google.com/d/msg/tiddlywiki/GlsruQyPOag/BAhnI2mt
BgAJ) has come to light, and been similarly hard to resolve.

On balance, I’ve decided to remove the undo/redo buttons from the
toolbar (the ctrl/cmd-Z shortcut is still operational), thus avoiding
the problems, and saving some space in the core.
2016-05-01 13:51:45 +01:00
Xavier Cazin
727b7b1ed0 A third way to use TW5 on Android (#2415) 2016-04-30 21:47:09 +01:00
Jermolene
1515fd42ed Fix text editor for Internet Explorer
By switching from text events to execCommand.
2016-04-30 14:36:53 +01:00
Jermolene
3bd5d49933 Increase editor toolbar button group spacing 2016-04-30 12:35:32 +01:00
Bram Chen
70c65f6c0d Add Chinese translation for "link" editor toolbar button (#2413) 2016-04-30 12:24:06 +01:00
Myeongjin
65f3d09501 Update Korean translation (#2414) 2016-04-30 12:01:59 +01:00
Jermolene
752a126cc4 Fix premature commit of link button
Whoops
2016-04-29 19:19:18 +01:00
Jermolene
7224fea961 Introduce "link" editor toolbar button
As proposed by Alex Hough
2016-04-29 18:54:44 +01:00
Jermolene
b1fb1070ef Enhance linkcatcher widget to use actions attribute 2016-04-29 18:54:44 +01:00
Jermolene
3c20f2396e Add support for assigning action widgets via the actions attribute
This is quite a big change: a new way to invoke action widgets.

The advantage is that it solves #2217 and #1564, a long running problem
that prevented us from adding action widgets to widgets that modify the
store.

This commit adds the new technique for the button and keyboard widgets,
but also extends the select widget to trigger action widgets for the
first time
2016-04-29 18:54:44 +01:00
Jermolene
b53f4e9b20 Remove another extraneous mode field
Missed off 987c876cfaa8f0d8050c687c26adee250fa0062d
2016-04-29 18:54:44 +01:00
Jermolene
5086722ee2 Fix TiddlyChrome URI 2016-04-29 18:54:44 +01:00
Jermolene
3156d3d7ce Add spacers to formatting toolbar 2016-04-29 18:54:44 +01:00
Jermolene
39f0c19c9a Allow "yes" as a synonym of "true"
For consistency
2016-04-29 18:54:44 +01:00
Jermolene
f470c54fc5 Convert spaces to tabs 2016-04-29 18:54:44 +01:00
Jermolene
7d0ac4f86e Remove extraneous "mode" field from snippet tiddlers 2016-04-29 18:54:44 +01:00
Myeongjin
a73fc6aa0b Update fr-FR translation (#2411)
* Update fr-FR translation for links in command help

* Remove unnecessary spaces
2016-04-29 09:02:27 +01:00
Myeongjin
52e1b1175b Minor update Korean translation (#2410) 2016-04-29 08:16:20 +01:00
Jermolene
0e713bbf8c Release note update 2016-04-27 17:25:38 +01:00
nameanyone
19ee5bcf4e "days" filter: yesterday and tomorrow edge cases (#2364)
* Change the negation logic to address an edge case

Make it possible to get an interval ending with yesterday or starting with tomorrow.

* "days" filter: adjust documentation
2016-04-27 17:23:46 +01:00
Myeongjin
c33e83f595 Cleanup language editions (#2408)
* Cleanup language editions infomation

* Move system tiddler language in directory system

* Remove newline at download-empty-button
2016-04-27 16:48:20 +01:00
Myeongjin
4a12d0e71b Add ko-KR Server edition (#2405) 2016-04-27 08:46:09 +01:00
Myeongjin
fce19371fe Update Japanese (Japan) edition (#2406) 2016-04-27 08:35:51 +01:00
Myeongjin
bb1c660a51 Cleanup language editions (#2396)
* Fix problem in GettingStarted and SiteTitle

* Remove snippets message in miscellaneous
2016-04-27 07:58:50 +01:00
Paulus
b7f322a1d4 es-ES language plugin updated (#2401)
Translation updated to version 5.1.12:
-Newly added strings translated (text editor)
-Fixes typos and inconsistence of the prior translation
2016-04-26 07:56:19 +01:00
Jermolene
6f6cdc1bd0 Fix problem with formatting toolbar dropdowns
Cruft left over from the last big refactoring…
2016-04-26 07:43:13 +01:00
Jermolene
0151363b74 House style for tw5.com is to use -ise not -ize 2016-04-26 07:42:52 +01:00
nome
1ae428e323 Make tiddler file paths configurable (#2379)
When saving new tiddlers on node.js, allow the user to override the path of the
generated .tid file. This is done by creating a tiddler
$:/config/FileSystemPaths which contains one or more filter expressions, one
per line. These filters are applied in turn to the tiddler to be saved, and
the first output produced is taken as a logical path relative to the wiki's
tiddlers directory. Any occurences of "/" in the logical path are replaced with
the platform's path separator, the extension ".tid" is appended, illegal
characters are replaced by "_" and the path is disambiguated (if necessary) in
order to arrive at the final tiddler file path. If none of the filters matches,
or the configuration tiddler does not exist, fall back to the previous file
naming scheme (i.e. replacing "/" by "_").

This implies we will now, for tiddlers matching the user-specified filters,
create directory trees below the tiddlers directory. In order to avoid
cluttering it with empty directory trees when renaming or removing tiddlers, any
directories that become empty by deleting a tiddler file are removed
(recursively).

Benefits of this configuration option include the ability to organize git
repositories of TiddlyWikis running on node.js, ability to replace characters
that cause trouble with particular operating systems or workflows (e.g. '$' on
unix) and the ability to replicate tiddler "paths" in the filesystem (by
including a filter like "[!has[draft.of]]") without forcing such a (potentially
problematic) change on all users.
2016-04-25 08:36:32 +01:00
Andreas Hahn
d1f2c399ce Add missing widget message documentation (#2399)
* Add documentation to various widget messages.
The following widget messages now have documentation:
* tm-edit-bitmap-operation
* tm-edit-text-operation
* tm-fold-all-tiddlers
* tm-fold-other-tiddlers
* tm-fold-tiddler
* tm-unfold-all-tiddlers
* tm-load-plugin-from-library
* tm-load-plugin-library
* tm-open-window
* tm-scroll

* Fixed alignment error.
2016-04-25 08:28:42 +01:00
Jermolene
387198d9d9 Add instructions for adding a table of contents tab to the sidebar 2016-04-24 16:15:11 +01:00
Xavier Cazin
4d9c228df1 Minor but long overdue improvements to fr-FR translation (#2394)
* Finally get the word "language" translated in fr

* fr-FR: More verbal consistency between captions and hints

* fr-FR mistranslation of "Tiddler Fields"
2016-04-24 16:04:44 +01:00
Jermolene
556e54a0f6 Add link to @stevenleeg's twproxy 2016-04-24 16:03:46 +01:00
Bram Chen
eddefe3a58 Fix docs example (#2393)
Remove redundant double quotes
2016-04-24 15:53:43 +01:00
Jermolene
360ad9a1cc Updated Dutch translation from @gernert 2016-04-24 13:43:07 +01:00
Jermolene
51798414c0 Add Danish to release note 2016-04-24 13:39:03 +01:00
Jermolene
d0bbf3d8d1 Updated Danish translation from Birthe C 2016-04-24 13:38:42 +01:00
Jermolene
ec59316ca5 Revert "Updated Dutch translation from @gernert"
This reverts commit b2143f91d9.
2016-04-24 13:36:18 +01:00
Jermolene
b2143f91d9 Updated Dutch translation from @gernert 2016-04-24 13:35:34 +01:00
Jermolene
0bd79694f2 Change the keyboard shortcut for the preview pane
ctrl-P clashes with the system default for “Print” on Windows (and
Linux?)
2016-04-24 13:31:04 +01:00
Evolena
2b1d38d3ca Add a subfilter parameter to image-picker macro (#2391)
* Documentation and examples
* Fix the tag of image- and colour-picker macros in documentation
2016-04-24 13:27:32 +01:00
Jermolene
fe63694a20 Add link to @roma0104's Sublime Text TW extension 2016-04-24 13:20:03 +01:00
Myeongjin
86f99d1f9e Add Korean (Korea Republic) Edition (#2392)
empty only
2016-04-24 13:11:25 +01:00
Jermolene
b7530bac44 Ensure iframe textarea styles are updated
Previously, changing the palette didn’t update the textarea styles.
2016-04-24 12:30:44 +01:00
Jermolene
f5f92072e1 Add @sukima's personal site example 2016-04-24 12:22:34 +01:00
Jermolene
ba8c4dca98 Fix minor glitch with the file icon 2016-04-24 12:08:42 +01:00
Bram Chen
02da449525 Release note update (#2389) 2016-04-24 09:40:30 +01:00
Myeongjin
a2fdfe8ad4 Update Korean translation (#2390) 2016-04-24 09:39:50 +01:00
Jermolene
3e9cc3e8fd Add a warning for undo/redo buttons in Firefox 2016-04-24 09:32:06 +01:00
Jermolene
3b49cd17fc Fixes from @Infurnoape 2016-04-23 17:23:14 +01:00
Jermolene
d58be59586 Docs update 2016-04-23 17:20:57 +01:00
Eric Drechsel
69f7119b25 Add gettingstarted doc for webdav (#2291) 2016-04-23 08:51:52 +01:00
Jermolene
db86586219 Switch tw5.com to fluid-fixed layout 2016-04-22 17:37:45 +01:00
Jermolene
df9f94900a Release note update 2016-04-22 17:37:35 +01:00
Paulus
dcffd93a28 Update docs for GitHub ribbon plugin (#2384)
* Outdated source of Corner ribbon plugin

No sources provided for  [[$:/plugins/tiddlywiki/github-fork-ribbon]].
Edition aims to its current source in the plugin library and updates the plugin name

* CamelCase link override for visual clarity

* typo corrected
2016-04-22 16:06:19 +01:00
Jermolene
5b11399793 Update KaTeX plugin to v0.6.0 2016-04-22 15:50:23 +01:00
Jermolene
147ce5803c Add link for TiddlyChrome 2016-04-22 15:37:55 +01:00
twMat
1069fc2e45 Docs: Correct faulty tab reference (#2385) 2016-04-22 11:25:11 +01:00
Jermolene
44e9634164 Update codemirror and markdown plugins from #2315 2016-04-22 08:41:31 +01:00
Jermolene
f68bdce7a8 Add the new toolbar icons back 2016-04-22 08:39:08 +01:00
Jeremy Ruston
2adf09129d Introduce text editor toolbar (#2315)
Tada!
2016-04-22 08:36:29 +01:00
Jermolene
4dd701c2dd Fix problem with missing link logic
See
https://github.com/Jermolene/TiddlyWiki5/commit/7908e10488cc4280dd8e4f40
5bcb09f2fb6d3524#commitcomment-17174321
2016-04-20 11:57:38 +01:00
Mario Pietsch
3463a576f2 DE translation for new core texts (#2383)
* Translation for new core texts

* fix some typos

* tiddlyspot settings
2016-04-20 11:47:36 +01:00
Jermolene
a38d133d6e Move text editor images into master
There’s currently 249 changed files in the text-editor branch, which
exceeds github.com’s ability to display the diffs. So we’ll put the
images straight into master to get the diffs down by 32 files.
2016-04-19 08:30:04 +01:00
Jermolene
1e0d019610 Don't repeatedly lazy load the same tiddler
If we don’t get a “text” field back the first time we shouldn’t keep
asking for it.
2016-04-18 14:50:13 +01:00
Myeongjin
e6e346ea29 change string 'Close' to lowercase for dialog (#2366) 2016-04-14 23:03:14 +01:00
Devin Weaver
bea6d741e3 Reword makedatauri.js description (#2373)
Closes issue #2372
2016-04-14 23:02:40 +01:00
Paulus
93b62bfa8c CLA signature for @PauDeLuca (#2375) 2016-04-14 23:02:25 +01:00
Myeongjin
5738543dd3 Update korean translation for Settings/MissingLinks 2016-04-06 08:43:00 +01:00
Bram Chen
b2cfd172f8 Add zh translations for Settings/MissingLinks 2016-04-05 09:02:29 +01:00
Devin Weaver
de3adf905a Fix word wrapping in code blocks
* Fix word wrapping in code blocks

When you create a code block with the three back ticks any thing that
was wider then the pre block would be word wrapped. That causes code
snippets to look odd.

* Make code wrapping a theme tweek option
2016-04-04 17:27:55 +01:00
nome
811aa23010 Include tiddler line number in SyntaxError output
While JavaScript runtime errors include the line number within the

module tiddler where the error occured, syntax errors do not, leaving

the user guessing where the error is hiding. Attempt to remedy this, as

well as the various platforms permit.
2016-04-04 12:46:48 +01:00
nome
9e01a30dc7 Small documentation fixes
* Copy example from  ActionSendMessageWidget to tm-new-tiddler

It is counter-intuitive that the ActionSendMessageWidget documentation has more information on tm-new-tiddler than the more specific one.

* Fix link in reference docs

* Fix some typos
2016-04-04 12:45:31 +01:00
Devin Weaver
7908e10488 Add option to disable linking to missing tiddlers
* Add LinkWidget option to ignore missing tiddlers
* Add missing link option to settings
2016-04-04 12:43:40 +01:00
nome
37823f64e9 Add build targets to server edition
Define for the server edition the same build targets as for the empty

edition, but using the correct template so that the "offline" version

(target "index") works correctly when accessed via HTTP. With this,

`tiddlywiki --build index` is equivalent to the save button.



While the process of setting up TiddlyWiki on Node.js is well documented

and easy enough, the options for  publishing such a wiki to an offline

version (scriptably, e.g. for push-to-deploy setups) are decidedly

non-obvious. With the added build steps, the user only needs to know

three simple commands:



tiddlywiki --init server

tiddlywiki --server

tiddlywiki --build index



and optionally



tiddlywiki --build static
2016-04-03 20:22:11 +01:00
nome
0dd3e9c144 CLA Signature for @nome 2016-04-03 20:21:01 +01:00
Jeremy Ruston
2c6b2ec2c6 Merge pull request #2355 from BramChen/zh
Update Chinese translations
2016-04-01 11:55:02 +01:00
Jeremy Ruston
d8c96af1c8 Merge pull request #2356 from araname/master
Update Korean translation
2016-04-01 11:40:05 +01:00
Myeongjin
08b949ac85 update korean translation of Title/BadCharacterWarning 2016-04-01 19:16:12 +09:00
Bram Chen
05ca3a8b5e Add more zh translations for plugin library 2016-04-01 08:53:34 +08:00
Jeremy Ruston
f208da134e Merge pull request #2354 from araname/master
Add localisable strings for plugin library
2016-03-31 16:12:52 +01:00
Myeongjin
fb381b452a add localisable strings for plugin library
'define lingo-base()' is don't need in dialog 'get more plugins'.
2016-03-31 23:26:27 +09:00
Jeremy Ruston
9963bc94e5 Merge pull request #2353 from BramChen/patch-1
Fix pattern for bad characters when editing tiddler titles
2016-03-31 14:55:27 +01:00
Jeremy Ruston
1d8687e05a Merge pull request #2352 from BramChen/zh
Update Chinese translations
2016-03-31 14:54:44 +01:00
Bram Chen
148fd8d15b Fix pattern for bad characters when editing tiddler titles
It looks like missing a character ' in pattern
2016-03-31 20:40:58 +08:00
Bram Chen
c300ae001c Add Chinese translations of Title/BadCharacterWarning 2016-03-31 19:53:41 +08:00
Jermolene
12661f5cda Add warning for bad characters when editing tiddler titles
Fixes #2351
2016-03-31 11:14:18 +01:00
Jeremy Ruston
5e720c0d57 Merge pull request #2349 from BramChen/zh
Update Chinese trannslations
2016-03-29 08:14:47 +01:00
Bram Chen
0edb2f1ed8 Add zh trannslations of Plugins/NoInformation 2016-03-29 10:33:05 +08:00
Jeremy Ruston
dd27fee15e Merge pull request #2348 from araname/master
Add localisable strings
2016-03-28 16:34:43 +01:00
Myeongjin
c9b0e15201 add localisable strings for dialog 2016-03-28 16:24:55 +09:00
Myeongjin
034796bee6 add localisable string for plugin configure 2016-03-28 16:24:47 +09:00
Jeremy Ruston
ec8cde981f Merge pull request #2342 from araname/master
Update Korean translation
2016-03-26 08:34:18 +00:00
Myeongjin
c407327e48 update korean translation for the extended edit preview 2016-03-26 15:16:42 +09:00
Jermolene
fdbc62dc11 Fix story river width with non-zero storyleft
Fixes #1640
2016-03-22 12:05:18 +00:00
Jermolene
276074b6cf Fix problem with scrollable widget in static rendering
Fixes #1910
2016-03-21 21:59:57 +00:00
Jeremy Ruston
528e10c11f Merge pull request #2333 from kixam/master
update information about datepicker
2016-03-20 14:57:51 +00:00
Aurélien Correia
0ca66e5dd5 update information about datepicker 2016-03-20 15:48:43 +01:00
Jermolene
086506012d Remove extraneous macro definition 2016-03-07 20:11:28 +00:00
Jermolene
bd7f1fda61 Update plugin library version 2016-03-07 20:11:28 +00:00
Jermolene
641ac7f6a0 Release note update 2016-03-07 20:11:28 +00:00
Jeremy Ruston
3fadee841a Merge pull request #2313 from webninjasi/patch-1
Fix invalid header in upload plugin
2016-03-04 09:42:41 +00:00
webninjasi
ed802d2933 Signing the CLA 2016-03-03 21:43:18 +02:00
webninjasi
47d518d6d4 Fix invalid header in upload plugin 2016-03-03 19:08:24 +02:00
Jermolene
51db3e9e75 Text-slicer: style edit and view templates 2016-02-29 17:47:46 +00:00
Jermolene
6e4222e5e8 Text-slicer: tweak interactive document display
* Add icon for view template segment
* Muted background colour for view template segment
* Include links to parent tiddlers in the view template segment
* Fix logic for hiding/showing documents/headings (“open”/“close” were
transposed)
2016-02-28 20:18:01 +00:00
Jermolene
e2d0b70fad Text-slicer: Add an advanced search filter for orphans
Locates tiddlers marked as document components that are not linked into
any active document
2016-02-28 19:56:24 +00:00
Jermolene
4041009d43 Text-slicer: standardise titles of state tiddlers
As noted by @Evolena, it’s cleaner to use the standard prefix for the
UI state tiddlers
2016-02-27 14:40:14 +00:00
Jeremy Ruston
abbb3c15e0 Merge pull request #2308 from FND/podcast
Add podcast link
2016-02-27 12:32:13 +00:00
FND
b2ea4ace23 Sign CLA 2016-02-27 13:31:35 +01:00
Jermolene
7498989ebb Text-slicer: better support for specifying the output title
Can be specified directly, or taken from a field of the tiddler being
sliced, falling back to a default.
2016-02-27 12:25:48 +00:00
Jermolene
cd0a0aa1fb Add YouTube banner to HelloThere 2016-02-27 12:25:04 +00:00
FND
d0160d5915 Add podcast link 2016-02-27 10:50:51 +01:00
Jermolene
8d4341a02d Mend positioning of vertical sidebar tabs
Fixes #2305
2016-02-22 12:37:52 +01:00
zakrec
8ec8c5103e Update cla-individual.md
Signing the CLA
2016-02-21 07:56:08 +01:00
Jermolene
5f6a53eae1 Fix typo from 4a03dcab20 2016-02-20 21:44:52 +00:00
Jeremy Ruston
35fe5a5fc3 Merge pull request #2294 from mklauber/patch-2
Update has.js for improvement to #2274
2016-02-20 21:43:58 +00:00
Matt Lauber
899c5cb835 Update has.js 2016-02-18 11:51:29 -05:00
Jermolene
4a03dcab20 Fix problem with double-byte Unicode entities
Entities such as `&#128119;` were broken because
`String.fromCharCode()` is not fully Unicode aware. The fix is to use
`String.fromCodePoint()` where available.

Noted by @ericshulman
2016-02-18 13:49:09 +00:00
Jeremy Ruston
9158302475 Merge pull request #2290 from edrex/putsaver_probe
putSaver: probe for server support on startup
2016-02-16 20:29:43 +00:00
Eric Drechsel
60d585f7d5 putSaver: probe for server support on startup
save fails until probe succeeds,
allowing other saver methods to take over

Follow up to #2288, #2277
2016-02-16 10:53:15 -08:00
Jeremy Ruston
1f4df88960 Merge pull request #2284 from mklauber/patch-2
Fix for #2274
2016-02-16 16:37:46 +00:00
Jermolene
9abe85f60b Minor tweaks to #2275
* Cleaner handling of “updated” attribute
* Fixed handling of note attributes, which now get imported as custom
fields
* Clearer handling of ISO dates
2016-02-16 16:35:28 +00:00
Jeremy Ruston
7ea3ef7062 Merge pull request #2275 from Marxsal/patch-9
ENEX import - Apply modified (updated) dates
2016-02-16 16:24:45 +00:00
Matt Lauber
5a14b37686 Update to check if empty sting OR (is array AND is empty) 2016-02-16 08:08:09 -05:00
Jeremy Ruston
12f208b327 Merge pull request #2288 from edrex/put_saver_followup
putSaver: return null on save success, TODOs
2016-02-16 08:26:32 +00:00
Jeremy Ruston
ffa1f5efb6 Merge pull request #2289 from BramChen/zh
Update zh-Hans and zh-Hant
2016-02-16 08:23:49 +00:00
Bram Chen
bde74dbd4c Add chinese transaltions for the extended edit preview
* Body/Preview/Type
* Body/Preview/Type/Output
2016-02-16 12:15:18 +08:00
Eric Drechsel
dd43759ecc putSaver: return null on save success, TODOs 2016-02-15 15:20:30 -08:00
Jermolene
f8552ac48d Readme for internals plugin 2016-02-15 22:43:15 +00:00
Jeremy Ruston
2203c2b38a Merge pull request #2277 from edrex/put_saver
add a simple put saver, for saving to a webdav or REST server
2016-02-15 22:00:46 +00:00
Jeremy Ruston
f60344a0ed Merge pull request #2286 from edrex/patch-1
sign CLA @edrex
2016-02-15 22:00:25 +00:00
Eric Drechsel
85b02d6730 sign CLA @edrex 2016-02-15 13:31:23 -08:00
Jeremy Ruston
74d933a254 Merge pull request #2281 from rcrath/patch-1
Update cla-individual.md
2016-02-15 20:22:47 +00:00
Jermolene
5ba7b30891 Update system tags docs 2016-02-15 17:43:54 +00:00
Matt Lauber
22145e2e51 Fix for #2274
List fields (such as tags) when evaluated to produce tiddlers result in empty arrays.  Using the exact not equals, an empty array is not the same as an empty string.  By using equivelent not equals, we state that the field is either != "" or anything that can be coerced to "".  Which, based on https://dorey.github.io/JavaScript-Equality-Table/ is `false` `0` `[]` or `[[]]`` neither `false` nor `0` can be set as a tiddler field as both will end up being quoted (`"false"`, `"0"`) so this should work.
2016-02-15 08:31:23 -05:00
Jermolene
e4fa7d579a Added raw html preview to internals plugin 2016-02-15 12:02:46 +00:00
Jermolene
b0aed107d3 Fix internals plugin tiddler titles 2016-02-15 12:02:37 +00:00
Jermolene
3ae0f3666a Add Internals plugin
Adds a live preview of the raw JSON of the parse tree or widget tree
generated from a tiddler.
2016-02-15 11:38:55 +00:00
Jermolene
7daebba46b Make edit preview pane extensible
Additional preview panes are tagged “$:/tags/EditPreview“. A dropdown
is shown if there is more than one edit preview loaded.
2016-02-15 11:38:21 +00:00
Jermolene
df3e39d97a Update wikiparser file comment 2016-02-15 11:33:47 +00:00
Rich Rath
f71dd4e50d Update cla-individual.md 2016-02-12 18:02:33 -10:00
Jermolene
89031e5b9c Add missing URL to release note 2016-02-11 09:48:54 +00:00
Jeremy Ruston
dd9fc6a51e Merge pull request #2265 from felixhayashi/fix/icon
fixed malformatted svg
2016-02-11 09:48:43 +00:00
Jeremy Ruston
459802cc86 Merge pull request #2237 from gernert/patch-7
Update SystemTags.tid
2016-02-11 09:47:33 +00:00
Jeremy Ruston
954db956e0 Merge pull request #2235 from araname/master
fix problem in GettingStarted and SiteTitle, and update Korean translation
2016-02-11 09:47:20 +00:00
Jeremy Ruston
a19b4eeeed Merge pull request #2219 from sukima/feature/babel-plugins
Using ES2016 for Writing Plugins HowTo Documentation
2016-02-11 09:36:35 +00:00
Jeremy Ruston
c61364f46a Merge pull request #2214 from sukima/feature/editing-with-vim
Add Editing Tiddlers with Vim
2016-02-11 09:36:11 +00:00
Jeremy Ruston
581634d282 Merge pull request #2164 from pmario/issue-2158
Issue 2158 - check for new draft fields and warn if cancel is clicked
2016-02-11 09:31:58 +00:00
Jermolene
5ba4730fd7 Release note update for 5.1.12 2016-02-09 21:18:52 +00:00
Eric Drechsel
f8565443d7 add a simple put saver, for saving to a webdav or REST server 2016-02-08 13:40:10 -08:00
Marxsal
eabf187a7f Update modified (updated) dates
Without modified dates, new imports do not appear in recent file list. The equivalent of modified dates in ENEX is the 'updated' tag, with a date format similar to that of TW with the exception that the date format consists of a date stamp, a letter T, and a time stamp followed by Z for UTC presumably. There is no millisecond indicator. Not all ENEX notes have an update tag. The solution here is to apply creation date by default and then apply the update date if it is available.  Dates are converted by stripping out Z and T and appending '000'.
2016-02-07 10:59:57 -08:00
Myeongjin
5a085ff105 update korean translation 2016-02-07 15:07:32 +09:00
Myeongjin
c05c8e8878 fix problem in GettingStarted and SiteTitle 2016-02-07 15:06:56 +09:00
Myeongjin
09d4d0e3e3 Merge remote-tracking branch 'refs/remotes/Jermolene/master' 2016-02-07 15:04:53 +09:00
Jermolene
5238b4d503 Evernote plugin: fix crash with missing fields 2016-02-05 23:05:24 +00:00
Jermolene
b3e0e134ab Include xmldom plugin in full edition
Required by text-slicer
2016-02-05 19:48:50 +00:00
Jermolene
5b925ed868 Further tweaks to #2272
@sukima the main issue with the previous code was that it incorrectly
used comma to delimit tags. We actually use spaces, and double square
brackets to delimit tags containing spaces. Better is to leave the tags
field as an array; the core will serialise it correctly as required.

I also made some minor consistency tweaks.
2016-02-05 19:48:37 +00:00
Jermolene
6aac2b00c9 Correct typo in #2272 2016-02-05 19:03:58 +00:00
Jeremy Ruston
d1d41fb9fc Merge pull request #2272 from sukima/feature/issue-2268-evernote-importer
Add some features to the EverNote import plugin
2016-02-05 18:56:38 +00:00
Jermolene
fddf18b920 Add xmldom plugin to text-slicer edition 2016-02-05 18:54:32 +00:00
Jermolene
8f5eaf5194 Release note for 5.1.12 2016-02-05 18:46:11 +00:00
Jermolene
46800d790a Text-slicer: Add list-children filter operator
Again, I needed this for the day job. @felixhayashi I think you
submitted a pull request for something similar, would this version meet
your needs?
2016-02-05 18:46:01 +00:00
Jermolene
adf45b3468 Add a bulk delete button
I needed this in my day job, but think we need to do better on bulk
operations
2016-02-05 18:44:43 +00:00
Jermolene
8bc0633b6f Refactor AdvancedSearch/Filter to make buttons extensible 2016-02-05 18:43:52 +00:00
Jermolene
147dc128bc Add link to Mark Gibb's NetworkWorld article 2016-02-05 18:42:54 +00:00
Jermolene
b47f505588 Freeze the entire tiddler object
As seen in the first pass of #2247, it was previously inadvertently
possible for callers to modify the tiddler object itself by adding and
replacing properties.
2016-02-05 17:39:02 +00:00
Devin Weaver
4525a3d631 Add tags support to evernote plugin
Relates to Issue #2268

I tried to map over the list of tags but NodeLists are not arrays and so
need to be converted. This looks ugly and probably should be abstracted
to a function. Come to think of it should we have a `$tw.utils.map()`
function?
2016-02-04 19:24:46 -05:00
Devin Weaver
4b70257aca Add evernote's additional resources as tiddlers
Relates to Issue #2268

Based in the [example XML][1] attachments are listed in the <resources>
node. Since in TiddlyWiki these would be media tiddlers I add then one
by one as separate tiddlers.

There are some things that still need to happen. There should be a mime
type check so we don't attempt to import media tha TiddlyWiki doesn't
support. Also the example suggests the data is base64 encoded so I
blindly use that for the text attribute. Should there be a
`data:mediatyp;base64,…` prefix?

[1]: https://gist.github.com/evernotegists/6116886
2016-02-04 18:37:45 -05:00
Devin Weaver
1d35087f29 Add additional fields support for evernote plugin
Relates to Issue #2268

Add the additional field defined in the XML as properties to the result.
This also appears to capture the 'author' field.
2016-02-04 18:31:24 -05:00
Jermolene
8904a6dba6 First commit of Evernote migration plugin
Starts to address #2268
2016-02-04 10:13:08 +00:00
Jermolene
1335dff450 Text-slicer: Checkbox for hiding document metadata 2016-02-03 12:48:15 +00:00
Jeremy Ruston
c98ce99c83 Merge pull request #2266 from telmiger/master
Signing the CLA for individuals
2016-02-03 00:18:26 +00:00
Thomas
1276c26529 Signing the CLA for individuals 2016-02-02 22:33:29 +01:00
Jermolene
3e78f5cffd Text-slicer: Fix problem with static template for list items
We were rendering the children of the list item outside of the
generated LI tag.
2016-02-02 17:40:29 +00:00
Felix Hayashi
b83556b5ad fixed malformatted svg
one `</g>` too much.
2016-02-02 17:35:22 +01:00
Jermolene
c98ef97d23 Text-slicer: Use xmldom plugin so we can slice under Node.js 2016-02-01 21:34:28 +00:00
Jermolene
68b54a6e6f Add xmldom parser
Integrating this module allows us to do HTML/XML parsing under Node.js
(there is no built-in support for Node.js; we can already do HTML/XML
parsing in the browser). The implementation chosen is pure JavaScript,
and will work in all configurations of TiddlyWiki.
2016-02-01 21:28:52 +00:00
Jermolene
176d2ccd76 Text-slicer: Add support for notes within documents 2016-02-01 21:26:11 +00:00
Jermolene
b8aa60cdab Text-slicer: Fix bug with nodes without a classname 2016-02-01 21:22:55 +00:00
Jermolene
3a10bfe0de Text-slicer: copy document fields from source tiddler
User-defined fields of the source tiddler are copied across to the
document tiddler when it is sliced.
2016-02-01 20:16:45 +00:00
Jermolene
f61bb316b2 Adjust version number for 5.1.12 2016-01-31 21:46:29 +00:00
Jermolene
5e7065c391 Version number update for 5.1.11 2016-01-30 14:27:54 +00:00
Jermolene
a869316b1f Readme update 2016-01-30 14:27:29 +00:00
Jermolene
c24598885a Preparing for release of 5.1.11 2016-01-30 14:26:24 +00:00
Jermolene
3bf9ad78fa Update release note for 5.1.11 2016-01-30 12:44:58 +00:00
Jeremy Ruston
5bba45bb0a Rename TiddlyWiki_Jingle_by_Måns_Mårtensson.tid to TiddlyWiki_Jingle_by_Mans_Martensson.tid
Fixes #2227

(Note I fixed this by editing the filename in the github.com online editor. It's happened before; I've raised #2261 to address the root cause)
2016-01-30 08:51:53 +00:00
Jermolene
8b2f320f7f Missed off d240ab5003 2016-01-29 17:24:11 +00:00
Jermolene
d240ab5003 Fix broken plugin library
Fixes #2260
2016-01-29 17:16:16 +00:00
Jermolene
f1deea3b74 Preparing for 5.1.11 2016-01-29 17:15:57 +00:00
Jermolene
def26a40ac Version number update for 5.1.10 2016-01-29 17:03:12 +00:00
Jeremy Ruston
0b4ce5be28 Merge pull request #2257 from koke24/master
Ask permission Jermolene for make a pull request
2016-01-28 13:35:13 +00:00
jose-manuel.urio@at.seg-social.es
ac345c86a1 Ask permission Jermolene for make a pull request 2016-01-27 15:57:23 +01:00
gernert
fa6dc5677d Update SystemTags.tid
Added missing $:/tags/ToolbarButtonStyle
2016-01-18 19:19:13 +01:00
Devin Weaver
f79856a6d7 Add Adding Babel Polyfill to TiddlyWiki
Having the ability to write your plugins with ES2015 syntax is nice but
it is missing a large part of the ES2015 spec. Since not all browsers
support this a polyfill is offered.

So far it is IE10 which holds the need for the polyfill. This tiddler
offers a simple how to on adding the babel-polyfill to your TiddlyWiki.

NOTE: This how to would be obsolete if a proper ES2015 polyfill was part
of the official plugins offered in core. (Want a pull request?)
2016-01-12 12:51:30 -05:00
Devin Weaver
d7c4c87c8c Add Using ES2016 for Writing Plugins
I found using Babel for creating plugins was very helpful. I wanted to
share how I integrated ES2015 into my TiddlyWiki development tool bag.
2016-01-12 12:51:30 -05:00
Devin Weaver
8bf867560c Add Editing Tiddlers with Vim
We have one for Emacs so we need one for Vim. Besides, Vim has never
done me wrong.
2016-01-11 21:45:23 -05:00
Jeremy Ruston
94107dc64c Merge pull request #2209 from ARRRRGH/patch-1
Signing CLA
2016-01-11 18:51:17 -06:00
ARRRRGH
6613cc7b2c Signing CLA 2016-01-11 15:09:12 +01:00
Tobias Beer
a5d380006e updates to overall operators docs
* info on default input being `all[tiddlers]`
* clearer column layout
* removed fiddly done button
2016-01-10 10:13:23 +01:00
Jeremy Ruston
4a5b531f78 Merge pull request #2197 from flibbles/patch-1
Signed CLA
2016-01-09 06:13:01 +00:00
Cameron Fischer
10df62b24f Signed CLA 2016-01-08 17:26:19 -05:00
Jermolene
2d9d09adcc Readme update 2016-01-07 23:26:02 +00:00
Jermolene
3d19b585ae Preparing for release of 5.1.10 2016-01-07 23:16:58 +00:00
Jermolene
e47f06bd5e Docs update 2016-01-07 23:11:59 +00:00
Jermolene
6b68d9b0c4 Restore sample alert 2016-01-07 23:01:52 +00:00
Jermolene
5109e96cec Docs updates 2016-01-07 23:00:38 +00:00
Jermolene
334497ce4e Move "get more plugins" button into a transcludable tiddler 2016-01-07 23:00:29 +00:00
Jermolene
c1763193df Docs update: "Editions" 2016-01-07 22:20:02 +00:00
Jermolene
e1912b624b Dev docs typo 2016-01-07 22:20:02 +00:00
Jeremy Ruston
e71bff0110 Merge pull request #2190 from buggyj/issue2189
fix for 2189
2016-01-07 22:19:04 +00:00
buggyj
74e8afdcdd fix for #2189 2016-01-07 22:11:26 +00:00
Jermolene
01f8b954ae Add all translations to the "introduction" edition 2016-01-07 17:48:50 +00:00
Jermolene
a1079270a2 Don't mark the centralised theme as experimental 2016-01-07 16:49:14 +00:00
Jermolene
64efee40e5 Retracting #2147
The problem is that this change scrambles the ordering of tabs that use
programmatic ordering, for example here:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/ti
ddlers/releasenotes/TiddlyWiki_Releases.tid#L13
2016-01-07 16:48:51 +00:00
Jermolene
0747635fba Fixed current tiddler overwrite in tabs macro
Fixed a side-effect of 03519c14b0 from
@matabele whereby the current tiddler is overwritten by the
`<$tiddler>` widget, which means that it is not accessible when
rendering the caption of the tab.

This causes a problem with eg the “Add Plugins” modal where it breaks
the count on the tabs.
2016-01-07 12:40:10 +00:00
Jermolene
822bd1f3cc Docs update 2016-01-06 16:03:50 +00:00
Jermolene
877aed3ead Move 5.1.10 release note 2016-01-06 16:03:43 +00:00
Jermolene
7ee985407b Release note update 2016-01-06 10:09:33 +00:00
Jermolene
5a543276f5 Update release note 2016-01-06 09:59:03 +00:00
Jeremy Ruston
677e100ea2 Merge pull request #2185 from matabele/patch-8
Fixed typos in docsof ActionListops widget
2016-01-06 09:45:14 +00:00
Jeremy Ruston
e0c84ee85d Merge pull request #2184 from mdeabreu/patch-1
Add info about recent TiddlyDesktop releases
2016-01-06 09:43:52 +00:00
Jermolene
b873df0ba2 Revert "Merge pull request #2166 from matabele/patch-5"
This reverts commit 83c54f4bb5, reversing
changes made to 0cbe97615a.
2016-01-06 09:38:39 +00:00
Jermolene
3fa5ba52f9 Revert "Merge pull request #2183 from matabele/patch-7"
This reverts commit cd36ad582b, reversing
changes made to 83c54f4bb5.
2016-01-06 09:38:12 +00:00
William Jackson
366cdb608d Fixed typos in docsof ActionListops widget 2016-01-06 07:32:33 +02:00
mdeabreu
20983c0174 Update cla-individual.md 2016-01-05 11:20:57 -08:00
mdeabreu
d917198abb Add information about TiddlyDesktop v0.0.8 2016-01-05 11:11:09 -08:00
Jeremy Ruston
cd36ad582b Merge pull request #2183 from matabele/patch-7
Updated docs of ActionSetfield widget to include setting of TextReferences
2016-01-05 19:10:37 +00:00
Jeremy Ruston
83c54f4bb5 Merge pull request #2166 from matabele/patch-5
Fix inadvertent clearing of text field (default) when `field` attribu…
2016-01-05 19:10:26 +00:00
mdeabreu
fcfddf2b46 Add information about TiddlyDesktop v0.0.7 2016-01-05 11:09:55 -08:00
William Jackson
152c3db9a1 Updated docs to include setting of TextReferences
Can now accept any number of attributes of the form TextReference="value" -- these may be fields "(Tiddler!!field="value") or indices (Tiddler##index="value.)
2016-01-05 21:02:18 +02:00
Jermolene
0cbe97615a Add size attribute to select widget for multiple selection mode 2016-01-05 18:48:21 +00:00
Jermolene
93f7d8c028 Fix bug with tiddler widget and a blank tiddler title 2016-01-05 18:48:04 +00:00
Jeremy Ruston
31b4f104e4 Merge pull request #2161 from matabele/patch-3
Tidied up the code in the x-listops filters
2016-01-05 15:30:39 +00:00
Jeremy Ruston
540354a693 Merge pull request #2162 from matabele/patch-4
Updated docs of the ActionListops widget to reflect changes to attribute names
2016-01-05 15:30:27 +00:00
Jeremy Ruston
2cd812c15f Merge pull request #2160 from matabele/patch-2
Changed the name of the 'list' attribute to 'field' for the $action-listops widget
2016-01-05 13:06:48 +00:00
Jermolene
b2fd3366e3 Move staged content from prerelease
These updates had been staged so that I could still perform updates of
tiddlywiki.com for the previous release
2016-01-05 13:05:10 +00:00
Jeremy Ruston
114f4dbcea Merge pull request #2171 from nameanyone/tw5-htabs-spaces
Replace spaces between horizontal tabs with margin
2016-01-05 12:58:04 +00:00
Jeremy Ruston
791f97983e Merge pull request #2153 from tobibeer/rows-for-edittext
add rows attribute to edittext, plus docs
2016-01-05 12:31:37 +00:00
Jeremy Ruston
1cb8247063 Merge pull request #2177 from nameanyone/tw5-relnotes-edit
Remove obsolete reference to "recent" filter operator
2016-01-05 10:54:03 +00:00
Jermolene
0240a8048f Fix default date format 2016-01-04 20:09:06 +00:00
Jeremy Ruston
45092d289e Merge pull request #2179 from alexhough/patch-5
add "Transclusion and Substitution" to learn more
2016-01-03 18:20:06 +00:00
Jermolene
5cc1f2b313 Fix problem with search popup disappearing
This one took quite a lot of tracking down…

Fixes #2172
2016-01-03 18:05:08 +00:00
Jermolene
665d6657bb It's 2016!
🎉🎊🎆
2016-01-03 18:04:21 +00:00
Jermolene
f8723397e9 Fix clean.sh
Was ignoring editions with numerals in pathname
2016-01-03 18:02:49 +00:00
alexhough
fa3ea480fe add "Transclusion and Substitution" to learn more 2016-01-03 17:11:13 +00:00
William Jackson
ac8b706d42 Correct Formatting
Removed extra tab spacing and corrected syntax error
2016-01-03 16:30:00 +02:00
nameanyone
658ccadca7 Remove obsolete reference to "recent" filter operator 2015-12-31 13:40:28 -08:00
Jermolene
f42acfa73e Revised banner for 5.1.10 2015-12-31 14:03:48 +00:00
Jeremy Ruston
f2591761b0 Merge pull request #2169 from nameanyone/tw5-fold-button-spaces
Remove spaces around the fold button
2015-12-31 09:17:12 +00:00
Jermolene
56ff0027e0 Add new release banner for 5.1.10 2015-12-31 08:47:09 +00:00
nameanyone
49c6a172ad Get rid of newline at eof. 2015-12-30 16:57:49 -08:00
nameanyone
bd9cd10de1 Remove the trailing space as well, missed that. 2015-12-30 15:38:35 -08:00
Jermolene
040e35eab6 Restore accidentally deleted tiddler fields
Fixes #2174
2015-12-29 15:51:26 +00:00
Jermolene
e3f381ed8d Remove extraneous whitespace between tag pills
Fixes #2170
2015-12-29 15:21:53 +00:00
nameanyone
2a26ca53c2 Add margin to horizontal tabs 2015-12-29 00:12:06 -08:00
nameanyone
747eb9daba Remove spaces between horizontal tabs 2015-12-29 00:02:19 -08:00
nameanyone
7fbe29fd04 Remove spaces around the fold button
...by removing newlines betwen widgets. Makes source harder to read but eliminates space characters from the end result.
2015-12-28 22:28:48 -08:00
William Jackson
a44edee782 Changed indents from spaces to tabs
I am informed this is the correct convention for TW5.
2015-12-28 18:12:22 +02:00
William Jackson
471f28e52b Fix inadvertent clearing of text field (default) when field attribute of the ActionSetField widget isn't set.
When using the widget with only short form SetText attributes (field="value) -- the default field (text) of the default tiddler is set to the default value ("") -- thus clearing the text field of the current tiddler. I have inserted a conditional to test for the presence of the `field` attribute.

Whilst I was about this, I have inserted code to enable the setting of any number of TextReferences -- this fixes the issue of only being able to set one index per widget and also allows different tiddlers to be targeted by the same widget.
2015-12-28 18:08:05 +02:00
Mario Pietsch
3977cf009b fixes #2158 check if new fields are present and warn on cancel 2015-12-28 11:31:36 +01:00
Mario Pietsch
7c4ea64210 fixes #2158 check if new fields are present and warn on cancel 2015-12-28 11:29:43 +01:00
William Jackson
91b970e422 Updated docs of the ListOps widget to reflect changes to attribute names 2015-12-28 10:42:46 +02:00
William Jackson
48987e186a Tidied up the code in the filters 2015-12-28 10:31:39 +02:00
William Jackson
2f51c3695d Changed the name of the 'list' attribute to 'field'
Other users found this to be confusing -- I have made this change in both this widget and the $checklist widget to maintain consistency
2015-12-28 10:22:28 +02:00
Jeremy Ruston
0d27f3b836 Merge pull request #2154 from spelufo/katex-displaymode
Revert katex plugin to using `$$`. Use multiline for display mode.
2015-12-24 18:02:54 +00:00
Santiago Pelufo
8e02390353 Revert katex plugin to using $$. Use multiline for display mode. 2015-12-24 13:52:19 -03:00
Jermolene
2fe2c531e8 Update release note 2015-12-24 16:04:47 +00:00
Jeremy Ruston
62e6d3a99c Merge pull request #2006 from tobibeer/move-if-macro
moved if-macro, see #2005
2015-12-24 15:23:19 +00:00
Jeremy Ruston
fe00229ad5 Merge pull request #2004 from inmysocks/patch-9
Modified fieldmangler to create a tiddler if adding a tag (see #2001 )
2015-12-24 15:22:41 +00:00
Tobias Beer
456e7abc5d add rows attribute to edittext, plus docs 2015-12-24 15:40:00 +01:00
Jermolene
3a426dfd2a Docs for #2049 2015-12-24 14:12:53 +00:00
Jeremy Ruston
e344dbe077 Merge pull request #2049 from inmysocks/patch-11
Let $keyboard trigger action-widgets
2015-12-24 14:12:32 +00:00
Jeremy Ruston
44bf4310d2 Merge pull request #2058 from maweki/tiddlyweb-description
Expand description of "TiddlyWeb and TiddlySpace components"
2015-12-24 14:03:10 +00:00
Jeremy Ruston
dcc53b8e96 Merge pull request #2074 from mklauber/master
Manage a list field by allowing the <$select> widget to select multiple items.
2015-12-24 13:48:43 +00:00
Jermolene
075f5b757f Merge branch 'mklauber-patch-1' 2015-12-24 13:47:13 +00:00
Jermolene
3e1128787a Merge branch 'patch-1' of https://github.com/mklauber/TiddlyWiki5 into mklauber-patch-1 2015-12-24 13:46:21 +00:00
Jeremy Ruston
68c633c9bb Merge pull request #2094 from jho1965us/patch-1
Changed Transclusion from html to TidlerWiki syntax in order to force…
2015-12-24 12:40:07 +00:00
Jeremy Ruston
08fed4840f Merge pull request #2151 from tobibeer/sticky-popup-docs
documentation for "tc-popup-keep"
2015-12-24 11:01:32 +00:00
Jermolene
f4f86e3c23 Fixed problem with deleting alerts introduced in #1981 2015-12-24 11:00:47 +00:00
Jeremy Ruston
b1bc75d4eb Merge pull request #2150 from matabele/patch-4
Added a tooltip
2015-12-24 10:52:29 +00:00
Jeremy Ruston
2da1af2a41 Merge pull request #2149 from matabele/patch-3
Added a tooltip
2015-12-24 10:52:10 +00:00
Jeremy Ruston
07c1af106b Merge pull request #2148 from matabele/patch-2
Added a paragraph describing the use of tooltips
2015-12-24 10:51:55 +00:00
Jeremy Ruston
7ef60ded52 Merge pull request #2147 from matabele/patch-1
Added tooltip option to Tabs macro
2015-12-24 10:51:41 +00:00
William Jackson
b7c2063f63 Added sorting on 'order' field by default
What do you think of this idea?
2015-12-24 09:02:33 +02:00
Tobias Beer
c2dea12f1c documentation for "tc-popup-keep" 2015-12-23 23:28:47 +01:00
William Jackson
d7f24a5779 Added a tooltip 2015-12-23 22:37:14 +02:00
William Jackson
61235a12fb Added a tooltip 2015-12-23 22:35:46 +02:00
William Jackson
b905874c06 Added a paragraph describing the use of tooltips 2015-12-23 22:28:52 +02:00
William Jackson
03519c14b0 Added tooltip option
Tooltips should be entered in the 'tooltip' field of each tab tiddler
2015-12-23 20:55:03 +02:00
Jeremy Ruston
15eab0ce1c Merge pull request #2146 from spelufo/katex-displaymode
Show how to use display mode in katexdemo/tiddlers/HelloThere.tid
2015-12-23 18:20:57 +00:00
Santiago Pelufo
5be0de798f Show how to use display mode in katexdemo/tiddlers/HelloThere.tid 2015-12-23 14:57:24 -03:00
Jeremy Ruston
7676f93932 Merge pull request #2125 from tobibeer/set-emptyValue-always
always set emptyValue, not just for filter
2015-12-23 17:42:41 +00:00
Jeremy Ruston
3dc001620c Merge pull request #2145 from spelufo/katex-displaymode
Make latex-parser.js render $$$ as display mode math
2015-12-23 17:19:58 +00:00
Santiago Pelufo
a94ba99ec2 Make latex-parser.js render $$$ as display mode math 2015-12-23 14:14:58 -03:00
Jeremy Ruston
55f053ec89 Merge pull request #2139 from spelufo/katex-displaymode
Add displayMode attribute to katex widget
2015-12-23 13:20:49 +00:00
Jermolene
57ceffd67c Merge #1909 from @nameanyone 2015-12-23 12:19:47 +00:00
Jermolene
7037b66479 Updated Dutch translation from @gernert 2015-12-23 08:34:52 +00:00
Jeremy Ruston
aa06f4ea8c Merge pull request #2142 from IreneKnapp/master
Add Google, Inc as a signer of the entity CLA.
2015-12-22 18:14:55 +00:00
Jeremy Ruston
ccf6edb940 Merge pull request #1933 from felixhayashi/fix/scrolling
Auto-height fix for text area which is contained in a scroll container
2015-12-22 14:08:56 +00:00
Jeremy Ruston
fa1814d0f4 Merge pull request #2048 from felixhayashi/fix/count
Replacing count with Object.keys
2015-12-22 12:41:24 +00:00
Jeremy Ruston
44dfbec3cf Merge pull request #2136 from pmario/de-DE
de-DE: some minor language fixes. feedback from tobias
2015-12-22 12:21:44 +00:00
Irene Knapp
3959b1b89e Add Google, Inc as a signer of the entity CLA.
I emailed a PDF with an actual signature, a moment ago, to
jeremy@jermolene.com.  My understanding is that this signature would be valid
not just for me but for other Googlers who contribute to TiddlyWiki in future,
if there are any.  So I've omitted my personal name from the signature line -
I think this is probably the way it's supposed to be?  If you look at the PDF
you'll see that it's actually one of our lawyers who agreed to it, not me
as an individual.  I'll be using my @google.com email address for this and any
future patches, so record-keeping at TiddlyWiki's end shouldn't need a record
of GitHub usernames.
2015-12-21 15:00:05 -08:00
Jeremy Ruston
ef1cd5f55f Merge pull request #1967 from Drakor/fixActionSetField
fixed bug in $action-setfield introduced by #1963
2015-12-21 22:17:51 +00:00
Jeremy Ruston
de99dd5196 Merge pull request #1981 from tobibeer/delete-alerts-without-confirm
Delete alerts without confirm
2015-12-21 22:15:25 +00:00
Jeremy Ruston
a34ac01d63 Merge pull request #2100 from tobibeer/fix-edittemplate-shadow
fix broken template: core/ui/EditTemplate/shadow
2015-12-21 22:12:36 +00:00
Jermolene
07ac75b084 Fix search dropdown positioning
This fixes a problem introduced in
72941f3e9a whereby the change to
tc-drop-down affected other dropdowns.
2015-12-20 08:53:29 +00:00
Jermolene
ad1793c8f5 Minor tweaks to boot kernel for AWS
Part of the upcoming AWS integration work is a custom build of
TiddlyWiki that can run as an Amazon Lambda function. These tweaks
enable the new build to control the loading of SJCL, the package info,
and any preloaded tiddlers.
2015-12-19 18:52:25 +00:00
Jermolene
64b916bb43 Ignore any node_modules directory 2015-12-19 18:47:58 +00:00
Jermolene
231d0a3dc8 Add plugin wrappers for async and jszip
The immediate motivation is the work I’m doing to integrate with Amazon
Web Services.

We should be able to use JSZip to export multiple tiddlers in a single
operation from the browser.
2015-12-19 18:47:42 +00:00
Santiago Pelufo
aaf3e6bb9e Add displayMode attribute to katex widget. 2015-12-18 11:46:19 -03:00
Mario Pietsch
b0dce4f8e4 fix spelling .. 2015-12-18 14:14:38 +01:00
Mario Pietsch
9468e50146 added plugin link to the EditTemplate 2015-12-18 11:58:02 +01:00
Jermolene
6e7f532825 Remove extraneous icon for blog plugin
We had just reused the text-slicer icon
2015-12-13 18:26:37 +00:00
Tobias Beer
ea8a8f1b53 always set emptyValue, not just for filter 2015-12-09 23:33:07 +01:00
Jermolene
c2105de49c Remove modifier/modified/revision fields from #2037 2015-12-06 19:11:41 +00:00
Jeremy Ruston
da36f1c728 Merge pull request #2037 from matabele/Listops
ActionListopsWidget
2015-12-06 19:04:26 +00:00
Jermolene
4a8511c6f2 Added file and folder icons
These icons are skinnier than the regular icons; I found I couldn’t
produce sufficiently detailed images with the regular line width.
2015-11-25 15:32:53 +00:00
Jermolene
aae1bf9f80 Blog edition: Add classes for the static menu 2015-11-25 15:32:53 +00:00
Tobias Beer
4e0a5c862c fix broken template: core/ui/EditTemplate/shadow 2015-11-25 15:22:15 +01:00
Jens
6c89b27328 Changed Transclusion from html to TidlerWiki syntax in order to force new tab when following
With the html syntax when you go back after following the link knowledges of open tiddlers is lost.
Not sure if there should also be feature request for TiddlerWiki to store knowledge of open tiddlers in browser history.
2015-11-22 13:53:59 +01:00
Jeremy Ruston
cd6b443533 Merge pull request #2093 from xcazin/master
Catch up on fr-FR translations
2015-11-21 18:05:19 +00:00
Xavier Cazin
7dbb4240f1 fr-FR translation of strings related to Toolbar Button Style 2015-11-21 18:50:25 +01:00
Xavier Cazin
d0c33ec3d2 fr-FR translation of strings related to CamelCase enabling/disabling 2015-11-21 18:45:57 +01:00
Xavier Cazin
8d2bdaa338 fr-FR translation of Parsing hint 2015-11-21 18:40:06 +01:00
Xavier Cazin
8501847942 Typo in Parsing hint 2015-11-21 18:37:51 +01:00
Xavier Cazin
9e03252e01 fr-FR translation of updates to the help of the savetiddlers command 2015-11-21 18:27:34 +01:00
Xavier Cazin
05f0bea61f fr-FR translation for updates to the help for the rendertiddler command 2015-11-21 18:17:41 +01:00
Xavier Cazin
1aa4cb5f55 fr-FR translation of the warning about loading TW Classic 2015-11-21 18:01:33 +01:00
Xavier Cazin
d48deefa91 fr-FR translation for the Lazy Loading warning about external text 2015-11-21 16:07:19 +01:00
Xavier Cazin
4a2fc8cbc0 fr-FR translation of the clarification for the password command 2015-11-21 15:55:35 +01:00
Xavier Cazin
65f891dcdf fr-FR translation for tidder date format 2015-11-21 15:49:34 +01:00
Xavier Cazin
b0c9dcf353 fr-FR translations for strings related to Performance Instrumentation 2015-11-21 15:42:04 +01:00
Xavier Cazin
e209254bc6 More fr-FR translations for strings related to plugins 2015-11-21 15:12:32 +01:00
Xavier Cazin
8c2ecca7e6 fr-FR translations for strings related to search matches 2015-11-21 15:03:56 +01:00
Xavier Cazin
98b6a45044 fr-FR translations for strings related to Internal Javascript Errors 2015-11-21 15:00:25 +01:00
Xavier Cazin
6eba06e23e fr-FR translations of a string related to tiddler importation 2015-11-21 14:56:24 +01:00
Xavier Cazin
b4994f2e77 fr-FR translations for strings related to plugin installation 2015-11-21 14:54:19 +01:00
Xavier Cazin
d90828d14e fr-FR translation of strings related to tiddler folding buttons 2015-11-21 14:42:31 +01:00
jed
848e351685 removed the handled variable
because it serves no purpose here. That test isn't required in this context.
2015-11-16 10:48:25 +01:00
Jermolene
15f52bd7ce Add support for Nw.js special features to browse widget 2015-11-13 18:47:30 +00:00
Matt Lauber
d94ffbae39 Unchange CLA. 2015-11-13 12:36:05 -05:00
Matt Lauber
d7623b6985 Update cla-individual.md 2015-11-13 12:34:07 -05:00
Matt Lauber
8ccee5d015 Remove cla for separate PR, and clean up variable declaration. 2015-11-13 11:30:06 -05:00
Matt Lauber
35ce8c8b55 typo 2015-11-13 08:18:20 -05:00
Matt Lauber
f540be4ac4 use $tw.utils.stringifyList 2015-11-13 08:06:51 -05:00
Matt Lauber
065b274b98 Use the $tw.utls.parseStringArray function to break up a list. 2015-11-13 08:04:13 -05:00
Matt Lauber
46a3b2f261 Singing CLA 2015-11-13 07:57:10 -05:00
Matt Lauber
1569090046 typo 2015-11-13 07:53:47 -05:00
Matt Lauber
75380c56cc Oops, deleted metadata 2015-11-13 07:53:19 -05:00
Matt Lauber
c535dd605c Grant the select widget the ability to select multiple values.
Multiple values are placed in a given tiddler-field combination as if
that field were a list field.
2015-11-13 07:50:34 -05:00
Jeremy Ruston
3a33282705 Merge pull request #2073 from tobibeer/each-list
change suffix each:list to each:list-item
2015-11-13 10:10:36 +00:00
Tobias Beer
ef3e44eb48 rename suffix each:list to each_list-item
based on #1422, improves readability of the filter expression

tests passed
2015-11-13 11:07:24 +01:00
Tobias Beer
b152a0a894 Merge remote-tracking branch 'refs/remotes/Jermolene/master' into each-list 2015-11-13 10:49:25 +01:00
Jermolene
ac00aa8407 Allow server module to work under Node even if $tw.browser is defined
Needed for TiddlyDesktop, where want to be able to run the HTTP server
in a hybrid browser/node environment.
2015-11-10 18:13:30 +00:00
Jermolene
d3586c7bf1 Update Italian translation 2015-11-10 18:12:40 +00:00
Mario Pietsch
f08c2c8a60 first pass, some minor fixes. feedback from tobias 2015-11-08 13:14:57 +01:00
William Jackson
5877a26855 Create ListopsData.tid
Data tiddler for Extended Listops documentation examples
2015-11-08 10:40:49 +02:00
William Jackson
8980e491c4 Create sortby.tid 2015-11-08 10:38:14 +02:00
William Jackson
085ebd4e23 Create sortby.tid 2015-11-08 10:37:39 +02:00
William Jackson
7ba2649194 Create replace.tid 2015-11-08 10:36:53 +02:00
William Jackson
85895374ea Create replace.tid 2015-11-08 10:36:17 +02:00
William Jackson
34e0bf13f2 Create remove.tid 2015-11-08 10:35:37 +02:00
William Jackson
12431a9fbc Create remove.tid 2015-11-08 10:35:05 +02:00
William Jackson
91c87ec2ac Create putlast.tid 2015-11-08 10:34:21 +02:00
William Jackson
0c78c63fae Create putlast.tid 2015-11-08 10:33:39 +02:00
William Jackson
617c13d196 Create putfirst.tid 2015-11-08 10:32:56 +02:00
William Jackson
008f22b511 Create putfirst.tid 2015-11-08 10:32:12 +02:00
William Jackson
cb6b8233fa Create putbefore.tid 2015-11-08 10:30:47 +02:00
William Jackson
cab0900ddd Create putbefore.tid 2015-11-08 10:30:08 +02:00
William Jackson
72889a0527 Create putafter.tid 2015-11-08 10:29:17 +02:00
William Jackson
ec2d819c8c Create putafter.tid 2015-11-08 10:28:38 +02:00
William Jackson
88a5c742e7 Create prepend.tid 2015-11-08 10:27:35 +02:00
William Jackson
1358cd5185 Create prepend.tid 2015-11-08 10:26:45 +02:00
William Jackson
18a0f6b12d Create move.tid 2015-11-08 10:25:42 +02:00
William Jackson
b1cfc8633f Create move.tid 2015-11-08 10:25:04 +02:00
William Jackson
abdd1e7fd6 Create append.tid 2015-11-08 10:11:17 +02:00
William Jackson
b2edbd8d1d Create append.tid 2015-11-08 10:10:37 +02:00
William Jackson
31b9835a4e Create allbefore.tid 2015-11-08 10:09:00 +02:00
William Jackson
e9c79faf05 Create allbefore.tid 2015-11-08 10:08:01 +02:00
William Jackson
d87c328fd9 Create allafter.tid 2015-11-08 10:06:50 +02:00
William Jackson
2adb005c28 Create allafter.tid 2015-11-08 10:05:26 +02:00
William Jackson
fad106d2d5 Update FilterOperators.tid
Added category for extended listops filter operators
2015-11-08 10:02:28 +02:00
William Jackson
7370d61602 Create The Extended Listops Filters.tid
Supplementary documentation for the ActionListops widget -- examples using the extended filters
2015-11-08 09:59:41 +02:00
William Jackson
ac9aa78859 Create ActionListopsWidget.tid
Primary documentation for ActionListops widget
2015-11-08 09:56:37 +02:00
William Jackson
befb13dde1 Update x-listops.js
Change default suffix for append[], prepend[] and remove[] operators from 1 to All
2015-11-08 09:49:07 +02:00
Jermolene
3b64497c57 Fix docs typo
Thanks @BramChen
2015-11-05 15:09:45 +00:00
Jeremy Ruston
faee511d20 Merge pull request #2060 from BramChen/zh
Update chinese translations
2015-11-05 14:06:41 +00:00
Bram Chen
171fd2c853 Improve chinese translations of edit info banner for shadow tiddlers
Add the name of the plugin that contains the shadow tiddler
2015-11-05 21:48:22 +08:00
Jermolene
99969024f8 Update release note 2015-11-05 13:07:34 +00:00
Jermolene
0b99ac2b75 Add information about TiddlyDesktop v0.0.6 2015-11-05 13:07:27 +00:00
Jeremy Ruston
583ed07af2 Merge pull request #1422 from tobibeer/each-list
added list suffix for each filter
2015-11-05 12:45:27 +00:00
Jermolene
0769b90bb7 Text-slicer: Control preview column with dropdown
Instead of showing a sequence of all documents in the preview column,
we just show a single document, with a dropdown to choose which one is
shown.

The change makes it easier to deal with large numbers of documents.
2015-11-05 12:33:21 +00:00
Jermolene
bc0cbf9070 Add a lazy loading template for all non-system tiddlers
With this new template you can run TiddlyWiki under Node.js such that
all non-system tiddlers are lazily loaded, and not baked into the HTML
file.
2015-11-05 12:33:20 +00:00
Jermolene
d0ca776edb Improve edit info banner for shadow tiddlers
Add the name of the plugin that contains the shadow tiddler
2015-11-05 12:33:20 +00:00
Felix Hayashi
f217451fc5 Replacing count's function body with Object.keys
see #2046
2015-11-03 23:47:47 +01:00
Mario Wenzel
eb34709cc4 Expand description of "TiddlyWeb and TiddlySpace components"
This should fix #2019
2015-11-03 19:56:14 +01:00
Jeremy Ruston
d59d9238f7 Merge pull request #2056 from BramChen/zh
Update chinese translations
2015-10-30 09:17:07 +00:00
Jermolene
513ed8774c Tweak spiral 2015-10-29 21:49:05 +00:00
Bram Chen
7307c32dd2 Add chinese translations of toolbar option fold-bar 2015-10-29 20:08:43 +08:00
Jeremy Ruston
03383ad1ae Merge pull request #2054 from pmario/foldbar-translatable
makes the new toolbar option fold-bar translatable
2015-10-29 11:17:39 +00:00
Jeremy Ruston
837a96e569 Merge pull request #2053 from pmario/de-DE
update german translation texts
2015-10-29 11:17:11 +00:00
Mario Pietsch
4dadbe5ba8 makes the new toolbar option fold-bar translatable 2015-10-29 12:05:54 +01:00
Mario Pietsch
eb25fdc472 update german translation texts 2015-10-29 10:49:07 +01:00
Jermolene
41480968ac Add spiral icon 2015-10-28 18:11:55 +00:00
William Jackson
817882a404 Update x-listops.js
Added prefix and suffix options to 'append' and 'prepend' operators
2015-10-27 10:17:07 +02:00
Felix Hayashi
d3ab4144d4 Allows text areas to be auto-height while being wrapped in an
element that has scrollbars. The wrapper element with the
scroll bar does not need to be a direct parent of the text area.

**update:** fixed a bug that came up in the discussion

This is fixed now: https://github.com/Jermolene/TiddlyWiki5/pull/1933#issuecomment-141774881

The problem was the check in getScrollContainer()
2015-10-26 21:22:10 +01:00
Jeremy Ruston
52e0524fbf Merge pull request #1984 from senevoldsen90/master
Local relative urls in Markdown map to WikiLinks
2015-10-26 19:51:16 +00:00
jed
e55c5b0669 Let $keyboard trigger action-widgets
Because of the refresh problems with the other widgets triggering action-widgets I am doing this one by itself. I hadn't included it before.

This shouldn't have any more problems than the button widget does, and any problems caused by it should be fixed by any fix we use for the button widget. See #1564 for more background
2015-10-26 20:23:09 +01:00
Jeremy Ruston
106f11343e Merge pull request #2026 from Evolena/def-list
Text-slicer: Add support for definition lists
2015-10-26 19:18:15 +00:00
Jeremy Ruston
9d7a850e83 Merge pull request #1943 from Spangenhelm/patch-1
Fix the title
2015-10-26 18:14:57 +00:00
Jeremy Ruston
89bd088a75 Merge pull request #1931 from erwanm/master
New resource tiddler in tw.com for TWCommunitySearch
2015-10-26 18:12:14 +00:00
Jermolene
bcb49b64f6 Update for TiddlyDesktop v0.0.5 2015-10-26 17:16:43 +00:00
Jermolene
41287d7859 Update Russian translation 2015-10-25 23:13:26 +00:00
Jeremy Ruston
72cd6a5802 Merge pull request #2045 from tgrosinger/patch-1
Fix typo which prevented example from working
2015-10-25 22:15:09 +00:00
Tony Grosinger
c0de553370 Fix typo which prevented example from working 2015-10-25 13:56:21 -07:00
Jeremy Ruston
f593bae2b2 Merge pull request #1999 from BramChen/zh
Update chinese translations
2015-10-25 09:13:11 +00:00
Bram Chen
a6fe696269 Update chinese translations for the recently new localisable strings 2015-10-25 12:24:36 +08:00
Bram Chen
e6963cbccd Remove extraneous spaces 2015-10-25 11:25:09 +08:00
Bram Chen
5d61dfb1d7 Merge branch 'master' into zh 2015-10-25 11:11:12 +08:00
Jermolene
7ecaba9a65 Update release note 2015-10-24 19:14:29 +01:00
Jermolene
0996f06a32 Merge branch 'pr/2007'
Conflicts:
	licenses/cla-individual.md
2015-10-24 19:13:42 +01:00
Jeremy Ruston
7040d483f2 Merge pull request #2028 from kixam/master
communicate on a new datepicker plugin
2015-10-24 18:56:49 +01:00
Jeremy Ruston
7cd81efa37 Merge pull request #2041 from araname/master
Update korean translation
2015-10-24 18:56:12 +01:00
Jeremy Ruston
612a2707c6 Merge pull request #2040 from afeldspar/patch-2
add explanation on 'set' attribute
2015-10-24 18:55:49 +01:00
Jeremy Ruston
3e1c6c1972 Merge pull request #2043 from afeldspar/patch-3
fix typo in FilterRun.tid diagram
2015-10-24 18:54:47 +01:00
Jeremy Ruston
36f0a50ec1 Merge pull request #2039 from afeldspar/patch-1
Update cla-individual.md
2015-10-24 18:54:16 +01:00
afeldspar
0d6450cfb5 fix typo in FilterRun.tid diagram
corrected typo in the railroad diagram, which showed a double-quote where a single-quote should have been.
2015-10-24 09:52:03 -04:00
Evolena
717e9ae913 Better wording and naming 2015-10-24 12:01:43 +02:00
Jermolene
ba15086381 Remove extraneous apostrophe
Thanks @paul-cross (2354271723243753a8a19c6181d4822592d02a3e)
2015-10-23 17:54:59 +01:00
Myeongjin Lee
52022691f9 Update korean translation 2015-10-23 17:24:55 +09:00
Jermolene
a089fb94a6 Add clean.sh for removing build output
We use a regex to delete all files in `./editions/*/output/*`
2015-10-22 22:46:47 +01:00
William Jackson
3e445b8853 Update x-listops.js
Corrected the logic of the 'allafter' filter and added a new 'move' filter.
2015-10-22 16:40:36 +02:00
afeldspar
7492086f31 add explanation on 'set' attribute
Attempted a fix for the problem I raised in #2038, by adding an explanation of why a TextReference in a button widget's 'set' attribute will lack the curly braces seen nearly anywhere else a TextReference is used as a widget attribute.
2015-10-20 21:15:58 -04:00
afeldspar
5232d5a0a7 Update cla-individual.md 2015-10-20 21:04:35 -04:00
Jeremy Ruston
9f954ce55d Merge pull request #2036 from araname/master
add localisable strings
2015-10-20 18:15:28 +01:00
William Jackson
56d467fb47 Create action-listops.js
Action widget designed to apply filters to the current list and save the modified list back to the list. The widget is able to manipulate lists in any field or any data index of the target tiddler, and includes an option to manipulate the tags of the target tiddler. The widget is used in conjunction with the extended list operator filters (xlistops.js)
2015-10-18 18:41:40 +02:00
William Jackson
49894abaf4 Create x-listops.js
These filters are designed to be used with the action-listops widget.
2015-10-18 18:37:08 +02:00
Myeongjin
a0468a5e6c add localisable strings for plugin library 2015-10-18 18:33:59 +09:00
Myeongjin
33bca3d390 add localisable strings for search 2015-10-18 18:09:41 +09:00
Myeongjin
4347d91c57 add localisable strings for Import/Imported 2015-10-18 17:29:04 +09:00
Myeongjin
2fee131aa4 add localisable strings for Internal JavaScript Error 2015-10-18 17:26:42 +09:00
Myeongjin
d7f1f973a9 replace type to rendertype at setfield help 2015-10-18 17:23:37 +09:00
Myeongjin
8e68f904f1 remove unnecessary spaces 2015-10-18 16:49:48 +09:00
Aurélien Correia
95f98d36d9 communicate on a new datepicker plugin 2015-10-15 09:33:42 +02:00
Evolena
0a220a09da Text-slicer: Add support for definition lists 2015-10-14 20:25:11 +02:00
Jeremy Ruston
26d0029746 Merge pull request #1997 from Marxsal/patch-7
A primer on how to export tiddlers
2015-10-14 14:34:10 +01:00
Jeremy Ruston
b1633e0f2d Merge pull request #1952 from tobibeer/1937-set-refresh-filter
fixes #1937 — filter refresh in set widget
2015-10-14 14:18:29 +01:00
Bram Chen
0703a257f3 Add chinese translations of Settings/PerformanceInstrumentation 2015-10-14 21:07:33 +08:00
Bram Chen
7609bcdf0e Merge branch 'master' into zh 2015-10-14 20:40:26 +08:00
Jermolene
fe1b318987 Release note updates 2015-10-14 12:01:40 +01:00
Jermolene
e31abf89ac Fix accidental commit of wrong default performance instrumentation setting 2015-10-14 12:01:35 +01:00
Jermolene
33563d01ba Add user interface for enabling performance instrumentation 2015-10-14 10:59:55 +01:00
Jeremy Ruston
093f507319 Merge pull request #2015 from tobibeer/patch-1
updated Modules documentation
2015-10-13 18:59:31 +01:00
Tobias Beer
9f6fea7607 updated to point to new location 2015-10-13 12:23:58 +02:00
Jermolene
85553609b1 Ensure edit-text widget fixes height even if refresh isn't required
Fixes #1995
2015-10-12 17:54:51 +01:00
Jermolene
acc44c6f67 Tweaks to "Tight" theme 2015-10-12 17:54:17 +01:00
Tobias Beer
00f6aafed6 being specific about the tiddler to be deleted via action-deletetiddler 2015-10-10 21:01:07 +02:00
Tobias Beer
9a23c2471c modified alert template and execute action-deletetiddler on currentTiddler by default 2015-10-10 16:47:11 +02:00
Tobias Beer
5d36e17c18 Revert "no delete confirmation for alerts"
This reverts commit 88c1a1e062.
2015-10-10 16:35:22 +02:00
Jermolene
98983c4072 Add badges from https://shields.io 2015-10-10 14:30:58 +01:00
Jermolene
69b4f174c3 Introduce new "tight" theme
Fixing #2008
2015-10-09 17:59:56 +01:00
Jermolene
2d9471fe3b Text-Slicer: Add support for static rendering of external images 2015-10-09 17:09:30 +01:00
senevoldsen90
ed1a306f88 Signing the CLA 2015-10-09 15:24:59 +02:00
senevoldsen90
e5cef9a5a6 Local relative urls in Markdown map to WikiLinks 2015-10-09 15:11:24 +02:00
Tobias Beer
51739e3fd2 moved if-macro, see #2005
as per #2005 from @Evolena
2015-10-09 10:39:00 +02:00
jed
4c95dc9bbb Modified fieldmangler to create a tiddler if adding a tag to one that doesn't exist
This came up as an issue and I don't have any reason it shouldn't be here. It could be useful.
2015-10-08 20:39:19 +02:00
Jermolene
5faba15446 Text-slicer updates 2015-10-08 18:04:24 +01:00
Jermolene
7e9f7afa94 Tweak the sidebar tabs gradient 2015-10-08 15:10:54 +01:00
Jermolene
6add992bf2 Fix issue with tiddlers such as $:/templates/something not being synced
Fixed #2002
2015-10-08 15:10:46 +01:00
Tobias Beer
2acea55711 added example documentation
the documentation for the feature seems already there / merged
2015-10-08 14:22:05 +02:00
Tobias Beer
26114eb3ff removed pushOnce 2015-10-08 14:22:01 +02:00
Tobias Beer
b34e4f628d adopted style recommendations 2015-10-08 14:21:57 +02:00
Tobias Beer
71968e0973 added $tw.utils.pushOnce
retained check for basic each nonetheless

tests pass
2015-10-08 14:21:51 +02:00
Tobias Beer
843f18dc7e reverted test.cmd
not sure how handling these files in the console works, reverted back to
previous version, to be run from repo folder
2015-10-08 14:21:27 +02:00
Tobias Beer
8b74706e35 fixed helper function and added tests
tests: ok
2015-10-08 14:21:24 +02:00
Tobias Beer
32c41479cc using variable declaration for readability 2015-10-08 14:18:55 +02:00
Tobias Beer
95eb8810b6 removed pushOnce 2015-10-08 14:07:12 +02:00
Tobias Beer
91b5547cdf adopted style recommendations 2015-10-08 14:07:08 +02:00
Tobias Beer
d0a24bd9f0 added $tw.utils.pushOnce
retained check for basic each nonetheless

tests pass
2015-10-08 14:07:06 +02:00
Tobias Beer
4788725ccf reverted test.cmd
not sure how handling these files in the console works, reverted back to
previous version, to be run from repo folder
2015-10-08 14:07:03 +02:00
Tobias Beer
f684a6beb0 fixed helper function and added tests
tests: ok
2015-10-08 14:07:00 +02:00
Tobias Beer
a88ead9c0f removed conditional from iterator
I'd really like to see a profiler run against the two to see the
performance impact of one over the other
2015-10-08 14:06:57 +02:00
Tobias Beer
c3cbbc3f66 renamed value to items 2015-10-08 14:06:54 +02:00
Tobias Beer
f9464dfaf8 using variable declaration for readability 2015-10-08 14:06:51 +02:00
Tobias Beer
baca2703f1 added list suffix for each filter
implements #1369

when the suffix is `list`, interprets the field as a list of individual
tiddler titles and returns all titles referenced in the list field of
the source list, existing or not
2015-10-08 14:06:48 +02:00
Bram Chen
a42dff1a41 Add chinese translations of Tiddler/DateFormat 2015-10-08 09:21:01 +08:00
Bram Chen
3853a76c9a Add chinese translations of clarification about password command 2015-10-08 09:09:31 +08:00
Jermolene
8a763e9d83 Re-establish gradient for sidebar tab divider 2015-10-07 20:45:14 +01:00
Jermolene
acbf87657b Switch to absolute date format
The present implementation of relative dates doesn’t auto-update, nor
does it work effectively in static renderings. Until that’s fixed, I
think it is better to switch to absolute dates.
2015-10-07 18:35:23 +01:00
Marxsal
79972fe57f Applying recomendations
Giving better descriptive names to sub-headings
2015-10-06 10:36:19 -07:00
Marxsal
5163b541cf A primer on how to export tiddlers
Showing how to export individual, selection, or all tiddlers.
2015-10-06 09:11:21 -07:00
Jermolene
1e06824ed1 Release note update 2015-10-05 15:57:44 +01:00
Jermolene
2803890baf Release note update 2015-10-05 10:23:42 +01:00
Jermolene
0035a00463 Switch to transparent colours for "more" sidebar tabs
Although falling short of the proposal in #1976, this change makes the
sidebar tabs work much better with different colour page backgrounds
and background images.
2015-10-05 09:53:18 +01:00
Jermolene
6b3dd1bb63 Release note and docs updates 2015-10-05 09:53:18 +01:00
Jeremy Ruston
5fafa0fb07 Merge pull request #1978 from BramChen/zh
Update chinese translations
2015-10-04 22:19:52 +01:00
Jeremy Ruston
a30f9e1739 Merge pull request #1992 from tgrosinger/master
Add documentation to tw5.com for CodeBlock widget
2015-10-04 21:46:57 +01:00
Jeremy Ruston
9db8a9326f Merge pull request #1994 from tgrosinger/patch-2
Provide clarification about running with password
2015-10-04 21:41:54 +01:00
Tony Grosinger
2e1ad771d6 Whitespace clean up and missing close tag
Clean up for CodeblockWidget documentation.
2015-10-04 13:05:46 -07:00
Tony Grosinger
11b09be523 Provide clarification about running with password 2015-10-04 10:51:27 -07:00
Jeremy Ruston
1b25962948 Merge pull request #1990 from tobibeer/patch-1
example description for tagging filter
2015-10-04 17:05:41 +01:00
Tobias Beer
db2eaf56d4 overlooked "either", removed 2015-10-04 18:03:49 +02:00
Tobias Beer
2f8ae31377 better wording 2015-10-04 18:02:48 +02:00
Jeremy Ruston
6ef894f240 Merge pull request #1991 from tgrosinger/patch-1
Signing the CLA
2015-10-04 16:55:36 +01:00
Tony Grosinger
650a9a76df Add documentation to tw5.com for CodeBlock widget
Partial fix for #1985
2015-10-03 16:48:47 -07:00
Tony Grosinger
c3356e50e3 Signing the CLA 2015-10-03 16:17:00 -07:00
Tobias Beer
adb81f7eab example description for tagging filter 2015-10-04 01:01:34 +02:00
Jeremy Ruston
4e281d51c4 Merge pull request #1988 from zahlman/patch-2
Documentation for filter operators
2015-10-03 19:11:19 +01:00
Jeremy Ruston
a14eb78d76 Merge pull request #1986 from zahlman/patch-1
Signing the CLA
2015-10-03 19:10:02 +01:00
Karl Knechtel
3ab7db1a59 One more fix 2015-10-03 08:43:55 -04:00
Karl Knechtel
d806f1d0f1 Assorted wikitext fixes 2015-10-03 08:42:56 -04:00
Karl Knechtel
b23d53e9b0 Fix stray line 2015-10-03 08:36:56 -04:00
Karl Knechtel
6598455e83 Create Filter Operators.tid 2015-10-03 08:32:47 -04:00
Karl Knechtel
8d58e2d651 Signing the CLA 2015-10-03 07:11:35 -04:00
Tobias Beer
88c1a1e062 no delete confirmation for alerts 2015-10-02 11:36:07 +02:00
Bram Chen
8f5ad753af Improve chinese translations of help texts 2015-10-01 21:53:49 +08:00
Jermolene
c0c0b6653c Blog updates 2015-10-01 12:13:48 +01:00
Jermolene
99df9f46f7 Add support for tiddlers containing mp4 videos 2015-10-01 12:13:38 +01:00
Jermolene
814353d8ce Fix accidental inconsistency between savetiddlers and rendertiddlers
“-do-not-delete” flag for savetiddlers command was introduced in 5.1.10
without consistency with the already implemented “noclean” flag for the
rendertiddlers command
2015-09-29 17:04:01 +01:00
Jermolene
7b8928886b Add tw.utils.tagToCssSelector() helper method 2015-09-28 20:27:43 +01:00
Jermolene
6ac178323f Docs: better definition of a plugin 2015-09-28 17:59:44 +01:00
Jermolene
72941f3e9a Addresses #1066 by moving the search results into a dropdown.
The dropdown can be summoned by clicking on the search field. It will
only appear if the search field is not empty. When the search field is
not empty the dropdown can be also be summoned by clicking on the arrow
or search result count.

There are still some wrinkles where the dropdown doesn’t appear when
expected; I’d appreciate feedback to help reproduce those cases.

This change should still work with custom search result tabs.
2015-09-27 22:53:46 +01:00
Jermolene
b30126ec22 Text-slicer: add support for document metadata fields
The metadata for each field is in a tiddler tagged
`$:/tags/DocumentMetaData` with the field `caption` being the displayed
caption for the field and `field` being the name of the field.
`field-type` is the type of the field, and can be “string” or “list”.
2015-09-27 22:53:46 +01:00
Jermolene
ebb3a62d9a Docs updates 2015-09-27 22:53:46 +01:00
Jermolene
b27a41eb86 Hide the fold-bar by default 2015-09-27 22:53:46 +01:00
Andreas Hahn
99c5fa46dd fixed bug in $action-setfield introduced by #1963: At least one of '$field', '$value' or '$index' must be specified in order to act upon the information from the fields. Prevents default deletion of the 'text' field when none are specified. 2015-09-27 15:35:54 +02:00
Jeremy Ruston
6107bbfd6e Merge pull request #1966 from matabele/patch-1
Update cla-individual.md
2015-09-27 09:36:30 +01:00
William Jackson
8c538af9df Update cla-individual.md
Signing CLA
2015-09-26 20:39:34 +02:00
Jeremy Ruston
115c40dc4a Merge pull request #1964 from tobibeer/clear-tiddler-body
clears tiddler body for when one adds right-floating element to subtitle
2015-09-26 17:42:54 +01:00
Tobias Beer
6b1e6b7545 clears tiddler body for when one adds right-floating element to subtitle
otherwise has no effect
2015-09-26 12:22:17 +02:00
Jeremy Ruston
fd997c4581 Merge pull request #1963 from tobibeer/action-setfield-remove-index-or-field
updated #1480 "undefined value removes field or index"
2015-09-25 16:34:03 +01:00
Tobias Beer
1b2d54b4bf wording for docs 2015-09-25 15:43:31 +02:00
Tobias Beer
6b3fc8d538 updated #1480 "undefined value removes field or index"
when $value is unspecified, $action-setfield removes field or index...

modified

setText() — $:/core/modules/wiki.js
invokeAction() — $:/core/modules/widgets/action-setfield

demo

http://tobibeer.github.io/tw/batch/#ActionSetField-RemoveIndex
2015-09-25 15:20:37 +02:00
Jermolene
57c40a8a56 Text-slicer: Tweaks to fix recently introduced bugs!
* Fixes problem with slicing wikitext tiddlers
* Adjusts position of heading expand/collapse icons in the view
template segment
2015-09-22 12:57:53 +02:00
Tobias Beer
a1ce254e95 fixes #1937 — filter refresh in set widget
as per @EvanBalster
2015-09-21 17:24:26 +02:00
Jermolene
90e0b6f555 Remove extraneous whitespace from view template 2015-09-19 21:12:37 +01:00
Jermolene
6ee8c14d89 Updates to the Danish translation 2015-09-19 18:59:23 +01:00
Jermolene
c03dc4c37c Make the fold-bar be selectable as though it were a toolbar button 2015-09-19 09:36:26 +01:00
Jermolene
e6529af04e Tiddler editor: accept new tags and fields when clicking "confirm"
Fixes #1939
2015-09-19 09:36:11 +01:00
Jermolene
21175012dc Text-slicer: Fixes for images 2015-09-18 19:45:34 +01:00
Jermolene
cf00658ddf Add full-width "unfold" button for folded tiddlers
And also a full-height “fold” button for unfolded tiddlers.

Trying to address #1908
2015-09-18 19:45:34 +01:00
Jermolene
b641cb402d Add banner for unfolding tiddlers 2015-09-18 19:45:34 +01:00
Jeremy Ruston
6309d41b42 Merge pull request #1942 from BramChen/zh
Update chinese translations
2015-09-18 17:29:43 +01:00
Jermolene
268da52f8c Documentation updates
Adding “Story River” to the “Concepts” category, and doing some
clean-up of other entries in the category by moving some concepts to
become sub-concepts in the TOC
2015-09-18 09:19:21 +01:00
Jermolene
dc020276b0 Update filesystemadaptor to use a metafile for all binary files
Previously, newly created image files would end up being saved as a
base64-encoded .tid file. Now they are saved as an ordinary binary file
with an accompanying .meta file for the metadata.
2015-09-17 19:43:10 +01:00
Jermolene
e2d63a03b2 Text-slicer: Improvements to image handling 2015-09-17 19:41:41 +01:00
Jermolene
1fef272388 Text-slicer: starting to support images 2015-09-17 08:41:21 +01:00
Jermolene
7b8cb928cf Text-slicer: initial support for anchors 2015-09-16 18:59:03 +01:00
Florent V.
bbc802e228 Fix the title
to match the one required by the "FieldManglerWidget" tiddler's link to examples, broken for now. (pointing to a non existant tiddler because of the wrong name)
2015-09-16 04:55:07 +02:00
Bram Chen
8e98102281 Improve chinese translations of "tools" button tooltip 2015-09-16 10:15:31 +08:00
Jermolene
207406eeb3 tw5.com-docs improvements
Better not to override any of the tw5.com documentation tiddlers!
2015-09-15 17:51:20 +01:00
Jermolene
f4d11cb471 Add text-slicer to full edition 2015-09-15 17:50:57 +01:00
Jermolene
a19f7454ca Improve "tools" button tooltip
Thanks @Evolena
2015-09-15 17:50:49 +01:00
Jermolene
5dbaf187f1 Text-slicer: more refactoring 2015-09-15 13:37:12 +01:00
Jermolene
746aab2cf6 Create a plugin and edition for tw5.com docs
By making the docs available as a plugin we make it easier for people
to fork their own copy of the docs without losing the ability to get
updates in the future (which can be done just be updating the docs
plugin)
2015-09-15 13:37:01 +01:00
Jermolene
803d70225a Allow tiddlywiki.files to load directories recursively 2015-09-15 13:35:54 +01:00
Jermolene
f917c4da1a Clarify hint for import button
Triggered by this discussion:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
/tiddlywiki/lVu-WIP4GXs/QvJB7by3NEAJ
2015-09-15 13:35:17 +01:00
Jermolene
d4bd253779 Release note update 2015-09-15 13:34:15 +01:00
Jeremy Ruston
5ef0259ab2 Merge pull request #1935 from hegart-dmishiv/patch-1
My first attempt at editing the TW documentation
2015-09-14 16:24:43 +01:00
Jeremy Ruston
f7cf62de57 Merge pull request #1936 from hegart-dmishiv/patch-2
Signing the CLA
2015-09-14 16:24:05 +01:00
Hegart Dmishiv
6976e57af6 Signing the CLA
You may not believe the date, but I'm in Auckland, New Zealand, which is GMT+12 timezone, so I come from the future!
2015-09-15 02:20:32 +12:00
Hegart Dmishiv
3c71c10da9 My first attempt at editing the TW documentation
Feel free to ignore this pull request if you want to, although it might be a useful addition to this page. I use NZ English normally, which is closer to UK English than to US English, but I still get confused between the two sometimes, having spent so long around the (predominately American) Internet.
2015-09-15 02:01:06 +12:00
Erwan Moreau
fb69a43325 Update TWCommunitySearch.tid 2015-09-13 19:23:25 +01:00
Erwan Moreau
7f93cea6d0 Create TWCommunitySearch.tid 2015-09-13 18:47:55 +01:00
Jermolene
e19617a5ce Text-slicer updates 2015-09-13 09:37:57 +01:00
Jermolene
e62778a50f Text-slicer: Make sliced documents collapsible 2015-09-12 09:41:25 +01:00
Jermolene
3592a9560b Highlight plugin: add static demo
Also clean up some coding style issues
2015-09-11 22:36:30 +01:00
Jermolene
c80db86b67 Update to v8.8.0 of highlight.js 2015-09-11 19:53:06 +01:00
Jermolene
b379ab4f87 Text-slicer: better static HTML generation 2015-09-11 13:34:01 +01:00
Jermolene
c20e5b47b6 Clarify external text tiddler limitations 2015-09-11 13:34:01 +01:00
Jermolene
939596bd47 Add new "htmlencodedplainwikified" format to view widget
Triggered by the text-slicer plugin, but general purpose.

The clunky implementation shows the shortcomings of the view widget. It
was one of the first widgets to be implemented; subsequently, the
implementation of macros gives us a potentially more flexible way of
implementing these kinds of text transformations.
2015-09-11 13:34:01 +01:00
Jermolene
eb9fb6635d Fix issues with creation and modification dates
There were several places where tiddlers were being written without the
creation/modification details being updated.

See
https://groups.google.com/d/msgid/tiddlywiki/17ef8ab0-0128-4467-8a9d-f17
bdbcf3618%40googlegroups.com
2015-09-11 13:34:01 +01:00
Jeremy Ruston
35e84c41ed Merge pull request #1923 from BramChen/zh
Update chinese translations
2015-09-09 19:35:59 +01:00
Jermolene
3a700c025d Fix thumbnail macro tiddler title 2015-09-09 17:46:42 +01:00
Jeremy Ruston
06ba6f62cb Merge pull request #1927 from Evolena/master
Fix thumbnail macro when no caption parameter is provided
2015-09-09 17:46:10 +01:00
Jermolene
79132a1797 Revert incomplete experimental change to narrow screen layout
Fixes #1911
2015-09-09 17:12:36 +01:00
Jermolene
51d71f9858 Update blog edition docs
Fixes #1928
2015-09-09 17:03:26 +01:00
Jermolene
470238acbf Fixes to KaTeX v0.5.1 upgrade
I hadn’t noticed that the fonts had changed…
2015-09-09 13:56:52 +01:00
Evolena
a25955d8c6 Fix thumbnail macro when no caption parameter is provided 2015-09-08 20:32:07 +02:00
Jermolene
424b2fea32 Add th-saving-tiddler hook for autotagging etc.
@danielo515 this enhancement is intended to make it easier to implement
things like the auto tag plugin. Does it meet your needs?
2015-09-08 16:16:50 +01:00
Bram Chen
0861e1bb3a Add chinese Translations of lazy loading message 2015-09-08 22:14:25 +08:00
Bram Chen
8cf02fcb0f Merge branch 'master' into zh 2015-09-08 21:10:30 +08:00
Jermolene
ecdae4ceff Make lazy loading message be translateable 2015-09-08 10:41:27 +01:00
Jermolene
f405a89b28 Update to KaTeX v0.5.1 2015-09-08 10:37:33 +01:00
Jermolene
026c84197f Text-Slicer: Support folding and fix bug with filter for retrieving list contents 2015-09-07 17:01:11 +01:00
Jermolene
76c12a9ecc Make it easier for other view template segments to support folding 2015-09-07 17:00:03 +01:00
Bram Chen
1d33f5ed48 Add chinese translations of warning message for detected TiddlyWiki Classic plugins 2015-09-05 10:27:56 +08:00
Jermolene
2e0845b806 Release note update 2015-09-04 17:22:41 +01:00
Jermolene
2c9b1ae257 Add warning when trying to use plugins designed for TiddlyWiki Classic 2015-09-04 17:18:34 +01:00
Jeremy Ruston
1491ba71aa Merge pull request #1921 from BramChen/zh
Update zh-Hant and zh-Hans
2015-09-04 17:11:38 +01:00
Jermolene
f0a655d8b2 Text-slicer: Switch from weaving with tags to lists alone
Many reasons:
* to allow subtrees to be grafted more easily
* to keep the tags for an entry clean by removing structural tags and
leaving the semantic tags
* to avoid the duplication of expressing the same relationship through
both the tags and list fields
2015-09-04 09:05:33 +01:00
Jermolene
4ea5dce284 Text-slicer improvements
1. Switch from using the text field of lists for storing the associated
filter to using the field `toc-list-filter` (to make it harder to
accidentally parse the text of an ordinary tiddler as a filter)
2. Fix several bugs
2015-09-04 08:42:07 +01:00
Bram Chen
34619481ad Add chinese translations for new options of rendertiddler and savetiddlers commands 2015-09-03 21:34:55 +08:00
Jermolene
5dcb53abae Docs update for text-slicer 2015-09-03 08:54:48 +01:00
Jermolene
ad6a6f3b75 Introduce the blog plugin 2015-09-03 08:54:41 +01:00
Jermolene
5176f008f0 Enhance savetiddlers command with do not delete option 2015-09-03 08:54:17 +01:00
Jermolene
4ccdaf3faf Enhance rendertiddler command with template option 2015-09-03 08:53:08 +01:00
Jermolene
c4244e8f04 Text-slicer improvements
# Allow the slicer to be used as a command
# Sort the document preview column
2015-09-01 17:25:45 +01:00
Jermolene
1d30ee955c Remove accidentally committed change
I’d added text-slicer to the main wiki just to check that it worked.
2015-09-01 17:12:38 +01:00
Jermolene
b4aa895cac Text-slicer: add support for exclude filters
The exclude filter `+[tag[intro]]` will produce a document that only
includes the paragraphs with the tag “intro”. These are derived from
the paragraphs in the original document with the CSS class “intro”.
2015-09-01 09:59:23 +01:00
Jermolene
17dc21b809 Text-slicer refactoring 2015-08-31 20:32:32 +01:00
Jermolene
0be82ea7fb Text-slicer: Introduce separate static templates
Much easier to have separate sets of templates for interactive vs
static document trees
2015-08-31 19:50:56 +01:00
Jermolene
cc4bef9c0e Text-slicer: reorganise plugin shadow tiddler titles 2015-08-31 16:49:47 +01:00
Jermolene
ae80f9176d Typo from last commit 2015-08-31 16:25:03 +01:00
Jermolene
73f3244113 Hide the fold-all and unfold-all buttons by default 2015-08-31 15:48:43 +01:00
Jermolene
709126dd64 Don't queue change events for deleting non-existent tiddlers
Fixes #1919
2015-08-31 15:48:32 +01:00
Jermolene
684fbb1ee8 Update to KaTeX v0.5.0 2015-08-31 15:10:07 +01:00
Jermolene
faa32bc424 Text-slicer: Make sure hide/show gadgets hidden in preview 2015-08-31 14:54:39 +01:00
Jermolene
bc448ce1fd Text-slicer: updates
* Add warning in document tiddler toolbar if tiddler already exists
* Live preview document in new window
* Fix slicer.js bug that was preventing the list field of headings from
being filled in correctly
* Rationalise some class names
2015-08-31 14:15:44 +01:00
Jermolene
51d771a074 Extend tm-open-window to pass variables 2015-08-31 14:13:32 +01:00
Jermolene
4d4181b048 Missed off last commit 2015-08-30 19:15:12 +01:00
Jermolene
4cac7b6784 Lots of enhancement to the text-slicer plugin
Now includes a special document view column on the left. Headings can
be expanded/collapsed, and tiddler titles can be inspected and renamed
via the toolbar. Clicking on an entry opens the associated tiddler. The
default tiddler view template includes a special section for tiddlers
that are part of a document
2015-08-30 19:15:04 +01:00
Jermolene
0d55f2c46b Observe storyleft position in fluid-fixed mode 2015-08-30 19:12:34 +01:00
Jermolene
3fbe07f1f8 Fix link widget propogation behaviour
Without this fix, using nested link widgets with custom elements causes
clicks on the inner element to trigger links on each of the containing
widgets
2015-08-30 19:12:12 +01:00
Jermolene
68e15c1064 Move rename tiddler handling into navigator widget
For consistency with the other tiddler manipulation primitives.
2015-08-30 19:11:14 +01:00
Jermolene
a204784c0c Limited implementation of external text tiddlers in the browser
Triggered by the discussion in #1917
2015-08-29 16:33:04 +01:00
Jermolene
abd8201aaa Text-slicer refactoring
Substantially cleaning up the main slicer code
2015-08-29 15:23:31 +01:00
Jermolene
97979e1fb1 Text-Slicer: update docs and change default view 2015-08-28 19:40:58 +01:00
Jermolene
46087fd270 Text-slicer update
* Improved docs on the created structure
* Added support for converting CSS classes as tags
* Added display of tags within the toolbar
2015-08-28 19:13:50 +01:00
Jermolene
f443719223 Text-slicer: Add selectable output views 2015-08-17 11:16:53 -04:00
Jermolene
74bd6e8232 Remove old code
Experimental code, accidentally committed
2015-08-10 22:20:40 +01:00
Jermolene
abcb2d3a1c Text-slicer: improved generation of paragraph names 2015-08-10 20:32:30 +01:00
Jermolene
2eb645e5e5 Add getAttribute to fakeDom 2015-08-10 20:32:13 +01:00
Jermolene
d3ca636a5b Text-slicer: switch to use tabbed internal navigation 2015-08-10 19:39:04 +01:00
Jeremy Ruston
c06b3c4ef7 Merge pull request #1906 from BramChen/zh
Update zh-Hant and zh-Hans
2015-08-10 11:43:19 +01:00
Jermolene
3cfad8b044 Refactoring of text-slicer
Now we process the rendered HTML of tiddlers, which allows us to
process HTML generated by MS Word. In fact, the HTML that MS Word
generates is so awful, I’ve instead been using Mammoth to do the
conversion: https://github.com/mwilliamson/mammoth.js

Also some necessary improvements to the fake dom implementation.
2015-08-10 11:41:23 +01:00
Jermolene
010b01f205 Remove extra DIV added to view template
One of the changes for introducing folded tiddlers was the extra reveal
widget here, which introduces an extra DIV element, breaking some CSS
rules. To fix it, we re-use the reveal widgets generated DIV as the
tiddler body DIV
2015-08-10 11:39:11 +01:00
Bram Chen
66b405ac81 Update chinese translation of all fold/ unfold buttons
* new "fold all" and "unfold all" page buttons
* new "unfold tiddler" toolbar button
2015-08-10 13:49:13 +08:00
Jermolene
4d5c14bca7 Release note update 2015-08-09 17:25:26 +01:00
Jermolene
ac08dc2e35 Added fold/unfold all buttons
More translations, @BramChen, apologies…
2015-08-09 17:25:01 +01:00
Jermolene
4bcf1e298b Release note updates 2015-08-09 16:44:47 +01:00
Jermolene
4152fbbfeb Use different wording for unfolding vs folding
Apologies for making more work @BramChen!
2015-08-09 16:40:58 +01:00
Jermolene
16c69bb419 Tweaks to fold button 2015-08-09 16:11:37 +01:00
Jeremy Ruston
27ec05e521 Merge pull request #1905 from BramChen/zh
Update zh-Hant and zh-Hans
2015-08-09 14:33:39 +01:00
Bram Chen
0f32af1cce Add chinese translations of "fold" button for the tiddler toolbar 2015-08-09 21:03:51 +08:00
Jermolene
bad4a19f8e Add fold others button 2015-08-09 12:56:48 +01:00
Jermolene
c91c7b7cbb Updates to Korean translation 2015-08-09 12:44:57 +01:00
Jermolene
ef87dd0687 Update release note 2015-08-09 11:11:04 +01:00
Jermolene
5d43cd7408 Add fold tiddler toolbar button
Addressing this tweet:
https://twitter.com/s_stryjecki/status/629349768280604672
2015-08-09 11:10:04 +01:00
Jermolene
6a3c4d6c91 Flip logic for suppressing timestamps
Fixing a mistake from the earlier commits, so that the default remains
that the timestamps are applied.
2015-08-09 11:09:02 +01:00
Jermolene
318a1cf212 Release note updates 2015-08-08 14:43:01 +01:00
Jeremy Ruston
1022854900 Merge pull request #1904 from araname/master
Signing the CLA
2015-08-08 14:39:02 +01:00
Myeongjin
be0ab28e89 Signing the CLA 2015-08-08 22:32:39 +09:00
Jermolene
fbe4bc18b9 Move JS-oriented mechanism docs to /dev
Fixes #1889
2015-08-08 13:56:42 +01:00
Jermolene
7421616754 Make keyboard shortcuts configurable
Fixes #1892
2015-08-08 13:43:14 +01:00
Jermolene
6c6b723a0d Tweak sidebar height for narrow screens 2015-08-08 13:08:10 +01:00
Jermolene
4f5cf4597a Remove blur effect from modals
Fixes #1893
2015-08-08 13:08:10 +01:00
Jeremy Ruston
e27e49e00c Merge pull request #1894 from BramChen/zh
Update chinese translations
2015-08-08 13:04:43 +01:00
Jermolene
cac6d3b4d9 Improve sidebar behaviour on narrow screens
Now the sidebar is a fixed overlay. It is scrollable, taking up 50% of
the height of the screen, so that the underlying page can be partially
seen.

There’s more to be done: on narrow screens we probably want the sidebar
to be hidden by default.
2015-08-08 08:39:37 +01:00
Bram Chen
d01d8539a6 Merge branch 'master' into zh 2015-08-07 09:51:48 +08:00
Jermolene
e5cd8313a0 Update actionsetfield widget to allow timestamp to be preserved 2015-08-06 18:17:09 +01:00
Jeremy Ruston
821617058d Merge pull request #1901 from SuperDOS/master
Update cla-individual.md
2015-08-06 17:43:57 +01:00
SuperDOS
22563792c4 Update cla-individual.md 2015-08-06 15:16:19 +02:00
Jermolene
b1cf0fdd68 Text-slicer tweaks
* Add site title/subtitle
* Remove proxy title tiddler used for renames when no longer used
2015-08-05 19:21:48 +01:00
Jermolene
cbbe90313b Add in-place editing for text-slicer plugin
@pmario \o/
2015-08-05 15:08:03 +01:00
Jermolene
fdce67399d Provide option to suppress navigation for edit/cancel/save 2015-08-05 15:07:19 +01:00
Bram Chen
d7263d8413 Merge branch 'master' into zh 2015-08-05 15:01:48 +08:00
Jermolene
72ed4b2673 Add renaming to text-slicer tiddler toolbar
The plan is to expose the functionality in other places, too - for
example, the edit template and the tag manager
2015-08-04 17:44:07 +01:00
Jermolene
be0ebfeeae Make the text slicer tiddler toolbar be tag-driven 2015-08-04 17:34:28 +01:00
Jermolene
535d8d6fa0 Stop using an import tiddler for text slicer
Instead we directly output the tiddlers (we keep the old code around;
later we’ll make the output mode switchable).

Also improve the icon
2015-08-04 08:04:57 +01:00
Jermolene
dd1f82c1aa Improve the text-slicer icon 2015-08-03 17:09:48 +01:00
Jermolene
898e992694 Improvements to text-slicer plugin
1. Introduce template tiddlers for the document, each tiddler, and the
tiddler toolbar
2. Move the text slicer toolbar button to the left of the edit button
3. Add a selectable toolbar, currently just containing the tiddler title
2015-08-03 15:10:35 +01:00
Jermolene
2e5c500300 Fix slice button tooltip 2015-08-03 09:13:45 +01:00
Jermolene
8b9e790e69 Improve text slicer docs 2015-08-03 09:13:36 +01:00
Jermolene
cc1acdaf74 Add ko-KR and sv-SE to translators edition 2015-08-03 08:43:21 +01:00
Bram Chen
b57feaa6a8 Correct encoding of chinese character 2015-08-03 14:19:26 +08:00
Bram Chen
db20d8f812 Merge branch 'master' into zh 2015-08-03 13:56:06 +08:00
Jermolene
9168480d18 Clear caches when changing plugins 2015-08-02 22:22:33 +01:00
Jermolene
bc0d8c7c65 Add Korean (Korean Republic) translation 2015-08-02 13:59:26 +01:00
Jermolene
c6c9abeb1b Add Swedish translation by Superdos 2015-08-02 11:39:57 +01:00
Jermolene
d2c14ba203 Use nested icon for text-slicer
We transclude the existing text-slicer icon on top of the hexagonal
background image.
2015-08-02 11:38:55 +01:00
Jermolene
1e25de984b More specificity for plugin listing CSS rules
This is to enable us to use nested SVGs as icons (see next commit)
2015-08-02 11:38:25 +01:00
Bram Chen
0691286092 Merge branch 'master' into zh 2015-08-02 09:11:56 +08:00
Jermolene
9ec38eef32 Improve text-slicer macros
Encapsulate tiddler display so that we can detect draft tiddlers and
display them through their own template
2015-08-01 18:10:00 +01:00
Jermolene
d938c10144 Use new story object to navigate to slicer output 2015-08-01 18:09:30 +01:00
Jermolene
c23e26be5f No longer need to keep text slicer output open 2015-08-01 18:09:14 +01:00
Jermolene
8444961cd2 Introduce Story object
A lightweight object to encapsulate manipulation of the story and
history lists
2015-08-01 18:09:00 +01:00
Bram Chen
e1cce60df3 Add chinese translations for parser rule configuration in control panel 2015-08-01 21:19:03 +08:00
Jermolene
a4d0210f90 Use $:/TextSlicer for text-slicer output 2015-08-01 13:48:57 +01:00
Jermolene
cd29eed067 Fix problem with importing using wrong import tiddler name 2015-08-01 13:48:46 +01:00
Jermolene
3b321b5d26 Add buttons to the top of the $:/Import tiddler too 2015-08-01 13:19:39 +01:00
Jermolene
8488a13761 Introduce text-slicer plugin and edition
A first pass at a plugin that splits formatted text into individual
tiddlers according to lists and headings.
2015-08-01 13:15:24 +01:00
Jermolene
8f746f9dde Add parse tree utility for collecting text 2015-08-01 13:14:32 +01:00
Jermolene
7cc85e8162 Use relative links for editions
Thus making the links work properly in both the release and prerelease
2015-08-01 13:14:17 +01:00
Jermolene
f708b4df65 Turn off performance instrumentation
The plan is to make it be a user configurable option
2015-08-01 13:13:47 +01:00
Jermolene
58188cf805 Improvements to parser rule configuration
* Ignore parser rule configuration in safe mode
* Made text translatable
* Added new setting for camelcase links
* Added warning on parser rule configuration tab

See #1875
2015-07-31 13:33:33 +01:00
Jermolene
d5e690a06d First pass at global disabling of parser rules
This is to address #1875 more quickly than via #345.

This commit only includes a partial implementation of the UI - see the
ticket for details.
2015-07-30 12:28:29 +01:00
Jermolene
9e1741a549 Move 5.1.10-specific content to "staging" folder
So that we can build tw5.com with 5.1.9 for content updates.
2015-07-29 08:23:38 +01:00
Jermolene
73210a7b8c Refine the way that we support serialised external tiddler files
The old way was sufficiently backwards compatible that it was
impossible to use TiddlyWiki 5.1.9 to build the tw5.com edition.
2015-07-28 19:56:56 +01:00
Jeremy Ruston
273daa9613 Fix unicode characters in filename 2015-07-20 19:07:55 +01:00
Jeremy Ruston
6de92a0293 Fix unicode characters in filename 2015-07-20 19:07:26 +01:00
Jeremy Ruston
66bdb71c4a Fix unicode characters in filename 2015-07-20 19:07:08 +01:00
Jeremy Ruston
90b12676c4 Merge pull request #1887 from inmysocks/ResumeBuilder
Updated spelling of résumé, fixed settings for new resumes, other minor fixes
2015-07-20 19:03:52 +01:00
inmysocks
e508b7b765 Updated spelling of résumé, fixed settings for new resumes, other minor fixes
The spelling for résumé should include the accents everywhere but in some tiddler titles.
Newly created resumes now automatically have the default settings for visibility and templates
The first page of the resume wizard now has options for which sections are displayed along with the order and templates to use
The print option no longer puts a black box around the text area out the output
Some temp tiddlers are included to prevent the default 'Enter text for <tiddlername> tiddler' from showing up in some text entry boxes
There are some other minor layout improvements
2015-07-20 11:52:58 -06:00
Jermolene
c25f7e786f Correct accents for "résumé"
@inmysocks this may be a bit of pedantry too far, but I found I keep
reading it as “resume” in the sense of “normal services was resumed”.

We definitely shouldn’t try to add accents to the URLs, but I wonder if
it might be worth updating the edition itself, too?
2015-07-20 10:52:24 +01:00
Jeremy Ruston
92bfbc578c Merge pull request #1886 from inmysocks/ResumeBuilder
Resume builder update
2015-07-20 08:29:10 +01:00
inmysocks
756ebae1f6 Added a section creation tool and some minor fixes
The section creation tool is a semi-automated tool for adding new resume sections.
It still requires knowledge of wikitext but it requires far less knowledge of the inner workings of the resume builder
than just creating a section on your own would.
2015-07-19 17:54:46 -06:00
inmysocks
45bf43d8d0 Added Print button, cleaned up a lot of other minor stuff
Notable changes:

Removed the sidbar tabs other than the resume preview
Fixed ordering problems for the sections in the resume wizard
Fixed some minor display problems in some of the input tiddlers
Updated the documentation a little
2015-07-19 13:04:10 -06:00
Jermolene
ea10d85604 Add link to "resume builder" edition 2015-07-18 13:34:30 +01:00
Jeremy Ruston
7e94fa8e84 Merge pull request #1885 from inmysocks/ResumeBuilder
Added resume builder edition
2015-07-18 12:33:20 +01:00
Jermolene
3fbf29093b Use tiddler control colour for search icons
Fixes #1787
2015-07-18 12:22:35 +01:00
Jermolene
ecbd97b4b4 Revise support for external tiddler files
Fixes #1884
2015-07-18 11:45:30 +01:00
inmysocks
684d6e4377 Added the state tiddler to make the preview open by default
Yep, I may actually be learning to use git. It only took 10 years of using it.
2015-07-18 00:32:26 -06:00
inmysocks
8bb0a9b7c8 Moved files to be keep consistent organization
Also remembered to add tiddlywiki.info, that is important.
2015-07-18 00:23:51 -06:00
inmysocks
56ea55ddc4 Added resume builder edition
Lets see if this works this time
2015-07-18 00:05:26 -06:00
Jermolene
dfc935b520 Fix link to SocialCalc
Fixes #1884
2015-07-17 08:59:29 +01:00
Jermolene
72cf85f0d4 Restore error trapping for KaTeX rendering 2015-07-17 08:58:58 +01:00
Jermolene
69ae017f49 Update the plugin library version 2015-07-17 08:58:39 +01:00
Jermolene
9b6151c6c4 Update dev docs 2015-07-14 17:03:37 +01:00
Jermolene
f8027a3708 Fixed problem with static generation of KaTeX in the browser 2015-07-14 08:45:14 +01:00
Jermolene
18e38bb2bc Fix bug with 2cb6400773
The problem was that we failed to escape the dash in the regexp,
meaning that it was matching all characters from “.” to “_”.
2015-07-14 08:33:12 +01:00
Jermolene
2cb6400773 Extend automatic system tiddler linking to digits and underscore
Fixes #1877
2015-07-13 14:42:55 +01:00
Jermolene
396af28d16 Update SavingMechanism docs 2015-07-12 09:08:19 +01:00
Jermolene
e0aacc84d5 Add publishFilter to default save template
Making #1800 a bit more useful
2015-07-12 09:08:11 +01:00
Jermolene
7ae5eab3a8 Refactored file save filter docs
@danielo515 I hope this still makes sense.
2015-07-10 17:02:27 +01:00
Jeremy Ruston
c2342fce7a Merge pull request #1876 from danielo515/patch-10
Filters involved saving mechanism of standalone
2015-07-10 16:44:14 +01:00
Jermolene
32f6d7f1b0 Revert getTiddlerData() and add getTiddlerDataCached()
For backwards compatibility, we now explicitly request the cacheable
version of this method.

Fixes #1873
2015-07-10 16:43:50 +01:00
Daniel Rodríguez Rivero
0e75497d58 Filters involved saving mechanism of standalone
This is directly extracted from the groups. I though that putting this info into documentation will be useful, because it is not stated in any other place.

ref: https://groups.google.com/d/msg/tiddlywiki/zB40PBIDkBE/DzV1ZHudM3sJ
2015-07-09 17:11:09 +02:00
Jeremy Ruston
0c276c327b Merge pull request #1874 from nameanyone/master
Expanded example
2015-07-09 08:30:19 +01:00
nameanyone
4cfb6813f5 Expanded example 2015-07-08 23:26:15 -07:00
Jeremy Ruston
d327d6fbed Merge pull request #1868 from idoine/patch-44
Update FieldManglerWidget.tid
2015-07-08 16:29:46 +01:00
Jeremy Ruston
fad9fd13b5 Merge pull request #1869 from idoine/patch-45
Create FieldMangler Widget (Examples).tid
2015-07-08 16:29:39 +01:00
Jeremy Ruston
82fac2599d Merge pull request #1867 from idoine/patch-43
Update variable-macros.tid
2015-07-08 16:29:16 +01:00
Jermolene
862e358b57 Refine check for client server plugins
Fixes #1870
2015-07-08 15:48:13 +01:00
Jermolene
7dddc925ae Allow delete button to be used in view toolbar
Fixes #1871
2015-07-08 15:33:18 +01:00
Jermolene
8f63e2a959 Optimise iterating through tiddlers
Astonishingly, it’s much quicker to use `Object.keys()` to get an array
of key names, and then iterate through that. I’m seeing 25% speed
improvements for an empty tiddler iterator.
2015-07-08 08:27:28 +01:00
Jermolene
8bfc6f3557 Adjust cache names for parse caches
The old names were a hangover from an old refactoring.
2015-07-08 08:26:19 +01:00
Marc Viot
5be980c64e Rename FieldMangler Widget (Examples) to FieldMangler Widget (Examples).tid 2015-07-06 19:52:11 +02:00
Marc Viot
5924616ee9 Create FieldMangler Widget (Examples) 2015-07-06 19:46:21 +02:00
Marc Viot
caeb736c2b Update FieldManglerWidget.tid
Add a link to example
2015-07-06 19:09:17 +02:00
Marc Viot
a75cfefe88 Update variable-macros.tid
Add ability to handle widget example
2015-07-06 19:05:44 +02:00
Jermolene
203bc4b242 Prepare for 5.1.10 2015-07-06 11:23:49 +01:00
Jermolene
48d452c535 Update test for recent parser changes 2015-07-06 11:23:30 +01:00
Jermolene
848a7f4e74 Optimise getStateQualifier()
Another fix for #1864, this time we’re caching state qualifiers as they
are expensive to compute.
2015-07-06 11:23:12 +01:00
Jermolene
c6e48ebc2d Performance optimisations
In some situations, I’m seeing x2.5 speedups with these optimisations

Starts fixing #1864
2015-07-05 19:47:44 +01:00
Jermolene
a86cfe2663 Minor coding style tweaks 2015-07-05 18:09:35 +01:00
Jermolene
31fc9babfe Move "recent" filter docs to prerelease
This is to ensure that the changes don’t appear in any subsequent build
of tiddlywiki.com while we’re on 5.1.9.
2015-07-05 18:08:38 +01:00
Jeremy Ruston
c4397792f5 Merge pull request #1863 from nameanyone/master
New filter "recent"
2015-07-05 18:04:05 +01:00
Jermolene
4b2cf2eeee 2nd attempt to fix creation date
Thanks @nameanyone
2015-07-05 18:02:57 +01:00
Jermolene
b0cb17cd83 Re-establish caching of results of parsing a tiddler
I switched this optimisation off back in
ed35d91be6, in October 2013, as part of a
big refactoring of the parsing and widget mechanism. I’ve been meaning
to switch it back on for some time.

My rough measurements suggest that this optimisation can reduce
rendering time by 5-10%.
2015-07-05 17:48:18 +01:00
Jermolene
c1005b9d12 Fix invalid creation date
Thanks @nameanyone
2015-07-05 09:27:54 +01:00
nameanyone
9d17127144 Filter operator "recent": examples 2015-07-03 15:31:37 -07:00
nameanyone
a1e5000984 Filter operator "recent": documentation 2015-07-03 15:31:18 -07:00
Jermolene
a58dc869bd Correct typo 2015-07-03 17:44:55 +01:00
Jermolene
f1ae41da9a Update release documentation 2015-07-03 16:59:40 +01:00
Jermolene
56403a21bf Update 5.1.9 release date 2015-07-03 16:59:30 +01:00
Jermolene
cc4d231942 Version number update for 5.1.9 2015-07-03 16:47:58 +01:00
Jermolene
266eee946c Update readmes 2015-07-03 16:47:39 +01:00
Jermolene
bc076eee27 Docs updates preparing for 5.1.9 release 2015-07-03 16:39:42 +01:00
Jermolene
4754356f5a Add @infurnoape to 5.1.9 contributors 2015-07-03 15:28:30 +01:00
Jeremy Ruston
c47ff42589 Merge pull request #1859 from BramChen/zh
Update zh-Hant and zh-Hans
2015-07-03 10:12:01 +01:00
Jermolene
5f346ff0be Remove unneeded file 2015-07-03 10:00:27 +01:00
Jeremy Ruston
e8348edd8d Merge pull request #1860 from xcazin/fr-FR
fr-FR translation of Fields/Add/Dropdown strings in Edit template
2015-07-03 09:49:18 +01:00
Jeremy Ruston
6bf0bbe160 Merge pull request #1861 from r1chard5mith/patch-4
changed the tag value used in the final example
2015-07-03 09:47:47 +01:00
Xavier Cazin
525e55c7ea Corrections to Encryption strings in fr-FR translation 2015-07-03 10:45:55 +02:00
Richard Smith
f3d915f578 changed the tag value used in the final example
Because "Introduction" is no longer used on Tiddlywiki.com, so the example is a bit confusing
2015-07-03 14:09:59 +10:00
Bram Chen
109eebaaa2 Add chinese translations for ToolbarButtonStyle in $:/ControlPanel Settings tab 2015-07-03 09:29:48 +08:00
Bram Chen
55530e80a8 Merge branch 'master' into zh 2015-07-03 09:08:08 +08:00
Jermolene
3a7e29674b Fix problem with checkbox widget and missing tiddlers
The newly added invertTag code was crashing if the tiddler doesn’t
exist.
2015-07-02 17:33:51 +01:00
Jermolene
8b7aad11c0 Update release notes 2015-07-02 17:33:26 +01:00
Jermolene
35703d846b Release note update 2015-07-02 17:10:28 +01:00
Jermolene
db0d95afcd Style tweaks for toolbar buttons 2015-07-02 16:59:35 +01:00
Xavier Cazin
9061e76670 fr-FR translation of Fields/Add/Dropdown strings in Edit template 2015-07-02 14:12:41 +02:00
Jermolene
f3b5dc530e First pass at selectable toolbar button styles
There’s not much to making the toolbar button styles switchable: the
change to the PageTemplate introduces a new configuration tiddler that
controls the button styling. Most of this commit is the user interface
for changing that setting, including the translatable text. I think
this again demonstrates that we need to be very selective about which
configuration options have a UI included in the core. Otherwise, a few
dozen more of these settings will start to become a significant
fraction of the core.
2015-07-02 08:57:06 +01:00
Bram Chen
a4e7ac9b2e Add chinese translations of Fields/Add/Dropdown 2015-07-02 09:35:28 +08:00
Jermolene
68564eaeff Update release note 2015-07-01 15:59:43 +01:00
Jermolene
31ebbb2d7d Add translatable strings for type dropdown 2015-07-01 15:58:49 +01:00
Jeremy Ruston
062aa03c5a Merge pull request #1849 from Infurnoape/master
Update fields.tid
2015-07-01 15:40:25 +01:00
Jeremy Ruston
755404958e Merge pull request #1858 from BramChen/zh
Update zh-Hant and zh-Hans
2015-07-01 14:27:03 +01:00
Bram Chen
ba188b70f5 Add chinese translations of TagManager/Count/Heading 2015-07-01 19:44:36 +08:00
Jeremy Ruston
908bb87505 Merge pull request #1857 from sukima/feature/move-tag-count-to-tag-manager
Move tag counts to TagManager
2015-07-01 09:24:32 +01:00
Jermolene
497a7ebf81 Revert e2d4e41e96
There were unintended sideeffects on the toolbar dropdown menus
2015-07-01 09:24:12 +01:00
Jermolene
8ada96eaa8 Add additional contributors
5.1.9 is shaping up to have an unusually large number of contributors.
I can’t thank everyone enough; it’s a source of great pride that
TiddlyWiki is sufficiently good that other people are prepared to help
me work on it.
2015-07-01 09:24:12 +01:00
Devin Weaver
7057c6252e Fix bad table rendering with info button
When the info button in the TagManager was press it revealed the info
table but it was squished in one cell and that pushed the right side of
the table past the width of the tiddler. So using a colspan optimises
the spacing (plus it looks better).
2015-06-30 23:59:23 -04:00
Devin Weaver
98a1ee1a8d Add untagged to TagManager
Used for stats and easy access to the untagged pill
2015-06-30 23:56:16 -04:00
Devin Weaver
7d348b3733 Move counts to TagManager 2015-06-30 23:56:02 -04:00
Jeremy Ruston
533c8eec7a Merge pull request #1851 from slovuj/patch-1
Wrong macro name in example description
2015-06-30 22:30:29 +01:00
Jeremy Ruston
ac2e6fff7e Merge pull request #1855 from slovuj/patch-2
Update cla-individual.md
2015-06-30 22:28:41 +01:00
Slo
03a216d756 Update cla-individual.md 2015-06-30 23:20:06 +02:00
nameanyone
a37ba2afbe New filter operator "recent"
Select tiddlers with a specified date field (default "modified") within the last N days (default 0, meaning today).
2015-06-30 14:05:03 -07:00
Jermolene
15c76d997e Docs updates 2015-06-30 22:01:06 +01:00
Jermolene
e2d4e41e96 Update font size of text toolbar buttons 2015-06-30 18:58:13 +01:00
Jermolene
7318805077 Update release notes 2015-06-30 18:25:47 +01:00
Jeremy Ruston
1376eaa40a Merge pull request #1847 from marcor/master
Italian update
2015-06-30 18:25:06 +01:00
Jeremy Ruston
d4dc1a2441 Merge pull request #1848 from felixhayashi/improvement/docs
improved docs
2015-06-30 18:16:27 +01:00
Jermolene
8438be5256 Update docs 2015-06-30 17:56:23 +01:00
Jeremy Ruston
c2ca1d3ed4 Merge pull request #1850 from nameanyone/master
Add publishFilter to tiddlyweb save-offline
2015-06-30 17:53:34 +01:00
Slo
5b20255749 Wrong macro name in example description
The \define pragma below defines a macro called tags.
should be:
The \define pragma below defines a macro called tags-of-current-tiddler.
2015-06-30 11:01:49 +02:00
nameanyone
8ce3f9983f Update save-offline.tid 2015-06-29 14:31:33 -07:00
Jermolene
5f3587c38c Update to KaTeX 0.4.3 2015-06-29 21:07:26 +01:00
Andrew J Harrison
7ad15bc248 Update fields.tid
Add a new field drop down
2015-06-29 10:45:41 -07:00
Felix Hayashi
f69d1270ad improved docs
* Updated tiddlymap website
* Improved GitHub description
2015-06-28 13:43:11 +02:00
marcor
841f1b392c Yet another signature 2015-06-26 22:59:59 +02:00
Jermolene
bc885027c3 Updated Dutch translation 2015-06-26 16:31:11 +01:00
Jermolene
63f802efda Rename checkbox "invert" attribute to "invertTag"
And update docs
2015-06-26 10:18:15 +01:00
Jeremy Ruston
22d35bf989 Merge pull request #1846 from welford/xobkcehc
add invert parameter to checkbox plugin
2015-06-26 10:08:41 +01:00
marcor
cc59d445a2 Italian update 2015-06-26 00:15:44 +02:00
James Welford Anderson
379181ded5 add invert parameter to checkbox plugin
for when you want a tag to denote the lack of a check rather than the
presence of one.
2015-06-26 05:10:13 +09:00
Jeremy Ruston
f3c066ff48 Merge pull request #1837 from sukima/feature/multi-tiddler-file-syntax
Add a syntax specification to MultiTiddlerFiles
2015-06-25 17:33:15 +01:00
Jeremy Ruston
f74828f76d Merge pull request #1838 from sukima/patch-1
Add GitFixUm community example
2015-06-25 17:01:47 +01:00
Jeremy Ruston
1d94eac76e Merge pull request #1844 from sukima/feature/sjcl-tiddler
Add Stanford JavaScript Crypto Library tiddler
2015-06-25 14:28:04 +01:00
Jeremy Ruston
7050a8d8cf Merge pull request #1841 from xcazin/fredmv
Additions to the fr-FR edition by @idoine, slightly amended by @xcazin
2015-06-25 11:47:05 +01:00
Devin Weaver
b33c9625fb Add Stanford JavaScript Crypto Library tiddler 2015-06-24 19:56:26 -04:00
Xavier Cazin
3918286221 Replace occurrences of *tiddler ombre* by *tiddler shadow* in fr-FR edition 2015-06-24 15:29:12 +02:00
Xavier Cazin
b1dd1bc93c Additions to the fr-FR edition by @idoine, slightly amended by @xcazin 2015-06-24 12:25:58 +02:00
Jermolene
ff7824af11 Update release note 2015-06-24 09:25:33 +01:00
Jermolene
50c6ce8b73 Improve syslink parsing
Fixes #1767
2015-06-24 09:24:03 +01:00
Jermolene
948b72dc7a Add language icons to tw5.com 2015-06-23 10:49:59 +01:00
Jermolene
f3a66c17a6 Tweak translator docs 2015-06-23 10:49:59 +01:00
Jermolene
53072dd7aa Extended tiddlywiki.files to support tiddler files
Previously, we just read the target file as a block of UTF-8. With this
update, we deserialise the file, allowing us to use file formats like
.tid within the tiddlywiki.files file.
2015-06-23 10:49:59 +01:00
Jermolene
8e12d4cb70 Correct typo 2015-06-23 10:49:58 +01:00
Devin Weaver
162735303b Add GitFixUm community example
Thought this was a unique enough example to be part of the TW5.com site.
2015-06-21 17:49:59 -04:00
Devin Weaver
1ff1390863 Add a syntax specification to MultiTiddlerFiles
Been playing with the railraod plugin and I thought I'd try my hand at
writing some syntax specs for the MultiTiddlerFiles tiddler.
2015-06-21 14:35:55 -04:00
Jeremy Ruston
88c2f5a985 Merge pull request #1820 from idoine/patch-23
New fr_fr "Filter Whitespace.tid"
2015-06-21 13:47:03 +01:00
Jeremy Ruston
a006f44334 Merge pull request #1819 from idoine/patch-22
New fr_fr "Filter Parameter.tid"
2015-06-21 13:46:59 +01:00
Jeremy Ruston
5678605241 Merge pull request #1818 from idoine/patch-21
New fr_fr "Filter Run.tid" & "Filter Step.tid"
2015-06-21 13:46:52 +01:00
Jeremy Ruston
d9240b25fd Merge pull request #1817 from idoine/patch-20
New fr_fr "Filter Expression.tid"
2015-06-21 13:46:47 +01:00
Jeremy Ruston
0fa661f473 Merge pull request #1816 from idoine/patch-19
Upgrade fr FilterOperators.tid
2015-06-21 13:46:43 +01:00
Jeremy Ruston
fb1c7078a7 Merge pull request #1815 from idoine/patch-18
New fr_fr "Filter Syntax.tid"
2015-06-21 13:46:34 +01:00
Jeremy Ruston
145f5d8cc1 Merge pull request #1814 from idoine/patch-17
Upgrade fr Introduction to Filters.tid
2015-06-21 13:46:27 +01:00
Jeremy Ruston
14d3b0ffa8 Merge pull request #1813 from idoine/patch-16
Upgrade fr Filters.tid
2015-06-21 13:46:16 +01:00
Jeremy Ruston
f13b1d0ada Merge pull request #1812 from idoine/patch-15
Add fr TOCMacro Tabbed Ex 2/2 (warning)
2015-06-21 13:46:09 +01:00
Jeremy Ruston
6322c9bef2 Merge pull request #1811 from idoine/patch-14
Upgrade fr TOCMacro Tabbed Ex 1/2 (warning)
2015-06-21 13:45:59 +01:00
Jeremy Ruston
e55db75135 Merge pull request #1810 from idoine/patch-13
Upgrade fr TOCMacro Selective Expandable Example.tid (warning)
2015-06-21 13:40:16 +01:00
Jeremy Ruston
23b7b1120a Merge pull request #1809 from idoine/patch-12
Upgrade fr TOCMacro Sorted Expandable Example.tid (warning)
2015-06-21 13:40:08 +01:00
Jeremy Ruston
8c419eec20 Merge pull request #1808 from idoine/patch-11
Upgrade fr TOCMacro Expandable Example (warning)
2015-06-21 13:40:04 +01:00
Jeremy Ruston
ac79b14ef3 Merge pull request #1807 from idoine/patch-10
Upgrade fr TOCMacro Simple Example.tid (warning)
2015-06-21 13:39:34 +01:00
Jeremy Ruston
f6268f811e Merge pull request #1806 from idoine/patch-9
Usefull translated "T.o.C Macros (Examples)" for the new translated "T.o.C macro"
2015-06-21 13:39:09 +01:00
Jeremy Ruston
e0869271aa Merge pull request #1805 from idoine/patch-6
Corrections for the fr-FR edition
2015-06-21 13:38:59 +01:00
Jeremy Ruston
4c2900c9c3 Merge pull request #1804 from idoine/patch-5
Add New translated "$__CurvedText.tid" to fr
2015-06-21 13:38:48 +01:00
Jeremy Ruston
319d9a71af Merge pull request #1803 from idoine/patch-4
Translated  "Un wiki sur votre BiblioBox" ... to french
2015-06-21 13:38:33 +01:00
Jeremy Ruston
6d35101bf7 Merge pull request #1802 from idoine/patch-3
Extend Glossaire en-GB -> fr-FR with new words
2015-06-21 13:38:24 +01:00
Jeremy Ruston
ddb28681a7 Merge pull request #1765 from idoine/patch-2
l20 "demande de TiddlyFox qui vous demande s'il faut activer"
2015-06-21 13:37:36 +01:00
Marc Viot
8255d0d855 Rename Table-of-Contents Macros (Examples) to Table-of-Contents Macros (Examples).tid 2015-06-21 14:17:15 +02:00
Marc Viot
25683c64da New translated tiddler for fr_fr 2015-06-21 13:12:31 +02:00
Marc Viot
030b032f0d New translated tiddler for fr_fr 2015-06-21 13:06:48 +02:00
Marc Viot
d41563af6e New translated tiddler for fr_fr 2015-06-21 12:49:15 +02:00
Marc Viot
2e9848c169 New translated tiddler for fr_fr 2015-06-21 12:41:29 +02:00
Marc Viot
3d226eca3c New translated tiddler for fr_fr 2015-06-21 12:32:10 +02:00
Marc Viot
cd083a4980 Upgrade fr translation 2015-06-21 12:18:14 +02:00
Marc Viot
2803ed0a23 Add a Translated to french 2015-06-21 12:00:12 +02:00
Marc Viot
f4c630d5f7 Upgrade fr translation 2015-06-21 11:44:58 +02:00
Marc Viot
dc49c4410a Upgrade fr translation 2015-06-21 11:30:25 +02:00
Marc Viot
b1334b7d79 Upgrade fr translation TOCMacro Tabbed Ex 2/2 (warning)
Title was modified. 2 new tiddlers was created. The last one deleted. I just modified one and created this one (Perhaps, i'ts not the good way)
TableOfContentsMacro Tabbed Example => Example Table of Contents: Tabbed External
2015-06-21 11:17:28 +02:00
Marc Viot
5f20f37b15 Upgrade fr translation TOCMacro Tabbed Ex 1/2 (warning)
Title was modified. 2 new tiddlers was created. Here, the first. Just last one deleted (Perhaps, i'ts not the good way)
TableOfContentsMacro Tabbed Example => Example Table of Contents: Tabbed Internal
2015-06-21 11:04:57 +02:00
Marc Viot
e2cd12c6f3 Upgrade fr translation (warning)
Be carefull. Title was modified. A new tiddler was created. The old one deleted. I just modified this one.
TableOfContentsMacro Selective Expandable Example => Example Table of Contents: Selectively Expandable
2015-06-21 10:50:04 +02:00
Marc Viot
d7951cdfe8 Upgrade fr translation (warning)
Title was modified. A new tiddler was created, last tiddler was deleted. I just modified this one (perhaps it's not the good way)
TableOfContentsMacro Sorted Expandable Example => Example Table of Contents: Sorted Expandable
2015-06-21 10:39:05 +02:00
Marc Viot
437bb2e669 Upgrade fr translation (warning)
Be carefull, title was modified. A new tiddler was created, the last one deleted. But I just modified this one (perhaps its not the good way)
"TableOfContentsMacro Expandable Example" => "Example Table of Contents: Expandable"
2015-06-21 10:27:55 +02:00
Marc Viot
2b44189eb5 Upgrade fr translation (warning)
Be carefull, the last title was modified, a new tiddle was created, the last one deleted. 

TableOfContentsMacro Simple Example.tid => Example Table of Contents: Simple

So I just modified this one. Perhaps it's not the good way.
2015-06-21 10:17:22 +02:00
Marc Viot
69d6ec3147 Add usefull for the new translated toc macro 2015-06-21 10:00:55 +02:00
Marc Viot
d545ea6bec Corrections for the fr-FR edition
button "try" => "Essayez"  
button "hide" => "Cachez"
translate .toc-lorem()
2015-06-20 23:18:39 +02:00
Marc Viot
dc1c6ce756 Translate body to fr 2015-06-20 18:54:26 +02:00
Marc Viot
a82f31d831 translate to french 2015-06-20 18:45:41 +02:00
Marc Viot
8e7618ff7c Extend glossary with new words
a few changes :
- "shadow" (eng) to "ombre" (fr) , 
- "brouillon" (fr) to "ébauche" (fr), because "brouillon" often means "dirty"
- "tagging" (eng) to "étiquetage" (fr).
2015-06-20 17:35:39 +02:00
Jermolene
9283dc1de9 Correct filename typo
Thanks @BramChen
2015-06-20 12:56:54 +01:00
Jermolene
98a2afc4d2 Add commit link to release note 2015-06-20 09:33:46 +01:00
Jermolene
f42842f801 Add variable indicating preview region
@felixhayashi does this do the trick for you?
2015-06-20 09:33:11 +01:00
Jermolene
16546a5e2e Rename "configurations" to "platforms"
Because “configurations” was too overloaded with other meanings.
“Platforms” seems like the closest common usage for us
2015-06-20 09:24:14 +01:00
Jermolene
61b705b632 Further Catalan updates 2015-06-19 17:32:45 +01:00
Jermolene
d785d7a1e2 Docs tweak 2015-06-19 17:30:55 +01:00
Jermolene
11421f371c Add hidden settings docs 2015-06-19 17:29:05 +01:00
Jermolene
a89ae45188 Add hidden setting for autofocusing search box
Fixes #1748
2015-06-19 17:28:57 +01:00
Jermolene
46419cff72 Updates to Catalan translation 2015-06-19 16:56:33 +01:00
Jermolene
b31803608b Refactor navigator widget configuration
@felixhayashi sorry I should have realised earlier that it’s worth
doing it this way so that we can have different settings for different
story rivers.
2015-06-19 16:44:20 +01:00
Jermolene
61a722c7fd Docs updates 2015-06-19 16:39:47 +01:00
Jermolene
4a30d8772c Update button widget docs 2015-06-19 12:12:41 +01:00
Jermolene
37eb7cf507 Add an npmignore file
Previously, `npm publish` was ignoring the gitignore file, and
including the `output` folders that were scattered in the editions
folders.

Fixes #1758
2015-06-16 19:18:44 +01:00
Jermolene
3ed5c92361 Remove the tw2 edition
It was used for testing the TW2 build process, but now we can use
https://github.com/tiddlywiki/tiddlywiki.com for that
2015-06-16 19:13:10 +01:00
Jeremy Ruston
7e99bf1255 Merge pull request #1795 from pmario/de-DE
Last minute translations and responsive iframe fix for ff
2015-06-16 09:01:40 +01:00
Jeremy Ruston
39de87a1d4 Merge pull request #1797 from pmario/jack-ascii
First take: Motovun Jack.ascii art
2015-06-16 08:48:23 +01:00
Jermolene
32e6aafd4a Update release note 2015-06-16 08:39:44 +01:00
Jermolene
6e30403eb9 Make the pinstripe a little less subtle 2015-06-16 08:32:40 +01:00
Mario Pietsch
955628a383 First take: Motovun Jack.ascii art 2015-06-15 21:46:06 +02:00
Jermolene
d3ea7e3bb4 Tweaks for Catalan translation 2015-06-15 16:41:43 +01:00
Jermolene
37f5a9f725 Update plugin library versions 2015-06-15 15:42:52 +01:00
Jeremy Ruston
5597110aa6 Merge pull request #1796 from danielo515/patch-9
Added ActionSendMessageWidget
2015-06-15 15:42:04 +01:00
Daniel Rodríguez Rivero
6ed6ed3953 Added ActionSendMessageWidget
Added ActionSendMessageWidget to the list of possible message emiters on edit-tiddler message
2015-06-15 15:46:11 +02:00
Mario Pietsch
de0d9ef186 small text fix 2015-06-15 15:37:47 +02:00
Mario Pietsch
ec3e6f8694 translations and temporary iframe-responsive fix 2015-06-15 15:32:35 +02:00
Jermolene
98f78e50b8 Convert Dropbox macro to naked js file
@sukima - this avoids duplicating the metadata
2015-06-15 10:07:19 +01:00
Jeremy Ruston
317f92b8a2 Merge pull request #1793 from sukima/feature/dropbox-url
Add ability to auto generate Dropbox URL
2015-06-15 10:02:26 +01:00
Jeremy Ruston
84c45cfc70 Merge pull request #1794 from BramChen/zh
Update chinese translations
2015-06-15 10:02:07 +01:00
Jermolene
9aa9b59284 Include tiddler caption/title in static page titles 2015-06-15 09:54:56 +01:00
Bram Chen
a6297170a2 Add chinese translations of title links setting 2015-06-15 16:36:28 +08:00
Devin Weaver
8bcf38b0ae Add ability to auto generate Dropbox URL
I felt the conversion from the Dropbox share URL to the "secret" URL was
complicated enough to have the tiddler do it for the user. And so I
wrote a widget to do that. The user enters in the shared URL given by
Dropbox and the widget outputs the secret URL that they can copy / paste
with.

See if it is worth having on the TW5.com site.
2015-06-14 19:17:17 -04:00
Jermolene
610b2c3e33 Update release note 2015-06-13 20:37:27 +01:00
Jermolene
b4e5b3b9a0 Add Catalan translation 2015-06-13 20:30:12 +01:00
Jeremy Ruston
a5c49f2a0a Merge pull request #1751 from r1chard5mith/patch-1
Update Variables in WikiText.tid
2015-06-13 18:10:53 +01:00
Jermolene
4a3a5bf1f0 Don't autosave when cancelling an edit
Fixes #1762
2015-06-13 18:08:09 +01:00
Jermolene
2d7a05de98 Coding style tweaks 2015-06-13 18:06:34 +01:00
Jeremy Ruston
e4ea8c0cc2 Merge pull request #1763 from Drakor/fixCMRefresh
CodeMirror plugin now refreshes the tiddler type
2015-06-13 18:05:18 +01:00
Jeremy Ruston
10e75738d4 Merge pull request #1789 from xcazin/fr-FR
fr-FR translation of titles-as-links option in ControlPanel
2015-06-13 17:47:57 +01:00
Jeremy Ruston
ebe0d97914 Merge pull request #1766 from xcazin/fred
Corrections and new tiddlers by Marc Viot for the fr-FR edition
2015-06-13 17:31:37 +01:00
Jeremy Ruston
c589c32eba Merge pull request #1771 from lolole13/patch-1
or -> ou
2015-06-13 17:27:46 +01:00
Jeremy Ruston
b38351a5a5 Merge pull request #1777 from sukima/feature/issue-1776-clarify-edit-text-edge-case
Make EditTextWidget docs clearer
2015-06-13 17:25:44 +01:00
Jeremy Ruston
f54dcc7d11 Merge pull request #1780 from Marxsal/patch-5
Update: How to Apply Custom Styles
2015-06-13 17:12:57 +01:00
Jermolene
c168a79bda Merge branch 'r1chard5mith-patch-2' 2015-06-13 17:11:46 +01:00
Jermolene
3d22b1acc0 Merge branch 'patch-2' of https://github.com/r1chard5mith/TiddlyWiki5 into r1chard5mith-patch-2 2015-06-13 17:11:14 +01:00
Jermolene
8858193cb9 Merge branch 'StevenMcD-patch-2' 2015-06-13 17:09:50 +01:00
Xavier Cazin
b31416acfe fr-FR translation of titles-as-links option in ControlPanel 2015-06-13 18:09:15 +02:00
Jermolene
75e7188d5e Merge branch 'patch-2' of https://github.com/StevenMcD/TiddlyWiki5 into StevenMcD-patch-2 2015-06-13 17:08:35 +01:00
Xavier Cazin
2e06f24d33 Merge remote-tracking branch 'upstream/master' into fred 2015-06-13 17:58:45 +02:00
Jermolene
6f4ec20c47 Merge branch 'master' of https://github.com/lolole13/TiddlyWiki5 2015-06-13 16:48:06 +01:00
Jeremy Ruston
cf9aceecbd Merge pull request #1786 from silvyn/patch-2
sign the CLA
2015-06-13 15:58:36 +01:00
Jermolene
0d5033e2a0 Add title links setting 2015-06-13 15:22:50 +01:00
Jermolene
e3965dcd0c Add info about TiddlyWiki Camp Paris 2015-06-12 11:03:18 +01:00
Jermolene
6d4953a5aa Higher resolution favicon
Annoyingly, I’m still seeing a 16x16 icon on most browsers.
2015-06-10 20:21:47 +01:00
Jermolene
88ce6d0f16 Scale back the warnings on TiddlyDesktop 0.0.4
It seems that the previous wording was still encouraging people to run
0.0.3.
2015-06-10 20:21:22 +01:00
Sylvain Naudin
eadb31a560 Update cla-individual.md 2015-06-10 18:56:01 +02:00
Sylvain Naudin
b3694ec3cb sign the CLA 2015-06-10 18:49:18 +02:00
Marxsal
d18ad1e853 Update: How to Apply Custom Styles
The former instructions didn't explain how class names with special characters could be used in stylesheets. This adds explanation about escaping the % symbol.
2015-06-08 11:11:24 -07:00
Devin Weaver
f7b2e41f3a Make EditTextWidget docs clearer
This is my attempt to make the EditTextWidget clearer. I found it was
confusing and sent me down the wrong path prompting me to open
issue #1776.

Fixes #1776
2015-06-07 12:02:36 -04:00
Lolo le 13
9075a05758 cla singing 2015-06-07 15:46:27 +02:00
Jeremy Ruston
c971c3b22f Merge pull request #1768 from danielo515/patch-8
Add Encrypt Tiddler Plugin to ressources
2015-06-07 13:53:23 +01:00
Jermolene
62846ca745 Fix vertical tabs overflow problem
Fixes #1772 by reverting #1632
2015-06-07 12:51:25 +01:00
Jermolene
aa6326be5c Improve encryption docs 2015-06-07 12:26:11 +01:00
Jermolene
ec2a79ea3b Remove unneeded .java and .class files
Fixes #1775
2015-06-07 12:25:55 +01:00
Lolo le 13
37f8ee1c70 or -> ou
Just a one letter change for my first commit.
2015-06-04 23:14:34 +02:00
Daniel Rodríguez Rivero
4cb4a130ae Add Encrypt Tiddler Plugin to ressources
Encrypt tiddler plugin has its own demonstration wiki. Added as resource to tw.com edition.
2015-06-02 09:03:06 +02:00
Xavier Cazin
e361014b5c Corrections and new tiddlers by Marc Viot for the fr-FR edition 2015-06-01 14:58:21 +02:00
Marc Viot
0f5f961d5d l20 "demande de TiddlyFox qui vous demande s'il faut activer" => "demande de TiddlyFox d'activer" 2015-06-01 09:03:51 +02:00
Jermolene
ee2be63e31 Add @twMat's TWaddle to community resources 2015-05-29 09:48:02 +01:00
Andreas Hahn
d8366cc45f CodeMirror plugin now refreshes the tiddler type 2015-05-28 14:24:04 +02:00
Jermolene
fdbde1b389 Tweak contrast themes 2015-05-28 09:47:42 +01:00
Jeremy Ruston
483253798d Merge pull request #1760 from kixam/master
Communicate on the revival of vis.js Timeline plugin
2015-05-28 09:46:40 +01:00
Aurélien Correia
e195aea2c8 Sign the license agreement 2015-05-27 20:09:32 +02:00
Aurélien Correia
76c5ea5f6f Communicate on the revival of vis.js Timeline plugin 2015-05-27 12:32:55 +02:00
r1chard5mith
7a3ef3d9aa Update cla-individual.md
Added @richardwsmith
2015-05-22 19:43:15 +10:00
Jermolene
19fe567784 Update release note 2015-05-22 09:05:25 +01:00
Jermolene
1c72e77106 Add warning if required client-server plugins are missing 2015-05-22 09:05:25 +01:00
Jermolene
cf0671f97f Docs folder adjustments 2015-05-22 09:05:25 +01:00
Jermolene
74f3055b9c Add tooltips to image gallery demo 2015-05-22 09:05:25 +01:00
r1chard5mith
0e6517edd4 Update Variables in WikiText.tid
swapped `$(name$)` for `$(name)$` in line 12
2015-05-22 10:24:39 +10:00
Steven McDonald
b29e140119 Update cla-individual.md
Added my name to the CLA
2015-05-21 08:10:41 +02:00
Jeremy Ruston
8a999ea745 Merge pull request #1706 from buggyj/zoomin_nav
fix for issue -  Story freezing in zooming mode #1704
2015-05-18 22:39:55 +01:00
Jermolene
3e1b84064a Improved fix for illegal field name problem
Better fix for the problem identified in 9b4b9d4
2015-05-18 22:16:04 +01:00
Jermolene
9b4b9d4d88 Update sendmessage widget to allow name/value parameters
Using `$name` and `$value` attributes allows more flexibility in how
parameter names are specified, allowing parameter names that are not
valid attribute names.
2015-05-18 22:15:23 +01:00
Jermolene
ccd0b30b5c Add "SolarFlare" palette
Created by @nameanyone
2015-05-18 20:48:52 +01:00
Jermolene
5a6249894d Fix problem with field names containing special characters
The characters `> / ' " =` were causing problems.

Thanks @ericshulman
2015-05-18 19:29:10 +01:00
Jermolene
16ebdff1cc Clarify TextReference documentation
Prompted by this comment:

https://github.com/Jermolene/TiddlyWiki5/pull/1721#issuecomment-10217516
5
2015-05-18 19:07:14 +01:00
Jermolene
230f40c3bd Fix static banner on mobile
Fixes #1736
2015-05-18 18:48:36 +01:00
Jeremy Ruston
420eaa1c88 Merge pull request #1745 from pmario/improve-german-docs
Improve german docs
2015-05-18 17:52:36 +01:00
Jermolene
09debe56c1 Clarify use of "slider" terminology
Fixes #1735
2015-05-18 17:34:03 +01:00
Jermolene
57cfa95b83 Add "powered by" plugin to release note 2015-05-18 17:33:28 +01:00
Mario Pietsch
668286ae2e fix umlauts in filename 2015-05-18 17:01:07 +02:00
Mario Pietsch
405cec3fe1 Adopted the new Layout for the landing page. A bit more info 2015-05-18 16:53:58 +02:00
Jermolene
c11e1bb929 Add simple "powered by TiddlyWiki" plugin 2015-05-14 17:04:20 +01:00
Jermolene
6942efa628 Add styling for <kbd> elements 2015-05-14 10:16:33 +01:00
Jeremy Ruston
188f29df92 Merge pull request #1711 from xcazin/fr-FR
fr-FR translation of recent changes in core interface
2015-05-14 10:05:54 +01:00
Mario Pietsch
b3ee75b7c3 removed some files 2015-05-14 01:58:40 +02:00
Mario Pietsch
cd15dadbb9 first run 2015-05-14 01:56:00 +02:00
Jermolene
ecdcfe41ac Fix problem with #1723
Restoring operation of the “default” attribute
2015-05-14 00:07:53 +01:00
Jermolene
f88402b195 Don't set colour of SVG elements
Instead set the default colour on the body element so that it will be
inherited
2015-05-13 23:59:55 +01:00
Jeremy Ruston
1a09a38f66 Merge pull request #1729 from pmario/fix-thumbnail-icon-css
fix youtube icon cut of in FF win.
2015-05-13 23:55:54 +01:00
Jeremy Ruston
bdd2c3256f Merge pull request #1730 from pmario/german-translation
german UI translations
2015-05-13 23:55:26 +01:00
Jermolene
648f670bcb Tweaked icons 2015-05-13 23:55:00 +01:00
Jermolene
637aaca2fc Add pinstripe pattern
Useful for window backgrounds
2015-05-13 23:55:00 +01:00
Jermolene
81e4d43a25 Debug hooks for tracing tiddler deletions 2015-05-13 23:55:00 +01:00
Jeremy Ruston
f899f33a4a Merge pull request #1731 from pmario/fix-palette-chooser-styling
fix palette switcher popup overflow
2015-05-13 23:54:38 +01:00
Mario Pietsch
e8ab4a9687 fix palette switcher popup overflow 2015-05-13 13:26:11 +02:00
Mario Pietsch
47600584a2 german UI translations 2015-05-13 10:54:01 +02:00
Mario Pietsch
79caa56ae1 fix youtube icon cut of in FF win. also see: 28050fb488 (commitcomment-11170096) 2015-05-13 09:22:52 +02:00
Jeremy Ruston
363004ad60 Merge pull request #1712 from heroboy/patch-4
Update my real name
2015-05-12 18:13:07 +01:00
Jeremy Ruston
aa959912c0 Merge pull request #1728 from Jermolene/revert-1718-patch-5
Revert "Added a close library butten to add plugins modal"
2015-05-12 17:36:40 +01:00
Jeremy Ruston
9935902b92 Revert "Added a close library butten to add plugins modal" 2015-05-12 17:36:27 +01:00
Jeremy Ruston
2d65488e06 Merge pull request #1718 from inmysocks/patch-5
Added a close library butten to add plugins modal
2015-05-12 17:25:21 +01:00
Jeremy Ruston
04d293b9b1 Merge pull request #1721 from nameanyone/master
RevealWidget state can be a text reference
2015-05-12 13:09:43 +01:00
Jermolene
97ae0cd4f0 Remove CodeMirror plugin from default client-server editions
Fixes #1716
2015-05-12 12:52:37 +01:00
Jeremy Ruston
142770c248 Merge pull request #1720 from pmario/fix-thumbnail-icon-css
fix HelloThere video link icon for FF
2015-05-12 11:22:21 +01:00
Jeremy Ruston
f0206283cf Merge pull request #1723 from cehmke/fix-buttonwidget-textreference-selected
Use of getTextRefence in ButtonWidget.isSelected
2015-05-12 11:20:47 +01:00
Jeremy Ruston
cf3b63c13c Merge pull request #1724 from cehmke/select-refresh-children-first
SelectWidget: Update selected value if children have been refreshed
2015-05-12 11:20:06 +01:00
Jeremy Ruston
b55ec38bd8 Merge pull request #1722 from cehmke/patch-1
Added @cehmke to cla-individual.md
2015-05-12 11:19:45 +01:00
Jermolene
eb1bce2ff2 Switch to fluid-fixed just for the prerelease edition
Fixes #1719
2015-05-11 22:04:31 +01:00
Jermolene
af1096f6fc Adjust zoomin tiddler width for narrow screens
Fixes #1725

@felixhayashi could you verify that this works for you?
2015-05-11 20:57:02 +01:00
Jermolene
a961a40ece Prerelease tweaks 2015-05-11 20:16:15 +01:00
Jermolene
a98c042f33 Refactor prerelease greeting tiddler 2015-05-11 20:15:55 +01:00
Jermolene
b5ad255d0c Allow drafts typing timeout to be configured 2015-05-11 20:15:42 +01:00
cehmke
4d3103ff25 Update selected value if children have been refreshed
If the children have been refreshed, it is necessary to check, whether
the value of the select box has been changed.
2015-05-10 19:32:38 +02:00
Christian Ehmke
652abed3f6 Added @cehmke to cla-individual.md 2015-05-10 13:45:11 +02:00
cehmke
b8addaa520 use of getTextRefence in isSelected
Instead of a particular implementation make use of the overall function
getTextReference to determine the current value.
Add a missing semicolon.
2015-05-10 13:26:00 +02:00
nameanyone
29db528d74 RevealWidget state can be a text reference 2015-05-10 03:58:09 -07:00
Mario Pietsch
b070bd6bde fix HelloThere video link icon for FF 2015-05-10 10:25:37 +02:00
jed
ad4cd7326a Added a close library butten to add plugins modal
The button deletes the local tiddlers that contain information about the library. This allows you to:

*hide the library contents
*reload the library to see any updates to the plugins it contains. If this isn't done than local information about the available plugins is never updated (this problem may need a separate fix that doesn't require reloading the library).

I have three problems that should be addressed:

*I am not sure that the location and color of the close library button is appropriate
*When you click on the close library button a message asking you if you want to delete the $:/temp/ServerConnection/(url) tiddler appears, if you click 'cancel' than the library is shown as open and empty, the only way to fix this condition is to delete the server connection tiddler manually. I think there is a simple fix to this but I can't think of anything.
*Sometimes if you try to open a library that you have just closed it won't open properly. The tiddlers that contain the plugin information are created, but the server connection tiddler isn't created until you reload the wiki. This behavior is inconsistent and sometimes opening the library again works with no problems. I do not know why. I would be fine with requiring a refresh before a library could be reopened so that the startup module acts, but I am not sure what to do about this inconsistent behaivor. I have not been able to find any cause.
2015-05-08 18:24:10 -06:00
heroboy
aced47414c Update my name 2015-05-08 20:03:58 +08:00
Xavier Cazin
9ea02da8be fr-FR translation of recent changes in core interface. 2015-05-08 12:30:21 +02:00
Jermolene
42a3e31b1b Tweaks to #1678 2015-05-07 19:44:08 +01:00
Jeremy Ruston
e93d32cdd7 Merge pull request #1678 from felixhayashi/feature/vars_widget
Introducing the vars widget
2015-05-07 19:36:25 +01:00
Jermolene
e9a1a53922 Better error checking for reading field lists
This change ensures that lines starting with a colon are ignored,
allowing them to be used as comments.
2015-05-07 19:24:58 +01:00
Jeremy Ruston
3644462a80 Merge pull request #1693 from vouko/patch-4
Typo
2015-05-07 19:04:22 +01:00
Jeremy Ruston
f8dd5bd52f Merge pull request #1692 from vouko/patch-3
Update cla-individual.md
2015-05-07 19:02:15 +01:00
Jeremy Ruston
bb80f25527 Merge pull request #1703 from BramChen/zh
Update chinese translations
2015-05-07 18:55:08 +01:00
Jermolene
f87e74f131 Tweak palette icon 2015-05-07 18:54:56 +01:00
Jermolene
65a3a89746 Size single tiddler window content to fit 2015-05-06 18:09:22 +01:00
Bram Chen
11d9631ea4 Fix wording 2015-05-06 22:59:36 +08:00
Jermolene
61b75be94c Add "navigateFromTitle" to action-sendmessage
Fixes #1665
2015-05-06 08:14:26 +01:00
Jermolene
86e901f375 Fix event handler leak for modals and notifications
Also add support for passing custom variables into notifications.

Fixes #1694
2015-05-06 08:07:12 +01:00
buggyj
45e0f09ade fix multiply displayed tiddlers zoomin error 2015-05-06 07:42:55 +01:00
Bram Chen
35341d4e97 Add chinese translations of palette page control button 2015-05-06 09:53:14 +08:00
Jermolene
03f3b1fdb4 Fix tiddler filename 2015-05-05 21:53:45 +01:00
Jeremy Ruston
e0eb5186e6 Merge pull request #1702 from nameanyone/master
Transclusion and Substitution - fixed the link
2015-05-05 21:53:03 +01:00
Jermolene
97fd1330d6 Disable wikilinks within tab buttons
Thanks to @BramChen for the suggestion:
https://github.com/Jermolene/TiddlyWiki5/issues/1697#issuecomment-990092
50
2015-05-05 21:48:48 +01:00
nameanyone
a19452f819 Transclusion and Substitution - fixed the link
The tiddler got renamed a while ago, the link was pointing to non-existent old name.
2015-05-05 13:48:48 -07:00
Jermolene
02acbb1169 Hide palette page control button by default 2015-05-05 21:47:47 +01:00
Jermolene
cad5917eeb Request scrollbars in external windows 2015-05-05 21:47:37 +01:00
Jermolene
789069bb6b Add palette page control button 2015-05-05 18:53:35 +01:00
Jeremy Ruston
0fa806e202 Merge pull request #1701 from BramChen/zh
Update chinese translations
2015-05-05 15:09:49 +01:00
Bram Chen
8f372ff959 Add chinese translations of new Settings/LinkToBehaviour 2015-05-05 22:01:08 +08:00
Bram Chen
5afe8a7a0b Add chinese translations of "open new window" button 2015-05-05 21:41:34 +08:00
Bram Chen
6968be563e Merge remote-tracking branch 'upstream/master' 2015-05-05 15:58:58 +08:00
Jermolene
98a8df0ace Improve SVG curved text docs 2015-05-05 07:38:00 +01:00
Jermolene
dc980a19c8 Make the stacked view play well with the new fluid-fixed mode 2015-05-05 07:24:14 +01:00
Bram Chen
c64f6d3dd3 Merge remote-tracking branch 'upstream/master' 2015-05-05 07:39:23 +08:00
Jermolene
5528906a6b Fixes for zoomin storyview and fluid-fixed mode 2015-05-04 21:35:11 +01:00
Jermolene
1e2514f0a8 Default to fluid-fixed for the prerelease
Maybe we should change the default for tiddlywiki.com, but let’s hear
some views on that.
2015-05-04 21:34:42 +01:00
Jeremy Ruston
7adca1fd83 Merge pull request #1684 from nameanyone/master
Close outermost div element
2015-05-04 21:07:17 +01:00
Jeremy Ruston
99ea341ae1 Merge pull request #1685 from roma0104/issue1434
Added text notifying users of issue #1434
2015-05-04 20:59:48 +01:00
Jeremy Ruston
be3c41249b Merge pull request #1686 from BramChen/master
Update chinese translations
2015-05-04 20:51:59 +01:00
Jermolene
a79e7a1c57 Tweaks for #1662
Coding style and ui copy
2015-05-04 20:29:00 +01:00
Jeremy Ruston
4656a7e8f6 Merge pull request #1662 from felixhayashi/feature/navigator_widget
upgrading the navigator widget
2015-05-04 20:21:38 +01:00
Jermolene
b51603f3e2 Introduce fluid story/fixed sidebar mode
A new mode where the sidebar width is fixed and the story river expands
to fill the remaining space.
2015-05-04 19:19:40 +01:00
Jermolene
ef971bb521 Correct tiddler background colour
Bitmap backgrounds won’t get overridden unless we override the entire
background property.
2015-05-03 17:05:34 +01:00
Jermolene
403a460002 Check for dom node not found 2015-05-03 16:56:37 +01:00
Jermolene
0932c15e5c Clarify rendering parameters
srcDocument.body.firstChild will in fact be null, but it’s clearer to
write it out
2015-05-03 16:56:27 +01:00
Jermolene
3f26492ac8 Close subwindows when closing main window 2015-05-03 16:24:02 +01:00
Jermolene
48dcf959ff Refactor browser unload task handling
Make it possible to register multiple task functions that will be
called when the window is unloaded
2015-05-03 16:23:35 +01:00
Bram Chen
be0f82c280 Merge remote-tracking branch 'upstream/master' 2015-05-03 22:11:49 +08:00
Jermolene
d23f174d01 Add a margin for single tiddler windows 2015-05-03 15:05:26 +01:00
Jermolene
fdeb8a925f Introduce template for single tiddler windows
Lets us include global macros etc.
2015-05-03 14:58:33 +01:00
Felix Hayashi
9693f97b16 upgrading the navigator widget
Motivation / Agenda

* https://github.com/Jermolene/TiddlyWiki5/issues/1651
* https://github.com/Jermolene/TiddlyWiki5/issues/1650

Summary

* Changed the NavigatorWidget (primarily `addToStory()`)
* Applied lingo to settings
* Applied lingo to selectbox options
2015-05-03 13:24:16 +02:00
Bram Chen
945de74494 Merge remote-tracking branch 'upstream/master' 2015-05-03 19:15:09 +08:00
Jermolene
41d5031279 Position and hide the open-window button 2015-05-03 08:49:49 +01:00
Jermolene
ec567f67d3 Set title of external window 2015-05-03 08:49:37 +01:00
Bram Chen
dc9d9d05b4 Merge remote-tracking branch 'upstream/master' 2015-05-03 07:35:55 +08:00
Jermolene
8708f817fa Improve garbage collection of external windows
Now we remove event listeners when a window is closed
2015-05-02 17:22:53 +01:00
Jermolene
7866f9b2de Typo
Typically for JavaScript, initialising an object as an array doesn’t
break anything because an array is an object. Anyhow, it should be an
object in this case.
2015-05-02 17:22:23 +01:00
Bram Chen
8040e6338c Merge remote-tracking branch 'upstream/master' 2015-05-02 20:34:57 +08:00
Jermolene
7667225840 Docs update 2015-05-02 12:13:01 +01:00
Jermolene
9cf5d88cc9 Add "open new window" tiddler toolbar button 2015-05-02 12:12:51 +01:00
Jermolene
52529f9b32 Contrast palette tweaks 2015-05-02 12:12:31 +01:00
Vouko
e0ec325afa Update SetWidget.tid 2015-05-02 10:56:24 +02:00
Vouko
a12100457d Update cla-individual.md 2015-05-02 10:55:49 +02:00
Jermolene
7b4153f87f No longer autofocus the search box in the plugin library
It messes things up in iOS, and perhaps other browsers too
2015-04-30 17:45:22 +01:00
Jermolene
825f0f4e2b Docs updates 2015-04-30 16:44:49 +01:00
Jermolene
e16453acbc Docs update 2015-04-30 16:22:39 +01:00
Jermolene
3b78ebb9c0 Typos 2015-04-30 11:30:32 +01:00
Jermolene
94817911c3 Typo 2015-04-30 09:06:21 +01:00
Jermolene
6f7d80a2ac Missed off last commit 2015-04-29 22:24:46 +01:00
Jermolene
3e166f5fe9 Palette tweaks
Making it easier to tweak the two colours in the monochrome palettes
2015-04-29 22:24:36 +01:00
Jermolene
f270788f33 Typo 2015-04-29 22:15:52 +01:00
Jermolene
70a2019d85 Add new feature demos to prerelease 2015-04-29 22:13:06 +01:00
Jermolene
ead208332b Improvement to Contrast palette
Also add a light variant
2015-04-29 22:11:39 +01:00
Bram Chen
dab50c8470 Fix wording 2015-04-28 18:08:02 +08:00
Bram Chen
ee4064fbd7 Add chinese transaltions of descriptions for new palette colours 2015-04-28 18:04:16 +08:00
Jermolene
28050fb488 Palette tweaks 2015-04-28 09:12:04 +01:00
Jermolene
ea9f8a4ef1 Use vanilla theme to demo contrast palette
Because the Snow White theme includes gradients and shadows
2015-04-28 09:11:57 +01:00
Jermolene
0e7ae7ce20 Add descriptions for new palette colours 2015-04-28 09:11:26 +01:00
Jermolene
28421038e4 Tweak SVG example for dark palettes 2015-04-28 09:11:11 +01:00
Jermolene
3567e4c2c7 Palette editor: use colour name if description not available 2015-04-28 09:10:57 +01:00
Roma Hicks
5b7a7268d8 Changed structure to use less space. 2015-04-27 21:40:20 -05:00
Roma Hicks
f9c50d9a6d Added text notifying users of issue #1434 2015-04-27 21:31:18 -05:00
nameanyone
29829bb68a Update Latest.tid 2015-04-27 15:24:38 -07:00
nameanyone
8d12028374 Update Latest.tid 2015-04-27 15:23:41 -07:00
Jermolene
1b25d4b51a Improve "Contrast" palette
Trying to make it more useful for visually impaired users - see #1682
2015-04-27 21:46:31 +01:00
Jermolene
16301532bf Add button palette colours
We leave them blank by default so that we get the browser default
button colours
2015-04-27 21:46:07 +01:00
Felix Hayashi
740627795f This widget allows the user to set multiple variables in one go.
It thereby reduces code complexity that would arise when setting
many variables using "<$set>".

```
\define helloworld() Hello world!
<$vars greeting="Hi" me={{!!title}} sentence=<<helloworld>>>
  <<greeting>>! I am <<me>> and I say: <<sentence>>
</$vars>
```

How this Widget differs from the set widget:

 * Variables may be created by using the "key=value" notation
   that you already know from widgets like action-setfield.
 * You cannot specify a fallback ("emptyValue")
 * You cannot use a filter to produce a conditional variable assignement

Original discussion that led to the creation of this widget:
https://github.com/Jermolene/TiddlyWiki5/issues/1610
2015-04-27 17:07:13 +02:00
Jermolene
df84e93283 Add position: relative to scrollable widget
So that popups within the scrollable behave correctly.

Fixes #1679
2015-04-27 13:38:20 +01:00
Jermolene
e518c0e88e Fix typo #1681
Thanks @Ishindri
2015-04-27 13:25:43 +01:00
Jermolene
9f92c086c3 Add TiddlyDesktop releases to tiddlywiki.com
Fixes #1680
2015-04-27 13:19:50 +01:00
Jermolene
07e3a50e66 Missed off previous commit 2015-04-27 13:18:57 +01:00
Jermolene
b06b21222e Add TiddlyDesktop releases to tiddlywiki.com 2015-04-27 13:18:45 +01:00
Jeremy Ruston
edf939f4f1 Merge pull request #1677 from gernert/patch-5
Update SystemTags.tid
2015-04-26 09:55:07 +01:00
gernert
1d4c387113 Update SystemTags.tid
Add missing tags
2015-04-25 20:52:56 +02:00
Jermolene
3c7082e181 Fix contrastcolour typo 2015-04-24 11:13:10 +01:00
Jermolene
2cb1c1d017 Update copyright year 2015-04-24 11:13:10 +01:00
Jeremy Ruston
69e1e5a2aa Merge pull request #1659 from heroboy/patch-2
fix Simplified Chinese
2015-04-21 22:19:02 +01:00
Jeremy Ruston
cc0fc2b392 Merge pull request #1658 from heroboy/patch-1
fix Simplified Chinese
2015-04-21 22:18:47 +01:00
Jeremy Ruston
dd9f3a6ae0 Merge pull request #1667 from heroboy/patch-3
Update cla-individual.md
2015-04-21 22:18:20 +01:00
Jeremy Ruston
734d815c9d Merge pull request #1668 from BramChen/master
Improve chinese editions
2015-04-21 22:18:00 +01:00
Jermolene
75a33f5dff Fix problem with "foreground"/"background" palette colours using <<colour>> macro
See discussion here:

https://groups.google.com/d/topic/tiddlywiki/XDlO0EydXtY/discussion
2015-04-21 22:07:16 +01:00
Jermolene
a3ed82b703 Update dutch translation 2015-04-21 19:30:02 +01:00
Jermolene
139496209f Add support for custom elements to the button widget 2015-04-21 19:29:54 +01:00
Jermolene
bc6713007f TiddlySpot docs update 2015-04-21 19:29:44 +01:00
Jermolene
8776c3c7e5 Preparing for 5.1.9 2015-04-21 19:29:36 +01:00
Bram Chen
485de75ffc Add download-empty for chinese editions 2015-04-20 11:39:08 +08:00
Bram Chen
b798743b3e Improve metadata of chinese editions 2015-04-20 11:21:50 +08:00
heroboy
c5f1f4101e Update cla-individual.md 2015-04-19 19:30:58 +08:00
Jermolene
ac716755e8 Version number update for 5.1.8 2015-04-17 17:37:09 +01:00
Jermolene
afb250cef3 Whoops too early to bump the version 2015-04-17 17:36:49 +01:00
Jermolene
b9ec50ecff Updated readme 2015-04-17 17:35:53 +01:00
Jermolene
ee81425968 Preparing for 5.1.8 release 2015-04-17 17:34:31 +01:00
Jermolene
4dbf46e3d7 Docs updates 2015-04-17 17:07:47 +01:00
Jermolene
b08a2080ee Revert to a pale default theme for highlight plugin
Fixes #1656
2015-04-17 16:05:54 +01:00
Jermolene
98011b611a Release note updates 2015-04-17 15:58:13 +01:00
Jeremy Ruston
0d259a5d3f Merge pull request #1657 from BramChen/master
Update chinese translations
2015-04-17 15:08:39 +01:00
Jermolene
bef333e52b Typos in nsortcs and sortcs docs 2015-04-17 13:58:32 +01:00
Jermolene
6e2bfc8c77 Remove icon from gentle guide link panel 2015-04-17 13:58:07 +01:00
Jermolene
8d231f4a9f Give link panels rounded corners
The idea is that the rounded corners help the video preview to look
like a video preview.
2015-04-16 18:34:42 +01:00
Jermolene
f44bf1e458 Remove extraneous file 2015-04-16 18:34:04 +01:00
Jermolene
534f2bc12d Docs updates 2015-04-16 18:33:55 +01:00
heroboy
0babda5120 fix Simplified Chinese
`缺失` is better in Simplified Chinese
2015-04-13 23:31:16 +08:00
heroboy
8203c7df5e fix Simplified Chinese
`缺失` is better than `佚失` in Simplified Chinese.
2015-04-13 23:26:30 +08:00
Bram Chen
b9bccbf1ae Update chinese wording of exporter descriptions 2015-04-13 21:24:15 +08:00
Jermolene
3e966d4cf3 Simplify wording of exporter descriptions 2015-04-13 07:53:36 +01:00
Jermolene
8dca128725 Docs updates 2015-04-13 07:51:01 +01:00
Jermolene
ba0ddb939c Re-establish "Configurations" TOC heading 2015-04-12 19:57:06 +01:00
Jermolene
0b4ed3c72d Use palette colours for text areas and text inputs 2015-04-10 17:04:41 +01:00
Jermolene
b2cb992538 Fix thumbnail flex properties for Safari 2015-04-10 17:01:18 +01:00
Jermolene
301bc4988d Ensure static banner is above the story river 2015-04-09 19:56:54 +01:00
Jeremy Ruston
543e95a436 Merge pull request #1645 from reflectionalist/patch-1
Add the missing operator to `sameday`
2015-04-09 19:20:51 +01:00
Jermolene
2dabb6a1fc Fix modal scroll behaviour
The previous behaviour didn’t allow scrolling of the modal itself
through the scroll bar because the scrollbar was hidden behind the
backdrop.

Fixes #1642
2015-04-09 11:03:06 +01:00
Jermolene
89679c1b6a Add local plugin library to prerelease for debugging 2015-04-09 11:02:14 +01:00
Jermolene
596caafd5f Docs tweaks 2015-04-09 11:01:49 +01:00
Hong-Yi Dai
279ae2af79 Add the missing operator to sameday
Otherwise, the `sameday` macro will default to `modified`.  In case the user set `dateField:"created"` when calling `timeline`, the result will be inconsitent.
2015-04-09 11:10:09 +08:00
Jeremy Ruston
13a5e8f31c Merge pull request #1520 from roma0104/master
Update the sameday and eachday filter to accept TW5 date strings.
2015-04-06 17:40:32 +01:00
Jermolene
5c6cee62e3 Updates to Danish translation
Thanks to Birthe C
2015-04-06 16:42:31 +01:00
Jermolene
660090912b Release note update 2015-04-06 16:39:18 +01:00
Jeremy Ruston
66a52c1308 Merge pull request #1639 from xcazin/fr-FR
fr-FR translations for recent changes in localisable strings
2015-04-04 15:10:12 +01:00
Xavier Cazin
a912b9b982 Merge remote-tracking branch 'upstream/master' into fr-FR 2015-04-04 15:53:10 +02:00
Xavier Cazin
32ebb64638 fr-FR translations for recent changes in localisable strings 2015-04-04 15:52:27 +02:00
Jermolene
fd9bbcd21e Release note updates 2015-04-04 10:39:58 +01:00
Jeremy Ruston
aacde0d703 Merge pull request #1635 from reflectionalist/patch-1
Document how to use relative paths (fix #1628)
2015-04-04 08:35:36 +01:00
Jeremy Ruston
dd68792282 Merge pull request #1638 from reflectionalist/patch-3
Fix a typo
2015-04-04 08:35:18 +01:00
Jeremy Ruston
4b60b4aa59 Merge pull request #1637 from reflectionalist/patch-2
Sign CLA-individual to contribute
2015-04-04 08:33:38 +01:00
Hong-Yi Dai
2140ae2b51 Fix a typo 2015-04-04 07:48:32 +08:00
Hong-Yi Dai
2cd10ad9c0 Sign CLA-individual to contribute 2015-04-04 06:36:51 +08:00
Jermolene
eb8d44e288 Add new community links 2015-04-03 12:22:21 +01:00
Jermolene
f3ed9bf7e4 Fix problem with double quotes in new field value
Fixes #1634
2015-04-03 09:06:57 +01:00
Hong-Yi Dai
6410f31aaa Document how to use relative paths (fix #1628) 2015-04-03 11:11:37 +08:00
Jermolene
42debd489d Fix problem with overflowing content in vertical tabs
Fixes #1632
2015-04-02 17:53:40 +01:00
Jermolene
21b6ce71ff Revised wording for "save tiddler" button
See #1274
2015-04-02 17:49:42 +01:00
Jermolene
b7465c5eb1 Missed off 7c9976f1d9 2015-04-02 15:22:50 +01:00
Jermolene
7c9976f1d9 Partially revert to 5.1.7 scroll behaviour
We’re keeping the new logic that prevents unnecessary scrolling at
startup

Fixes #1543
2015-04-02 15:21:49 +01:00
Jermolene
22f4f07a16 Theme tweaks docs update 2015-04-02 14:02:58 +01:00
Jermolene
a35425e579 Add a light background photo for comparison 2015-04-02 13:19:06 +01:00
Jermolene
515be0c22e New DarkPhotos palette that's good with background photos 2015-04-02 12:39:24 +01:00
Jermolene
816363408e Introduce site-title-foreground to palette 2015-04-02 12:39:08 +01:00
Jermolene
a3f4221008 Tweaks to background image support
And some demo images for use as backgrounds
2015-04-02 12:11:13 +01:00
Jermolene
5101ae4ce6 Add background image size theme tweak
Makes it possible to create a background image that fully covers the
window, as well as the tiled images that were working before.
2015-04-01 21:08:42 +01:00
Jermolene
987bfcfd5b Add background image to Vanilla theme tweaks
Now one can choose an image tiddler from a dropdown and choose how the
image is attached.
2015-04-01 18:28:33 +01:00
Jermolene
5effb3fdc3 Tweak HelloThere 2015-04-01 14:09:10 +01:00
Jermolene
4f8982f44d Link panel styling tweaks 2015-04-01 14:08:16 +01:00
Jermolene
46848b817c Remove help plugin from main release
The help plugin really needs some up-to-date screencasts before it is
useful.
2015-04-01 14:08:06 +01:00
Jermolene
4f927cb492 Tweak link panels 2015-04-01 14:07:24 +01:00
Jermolene
ae817a441f Bigger link panels 2015-04-01 14:07:09 +01:00
Jermolene
6314d7f8ba Fix thumbnail macro to set foreground colour for icons 2015-04-01 14:06:59 +01:00
Jermolene
b34530e86a Make upgrade wizard download link be relative
Ensures that the prerelease upgrade wizard download link doesn’t point
to the non-prerelease version
2015-03-31 19:14:49 +01:00
Jermolene
ea5fb19fb2 Experimental SVG Compression
I used this tool to compress the core icon:

https://jakearchibald.github.io/svgomg/

It’s a 50% saving, from 3,491 bytes to 1,709 bytes.
2015-03-31 14:39:36 +01:00
Jeremy Ruston
57e71b5506 Merge pull request #1618 from le-pako/patch-3
Update Introduction to Filters.tid
2015-03-31 13:17:42 +01:00
Jeremy Ruston
394830ad96 Merge pull request #1624 from BramChen/master
Update chinese translations
2015-03-31 12:20:08 +01:00
Bram Chen
8185c29738 Change chinese translations for Exporters/StaticRiver 2015-03-31 19:02:27 +08:00
Jermolene
390b7553f6 Change "River of tiddlers" to "Static HTML tiddlers"
For clarity; see this discussion:

https://groups.google.com/d/msg/tiddlywiki/hReAZYepG5U/bQt8McdkQMUJ
2015-03-31 11:03:21 +01:00
Jeremy Ruston
05cb81a644 Merge pull request #1622 from Jermolene/revert-1619-motovun-jack
Revert "Motovun jack"
2015-03-31 09:06:36 +01:00
Jeremy Ruston
b460bac579 Revert "Motovun jack" 2015-03-31 09:06:22 +01:00
Jermolene
b9a2150f4e Tweaks for big green buttons
Make the images larger, and switch to display: inline-block so that we
get better behaviour with line wrapping.
2015-03-31 09:00:27 +01:00
Jermolene
33953f2634 Docs update 2015-03-31 09:00:27 +01:00
Jeremy Ruston
0071796546 Merge pull request #1619 from pmario/motovun-jack
Motovun jack
2015-03-31 09:00:12 +01:00
Mario Pietsch
93cc9af145 also changed core icon. changed ids 2015-03-30 19:41:08 +02:00
Mario Pietsch
d0e6b1ddff added doctype to pass w3c validator 2015-03-30 13:10:16 +02:00
Mario Pietsch
ea943b551a fix motovun jack paths, remove unnecessary nodes, fix back feets and left ear 2015-03-30 12:01:00 +02:00
Jermolene
6dc443f3ef Docs tweaks for HelloThere 2015-03-26 11:15:55 +00:00
Jermolene
bf67ea02ac Docs tweaks 2015-03-26 11:15:43 +00:00
Jermolene
7fa3803de8 Add mail icon 2015-03-26 11:15:34 +00:00
Jermolene
47dc16a179 Docs tweaks 2015-03-25 22:15:51 +00:00
Jermolene
3e8d1b3955 Incomplete docs about the thumbnail macro 2015-03-25 22:15:34 +00:00
Jermolene
8c7a6c5030 Remove github fork ribbon from tiddlywiki.com
We’ll keep using it on the /dev site, but now that we’ve got the link
panels we don’t need it on the main site
2015-03-25 22:15:17 +00:00
Jermolene
758ba5edc2 Allow widgets to choose not to propagate actions
Allow widgets to choose not to propagate actions. This is important for
widgets that themselves trigger actions.

Note that this change will cause problems with any existing
5.1.8-prerelease plugins that call `invokeActions()`.
2015-03-25 22:13:22 +00:00
Jermolene
055a38ea4c Further link panel tweaks 2015-03-25 17:06:29 +00:00
Jermolene
2186a393a7 Simplify the link panels 2015-03-25 11:11:18 +00:00
Jermolene
4eb2e3d3b4 Fix undefined tabindex problem with link widget
The tabindex attribute was being set to the string “undefined” if the
attribute was not specified. The fix is to only set the tabindex
attribute if the attribute was specified.
2015-03-25 11:11:07 +00:00
Jermolene
0ea1dad2c8 Better background for developer link 2015-03-25 08:38:15 +00:00
Jermolene
c18e9d170b Add GitHub and Twitter buttons 2015-03-25 08:38:06 +00:00
Jermolene
feefdefc6b Tweak theme tweak description 2015-03-25 08:37:51 +00:00
Jermolene
e56f204633 Remove icon from Jack's midriff
It looks strange to have an icon overlaid on Motovun Jack.
2015-03-24 08:34:54 +00:00
Jermolene
8268087b48 Tweaks for default colour palette
Slightly lighter page background does seem to reduce the sombreness.
2015-03-24 08:34:12 +00:00
Jermolene
ff103665cf More link panel tweaks 2015-03-23 19:47:55 +00:00
Jermolene
843871e195 Tweaks to link panels
Taking into account some of @pmario’s feedback
2015-03-23 19:40:52 +00:00
Jermolene
32c6d01943 Add GitHub and Twitter icons 2015-03-23 19:40:32 +00:00
Jermolene
958621f0c0 Fix vertical alignment of link panels
Improves #1609
2015-03-23 17:29:51 +00:00
Jermolene
b31237c86d Front page link panels prototype
Starting to explore #1609
2015-03-23 16:05:25 +00:00
Jermolene
bd6472c1d1 Add style attribute to reveal widget 2015-03-23 15:28:26 +00:00
Jermolene
b97336f171 Feedback for Control Panel (etc) button
Give the toolbar buttons for control panel, advanced search and tag
manager the selected state when the corresponding tiddlers are open in
the story river.
2015-03-23 11:36:54 +00:00
Jermolene
5b38f2a17c Remove youtube specificity from thumbnail macros 2015-03-23 11:36:11 +00:00
Jermolene
66f4faaef4 Better margin and style handling for youtube macro 2015-03-22 19:52:09 +00:00
Jermolene
171e6fcc92 Added margin to YouTube thumbails 2015-03-22 19:10:42 +00:00
Jermolene
9c27d22ea6 Add caption and tweak styling for youtube macro
More fixes for #1547
2015-03-22 18:01:46 +00:00
Jermolene
ec598d5cf4 Add hover effects to youtube thumbnails 2015-03-22 17:52:09 +00:00
Jermolene
542372c722 Replace big red introduction video with thumbnail
Hopefully fixes #1547
2015-03-22 17:35:37 +00:00
Jermolene
e00d417a31 Punctuation tweak 2015-03-22 15:53:26 +00:00
Jermolene
ef729487c3 Tweak size of help panel
Now that we don’t have the cheatsheet, reducing the height makes the
panel more useful for watching tutorial videos.
2015-03-22 15:52:17 +00:00
Jeremy Ruston
077e5378ef Merge pull request #1603 from pmario/fix-twitter-link
fix the problem with an invisible link if addblocking is active
2015-03-22 15:51:20 +00:00
Mario Pietsch
ffa7988fd0 remove TW wikilink 2015-03-22 12:00:31 +01:00
Mario Pietsch
cf57777556 fix the problem with an invisible link if addblocking is active 2015-03-22 11:57:01 +01:00
Jermolene
fc315d1df7 Make sticky titles be a theme tweak for Vanilla theme
Fixes #1599 (albeit brutally!)
2015-03-22 10:15:43 +00:00
Jermolene
9d2b782ae9 Adjust ribbon text and link to "Spread the Word"
Fixes #1590
2015-03-22 09:55:47 +00:00
Jeremy Ruston
508eda72b5 Merge pull request #1602 from BramChen/master
Update chinese translations
2015-03-22 09:45:19 +00:00
Jermolene
0b2f1fb41f Fix plugin library location
I use 127.0.0.1 during testing
2015-03-22 09:39:02 +00:00
Bram Chen
ababfa772e Merge remote-tracking branch 'upstream/master' 2015-03-22 10:49:32 +08:00
Bram Chen
6ed53d6b93 Add chinese translation for encryption dialog 2015-03-22 10:47:00 +08:00
Jeremy Ruston
7daddfc5ea Merge pull request #1588 from andreasabeck/passwd-lang
added localisation for encryption dialog & de-DE translation
2015-03-21 19:05:39 +00:00
Jermolene
17696e4505 Fix for selected toolbar buttons in Firefox
See https://github.com/Jermolene/TiddlyWiki5/issues/1599
2015-03-21 16:33:15 +00:00
Jermolene
a60ea1d89b Remove cheatsheet from help panel
We’d rather present this information as a panel within the tiddler
editor so that we can (for example), allow clicks on a snippet to
insert it automatically into the editor at the current cursor position.

For the moment, we’ll just remove the cheatsheet. Post-5.1.8 we’ll add
it back to the editor
2015-03-21 15:52:28 +00:00
Jermolene
00f35fe41a Don't HTML encode single quotes
They don’t get automatically decoded when the browser reads the
resulting HTML. So, instead, we’ll solve
1e9e1a1fdc by switching to double quotes
for attribute values.
2015-03-21 14:17:42 +00:00
Jermolene
743c325b0d Fix problem with tiddler titles overlaying help panel 2015-03-20 16:18:24 +00:00
Jeremy Ruston
a7b1b3ec10 Merge pull request #1598 from pmario/fix-plugin-button-tooltip
fixes the [Get more plugins] button tooltip
2015-03-20 15:31:13 +00:00
Jeremy Ruston
05d5f2d4fd Merge pull request #1595 from pmario/de-De
new german strings, some help text adjustments
2015-03-20 15:30:53 +00:00
Jeremy Ruston
1e88f2a22f Merge pull request #1592 from BramChen/master
Update chinese translations
2015-03-20 15:30:40 +00:00
Jeremy Ruston
b1ef8ba0dd Merge pull request #1587 from andreasabeck/cla
Update cla-individual.md
2015-03-20 15:24:57 +00:00
Jermolene
17c1213635 Expand help panel label to "Help Panel" 2015-03-20 15:16:40 +00:00
Mario Pietsch
9ae3b5588c fixes the [Get more plugins] button tooltip 2015-03-20 11:34:14 +01:00
Mario Pietsch
586cdaae28 new german strings, some help text adjustments 2015-03-20 10:22:27 +01:00
Bram Chen
93a29b0999 Update zh translations of the last changes to the plugin library 2015-03-19 21:16:14 +08:00
Jermolene
b46ce419a7 Left off last commit 2015-03-19 10:53:51 +00:00
Jermolene
f2a7f00870 Improve plugin readmes
Now every plugin has a short, introductory readme tiddler that is shown
in the online plugin library.
2015-03-19 10:53:45 +00:00
Jermolene
2f8837a445 Revert to original fix for #1542
The trouble with tweaking the ViewBox was that the amount of the
adjustment is expressed in the coordinate system of the image, not the
coordinate system of the bitmap that is being rendered. That means that
the additional space doesn’t necessarily extend to the single physical
pixel needed to resolve the issue.
2015-03-19 10:52:58 +00:00
Pako
d1a8c683a2 Update Introduction to Filters.tid
Corrected an error in the explanation of the `+` prefix.
It actually adds the filter to the list of filters, thus keeping only the tiddlers matching the additional filter.
2015-03-18 21:30:23 +01:00
Andreas Abeck
2c367c5476 added localisation for encryption dialog & de-DE translation 2015-03-18 18:52:33 +01:00
Andreas Abeck
c200d10274 Update cla-individual.md 2015-03-18 18:37:43 +01:00
Jermolene
77db136d4f Missed off previous commit 2015-03-18 11:46:37 +00:00
Jermolene
24435a46be Lots of improvements to the plugin library
* Moved “add new plugin” into a modal wizard
* Adopt big friendly buttons
* Add plugin icons and readmes to “add new plugin” modal
* Use tabs for splitting plugins/themes/languages
* Consistent styling between the “add new plugin” modal and the
“installed plugins” control panel tab
* Behind the scenes, moved from addressing the library as
`recipes/defaults/tiddlers/<etc>` to `recipes/library/tiddlers<etc>`
2015-03-18 11:46:28 +00:00
Jermolene
421ac16389 Use inline parsing for header and footer of modals
This may cause backwards compatibility problems for people relying on
the block mode parsing, but it’s much better for the rest of us as it
avoids an unsightly paragraph tag
2015-03-18 11:41:10 +00:00
Jermolene
22b7400de8 Move making a data uri into reusable utilities 2015-03-18 11:40:09 +00:00
Jermolene
a4a9daa40b Extend wiki.makeTranscludeWidget() to control mode 2015-03-18 11:39:50 +00:00
Jermolene
cf11741df9 Include the version number in the plugin library path
See also:
https://github.com/Jermolene/build.jermolene.github.io/commit/a00a8a6df6
09ef5e4b2ed85039da72780ac81512
2015-03-16 15:44:24 +00:00
Jermolene
d4d69d7dd3 Remove click-to-navigate on tiddler bodies
This was introduced to make it possible in the new stacked story view
to click on a tiddler to bring it to the front. By allowing a tiddler
in view mode to be focussed, it also prepared for view mode keyboard
shortcuts. (Eg, a key to edit the current tiddler).

However, there are several minor issues with the unexpected behaviour
of clicking on a tiddler navigating to it, so we’ll leave this out of
5.1.8
2015-03-16 09:43:12 +00:00
Jermolene
055f6bdfa5 Release note update 2015-03-16 09:40:31 +00:00
Jermolene
7ea0109961 Restore sticky titles 2015-03-16 09:40:22 +00:00
Jeremy Ruston
1f11fd5128 Merge pull request #1582 from le-pako/master
Added missing images : left and up arrows
2015-03-16 09:25:00 +00:00
Pako
f2a328950e Rename up-arrow to up-arrow.tid 2015-03-16 01:13:25 +01:00
Pako
c701e96427 Create up-arrow 2015-03-16 01:11:09 +01:00
Pako
faf9b30e9c Create left-arrow.tid
I needed a left arrow for a menu, but as the core image library doesn't have one I created one by rotating the svg of the built-in right arrow.
Also changed the corresponding class name.
2015-03-16 01:01:24 +01:00
Jermolene
1447c955a5 Release note update 2015-03-14 17:21:37 +00:00
Jeremy Ruston
fe0e726c79 Merge pull request #1574 from le-pako/patch-1
Update TiddlyClip by buggyjay.tid
2015-03-14 17:21:13 +00:00
Jeremy Ruston
d1e75a3ad4 Merge pull request #1579 from le-pako/patch-2
Update cla-individual.md
2015-03-14 17:20:27 +00:00
Pako
8e9cd447c1 Update cla-individual.md 2015-03-14 18:16:16 +01:00
Jeremy Ruston
afd30aec07 Merge pull request #1578 from xcazin/fr-FR
fr-FR translation re: the help button and the default sidebar tab
2015-03-14 17:13:18 +00:00
Xavier Cazin
9cca8772a7 fr-FR translation re: the help button and the default sidebar tab 2015-03-14 18:06:59 +01:00
Jermolene
ae001a19e5 Upgrade to KaTeX v0.2.0 2015-03-14 08:34:16 +00:00
Roma Hicks
55ee327885 Removed uneeded function but still converts TW5 Date strings. 2015-03-13 13:14:30 -05:00
Jermolene
3165eb1429 Update contributors list 2015-03-13 16:27:16 +00:00
Jermolene
0444420346 Update plugin installation instructions 2015-03-13 10:18:42 +00:00
Jermolene
253859cc7c Update release note 2015-03-13 10:18:28 +00:00
Jermolene
70e454fa6d Release note update 2015-03-13 10:07:16 +00:00
Pako
374682a306 Update TiddlyClip by buggyjay.tid
Small edit to correct a type on Firefox name and add a link.
2015-03-13 10:36:25 +01:00
Jermolene
550ad4a1a9 Partial fix for #1570
Stop the logger from creating alert tiddlers on the server. They
propagate to the client but are not deletable from the client because
they are in the `$:/temp` namespace.

cc @loleg
2015-03-12 22:35:03 +00:00
Jeremy Ruston
0e75a6f41c Merge pull request #1572 from Spangenhelm/patch-2
Adding the 'language' type to the table of plugins options
2015-03-12 18:19:47 +00:00
Florent V.
c4da71e2fd Adding the 'language' type to the table of plugins options 2015-03-12 13:46:42 +01:00
Jeremy Ruston
6248c29a14 Merge pull request #1571 from BramChen/master
Update chinese translations
2015-03-12 08:48:16 +00:00
Bram Chen
fc84ede773 For zh-Hant and zh-Hans, add text and tooltip of help button 2015-03-12 13:29:10 +08:00
Jermolene
b69dff861d Fix tests for c33a17a475 2015-03-11 21:58:45 +00:00
Jeremy Ruston
d1a4855bfc Merge pull request #1546 from aelocson/upgrade-typo
Correct WikiText in the upgrade wizard
2015-03-11 21:45:13 +00:00
Jeremy Ruston
e4cc5dca77 Merge pull request #1545 from aelocson/variable-docs
Document the tv-* variables
2015-03-11 21:44:32 +00:00
Jeremy Ruston
a64575f07f Merge pull request #1544 from BramChen/master
Update chinese translations
2015-03-11 21:26:27 +00:00
Jermolene
c33a17a475 Revert "sort unlisted tags by title"
Revert “sort unlisted tags by title”
a8ab08e8fa by @tobibeer

The problem was that this commit changed the order of stylesheet
processing. For background see:

https://groups.google.com/d/topic/tiddlywiki/BPuuSkG6siU/discussion
2015-03-11 19:17:14 +00:00
Jeremy Ruston
c98990d3d6 Merge pull request #1556 from felixhayashi/patch-2
Missing advice in Contributing.tid
2015-03-11 18:26:23 +00:00
Jermolene
3431b84625 Use explicit parameter name
As suggested by @pmario in
https://github.com/Jermolene/TiddlyWiki5/pull/1536/files#r26186766
2015-03-11 17:09:25 +00:00
Jeremy Ruston
07d0609083 Merge pull request #1560 from sukima/remove-freedom-bits
Remove freedombits community example
2015-03-10 20:32:11 +00:00
Jeremy Ruston
2710049865 Merge pull request #1565 from felixhayashi/patch-5
Bugfix: Object.freeze() called on null
2015-03-10 20:31:15 +00:00
Jeremy Ruston
0f5cebc6b0 Merge pull request #1567 from sukima/fix-codemirror-readme
Fix CodeMirror README formatting
2015-03-10 20:24:07 +00:00
Jeremy Ruston
9097697c52 Merge pull request #1536 from aelocson/macro-syntax-fix
Fix a broken use of the list-links macro
2015-03-10 20:23:23 +00:00
Jeremy Ruston
b430f46d78 Merge pull request #1534 from aelocson/monospaced-font
Expose code font family in Control Panel
2015-03-10 20:23:11 +00:00
Jermolene
657c266522 Coding style tweaks 2015-03-10 20:04:34 +00:00
Jermolene
ab9bdb208e Add thumbnail and links for TiddlyWiki Poster 2015-03-10 17:24:17 +00:00
Jermolene
e80a08f43b Fix problem with custom tag in reveal widget 2015-03-10 16:59:25 +00:00
Jermolene
e46d3d74be Rename node-webkit to NW.js 2015-03-10 16:54:53 +00:00
Jermolene
1141911a70 Add strings for help button 2015-03-10 14:27:51 +00:00
Jermolene
1808b1597e Support custom HTML element tags for reveal widget 2015-03-10 12:44:47 +00:00
Jermolene
64e1a76987 Prevent edit-text widget from generating unsafe elements 2015-03-10 12:34:50 +00:00
Jermolene
d3954af478 Soften colour of system tiddler icons 2015-03-10 12:29:39 +00:00
Jermolene
8ab73894e9 Remove extraneous colon 2015-03-10 11:04:35 +00:00
Jermolene
49a9a2c44c Add Slovak translation
Thanks to Vlado Luknar
2015-03-10 11:04:25 +00:00
Jermolene
bd175504f8 Add "full" edition for testing plugins 2015-03-10 10:49:44 +00:00
Devin Weaver
dcb9e161de Fix CodeMirror README formatting
There was a rendering mess in the CodeMirror readme file. This was cause
by attempting to bold the `$:/tags/Stylesheet` text. Also the context of
the sentence implies this should be backticked not bold (it refers to a
tag not a tiddler).
2015-03-08 16:38:16 -04:00
Felix Küppers
f99a4e7664 Bugfix: Object.freeze() called on null
For five minutes I stared at the following code...

    if(value != null && typeof value === "object") {
      Object.freeze(value);
    }

... and at the error message that led me to this code: `Object.freeze called on non-object`

And then I remembered that js treads null as object (http://www.ecma-international.org/ecma-262/5.1/#sec-11.4.3). This means the `typeof === "object"` will not discover null and freeze will throw an error...

So `value != null` will also work when value is undefined.

A hard to find bug ;)
2015-03-07 20:47:43 +01:00
Devin Weaver
74deae3c38 Remove freedombits community example
The URL (freedombits.org) is no longer hosting this example. It no
longer provides a good example as there is no TiddlyWiki linked anymore.

With much regret it needs to be removed till the original author can fix
the problem.
2015-03-06 16:28:43 -05:00
Felix Küppers
3e47f5c454 Update Contributing.tid 2015-03-06 15:47:56 +01:00
Felix Küppers
8ffe517736 Update Contributing.tid 2015-03-06 14:42:09 +01:00
Bram Chen
6070c4abee Minor wording tweak for BramChen/TiddlyWiki5@385533e528 2015-03-04 09:24:04 +08:00
Bram Chen
d6ae9ea686 Merge remote-tracking branch 'upstream/master' 2015-03-04 09:12:57 +08:00
Jermolene
42499ea6ff Minor tweaks and fixes for #1529
1. Display friendlier caption field in select dropdown
2. Remove extraneous line break from end of default config tiddler
3. Minor wording tweak
2015-03-03 18:10:01 +00:00
Astrid Elocson
320664a0c7 Correct WikiText in the upgrade wizard 2015-02-28 15:43:48 +00:00
Astrid Elocson
e369bc1eb2 Remove created field accidentally added 2015-02-28 14:47:38 +00:00
Astrid Elocson
27e6c7bb8d Add links to tv-* variables in LinkWidget.tid 2015-02-28 14:45:22 +00:00
Astrid Elocson
f73891c083 Document the tv-* variables 2015-02-28 14:38:00 +00:00
Bram Chen
385533e528 For chinese translations, add caption and hint text of setting default sidebar tab 2015-02-28 22:33:35 +08:00
Jeremy Ruston
7a326f022b Merge pull request #1529 from felixhayashi/sidebar-default
Option to define the default sidebar tab
2015-02-28 12:13:46 +00:00
Jeremy Ruston
27454dabb1 Merge pull request #1525 from Spangenhelm/patch-1
Adding the missing 'language' type
2015-02-28 12:12:11 +00:00
Jeremy Ruston
f89da8522f Merge pull request #1539 from aelocson/doc-macros-fix
Remove extraneous \end from doc-macros.tid
2015-02-28 12:11:07 +00:00
Jermolene
e884192baf Alternative fix for #1542
As suggested by @aelocson, adjusting the viewport has less impact on
the icon size.
2015-02-28 11:28:58 +00:00
Jermolene
bc0a25bc6c Fix 1px clipping on SVG icons
Fixes #1542
2015-02-28 10:47:38 +00:00
Astrid Elocson
af34b1af05 Remove extraneous \end from doc-macros.tid 2015-02-28 08:16:10 +00:00
Astrid Elocson
999e0c3ba4 Fix a broken use of the list-links macro 2015-02-27 19:33:22 +00:00
Jeremy Ruston
b30d43215c Merge pull request #1532 from aelocson/icon-macros
Macros and styles for tips and warnings
2015-02-27 18:27:57 +00:00
Jeremy Ruston
eb2b877b9b Merge pull request #1533 from simonbaird/master
Revert "Add navigation support to the edit template"
2015-02-27 18:10:52 +00:00
Astrid Elocson
3b0e6102ec Expose code font family in Control Panel 2015-02-27 12:46:19 +00:00
Simon Baird
5713e48541 Revert "Add navigation support to the edit template"
For some reason this is causing the focus to be repeatedly set to
the title field when editing a tiddler's text. Let's revert it for
now.

See Issue #1527.

This reverts commit fdc635007b.
2015-02-27 13:44:24 +10:00
Astrid Elocson
b001c7b558 Macros and styles for tips and warnings 2015-02-26 16:32:00 +00:00
Jermolene
1e02df61d0 Add tip and warning icons
@aelocson I thought these might be useful for the docs; we’ll need some
macros and styles, though.
2015-02-25 20:37:07 +00:00
Jermolene
65d81921f9 Further fixes to scrolling behaviour 2015-02-25 20:24:07 +00:00
Jeremy Ruston
6fcca43fd2 Merge pull request #1519 from aelocson/variable-docs
Overhaul the macro and variable documentation
2015-02-25 19:15:17 +00:00
Jermolene
8d46c18fc7 Refine fix for #1526
The previous fix changed the scrolling behaviour such that it only
scrolled to the top of a tiddler if the tiddler was entirely offscreen.
It wasn’t entirely satisfactory because scrolling was prevented even if
only a few pixels of a tiddler are in view. This commit ensures that
the scroll does occur if less than 50 pixels of the target is in view
2015-02-25 19:09:53 +00:00
Jermolene
489bc7a50b Only scroll to top when tiddlers are completely off-screen
Fixes #1526
2015-02-25 19:01:40 +00:00
Felix Hayashi
13f02992f5 changed wrong file 2015-02-25 18:00:02 +01:00
Felix Hayashi
21b738936f setting default sidebar tab 2015-02-25 17:53:32 +01:00
Astrid Elocson
61b8180562 Resolve merge conflict in LinkWidget.tid 2015-02-25 12:53:57 +00:00
Astrid Elocson
e4525a95c5 Try again to resolve merge conflict in LinkWidget.tid 2015-02-25 08:01:38 +00:00
Astrid Elocson
40c6362fbe Resolve merge conflict in LinkWidget.tid 2015-02-25 07:57:55 +00:00
Florent V.
41696e725d Adding the missing 'language' type
What about the 'core-version' field ? Should we add it ? Therefore we will need to add some doc about it. (how to use it correctly etc...)
2015-02-25 03:58:18 +01:00
Jermolene
b13d87fdf2 Overhaul the macro and variable documentation #1519 2015-02-24 17:41:16 +01:00
Jermolene
fdc635007b Add navigation support to the edit template
Matching the change we’ve already made to the view template
2015-02-23 18:59:46 +01:00
Jermolene
a2493f80a9 Add support for zip files 2015-02-23 11:57:16 +01:00
Jermolene
6a497eff6c Add prototype stacked storyview 2015-02-23 11:28:50 +01:00
Jermolene
4dd2b38faa Make tiddler frames clickable
With this enhancement, clicking on a tiddler in the story view will
navigate to that tiddler. This is needed for eg the stacked storyview,
where we want to be able to click on tiddlers to bring them to the
front of the stack.

There are some problems though - as things stand, clicking on a tiddler
in classic storyview will scroll to the top of that tiddler.
2015-02-23 11:28:36 +01:00
Jermolene
23981bc2fd Adjust tiddler shadows
Previously the shadow was to the bottom right. Overlapping tiddlers
look better if the shadow seeps out from each of the sides of the
tiddler
2015-02-23 11:27:17 +01:00
Jermolene
d7c0bda15d Don't use sticky titles by default
Layout bugs with position: sticky in Firefox mean that we probably
shouldn’t have sticky titles as the default. Rather than reverting to
putting them in a separate theme, it is proposed to expose the sticky
titles setting in Vanilla theme tweaks.
2015-02-23 11:25:10 +01:00
Jermolene
05c3de3245 Extend list widget to invoke storyview for refreshes 2015-02-23 11:24:03 +01:00
Jermolene
950a86c7b7 Extend link widget with additional attributes
Add “tabindex”, “draggable” and “tag” attributes
2015-02-23 11:23:44 +01:00
Jermolene
0bd2ec50e1 Add stacked storyview plugin 2015-02-23 11:21:57 +01:00
Jermolene
682cfebe73 Adjust tiddler shadows
Previously the shadow was to the bottom right. When tiddlers overlap
(as with the stacked storyview) it makes them “pop” more if the shadow
extends round all sides of the tiddler.
2015-02-23 11:21:32 +01:00
Jermolene
122a6f043d Temporarily remove position sticky from titles
Firefox bugs with position:sticky mean that we probably shouldn’t have
sticky titles turned on by default.

Previously, sticky titles were packaged into a pluggable theme. Now, I
think it may make more sense to make the sticky titles status be a
theme tweak for the Vanilla theme.
2015-02-23 11:20:41 +01:00
Jermolene
83011ddcff Turn tiddler frames into links
By turning the tiddler frame into a link it is now possible to click on
a tiddler to navigate to it. This is needed for the new
stacked-storyview, but it also useful in other storyviews.

Note that there are currently some issues. For example, in classic
storyview, clicking on a tiddler will scroll to the top of it, which
isn’t helpful if you’ve scrolled halfway down a long tiddler.
2015-02-23 11:18:47 +01:00
Jermolene
0da1f3f554 Extend list widget to pass refreshes to the story view 2015-02-23 11:17:00 +01:00
Jermolene
60e6b584bf Extend link widget with new attributes
Add “draggable”, “tag” and “tabindex” attributes to link widget.
2015-02-23 11:16:44 +01:00
Astrid Elocson
ad9aa58528 Overhaul the macro and variable documentation 2015-02-21 23:03:24 +00:00
Roma Hicks
a5591dc7a5 Update the sameday and eachday filter to accept ISO date strings. Extends coverage to fields that are not automatically converted to Date objects. 2015-02-21 11:39:03 -06:00
Jermolene
a507d58211 Use position:fixed for the drop indicator 2015-02-21 11:12:38 +00:00
Jermolene
ccc2f6d153 Revert "Update documentation for action-setfield widget"
This reverts commit 3746b1b9e8.
2015-02-21 09:40:41 +00:00
Jermolene
73a188d411 Improve description for help plugin 2015-02-21 08:53:04 +00:00
Jermolene
70e419824f Add first pass of help panel
This is just an idea really.

The help plugin is only included in the tw5.com wiki; the idea is to
also include it in the empty.html wiki, either as a plugin or as part
of the core.

If it stays as a plugin, the idea would be to have different help
plugins for different languages.
2015-02-20 22:44:55 +00:00
Jermolene
2d2924d918 Add help icon 2015-02-20 22:42:25 +00:00
Jermolene
d004c9f951 Provide styles for selected page control buttons 2015-02-20 22:42:14 +00:00
Jermolene
bba4794c0a Coding style updates
@welford there were some minor tweaks with whitespace, coalescing
consecutive var statements, camelcase rather than underscores in
variable names.
2015-02-20 22:17:28 +00:00
Jeremy Ruston
7eeb286551 Merge pull request #1517 from welford/static_export_macro
bug fix
2015-02-20 22:11:38 +00:00
James Welford Anderson
1901702557 bug fix
Createdirectory is removed as $tw.utils.createFileDirectories does it's
work

Fixed a bug for when tv-get-export-path returns null.
2015-02-21 07:06:59 +09:00
Jermolene
a80b20e8df Merge branch 'welford-static_export_macro' 2015-02-20 21:56:18 +00:00
James Welford Anderson
cf59e7a71b re-add outputpath variable 2015-02-21 06:49:34 +09:00
James Welford Anderson
ee6b6a0f0c add macros for custom statically exported paths/links/images
tv-get-export-path tells render tiddlers where to export files
tv-get-export-image-link tells images.js where to look for images
tv-get-export-link tells tells link.js where to look for links to other
exported tiddlers
2015-02-21 06:45:40 +09:00
Jermolene
3df341621d Alternative fix for unnecessary startup scrolling
@aelocson here’s an alternative fix for #981, as discussed in
https://github.com/Jermolene/TiddlyWiki5/commit/691e5719a4ff74a04d389bd1
26ba2a69e7651a2a#commitcomment-9848682

It does seem a lot nicer. It avoids the problem you raised, and also
avoids scrolling when a permalink is used.

I suspect that we’d need to make the hard-coded 50 pixels be
configurable.
2015-02-20 20:04:18 +00:00
Jermolene
3746b1b9e8 Update documentation for action-setfield widget 2015-02-20 19:33:17 +00:00
Jermolene
ead6eb00d4 Revert "Merge pull request #1509 from welford/static_export_macro"
This reverts commit b2b8006b58, reversing
changes made to e7e16137b2.

@welford my apologies it turns out there are a couple of problems, I’ll
comment more on the pull request
2015-02-20 18:39:13 +00:00
Jeremy Ruston
b2b8006b58 Merge pull request #1509 from welford/static_export_macro
Static export macro for custom paths
2015-02-20 18:15:43 +00:00
Jeremy Ruston
e7e16137b2 Merge pull request #1512 from aelocson/plugin-descriptions
Consistent plugin descriptions
2015-02-20 18:08:34 +00:00
Jermolene
9e9b9a3bf1 Avoid navigating to an empty title
Fixes #1515
2015-02-20 16:19:53 +00:00
Jermolene
396efedc3f Update tests for 1e9e1a1fdc 2015-02-20 16:19:06 +00:00
Jermolene
1e9e1a1fdc Single quotes should be HTML encoded
As raised here:
https://groups.google.com/d/topic/tiddlywiki/nYvgcImvBt8/discussion
2015-02-20 16:09:38 +00:00
Jermolene
50cf85ae86 Move arrows to the left in the explorer view 2015-02-19 13:58:27 +00:00
Jermolene
4931462981 Remove index numbers from explorer view 2015-02-19 13:58:09 +00:00
Jeremy Ruston
6c62954116 Merge pull request #1505 from pmario/fix-search-path-runtime-error
Fix trailing semicolon in TIDDLYWIKI_EDITION_PATH
2015-02-17 20:56:14 +00:00
Astrid Elocson
28f78730ba Consistent plugin descriptions 2015-02-17 10:28:54 +00:00
Jeremy Ruston
13fa3fb849 Merge pull request #1511 from BramChen/master
For chinese translations, fix GettingStarted text input field widths
2015-02-17 08:17:05 +00:00
Mario Pietsch
e1b57bf9e5 remove temporary variable 2015-02-17 01:29:42 +01:00
Bram Chen
0b8498bc6c For chinese translations, fix GettingStarted text input field widths 2015-02-17 08:28:40 +08:00
James W. Anderson
d1809f352c explicitly pass through source params
from the image/link widget to the respective static export macros
2015-02-17 07:11:00 +09:00
Jermolene
6e0c7d9022 Improve font rendering on OX S
See
https://medium.com/@mwichary/death-to-typewriters-technical-supplement-8
f3c754626f2#5916
2015-02-16 21:27:11 +00:00
Jermolene
42d130d49d Revert #1496
The change affects the default display of the story river, reversing
the order of entries.
2015-02-16 19:17:10 +00:00
Jermolene
25442e349e Restore missing whitespace
Accidentally deleted in e1a825f6b9
2015-02-16 17:31:50 +00:00
Jeremy Ruston
e1a825f6b9 Merge pull request #1496 from tobibeer/just-fix-list-filter-no-refactoring
just fixes list filter, no further refactoring
2015-02-16 17:30:54 +00:00
Jeremy Ruston
7d842bedd7 Merge pull request #1500 from aelocson/railroad-desc
Improve description of railroad plugin
2015-02-16 17:29:48 +00:00
Jeremy Ruston
66808f11d7 Merge pull request #1501 from pmario/language-de
german translations + fix TypedTiddlers missing file extension
2015-02-16 17:28:55 +00:00
Jeremy Ruston
01d9af8107 Merge pull request #1502 from pmario/fix-invalid-example-links
change existing, unsuitable links mysite.com and me.com to example.com
2015-02-16 17:28:41 +00:00
Jeremy Ruston
14789e1d21 Merge pull request #1503 from pmario/fix-getting-started-input-width
fix empty.html GettingStarted text input field widths
2015-02-16 17:28:22 +00:00
Jermolene
e900b388b5 Add example of JSON tiddler file 2015-02-16 17:27:49 +00:00
Jeremy Ruston
bb0f960ccc Merge pull request #1504 from tobibeer/tiddler-files-doc
TiddlerFiles — above all fixing the wrong example at the bottom
2015-02-16 17:24:06 +00:00
Jermolene
74f423af2a Restoring some of @tobibeer's other edits to ListWidget docs 2015-02-13 22:56:28 +00:00
Jermolene
4ba53564e2 Missed of reverting the list widget iterator variables commits 2015-02-13 22:56:11 +00:00
Jermolene
68165af081 Revert #1330 ("implements list iterator variables")
As discussed on the ticket, there is a problem:

https://github.com/Jermolene/TiddlyWiki5/pull/1330#issuecomment-74339195
2015-02-13 22:42:36 +00:00
Jermolene
e386e26b2d Fix problems with $tw.utils.checkVersions()
Previous changes since 5.1.7 broke the documented semantics by no
longer returning true when the versions match. It affected the upgrade
process, making it impossible to upgrade to a later pre-release (ie
where the version numbers in the upgrade.html match those in the file
being upgraded).

Also reviewed and updated the calls to checkVersions.

@felixhayashi I think that this effectively reverts the change you
original submitted. Are you OK with it?
2015-02-12 23:04:20 +00:00
Mario Pietsch
95d7a826f0 space added 2015-02-12 20:03:20 +01:00
Mario Pietsch
17c38b1ec5 fix problem if edition search path is TIDDLYWIKI_EDITION_PATH=c:\test; because the trailing semicolon creates an empty directory name. 2015-02-12 14:44:10 +01:00
Tobias Beer
c1977552a2 above all fixing the wrong example at the bottom
and some more rewording
2015-02-12 13:56:26 +01:00
Mario Pietsch
8e106966d3 fix empty.html GettingStarted text input field withs 2015-02-12 13:18:51 +01:00
Mario Pietsch
2d07e3d661 change existing, unsuteable links mysite.com and me.com to example.com 2015-02-12 12:48:00 +01:00
Mario Pietsch
18d45a302d german translations + fix TypedTiddlers missing file extension 2015-02-12 12:38:32 +01:00
Astrid Elocson
435267080f Improve description of railroad plugin 2015-02-12 09:35:57 +00:00
Jermolene
ddac13317e Disable plugin reload warnings in the upgrade edition 2015-02-11 13:01:43 +00:00
Tobias Beer
4991c4d6dc just fixes list filter, no further refactoring
previously did not correctly handle / match the source but only output
the list as is

replaces https://github.com/Jermolene/TiddlyWiki5/pull/1419
2015-02-11 12:01:57 +01:00
Jermolene
c9ab873ba3 Fixes problem with drag and drop in Safari
Fixes #1415

The problem was that encodeURI() doesn’t encode slashes, which are not
legal in a data URI, although only Safari was failing. We switch to
encodeURIComponent(), which does encode slashes
2015-02-11 10:07:10 +00:00
Jermolene
1534fed4f7 Don't give the plugin warning for $:/Import 2015-02-10 23:17:50 +00:00
Jermolene
1924eda8a9 Improvements for #1483
* Rename the global to $tw.dragInProgress for clarity.
* Abort the dragenter so that we don’t get extraneous feedback during
the drag
2015-02-10 23:17:38 +00:00
Jeremy Ruston
1b87d9134b Merge pull request #1483 from tobibeer/592-no-drag-n-drop-to-same-location
prevents drag and drop import in same window
2015-02-10 23:04:45 +00:00
Jermolene
691e5719a4 Avoid unnecessary scrolling at startup
The main fix is removing the fallback navigation to the first tiddler
in story.js. Also required is the fix to the startup behaviour of
zoomin.js.

Fixes #981
2015-02-10 22:40:38 +00:00
Tobias Beer
dc23963525 using $tw.dragging to prevent dnd in same window
Anything missing?
2015-02-10 23:34:37 +01:00
Tobias Beer
30f2c06c9e Revert "prevents drag and drop import in same window"
This reverts commit 09afa8297a.
2015-02-10 23:33:19 +01:00
Jermolene
b166632bbb Fix blurred modal backdrops for Firefox 2015-02-10 22:19:21 +00:00
Jermolene
8b53839e4e Standardise filenames for building fr-FR edition
@xcazin - see also
https://github.com/Jermolene/build.jermolene.github.io/commit/f2d3031946
22fd0a8556de81a1d35542358c585a
2015-02-10 22:05:44 +00:00
Jeremy Ruston
956cc47cc2 Merge pull request #1492 from aelocson/eachday-modified
Default eachday to the modified field
2015-02-10 19:55:28 +00:00
Astrid Elocson
fd84370d7a Default eachday to the modified field 2015-02-10 16:21:53 +00:00
Jermolene
2305385c08 Don't list all tiddlers in tag dropdown in edit template
@tobibeer I think that this was originally from you. I think it’s
problematic listing all available tiddlers for performance and
usability reasons.

I’ve instead taken advantage of your work to template the tag links by
splitting the system and non-system tags. What do you think?
2015-02-10 14:43:09 +00:00
Jermolene
4b61cae262 Add debugging hook for wiki.addTiddler() 2015-02-10 11:30:39 +00:00
Jermolene
cf36f6d090 Fix empty French translation
We also had two $:/language definitions
2015-02-10 11:30:38 +00:00
Jeremy Ruston
921e184d4f Merge pull request #1485 from BramChen/master
Add chinese translations for the new Plugins tab of control panel
2015-02-10 10:56:24 +00:00
Jeremy Ruston
81ff046555 Merge pull request #1489 from xcazin/fred
First fixes to the fr-FR empty wiki generation
2015-02-10 10:37:23 +00:00
Jeremy Ruston
5f3e569ad7 Merge pull request #1488 from aelocson/is-fix
Fix documentation of is[missing]
2015-02-10 10:22:16 +00:00
Xavier Cazin
72160982ed First fixes to the fr-FR empty wiki generation
Needs improvements (notably, fr-FR language has to be manually switched after load)
2015-02-10 11:17:03 +01:00
Astrid Elocson
3331f1d85f Fix documentation of is[missing] 2015-02-10 09:06:05 +00:00
Bram Chen
f0ad83e4e1 Add chinese translations for the new Plugins tab of control panel 2015-02-10 10:54:56 +08:00
Bram Chen
a548321a8e Merge remote-tracking branch 'upstream/master' 2015-02-10 08:48:54 +08:00
Tobias Beer
09afa8297a prevents drag and drop import in same window
fixes #592

Introduces and preserves **_origin** field when using drag-and-drop —
bad idea? discard? different field name?

demo http://592.tiddlyspot.com
2015-02-09 23:49:04 +01:00
Jeremy Ruston
629c31eb51 Merge pull request #1475 from danielo515/patch-6
template parameter on view widget is not clear
2015-02-09 22:12:24 +00:00
Jermolene
120b1737a6 Ensure $:/StoryList is synced in client-server configuration
Fixes #1474
2015-02-09 22:02:23 +00:00
Jermolene
8dcd080cdd Style fix 2015-02-09 21:46:54 +00:00
Jeremy Ruston
9cf1f8f96b Merge pull request #1476 from tobibeer/fix-tm-delete-tiddler-doesnt-exist
Fix issue deleting non-existent tiddler
2015-02-09 21:46:08 +00:00
Jermolene
d7d560897d Correct case of getindex filter operator 2015-02-09 21:42:25 +00:00
James Welford Anderson
0b68428bc5 add image export path macro 2015-02-10 05:59:56 +09:00
Jermolene
950a90e235 haschanged filter docs improvements from @aelocson 2015-02-09 19:51:02 +00:00
Jermolene
f0fa33985b Inadvertently included in previous commit 2015-02-09 19:42:52 +00:00
Jermolene
b66db0dca9 Improvements to display of plugin libraries 2015-02-09 19:41:28 +00:00
Jermolene
e7c418089d Correct plugin library URL 2015-02-09 19:29:14 +00:00
Jermolene
0c4fe6b602 Remove debugging code 2015-02-09 19:28:48 +00:00
Jermolene
2585f8932c Left off previous commit 2015-02-09 19:04:22 +00:00
Jermolene
8643278a45 Add support for an integrated plugin library
Fixes #1450

Provides support for an integrated plugin library that can be used to
install plugins from tiddlywiki.com directly to wikis hosted online or
offline. See the Plugins tab of Control Panel.

Todo:

* Error checking(eg libraryserver.js HTTP GET)
* Translatability
* Documentation
** $:/tags/ServerConnection
** savelibrarytiddlers command
2015-02-09 19:04:11 +00:00
Tobias Beer
ca6ab6388a no error when tiddler doesn't exist
Currently **tm-delete-tiddler** throws a red error box:

```
<$button>
<$action-sendmessage $message="tm-delete-tiddler" $param="DoesntExist"/>
delete non-existing
</$button>
```

**Uncaught TypeError: Cannot read property 'fields' of undefined**
2015-02-09 12:28:42 +01:00
Jermolene
aae56f20af Display warning banner when plugins are modified
Fixes #1455

@aelocson have I got the docs right for the new filter?
2015-02-08 19:40:15 +00:00
danielo515
f20a09532a templates are not clear
The template description is too ambiguous. I tried to use template tiddlers just to realize that the template should be a string. For example a date format.
2015-02-08 20:11:07 +01:00
Jermolene
e18825e897 Fix problem with stringifying missing fields 2015-02-08 18:46:22 +00:00
Jeremy Ruston
96f5098f46 Merge pull request #1441 from Spangenhelm/patch-3
Enhancements to plugin installation doc and new entry for uninstallation
2015-02-08 18:31:05 +00:00
Jermolene
cfea481ce8 Ensure stylesheet is re-rendered when the language changes
This ensures that things like the drop message are updated when the
language changes.
2015-02-08 17:56:17 +00:00
Jeremy Ruston
1191d60d61 Merge pull request #1456 from Spangenhelm/patch-4
Update cla-individual.md
2015-02-07 16:37:16 +00:00
Jermolene
d6b1525727 Add tweeting to release procedure
For @RichShumaker
2015-02-07 15:33:18 +00:00
Jermolene
d6918d737f First commit of Interlingua translation
See http://en.wikipedia.org/wiki/Interlingua
2015-02-07 15:32:44 +00:00
Bram Chen
adbed21363 Merge remote-tracking branch 'upstream/master' 2015-02-07 22:54:09 +08:00
Jeremy Ruston
bb10e2b029 Merge pull request #1471 from tobibeer/basic-empty-story-message
basic empty story message
2015-02-07 13:12:01 +00:00
Tobias Beer
2017ae5ac4 basic empty story message
added documentation to HistoryMechanism
2015-02-07 13:17:32 +01:00
Jeremy Ruston
568515fef7 Merge pull request #1457 from aelocson/filter-fields
Define operators via fields and a view template
2015-02-07 12:02:43 +00:00
Jeremy Ruston
68930f333a Merge pull request #1452 from tobibeer/getIndex-filter
getIndex filter
2015-02-07 11:53:07 +00:00
Jeremy Ruston
6c32ee578e Merge pull request #1458 from BramChen/master
The cumulative updates for zh-Hans and zh-Hant
2015-02-07 11:49:32 +00:00
Jeremy Ruston
412451170b Merge pull request #1469 from Jermolene/revert-1435-1428-empty-story-message
Revert "implements emptyStoryMessage"
2015-02-07 11:29:46 +00:00
Jeremy Ruston
9b600c23a2 Revert "implements emptyStoryMessage" 2015-02-07 11:29:12 +00:00
Jeremy Ruston
dceb68818a Merge pull request #1435 from tobibeer/1428-empty-story-message
implements emptyStoryMessage
2015-02-07 11:25:46 +00:00
Tobias Beer
a72581ba26 removed language switcher text 2015-02-07 12:22:16 +01:00
Jeremy Ruston
7deea0cbf3 Merge pull request #1468 from tobibeer/fix-svg-newlines
removed trailing newlines in svg
2015-02-07 10:45:00 +00:00
Jermolene
6721a5eb1b Add Portuguese Translation by Duarte Farrajota Ramos 2015-02-07 10:30:05 +00:00
Jermolene
b1bb52b67a Fix typo from 8cd0c2afcd 2015-02-07 10:23:16 +00:00
Bram Chen
9cfbc3b001 Merge remote-tracking branch 'upstream/master' 2015-02-07 09:15:46 +08:00
Jeremy Ruston
718ce3e4aa Merge pull request #1465 from roma0104/master
Added Class Mechanism to Checkbox Widget
2015-02-06 18:51:43 +00:00
Jermolene
f2cd743c17 Add TeXZilla plugin by Joe Renes 2015-02-06 17:04:58 +00:00
Roma Hicks
687d6350d4 Added class mechanism to checkbox widget. #1463 2015-02-06 01:02:01 -06:00
Roma
a11264ebb0 Merge pull request #1 from Jermolene/master
Update my fork.
2015-02-05 18:30:54 -06:00
Bram Chen
bac5bc02e2 The cumulative updates for zh-Hans and zh-Hant 2015-02-04 12:11:09 +08:00
Tobias Beer
7ed5c3ccfc use extractTiddlerDataItem not parseTextReference 2015-02-04 01:49:31 +01:00
Tobias Beer
726ccdee49 updated documentation
thanks, @aelocson
2015-02-04 01:41:50 +01:00
Bram Chen
a3d51ef7c3 Merge remote-tracking branch 'upstream/master' 2015-02-04 08:15:42 +08:00
Astrid Elocson
c2d473fa29 Define operators via fields and a view template 2015-02-03 19:29:25 +00:00
Florent V.
42e72a7adc Update cla-individual.md 2015-02-03 17:50:39 +01:00
Jeremy Ruston
d340277cb2 Merge pull request #1392 from tobibeer/1387-fix-tiddlyspot-backup-url
Add resolvepath macro
2015-02-03 14:22:48 +00:00
Tobias Beer
32fd03d2f5 rename macro 2015-02-03 15:19:03 +01:00
Tobias Beer
e4bd0c8633 added documentation
temporary documentation demo:
http://goto.bplaced.net/tw5/5.1.7.html#ResolvePath
2015-02-03 15:18:38 +01:00
Jeremy Ruston
6a01ec5770 Merge pull request #1447 from tobibeer/move-nodejs-to-editions
French docs: moved tw on node.js to editions
2015-02-03 14:17:01 +00:00
Tobias Beer
a8a0d0d09e renaming in one go didn't work 2015-02-03 14:50:37 +01:00
Tobias Beer
8746e1ede0 renamed and documentation
* renamed to all lowercase
* added documentation
* added examples
2015-02-03 14:50:16 +01:00
Jeremy Ruston
5987bad821 Merge pull request #1446 from dullroar/master
Make sure all "get" access to $tw.config.fileExtensionInfo goes through...
2015-02-03 13:26:08 +00:00
Jeremy Ruston
195cc99679 Merge pull request #1436 from aelocson/filter-terminology
Revise filter terminology: constructors and modifiers
2015-02-03 13:12:57 +00:00
James Welford Anderson
4049affb31 initial pass at static export macros 2015-02-03 07:30:24 +09:00
Tobias Beer
0ee06bb144 moved tw on node.js to editions
removed empty toplevel "TiddlyWiki Configurations", also from French

added TiddlyDesktop to Editions
2015-02-01 20:04:10 +01:00
Jim Lehmer
8cd0c2afcd Make sure all "get" access to $tw.config.fileExtensionInfo goes through a $tw.utils.getFileExtensionInfo helper function that ensures the parameter is cast to lowercase. Fixes #1418. 2015-02-01 12:33:40 -06:00
Florent V.
48d9cad7c2 Enhancements to plugin installation and new entry for uninstallation
I have added bold markup to emphase and explain the need to refresh.
2015-02-01 12:41:52 +01:00
Astrid Elocson
3dd4f943ce Rename to SelectionConstructors.tid 2015-01-29 13:41:11 +00:00
Astrid Elocson
9a7bda28e9 Revise filter terminology: constructors and modifiers 2015-01-29 13:40:18 +00:00
Astrid Elocson
a5d54a0ada Rename AbsoluteOperators.tid 2015-01-29 13:23:24 +00:00
Tobias Beer
4a05bd10e9 renamed to resolvePath using $tw.utils.resolvePath
adapted ControlPanel / Saving accordingly
2015-01-29 00:38:08 +01:00
Tobias Beer
e9261a1b50 implements emptyStoryMessage
as well added ControlPanel settings — reordered ControlPanel basics to
have DefaultTiddlers next to EmptyMessage but not shifting important
stuff too far down
2015-01-28 23:55:29 +01:00
Tobias Beer
8b771555a5 initial commit
Is `wiki.parseTextReference()` the appropriate way?
2015-01-28 22:15:52 +01:00
Jermolene
2db6cbed2d Add warning about not using File/Save menu option 2015-01-28 17:35:10 +00:00
Jermolene
3300ed9602 Update action widget docs for 4cd8466adb 2015-01-28 16:31:49 +00:00
Jeremy Ruston
4cd8466adb Merge pull request #1396 from ng110/master
Allow widget actions to propagate to children
2015-01-28 16:28:11 +00:00
ng110
a7a205a754 Update select.js 2015-01-28 16:00:34 +00:00
Bram Chen
8c6d1c75c7 Merge remote-tracking branch 'upstream/master' 2015-01-28 22:43:20 +08:00
Jeremy Ruston
1f610c22f8 Merge pull request #1429 from aelocson/order-tagged
Adjust documentation following pull #1378
2015-01-28 13:54:50 +00:00
Jermolene
050b643948 Sandbox HTML iframes
Otherwise Firefox allows code in html tiddlers to access the main
window:

https://groups.google.com/d/topic/tiddlywiki/NwOI-QER2ig/discussion
2015-01-28 13:50:39 +00:00
Jeremy Ruston
040ed56de5 Merge pull request #1430 from tobibeer/1378-tests-sorting-unlisted-tiddlers
update tagging filter tests
2015-01-28 13:16:24 +00:00
Jeremy Ruston
9a74c31e13 Merge pull request #1383 from tobibeer/fix-topbar-position
place topbars first in page-layout
2015-01-28 12:55:19 +00:00
Jeremy Ruston
1e13eacd25 Merge pull request #1431 from aelocson/each-list-doc
Adjust documentation following pull #1422
2015-01-28 11:42:40 +00:00
Jermolene
99f24eefa4 Move if macro to macros directory 2015-01-28 11:42:12 +00:00
Bram Chen
23a8c0115e Merge remote-tracking branch 'upstream/master' 2015-01-28 19:29:03 +08:00
Jermolene
ba971a2d2b Improved drop message 2015-01-28 09:13:05 +00:00
Tobias Beer
7ec42f93ec updated $:/tags/PageTemplate
reverted topleftbar & toprightbar
2015-01-28 01:13:29 +01:00
Astrid Elocson
d536030c5d Adjust documentation following pull #1422 2015-01-27 20:38:30 +00:00
Tobias Beer
b40da093af added tests to tagging for changes in #1378
using a single test-filters.js is (becoming) a pain... I'd rather have a
single test file per filter / module / function
2015-01-27 18:20:03 +01:00
Astrid Elocson
e6d204db0f Adjust documentation following pull #1378 2015-01-27 15:44:55 +00:00
Jeremy Ruston
08f6e7f624 Merge pull request #1378 from tobibeer/tag-button-sort-tagging
sort unlisted tags by title
2015-01-27 14:30:36 +00:00
Jeremy Ruston
618bc166ed Merge pull request #1382 from felixhayashi/patch-2
Releases.tid now switches to the newest releast per default
2015-01-27 14:12:15 +00:00
Jeremy Ruston
01cd5302f3 Merge pull request #1389 from aelocson/issue-1346
Fix #1346: Quotes around filter steps
2015-01-27 13:55:12 +00:00
Jeremy Ruston
bc87486ee1 Merge pull request #1390 from aelocson/railroad
Improvements to railroad plugin
2015-01-27 13:54:50 +00:00
Jeremy Ruston
3ec87a5c9c Merge pull request #1394 from tobibeer/use-filter-tiddler
changed tabs to use same filters as AdvancedSearch
2015-01-27 13:39:14 +00:00
Jeremy Ruston
5ccbe961f9 Merge pull request #1412 from alexhough/patch-3
change to current version
2015-01-27 13:08:14 +00:00
Jeremy Ruston
05215f1bd3 Merge pull request #1425 from alexhough/patch-4
added my name
2015-01-27 13:07:56 +00:00
Bram Chen
35afbe9edf Merge remote-tracking branch 'upstream/master' 2015-01-27 09:34:54 +08:00
alexhough
225b6ac950 changed to use <<version>> 2015-01-26 22:26:00 +00:00
alexhough
f3e4d156ee added my name 2015-01-26 22:23:32 +00:00
Jermolene
95f2f1a8fa Merge branch 'ng110-patch-1' 2015-01-26 21:51:13 +00:00
Jermolene
59db869deb Fix merge conflict 2015-01-26 21:46:12 +00:00
Jeremy Ruston
6dbe0e310d Merge pull request #1408 from Mathobal/patch-1
WikiText error in documentation
2015-01-26 21:33:34 +00:00
Jeremy Ruston
be7cc50873 Merge pull request #1424 from Mathobal/master
Update cla-individual.md
2015-01-26 21:33:18 +00:00
Ben Williams
6179259958 Update cla-individual.md 2015-01-26 21:26:47 +00:00
Jeremy Ruston
e87aea6e1f Merge pull request #1413 from tobibeer/1410-is-numeric
fix isNumeric in sortTiddlers in wiki.js
2015-01-26 21:00:26 +00:00
Jermolene
bdc5a38a84 Update copyright date 2015-01-26 20:56:15 +00:00
Jeremy Ruston
1afbd4c1f4 Merge pull request #1414 from aelocson/regexp-exception
Catch syntax errors in regexp filters
2015-01-26 20:55:58 +00:00
Tobias Beer
e9bdf6f542 trying to show the conditional nicely aligned 2015-01-26 19:58:00 +01:00
Jeremy Ruston
b81432aee2 Merge pull request #1417 from aelocson/filter-docs
Overhaul the filter operator documentation
2015-01-26 18:43:24 +00:00
Jermolene
b845751d3c Add Punjabi and Hindi translations
Many thanks to Atul Grover
2015-01-26 16:48:11 +00:00
Astrid Elocson
baceb21fbb Document splitbefore and storyviews operators 2015-01-26 14:42:22 +00:00
Astrid Elocson
89163e0e85 Adjust style of filter operator placeholders 2015-01-26 09:26:24 +00:00
Astrid Elocson
88ea60cc7e correction to statement about filter whitespace 2015-01-25 10:53:56 +00:00
Astrid Elocson
15f05b076c Retarget a couple of links and add trailing linefeeds 2015-01-24 21:53:28 +00:00
Astrid Elocson
aac2a63e05 Overhaul the filter operator documentation: part 2 2015-01-24 21:18:44 +00:00
Astrid Elocson
8d9f1e7477 Catch syntax errors in regexp filters 2015-01-23 14:32:57 +00:00
Tobias Beer
8a3991a619 extracted number comparision function
and added missing brackets
2015-01-23 14:57:04 +01:00
Tobias Beer
122e16d39c putting the variables in the right scope 2015-01-23 12:24:47 +01:00
Tobias Beer
ad62d9a083 first attempt at fixing wrong sort order in nsort and nsortcs
not working yet, no idea why
2015-01-23 12:06:32 +01:00
Tobias Beer
e504530005 introduce serverpath macro
for now, computes path to backup directory, appending the relative path
of UploadBackupDir to the absolute one from the UploadURL

Also added example for store.php to hint
2015-01-23 11:26:14 +01:00
alexhough
910d59c166 change to current version 2015-01-23 09:16:16 +00:00
Ben Williams
e423c21912 WikiText error in documentation
A minor issue - the wrong slashes are used in part of this text for emphasis. This confused me until I realised what was going on (I thought the /'s were part of the template syntax).
2015-01-22 15:00:57 +00:00
ng110
211406b0c2 Update cla-individual.md 2015-01-20 16:16:47 +00:00
Tobias Beer
5e175ec7c1 changed tabs to use same filters as AdvancedSearch
...to have one place to configure / override
2015-01-20 16:51:41 +01:00
ng110
16fe9fd5ce Update select.js 2015-01-20 13:02:06 +00:00
ng110
f9c4f6898e Add capability for widgets to trigger all descendant action widgets, rather than just immediate children.
Preserves compatibility with existing invokeActions call in button widget by creating a separate 'invokeActionCall' function to carry out the recursion.  Triggering all descendants permits use of action widgets inside list widgets or macros.  Also makes it possible to add triggering capability to select widget.
2015-01-20 12:34:24 +00:00
Tobias Beer
77c9918338 shows better message for backup dir with custom store.php
relates to #1387
2015-01-20 12:06:09 +01:00
Astrid Elocson
0d406966b3 Improve railroad example tiddler 2015-01-20 09:08:29 +00:00
Astrid Elocson
a848c105a8 Refresh railroad diagrams when config tiddler changes 2015-01-20 08:38:00 +00:00
Astrid Elocson
9e5eaed4a8 Support a global railroad config tiddler 2015-01-19 23:11:25 +00:00
Astrid Elocson
998361de59 Introduce text/vnd.tiddlywiki.railroad 2015-01-19 22:24:15 +00:00
Astrid Elocson
1591b43066 Introduce text/vnd.tiddlywiki.railroad 2015-01-19 22:21:22 +00:00
Astrid Elocson
e5676d058a Introduce text/vnd.tiddlywiki.railroad 2015-01-19 19:59:38 +00:00
Astrid Elocson
ade1c40911 Revise terminology around tiddler sets 2015-01-19 19:37:26 +00:00
Tobias Beer
495d5f258f place topbars first in pagelayout 2015-01-18 22:39:24 +01:00
Felix Küppers
adfb31a572 Update Releases.tid 2015-01-18 22:07:10 +01:00
Astrid Elocson
9bd3fb7238 Rename filter operator .tid files 2015-01-18 19:20:02 +00:00
Tobias Beer
5cc68106ec removed trailing newlines in svg
they create problems when using the icons as links
2015-01-18 20:09:10 +01:00
Astrid Elocson
6842a354ea Improve appearance of railroad arrows 2015-01-18 18:50:51 +00:00
Astrid Elocson
172c7ef7dd Overhaul the filter operator documentation: part 1 2015-01-18 18:39:00 +00:00
Tobias Beer
6006ed0ecf added case-insensitivity using wiki.sortTiddlers 2015-01-17 12:02:54 +01:00
Tobias Beer
a8ab08e8fa sort unlisted tags by title
when the tiddlers are not listed in the list field, sort them by title
nonetheless, otherwise we get a real poor taglist from
**$:/core/ui/TagTemplate**
2015-01-17 11:40:33 +01:00
Astrid Elocson
8fc404bbca Make filter syntax explanations accurate 2015-01-14 21:27:07 +00:00
Astrid Elocson
07c1dcb685 Improve a couple of comments 2015-01-14 20:09:15 +00:00
Astrid Elocson
82c0152e04 Fix #1346: Quotes around filter steps 2015-01-14 20:06:51 +00:00
Astrid Elocson
53953399c3 Correct spaces to tabs 2015-01-13 22:48:18 +00:00
Astrid Elocson
af7bbc0d06 Improve CSS of railroad diagrams 2015-01-13 19:58:30 +00:00
Astrid Elocson
34983dd874 Reduce size of railroad arrows 2015-01-12 23:07:11 +00:00
Astrid Elocson
2d86d8e47d Introduce arrow option on railroad widget 2015-01-12 20:03:37 +00:00
Astrid Elocson
35b99dccee Correct typo in sample tag name 2015-01-12 20:01:24 +00:00
Bram Chen
42bd29fe0b Merge remote-tracking branch 'upstream/master' 2015-01-13 01:10:56 +08:00
Jermolene
f4005871b4 Correct extension for IteratorVariables
@tobibeer the problem was the missing .tid extension.
2015-01-11 22:29:41 +00:00
Jeremy Ruston
486827014f Merge pull request #1361 from aelocson/em-fix
Correct typo in macro name
2015-01-11 21:21:51 +00:00
Astrid Elocson
5a20ac98fa Correct typo in macro name 2015-01-11 21:03:07 +00:00
Jeremy Ruston
17f2e5e7e6 Merge pull request #1332 from tobibeer/list-widget-iterator
documentation for list iterators
2015-01-11 19:59:28 +00:00
Jermolene
531f019669 Release note update 2015-01-11 19:59:04 +00:00
Jeremy Ruston
d624066e73 Merge pull request #1352 from welford/rendertiddlers
add "noclean" parameter to rendertiddlers
2015-01-11 19:58:05 +00:00
Jeremy Ruston
33603e1bd2 Merge pull request #1358 from aelocson/fix-1357
Fix #1357: Railroad plugin under Node.js
2015-01-11 19:57:36 +00:00
Jeremy Ruston
d197af7995 Merge pull request #1359 from aelocson/doc-macros
Introduce documentation macros
2015-01-11 19:57:19 +00:00
Jeremy Ruston
7067ba0326 Merge pull request #1360 from aelocson/filter-docs
Improve filter documentation
2015-01-11 19:56:45 +00:00
Astrid Elocson
28b6302a83 Improve filter documentation 2015-01-11 19:09:35 +00:00
Astrid Elocson
76a3a44d4c Introduce documentation macros 2015-01-11 19:04:14 +00:00
Astrid Elocson
d5278866fd Move style guide tiddlers to their own folder 2015-01-11 19:03:21 +00:00
Astrid Elocson
6a75c4623a Fix #1357: Railroad plugin under Node.js 2015-01-11 18:31:53 +00:00
James Welford Anderson
e87dadd61d update docs change var name 2015-01-12 02:55:42 +09:00
Tobias Beer
557d1e9207 updated tw-code macro to use codeblock widget
As per fix....

https://github.com/Jermolene/TiddlyWiki5/pull/1332#issuecomment-69499836

Tested, working.
2015-01-11 18:15:27 +01:00
Jermolene
9e167dc468 Adjust tests for system tiddler linking (#1103) 2015-01-11 16:44:51 +00:00
Jermolene
f16f66cc5b Release note update 2015-01-11 16:32:32 +00:00
Jeremy Ruston
a58e800f24 Merge pull request #1353 from tobibeer/edit-tags-filter-tags-and-titles
edit-tags filtering tags and titles
2015-01-11 16:31:03 +00:00
Jeremy Ruston
b95f78196a Merge pull request #1354 from welford/staticmeta
Add mobile meta data to static templates
2015-01-11 16:27:23 +00:00
Jermolene
c44a349f1e Release note updates 2015-01-11 16:26:32 +00:00
Jeremy Ruston
948756cdde Merge pull request #1341 from tobibeer/autolink-system-tiddlers
autolinks system tiddlers
2015-01-11 16:25:53 +00:00
Jeremy Ruston
77ff5ce86b Merge pull request #1351 from dpdannemiller/patch-1
Update Creating and editing tiddlers.tid
2015-01-11 16:21:52 +00:00
Jeremy Ruston
6a75732c6c Merge pull request #1356 from dpdannemiller/master
Update cla-individual.md
2015-01-11 16:21:36 +00:00
Jermolene
88cf991ec5 Updated release note 2015-01-11 16:19:50 +00:00
David P Dannemiller
df719e3295 Update cla-individual.md
Signed CLA-individual
2015-01-11 10:00:49 -06:00
Jermolene
f1ca5936e3 Move new editions/editiondescription filter docs
Might as well put them in tw5.com because we can’t build it with 5.1.17
any more anyway.
2015-01-11 15:19:50 +00:00
Bram Chen
e6daa6c4f0 Merge remote-tracking branch 'upstream/master' 2015-01-11 23:10:18 +08:00
Jermolene
b768dc332b Refactor edition-info handling
Introducing new filters that can be used under Node.js
2015-01-11 15:00:54 +00:00
Jermolene
3bbbda0819 Allow callers of the bootprefix to determine browser status
This gives us finer control under node-webkit of whether the core
thinks we’re running under the browser or node.
2015-01-11 14:21:31 +00:00
Jermolene
0fdfbc482c Add nwsaveas and param attributes to browse widget
These are for TiddlyDesktop, and only work under node-webkit
2015-01-11 14:20:34 +00:00
Tobias Beer
80631b35ea updated NestedLists, renamed to GroupedLists added tw-code macro
Didn't implement the codeblock widget as suggested here...

https://github.com/Jermolene/TiddlyWiki5/pull/1332#discussion_r22762157

...because it would only return `undefined`.
2015-01-11 11:55:22 +01:00
Tobias Beer
b43d4a33d6 simplified regexp
Ok, I think I've got it now. The following matches all...

1. starting with a literal `$:`
2. then any number of character not a whitespace, `<` or  `|`
3. closing with anything that is, again, not a whitespace, `<` or  `|`

Test here...

http://tbdemo.tiddlyspot.com/#Autolink%20System%20Tiddlers
2015-01-11 11:04:02 +01:00
Tobias Beer
9c7936413a edit-tags-filter-tags-and-titles
fixes #1333

extracts the tag-link into a component template...

**$:/core/ui/Components/tag-link**

...so as to split the list in two, having two filters that list tiddlers
in the add-tags popup to...

1. firstly, list matching used tags
2. secondly, list mathcing tiddler titles, thus availabe for tagging

Does away with searching content as it is irrelevant if not distracting
for tagging.

Why two lists? Consider wanting to tag a tiddler with "Filters"...
observe how the result would otherwise be way too far down because
existing tiddler titles get in the way.

Component templates are also desireable elsewhere, e.g. #1318
2015-01-11 01:29:53 +01:00
James Welford Anderson
99499c0403 staticmeta 2015-01-11 09:28:18 +09:00
Bram Chen
5822954eb7 Merge remote-tracking branch 'upstream/master' 2015-01-11 07:31:38 +08:00
James Welford Anderson
ddb8daa15a add noclean parameter
deletes directory by default
2015-01-11 06:44:56 +09:00
dpdannemiller
048b50924f Update Creating and editing tiddlers.tid
Typo.
2015-01-10 14:38:37 -06:00
Jermolene
3657bbe920 Switch from addEventListener to onbeforeunload
This makes it possible for TiddlyDesktop to reuse these functions to
handle detecting unsaved changes
2015-01-10 18:08:12 +00:00
Jeremy Ruston
be06cb1019 Merge pull request #1334 from tobibeer/variable-documentation
updates to variable documentation
2015-01-10 15:05:48 +00:00
Bram Chen
4c7916b0e1 Merge remote-tracking branch 'upstream/master' 2015-01-10 22:06:51 +08:00
Jeremy Ruston
9a89fd1753 Merge pull request #1347 from welford/hljsnodejs
highlightjs in nodejs
2015-01-10 13:46:11 +00:00
Jermolene
280909bb68 Fix crash for macros that return undefined
Fixes #1348
2015-01-10 13:36:43 +00:00
Bram Chen
fd649fc33a Merge remote-tracking branch 'upstream/master' 2015-01-10 08:17:14 +08:00
James Welford Anderson
f6c8a334e5 tabs/spaces fix 2015-01-10 08:07:32 +09:00
James Welford Anderson
903f7db0b2 update highlight plugin to latest ver.
split the latter half of highlight.pack.js into a separate file which
registers all the languages and exports hljs. this is for nodejs
compatibility and mimics the way the highlightjs module works in nodejs.
2015-01-10 08:02:54 +09:00
Tobias Beer
795a929187 create syslink.js, revert extlink.js
introduces new parser for system links
2015-01-09 23:51:07 +01:00
Jermolene
31824f043e Remove obsolete parameters 2015-01-09 20:45:16 +00:00
Jeremy Ruston
575c11ee95 Merge pull request #1340 from felixhayashi/patch-2
Added missing piece to getFullScreenApis
2015-01-09 20:44:52 +00:00
Tobias Beer
8ba3e8973e autolinks system tiddlers
enhanced extlink parser to cover system tiddler links

of course, only those without spaces in their title

didn't want to open up an extra parser for this as extlink has all the
basics
2015-01-08 21:26:48 +01:00
Felix Küppers
3b2882cb48 Update browser.js 2015-01-08 20:18:41 +01:00
Tobias Beer
391768ae3f updates to variable documentation 2015-01-07 16:18:36 +01:00
Jermolene
978cc2e173 Restore GettingStarted content for Spanish translation 2015-01-07 09:34:52 +00:00
Jermolene
b0314a7e9d Updated Spanish translation from Alfonso Arciniega 2015-01-07 09:34:28 +00:00
Bram Chen
df3d346792 Merge remote-tracking branch 'upstream/master' 2015-01-07 14:07:04 +08:00
Tobias Beer
2ff7e0c6c6 removed superfluous newline 2015-01-06 21:22:47 +01:00
Tobias Beer
3d61dd1aa9 documentation for #1330
heavily modified ListWidget
extracted NestedLists

added IteratorVariables
2015-01-06 21:18:28 +01:00
Jermolene
b68276e219 Fix for serverside rendering 2015-01-06 18:19:55 +00:00
Bram Chen
d03f4585f6 Merge remote-tracking branch 'upstream/master' 2015-01-07 00:04:51 +08:00
Jeremy Ruston
f920e9e243 Merge pull request #1319 from felixhayashi/patch-1
Update and rename Taskgraph by Felix Kuppers.tid
2015-01-06 14:31:29 +00:00
Jeremy Ruston
dbf945dbcb Merge pull request #1322 from xcazin/fred
fr-FR translation of the TableOfContentsMacro documentation
2015-01-06 14:18:30 +00:00
Jeremy Ruston
39dfcc43d3 Merge pull request #1321 from xcazin/toc
Use the toc-caption() utility macro in Tabbed ToCs as well
2015-01-06 14:18:19 +00:00
Jeremy Ruston
8c2eba03a3 Merge pull request #1323 from aelocson/filter-tiddlers
Further improvements around filter documentation
2015-01-06 14:13:32 +00:00
Jeremy Ruston
ea07b558a3 Merge pull request #1327 from aelocson/railroad-links
Links and transclusions in railroad diagrams
2015-01-06 13:58:27 +00:00
Jermolene
ec829180f4 Coding style clean up for #1330 2015-01-06 13:49:05 +00:00
Jeremy Ruston
b6aa5bf78a Merge pull request #1330 from tobibeer/list-widget-iterator
implements list iterator variables
2015-01-06 13:46:49 +00:00
Tobias Beer
0dd3ad5e38 updated false states — looks more conclusive 2015-01-06 14:40:48 +01:00
Tobias Beer
a1ca53fa9b implements list iterator variables, see #1328
provides <<iterator>>, <<iterator-even>> and <<iterator-last>>
2015-01-06 14:31:20 +01:00
Astrid Elocson
2f42c9fb8d Links and transclusions in railroad diagrams 2015-01-06 01:39:24 +00:00
Astrid Elocson
ed85fdddea Update Introduction to Filters.tid 2015-01-05 20:59:08 +00:00
Astrid Elocson
39d888b688 Update Introduction to Filters.tid 2015-01-05 20:58:36 +00:00
Astrid Elocson
90e43d5f5a Further improvements around filter documentation 2015-01-05 14:06:10 +00:00
Xavier Cazin
a7d2fd4175 fr-FR translation of TableOfContentsMacro documentation 2015-01-05 11:38:32 +01:00
Xavier Cazin
203cb17271 Use the toc-caption() utility macro in Tabbed ToCs as well 2015-01-05 10:59:28 +01:00
Bram Chen
d19e2fa217 Merge remote-tracking branch 'upstream/master' 2015-01-05 08:44:19 +08:00
Felix Küppers
ea4b282ed8 Update and rename Taskgraph by Felix Kuppers.tid to TiddlyMap by Felix Kuppers.tid 2015-01-04 21:43:00 +01:00
Jeremy Ruston
71357a8e39 Merge pull request #1316 from aelocson/filter-syntax
Use railroad diagrams to explain filter syntax
2015-01-04 16:00:17 +00:00
Jeremy Ruston
548c99a984 Merge pull request #1314 from aelocson/railroad
Introduce railroad plugin
2015-01-04 16:00:03 +00:00
Jeremy Ruston
5e5330b315 Merge pull request #1312 from dullroar/master
Handle case-insensitive file systems.
2015-01-04 15:58:37 +00:00
Jeremy Ruston
a8b9d2455c Merge pull request #1317 from twMat/patch-1
Update TiddlyWiki Hangouts.tid
2015-01-04 15:57:38 +00:00
Jermolene
ea6e60e669 Focus search box on startup 2015-01-04 15:53:48 +00:00
Jermolene
95897103ef Update edit-text widget docs 2015-01-04 14:10:13 +00:00
ng110
7d6769f6fd Update select.js
test change
2015-01-04 12:22:00 +00:00
twMat
e319e65574 Update TiddlyWiki Hangouts.tid
Delinkify word "YouTube" to not mistake it for a link.
2015-01-04 11:44:11 +01:00
Astrid Elocson
388464190d Use railroad diagrams to explain filter syntax 2015-01-03 20:16:46 +00:00
Astrid Elocson
4f3cb8b9ae Introduce railroad plugin 2015-01-03 20:02:27 +00:00
Jim Lehmer
c296f14210 Handle case-insensitive file systems. 2015-01-03 09:33:22 -06:00
Bram Chen
5adcf928e6 Merge remote-tracking branch 'upstream/master' 2015-01-03 07:52:45 +08:00
Jermolene
3f5e46011f Remove inaccurate docs 2015-01-02 17:42:04 +00:00
Jeremy Ruston
7acbad43fe Merge pull request #1305 from dullroar/master
Fix bug where a .tid extension was being added twice if tiddler name lon...
2015-01-02 17:31:35 +00:00
Jim Lehmer
809a59920a Fix bug where a .tid extension was being added twice if tiddler name longer than 200 characters. 2015-01-02 11:25:54 -06:00
Jermolene
785e1c7789 Tweaks to tiddler widget docs 2015-01-02 17:11:37 +00:00
Jeremy Ruston
dcbe2d657e Merge pull request #1300 from tobibeer/patch-3
fixes example and improves readability
2015-01-02 17:08:28 +00:00
James Welford Anderson
cc85368fd4 highlightjs in nodejs 2015-01-03 02:00:08 +09:00
Jermolene
652ca2a807 Add Jim Lehmer's site to resources 2015-01-02 16:00:00 +00:00
Bram Chen
24e9b7cbfa Merge remote-tracking branch 'upstream/master' 2015-01-02 19:15:19 +08:00
Jermolene
42efd4116d Update Japanese translation 2015-01-02 09:54:39 +00:00
Jermolene
75fd33070e Fix translated core readme title 2015-01-02 09:54:19 +00:00
Bram Chen
31781d7dda Merge remote-tracking branch 'upstream/master' 2015-01-01 16:58:35 +08:00
Tobias Beer
31c9998c62 fixes example and improves readability 2014-12-31 12:38:15 +01:00
Jermolene
544ee4668e Typo correction 2014-12-31 09:34:32 +00:00
Jermolene
bb51e399ff Resolve merge conflict 2014-12-30 18:45:21 +00:00
Jermolene
a2ac4ddd6c Merge branch 'signCLA' of https://github.com/Arlen22/TiddlyWiki5 into Arlen22-signCLA
Conflicts:
	licenses/cla-individual.md
2014-12-30 18:43:47 +00:00
Jeremy Ruston
ef6a6fea87 Merge pull request #1294 from aelocson/patch-4
Improvements to filter grammar presentation
2014-12-30 18:42:51 +00:00
Jeremy Ruston
8707d51b7d Merge pull request #1293 from aelocson/patch-3
Improvements to wording
2014-12-30 18:42:03 +00:00
Jeremy Ruston
43250e028a Merge pull request #1292 from Infurnoape/patch-1
Update cla-individual.md
2014-12-30 18:38:38 +00:00
Jermolene
a8854662e4 Keep documentation style guide in the TOC 2014-12-30 18:38:22 +00:00
Jermolene
b8f090e0c6 Clean up from merging @roma0104's changes 2014-12-30 18:37:12 +00:00
Jeremy Ruston
6672af7c62 Merge pull request #1289 from aelocson/patch-2
Expand the Document Style Guide
2014-12-30 18:37:05 +00:00
Jeremy Ruston
051bafaf41 Merge pull request #1287 from BramChen/master
Update chinese translations for tiddler toolbar button wording
2014-12-30 18:35:21 +00:00
Jeremy Ruston
399a80643a Merge pull request #1283 from aelocson/patch-1
Improvements to wording
2014-12-30 18:34:55 +00:00
Jermolene
afda1c5344 Merge branch 'roma0104-master' 2014-12-30 18:24:43 +00:00
Jermolene
6d87b505b1 Merge branch 'master' of https://github.com/roma0104/TiddlyWiki5 into roma0104-master
Conflicts:
	editions/tw5.com/tiddlers/community/resources/Briefcase mGSD.tid
	licenses/cla-individual.md
2014-12-30 18:22:07 +00:00
Arlen22
b83d311951 Sign the CLA 2014-12-30 09:28:27 -05:00
Jermolene
21df296c2f Docs: Clarify widgets generated by wikitext transclusion 2014-12-30 09:09:40 +00:00
Bram Chen
43c40d93d8 Merge remote-tracking branch 'upstream/master' 2014-12-29 17:40:58 +08:00
Astrid Elocson
e6ede67282 Further improvements suggested by felixhayashi 2014-12-28 16:16:24 +00:00
Jermolene
cb8caf6a01 Fix accidental commit of Czech translation as Polish
I inadvertently committed the new Czech translation as Polish.
2014-12-28 15:51:19 +00:00
Astrid Elocson
597a5fb2f2 Update and make easier to understand 2014-12-28 10:07:30 +00:00
Astrid Elocson
79a3beeaa6 Add concept of Tag Tiddlers 2014-12-28 09:55:36 +00:00
Astrid Elocson
4f1d6f71fc Add concept of JSON Tiddlers 2014-12-28 09:54:44 +00:00
Astrid Elocson
9aafed511b Add concept of Dictionary Tiddlers 2014-12-28 09:53:58 +00:00
Astrid Elocson
117d10275f Improvements to wording 2014-12-28 09:51:53 +00:00
Astrid Elocson
e9c6610d74 Improvements to wording 2014-12-28 09:51:13 +00:00
Astrid Elocson
7290be9e47 Improvements to wording 2014-12-28 09:50:19 +00:00
Andrew J Harrison
bbcca4c784 Update cla-individual.md
Please correct my previous pull request. I guess my twitter name was already taken.
2014-12-27 12:49:32 -07:00
Jermolene
bae00fcbf6 Add Polish translation 2014-12-27 12:37:06 +00:00
Jermolene
5d947ed582 Add Spanish translation 2014-12-27 12:24:17 +00:00
Jermolene
fa9fc38be8 Fix "Hide Furniture" theme
To account for integrating “sticky titles” theme with “Vanilla”
2014-12-27 12:00:52 +00:00
Astrid Elocson
42050e1b03 Remove duplicate field line 2014-12-26 19:33:37 +00:00
Astrid Elocson
c5650708a7 Create Technical Prose Style.tid 2014-12-26 19:32:01 +00:00
Astrid Elocson
bcee212195 Create Typography.tid 2014-12-26 19:31:18 +00:00
Astrid Elocson
439154c0ea Create Spelling.tid 2014-12-26 19:30:11 +00:00
Astrid Elocson
e415edb440 Create Tiddler Structure.tid 2014-12-26 19:29:41 +00:00
Astrid Elocson
1366ef3e1c Create Tiddler Titles.tid 2014-12-26 19:29:03 +00:00
Astrid Elocson
dfd4c480d2 Create Reference Tiddlers.tid 2014-12-26 19:28:24 +00:00
Astrid Elocson
f952b8f1df Create Instruction Tiddlers.tid 2014-12-26 19:27:38 +00:00
Astrid Elocson
421d75a207 Initial expansion of the Documentation Style Guide 2014-12-26 19:24:47 +00:00
Bram Chen
4f34f24111 Update chinese translations for tiddler toolbar button wording 2014-12-25 11:27:02 +08:00
Jeremy Ruston
7abe9aa53d Merge pull request #1249 from felixhayashi/patch-1
make checkVersions consider build version
2014-12-24 12:43:30 +00:00
Jermolene
9f087e7667 Ensure creation fields set for data tiddlers 2014-12-24 10:29:00 +00:00
Jermolene
7481b6c49c Adjust tiddler toolbar button wording
As discussed in #1247
2014-12-24 10:28:47 +00:00
Astrid Elocson
1905093411 Change TiddlerChain to TitleList 2014-12-23 21:57:18 +00:00
Astrid Elocson
5f3de6ec17 Change TiddlerChain to TitleList 2014-12-23 21:56:00 +00:00
Astrid Elocson
cc2688bf44 Update and rename TiddlerChain.tid to TitleList.tid 2014-12-23 21:55:04 +00:00
Astrid Elocson
25e447f69e Rephrase route through tabs
Provisionally, rather than using any sort of arrow symbol. We need to standardise a notation for referring to hierarchical UI, but that will come with the documentation style guide.
2014-12-23 21:46:20 +00:00
Felix Küppers
70cbb5efc5 Update boot.js
if major, minor and patch are equal, the incoming wins.
2014-12-23 19:21:54 +01:00
Astrid Elocson
7ca37739aa Simplify style of arrow in tab hierarchy
This is something that
2014-12-23 17:32:45 +00:00
Felix Küppers
d33b525067 Update boot.js 2014-12-23 18:13:59 +01:00
Astrid Elocson
304848f258 Add a TiddlerChain tiddler
For the common but unnamed concept of a "string [[of tiddler]] titles" like that.
2014-12-23 15:06:18 +00:00
Astrid Elocson
39c786b042 Link to the TiddlerChain tiddler 2014-12-23 15:05:17 +00:00
Astrid Elocson
8e47a20069 Improvements to wording 2014-12-23 14:59:16 +00:00
Felix Küppers
1d344dba69 prerelease matters
incoming 3.7.2 loses against existing 3.7.2
incoming 3.7.2-prerelease loses against existing 3.7.2
incoming 3.7.2-prerelease wins against existing 3.7.2-prerelease
2014-12-23 13:53:58 +01:00
Jeremy Ruston
e4d9a67756 Merge pull request #1281 from aelocson/patch-1
Correct references to the "download" button
2014-12-23 11:30:40 +00:00
Astrid Elocson
e450777b94 Correct reference to the download button 2014-12-23 10:44:18 +00:00
Astrid Elocson
626163df69 Correct reference to the download button 2014-12-23 10:43:54 +00:00
Astrid Elocson
ff11f4c43e Correct reference to the download button 2014-12-23 10:41:50 +00:00
Jermolene
b9129d77e9 Experiment with "store" as the caption for the tiddler save button
This is an experiment, so translators may want to wait for any
discussion before performing a similar change.
2014-12-23 08:53:54 +00:00
Jeremy Ruston
e1138d94c9 Merge pull request #1279 from aelocson/patch-2
Give InfoPanel its own tiddler
2014-12-23 08:43:55 +00:00
Jeremy Ruston
a83bd4ec61 Merge pull request #1278 from aelocson/patch-1
Clarify AutoSave in docs for "save tiddler"
2014-12-23 08:42:55 +00:00
Jeremy Ruston
5a2d262c80 Merge pull request #1280 from evgeniy-gryaznov/master
Adding transliteration of russian file names.
2014-12-23 08:22:56 +00:00
Jermolene
e41285ae56 Make platform check work on node-webkit 2014-12-23 08:20:22 +00:00
Astrid Elocson
1b61ad13d2 Clearer wording 2014-12-23 07:33:38 +00:00
Evgeniy Gryaznov
25bcc13fa8 Transliterating russian filenames 2014-12-23 11:48:43 +06:00
Evgeniy Gryaznov
b4e4ca714b Contributor added 2014-12-23 11:41:02 +06:00
Astrid Elocson
efda54465e Create InfoPanel tiddler 2014-12-23 00:31:54 +00:00
Astrid Elocson
cbc20a40de Give InfoPanel its own tiddler 2014-12-23 00:12:08 +00:00
Astrid Elocson
333100aa33 Clarify AutoSave in docs for "save tiddler" 2014-12-22 23:16:27 +00:00
Jeremy Ruston
e56e2a2450 Merge pull request #1277 from aelocson/patch-5
Improvements to wording
2014-12-22 21:03:41 +00:00
Jeremy Ruston
3cd18d7410 Merge pull request #1275 from aelocson/patch-4
Improvements to wording
2014-12-22 21:00:52 +00:00
Jeremy Ruston
edaa86aa0e Merge pull request #1274 from aelocson/patch-3
Improvements to wording
2014-12-22 21:00:13 +00:00
Jeremy Ruston
0efb8e9a09 Merge pull request #1273 from aelocson/patch-2
Present the best approach to navigating first
2014-12-22 19:13:31 +00:00
Jeremy Ruston
2c8e2df599 Merge pull request #1262 from Jc-L/patch-1
Update ExternalImages.tid
2014-12-22 18:36:20 +00:00
Jeremy Ruston
e569a71f03 Merge pull request #1272 from Jc-L/patch-2
Update cla-individual.md
2014-12-22 18:33:15 +00:00
Jeremy Ruston
16ffef01ff Merge pull request #1271 from aelocson/patch-1
Fix links to tw.com from tw.com/dev
2014-12-22 18:32:16 +00:00
Astrid Elocson
db37f6030f link to InfoPanel 2014-12-22 17:58:05 +00:00
Astrid Elocson
7f0fb08203 remove brackets, add link to InfoPanel 2014-12-22 17:43:15 +00:00
Astrid Elocson
f715286035 correct missing space 2014-12-22 17:37:17 +00:00
Astrid Elocson
c6fbaadfeb Improvements to wording 2014-12-22 17:26:27 +00:00
Astrid Elocson
6fe1024fe8 Improvements to wording 2014-12-22 17:09:48 +00:00
Astrid Elocson
2871c5fcb2 Improvements to wording 2014-12-22 17:07:42 +00:00
Astrid Elocson
0f0ecd3d9e Improvements to wording 2014-12-22 17:05:08 +00:00
Astrid Elocson
09cd827a51 Improvements to wording 2014-12-22 16:03:52 +00:00
Astrid Elocson
3c5dc7061a Improvements to wording 2014-12-22 15:31:21 +00:00
Astrid Elocson
fb86f3ec5a Present the best approach to navigating first
The best technique should be the first one listed. Not everyone will read to the end.
2014-12-22 15:07:49 +00:00
Jc-L
1ceb15db77 Update cla-individual.md 2014-12-22 15:33:21 +01:00
Astrid Elocson
a9829d50e0 Fix links to tw.com from tw.com/dev 2014-12-22 13:47:27 +00:00
Astrid Elocson
059c32aa24 Fix links to tw.com from tw.com/dev 2014-12-22 13:45:57 +00:00
Astrid Elocson
7fc102eea7 Fix links to tw.com from tw.com/dev 2014-12-22 13:45:04 +00:00
Astrid Elocson
4d2e4fc0bb Fix links to tw.com from tw.com/dev 2014-12-22 13:43:46 +00:00
Astrid Elocson
93c9d8f0bf Correct two links 2014-12-22 13:42:25 +00:00
Astrid Elocson
689a334d36 Fix links to tw.com from tw.com/dev 2014-12-22 13:41:40 +00:00
Astrid Elocson
e3a711e2de Fix links to tw.com from tw.com/dev 2014-12-22 13:41:00 +00:00
Astrid Elocson
07e9d91aed Fix links to tw.com from tw.com/dev 2014-12-22 13:40:19 +00:00
Astrid Elocson
49b1f77e5c Fix links to tw.com from tw.com/dev 2014-12-22 13:39:36 +00:00
Astrid Elocson
0f334d2321 Fix links to tw.com from tw.com/dev 2014-12-22 13:38:25 +00:00
Astrid Elocson
a465f19ca0 Fix links to tw.com from tw.com/dev 2014-12-22 13:32:46 +00:00
Jeremy Ruston
3c6481e3d7 Merge pull request #1270 from aelocson/patch-1
Fix typos
2014-12-22 10:57:56 +00:00
Astrid Elocson
3ca2a113e3 add missing word 2014-12-22 10:18:00 +00:00
Astrid Elocson
9c0611582f fix typo 2014-12-22 10:17:08 +00:00
Astrid Elocson
c66d9339ab spelling mistake 2014-12-22 10:16:13 +00:00
Astrid Elocson
8d8a7c9e03 -ize > -ise (conform to Doc Style Guide) 2014-12-22 10:14:47 +00:00
Astrid Elocson
94a8e3802e -ize > -ise (conform to Doc Style Guide) 2014-12-22 10:13:21 +00:00
Jeremy Ruston
412557f9a8 Merge pull request #1253 from xcazin/fr-FR
fr-FR translation of GettingStarted
2014-12-22 09:43:51 +00:00
Jeremy Ruston
0513812863 Merge pull request #1261 from aelocson/patch-2
Standardise punctuation in workingwithtw/
2014-12-22 09:20:50 +00:00
Jeremy Ruston
3b9677c052 Merge pull request #1263 from aelocson/patch-1
Fix punctuation
2014-12-22 09:18:55 +00:00
Jeremy Ruston
676a7b6805 Merge pull request #1264 from aelocson/patch-3
Normalise names of tabs, etc to bold
2014-12-22 09:18:41 +00:00
Jeremy Ruston
4242c471a4 Merge pull request #1265 from aelocson/patch-4
Finish sentence with missing examples
2014-12-22 09:17:36 +00:00
Jeremy Ruston
c142350f86 Merge pull request #1250 from Drakor/signCLA
CLA signature
2014-12-22 08:46:39 +00:00
Jermolene
1adfe20508 Fix problem with repeatedly cancelling a draft
Fixes #1266
2014-12-22 08:40:11 +00:00
Andreas Hahn
1a8376eeaf signed CLA 2014-12-21 23:15:15 +01:00
Felix Küppers
9fad60beb3 another suggestion
in case of equal versions, use the incoming and replace the existing.
2014-12-21 20:55:44 +01:00
Astrid Elocson
5706d8afe1 Finish sentence with missing examples 2014-12-21 18:55:43 +00:00
Astrid Elocson
5f9f0764bd Normalise names of tabs, etc to bold 2014-12-21 18:52:57 +00:00
Astrid Elocson
176a372314 Fix punctuation 2014-12-21 18:49:24 +00:00
Jc-L
313f731f77 Update ExternalImages.tid
Minor typo correction
2014-12-21 19:32:42 +01:00
Jermolene
8cb7090c40 Experimentally add icons to AdvancedSearch, ControlPanel and TagManager 2014-12-21 17:22:47 +00:00
Astrid Elocson
8e9c698721 Typos in workingwithtw/ 2014-12-21 16:51:03 +00:00
Astrid Elocson
4e1539e1f3 Typos in workingwithtw/ 2014-12-21 16:45:15 +00:00
Astrid Elocson
941bab2893 Typos in workingwithtw/ 2014-12-21 16:44:16 +00:00
Astrid Elocson
44beefb317 Typos in workingwithtw/ 2014-12-21 16:42:06 +00:00
Astrid Elocson
21719fcfbe Typos in workingwithtw/ 2014-12-21 16:38:36 +00:00
Astrid Elocson
d16dfdb12f Typos in workingwithtw/ 2014-12-21 16:35:43 +00:00
Astrid Elocson
aed34ebaba Typos in workingwithtw/ 2014-12-21 16:33:36 +00:00
Astrid Elocson
85b6147a2a Typos in workingwithtw/
This includes placing commas and full stops outside the quotes, and replacing single quotes with the double quotes that seem to be the standard on tw.com.
2014-12-21 16:24:42 +00:00
Jermolene
d7cd94dbd6 Fix state tiddler used for examples
Putting it in the `$:/state/` namespace ensures that it doesn’t dirty
the wiki

Fixes #1247
2014-12-21 16:21:19 +00:00
Jeremy Ruston
a473c85a48 Merge pull request #1260 from aelocson/patch-1
Update cla-individual.md
2014-12-21 16:17:20 +00:00
Jermolene
230066eeae Incorporate stickytitles theme into snow white theme 2014-12-21 16:04:42 +00:00
Astrid Elocson
56838637ac Update cla-individual.md 2014-12-21 15:48:56 +00:00
Jeremy Ruston
90ebffed3b Merge pull request #1259 from xcazin/fred
Updates to the fr-FR edition after recent changes to HelloThere
2014-12-21 15:20:47 +00:00
Xavier Cazin
4482373122 Update to the fr-FR translation of HelloThere plus two tiddlers tagged with it 2014-12-21 14:55:13 +01:00
Xavier Cazin
cb42ccf409 Overrides the list-links macro with its fr-FR counterpart
(instead of the core shadow tiddler itself)
2014-12-21 13:49:37 +01:00
Jermolene
bef7e0e93c More pesky folder name problems 2014-12-21 12:12:23 +00:00
Jeremy Ruston
f64ed6e48c Merge pull request #1255 from gernert/patch-5
Update Customise TiddlyWiki.tid
2014-12-21 12:01:01 +00:00
Jeremy Ruston
63ad0793cf Merge pull request #1256 from gernert/patch-7
Update TiddlyWiki Configurations.tid
2014-12-21 12:00:47 +00:00
Jermolene
8f50706e95 Generate link list in HelloThere
Fixes #1257
2014-12-21 12:00:14 +00:00
Jermolene
cd3f741bb6 Correct folder name to lower case 2014-12-21 11:54:46 +00:00
Jeremy Ruston
ee17bf765c Merge pull request #1258 from xcazin/fred
Updates and new additions to the fr-FR edition
2014-12-21 11:52:15 +00:00
Xavier Cazin
c87235cd40 Start a glossary for fr-FR translators per Alberto Molina's suggestion 2014-12-21 12:39:39 +01:00
gernert
bd59cd760d Update TiddlyWiki Configurations.tid
Not all tiddlers in TabbedTOC contain the complete information.
See discussion in the group https://groups.google.com/d/msg/tiddlywiki/GiOcL5vVJj4/qzVueMtzvqsJ
2014-12-21 12:34:53 +01:00
gernert
1915bd3a2f Update Customise TiddlyWiki.tid
Not all tiddlers in TabbedTOC contain the complete information.
See discussion in the group https://groups.google.com/d/msg/tiddlywiki/GiOcL5vVJj4/qzVueMtzvqsJ
2014-12-21 12:33:21 +01:00
Xavier Cazin
1c0f0591fe Updates and fresh translations from tw5.com for the fr-FR edition 2014-12-21 12:32:37 +01:00
Xavier Cazin
031ada4c69 fr-FR translation of GettingStarted 2014-12-20 18:45:41 +01:00
Jermolene
07d0679476 Preparation for 5.1.8 2014-12-20 08:10:45 +00:00
Jermolene
b1c2647452 Version number update for 5.1.7 2014-12-19 22:11:31 +00:00
Jermolene
a52b4953bc Preparing for 5.1.7 2014-12-19 22:10:51 +00:00
Jermolene
001f9da512 Release note for 5.1.7 2014-12-19 22:09:56 +00:00
Felix Küppers
5f50f9b29d removed newline 2014-12-19 19:35:55 +01:00
Felix Küppers
e00534635e Update boot.js 2014-12-19 19:24:13 +01:00
Jermolene
a31aa25d0c Fix language for GettingStarted prompts 2014-12-19 17:02:40 +00:00
Jermolene
39c678a50c Preparing for 5.1.7-prerelease 2014-12-19 16:07:31 +00:00
Jermolene
14613502c2 Version number update for 5.1.6 2014-12-19 15:56:19 +00:00
Jermolene
1235ff8aad Adjust date of HelloThere 2014-12-19 15:54:58 +00:00
Jermolene
5d8dc1dcd9 Update docs for 5.1.6
Also preparing for 5.1.7-prerelease
2014-12-19 15:51:56 +00:00
Jermolene
c9d0f1d221 More release note updates 2014-12-19 15:48:29 +00:00
Jermolene
8e74a3028e Update release note for 5.1.6 2014-12-19 15:33:49 +00:00
Jermolene
6605e1a37c Release note update 2014-12-19 15:20:12 +00:00
Jermolene
af906e4b73 Force filenames for downloading empty and full wikis 2014-12-19 15:20:07 +00:00
Jeremy Ruston
c5bb95dbfb Merge pull request #1243 from Spangenhelm/patch-1
Proposing to change to a more appropriate tag / category
2014-12-19 14:48:44 +00:00
Jermolene
5fa8a1e08a Docs tweaks 2014-12-19 14:48:12 +00:00
Jeremy Ruston
c8e2c2ceb9 Merge pull request #1240 from tobibeer/patch-3
Update Using Stylesheets.tid
2014-12-19 14:40:31 +00:00
Jeremy Ruston
625ebd4d41 Merge pull request #1244 from Spangenhelm/patch-2
Little typo corrections
2014-12-19 14:38:42 +00:00
Jermolene
5e8420a3ac Simplify GettingStarted
GettingStarted doesn’t seem like the right place for a tutorial on
using TiddlyWiki. The idea now is to link back to tiddlywiki.com
instead.
2014-12-19 14:36:44 +00:00
Jermolene
2abc5dee78 Improve buffer allocation for copying files in utils/filesystem.js 2014-12-18 21:08:14 +00:00
Jermolene
d2c4920ba4 Refine node vs. browser behaviour
Now we’re using TiddlyWiki as the core of TiddlyDesktop we need more
granular control of the platform specific code.
2014-12-18 19:52:15 +00:00
Florent V.
93660bdea8 Little typo corrections 2014-12-17 14:57:37 +01:00
Florent V.
abebff78ba Proposing to change to a more appropriate tag / category
From "Feature" To "Customise TiddlyWiki"
2014-12-17 14:50:30 +01:00
Jermolene
b1c5d7694e Updated Dutch translation
Thanks @gernert

I’ve not updated GettingStarted because I plan to do one final
redrafting before 5.1.6.

I’ll put up a prerelease for you to play with in a couple of hours when
I get to better wifi!
2014-12-17 09:48:44 +00:00
Jeremy Ruston
b29973312d Merge pull request #1228 from tobibeer/button.tc-tiddlylink
allows to style buttons as though internal links
2014-12-16 14:50:46 +00:00
Tobias Beer
2317840ce6 updated documentation for link-button 2014-12-16 15:36:20 +01:00
Jeremy Ruston
182c2428ca Merge pull request #1238 from Drakor/fixDownloadSavingHandler
Filename will now be set to "tiddlywiki.html" when path does not contain...
2014-12-16 14:03:17 +00:00
Jermolene
86329f5daa Remove unused local variables 2014-12-16 08:35:28 +00:00
Tobias Beer
bc447410fe Update Using Stylesheets.tid
added documentation for html in StyleSheets

https://groups.google.com/d/msg/tiddlywiki/Qx0y7btud5M/Ch6hMnh0ud0J

simplified the specificity section, some rewording
2014-12-16 08:33:21 +01:00
Andreas Hahn
513e1c8cbb Filename will now be set to "tiddlywiki.html" when path does not contain a filename. 2014-12-16 00:53:20 +01:00
Jeremy Ruston
97422ee1b9 Merge pull request #1236 from anavarre/master
Add Aurelien Navarre to cla-individual.md
2014-12-15 23:29:16 +00:00
Jeremy Ruston
dd0f3a4e5a Merge pull request #1233 from xcazin/fred2
fr-FR translation of three introductory tiddlers on Filters
2014-12-15 22:58:49 +00:00
Jeremy Ruston
0ef136c809 Merge pull request #1230 from pekopeko1/japanese5.1.6
add Japanese Translations
2014-12-15 22:20:11 +00:00
Jermolene
9753583fec Add heeg.ru to resources 2014-12-15 20:55:43 +00:00
Aurelien Navarre
f9ec85d153 Update cla-individual.md 2014-12-15 20:48:32 +01:00
Jermolene
0778ea6756 Some tests and style updates for #1229
@tobibeer I simplified the handling of matched strings a little.
2014-12-15 17:50:24 +00:00
Jeremy Ruston
d031a93c6d Merge pull request #1229 from tobibeer/fix-1010
fixes #1010 sequential date formatstrings
2014-12-15 17:26:31 +00:00
Tobias Beer
05a794d5b8 documentation for making buttons look like links
added instructions to button widget documentation
2014-12-15 17:55:56 +01:00
pekopeko1
3685d90c6c add Japanese Translations 2014-12-14 02:39:13 +09:00
Xavier Cazin
047b786a22 fr-FR translation for three introductory tiddlers on Filters. 2014-12-13 14:04:10 +01:00
Tobias Beer
609cb1fcbd fixes #1010
safe / sequential replacing of formatstrings for date conversions

please review & test
2014-12-13 13:30:39 +01:00
Jeremy Ruston
c90a756c80 Merge pull request #1224 from xcazin/fred
Various updates to the fr-FR edition
2014-12-13 10:16:02 +00:00
Xavier Cazin
c15f978ac1 Remove dependency on core timeline macro by overriding timeline-title() instead
In application of #1221
2014-12-12 14:50:27 +01:00
Xavier Cazin
d07c45dbca Merge remote-tracking branch 'upstream/master' into fred 2014-12-12 14:36:04 +01:00
Jermolene
4137ee6852 Updated translations for Danish
Thanks to Birthe C
2014-12-12 12:04:27 +00:00
Jeremy Ruston
a3a0002bbc Merge pull request #1221 from xcazin/timeline
Move the title display into a macro so that it can be globally overridden
2014-12-12 11:40:51 +00:00
Xavier Cazin
4afca0e2b8 Move the title display into a macro so that it can be overridden
Extension of the idea of 5b38c21a41
2014-12-12 12:33:11 +01:00
Xavier Cazin
f5a52ff99c Translation in French of the documentation tiddler Tagging 2014-12-12 11:39:38 +01:00
Xavier Cazin
a8c4b524b6 Add one-character macro names for every punctuation shortcuts
Per @evolena neat suggestion: <<:>> is shorter and looks better than <<dp>>
2014-12-12 11:27:38 +01:00
Jermolene
8765d4e31b Get rid of GettingStarted tabs in empty
I feel that we should keep empty.html’s GettingStarted very simple, and
link to other places for tutorial material
2014-12-12 10:18:49 +00:00
Xavier Cazin
bf37522808 Remove dependency on overriding the core toc macro
Thanks to 5b38c21a41
and a subsequent suggestion from @BramChen
2014-12-12 10:12:34 +01:00
Xavier Cazin
6a8c0a25b5 Merge remote-tracking branch 'upstream/master' into fred 2014-12-12 09:19:24 +01:00
Jermolene
42dba113cc Adjust field and has filter handling of missing tiddlers
Now `[!field:name[value]]` and `[!has[name]` will treat missing
tiddlers as not having the specified field
2014-12-11 17:49:17 +00:00
Xavier Cazin
2579553375 Translation of the TabsMacro and related samples for the fr-FR edition.
While we are at it, propose an addendum
at the end of the TabsMacro documentation
2014-12-11 18:15:44 +01:00
Jermolene
156d3bc692 Typo 2014-12-11 17:01:02 +00:00
Jermolene
5b38c21a41 Disable links when transcluding caption field in toc macro
@BramChen does this work for you?
2014-12-11 17:00:57 +00:00
Tobias Beer
2e50ddc213 allows to style buttons as though internal links
by assigning class="tc-btn-invisible tc-tiddlylink"
2014-12-11 17:34:43 +01:00
Jermolene
51db48acc9 Fix checking for non-empty folders in initcommand 2014-12-10 22:14:27 +00:00
Jermolene
2698f08851 Tentative reworking of GettingStarted
See this thread for background:
https://groups.google.com/d/topic/tiddlywiki/sDWP4NPe8XE/discussion

Translators: please don’t translate this material until it’s settled
down
2014-12-10 21:46:29 +00:00
Jeremy Ruston
c82fbbb6e5 Merge pull request #1191 from xcazin/fred2
Base view/transclusion of translated titles on the presence of an "fr-title" field
2014-12-10 17:11:37 +00:00
Jermolene
755693766a Removing debugging statements from popup mechanism 2014-12-10 17:09:14 +00:00
Jermolene
376b447570 Documentation tweaks
@erwanm I ended up making some fairly extensive tweaks.

One issue is that the (excellent) material you’ve provided on
transclusion with templates covers very much the same ground as the
existing TemplateTiddlers tiddler. The existing text was focused on
transclusion with widgets; I think your material using transclusion
notation is much easier to understand.

I’ve also removed the exercises section. We don’t have exercises
elsewhere in the documentation, so I think we need to make a conscious
decision about whether we’re going to try to add them, and then do so
consistently across the material.

I also made some changes to bring the text into house style for
consistency (which I’ve also tried to start documenting).
2014-12-10 17:08:59 +00:00
Jermolene
ef9878802a Transclude the caption field in toc macro
For consistency with the way that tabs work.

To see this in action, on tiddlywiki.com open the tiddler
`$:/tags/ControlPanel` and edit it to add the tag “TableOfContents”.
You’ll see the control panel appear at the bottom of the table of
contents.
2014-12-10 15:42:38 +00:00
Jermolene
31b5eb1578 Allow shadow tiddlers to appear in table of contents macro 2014-12-10 15:41:11 +00:00
Jermolene
a0c13a0856 Respect "storytop" metric when in narrow layout
Previously we were only respecting it when in the wide layout
2014-12-10 15:29:03 +00:00
Jermolene
77277b429e Fix typo 2014-12-10 15:27:17 +00:00
Jermolene
23fdc94417 Fix problem with import button tooltip 2014-12-09 15:35:16 +00:00
Jeremy Ruston
4c66eee1ec Merge pull request #1212 from erwanm/patch-4
doc: explanations about transclusion for beginners (directory concepts ok?)
2014-12-09 15:22:26 +00:00
Jermolene
37718cceff Tabs macro docs tweaks 2014-12-09 15:08:10 +00:00
Erwan Moreau
63c441d3e8 Create TransclusionAsTemplateUsage.tid 2014-12-09 14:45:40 +00:00
Erwan Moreau
46e6fb1957 Create TransclusionBasicUsage.tid 2014-12-09 14:44:28 +00:00
Erwan Moreau
900738e796 Create TransclusionPrinciple.tid 2014-12-09 14:42:41 +00:00
Jermolene
fa43f45e18 FIx typo
Thanks again @BramChen!
2014-12-08 13:09:31 +00:00
Jermolene
f1001fc236 Clean up static sites docs
Thanks @BramChen
2014-12-08 12:11:32 +00:00
Jeremy Ruston
71535c6691 Merge pull request #1207 from dullroar/master
Altered command order for generating static sites in TW5.com how-to
2014-12-07 22:14:43 +00:00
Jim Lehmer
78f97cb516 Signed CLA. 2014-12-07 16:05:17 -06:00
Jim Lehmer
4aa8fc6d1d Altered command order for generating static sites in how-to because rendertiddlers wipes out the output directory so it needs to come first, not last. 2014-12-07 15:08:51 -06:00
Jermolene
957a8608ad Sort language switcher by description
Thanks @BramChen
2014-12-06 15:55:28 +00:00
Jermolene
ab129a620e Add basic tag macro 2014-12-06 13:44:08 +00:00
Jermolene
7034c429f6 Fix commit link to autofocusing title field 2014-12-06 08:28:14 +00:00
Jermolene
bf974e37a2 Typos 2014-12-05 10:20:32 +00:00
Jermolene
0e62d8f648 Fix problem with tm-add-field for existing fields
Fixes #1197
2014-12-05 10:20:25 +00:00
Jermolene
9c77f1bac6 Add recent translations to translators edition 2014-12-04 19:11:18 +00:00
Jermolene
edce18c10d Added nl-NL translation from @gernert
Thank you @gernert

I’ve pushed a new prerelease, let me know if anything looks wrong.
2014-12-04 16:54:13 +00:00
Jermolene
51f8e58d5f Sort languages by description instead of title 2014-12-04 16:51:13 +00:00
Jermolene
bbceddf10b Typo in Greek translation 2014-12-04 16:50:49 +00:00
Jermolene
2689e2861b Revert to using fieldmangler for adding fields
In 5.1.5 we switched to using `<$action-setfield>` instead of
`<$fieldmangler>`. The problem was that in the process we lost the
validation of field names, making it possible to create fields with
illegal names

Fixes #1186
2014-12-04 09:39:14 +00:00
Jermolene
bb74be7ac1 Fix problem with static "all tiddlers" export 2014-12-04 07:58:30 +00:00
Jermolene
dfa5b6c8dc Remove unused Cecily plugin
It’s incomplete and confusing to casual users.

Fixes #1164
2014-12-03 20:07:26 +00:00
Xavier Cazin
5b68405500 Get rid of all creator and modifier fields in the fr-FR edition 2014-12-03 19:12:57 +01:00
Xavier Cazin
41dcf7a9f5 Testing a third level of title search by adding an en-title field as suggested by @tobibeer 2014-12-03 19:08:25 +01:00
Jeremy Ruston
ef00786d61 Merge pull request #1156 from nameanyone/master
External links need a protocol as well?
2014-12-03 17:51:05 +00:00
Jermolene
cbc8a6b785 Tweak SelectWidget docs 2014-12-03 17:29:32 +00:00
Jeremy Ruston
a682a229e3 Merge pull request #1165 from erwanm/patch-1
missing verb
2014-12-03 17:28:32 +00:00
Jermolene
1e3a41311d Use OS-independent path delimiter
Fixes #1187
2014-12-03 17:24:59 +00:00
Jermolene
870006d2b9 Remove extraneous space after "more tiddler actions" button
Fixes #1172
2014-12-03 16:48:14 +00:00
Xavier Cazin
4bdc92843c Fix a few tiddlers to make them follow the new policy being tested in fr-FR edition 2014-12-03 16:49:13 +01:00
Xavier Cazin
e94656e028 In shadow core tiddlers overridden for fr-FR edition, better "<$view>" fr-title than "<$transclude>" it 2014-12-03 16:44:23 +01:00
Xavier Cazin
d4cc001ad5 Applies Languages-in-ToC changes (defined in 3ba0186523) to relevant tiddlers in fr-FR edition 2014-12-03 16:39:26 +01:00
Xavier Cazin
751ea7b759 Add an fr-title field in tiddlers that were already translated in the fr-FR edition 2014-12-03 10:58:12 +01:00
Xavier Cazin
f604bebaee A few more translations plus new tiddlers for the fr-FR edition 2014-12-03 10:58:12 +01:00
Xavier Cazin
156256afc7 Changes to overridden shadow tiddlers to display fr-title when present instead of title 2014-12-03 10:58:11 +01:00
Jermolene
d4abd1722c Fixes for tabbed TOC
Re-fixes #1185
2014-12-02 23:47:23 +00:00
Jermolene
1e7d9bd3cd Move tabbed toc heading into default template
Fixes #1185
2014-12-02 23:05:54 +00:00
Jermolene
b220c19fb7 Add a template to the tabbed TOC macro
Fixes #1177
2014-12-02 20:27:02 +00:00
Jermolene
64a905b9f8 Drop "Edition" from language tiddler captions
Makes the TOC look neater
2014-12-02 20:21:51 +00:00
Jermolene
3ba0186523 Add "Languages" to tw5.com TOC 2014-12-02 20:18:30 +00:00
Jermolene
e628da4804 Change new journal docs examples
Fixes #1157
2014-12-02 19:42:46 +00:00
Jermolene
5154a25ab9 Add tooltip to browse widget
Fixes #1179
2014-12-02 19:16:38 +00:00
Jermolene
85217112ad Fix link 2014-12-02 19:16:13 +00:00
Jermolene
e11c9e83b9 Coding style cleanup 2014-12-02 15:32:52 +00:00
Jeremy Ruston
136c00237e Merge pull request #1145 from tobibeer/allow-to-break-each
allows to break out of $tw.utils.each
2014-12-02 15:32:17 +00:00
Jeremy Ruston
1f545f06ad Merge pull request #1181 from tobibeer/patch-1
list core descriptions for ModuleType
2014-12-02 15:30:49 +00:00
Jermolene
1d848e2f51 Add parameter docs for tabbed toc macro 2014-12-02 15:29:17 +00:00
Jermolene
d8365cfc9e Use a serif font for /dev edition
For variety
2014-12-02 15:25:37 +00:00
Jermolene
a8ee6c7b7c Add experimental system tiddler browser 2014-12-02 15:25:27 +00:00
Tobias Beer
a94da683f0 list core descriptions for ModuleType
changed dead links with descriptions ...these are still missing:

* $:/language/Docs/ModuleTypes/allfilteroperator
* $:/language/Docs/ModuleTypes/info
* $:/language/Docs/ModuleTypes/library
2014-12-02 13:10:25 +01:00
Tobias Beer
4d68111c49 added object as third parameter to callback 2014-12-02 12:47:19 +01:00
Erwan Moreau
da541b656c missing verb
also added the begining of the sentence to make it clearer, but maybe not necessary.
2014-11-29 18:59:31 +00:00
nameanyone
e32695e2c3 External links need a protocol as well?
They don't work for me without 'http://'. Firefox 33.1.1.
2014-11-28 16:43:24 -08:00
Jermolene
5d75dc7991 Palette tweaks for /dev 2014-11-28 10:06:24 +00:00
Jermolene
12896ef1c4 Add highlight plugin to /dev wiki 2014-11-28 10:06:17 +00:00
Jermolene
521e7f9b62 Adjust default dropdown width
To avoid text of exporter descriptions overflowing on Firefox.

We need a better solution. On Chrome, nested popups resize to fit their
content, without being constrained by the parent width.
2014-11-27 23:03:28 +00:00
Jermolene
38ca847ec9 Add Dutch TiddlyWiki blog post 2014-11-27 23:03:27 +00:00
Jermolene
56a0809768 Fix problem with edit-bitmap widget static rendering
The ‘introduction’ edition contains an edit-bitmap widget that was
failing under Node.js because the fake dom doesn’t support canvas.
2014-11-27 23:03:27 +00:00
Jermolene
249e532e07 Preparing for 5.1.6 2014-11-27 23:03:27 +00:00
Jeremy Ruston
271d70ff92 Merge pull request #1151 from malgam/patch-1
Fix typo "importer" should be "exporter"
2014-11-27 23:00:31 +00:00
malgam
7657a6960b Fix type "importer" should be "exporter" 2014-11-28 08:41:14 +10:00
Tobias Beer
0f157cff90 code style revision
thanks, Jeremy... will watch out for that
2014-11-26 18:50:12 +01:00
Tobias Beer
1e47a62c2a allows to break out of $tw.utils.each
Will improve performance with `$tw.utils.each` callbacks breaking out of
the iteration via `return false;`.
2014-11-26 17:51:27 +01:00
Jermolene
4c825101c2 Adjust 5.1.5 release date 2014-11-26 16:18:53 +00:00
Jermolene
377530a3dc Version number update for 5.1.5 2014-11-26 16:09:27 +00:00
Jermolene
002fbf6ca1 Update readme 2014-11-26 16:08:55 +00:00
Jermolene
37ac580ac2 Docs tweaks 2014-11-26 16:08:01 +00:00
Jermolene
52087b4e20 Docs tweaks 2014-11-26 16:01:15 +00:00
Jermolene
ace16ace24 Let people know about the translators edition 2014-11-26 15:57:25 +00:00
Jermolene
6f6a2e8c59 Add introduction video 2014-11-26 15:46:06 +00:00
Jermolene
4374d2f5c4 Adjust 1px error on sidebar tab positioning 2014-11-26 15:39:10 +00:00
Jermolene
357c9ef8fe Release note updates 2014-11-26 15:38:59 +00:00
Jermolene
7d46afc7b2 Move docs for 5.1.5 release 2014-11-26 11:22:20 +00:00
Jermolene
a5c7089bcf Add 2px rounded corners to tiddlers and tabs
An experiment; comments welcome.
2014-11-26 11:22:04 +00:00
Jermolene
962cdf500a Fix link dragging to text editors
We were just adding double square brackets if the title contains
spaces. We should be adding them if the title is not a valid wikilink.
2014-11-26 11:13:05 +00:00
Jermolene
1600beb193 Move the wikilink regexps into global config 2014-11-26 11:12:25 +00:00
Jermolene
b6f7d471bd Fix typo
Thanks @giffmex
2014-11-26 09:39:06 +00:00
Jermolene
cb9506a166 Fix problem with content-type popup
Thanks @tobibeer
2014-11-25 22:03:34 +00:00
Jermolene
37ee16f97d ImportTiddlers docs tweaks
Fixes #1143
2014-11-25 19:55:08 +00:00
Jermolene
c8fa52cce4 Dev docs tweaks 2014-11-25 19:33:12 +00:00
Jeremy Ruston
92b957f6f8 Merge pull request #1118 from welford/hook
Add hooks mechanism and th-opening-default-tiddlers-list hook
2014-11-25 19:25:00 +00:00
Jermolene
241e021654 House style tweaks for codemirror docs 2014-11-25 15:40:28 +00:00
Jermolene
2ed46ca02f Docs tweaks 2014-11-25 15:31:09 +00:00
Jeremy Ruston
117bdbcda7 Merge pull request #1088 from Braincoke/patch-1
Update CodeMirror Documentation
2014-11-25 15:30:29 +00:00
Jeremy Ruston
53d7e5351b Merge pull request #1139 from Braincoke/patch-2
Update cla-individual.md
2014-11-25 15:30:08 +00:00
Jeremy Ruston
9a1fb7da26 Merge pull request #1133 from tobibeer/no-static-links-for-system-tiddlers
#1129 — hide static and github links for any system tiddlers prefixed "$:/" on tw.com
2014-11-25 13:54:09 +00:00
Jermolene
996eecc79a Coding style cleanup 2014-11-25 13:49:22 +00:00
Jeremy Ruston
6f0d581d72 Merge pull request #1141 from tobibeer/auto-focus-title-on-edit
#371 focus title field on edit
2014-11-25 13:43:08 +00:00
Jermolene
b26e2955d4 Docs for new journal trick from Alberto Molina 2014-11-25 12:37:33 +00:00
Tobias Beer
3a621c18bd changed system tiddler filter check 2014-11-25 12:57:25 +01:00
Tobias Beer
c0834583a0 #371 focus title field on edit
* enhanced edit-text widget with a "focus=true" attribute
* modified title template to make it focus and select by default
2014-11-25 12:39:08 +01:00
Jermolene
d52dd870dd Browser compatibility docs 2014-11-25 09:04:54 +00:00
Tobias Beer
86629e3144 also hide shadows, no underlined url 2014-11-25 02:18:21 +01:00
Braincoke
d6b1cf2e93 Update cla-individual.md 2014-11-24 19:43:43 +00:00
Jermolene
77431e5e6f Docs tweaks 2014-11-24 17:53:54 +00:00
Jeremy Ruston
95fed82024 Merge pull request #1092 from Marxsal/patch-4
Transcluding information re Sidebar Menus
2014-11-24 17:50:40 +00:00
Jermolene
6b15a01f9c Added docs for custom export formats 2014-11-24 17:42:31 +00:00
Jeremy Ruston
4b381c8f76 Merge pull request #1134 from pmario/german-translation
fixing some more typos. Make button texts consistent
2014-11-24 17:07:55 +00:00
Jermolene
1015196817 Proper sentence case for tiddler title 2014-11-24 16:24:36 +00:00
Jermolene
719e4d901d Fix problem with tag popup disappearing
Fixes #1137
2014-11-24 16:24:12 +00:00
Mario Pietsch
5914f2f200 fixing some more typos. Make button texts consistent 2014-11-24 14:22:03 +01:00
Tobias Beer
2ee7607e57 hide static links for any system tiddlers prefixed "$:/"
also added underlined format to make it at least stand out a little,
even if not a link
2014-11-24 13:05:16 +01:00
Jeremy Ruston
37ef5da20f Merge pull request #1125 from tobibeer/fix-toolbar-button-spacing
fixed toolbar button spacing
2014-11-24 09:37:02 +00:00
Jeremy Ruston
6f0736e82a Merge pull request #1131 from Skeeve/patch-7
allow empty state tiddlers and missing state attributes act as missing s...
2014-11-24 09:27:15 +00:00
Jermolene
62ad533aa6 Clarify tiddlerExists docs 2014-11-24 09:22:43 +00:00
Skeeve
79e428757b allow empty state tiddlers and missing state attributes act as missing state tiddlers
As described here: https://groups.google.com/d/msg/tiddlywikidev/ODJhIw6-UjQ/3ZKrlA4B810J

I think it would be a good small enhancement as the reveal widget can now be used in previously impossible ways.
2014-11-24 07:38:58 +01:00
Tobias Beer
4def52df80 removed some more trailing blanks from PageControls
Note: I did NOT test the results as I have yet to figure out how to make
node.js...

* actually run the server without a 403
* build the core tw after me having made changes
2014-11-23 21:04:13 +01:00
Jermolene
61718d6023 Docs tweaks 2014-11-23 18:26:48 +00:00
Jeremy Ruston
242a753bbe Merge pull request #1091 from Marxsal/patch-3
Doc: How to Add A Menu to the Sidebar
2014-11-23 18:19:54 +00:00
Jermolene
c4c51feee2 Clean up github contribution banner
Sorry @xcazin I think you may need to do some clearing up after this
2014-11-23 17:54:11 +00:00
Jeremy Ruston
8b61a71115 Merge pull request #1126 from xcazin/fred
Tweaks related to the fr-FR edition
2014-11-23 17:48:44 +00:00
Jeremy Ruston
8dc425e403 Merge pull request #1127 from tobibeer/fix-notification-z-index
put tc-notification above topbar
2014-11-23 17:18:04 +00:00
Jermolene
d1e452e930 Add @tobibeer's TB5 resource 2014-11-23 17:14:17 +00:00
Jermolene
d0cd91cfba Docs tweaks 2014-11-23 17:14:04 +00:00
Tobias Beer
8790f29d0e put notifications above topbar 2014-11-23 18:10:44 +01:00
Xavier Cazin
87c515f3ce Pointer to the fr-FR edition 2014-11-23 17:57:12 +01:00
Xavier Cazin
c51eb93edb Use the fr-FR translated Contribution banner in observance of 86329835c9 2014-11-23 17:48:30 +01:00
Tobias Beer
a84dc61303 fixed toolbar button spacing
* removed trailing whitespaces in button tids
* defined a global left margin for buttons set to 5px
* slightly less than in view-mode before
* slightly more than in edit-mode before
* but visually more appealing to me
* leaves a wee more room for the title to unfold
2014-11-23 17:32:29 +01:00
Jermolene
5708b76d6e Tweak close button in advanced search 2014-11-23 16:07:58 +00:00
Jermolene
84bebb65b7 Fix advanced filter search clear button
Thanks @BramChen
2014-11-23 16:02:08 +00:00
Jeremy Ruston
8e52830320 Merge pull request #1101 from pmario/german-translation
German translation updates: new buttons, exporter texts
2014-11-23 15:48:41 +00:00
Jermolene
a614c0d543 Improve compatibility with JS modules
If a module ended with a single line comment `\\` then the appended
`;})();` was being ignored and eaten up as part of the comment.
2014-11-23 15:24:01 +00:00
Jermolene
4134392841 House style tweaks
@giffmex - I’m sorry I should document these things but you’ll see I’ve
made some changes to punctuation and whitespace to match other tw5.com
tiddlers.

I’ve just noticed that the final bullet point ended abruptly with
“Finally, you will want a tiddler”. I’ve removed that line for the
moment.

The section “Add or remove shadow tiddlers from the user interface” is
actually describing a technique that is not recommended. If you remove
a tag from a shadow tiddler then you’ll have made a copy of it, which
means that it won’t be upgraded in future. It’s still worth
documenting, but with some warnings.

I do wonder whether the three sections deserve to be separate tiddlers.
Certainly the instructions for adding a toolbar button should be
directly addressable so that we can link directly to them on
http://tiddlywiki.com.
2014-11-23 14:00:24 +00:00
Jeremy Ruston
76d94b4d09 Merge pull request #1111 from giffmex/patch-26
Create Page and tiddler layout customisation.tid
2014-11-23 13:47:33 +00:00
Jermolene
73d7bb69c5 Remove accented characters from filename 2014-11-23 13:44:09 +00:00
Jermolene
2643f24bb5 Remove accented characters from filename
@xcazin @Evolena I get problems with Git if we use non-ASCII characters
in filenames.
2014-11-23 13:39:43 +00:00
Jermolene
ac5c6d1d73 Docs tweak 2014-11-23 13:37:45 +00:00
Jeremy Ruston
151ca670bd Merge pull request #1104 from xcazin/fred
Bootstrap of an fr-FR edition from @evolena and @xcazin
2014-11-23 13:37:26 +00:00
Jermolene
86329835c9 Add instructions for contribution ribbon 2014-11-23 10:06:09 +00:00
Jermolene
5329392dbe Resources updates 2014-11-23 10:05:59 +00:00
James Welford Anderson
804a579d17 Remove alert from addHook.
Thanks to @tobibeer
2014-11-23 14:34:04 +09:00
James Welford Anderson
1126458f8c add /dev docs 2014-11-23 05:06:18 +09:00
Jermolene
738393285f Tweaked default tag background 2014-11-22 17:06:44 +00:00
James Welford Anderson
90caf5bf42 Add hooks mechanism and th-opening-default-tiddlers-list hook
see: https://github.com/Jermolene/TiddlyWiki5/issues/1064
2014-11-23 01:11:56 +09:00
Jeremy Ruston
933caab2e6 Merge pull request #1115 from inmysocks/patch-2
Update cla-individual.md
2014-11-22 15:36:02 +00:00
Jermolene
e6043b07b9 Update export button to use tiddler title as filename base 2014-11-22 14:19:10 +00:00
Jermolene
d6c5e51501 Fix popup handling in Cecily and Zoomin view
Cecily and Zoomin story views use a document.body that is smaller than
the document.documentElement. We were just clearing the popups on
clicks on the document.body Clicks on the document element (ie, on the
background of the page) were not being trapped, meaning that you
couldn’t dismiss a popup.
2014-11-22 10:19:03 +00:00
Jermolene
7d3d2ba3fe Tweak tiddler icon position 2014-11-22 09:43:01 +00:00
Jermolene
8cae6677a7 Add Taskgraph plugin to community resources 2014-11-22 09:42:53 +00:00
Jermolene
f786872589 Tweak popup handling of tiddler info panel 2014-11-22 09:42:36 +00:00
inmysocks
31bcd139e6 Update cla-individual.md 2014-11-21 22:42:14 -07:00
Jermolene
1f82ebc7c3 Fix problem with parsing text references 2014-11-21 18:16:22 +00:00
Jermolene
b882a0dff1 Fixes to make nested popups work
Thus making the export button a lot more useful
2014-11-21 17:07:03 +00:00
Jermolene
27c9e7269e Update "Tiddlers" docs
Suggested by @twMat
2014-11-21 17:06:12 +00:00
Jermolene
d31f61255e A failing test for a bug with text reference parsing
I’ll fix this later.

Raised by @danielo515
2014-11-21 17:05:20 +00:00
giffmex
e553653729 Create Page and tiddler layout customisation.tid 2014-11-20 14:38:43 -06:00
Xavier Cazin
ac89c154b4 Corrections to overriden system tiddlers in fr-FR edition
plus new translated tiddlers
2014-11-20 07:57:04 +01:00
Xavier Cazin
c4420612e8 Various updates to doc tiddlers in fr-FR edition 2014-11-19 21:47:19 +01:00
Xavier Cazin
c1e715de93 Overriding of a few system tiddlers for fr-FR edition 2014-11-19 21:42:31 +01:00
Mario Pietsch
f3ee058839 new buttons, exporter texts 2014-11-19 13:28:07 +01:00
roma0104
438db4d868 Signed the CLA. 2014-11-18 18:11:59 -06:00
roma0104
5cee932833 Update GSD5/Briefcase site address and naming. 2014-11-18 18:02:51 -06:00
Jermolene
7011cecb95 Add Jed's game to the examples 2014-11-18 15:41:39 +00:00
Jermolene
931d47e50c Fix problem with cloning tiddlers
We were ignoring the tags on the template tiddler.

Fixes #1097
2014-11-18 14:13:34 +00:00
Jermolene
002d47b4d9 Fix wrapping of tags in tag manager
Now long tags wrap onto multiple lines. I think they look quite good,
and we may want to consider using the same technique in the view
template.
2014-11-18 14:07:00 +00:00
Jermolene
302768e009 Update docs 2014-11-18 14:06:12 +00:00
Jermolene
838c3c4eb0 Fix problem with page controls
By transcluding the page controls we were changing the current tiddler
2014-11-18 14:06:03 +00:00
Jermolene
f1f318931d Reinstate translation for "download full wiki"
It’s used in `$:/snippets/download-wiki-button`
2014-11-18 14:05:23 +00:00
Jermolene
0c49ac179b Add direct links to resource tiddlers 2014-11-18 14:04:13 +00:00
Jermolene
93cb03eeab Allow whitespace after \end in macro definitions
Fixes #1090
2014-11-18 10:26:20 +00:00
Xavier Cazin
73c8dc8c23 Merge remote-tracking branch 'upstream/master' into fred 2014-11-17 21:59:11 +01:00
Marxsal
270b76ce94 Transcluding information re Sidebar Menus
Transcluding information from newly proposed tiddler "How to Add A Menu to the Sidebar". This should help users discover ways in which to use the TOC macro.
2014-11-17 09:21:10 -08:00
Marxsal
4aa140b16c Doc: How to Add A Menu to the Sidebar
This item is tagged so as to appear under Customise TiddlyWiki.
2014-11-17 09:11:36 -08:00
Jermolene
b2550f31c2 Fix whitespace in edit toolbar cancel button
The extra newline at the end of the tiddler was showing up as
whitespace in the toolbar.
2014-11-17 16:29:49 +00:00
Jermolene
81481588e0 Add advanced search links to control panel list counts 2014-11-17 16:26:39 +00:00
Jermolene
6c6fda498f Fix bug in action-setfield widget 2014-11-17 16:26:18 +00:00
Jermolene
05e2b170fb Icon tweaks 2014-11-17 16:26:09 +00:00
Xavier Cazin
fe47808d8a Integration of @evolena work into the fr-FR edition 2014-11-16 10:55:39 +01:00
Xavier Cazin
5eddcb0e8d fr-FR-server configured to serve the fr-FR edition 2014-11-16 09:31:49 +01:00
Xavier Cazin
d1ed1ddc8c Bootstrap fr-FR edition with a few dozens of translated tiddlers 2014-11-16 00:55:13 +01:00
Braincoke
705cdc8b17 Update CodeMirror Documentation
I wish I could have added tiddlers to the documentation in order to put the mini-tutorials in tabs but I couldn't.
So it is a bit messy in my opinion, but I think it is a good start.

I have tested every configuration with Tiddlywiki v 5.1.4.
2014-11-15 16:33:50 +00:00
Jermolene
48052130d2 Clarify toc-tabbed macro 2014-11-15 12:29:46 +00:00
Jermolene
21cc5fc1d6 More button tweaks
@pmario what do you think of the new “info” button?
2014-11-15 12:14:58 +00:00
Jermolene
47481ed52a Enhance tabbed toc macro with navigation control
Now there are two variants of the macro: the default one opens links
externally, the other opens links internally
2014-11-14 17:06:21 +00:00
Jermolene
d8cc283b3a Release note update 2014-11-14 10:33:49 +00:00
Jermolene
a9eab1b8fc Improve import logging 2014-11-14 10:33:41 +00:00
Jermolene
52d29ac0cf Slightly improved styling for plugins tab 2014-11-14 09:46:24 +00:00
Jermolene
0ea8cfb1de Remove obsolete control panel tools tab
Now we’ve got the export button instead
2014-11-14 09:46:09 +00:00
Jermolene
5758713014 Tweak home button 2014-11-14 09:24:35 +00:00
Jermolene
1d08d2d7dc Clarify set widget docs 2014-11-14 09:24:29 +00:00
Jeremy Ruston
88c4fbd2d7 Merge pull request #1082 from BramChen/master
Add chinese translations of exporter descriptions
2014-11-14 08:08:28 +00:00
Jeremy Ruston
6121076ab0 Merge pull request #1083 from andrey013/ru-RU
Russian translation update
2014-11-14 08:08:10 +00:00
Andrey Yankin
28d6e6ad1c Russian translation update 2014-11-14 09:56:47 +03:00
Bram Chen
6d5ba0744b Add chinese translations of exporter descriptions 2014-11-14 08:44:07 +08:00
Jermolene
1f26428fbc Tweak home button icon 2014-11-13 22:34:17 +00:00
Jermolene
a3d84694ea Style tweak 2014-11-13 21:49:19 +00:00
Jermolene
874c8d5516 Tweak docs 2014-11-13 21:39:38 +00:00
Jermolene
f5055c0205 Add tabbed table of contents 2014-11-13 21:39:38 +00:00
Jermolene
bd211ea082 Extend set variable widget to work with filters 2014-11-13 21:39:38 +00:00
Jermolene
fdc272bff4 Improve styling of search buttons 2014-11-13 21:39:38 +00:00
Jermolene
e0041d8483 Move page export button next to import 2014-11-13 21:39:38 +00:00
Jermolene
dcac3b27b7 More icon tweaks 2014-11-13 21:39:38 +00:00
Jeremy Ruston
13837a6f30 Merge pull request #1080 from xcazin/frn
fr-FR translation of exporter file descriptions
2014-11-13 17:15:22 +00:00
Xavier Cazin
025f56ebab fr-FR translation of exporter file descriptions 2014-11-13 17:35:47 +01:00
Jermolene
64d661f6e4 Update alltiddlers.template.html to use new exporter 2014-11-13 16:04:56 +00:00
Jermolene
4bf6fe7fe9 Fix JSON deserialiser to allow all fields
Previously we were filtering to a small set of known fields (which was
implemented at the beginning of TW5 as part of the build process for
TW2).
2014-11-13 16:04:30 +00:00
Jermolene
4dec771c20 Make exporter descriptions translatable 2014-11-13 16:03:09 +00:00
Jermolene
8e685e5150 Allow includeWikis to be read-only
Hopefully this will help resolve issues that @xcazin and @pmario have
been having with using the client-server configuration to prepare
translations of the TW5 docs.
2014-11-13 12:28:51 +00:00
Jermolene
d1bbe7253c Remove flicker when resizing textareas
The `EditTextWidget.prototype.fixHeight()` function was defering its
work with `nextTick()`, which led to flickering on all browsers when
typing triggers a resize.
2014-11-13 11:19:21 +00:00
Jermolene
1d49e45deb More icon tweaks 2014-11-13 11:13:29 +00:00
Jermolene
62c265aab0 Icon tweaks 2014-11-12 17:08:51 +00:00
Jeremy Ruston
c9d99f5d92 Merge pull request #1076 from xcazin/frnew
fr-FR translation for new Export-related strings
2014-11-11 18:56:11 +00:00
Jermolene
05f60b03a6 Hide export button from introduction edition 2014-11-11 18:55:56 +00:00
Xavier Cazin
b924bc35b0 fr-FR translation for new Export-related strings 2014-11-11 17:03:41 +01:00
Jermolene
7c6b376bdb Update docs 2014-11-11 15:29:19 +00:00
Jermolene
6375346b04 Revert search filter operator docs update
We only want the docs update in the prerelease
2014-11-11 15:29:11 +00:00
Jeremy Ruston
3f7f04b2ea Merge pull request #1074 from BramChen/master
Chinese translations for export buttons
2014-11-11 12:13:40 +00:00
Jermolene
e69e2c1c91 Require confirmation before deleting non-empty new tiddlers 2014-11-11 11:54:46 +00:00
Jermolene
78735cde96 Refactor dropzone
I want to start figuring out #686
2014-11-11 11:44:00 +00:00
Jermolene
a44f6039bb Tweaks to export button 2014-11-11 11:43:20 +00:00
Bram Chen
e02ffcb969 Chinese translations for export buttons 2014-11-11 10:51:58 +08:00
Jermolene
6fc5c70ace First pass at export button
New export button appears as a page control toolbar button, a tiddler
toolbar button, and a button in the advanced search filter tab.

Initially supports exporting as static HTML, CSV, JSON or `.tid` file.

Still to do:

* Made the exporter descriptions translatable
* Hide the export button by default
* User docs
* Cleaning up the existing templates (eg,
`$:/core/templates/alltiddlers.template.html` should work by
transcluding `$:/core/templates/exporters/Static`)
* Docs for the new macros `exportButton`, `csvtiddlers` and
`jsontiddlers`

Issues:

* OS X Numbers refuses to open CSV files that have been generated in
Chrome, because it thinks they’ve been downloaded from the Internet.
Firefox works OK
* The export button won’t work within the tiddler info panel, or from
the *more* popup (this is because we don’t support nested popups)
2014-11-10 20:59:15 +00:00
Jermolene
147f404a41 Fix search results to be in block mode 2014-11-10 19:55:45 +00:00
Jermolene
13d9c55d5c Updated export button
Made the border a bit thicker
2014-11-10 19:54:36 +00:00
Jermolene
b520efdeb8 Update savers to specify variables, including filename
Now the `tm-download-file` and `tm-save-file` messages use the hashmap
to specify variables to be applied when rendering the tiddler.

We also add a convention that the variable “filename” is used to
specify a filename for the download.
2014-11-10 19:54:19 +00:00
Jermolene
b70b85aa9e Add group headings to default search results 2014-11-10 19:52:37 +00:00
Jermolene
e175746122 Fix problem with CSS macros
In practice the macros are always invoked in inline mode, meaning that
the triple braces weren’t getting parsed correctly. Now we switch to
inline code
2014-11-10 15:30:35 +00:00
Jermolene
3035badf14 Fix problem with done button not saving unchanged tiddlers 2014-11-10 12:56:33 +00:00
Jermolene
c44a53e670 Add new tutorial 2014-11-10 09:06:01 +00:00
Jermolene
145713e766 Don't confirm deleting drafts with no original 2014-11-10 08:49:20 +00:00
Jermolene
1dfa6f369b Smarter cancel edit behaviour
If we cancel editing a tiddler that doesn’t exist, then we no longer
show the resulting missing tiddler.
2014-11-09 21:47:48 +00:00
Jermolene
3b08b5e9dd More resilience to Tiddler.isEqual() 2014-11-09 21:47:00 +00:00
Jermolene
cea0b74265 Improve detection of modified drafts
If the target tiddler of the draft is missing (as happens after
clicking “new tiddler”), then we count the draft as modified if the
text is not empty.

Also we count the the draft as modified if the draft title has been
changed
2014-11-09 21:46:41 +00:00
Jermolene
5ded01f2c6 Fix problem with blank values in action-setfield widget
One manifestation of this problem was that it wasn’t possible to use
the edit template to add a field without specifying a value
2014-11-09 17:15:40 +00:00
Jermolene
9bbd599f5c Refine refreshing of tiddler widget
We need to refresh if there is a change in the state that we copy to
variables.
2014-11-09 17:10:18 +00:00
Jermolene
d2ab7c5986 More action-deletetiddler fixes 2014-11-09 16:53:33 +00:00
Jermolene
8c67e11365 Fixes to action-deletetiddler widget 2014-11-09 16:45:14 +00:00
Jermolene
23ca729805 Updated icons 2014-11-09 16:19:25 +00:00
Jermolene
2c5d241d96 Improve error message for missing commands 2014-11-09 14:49:33 +00:00
Jermolene
769842c4db Improved fix for h2 title bar markup
Fixes the problem @pmario raised at
https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86
594748e996191eb2#commitcomment-8488743
2014-11-08 17:51:35 +00:00
Jermolene
1255060a5a Retract view template title change in 09a3f94d79
As @pmario points out, the change interferes with the floating of the
toolbar buttons:

https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86
594748e996191eb2#commitcomment-8488743
2014-11-08 17:39:58 +00:00
Jeremy Ruston
187ec2e76c Merge pull request #1070 from pmario/german-translations
new edit template texts
2014-11-08 17:30:24 +00:00
Jeremy Ruston
f66ec88716 Merge pull request #1071 from xcazin/frn
fr-FR new EditTemplate strings
2014-11-08 17:30:08 +00:00
Xavier Cazin
d03c214425 fr-FR new EditTemplate strings 2014-11-08 13:02:58 +01:00
Mario Pietsch
70b07470d6 new edit template texts 2014-11-08 11:01:08 +01:00
Jeremy Ruston
db8e43da23 Merge pull request #1068 from BramChen/master
Update chinese translations for recently accessibility fixes
2014-11-08 08:40:18 +00:00
Jermolene
853f5fd064 Add some logging for file import/paste 2014-11-08 08:37:08 +00:00
Bram Chen
f6d234b88c Update chinese translations for recently accessibility fixes 2014-11-08 09:54:40 +08:00
Jermolene
ae756ddff0 Docs update 2014-11-07 21:32:21 +00:00
Jermolene
ec4beb7f0f Fix bug in navigator 2014-11-07 21:15:52 +00:00
Jermolene
e2a7b35211 Fix toolbar buttons for introduction edition
To take account of recent switcharound
2014-11-07 21:15:40 +00:00
Jermolene
09a3f94d79 Accessibility fixes
Fixes for accessibility issues raised here:

https://groups.google.com/d/topic/tiddlywiki/C6lSabtpdEI/discussion
2014-11-07 21:15:21 +00:00
Jermolene
bd73990438 Fix toolbar buttons for introduction edition 2014-11-07 17:04:09 +00:00
Jermolene
16ef49c66d Release note update 2014-11-07 17:03:59 +00:00
Jermolene
028bf94281 Release note update 2014-11-07 14:54:52 +00:00
Jermolene
91a7c39791 Update modal handling to allow variables to be passed
@felixhayashi I’m afraid I haven’t used your pull request as there were
a few details that I wanted to do differently. The main change is that
these changes allow both a param string and hashmap to be specified.
2014-11-07 14:54:46 +00:00
Jermolene
c7971d3da3 Update new tiddler message handling to accept title and fields
Now you can create a new tiddler with both a template and additional
specified fields.
2014-11-07 14:53:37 +00:00
Jermolene
d93c19daaa Improve the format of widget message parameters
In 5.1.3 we introduced the idea that the `event.param` variable could
optionally be a hashmap, allowing multiple values to be passed with the
message.

This change moves the hashmap to a separate `event.paramObject`
variable, allowing us to pass both a hashmap and a param string.
2014-11-07 14:52:32 +00:00
Jeremy Ruston
b851fe1800 Merge pull request #1065 from pmario/german-translations
tagmanager info heading
2014-11-07 08:51:47 +00:00
Mario Pietsch
421e913dd3 tagmanager info heading 2014-11-07 09:12:33 +01:00
Jermolene
9ac9239c51 Default tiddler info to the fields tab 2014-11-06 21:27:59 +00:00
Jermolene
4d061d0fee Provisionally extend search results to list title matches separately
I’m not sure whether this is a good solution. Nor am I keen on the
horizontal rule to separate the two groups of results.
2014-11-06 20:58:33 +00:00
Jermolene
157f8faa6b Update advanced search standard to use search tabs
We reuse the tabs introduced for the sidebar search results
2014-11-06 20:57:31 +00:00
Jermolene
8260d000be Extend search filter to allow field to be specified 2014-11-06 20:56:32 +00:00
Jermolene
f1a2d8c2b9 Fix typo in action-setfield widget 2014-11-06 19:35:50 +00:00
Jermolene
12aec57086 Merge action-setfield and action-setfields widgets
Less confusion, hopefully.
2014-11-06 19:27:14 +00:00
Jermolene
24956f036e Fix docs typos
Thanks @Evolena
2014-11-06 18:37:08 +00:00
Jermolene
92f69d44bf Use action-deletefield widget in edit template fields editor
On the way to deprecating the field mangler widget
2014-11-06 18:32:11 +00:00
Jermolene
da1f9f7d22 Add input box for new field value to edit template 2014-11-06 18:24:33 +00:00
Jermolene
efeeab45f8 Simplify action-setfield widget 2014-11-06 18:23:59 +00:00
Jermolene
0a2a5184c4 Add action-deletetiddler widget 2014-11-06 18:23:48 +00:00
Jermolene
741f853986 Add action-setfield widget 2014-11-06 18:06:47 +00:00
Jermolene
a18af9b760 Rename the action-setfield widget to action-setfields
It makes more sense, and allows us to add a widget: `<$action-setfield
$tiddler=“title” $name=“fieldname” $value=“fieldvalue”/>`
2014-11-06 17:45:03 +00:00
Jermolene
0a986ccd99 Experiment with alternative view tiddler toolbar default buttons
The “info”, “edit”, “close” troika has been a feature of TW5 since the
very early days. Recent discussion in Hangout #67 has made me question
whether we wouldn’t be better off with the defaults in this commit:
“more”, “edit”, “close”.

The rationale is that the primary purpose of the “info” button has
become gaining access to the tools that haven’t been elevated to being
toolbar buttons. Most of the rest of the content of the info panel is
pretty arcane. So let’s try it for a few days - I’d appreciate any
feedback.
2014-11-06 13:39:28 +00:00
Jermolene
0bb8e08edc Provisionally make tag pill foreground colour be responsive
With this commit tag pills will now choose for the foreground colour
either the current palette “foreground” or “background” colours,
according to which has the higher contrast. It’s something @gernert has
expressed an interest in in the past, and I’ve tended to agree that it
is a nice piece of polish. It opens up the possibility of paler colours
for tag pills than are currently possible.

The trouble is that in order to implement it I’ve had to bring in a
third party library for parsing CSS colours. It weighs in just over
9KB, making quite a lot of weight for such a small feature. I don’t see
any other immediate uses for the colour parsing library either.

So, I’m undecided at the moment whether this should stay in the core.
2014-11-06 13:35:48 +00:00
Jermolene
73491f14dd Update highlight plugin configuration to support tabs
The technique we were using to configure the library was incorrect.
2014-11-06 13:27:24 +00:00
Jermolene
e145376838 Fix embarrassing typo in timeline macro
Fixes #1061 - thanks @welford
2014-11-05 09:30:40 +00:00
Jeremy Ruston
e18e6e85cc Merge pull request #1060 from xcazin/fr_plugin
Translate Info heading for TagManager into fr-FR + add a circumflex on "Icône"
2014-11-05 08:47:01 +00:00
Jeremy Ruston
df8f72ce90 Merge pull request #1049 from pekopeko1/japanese5.1.5
Japanese translation improved
2014-11-05 08:45:45 +00:00
Jeremy Ruston
6912f80f0a Merge pull request #1062 from BramChen/master
Add zh info heading for tag manager
2014-11-05 08:44:29 +00:00
Jermolene
db2f47cc4a Release note update 2014-11-05 08:44:19 +00:00
Bram Chen
32b8270740 Add zh info heading for tag manager 2014-11-05 16:38:39 +08:00
pekopeko1
be3533688a remove untranslated tiddlers 2014-11-05 06:42:20 +09:00
Xavier Cazin
453193ce78 Translate Info heading for TagManager into fr-FR + add a circumflex on Icône 2014-11-04 22:37:22 +01:00
Jermolene
df891e7110 Further tag manager tweaks
Making it translatable, and changing the icon for “info”
2014-11-04 12:35:46 +00:00
Jermolene
4862afbf2a Add up and down chevron images
For completeness
2014-11-04 12:35:19 +00:00
Jermolene
5093cdc860 Exclude drafts from table of contents macros 2014-11-04 11:54:35 +00:00
Jermolene
335c470797 Include double square brackets when dragging titles
Dragging a tiddler link into a tiddler editor, or outside the browser
into another app, will now add double square brackets around the title
if it includes spaces. Suggested by @tgirod.

I’m not 100% sure about this change. It breaks one habit that I had
developed: typing `[[sometext|]]` and then dragging a title in between
the vertical bar and the first closing square bracket. What do others
think?
2014-11-03 23:00:11 +00:00
Jeremy Ruston
0550efabf8 Merge pull request #1053 from pmario/no-js
add static links, if javascript is deactivated
2014-11-03 22:55:57 +00:00
Jermolene
096165217a Tweaks for tag manager
There were some missing table cells which rendered weirdly.

Still got some wrinkles, though - eg two tag dropdowns appearing.
2014-11-03 22:39:05 +00:00
Jeremy Ruston
5f6a52886e Merge pull request #1057 from pmario/new-tag-manager
change tag manager layout, and add css rule
2014-11-03 22:15:26 +00:00
Jeremy Ruston
94103f8d57 Merge pull request #1054 from pmario/german-translations
new UI element translations. new CLI command translations
2014-11-03 22:10:32 +00:00
Jeremy Ruston
fcaf9cc5d2 Merge pull request #1056 from andrey013/ru-RU
Russian translation update
2014-11-03 22:07:28 +00:00
Mario Pietsch
d07fea949d change tag manager layout, and add css rule 2014-11-03 23:07:00 +01:00
Jeremy Ruston
7475515caf Merge pull request #1055 from pmario/german-tiddlers-tw5com
German tiddlers tw5com
2014-11-03 22:06:56 +00:00
Jermolene
9022dfdf71 Add action-deletefield widget
We’re also going to need action-deletetiddler
2014-11-03 22:06:31 +00:00
Andrey Yankin
2e41b139d3 Russian translation for Modals 2014-11-04 00:56:48 +03:00
Mario Pietsch
15c0ca2fdf fix typos 2014-11-03 22:39:41 +01:00
Mario Pietsch
c343c18cff tw5.com german editions content and title translated 2014-11-03 22:36:21 +01:00
Mario Pietsch
9ff7f61ad3 new UI element translations. new CLI command translations 2014-11-03 22:25:23 +01:00
Andrey Yankin
d34bcc2ebb delete untranslated help for commands 2014-11-04 00:16:45 +03:00
Andrey Yankin
8ac31e9134 RecentSystemTiddlers russian translation 2014-11-04 00:13:48 +03:00
Mario Pietsch
202fe5a1ae add static links, if javascript is deactivated 2014-11-03 21:46:39 +01:00
Jermolene
a3a50dbf6d Extend timeline macro to be able to use different date fields 2014-11-03 17:26:51 +00:00
Jeremy Ruston
989e0d436c Merge pull request #1047 from felixhayashi/patch-2
Update cla-individual.md
2014-11-03 17:06:07 +00:00
Jermolene
5599f9f933 Fix problem with UTF-8 encoding of HTML tiddelrs
Fixes #1037
2014-11-03 16:20:49 +00:00
Jermolene
cea963420c Improve error handling under Node.js
Now we include the stack trace with the error message. Thanks to
@felixhayashi for the suggestion.
2014-11-03 16:14:51 +00:00
pekopeko1
d8e4002259 Japanese translation improved 2014-11-03 07:33:44 +09:00
Jermolene
48696c7d41 Fix extraneous whitespace in toc macro
Accidentally introduced in 3d7b40fbaa
2014-11-02 21:23:17 +00:00
Jermolene
2e1db82f2d Tweak tag pill shape 2014-11-02 21:22:45 +00:00
Jermolene
3d7b40fbaa Fix problem with recursion in table of contents macro
Fixes #1036
2014-11-02 21:03:27 +00:00
Jermolene
835e3a9452 Ensure sticky titles z-index is above vertical tabs
Fixes #1040
2014-11-02 20:36:31 +00:00
felixhayashi
7e4309397e Update cla-individual.md 2014-11-02 19:38:37 +01:00
Jeremy Ruston
55d72bfaf4 Merge pull request #1039 from andrey013/patch-1
missing backtick
2014-11-02 17:24:54 +00:00
Jermolene
7062bb9293 Fix links in readme for googleanalytics plugin
Thanks @gernert
2014-11-02 17:22:16 +00:00
Jeremy Ruston
3a0616044e Merge pull request #1042 from pekopeko1/japanese5.1.5
Add japanese edition
2014-11-02 17:04:22 +00:00
Jeremy Ruston
2ddc53ab3d Merge pull request #1043 from BramChen/master
Update chinese translations
2014-11-02 17:03:24 +00:00
Jermolene
63b00fd0f8 Add advanced search button to search results
Clicking on the advanced search ellipsis when there is a search string
will open the advanced search tiddler, and copy the current search term
to it.

Thanks to @Spangenhelm for the idea.
2014-11-02 16:10:53 +00:00
Bram Chen
946d84f38e Add chinese translations of canned filter for recent system tiddlers 2014-11-02 15:45:12 +08:00
Bram Chen
51f3008858 Update zh help text of output command 2014-11-02 15:38:49 +08:00
pekopeko1
6c36ef93c3 Add japanese edition 2014-11-02 15:07:12 +09:00
Andrey Yankin
79c77966df missing backtick 2014-11-01 22:47:47 +03:00
Jeremy Ruston
d0a0dd1812 Merge pull request #1035 from xcazin/fr_plugin
Most recent updates to language plugin
2014-11-01 15:41:22 +00:00
Xavier Cazin
6aa91dda33 fr-FR update for the output command help. 2014-11-01 16:29:21 +01:00
Xavier Cazin
81f0a79c5d fr-FR description for RecentSystemTiddlers filter group 2014-11-01 16:24:40 +01:00
Jeremy Ruston
73bba27673 Merge pull request #1025 from xcazin/trans
Spotted thanks to http://tiddlywiki.com/prerelease/editions/translators/index.html
2014-11-01 15:15:16 +00:00
Jermolene
83f1f49c89 Merge branch 'pr/1034' 2014-11-01 15:14:14 +00:00
Jermolene
270fb09993 Updates to "introduction" edition 2014-11-01 14:12:47 +00:00
Jermolene
9e85782407 Extend Cecily
Two new features: you can set the tiddler width via an attribute on the
list widget, and specify a rotation factor in the map.
2014-11-01 14:12:32 +00:00
Andrey Yankin
f7a2849d27 disable enqueueTiddlerEvent during plugin switching 2014-11-01 16:32:52 +03:00
Jermolene
4e3f6fc4f8 Tweaks "Tiddlers" docs
Thanks for the prompt @FND - I’ve pushed this version to
http://tiddlywiki.com/#Tiddlers and
http://tiddlywiki.com/static/Tiddlers.html
2014-11-01 11:30:22 +00:00
Jermolene
4a63343789 Use Greek translation in introduction edition 2014-11-01 10:38:37 +00:00
Jermolene
657ced1221 Fix to el-GR translation
@access-denied this is for consistency with the other languages.

I acknowledge that there it’s a problem at the moment that languages
can’t expose a localised name; it would make more sense to use the
localised language name in the menu.
2014-11-01 10:38:26 +00:00
Jermolene
14a64ef3ef Merging el-GR 2014-11-01 10:21:17 +00:00
access-denied
4e3c1bfd02 Corrections to el-GR translation
some minor corrections
2014-11-01 11:47:44 +02:00
Jeremy Ruston
eb99629d3f Merge pull request #1032 from sukima/feature/github-ribbon-plugin-link
Add direct link to github ribbon plugin
2014-11-01 08:49:07 +00:00
Jermolene
06cbc45dfa Wrap page control previews in position:relative
Fixes #1031
2014-11-01 08:42:34 +00:00
Devin Weaver
176ad5adde Add direct link to github ribbon plugin
The former documentation referenced a plugin but left no easy way to
link to it. Also, the misleading text claiming a title also confused me.
I had to do some creative greping the git files to hunt it down.

Adding a TiddlyWiki link around the plugin links to the actual tiddler
that a reader could easily copy. This also deprecated the need for the
misleading title.
2014-10-31 21:24:21 -04:00
Jermolene
4328d7cf3f Updates to introduction edition 2014-10-31 21:09:20 +00:00
Jermolene
6b3e8bdfd3 Add link to TiddlyWiki guide FR 2014-10-31 21:09:12 +00:00
Jermolene
938e782772 Update docs 2014-10-31 20:12:06 +00:00
Jeremy Ruston
b1e2ea19a8 Merge pull request #1026 from andrey013/lazy-loading-indexed-transclusion
Lazy loading should be forced for indexing transclusion
2014-10-31 19:23:01 +00:00
Jermolene
97d36e26fc First pass at new introduction edition
It started life as the slides for a new introductory video, but I’m
thinking that it may be worth publishing as an interactive introduction.
2014-10-31 18:48:47 +00:00
Jermolene
0240d5edc8 Release note update 2014-10-31 11:33:39 +00:00
Jermolene
2e5c01f630 Remove extraneous console.log 2014-10-31 11:33:24 +00:00
Jermolene
31300b6e2e Make tag pills rounder
The tag pills were looking less like pills at larger font sizes,
because of the absolute units used for the corner roundness.
2014-10-31 10:02:09 +00:00
Jermolene
13726ef731 Add canned filter for recent system tiddlers
Useful when you need to establish the titles of tiddlers being used for
state storage.
2014-10-31 10:01:25 +00:00
Andrey Yankin
7eb8301020 Lazy loading should be forced for indexing also 2014-10-31 10:24:49 +03:00
Xavier Cazin
6eb43f3fbf fr-FR translation for the editions command help 2014-10-30 22:39:50 +01:00
Xavier Cazin
c9c189048e fr-FR translation for the unpackplugin command help 2014-10-30 22:31:02 +01:00
Xavier Cazin
d55693d85d fr-FR translation of the hint about external tiddlers 2014-10-30 22:20:54 +01:00
Xavier Cazin
11b6c52761 fr-FR translation of the core plugin readme 2014-10-30 22:19:49 +01:00
Jeremy Ruston
0a5eb0c848 Merge pull request #1023 from danielo515/patch-4
Added ActionNavigateWidget to the description
2014-10-30 13:02:35 +00:00
Jermolene
cc33fee9fd Typo 2014-10-30 12:47:58 +00:00
Jermolene
90096cbd36 Fix problem with codemirror editor and missing tiddlers 2014-10-30 12:28:26 +00:00
Jermolene
f069046f5b Docs update 2014-10-30 12:28:15 +00:00
danielo515
54fb3c11f9 Added ActionNavigateWidget to the description
Added ActionNavigateWidget to the list of widgets that can raise this message.
2014-10-30 11:35:01 +01:00
Jermolene
be2a74d623 Typos
Thanks @BramChen
2014-10-29 16:27:05 +00:00
Jermolene
d27eb7b757 Update link for Briefcase mGSD 2014-10-29 16:09:46 +00:00
Jermolene
c20c935faa Add video button image 2014-10-29 16:09:46 +00:00
Jermolene
62f69168b6 Move docs for new commands into prerelease
So that they don’t appear on tiddlywiki.com until the next release
2014-10-29 16:09:46 +00:00
Jeremy Ruston
dcb65d2ae0 Merge pull request #1021 from BramChen/master
Update chinese translations
2014-10-29 13:36:47 +00:00
Bram Chen
349abaddea Add zh help text of unpackplugin command 2014-10-29 21:30:45 +08:00
Jermolene
2eee132147 Increase size of flags in language dropdown 2014-10-29 12:15:32 +00:00
Jermolene
e7b4cab20d Use bordered flags for ja-JP and ru-RU
The borderless images don’t show up well in the menu
2014-10-29 12:15:19 +00:00
Jermolene
615425cf06 Updated Japanese translation 2014-10-29 11:54:46 +00:00
Jermolene
9b587ee203 Docs tiddler for editions command
We duplicate the command help tiddlers so that we can tag them.
2014-10-29 11:44:33 +00:00
Jermolene
3506c85807 Update extracting translations docs 2014-10-29 11:43:59 +00:00
Jermolene
17a594a97a Add unpackplugin command
Needed for the translators edition
2014-10-29 11:43:43 +00:00
Jermolene
f0df09c027 Stop translated strings moving in the list
Without sorting the list, we had ordinary tiddlers listed before shadow
tiddlers. That meant that as soon as you started to type in a shadow
tiddler it moved up in the list.
2014-10-29 11:04:58 +00:00
Jermolene
7fe8c4c4a1 Fixes for translators edition/plugin
* Added support for translating the core readme
* Fixed problem with `Misc.multids` rendering shadow tiddlers
* Fixed problem with single tiddler files rendering shadow tiddlers
2014-10-29 10:57:50 +00:00
Jeremy Ruston
4bce8ca8ff Merge pull request #1019 from BramChen/master
Update chinese translations
2014-10-29 08:45:56 +00:00
Jeremy Ruston
a205f142b3 Merge pull request #1020 from andrey013/ru-RU
Russian translation update
2014-10-29 08:44:11 +00:00
Jermolene
8ba1a9b72a Add Danish translation 2014-10-29 08:37:01 +00:00
Jermolene
73a3077365 Add support for splitting standalone translations 2014-10-29 08:36:48 +00:00
Andrey Yankin
fddefc0d52 Russian: Add support for custom search result visualisations 2014-10-29 09:46:04 +03:00
Bram Chen
9317923307 Add zh help text of editions command 2014-10-29 13:34:22 +08:00
Bram Chen
2aa74c9467 Add zh caption of default search results 2014-10-29 13:30:56 +08:00
Jeremy Ruston
d44d94e9b4 Merge pull request #1018 from Evolena/patch-2
Update selectWidget example (the tag was deleted)
2014-10-28 18:12:35 +00:00
Evolena
217614b7c6 Update selectWidget example (the tag was deleted) 2014-10-28 17:13:00 +01:00
Jeremy Ruston
c2245e1898 Merge pull request #1012 from erwanm/patch-1
Fixed the description of the operator
2014-10-28 14:12:01 +00:00
Jeremy Ruston
19f9587ac0 Merge pull request #1016 from Evolena/patch-1
Adding recursive sort parameter to toc macro
2014-10-28 10:47:25 +00:00
Evolena
e07cdb7eed Adding recursive sort parameter to toc macro 2014-10-28 10:49:49 +01:00
Jeremy Ruston
cdf67c34d0 Merge pull request #1015 from erwanm/patch-3
Update cla-individual.md
2014-10-28 08:56:23 +00:00
Jermolene
b0a0859b62 Allow control over default search results tab 2014-10-28 08:31:09 +00:00
Erwan Moreau
96ca36798e Update cla-individual.md 2014-10-27 23:21:44 +00:00
Jermolene
04d26e6fae First pass at an --editions command
Also added a “description” field for wiki folders.

Right now there’s too many editions listed. I think we should by
default only list editions whose `tiddlywiki.info` file has
`showInListings` set to `true`, and have an `--editions all` command
that lists everything.

@pmario please could you check that the editions in your
`TIDDLYWIKI_EDITION_PATH` are correctly listed?
2014-10-27 21:50:25 +00:00
Jermolene
3d07b11894 Docs update
Fixes #1014 raised by @erwanm
2014-10-27 19:39:41 +00:00
Jermolene
c13cf94413 Add support for custom search result visualisations 2014-10-27 18:38:34 +00:00
access-denied
f8df354fc0 Corrections to el-GR translations
Some minor corrections to translations.
2014-10-27 00:06:07 +02:00
Erwan Moreau
58948d2093 Fixed the description of the operator
the previous description was erroneous: the operand is not the number of entries to return, but the position of the entry to select.
2014-10-26 18:53:35 +00:00
access-denied
8d3463e3df Greek translation
First attempt for translating Greek (Greece)
2014-10-26 20:33:07 +02:00
Jermolene
91ec164361 Typo 2014-10-26 11:51:50 +00:00
Jermolene
3fea51a08b Reorganise docs updates for 5.1.5 additions
We’ll keep the docs for the new features in the prerelease edition
until the release of 5.1.5. This means that we can continue to build
the tw5.com edition without including the 5.1.5-specific content.
2014-10-25 14:24:01 +01:00
Jermolene
86c56d846e Release note update 2014-10-25 14:04:01 +01:00
Jermolene
d8248cfba7 Introduce action-setfield widget 2014-10-25 14:02:34 +01:00
Jermolene
c724439a08 Docs update 2014-10-25 14:02:21 +01:00
Jermolene
19272a7ca2 Update release note 2014-10-25 14:02:04 +01:00
Jermolene
cf1fb650d5 Tighten up multiline translators editors 2014-10-25 10:26:11 +01:00
Jermolene
4b808396f2 Missing semicolon 2014-10-25 10:25:55 +01:00
Jermolene
4a17212576 Enhance height control for edit-text widget
Added the option to disable automatic resizing, and the ability to
specify the minimum height.
2014-10-25 10:09:17 +01:00
Jermolene
80e67f5028 Docs tweaks 2014-10-24 18:02:34 +01:00
Jeremy Ruston
6e9508be66 Merge pull request #1007 from ArmchairDesigner/improve-docs
some doc updates
2014-10-24 17:55:53 +01:00
Jermolene
da86664a53 Update docs for select widget 2014-10-24 16:52:20 +01:00
Jermolene
2bc9a7b115 Clarify code block docs 2014-10-24 14:50:19 +01:00
Jermolene
29a8b2e718 Translator edition tweaks 2014-10-24 13:52:51 +01:00
Jermolene
a2672482c9 Add dropdown for filtering translatable strings
The user can now choose between showing all strings, just those that
haven’t been translated, or just those that have been translated.
2014-10-24 12:50:23 +01:00
Jermolene
39e37d5776 Improvements to translators edition
More improvements for #984
2014-10-24 11:18:37 +01:00
Jermolene
485ffae366 Refactor the page controls to be more reusable
Moving them into their own tiddler makes it easier to transclude them
elsewhere
2014-10-24 11:17:58 +01:00
Jermolene
30a757ec49 Dev docs typo 2014-10-22 17:23:22 +01:00
Jermolene
5e199f6b7d Preparing for 5.1.5 2014-10-22 17:23:13 +01:00
Jermolene
fe4c8da860 Version number update for 5.1.4 2014-10-22 16:58:42 +01:00
Jermolene
243327436f Readme updates 2014-10-22 16:58:15 +01:00
Jermolene
d3ff98198f Preparing for release of 5.1.4 2014-10-22 16:56:26 +01:00
Jermolene
485b921bf6 Docs tweaks 2014-10-22 16:54:21 +01:00
Jermolene
7f9fb117e9 Clarify warning 2014-10-22 16:47:20 +01:00
Jermolene
ab77f96caf Adjust wording of theme tweaks 2014-10-22 16:45:20 +01:00
Jermolene
55f0b917e0 Hide advanced search toolbar button by default 2014-10-22 16:45:11 +01:00
Jermolene
ffdbe612b0 Release note update 2014-10-22 16:40:48 +01:00
Jermolene
6681a8e1f2 Add an advanced search toolbar button 2014-10-22 16:30:41 +01:00
Jermolene
fbb6349cd9 More fieldmangler typos 2014-10-22 16:09:04 +01:00
Jeremy Ruston
2046dbc4ed Merge pull request #1005 from danielo515/patch-1
small typo on WidgetMessage: tm-add-field
2014-10-22 16:08:14 +01:00
Jermolene
b23b4b95ef Dev docs update 2014-10-22 16:08:06 +01:00
danielo515
e02cfc3efd small typo on WidgetMessage: tm-add-field
You can read FieldMangerWidget instead of FieldManglerWidget. A single L is missing, so the links are not working properly.
2014-10-22 17:01:47 +02:00
Jermolene
5bb74319e1 First pass at an edition for translators working in the browser
The user interface needs some refinements but it shows the basic
principles.

The idea is that the translator would email their modified file, which
would then be merged into the core repo (some additional tools will be
helpful for this).

Fixes #984
2014-10-22 14:14:24 +01:00
Jermolene
1b620387dd Extend the view widget to work with subtiddlers 2014-10-22 14:12:49 +01:00
Jermolene
9a067b8dac Ensure JS macros return text 2014-10-22 10:33:56 +01:00
Jermolene
26e50b81e5 Add theme tweaks for body text size
Fixes #891
2014-10-22 08:32:36 +01:00
Jermolene
ddc7495542 Move search result count logic out of translations
Also fixes a problem pointed out by @Evolena whereby the advanced
search counts hadn’t been adjusted to remove `$:/temp/advancedsearch`
from the search.
2014-10-21 20:27:42 +01:00
Jermolene
53d834c86b Use titles when dragging links to non-TiddlyWiki destinations
Handily, this means that you can drag tiddler links from the sidebar
into the text editor, making it easier to create links and
transclusions.
2014-10-21 19:51:18 +01:00
Jermolene
b052e8f50b Report command errors through $tw.utils.error
So that we get the new colourisation
2014-10-21 19:31:50 +01:00
Jermolene
e62e38d66c Add warning when serving a non-existent wiki folder
The warning will be yellow to make it noticeable
2014-10-21 19:31:29 +01:00
Jermolene
5d600ce31b Coloured warnings and errors under Node.js 2014-10-21 19:30:27 +01:00
Jermolene
9fedf38657 Remove checking for missing wiki folders
Thus undoing 744245ea32 because of #1002
2014-10-21 19:28:38 +01:00
Jermolene
e6eeac0bbf Improved export icon 2014-10-21 15:55:48 +01:00
Jeremy Ruston
8eb68bc384 Merge pull request #1001 from gernert/patch-4
Update WidgetMessage_ tm-add-tag.tid
2014-10-21 13:30:00 +01:00
Jermolene
ba81008951 Docs typos 2014-10-21 13:25:27 +01:00
gernert
6a47117737 Update WidgetMessage_ tm-add-tag.tid 2014-10-21 14:23:40 +02:00
Yaka
47b99d635a some doc updates 2014-10-21 11:07:49 +00:00
Jermolene
ea97a8a2bc Preparing for 5.1.4 2014-10-20 18:54:07 +01:00
Jermolene
72bf150eac Version number update for 5.1.3 2014-10-20 18:14:33 +01:00
Jermolene
deebb90b46 Update release instructions 2014-10-20 18:14:00 +01:00
Jermolene
7dce3c3ecc Move release note and update HelloThere
Preparing for release of 5.1.3
2014-10-20 18:11:22 +01:00
Jermolene
d83666c24b Readme update 2014-10-20 18:06:18 +01:00
Jermolene
561aaa925b Filename typo 2014-10-20 18:06:08 +01:00
Jermolene
5c137b9002 Docs for update to browse widget 2014-10-20 16:57:06 +01:00
Jermolene
71bc78b176 Coding style cleanups 2014-10-20 16:53:42 +01:00
Jeremy Ruston
f6883e5365 Merge pull request #999 from Eucaly/browse-widget
adding a message attribute to the browse widget
2014-10-20 16:49:06 +01:00
Jermolene
9bc4345cb4 Release note update 2014-10-20 16:12:32 +01:00
Jermolene
cf12bcd58a Docs updates 2014-10-20 16:12:24 +01:00
Eucaly
0bbd5eb292 adding a message attribute to the browse widget
* extend browse widget with a message attribute. If blank then import as
original. Otherwise, dispatch the given message with selected files
2014-10-20 21:57:15 +08:00
Jeremy Ruston
f25053490e Merge pull request #998 from xcazin/ogg
Add audio/ogg  to the list of recognised formats
2014-10-20 12:30:00 +01:00
Jermolene
244b3256a9 Docs on putting last modification date in banner 2014-10-20 12:24:28 +01:00
Jermolene
b8ac80fd1a Docs tweaks 2014-10-20 12:09:02 +01:00
Jermolene
aec4c3cd91 Clean up formatting of github fork ribbon 2014-10-20 11:56:13 +01:00
Jermolene
4314fb478d Add new Japanese site to community links 2014-10-20 08:30:53 +01:00
Xavier Cazin
66765ce158 Explicitly states that external Audio uri may also point to audio streams, not only files 2014-10-19 22:13:28 +02:00
Xavier Cazin
6833bfb220 Add audio/ogg to the list of recognised audio formats 2014-10-19 22:09:17 +02:00
Jeremy Ruston
1914b3d8e1 Merge pull request #932 from Marxsal/patch-1
Create How to apply custom style classes by tag
2014-10-19 18:07:28 +01:00
Jermolene
f9cab4bc12 Add fake dom documentation 2014-10-19 13:34:07 +01:00
Jermolene
12e26009ee Allow percentage width and height on image widget 2014-10-19 13:21:20 +01:00
Jeremy Ruston
299bef2a77 Merge pull request #991 from andrey013/ru-RU
Russian translation update
2014-10-19 09:46:30 +01:00
Jeremy Ruston
02b8a8b9d4 Merge pull request #994 from Marxsal/patch-2
Update cla-individual.md
2014-10-19 09:39:53 +01:00
Jermolene
55397e0ab1 Docs tweaks
Thanks @xcazin
2014-10-19 09:39:33 +01:00
Jermolene
9d53a1b5c4 Update macros docs 2014-10-19 09:18:39 +01:00
Jermolene
e1ac85ddd5 Docs: Clarify importing simplified TW files 2014-10-18 19:50:42 +01:00
Jermolene
744245ea32 Raise error for missing wiki folders
Only raise the error if the wiki path is explicitly specified on the
command line, avoiding `tiddlywiki —version` raising an error if the
current directory isn’t a wiki folder.

Fixes #990
2014-10-18 19:39:39 +01:00
Jermolene
9a4bda9c85 Docs tweaks 2014-10-18 19:15:04 +01:00
Marxsal
18ceb63f18 Update cla-individual.md 2014-10-18 11:05:17 -07:00
Jeremy Ruston
3305874235 Merge pull request #992 from Eucaly/variables
add Subsitutions in WikiText
2014-10-18 18:57:13 +01:00
Jermolene
6c76670137 Removed outdated comment 2014-10-18 17:46:19 +01:00
Jermolene
9a36dc61ec Improve docs on TW file format 2014-10-18 17:42:24 +01:00
Jeremy Ruston
da9f634cf7 Merge pull request #993 from xcazin/new_fr-FR
fr-FR upgrader module description string + change case of long version of month names
2014-10-18 17:30:11 +01:00
Xavier Cazin
ae7cce3c59 fr-FR months are more often displayed in lowercase 2014-10-18 17:40:26 +02:00
Xavier Cazin
67dbbc8d65 fr-FR description of the upgrader module type 2014-10-18 17:40:11 +02:00
Jermolene
2ffe53f191 Add audio parser for handling audio content 2014-10-18 14:50:07 +01:00
Jermolene
ea3bdb5556 Release note update 2014-10-18 14:49:43 +01:00
Eucaly
159a310bab add Subsitutions in WikiText 2014-10-18 18:49:10 +08:00
Eucaly
15f3c284ae add Subsitutions in WikiText 2014-10-18 18:45:46 +08:00
Eucaly
7121828980 Merge pull request #1 from Jermolene/master
sync with master
2014-10-18 16:42:00 +08:00
Andrey Yankin
b2dd87f44a russian translation update 2014-10-18 00:01:05 +04:00
Jermolene
564457de1c Update to KaTeX v0.1.1 2014-10-17 20:10:38 +01:00
Andrey Yankin
4194c7e3dd Merge remote-tracking branch 'upstream/master' 2014-10-17 22:56:54 +04:00
Jermolene
21a791cdcd Docs updates 2014-10-17 16:29:27 +01:00
Jermolene
ad13d57523 Use separate state for each slider demo
Fixes #988
2014-10-17 10:02:21 +01:00
Jeremy Ruston
713792831e Merge pull request #989 from BramChen/master
Update chinese translations for adding description for "upgrader" modules
2014-10-17 09:59:16 +01:00
Jermolene
209c018c38 Docs updates 2014-10-16 10:01:02 +01:00
Jermolene
a4c1fee075 Update test.cmd 2014-10-16 10:00:55 +01:00
Jermolene
fc2d3ce56a Docs update 2014-10-16 09:27:25 +01:00
Bram Chen
f20286fb26 Update chinese translations for adding description for "upgrader" modules 2014-10-16 15:48:07 +08:00
Jermolene
dcc33e52b3 Docs updates 2014-10-15 21:56:32 +01:00
Jermolene
e188662438 Move prerelease release note
The release note for the pending release should be part of the
prerelease edition
2014-10-15 21:56:24 +01:00
Jermolene
7672fb37a7 Simplify test script 2014-10-15 21:55:45 +01:00
Jermolene
b0b89fac72 Moved to build.jermolene.github.io 2014-10-15 21:55:33 +01:00
Jermolene
d91e4be74e Docs updates 2014-10-15 19:46:11 +01:00
Jeremy Ruston
ec7eddfc4e Merge pull request #974 from xcazin/fixtw5.com
Fix caption field of the NowMacro doc tiddler
2014-10-15 19:34:15 +01:00
Jermolene
b94fc7b647 Clarify docs for limit parameter of timeline macro
Prompted by a comment in #975
2014-10-15 17:57:00 +01:00
Jermolene
5211f9c40c Fix problem with timeline subfilter
Fixes #975
2014-10-15 17:48:45 +01:00
Jermolene
c1e60736d8 Add description for "upgrader" modules
Fixes #982
2014-10-15 17:07:49 +01:00
Jeremy Ruston
9a43f9df7c Merge pull request #985 from pmario/language-de
some adjustments due to feedback
2014-10-15 16:41:54 +01:00
Jermolene
b0bd5ba96f Build and release docs update 2014-10-15 16:18:08 +01:00
Jermolene
ca650e2012 Stop building a separate readme for tw2 edition 2014-10-15 16:18:00 +01:00
Jermolene
5dfda99388 Remove scripts that have moved to build.jermolene.github.io 2014-10-15 16:17:46 +01:00
Mario Pietsch
230f2d96de some adjustments due to feedback 2014-10-15 15:49:53 +02:00
Jermolene
ed5a87c019 Docs tweaks 2014-10-15 09:17:00 +01:00
Jermolene
f721e25b8c Docs update 2014-10-14 15:15:56 +01:00
Jermolene
86ec42c8c7 Readme for build.jermolene.github.io 2014-10-14 15:15:48 +01:00
Jermolene
62c31ed37a Add prerelease edition
This is the edition that we’ll use for publishing prerelease/beta
builds of TW
2014-10-14 15:15:20 +01:00
Jermolene
49dc5694a3 Enhance "includeWikis" to merge build targets
Build targets found in included wikis are merged behind any found in
the wiki itself
2014-10-14 15:14:50 +01:00
Xavier Cazin
4b3d634b25 Fix caption field of NowMacro doc tiddler 2014-10-13 18:08:28 +02:00
Jermolene
2d25c40227 Remove backslashes from example commands 2014-10-13 09:59:34 +01:00
Jermolene
6ec87efb5a Remove references to $TW5_BUILD_OUTPUT 2014-10-13 09:56:52 +01:00
Jeremy Ruston
a501115afb Merge pull request #972 from pmario/language-de
revert leading 0 for timeline, but use it with Journal
2014-10-13 09:26:57 +01:00
Jermolene
5154a83cf9 Exclude search string tiddler from search results 2014-10-13 09:11:34 +01:00
Jermolene
18fa5a4a5d Fix typo
Thanks @TheDiveO
2014-10-12 16:57:01 +01:00
Jeremy Ruston
90ac41b9ec Merge pull request #967 from pmario/german-videos
german video links for saving with chrome, firefox, ie
2014-10-12 16:50:14 +01:00
Mario Pietsch
316e1eca3f fix video protocol 2014-10-12 17:45:54 +02:00
Jermolene
c39b5b913c Docs tweak 2014-10-12 16:45:53 +01:00
Jeremy Ruston
d053b960b6 Merge pull request #963 from Evolena/patch-3
Fix some bad links
2014-10-12 16:38:08 +01:00
Mario Pietsch
554d2c689c revert leading 0 for timeline, but use it with Journal 2014-10-12 17:31:59 +02:00
Jeremy Ruston
0cbe396efb Merge pull request #968 from pmario/language-de
Language de Misc and Dates according to en-GB
2014-10-12 16:26:12 +01:00
Jermolene
601884d894 Docs tweaks 2014-10-12 16:25:52 +01:00
Mario Pietsch
73bc2a1848 remove duplicated elements 2014-10-12 17:20:04 +02:00
Jermolene
4519c47551 Docs update 2014-10-12 16:15:08 +01:00
Mario Pietsch
473b28585a dates and misc same as en-GB now 2014-10-12 17:05:04 +02:00
Mario Pietsch
6fc14e5c1f german video links for saving with chrome, firefox, ie 2014-10-12 16:28:02 +02:00
Evolena
2fe095fcd1 Fix bad links 2014-10-12 13:59:26 +02:00
Jeremy Ruston
824f9c1d8c Merge pull request #965 from xcazin/renew-fr-FR
Journal- and NewTiddler- related fr-FR strings
2014-10-12 10:25:04 +01:00
Xavier Cazin
b81095349f Revert NewJournal fr-FR pattern to be the same as en-GB 2014-10-12 11:14:16 +02:00
Jeremy Ruston
7f7ab768f7 Merge pull request #964 from simonbaird/master
Add span wrapper around button caption text
2014-10-12 09:42:24 +01:00
Jermolene
1695d5fe29 Docs tweaks 2014-10-12 09:42:16 +01:00
Xavier Cazin
4840357ea0 Typo in fr-FR Dates 2014-10-11 20:19:43 +02:00
Xavier Cazin
ca2afd9eef Journal- and NewTiddler- related fr-FR strings 2014-10-11 20:18:20 +02:00
Simon Baird
0671e59fed Add span wrapper around button caption text
Reasons:
- can show or hide the button text with CSS (assuming
  tv-config-toolbar-text is yes).
- can have different looking buttons in the page controls versus the
  view toolbar, etc
- more flexibility styling the button appearance, for example you
  can change the text size compared to the icon size
- button appearance is more themeable
2014-10-12 01:43:01 +10:00
Jermolene
06f9ed8bad Generate new tiddler titles that aren't already subject of a draft 2014-10-10 20:58:56 +01:00
Jermolene
644ced6d4e Preserve modified title when reusing drafts
Should fix the problem raised by @xcazin
2014-10-10 20:58:34 +01:00
Jermolene
a671e72706 Fix problem with import button triggering checkbox on Firefox
It seems that there is a broader problem with the way that the button
is embedded within the label of a checkbox; even on Chrome it meant
that the checkbox active state was triggered when clicking on any of
the buttons. The user experience was in any case confusing; it wasn’t
obvious that clicking on the label to the right of the button would
flick the checkbox.

The solution takes the buttons and labels out of the checkbox label.
2014-10-10 20:50:50 +01:00
Jermolene
f7bdb1c04d Docs updates 2014-10-10 20:32:22 +01:00
Jermolene
9a6f1f66be Yet more fixing for the Firefox jumping toolbar problem...
See #282
2014-10-10 20:32:12 +01:00
Jermolene
6e4dccda4c Docs update 2014-10-10 10:35:43 +01:00
Jermolene
03defe4256 Docs cleanup 2014-10-10 10:35:36 +01:00
Jermolene
39b7771f87 Update release notes 2014-10-10 10:31:17 +01:00
Jermolene
087a0aec58 Fixed typo in language files 2014-10-10 10:31:10 +01:00
Jermolene
f37a7101a7 Fix problem with new tiddler button 2014-10-10 10:17:42 +01:00
Jermolene
e90e588621 Missed from last commit 2014-10-10 10:13:02 +01:00
Jermolene
353f641bcc Move date-related translateable strings into their own file 2014-10-10 10:12:40 +01:00
Jermolene
a8d83096d3 Fix behaviour of new tiddler message
Resolves some inconsistencies over the behaviour of the new tiddler
message under various circumstances.

“new journal here” when a journal for today already exists now brings
up the existing journal for editing, and adds the required tag.

I’d be very grateful for any testing of the behaviour here: try using
new tiddler, clone tiddler, new here, new journal here, and new journal
in various combinations (eg with the draft not existing, already
existing, open or closed etc), and let me know of any peculiarities.
2014-10-10 09:52:19 +01:00
Jermolene
1e02a9f0db Correct return value for makeDraftTiddler 2014-10-10 09:03:35 +01:00
Jeremy Ruston
d74fc931c1 Merge pull request #960 from BramChen/master
Update chinese translations
2014-10-10 08:05:52 +01:00
Bram Chen
1460b6ec12 Add chinese translations of new journal here button 2014-10-10 09:10:50 +08:00
Jermolene
a7c9112c40 Add new filter example 2014-10-09 20:51:58 +01:00
Jermolene
9cd420290b Fix for titles including double quotes 2014-10-09 20:11:11 +01:00
Jermolene
5f08f89956 Add link to Iannis Zannos hints site 2014-10-09 18:08:05 +01:00
Jermolene
ea7d9652c5 Move new journal here button to the correct directory 2014-10-09 18:00:34 +01:00
Jermolene
515b556b48 Fix for previous fix
Fix for problem introduced in 25f4ce93ac
2014-10-09 17:51:29 +01:00
Jermolene
25f4ce93ac Fixed truncation of tiddler info panel
Caused by the fix to #282
2014-10-09 17:42:18 +01:00
Jermolene
d6dc4c14d7 Add new-journal-here button to viewtoolbar ordering 2014-10-09 17:36:33 +01:00
Jeremy Ruston
fcf843d5b1 Merge pull request #959 from simonbaird/new-journal-here
Add a 'new journal here' button
2014-10-09 17:34:13 +01:00
Jermolene
3827f98a43 Improve new tiddler behaviour with existing tiddlers
Now repeatedly clicking “new journal” will reuse the existing journal
if one exists
2014-10-09 17:30:53 +01:00
Jermolene
612e05a247 pushTop should return resulting array 2014-10-09 17:28:39 +01:00
Simon Baird
00cdd04edd Add a 'new journal here' button
The journal tiddler will be tagged with the name of the current
tiddler. This is similar to how the new here button works.

(Would have liked to reuse the journalButton code which is almost
identical between new-journal-here and new-journal, but I'm not
sure how to do it.)
2014-10-10 02:06:56 +10:00
Jermolene
5010859ed6 This deals with one of the specific issues raised in #922, but doesn’t
address the general issue.
2014-10-09 14:56:38 +01:00
Jeremy Ruston
7ed7cbc948 Merge pull request #950 from BramChen/master
Update chinese translations
2014-10-09 13:49:29 +01:00
Jeremy Ruston
b05ff2a5d7 Merge pull request #952 from fghhfg/patch-10
Update Searching.tid
2014-10-09 13:38:43 +01:00
Bram Chen
804c7de635 Add NewJournal.multids for chinese translations 2014-10-09 20:33:57 +08:00
Jermolene
4e37a9fb09 Navigate widget docs update 2014-10-09 13:28:12 +01:00
Bram Chen
4255084913 Merge remote-tracking branch 'upstream/master' 2014-10-09 20:21:11 +08:00
Jeremy Ruston
c538712a2e Merge pull request #953 from buggyj/tw2parserdoc
add install instruction
2014-10-09 13:13:56 +01:00
Jeremy Ruston
f2b8d0b2f9 Merge pull request #955 from pmario/language-de
new UI texts, fixing some more typos
2014-10-09 13:13:28 +01:00
Jermolene
3682c26817 Move new journal strings into language directory 2014-10-09 13:09:59 +01:00
Jermolene
36a43c3f41 Ensure new-here tag is quoted
Fixes problem with new here on tiddlers with spaces in their title.
Thanks to @simonbaird

Fixes #956
2014-10-09 13:08:11 +01:00
Mario Pietsch
896b7c2585 added date translations. Fix default date formats 2014-10-09 14:00:45 +02:00
Bram Chen
01b515a4f4 Add chinese date format strings 2014-10-09 18:29:14 +08:00
Bram Chen
e8c56e57cc Merge remote-tracking branch 'upstream/master' 2014-10-09 18:01:26 +08:00
Jermolene
c6951ee912 Make date format strings be translateable
Note for translators: I’m planning to release 5.1.3 later today.

Fixes #954
2014-10-09 10:33:08 +01:00
Mario Pietsch
8b1d6d235b new UI texts, fixing some more typos 2014-10-09 10:56:27 +02:00
Bram Chen
9075495cc8 Revert to simple tooltip for newhere button for chinese translations 2014-10-09 16:33:46 +08:00
Bram Chen
be3239ecc0 Merge remote-tracking branch 'upstream/master' 2014-10-09 16:32:12 +08:00
Jermolene
e34b4f18e5 Improve new here button 2014-10-09 09:31:26 +01:00
Jermolene
90997020e7 Revert to simple tooltip for newhere button
At present we can’t arrange for the hint to be wikified when it’s used
as the button tooltip.
2014-10-09 08:44:23 +01:00
buggyj
18877f9237 add install instruction 2014-10-09 08:21:00 +02:00
Bram Chen
e5f20d1a9c Update chinese translations
* Add "new here" button
* Add "new journal" button
* Add default title of new tiddler
2014-10-09 13:54:47 +08:00
Bram Chen
b486846a74 Merge remote-tracking branch 'upstream/master' 2014-10-09 09:27:50 +08:00
Jermolene
70984aa39f Add "new here" button
This is a basic “new here” tiddler toolbar button that just creates a
new tiddler tagged with the title of the current tiddler.

@pmario is there anything else required?
2014-10-08 22:02:32 +01:00
Jermolene
c322dc82c3 Simplify new journal button 2014-10-08 20:11:54 +01:00
Jermolene
b53074a0cc Update "Introduction to Filters" docs 2014-10-08 19:02:54 +01:00
Jermolene
d778a90eb0 Make new journal title and tags be configurable 2014-10-08 18:35:25 +01:00
Jermolene
e872f17842 Add a new journal page toolbar button
Spot the easter egg with the toolbar button…

Fixes #336
2014-10-08 17:46:34 +01:00
Jermolene
0dcf54c3b5 Add support for action widgets
This is part of the groundwork for fixing #336
2014-10-08 17:45:26 +01:00
Jermolene
3b69b7b6e8 Coding style tweak 2014-10-08 14:07:48 +01:00
fghhfg
a361ab0608 Update Searching.tid 2014-10-08 16:21:09 +08:00
Bram Chen
96d1981dcc Update chinese translations
* Add confirmation for clearing password
2014-10-08 09:21:54 +08:00
Jermolene
a604afe871 Fix list in "Filters" tiddler
Mentioned by @Evolena in #922
2014-10-07 22:33:06 +01:00
Jermolene
dc9981322a Increase size of search cancel button 2014-10-07 22:11:43 +01:00
Jermolene
ff23a84d28 Docs tweaks 2014-10-07 21:44:54 +01:00
Jeremy Ruston
bbc1d18e25 Merge pull request #949 from fghhfg/patch-8
Update Learning.tid
2014-10-07 21:41:17 +01:00
fghhfg
b3c3442024 Update Learning.tid 2014-10-08 04:21:13 +08:00
Jermolene
b3dcd7d625 Fix tiddler title background colour for sticky titles 2014-10-07 20:41:22 +01:00
Jermolene
70c8659948 Update release note 2014-10-07 15:50:46 +01:00
Jermolene
ef1d531091 Add confirmation for clearing password
Fixes #925
2014-10-07 14:35:42 +01:00
Jermolene
a0460c391b Fix problem with recent zoomin changes 2014-10-07 14:07:55 +01:00
Jermolene
09b6540998 Update history for tm-home message 2014-10-07 14:07:41 +01:00
Jeremy Ruston
c475302663 Merge pull request #940 from fghhfg/patch-1
Simplify upgrading instructions
2014-10-07 13:26:30 +01:00
Jermolene
dd829d9140 Docs tweaks 2014-10-07 13:16:24 +01:00
Jermolene
cda495d692 Doc tweaks 2014-10-07 13:16:04 +01:00
Jeremy Ruston
e108799791 Merge pull request #942 from fghhfg/patch-3
add how to install plugin
2014-10-07 13:03:55 +01:00
Jermolene
811e92c0eb Docs update 2014-10-07 13:02:43 +01:00
Jeremy Ruston
766ec38487 Merge pull request #944 from fghhfg/patch-5
more clear "How to sign the CLA"
2014-10-07 13:00:58 +01:00
Jeremy Ruston
002b07d096 Merge pull request #945 from fghhfg/patch-6
add a example
2014-10-07 09:57:34 +01:00
Jeremy Ruston
68b7212150 Merge pull request #946 from fghhfg/patch-7
add some way to invoke macro
2014-10-07 09:46:29 +01:00
Jeremy Ruston
65504d5d41 Merge pull request #928 from TheDiveO/filter-operators-addsufprefix
addprefix and addsuffix filter operators
2014-10-07 09:44:31 +01:00
Jermolene
548776e828 Add KaTeX static build 2014-10-06 21:20:28 +01:00
Jermolene
63c174d7ed Update KaTeX wrapper to support operation under Node.js
Now we can generate static HTML containing mathematical typesetting
2014-10-06 21:20:19 +01:00
Jermolene
cbe2a53d6a Extend fakedom for KaTeX on Node.js
To make KaTeX work on the server we need to add support for the style
attribute and for setting the textContent of an element.
2014-10-06 21:10:35 +01:00
TheDiveO
f6f9c74fe9 added documentation tiddlers for addprefix and addsuffix; updated
documentation tiddlers for prefix, suffix, removeprefix, removesuffix to
reference the new addprefix and addsuffix filter operators.
2014-10-06 21:49:54 +02:00
fghhfg
651ed60987 add some way to invoke macro 2014-10-07 02:28:40 +08:00
fghhfg
f2e97eeb25 add a example 2014-10-07 00:38:12 +08:00
fghhfg
0d7209ff2f more clear "How to sign the CLA" 2014-10-06 23:38:48 +08:00
Jeremy Ruston
3630a2191e Merge pull request #943 from fghhfg/patch-4
CLA signature from @fghhfg
2014-10-06 16:21:36 +01:00
fghhfg
a2ddf6c4a0 i'm not sure what i'm doing... 2014-10-06 23:19:16 +08:00
fghhfg
e6d59ece6f add how to install plugin 2014-10-06 22:36:02 +08:00
Jermolene
b7bbcfa056 Prompt twice when setting password
Fixes #364
2014-10-06 10:22:09 +01:00
Jermolene
0c8e538077 Add support for custom password prompts 2014-10-06 10:02:34 +01:00
Jermolene
67db9d57a2 Boot prefix should preserve $tw in the browser
This change allows raw markup tiddlers to preload configuration values
into the `$tw` global
2014-10-06 10:02:20 +01:00
fghhfg
61acea7e8d make simpler 2014-10-06 16:32:23 +08:00
Jermolene
5dd6ebff05 Fix problem with zoomin storyview and hidden sidebar
Fixes #933
2014-10-06 09:18:29 +01:00
Andrey Yankin
2b236ceed3 Merge pull request #2 from Jermolene/master
Following the origin
2014-10-05 21:00:16 +04:00
Jeremy Ruston
c126294ae5 Merge pull request #924 from andrey013/ru-RU
Russian translation
2014-10-05 16:35:47 +01:00
Jermolene
3048b79a45 Update button widget docs
Fixes #927
2014-10-05 16:33:05 +01:00
Jeremy Ruston
b9ed7e52c2 Merge pull request #929 from Eucaly/update-dev-doc
update JavaScript Macros reference link to dev document
2014-10-05 16:25:55 +01:00
Jermolene
cc576b052e Fix "each" filter operator with missing tiddlers
Fixes #930
2014-10-05 16:25:01 +01:00
Jermolene
535b695167 Docs edit 2014-10-05 16:18:56 +01:00
Jeremy Ruston
4d732c5733 Merge pull request #931 from gernert/patch-2
Update Lists in WikiText.tid
2014-10-05 16:06:39 +01:00
Jeremy Ruston
02d37dcfcc Merge pull request #934 from pmario/fix-untagged-pill-css
tc-untagged-label doesn't work, because button.tc-tag-label is more specific
2014-10-05 16:00:10 +01:00
Jeremy Ruston
cf6efa7ee5 Merge pull request #935 from Eucaly/variables
add WidgetVariable documentation
2014-10-05 15:59:32 +01:00
Jermolene
15905f3b7a Correct fix for #282
Thanks @pmario and @andrey013
2014-10-05 12:44:06 +01:00
Andrey Yankin
1c5c899096 dragger, dropdown, untagged pill, static alert 2014-10-04 23:38:09 +04:00
Andrey Yankin
e624f52374 Russian palette colours not finished 2014-10-04 23:38:09 +04:00
Andrey Yankin
46749d5f46 Russian fields 2014-10-04 23:38:09 +04:00
Andrey Yankin
cf6c8e23fb Russian ModuleTypes 2014-10-04 23:38:09 +04:00
Andrey Yankin
90ac097f38 svg 2014-10-04 23:38:09 +04:00
Andrey Yankin
e14d151273 types 2014-10-04 23:38:09 +04:00
Andrey Yankin
443dae39ba move fields translation to docs folder 2014-10-04 23:38:09 +04:00
Andrey Yankin
2188ecb91d Upgrader Russian translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
3fd52fab0c LoadedModules incomplete translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
a81375b432 small fix 2014-10-04 23:38:09 +04:00
Andrey Yankin
9a5c7a063c Date format 2014-10-04 23:38:09 +04:00
Andrey Yankin
352c3189da Russian control panel 2014-10-04 23:38:09 +04:00
Andrey Yankin
40cc1fcf5e misc 2014-10-04 23:38:09 +04:00
Andrey Yankin
ad71a102c2 Sign the CLA 2014-10-04 23:38:09 +04:00
Andrey Yankin
b311409924 edit form, filters, getting started, importer, search and info form russian translation 2014-10-04 23:38:09 +04:00
Andrey Yankin
65ba441e81 Russian sidebar 2014-10-04 23:38:09 +04:00
Andrey Yankin
10e7e53a10 Russian buttons 2014-10-04 23:38:09 +04:00
Andrey Yankin
9add946484 Russian flag 2014-10-04 23:38:09 +04:00
Andrey Yankin
fb799a57ff Start russian translation 2014-10-04 23:38:08 +04:00
Andrey Yankin
25cf30b946 Merge pull request #1 from Jermolene/master
Fix Firefox toolbar jump
2014-10-04 23:25:48 +04:00
Jermolene
3ca8d7b6cc Fix Firefox toolbar jump
Fixes #282
2014-10-04 12:17:47 +01:00
Eucaly
52a2d5ade2 update WidgetVariable documentation 2014-10-03 07:15:06 +08:00
Eucaly
d9ccac21d0 add WidgetVariable documentation 2014-10-02 23:02:48 +08:00
Mario Pietsch
f85b07e70b tc-untagged-label because button.tc-tag-label is more specific and also defines the background color. ... weak design 2014-10-02 15:41:40 +02:00
Markqz
6071f3d385 Create How to apply custom style classes by tag 2014-10-01 13:06:44 -08:00
gernert
e343ccc458 Update Lists in WikiText.tid
An extra example with numbers as first level
2014-10-01 19:54:34 +02:00
Eucaly
3acb5de407 update JavaScript Macros reference link to dev document 2014-10-01 18:36:04 +08:00
TheDiveO
05280f09d7 Added new filter operator for adding prefixes and suffixes to titles; these new filter operators are useful in contexts where only a filter expression is allowed and where macro processing isn't allowed. The filters complement the existing remove suffix and prefix filter operators. (So much for the "filter" in filter operator.) 2014-09-30 23:01:32 +02:00
Jermolene
459133cc57 Remove unused file watching code from filesystemadaptor
This code was contributed by @natecain and added in #176. It was almost
immediately disabled because of problems in the field.

I’m removing the code now to simplify the adaptor in advance of some
planned refactoring.
2014-09-28 23:46:55 +01:00
Jeremy Ruston
860a7070a9 Merge pull request #920 from xcazin/list-links
Tweak of the list-links macro in order to display caption fields if present
2014-09-28 20:33:30 +01:00
Xavier Cazin
c26bd4c5a8 Tweak of the list-links macro in order to display caption fields if present 2014-09-28 21:11:58 +02:00
Jermolene
6626da9b3b Update tabs macro documentation 2014-09-28 12:25:27 +01:00
Jermolene
e51c4fcb92 Adjust list macro docs 2014-09-28 09:58:27 +01:00
Jeremy Ruston
e028b87ce8 Merge pull request #918 from pmario/fr-coremacro-classes
Like the tabs macro, the list macro should get a possibility to add a class parameter
2014-09-28 09:56:40 +01:00
Jermolene
7ccf43d3ca Preparing for 5.1.3 2014-09-28 09:56:17 +01:00
Mario Pietsch
1f7a4e3336 fix docs, typo 2014-09-28 10:42:15 +02:00
Mario Pietsch
59f04ffd31 add class parameter to list-links macro 2014-09-28 10:32:54 +02:00
Mario Pietsch
32fcd2e21b Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-09-28 10:20:32 +02:00
Jermolene
1a9f042c25 Version number update for 5.1.2 2014-09-27 17:34:27 +01:00
Jermolene
d9bdc89dfd Update test for transclusion recursion detection 2014-09-27 17:30:13 +01:00
Jermolene
eaf41f3f18 Docs updates 2014-09-27 17:27:39 +01:00
Jermolene
46f6dd02f8 Update release note 2014-09-27 17:25:29 +01:00
Jermolene
1c8d62c3aa Link to couchdb adaptor
@wshallum feel free to send pull requests for this tiddler to reflect
future updates to the adaptor.
2014-09-27 17:02:36 +01:00
Jermolene
42abef6fbf Adjust untagged divider styling
Further fixes for #913
2014-09-27 16:56:59 +01:00
Jermolene
18a2b48b3b Docs adjustments 2014-09-27 11:56:36 +01:00
Mario Pietsch
10040f51e1 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-09-27 12:55:47 +02:00
Jeremy Ruston
81fc8ef570 Merge pull request #909 from gernert/patch-2
Update TableOfContentsMacro.tid
2014-09-27 11:53:38 +01:00
Jeremy Ruston
f8f3d0fb9b Merge pull request #908 from pmario/de-AT-DE-korrektor
fixing typos + german macro docs
2014-09-27 11:39:52 +01:00
Jermolene
23c2d90ee8 Added error handling to upload saver
A further fix for #251
2014-09-27 10:47:31 +01:00
Jermolene
115245a632 Improve storyview error detection
Fixes #912
2014-09-27 10:34:59 +01:00
Jeremy Ruston
9dff0c4b12 Merge pull request #914 from TheDiveO/master
Avoid runtime errors in presence of broken plugin tiddlers
2014-09-27 10:15:32 +01:00
Jermolene
27728f397c Adjust tab positioning
Avoiding an unsightly gap on Firefox and Chrome. Sadly Safari needs the
margin-bottom to be set to `-3px` to achieve the same effect. I think
that that is because the browsers have some differences in their
intrinsic button styles that are not being properly normalised.
2014-09-27 10:13:36 +01:00
Jermolene
580e046e7d Separate tags pills from untagged pill with whitespace
Instead of using an `<hr>`. Fixes #913
2014-09-27 10:12:43 +01:00
TheDiveO
b1fb0a2a07 fix for broken plugin tiddlers that do not contain a tiddlers field;
avoids runtime errors upstream when accessing subtiddlers inside a
(broken) tiddler and when using the plugintiddlers filter operator.
2014-09-26 22:33:47 +02:00
Mario Pietsch
f604a0ac8e be polite 2014-09-26 09:21:39 +02:00
Mario Pietsch
a4b9032d9c Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-09-26 09:04:10 +02:00
Mario Pietsch
beb360d992 Merge branch 'de-AT-DE-korrektor' of github.com:pmario/TiddlyWiki5 2014-09-26 09:02:43 +02:00
gernert
8d48e194cf Update TableOfContentsMacro.tid
Seen the many questions in the group, the TableOfContentsMacro is a hot item but a bit difficult to understand.
I thought a graphical representation with the real tags for the examples might help.
2014-09-25 10:23:03 +02:00
Mario Pietsch
0799c06b1b more docs. ChrisK attribution 2014-09-24 16:28:31 +00:00
Jermolene
eacb9e53eb Delete syncer tiddlerInfo when tiddlers are deleted 2014-09-24 16:21:59 +02:00
Jermolene
e2046ce4ff Treat HTTP 201 response code as success 2014-09-24 16:19:23 +02:00
Jermolene
c9f692d671 Add documentation for "fields" filter operator
Fixes #898
2014-09-24 13:57:23 +02:00
Jermolene
88199ffd62 Update lists in wikitext docs
Thanks @Skeeve
2014-09-24 13:23:40 +02:00
Jermolene
a159b5baf3 Add tiddlerInfo to the syncadaptor saveTiddler method 2014-09-24 13:15:16 +02:00
Jeremy Ruston
8a0309a4bd Merge pull request #899 from simonbaird/master
Fix list macro typo in tw5 Plugins.tid
2014-09-24 12:43:03 +02:00
Jermolene
f8e11da0fc Update lists in wikitext docs
Include workaround for multi-line list entries.
2014-09-24 12:41:12 +02:00
Jermolene
6b3646a025 Update history of TiddlyWiki 2014-09-24 12:08:16 +02:00
Jermolene
b3df07ae3e Error handling for KaTeX plugin 2014-09-24 11:50:49 +02:00
Jermolene
61af1f9379 Add error formatting for transclusion recursion errors 2014-09-24 11:50:38 +02:00
Mario Pietsch
4264fe66ca some fixes. many new doc tiddlers 2014-09-23 22:50:02 +00:00
Simon Baird
6bc2e18cbd Fix list macro typo in tw5 Plugins.tid 2014-09-23 23:59:12 +10:00
Mario Pietsch
aaaed439f7 typos found by ChrisK 2014-09-22 19:26:00 +00:00
Jeremy Ruston
143d4c1ae4 Merge pull request #895 from Evolena/patch-1
Correct a typo in doc
2014-09-22 13:47:01 +01:00
Jeremy Ruston
ccce478b3a Merge pull request #896 from Evolena/patch-2
Sign CLA
2014-09-22 13:46:56 +01:00
Evolena
113d8efb80 Sign CLA 2014-09-22 14:36:16 +02:00
Evolena
f0e638ea62 Correct a typo in doc 2014-09-22 14:04:05 +02:00
Jermolene
972f91182d More preparation for 5.1.2 2014-09-22 12:24:05 +01:00
Jermolene
49f0989db8 Prepare for 5.1.2 2014-09-22 12:23:04 +01:00
Jermolene
b73006a5e9 Version number update for 5.1.1 2014-09-22 12:08:37 +01:00
Jermolene
22bc2dd9d7 Update KaTeX plugin docs 2014-09-22 12:06:49 +01:00
Jermolene
3088d50e87 Update release note for 5.1.1 2014-09-22 12:04:18 +01:00
Jeremy Ruston
3dfc569c00 Merge pull request #894 from pmario/de-AT-DE-korrektor
some more german typos
2014-09-22 11:54:15 +01:00
Jermolene
b7ce56e3ce Release note update for 5.1.1 2014-09-22 11:53:47 +01:00
Mario Pietsch
9059ea5211 some more german typos 2014-09-22 10:49:24 +00:00
Jeremy Ruston
4ebccbe468 Merge pull request #854 from buggyj/tw2parserdocerr
corrected doc error
2014-09-22 11:44:13 +01:00
Jeremy Ruston
32d55cf072 Merge pull request #890 from TheDiveO/master
Minor: fix plugin name ThirdFlow
2014-09-22 11:43:51 +01:00
Jeremy Ruston
5139c82f53 Merge pull request #889 from pmario/fix-encryption-button-consistency
make encryption button text more consistent
2014-09-22 11:43:25 +01:00
Jermolene
6ea18cb61a Readme update 2014-09-22 11:43:07 +01:00
Jermolene
13290692de Update docs for select widget
How’s this @danielo515?
2014-09-22 10:42:41 +01:00
Jermolene
1007ec2ad6 Sort order for TOC on tw5.com 2014-09-22 10:42:23 +01:00
Jermolene
f00c4c164b Add dev docs to readme 2014-09-22 10:42:12 +01:00
Jermolene
d0deacbdc4 Include word "Version" in ribbon on tw5.com 2014-09-22 10:42:02 +01:00
Jermolene
f81b0a6fa9 Add plugins to TOC on tw5.com 2014-09-22 10:41:34 +01:00
Jermolene
3a43de2272 Updates to KaTeX plugin 2014-09-22 10:41:12 +01:00
Jermolene
96b7d0eeba First pass at KaTeX plugin
Finally fixes #458 thanks to the KaTeX plugin from Khan Academy
2014-09-21 23:03:07 +01:00
TheDiveO
378e687a42 fix plugin name ThirdFlow
the icon may be slightly misleading but it's not the Third Wave and instead the Third Flow.
2014-09-21 18:49:06 +02:00
Mario Pietsch
14179c9734 make encryption button text more consistent 2014-09-21 13:48:33 +02:00
Jermolene
d047ccdc84 Remove support for deprecated $:/tags/stylesheet tag 2014-09-21 11:26:11 +01:00
Jermolene
62edd1e8a3 Remove support for deprecated "title" attribute on button widget 2014-09-21 11:25:43 +01:00
Jermolene
d4617ffbe4 Preparing for 5.1.1 2014-09-21 11:22:54 +01:00
Jermolene
3dc99e9605 Adjust links in dev docs
Whoops….
2014-09-21 11:15:27 +01:00
Jeremy Ruston
e536516e81 Merge pull request #888 from pmario/fix-german-typos
Fix german typos
2014-09-21 10:05:10 +01:00
Mario Pietsch
e95c87f068 checked all language files for typos 2014-09-21 09:58:54 +02:00
Mario Pietsch
f4f263ea69 fix some ugly typos 2014-09-21 09:22:20 +02:00
Jermolene
e0a00f360a Version number update for 5.1.0 2014-09-20 17:55:26 +01:00
Jeremy Ruston
658a0e5f0a Merge pull request #885 from BramChen/master
Update chinese translations
2014-09-20 17:00:55 +01:00
Bram Chen
962a865347 Update chinese translations
* correct help text of setfield command
2014-09-20 23:42:58 +08:00
Jeremy Ruston
0ea7f7589b Merge pull request #884 from xcazin/fr-FR
Fr fr
2014-09-20 16:37:17 +01:00
Jermolene
ff0b2afef7 Features docs update 2014-09-20 16:37:05 +01:00
Xavier Cazin
bde00aa455 Translation of the tiddler that links to the fr-FR edition (starting with the localised empty.html only) 2014-09-20 17:16:43 +02:00
Xavier Cazin
1c86a8e0bb fr-FR correction on setfield documentation 2014-09-20 17:05:10 +02:00
Jermolene
2ee82a289a Developer docs update 2014-09-20 15:37:14 +01:00
Jermolene
15e9e21d2a Readme updates for Node.js 2014-09-20 15:06:33 +01:00
Jermolene
ebb911f934 Docs updates 2014-09-20 13:49:34 +01:00
Jermolene
dac046c133 Add TWGuides to resource listing 2014-09-20 13:48:30 +01:00
Jeremy Ruston
ab1def7d94 Merge pull request #883 from pmario/fix-default-language-setting
Fix default language setting
2014-09-20 13:18:11 +01:00
Jermolene
c900c71f8a More docs updates 2014-09-20 13:17:18 +01:00
Jermolene
15c527802b More docs cleanup 2014-09-20 12:46:31 +01:00
Mario Pietsch
055dda9ee2 some language default settings fixed. remove a lot of now unnecessary tilde signs 2014-09-20 13:35:07 +02:00
Jermolene
d3ad7a52c1 Correct setfield documentation 2014-09-20 12:10:50 +01:00
Jermolene
5e5c416ead Remove links to non-existent German and Chinese translations 2014-09-20 12:10:33 +01:00
Mario Pietsch
9c71756738 fix bld-languages.sh 2014-09-20 10:21:27 +02:00
Jermolene
50a7b20cf0 Fix URL typos 2014-09-20 08:29:05 +01:00
Jeremy Ruston
6fbef65ded Merge pull request #879 from BramChen/master
chinese translations for documents of Chinese Edtions
2014-09-20 08:24:59 +01:00
Jeremy Ruston
1075770bf7 Merge pull request #880 from simonbaird/master
Update link to d3 demo in HelloThere content
2014-09-20 08:23:45 +01:00
Simon Baird
dfd35e8c12 Update link to d3 demo in HelloThere content 2014-09-20 16:25:41 +10:00
Bram Chen
59bbf3d56b Convert chinese characters 2014-09-20 12:51:43 +08:00
Bram Chen
15a28bc0a5 chinese translations for documents of Chinese Edtions 2014-09-20 12:34:24 +08:00
Jeremy Ruston
390a6759ea Merge pull request #878 from xcazin/fr-FR
fr-FR translation of the warning about saving settings only used on tidd...
2014-09-19 23:03:47 +01:00
Jermolene
1a75fd0e21 Include translated editions
@pmario and @bramchen and @xcazin

Maybe the titles of these tiddlers should be translated into their
respective languages? And possibly the text too?
2014-09-19 23:03:30 +01:00
Jermolene
9eb2db791f Docs updates 2014-09-19 23:02:03 +01:00
Xavier Cazin
889f8c43e2 fr-FR translation of the warning about saving settings only used on tiddlyspot-like servers 2014-09-19 23:34:51 +02:00
Jermolene
c5d0ae4c9b Fix problem with preview state storage in import listing
Fixes #877
2014-09-19 21:56:37 +01:00
Jermolene
3c58426ff2 Docs updates 2014-09-19 21:56:07 +01:00
Jermolene
06cc8ed5ef Lots of documentation cleanup 2014-09-19 17:18:25 +01:00
Jermolene
e40f4ff630 Fix typo
Thanks @pmario
2014-09-19 15:55:18 +01:00
Jermolene
3ad4febc15 Clarify select widget docs 2014-09-19 15:28:08 +01:00
Mario Pietsch
8610a9c064 get default language files back 2014-09-19 16:23:21 +02:00
Mario Pietsch
cda1e916bf fixing many obsolete ~ signs. modify setfield.js to get consistent language settings 2014-09-19 16:16:19 +02:00
Jermolene
9e6dab06cc Fix problem with Maruku Markdown metadata
Fixes #855 - albeit it’s a bit of a kluge. The internal format returned
by `markdown.toHTMLTree()` isn’t sufficiently well documented for me to
be confident that the new code is resilient to all the things that
might be returned.
2014-09-19 15:03:52 +01:00
Jermolene
7ed7aba8d0 Docs updates 2014-09-19 15:02:40 +01:00
Jermolene
e3fee7d56d Contributor updates 2014-09-19 14:43:04 +01:00
Jermolene
449d12ff60 Remove obsolete resource
Sadly, the plugin hasn’t worked for some time and is no longer under
active development.
2014-09-19 14:41:42 +01:00
Jermolene
0a3c399305 Clarify table documentation 2014-09-19 12:45:49 +01:00
Jeremy Ruston
f2791f7d5d Merge pull request #870 from gernert/patch-5
Update UpgradeWizard.tid
2014-09-19 12:42:25 +01:00
Jeremy Ruston
1297c6e820 Merge pull request #869 from gernert/patch-4
Update GettingStarted.tid
2014-09-19 12:42:19 +01:00
Jeremy Ruston
b82806d33d Merge pull request #872 from gernert/patch-7
Update cla-individual.md
2014-09-19 12:41:42 +01:00
gernert
d39760fa21 Update cla-individual.md 2014-09-19 13:40:33 +02:00
Jeremy Ruston
b22c682ab3 Merge pull request #866 from malgam/patch-1
Add module types listing to ModuleType tiddler
2014-09-19 12:33:09 +01:00
Jeremy Ruston
1c018183db Merge pull request #868 from malgam/patch-2
Update cla-individual.md
2014-09-19 12:31:16 +01:00
gernert
401d18e0d7 Update UpgradeWizard.tid
Just added a note.
2014-09-19 12:55:35 +02:00
gernert
f9ff7c44ea Update GettingStarted.tid
As discussed with pull request #863
2014-09-19 12:41:54 +02:00
Jermolene
b239b3d623 Remove curly braces from qualified identifiers
Fixes #860
2014-09-19 11:33:49 +01:00
Jeremy Ruston
5dbcc5f601 Rename Einführung.tid to Einfuhrung.tid
Remove critical diacritical
2014-09-19 11:24:07 +01:00
malgam
9aee46a8f0 Update cla-individual.md 2014-09-19 20:09:18 +10:00
Jeremy Ruston
4ff9346f3a Merge pull request #865 from pmario/de-AT-server
More german documentation
2014-09-19 11:03:09 +01:00
Jeremy Ruston
b0d83301ab Merge pull request #867 from BramChen/master
Update chinese translations
2014-09-19 10:53:13 +01:00
Bram Chen
026ddb7081 Add chinese translations for Saving/TiddlySpot/Description 2014-09-19 16:57:40 +08:00
Jermolene
02601a02fc Add note clarifying purpose of TiddlySpot settings
We’ve had a couple of cases where users have assumed that the “backup”
setting applies to ordinary, local saves
2014-09-19 09:13:18 +01:00
malgam
b31300c59c No "Internals" tab in control panel
ModuleType.tid refers to a non-existing "Internals" tab in the control panel for a list of module types used in this wiki.  I propose listing these directly in this tiddler as an alternative.
2014-09-19 14:57:01 +10:00
Jermolene
cbb16df47a Clean up images for /dev
We’ve now got a couple of duplicates which will be sorted out later
2014-09-18 20:16:06 +01:00
Jermolene
ca211094a2 Use spaces in dev tiddler filenames instead of %20 2014-09-18 20:00:34 +01:00
Jermolene
ac08f5f4a7 Remove split.recipe from dev edition
Left over from ginsu
2014-09-18 20:00:02 +01:00
Jermolene
de02d5ce9d Update contributors list 2014-09-18 19:59:39 +01:00
Jermolene
88a9115042 Preparing for 5.0.19 2014-09-18 19:27:29 +01:00
Mario Pietsch
3ad8742db8 new TOC, empty default language fix, static banner added, 2014-09-18 15:00:08 +02:00
Mario Pietsch
4199fc9683 insert static banner 2014-09-18 11:31:51 +02:00
Mario Pietsch
194f525478 first run for fullbuid compatibility 2014-09-18 10:56:44 +02:00
Jermolene
ba7422b407 Version number update for 5.0.18-beta 2014-09-17 22:20:43 +01:00
Jermolene
22006f995e Update modified times for new release 2014-09-17 22:12:22 +01:00
Jermolene
ea17e339f3 Release note update 2014-09-17 22:07:48 +01:00
Jermolene
c63488d155 Docs updates for new file locations 2014-09-17 20:01:00 +01:00
Jermolene
c20e6b9d1e Docs update 2014-09-17 19:49:24 +01:00
Jermolene
4f0ce1a835 Introduce fullbld.sh script
This new batch file builds everything needed for a release of
TiddlyWiki.

This is the main part of fixing #823.
2014-09-17 19:49:20 +01:00
Jermolene
28b2ac4fb3 Split de-AT-DE edition into de-AT and de-DE editions
It doesn’t really make sense for an edition to be in two languages
2014-09-17 19:47:43 +01:00
Jermolene
a9f46525a0 Stop classifying digits as lower case letters in wikilinks
Fixes #842
2014-09-17 12:55:39 +01:00
Jermolene
8cc236b4dc Fix problem with sorting missing tiddlers
Fixes #858
2014-09-17 12:17:43 +01:00
Jermolene
1b0eec143e Refine preliminary list macro
@pmario: I’ve taken your suggestion and made the HTML element type(s)
be macro parameters.
2014-09-17 12:13:24 +01:00
Jermolene
813bd2fe1d More docs updates 2014-09-17 08:36:39 +01:00
Jermolene
2d6c6fd208 Add "Briefcase" by Roma Hicks to resources 2014-09-16 21:42:10 +01:00
Jermolene
6d9bd4df8a Add support for markdown file extensions
Fixes #856

By the way @cjp are there any other Markdown extensions in common use?
2014-09-16 20:06:23 +01:00
Jermolene
2b78d5a977 Refactor handling of .htm and .hta file extensions
Taking advantage of the recent change to be able to pass an array of
file extensions to `$tw.utils.registerFileType()`
2014-09-16 20:05:13 +01:00
Jeremy Ruston
60541c5a6e Merge pull request #853 from buggyj/csserror
corrected class name
2014-09-16 16:15:50 +01:00
Jermolene
cbfc9fcc56 More docs updates 2014-09-16 15:19:52 +01:00
buggyj
3472721dbc corrected doc error 2014-09-16 16:10:25 +02:00
buggyj
57693efce7 corrected class name 2014-09-16 16:03:00 +02:00
Jeremy Ruston
67a90cdfad Merge pull request #851 from buggyj/nodedocerror
missing wikilinks on doc
2014-09-16 13:33:26 +01:00
Jermolene
d859fc2f58 Docs updates 2014-09-16 13:32:52 +01:00
buggyj
d27e157cec missing wikilinks on doc 2014-09-16 14:24:53 +02:00
Jermolene
40567c2f88 Drop the count column from the tag manager
It increases the horizontal width of the table, and isn’t particularly
useful.
2014-09-16 13:14:06 +01:00
Jeremy Ruston
ef28630d9a Merge pull request #850 from buggyj/bjtools
changed my site's location
2014-09-16 10:17:56 +01:00
buggyj
4e0b5faa4c change site url 2014-09-16 10:14:07 +02:00
Jeremy Ruston
ea6493d70b Merge pull request #813 from BramChen/master
Correct more vocabularies for simplified chinese
2014-09-14 20:44:24 +01:00
Jeremy Ruston
cd713bf0c2 Merge pull request #835 from Eucaly/master
Update Eucalys Tiddly World.tid
2014-09-14 20:44:15 +01:00
Jeremy Ruston
600b49efd1 Merge pull request #843 from Eucaly/patch-2
Update cla-individual.md
2014-09-14 20:44:02 +01:00
Jermolene
73a4747d05 Handle jpeg file extension correctly
Fixes #844
2014-09-14 20:35:01 +01:00
Jermolene
6ceec9fb44 Adjust permissions of serve.cmd 2014-09-14 19:37:59 +01:00
Eucaly
1e573f7a8d Update cla-individual.md
sorry, updated as @Eucaly
2014-09-14 22:03:12 +08:00
Jermolene
199aa1c2e7 Docs correction
Fixes #836
2014-09-14 10:57:20 +01:00
Jeremy Ruston
4373f48731 Merge pull request #837 from pmario/de-AT-DE-server
All WikiText tiddlers translated
2014-09-14 10:55:57 +01:00
Jermolene
775482a242 Fix problem with radio widget and missing tiddlers
Fixes #840
2014-09-14 10:55:34 +01:00
Jermolene
2571f534aa Fix problem with dragging partially selected link
Fixes #841
2014-09-14 10:50:53 +01:00
Jermolene
320e0af68c Update dev github ribbon 2014-09-14 10:33:29 +01:00
Jeremy Ruston
b0a4bd5479 Merge pull request #839 from Eucaly/patch-1
Update cla-individual.md
2014-09-14 10:32:57 +01:00
Eucaly
4ed990b701 Update cla-individual.md
signed Eucaly J
2014-09-14 05:50:25 +08:00
Mario Pietsch
0d175338c3 fix some typos 2014-09-13 21:45:00 +02:00
Mario Pietsch
a4db140dc8 removed german umlauts 2014-09-13 21:39:41 +02:00
Mario Pietsch
a0a8a457f4 All WikiText tiddlers translated 2014-09-13 21:27:26 +02:00
Eucaly
7105a3a353 Update Eucalys Tiddly World.tid 2014-09-13 20:35:47 +08:00
Jermolene
c4123ba374 Extend timeline macro to allow a subfilter 2014-09-13 11:06:50 +01:00
Jermolene
c44a3bb4a4 Preparing for 5.0.18-beta 2014-09-13 11:02:53 +01:00
Bram Chen
c743f15457 Merge remote-tracking branch 'upstream/master' 2014-09-13 02:14:06 +08:00
Jermolene
c7e3e36564 Version number update for 5.0.17-beta 2014-09-12 17:52:58 +01:00
Jermolene
a00d21a6b3 Missed acknowledgement for @buggyj 2014-09-12 17:50:33 +01:00
Jermolene
c0e420051b Preparing for 5.0.17 release 2014-09-12 17:48:53 +01:00
Jermolene
dd6659d393 Further release note updates 2014-09-12 17:41:24 +01:00
Jermolene
fc11e8cd13 Update ribbon link
For the moment we’ll link to the beta releases
2014-09-12 17:39:34 +01:00
Jermolene
af019623e0 Release note update 2014-09-12 17:39:34 +01:00
Jermolene
0903c35f61 Correct dev link 2014-09-12 17:39:34 +01:00
Jermolene
2588f996f1 Update prefixes for dev content 2014-09-12 17:39:34 +01:00
Jeremy Ruston
d65f80efbb Merge pull request #833 from pmario/new-serve-sh
fix missuse of system environment variable
2014-09-12 16:58:05 +01:00
Jermolene
68b19a48f7 Update build scripts for dev edition 2014-09-12 16:55:33 +01:00
Jermolene
9093f04ba3 Docs updates 2014-09-12 16:54:32 +01:00
Jermolene
65f242f857 More docs mangling 2014-09-12 16:46:59 +01:00
Mario Pietsch
1b11e4e949 fix missuse of system environment variable 2014-09-12 17:37:37 +02:00
Jermolene
f187122c35 Lots more docs updates 2014-09-12 16:05:37 +01:00
Jermolene
c713eddbef Fixed problem with draft tiddlers not counting as dirty 2014-09-12 14:48:39 +01:00
Jermolene
af8c435487 Readme updates 2014-09-12 14:25:12 +01:00
Jermolene
a878f0a5c9 Remove obsolete talkytalky tiddler 2014-09-12 14:24:59 +01:00
Jermolene
2e72162b0c Phrasing updates 2014-09-12 14:24:06 +01:00
Jeremy Ruston
2d188c2436 Remove illegal character from pathname 2014-09-12 13:30:04 +01:00
Jeremy Ruston
06ef809cf2 Remove illegal character from pathname 2014-09-12 13:29:47 +01:00
Jeremy Ruston
3d4a3a0f54 Merge pull request #832 from pmario/de-AT-DE-server
First pass for german editions with basic documentation.
2014-09-12 13:23:04 +01:00
Jeremy Ruston
872e6fc253 Merge pull request #830 from pmario/new-serve-sh
New serve sh with some help texts
2014-09-12 13:14:13 +01:00
Jeremy Ruston
c8a131ffd4 Merge pull request #828 from pmario/new-serve-cmd
make serve.cmd useful for everyone out of the box.
2014-09-12 13:14:04 +01:00
Jermolene
905c793964 Release note update 2014-09-12 13:13:54 +01:00
Mario Pietsch
22060fc198 remove analytics stuff 2014-09-12 14:09:51 +02:00
Mario Pietsch
1bcada1f4b use default layout settings 2014-09-12 14:06:49 +02:00
Mario Pietsch
bda349801e first run with new german edition containing the basic docs in german 2014-09-12 13:52:33 +02:00
Mario Pietsch
fe83d289f4 make empty strings visible 2014-09-12 12:47:09 +02:00
Mario Pietsch
c430f9d2c3 more docs 2014-09-12 12:42:20 +02:00
Mario Pietsch
5351102990 better help text, more params to be the same with serve.sh. typo fixes 2014-09-12 12:31:03 +02:00
Mario Pietsch
9ca6b6bfb8 prepare for PR 2014-09-12 11:50:55 +02:00
Mario Pietsch
fcf65433ea a bit more docs 2014-09-12 11:46:49 +02:00
Mario Pietsch
45f7b6cc45 svere.sh first take, to make it more flexible 2014-09-12 01:55:07 +02:00
Jermolene
54eb85218b Clarify "Editions"
@giffmex - sorry I should have been clearer. We’ll only call things an
“Edition” if it is distributed via tiddlywiki.com. So for instance your
NoteStormTW should be listed under “Resources” until it’s been bought
into tiddlywiki.com.

We’ve already had the situation where people who have built editions
(and indeed plugins) haven’t been able to keep them up to date with the
latest versions of the core. So I want to draw a clear distinction
between those things that are part of the main distribution, and have
some guarantee of long term support and those things that are
distributed independently.
2014-09-11 20:15:06 +01:00
Jermolene
a464256e18 Add mechanisms to the reference docs 2014-09-11 20:12:25 +01:00
Jermolene
022eba9c75 Organising community content 2014-09-11 19:36:30 +01:00
Jermolene
8b0c471736 Update history of tiddlywiki essay 2014-09-11 15:52:58 +01:00
Jermolene
bc985553ed More reference docs mangling 2014-09-11 15:52:47 +01:00
Mario Pietsch
ed4597f12d remove debug info 2014-09-11 11:08:48 +02:00
Mario Pietsch
05dfddeb04 make serve.cmd useful for everyone and use sensible defaults, so it works for different editions out of the box 2014-09-11 10:22:54 +02:00
Jermolene
184b9817b4 Update wikitext documentation 2014-09-11 09:15:58 +01:00
Jermolene
e20ef97c27 More mangling of reference docs 2014-09-11 00:06:19 +01:00
Jermolene
def4aca200 Update filter docs 2014-09-10 23:42:13 +01:00
Jermolene
f72bb66f6a Update macro reference docs 2014-09-10 23:42:06 +01:00
Jermolene
a95bb2b6ec More docs updates 2014-09-10 22:35:02 +01:00
Jermolene
f781b2b8d0 More documentation mangling 2014-09-10 22:09:44 +01:00
Jermolene
0ee4d21d0d Docs updates 2014-09-10 21:56:54 +01:00
Jermolene
b7ce2a8ab6 Experiment with slightly bigger body text
Trying to improve readability
2014-09-10 21:56:43 +01:00
Jermolene
9adc30f69f Fix bugs with selective expandable toc macro 2014-09-10 21:55:11 +01:00
Jermolene
ccd916ca7c Add "multiple" attribute to browse widget
And default to non-multiple upload; that’s enough to enable the ability
to take photos/videos directly on iOS
2014-09-10 21:54:52 +01:00
Jermolene
50be85287b Extend serve.sh/cmd to pass host address
Useful to be able to do `./bin/serve.sh "" "" 0.0.0.0` to listen on all
network adaptors
2014-09-10 21:34:13 +01:00
Jermolene
08d588fb08 Adjust some content directories 2014-09-10 19:36:54 +01:00
Jermolene
673ede5b3c Remove the obsolete Docs tiddler 2014-09-10 19:36:42 +01:00
Jermolene
ffb26956b5 Start cleaning up tw5.com docs
By moving the individual files into subfolders
2014-09-10 18:35:52 +01:00
Jermolene
411ed76c70 Use tw5.com to generate readmes, not /dev 2014-09-10 18:28:52 +01:00
Jermolene
6a952387d2 Update regexp filter docs with square brackets example 2014-09-10 18:25:38 +01:00
Jermolene
5d0c32b454 Add custom palette for the dev edition 2014-09-10 17:28:08 +01:00
Jermolene
58ff092d4a Clean up modifier/creator fields of dev content
The house style is not to have individual authorship credits on
tiddlywiki.com documentation
2014-09-10 17:27:55 +01:00
Jeremy Ruston
9840b8783b Merge pull request #826 from buggyj/viewtemplate
change filter to stop automatic view transclusion if field 'hide-me' is ...
2014-09-10 17:18:18 +01:00
buggyj
ab944bbf02 change filter to stop automatic view transclusion if field 'hide-body' has the value 'yes' 2014-09-10 18:00:29 +02:00
Jermolene
5e81684b5b Remove obsolete macro 2014-09-10 16:53:49 +01:00
Jermolene
c9f9de3e18 Correct folder 2014-09-10 16:53:43 +01:00
Jermolene
1a95ec9ac4 Introduce dev edition
Thanks to @cjrk and @cheigele for contributing their developer docs
(which can be found at https://github.com/cjrk/saa-tw).

By the way, I plan to remove the “creator” and “modifier” fields but
will keep a prominent acknowledgement for your contributions.
2014-09-10 16:53:32 +01:00
Jermolene
faafeca02c Release note update 2014-09-10 15:02:01 +01:00
Jermolene
e8ae77e738 Fix toc-link tag vs. field 2014-09-10 12:47:34 +01:00
Jermolene
c3eeaeb89f Add new community links 2014-09-10 11:44:42 +01:00
buggyj
04df2a4a20 change filter to stop automatic view transclusion if field 'hide-me' is defined 2014-09-10 12:37:05 +02:00
Jermolene
b7f638aef3 Change button widget 'title' attribute to 'tooltip'
Fixes remainder of #824
2014-09-10 10:25:50 +01:00
Jermolene
7ed1a2ebc7 Ensure that deprecations are clearly marks
So that we can easily remove them before we come out of beta.
2014-09-10 09:20:43 +01:00
Jermolene
f6ff0a7f71 Deprecate $:/tags/stylesheet in favour of $:/tags/Stylesheet
A warning message appears at the top of the story river if any
`$:/tags/stylesheet` tags are found.

Fixing the first half of #824
2014-09-10 09:13:21 +01:00
Jermolene
d45c417c18 Add deprecation warning for regexp filter operators 2014-09-09 23:05:58 +01:00
Jermolene
418be0fda8 Further corrections to regexp filter docs
Thanks @pmario
2014-09-09 22:59:40 +01:00
Jermolene
d56d4b0c65 Docs update 2014-09-09 21:32:11 +01:00
Jermolene
f4fff7a330 Add new "regexp" filter operator
Fixes #762
2014-09-09 15:57:41 +01:00
Jermolene
04a5f7f002 Change links for static content used when JS disabled
We were linking to tiddlywiki.com/#HelloThere, now we’ll link to
tiddlywiki.com/static/HelloThere.html
2014-09-09 12:13:08 +01:00
Jeremy Ruston
24e7c7fc0f Merge pull request #822 from giffmex/patch-25
Patch 25
2014-09-09 08:55:16 +01:00
Jermolene
df2cf8bf06 Docs update 2014-09-09 08:54:42 +01:00
giffmex
3119254373 Update TiddlyWiki is a community.tid 2014-09-08 16:54:19 -05:00
giffmex
10482d993e Update Working with TiddlyWiki.tid 2014-09-08 16:52:29 -05:00
giffmex
b84fee6285 Create Sharing tiddlers with others.tid 2014-09-08 16:51:12 -05:00
giffmex
9e56a9a5c1 Update TiddlyWiki standalone.tid 2014-09-08 16:38:38 -05:00
giffmex
1be8ca4a40 Update TiddlyDesktop.tid 2014-09-08 16:37:36 -05:00
giffmex
c9384f6fdf Update How_to_build_a_TiddlyWiki5_from_individual_tiddlers.tid 2014-09-08 16:36:53 -05:00
giffmex
8b6ae7164b Update Windows HTA Hack.tid 2014-09-08 16:36:18 -05:00
giffmex
15debf7d6a Update Using TiddlyWiki for GitHub Pages project documentation.tid 2014-09-08 16:35:46 -05:00
giffmex
3c951476ee Update Using links to navigate.tid 2014-09-08 16:32:45 -05:00
giffmex
97a4612916 Update TableOfContents.tid 2014-09-08 16:28:19 -05:00
Jeremy Ruston
3014fa0b61 Merge pull request #821 from giffmex/patch-24
Patch 24 from @giffmex
2014-09-08 21:29:07 +01:00
giffmex
b8167633ef Update VersionMacro.tid 2014-09-08 15:04:17 -05:00
giffmex
36b47b962e Update TimelineMacro.tid 2014-09-08 15:03:59 -05:00
giffmex
15d75dfef5 Update TableOfContentsMacro.tid 2014-09-08 15:03:42 -05:00
giffmex
80179968a1 Update TabsMacro.tid 2014-09-08 15:03:20 -05:00
giffmex
ad0cc031b8 Update QualifyMacro.tid 2014-09-08 15:02:49 -05:00
giffmex
b3b4567fc4 Update MakeDataUriMacro.tid 2014-09-08 15:01:59 -05:00
giffmex
7140ed997e Update DumpVariablesMacro.tid 2014-09-08 15:01:37 -05:00
giffmex
4b1ccc4171 Update ChangeCountMacro.tid 2014-09-08 15:01:15 -05:00
giffmex
469affa2a5 Update Working with TiddlyWiki.tid 2014-09-08 14:58:42 -05:00
giffmex
7d16691035 Create Using tiddler fields.tid 2014-09-08 14:57:32 -05:00
giffmex
d70182a7f7 Create Creating tabs.tid 2014-09-08 14:56:10 -05:00
giffmex
8e838bb7a5 Create Images in TW.tid 2014-09-08 14:54:42 -05:00
giffmex
9eb542da20 Create TiddlyWiki standalone.tid 2014-09-08 14:52:09 -05:00
giffmex
179cba3425 Update Hosting your TW.tid 2014-09-08 14:50:36 -05:00
giffmex
00b3fd1761 Update Using TiddlyWiki for GitHub Pages project documentation.tid 2014-09-08 14:46:29 -05:00
giffmex
e8e04aa1f9 Update How_to_build_a_TiddlyWiki5_from_individual_tiddlers.tid 2014-09-08 14:45:54 -05:00
giffmex
efd4d2afef Update Windows HTA Hack.tid 2014-09-08 14:44:12 -05:00
giffmex
3e1a64f99c Update TiddlyDesktop.tid 2014-09-08 14:43:35 -05:00
giffmex
1e8aeb0d9f Update Generating Static Sites with TiddlyWiki.tid 2014-09-08 14:42:27 -05:00
giffmex
7d2cb13377 Update Working with TiddlyWiki.tid 2014-09-08 14:41:36 -05:00
giffmex
2c3aa4e723 Update The First Rule of Using TiddlyWiki.tid 2014-09-08 14:41:06 -05:00
giffmex
e04cddced8 Update TiddlyWiki in the Sky for TiddlyWeb.tid 2014-09-08 14:39:27 -05:00
giffmex
8432a9f0fb Update TiddlyWiki in the Sky for TiddlyWeb.tid 2014-09-08 14:39:13 -05:00
giffmex
22feaa55f2 Update Building TiddlyWikiClassic.tid 2014-09-08 14:37:18 -05:00
giffmex
3dd7c66597 Create OtherTWConfigurations.tid 2014-09-08 14:36:40 -05:00
giffmex
4637119b96 Update TiddlyWiki on Node.js.tid 2014-09-08 14:34:50 -05:00
giffmex
7c561ac191 Update and rename TiddlyWiki configurations.tid to Other TiddlyWiki configurations.tid 2014-09-08 14:33:42 -05:00
giffmex
f818b1c923 Update TableOfContents.tid 2014-09-08 14:33:01 -05:00
giffmex
af169bf434 Update Working with TiddlyWiki.tid 2014-09-08 14:31:17 -05:00
giffmex
c3b5c06c3e Update Tagging.tid 2014-09-08 14:30:24 -05:00
giffmex
be2dd6e8cb Create Configure buttons.tid 2014-09-08 14:28:52 -05:00
giffmex
6a2f4092a1 Rename Customise your TiddlyWiki.tid to Customise TiddlyWiki.tid 2014-09-08 14:27:19 -05:00
giffmex
4ea2a1b5e1 Update Customise your TiddlyWiki.tid 2014-09-08 14:26:58 -05:00
giffmex
307ecbdef4 Update Initial customisation.tid 2014-09-08 14:26:00 -05:00
giffmex
a115a8c168 Create Create a CSS.tid 2014-09-08 14:25:19 -05:00
giffmex
6cc8b2d06e Create Change the storyview.tid 2014-09-08 14:23:35 -05:00
giffmex
8fcaf7c628 Create Change layout SystemTags.tid 2014-09-08 14:22:17 -05:00
giffmex
53b55e6949 Create Change the colour palette.tid 2014-09-08 14:21:04 -05:00
giffmex
20f3e38da3 Create Change the animation speed.tid 2014-09-08 14:19:34 -05:00
giffmex
15a078d0a7 Update TableOfContents.tid 2014-09-08 14:17:51 -05:00
giffmex
bd123b01e0 Update and rename TiddlyWiki configurations and editions.tid to TiddlyWiki configurations.tid 2014-09-08 14:16:52 -05:00
giffmex
a70e928921 Create Bookmarklets.tid 2014-09-08 14:16:01 -05:00
Jermolene
257accb7bf Missing docs for field mangler messages 2014-09-08 20:14:58 +01:00
giffmex
aadab77a08 Create Editions.tid 2014-09-08 14:13:33 -05:00
Jermolene
d13e23132a Updated docs for safe mode 2014-09-08 19:52:16 +01:00
Jermolene
ac54fe3326 Disable plugins in safe mode
Fixes #820
2014-09-08 19:50:48 +01:00
Jeremy Ruston
210d7fbc23 Merge pull request #819 from giffmex/patch-23
Patch 23
2014-09-08 19:42:11 +01:00
giffmex
7c356a300c Update Working with TiddlyWiki.tid 2014-09-08 13:25:28 -05:00
giffmex
58d05af356 Create Upgrading TW.tid 2014-09-08 13:19:29 -05:00
giffmex
8dceb7206e Create Importing tiddlers between files.tid 2014-09-08 13:18:09 -05:00
giffmex
7cfe62e566 Create Downloading and saving.tid 2014-09-08 13:16:41 -05:00
giffmex
1fca2792b8 Create Formatting text in TW.tid 2014-09-08 13:15:33 -05:00
giffmex
f1f9db9378 Create Hosting your TW.tid 2014-09-08 13:13:15 -05:00
giffmex
0e03bace94 Create Initial customisation.tid 2014-09-08 13:12:04 -05:00
giffmex
e51d78187f Update Plugins.tid 2014-09-08 13:09:50 -05:00
giffmex
c8bc314a33 Update Macros.tid 2014-09-08 13:09:18 -05:00
giffmex
219f305fae Create Filters.tid 2014-09-08 13:08:09 -05:00
giffmex
5ea7cc0f83 Create Widgets.tid 2014-09-08 13:06:50 -05:00
giffmex
5a0a7146b9 Update Groups.tid 2014-09-08 13:02:28 -05:00
giffmex
fdabb5ce4a Update Forums.tid 2014-09-08 13:01:25 -05:00
giffmex
880fe59c80 Update Wills gTD.tid 2014-09-08 12:59:09 -05:00
Jermolene
0f8e877f73 Correct name for dumpvariables docs 2014-09-08 18:58:58 +01:00
giffmex
d7d2b7a846 Update TiddlyWiki for Scholars.tid 2014-09-08 12:58:50 -05:00
Jermolene
c6c4cf2289 Improve timeline macro 2014-09-08 18:58:48 +01:00
giffmex
8e0a58ddf6 Create User-created editions of TW.tid 2014-09-08 12:58:12 -05:00
giffmex
6b06cbd7b2 Create Tips and tutorials.tid 2014-09-08 12:54:58 -05:00
giffmex
1764300000 Update Articles.tid 2014-09-08 12:52:12 -05:00
giffmex
507e1bbaf7 Update Resources.tid 2014-09-08 12:51:07 -05:00
giffmex
8dd8db86b8 Update Examples.tid 2014-09-08 12:49:08 -05:00
giffmex
57967769f4 Update Improving TiddlyWiki Documentation.tid 2014-09-08 12:45:37 -05:00
giffmex
c8d2af7f2b Create Create support resources.tid 2014-09-08 12:43:41 -05:00
giffmex
8534171c41 Create Translate TW.tid 2014-09-08 12:38:40 -05:00
giffmex
cead56f92f Create Report bugs.tid 2014-09-08 12:37:32 -05:00
giffmex
efe562e6a9 Create Develop for TW.tid 2014-09-08 12:34:05 -05:00
giffmex
375549c68c Create Promote TW.tid 2014-09-08 12:32:43 -05:00
giffmex
1bbe440856 Rename Using links to navigate between tiddlers to Using links to navigate.tid 2014-09-08 12:29:52 -05:00
giffmex
f020ba0e2a Update Creating, tagging, and editing tiddlers.tid 2014-09-08 12:29:02 -05:00
giffmex
5ef9140463 Update Searching.tid 2014-09-08 12:27:57 -05:00
giffmex
dbbf283673 Rename Navigating between open tiddlers to Navigating between open tiddlers.tid 2014-09-08 12:26:07 -05:00
Jermolene
c1de85838f Replace snippet/recentchanges with timeline macro 2014-09-08 18:20:34 +01:00
Jeremy Ruston
a599b76b0c Merge pull request #818 from giffmex/patch-21
Patch 21
2014-09-08 18:06:56 +01:00
giffmex
0a481e4b93 Update Creating, tagging, and editing tiddlers.tid 2014-09-08 12:04:55 -05:00
giffmex
051ea8ac82 Update Searching.tid 2014-09-08 12:00:55 -05:00
giffmex
d34968b494 Create TiddlyWiki glossaries.tid 2014-09-08 11:59:02 -05:00
giffmex
c58975e97a Update and rename TiddlyWiki editions and special uses to TiddlyWiki configurations and editions.tid 2014-09-08 11:57:58 -05:00
giffmex
9221b575ce Rename Get help and learn more to Get help and learn more.tid 2014-09-08 11:57:01 -05:00
giffmex
b14744c20c Rename Get involved to Get involved.tid 2014-09-08 11:56:33 -05:00
giffmex
43dcb02a88 Rename Customise your TiddlyWiki to Customise your TiddlyWiki.tid 2014-09-08 11:56:08 -05:00
giffmex
cba737f4ca Rename Working with TiddlyWiki to Working with TiddlyWiki.tid 2014-09-08 11:55:43 -05:00
giffmex
ea929d445b Rename TiddlyWiki advanced features to Advanced features.tid 2014-09-08 11:55:22 -05:00
giffmex
20ff91f615 Update Navigating between open tiddlers 2014-09-08 11:54:31 -05:00
giffmex
a875269a56 Update Using links to navigate between tiddlers 2014-09-08 11:54:05 -05:00
giffmex
a41ae54b41 Update and rename Getting started with TiddlyWiki to Working with TiddlyWiki 2014-09-08 11:53:20 -05:00
giffmex
285aa33739 Update TableOfContents.tid 2014-09-08 11:52:13 -05:00
giffmex
32b660d1b9 Update and rename Customize your TiddlyWiki to Customise your TiddlyWiki 2014-09-08 11:51:31 -05:00
giffmex
671f783c9b Update TiddlyWiki advanced features 2014-09-08 11:50:23 -05:00
giffmex
6fe19d5f42 Update Customize your TiddlyWiki 2014-09-08 11:49:49 -05:00
giffmex
9292a41751 Update Get involved 2014-09-08 11:49:05 -05:00
giffmex
52027e5028 Update Get help and learn more 2014-09-08 11:48:26 -05:00
giffmex
5fba012f6a Update Get help and learn more 2014-09-08 11:47:54 -05:00
giffmex
2e55a9fae9 Update Examples.tid 2014-09-08 11:46:27 -05:00
giffmex
3d5ad42ac8 Create The history of TiddlyWiki.tid 2014-09-08 11:45:45 -05:00
giffmex
9e8617c56f Update TableOfContents.tid 2014-09-08 11:42:46 -05:00
giffmex
3f0606990a Update HelloThere.tid 2014-09-08 11:39:10 -05:00
Jeremy Ruston
bb6ad83cfa Merge pull request #817 from giffmex/patch-20
Patch 20
2014-09-08 17:03:01 +01:00
giffmex
cf5d4998a9 Create Eucalys Tiddly World.tid
saw today at the TW Google Group
2014-09-08 10:41:22 -05:00
giffmex
63c109280a Update PETTIL.tid
Is a resource, not an example
2014-09-08 10:36:43 -05:00
giffmex
c41b7806c6 Update TW5 Magick.tid
Looked at his sites, he seems to have both tutorials and resources there, thus meriting two tags.
2014-09-08 10:35:33 -05:00
Jermolene
6e9cd59437 Move scripts into bin directory
Fixes #807
2014-09-08 16:32:34 +01:00
giffmex
278f58c19e Update Moongift on TiddlyWiki.tid 2014-09-08 10:31:21 -05:00
giffmex
87449ff156 Update Shining Ark Using TiddlyWiki.tid 2014-09-08 10:30:47 -05:00
giffmex
917ed9752f Update Install and run TiddlyWiki on a CentOS 6 VPS using Nginx.tid 2014-09-08 10:30:20 -05:00
giffmex
d22ed1d10d Update Creating a baby journal with TiddlyWiki.tid 2014-09-08 10:29:46 -05:00
giffmex
e395f96ad0 Update Un wiki sur votre BiblioBox avec TiddlyWiki.tid 2014-09-08 10:27:49 -05:00
giffmex
9126fb6afa Update TiddlyWiki Posts.tid 2014-09-08 10:26:51 -05:00
giffmex
ba0a2f185f Update TW5 Mall.tid 2014-09-08 10:26:00 -05:00
giffmex
52c6ae8505 Update TW5 Tribal Knowledge.tid 2014-09-08 10:25:06 -05:00
giffmex
3ca4b34c6e Update TiddlyWiki for Scholars.tid 2014-09-08 10:23:35 -05:00
giffmex
64b60445b8 Update Wills gTD.tid 2014-09-08 10:23:01 -05:00
giffmex
1b4274d7e5 Update and rename johnnotebase.tid to Obadiah.tid
1 John has copyrighted material, so I do not want that accessible from TiddlyWiki.html. This Obadiah file shows off more of what I have been able to do with TiddlyWiki recently.
2014-09-08 10:09:29 -05:00
Jeremy Ruston
1c1a5c7252 Merge pull request #816 from giffmex/patch-19
Patch 19
2014-09-08 16:01:59 +01:00
giffmex
1a18e361cc Update tw5.com-styles.tid
Aesthetic change: more attractive light blue, and unnecessary borders removed.
2014-09-08 09:54:18 -05:00
giffmex
2cb85e045a Update Examples.tid 2014-09-08 09:50:30 -05:00
giffmex
63a2eafe5f Create Using links to navigate between tiddlers 2014-09-08 09:39:52 -05:00
giffmex
1a0b567458 Update HelloThere.tid 2014-09-08 09:31:07 -05:00
giffmex
d7e774562e Create Navigating between open tiddlers 2014-09-08 09:28:53 -05:00
Jeremy Ruston
ead4e9276a Merge pull request #815 from giffmex/patch-18
Update HelloThere.tid
2014-09-08 15:07:26 +01:00
Jermolene
f16d1832aa Add dumpvariables macro 2014-09-08 15:06:49 +01:00
giffmex
5cb4e69839 Update HelloThere.tid
A little clean up
2014-09-08 06:37:10 -05:00
Bram Chen
d5c6f3cecf Fix more vocabularies for simplified chinese 2014-09-08 19:21:25 +08:00
Bram Chen
d7b1dd2315 Merge remote-tracking branch 'upstream/master' 2014-09-08 19:17:41 +08:00
Jeremy Ruston
7f9c7b441f Merge pull request #814 from pmario/de-DE
update german translations - including 2014-09-08
2014-09-08 11:08:11 +01:00
Mario Pietsch
95229674a1 update german translations - including 2014-09-08 2014-09-08 10:07:48 +02:00
Jermolene
756e05504b Fix stylesheet block/inline mode
The problem was that stylesheets were being  transcluded in inline mode
(rather than block mode), which meant that triple backticks were not
being interpreted as block mode markup, but rather as a series of
single backticks.
2014-09-08 08:46:04 +01:00
Bram Chen
4749718ba0 Fix more vocabularies for simplified chinese 2014-09-07 21:23:21 +08:00
Jeremy Ruston
5ce4c4ab7b Merge pull request #812 from BramChen/master
Fix some vocabularies for simplified chinese
2014-09-07 14:04:02 +01:00
Jermolene
6a508e580d Docs updates 2014-09-07 14:03:38 +01:00
Bram Chen
3aaa71a513 Fix some vocabularies for simplified chinese 2014-09-06 18:41:31 +08:00
Jeremy Ruston
6cc442e7b5 Merge pull request #811 from BramChen/master
Update chinese language files
2014-09-06 07:44:00 +01:00
Bram Chen
efad7ba896 Update chinese translations for tabs in control panel
add Info tab
 add autosave option to Setting tab
2014-09-06 08:54:25 +08:00
Bram Chen
16e59ab78b Update chinese help text for server command 2014-09-06 08:45:58 +08:00
Jeremy Ruston
4888d12099 Merge pull request #810 from xcazin/fr-FR
Catching up on recent modifications in translatable tiddlers
2014-09-05 22:24:13 +01:00
Xavier Cazin
1f2f5d3ed8 fr-FR translation for details on using an empty username and passord with the server command 2014-09-05 22:19:21 +02:00
Xavier Cazin
2a15e7d473 fr-FR translation of recent modifications in ControlPanel strings 2014-09-05 22:19:20 +02:00
Xavier Cazin
0ce99cdf49 fr-FR translation of the help tiddler for the "makelibrary" command 2014-09-05 22:19:20 +02:00
Xavier Cazin
477d1da1ce fr-FR translation of strings for blocked tiddlers during importation 2014-09-05 22:19:20 +02:00
Jeremy Ruston
60ef76612b Merge pull request #809 from giffmex/patch-17
@giffmes cla-individual.md signature
2014-09-05 15:59:48 +01:00
giffmex
ed36658291 Update cla-individual.md 2014-09-05 09:44:16 -05:00
Jeremy Ruston
328e068ea8 Merge pull request #803 from giffmex/patch-2
Patch 2
2014-09-05 15:22:56 +01:00
Jeremy Ruston
74afa06394 Merge pull request #805 from giffmex/patch-15
Delete What happened to the other TiddlyWiki?
2014-09-05 15:01:31 +01:00
Jeremy Ruston
e1d4e2739c Merge pull request #806 from giffmex/patch-16
Delete What happened to the other TiddlyWiki?
2014-09-05 15:01:09 +01:00
Jermolene
48bb73f036 Switch edited field to modified 2014-09-05 15:00:27 +01:00
Jeremy Ruston
6e577a02d8 Merge pull request #791 from giffmex/patch-6
Patch 6
2014-09-05 14:58:51 +01:00
giffmex
f36e58a315 Delete What happened to the other TiddlyWiki? 2014-09-05 07:25:46 -05:00
giffmex
b4e0a6de1e Delete What happened to the other TiddlyWiki? 2014-09-05 07:24:32 -05:00
Jermolene
1e5ca780a1 Tweak doc improvement banner 2014-09-05 10:06:46 +01:00
Jermolene
ba3f800235 Extend toc macro so that links can be disabled
This allows table of contents to contain heading entries that do not
function as links, like the one in the sidebar.
2014-09-05 09:49:10 +01:00
Jermolene
7e93c93785 Start to empty out the control panel tools tab
The control panel isn’t the right place for tools; it’s a place for
settings and internal configuration.

Once again apologies to the translators for wiping out your hard work!
2014-09-05 09:28:49 +01:00
Jermolene
ede244f0a4 Move SaveWikiButtonTemplate to correct folder 2014-09-05 09:20:10 +01:00
Jermolene
f90c649d2a Improve wording of autosave setting 2014-09-05 09:19:58 +01:00
giffmex
9826562e8f Create Tagging.tid
To replace TiddlerTags, but I will leave that tiddler for now, since there probably should be a separate tiddler tagged 'definition' that defines what tags are.
2014-09-04 17:59:44 -05:00
giffmex
a976b312b3 Update Articles.tid 2014-09-04 17:02:04 -05:00
giffmex
94a885fe2d Create Documentation progress.tid 2014-09-04 16:57:42 -05:00
giffmex
cf1ae23c28 Delete What happened to the other TiddlyWiki? 2014-09-04 16:54:55 -05:00
Jeremy Ruston
3ee587b6a0 Merge pull request #798 from giffmex/patch-4
Create Discover TiddlyWiki.tid
2014-09-04 20:21:38 +01:00
Jeremy Ruston
23157ffac4 Merge pull request #799 from giffmex/patch-11
Patch 11
2014-09-04 20:21:19 +01:00
Jeremy Ruston
e114a1df24 Merge pull request #800 from giffmex/patch-12
Update tw5.com-styles.tid
2014-09-04 20:20:56 +01:00
Jeremy Ruston
924c685215 Merge pull request #801 from giffmex/patch-13
Update Searching.tid
2014-09-04 20:20:37 +01:00
Jeremy Ruston
296c9b8c31 Merge pull request #802 from giffmex/patch-14
Create Creating, tagging, and editing tiddlers.tid
2014-09-04 20:19:55 +01:00
giffmex
3713b17955 Create Creating, tagging, and editing tiddlers.tid
last one for today...
2014-09-04 14:05:23 -05:00
giffmex
47012fa61b Update Searching.tid 2014-09-04 13:26:02 -05:00
giffmex
b88ead37b0 Update tw5.com-styles.tid 2014-09-04 13:05:17 -05:00
giffmex
7460fab46e Create TiddlyWiki is a tool.tid 2014-09-04 12:37:07 -05:00
giffmex
c15ba77be0 Create TiddlyWiki is a philosophy.tid 2014-09-04 12:31:53 -05:00
giffmex
7bd8d6f02b Create TiddlyWiki is a community.tid 2014-09-04 12:28:45 -05:00
giffmex
47ae6be590 Create TiddlyWiki is a toolbox.tid 2014-09-04 12:24:39 -05:00
Jeremy Ruston
f461b1ab91 Merge pull request #775 from buggyj/tw2typeerror
remove code causing conversion of text/x-tiddlywiki type tiddlers to tex...
2014-09-04 18:24:02 +01:00
Jeremy Ruston
914cc6e8d7 Merge pull request #783 from BramChen/master
Add chinese help text for makelibrary command
2014-09-04 18:13:52 +01:00
Jeremy Ruston
5a5fe75289 Merge pull request #782 from pmario/edit-tags-dom
removes the p-tags for the tag edit dropdown in tiddler edit mode
2014-09-04 18:13:21 +01:00
Jeremy Ruston
465b3ac1de Merge pull request #784 from pmario/fix-type-selector
Fix type selector
2014-09-04 18:13:02 +01:00
giffmex
48d4c615d6 Create Discover TiddlyWiki.tid 2014-09-04 12:12:41 -05:00
Jeremy Ruston
f64e25cb44 Merge pull request #793 from giffmex/patch-7
Update What happened to the other TiddlyWiki.tid
2014-09-04 18:11:40 +01:00
Jeremy Ruston
28b4e0951e Merge pull request #794 from giffmex/patch-8
Update Ten reasons to switch to TiddlyWiki.tid
2014-09-04 18:11:15 +01:00
Jeremy Ruston
22ec703f5f Merge pull request #795 from giffmex/patch-9
Update Some of the things you can do with TiddlyWiki.tid
2014-09-04 18:10:59 +01:00
Jeremy Ruston
656a0070ef Merge pull request #796 from giffmex/patch-1
Update HelloThere.tid
2014-09-04 18:09:19 +01:00
giffmex
b2ceee3be6 Update HelloThere.tid 2014-09-04 12:08:10 -05:00
giffmex
19caee517e Update Some of the things you can do with TiddlyWiki.tid 2014-09-04 11:51:13 -05:00
Jermolene
abe9a0dbc2 First pass at a documentation style guide
Needs more detail.
2014-09-04 17:51:08 +01:00
giffmex
cbab2b6245 Update Ten reasons to switch to TiddlyWiki.tid 2014-09-04 11:49:03 -05:00
giffmex
3f07e6b220 Update What happened to the other TiddlyWiki.tid
tw to tc
2014-09-04 11:43:27 -05:00
Jermolene
aa6e317435 Fix file extensions for new giffmex tiddlers
@giffmex - tiddler files need the `.tid` extension
2014-09-04 17:37:28 +01:00
Jeremy Ruston
a7e45c221f Merge pull request #787 from giffmex/patch-1
Update HelloThere.tid
2014-09-04 17:19:25 +01:00
Jeremy Ruston
b0ddb54e09 Merge pull request #788 from giffmex/patch-2
Create ome of the things you can do with TiddlyWiki
2014-09-04 17:18:55 +01:00
Jeremy Ruston
341db4e4d2 Merge pull request #789 from giffmex/patch-4
Create Ten reasons to switch to TiddlyWiki
2014-09-04 17:17:52 +01:00
Jeremy Ruston
0f5dcfe1a9 Merge pull request #790 from giffmex/patch-5
Create What happened to the other TiddlyWiki?
2014-09-04 17:17:29 +01:00
giffmex
d1fe83cd4c Create TiddlyWiki advanced features 2014-09-04 10:32:57 -05:00
giffmex
f738972f12 Create Get involved 2014-09-04 10:28:29 -05:00
giffmex
4bbfef72b2 Create Get help and learn more 2014-09-04 10:25:03 -05:00
giffmex
f44a538bcf Create TiddlyWiki editions and special uses 2014-09-04 10:21:22 -05:00
giffmex
4ccc0fc262 Create Customize your TiddlyWiki 2014-09-04 10:18:41 -05:00
giffmex
d2f0cd6321 Create Getting started with TiddlyWiki 2014-09-04 10:15:26 -05:00
giffmex
9b657bc1d6 Create TableOfContentsInProcess
I am proposing to leave the present TableOfContents as it is while this new toc is being built and refined. Then when it is sufficiently advanced, we can rename it TableOfContents and delete the other one.
2014-09-04 10:09:08 -05:00
giffmex
8961e2ba19 Create What happened to the other TiddlyWiki? 2014-09-04 09:57:10 -05:00
giffmex
66fd1ed1ea Create Ten reasons to switch to TiddlyWiki
Vanilla stylesheet would need a CSS of doublespacedlist for this to display correctly:

.doublespacedlist li {padding-bottom:.5em;padding-top:.5em;}

I would add it myself, but I don't want to put it in the wrong place and mess up your system
2014-09-04 09:43:48 -05:00
giffmex
5910afae4f Create ome of the things you can do with TiddlyWiki
Hey everyone: need some more examples or demos to complete this: of TW5 to create a blog, to write a book, to inventory stuff. Also, if the timeline demo could be upgraded, at least to a more recent version, the link could be to the demo tiddler specifically rather than to the file in general.
2014-09-04 09:37:25 -05:00
giffmex
474d2ddb72 Create What happened to the other TiddlyWiki? 2014-09-04 08:52:35 -05:00
giffmex
e9519d7ad5 Update HelloThere.tid 2014-09-04 08:42:03 -05:00
Jermolene
169a38164f Update server command docs 2014-09-04 10:51:54 +01:00
Jermolene
94c9f303b1 Sort control panel translations 2014-09-04 10:14:09 +01:00
Jermolene
efd3d1b089 Remove obsolete translations
@BramChen, @xcazin, @pmario: My apologies for the disruption to the
control panel translations. I’m going to continue refactoring for a
while longer, and I’m afraid there are likely to be further changes
2014-09-04 10:12:32 +01:00
Jermolene
42f1a04cd7 Sort control panel en-GB strings 2014-09-04 10:12:17 +01:00
Jermolene
47c53f924f Move control panel autosave settings 2014-09-04 09:58:50 +01:00
Jermolene
6f4af4fc27 Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
Mario Pietsch
487c4a40ab cover the typeselector in a div-element, because the p-element has unwanted margins 2014-09-03 15:26:40 +02:00
Bram Chen
8ae0c583b0 Add chinese help text for makelibrary command 2014-09-03 21:25:59 +08:00
Mario Pietsch
542788bfeb These changes remove the p-tags from the edit-tags dropdown in tiddler edit mode. ... The changes also take effect to the tiddler-type-chooser popup, since it uses the same css classes. 2014-09-03 15:08:51 +02:00
Jermolene
bb97bc11fd Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Mario Pietsch
7f75d651d4 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into edit-tags-dom 2014-09-03 14:08:32 +02:00
Jermolene
a375d2d9b6 Remove "advanced" and "appearance" from control panel tab titles
For example, the previous title for the tiddler containing the editor
types tab of control panel was
“$:/core/ui/ControlPanel/Advanced/EditorTypes”. We’re now removing the
“Advanced” portion, so that we don’t have to rename tiddlers like this
if we move them around between tabs
2014-09-03 12:46:22 +01:00
Jermolene
e7358c9b31 Missing docs for makelibrary command 2014-09-03 10:05:00 +01:00
Jermolene
f87ce7e98a Fix tiddler keyboard shortcuts
Maddeningly, I broke them in 5.0.16-beta…
2014-09-02 22:09:28 +01:00
Jermolene
e34e83db0b Fix typo 2014-09-02 22:04:18 +01:00
Jermolene
f8ae0bf3e6 Filter operator "removesuffix" docs correction 2014-09-02 22:04:11 +01:00
Jermolene
2428111daf Fix typo 2014-09-02 22:03:52 +01:00
Jermolene
c1f80ab05d Preparation for 5.0.17 2014-09-02 22:03:42 +01:00
Jermolene
dd21697390 Version number update for 5.0.16-beta 2014-09-02 14:02:10 +01:00
Jermolene
fd6c1f8cda Preparing for 5.0.16 2014-09-02 13:42:32 +01:00
Jermolene
e5aac3d6f2 Corrections of classes for tw2parser
@buggyj I assume these classes should be converted to the new format?
2014-09-02 11:16:59 +01:00
Jermolene
7b1a9d84a1 Missed corrections of tm-auto-save-wiki message 2014-09-02 11:16:06 +01:00
Jermolene
fc6e0e0311 Release note update 2014-09-02 11:01:10 +01:00
Jeremy Ruston
42181f9b45 Merge pull request #673 from buggyj/tw2parser2
Tw2parser2
2014-09-02 10:49:56 +01:00
Jermolene
dd188e71f7 Release note update 2014-09-02 10:41:56 +01:00
Jermolene
b25351e834 Extend keyboard handling
To cope with the Mac’s “meta” key (ie command/⌘) preparatory to
trapping command-S
2014-09-02 10:41:48 +01:00
buggyj
e8b85a450d restricted classic transclusion to type text/x-tiddlywiki 2014-09-02 08:02:21 +02:00
buggyj
7b8de4670c remove server fields and calendar macro 2014-09-01 23:29:25 +02:00
Jermolene
44228ed9f7 Fix indentation of selective expandable TOC
Fixing #768
2014-09-01 21:27:28 +01:00
Mario Pietsch
2690d2cb7c Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-09-01 22:26:55 +02:00
Jermolene
2f6d16b0fa Improve comments and coding style 2014-09-01 20:39:08 +01:00
Jermolene
ca1de2be99 Revert 6641d5c93f 2014-09-01 20:38:53 +01:00
Jermolene
b68192d3cb Add @pmario's latest video
Part of addressing #770
2014-09-01 17:02:37 +01:00
Jeremy Ruston
61de0f41ed Merge pull request #776 from gernert/patch-1
Update TiddlerTags.tid
2014-09-01 15:13:09 +01:00
Jeremy Ruston
d58ab188cc Merge pull request #778 from gernert/patch-3
Update SystemTags.tid
2014-09-01 14:23:39 +01:00
Jermolene
3d647ec011 Docs Tweaks 2014-09-01 14:23:12 +01:00
gernert
bc75bd8559 Update SystemTags.tid
The list of system tags was not complete.
I took the info from my guide 'Customization of TW5', http://tw5custom.tiddlyspot.com/#Adding%20parts%20by%20tagging:%5B%5BAdding%20parts%20by%20tagging%5D%5D
2014-09-01 15:08:54 +02:00
Jeremy Ruston
34b25a635b Merge pull request #777 from gernert/patch-2
Update ContentType.tid
2014-09-01 14:01:13 +01:00
buggyj
2299a9f705 changed capitalization 2014-09-01 14:16:46 +02:00
gernert
d93696cf10 Update ContentType.tid
typo

Could not find a list of types in the Docs
2014-09-01 14:07:30 +02:00
buggyj
c956d9c1dc update to head 2014-09-01 13:00:54 +02:00
gernert
c2d5870fac Update TiddlerTags.tid
typo
2014-09-01 12:20:02 +02:00
buggyj
5b7dbfc5fb remove code causing conversion of text/x-tiddlywiki type tiddlers to text/vnd.tiddlywiki 2014-09-01 11:48:40 +02:00
buggyj
3cc702faa0 additions for the classicparserdemo edition 2014-09-01 11:11:44 +02:00
buggyj
053929db3f remove upgrade nagging 2014-08-31 17:51:03 +02:00
buggyj
59244fba91 remove newlines around macros 2014-08-31 17:48:14 +02:00
Mario Pietsch
3788571802 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-31 17:39:48 +02:00
Jeremy Ruston
beed7de4ca Merge pull request #774 from gernert/patch-1
Update PluginMechanism.tid
2014-08-31 14:55:12 +01:00
gernert
522d945275 Update PluginMechanism.tid
Without a name field the entry in the minithemeswitcher will be blank.
2014-08-31 15:52:46 +02:00
Jermolene
94538394d4 Improve embed and iframe styling
These styles are intended for viewing PDF tiddlers directly
2014-08-31 14:44:04 +01:00
Jermolene
f9a8ba46be Fix OXTWIG video 2014-08-31 14:43:20 +01:00
Jermolene
0e5d70f8ba Add @pmario's video tutorials 2014-08-31 14:43:14 +01:00
Jermolene
d2fd85eb12 Missed class "body" conversion to "tc-tiddler-body" 2014-08-31 14:37:37 +01:00
Jermolene
559afcffd9 Add classes to the toc macro output 2014-08-31 14:05:43 +01:00
Mario Pietsch
ad045a28db Merge branch 'master' of https://github.com/pmario/TiddlyWiki5 2014-08-31 14:03:26 +02:00
Jeremy Ruston
2bebde6081 Merge pull request #773 from BramChen/master
Typos in documentation
2014-08-31 10:08:02 +01:00
Bram Chen
60e95beed2 Typos in documentation 2014-08-31 10:40:08 +08:00
Bram Chen
61fca88df5 Merge remote-tracking branch 'upstream/master' 2014-08-31 09:23:34 +08:00
Mario Pietsch
b498726561 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-31 00:12:16 +02:00
Jermolene
05dfa1e1e3 Coding style tweak 2014-08-30 23:05:04 +01:00
Jeremy Ruston
032520fbe1 Merge pull request #769 from buggyj/xlink2
added support for xlink: attribute prefix
2014-08-30 23:04:14 +01:00
Mario Pietsch
d7b40b235d Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-31 00:03:07 +02:00
Jeremy Ruston
90bd2a9757 Merge pull request #772 from pmario/patch-1
Update Improving TiddlyWiki Documentation.tid
2014-08-30 22:57:03 +01:00
Jermolene
5a538b2703 Improve GitHub explanation
Trying to address #770
2014-08-30 22:53:39 +01:00
Mario Pietsch
659592bce1 Update Improving TiddlyWiki Documentation.tid 2014-08-30 22:35:47 +02:00
Jermolene
9c74afdd1a JSHint obeisance for plugins folder
Also add a jshintignore file to skip the various imported modules
2014-08-30 21:32:55 +01:00
Mario Pietsch
0cf74b2da1 Update Improving TiddlyWiki Documentation.tid 2014-08-30 22:32:53 +02:00
Jermolene
3a67fdb768 Obeisance to JSHint for core modules
There are still some warnings about making functions in a loop, but
I’ll fix those as a separate pull request because the fixes are more
than typographic errors.
2014-08-30 20:44:26 +01:00
Mario Pietsch
2136d1de5a Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-30 21:21:30 +02:00
buggyj
710759daed added support for xlink: attribute prefix 2014-08-30 17:25:04 +02:00
buggyj
322c04da53 remove incorrect version info 2014-08-30 16:46:47 +02:00
Jermolene
2a3e54b064 Release note update 2014-08-30 15:09:36 +01:00
Jermolene
9a57bfdc9c Release note updates 2014-08-30 14:44:05 +01:00
Jermolene
2bc185e1d4 Docs for auto save wiki message 2014-08-30 14:11:37 +01:00
Jermolene
6641d5c93f Adjust sync filter to avoid bug with deletions
The `[is[tiddler]]` filter rejects deleted tiddlers, meaning that
deletions were not triggering the dirty state correctly.
2014-08-30 14:04:21 +01:00
Jermolene
44c466d6e7 Docs update 2014-08-29 09:58:37 +01:00
Jermolene
2952afe7af Fix for autosave
Re-introduces the “tw-auto-save-wiki” message. The previous approach of
automatically triggering autosave whenever a tiddler changed meant that
changing configuration changes in control panel was triggering an
autosave. Using the explicit message gives us better control of the
situations in which we’ll autosave.

Now we solve the earlier problem of there being outstanding tiddler
change events at the time that we process the “tw-auto-save-wiki” by
deferring the autosave until the outstanding change event comes in.
2014-08-29 09:58:30 +01:00
Jermolene
48312272ad Extend 'all' filter operator to select all source tiddlers 2014-08-29 09:54:31 +01:00
Bram Chen
c3fee7a3b0 Merge remote-tracking branch 'upstream/master' 2014-08-29 08:48:35 +08:00
Jermolene
1b964873c4 Rename tiddler files for message documentation 2014-08-28 22:35:00 +01:00
Jermolene
89fd5379dd Change "tw-*" variables to "tv-*" 2014-08-28 22:28:02 +01:00
Jermolene
26f3a27e22 More classname tweaks
Thanks @pmario
2014-08-28 22:22:40 +01:00
Mario Pietsch
7c8f50c898 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-28 23:05:48 +02:00
Jermolene
2f69ea362c Rename "tw-*" messages to "tm-*" 2014-08-28 21:43:44 +01:00
Jermolene
db40ac85c2 Exclude upload name from the saver dirty tracking
Avoiding a bug whereby partially typed upload names trigger an abortive
save.
2014-08-28 20:55:58 +01:00
Jermolene
88c9c0c3ee Hide toolbar buttons from static renderings 2014-08-28 20:21:25 +01:00
Jermolene
43aeb47fc3 Skip whitespace from start of inline macro definitions
Now `\define mymacro() yes` will not have a leading space in the
variable value
2014-08-28 20:21:09 +01:00
Jermolene
d945492b8b Fixed text widget crashing when text is missing
`<$text text=<<missingVariable>>/>` was crashing
2014-08-28 20:20:38 +01:00
Jermolene
2ae574d5ca Final round of "tw-" -> "tc-" conversions
Part of #764
2014-08-28 19:53:02 +01:00
Jermolene
f223310d34 Yet more "tw-*" -> "tc-*"
Part of #764
2014-08-28 19:41:29 +01:00
Jermolene
995f0e7f29 More conversion of "tw-*" classes to "tc-*"
Part of #764
2014-08-28 19:13:21 +01:00
Jermolene
a1ec52c5cb Rename more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 19:08:31 +01:00
Jermolene
f8b9471549 Rename more tw- classes to tc-
Part of #764
2014-08-28 19:00:57 +01:00
Jermolene
8b10994cfe Rename more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 18:59:35 +01:00
Jermolene
1814d502a4 Convert more "tw-*" classes to "tc-*" 2014-08-28 18:47:21 +01:00
Jermolene
787481a804 Change more "tw-*" classes to "tc-*"
Part of #764
2014-08-28 18:21:08 +01:00
Bram Chen
c15f7726ba Merge remote-tracking branch 'upstream/master' 2014-08-29 01:16:55 +08:00
Jermolene
4a1c530da7 Rename "tw-tiddlylink-*" classes to "tc-tiddlylink-*"
Part of #764
2014-08-28 18:13:46 +01:00
buggyj
fc1cb94051 for testing
Merge branch 'v5015' into tw2parser2
2014-08-28 19:06:54 +02:00
buggyj
c8d9ceaf2d added image handling to tw2parser 2014-08-28 18:49:40 +02:00
Jermolene
a7dfa954d1 Rename "tw-image-*" classes to "tc-image-*"
Part of #764
2014-08-28 17:47:43 +01:00
Jermolene
53368ba5fa Rename "tw-error-*" classes to "tc-error-*"
Part of #764
2014-08-28 17:39:32 +01:00
Jermolene
35a3224dba Rename "tw-password-wrapper" class to "tc-password-wrapper"
Part of #764
2014-08-28 17:38:53 +01:00
Jermolene
54591100b5 Rename "modal-*" classes to "tc-modal-*"
Part of #764
2014-08-28 17:34:02 +01:00
Jermolene
9173e944df Rename class "btn-big-green" to "tc-btn-big-green"
Part of #764
2014-08-28 17:30:12 +01:00
Jermolene
b374e10cc6 Rename "btn-icon" class "tc-btn-icon"
Part of #764
2014-08-28 17:29:23 +01:00
Jermolene
d0cbd34bf9 Rename "btn-invisible" class to "tc-btn-invisible"
Part of #764
2014-08-28 17:28:32 +01:00
Bram Chen
1ee07ec770 Merge remote-tracking branch 'upstream/master' 2014-08-29 00:28:27 +08:00
Jermolene
e939a00be5 Rename "sidebar-header" class to "tc-sidebar-header"
Part of #764
2014-08-28 17:27:03 +01:00
Jermolene
87cb520343 Rename "story-river" class to "tc-story-river"
Part of #764
2014-08-28 17:26:21 +01:00
Jermolene
90f0fc22ff Rename "title" class to "tc-title"
Part of #764
2014-08-28 17:25:07 +01:00
Jermolene
63d7fd8457 Rename "titlebar" class to "tc-titlebar"
Part of #764
2014-08-28 17:21:40 +01:00
Jermolene
d8c3691bd1 Removed unneeded CSS classes
Part of #764
2014-08-28 17:17:50 +01:00
Jermolene
df8758e38f Release note update 2014-08-28 15:40:00 +01:00
Jermolene
112a9a95d9 Make prefix/suffix operators be case sensitive
I think it was a mistake for them to be case insensitive in the first
place.

https://groups.google.com/d/topic/tiddlywiki/dzpFsRCC5D8/discussion

If case insensitivity is required then regexps can be used instead.
2014-08-28 15:27:10 +01:00
Jermolene
748caecca0 Fix tiddler info default tab
Mistakenly omitted from b437f1b450
2014-08-28 15:16:54 +01:00
Jermolene
ad40223d6b Revert incorrect refreshing of tiddler widget
Mistakenly, I had changed the tiddler widget to refresh itself when the
value of the target tiddler changed. This is not in fact necessary; it
only needs to refresh itself when the identity of the target tiddler
changes.

Fixes #744
2014-08-28 15:16:14 +01:00
Jermolene
2e3221c4e0 Fix for removesuffic operator 2014-08-28 14:48:03 +01:00
Jermolene
dcf4e93a32 Add suffix and removesuffix filters 2014-08-28 14:46:00 +01:00
Bram Chen
3997ef13b5 Merge remote-tracking branch 'upstream/master' 2014-08-28 20:50:45 +08:00
Jeremy Ruston
798ed46469 Merge pull request #745 from BramChen/master
Update chinese translations
2014-08-28 13:33:57 +01:00
Jermolene
da82ff17da Adjust IE instructions to use a direct link to empty.html
Because large data URIs don’t work in IE
2014-08-28 13:32:15 +01:00
Mario Pietsch
cb607820dd Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-08-28 14:17:16 +02:00
Jeremy Ruston
2cd5d63902 Merge pull request #750 from pmario/de-DE
german translations including Aug 20, 2014
2014-08-28 12:57:39 +01:00
Jermolene
347d5c0148 Update link widget docs 2014-08-28 09:32:19 +01:00
Jermolene
b437f1b450 Allow default tiddler info tab to be configured 2014-08-28 09:12:00 +01:00
Jermolene
d2a5a12f2d Extend TOC macros to use caption field
Now the `caption` field is used for the text of each entry, if present,
falling back to the `title` field.
2014-08-28 08:58:53 +01:00
Bram Chen
92abcb4f5a Merge remote-tracking branch 'upstream/master' 2014-08-27 20:47:23 +08:00
Jermolene
8ca709f664 Release note update 2014-08-27 11:10:06 +01:00
Jermolene
32b795452f Allow Markdown dialect to be configured 2014-08-27 11:09:59 +01:00
Jermolene
13c4e028b1 Refactored autosave mechanism
Previously we were using a message `tw-auto-save-wiki` to trigger an
autosave. The message was generated by certain UI actions such as
saving a tiddler. The trouble was that the message was being processed
before the wiki change event for the accompanying change had had a
chance to percolate. The end result was that the dirty indicator was
staying lit when using autosave.

The new approach abandons the autosave message and instead triggers the
autosave in the wiki change event when a relevant change occurs.

One happy side effect of these changes is that the dirty indicator now
works as expected with the client server edition - ie, when typing in a
draft tiddler the dirty indicator will flash briefly, and then clear
when the sync mechanism has completed saving the draft.
2014-08-27 10:04:54 +01:00
Jermolene
9d871309c2 Remove stray console.log 2014-08-27 09:59:15 +01:00
Jermolene
ab41462af3 Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
Bram Chen
b1a203234a Merge remote-tracking branch 'upstream/master' 2014-08-27 11:49:09 +08:00
Jermolene
e47852cb14 Stop clearing the location hash for tw-browser-refresh 2014-08-26 14:19:12 +01:00
Jermolene
ba087c96c2 Sorry @xcazin I missed you off the last release note 2014-08-26 14:17:57 +01:00
Jermolene
372fa040c5 Preparing for 5.0.16 2014-08-26 14:17:41 +01:00
buggyj
36a7b1149f merge to latest tw5 2014-08-25 13:01:30 +02:00
Mario Pietsch
a24516be2a some cosmetic changes 2014-08-24 13:14:36 +02:00
Mario Pietsch
3e281bc35e german translations including Aug 20, 2014 2014-08-24 12:59:41 +02:00
Mario Pietsch
e6c40cfcb6 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into de-DE 2014-08-24 12:21:11 +02:00
Mario Pietsch
cda0b542f9 Merge tag 'v5.0.15-beta' of https://github.com/Jermolene/TiddlyWiki5
Version number update for 5.0.15-beta
2014-08-21 13:06:00 +02:00
Bram Chen
bd9e5eadb3 Update chinese translations
* Add message of blocked temporary state tiddlers for upgrader
* Add refresh button
* Update hint of home button
* Update dropznoe text
2014-08-21 18:16:25 +08:00
Jermolene
39fac54e06 Version number update for 5.0.15-beta 2014-08-20 22:58:09 +01:00
Jermolene
d0654c3211 Docs updates for 5.0.15 2014-08-20 22:56:25 +01:00
Jermolene
8041e3bef2 Add a sort parameter to the TOC macro
As requested by @giffmex
2014-08-20 22:48:07 +01:00
Jermolene
81a426659e Extraneous wikilink in docs 2014-08-20 22:25:55 +01:00
Jermolene
7c3bac4780 Fix fill star icon 2014-08-20 22:25:33 +01:00
Jermolene
bbd0f7841b Move improvement banner to the edit template
Thanks to @xcazin for the most excellent suggestion.
2014-08-20 22:07:39 +01:00
Jermolene
085e60c0f7 Improved documentation on improving the documentation 2014-08-20 22:07:12 +01:00
Jermolene
34d22f631d Temporarily disable the improvement banner
We should perhaps discuss this at the next hangout…
2014-08-20 20:46:59 +01:00
Jermolene
73ef104b11 Fix regression with tag label styling in edit template 2014-08-20 20:46:24 +01:00
Jermolene
56bf3924f5 Tweaks to the improvement banner
I think it looks pretty terrible, and am minded not to include it in
5.0.15. Interested in other views.
2014-08-20 17:06:39 +01:00
Jermolene
2bbe9f76ec Block temporary state tiddlers from import/upgrade 2014-08-20 13:52:59 +01:00
Jeremy Ruston
a9279fcfed Merge pull request #742 from xcazin/fr-FR
Recent fr-FR translations plus small typo in RevealWidget documentation
2014-08-20 13:40:52 +01:00
Jermolene
b0c6babd8d Add banner soliciting documentation improvements
A first pass
2014-08-20 11:25:56 +01:00
Jermolene
4e65bbc405 Add star image 2014-08-20 11:25:30 +01:00
Jermolene
c912fed55d Use a JSON tiddler for $:/config/OriginalTiddlerPaths
Otherwise things go wrong when we have tiddler titles containing colons
2014-08-20 10:11:40 +01:00
Jermolene
1075bd2084 Add content to "Contents" tiddler
Leaving it with no text content means that it triggers a lazy load with
the client server edition
2014-08-20 10:03:40 +01:00
Jermolene
a105b52399 Refactor saver handler
Fixing problems caused by c4b76ceb0b:

* We still need to initialise the saver-handler even when syncing to a
server, otherwise offline snapshots can’t be saved
* We need to override the default save template a bit further up the
stack, to avoid the server side serving the offline version of the wiki
at `/`
2014-08-20 10:02:44 +01:00
Jermolene
fbf307c648 Add alt attribute to image widget 2014-08-20 10:00:34 +01:00
Xavier Cazin
c16f5b6b67 Typo in RevealWidget documentation 2014-08-19 17:08:15 +02:00
Jermolene
1973df0809 Update release note 2014-08-19 16:03:31 +01:00
Xavier Cazin
a0e61b89a3 fr-FR translation for the Drop message 2014-08-19 16:52:19 +02:00
Xavier Cazin
12f894df7c fr-FR translation for Refresh and Home button strings 2014-08-19 16:51:34 +02:00
Jermolene
0dfe23e0db Rename tw-refresh message to tw-browser-refresh 2014-08-19 13:11:18 +01:00
Jermolene
25777b147f Make dropzone text translateable
Also make the text sticky for browsers that support it, ensuring that
it is always visible even after scrolling
2014-08-19 13:07:57 +01:00
Jermolene
58730b7452 Add selective expandable table of contents macro
And improve the layout of the examples
2014-08-19 12:30:22 +01:00
Jermolene
c4b76ceb0b Improve offline saving with TiddlyWeb
Now the usual “save changes” button in the sidebar will save an offline
copy of the wiki that excludes the TiddlyWeb plugin. Previously, this
functionality was only available in the control panel, leading to
several problems such as that discussed here:

https://groups.google.com/d/topic/tiddlywikidev/U61pO-TR854/discussion
2014-08-19 12:20:26 +01:00
Jermolene
920e11e792 Introduce refresh button and revert home button
Now the home button behaves as it did in 5.0.13, and the new refresh
button does a full page refresh.
2014-08-19 12:12:36 +01:00
Jermolene
074cbf2606 Release note update 2014-08-18 21:48:03 +01:00
Jermolene
1e1622273b More table of content macro docs 2014-08-18 21:44:31 +01:00
Jermolene
bd56e4b960 Fix ordering for the table of contents example 2014-08-18 21:44:22 +01:00
Jermolene
8cf726275c First pass at table of contents macros
Introduce macros for automatically generating table of contents
2014-08-18 20:52:36 +01:00
Jermolene
a2acb1462b Update release note 2014-08-18 20:43:16 +01:00
Jermolene
fe6623d7fe Restore foreground colour for sidebar tag pills 2014-08-18 13:22:38 +01:00
Jermolene
a3d0f84ff7 Update startup modules diagram 2014-08-18 10:45:27 +01:00
Jermolene
c57b009968 Simpler default defaulttiddlers 2014-08-18 10:27:48 +01:00
Jermolene
727638c12d Clean up CSS macros
Move the CSS macros into global macros, and allow the colour macro to
fallback to the vanilla palette if the required colour isn’t found in
the current palette.
2014-08-18 10:14:19 +01:00
Jermolene
a637af022d Fix problem with parseTextReference not recognising missing indices 2014-08-18 10:13:30 +01:00
Jermolene
d7cb82d65d Add GuerillaWiki docs 2014-08-17 15:10:43 +01:00
Jermolene
bea83bfe55 Fix problem with refreshing the edit widget 2014-08-16 15:01:04 +01:00
Jermolene
bba3fe586b Fix padding for plugin dropdown 2014-08-16 14:44:46 +01:00
Jermolene
4044ba0d2d Add full download link to GettingStarted 2014-08-16 14:44:11 +01:00
Jeremy Ruston
d76352d873 Merge pull request #736 from BramChen/master
Update chinese translations
2014-08-16 09:42:03 +01:00
Jeremy Ruston
a4cfc17d7d Merge pull request #737 from xcazin/fr-FR
More fr-FR translations for Plugins-related strings in ControlPanel
2014-08-16 09:41:50 +01:00
Bram Chen
f8ad9fd590 Add chinese translations for the new functionality of enable/disable plugins in control panel 2014-08-16 09:05:45 +08:00
Xavier Cazin
7ff7f5508c More fr-FR translations for Plugins-related strings in ControlPanel 2014-08-15 22:54:58 +02:00
Jeremy Ruston
dd8d6913fc Merge pull request #734 from xcazin/fr-FR
fr-FR translations for new translateable strings since 5.0.14
2014-08-15 21:19:17 +01:00
Jermolene
87b7677a0f Release note update 2014-08-15 21:15:28 +01:00
Jermolene
32a7ee2683 Make it possible to disable plugins 2014-08-15 21:10:40 +01:00
Xavier Cazin
9e86dd07bc fr-FR translation of the Readme file for the core plugin 2014-08-15 19:20:21 +02:00
Xavier Cazin
850378ceb2 fr-FR translation for Unsaved Changes Warning 2014-08-15 19:07:31 +02:00
Xavier Cazin
6b91c354c3 Merge remote-tracking branch 'upstream/master' into fr-FR 2014-08-15 18:59:28 +02:00
Jermolene
04e049df97 Add message for empty plugin lists 2014-08-15 16:48:02 +01:00
Jermolene
18592fe8f8 Fix problem with edit widget not refreshing
One symptom of this problem was that changing the type field of a
tiddler didn’t immediately switch to the bitmap editor
2014-08-15 10:06:52 +01:00
Jermolene
0aeb9d36a0 Fix content type typo 2014-08-15 10:06:19 +01:00
Jermolene
95926b85b9 Move editor type mappings into a single file 2014-08-15 10:06:05 +01:00
Jermolene
ea83149746 Release note updates 2014-08-15 09:52:57 +01:00
Jermolene
c0c52f5bcb Revert to putting the version number in the corner ribbon
Based on two bits of feedback:

1. The version number should be displayed prominently on the page
2. Ordinary users don’t know what “Find me on GitHub” means
2014-08-15 09:50:33 +01:00
Jermolene
e88dcfacd6 More release note updates 2014-08-15 09:42:54 +01:00
Jermolene
c8830d32f7 Fixed problem with building TW under Windows
Fixes #717

The issue was that under Windows we generate text nodes that contained
CRLF as a linebreak (rather than just LF as usual).

The subtle problem is that when these strings are placed in the DOM via
createTextNode(), the CR character is treated as a printable character,
not whitespace. When creating DOM notes with innerHTML or as part of a
static HTML document the HTML parser will strip out the CR characters.

The hacky solution is to manually remove CRs before building the text
node.
2014-08-15 09:40:22 +01:00
Jermolene
592cdc4617 Release note updates 2014-08-15 09:36:36 +01:00
Jermolene
837f36aa86 Docs update 2014-08-14 12:00:12 +01:00
Jermolene
9e85ddfec7 Ensure we have a default language in empty.html 2014-08-14 12:00:07 +01:00
Jermolene
f75af2c983 Separate the saver handling out of the syncer 2014-08-14 11:43:07 +01:00
Mario Pietsch
a773bcbc98 translation for german CoreReadMe 2014-08-14 12:38:26 +02:00
Jermolene
27f1f82a70 Rejigging syncer structuring
The goal is to separate out the saver handling from the syncadaptor
handling; it will take a few steps to get there
2014-08-14 11:12:25 +01:00
Jermolene
82860aea33 Tweaked tag button 2014-08-14 11:10:55 +01:00
Jeremy Ruston
24998f2990 Merge pull request #731 from BramChen/master
Update chinese translations
2014-08-14 08:56:58 +01:00
Jermolene
d57446f1e4 Remove $tw.syncer global from syncer.js 2014-08-14 08:54:31 +01:00
Jermolene
4b05608ad5 Add tag manager button 2014-08-14 08:49:03 +01:00
Bram Chen
fd61814a7d Add chinese translations of unsaved changes message 2014-08-14 15:20:45 +08:00
Bram Chen
deddb4cc5f Merge remote-tracking branch 'upstream/master' 2014-08-14 14:36:37 +08:00
Jermolene
35fcdd270e Move syncer event handlers into syncer module 2014-08-13 20:25:23 +01:00
Jermolene
449edf99b5 Fix rootwidget handling 2014-08-13 20:20:58 +01:00
Jermolene
7c1cb97f7f Move syncer-browser startup handling into syncer.js 2014-08-13 20:07:08 +01:00
Jermolene
d16bff7787 Move construction of rootwidget into main startup 2014-08-13 20:06:44 +01:00
Jermolene
34461cb2fe Fix unclickable download link in upgrade wizard 2014-08-13 19:59:48 +01:00
Jermolene
c9ce606b7c Move the unsaved changes warning into the syncer 2014-08-13 19:29:00 +01:00
Jermolene
57ab9f6167 Translatability for the unsaved changes message
Another bit of #491
2014-08-13 19:14:23 +01:00
Jermolene
2bdf84e58f Preparing for 5.0.15-beta 2014-08-13 19:13:30 +01:00
Jermolene
932d3950c8 Version number update for 5.0.14-beta 2014-08-13 17:12:42 +01:00
Jermolene
554f235305 Update dates for 5.0.14 2014-08-13 17:09:49 +01:00
Jermolene
bf748eafec Correct width for vertical tab content 2014-08-13 17:06:18 +01:00
Bram Chen
4b0e0475ea Merge remote-tracking branch 'upstream/master' 2014-08-12 11:32:55 +08:00
Jermolene
65014a8d6c Docs updates 2014-08-11 23:48:29 +01:00
Jermolene
65b2852c7f Release note update 2014-08-11 17:55:24 +01:00
Bram Chen
0d3dc5e10e Merge remote-tracking branch 'upstream/master' 2014-08-11 21:49:54 +08:00
Jermolene
b2e1dd2138 Allow whitespace after first line of multiline macro
Fixes the remaining part of #482
2014-08-11 13:52:10 +01:00
Jermolene
57878631e4 Don't sync the pending import tiddler to the server 2014-08-11 13:38:10 +01:00
Jermolene
1c44ea8941 More widget message documentation 2014-08-11 13:17:11 +01:00
Bram Chen
d608462ae5 Merge remote-tracking branch 'upstream/master' 2014-08-10 19:35:21 +08:00
Jeremy Ruston
c38d682d7d Merge pull request #725 from BramChen/master
Update chinese translations
2014-08-10 12:24:50 +01:00
Jeremy Ruston
7a18417d81 Merge pull request #692 from ssokolow/issue-692
"Manually create an external image" instructions do not work 5.0.14-prerelease
2014-08-10 12:20:58 +01:00
Jermolene
d7aeb7e932 Docs update 2014-08-10 12:20:46 +01:00
Jermolene
be8c753f28 Fix formatting of edit fields 2014-08-10 09:13:56 +01:00
Jermolene
1892f33ae6 Hide "revision" and "bag" fields from field editor 2014-08-10 09:13:48 +01:00
Jermolene
af70f7be6b An export button
The plan is to have dropdowns of export formats for both individual
tiddlers and the whole page.
2014-08-10 08:54:12 +01:00
Jermolene
961089f266 Remove obsolete control panel localisable strings
My apologies to the translators!
2014-08-10 08:43:28 +01:00
Bram Chen
d7e1b68679 Merge remote-tracking branch 'upstream/master' 2014-08-10 07:55:39 +08:00
Stephan Sokolow
2bf5398eaa Add an attention-drawing warning regarding the spelling of _canonical_uri 2014-08-09 17:17:57 -04:00
Jermolene
69de66ef80 Avoid localisable strings in the tag manager icon dropdown 2014-08-09 20:52:31 +01:00
Jermolene
e74a598aeb Better organisation for the tag image dropdown 2014-08-09 20:50:28 +01:00
Bram Chen
d0e33cb2d9 Merge remote-tracking branch 'upstream/master' 2014-08-09 20:34:02 +08:00
Jermolene
f6d7d87a3d Add icon previews to tag manager 2014-08-09 13:12:23 +01:00
Jermolene
ba0accf4f5 Docs updates 2014-08-09 12:41:02 +01:00
Jermolene
c590f9de8b More formatting improvements for plugins control panel 2014-08-09 11:54:07 +01:00
Bram Chen
4379c57ffa Merge remote-tracking branch 'upstream/master' 2014-08-09 14:03:58 +08:00
Jermolene
2ff2092615 More improvements to control panel plugin formatting 2014-08-08 17:19:48 +01:00
Jermolene
5e06ef871a Docs update 2014-08-08 16:48:40 +01:00
Jermolene
76914c4045 Minor icon tweaks 2014-08-08 16:35:48 +01:00
Jermolene
bcf89d533d Docs update 2014-08-08 16:35:33 +01:00
Jermolene
cc4552f544 Readme update 2014-08-08 16:35:28 +01:00
Jermolene
878689f92e Improved formatting for control panel plugins 2014-08-08 16:35:17 +01:00
Jermolene
2526bfb078 Disable wikilinking when preceded with dash or underscore
“HelloThere” in “My-HelloThere” shouldn’t be wikified.

Part of #337
2014-08-08 16:20:15 +01:00
Jermolene
f8548cc8f2 Stop classifyinh "÷" (\u00f7) as an upper case letter
Part of #337
2014-08-08 16:12:23 +01:00
Jermolene
9c8564d5b0 Stop classifying "×" (\u00d7) as a lower case letter
Part of #337
2014-08-08 16:09:56 +01:00
Jermolene
d7390dbbe1 Remove support for underscore and dash in wikilinks
Starting to fix #337
2014-08-08 11:13:41 +01:00
Jermolene
bd92dc3692 Improve plugin tab layout
It’s still a bit of a mess, and the vertical alignment isn’t working
properly
2014-08-08 10:01:21 +01:00
Jermolene
d01efe8698 Generic fallback icons for plugins 2014-08-08 10:00:59 +01:00
Jermolene
b64b1ab9cc Better icon for the core plugin 2014-08-08 10:00:40 +01:00
Bram Chen
38431507d2 Typos 2014-08-08 14:52:53 +08:00
Jermolene
3d7e43fa7a Move the Cecily icon 2014-08-08 07:50:00 +01:00
Jermolene
7cd13f7163 Give Cecily a readme 2014-08-08 07:49:48 +01:00
Bram Chen
737b6adc7d Add chinese translations of the core plugin readme 2014-08-08 14:40:12 +08:00
Jermolene
5260899d8b Relax requirement for newline after macro definition 2014-08-07 16:00:20 +01:00
Jermolene
7528f3d3cd Update plugin documentation 2014-08-07 15:50:02 +01:00
Jermolene
3842657392 Add/update plugin readmes
Notice that translators need to translate the core plugin readme
2014-08-07 15:49:52 +01:00
Jermolene
017ba740e5 Temporary icon for core plugin 2014-08-07 15:48:50 +01:00
Jermolene
2c4e9a64e9 Extend control panel plugins tab
Now we display plugin icons, and an accordion containing information
tabs exposed by the plugin.
2014-08-07 15:48:38 +01:00
Jermolene
c5b941dc1a Update author of German translations
Shouldn’t really credit @jermolene, since it is actually @pmario who
has done the work.
2014-08-07 15:46:30 +01:00
Jermolene
e38f924eb5 Update language flags to generic plugin icon convention 2014-08-07 15:45:56 +01:00
Jermolene
7953b95d13 Include subtiddler in transclusion recursion detection 2014-08-07 15:43:48 +01:00
Jermolene
08f775eac8 Recognise .HTA as synonym for .HTML files
Fixes #513
2014-08-04 15:12:33 +01:00
Jermolene
ec3827e5a4 Docs typo 2014-08-04 13:31:52 +01:00
Jermolene
edc14f44d2 Add latest release to table of contents 2014-08-04 13:31:45 +01:00
Jeremy Ruston
86bf754933 Merge pull request #724 from pmario/fix-austrian-flag
austrian flag now preserves aspect ratio in page toolbar button
2014-08-03 16:42:58 +01:00
Jeremy Ruston
826b0f58f0 Merge pull request #723 from pmario/de-DE
german translation till #3529625a6
2014-08-03 16:42:23 +01:00
Mario Pietsch
7d87d73b0b austrian flag now preserves aspect ratio in page toolbar button 2014-08-03 15:51:26 +02:00
Mario Pietsch
c3a1af8649 german translation till #3529625a6 2014-08-03 15:15:44 +02:00
Jermolene
3529625a6c Fix full screen button not supported 2014-08-03 12:35:53 +01:00
Jermolene
bf9a87dc0e Fix CR handling by HTML parser
@pmario and @welford - I’m not presenting this as a fix for #717
because I’m still not in a position to reproduce it.

However, I found this during a review of newline handling code, and
would be interested if it is implicated in the problems you are
reporting.
2014-08-03 09:43:22 +01:00
Jeremy Ruston
f7287718a7 Merge pull request #721 from BramChen/master
Update chinese translations
2014-08-03 09:33:38 +01:00
Jeremy Ruston
14fd8282dc Merge pull request #722 from xcazin/fr-FR
fr-FR translations for latest Buttons- and Import- related strings
2014-08-03 09:33:23 +01:00
Xavier Cazin
5a704de14a Merge branch 'master' into fr-FR 2014-08-03 09:27:42 +02:00
Bram Chen
5782bbf21f Add chinese translations for theme button 2014-08-03 12:18:56 +08:00
Jermolene
83bae92a29 Refine page control button colour 2014-08-02 22:51:04 +01:00
Jermolene
a0266bdb2a Fix table-of-contents button colour 2014-08-02 22:49:30 +01:00
Xavier Cazin
8779936182 fr-FR translation for Theme-related Button strings 2014-08-02 23:40:21 +02:00
Xavier Cazin
33b4851d0f Merge branch 'master' into fr-FR 2014-08-02 23:37:58 +02:00
Jermolene
1573f5840e Fix styling of "more" page button 2014-08-02 22:31:09 +01:00
Jermolene
1a9bd683e4 Add theme toolbar button 2014-08-02 22:13:54 +01:00
Jeremy Ruston
19028fee0a Merge pull request #719 from BramChen/master
Update chinese translations
2014-08-02 21:38:55 +01:00
Jermolene
fead253e9c Fix colour of import button 2014-08-02 21:37:48 +01:00
Xavier Cazin
87c899d842 fr-FR translation of the Import button strings. 2014-08-02 19:45:52 +02:00
Xavier Cazin
73e65d8590 New Import-related strings gives the opportunity to improve previous fr-FR translations 2014-08-02 19:44:17 +02:00
Xavier Cazin
2a6caa42fc Merge branch 'master' into fr-FR 2014-08-02 16:53:21 +02:00
Bram Chen
f09ba1114b Add chinese translations for import button
and update upgrader messages
2014-08-02 21:17:10 +08:00
Bram Chen
0f79dfea17 Merge remote-tracking branch 'upstream/master' 2014-08-02 21:11:09 +08:00
Jeremy Ruston
d5625ceaab Merge pull request #718 from BramChen/master
Update chinese translations
2014-08-02 13:43:25 +01:00
Bram Chen
3b612fe758 Merge remote-tracking branch 'upstream/master' 2014-08-02 20:41:05 +08:00
Jermolene
17f78ae9c1 Docs update 2014-08-02 13:39:02 +01:00
Jermolene
c8bba8caea Switch to "tw-tagged-" prefix for CSS tags 2014-08-02 13:38:39 +01:00
Jermolene
1d8e3ef288 Trim sidebar tools
Just got to add a theme button
2014-08-02 13:38:22 +01:00
Jermolene
9b9f7d32a0 Add plugin blocklist
Starting with blocking the old fullscreen plugin
2014-08-02 12:42:05 +01:00
Jermolene
748e4ccddc Update button image sizes 2014-08-02 12:28:09 +01:00
Jermolene
1cc85fa3cb Add description for github ribbon 2014-08-02 12:27:52 +01:00
Jermolene
bf39a45fc0 Fixes for import button position 2014-08-02 12:16:14 +01:00
Jermolene
bdd33be001 Fixes for file input styling 2014-08-02 12:05:01 +01:00
Jermolene
7816c1d944 Add import button 2014-08-02 11:59:07 +01:00
Jermolene
120203a8e0 Refactor sidebar tools tab
It’s going to be like the tools tab of tiddler info
2014-08-02 11:58:55 +01:00
Xavier Cazin
7316795238 fr-FR translation for StoryView related strings 2014-08-02 11:44:41 +02:00
Xavier Cazin
0d9acad12a Merge remote-tracking branch 'origin/fr-FR' into fr-FR 2014-08-02 11:27:59 +02:00
Bram Chen
dee4836ded Add chinese translations for fullscreen and storyview buttons 2014-08-02 10:24:08 +08:00
Jermolene
5291f33c84 Clearer current selection for language and storyview 2014-08-01 22:07:07 +01:00
Jermolene
9774c763b1 Add a storyview button 2014-08-01 21:40:13 +01:00
Xavier Cazin
b8fba1fcb9 fr-FR translation for Full-screen related strings 2014-08-01 19:28:46 +02:00
Jeremy Ruston
ae469c3f87 Merge pull request #702 from pmario/701-split-emphasis
splited emphasis.js into several modules to have fine grained control with rules pragma
2014-08-01 18:24:16 +01:00
Jermolene
c23f6af4b5 Add CSS classes for each tag 2014-08-01 17:48:26 +01:00
Jermolene
6a2f1be9d7 Typo in stylesheet processing 2014-08-01 17:48:11 +01:00
Jermolene
d357e1706c Allow visible edit fields to be configured
Create a tiddler “$:/config/EditTemplateFields/Visibility/fieldname”
with the text “hide” to hide a particular field
2014-08-01 17:03:53 +01:00
Jermolene
52bbd6d583 Add tick alongside current language 2014-08-01 16:52:24 +01:00
Jermolene
799a5b059a Move fullscreen button into core from plugin 2014-08-01 16:52:12 +01:00
Jeremy Ruston
6d06a54530 Merge pull request #714 from xcazin/fr-FR
fr-FR translations for latest modifications on Buttons- and ControlPanel- related strings
2014-08-01 12:30:10 +01:00
Jermolene
17ec15750e Add plugin-priority to German translations
We need to make sure de-AT is loaded after de-DE
2014-08-01 10:26:44 +01:00
Jermolene
688760c4b3 Add Chinese flags
Thanks @BramChen
2014-08-01 08:47:31 +01:00
Jeremy Ruston
e98d3f86c2 Merge pull request #716 from BramChen/master
Update chinese translations
2014-08-01 08:43:19 +01:00
Jermolene
099919f61e Fix whitespace issues 2014-08-01 08:43:00 +01:00
Jermolene
1bd4ab945d Reorganise acknowledgements
We want the core acknowledgements to be part of the plugin, rather than
the tw5.com edition
2014-08-01 08:42:52 +01:00
Bram Chen
0d8b82ce37 Update chinese translations
* Add language toolbar butotn
* Update descriptions of toolbar buttons
2014-08-01 11:01:28 +08:00
Xavier Cazin
a54476fd55 Last minute fr-FR correction to the language-related string 2014-07-31 20:08:19 +02:00
Xavier Cazin
a6da7bfe6a Plural also required in French when speaking of several toolbars 2014-07-31 19:55:41 +02:00
Xavier Cazin
50b73c5264 New additions and corrections for the fr-FR translation of the Buttons-related strings 2014-07-31 19:40:15 +02:00
Xavier Cazin
3ff66c9fef Merge branch 'fr-FR' of https://github.com/xcazin/TiddlyWiki5 into fr-FR 2014-07-31 19:22:25 +02:00
Jermolene
a61169e7e8 Fix problem with parsing missing tiddlers 2014-07-31 18:07:52 +01:00
Jermolene
789ba1e85d Add language toolbar button
Also adds flag icon for each language.

One limitation is that the language button doesn’t work properly when
accessed via the “more” menu of the page controls.

@BramChen - could you help me choose the most appropriate flags to use
for the variants of Chinese?
2014-07-31 18:07:37 +01:00
Jermolene
8adcfc97c5 Updated translation instructions 2014-07-31 09:40:25 +01:00
Jermolene
2d43003841 Add descriptions to toolbar buttons 2014-07-31 09:28:46 +01:00
Jermolene
3732f7b564 Correct description of home button 2014-07-31 09:16:28 +01:00
Jeremy Ruston
258c97d4b0 Merge pull request #713 from BramChen/master
Update chinese translations
2014-07-31 08:09:05 +01:00
Jermolene
f589e56692 Highlight savewiki text as well as icon 2014-07-31 08:07:31 +01:00
Bram Chen
1ba5d17613 Add chinese translations for unsaved changes indicator 2014-07-31 11:19:10 +08:00
Jermolene
18f1634802 Make the tw-home message refresh the page 2014-07-30 22:31:15 +01:00
Jermolene
c4c4c3d270 Add "more" page control button 2014-07-30 22:25:52 +01:00
Xavier Cazin
ac4a104bac Merge branch 'master' into fr-FR 2014-07-30 18:14:20 +02:00
Xavier Cazin
2a88ff9add fr-FR translation for the dirty-indicator description 2014-07-30 18:13:14 +02:00
Jermolene
56945d91d3 Add unsaved changes indicator
The “save” icon changes to red to indicate that there are unsaved
changes.
2014-07-30 16:46:13 +01:00
Xavier Cazin
a45690a876 fr-FR translations for the CloseAll-related strings 2014-07-30 14:46:05 +02:00
Xavier Cazin
121835a697 Merge branch 'master' into fr-FR 2014-07-30 14:43:39 +02:00
Xavier Cazin
1e30da2c6a fix for fr-FR Encryption-related strings 2014-07-30 13:28:11 +02:00
Jermolene
73d7e85e11 Ensure sticky titles theme works in edit mode 2014-07-30 12:19:15 +01:00
Jeremy Ruston
74bf2a053d Merge pull request #710 from BramChen/master
Update chinese translations for toolbars
2014-07-30 12:04:13 +01:00
Jeremy Ruston
ec2020e888 Merge pull request #712 from pmario/de-DE
german translation including commit 2380392
2014-07-30 12:03:58 +01:00
Mario Pietsch
0db4d93c21 add close all button 2014-07-30 12:59:25 +02:00
Mario Pietsch
0534270194 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 into de-DE 2014-07-30 12:57:42 +02:00
Bram Chen
d7767b1f1f Add chinese translations for close-all page control button 2014-07-30 18:56:10 +08:00
Jermolene
aea06f7df4 Fix checkbox setting text field to empty string 2014-07-30 11:52:45 +01:00
Bram Chen
8e91bdeca9 Merge remote-tracking branch 'upstream/master' 2014-07-30 18:47:05 +08:00
Jermolene
f4b834aa2a Add close-all page control button 2014-07-30 11:40:06 +01:00
Xavier Cazin
6af6a77c3c fr-FR translation of Encryption-related strings 2014-07-30 12:02:51 +02:00
Mario Pietsch
74038c0687 german translation including commit 2380392 2014-07-30 09:09:43 +02:00
Bram Chen
e689e904ac Update chinese translations for toolbars
* New 'home', 'more' and 'encryption' buttons
* New toolbar tabs in control panel
* New tools tab in tiddler info
2014-07-29 23:31:35 +08:00
Bram Chen
458071a2f1 Merge remote-tracking branch 'upstream/master' 2014-07-29 23:07:06 +08:00
Jeremy Ruston
8faf839bdd Merge pull request #709 from xcazin/fr-FR
fr-FR translations for new ToolBars-related & import-related strings
2014-07-29 15:43:22 +01:00
Jermolene
2380392f35 Add a page control for encryption 2014-07-29 15:43:10 +01:00
Xavier Cazin
7e7a0a18b9 fr-FR translations for new ToolBars-related strings 2014-07-29 16:09:25 +02:00
Bram Chen
e5e503fe17 Merge remote-tracking branch 'upstream/master' 2014-07-29 21:07:22 +08:00
Jermolene
4de1a1adbe Normalise titles of toolbar button tiddlers
The title shouldn’t include the toolbar name if we’re starting to have
buttons which can be placed on more than one toolbar.
2014-07-29 13:37:57 +01:00
Jermolene
0d5380d4a6 Set vertical alignment for SVG in buttons
Makes the buttons in the info panel “tools” tab look more like buttons
on Chrome.
2014-07-29 12:06:04 +01:00
Jermolene
4bb8c4e8a7 Add toolbar tabs to control panel 2014-07-29 10:20:13 +01:00
Jermolene
758762eee3 Autosave after an import 2014-07-29 10:03:43 +01:00
Jermolene
f1589e707f Move the github ribbon into the sidebar
Which makes it scroll with the sidebar, rather that with the main page
2014-07-28 15:57:27 +01:00
Jermolene
30f60c400e Add tiddler info tools tab 2014-07-28 14:38:17 +01:00
Jermolene
46ae9bd34e Add tiddler info tools tab 2014-07-28 14:37:42 +01:00
Jermolene
4be5c28ed4 Try the "more" button on the left 2014-07-28 14:21:11 +01:00
Jermolene
536c697c9f 'more' toolbar button highlights when selected 2014-07-28 14:20:45 +01:00
Jermolene
cb0eba73c2 Typo 2014-07-28 14:20:18 +01:00
Jermolene
5f018c2092 More defensive dom utility hasClass()
It was failing on SVG elements such as `<path>`
2014-07-28 14:19:52 +01:00
Jermolene
ad4db0de97 Add 'more' toolbar button 2014-07-28 11:29:06 +01:00
Bram Chen
4fd111e8ea Merge remote-tracking branch 'upstream/master' 2014-07-27 21:36:59 +08:00
Jermolene
497d9812c8 More buttons for the view toolbar
The arrangement of disabling and enabling buttons within the tiddler
info panel is temporary.
2014-07-27 11:43:26 +01:00
Bram Chen
1d81d52f52 Merge remote-tracking branch 'upstream/master' 2014-07-26 17:27:21 +08:00
Jeremy Ruston
0485e3fa02 Merge pull request #706 from BramChen/master
Add chinese translations for close other button
2014-07-26 09:19:26 +01:00
Bram Chen
6800e1d3e2 Merge remote-tracking branch 'upstream/master' 2014-07-26 14:28:26 +08:00
Jermolene
71ae63e24f Temporary commit losing power 2014-07-25 17:17:02 +01:00
Jermolene
40b4259e86 Clarify widget constructor docs 2014-07-25 15:26:53 +01:00
Jermolene
be040ea8a2 Add support for variable filter operands
Fixes #583
2014-07-25 15:26:44 +01:00
Bram Chen
40368062e3 Add chinese translations for close other button 2014-07-25 20:52:48 +08:00
Jermolene
d6cafa9da1 Updated docs for the edit text widget 2014-07-25 13:09:30 +01:00
Jermolene
3d5f68f7a8 Add a close others button 2014-07-25 13:09:20 +01:00
Jermolene
7d435cf850 Improved tabs examples 2014-07-25 08:49:58 +01:00
Jermolene
8600445100 Update tabs macro docs 2014-07-25 08:45:57 +01:00
Jeremy Ruston
7c7671e4ca Merge pull request #704 from BramChen/master
Add chinese translations for Permeview, PermaLink and Clone buttons
2014-07-25 08:29:27 +01:00
Bram Chen
33a070c5b1 Add chinese translations for Permeview, PermaLink and Clone buttons 2014-07-25 11:55:58 +08:00
Jermolene
69af30bf0d tw-new-tiddler example docs 2014-07-24 23:07:02 +01:00
Mario Pietsch
6de453d796 remove stricethrough.js 2014-07-24 23:51:37 +02:00
Mario Pietsch
bb47f1dbad fix whitespace and filename 2014-07-24 23:49:42 +02:00
Mario Pietsch
95f6c92192 fixed whitespace 2014-07-24 23:47:13 +02:00
Jermolene
c73853288c Allow .htm as an alias for .html files 2014-07-24 19:53:51 +01:00
Jermolene
0c34459d75 Updated architecture docs from @ssokolow
I’ve mismerged things again I’m afraid.
2014-07-24 17:11:28 +01:00
Jermolene
8888993ba3 Remove Page Composition diagram 2014-07-24 17:09:30 +01:00
Mario Pietsch
7aa6c7c06d splited emphasis.js into several modules to have fine grained control with wikification rules eg: rules except bold ... This fixes #701 2014-07-24 17:43:03 +02:00
Jermolene
218ce09605 Add permalink/permaview/clone to tiddler info bar
I’m open to suggestions for better ways to expose this functionality
2014-07-24 15:50:18 +01:00
Jermolene
9d69c38611 Docs for permalink and permaview 2014-07-24 15:49:18 +01:00
Jermolene
1f16ef6fa8 Add support for permalink and permaview 2014-07-24 15:49:09 +01:00
Jermolene
eecb9126cd Fix checkbox widget to work with missing tiddlers 2014-07-24 15:43:37 +01:00
Jermolene
2a887a5bac Add version number to one-shot upgrading UI 2014-07-23 21:01:19 +01:00
Jermolene
22468990a2 Fix typo 2014-07-23 20:51:06 +01:00
Jermolene
99eb556645 Remove broken info tiddlers
We can’t currently detect TiddlyFox or TiddlyDesktop so we’’ll remove
the corresponding info tiddlers and documentation
2014-07-23 09:14:21 +01:00
Jermolene
6298ffc516 Avoid "fork" wording
Our reasoning at Hangout #55 was that TiddlyWiki needs to present
itself as a consumer product, and that ordinary consumers were likely
to be confused by the “Fork me” wording.
2014-07-23 09:05:19 +01:00
Jermolene
9424001054 Add GitHub releases Atom/RSS feed 2014-07-22 15:17:15 +01:00
Jermolene
fd82112700 Sort out info mechanism docs
Some of it belongs in the browser-sniff plugin

Also add a `$:/info/node` info tiddler.
2014-07-22 15:16:18 +01:00
Jermolene
7916553b99 Switch to using flexbox for the community links
Not sure whether it’s really better, but it does mean that the number
of horizontal boxes increases as you remove the sidebar.
2014-07-22 14:21:45 +01:00
Jermolene
85952e6f59 Refactor community tiddler into tabs 2014-07-21 13:22:44 +01:00
Jermolene
40d44ba4e5 Rejib location of community tiddlers 2014-07-21 13:18:20 +01:00
Jermolene
b3bbdfbfd8 Switch tiddlywiki.com to a normal github fork ribbon 2014-07-21 13:18:00 +01:00
Jermolene
4f3ee7e7ca Update github ribbon plugin readme 2014-07-21 13:17:43 +01:00
Jermolene
507cda234e Docs update 2014-07-21 13:17:24 +01:00
Jermolene
3d8626dafa Move browser sniffing into a plugin 2014-07-21 13:17:16 +01:00
Jeremy Ruston
80e5c65681 Merge pull request #694 from BramChen/master
Add chinese translations for Import lists and Upgrader messages
2014-07-21 09:58:17 +01:00
Jermolene
ad57272324 Docs update 2014-07-21 09:54:59 +01:00
Bram Chen
e54b94a744 Add chinese translations for Import lists and Upgrader messages 2014-07-21 10:24:24 +08:00
Bram Chen
84b2a48544 Merge remote-tracking branch 'upstream/master' 2014-07-21 08:32:48 +08:00
Jermolene
da3f955aa4 Merge branch 'issue-680' of https://github.com/ssokolow/TiddlyWiki5 into ssokolow-issue-680 2014-07-20 20:19:42 +01:00
Jermolene
ef67cc3fd9 Make default location for new tiddlers configurable 2014-07-20 20:19:09 +01:00
Jermolene
67faf3fe5d Move info mechanism docs to correct place 2014-07-20 18:15:14 +01:00
Jermolene
89e2859007 Start refactoring tw5.com GettingStarted content 2014-07-20 18:07:51 +01:00
Jermolene
b4d47858e5 Introduce info mechanism
We expose browser information as shadow tiddlers so that wiki
applications can adapt to available features.
2014-07-20 18:07:30 +01:00
Jermolene
9ddff6d8c0 Move startup.js into the startup folder
Neater.
2014-07-20 18:06:33 +01:00
Jermolene
beabae8d2b Expose module.exports to tiddler modules
Needed to incorporate an upcoming third-party library.

@natecain - do you think this is OK from a compatibility perspective?
2014-07-20 18:06:19 +01:00
Stephan Sokolow
1a9f34203c Extend "TiddlyWiki Architecture" with details on the model and view. 2014-07-19 22:29:12 -04:00
Bram Chen
7e8aedd865 Merge remote-tracking branch 'upstream/master' 2014-07-20 00:01:49 +08:00
Jeremy Ruston
e3dc00573d Merge pull request #691 from xcazin/XC-doc
Add information regarding operands for sort* operators
2014-07-19 15:43:36 +01:00
Bram Chen
1657b82a16 Merge remote-tracking branch 'upstream/master' 2014-07-19 22:42:53 +08:00
Jermolene
d85bc46ca4 Release note updates 2014-07-19 15:38:52 +01:00
Jermolene
1bef4b8d8d Merge branch 'upgrade-mechanism' 2014-07-19 15:28:26 +01:00
Jermolene
0cf63ab9f0 Add theme tweaks upgrader 2014-07-18 20:00:05 +01:00
Xavier Cazin
608999a97a Add information regarding operands for sort* operators 2014-07-18 14:46:31 +02:00
Jermolene
8612bc4006 Rename $:/tags/AboveStory and $:/tags/BelowStory 2014-07-18 11:29:09 +01:00
Jermolene
310e119bb4 Add links to theme tweak tiddlers 2014-07-18 08:47:58 +01:00
Jermolene
2322be3f41 Add preview to upgrade wizard
The tiddlers are wikified in the context of the host wiki, which means
that mutual transclusions between imported tiddlers won’t appear
correct in the preview.
2014-07-17 18:42:04 +01:00
Jermolene
f793816dfa Add subtiddler support to the transclude widget
Useful to be able to reach into plugins. It will enable us to do things
like extract readmes from themes that are not active.
2014-07-17 18:41:20 +01:00
Jermolene
ed0bf7aed1 Stop defaulting to automatically updating the address bar 2014-07-17 18:40:26 +01:00
Jermolene
f8296bdf6c Styling adjustments for the upgrade wizard 2014-07-17 18:39:54 +01:00
Jermolene
89989c737e Fix bug with import tiddler handling 2014-07-17 15:02:42 +01:00
Jermolene
0a716ca0ef Fix problem with file picker overflow
On Chrome the invisible file picker was extending below its container.
2014-07-17 11:26:11 +01:00
Jermolene
b440e67f68 Upgrading docs update 2014-07-17 08:33:19 +01:00
Jermolene
7a034560d1 Refactor ImportListing
Better to avoid relying on the storyTiddler variable, which is a pain
for people trying to reuse the import listing.
2014-07-16 20:31:10 +01:00
Jermolene
cee81ed44b Docs update 2014-07-16 20:30:15 +01:00
Jermolene
eda09ba1c4 Fix typo 2014-07-16 11:09:39 +01:00
Jermolene
cfc326a827 Styling for upgrade wizard 2014-07-16 11:09:30 +01:00
Jermolene
6b457ee499 Docs update 2014-07-16 10:06:31 +01:00
Jermolene
e40a0c07b8 Fix support for upgrading encrypted wikis
Importing an encrypted wiki ordinarily doesn’t place the password in
the password vault on the basis that one ought to be able to import
from a file without automatically inheriting its password.

Now there’s a configuration option that can be used by the upgrade
plugin to cause the password vault to be updated with any password
entered by the user. The end result is that the user only needs to
enter their password once.
2014-07-16 10:06:24 +01:00
Jermolene
85f37a7d35 More upgrade wizard styling 2014-07-15 14:04:12 +01:00
Jermolene
a58e1d01ca Remove the fill transition
It looked terrible, presumably because it requires repaints.
2014-07-15 13:17:28 +01:00
Jermolene
7e7c9592be Tweak upgrade wizard layout 2014-07-15 13:11:40 +01:00
Jermolene
32ea939809 Docs update 2014-07-15 13:11:25 +01:00
Jermolene
98bf08d155 Tweak drop button colours 2014-07-15 13:11:13 +01:00
Jeremy Ruston
1b6a593b71 Merge pull request #687 from ssokolow/master
Signing the CLA
2014-07-15 11:34:22 +01:00
Stephan Sokolow
9d5e112922 Signing the CLA 2014-07-15 05:56:40 -04:00
Jermolene
cf273129ef Add a privacy note to the upgrade wizard 2014-07-15 09:16:32 +01:00
Jermolene
4a810f209f Favicon for the upgrade wizard 2014-07-14 22:38:12 +01:00
Jermolene
ac21faed3e CSS fixes and improvements for upgrade wizard 2014-07-14 22:26:01 +01:00
Jermolene
3233a10c34 Upgrade wizard refinements 2014-07-14 22:11:40 +01:00
Jermolene
85d9f38ed8 Correct copy/paste error 2014-07-14 22:06:23 +01:00
Jermolene
58cd874f22 Missed off last commit 2014-07-14 21:52:46 +01:00
Jermolene
4d948c575f Improvements to one-shot upgrade UI 2014-07-14 21:52:32 +01:00
Jermolene
c92a21ff14 Remove extraneous debugger statement 2014-07-14 21:51:56 +01:00
Jermolene
bc87fac600 Docs updates 2014-07-14 17:58:50 +01:00
Jermolene
7f721ffece Docs update 2014-07-14 14:53:27 +01:00
Jermolene
c0edca78c8 Beginning of one-shot UI for upgrade.html 2014-07-14 14:53:21 +01:00
Jermolene
07f13b310d Display plugin content in view template 2014-07-14 14:52:31 +01:00
Jermolene
5a23c883e2 More defensive checks
We’ve had a few bugs with the symptom of ‘text’ being undefined.
2014-07-14 14:52:00 +01:00
Jermolene
7998686cb3 Fix typo affecting transclusion recursion detection 2014-07-14 14:50:46 +01:00
Jermolene
5891a61bfc Add instructions for the Google Analytics plugin 2014-07-14 14:50:23 +01:00
Jermolene
1f6e16318a First pass at upgrade mechanism 2014-07-12 09:09:36 +01:00
Jermolene
f08f57c5d2 Extend checkbox widget to toggle fields 2014-07-12 09:09:13 +01:00
Jermolene
4743d0a863 Fix transclusion recursion detection
We were inadvertantly doing the recursion check before we were checking
if the transclusion target exists.
2014-07-12 09:08:52 +01:00
Jermolene
b9bf1ff574 Add plugin.info to tw2parser
Every plugin must have a plugin.info file to be valid
2014-07-12 09:08:38 +01:00
Jermolene
9de679b84b Fix tiddler widget to refresh properly
Previously wasn’t refreshing for changes to the tiddler that it refers
to
2014-07-12 09:08:20 +01:00
Jermolene
0f78c4afbf Fix problem with tabs macro changing current tiddler
The problem was introduced in e18d8a8866
2014-07-12 09:07:51 +01:00
Bram Chen
786bfc6e24 Merge remote-tracking branch 'upstream/master' 2014-07-10 00:13:48 +08:00
Jermolene
d5e4b9b5d1 Further refinements to print stylesheet
Try this @giffmex
2014-07-09 17:00:41 +01:00
Jermolene
73cf1bfdb3 Hide page background when printing 2014-07-09 15:22:53 +01:00
Bram Chen
73dcc577e5 Merge remote-tracking branch 'upstream/master' 2014-07-08 18:47:32 +08:00
Jermolene
91acad0f7c Add support for story backdrop and frontdrop
Allows elements to be added above or below the story river
2014-07-08 10:16:10 +01:00
Jermolene
811df7bbf0 Refactor animation easings 2014-07-08 10:07:17 +01:00
Bram Chen
4292d09651 Merge remote-tracking branch 'upstream/master' 2014-07-07 15:36:07 +08:00
Jermolene
21c137a66c Refactor theme tweaks as individual tiddlers
The trouble with the previous approach of storing several settings in a
single data tiddler was that it made it hard to introduce new settings.
Users who already have a custom copy of the settings/metrics tiddler
wouldn’t get the default settings. The new approach uses individual
tiddlers for each setting.

This commit also introduces a new theme tweak for the cutoff width for
switching between responsive views.
2014-07-06 16:55:51 +01:00
Jeremy Ruston
241d19bef8 Merge pull request #675 from BramChen/master
Typo
2014-07-06 16:01:27 +01:00
Jermolene
5b5fb18161 Docs update 2014-07-06 15:37:50 +01:00
Bram Chen
529345f08b Merge remote-tracking branch 'upstream/master' 2014-07-06 20:32:13 +08:00
Jermolene
3351ae7e29 Fix issue with localStorage error on Firefox
Firefox raises an error if window.localStorage is accessed when cookies
are disabled:

https://bugzilla.mozilla.org/show_bug.cgi?id=771890
2014-07-06 10:11:21 +01:00
Jermolene
465f4ac469 Fix problem with refreshing modal dialogues
Previously any refreshing of the content of a modal would cause a
crash. The problem is the way that we steal the root widget for the
render trees used in the modal. The root widget is tied to the
container DOM node for the main content area, which isn’t actually a
parent of the modal DOM nodes, hence the confusion for the refresh
mechanism.
2014-07-04 21:07:35 +01:00
Jermolene
c9d4714e98 Extend makeTranscludeWidget
Add support for specifying the filename, and the fallback content
within the transclude widget that is used if the transclusion target
isn’t found
2014-07-04 21:03:11 +01:00
Bram Chen
856110374f Typo 2014-07-04 10:59:41 +08:00
Jermolene
3ff7462afd Avoid saving $:/HistoryList
Otherwise it just keeps growing on each navigation.
2014-07-03 14:33:20 +01:00
Jermolene
a3de93b4eb Improve revision history tabs 2014-07-02 12:16:10 +01:00
Jermolene
e18d8a8866 Extend the tabs macro to allow tab contents to be templated 2014-07-02 12:15:52 +01:00
Jermolene
f43cd5ba9c Put release history in vertical tabs 2014-07-02 08:43:11 +01:00
Jermolene
367b14f70d Docs update 2014-06-27 07:26:39 +01:00
Jermolene
d93da81671 Restore link hover colours 2014-06-27 07:26:34 +01:00
buggyj
9a49c2a99e removed version info 2014-06-26 15:46:45 +02:00
Jeremy Ruston
1735970ffd Merge pull request #672 from BramChen/master
Correct typos
2014-06-25 16:07:36 +01:00
Bram Chen
4936be5b86 Correct typos 2014-06-25 22:37:43 +08:00
Jermolene
35055509c2 Typo
Fixes #671

Thanks @Evolena
2014-06-24 14:37:11 +01:00
Jermolene
791471c4f4 Readme update 2014-06-24 13:27:54 +01:00
Jermolene
5b3b62f93d Fix bug handling of build command
We were taking the commands expanded from the build targets and placing
them at the end of the queue. That caused a problem whereby the
prevailing output folder was always the last one in the command token
list.

Now we splice the new commands into the command token list at the
current position.
2014-06-24 12:09:10 +01:00
Jermolene
e018d8e0ef Preparation for 5.0.14 2014-06-24 12:07:28 +01:00
Jermolene
0cca9092ef Version number update for 5.0.13-beta 2014-06-24 10:44:51 +01:00
Jermolene
b594eb5b36 Update release dates 2014-06-24 10:42:46 +01:00
Jermolene
917c4404e5 Update batch files to use build system 2014-06-24 10:39:45 +01:00
Jermolene
6f3e31abe5 Fixed problems with detecting changes to draft tiddlers 2014-06-23 23:28:22 +01:00
Jermolene
5962600cb6 Update release note 2014-06-23 18:13:50 +01:00
Jeremy Ruston
cf3f11a4c0 Merge pull request #669 from jayfresh/patch-1
Typo fix
2014-06-23 18:12:34 +01:00
Jeremy Ruston
bcf37c765f Merge pull request #670 from jayfresh/patch-2
Adding Jonathan Lister to individuals list
2014-06-23 18:12:02 +01:00
Jonathan Lister
248029b53a Adding Jonathan Lister to individuals list 2014-06-23 12:51:08 +01:00
Jonathan Lister
57c534b97d Typo fix 2014-06-23 12:34:05 +01:00
Jermolene
6d1eaeb0fc Fix detection of draft changes
We were getting a lot of problems where changes to a tiddler were not
being recognised
2014-06-23 08:10:32 +01:00
Jermolene
680fe41ed7 Add isEqual() method to tiddlers 2014-06-23 08:09:59 +01:00
Jermolene
32a1da7673 Fixed problem with pasted items lacking a type 2014-06-22 11:58:00 +01:00
Jermolene
8d78336e9b Docs update 2014-06-22 11:45:07 +01:00
Jermolene
9987e6de22 Fix problem with overwriting existing tiddlers 2014-06-22 11:45:00 +01:00
Jermolene
38530f14f2 Docs updates 2014-06-22 11:14:24 +01:00
Jermolene
0fae9ee992 Improve handling of popup state
An improvement to 6fb992690d

By making sure that all the popup state tiddlers have the prefix
$:/state/popup/ we can be more selective and just exclude popup state
tiddlers when we save. The end result is that once again other kinds of
state are persisted as expected (eg tabs, and sidebar visibility).
2014-06-22 11:14:11 +01:00
Jermolene
12b5ebb946 A new colour palette 2014-06-22 11:11:09 +01:00
Jeremy Ruston
5120a1b32b Merge pull request #664 from BramChen/master
Add chinese translations of the TOC tab caption
2014-06-21 20:44:14 +01:00
Jeremy Ruston
9a2d650868 Merge pull request #665 from xcazin/fr-FR
fr-FR missing captions for Sidebar
2014-06-21 20:34:15 +01:00
Jeremy Ruston
ad74877dad Merge pull request #666 from pmario/de-DE
german translations
2014-06-21 20:33:47 +01:00
Mario Pietsch
b77ad3061d german translations 2014-06-21 17:35:02 +02:00
Xavier Cazin
31b1e073a6 Missing Sidebar fr-FR caption, plus better translation for Contents 2014-06-21 17:20:01 +02:00
Xavier Cazin
5d88f19ec6 fr-FR translation for TableOfContents caption 2014-06-21 17:09:44 +02:00
Bram Chen
133c24e9c7 Add chinese translations of the TOC tab caption 2014-06-21 22:04:43 +08:00
Jermolene
f15eba66fe Use SVG icons for expand/collapse 2014-06-21 11:49:42 +01:00
Jermolene
911a64221a Docs update 2014-06-21 11:49:30 +01:00
Jermolene
424c0737a2 Update release note 2014-06-21 11:21:27 +01:00
Jermolene
0b38cd640c Reverse accidentally making Contents the default tab 2014-06-21 11:18:59 +01:00
Jermolene
32099b85d3 Add table of contents to tw5.com 2014-06-21 11:17:04 +01:00
Jermolene
71aa2bbe5f Docs update 2014-06-21 11:16:48 +01:00
Jermolene
fb5c44a875 Remove indenting
It didn’t work very well, and was giving us spans where there should be
divs in the tab control.
2014-06-21 11:16:35 +01:00
Jermolene
f12d7bb6c0 Update to version 8.0 of highlight.js 2014-06-21 10:11:04 +01:00
Jeremy Ruston
665e490d33 Merge pull request #662 from xcazin/fr-FR
fr-FR translation of new Buttons-related strings plus type editors and c...
2014-06-20 18:52:15 +01:00
Jeremy Ruston
76f637d57a Merge pull request #661 from buggyj/jsonparams2
added missing regex update for triple double-quotes macro params
2014-06-20 18:51:51 +01:00
Xavier Cazin
2ccc13b936 fr-FR translation of new Buttons-related strings plus type editors and canonical_uri related strings 2014-06-20 17:14:16 +02:00
buggyj
9992b542a3 added update for triple double-quotes macro params 2014-06-20 09:52:37 +02:00
buggyj
0206358a1c added missing regex update for triple double-quotes macro params 2014-06-19 19:17:26 +02:00
Jermolene
f3a466ee86 Docs update 2014-06-19 12:37:54 +01:00
Jeremy Ruston
0c48502e8e Merge pull request #660 from buggyj/jsonparams
added triple double-quotes delimiters for marco/widget parameters (to su...
2014-06-19 12:06:00 +01:00
Jermolene
19061650de Refactoring for hygeine 2014-06-19 12:05:41 +01:00
Jermolene
c2b08b43b5 Docs updates 2014-06-19 08:53:24 +01:00
buggyj
a2ec4c55e3 added triple double-quotes delimiters for marco/widget parameters (to support json strings) 2014-06-19 07:29:14 +02:00
Jeremy Ruston
5eae2f0fb6 Merge pull request #659 from BramChen/master
Update chinese translations
2014-06-18 14:57:30 +01:00
Jermolene
b8aedf2ca3 Fixed problem with Markdown image handling 2014-06-18 14:56:32 +01:00
Bram Chen
2d24d05f61 Update chinese translations
* for adding editor type mappings to control panel
2014-06-18 21:47:45 +08:00
Jeremy Ruston
44cb3bc100 Merge pull request #658 from csugden/patch-1
Fixes undefined loop variables (fixes #657)
2014-06-18 13:57:54 +01:00
Jermolene
0cf4e5514c Docs tweak 2014-06-18 13:54:24 +01:00
Jermolene
1717c93d00 Refactor codemirror plugin
It no longer overrides the edit-text widget. Instead we use the editor
type mappings to select which content types should be handled by which
editor.
2014-06-18 13:54:19 +01:00
Jermolene
0bdc5b5c70 Add editor type mappings to control panel 2014-06-18 13:52:22 +01:00
csugden
1945af0b2d Fixes undefined loop variables (fixes #657) 2014-06-18 11:56:27 +01:00
Jermolene
e6b783154f Allow arbitrary fields in plugin.info files
Fixes #642
2014-06-18 08:52:31 +01:00
Jermolene
d2d0b09235 Refactoring plugin loading on Node.js 2014-06-18 08:34:49 +01:00
Jermolene
e28c2e8b06 Remove extraneous tag
Tiddlers tagged “resources” show up in the Community tiddler, which we
don’t want here.
2014-06-17 22:26:55 +01:00
Jermolene
2e2d30bae9 Docs for environment variable support
Fixes #531
2014-06-17 22:26:27 +01:00
Jermolene
a9b7df96c2 Add support for TIDDLYWIKI_EDITION_PATH 2014-06-17 21:59:20 +01:00
Jermolene
b2e48d00e9 Add environment variables for locating plugins
Start of fixing #531 (we still need to deal with
TIDDLYWIKI_EDITION_PATH)
2014-06-17 21:33:44 +01:00
buggyj
d13de81c7a checkin of updates to latest version of widget tree format, includes tiddler, slider and tabs macros 2014-06-17 18:56:31 +02:00
Jermolene
9147cadd3c Remove the cat from the server architecture diagram 2014-06-17 16:14:00 +01:00
Jeremy Ruston
4951a53063 Merge pull request #656 from BramChen/master
Update chinese translations
2014-06-17 15:47:45 +01:00
Bram Chen
36556b817f Update chinese translations
* add Buttons.multids
* add description of _canonical_uri to filds.multids
2014-06-17 21:22:29 +08:00
Jermolene
8bd19c4e6a Merge branch 'accessibility' 2014-06-17 11:49:06 +01:00
Jermolene
34e4166dc5 Add label and title for show/hide sidebar buttons
More fixes for #650
2014-06-17 11:39:18 +01:00
Jermolene
617963bd88 Update button widget docs 2014-06-17 10:49:13 +01:00
Jermolene
346b2f8611 Add label for advanced search link 2014-06-17 07:56:36 +01:00
Jermolene
6f859c8d44 Add label for close button in open sidebar tab 2014-06-17 07:56:27 +01:00
Jermolene
325a93f3c3 Move button language to $:/language/Buttons 2014-06-17 07:56:13 +01:00
Jermolene
06b0f9adb7 Added aria-label attribute to link widget
And document it for the button widget
2014-06-17 07:54:10 +01:00
Jermolene
401349a1d6 Improve a11y of close buttons in open tab
a11y === accessibility
2014-06-16 17:40:38 +01:00
Jermolene
bc9b67cbc3 Use H1 for page title and H2 for tiddler titles
Ideally, we’d also rebase the headings within tiddlers so that `!
Heading` would be an H3. Hopefully we’ll do that later.
2014-06-16 17:34:20 +01:00
Jermolene
6fb992690d Exclude state tiddlers when saving changes
This might be a controversial change as it also means that it is no
longer possible to include `$:/state/…` tiddlers in a wiki to set up
the initial configuration.
2014-06-16 17:21:41 +01:00
Jeremy Ruston
57f3eb0b2c Merge pull request #653 from BramChen/master
Correct chinese translations of Help text for savetiddlers
2014-06-15 08:40:01 +01:00
Jermolene
bf2f88ba8b Use H1 for tiddler titles
Part of #650
2014-06-15 08:37:58 +01:00
Bram Chen
00d041b778 Correct chinese translations of Help text for savetiddlers 2014-06-15 08:17:12 +08:00
Jermolene
eeedcb6d94 First pass at accessibility improvements for #650 2014-06-14 18:06:56 +01:00
Jermolene
b4ddaccd1d Docs and image updates
These two architecture diagrams are a few hundred kilobytes, so we
don’t want them baked into the HTML file
2014-06-14 13:41:09 +01:00
Jermolene
d83c26fe3b Add external image support to tiddlywiki.com 2014-06-14 13:24:48 +01:00
Jermolene
1c484f59bd Add external image build target for empty edition 2014-06-14 13:24:27 +01:00
Jeremy Ruston
149ca0fc63 Merge pull request #651 from BramChen/master
Update chinese translations of Help text for server command
2014-06-14 08:20:09 +01:00
Jeremy Ruston
f467ae288b Merge pull request #652 from xcazin/fr-FR
fr-FR translations of recently added commands and type, plus suggestion for en-GB/Help/savetiddlers.tid
2014-06-14 08:20:02 +01:00
Jermolene
457764077b Recommitting the old tw2parser plugin 2014-06-14 08:17:16 +01:00
Xavier Cazin
892900c9c5 fr-FR translation of setfield and savetiddlers docs, plus javascript type 2014-06-14 07:40:12 +02:00
Xavier Cazin
d880cb135a Update what was left from a copy/paste of savetiddler.tid :-) 2014-06-14 07:35:53 +02:00
Bram Chen
a858329742 Update chinese translations of Help text for server command
...
2014-06-14 09:19:00 +08:00
Jermolene
e44450edc4 Correct typo 2014-06-13 17:02:39 +01:00
Jermolene
f09d69d1b7 Remove debugging code 2014-06-13 14:44:43 +01:00
Jermolene
eee3a0cf8e Extend server command to allow a path prefix
Thereby making the number of parameters to the command ludicrous
2014-06-13 14:44:34 +01:00
Jermolene
4238af2a40 Extend listed filter operator to use any field 2014-06-13 10:58:19 +01:00
Jeremy Ruston
f54f0d1c3e Merge pull request #649 from BramChen/master
Update translated group of application Javascript in type dropdown
2014-06-13 10:08:10 +01:00
Jermolene
ca34cc437c Rename $:/core/templates/canonical-uri-external-image
As per @pmario’s suggestion.
2014-06-13 10:04:31 +01:00
Bram Chen
71c886e3a1 Update translated group of application Javascript in type dropdown 2014-06-13 16:36:23 +08:00
Jeremy Ruston
db147e3673 Merge pull request #648 from BramChen/master
Update chinese translations
2014-06-13 08:51:42 +01:00
Bram Chen
525613750b Update chinese translations 2014-06-13 09:42:27 +08:00
Jermolene
f751e2ecb4 Added application JavaScript to type dropdown
Fixes #646
2014-06-12 19:12:58 +01:00
Jeremy Ruston
ea5989048c Merge pull request #640 from danielo515/patch-2
Update instructions.tid to use one of the included addons
2014-06-12 19:10:12 +01:00
Jeremy Ruston
eec849c69e Merge pull request #647 from BramChen/master
Update chinese translations for Help tiddlers
2014-06-12 19:09:36 +01:00
Jermolene
666f243a82 Release note and doc updates for 5.0.13 2014-06-12 19:03:12 +01:00
Jermolene
4e5fa2c6e6 Docs update 2014-06-12 18:01:39 +01:00
Jermolene
9ab0c84140 Support global macros via the importvariables widget
The new importvariables widget imports macro/variable definitions from
the specified tiddlers and makes them available to its children.

Allows us to split PageMacros up into separate tiddlers.

We still support loading macros from $:/core/ui/PageMacros to help
people upgrading.

Fixes #644 and #559
2014-06-12 18:01:33 +01:00
Bram Chen
9261bdaa43 Merge remote-tracking branch 'upstream/master' 2014-06-12 20:19:05 +08:00
Jermolene
0e09fbf46a Start using the build command in batch files 2014-06-12 08:36:53 +01:00
Jermolene
9547a1f01c First pass at external image support
A bunch of little changes that together enable external image support.
Try:

```
tiddlywiki editions/tw5.com --verbose --build externalimages
```

Then open `externalimages.html`, look for the images in the more/types
tab of the sidebar, open them and verify that they are set with an
external SRC attribute, not a data URI.
2014-06-12 08:36:30 +01:00
Bram Chen
0e4afc3986 Update chinese translations for Help tiddlers 2014-06-12 10:59:19 +08:00
Bram Chen
10fa72d15e Update chinese translations for Help tiddlers 2014-06-12 10:56:04 +08:00
Jermolene
f131c37893 Update HTML parser to use an IFRAME
Gives us better sandboxing of unsafe HTML content
2014-06-11 23:04:58 +01:00
Jermolene
d2796d0c9c Introduce setfield command
This new command will let us do the manipulations needed to set up
external image tiddlers
2014-06-11 10:05:35 +01:00
Jermolene
460f476aef Docs update 2014-06-10 23:15:42 +01:00
Jermolene
2989c9b133 Typo in 305617b632
Tsk
2014-06-10 23:05:08 +01:00
Jermolene
3105afe6e8 Add demo PDF image
That cat again
2014-06-10 23:03:41 +01:00
Jermolene
a03a15e7de Allow the text widget to refresh if needed 2014-06-10 19:32:55 +01:00
Jermolene
305617b632 Introduce savetiddlers command
Allows us to save tiddlers in their raw format.
2014-06-09 14:45:41 +01:00
Jermolene
b446ef5d4e Docs updates on Reporting Bugs 2014-06-09 14:16:21 +01:00
danielo515
8dd30e97ac Update instructions.tid to use one of the included addons
This addon is already included into the plugin, but is not used, neither mentioned how to use it. It is a very useful but lightweight addon. I consider it is better to include the full functionality of the current configuration in the config example.
2014-06-07 17:04:43 +02:00
Jermolene
fc6d96672d Another select widget demo 2014-06-06 09:33:24 +01:00
Jermolene
78791192c3 Style updates missed off the last commit 2014-06-06 09:32:45 +01:00
Jermolene
9b576f2a8d Add group headings to type dropdown
We’re also reverting to the old custom dropdown. Using the select
widget didn’t work out because it couldn’t cleanly work with a text box
allowing custom types to be specified.
2014-06-06 09:32:14 +01:00
Jeremy Ruston
08ed0017af Merge pull request #637 from mwfogleman/emacs-helper-functions
Add docs for open- and browse-wiki Emacs functions.
2014-06-03 23:14:11 +01:00
Michael Fogleman
450c646c31 Add docs for open- and browse-wiki Emacs functions.
These helper functions supplement tid-mode.
2014-06-03 23:04:29 +08:00
Jeremy Ruston
0c6c5002c1 Merge pull request #635 from danielo515/patch-1
Added Daniel Rodríguez to contributors list
2014-06-02 20:38:03 +01:00
danielo515
9b3b08a176 Added Daniel Rodríguez to contributors list
The date is the original when I tried to add myself at first instance.
2014-06-02 17:05:22 +02:00
Jeremy Ruston
6386bf84a5 Merge pull request #630 from xcazin/fr-FR
Add fr-FR translated groups to Tiddler types
2014-06-02 12:17:28 +01:00
Jeremy Ruston
c3dfa3f27e Merge pull request #631 from BramChen/master
Add chinese translations of 'group' field to tiddler types
2014-06-02 12:17:09 +01:00
Bram Chen
50223562ea Add chinese translations of 'group' field to tiddler types 2014-06-01 12:31:25 +08:00
Xavier Cazin
85c7da95bb Add fr-FR translated groups to Tiddler types 2014-06-01 00:38:58 +02:00
Jermolene
c8e98c1567 Use the select widget tiddler content types 2014-05-31 22:39:32 +01:00
Jermolene
13463a47c5 Attention Translators! Add "group" field to tiddler types
Apologies to the translators for the extra work. Each translated
tiddler type needs a new “group” field that contains a locale-specific
group name that in English are “Image”, “Developer” and “Text”.
2014-05-31 22:38:50 +01:00
Jermolene
ffd9df670d Fix problem with tabs switching on language change
In 5.0.12-beta, if you change the current language setting then the
current sidebar tab setting is lost. This was because the qualified
title generated for the tabs was incorporating the current language
title, by virtue of a trick used in the PageTemplate to set the
“languageTitle” variable to a field of the current language plugin.
This trick left the current tiddler set to the current language, and
this current tiddler was still in force for the transclusion of the
page template segments.
2014-05-31 19:20:51 +01:00
Jermolene
d2edd9291e Standardise whitespace 2014-05-31 19:18:46 +01:00
Jermolene
247eb04b11 Extraneous semi-colon 2014-05-31 19:18:01 +01:00
Jermolene
954946352a Docs update 2014-05-31 18:38:25 +01:00
Jermolene
0ccaedd7d2 Use the select widget in the various switchers 2014-05-31 18:38:17 +01:00
Jermolene
3182a2d599 Add first pass at select widget 2014-05-31 18:37:43 +01:00
Jermolene
f999b2e931 Add wiki.setText() method 2014-05-31 18:37:27 +01:00
Jermolene
4d70d5780e Use radio buttons in navigation settings
Radio buttons are much clearer
2014-05-31 18:36:59 +01:00
Jermolene
a330cb543e Better defaults for radio widget
Now the “field” attribute defaults to “text”.
2014-05-31 18:35:41 +01:00
Jermolene
64a6544b02 Update the first rule of TiddlyWiki 2014-05-30 11:38:42 +01:00
Jermolene
3f25db0abe More permalink tweaks
And more documentation this time!
2014-05-29 23:17:21 +01:00
Jermolene
412cde6f53 Move "storyviews" filter operator to correct folder 2014-05-28 17:17:47 +01:00
Jermolene
f7b8813a27 Change permalink behaviour
Now a link to a single tiddler like http://tiddlywiki.com/#HelloThere
will just open that single tiddler (the old behaviour was to also open
the default tiddlers)
2014-05-28 17:07:41 +01:00
Jermolene
62c602e9d2 Fix for running under node-webkit 2014-05-28 08:57:29 +01:00
Jermolene
d8a142fed5 Fix vertical tabs in Safari
Current versions of Safari on OS X and iOS are still prefixed.
2014-05-27 19:06:27 +01:00
Jermolene
1b37d660ea Restore "escape" as shortcut to abandon edits
Thus reverting a defensive change back in January:
d72d245523
2014-05-27 15:42:33 +01:00
Jermolene
da273be054 Workaround Firefox "no element found" bug
See https://bugzilla.mozilla.org/show_bug.cgi?id=884693

Fixes #468
2014-05-27 09:49:48 +01:00
Jermolene
a463859a28 Retract inadvertant change from previous commit 2014-05-26 22:56:58 +01:00
Jermolene
9aaa000d3f Fixed default tiddler not appearing in zoomin view
See https://groups.google.com/d/topic/tiddlywiki/c-z7f-h1CAo/discussion
2014-05-26 22:56:28 +01:00
Jermolene
f14ecf4eb8 Add support for $:/tags/RawMarkup 2014-05-26 22:50:54 +01:00
Jermolene
128ad01866 Fix for inability to scroll modal wizards 2014-05-26 22:33:42 +01:00
Jermolene
ecbda326cb Add keyboard shortcut documentation 2014-05-26 21:50:04 +01:00
Jeremy Ruston
e24600f9bb Merge pull request #617 from IreneKnapp/Irene-contributor
Sign the contributor agreement.
2014-05-26 19:19:01 +01:00
Jermolene
6436dc22a7 Fix obsolete transclude widget docs 2014-05-26 18:01:53 +01:00
Jermolene
f44f2b33ed Fixed missing class on external pretty links 2014-05-26 17:57:35 +01:00
Jermolene
86d182fd51 Fix importing blank fields from TiddlyWiki files 2014-05-26 17:47:07 +01:00
Jermolene
3fa4b00ede Docs update 2014-05-26 17:38:36 +01:00
Jermolene
d30cb0f11d New ribbon colour for 5.0.13 2014-05-18 20:02:21 +01:00
Jermolene
906d2db57e Preparing for 5.0.13 2014-05-18 19:58:23 +01:00
Irene Knapp
3e6de03f15 Sign the contributor agreement. 2014-05-17 11:04:46 -07:00
Jermolene
aaec1b2854 Version number update for 5.0.12-beta 2014-05-17 01:17:04 +01:00
Jermolene
9edebc78e7 Tweak ribbon colour for 5.0.12 2014-05-17 01:14:20 +01:00
Jermolene
e228ac42db Fix problem with shadow tiddler iteration
See https://groups.google.com/d/topic/tiddlywiki/pNxZsSCVp7c/discussion
for more details of the bug.
2014-05-17 01:12:08 +01:00
Jermolene
be0bc04929 Fix typo 2014-05-17 01:11:41 +01:00
Jermolene
b415b0e90e Version number update for 5.0.11-beta 2014-05-16 14:55:32 +01:00
Jermolene
974aecba1f Fix build scripts 2014-05-16 14:53:16 +01:00
Jermolene
47fa18c2e0 Docs updates 2014-05-16 14:49:28 +01:00
Jermolene
d5094463f4 Temporarily revoke sorting tests
localeCompare seems to behave differently in the browser and under
Node.js, making it hard to get the tests consistent
2014-05-16 14:46:55 +01:00
Jermolene
5951dc5901 Fix problem with static renderings
The issue was that rendertiddlers always clears the output folder,
which meant that it was overwriting anything previously output by the
rendertiddler command.
2014-05-16 14:39:24 +01:00
Jermolene
1d15e4b7d3 Docs update 2014-05-16 14:37:05 +01:00
Jeremy Ruston
67e66b4698 Merge pull request #610 from BramChen/master
Update chinese translations
2014-05-16 11:24:47 +01:00
Jeremy Ruston
c00940f2d1 Merge pull request #614 from pmario/de-DE
add transcluded lingo :)
2014-05-16 09:22:13 +01:00
Jermolene
81ea326e16 Update release note 2014-05-16 09:22:00 +01:00
Jeremy Ruston
c2f52f8a4b Merge pull request #615 from nameanyone/master
Rename some system tiddlers to be consistent with Naming of System Tiddlers
2014-05-16 09:20:32 +01:00
Jeremy Ruston
ca03984663 Merge pull request #616 from xcazin/fr-FR
fr-FR edits: integration of standard search into 'Advanced Search'.
2014-05-16 09:19:42 +01:00
Jermolene
b2ff248d07 Correct typo 2014-05-16 09:18:43 +01:00
Jermolene
658bd2b8a3 Release note update 2014-05-16 09:18:37 +01:00
Xavier Cazin
a8b16c9c07 fr-FR edits: integration of standard search into 'Advanced Search'. 2014-05-16 09:37:54 +02:00
nameanyone
157ca0c8aa Rename $:/temp/NewFieldName to $:/temp/newfieldname
As per "Naming of System Tiddlers"
2014-05-15 22:54:46 -07:00
nameanyone
01b3962b2c Rename $:/ShowEditPreview to $:/state/showeditpreview
According to "Naming of System Tiddlers"
2014-05-15 22:47:21 -07:00
Bram Chen
19646c7f95 Add chinese translations of standard search 2014-05-16 08:38:13 +08:00
Mario Pietsch
dfb8a07204 add transcluded lingo :) 2014-05-16 00:26:12 +02:00
Jermolene
93566cdc33 Add standard search to advanced search 2014-05-15 23:09:31 +01:00
Jeremy Ruston
ad8a20bfed Merge pull request #613 from pmario/de-DE
update german texts
2014-05-15 22:49:17 +01:00
Jeremy Ruston
00cddd3713 Merge pull request #612 from xcazin/fr-FR
Edits to fr-FR strings to reflect fix in Advanced Search matches count
2014-05-15 22:48:50 +01:00
Mario Pietsch
23c8902e70 update german texts 2014-05-15 22:58:29 +02:00
Xavier Cazin
818fd598dc Edits to fr-FR strings to reflect fix in Advanced Search matches count 2014-05-15 22:37:33 +02:00
Jermolene
31e1088aa7 Clean up startup logging
Now we do boot logging to an array. We harvest it in the —verbose
command. We still need to provide a way to access the log in the
browser too.
2014-05-15 18:50:14 +01:00
Jermolene
f9f8ad725b Fix problem with advanced search counts
Apologies to TiddlyWiki’s translators for disrupting existing work!
2014-05-14 20:12:38 +01:00
Jermolene
81e1af1d35 Tabs appearance tweaks 2014-05-14 19:37:37 +01:00
Jermolene
c9c1b0fbb4 Get rid of the tweakParseTreeNode() hack
It’s an embarrassing hangover from a refactoring of the parsing
mechanism last year.
2014-05-14 08:51:08 +01:00
Bram Chen
f7ce0c0b8d Add chinese translations of Advanced Settings in the ControlPanel 2014-05-14 09:38:45 +08:00
Jermolene
92aa1f24be Fix tab button padding
Lack of padding caused a visual glitch in Firefox
2014-05-13 21:02:21 +01:00
Jermolene
e0a6c4e879 Update release note 2014-05-13 19:38:39 +01:00
Jermolene
f72c177ba5 Fix line height 2014-05-13 18:32:12 +01:00
Jermolene
9a26c4259a Fix problem with widget.getStateQualifier()
Fixed to take into account the recent change to read variables from the
parent widget: e60fc9f81f
2014-05-13 18:16:45 +01:00
Jeremy Ruston
6de6a43623 Merge pull request #609 from xcazin/fr-FR
fr-FR translations for new strings in the Control Panel, plus edits to an older one
2014-05-13 17:33:46 +01:00
Xavier Cazin
2fa3c8a4ed edits to the fr-FR translation for the Edit Template 2014-05-13 17:28:45 +02:00
Xavier Cazin
295094c9a3 fr-FR translation of Advanced Settings in the ControlPanel 2014-05-13 17:27:22 +02:00
Jermolene
da41879fc1 Fix dropdown behaviour in advanced settings 2014-05-13 16:21:01 +01:00
Jermolene
f8708874bc Update reveal widget docs 2014-05-13 14:50:45 +01:00
Jermolene
ad43958571 Make permalink behaviour configurable
In the process introducing a new advanced settings tab

Fixes #600
2014-05-13 14:16:58 +01:00
Jermolene
4e07b3335b Extend .tid files to allow single line text fields
To make it easier to create tiddlers that don’t include a terminating
newline in their text
2014-05-13 10:27:03 +01:00
Jermolene
b77d5f9725 Clean up whitespace 2014-05-13 10:26:02 +01:00
Jermolene
75fee26b58 Fix problem with variables containing an empty string
See
https://github.com/Jermolene/TiddlyWiki5/commit/e60fc9f81f2c8f0d115543d8
d330a1d68f9b890a#commitcomment-6301921
2014-05-13 10:15:55 +01:00
Jermolene
e8c9d78079 Update release note 2014-05-12 15:21:59 +01:00
Jermolene
d972988a53 Remove obsolete filter operators docs
It was overwritten by a later version in editions/tw5.com/filters.
2014-05-12 15:17:16 +01:00
Jermolene
e83759e86d Add "before" and "after" filter operators
Fixes #357 by adding new “before” and “after” filter operators.
2014-05-12 15:16:44 +01:00
Jermolene
2633247492 Use flexbox for vertical tabs
Thus stepping into a new world:

http://caniuse.com/flexbox

The vertical tabs are now completely reusable, with sensible wrapping
behaviour.
2014-05-12 08:41:47 +01:00
Jermolene
b3032d452f Refactor vertical tabs for reusability
In practice, if you look at TabsMacro you’ll see that the width of the
tab content is wrong, and will usually overflow the container. Next
step is to fix that by using flexbox…
2014-05-11 18:47:14 +01:00
Jermolene
e60fc9f81f Fixed problem with widgets variable access
Previously, widgets were reading variables from themselves or their
cascaded ancestors. That means that if a widget sets a variable and
then reads the same variable, it will get the same variable back. That
sounds reasonable, until you consider a widget that wants to modify a
variable - eg the tiddler macro. For example:

```
<$tiddler tiddler={{!!report}}>
<$transclude mode="block" />
</$tiddler>
```

Here we first evaluate the `{{!!report}}` reference, which involves
reading the currentTiddler variable, looking up the tiddler, and
retrieving it’s `report` field. The next the tiddler widget is
refreshed, it will use the newly set currentTiddler as the basis for
resolving the `{{!!reference}}` reference.

The fix is to get variables from ancestors, but continue to set them on
ourselves.
2014-05-08 11:51:02 +01:00
Jermolene
6ab68e0fca Remove erroneous global wiki references
$tw.wiki is used as a global reference in the outer initialisation
modules. It shouldn’t be used in widgets etc.
2014-05-07 14:49:14 +01:00
Jermolene
e548dd35af Restored drag and drop functionality within TEXTAREAs and INPUTs
As mentioned by @Skeeve in #592
2014-05-07 14:32:14 +01:00
Jermolene
8b20143b1b Pass content-type to codemirror mode option for syntax highlight
Fixes #605
2014-05-07 14:09:46 +01:00
Jeremy Ruston
711b76307c Merge pull request #604 from natecain/module_exports
Module exports
2014-05-07 14:05:45 +01:00
Jermolene
b858e9dc69 Fix incorrect filter in shadow $:/DefaultTiddlers
Fixes #606
2014-05-07 13:43:12 +01:00
Jermolene
a9411262f7 Improve TiddlyWiki as a library
1. Make it possible to disable specific boot tasks
2. Extend the startup mechanism to allow startup tasks to be disabled

Again, see Jermolene/TiddlyWiki5NodeWebkit to see how these features
fit together.
2014-05-07 12:51:16 +01:00
Jermolene
e676156b24 Fixes for running TiddlyWiki on node-webkit
See Jermolene/TiddlyWiki5NodeWebkit
2014-05-07 09:59:21 +01:00
natecain
c592e658e7 Fix up codemirror instructions to match new paths in config example 2014-05-06 23:57:10 +02:00
natecain
6b03789e06 Prioritize "module.exports" over "exports" in require sandbox
(Node-ism, inherited (temporarily?) to support codemirror upgrade)
2014-05-06 23:31:57 +02:00
natecain
51f54b06f9 Upgrade codemirror to current master 2014-05-06 23:30:40 +02:00
Jeremy Ruston
285ab41ccf Merge pull request #602 from BramChen/master
Add chinese translation of banner for binary tiddlers in edit mode
2014-05-06 20:15:43 +01:00
Jermolene
854b739a35 Implement explicit external links 2014-05-06 20:05:51 +01:00
Jermolene
abe0ce28b9 Fix typos in docs for image parser 2014-05-06 19:00:34 +01:00
Jermolene
76e8640c31 Fix problem with parsing lists contain non-breaking spaces
Some of the time we need to treat non-breaking spaces as though they
are not spaces (regexps treat them as spaces by default).
2014-05-06 18:10:27 +01:00
Jermolene
cc3d44aec1 Fix problem with list fields containing [[]]
Fixes #603 - thanks @xcazin!

It no longer crashes but unfortunately if you round trip a tiddler out
of edit mode and back you’ll lose any empty double square brackets.
2014-05-06 17:32:12 +01:00
Bram Chen
7b6cff0cca Fix incorrect charset for the previous commit 2014-05-06 17:36:59 +08:00
Jermolene
d1c85f53c0 Update release note 2014-05-06 10:33:08 +01:00
Bram Chen
e2b0da0b58 Add chinese translation of banner for binary tiddlers in edit mode 2014-05-06 17:23:27 +08:00
Jermolene
7c8c5cf745 Fix problem with parsing main UI boot tiddlers
We were parsing the boot tiddlers, making them into a widget and then
refreshing the widget tree. The problem is that subsequent chances to
the boot tiddlers themselves wouldn’t be picked up as part of the
refresh.

Now we indirectly parse those UI boot tiddlers through a transclusion,
which does get refreshed in the desired way.
2014-05-06 10:14:22 +01:00
Jermolene
38c60bd7d4 Fix tag colour 2014-05-05 23:19:49 +01:00
Jermolene
afb92c40fe Tweak ribbon colour for 5.0.11 2014-05-05 23:19:41 +01:00
Jermolene
6b45296ca9 Roadmap and release note updates 2014-05-05 23:19:30 +01:00
Jermolene
b84c663215 Add proper rendering of document title 2014-05-05 23:00:09 +01:00
Jermolene
4e101e240c Suppress history when changing the permalink URL 2014-05-05 21:51:54 +01:00
Jermolene
56251dc1f8 Fixes #598
Ensure we don’t generate permalinks with a target that is not in the
current story
2014-05-05 21:23:29 +01:00
Jermolene
f368175cb0 Remove debugging code 2014-05-05 20:58:47 +01:00
Jeremy Ruston
3e49dd65a0 Merge pull request #594 from xcazin/fr-FR
fr-FR translations for warnings about shadow tiddlers and binary content
2014-05-05 20:57:28 +01:00
Jermolene
f5ada72dac Ensure tag colours are specified in hex 2014-05-05 19:25:49 +01:00
Jermolene
986a20b22b Fixes for permalinks not working on Firefox
Sigh. It’s frustrating that the few browser differences I’m running
into in 2014 are mostly horribly familiar from 2005
2014-05-05 19:21:57 +01:00
Jermolene
ffb6c8ab81 Add hex colours to tag manager
Fixes #597
2014-05-05 18:42:25 +01:00
Jermolene
e58e68fa7c Add Matabele's gTD site 2014-05-05 17:31:52 +01:00
Jermolene
95def8b857 Add startup sequence diagram 2014-05-05 17:06:34 +01:00
Jermolene
b24ec8009d Missing dependency 2014-05-05 17:06:24 +01:00
Jermolene
9965c64b6f More refactoring of startup.js 2014-05-05 15:25:51 +01:00
Jermolene
2a50277219 Fix problem with syncer not being initialised on server 2014-05-05 14:44:32 +01:00
Jermolene
3cce12e13f More refactoring of startup.js 2014-05-05 14:41:46 +01:00
Jermolene
887e9d978b Fix problem with saving if URL contains # 2014-05-05 13:30:31 +01:00
Jermolene
a0022a1cd6 Refactoring more of startup.js into modules 2014-05-05 10:17:50 +01:00
Jermolene
519e1b4a44 Pull more of startup.js out into separate modules 2014-05-03 21:23:51 +01:00
Jermolene
b9dec37fb7 Split main rendering into it's own startup module 2014-05-03 19:50:05 +01:00
Jermolene
09156af475 Add support for "before" field on startup modules 2014-05-03 19:49:50 +01:00
Jermolene
5b5621a600 Fix googleanalytics plugin to be platform-specific 2014-05-03 18:07:20 +01:00
Jermolene
78ba57d55d Remove support for browser-startup modules
Instead support startup modules that stipulate which platform they
require.

Also include docs updates and fixes to fullscreen plugin
2014-05-03 17:49:20 +01:00
Jermolene
749582ede0 Split module loading into a separate startup task
Still a work in progress.
2014-05-03 17:10:55 +01:00
Jermolene
1c82348edb Docs typo 2014-05-03 16:56:29 +01:00
Jermolene
b96aade28a WIP: Add support for dependencies between startup modules
See StartupMechanism for details.
2014-05-03 16:32:18 +01:00
Jermolene
2f32621024 Docs updates 2014-05-03 16:27:22 +01:00
Jermolene
6ccf02ed96 Add support for onhashchange
Now we respond dynamically to changes in the location hash in the URL
bar. It means that you can do links in HTML as `<a
href=“#HelloThere”>go</a>` and in Markdown as `[example
link](#HelloThere).`

We still need to make startup.js more modular
2014-05-03 12:20:28 +01:00
Jermolene
b2c1331c11 Fix oversight in isDraftModified
If the original tiddler doesn’t exist then we should count the draft as
always having been modified
2014-05-03 12:12:07 +01:00
Xavier Cazin
f81df69395 Change references to editions/clientserver into editions/server 2014-05-03 13:10:36 +02:00
Jermolene
a5e9ef9b5f Adopt new URL scheme for permalinks
Instead of using `%00` as a separator we do the more conventional
`#!<target-title>:<story filter>`.
2014-05-03 11:32:55 +01:00
Xavier Cazin
7783378603 fr-FR translations for shadow tiddlers and binary content warnings 2014-05-02 23:00:13 +02:00
Jermolene
327b53a641 Start adding support for permalinks
At this point we respect any permalink at startup, but we don’t yet
dynamically update the permalink, nor do we respond to ongoing
permalink changes.

The permalink separator being `%00` seems like it might be a bit
controversial. It buys us not having to wrap tiddler titles in double
square brackets if they contain spaces.

Another thing is that this scheme doesn’t support tiddler filters; the
plan is to support them like this:

http://tiddlywiki.com/#!Target%00%00[tag[task]sort[created]]
2014-05-02 19:21:32 +01:00
Jermolene
cb914ae853 Remove dead code typo 2014-05-02 18:07:47 +01:00
Jermolene
a4294b55f0 Add banner for binary tiddlers in edit mode
Makes it easier to add tags to a binary tiddler (eg a PDF).
2014-05-02 09:43:39 +01:00
Jermolene
bced7124e4 Accept single quotes for attributes in TW files 2014-05-01 17:58:49 +01:00
Jermolene
f5848c395a Fix problem with editing tiddler titles
The check whether a draft has been modified was ignoring changes to the
title.

Fixes #593
2014-05-01 17:39:37 +01:00
Jermolene
f6bd3b8c37 Optimise the all filter operator
Seems like quite a decent optimisation.
2014-04-30 22:50:47 +01:00
Jermolene
21b2d6fdc7 Allow filter operators to return an iterator
Previously filter operators were only permitted to return an array of
tiddler titles
2014-04-30 22:50:17 +01:00
Jermolene
bd3e955821 Add compound iterators to boot wiki object 2014-04-30 22:49:28 +01:00
Jermolene
fcb26419a6 Clear the tiddler event queue on startup
To avoid an unnecessary refresh cycle
2014-04-30 22:49:02 +01:00
Jermolene
a6f7da6c1c Suppress refresh cycle if no tiddlers have changed 2014-04-30 22:48:36 +01:00
Jeremy Ruston
f82f8ae7c6 Merge pull request #589 from BramChen/master
Add chinese messages for editing/overridden a shadow tiddler
2014-04-29 09:04:44 +01:00
Jermolene
edb8c65d54 Update release note 2014-04-29 09:03:47 +01:00
Jermolene
031c0f4146 Update HelloThere 2014-04-29 09:03:39 +01:00
Bram Chen
e8316cf0ac Add chinese messages for editing/overridden a shadow tiddler 2014-04-29 15:32:19 +08:00
Jermolene
0ac4c2b554 Allow digits in field names 2014-04-28 15:54:32 +01:00
Jermolene
84cd296c58 Minor tweaks to shadow warning infrastructure
1. Moved some methods out of boot.js because they are not needed until
after bootup
2. Added alternate message for editing an overridden shadow tiddler
3. Minor style tweaks
2014-04-28 15:16:31 +01:00
Jeremy Ruston
a90339d1e5 Merge pull request #586 from sukima/feature/issue-570-cancle-unchanged-drafts
Fix issue #570 Make it harder to accidentally modify a shadow tiddler
2014-04-28 13:22:44 +01:00
Jermolene
d49495ab73 Add docs for "field" filter operator
Fixes #588
2014-04-28 12:54:34 +01:00
Jeremy Ruston
5fa6d001f8 Merge pull request #587 from BramChen/master
Update chinese editions
2014-04-28 09:36:32 +01:00
Jermolene
f17dafefcb Docs updates 2014-04-28 09:33:47 +01:00
Bram Chen
88314d968a Add build targets to chinese editions 2014-04-28 16:11:57 +08:00
Bram Chen
28bab707b9 Update chinese translations for Help tiddlers 2014-04-28 16:02:58 +08:00
Devin Weaver
075cf544e4 Use new get filter from commit 570cad1c 2014-04-27 17:15:42 -04:00
Devin Weaver
a505b6ffc0 Move isModified from Tiddler to Wiki
Replace this with a $tw.wiki.isModifiedTiddler(title) as part of the
wiki object. This allows it to be used outside of the current Wiki which
can change.
2014-04-27 17:15:42 -04:00
Devin Weaver
23a71b433e Rename isEqual to isArrayEqual 2014-04-27 17:15:42 -04:00
Devin Weaver
3bbe53a58e Move shadowWarning to it's own template segment 2014-04-27 17:15:42 -04:00
Devin Weaver
8556e0ea49 Fix coding style 2014-04-27 17:15:42 -04:00
Devin Weaver
3be21853e1 Add warning box while editing a shadow tiddler
This addresses the third line item of issue #570

TODO: The filter is not working.
TODO: The message is too genaric and needs help.
2014-04-27 17:15:42 -04:00
Devin Weaver
d0636f2124 Add a confirmation to edit a shadow tiddler
Should only display the confirmation if the shadow tiddler has not been
overridden in the first place. It checks this by looking for the
existence of a modified field for which the default system based shadow
do not have until a user changes them.

This addresses the second line item on issue #570

We will need new translations for the added string
`ConfirmEditShadowTiddler`
2014-04-27 17:15:42 -04:00
Devin Weaver
5226c7a2fa Prevent saving un-modified tiddlers
When saving a tiddler we check to see if the tiddler has changed
(isModified) if it hasn't then bounce the event to tw-cancel-tiddler
instead.

Addresses first line item in issue #570
2014-04-27 17:15:42 -04:00
Devin Weaver
3a78465d2d Add isModified to Tiddler object
Adds a check to see if this tiddler differers from the tiddler
referenced in the draft.of field. It iterates of the fields property
skiping those feilds that offer a false positives. Uses the isEqual util
for the tags array.
2014-04-27 17:15:42 -04:00
Devin Weaver
23640d7af4 Add isDraft to Tiddler object
Check to see if this tiddler is a draft (has a draft.of field)
2014-04-27 17:15:42 -04:00
Devin Weaver
540681b2bc Add $tw.util.isEqual
This checks to see if an array is equal. Should handle case where an
array is considered null or undefined. It short circuits when the
lengths are different and will only loop when needed.
2014-04-27 17:15:42 -04:00
Devin Weaver
8611867930 Remove dead code 💀 2014-04-27 17:15:41 -04:00
Jermolene
77152ac577 Update release note 2014-04-27 21:58:59 +01:00
Jermolene
f5bd99fa73 Fix tests for 385c7e207c 2014-04-27 21:58:41 +01:00
Jermolene
385c7e207c Refactor wiki.filterTiddlers()
Now we pass a widget instead of the current tiddler title. We can use
widget.getVariable(“currentTiddler”) to get the current tiddler.
2014-04-27 20:03:33 +01:00
Jermolene
61c204366f Replace hamburger icon with double chevron
Fixes #580

Seems much better, especially since the chevron gives us two clear
visual states (left vs. right). The hamburger doesn’t really have a
commonly accepted way of indicating whether the menu is currently open
or not.
2014-04-27 19:28:30 +01:00
Jermolene
570cad1c7f Add 'get' filter operator
Prompted by @sukima’s work on #586
2014-04-27 18:45:01 +01:00
Jeremy Ruston
1d0dc60a2d Merge pull request #574 from pekopeko1/japanese
Updated Japanese Translation
2014-04-27 08:47:59 +01:00
Jeremy Ruston
fac0affa7b Merge pull request #584 from xcazin/fr-FR
fr-FR translations for new Help tiddlers + changes to previous ones.
2014-04-27 08:46:59 +01:00
Jeremy Ruston
f57241abbd Merge pull request #585 from BramChen/master
Update chinese translations for Help tiddlers
2014-04-27 08:46:41 +01:00
Jermolene
e9557b578e Improve output directory handling
This change is likely to break most existing scripts that call
TiddlyWiki.

TL;DR - output paths are now relative to the editions/output folder,
rather than to the current folder

See [[Notes for upgrading to 5.0.11-beta]] for details.
2014-04-27 08:28:21 +01:00
Jermolene
649f68288a Add build targets to the core editions 2014-04-26 17:11:56 +01:00
pekopeko1
37c50bae61 merged with latest master 2014-04-27 00:14:41 +09:00
pekopeko1
9ab31e37ea fix plugin.info author 2014-04-26 23:11:31 +09:00
pekopeko1
30707e2f19 revert unnecessary .gitignore change 2014-04-26 23:09:42 +09:00
Bram Chen
1fb76ae56d Fix typo 2014-04-26 20:10:02 +08:00
Bram Chen
4008191459 Update chinese translations for Help tiddlers 2014-04-26 19:52:45 +08:00
Xavier Cazin
463bd0517c fr-FR translation for new Help tiddlers 2014-04-26 11:56:40 +02:00
Xavier Cazin
fb3a31ae43 Typo: Set => Clear 2014-04-26 11:12:59 +02:00
Jermolene
f7e50e0950 Add --build command
First pass at the build system described in #356.

To test it, move to a new, empty directory and try `tiddlywiki
editions/tw5.com --verbose --build`
2014-04-25 22:41:59 +01:00
Jermolene
552657fc58 Fix text parser to use codeblocks
This means that JavaScript and JSON tiddlers will be properly
highlighted if the highlight plugin is loaded.
2014-04-24 19:41:07 +01:00
Jermolene
d727046948 Revise number of tiddlers in recent changes list
Going back to 100; 250 was a typo.
2014-04-24 12:22:31 +01:00
Jermolene
f6ca7d92e5 Fix docs typo
Fixes #575
2014-04-24 11:59:51 +01:00
Jermolene
148e77b0e4 Clean up obsolete macro definition
Fixes #576
2014-04-24 11:58:42 +01:00
Jermolene
cc60ad1428 Fixed topbar hover for Firefox
Pesky Firefox browser crankiness.

Fixes #579
2014-04-24 11:33:14 +01:00
Jermolene
fecf3a556f Update JS macro docs 2014-04-24 11:08:23 +01:00
Jeremy Ruston
39ef0ad88f Merge pull request #581 from mwfogleman/tid-mode
Refer Emacs docs to tid-mode, not tid-time.
2014-04-24 09:01:27 +01:00
Michael Fogleman
f75826224b Refer Emacs docs to tid-mode, not tid-time. 2014-04-24 11:39:37 +05:30
Jeremy Ruston
52f28a1cc3 Merge pull request #578 from sukima/feature/sign-cla-sukima
Add @sukima to cla-individual.md
2014-04-22 15:49:35 +01:00
Jermolene
61c3f8a5ba Remove wikitext tiddlers from "types" sidebar tab 2014-04-22 11:44:27 +01:00
Devin Weaver
13da54b9bd Add @sukima to cla-individual.md 2014-04-21 18:26:04 -04:00
pekopeko1
680414d1c5 edited 'shadow' translation 2014-04-20 23:33:27 +09:00
pekopeko1
2c7d5c5964 merged @ogoshima's translation 2014-04-20 23:24:35 +09:00
Jermolene
3d69c929d9 Add more warnings about backups 2014-04-19 14:42:22 +01:00
Jeremy Ruston
8cbcfee346 Merge pull request #573 from pmario/fix-concepts-tiddlerfields-lingo
Fix "description" column in TiddlerFields
2014-04-19 14:23:06 +01:00
Jermolene
43173c801f Adjust version number for 5.0.11 2014-04-19 14:22:25 +01:00
Mario Pietsch
523faf71fb change modified date 2014-04-19 15:16:12 +02:00
Mario Pietsch
ad2bbb2c93 tiddler: TiddlerFields - fix the description column. 2014-04-19 15:11:20 +02:00
Jermolene
8756d25d78 Version number update for 5.0.10-beta 2014-04-19 14:07:48 +01:00
Jermolene
8a27c2759b Update 5.0.10 release date 2014-04-19 14:06:29 +01:00
Jermolene
beddcd7138 New ribbon colour for 5.0.10 2014-04-19 13:15:24 +01:00
Jermolene
2db90378a2 Release note updates for 5.0.10 2014-04-19 11:34:23 +01:00
Jermolene
7684891285 Move topbar out of the way of scrollbars
In the process getting rid of some extraneous `<p>` tags.

Fixes #566
2014-04-19 11:32:56 +01:00
Jermolene
821f1f1428 Fix hamburger and seamless behaviour
No longer remove the tiddler borders when hiding the sidebar; users can
select Seamless theme to get the same effect.

Fixes #566
2014-04-19 11:24:41 +01:00
Jermolene
4538f081ee Release note updates for 5.0.10 2014-04-19 11:22:59 +01:00
Jermolene
b4122be50c Update release note for 5.0.10 2014-04-19 11:18:08 +01:00
Jermolene
cd76514105 Update roadmap 2014-04-19 09:36:14 +01:00
Jermolene
ba576d9f1b Add support for safe mode 2014-04-19 09:36:08 +01:00
Jermolene
15d0c27e2a Add [is[tag]] filter operator 2014-04-18 17:57:55 +01:00
Jermolene
869cec1ccc Add docs for date format strings 2014-04-18 17:37:13 +01:00
Jermolene
d6054f1039 Fix problem with offline copy of server edition
We were accidentally including all the shadow tiddlers as well as
ordinary ones.
2014-04-18 15:23:00 +01:00
Jermolene
9fbe72a877 Rearrange system tag configuration
By rearranging the `[all[]]` operator we are able to ensure that shadow
tiddlers get processed before ordinary tiddlers. This makes it easier
to create custom stylesheets that override the core.
2014-04-18 09:28:14 +01:00
Jermolene
89165fc51d Fix problem with sorting date fields
Introduced a couple of commits ago when the localeCompare() stuff was
added.
2014-04-17 22:52:57 +01:00
Jermolene
4758874d13 Add path conversions from TiddlyWiki Classic
TiddlyWiki Classic converts local file URIs to various local native
formats. The same conversions are now performed by the TiddlyFox
adaptor for TW5.
2014-04-17 22:30:14 +01:00
Jermolene
0153fd2a30 Correct typos in 5.0.9 release note 2014-04-17 20:26:35 +01:00
Jermolene
bb42c0ab36 Use localCompare for sorting strings
So that accented characters get sorted correctly. Or at least as
correctly as browsers allow.
2014-04-17 20:15:52 +01:00
Jermolene
95d291daac Update print stylesheet to hide topbar 2014-04-17 19:50:12 +01:00
Jermolene
45b0966013 Support the image widget in markdown 2014-04-17 16:50:54 +01:00
Jermolene
de07da3797 Revise warning about backing up before upgrading 2014-04-17 16:26:57 +01:00
Jeremy Ruston
aebc1ea943 Merge pull request #562 from pmario/upgrade-backup-info
add a backup info for the Upgrade tiddler.
2014-04-17 16:24:57 +01:00
Jermolene
73cfd10218 Fix regression with untagged filter operator
Restored previous behaviour of considering a missing tiddler to be
untagged.
2014-04-17 16:10:50 +01:00
Jermolene
d336ffea02 Fix incorrect background colour for sidebar tag pills
Fixes #568.
2014-04-17 15:11:59 +01:00
Jermolene
6da28e7365 Docs update 2014-04-17 14:44:14 +01:00
Jermolene
d08a2d109f Fix html parser tests 2014-04-17 14:43:24 +01:00
Jermolene
f57e047877 Fix issues with tiddlers with null fields
Fixing #567
2014-04-17 14:43:12 +01:00
Jermolene
df5fe10a40 Start release note for 5.0.10 2014-04-17 12:52:52 +01:00
Jermolene
433ac8e96e Typo fix 2014-04-17 12:52:38 +01:00
Jermolene
ad4b03506a Added wikitext image support
We’ve added a parser to recognise the `[img[URL or tiddler title]]`
format, and an associated image widget.
2014-04-17 12:52:32 +01:00
Jermolene
ace57dd205 Refactor utilities out of HTML parser
Some of the functions are useful general purpose parser helpers.
2014-04-17 12:00:32 +01:00
Jermolene
bd4a031df8 Fix problem with version checking logic
Previously, importing a plugin with a semantically identical version
number was not rejected. This meant that attempts to import
5.0.9-prerelease wikis into 5.0.9-beta led to a corrupted wiki, with a
beta core and prerelease plugins.
2014-04-17 11:59:42 +01:00
Jermolene
6db94052c7 Prepare for 5.0.10 release 2014-04-17 11:58:16 +01:00
Mario Pietsch
dd8797223a add a backup info for the Upgrade tiddler. 2014-04-16 01:09:26 +02:00
Jermolene
e54b0d7129 Docs fixes 2014-04-15 21:50:36 +01:00
Jermolene
07ab8c75b8 Docs fixes 2014-04-15 21:48:19 +01:00
Jermolene
0a6077286f Version number update for 5.0.9-beta 2014-04-15 21:43:51 +01:00
Jermolene
634e76eb7f Update release date for 5.0.9 2014-04-15 21:39:46 +01:00
Jermolene
cd1463cbb0 Get rid of the home button
I’m not keen on it because it ends up being very visually prominent for
something that’s not particularly useful.
2014-04-15 20:33:58 +01:00
OGOSHI Masayuki
5bcc666f34 Update some translations. 2014-04-16 02:40:49 +09:00
OGOSHI Masayuki
6bef1d6b30 Update command line helps Japanese Translation. 2014-04-15 23:44:05 +09:00
Jermolene
4b8be85b88 Docs updates 2014-04-15 13:24:43 +01:00
Jermolene
d01f1020d2 Release note updates 2014-04-15 09:07:25 +01:00
Jermolene
f77de37a2f Include Japanese translation in tiddlywiki.com
All of which is making index.html far too big, which we’ll address with
a plugin library.
2014-04-15 09:07:19 +01:00
Jeremy Ruston
f3c5ce7ca4 Merge pull request #558 from pekopeko1/japanese
Translation to Japanese.
2014-04-15 08:34:12 +01:00
Jermolene
6ed38389b0 Update test for previous commit
Test should have been updated with
dad60cda05
2014-04-15 08:28:47 +01:00
pekopeko1
5393fbee99 signed in CLA 2014-04-15 12:14:34 +09:00
pekopeko1
3b31c6fe3a some translation added 2014-04-15 12:00:04 +09:00
pekopeko1
9ba55c7e79 GettingStarted.tid plugin.info 2014-04-15 09:59:30 +09:00
pekopeko1
9323574efb add ja-JP directory 2014-04-15 09:58:21 +09:00
Jermolene
f5cf8cba5c Docs update 2014-04-14 21:33:16 +01:00
Jermolene
88be791e58 Fix full screen background 2014-04-14 21:30:42 +01:00
Jermolene
dad60cda05 Improve wiki.sortByList()
Previously list-before and list-after didn’t work if they referenced
entries that hadn’t yet been placed
2014-04-14 21:30:30 +01:00
Jermolene
fe0ed5e4ce Tweaks to themes
And shaking out some paragraph tags in the sidebar
2014-04-14 18:37:09 +01:00
Jermolene
aa243e4478 Add new seamless theme
Gets rid of the borders around tiddlers, and tightens up the use of
white space. Works particularly well with the sidebar hidden.
2014-04-14 13:12:44 +01:00
Jermolene
4c648e7cdc Exclude more illegal characters from external links 2014-04-14 11:17:28 +01:00
Jermolene
0aa559cd23 Improve responsiveness during editting
Simple optimisation whereby we defer the main refresh cycle when only
draft tiddlers have been modified.

We defer for 400ms, and keep extending the delay at each fresh draft
modification. The effect is that if the user is using the preview then
they’ll need to pause typing for 400ms before the preview is updated.

Fixes #470, #454, and maybe #206.
2014-04-14 10:20:32 +01:00
Jermolene
28db76ddb3 Refactor page rendering into a separate function
Refactoring page rendering so that we can fix the performance issues
with editing drafts. The plan is to defer the refresh cycle if all the
changes are to draft tiddlers.

We need to do a bit more of this to get startup.js into better shape
(and more extensible).
2014-04-14 09:53:13 +01:00
OGOSHI Masayuki
09cf788063 Merge branch 'master' into ja-JP 2014-04-14 17:03:16 +09:00
Jermolene
e366aa3746 Use Date.now() instead of new Date()
Just for when what we actually want is a millisecond counter.

Interesting video about this:

https://www.youtube.com/watch?v=Vo72W1HWeFI
2014-04-14 09:02:52 +01:00
Jermolene
22a529b28d New ribbon colour for 5.0.9 2014-04-14 08:57:50 +01:00
Jermolene
c2d6086bd9 Show fewer tiddlers in recent changes 2014-04-13 21:17:44 +01:00
Jermolene
f1578d3409 Turn off instrumentation
All those console.log()s make editing very slow
2014-04-13 21:17:44 +01:00
Jermolene
93b9d16d6c Don't include pipe characters in URLs 2014-04-13 21:17:44 +01:00
Jeremy Ruston
13bb20cad4 Merge pull request #553 from xcazin/fr-FR
fr-FR translation of the confirmation string before cancelling tiddler changes
2014-04-13 21:03:42 +01:00
Xavier Cazin
bba7e97f60 fr-FR translation of the confirmation string before cancelling tiddler changes 2014-04-13 16:55:13 +02:00
Xavier Cazin
cb32d187c5 Merge remote-tracking branch 'upstream/master' 2014-04-13 16:45:30 +02:00
Jeremy Ruston
8582e5ebe2 Merge pull request #552 from BramChen/master
Add chinese translations of confirmation for cancelling edits
2014-04-13 09:24:45 +01:00
Jermolene
46969fbd3e Adjust Cecily tiddler width 2014-04-13 09:24:06 +01:00
Jermolene
260d3ad8c0 Docs typo 2014-04-13 09:23:57 +01:00
OGOSHI Masayuki
4d0b08d464 some translations corrected. 2014-04-13 15:52:41 +09:00
OGOSHI Masayuki
5447420832 1st time ja-JP translation commit. 2014-04-13 15:35:36 +09:00
Bram Chen
d9b87055bf Add chinese translations of confirmation for cancelling edits 2014-04-13 14:34:17 +08:00
Jermolene
4f4b743d9c Fix Cecily tiddler width for when sidebar hidden 2014-04-12 18:24:39 +01:00
Jermolene
ee2cd2056c Make tiddler width fluid when sidebar hidden 2014-04-12 17:14:27 +01:00
Jermolene
be5f6f6700 Allow spaces in property names in text references 2014-04-12 17:14:09 +01:00
Jermolene
be7822281a Release note updates 2014-04-12 16:32:58 +01:00
Jermolene
3afa26b9a3 Require confirmation before abandoning edits
Fixes #544
2014-04-12 14:15:49 +01:00
Xavier Cazin
2a2cc20601 Merge remote-tracking branch 'upstream/master' 2014-04-12 10:22:07 +02:00
Jeremy Ruston
400ab3b3c5 Merge pull request #550 from xcazin/fr-FR
3 new plugin-related strings in fr-FR Control Panel
2014-04-12 08:44:42 +01:00
Xavier Cazin
ebe7587aa0 Merge remote-tracking branch 'upstream/master' into fr-FR 2014-04-12 08:48:00 +02:00
Xavier Cazin
c954ac01fe Merge remote-tracking branch 'upstream/master' 2014-04-12 08:46:18 +02:00
Jermolene
a3cf925e56 Add classes for the current theme and language
Add the classes to the tw-page-container DIV
2014-04-11 21:37:58 +01:00
Xavier Cazin
be7c33dc48 Revert "Another missed update"
This reverts commit 7aaab03e03.
2014-04-11 16:23:23 +02:00
Xavier Cazin
634f914610 Another missed update 2014-04-11 16:15:56 +02:00
Xavier Cazin
7aaab03e03 Another missed update 2014-04-11 16:13:32 +02:00
Xavier Cazin
fd1399f6d9 3 new plugin-related strings in fr-FR Control Panel 2014-04-11 09:48:32 +02:00
Jermolene
442bc35bcb Remove dropdown from edit mode tags
Firefox didn’t like the nested buttons.

The better fix would be to switch the tag pills to being links instead
of buttons.

Fixes #515
2014-04-10 22:49:46 +01:00
Jermolene
1bc9bf541a Remove headings from Tiddler Info advanced tab
Fixes #518
2014-04-10 21:44:56 +01:00
Jermolene
ccf2cb36a1 Extend sameday operator to select field
Now the target field can be specified in the suffix:
`[sameday:created[20140808]]`
2014-04-10 20:19:12 +01:00
Jeremy Ruston
18d14031b7 Merge pull request #548 from xcazin/fr-FR
Four file updates on fr-FR translations
2014-04-10 20:08:26 +01:00
Jermolene
5fff6fc87f Docs update 2014-04-10 19:57:21 +01:00
Jermolene
5a65898dbe Update tiddler filter docs 2014-04-10 19:56:51 +01:00
Jermolene
cbf45a9982 Update release note 2014-04-10 19:56:43 +01:00
Jermolene
7a4a00f6ca Sort operator should default to title
Previously we were crashing if a sort field wasn’t specified
2014-04-10 19:56:21 +01:00
Xavier Cazin
dfb367c104 Last fr-FR updates to translatable content 2014-04-10 15:46:00 +02:00
Xavier Cazin
7853b7f7b3 Four file updates on fr-FR translations 2014-04-10 12:38:55 +02:00
Jermolene
ccefc1b17b Tolerate more whitespace in block elements
Previously the double newlines marking a block mode element couldn’t be
interspersed with whitespace.
2014-04-10 11:05:27 +01:00
Jeremy Ruston
6786a1fd14 Merge pull request #547 from BramChen/master
Fix typo in PaletteColours.multids for zh-Hant
2014-04-10 08:29:32 +01:00
Bram Chen
e73d2854f9 Fix typo in PaletteColours.multids for zh-Hant 2014-04-10 09:34:48 +08:00
Jeremy Ruston
127cd70769 Merge pull request #545 from xcazin/fr-FR
fr-FR translation of PaletteColours.multids + typo in core en-GB of the same
2014-04-09 22:20:40 +01:00
Jermolene
fc407d079c Pixel accuracy for restoring pre-refactor layout
Two problems:

* Extraneous whitespace shows up as whitespace in the HTML, making it
hard to style
* Fix some padding
2014-04-09 22:19:27 +01:00
Jermolene
df6fe8f852 Merge branch 'sidebar-remove-p' of https://github.com/pmario/TiddlyWiki5 into pmario-sidebar-remove-p 2014-04-09 21:56:20 +01:00
Jermolene
613f413942 Add docs on filter changes in 5.0.9 2014-04-09 21:53:34 +01:00
Mario Pietsch
70a2db34d1 these changes remove most of the <p> tags from the right sidebar, without changing the layout too much. The tab buttons are a little bit higher but this will be adjusted with the next CSS tweaks. 2014-04-09 21:12:10 +02:00
Mario Pietsch
5821165ec5 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-04-09 19:59:39 +02:00
Xavier Cazin
4888417a35 fr-FR translation of PaletteColours.multids + typo in core en-GB version. 2014-04-09 19:11:41 +02:00
Jeremy Ruston
2aa1acb565 Merge pull request #526 from BramChen/master
Keep up-to-date changes for chinese translations.
2014-04-09 16:11:39 +01:00
Jermolene
e5fe3f76ac Fix linkcatcher message sending
We need to send messages to the parent so that we don’t set up an
infinite loop by sending `tw-navigate` messages. Also we need to pass
along the target of the navigation.
2014-04-09 16:09:12 +01:00
Jermolene
ef03e5ce63 Docs update 2014-04-09 14:33:55 +01:00
Jermolene
690c8fe9a0 Update macros docs
Include single line macros
2014-04-09 14:33:47 +01:00
Jermolene
6f1e8ee3a1 Missed adjustments of wikitext tests
The commit 4d91a7762e broke the test
2014-04-09 11:54:03 +01:00
Jeremy Ruston
9b52ca7cc0 Merge pull request #543 from welford/load-and-deserialize
Make deserializing a bit more robust
2014-04-09 11:51:16 +01:00
Jermolene
f9a274df85 Require confirmation for all tiddler deletions
Previously we only asked for confirmation when deleting a draft tiddler
2014-04-09 11:32:08 +01:00
Jermolene
776bf29afc Update LinkCatcherWidget docs 2014-04-09 11:31:36 +01:00
Jermolene
f08c4aa525 Arrange fields alphabetically in the edit template 2014-04-09 11:31:27 +01:00
James Welford Anderson
0f07977930 deserializertype -> deserializerType 2014-04-09 06:26:01 +09:00
James Welford Anderson
362df18a19 make deserializing a bit more robust
load.js references the encoding set in boot.js when loading a file.
boot.js can now register file type with different deserialization from
their actual type
2014-04-09 06:20:51 +09:00
Jermolene
426281539a Merge branch 'saner-filters' 2014-04-08 14:14:11 +01:00
Jermolene
dc5831a8a8 First pass at a release note for 5.0.9 2014-04-08 14:12:35 +01:00
Jermolene
6d43b4e8dc Update link widget docs 2014-04-08 14:12:27 +01:00
Jermolene
3282bd948f Fix problem with search filter operator 2014-04-08 09:36:30 +01:00
Jermolene
7ec356ac80 Add @welford's signature to CLA 2014-04-08 09:16:22 +01:00
Jeremy Ruston
688879e6fa Merge pull request #540 from mwfogleman/michael-cla
Add Michael Fogleman to cla-individual.md.
2014-04-08 08:55:39 +01:00
Michael Fogleman
9bdd7a4e19 Add Michael Fogleman to cla-individual.md. 2014-04-08 11:24:38 +05:30
Jermolene
78f81a6894 Move notifications a little to the left
So that they don’t overlap the menu hamburger
2014-04-07 19:01:08 +01:00
Jermolene
5ec0775d3e Link wikitext help text to tiddlywiki.com
Fixes #537
2014-04-07 18:08:11 +01:00
Jermolene
c4d0ee11d3 Update Emacs tip 2014-04-07 09:02:31 +01:00
Jermolene
597b8ca4b1 Ensure fieldnames are not wikified
`__proto__` was being wikified into underlined text
2014-04-06 22:49:59 +01:00
Jermolene
ea46f85a8a Fix problem with fields called "__proto__" 2014-04-06 22:49:20 +01:00
Jermolene
1e960ffcac Fix problems with tiddlers called __proto__
Background:

http://www.2ality.com/2012/01/objects-as-maps.html
2014-04-06 22:43:10 +01:00
Jermolene
8a7d0f53d3 Add a sourceURL to the end of eval'd code
This, miraculously, lets Chrome dev tools list tiddler modules in the
script tag by their proper titles. Which lets you set breakpoints
within them!!!!!

https://chromedevtools.googlecode.com/svn-history/r421/trunk/tutorials/b
reapoints/index.html#regular
2014-04-06 22:36:51 +01:00
Jermolene
b51d851f93 Fix extraneous comma
Thanks to Danielo Rodríguez
2014-04-06 22:09:42 +01:00
Jermolene
e21d558ff0 Add Michael Fogleman's Emacs macro 2014-04-06 22:08:29 +01:00
Jermolene
c7b4febae3 Optimise ordering of filter expressions
We get a significant speed improvement of >10% by rearranging filter
operators to bring to the front the operators likely to reduce the size
working list.
2014-04-06 11:50:16 +01:00
Jermolene
4d91a7762e Optimise link widget
Handle the classes better, and stop using a default tooltip (parsing
the tooltip was a performance hog)
2014-04-05 17:37:58 +01:00
Jermolene
272a4bbe61 Filtering optimisations 2014-04-05 17:31:36 +01:00
Jermolene
b7f674c51a First pass at refactoring filter execution
This is the beginning of addressing #523.
2014-04-03 20:49:16 +01:00
Jermolene
14f90b9519 Include direct tiddler link in template for community links 2014-04-03 20:30:31 +01:00
Jermolene
2f458e8573 Add link to Martin Kantor's MathJax plugin 2014-04-03 20:25:40 +01:00
Jermolene
3619eb1378 Fix missing newline
Fixes #529
2014-04-03 18:10:54 +01:00
Mario Pietsch
9bd626315e Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-04-03 19:03:51 +02:00
Jeremy Ruston
d3c0296a87 Merge pull request #520 from pmario/decouple-sitetitle
right menue SiteTitle and SiteSubtitle decoupled
2014-04-03 17:02:22 +01:00
Jermolene
e397e4d159 Disable the tiddlyweb adaptor unless loaded over http(s) 2014-04-03 16:33:42 +01:00
Jermolene
93c29bd388 Fix missing require in filesystem adator 2014-04-03 15:40:30 +01:00
Bram Chen
7985a808bf Keep up-to-date changes for chinese translations. 2014-04-02 16:27:03 +08:00
Mario Pietsch
aced860d52 Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5 2014-04-01 23:20:59 +02:00
Jeremy Ruston
c1bb7b00c1 Merge pull request #522 from pmario/de-DE
german language update. Contains changes till Mar 31, 2014
2014-04-01 15:24:06 +01:00
Mario Pietsch
856b68a34d german language update. Contains changes till Mar 31, 2014 2014-04-01 15:43:08 +02:00
Mario Pietsch
1940bd4dce right menue SiteTitle and SiteSubtitle decoupled from tiddler title and tiddler subtitle. Otherwise it is not possible to modify the tiddler title styling, without affecting the site title. 2014-04-01 10:34:58 +02:00
Jermolene
d402d3c5a6 Add performance measurement features
This is an experimental module to help us measure the performance of
the refresh cycle and the filter mechanism. Not intended to replace the
performance measurement features in browser developer tools, just to
make it easier to automate performance checks cross-browser.

The immediate purpose is to help in refactoring the filter mechanism.
The recent change to encapsulate the wiki store “tiddlers” object has
hurt the performance of filters, and it’s going to be helpful to have
decent measurements while refactoring that code.

I’m still not convinced that this stuff should be in the core, and may
well end up removing it after the present refactoring cycle.
2014-04-01 08:33:36 +01:00
Jermolene
dcce487934 Add support for platform dependent high resolution performance timers
For profiling filter performance
2014-03-31 18:42:30 +01:00
Jermolene
53ca7f6a2f More defensive handling of pluginInfo 2014-03-31 18:30:45 +01:00
Jermolene
c3e24c1228 Trim spaces from new field and tag names
Fixes #517
2014-03-31 17:59:28 +01:00
Jermolene
6307293469 Fix some Node.js cross-platform compatibility issues
Thanks to http://shapeshed.com/writing-cross-platform-node/

Surprising that file path format is pretty much the only issue.
2014-03-31 17:17:36 +01:00
Jeremy Ruston
0d0679de1b Merge pull request #514 from Skeeve/patch-6
Show site title when logging in
2014-03-31 12:59:15 +01:00
Jermolene
09214d1c33 Fix problem with --load command overwriting $:/core
Now we use the `wiki.importTiddler()` method - it rejects attempts to
load older versions of loaded plugins
2014-03-31 12:46:10 +01:00
Jermolene
914a536d82 Correct relative date handling of t=1s
We were incorrectly displaying “1 seconds ago”
2014-03-31 12:41:54 +01:00
Jermolene
5a085f7927 Add basic CSV parser 2014-03-31 12:41:02 +01:00
Skeeve
0595619d39 Show site title when logging in
I have several TW5 servers running on the same host and think it would be good, would the password prompt display the $:/SiteTitle
2014-03-31 08:58:13 +02:00
Jermolene
776c9a2cad Add James Anderson's resource links 2014-03-27 09:56:33 +00:00
Jeremy Ruston
36dabd792e Merge pull request #509 from BramChen/master
Update chinese translations of types
2014-03-27 09:55:31 +00:00
Jermolene
ec90ac99cf Skinner dropdown arrow 2014-03-27 08:54:28 +00:00
Bram Chen
299007f08b Update chinese translations of types. 2014-03-27 10:06:40 +08:00
Bram Chen
49578bb144 Merge remote-tracking branch 'upstream/master' 2014-03-27 09:33:36 +08:00
Jeremy Ruston
ead5e607fa Merge pull request #502 from BramChen/master
Add chinese translations of translatable core strings in JavaScript modules
2014-03-26 22:15:01 +00:00
Jermolene
5c3c6cd7c0 Fix various typos 2014-03-26 21:57:13 +00:00
Jeremy Ruston
818b29386e Merge pull request #504 from buggyj/58texthtml
added missing text/html type
2014-03-26 21:49:45 +00:00
Bram Chen
c0f78df48d Merge remote-tracking branch 'upstream/master' 2014-03-27 00:53:15 +08:00
Jermolene
c58852a67b On narrow screens ensure there is a background behind the home and menu buttons 2014-03-26 14:11:26 +00:00
Jermolene
bca1d55280 Add validation of legal characters for fieldnames 2014-03-26 13:38:43 +00:00
Jermolene
45a362c285 Add a dropdown to tags in edit mode
As discussed in TW Hangout 40
2014-03-26 13:06:11 +00:00
Jermolene
355f467465 Update line colour for SVG curved text example 2014-03-26 10:16:15 +00:00
Jermolene
871630be88 Fix the menu hamburger 2014-03-26 10:16:00 +00:00
Jermolene
8b813ccb43 Correct typo 2014-03-25 22:17:31 +00:00
Jermolene
59ac38a3da Remove the scrollable from the story river
The problem was that the scrollable required that the mouse be over the
story river itself in order to scroll it with the wheel. If we fallback
to scrolling the story by scrolling the browser body then we are able
to scroll even if the mouse is over the sidebar.
2014-03-25 22:15:54 +00:00
Jermolene
80b65b1651 Add a top-left and top-right menu 2014-03-25 21:54:06 +00:00
Jermolene
7dede861e1 Fix styling for input boxes in sidebar 2014-03-25 21:53:18 +00:00
Jermolene
514b8e1776 Fix hover colour of the close buttons in the sidebar "open" tab 2014-03-25 14:37:55 +00:00
Jermolene
79d643775d Fix scrollable widget not to crash on the server 2014-03-25 14:37:33 +00:00
Jermolene
945ad6792f Add first pass at Cecily plugin 2014-03-25 14:29:32 +00:00
Jermolene
7c235566c4 Rejig the page layout to use the scrollable widget
This is the start of some refactoring of the main layout CSS intended
to give us more flexibility and control.
2014-03-25 14:29:16 +00:00
Jermolene
d3e178becc Add scrollable widget
A new widget to handle scrollable areas. We’ll use it both for the
story river and the sidebar.
2014-03-25 14:26:54 +00:00
Jermolene
bc432d5e52 Remove obsolete nighttime theme
Better to do change the background colour with a palette
2014-03-25 09:31:48 +00:00
Jermolene
fa10801d72 Fix tags for curved text howto 2014-03-24 22:53:11 +00:00
Jermolene
87c8478c80 Add curved text demo 2014-03-24 22:49:10 +00:00
Jermolene
535837e017 Use client bounding rect rather than offset positions for computing scroll positions 2014-03-24 22:31:03 +00:00
Jermolene
20f6383528 Add storyviews list filter and use it in view switcher 2014-03-24 22:17:45 +00:00
Jermolene
26fd460670 Move the version banner to the sidebar
By making it a page control we move it into the sidebar, making it easy
to control with the sidebar.
2014-03-24 21:37:42 +00:00
Jermolene
20d7264e4b Add protocol to YouTube URLs
Otherwise they don’t work when viewed from a file URI
2014-03-24 21:36:19 +00:00
Jermolene
3ce2159a95 Missing semicolon 2014-03-24 21:35:48 +00:00
buggyj
968d44e4be added missing text/html type 2014-03-24 11:31:28 +05:30
Bram Chen
f46d445ba2 Add chinese translations of PaletteColours 2014-03-24 10:34:36 +08:00
Bram Chen
1b0a39cd1a Add chinese translations of translatable core strings in JavaScript modules 2014-03-24 10:25:54 +08:00
Jeremy Ruston
cb2653aee0 Merge pull request #499 from mpollio/master
Italian translation available
2014-03-23 13:49:31 +00:00
Jermolene
34445dcc68 Break the links up into separate tiddlers 2014-03-22 17:32:28 +00:00
Maurizio
54abcdceeb Update cla-individual.md 2014-03-21 17:22:12 +01:00
Maurizio
cf7554a938 Delete favicon.ico 2014-03-21 11:03:24 +01:00
Maurizio
fb72b3b859 Delete index.html 2014-03-21 11:03:16 +01:00
Jeremy Ruston
03cfa61ae8 Merge pull request #494 from nameanyone/master
Stop using obsoleted "-moz-border-radius" and "-webkit-border-radius" pr...
2014-03-20 22:19:45 +00:00
Jeremy Ruston
4badabce4b Merge pull request #496 from buggyj/syncer
syncer freeze fix
2014-03-20 20:58:50 +00:00
Jeremy Ruston
3cb2b365c5 Merge pull request #498 from buggyj/plugindocumentation
Plugin development with github
2014-03-20 20:56:30 +00:00
Jermolene
178cfb1084 Make more core strings be translateable
Now we’re translating strings that occur in JavaScript modules.

Partially fixing #491
2014-03-20 20:55:59 +00:00
mpollio
920df5d2d4 Italian translation available
Add italian translation
2014-03-20 13:40:40 +01:00
buggyj
7b57561160 plugin development doc 2014-03-20 13:28:17 +05:30
buggyj
d2a41b8486 plugin development with github and node.js 2014-03-20 13:20:52 +05:30
buggyj
aa63151815 syncer freeze fix 2014-03-19 20:20:54 +05:30
Jermolene
ba6edd42c1 Explicitly blacklist unsafe elements, starting with <script>
Are there are any other elements that might be considered unsafe?
2014-03-19 10:05:44 +00:00
nameanyone
7616c4ce7d Stop using obsoleted "-moz-border-radius" and "-webkit-border-radius" properties
Fixes #480
2014-03-18 16:38:52 -07:00
Jermolene
925b3d2a5b Fix typo 2014-03-18 21:18:46 +00:00
Jermolene
b8d0fd059b Fix bug with plugintiddlers filter operator 2014-03-18 21:18:45 +00:00
Jermolene
a19432541e New architecture diagram and docs updates 2014-03-18 21:18:45 +00:00
Jeremy Ruston
b52299872a Merge pull request #493 from BramChen/master
Add chinese translations of ClassicWarning section for TWC tiddlers
2014-03-18 08:45:56 +00:00
Bram Chen
699b863588 Add chinese translations of ClassicWarning section for TWC tiddlers 2014-03-18 09:53:29 +08:00
Jermolene
bdbbf94326 Update transclusion wikitext syntax to allow a template without a target tiddler
This allows us to transclude a tiddler without changing the current
tiddler with `{{||MyTiddler}}`.
2014-03-17 21:44:10 +00:00
Jermolene
cdf3e101a8 Fix crash with headings
`this.match[1].length` can get overwritten when we parse the content of
the heading
2014-03-17 20:55:08 +00:00
Jermolene
06500e5f71 New error message text for recursive transclusion error 2014-03-17 11:54:41 +00:00
Jermolene
9de17aa206 Make shadowTiddlers, pluginTiddlers and pluginInfo be private to the Wiki object constructor 2014-03-17 10:50:18 +00:00
Jermolene
279626a3e3 Freeze array or object tiddler fields
Previously object fields like the tags array weren’t frozen.
2014-03-17 08:58:42 +00:00
Jermolene
721e333a20 Starting to make the members of $tw.Wiki be private
We want to avoid plugins from directly accessing the tiddlers hashmap.
Later we’ll do pluginTiddlers, pluginInfo and shadowTiddlers.
2014-03-16 21:23:10 +00:00
Jermolene
499730c458 Remove whitespace between toolbar icons 2014-03-15 17:04:12 +00:00
Jermolene
baa8cf3dd0 Add a warning segment to templates for TWC tiddlers
Now there’s a warning banner on all TWC tiddlers. It includes an
`upgrade` button that currently just flips the tiddler type to TW5
2014-03-15 17:03:50 +00:00
Jermolene
f649b5b037 Extend button widget to set text references
Previously the `set` attribute could only be used to identify a
tiddler, not a full text reference.
2014-03-15 17:02:13 +00:00
Jermolene
afa677b9a0 Add a class to tiddler frames in view mode
We’re already marking tiddlers in edit mode with tw-tiddler-edit-mode,
makes sense to make view mode tiddlers too.
2014-03-15 11:20:33 +00:00
Jeremy Ruston
6fe884bb8a Merge pull request #489 from BramChen/master
Keep up-to-date changes for zh-Hant and zh-Hans
2014-03-15 09:02:29 +00:00
Bram Chen
00af144085 Add Chinese translations for tiddler info 'advanced' panel 2014-03-15 09:57:50 +08:00
Bram Chen
5d893397c4 Merge remote-tracking branch 'upstream/master' 2014-03-15 08:39:54 +08:00
Jermolene
42c67cfeb7 Add tiddler info "advanced" panel 2014-03-14 15:23:28 +00:00
Jermolene
b714c67374 Refactor plugin loading to retain plugin info for all plugins
Previously we were not reading the plugin info for plugins that hadn’t
been loaded.
2014-03-14 15:23:12 +00:00
Jermolene
00cb2f4659 Add links to static representations for people with JS turned off 2014-03-14 15:21:52 +00:00
Jermolene
24b6603c42 Fix problem with checking versions of plugins carrying a badly formatted "version" field 2014-03-14 10:43:22 +00:00
Bram Chen
a82e50c07f Keep up-to-date changes for zh-Hant and zh-Hans 2014-03-14 13:02:49 +08:00
Jermolene
ebc77fbd09 Get ready for a new view template segment carrying information about plugins 2014-03-13 17:44:27 +00:00
Jermolene
96457d8011 Rejig plugins tab of control panel
Now we divide the plugins into categories and organise the displayed
information a bit better
2014-03-13 17:43:18 +00:00
Jermolene
3d9f61f041 More whitespace in core templates 2014-03-13 17:42:29 +00:00
Jermolene
f48701544e Enhance tiddler title for system tiddlers
Now the $:/ part of the name is rendered in grey, making the main part
of the title more prominent.

@tobibeer suggested this a long time ago; good idea!
2014-03-13 17:40:53 +00:00
Jermolene
50cf9678cb Add support for tw-home message 2014-03-12 22:32:13 +00:00
Jermolene
c4119f4f93 Default colour tweaks 2014-03-12 22:22:18 +00:00
Jermolene
cafe74fc89 Tweaks to list-before and list-after field descriptions 2014-03-12 22:22:02 +00:00
Jeremy Ruston
2466389397 Merge pull request #485 from TheDiveO/master
added descriptions for list-before, list-after
2014-03-12 21:57:41 +00:00
Jermolene
dd3ee2a603 Extend tag manager to edit icons assigned to tags
Add a dropdown for choosing available images for a tag.

As part of this change we need to tag tiddlers that contain images
typed as wikitext (these are inline SVG icons) so that we can display
them in the dropdown.
2014-03-12 21:56:46 +00:00
Jermolene
8e17c1dfd5 Fix setTextReference()
It wasn’t working for non-existent tiddlers. Also added support for
setting indexed properties of a data tiddler.
2014-03-12 21:54:43 +00:00
Jermolene
9bd0174205 Left off previous commit 2014-03-12 21:53:50 +00:00
TheDiveO
522dad95be added descriptions for list-before, list-after 2014-03-12 21:26:18 +01:00
Jeremy Ruston
87c4839fed Merge pull request #484 from TheDiveO/master
signed CLA
2014-03-12 20:06:01 +00:00
Jermolene
22b6425bac Update link to tags docs 2014-03-12 20:05:45 +00:00
Jermolene
5ba92fe274 Update to latest version of normalize.css and fix tab styling
Tab styling was inconsistent on Firefox due to some line-height issues.
2014-03-12 20:05:34 +00:00
TheDiveO
91939d67ed signed CLA 2014-03-12 20:45:04 +01:00
Jermolene
d0caf21b2d Exclude attributes starting "on" on HTML elements
Because:

* It doesn't work well with TW5's refresh mechanism, which relies on
being able to regenerate any portion of the DOM as required; this
frequently causes inline handlers to be re-executed at unexpected times
(see
http://tiddlywiki.com/static/TiddlyWiki%2520for%2520Developers.html)
* It mixes TW5 version-specific JavaScript with user content
* In multiuser environments there is a security risk to importing or
viewing tiddlers you didn't author if they can have JavaScript in them
2014-03-12 16:39:18 +00:00
Jermolene
0d18f3cc5d Add support for ordering tags by the 'list-before' and 'list-after' fields
See the discussion here:

https://groups.google.com/d/topic/tiddlywikidev/AXDJEjcAphs/discussion
2014-03-12 14:19:26 +00:00
Jermolene
a3507bf611 Freeze the fields of a tiddler
Thus enforcing the immutability of tiddler objects
2014-03-12 08:33:13 +00:00
Jermolene
62bc20a181 Restore visibility of system tags in view template
On discussion at Hangout #38 we felt that hiding them was confusing,
and that there were few situations where a user would see system tags
except on system tiddlers.
2014-03-11 18:25:41 +00:00
Jermolene
9ded88105b Update test of tagging filter to reflect 0d7c4ae6c7 2014-03-11 15:53:41 +00:00
Jermolene
aec618793f Fix problem with refreshing D3 plugin
Fixes #217
2014-03-11 11:12:56 +00:00
Jeremy Ruston
fe33906ef0 Merge pull request #481 from BramChen/master
Add chinese translation of canned filters
2014-03-11 08:30:33 +00:00
Jermolene
6a17bad96e Add margin on code blocks and tables 2014-03-11 08:29:11 +00:00
Bram Chen
4f9fa5d66e Add chinese translation of canned filters 2014-03-11 12:51:32 +08:00
Jermolene
0d7c4ae6c7 Include tags on shadow tiddlers in tagging filter
Ensures that for system tiddlers the info panel "Tagging" tab correctly
shows the tagged tiddlers.

Final fix for #478
2014-03-10 19:41:38 +00:00
Jermolene
2608a323eb Hide system tags from the sidebar tags list
Part of #478
2014-03-10 19:40:07 +00:00
Jermolene
8d612aefdd Fix problem with theme overrides triggering the syncer object
Fixes #479
2014-03-10 19:05:06 +00:00
Jermolene
ad96c48034 Docs updates 2014-03-10 18:41:30 +00:00
Jermolene
12e153ecff Update wikitext tests to reflect title attribute 2014-03-10 18:41:26 +00:00
Jermolene
db35bc36aa Disable storyviews when rendering to the fake dom 2014-03-10 18:41:11 +00:00
Jermolene
af34fbbca3 Only show command line help if no arguments are provided
Previously we were checking in a way that meant that `tiddlywiki
<wiki>` would trigger the help message.
2014-03-10 18:20:07 +00:00
Jermolene
8239275edb Add dropdown of canned filter searches
Now you can pick from a dropdown of predefined filtered searches in the
advanced search filter tab.
2014-03-10 18:16:10 +00:00
Jermolene
be6509a17f Remove system tags from sidebar tags listing 2014-03-10 18:15:12 +00:00
Jermolene
01e1133219 Fix bug where count widget wasn't being updated correctly 2014-03-10 18:15:00 +00:00
Jermolene
f04527ae32 Correct filter for count of overridden shadow tiddlers 2014-03-10 15:05:07 +00:00
Jermolene
98872bbe7c Allow pasting/dropping of HTML content
Fixes #477
2014-03-09 20:39:03 +00:00
Jermolene
bc8b72e6eb Use hasOwnProperty to text for tiddler existence 2014-03-09 19:20:58 +00:00
Jermolene
127d547632 Avoid confusion with the word "breaking"
I meant “broken” in the sense of “incompatible”, not “breaking” as in
“news”.
2014-03-09 09:19:47 +00:00
Jermolene
53755d87c8 Added tooltip examples to the link widget 2014-03-09 09:16:31 +00:00
Jermolene
289bec0fd5 Parse the wiki link tooltip as wiki text 2014-03-08 16:06:57 +00:00
Jermolene
8bd1fa50dc Fixed typo in dom maker 2014-03-08 10:43:01 +00:00
Jermolene
81af6bdd48 Fix typo in navigate handler for button widget 2014-03-08 10:22:09 +00:00
Jermolene
a5a2c718b1 Add support for a tooltip on the link widget 2014-03-06 12:38:47 +00:00
Jeremy Ruston
6b67a3f3c2 Merge pull request #471 from BramChen/master
Update doc and the chinese tranlastions of descriptive text for missing tiddlers
2014-03-06 08:31:54 +00:00
Jermolene
1cea80a3ab Docs update 2014-03-06 08:31:05 +00:00
Bram Chen
b6a202f525 Update doc 2014-03-06 11:47:20 +08:00
Bram Chen
7b109506c8 Update the chinese tranlastions of descriptive text for missing tiddlers 2014-03-06 11:31:17 +08:00
Jermolene
c277370e48 Display --help message if run without arguments
Fixes #389
2014-03-05 11:13:58 +00:00
Jermolene
f83443feac Fix location of stylesheet docs 2014-03-05 09:14:08 +00:00
Jermolene
8529ad13d6 Docs on using stylesheets 2014-03-05 09:13:14 +00:00
Jeremy Ruston
8deedf93a2 Merge pull request #467 from nameanyone/master
Fix a typo
2014-03-05 08:22:23 +00:00
nameanyone
bdcfa75220 Fixed a typo 2014-03-04 20:15:53 -08:00
nameanyone
20d39588b5 Signed CLA 2014-03-04 20:14:57 -08:00
Jermolene
67f3d58f71 Fix problem with "null" message when unloading under IE11
Fixes #457
2014-03-04 22:21:18 +00:00
Jeremy Ruston
bbfb855c2e Merge pull request #465 from BramChen/master
Add chinese translation of MissingTiddler stuff in Misc.multids.
2014-03-04 21:47:18 +00:00
Jermolene
6a63a45968 Improved tiddler filter documentation 2014-03-04 21:17:01 +00:00
Jermolene
70d2d4b7a1 Remove the "create" button from the missing tiddler template 2014-03-04 18:55:43 +00:00
Bram Chen
6aa21b3db6 Add chinese translation of MissingTiddler stuff in Misc.multids. 2014-03-04 17:38:26 +08:00
Jermolene
ff32317f5b Update grammar docs 2014-03-04 09:06:14 +00:00
Jermolene
df6436a12c Allow middle mouse button to trigger navigation suppression when clicking a tiddler link
Equivalent to holding control/command while clicking.
2014-03-03 09:09:13 +00:00
Jermolene
0200bc1b4e Force the highlight language to lower case 2014-03-02 19:42:40 +00:00
Jermolene
bd750a21e2 Add docs for keyboard widget 2014-03-02 19:30:13 +00:00
Jermolene
8c3782c1e2 Docs update 2014-03-02 18:43:59 +00:00
Jermolene
2f2a257745 Improve the descriptive text for missing tiddlers
Now we explain that it’s a missing tiddler, and add a “create” button
2014-03-02 18:43:22 +00:00
Jermolene
ab7d2d64e7 Add docs for tw-close-other-tiddlers message
Fixes #461
2014-03-02 18:36:46 +00:00
Jermolene
bc18501b59 Add @buggj's plugin site to the Community tiddler 2014-03-02 18:36:06 +00:00
Jermolene
0a5ce6d740 Prepare for 5.0.9-prerelease 2014-03-02 18:35:45 +00:00
7593 changed files with 224834 additions and 212671 deletions

8
.eslintignore Normal file
View File

@@ -0,0 +1,8 @@
# Ignore "third party" code whose style we will not change.
/boot/sjcl.js
/core/modules/utils/base64-utf8/base64-utf8.module.js
/core/modules/utils/base64-utf8/base64-utf8.module.min.js
/core/modules/utils/diff-match-patch/diff_match_patch.js
/core/modules/utils/diff-match-patch/diff_match_patch_uncompressed.js
/core/modules/utils/dom/csscolorparser.js
/plugins/tiddlywiki/*/files/

283
.eslintrc.yml Normal file
View File

@@ -0,0 +1,283 @@
env:
browser: true
commonjs: true
es2021: true
node: true
extends: 'eslint:recommended'
globals:
"$tw": "writable" # temporary
parserOptions:
ecmaVersion: 5
rules:
array-bracket-newline: 'off'
array-bracket-spacing: 'off'
array-callback-return: 'off'
array-element-newline: 'off'
arrow-body-style: error
arrow-parens:
- error
- as-needed
arrow-spacing:
- error
- after: true
before: true
block-scoped-var: 'off'
block-spacing: 'off'
brace-style: 'off'
callback-return: 'off'
camelcase: 'off'
capitalized-comments: 'off'
class-methods-use-this: error
comma-dangle: 'off'
comma-spacing: 'off'
comma-style: 'off'
complexity: 'off'
computed-property-spacing: 'off'
consistent-return: 'off'
consistent-this: 'off'
curly: 'off'
default-case: 'off'
default-case-last: error
default-param-last: error
dot-location: 'off'
dot-notation: 'off'
eol-last: 'off'
eqeqeq: 'off'
func-call-spacing: 'off'
func-name-matching: 'off'
func-names: 'off'
func-style: 'off'
function-call-argument-newline: 'off'
function-paren-newline: 'off'
generator-star-spacing: error
global-require: 'off'
grouped-accessor-pairs: error
guard-for-in: 'off'
handle-callback-err: 'off'
id-blacklist: error
id-denylist: error
id-length: 'off'
id-match: error
implicit-arrow-linebreak: error
indent: 'off'
indent-legacy: 'off'
init-declarations: 'off'
jsx-quotes: error
key-spacing: 'off'
keyword-spacing:
- error
- before: true
after: false
overrides:
'case':
after: true
'do':
'after': true
'else':
after: true
'return':
after: true
'throw':
after: true
'try':
after: true
line-comment-position: 'off'
linebreak-style: 'off'
lines-around-comment: 'off'
lines-around-directive: 'off'
lines-between-class-members: error
max-classes-per-file: error
max-depth: 'off'
max-len: 'off'
max-lines: 'off'
max-lines-per-function: 'off'
max-nested-callbacks: error
max-params: 'off'
max-statements: 'off'
max-statements-per-line: 'off'
multiline-comment-style: 'off'
multiline-ternary: 'off'
new-parens: 'off'
newline-after-var: 'off'
newline-before-return: 'off'
newline-per-chained-call: 'off'
no-alert: 'off'
no-array-constructor: 'off'
no-await-in-loop: error
no-bitwise: 'off'
no-buffer-constructor: 'off'
no-caller: error
no-catch-shadow: 'off'
no-confusing-arrow: error
no-console: 'off'
no-constant-condition:
- error
- checkLoops: false
no-constructor-return: error
no-continue: 'off'
no-div-regex: 'off'
no-duplicate-imports: error
no-else-return: 'off'
no-empty-function: 'off'
no-eq-null: 'off'
no-eval: 'off'
no-extend-native: 'off'
no-extra-bind: 'off'
no-extra-label: 'off'
no-extra-parens: 'off'
no-floating-decimal: 'off'
no-implicit-coercion:
- error
- boolean: false
number: false
string: false
no-implicit-globals: 'off'
no-implied-eval: error
no-inline-comments: 'off'
no-invalid-this: 'off'
no-iterator: error
no-label-var: 'off'
no-labels: 'off'
no-lone-blocks: 'off'
no-lonely-if: 'off'
no-loop-func: 'off'
no-loss-of-precision: error
no-magic-numbers: 'off'
no-mixed-operators: 'off'
no-mixed-requires: 'off'
no-multi-assign: 'off'
no-multi-spaces: 'off'
no-multi-str: error
no-multiple-empty-lines: 'off'
no-native-reassign: 'off'
no-negated-condition: 'off'
no-negated-in-lhs: error
no-nested-ternary: 'off'
no-new: 'off'
no-new-func: 'off'
no-new-object: 'off'
no-new-require: error
no-new-wrappers: error
no-octal-escape: error
no-param-reassign: 'off'
no-path-concat: error
no-plusplus: 'off'
no-process-env: 'off'
no-process-exit: 'off'
no-promise-executor-return: error
no-proto: 'off'
no-restricted-exports: error
no-restricted-globals: error
no-restricted-imports: error
no-restricted-modules: error
no-restricted-properties: error
no-restricted-syntax: error
no-return-assign: 'off'
no-return-await: error
no-script-url: 'off'
no-self-compare: 'off'
no-sequences: 'off'
no-shadow: 'off'
no-spaced-func: 'off'
no-sync: 'off'
no-tabs: 'off'
no-template-curly-in-string: error
no-ternary: 'off'
no-throw-literal: 'off'
no-trailing-spaces: 'off'
no-undef-init: 'off'
no-undefined: 'off'
no-underscore-dangle: 'off'
no-unmodified-loop-condition: 'off'
no-unneeded-ternary: 'off'
no-unreachable-loop: error
no-unused-expressions: 'off'
no-use-before-define: 'off'
no-useless-backreference: error
no-useless-call: 'off'
no-useless-computed-key: error
no-useless-concat: 'off'
no-useless-constructor: error
no-useless-rename: error
no-useless-return: 'off'
no-var: 'off'
no-void: 'off'
no-warning-comments: 'off'
no-whitespace-before-property: error
nonblock-statement-body-position:
- error
- any
object-curly-newline: 'off'
object-curly-spacing: 'off'
object-property-newline: 'off'
object-shorthand: 'off'
one-var: 'off'
one-var-declaration-per-line: 'off'
operator-assignment: 'off'
operator-linebreak: 'off'
padded-blocks: 'off'
padding-line-between-statements: error
prefer-arrow-callback: 'off'
prefer-const: 'off'
prefer-destructuring: 'off'
prefer-exponentiation-operator: 'off'
prefer-named-capture-group: 'off'
prefer-numeric-literals: error
prefer-object-spread: 'off'
prefer-promise-reject-errors: error
prefer-reflect: 'off'
prefer-regex-literals: 'off'
prefer-rest-params: 'off'
prefer-spread: 'off'
prefer-template: 'off'
quote-props: 'off'
quotes: 'off'
radix: 'off'
require-atomic-updates: error
require-await: error
require-jsdoc: 'off'
require-unicode-regexp: 'off'
rest-spread-spacing: error
semi: 'off'
semi-spacing: 'off'
semi-style: 'off'
sort-imports: error
sort-keys: 'off'
sort-vars: 'off'
space-before-blocks: 'off'
space-before-function-paren: 'off'
space-in-parens: 'off'
space-infix-ops: 'off'
space-unary-ops: 'off'
spaced-comment: 'off'
strict: 'off'
switch-colon-spacing: 'off'
symbol-description: error
template-curly-spacing: error
template-tag-spacing: error
unicode-bom:
- error
- never
valid-jsdoc: 'off'
valid-typeof:
- error
- requireStringLiterals: false
vars-on-top: 'off'
wrap-iife: 'off'
wrap-regex: 'off'
yield-star-spacing: error
yoda: 'off'
# temporary rules
no-useless-escape: 'off'
no-unused-vars: 'off'
no-empty: 'off'
no-extra-semi: 'off'
no-redeclare: 'off'
no-control-regex: "off"
no-mixed-spaces-and-tabs: "off"
no-extra-boolean-cast: "off"
no-prototype-builtins: "off"
no-undef: "off"
no-unreachable: "off"
no-self-assign: "off"

67
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,67 @@
name: Bug report
description: Create a report to help us improve TiddlyWiki 5
title: "[BUG] "
body:
- type: textarea
id: Describe
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: Expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: false
- type: textarea
id: Reproduce
attributes:
label: To Reproduce
description: "Steps to reproduce the behavior:"
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: false
- type: textarea
id: Screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
placeholder: Drag image here to upload screenshot!
validations:
required: false
- type: textarea
id: Configuration
attributes:
label: TiddlyWiki Configuration
description: please complete the following information
value: |
- Version [e.g. v5.1.24]
- Saving mechanism [e.g. Node.js, TiddlyDesktop, TiddlyHost etc]
- Plugins installed [e.g. Freelinks, TiddlyMap]
### Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
### Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
validations:
required: true
- type: textarea
id: Context
attributes:
label: Additional context
description: Add any other context about the problem here.

8
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Discuss feature request
url: https://github.com/Jermolene/TiddlyWiki5/discussions
about: Open new discussion about new feature
- name: Talk.Tiddlywiki Forum
url: https://talk.tiddlywiki.org
about: Join the Forum

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for TiddlyWiki 5
title: "[IDEA]"
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -0,0 +1,30 @@
---
name: Pull Request
about: Propose a change to TiddlyWiki 5
title: ""
labels: ''
assignees: ''
---
**Is your PR related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you are proposing**
A clear and concise description of the changes you are proposing. Include images to show visual changes.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
If you link to discussions elsewhere then please copy and paste the important text, and don't expect readers to scan the entire discussion to find the relevant part.
## Checklist before requesting a review
- [ ] Illustrate any visual changes (however minor) with before/after screenshots
- [ ] Self-review of code
- [ ] Documentation updates (for user-visible changes)
- [ ] Tests (for core code changes)
- [ ] Complies with coding style guidelines (for JavaScript code)

84
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,84 @@
on:
pull_request:
push:
branches:
- master
- tiddlywiki-com
env:
NODE_VERSION: "18"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "${{ env.NODE_VERSION }}"
- run: "./bin/ci-test.sh"
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
build-prerelease:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs: test
env:
TW5_BUILD_TIDDLYWIKI: "./tiddlywiki.js"
TW5_BUILD_MAIN_EDITION: "./editions/prerelease"
TW5_BUILD_OUTPUT: "./output/prerelease"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "${{ env.NODE_VERSION }}"
- run: "./bin/ci-pre-build.sh"
# There's another near-duplicate "Set dynamic environment variables" step in
# the `build-tiddlywiki-com` job.
# These _could_ be extracted as a script (or moved into `ci-pre-build.sh`) to do away with the
# duplication, but, the visibility that comes from having these in the workflow file seems
# valuable. Environment variables are global variables and setting them at the top-level
# makes sense.
# Time to reconsider this decision might be when this setup turns out to be mistake-prone.
- name: "Set dynamic environment variables"
run: |
TW5_BUILD_BRANCH=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
echo "TW5_BUILD_BRANCH=${TW5_BUILD_BRANCH}" >> $GITHUB_ENV
echo "TW5_BUILD_VERSION=$(./bin/get-plugin-library-version-number)" >> $GITHUB_ENV
echo "TW5_BUILD_DETAILS=Prerelease built from branch '$TW5_BUILD_BRANCH' at commit $(git rev-parse HEAD) of $(git remote get-url origin) at $(date +'%F %T %Z')" >> $GITHUB_ENV
- run: "./bin/build-site.sh"
- run: "./bin/ci-push.sh"
env:
GH_TOKEN: ${{ secrets.GITHUBPUSHTOKEN }}
build-tiddlywiki-com:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/tiddlywiki-com'
needs: test
env:
TW5_BUILD_TIDDLYWIKI: "./node_modules/tiddlywiki/tiddlywiki.js"
TW5_BUILD_MAIN_EDITION: "./editions/tw5.com"
TW5_BUILD_OUTPUT: "./output"
TW5_BUILD_ARCHIVE: "./output"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "${{ env.NODE_VERSION }}"
- run: "./bin/ci-pre-build.sh"
# When making a change here, don't forget to see if it also applies to the step
# with the same name in the `build-prerelease` job.
- name: "Set dynamic environment variables"
run: |
TW5_BUILD_BRANCH=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
echo "TW5_BUILD_BRANCH=${TW5_BUILD_BRANCH}" >> $GITHUB_ENV
echo "TW5_BUILD_VERSION=$(./bin/get-plugin-library-version-number)" >> $GITHUB_ENV
echo "TW5_BUILD_DETAILS=Built from branch '$TW5_BUILD_BRANCH' at commit $(git rev-parse HEAD) of $(git remote get-url origin) at $(date +'%F %T %Z')" >> $GITHUB_ENV
- run: "./bin/build-site.sh"
- run: "./bin/ci-push.sh"
env:
GH_TOKEN: ${{ secrets.GITHUBPUSHTOKEN }}
- run: "./bin/build-tw-org.sh"
env:
GH_TOKEN: ${{ secrets.GITHUBPUSHTOKEN }}

8
.gitignore vendored
View File

@@ -1,2 +1,10 @@
.DS_Store
.c9/
.vs/
.vscode/
tmp/
output/
node_modules/
/test-results/
/playwright-report/
/playwright/.cache/

8
.jshintignore Normal file
View File

@@ -0,0 +1,8 @@
plugins/tiddlywiki/browser-sniff/files
plugins/tiddlywiki/codemirror/files/
plugins/tiddlywiki/d3/files/
plugins/tiddlywiki/highlight/files/
plugins/tiddlywiki/jasmine/files/
plugins/tiddlywiki/markdown/files/
plugins/tiddlywiki/markdown/files/
node_modules/

5
.npmignore Normal file
View File

@@ -0,0 +1,5 @@
.DS_Store
.c9/
tmp/
output/
node_modules/

View File

@@ -1,32 +0,0 @@
@echo off
rem build TiddlyWiki 2.x
rem create a temporary directory if it doesn't already exist
setlocal enableextensions
mkdir tmp\tw2
setlocal disableextensions
rem Delete any existing content
del /q /s tmp\tw2
echo.
rem Prepare the readme file from the revelant content in the tw5.com wiki
node .\tiddlywiki.js ^
editions\tw5.com ^
--verbose ^
--rendertiddler TiddlyWiki2ReadMe editions\tw2\readme.md text/html ^
|| exit 1
rem cook the TiddlyWiki 2.x.x index file
node .\tiddlywiki.js ^
editions\tw2 ^
--verbose ^
--load editions\tw2\source\tiddlywiki.com\index.html.recipe ^
--rendertiddler $:/core/templates/tiddlywiki2.template.html .\tmp\tw2\index.html text/plain ^
|| exit 1
fc tmp\tw2\index.html editions\tw2\target\prebuilt.html

26
2bld.sh
View File

@@ -1,26 +0,0 @@
#!/bin/bash
# build TiddlyWiki 2.x
# create a temporary directory if it doesn't already exist
mkdir -p tmp
mkdir -p tmp/tw2
# Prepare the readme file from the revelant content in the tw5.com wiki
node ./tiddlywiki.js \
editions/tw5.com \
--verbose \
--rendertiddler TiddlyWiki2ReadMe editions/tw2/readme.md text/html \
|| exit 1
# cook the TiddlyWiki 2.x.x index file
node ./tiddlywiki.js \
editions/tw2 \
--verbose \
--load editions/tw2/source/tiddlywiki.com/index.html.recipe \
--rendertiddler $:/core/templates/tiddlywiki2.template.html ./tmp/tw2/index.html text/plain \
|| exit 1
diff -q tmp/tw2/index.html editions/tw2/target/prebuilt.html

487
bin/build-site.sh Executable file
View File

@@ -0,0 +1,487 @@
#!/bin/bash
# Build all tiddlywiki.com assets.
# Default to the current version number for building the plugin library
if [ -z "$TW5_BUILD_VERSION" ]; then
TW5_BUILD_VERSION=v5.3.2
fi
echo "Using TW5_BUILD_VERSION as [$TW5_BUILD_VERSION]"
# Default to using tw5.com as the main edition for /index.html
if [ -z "$TW5_BUILD_MAIN_EDITION" ]; then
TW5_BUILD_MAIN_EDITION=./editions/tw5.com
fi
echo "Using TW5_BUILD_MAIN_EDITION as [$TW5_BUILD_MAIN_EDITION]"
# Default to the version of TiddlyWiki installed in this repo
if [ -z "$TW5_BUILD_TIDDLYWIKI" ]; then
TW5_BUILD_TIDDLYWIKI=./tiddlywiki.js
fi
echo "Using TW5_BUILD_TIDDLYWIKI as [$TW5_BUILD_TIDDLYWIKI]"
# Set up the build details
if [ -z "$TW5_BUILD_DETAILS" ]; then
TW5_BUILD_DETAILS="$(git symbolic-ref --short HEAD)-$(git rev-parse HEAD) from $(git remote get-url origin)"
fi
echo "Using TW5_BUILD_DETAILS as [$TW5_BUILD_DETAILS]"
if [ -z "$TW5_BUILD_COMMIT" ]; then
TW5_BUILD_COMMIT="$(git rev-parse HEAD)"
fi
echo "Using TW5_BUILD_COMMIT as [$TW5_BUILD_COMMIT]"
# Set up the build output directory
if [ -z "$TW5_BUILD_OUTPUT" ]; then
TW5_BUILD_OUTPUT=./output
fi
mkdir -p $TW5_BUILD_OUTPUT
if [ ! -d "$TW5_BUILD_OUTPUT" ]; then
echo 'A valid TW5_BUILD_OUTPUT environment variable must be set'
exit 1
fi
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
echo "Build details: $TW5_BUILD_DETAILS"
# Make the CNAME file that GitHub Pages requires
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
# Delete any existing static content
mkdir -p $TW5_BUILD_OUTPUT/static
mkdir -p $TW5_BUILD_OUTPUT/dev
mkdir -p $TW5_BUILD_OUTPUT/dev/static
rm $TW5_BUILD_OUTPUT/static/*
rm $TW5_BUILD_OUTPUT/dev/static/*
# Redirects
echo "<a href='./plugins/tiddlywiki/tw2parser/index.html'>Moved to http://tiddlywiki.com/plugins/tiddlywiki/tw2parser/index.html</a>" > $TW5_BUILD_OUTPUT/classicparserdemo.html
echo "<a href='./plugins/tiddlywiki/codemirror/index.html'>Moved to http://tiddlywiki.com/plugins/tiddlywiki/codemirror/index.html</a>" > $TW5_BUILD_OUTPUT/codemirrordemo.html
echo "<a href='./plugins/tiddlywiki/d3/index.html'>Moved to http://tiddlywiki.com/plugins/tiddlywiki/d3/index.html</a>" > $TW5_BUILD_OUTPUT/d3demo.html
echo "<a href='./plugins/tiddlywiki/highlight/index.html'>Moved to http://tiddlywiki.com/plugins/tiddlywiki/highlight/index.html</a>" > $TW5_BUILD_OUTPUT/highlightdemo.html
echo "<a href='./plugins/tiddlywiki/markdown/index.html'>Moved to http://tiddlywiki.com/plugins/tiddlywiki/markdown/index.html</a>" > $TW5_BUILD_OUTPUT/markdowndemo.html
echo "<a href='./plugins/tiddlywiki/tahoelafs/index.html'>Moved to http://tiddlywiki.com/plugins/tiddlywiki/tahoelafs/index.html</a>" > $TW5_BUILD_OUTPUT/tahoelafs.html
# Put the build details into a .tid file so that it can be included in each build (deleted at the end of this script)
echo -e -n "title: $:/build\ncommit: $TW5_BUILD_COMMIT\n\n$TW5_BUILD_DETAILS\n" > $TW5_BUILD_OUTPUT/build.tid
######################################################
#
# Core distributions
#
######################################################
# Conditionally build archive if $TW5_BUILD_ARCHIVE variable is set, otherwise do nothing
#
# /archive/Empty-TiddlyWiki-<version>.html Empty archived version
# /archive/TiddlyWiki-<version>.html Full archived version
if [ -n "$TW5_BUILD_ARCHIVE" ]; then
node $TW5_BUILD_TIDDLYWIKI \
$TW5_BUILD_MAIN_EDITION \
--verbose \
--version \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_ARCHIVE \
--build archive \
|| exit 1
fi
# /index.html Main site
# /favicon.ico Favicon for main site
# /static.html Static rendering of default tiddlers
# /alltiddlers.html Static rendering of all tiddlers
# /static/* Static single tiddlers
# /static/static.css Static stylesheet
# /static/favicon.ico Favicon for static pages
node $TW5_BUILD_TIDDLYWIKI \
$TW5_BUILD_MAIN_EDITION \
--verbose \
--version \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--build favicon static index \
|| exit 1
# /empty.html Empty
# /empty.hta For Internet Explorer
# /empty-external-core.html External core empty
# /tiddlywikicore-<version>.js Core plugin javascript
node $TW5_BUILD_TIDDLYWIKI \
./editions/empty \
--verbose \
--output $TW5_BUILD_OUTPUT \
--build empty emptyexternalcore \
|| exit 1
# /test.html Test edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/test \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all test.html text/plain \
|| exit 1
# /dev/index.html Developer docs
# /dev/favicon.ico Favicon for dev site
# /dev/static.html Static rendering of default tiddlers
# /dev/alltiddlers.html Static rendering of all tiddlers
# /dev/static/* Static single tiddlers
# /dev/static/static.css Static stylesheet
node $TW5_BUILD_TIDDLYWIKI \
./editions/dev \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/dev \
--build index favicon static \
|| exit 1
# /share.html Custom edition for sharing via the URL
node $TW5_BUILD_TIDDLYWIKI \
./editions/share \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--build share \
|| exit 1
# /upgrade.html Custom edition for performing upgrades
node $TW5_BUILD_TIDDLYWIKI \
./editions/upgrade \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--build upgrade \
|| exit 1
# /encrypted.html Copy of the main file encrypted with the password "password"
node $TW5_BUILD_TIDDLYWIKI \
$TW5_BUILD_MAIN_EDITION \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--build encrypted \
|| exit 1
######################################################
#
# Editions
#
######################################################
# /editions/xlsx-utils/index.html xlsx-utils edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/xlsx-utils \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/editions/xlsx-utils/ \
--build index \
|| exit 1
# /editions/resumebuilder/index.html Resume builder edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/resumebuilder \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/editions/resumebuilder/ \
--build index \
|| exit 1
# /editions/text-slicer/index.html Text slicer edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/text-slicer \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/editions/text-slicer/ \
--build index \
|| exit 1
# /editions/translators/index.html Translators edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/translators \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/editions/translators/ \
--build index \
|| exit 1
# /editions/introduction/index.html Introduction edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/introduction \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/editions/introduction/ \
--build index \
|| exit 1
# /editions/full/index.html Full edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/full \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/editions/full/ \
--build index \
|| exit 1
# /editions/tw5.com-docs/index.html tiddlywiki.com docs edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/tw5.com-docs \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/editions/tw5.com-docs/ \
--build index \
|| exit 1
# /editions/twitter-archivist/index.html Twitter Archivist edition
node $TW5_BUILD_TIDDLYWIKI \
./editions/twitter-archivist \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/editions/twitter-archivist/ \
--build index \
|| exit 1
######################################################
#
# Plugin demos
#
######################################################
# /plugins/tiddlywiki/innerwiki/index.html Demo wiki with Innerwiki plugin
node $TW5_BUILD_TIDDLYWIKI \
./editions/innerwikidemo \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/innerwiki/index.html text/plain \
|| exit 1
# /plugins/tiddlywiki/dynaview/index.html Demo wiki with DynaView plugin
# /plugins/tiddlywiki/dynaview/empty.html Empty wiki with DynaView plugin
node $TW5_BUILD_TIDDLYWIKI \
./editions/dynaviewdemo \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/dynaview/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/dynaview/empty.html text/plain \
|| exit 1
# /plugins/tiddlywiki/katex/index.html Demo wiki with KaTeX plugin
# /plugins/tiddlywiki/katex/empty.html Empty wiki with KaTeX plugin
# TODO: Build the static file with the release of 5.1.3
# --rendertiddler $:/core/templates/static.template.html plugins/tiddlywiki/katex/static.html text/plain \
node $TW5_BUILD_TIDDLYWIKI \
./editions/katexdemo \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/katex/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/katex/empty.html text/plain \
|| exit 1
# /plugins/tiddlywiki/tahoelafs/index.html Demo wiki with Tahoe-LAFS plugin
# /plugins/tiddlywiki/tahoelafs/empty.html Empty wiki with Tahoe-LAFS plugin
node $TW5_BUILD_TIDDLYWIKI \
./editions/tahoelafs \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/tahoelafs/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/tahoelafs/empty.html text/plain \
|| exit 1
# /plugins/tiddlywiki/d3/index.html Demo wiki with D3 plugin
# /plugins/tiddlywiki/d3/empty.html Empty wiki with D3 plugin
node $TW5_BUILD_TIDDLYWIKI \
./editions/d3demo \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/d3/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/d3/empty.html text/plain \
|| exit 1
# /plugins/tiddlywiki/codemirror/index.html Demo wiki with codemirror plugin
# /plugins/tiddlywiki/codemirror/empty.html Empty wiki with codemirror plugin
node $TW5_BUILD_TIDDLYWIKI \
./editions/codemirrordemo \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/codemirror/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/codemirror/empty.html text/plain \
|| exit 1
# /plugins/tiddlywiki/markdown/index.html Demo wiki with Markdown plugin
# /plugins/tiddlywiki/markdown/empty.html Empty wiki with Markdown plugin
node $TW5_BUILD_TIDDLYWIKI \
./editions/markdowndemo \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/markdown/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/markdown/empty.html text/plain \
|| exit 1
# /plugins/tiddlywiki/tw2parser/index.html Demo wiki with tw2parser plugin
# /plugins/tiddlywiki/tw2parser/empty.html Empty wiki with tw2parser plugin
node $TW5_BUILD_TIDDLYWIKI \
./editions/classicparserdemo \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/tw2parser/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/tw2parser/empty.html text/plain \
|| exit 1
# /plugins/tiddlywiki/highlight/index.html Demo wiki with highlight plugin
# /plugins/tiddlywiki/highlight/empty.html Empty wiki with highlight plugin
node $TW5_BUILD_TIDDLYWIKI \
./editions/highlightdemo \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/highlight/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/highlight/empty.html text/plain \
|| exit 1
######################################################
#
# Language editions
#
######################################################
# Delete any existing static content
rm -rf $TW5_BUILD_OUTPUT/languages/de-AT/static/*
rm -rf $TW5_BUILD_OUTPUT/languages/de-DE/static/*
rm -rf $TW5_BUILD_OUTPUT/languages/es-ES/static/*
rm -rf $TW5_BUILD_OUTPUT/languages/fr-FR/static/*
rm -rf $TW5_BUILD_OUTPUT/languages/ja-JP/static/*
rm -rf $TW5_BUILD_OUTPUT/languages/ko-KR/static/*
rm -rf $TW5_BUILD_OUTPUT/languages/zh-Hans/static/*
rm -rf $TW5_BUILD_OUTPUT/languages/zh-Hant/static/*
# /languages/de-AT/index.html Demo wiki with de-AT language
# /languages/de-AT/empty.html Empty wiki with de-AT language
node $TW5_BUILD_TIDDLYWIKI \
./editions/de-AT \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/languages/de-AT \
--build favicon empty static index \
|| exit 1
# /languages/de-DE/index.html Demo wiki with de-DE language
# /languages/de-DE/empty.html Empty wiki with de-DE language
node $TW5_BUILD_TIDDLYWIKI \
./editions/de-DE \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/languages/de-DE \
--build favicon empty static index \
|| exit 1
# /languages/es-ES/index.html Demo wiki with es-ES language
# /languages/es-ES/empty.html Empty wiki with es-ES language
node $TW5_BUILD_TIDDLYWIKI \
./editions/es-ES \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/languages/es-ES \
--build favicon empty static index \
|| exit 1
# /languages/fr-FR/index.html Demo wiki with fr-FR language
# /languages/fr-FR/empty.html Empty wiki with fr-FR language
node $TW5_BUILD_TIDDLYWIKI \
./editions/fr-FR \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/languages/fr-FR \
--build favicon empty static index \
|| exit 1
# /languages/ja-JP/index.html Demo wiki with ja-JP language
# /languages/ja-JP/empty.html Empty wiki with ja-JP language
node $TW5_BUILD_TIDDLYWIKI \
./editions/ja-JP \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/languages/ja-JP \
--build empty index \
|| exit 1
# /languages/ko-KR/index.html Demo wiki with ko-KR language
# /languages/ko-KR/empty.html Empty wiki with ko-KR language
node $TW5_BUILD_TIDDLYWIKI \
./editions/ko-KR \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/languages/ko-KR \
--build favicon empty static index \
|| exit 1
# /languages/zh-Hans/index.html Demo wiki with zh-Hans language
# /languages/zh-Hans/empty.html Empty wiki with zh-Hans language
node $TW5_BUILD_TIDDLYWIKI \
./editions/zh-Hans \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/languages/zh-Hans \
--build empty index \
|| exit 1
# /languages/zh-Hant/index.html Demo wiki with zh-Hant language
# /languages/zh-Hant/empty.html Empty wiki with zh-Hant language
node $TW5_BUILD_TIDDLYWIKI \
./editions/zh-Hant \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/languages/zh-Hant \
--build empty index \
|| exit 1
######################################################
#
# Plugin library
#
######################################################
node $TW5_BUILD_TIDDLYWIKI \
./editions/pluginlibrary \
--verbose \
--load $TW5_BUILD_OUTPUT/build.tid \
--output $TW5_BUILD_OUTPUT/library/$TW5_BUILD_VERSION \
--build library\
|| exit 1
# Delete the temporary build tiddler
rm $TW5_BUILD_OUTPUT/build.tid || exit 1

97
bin/build-tw-org.sh Executable file
View File

@@ -0,0 +1,97 @@
#!/bin/bash
# Build tiddlywiki.org assets.
# Default to the version of TiddlyWiki installed in this repo
if [ -z "$TWORG_BUILD_TIDDLYWIKI" ]; then
TWORG_BUILD_TIDDLYWIKI=./tiddlywiki.js
fi
echo "Using TWORG_BUILD_TIDDLYWIKI as [$TWORG_BUILD_TIDDLYWIKI]"
# Set up the build details
if [ -z "$TWORG_BUILD_DETAILS" ]; then
TWORG_BUILD_DETAILS="$(git symbolic-ref --short HEAD)-$(git rev-parse HEAD) from $(git remote get-url origin)"
fi
echo "Using TWORG_BUILD_DETAILS as [$TWORG_BUILD_DETAILS]"
if [ -z "$TWORG_BUILD_COMMIT" ]; then
TWORG_BUILD_COMMIT="$(git rev-parse HEAD)"
fi
echo "Using TWORG_BUILD_COMMIT as [$TWORG_BUILD_COMMIT]"
# Set up the build output directory
if [ -z "$TWORG_BUILD_OUTPUT" ]; then
TWORG_BUILD_OUTPUT=$(mktemp -d)
fi
mkdir -p $TWORG_BUILD_OUTPUT
if [ ! -d "$TWORG_BUILD_OUTPUT" ]; then
echo 'A valid TWORG_BUILD_OUTPUT environment variable must be set'
exit 1
fi
echo "Using TWORG_BUILD_OUTPUT as [$TWORG_BUILD_OUTPUT]"
# Pull existing GitHub pages content
git clone --depth=1 --branch=main "https://github.com/TiddlyWiki/tiddlywiki.org-gh-pages.git" $TWORG_BUILD_OUTPUT
# Make the CNAME file that GitHub Pages requires
echo "tiddlywiki.org" > $TWORG_BUILD_OUTPUT/CNAME
# Delete any existing static content
mkdir -p $TWORG_BUILD_OUTPUT/static
rm $TWORG_BUILD_OUTPUT/static/*
# Put the build details into a .tid file so that it can be included in each build (deleted at the end of this script)
echo -e -n "title: $:/build\ncommit: $TWORG_BUILD_COMMIT\n\n$TWORG_BUILD_DETAILS\n" > $TWORG_BUILD_OUTPUT/build.tid
######################################################
#
# tiddlywiki.org distribution
#
######################################################
# /index.html Main site
# /favicon.ico Favicon for main site
# /static.html Static rendering of default tiddlers
# /alltiddlers.html Static rendering of all tiddlers
# /static/* Static single tiddlers
# /static/static.css Static stylesheet
# /static/favicon.ico Favicon for static pages
node $TWORG_BUILD_TIDDLYWIKI \
editions/tw.org \
--verbose \
--version \
--load $TWORG_BUILD_OUTPUT/build.tid \
--output $TWORG_BUILD_OUTPUT \
--build favicon static index \
|| exit 1
# Delete the temporary build tiddler
rm $TWORG_BUILD_OUTPUT/build.tid || exit 1
# Push output back to GitHub
# Exit script immediately if any command fails
set -e
pushd $TWORG_BUILD_OUTPUT
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add -A .
git commit --message "GitHub build: $GITHUB_RUN_NUMBER of $TW5_BUILD_BRANCH ($(date +'%F %T %Z'))"
git remote add deploy "https://$GH_TOKEN@github.com/TiddlyWiki/tiddlywiki.org-gh-pages.git" &>/dev/null
git push deploy main &>/dev/null
popd

10
bin/ci-pre-build.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Install latest current release from npm
# (we need to force because otherwise npm will refuse to install a module of the same name)
npm --force install tiddlywiki || exit 1
# Pull existing GitHub pages content
git clone --depth=1 --branch=master "https://github.com/Jermolene/jermolene.github.io.git" output

15
bin/ci-push.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Push output back to GitHub
# Exit script immediately if any command fails
set -e
cd output
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add -A .
git commit --message "GitHub build: $GITHUB_RUN_NUMBER of $TW5_BUILD_BRANCH ($(date +'%F %T %Z'))"
git remote add deploy "https://$GH_TOKEN@github.com/Jermolene/jermolene.github.io.git" &>/dev/null
git push deploy master &>/dev/null
cd ..

16
bin/ci-test.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
# test TiddlyWiki5 for tiddlywiki.com
node ./tiddlywiki.js \
./editions/test \
--verbose \
--version \
--rendertiddler $:/core/save/all test.html text/plain \
--test \
|| exit 1
npm install playwright @playwright/test
npx playwright install chromium firefox --with-deps
npx playwright test

5
bin/clean.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
# Remove any output files
find . -regex "^./editions/.*/output/.*" -delete

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env node
// Extract raw version number from package.json (without the optional "-prerelease" suffix)
if(!process.env["TW5_BUILD_TIDDLYWIKI"]) {
throw "TW5_BUILD_TIDDLYWIKI environment variable not set";
}
var fs = require("fs"),
path = require("path");
var filename = path.resolve(path.dirname(process.env["TW5_BUILD_TIDDLYWIKI"]),"./package.json"),
json = JSON.parse(fs.readFileSync(filename,"utf8"));
if(!json.version) {
throw "Missing version number in package.json";
}
process.stdout.write("v" + json.version.split("-")[0]);

12
bin/ginsu.cmd Normal file
View File

@@ -0,0 +1,12 @@
@echo off
rem Split the tiddlers out of a TiddlyWiki file
node .\tiddlywiki.js ^
.\editions\empty ^
--verbose ^
--load %1 ^
--output tmp ^
--rendertiddlers [!is[system]] $:/core/templates/tid-tiddler ginsu text/plain .tid ^
--rendertiddler $:/core/templates/split-recipe ginsu\split.recipe text/plain ^
|| exit 1

12
bin/ginsu.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Split the tiddlers out of a TiddlyWiki file
node ./tiddlywiki.js \
./editions/empty \
--verbose \
--load $1 \
--output tmp \
--rendertiddlers [!is[system]] $:/core/templates/tid-tiddler ginsu text/plain .tid \
--rendertiddler $:/core/templates/split-recipe ginsu/split.recipe text/plain \
|| exit 1

View File

@@ -5,7 +5,7 @@ rem serve TiddlyWiki5 over HTTP with lazily loaded images
rem Optional parameter is the username for signing edits
node .\tiddlywiki.js ^
editions\clientserver ^
editions\server ^
--verbose ^
--server 8080 $:/core/save/lazy-images text/plain text/html %1 %2^
|| exit 1

View File

@@ -5,7 +5,7 @@
# Optional parameter is the username for signing edits
node ./tiddlywiki.js \
editions/clientserver \
editions/tw5.com-server \
--verbose \
--server 8080 $:/core/save/lazy-images text/plain text/html $1 $2\
|| exit 1

7
bin/npm-publish.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
# publish to npm
./bin/clean.sh
npm publish || exit 1

79
bin/optimise-svgs.js Executable file
View File

@@ -0,0 +1,79 @@
#!/usr/bin/env node
/*
Optimise the SVGs in ./core/images using SVGO from https://github.com/svg/svgo
Install SVGO with the following command in the root of the repo:
npm install svgo@2.3.0
*/
"use strict";
var fs = require("fs"),
path = require("path"),
{ optimize } = require("svgo"),
config = {
plugins: [
'cleanupAttrs',
'removeDoctype',
'removeXMLProcInst',
'removeComments',
'removeMetadata',
'removeTitle',
'removeDesc',
'removeUselessDefs',
'removeEditorsNSData',
'removeEmptyAttrs',
'removeHiddenElems',
'removeEmptyText',
'removeEmptyContainers',
// 'removeViewBox',
'cleanupEnableBackground',
'convertStyleToAttrs',
'convertColors',
'convertPathData',
'convertTransform',
'removeUnknownsAndDefaults',
'removeNonInheritableGroupAttrs',
'removeUselessStrokeAndFill',
'removeUnusedNS',
'cleanupIDs',
'cleanupNumericValues',
'moveElemsAttrsToGroup',
'moveGroupAttrsToElems',
'collapseGroups',
// 'removeRasterImages',
'mergePaths',
'convertShapeToPath',
'sortAttrs',
//'removeDimensions',
{name: 'removeAttrs', params: { attrs: '(stroke|fill)' } }
]
};
var basepath = "./core/images/",
files = fs.readdirSync(basepath).sort();
files.forEach(function(filename) {
if(filename.slice(-4) === ".tid") {
var filepath = path.resolve(basepath,filename),
data = fs.readFileSync(filepath,"utf8"),
lines = data.split("\n"),
blankLine = lines.indexOf(""),
header = lines.slice(0,blankLine),
body = lines.slice(blankLine + 1),
fakeSVG = body.join("\n");
// A hack to make the new-journal-button work
fakeSVG = fakeSVG.replace("<<now \"DD\">>","&lt;&lt;now &quot;DD&quot;&gt;&gt;");
config.path = filepath;
var result = optimize(fakeSVG,config);
if(result) {
var newSVG = header.join("\n") + "\n\n" + result.data.replace("&lt;&lt;now &quot;DD&quot;&gt;&gt;","<<now \"DD\">>");
fs.writeFileSync(filepath,newSVG);
} else {
console.log("Error " + err + " with " + filename)
process.exit();
};
}
});

8
bin/quick-bld.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Abbreviated build script for building prerelease
tiddlywiki editions/prerelease \
--verbose \
--build favicon index empty \
|| exit 1

17
bin/readme-bld.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Build readmes from corresponding tiddlers
# Default to the version of TiddlyWiki installed in this repo
if [ -z "$TW5_BUILD_TIDDLYWIKI" ]; then
TW5_BUILD_TIDDLYWIKI=./tiddlywiki.js
fi
# tw5.com readmes
node $TW5_BUILD_TIDDLYWIKI \
editions/tw5.com \
--verbose \
--output . \
--build readmes \
|| exit 1

4
bin/readme.md Normal file
View File

@@ -0,0 +1,4 @@
<h1 class="">Script Files</h1><p>The <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki5.html">TiddlyWiki5</a> repository contains several scripts in the <code>bin</code> folder that you can use to automate common tasks, or as a useful starting point for your own scripts. See <a class="tc-tiddlylink tc-tiddlylink-missing" href="https://tiddlywiki.com/static/Scripts%2520for%2520building%2520tiddlywiki.com.html">Scripts for building tiddlywiki.com</a> for details of the scripts used to build and release <a class="tc-tiddlylink-external" href="https://tiddlywiki.com/" rel="noopener noreferrer" target="_blank">https://tiddlywiki.com/</a>.</p><p>All the scripts expect to be run from the root folder of the repository.</p><h2 class=""><code>serve</code>: serves tw5.com</h2><pre><code>./bin/serve.sh -h
./bin/serve.sh [edition dir] [username] [password] [host] [port]</code></pre><p>Or:</p><pre><code>./bin/serve.cmd -h
./bin/serve.cmd [edition dir] [username] [password] [host] [port]</code></pre><p>This script starts <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki5.html">TiddlyWiki5</a> running as an HTTP server, defaulting to the content from the <code>tw5.com-server</code> edition. By default, the Node.js serves on port 8080. If the optional <code>username</code> parameter is provided, it is used for signing edits. If the <code>password</code> is provided then HTTP basic authentication is used. Run the script with the <code>-h</code> parameter to see online help.</p><p>To experiment with this configuration, run the script and then visit <code>http://127.0.0.1:8080</code> in a browser.</p><p>Changes made in the browser propagate to the server over HTTP (use the browser developer console to see these requests). The server then syncs changes to the file system (and logs each change to the screen).</p><h2 class=""><code>test</code>: build and run tests</h2><p>This script runs the <code>test</code> edition of <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> on the server to perform the server-side tests and to build <code>test.html</code> for running the tests in the browser.</p><h2 class=""><code>lazy</code>: serves tw5.com with lazily loaded images</h2><pre><code>./bin/lazy.sh &lt;username&gt; [&lt;password&gt;]</code></pre><p>Or:</p><pre><code>./bin/lazy.cmd &lt;username&gt; [&lt;password&gt;]</code></pre><p>This script serves the <code>tw5.com-server</code> edition content with <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/LazyLoading.html">LazyLoading</a> applied to images.
</p>

95
bin/serve.cmd Normal file
View File

@@ -0,0 +1,95 @@
:: This script allows you to serve different TiddlyWiki editions.
::
:: It respects a TW_SERVE_EDITION_PATH environment variable.
:: If this variable is set it will be used. A command line parameter will overwrite it.
::
:: Ensure your server tiddlywiki.info configuration contains
:: these plugins, otherwise saving is not possible:
:: - "tiddlywiki/tiddlyweb"
:: - "tiddlywiki/filesystem"
@echo off
echo.
:: Help Wanted!!
:: If you know how to improve -help and -version handling let us know
if "%1" == "--help" call :help
if "%1" == "-h" call :help
if "%1" == "--version" call :version
if "%1" == "-v" call :version
if "%1" == "help" (
call :help
) else (
call :main %1 %2 %3 %4 %5
)
exit 0
:version
echo TiddlyWiki serve.cmd script version 0.0.2"
echo.
exit 0
goto:eof
:help
echo Serve TiddlyWiki over HTTP
echo.
echo Optional parameters
echo - %%1 .. edition directory .. full or relative path to edition directory
echo - %%2 .. username .. for signing edits - can be empty like this: '""'
echo - %%3 .. password .. can be empty like this: '""'
echo - %%4 .. IP address or HOST .. defaults to localhost
echo - %%5 .. PORT .. defaults to 8080
echo.
echo Example 1 .\serve .\editions\tw5.com-server username
echo Example 2 .\serve .\editions\tw5.com-server '""' '""' localhost 9090
echo .. Example 2 defines: empty username, empty password
echo.
echo Help information
echo -v, --version .. shows the script version
echo -h, --help, help .. shows this help information
echo.
exit 0
goto:eof
:main
if [%1] NEQ [] (
:: if there is a editions parameter .. use it.
set TW_SERVE_EDITION_PATH=%1
) else (
if [%TW_SERVE_EDITION_PATH%] == [] (
echo Please provide an edition path as your first parameter or
echo define a valid TW_SERVE_EDITION_PATH environment variable.
echo.
echo Using default edition path 'editions\tw5.com-server' because no environment variable is set
echo.
set TW_SERVE_EDITION_PATH= editions\tw5.com-server
)
)
:: The editions path must exist!
if not exist %TW_SERVE_EDITION_PATH%\nul (
echo The Path: "%TW_SERVE_EDITION_PATH%" does not exist
exit 1
)
if [%5] == [] (
echo Using default port 8080
set PORT=8080
) else (
echo Using port %5
set PORT=%5
)
echo Using edition: %TW_SERVE_EDITION_PATH%
echo.
node .\tiddlywiki.js ^
%TW_SERVE_EDITION_PATH% ^
--verbose ^
--server %PORT% $:/core/save/all text/plain text/html %2 %3 %4^
|| exit 1
goto:eof

124
bin/serve.sh Executable file
View File

@@ -0,0 +1,124 @@
#!/bin/bash
#
# This script allows you to serve different TiddlyWiki editions.
#
# It respects a TW_SERVE_EDITION_PATH environment variable.
# If this variable is set it will be used. A command line parameter will overwrite it.
#
# Ensure your server tiddlywiki.info configuration contains
# these plugins, otherwise saving is not possible:
# - "tiddlywiki/tiddlyweb"
# - "tiddlywiki/filesystem"
# Global settings
# set -o nounset #exit if a variable is not set
set -o errexit #exit on error
# Get command name and path info needed for help text
ARG0=$(basename $0)
#ARG0DIR=$(dirname $0)
#[ $ARG0DIR == "." ] && ARG0DIR=$PWD
# ---- helper functions ----
version () {
echo "$ARG0, TiddlyWiki serve script version 0.0.2"
echo
}
usage() {
version
echo Usage:$'\t'$ARG0 [edition dir] [username] [password] [host] [port]
echo
}
help() {
usage
echo Optional parameters
echo
echo $'\t'\$1 .. edition directory .. full or relative path to edition directory
echo $'\t'\$2 .. username for signing edits - can be empty like this: \"\"
echo $'\t'\$3 .. password - can be empty like this: \"\"
echo $'\t'\$4 .. IP address or HOST name .. defaults to: localhost
echo $'\t'\$5 .. PORT .. defaults to: 8080
echo
echo $'\t'-v .. Version
echo $'\t'-h .. Help
echo
echo Example 1 ./serve ./editions/tw5.com-server username
echo Example 2 ./serve ./editions/tw5.com-server \"\" \"\" localhost 9090
echo .. Example 2 defines: empty username, empty password
echo
}
_log () {
echo
echo "---> $1"
}
# error handling for wrong parameters
error() {
echo "$ARG0: $*" 1>&2
exit 1
}
# start the server
serve () {
#echo 1:$1 2:$2 3:$3 4:$4 5:$5
node ./tiddlywiki.js \
"$1" \
--verbose \
--server "$5" $:/core/save/all text/plain text/html "$2" "$3" "$4" \
|| exit 1
}
check_edition_directory () {
# The editions directory must exist and should contain a tiddlywiki.info file
if [ ! -d $TW_SERVE_EDITION_PATH ]; then
_log "Edition directory: '$TW_SERVE_EDITION_PATH' does not exist"
exit 1
fi
}
# --------------------------------------------------
# command line parameter handler
while getopts vh flag
do
case "$flag" in
(h) help; exit 0;;
(v) version; exit 0;;
(*) help
error
exit 1;;
esac
done
shift $(expr $OPTIND - 1)
#----------------------------------------------------
# If no edition parameter is provided, use Jeremy's defaults
if [ $# -eq 0 ]; then
# check if the edition path environment variable is set. If yes use it.
[ -z $TW_SERVE_EDITION_PATH ] && TW_SERVE_EDITION_PATH="./editions/tw5.com-server"
# directory must exist
check_edition_directory
# serve the default settings.
serve "$TW_SERVE_EDITION_PATH" "" "" localhost 8080
else
if [ -z "$5" ]; then
PORT=8080
else
PORT=$5
fi
# If the 1st parameter (edition) is set, it has priority.
TW_SERVE_EDITION_PATH=$1
# directory must exist
check_edition_directory
serve "$TW_SERVE_EDITION_PATH" "$2" "$3" "$4" $PORT
fi

View File

@@ -4,16 +4,13 @@ rem build the Tank edition of TiddlyWiki
rem See https://tank.peermore.com
rem Create the tmp directory if needed
mkdir tmp
rem Open the tank edition in TW5 and save the template for the main HTML file
node .\tiddlywiki.js ^
editions\tw5tank ^
--verbose ^
--rendertiddler $:/core/save/all tmp\app.html text/plain ^
--output tmp ^
--rendertiddler $:/core/save/all app.html text/plain ^
|| exit 1
rem Prepend the type information that TiddlyWeb needs to turn the .html file into a .tid file

View File

@@ -4,16 +4,13 @@
# See https://tank.peermore.com
# Create the tmp directory if needed
mkdir -p tmp
# Open the tank edition in TW5 and save the template for the main HTML file
node ./tiddlywiki.js \
editions/tw5tank \
--verbose \
--rendertiddler $:/core/save/all tmp/app.html text/plain \
--output tmp \
--rendertiddler $:/core/save/all app.html text/plain \
|| exit 1
# Prepend the type information that TiddlyWeb needs to turn the .html file into a .tid file

11
bin/test.cmd Normal file
View File

@@ -0,0 +1,11 @@
@echo off
rem test TiddlyWiki5 for tiddlywiki.com
rem Run the test edition to run the node.js tests and to generate test.html for tests in the browser
node .\tiddlywiki.js ^
.\editions\test ^
--verbose ^
--rendertiddler $:/core/save/all test.html text/plain ^
|| exit 1

15
bin/test.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# test TiddlyWiki5 for tiddlywiki.com
# Run the test edition to run the node.js tests and to generate test.html for tests in the browser
node ./tiddlywiki.js \
./editions/test \
--verbose \
--version \
--rendertiddler $:/core/save/all test.html text/plain \
--test \
|| exit 1
echo To run the tests in a browser, open "editions/test/output/test.html"

View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Process translation updates made via the translators edition
# ./bin/update-translation-from-html-file.sh <language-code> <path-to-html-file>
# Assign and check parameters
LANGUAGE_CODE=$1
HTML_FILE_PATH=$2
if [ -z "$LANGUAGE_CODE" ]; then
echo "Missing parameter: language code"
exit 1
fi
if [ -z "$HTML_FILE_PATH" ]; then
echo "Missing parameter: path to HTML file"
exit 1
fi
./tiddlywiki.js editions/translators/ --verbose --unpackplugin $:/languages/$LANGUAGE_CODE --load $HTML_FILE_PATH --build output-files || exit 1
cp -R ./editions/translators/output/language/. ./languages/$LANGUAGE_CODE/ || exit 1

View File

@@ -4,7 +4,7 @@
if [ -z "$1" ]
then
echo "Missing version (eg '5.0.0-alpha')"
echo "Missing version (eg '5.1.38-prerelease')"
exit 1
fi

View File

@@ -1,52 +0,0 @@
#!/bin/bash
# Abbreviated version of bld.sh for quicker builds
# Set up the build output directory
if [ -z "$TW5_BUILD_OUTPUT" ]; then
TW5_BUILD_OUTPUT=../jermolene.github.com
fi
if [ ! -d "$TW5_BUILD_OUTPUT" ]; then
echo 'A valid TW5_BUILD_OUTPUT environment variable must be set'
exit 1
fi
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
# Make the CNAME file that GitHub Pages requires
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
# The tw5.com wiki
# index.html: the main file, including content
node ./tiddlywiki.js \
./editions/de-AT-DE \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/de-AT-DE.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/zh-Hant \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/zh-Hant.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/zh-Hans \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/zh-Hans.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
|| exit 1
node ./tiddlywiki.js \
./editions/fr-FR \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/fr-FR.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
|| exit 1

107
bld.cmd
View File

@@ -1,107 +0,0 @@
@echo off
rem build TiddlyWiki5 for tiddlywiki.com
rem Set up the build output directory
if "x%TW5_BUILD_OUTPUT%" == "x" (
set TW5_BUILD_OUTPUT=..\jermolene.github.com
)
if not exist %TW5_BUILD_OUTPUT%\nul (
echo A valid TW5_BUILD_OUTPUT environment variable must be set
exit 1
)
echo Using TW5_BUILD_OUTPUT as %TW5_BUILD_OUTPUT%
echo.
rem Create the `static` directories if necessary
setlocal enableextensions
mkdir %TW5_BUILD_OUTPUT%\static
setlocal disableextensions
rem Delete any existing content
del /q /s %TW5_BUILD_OUTPUT%\static
rem The tw5.com wiki
rem index.html: the main file, including content
rem empty.html: the main file, excluding content
rem static.html: the static version of the default tiddlers
node .\tiddlywiki.js ^
.\editions\tw5.com ^
--verbose ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\index.html text/plain ^
--savetiddler $:/favicon.ico %TW5_BUILD_OUTPUT%\favicon.ico ^
--rendertiddler ReadMe .\readme.md text/html ^
--rendertiddler ContributingTemplate .\contributing.md text/html ^
--rendertiddler $:/core/copyright.txt .\licenses\copyright.md text/plain ^
--rendertiddler $:/editions/tw5.com/download-empty %TW5_BUILD_OUTPUT%\empty.html text/plain ^
--rendertiddler $:/editions/tw5.com/download-empty %TW5_BUILD_OUTPUT%\empty.hta text/plain ^
--savetiddler $:/green_favicon.ico %TW5_BUILD_OUTPUT%/static/favicon.ico ^
--rendertiddler $:/core/templates/static.template.html %TW5_BUILD_OUTPUT%\static.html text/plain ^
--rendertiddler $:/core/templates/alltiddlers.template.html %TW5_BUILD_OUTPUT%\alltiddlers.html text/plain ^
--rendertiddler $:/core/templates/static.template.css %TW5_BUILD_OUTPUT%\static\static.css text/plain ^
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html %TW5_BUILD_OUTPUT%\static text/plain ^
|| exit 1
rem encrypted.html: a version of the main file encrypted with the password "password"
node .\tiddlywiki.js ^
.\editions\tw5.com ^
--verbose ^
--password password ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\encrypted.html text/plain ^
|| exit 1
rem tahoelafs.html: empty wiki with plugin for Tahoe-LAFS
node .\tiddlywiki.js ^
.\editions\tahoelafs ^
--verbose ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\tahoelafs.html text/plain ^
|| exit 1
rem d3demo.html: wiki to demo d3 plugin
node .\tiddlywiki.js ^
.\editions\d3demo ^
--verbose ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\d3demo.html text/plain ^
|| exit 1
rem codemirrordemo.html: wiki to demo codemirror plugin
node .\tiddlywiki.js ^
.\editions\codemirrordemo ^
--verbose ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\codemirrordemo.html text/plain ^
|| exit 1
rem markdowndemo.html: wiki to demo markdown plugin
node .\tiddlywiki.js ^
.\editions\markdowndemo ^
--verbose ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\markdowndemo.html text/plain ^
|| exit 1
rem highlightdemo.html: wiki to demo highlight plugin
node .\tiddlywiki.js ^
.\editions\highlightdemo ^
--verbose ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\highlightdemo.html text/plain ^
|| exit 1
rem Make the CNAME file that GitHub Pages requires
echo tiddlywiki.com > %TW5_BUILD_OUTPUT%\CNAME
rem Run the test edition to run the Node.js tests and to generate test.html for tests in the browser
.\test.cmd

103
bld.sh
View File

@@ -1,103 +0,0 @@
#!/bin/bash
# build TiddlyWiki5 for tiddlywiki.com
# Set up the build output directory
if [ -z "$TW5_BUILD_OUTPUT" ]; then
TW5_BUILD_OUTPUT=../jermolene.github.com
fi
if [ ! -d "$TW5_BUILD_OUTPUT" ]; then
echo 'A valid TW5_BUILD_OUTPUT environment variable must be set'
exit 1
fi
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
# Make the CNAME file that GitHub Pages requires
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
# Create the `static` directories if necessary
mkdir -p $TW5_BUILD_OUTPUT/static
# Delete any existing content
rm $TW5_BUILD_OUTPUT/static/*
# The tw5.com wiki
# index.html: the main file, including content
# empty.html: the main file, excluding content
# static.html: the static version of the default tiddlers
node ./tiddlywiki.js \
./editions/tw5.com \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/index.html text/plain \
--savetiddler $:/favicon.ico $TW5_BUILD_OUTPUT/favicon.ico \
--rendertiddler ReadMe ./readme.md text/html \
--rendertiddler ContributingTemplate ./contributing.md text/html \
--rendertiddler $:/core/copyright.txt ./licenses/copyright.md text/plain \
--rendertiddler $:/editions/tw5.com/download-empty $TW5_BUILD_OUTPUT/empty.html text/plain \
--rendertiddler $:/editions/tw5.com/download-empty $TW5_BUILD_OUTPUT/empty.hta text/plain \
--savetiddler $:/green_favicon.ico $TW5_BUILD_OUTPUT/static/favicon.ico \
--rendertiddler $:/core/templates/static.template.html $TW5_BUILD_OUTPUT/static.html text/plain \
--rendertiddler $:/core/templates/alltiddlers.template.html $TW5_BUILD_OUTPUT/alltiddlers.html text/plain \
--rendertiddler $:/core/templates/static.template.css $TW5_BUILD_OUTPUT/static/static.css text/plain \
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html $TW5_BUILD_OUTPUT/static text/plain \
|| exit 1
# encrypted.html: a version of the main file encrypted with the password "password"
node ./tiddlywiki.js \
./editions/tw5.com \
--verbose \
--password password \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/encrypted.html text/plain \
|| exit 1
# tahoelafs.html: empty wiki with plugin for Tahoe-LAFS
node ./tiddlywiki.js \
./editions/tahoelafs \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/tahoelafs.html text/plain \
|| exit 1
# d3demo.html: wiki to demo d3 plugin
node ./tiddlywiki.js \
./editions/d3demo \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/d3demo.html text/plain \
|| exit 1
# codemirrordemo.html: wiki to demo codemirror plugin
node ./tiddlywiki.js \
./editions/codemirrordemo \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/codemirrordemo.html text/plain \
|| exit 1
# markdowndemo.html: wiki to demo markdown plugin
node ./tiddlywiki.js \
./editions/markdowndemo \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/markdowndemo.html text/plain \
|| exit 1
# highlightdemo.html: wiki to demo highlight plugin
node ./tiddlywiki.js \
./editions/highlightdemo \
--verbose \
--rendertiddler $:/core/save/all $TW5_BUILD_OUTPUT/highlightdemo.html text/plain \
|| exit 1
# Run the test edition to run the Node.js tests and to generate test.html for tests in the browser
./test.sh

View File

@@ -9,56 +9,67 @@ Basic styles used before we boot up the parsing engine
Error message and password prompt
*/
.tw-password-wrapper, .tw-error-form {
.tc-error-form {
font-family: sans-serif;
color: #fff;
z-index: 20000;
position: fixed;
background-color: rgb(255, 75, 75);
border: 8px solid rgb(255, 0, 0);
border-radius: 8px;
width: 50%;
margin-left: 25%;
margin-top: 4em;
padding: 0 2em 1em 2em;
}
.tc-error-form h1 {
text-align: center;
}
.tc-error-prompt {
text-align: center;
color: #000;
}
.tc-error-message {
overflow: auto;
max-height: 40em;
padding-right: 1em;
margin: 1em 0;
white-space: pre-line;
}
.tc-password-wrapper {
font-family: sans-serif;
z-index: 20000;
position: fixed;
text-align: center;
width: 200px;
top: 4em;
left: 50%;
margin-left: -144px; /* - width/2 - paddingHorz/2 - border */
left: 50%;
margin-left: -144px; /* - width/2 - paddingHorz/2 - border */
padding: 16px 16px 16px 16px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
.tw-error-form {
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
background-color: rgb(255, 75, 75);
border: 8px solid rgb(255, 0, 0);
width: 480px;
margin-left: -244px; /* - width/2 - paddingHorz/2 - border */
}
.tw-error-form div {
padding-bottom: 1em;
}
.tw-error-prompt {
color: #000;
text-shadow: none;
}
.tw-password-wrapper {
.tc-password-wrapper {
color: #000;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: rgb(197, 235, 183);
border: 8px solid rgb(164, 197, 152);
}
.tw-password-wrapper form {
.tc-password-wrapper form {
text-align: left;
}
.tw-password-wrapper h1 {
.tc-password-wrapper h1 {
font-size: 16px;
line-height: 20px;
padding-bottom: 16px;
}
.tw-password-wrapper input {
.tc-password-wrapper input {
width: 100%;
}

File diff suppressed because it is too large Load Diff

View File

@@ -16,12 +16,25 @@ var _bootprefix = (function($tw) {
"use strict";
$tw = $tw || {};
$tw = $tw || Object.create(null);
$tw.boot = $tw.boot || Object.create(null);
// Detect platforms
$tw.browser = typeof(window) !== "undefined" ? {} : null;
$tw.node = typeof(process) === "object" ? {} : null;
$tw.nodeWebKit = $tw.node && global.window && global.window.nwDispatcher ? {} : null;
if(!("browser" in $tw)) {
$tw.browser = typeof(window) !== "undefined" ? {} : null;
}
if(!("node" in $tw)) {
$tw.node = typeof(process) === "object" ? {} : null;
}
if(!("nodeWebKit" in $tw)) {
$tw.nodeWebKit = $tw.node && global.window && global.window.nwDispatcher ? {} : null;
}
// Set default boot tasks
$tw.boot.tasks = {
trapErrors: !!($tw.browser && !$tw.node),
readBrowserTiddlers: !!($tw.browser && !$tw.node)
};
/*
Information about each module is kept in an object with these members:
@@ -86,14 +99,22 @@ $tw.preloadTiddler = function(fields) {
$tw.preloadTiddlers.push(fields);
};
return $tw
/*
Convenience function for pushing an array of tiddlers onto the preloading array
*/
$tw.preloadTiddlerArray = function(fieldsArray) {
$tw.preloadTiddlers.push.apply($tw.preloadTiddlers,fieldsArray);
};
return $tw;
});
if(typeof(exports) === "undefined") {
// Set up $tw global for the browser
window.$tw = _bootprefix();
window.$tw = _bootprefix(window.$tw);
} else {
// Export functionality as a module
exports.bootprefix = _bootprefix;
}
//# sourceURL=$:/boot/bootprefix.js

View File

@@ -1,42 +1,60 @@
"use strict";var sjcl={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message};this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message};this.message=a},bug:function(a){this.toString=function(){return"BUG: "+this.message};this.message=a},notReady:function(a){this.toString=function(){return"NOT READY: "+this.message};this.message=a}}};
if(typeof module!="undefined"&&module.exports)module.exports=sjcl;
sjcl.cipher.aes=function(a){this.h[0][0][0]||this.z();var b,c,d,e,f=this.h[0][4],g=this.h[1];b=a.length;var h=1;if(b!==4&&b!==6&&b!==8)throw new sjcl.exception.invalid("invalid aes key size");this.a=[d=a.slice(0),e=[]];for(a=b;a<4*b+28;a++){c=d[a-1];if(a%b===0||b===8&&a%b===4){c=f[c>>>24]<<24^f[c>>16&255]<<16^f[c>>8&255]<<8^f[c&255];if(a%b===0){c=c<<8^c>>>24^h<<24;h=h<<1^(h>>7)*283}}d[a]=d[a-b]^c}for(b=0;a;b++,a--){c=d[b&3?a:a-4];e[b]=a<=4||b<4?c:g[0][f[c>>>24]]^g[1][f[c>>16&255]]^g[2][f[c>>8&255]]^
g[3][f[c&255]]}};
sjcl.cipher.aes.prototype={encrypt:function(a){return this.I(a,0)},decrypt:function(a){return this.I(a,1)},h:[[[],[],[],[],[]],[[],[],[],[],[]]],z:function(){var a=this.h[0],b=this.h[1],c=a[4],d=b[4],e,f,g,h=[],i=[],k,j,l,m;for(e=0;e<0x100;e++)i[(h[e]=e<<1^(e>>7)*283)^e]=e;for(f=g=0;!c[f];f^=k||1,g=i[g]||1){l=g^g<<1^g<<2^g<<3^g<<4;l=l>>8^l&255^99;c[f]=l;d[l]=f;j=h[e=h[k=h[f]]];m=j*0x1010101^e*0x10001^k*0x101^f*0x1010100;j=h[l]*0x101^l*0x1010100;for(e=0;e<4;e++){a[e][f]=j=j<<24^j>>>8;b[e][l]=m=m<<24^m>>>8}}for(e=
0;e<5;e++){a[e]=a[e].slice(0);b[e]=b[e].slice(0)}},I:function(a,b){if(a.length!==4)throw new sjcl.exception.invalid("invalid aes block size");var c=this.a[b],d=a[0]^c[0],e=a[b?3:1]^c[1],f=a[2]^c[2];a=a[b?1:3]^c[3];var g,h,i,k=c.length/4-2,j,l=4,m=[0,0,0,0];g=this.h[b];var n=g[0],o=g[1],p=g[2],q=g[3],r=g[4];for(j=0;j<k;j++){g=n[d>>>24]^o[e>>16&255]^p[f>>8&255]^q[a&255]^c[l];h=n[e>>>24]^o[f>>16&255]^p[a>>8&255]^q[d&255]^c[l+1];i=n[f>>>24]^o[a>>16&255]^p[d>>8&255]^q[e&255]^c[l+2];a=n[a>>>24]^o[d>>16&
255]^p[e>>8&255]^q[f&255]^c[l+3];l+=4;d=g;e=h;f=i}for(j=0;j<4;j++){m[b?3&-j:j]=r[d>>>24]<<24^r[e>>16&255]<<16^r[f>>8&255]<<8^r[a&255]^c[l++];g=d;d=e;e=f;f=a;a=g}return m}};
sjcl.bitArray={bitSlice:function(a,b,c){a=sjcl.bitArray.P(a.slice(b/32),32-(b&31)).slice(1);return c===undefined?a:sjcl.bitArray.clamp(a,c-b)},extract:function(a,b,c){var d=Math.floor(-b-c&31);return((b+c-1^b)&-32?a[b/32|0]<<32-d^a[b/32+1|0]>>>d:a[b/32|0]>>>d)&(1<<c)-1},concat:function(a,b){if(a.length===0||b.length===0)return a.concat(b);var c=a[a.length-1],d=sjcl.bitArray.getPartial(c);return d===32?a.concat(b):sjcl.bitArray.P(b,d,c|0,a.slice(0,a.length-1))},bitLength:function(a){var b=a.length;
if(b===0)return 0;return(b-1)*32+sjcl.bitArray.getPartial(a[b-1])},clamp:function(a,b){if(a.length*32<b)return a;a=a.slice(0,Math.ceil(b/32));var c=a.length;b&=31;if(c>0&&b)a[c-1]=sjcl.bitArray.partial(b,a[c-1]&2147483648>>b-1,1);return a},partial:function(a,b,c){if(a===32)return b;return(c?b|0:b<<32-a)+a*0x10000000000},getPartial:function(a){return Math.round(a/0x10000000000)||32},equal:function(a,b){if(sjcl.bitArray.bitLength(a)!==sjcl.bitArray.bitLength(b))return false;var c=0,d;for(d=0;d<a.length;d++)c|=
a[d]^b[d];return c===0},P:function(a,b,c,d){var e;e=0;if(d===undefined)d=[];for(;b>=32;b-=32){d.push(c);c=0}if(b===0)return d.concat(a);for(e=0;e<a.length;e++){d.push(c|a[e]>>>b);c=a[e]<<32-b}e=a.length?a[a.length-1]:0;a=sjcl.bitArray.getPartial(e);d.push(sjcl.bitArray.partial(b+a&31,b+a>32?c:d.pop(),1));return d},k:function(a,b){return[a[0]^b[0],a[1]^b[1],a[2]^b[2],a[3]^b[3]]}};
sjcl.codec.utf8String={fromBits:function(a){var b="",c=sjcl.bitArray.bitLength(a),d,e;for(d=0;d<c/8;d++){if((d&3)===0)e=a[d/4];b+=String.fromCharCode(e>>>24);e<<=8}return decodeURIComponent(escape(b))},toBits:function(a){a=unescape(encodeURIComponent(a));var b=[],c,d=0;for(c=0;c<a.length;c++){d=d<<8|a.charCodeAt(c);if((c&3)===3){b.push(d);d=0}}c&3&&b.push(sjcl.bitArray.partial(8*(c&3),d));return b}};
sjcl.codec.hex={fromBits:function(a){var b="",c;for(c=0;c<a.length;c++)b+=((a[c]|0)+0xf00000000000).toString(16).substr(4);return b.substr(0,sjcl.bitArray.bitLength(a)/4)},toBits:function(a){var b,c=[],d;a=a.replace(/\s|0x/g,"");d=a.length;a+="00000000";for(b=0;b<a.length;b+=8)c.push(parseInt(a.substr(b,8),16)^0);return sjcl.bitArray.clamp(c,d*4)}};
sjcl.codec.base64={F:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fromBits:function(a,b,c){var d="",e=0,f=sjcl.codec.base64.F,g=0,h=sjcl.bitArray.bitLength(a);if(c)f=f.substr(0,62)+"-_";for(c=0;d.length*6<h;){d+=f.charAt((g^a[c]>>>e)>>>26);if(e<6){g=a[c]<<6-e;e+=26;c++}else{g<<=6;e-=6}}for(;d.length&3&&!b;)d+="=";return d},toBits:function(a,b){a=a.replace(/\s|=/g,"");var c=[],d=0,e=sjcl.codec.base64.F,f=0,g;if(b)e=e.substr(0,62)+"-_";for(b=0;b<a.length;b++){g=e.indexOf(a.charAt(b));
if(g<0)throw new sjcl.exception.invalid("this isn't base64!");if(d>26){d-=26;c.push(f^g>>>d);f=g<<32-d}else{d+=6;f^=g<<32-d}}d&56&&c.push(sjcl.bitArray.partial(d&56,f,1));return c}};sjcl.codec.base64url={fromBits:function(a){return sjcl.codec.base64.fromBits(a,1,1)},toBits:function(a){return sjcl.codec.base64.toBits(a,1)}};sjcl.hash.sha256=function(a){this.a[0]||this.z();if(a){this.n=a.n.slice(0);this.i=a.i.slice(0);this.e=a.e}else this.reset()};sjcl.hash.sha256.hash=function(a){return(new sjcl.hash.sha256).update(a).finalize()};
sjcl.hash.sha256.prototype={blockSize:512,reset:function(){this.n=this.N.slice(0);this.i=[];this.e=0;return this},update:function(a){if(typeof a==="string")a=sjcl.codec.utf8String.toBits(a);var b,c=this.i=sjcl.bitArray.concat(this.i,a);b=this.e;a=this.e=b+sjcl.bitArray.bitLength(a);for(b=512+b&-512;b<=a;b+=512)this.D(c.splice(0,16));return this},finalize:function(){var a,b=this.i,c=this.n;b=sjcl.bitArray.concat(b,[sjcl.bitArray.partial(1,1)]);for(a=b.length+2;a&15;a++)b.push(0);b.push(Math.floor(this.e/
4294967296));for(b.push(this.e|0);b.length;)this.D(b.splice(0,16));this.reset();return c},N:[],a:[],z:function(){function a(e){return(e-Math.floor(e))*0x100000000|0}var b=0,c=2,d;a:for(;b<64;c++){for(d=2;d*d<=c;d++)if(c%d===0)continue a;if(b<8)this.N[b]=a(Math.pow(c,0.5));this.a[b]=a(Math.pow(c,1/3));b++}},D:function(a){var b,c,d=a.slice(0),e=this.n,f=this.a,g=e[0],h=e[1],i=e[2],k=e[3],j=e[4],l=e[5],m=e[6],n=e[7];for(a=0;a<64;a++){if(a<16)b=d[a];else{b=d[a+1&15];c=d[a+14&15];b=d[a&15]=(b>>>7^b>>>18^
b>>>3^b<<25^b<<14)+(c>>>17^c>>>19^c>>>10^c<<15^c<<13)+d[a&15]+d[a+9&15]|0}b=b+n+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(m^j&(l^m))+f[a];n=m;m=l;l=j;j=k+b|0;k=i;i=h;h=g;g=b+(h&i^k&(h^i))+(h>>>2^h>>>13^h>>>22^h<<30^h<<19^h<<10)|0}e[0]=e[0]+g|0;e[1]=e[1]+h|0;e[2]=e[2]+i|0;e[3]=e[3]+k|0;e[4]=e[4]+j|0;e[5]=e[5]+l|0;e[6]=e[6]+m|0;e[7]=e[7]+n|0}};
sjcl.mode.ccm={name:"ccm",encrypt:function(a,b,c,d,e){var f,g=b.slice(0),h=sjcl.bitArray,i=h.bitLength(c)/8,k=h.bitLength(g)/8;e=e||64;d=d||[];if(i<7)throw new sjcl.exception.invalid("ccm: iv must be at least 7 bytes");for(f=2;f<4&&k>>>8*f;f++);if(f<15-i)f=15-i;c=h.clamp(c,8*(15-f));b=sjcl.mode.ccm.H(a,b,c,d,e,f);g=sjcl.mode.ccm.J(a,g,c,b,e,f);return h.concat(g.data,g.tag)},decrypt:function(a,b,c,d,e){e=e||64;d=d||[];var f=sjcl.bitArray,g=f.bitLength(c)/8,h=f.bitLength(b),i=f.clamp(b,h-e),k=f.bitSlice(b,
h-e);h=(h-e)/8;if(g<7)throw new sjcl.exception.invalid("ccm: iv must be at least 7 bytes");for(b=2;b<4&&h>>>8*b;b++);if(b<15-g)b=15-g;c=f.clamp(c,8*(15-b));i=sjcl.mode.ccm.J(a,i,c,k,e,b);a=sjcl.mode.ccm.H(a,i.data,c,d,e,b);if(!f.equal(i.tag,a))throw new sjcl.exception.corrupt("ccm: tag doesn't match");return i.data},H:function(a,b,c,d,e,f){var g=[],h=sjcl.bitArray,i=h.k;e/=8;if(e%2||e<4||e>16)throw new sjcl.exception.invalid("ccm: invalid tag length");if(d.length>0xffffffff||b.length>0xffffffff)throw new sjcl.exception.bug("ccm: can't deal with 4GiB or more data");
f=[h.partial(8,(d.length?64:0)|e-2<<2|f-1)];f=h.concat(f,c);f[3]|=h.bitLength(b)/8;f=a.encrypt(f);if(d.length){c=h.bitLength(d)/8;if(c<=65279)g=[h.partial(16,c)];else if(c<=0xffffffff)g=h.concat([h.partial(16,65534)],[c]);g=h.concat(g,d);for(d=0;d<g.length;d+=4)f=a.encrypt(i(f,g.slice(d,d+4).concat([0,0,0])))}for(d=0;d<b.length;d+=4)f=a.encrypt(i(f,b.slice(d,d+4).concat([0,0,0])));return h.clamp(f,e*8)},J:function(a,b,c,d,e,f){var g,h=sjcl.bitArray;g=h.k;var i=b.length,k=h.bitLength(b);c=h.concat([h.partial(8,
f-1)],c).concat([0,0,0]).slice(0,4);d=h.bitSlice(g(d,a.encrypt(c)),0,e);if(!i)return{tag:d,data:[]};for(g=0;g<i;g+=4){c[3]++;e=a.encrypt(c);b[g]^=e[0];b[g+1]^=e[1];b[g+2]^=e[2];b[g+3]^=e[3]}return{tag:d,data:h.clamp(b,k)}}};
sjcl.mode.ocb2={name:"ocb2",encrypt:function(a,b,c,d,e,f){if(sjcl.bitArray.bitLength(c)!==128)throw new sjcl.exception.invalid("ocb iv must be 128 bits");var g,h=sjcl.mode.ocb2.B,i=sjcl.bitArray,k=i.k,j=[0,0,0,0];c=h(a.encrypt(c));var l,m=[];d=d||[];e=e||64;for(g=0;g+4<b.length;g+=4){l=b.slice(g,g+4);j=k(j,l);m=m.concat(k(c,a.encrypt(k(c,l))));c=h(c)}l=b.slice(g);b=i.bitLength(l);g=a.encrypt(k(c,[0,0,0,b]));l=i.clamp(k(l.concat([0,0,0]),g),b);j=k(j,k(l.concat([0,0,0]),g));j=a.encrypt(k(j,k(c,h(c))));
if(d.length)j=k(j,f?d:sjcl.mode.ocb2.pmac(a,d));return m.concat(i.concat(l,i.clamp(j,e)))},decrypt:function(a,b,c,d,e,f){if(sjcl.bitArray.bitLength(c)!==128)throw new sjcl.exception.invalid("ocb iv must be 128 bits");e=e||64;var g=sjcl.mode.ocb2.B,h=sjcl.bitArray,i=h.k,k=[0,0,0,0],j=g(a.encrypt(c)),l,m,n=sjcl.bitArray.bitLength(b)-e,o=[];d=d||[];for(c=0;c+4<n/32;c+=4){l=i(j,a.decrypt(i(j,b.slice(c,c+4))));k=i(k,l);o=o.concat(l);j=g(j)}m=n-c*32;l=a.encrypt(i(j,[0,0,0,m]));l=i(l,h.clamp(b.slice(c),
m).concat([0,0,0]));k=i(k,l);k=a.encrypt(i(k,i(j,g(j))));if(d.length)k=i(k,f?d:sjcl.mode.ocb2.pmac(a,d));if(!h.equal(h.clamp(k,e),h.bitSlice(b,n)))throw new sjcl.exception.corrupt("ocb: tag doesn't match");return o.concat(h.clamp(l,m))},pmac:function(a,b){var c,d=sjcl.mode.ocb2.B,e=sjcl.bitArray,f=e.k,g=[0,0,0,0],h=a.encrypt([0,0,0,0]);h=f(h,d(d(h)));for(c=0;c+4<b.length;c+=4){h=d(h);g=f(g,a.encrypt(f(h,b.slice(c,c+4))))}b=b.slice(c);if(e.bitLength(b)<128){h=f(h,d(h));b=e.concat(b,[2147483648|0,0,
0,0])}g=f(g,b);return a.encrypt(f(d(f(h,d(h))),g))},B:function(a){return[a[0]<<1^a[1]>>>31,a[1]<<1^a[2]>>>31,a[2]<<1^a[3]>>>31,a[3]<<1^(a[0]>>>31)*135]}};sjcl.misc.hmac=function(a,b){this.M=b=b||sjcl.hash.sha256;var c=[[],[]],d=b.prototype.blockSize/32;this.l=[new b,new b];if(a.length>d)a=b.hash(a);for(b=0;b<d;b++){c[0][b]=a[b]^909522486;c[1][b]=a[b]^1549556828}this.l[0].update(c[0]);this.l[1].update(c[1])};
sjcl.misc.hmac.prototype.encrypt=sjcl.misc.hmac.prototype.mac=function(a,b){a=(new this.M(this.l[0])).update(a,b).finalize();return(new this.M(this.l[1])).update(a).finalize()};
sjcl.misc.pbkdf2=function(a,b,c,d,e){c=c||1E3;if(d<0||c<0)throw sjcl.exception.invalid("invalid params to pbkdf2");if(typeof a==="string")a=sjcl.codec.utf8String.toBits(a);e=e||sjcl.misc.hmac;a=new e(a);var f,g,h,i,k=[],j=sjcl.bitArray;for(i=1;32*k.length<(d||1);i++){e=f=a.encrypt(j.concat(b,[i]));for(g=1;g<c;g++){f=a.encrypt(f);for(h=0;h<f.length;h++)e[h]^=f[h]}k=k.concat(e)}if(d)k=j.clamp(k,d);return k};
sjcl.random={randomWords:function(a,b){var c=[];b=this.isReady(b);var d;if(b===0)throw new sjcl.exception.notReady("generator isn't seeded");else b&2&&this.U(!(b&1));for(b=0;b<a;b+=4){(b+1)%0x10000===0&&this.L();d=this.w();c.push(d[0],d[1],d[2],d[3])}this.L();return c.slice(0,a)},setDefaultParanoia:function(a){this.t=a},addEntropy:function(a,b,c){c=c||"user";var d,e,f=(new Date).valueOf(),g=this.q[c],h=this.isReady(),i=0;d=this.G[c];if(d===undefined)d=this.G[c]=this.R++;if(g===undefined)g=this.q[c]=
0;this.q[c]=(this.q[c]+1)%this.b.length;switch(typeof a){case "number":if(b===undefined)b=1;this.b[g].update([d,this.u++,1,b,f,1,a|0]);break;case "object":c=Object.prototype.toString.call(a);if(c==="[object Uint32Array]"){e=[];for(c=0;c<a.length;c++)e.push(a[c]);a=e}else{if(c!=="[object Array]")i=1;for(c=0;c<a.length&&!i;c++)if(typeof a[c]!="number")i=1}if(!i){if(b===undefined)for(c=b=0;c<a.length;c++)for(e=a[c];e>0;){b++;e>>>=1}this.b[g].update([d,this.u++,2,b,f,a.length].concat(a))}break;case "string":if(b===
undefined)b=a.length;this.b[g].update([d,this.u++,3,b,f,a.length]);this.b[g].update(a);break;default:i=1}if(i)throw new sjcl.exception.bug("random: addEntropy only supports number, array of numbers or string");this.j[g]+=b;this.f+=b;if(h===0){this.isReady()!==0&&this.K("seeded",Math.max(this.g,this.f));this.K("progress",this.getProgress())}},isReady:function(a){a=this.C[a!==undefined?a:this.t];return this.g&&this.g>=a?this.j[0]>80&&(new Date).valueOf()>this.O?3:1:this.f>=a?2:0},getProgress:function(a){a=
this.C[a?a:this.t];return this.g>=a?1:this.f>a?1:this.f/a},startCollectors:function(){if(!this.m){if(window.addEventListener){window.addEventListener("load",this.o,false);window.addEventListener("mousemove",this.p,false)}else if(document.attachEvent){document.attachEvent("onload",this.o);document.attachEvent("onmousemove",this.p)}else throw new sjcl.exception.bug("can't attach event");this.m=true}},stopCollectors:function(){if(this.m){if(window.removeEventListener){window.removeEventListener("load",
this.o,false);window.removeEventListener("mousemove",this.p,false)}else if(window.detachEvent){window.detachEvent("onload",this.o);window.detachEvent("onmousemove",this.p)}this.m=false}},addEventListener:function(a,b){this.r[a][this.Q++]=b},removeEventListener:function(a,b){var c;a=this.r[a];var d=[];for(c in a)a.hasOwnProperty(c)&&a[c]===b&&d.push(c);for(b=0;b<d.length;b++){c=d[b];delete a[c]}},b:[new sjcl.hash.sha256],j:[0],A:0,q:{},u:0,G:{},R:0,g:0,f:0,O:0,a:[0,0,0,0,0,0,0,0],d:[0,0,0,0],s:undefined,
t:6,m:false,r:{progress:{},seeded:{}},Q:0,C:[0,48,64,96,128,192,0x100,384,512,768,1024],w:function(){for(var a=0;a<4;a++){this.d[a]=this.d[a]+1|0;if(this.d[a])break}return this.s.encrypt(this.d)},L:function(){this.a=this.w().concat(this.w());this.s=new sjcl.cipher.aes(this.a)},T:function(a){this.a=sjcl.hash.sha256.hash(this.a.concat(a));this.s=new sjcl.cipher.aes(this.a);for(a=0;a<4;a++){this.d[a]=this.d[a]+1|0;if(this.d[a])break}},U:function(a){var b=[],c=0,d;this.O=b[0]=(new Date).valueOf()+3E4;for(d=
0;d<16;d++)b.push(Math.random()*0x100000000|0);for(d=0;d<this.b.length;d++){b=b.concat(this.b[d].finalize());c+=this.j[d];this.j[d]=0;if(!a&&this.A&1<<d)break}if(this.A>=1<<this.b.length){this.b.push(new sjcl.hash.sha256);this.j.push(0)}this.f-=c;if(c>this.g)this.g=c;this.A++;this.T(b)},p:function(a){sjcl.random.addEntropy([a.x||a.clientX||a.offsetX||0,a.y||a.clientY||a.offsetY||0],2,"mouse")},o:function(){sjcl.random.addEntropy((new Date).valueOf(),2,"loadtime")},K:function(a,b){var c;a=sjcl.random.r[a];
var d=[];for(c in a)a.hasOwnProperty(c)&&d.push(a[c]);for(c=0;c<d.length;c++)d[c](b)}};try{var s=new Uint32Array(32);crypto.getRandomValues(s);sjcl.random.addEntropy(s,1024,"crypto['getRandomValues']")}catch(t){}
sjcl.json={defaults:{v:1,iter:1E3,ks:128,ts:64,mode:"ccm",adata:"",cipher:"aes"},encrypt:function(a,b,c,d){c=c||{};d=d||{};var e=sjcl.json,f=e.c({iv:sjcl.random.randomWords(4,0)},e.defaults),g;e.c(f,c);c=f.adata;if(typeof f.salt==="string")f.salt=sjcl.codec.base64.toBits(f.salt);if(typeof f.iv==="string")f.iv=sjcl.codec.base64.toBits(f.iv);if(!sjcl.mode[f.mode]||!sjcl.cipher[f.cipher]||typeof a==="string"&&f.iter<=100||f.ts!==64&&f.ts!==96&&f.ts!==128||f.ks!==128&&f.ks!==192&&f.ks!==0x100||f.iv.length<
2||f.iv.length>4)throw new sjcl.exception.invalid("json encrypt: invalid parameters");if(typeof a==="string"){g=sjcl.misc.cachedPbkdf2(a,f);a=g.key.slice(0,f.ks/32);f.salt=g.salt}if(typeof b==="string")b=sjcl.codec.utf8String.toBits(b);if(typeof c==="string")c=sjcl.codec.utf8String.toBits(c);g=new sjcl.cipher[f.cipher](a);e.c(d,f);d.key=a;f.ct=sjcl.mode[f.mode].encrypt(g,b,f.iv,c,f.ts);return e.encode(f)},decrypt:function(a,b,c,d){c=c||{};d=d||{};var e=sjcl.json;b=e.c(e.c(e.c({},e.defaults),e.decode(b)),
c,true);var f;c=b.adata;if(typeof b.salt==="string")b.salt=sjcl.codec.base64.toBits(b.salt);if(typeof b.iv==="string")b.iv=sjcl.codec.base64.toBits(b.iv);if(!sjcl.mode[b.mode]||!sjcl.cipher[b.cipher]||typeof a==="string"&&b.iter<=100||b.ts!==64&&b.ts!==96&&b.ts!==128||b.ks!==128&&b.ks!==192&&b.ks!==0x100||!b.iv||b.iv.length<2||b.iv.length>4)throw new sjcl.exception.invalid("json decrypt: invalid parameters");if(typeof a==="string"){f=sjcl.misc.cachedPbkdf2(a,b);a=f.key.slice(0,b.ks/32);b.salt=f.salt}if(typeof c===
"string")c=sjcl.codec.utf8String.toBits(c);f=new sjcl.cipher[b.cipher](a);c=sjcl.mode[b.mode].decrypt(f,b.ct,b.iv,c,b.ts);e.c(d,b);d.key=a;return sjcl.codec.utf8String.fromBits(c)},encode:function(a){var b,c="{",d="";for(b in a)if(a.hasOwnProperty(b)){if(!b.match(/^[a-z0-9]+$/i))throw new sjcl.exception.invalid("json encode: invalid property name");c+=d+'"'+b+'":';d=",";switch(typeof a[b]){case "number":case "boolean":c+=a[b];break;case "string":c+='"'+escape(a[b])+'"';break;case "object":c+='"'+
sjcl.codec.base64.fromBits(a[b],1)+'"';break;default:throw new sjcl.exception.bug("json encode: unsupported type");}}return c+"}"},decode:function(a){a=a.replace(/\s/g,"");if(!a.match(/^\{.*\}$/))throw new sjcl.exception.invalid("json decode: this isn't json!");a=a.replace(/^\{|\}$/g,"").split(/,/);var b={},c,d;for(c=0;c<a.length;c++){if(!(d=a[c].match(/^(?:(["']?)([a-z][a-z0-9]*)\1):(?:(\d+)|"([a-z0-9+\/%*_.@=\-]*)")$/i)))throw new sjcl.exception.invalid("json decode: this isn't json!");b[d[2]]=
d[3]?parseInt(d[3],10):d[2].match(/^(ct|salt|iv)$/)?sjcl.codec.base64.toBits(d[4]):unescape(d[4])}return b},c:function(a,b,c){if(a===undefined)a={};if(b===undefined)return a;var d;for(d in b)if(b.hasOwnProperty(d)){if(c&&a[d]!==undefined&&a[d]!==b[d])throw new sjcl.exception.invalid("required parameter overridden");a[d]=b[d]}return a},W:function(a,b){var c={},d;for(d in a)if(a.hasOwnProperty(d)&&a[d]!==b[d])c[d]=a[d];return c},V:function(a,b){var c={},d;for(d=0;d<b.length;d++)if(a[b[d]]!==undefined)c[b[d]]=
a[b[d]];return c}};sjcl.encrypt=sjcl.json.encrypt;sjcl.decrypt=sjcl.json.decrypt;sjcl.misc.S={};sjcl.misc.cachedPbkdf2=function(a,b){var c=sjcl.misc.S,d;b=b||{};d=b.iter||1E3;c=c[a]=c[a]||{};d=c[d]=c[d]||{firstSalt:b.salt&&b.salt.length?b.salt.slice(0):sjcl.random.randomWords(2,0)};c=b.salt===undefined?d.firstSalt:b.salt;d[c]=d[c]||sjcl.misc.pbkdf2(a,c,b.iter);return{key:d[c].slice(0),salt:c.slice(0)}};
sjcl.cipher.aes=function(a){this.s[0][0][0]||this.O();var b,c,d,e,f=this.s[0][4],g=this.s[1];b=a.length;var h=1;if(4!==b&&6!==b&&8!==b)throw new sjcl.exception.invalid("invalid aes key size");this.b=[d=a.slice(0),e=[]];for(a=b;a<4*b+28;a++){c=d[a-1];if(0===a%b||8===b&&4===a%b)c=f[c>>>24]<<24^f[c>>16&255]<<16^f[c>>8&255]<<8^f[c&255],0===a%b&&(c=c<<8^c>>>24^h<<24,h=h<<1^283*(h>>7));d[a]=d[a-b]^c}for(b=0;a;b++,a--)c=d[b&3?a:a-4],e[b]=4>=a||4>b?c:g[0][f[c>>>24]]^g[1][f[c>>16&255]]^g[2][f[c>>8&255]]^g[3][f[c&
255]]};
sjcl.cipher.aes.prototype={encrypt:function(a){return t(this,a,0)},decrypt:function(a){return t(this,a,1)},s:[[[],[],[],[],[]],[[],[],[],[],[]]],O:function(){var a=this.s[0],b=this.s[1],c=a[4],d=b[4],e,f,g,h=[],k=[],l,n,m,p;for(e=0;0x100>e;e++)k[(h[e]=e<<1^283*(e>>7))^e]=e;for(f=g=0;!c[f];f^=l||1,g=k[g]||1)for(m=g^g<<1^g<<2^g<<3^g<<4,m=m>>8^m&255^99,c[f]=m,d[m]=f,n=h[e=h[l=h[f]]],p=0x1010101*n^0x10001*e^0x101*l^0x1010100*f,n=0x101*h[m]^0x1010100*m,e=0;4>e;e++)a[e][f]=n=n<<24^n>>>8,b[e][m]=p=p<<24^p>>>8;for(e=
0;5>e;e++)a[e]=a[e].slice(0),b[e]=b[e].slice(0)}};
function t(a,b,c){if(4!==b.length)throw new sjcl.exception.invalid("invalid aes block size");var d=a.b[c],e=b[0]^d[0],f=b[c?3:1]^d[1],g=b[2]^d[2];b=b[c?1:3]^d[3];var h,k,l,n=d.length/4-2,m,p=4,r=[0,0,0,0];h=a.s[c];a=h[0];var q=h[1],v=h[2],w=h[3],x=h[4];for(m=0;m<n;m++)h=a[e>>>24]^q[f>>16&255]^v[g>>8&255]^w[b&255]^d[p],k=a[f>>>24]^q[g>>16&255]^v[b>>8&255]^w[e&255]^d[p+1],l=a[g>>>24]^q[b>>16&255]^v[e>>8&255]^w[f&255]^d[p+2],b=a[b>>>24]^q[e>>16&255]^v[f>>8&255]^w[g&255]^d[p+3],p+=4,e=h,f=k,g=l;for(m=
0;4>m;m++)r[c?3&-m:m]=x[e>>>24]<<24^x[f>>16&255]<<16^x[g>>8&255]<<8^x[b&255]^d[p++],h=e,e=f,f=g,g=b,b=h;return r}
sjcl.bitArray={bitSlice:function(a,b,c){a=sjcl.bitArray.$(a.slice(b/32),32-(b&31)).slice(1);return void 0===c?a:sjcl.bitArray.clamp(a,c-b)},extract:function(a,b,c){var d=Math.floor(-b-c&31);return((b+c-1^b)&-32?a[b/32|0]<<32-d^a[b/32+1|0]>>>d:a[b/32|0]>>>d)&(1<<c)-1},concat:function(a,b){if(0===a.length||0===b.length)return a.concat(b);var c=a[a.length-1],d=sjcl.bitArray.getPartial(c);return 32===d?a.concat(b):sjcl.bitArray.$(b,d,c|0,a.slice(0,a.length-1))},bitLength:function(a){var b=a.length;return 0===
b?0:32*(b-1)+sjcl.bitArray.getPartial(a[b-1])},clamp:function(a,b){if(32*a.length<b)return a;a=a.slice(0,Math.ceil(b/32));var c=a.length;b=b&31;0<c&&b&&(a[c-1]=sjcl.bitArray.partial(b,a[c-1]&2147483648>>b-1,1));return a},partial:function(a,b,c){return 32===a?b:(c?b|0:b<<32-a)+0x10000000000*a},getPartial:function(a){return Math.round(a/0x10000000000)||32},equal:function(a,b){if(sjcl.bitArray.bitLength(a)!==sjcl.bitArray.bitLength(b))return!1;var c=0,d;for(d=0;d<a.length;d++)c|=a[d]^b[d];return 0===
c},$:function(a,b,c,d){var e;e=0;for(void 0===d&&(d=[]);32<=b;b-=32)d.push(c),c=0;if(0===b)return d.concat(a);for(e=0;e<a.length;e++)d.push(c|a[e]>>>b),c=a[e]<<32-b;e=a.length?a[a.length-1]:0;a=sjcl.bitArray.getPartial(e);d.push(sjcl.bitArray.partial(b+a&31,32<b+a?c:d.pop(),1));return d},i:function(a,b){return[a[0]^b[0],a[1]^b[1],a[2]^b[2],a[3]^b[3]]},byteswapM:function(a){var b,c;for(b=0;b<a.length;++b)c=a[b],a[b]=c>>>24|c>>>8&0xff00|(c&0xff00)<<8|c<<24;return a}};
sjcl.codec.utf8String={fromBits:function(a){var b="",c=sjcl.bitArray.bitLength(a),d,e;for(d=0;d<c/8;d++)0===(d&3)&&(e=a[d/4]),b+=String.fromCharCode(e>>>8>>>8>>>8),e<<=8;return decodeURIComponent(escape(b))},toBits:function(a){a=unescape(encodeURIComponent(a));var b=[],c,d=0;for(c=0;c<a.length;c++)d=d<<8|a.charCodeAt(c),3===(c&3)&&(b.push(d),d=0);c&3&&b.push(sjcl.bitArray.partial(8*(c&3),d));return b}};
sjcl.codec.hex={fromBits:function(a){var b="",c;for(c=0;c<a.length;c++)b+=((a[c]|0)+0xf00000000000).toString(16).substr(4);return b.substr(0,sjcl.bitArray.bitLength(a)/4)},toBits:function(a){var b,c=[],d;a=a.replace(/\s|0x/g,"");d=a.length;a=a+"00000000";for(b=0;b<a.length;b+=8)c.push(parseInt(a.substr(b,8),16)^0);return sjcl.bitArray.clamp(c,4*d)}};
sjcl.codec.base32={B:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",X:"0123456789ABCDEFGHIJKLMNOPQRSTUV",BITS:32,BASE:5,REMAINING:27,fromBits:function(a,b,c){var d=sjcl.codec.base32.BASE,e=sjcl.codec.base32.REMAINING,f="",g=0,h=sjcl.codec.base32.B,k=0,l=sjcl.bitArray.bitLength(a);c&&(h=sjcl.codec.base32.X);for(c=0;f.length*d<l;)f+=h.charAt((k^a[c]>>>g)>>>e),g<d?(k=a[c]<<d-g,g+=e,c++):(k<<=d,g-=d);for(;f.length&7&&!b;)f+="=";return f},toBits:function(a,b){a=a.replace(/\s|=/g,"").toUpperCase();var c=sjcl.codec.base32.BITS,
d=sjcl.codec.base32.BASE,e=sjcl.codec.base32.REMAINING,f=[],g,h=0,k=sjcl.codec.base32.B,l=0,n,m="base32";b&&(k=sjcl.codec.base32.X,m="base32hex");for(g=0;g<a.length;g++){n=k.indexOf(a.charAt(g));if(0>n){if(!b)try{return sjcl.codec.base32hex.toBits(a)}catch(p){}throw new sjcl.exception.invalid("this isn't "+m+"!");}h>e?(h-=e,f.push(l^n>>>h),l=n<<c-h):(h+=d,l^=n<<c-h)}h&56&&f.push(sjcl.bitArray.partial(h&56,l,1));return f}};
sjcl.codec.base32hex={fromBits:function(a,b){return sjcl.codec.base32.fromBits(a,b,1)},toBits:function(a){return sjcl.codec.base32.toBits(a,1)}};
sjcl.codec.base64={B:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fromBits:function(a,b,c){var d="",e=0,f=sjcl.codec.base64.B,g=0,h=sjcl.bitArray.bitLength(a);c&&(f=f.substr(0,62)+"-_");for(c=0;6*d.length<h;)d+=f.charAt((g^a[c]>>>e)>>>26),6>e?(g=a[c]<<6-e,e+=26,c++):(g<<=6,e-=6);for(;d.length&3&&!b;)d+="=";return d},toBits:function(a,b){a=a.replace(/\s|=/g,"");var c=[],d,e=0,f=sjcl.codec.base64.B,g=0,h;b&&(f=f.substr(0,62)+"-_");for(d=0;d<a.length;d++){h=f.indexOf(a.charAt(d));
if(0>h)throw new sjcl.exception.invalid("this isn't base64!");26<e?(e-=26,c.push(g^h>>>e),g=h<<32-e):(e+=6,g^=h<<32-e)}e&56&&c.push(sjcl.bitArray.partial(e&56,g,1));return c}};sjcl.codec.base64url={fromBits:function(a){return sjcl.codec.base64.fromBits(a,1,1)},toBits:function(a){return sjcl.codec.base64.toBits(a,1)}};sjcl.hash.sha256=function(a){this.b[0]||this.O();a?(this.F=a.F.slice(0),this.A=a.A.slice(0),this.l=a.l):this.reset()};sjcl.hash.sha256.hash=function(a){return(new sjcl.hash.sha256).update(a).finalize()};
sjcl.hash.sha256.prototype={blockSize:512,reset:function(){this.F=this.Y.slice(0);this.A=[];this.l=0;return this},update:function(a){"string"===typeof a&&(a=sjcl.codec.utf8String.toBits(a));var b,c=this.A=sjcl.bitArray.concat(this.A,a);b=this.l;a=this.l=b+sjcl.bitArray.bitLength(a);if(0x1fffffffffffff<a)throw new sjcl.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!==typeof Uint32Array){var d=new Uint32Array(c),e=0;for(b=512+b-(512+b&0x1ff);b<=a;b+=512)u(this,d.subarray(16*e,
16*(e+1))),e+=1;c.splice(0,16*e)}else for(b=512+b-(512+b&0x1ff);b<=a;b+=512)u(this,c.splice(0,16));return this},finalize:function(){var a,b=this.A,c=this.F,b=sjcl.bitArray.concat(b,[sjcl.bitArray.partial(1,1)]);for(a=b.length+2;a&15;a++)b.push(0);b.push(Math.floor(this.l/0x100000000));for(b.push(this.l|0);b.length;)u(this,b.splice(0,16));this.reset();return c},Y:[],b:[],O:function(){function a(a){return 0x100000000*(a-Math.floor(a))|0}for(var b=0,c=2,d,e;64>b;c++){e=!0;for(d=2;d*d<=c;d++)if(0===c%d){e=
!1;break}e&&(8>b&&(this.Y[b]=a(Math.pow(c,.5))),this.b[b]=a(Math.pow(c,1/3)),b++)}}};
function u(a,b){var c,d,e,f=a.F,g=a.b,h=f[0],k=f[1],l=f[2],n=f[3],m=f[4],p=f[5],r=f[6],q=f[7];for(c=0;64>c;c++)16>c?d=b[c]:(d=b[c+1&15],e=b[c+14&15],d=b[c&15]=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+b[c&15]+b[c+9&15]|0),d=d+q+(m>>>6^m>>>11^m>>>25^m<<26^m<<21^m<<7)+(r^m&(p^r))+g[c],q=r,r=p,p=m,m=n+d|0,n=l,l=k,k=h,h=d+(k&l^n&(k^l))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;f[0]=f[0]+h|0;f[1]=f[1]+k|0;f[2]=f[2]+l|0;f[3]=f[3]+n|0;f[4]=f[4]+m|0;f[5]=f[5]+p|0;f[6]=f[6]+r|0;f[7]=
f[7]+q|0}
sjcl.mode.ccm={name:"ccm",G:[],listenProgress:function(a){sjcl.mode.ccm.G.push(a)},unListenProgress:function(a){a=sjcl.mode.ccm.G.indexOf(a);-1<a&&sjcl.mode.ccm.G.splice(a,1)},fa:function(a){var b=sjcl.mode.ccm.G.slice(),c;for(c=0;c<b.length;c+=1)b[c](a)},encrypt:function(a,b,c,d,e){var f,g=b.slice(0),h=sjcl.bitArray,k=h.bitLength(c)/8,l=h.bitLength(g)/8;e=e||64;d=d||[];if(7>k)throw new sjcl.exception.invalid("ccm: iv must be at least 7 bytes");for(f=2;4>f&&l>>>8*f;f++);f<15-k&&(f=15-k);c=h.clamp(c,
8*(15-f));b=sjcl.mode.ccm.V(a,b,c,d,e,f);g=sjcl.mode.ccm.C(a,g,c,b,e,f);return h.concat(g.data,g.tag)},decrypt:function(a,b,c,d,e){e=e||64;d=d||[];var f=sjcl.bitArray,g=f.bitLength(c)/8,h=f.bitLength(b),k=f.clamp(b,h-e),l=f.bitSlice(b,h-e),h=(h-e)/8;if(7>g)throw new sjcl.exception.invalid("ccm: iv must be at least 7 bytes");for(b=2;4>b&&h>>>8*b;b++);b<15-g&&(b=15-g);c=f.clamp(c,8*(15-b));k=sjcl.mode.ccm.C(a,k,c,l,e,b);a=sjcl.mode.ccm.V(a,k.data,c,d,e,b);if(!f.equal(k.tag,a))throw new sjcl.exception.corrupt("ccm: tag doesn't match");
return k.data},na:function(a,b,c,d,e,f){var g=[],h=sjcl.bitArray,k=h.i;d=[h.partial(8,(b.length?64:0)|d-2<<2|f-1)];d=h.concat(d,c);d[3]|=e;d=a.encrypt(d);if(b.length)for(c=h.bitLength(b)/8,65279>=c?g=[h.partial(16,c)]:0xffffffff>=c&&(g=h.concat([h.partial(16,65534)],[c])),g=h.concat(g,b),b=0;b<g.length;b+=4)d=a.encrypt(k(d,g.slice(b,b+4).concat([0,0,0])));return d},V:function(a,b,c,d,e,f){var g=sjcl.bitArray,h=g.i;e/=8;if(e%2||4>e||16<e)throw new sjcl.exception.invalid("ccm: invalid tag length");
if(0xffffffff<d.length||0xffffffff<b.length)throw new sjcl.exception.bug("ccm: can't deal with 4GiB or more data");c=sjcl.mode.ccm.na(a,d,c,e,g.bitLength(b)/8,f);for(d=0;d<b.length;d+=4)c=a.encrypt(h(c,b.slice(d,d+4).concat([0,0,0])));return g.clamp(c,8*e)},C:function(a,b,c,d,e,f){var g,h=sjcl.bitArray;g=h.i;var k=b.length,l=h.bitLength(b),n=k/50,m=n;c=h.concat([h.partial(8,f-1)],c).concat([0,0,0]).slice(0,4);d=h.bitSlice(g(d,a.encrypt(c)),0,e);if(!k)return{tag:d,data:[]};for(g=0;g<k;g+=4)g>n&&(sjcl.mode.ccm.fa(g/
k),n+=m),c[3]++,e=a.encrypt(c),b[g]^=e[0],b[g+1]^=e[1],b[g+2]^=e[2],b[g+3]^=e[3];return{tag:d,data:h.clamp(b,l)}}};
sjcl.mode.ocb2={name:"ocb2",encrypt:function(a,b,c,d,e,f){if(128!==sjcl.bitArray.bitLength(c))throw new sjcl.exception.invalid("ocb iv must be 128 bits");var g,h=sjcl.mode.ocb2.S,k=sjcl.bitArray,l=k.i,n=[0,0,0,0];c=h(a.encrypt(c));var m,p=[];d=d||[];e=e||64;for(g=0;g+4<b.length;g+=4)m=b.slice(g,g+4),n=l(n,m),p=p.concat(l(c,a.encrypt(l(c,m)))),c=h(c);m=b.slice(g);b=k.bitLength(m);g=a.encrypt(l(c,[0,0,0,b]));m=k.clamp(l(m.concat([0,0,0]),g),b);n=l(n,l(m.concat([0,0,0]),g));n=a.encrypt(l(n,l(c,h(c))));
d.length&&(n=l(n,f?d:sjcl.mode.ocb2.pmac(a,d)));return p.concat(k.concat(m,k.clamp(n,e)))},decrypt:function(a,b,c,d,e,f){if(128!==sjcl.bitArray.bitLength(c))throw new sjcl.exception.invalid("ocb iv must be 128 bits");e=e||64;var g=sjcl.mode.ocb2.S,h=sjcl.bitArray,k=h.i,l=[0,0,0,0],n=g(a.encrypt(c)),m,p,r=sjcl.bitArray.bitLength(b)-e,q=[];d=d||[];for(c=0;c+4<r/32;c+=4)m=k(n,a.decrypt(k(n,b.slice(c,c+4)))),l=k(l,m),q=q.concat(m),n=g(n);p=r-32*c;m=a.encrypt(k(n,[0,0,0,p]));m=k(m,h.clamp(b.slice(c),p).concat([0,
0,0]));l=k(l,m);l=a.encrypt(k(l,k(n,g(n))));d.length&&(l=k(l,f?d:sjcl.mode.ocb2.pmac(a,d)));if(!h.equal(h.clamp(l,e),h.bitSlice(b,r)))throw new sjcl.exception.corrupt("ocb: tag doesn't match");return q.concat(h.clamp(m,p))},pmac:function(a,b){var c,d=sjcl.mode.ocb2.S,e=sjcl.bitArray,f=e.i,g=[0,0,0,0],h=a.encrypt([0,0,0,0]),h=f(h,d(d(h)));for(c=0;c+4<b.length;c+=4)h=d(h),g=f(g,a.encrypt(f(h,b.slice(c,c+4))));c=b.slice(c);128>e.bitLength(c)&&(h=f(h,d(h)),c=e.concat(c,[-2147483648,0,0,0]));g=f(g,c);
return a.encrypt(f(d(f(h,d(h))),g))},S:function(a){return[a[0]<<1^a[1]>>>31,a[1]<<1^a[2]>>>31,a[2]<<1^a[3]>>>31,a[3]<<1^135*(a[0]>>>31)]}};
sjcl.mode.gcm={name:"gcm",encrypt:function(a,b,c,d,e){var f=b.slice(0);b=sjcl.bitArray;d=d||[];a=sjcl.mode.gcm.C(!0,a,f,d,c,e||128);return b.concat(a.data,a.tag)},decrypt:function(a,b,c,d,e){var f=b.slice(0),g=sjcl.bitArray,h=g.bitLength(f);e=e||128;d=d||[];e<=h?(b=g.bitSlice(f,h-e),f=g.bitSlice(f,0,h-e)):(b=f,f=[]);a=sjcl.mode.gcm.C(!1,a,f,d,c,e);if(!g.equal(a.tag,b))throw new sjcl.exception.corrupt("gcm: tag doesn't match");return a.data},ka:function(a,b){var c,d,e,f,g,h=sjcl.bitArray.i;e=[0,0,
0,0];f=b.slice(0);for(c=0;128>c;c++){(d=0!==(a[Math.floor(c/32)]&1<<31-c%32))&&(e=h(e,f));g=0!==(f[3]&1);for(d=3;0<d;d--)f[d]=f[d]>>>1|(f[d-1]&1)<<31;f[0]>>>=1;g&&(f[0]^=-0x1f000000)}return e},j:function(a,b,c){var d,e=c.length;b=b.slice(0);for(d=0;d<e;d+=4)b[0]^=0xffffffff&c[d],b[1]^=0xffffffff&c[d+1],b[2]^=0xffffffff&c[d+2],b[3]^=0xffffffff&c[d+3],b=sjcl.mode.gcm.ka(b,a);return b},C:function(a,b,c,d,e,f){var g,h,k,l,n,m,p,r,q=sjcl.bitArray;m=c.length;p=q.bitLength(c);r=q.bitLength(d);h=q.bitLength(e);
g=b.encrypt([0,0,0,0]);96===h?(e=e.slice(0),e=q.concat(e,[1])):(e=sjcl.mode.gcm.j(g,[0,0,0,0],e),e=sjcl.mode.gcm.j(g,e,[0,0,Math.floor(h/0x100000000),h&0xffffffff]));h=sjcl.mode.gcm.j(g,[0,0,0,0],d);n=e.slice(0);d=h.slice(0);a||(d=sjcl.mode.gcm.j(g,h,c));for(l=0;l<m;l+=4)n[3]++,k=b.encrypt(n),c[l]^=k[0],c[l+1]^=k[1],c[l+2]^=k[2],c[l+3]^=k[3];c=q.clamp(c,p);a&&(d=sjcl.mode.gcm.j(g,h,c));a=[Math.floor(r/0x100000000),r&0xffffffff,Math.floor(p/0x100000000),p&0xffffffff];d=sjcl.mode.gcm.j(g,d,a);k=b.encrypt(e);
d[0]^=k[0];d[1]^=k[1];d[2]^=k[2];d[3]^=k[3];return{tag:q.bitSlice(d,0,f),data:c}}};sjcl.misc.hmac=function(a,b){this.W=b=b||sjcl.hash.sha256;var c=[[],[]],d,e=b.prototype.blockSize/32;this.w=[new b,new b];a.length>e&&(a=b.hash(a));for(d=0;d<e;d++)c[0][d]=a[d]^909522486,c[1][d]=a[d]^1549556828;this.w[0].update(c[0]);this.w[1].update(c[1]);this.R=new b(this.w[0])};
sjcl.misc.hmac.prototype.encrypt=sjcl.misc.hmac.prototype.mac=function(a){if(this.aa)throw new sjcl.exception.invalid("encrypt on already updated hmac called!");this.update(a);return this.digest(a)};sjcl.misc.hmac.prototype.reset=function(){this.R=new this.W(this.w[0]);this.aa=!1};sjcl.misc.hmac.prototype.update=function(a){this.aa=!0;this.R.update(a)};sjcl.misc.hmac.prototype.digest=function(){var a=this.R.finalize(),a=(new this.W(this.w[1])).update(a).finalize();this.reset();return a};
sjcl.misc.pbkdf2=function(a,b,c,d,e){c=c||1E4;if(0>d||0>c)throw new sjcl.exception.invalid("invalid params to pbkdf2");"string"===typeof a&&(a=sjcl.codec.utf8String.toBits(a));"string"===typeof b&&(b=sjcl.codec.utf8String.toBits(b));e=e||sjcl.misc.hmac;a=new e(a);var f,g,h,k,l=[],n=sjcl.bitArray;for(k=1;32*l.length<(d||1);k++){e=f=a.encrypt(n.concat(b,[k]));for(g=1;g<c;g++)for(f=a.encrypt(f),h=0;h<f.length;h++)e[h]^=f[h];l=l.concat(e)}d&&(l=n.clamp(l,d));return l};
sjcl.prng=function(a){this.c=[new sjcl.hash.sha256];this.m=[0];this.P=0;this.H={};this.N=0;this.U={};this.Z=this.f=this.o=this.ha=0;this.b=[0,0,0,0,0,0,0,0];this.h=[0,0,0,0];this.L=void 0;this.M=a;this.D=!1;this.K={progress:{},seeded:{}};this.u=this.ga=0;this.I=1;this.J=2;this.ca=0x10000;this.T=[0,48,64,96,128,192,0x100,384,512,768,1024];this.da=3E4;this.ba=80};
sjcl.prng.prototype={randomWords:function(a,b){var c=[],d;d=this.isReady(b);var e;if(d===this.u)throw new sjcl.exception.notReady("generator isn't seeded");if(d&this.J){d=!(d&this.I);e=[];var f=0,g;this.Z=e[0]=(new Date).valueOf()+this.da;for(g=0;16>g;g++)e.push(0x100000000*Math.random()|0);for(g=0;g<this.c.length&&(e=e.concat(this.c[g].finalize()),f+=this.m[g],this.m[g]=0,d||!(this.P&1<<g));g++);this.P>=1<<this.c.length&&(this.c.push(new sjcl.hash.sha256),this.m.push(0));this.f-=f;f>this.o&&(this.o=
f);this.P++;this.b=sjcl.hash.sha256.hash(this.b.concat(e));this.L=new sjcl.cipher.aes(this.b);for(d=0;4>d&&(this.h[d]=this.h[d]+1|0,!this.h[d]);d++);}for(d=0;d<a;d+=4)0===(d+1)%this.ca&&y(this),e=z(this),c.push(e[0],e[1],e[2],e[3]);y(this);return c.slice(0,a)},setDefaultParanoia:function(a,b){if(0===a&&"Setting paranoia=0 will ruin your security; use it only for testing"!==b)throw new sjcl.exception.invalid("Setting paranoia=0 will ruin your security; use it only for testing");this.M=a},addEntropy:function(a,
b,c){c=c||"user";var d,e,f=(new Date).valueOf(),g=this.H[c],h=this.isReady(),k=0;d=this.U[c];void 0===d&&(d=this.U[c]=this.ha++);void 0===g&&(g=this.H[c]=0);this.H[c]=(this.H[c]+1)%this.c.length;switch(typeof a){case "number":void 0===b&&(b=1);this.c[g].update([d,this.N++,1,b,f,1,a|0]);break;case "object":c=Object.prototype.toString.call(a);if("[object Uint32Array]"===c){e=[];for(c=0;c<a.length;c++)e.push(a[c]);a=e}else for("[object Array]"!==c&&(k=1),c=0;c<a.length&&!k;c++)"number"!==typeof a[c]&&
(k=1);if(!k){if(void 0===b)for(c=b=0;c<a.length;c++)for(e=a[c];0<e;)b++,e=e>>>1;this.c[g].update([d,this.N++,2,b,f,a.length].concat(a))}break;case "string":void 0===b&&(b=a.length);this.c[g].update([d,this.N++,3,b,f,a.length]);this.c[g].update(a);break;default:k=1}if(k)throw new sjcl.exception.bug("random: addEntropy only supports number, array of numbers or string");this.m[g]+=b;this.f+=b;h===this.u&&(this.isReady()!==this.u&&A("seeded",Math.max(this.o,this.f)),A("progress",this.getProgress()))},
isReady:function(a){a=this.T[void 0!==a?a:this.M];return this.o&&this.o>=a?this.m[0]>this.ba&&(new Date).valueOf()>this.Z?this.J|this.I:this.I:this.f>=a?this.J|this.u:this.u},getProgress:function(a){a=this.T[a?a:this.M];return this.o>=a?1:this.f>a?1:this.f/a},startCollectors:function(){if(!this.D){this.a={loadTimeCollector:B(this,this.ma),mouseCollector:B(this,this.oa),keyboardCollector:B(this,this.la),accelerometerCollector:B(this,this.ea),touchCollector:B(this,this.qa)};if(window.addEventListener)window.addEventListener("load",
this.a.loadTimeCollector,!1),window.addEventListener("mousemove",this.a.mouseCollector,!1),window.addEventListener("keypress",this.a.keyboardCollector,!1),window.addEventListener("devicemotion",this.a.accelerometerCollector,!1),window.addEventListener("touchmove",this.a.touchCollector,!1);else if(document.attachEvent)document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector);else throw new sjcl.exception.bug("can't attach event");
this.D=!0}},stopCollectors:function(){this.D&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,!1),window.removeEventListener("mousemove",this.a.mouseCollector,!1),window.removeEventListener("keypress",this.a.keyboardCollector,!1),window.removeEventListener("devicemotion",this.a.accelerometerCollector,!1),window.removeEventListener("touchmove",this.a.touchCollector,!1)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",
this.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.D=!1)},addEventListener:function(a,b){this.K[a][this.ga++]=b},removeEventListener:function(a,b){var c,d,e=this.K[a],f=[];for(d in e)e.hasOwnProperty(d)&&e[d]===b&&f.push(d);for(c=0;c<f.length;c++)d=f[c],delete e[d]},la:function(){C(this,1)},oa:function(a){var b,c;try{b=a.x||a.clientX||a.offsetX||0,c=a.y||a.clientY||a.offsetY||0}catch(d){c=b=0}0!=b&&0!=c&&this.addEntropy([b,c],2,"mouse");C(this,0)},qa:function(a){a=
a.touches[0]||a.changedTouches[0];this.addEntropy([a.pageX||a.clientX,a.pageY||a.clientY],1,"touch");C(this,0)},ma:function(){C(this,2)},ea:function(a){a=a.accelerationIncludingGravity.x||a.accelerationIncludingGravity.y||a.accelerationIncludingGravity.z;if(window.orientation){var b=window.orientation;"number"===typeof b&&this.addEntropy(b,1,"accelerometer")}a&&this.addEntropy(a,2,"accelerometer");C(this,0)}};
function A(a,b){var c,d=sjcl.random.K[a],e=[];for(c in d)d.hasOwnProperty(c)&&e.push(d[c]);for(c=0;c<e.length;c++)e[c](b)}function C(a,b){"undefined"!==typeof window&&window.performance&&"function"===typeof window.performance.now?a.addEntropy(window.performance.now(),b,"loadtime"):a.addEntropy((new Date).valueOf(),b,"loadtime")}function y(a){a.b=z(a).concat(z(a));a.L=new sjcl.cipher.aes(a.b)}function z(a){for(var b=0;4>b&&(a.h[b]=a.h[b]+1|0,!a.h[b]);b++);return a.L.encrypt(a.h)}
function B(a,b){return function(){b.apply(a,arguments)}}sjcl.random=new sjcl.prng(6);
a:try{var D,E,F,G;if(G="undefined"!==typeof module&&module.exports){var H;try{H=require("crypto")}catch(a){H=null}G=E=H}if(G&&E.randomBytes)D=E.randomBytes(128),D=new Uint32Array((new Uint8Array(D)).buffer),sjcl.random.addEntropy(D,1024,"crypto['randomBytes']");else if("undefined"!==typeof window&&"undefined"!==typeof Uint32Array){F=new Uint32Array(32);if(window.crypto&&window.crypto.getRandomValues)window.crypto.getRandomValues(F);else if(window.msCrypto&&window.msCrypto.getRandomValues)window.msCrypto.getRandomValues(F);
else break a;sjcl.random.addEntropy(F,1024,"crypto['getRandomValues']")}}catch(a){"undefined"!==typeof window&&window.console&&(console.log("There was an error collecting entropy from the browser:"),console.log(a))}
sjcl.json={defaults:{v:1,iter:1E4,ks:128,ts:64,mode:"ccm",adata:"",cipher:"aes"},ja:function(a,b,c,d){c=c||{};d=d||{};var e=sjcl.json,f=e.g({iv:sjcl.random.randomWords(4,0)},e.defaults),g;e.g(f,c);c=f.adata;"string"===typeof f.salt&&(f.salt=sjcl.codec.base64.toBits(f.salt));"string"===typeof f.iv&&(f.iv=sjcl.codec.base64.toBits(f.iv));if(!sjcl.mode[f.mode]||!sjcl.cipher[f.cipher]||"string"===typeof a&&100>=f.iter||64!==f.ts&&96!==f.ts&&128!==f.ts||128!==f.ks&&192!==f.ks&&0x100!==f.ks||2>f.iv.length||
4<f.iv.length)throw new sjcl.exception.invalid("json encrypt: invalid parameters");"string"===typeof a?(g=sjcl.misc.cachedPbkdf2(a,f),a=g.key.slice(0,f.ks/32),f.salt=g.salt):sjcl.ecc&&a instanceof sjcl.ecc.elGamal.publicKey&&(g=a.kem(),f.kemtag=g.tag,a=g.key.slice(0,f.ks/32));"string"===typeof b&&(b=sjcl.codec.utf8String.toBits(b));"string"===typeof c&&(f.adata=c=sjcl.codec.utf8String.toBits(c));g=new sjcl.cipher[f.cipher](a);e.g(d,f);d.key=a;f.ct="ccm"===f.mode&&sjcl.arrayBuffer&&sjcl.arrayBuffer.ccm&&
b instanceof ArrayBuffer?sjcl.arrayBuffer.ccm.encrypt(g,b,f.iv,c,f.ts):sjcl.mode[f.mode].encrypt(g,b,f.iv,c,f.ts);return f},encrypt:function(a,b,c,d){var e=sjcl.json,f=e.ja.apply(e,arguments);return e.encode(f)},ia:function(a,b,c,d){c=c||{};d=d||{};var e=sjcl.json;b=e.g(e.g(e.g({},e.defaults),b),c,!0);var f,g;f=b.adata;"string"===typeof b.salt&&(b.salt=sjcl.codec.base64.toBits(b.salt));"string"===typeof b.iv&&(b.iv=sjcl.codec.base64.toBits(b.iv));if(!sjcl.mode[b.mode]||!sjcl.cipher[b.cipher]||"string"===
typeof a&&100>=b.iter||64!==b.ts&&96!==b.ts&&128!==b.ts||128!==b.ks&&192!==b.ks&&0x100!==b.ks||!b.iv||2>b.iv.length||4<b.iv.length)throw new sjcl.exception.invalid("json decrypt: invalid parameters");"string"===typeof a?(g=sjcl.misc.cachedPbkdf2(a,b),a=g.key.slice(0,b.ks/32),b.salt=g.salt):sjcl.ecc&&a instanceof sjcl.ecc.elGamal.secretKey&&(a=a.unkem(sjcl.codec.base64.toBits(b.kemtag)).slice(0,b.ks/32));"string"===typeof f&&(f=sjcl.codec.utf8String.toBits(f));g=new sjcl.cipher[b.cipher](a);f="ccm"===
b.mode&&sjcl.arrayBuffer&&sjcl.arrayBuffer.ccm&&b.ct instanceof ArrayBuffer?sjcl.arrayBuffer.ccm.decrypt(g,b.ct,b.iv,b.tag,f,b.ts):sjcl.mode[b.mode].decrypt(g,b.ct,b.iv,f,b.ts);e.g(d,b);d.key=a;return 1===c.raw?f:sjcl.codec.utf8String.fromBits(f)},decrypt:function(a,b,c,d){var e=sjcl.json;return e.ia(a,e.decode(b),c,d)},encode:function(a){var b,c="{",d="";for(b in a)if(a.hasOwnProperty(b)){if(!b.match(/^[a-z0-9]+$/i))throw new sjcl.exception.invalid("json encode: invalid property name");c+=d+'"'+
b+'":';d=",";switch(typeof a[b]){case "number":case "boolean":c+=a[b];break;case "string":c+='"'+escape(a[b])+'"';break;case "object":c+='"'+sjcl.codec.base64.fromBits(a[b],0)+'"';break;default:throw new sjcl.exception.bug("json encode: unsupported type");}}return c+"}"},decode:function(a){a=a.replace(/\s/g,"");if(!a.match(/^\{.*\}$/))throw new sjcl.exception.invalid("json decode: this isn't json!");a=a.replace(/^\{|\}$/g,"").split(/,/);var b={},c,d;for(c=0;c<a.length;c++){if(!(d=a[c].match(/^\s*(?:(["']?)([a-z][a-z0-9]*)\1)\s*:\s*(?:(-?\d+)|"([a-z0-9+\/%*_.@=\-]*)"|(true|false))$/i)))throw new sjcl.exception.invalid("json decode: this isn't json!");
null!=d[3]?b[d[2]]=parseInt(d[3],10):null!=d[4]?b[d[2]]=d[2].match(/^(ct|adata|salt|iv)$/)?sjcl.codec.base64.toBits(d[4]):unescape(d[4]):null!=d[5]&&(b[d[2]]="true"===d[5])}return b},g:function(a,b,c){void 0===a&&(a={});if(void 0===b)return a;for(var d in b)if(b.hasOwnProperty(d)){if(c&&void 0!==a[d]&&a[d]!==b[d])throw new sjcl.exception.invalid("required parameter overridden");a[d]=b[d]}return a},sa:function(a,b){var c={},d;for(d in a)a.hasOwnProperty(d)&&a[d]!==b[d]&&(c[d]=a[d]);return c},ra:function(a,
b){var c={},d;for(d=0;d<b.length;d++)void 0!==a[b[d]]&&(c[b[d]]=a[b[d]]);return c}};sjcl.encrypt=sjcl.json.encrypt;sjcl.decrypt=sjcl.json.decrypt;sjcl.misc.pa={};sjcl.misc.cachedPbkdf2=function(a,b){var c=sjcl.misc.pa,d;b=b||{};d=b.iter||1E3;c=c[a]=c[a]||{};d=c[d]=c[d]||{firstSalt:b.salt&&b.salt.length?b.salt.slice(0):sjcl.random.randomWords(2,0)};c=void 0===b.salt?d.firstSalt:b.salt;d[c]=d[c]||sjcl.misc.pbkdf2(a,c,b.iter);return{key:d[c].slice(0),salt:c.slice(0)}};
"undefined"!==typeof module&&module.exports&&(module.exports=sjcl);"function"===typeof define&&define([],function(){return sjcl});

File diff suppressed because one or more lines are too long

11
core/acknowledgements.tid Normal file
View File

@@ -0,0 +1,11 @@
title: $:/Acknowledgements
TiddlyWiki incorporates code from these fine OpenSource projects:
* [[The Stanford Javascript Crypto Library|http://bitwiseshiftleft.github.io/sjcl/]]
* [[The Jasmine JavaScript Test Framework|https://jasmine.github.io/]]
* [[Normalize.css by Nicolas Gallagher|http://necolas.github.io/normalize.css/]]
And media from these projects:
* World flag icons from [[Wikipedia|http://commons.wikimedia.org/wiki/Category:SVG_flags_by_country]]

View File

@@ -1,3 +0,0 @@
title: $:/config/EditorTypeMappings/image/gif
bitmap

View File

@@ -1,3 +0,0 @@
title: $:/config/EditorTypeMappings/image/jpeg
bitmap

View File

@@ -1,3 +0,0 @@
title: $:/config/EditorTypeMappings/image/jpg
bitmap

View File

@@ -1,3 +0,0 @@
title: $:/config/EditorTypeMappings/image/png
bitmap

View File

@@ -1,3 +0,0 @@
title: $:/config/EditorTypeMappings/image/x-icon
bitmap

View File

@@ -1,3 +0,0 @@
title: $:/config/EditorTypeMappings/text/vnd.tiddlywiki
text

View File

@@ -3,30 +3,31 @@ type: text/plain
TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)
Copyright © Jeremy Ruston 2004-2007
Copyright © UnaMesa Association 2007-2014
Copyright (c) 2004-2007, Jeremy Ruston
Copyright (c) 2007-2023, UnaMesa Association
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
Neither the name of the UnaMesa Association nor the names of its contributors may be
used to endorse or promote products derived from this software without specific
prior written permission.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

5
core/icon.tid Normal file
View File

@@ -0,0 +1,5 @@
title: $:/core/icon
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> viewBox="0 0 128 128"><path d="M64 0l54.56 32v64L64 128 9.44 96V32L64 0zm21.127 95.408c-3.578-.103-5.15-.094-6.974-3.152l-1.42.042c-1.653-.075-.964-.04-2.067-.097-1.844-.07-1.548-1.86-1.873-2.8-.52-3.202.687-6.43.65-9.632-.014-1.14-1.593-5.17-2.157-6.61-1.768.34-3.546.406-5.34.497-4.134-.01-8.24-.527-12.317-1.183-.8 3.35-3.16 8.036-1.21 11.44 2.37 3.52 4.03 4.495 6.61 4.707 2.572.212 3.16 3.18 2.53 4.242-.55.73-1.52.864-2.346 1.04l-1.65.08c-1.296-.046-2.455-.404-3.61-.955-1.93-1.097-3.925-3.383-5.406-5.024.345.658.55 1.938.24 2.53-.878 1.27-4.665 1.26-6.4.47-1.97-.89-6.73-7.162-7.468-11.86 1.96-3.78 4.812-7.07 6.255-11.186-3.146-2.05-4.83-5.384-4.61-9.16l.08-.44c-3.097.59-1.49.37-4.82.628-10.608-.032-19.935-7.37-14.68-18.774.34-.673.664-1.287 1.243-.994.466.237.4 1.18.166 2.227-3.005 13.627 11.67 13.732 20.69 11.21.89-.25 2.67-1.936 3.905-2.495 2.016-.91 4.205-1.282 6.376-1.55 5.4-.63 11.893 2.276 15.19 2.37 3.3.096 7.99-.805 10.87-.615 2.09.098 4.143.483 6.16 1.03 1.306-6.49 1.4-11.27 4.492-12.38 1.814.293 3.213 2.818 4.25 4.167 2.112-.086 4.12.46 6.115 1.066 3.61-.522 6.642-2.593 9.833-4.203-3.234 2.69-3.673 7.075-3.303 11.127.138 2.103-.444 4.386-1.164 6.54-1.348 3.507-3.95 7.204-6.97 7.014-1.14-.036-1.805-.695-2.653-1.4-.164 1.427-.81 2.7-1.434 3.96-1.44 2.797-5.203 4.03-8.687 7.016-3.484 2.985 1.114 13.65 2.23 15.594 1.114 1.94 4.226 2.652 3.02 4.406-.37.58-.936.785-1.54 1.01l-.82.11zm-40.097-8.85l.553.14c.694-.27 2.09.15 2.83.353-1.363-1.31-3.417-3.24-4.897-4.46-.485-1.47-.278-2.96-.174-4.46l.02-.123c-.582 1.205-1.322 2.376-1.72 3.645-.465 1.71 2.07 3.557 3.052 4.615l.336.3z" fill-rule="evenodd"/></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/add-comment
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-add-comment tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M56 56H36a8 8 0 100 16h20v20a8 8 0 1016 0V72h20a8 8 0 100-16H72V36a8 8 0 10-16 0v20zm-12.595 58.362c-6.683 7.659-20.297 12.903-36.006 12.903-2.196 0-4.35-.102-6.451-.3 9.652-3.836 17.356-12.24 21.01-22.874C8.516 94.28 0 79.734 0 63.5 0 33.953 28.206 10 63 10s63 23.953 63 53.5S97.794 117 63 117c-6.841 0-13.428-.926-19.595-2.638z"/></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/advanced-search-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-advanced-search-button tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M74.565 87.985A47.776 47.776 0 0148 96C21.49 96 0 74.51 0 48S21.49 0 48 0s48 21.49 48 48c0 9.854-2.97 19.015-8.062 26.636l34.347 34.347a9.443 9.443 0 010 13.36 9.446 9.446 0 01-13.36 0l-34.36-34.358zM48 80c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32z"/><circle cx="48" cy="48" r="8"/><circle cx="28" cy="48" r="8"/><circle cx="68" cy="48" r="8"/></g></svg>

5
core/images/auto-height.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/auto-height
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-auto-height tc-image-button" viewBox="0 0 128 128"><path d="M67.987 114.356l-.029-14.477a4 4 0 00-2.067-3.494l-15.966-8.813-1.933 7.502H79.9c4.222 0 5.564-5.693 1.786-7.58L49.797 71.572 48.01 79.15h31.982c4.217 0 5.564-5.682 1.795-7.575L49.805 55.517l-1.795 7.575h31.982c4.212 0 5.563-5.67 1.805-7.57l-16.034-8.105 2.195 3.57V35.614l9.214 9.213a4 4 0 105.656-5.656l-16-16a4 4 0 00-5.656 0l-16 16a4 4 0 105.656 5.656l9.13-9.13v15.288a4 4 0 002.195 3.57l16.035 8.106 1.804-7.57H48.01c-4.217 0-5.564 5.682-1.795 7.574l31.982 16.059 1.795-7.575H48.01c-4.222 0-5.564 5.693-1.787 7.579l31.89 15.923 1.787-7.578H47.992c-4.133 0-5.552 5.504-1.933 7.501l15.966 8.813-2.067-3.494.029 14.436-9.159-9.158a4 4 0 00-5.656 5.656l16 16a4 4 0 005.656 0l16-16a4 4 0 10-5.656-5.656l-9.185 9.184zM16 20h96a4 4 0 100-8H16a4 4 0 100 8z"/></svg>

5
core/images/blank.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/blank
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-blank tc-image-button" viewBox="0 0 128 128"/>

5
core/images/bold.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/bold
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-bold tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M41.146 51.81V21.87h26.353c2.51 0 4.93.21 7.26.628 2.33.418 4.392 1.165 6.185 2.24 1.793 1.076 3.227 2.57 4.302 4.482 1.076 1.913 1.614 4.363 1.614 7.35 0 5.379-1.613 9.263-4.84 11.653-3.227 2.39-7.35 3.586-12.37 3.586H41.146zM13 0v128h62.028a65.45 65.45 0 0016.762-2.151c5.438-1.434 10.278-3.645 14.52-6.633 4.244-2.988 7.62-6.842 10.13-11.563 2.51-4.721 3.764-10.308 3.764-16.762 0-8.008-1.942-14.85-5.826-20.527-3.884-5.677-9.77-9.65-17.658-11.921 5.737-2.75 10.069-6.275 12.997-10.577 2.928-4.303 4.392-9.681 4.392-16.135 0-5.976-.986-10.995-2.958-15.059-1.972-4.063-4.75-7.32-8.336-9.77-3.585-2.45-7.888-4.213-12.907-5.289C84.888.538 79.33 0 73.235 0H13zm28.146 106.129V70.992H71.8c6.095 0 10.995 1.404 14.7 4.212 3.705 2.81 5.558 7.5 5.558 14.073 0 3.347-.568 6.096-1.703 8.247-1.136 2.151-2.66 3.854-4.572 5.11-1.912 1.254-4.123 2.15-6.633 2.688-2.51.538-5.139.807-7.888.807H41.146z"/></svg>

4
core/images/cancel-button.tid Normal file → Executable file
View File

@@ -1,3 +1,5 @@
title: $:/core/images/cancel-button
tags: $:/tags/Image
<svg class="tw-image-cancel-button tw-image-button" viewBox="366 150 58 58" width="22pt" height="22pt"><path d="M 414.76236 158.98764 C 403.77887 148.0041 385.97113 148.0041 374.98764 158.98764 C 364.0041 169.97113 364.0041 187.77887 374.98764 198.76236 C 385.97113 209.7459 403.77887 209.7459 414.76236 198.76236 C 425.7459 187.77887 425.7459 169.97113 414.76236 158.98764 M 385.3967 165.32954 L 385.3967 165.32954 L 394.77674 174.7096 L 404.3533 165.13303 C 405.53068 163.95566 407.4396 163.95566 408.61697 165.13303 C 409.79434 166.31041 409.79434 168.21932 408.61697 169.39669 L 399.0404 178.97325 L 408.42046 188.35331 C 409.59783 189.53068 409.59783 191.43959 408.42046 192.61697 L 408.42046 192.61697 C 407.24308 193.79434 405.33417 193.79434 404.1568 192.61697 L 394.77675 183.23692 L 385.5932 192.42046 C 384.41583 193.59783 382.50692 193.59783 381.32954 192.42046 L 381.32954 192.42046 C 380.15217 191.24308 380.15217 189.33417 381.32954 188.1568 C 381.32954 188.1568 381.32954 188.1568 381.32954 188.1568 L 381.32954 188.1568 L 381.32954 188.1568 L 390.51309 178.97326 L 381.13303 169.5932 C 379.95566 168.41583 379.95566 166.50692 381.13303 165.32954 L 381.13303 165.32954 C 382.3104 164.15217 384.21932 164.15217 385.3967 165.32954 C 385.3967 165.32954 385.3967 165.32954 385.3967 165.32954 Z"/></svg>
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-cancel-button tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M64 76.314l-16.97 16.97a7.999 7.999 0 01-11.314 0c-3.118-3.118-3.124-8.19 0-11.313L52.686 65l-16.97-16.97a7.999 7.999 0 010-11.314c3.118-3.118 8.19-3.124 11.313 0L64 53.686l16.97-16.97a7.999 7.999 0 0111.314 0c3.118 3.118 3.124 8.19 0 11.313L75.314 65l16.97 16.97a7.999 7.999 0 010 11.314c-3.118 3.118-8.19 3.124-11.313 0L64 76.314zM64 129c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 1 0 29.654 0 65c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 17 64 17 16 38.49 16 65s21.49 48 48 48z"/></svg>

5
core/images/chevron-down.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/chevron-down
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-chevron-down tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M64.053 85.456a7.889 7.889 0 01-5.6-2.316L2.473 27.16a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0L64.05 66.344l50.382-50.382a7.92 7.92 0 0111.195 0c3.085 3.086 3.092 8.105 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.317z"/><path d="M64.053 124.069a7.889 7.889 0 01-5.6-2.316l-55.98-55.98a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0l50.382 50.382 50.382-50.382a7.92 7.92 0 0111.195 0c3.085 3.086 3.092 8.104 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.316z"/></g></svg>

5
core/images/chevron-left.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/chevron-left
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-chevron-left tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M47.544 64.053c0-2.027.77-4.054 2.316-5.6l55.98-55.98a7.92 7.92 0 0111.196 0c3.085 3.086 3.092 8.105 0 11.196L66.656 64.05l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.085-8.105 3.092-11.196 0l-55.98-55.98a7.892 7.892 0 01-2.317-5.595z"/><path d="M8.931 64.053c0-2.027.77-4.054 2.316-5.6l55.98-55.98a7.92 7.92 0 0111.196 0c3.085 3.086 3.092 8.105 0 11.196L28.041 64.05l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.085-8.104 3.092-11.196 0l-55.98-55.98a7.892 7.892 0 01-2.316-5.595z"/></g></svg>

5
core/images/chevron-right.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/chevron-right
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-chevron-right tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M83.456 63.947c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196L64.344 63.95 13.963 13.567a7.92 7.92 0 010-11.195c3.086-3.085 8.105-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.317 5.595z"/><path d="M122.069 63.947c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l50.382-50.382-50.382-50.382a7.92 7.92 0 010-11.195c3.086-3.085 8.104-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.316 5.595z"/></g></svg>

5
core/images/chevron-up.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/chevron-up
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-chevron-up tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M63.947 44.544c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.105 3.092-11.196 0L63.95 63.656l-50.382 50.382a7.92 7.92 0 01-11.195 0c-3.085-3.086-3.092-8.105 0-11.196l55.98-55.98a7.892 7.892 0 015.595-2.317z"/><path d="M63.947 5.931c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.105 3.092-11.196 0L63.95 25.041 13.567 75.423a7.92 7.92 0 01-11.195 0c-3.085-3.086-3.092-8.104 0-11.196l55.98-55.98a7.892 7.892 0 015.595-2.316z"/></g></svg>

5
core/images/clone-button.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/clone-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-clone-button tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M32.265 96v24.002A7.996 7.996 0 0040.263 128h79.74a7.996 7.996 0 007.997-7.998v-79.74a7.996 7.996 0 00-7.998-7.997H96V48h12.859a2.99 2.99 0 012.994 2.994v57.865a2.99 2.99 0 01-2.994 2.994H50.994A2.99 2.99 0 0148 108.859V96H32.265z"/><path d="M40 56h-7.993C27.588 56 24 52.418 24 48c0-4.41 3.585-8 8.007-8H40v-7.993C40 27.588 43.582 24 48 24c4.41 0 8 3.585 8 8.007V40h7.993C68.412 40 72 43.582 72 48c0 4.41-3.585 8-8.007 8H56v7.993C56 68.412 52.418 72 48 72c-4.41 0-8-3.585-8-8.007V56zM8 0C3.58 0 0 3.588 0 8v80c0 4.419 3.588 8 8 8h80c4.419 0 8-3.588 8-8V8c0-4.419-3.588-8-8-8H8zM19 16A2.997 2.997 0 0016 19.001v57.998A2.997 2.997 0 0019.001 80h57.998A2.997 2.997 0 0080 76.999V19.001A2.997 2.997 0 0076.999 16H19.001z"/></g></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/close-all-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-close-all-button tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M28 111.314l-14.144 14.143a8 8 0 01-11.313-11.313L16.686 100 2.543 85.856a8 8 0 0111.313-11.313L28 88.686l14.144-14.143a8 8 0 0111.313 11.313L39.314 100l14.143 14.144a8 8 0 01-11.313 11.313L28 111.314zM28 39.314L13.856 53.457A8 8 0 012.543 42.144L16.686 28 2.543 13.856A8 8 0 0113.856 2.543L28 16.686 42.144 2.543a8 8 0 0111.313 11.313L39.314 28l14.143 14.144a8 8 0 01-11.313 11.313L28 39.314zM100 39.314L85.856 53.457a8 8 0 01-11.313-11.313L88.686 28 74.543 13.856A8 8 0 0185.856 2.543L100 16.686l14.144-14.143a8 8 0 0111.313 11.313L111.314 28l14.143 14.144a8 8 0 01-11.313 11.313L100 39.314zM100 111.314l-14.144 14.143a8 8 0 01-11.313-11.313L88.686 100 74.543 85.856a8 8 0 0111.313-11.313L100 88.686l14.144-14.143a8 8 0 0111.313 11.313L111.314 100l14.143 14.144a8 8 0 01-11.313 11.313L100 111.314z"/></g></svg>

4
core/images/close-button.tid Normal file → Executable file
View File

@@ -1,3 +1,5 @@
title: $:/core/images/close-button
tags: $:/tags/Image
<svg class="tw-image-close-button tw-image-button" viewBox="222 150 56 56" width="22pt" height="22pt"><path d="M 249.56668 185.88827 L 267.06757 203.38916 C 269.26427 205.58586 272.82582 205.58586 275.02252 203.38916 L 275.02252 203.38916 C 277.21922 201.19246 277.21922 197.63091 275.02252 195.43421 L 257.52163 177.93332 L 275.38916 160.06579 C 277.58586 157.86909 277.58586 154.30754 275.38916 152.11084 C 273.19246 149.91414 269.63091 149.91414 267.43421 152.11084 L 249.56668 169.97837 L 232.06579 152.47748 L 232.06579 152.47748 C 232.06579 152.47748 232.06579 152.47748 232.06579 152.47748 C 229.86909 150.28078 226.30754 150.28078 224.11084 152.47748 L 224.11084 152.47748 C 221.91414 154.674175 221.91414 158.23573 224.11084 160.43243 L 241.61173 177.93332 L 224.47748 195.06757 L 224.47748 195.06757 L 224.47748 195.06757 C 224.47748 195.06757 224.47748 195.06757 224.47748 195.06757 C 222.28078 197.26427 222.28078 200.82583 224.47748 203.02252 L 224.47748 203.02252 C 226.67418 205.21922 230.23573 205.21922 232.43243 203.02252 Z"/></svg>
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-close-button tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M65.086 75.41l-50.113 50.113c-3.121 3.121-8.192 3.126-11.316.002-3.118-3.118-3.123-8.19.002-11.316l50.114-50.114L3.659 13.982C.538 10.86.533 5.79 3.657 2.666c3.118-3.118 8.19-3.123 11.316.002l50.113 50.114L115.2 2.668c3.121-3.121 8.192-3.126 11.316-.002 3.118 3.118 3.123 8.19-.002 11.316L76.4 64.095l50.114 50.114c3.121 3.121 3.126 8.192.002 11.316-3.118 3.118-8.19 3.123-11.316-.002L65.086 75.409z"/></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/close-others-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-close-others-button tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48zm0-16c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32zm0-16c8.837 0 16-7.163 16-16s-7.163-16-16-16-16 7.163-16 16 7.163 16 16 16z"/></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/copy-clipboard
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-copy-clipboard tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><rect width="33" height="8" x="40" y="40" rx="4"/><rect width="17" height="8" x="40" y="82" rx="4"/><rect width="17" height="8" x="40" y="54" rx="4"/><rect width="33" height="8" x="40" y="96" rx="4"/><rect width="12" height="8" x="40" y="68" rx="4"/><path d="M40 16H24c-4.419 0-8 3.59-8 8a8.031 8.031 0 000 .01v95.98a8.03 8.03 0 000 .01c0 4.41 3.581 8 8 8h80a7.975 7.975 0 005.652-2.34 7.958 7.958 0 002.348-5.652v-16.016c0-4.414-3.582-7.992-8-7.992-4.41 0-8 3.578-8 7.992V112H32V32h64v8.008C96 44.422 99.582 48 104 48c4.41 0 8-3.578 8-7.992V23.992a7.963 7.963 0 00-2.343-5.651A7.995 7.995 0 00104.001 16H88c0-4.41-3.585-8-8.007-8H48.007C43.588 8 40 11.582 40 16zm4-1.004A4.001 4.001 0 0148 11h32c2.21 0 4 1.797 4 3.996v4.008A4.001 4.001 0 0180 23H48c-2.21 0-4-1.797-4-3.996v-4.008z"/><rect width="66" height="16" x="62" y="64" rx="8"/><path d="M84.657 82.343l-16-16v11.314l16-16a8 8 0 10-11.314-11.314l-16 16a8 8 0 000 11.314l16 16a8 8 0 1011.314-11.314z"/></g></svg>

4
core/images/delete-button.tid Normal file → Executable file
View File

@@ -1,3 +1,5 @@
title: $:/core/images/delete-button
tags: $:/tags/Image
<svg class="tw-image-delete-button tw-image-button" viewBox="303 155 39 50" width="17pt" height="22pt"><path d="M 333 164.25 L 333 157.25 C 333 156.14543 332.10457 155.25 331 155.25 L 314.75 155.25 C 314.75 155.25 314.75 155.25 314.75 155.25 C 313.64543 155.25 312.75 156.14543 312.75 157.25 L 312.75 164.25 L 303.75 164.25 L 303.75 168.75 L 306 168.75 L 306 201.75 L 306 201.75 L 306 201.75 C 306 203.40685 307.34315 204.75 309 204.75 L 336.75 204.75 C 338.40685 204.75 339.75 203.40685 339.75 201.75 L 339.75 168.75 L 342 168.75 L 342 164.25 Z M 317.25 160.75 L 317.25 160.75 C 317.25 160.19772 317.69772 159.75 318.25 159.75 C 318.25 159.75 318.25 159.75 318.25 159.75 L 327.5 159.75 C 328.05228 159.75 328.5 160.19772 328.5 160.75 L 328.5 164.25 L 317.25 164.25 L 317.25 160.75 Z M 310.5 168.75 L 312.75 168.75 L 312.75 200.25 L 310.5 200.25 Z M 317.25 168.75 L 319.5 168.75 L 319.5 200.25 L 317.25 200.25 Z M 324 168.75 L 326.25 168.75 L 326.25 200.25 L 324 200.25 Z M 330.75 168.75 L 333 168.75 L 333 200.25 L 330.75 200.25 Z"/></svg>
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-delete-button tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd" transform="translate(12)"><rect width="105" height="16" y="11" rx="8"/><rect width="48" height="16" x="28" rx="8"/><rect width="16" height="112" x="8" y="16" rx="8"/><rect width="88" height="16" x="8" y="112" rx="8"/><rect width="16" height="112" x="80" y="16" rx="8"/><rect width="16" height="112" x="56" y="16" rx="8"/><rect width="16" height="112" x="32" y="16" rx="8"/></g></svg>

4
core/images/done-button.tid Normal file → Executable file
View File

@@ -1,3 +1,5 @@
title: $:/core/images/done-button
tags: $:/tags/Image
<svg class="tw-image-done-button tw-image-button" viewBox="434 150 68 55" width="22pt" height="18pt"><path d="M 438.49266 178.00797 L 439.00744 177.49319 C 441.35054 175.15008 445.14946 175.15004 447.49262 177.49309 L 452.50734 182.50757 C 454.8505 184.85063 458.6494 184.85058 460.99252 182.50748 L 488.50747 154.99255 C 490.85058 152.64944 494.6495 152.6494 496.99266 154.99246 L 497.50722 155.506995 C 499.8504 157.85009 499.8505 161.64908 497.5074 163.99228 C 497.50738 163.99229 497.50736 163.99231 497.50734 163.99233 L 460.9926 200.5077 C 458.64947 202.85087 454.85048 202.8509 452.50732 200.50778 C 452.5073 200.50777 452.5073 200.50777 452.5073 200.50776 L 438.49268 186.49327 C 436.14952 184.15013 436.1495 180.35114 438.49264 178.00799 C 438.49265 178.00798 438.49265 178.00797 438.49266 178.00797 Z"/></svg>
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-done-button tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M42.26 111.032c-2.051.001-4.103-.78-5.668-2.345L2.662 74.758a8 8 0 01-.005-11.32c3.118-3.117 8.192-3.12 11.32.007l28.278 28.278 72.124-72.124a8.002 8.002 0 0111.314-.001c3.118 3.118 3.124 8.19 0 11.315l-77.78 77.78a7.978 7.978 0 01-5.658 2.343z"/></svg>

4
core/images/down-arrow.tid Normal file → Executable file
View File

@@ -1,3 +1,5 @@
title: $:/core/images/down-arrow
tags: $:/tags/Image
<svg class="tw-image-down-arrow tw-image-button" viewBox="441 306 59 45" width="24pt" height="22pt"><path d="M 441 306 L 470.25 351 L 499.5 306 Z"/></svg>
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-down-arrow tc-image-button" viewBox="0 0 128 128"><path d="M64.177 100.069a7.889 7.889 0 01-5.6-2.316l-55.98-55.98a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0l50.382 50.382 50.382-50.382a7.92 7.92 0 0111.195 0c3.086 3.086 3.092 8.104 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.316z"/></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/download-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-download-button tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48z" class="tc-image-download-button-ring"/><path d="M34.35 66.43l26.892 27.205a4.57 4.57 0 006.516 0L94.65 66.43a4.7 4.7 0 000-6.593 4.581 4.581 0 00-3.258-1.365h-8.46c-2.545 0-4.608-2.087-4.608-4.661v-15.15c0-2.575-2.063-4.662-4.608-4.662H55.284c-2.545 0-4.608 2.087-4.608 4.662v15.15c0 2.574-2.063 4.661-4.608 4.661h-8.46c-2.545 0-4.608 2.087-4.608 4.662a4.69 4.69 0 001.35 3.296z"/></g></svg>

4
core/images/edit-button.tid Normal file → Executable file
View File

@@ -1,3 +1,5 @@
title: $:/core/images/edit-button
tags: $:/tags/Image
<svg class="tw-image-edit-button tw-image-button" viewBox="244 193 20 22" width="20pt" height="22pt"><path d="M 257.33334 196.80951 L 245.90476 207.2857 L 244 212.0476 L 248.7619 210.14284 L 260.19048 199.66665 Z M 259.2381 194.90475 L 258.28566 195.85716 L 261.14284 198.71428 L 262.09522 197.76187 Z M 261.14286 193 L 260.19042 193.95241 L 263.04762 196.80953 L 264 195.85714 Z M 244 213.72882 C 244 213.72882 247.4281 215.43353 250.8572 213.7288 C 254.28599 212.02405 261.14284 214.86531 261.14284 214.86531 L 261.14284 213.72884 C 261.14284 213.72884 254.28577 210.88755 250.8572 212.5923 C 247.42858 214.29712 244 212.59228 244 212.59228 Z"/></svg>
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-edit-button tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M95.627 10.059l-5.656 5.657 11.313 11.313 5.657-5.656-11.314-11.314zm5.657-5.657l1.966-1.966c3.123-3.122 8.194-3.129 11.319-.005 3.117 3.118 3.122 8.192-.005 11.32l-1.966 1.965-11.314-11.314zm-16.97 16.97l-60.25 60.25a8.12 8.12 0 00-.322.342c-.1.087-.198.179-.295.275-5.735 5.735-10.702 22.016-10.702 22.016s16.405-5.09 22.016-10.702c.095-.096.186-.193.272-.292a8.12 8.12 0 00.345-.325l60.25-60.25-11.314-11.313zM35.171 124.19c6.788-.577 13.898-2.272 23.689-5.348 1.825-.573 3.57-1.136 6.336-2.04 16-5.226 21.877-6.807 28.745-7.146 8.358-.413 13.854 2.13 17.58 8.699a4 4 0 006.959-3.946c-5.334-9.406-13.745-13.296-24.933-12.744-7.875.39-14.057 2.052-30.835 7.533-2.739.894-4.46 1.45-6.25 2.012-19.46 6.112-30.77 7.072-39.597 1.747a4 4 0 10-4.132 6.85c6.333 3.82 13.754 5.12 22.438 4.383z"/></g></svg>

5
core/images/erase.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/erase
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-erase tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M60.087 127.996l63.015-63.015c6.535-6.535 6.528-17.115-.003-23.646L99.466 17.702c-6.539-6.538-17.117-6.532-23.646-.003L4.898 88.62c-6.535 6.534-6.528 17.115.003 23.646l15.73 15.73h39.456zm-34.95-7.313l-14.324-14.325c-3.267-3.268-3.268-8.564-.008-11.824L46.269 59.07l35.462 35.462-26.15 26.15H25.137z"/></svg>

5
core/images/excise.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/excise
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-excise tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M56 107.314l-2.343 2.343a8 8 0 11-11.314-11.314l16-16a8 8 0 0111.314 0l16 16a8 8 0 11-11.314 11.314L72 107.314v14.284c0 3.536-3.582 6.402-8 6.402s-8-2.866-8-6.402v-14.284zM0 40.007C0 35.585 3.59 32 8 32c4.418 0 8 3.588 8 8.007v31.986C16 76.415 12.41 80 8 80c-4.418 0-8-3.588-8-8.007V40.007zm32 0C32 35.585 35.59 32 40 32c4.418 0 8 3.588 8 8.007v31.986C48 76.415 44.41 80 40 80c-4.418 0-8-3.588-8-8.007V40.007zm48 0C80 35.585 83.59 32 88 32c4.418 0 8 3.588 8 8.007v31.986C96 76.415 92.41 80 88 80c-4.418 0-8-3.588-8-8.007V40.007zm-24-32C56 3.585 59.59 0 64 0c4.418 0 8 3.588 8 8.007v31.986C72 44.415 68.41 48 64 48c-4.418 0-8-3.588-8-8.007V8.007zm56 32c0-4.422 3.59-8.007 8-8.007 4.418 0 8 3.588 8 8.007v31.986c0 4.422-3.59 8.007-8 8.007-4.418 0-8-3.588-8-8.007V40.007z"/></svg>

5
core/images/export-button.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/export-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-export-button tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M8.003 128H119.993a7.984 7.984 0 005.664-2.349v.007A7.975 7.975 0 00128 120V56c0-4.418-3.59-8-8-8-4.418 0-8 3.58-8 8v56H16V56c0-4.418-3.59-8-8-8-4.418 0-8 3.58-8 8v64c0 4.418 3.59 8 8 8h.003zm48.62-100.689l-8.965 8.966c-3.125 3.125-8.195 3.13-11.319.005-3.118-3.118-3.122-8.192.005-11.319L58.962 2.346A7.986 7.986 0 0164.625 0l-.006.002c2.05-.001 4.102.78 5.666 2.344l22.618 22.617c3.124 3.125 3.129 8.195.005 11.319-3.118 3.118-8.192 3.122-11.319-.005l-8.965-8.966v61.256c0 4.411-3.582 8-8 8-4.41 0-8-3.582-8-8V27.311z"/></svg>

5
core/images/file.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/file
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-file tc-image-button" viewBox="0 0 128 128"><path d="M111.968 30.5H112V120a8 8 0 01-8 8H24a8 8 0 01-8-8V8a8 8 0 018-8h57v.02a7.978 7.978 0 015.998 2.337l22.627 22.627a7.975 7.975 0 012.343 5.516zM81 8H24v112h80V30.5H89c-4.418 0-8-3.578-8-8V8z"/><rect width="64" height="8" x="32" y="36" rx="4"/><rect width="64" height="8" x="32" y="52" rx="4"/><rect width="64" height="8" x="32" y="68" rx="4"/><rect width="64" height="8" x="32" y="84" rx="4"/><rect width="64" height="8" x="32" y="100" rx="4"/><rect width="40" height="8" x="32" y="20" rx="4"/></svg>

5
core/images/fixed-height.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/fixed-height
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-fixed-height tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M60 35.657l-9.172 9.171a4 4 0 11-5.656-5.656l16-16a4 4 0 015.656 0l16 16a4 4 0 01-5.656 5.656L68 35.657v57.686l9.172-9.171a4 4 0 115.656 5.656l-16 16a4 4 0 01-5.656 0l-16-16a4 4 0 115.656-5.656L60 93.343V35.657zM16 116h96a4 4 0 100-8H16a4 4 0 100 8zm0-96h96a4 4 0 100-8H16a4 4 0 100 8z"/></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/fold-all-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-fold-all tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><rect width="128" height="16" rx="8"/><rect width="128" height="16" y="64" rx="8"/><path d="M64.03 20.004c-2.05 0-4.102.78-5.667 2.344L35.746 44.966c-3.125 3.124-3.13 8.194-.005 11.318 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.965 16.966 16.965c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.191-.005-11.318L69.687 22.348a7.986 7.986 0 00-5.663-2.346zM64.03 85.002c-2.05-.001-4.102.78-5.667 2.344l-22.617 22.617c-3.125 3.125-3.13 8.195-.005 11.319 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.966 16.966 16.966c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.192-.005-11.319L69.687 87.346A7.986 7.986 0 0064.024 85z"/></g></svg>

5
core/images/fold-button.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/fold-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-fold tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><rect width="128" height="16" rx="8"/><path d="M64.03 25.004c-2.05 0-4.102.78-5.667 2.344L35.746 49.966c-3.125 3.124-3.13 8.194-.005 11.318 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.965 16.966 16.965c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.191-.005-11.318L69.687 27.348a7.986 7.986 0 00-5.663-2.346zM64.005 67.379c-2.05 0-4.102.78-5.666 2.344L35.722 92.34c-3.125 3.125-3.13 8.195-.006 11.32 3.118 3.117 8.192 3.121 11.32-.006L64 86.69l16.965 16.965c3.125 3.125 8.195 3.13 11.319.005 3.118-3.118 3.122-8.192-.005-11.319L69.663 69.723A7.986 7.986 0 0064 67.377z"/></g></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/fold-others-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-fold-others tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><rect width="128" height="16" y="56.031" rx="8"/><path d="M86.632 79.976c-2.05 0-4.102.78-5.666 2.345L64 99.286 47.034 82.321a7.986 7.986 0 00-5.662-2.346l.005.001c-2.05 0-4.102.78-5.666 2.345l-22.618 22.617c-3.124 3.125-3.129 8.195-.005 11.319 3.118 3.118 8.192 3.122 11.319-.005l16.966-16.966 16.965 16.966a7.986 7.986 0 005.663 2.346l-.005-.002c2.05 0 4.102-.78 5.666-2.344l16.965-16.966 16.966 16.966c3.125 3.124 8.194 3.129 11.319.005 3.118-3.118 3.122-8.192-.005-11.319L92.289 82.321a7.986 7.986 0 00-5.663-2.346zM86.7 48.024c-2.05 0-4.102-.78-5.666-2.345L64.07 28.714 47.103 45.679a7.986 7.986 0 01-5.663 2.346l.005-.001c-2.05 0-4.101-.78-5.666-2.345L13.162 23.062c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L41.44 28.714l16.966-16.966a7.986 7.986 0 015.662-2.346l-.005.002c2.05 0 4.102.78 5.666 2.344l16.966 16.966 16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L92.358 45.679a7.986 7.986 0 01-5.663 2.346z"/></g></svg>

5
core/images/folder.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/folder
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-folder tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M55.694 128H8C3.58 128 0 124.414 0 119.996V48.004C0 43.584 3.584 40 7.999 40H16v-8c0-4.418 3.578-8 8-8h32a8 8 0 018 8v8h40.001c4.418 0 7.999 3.586 7.999 8.004V59.83l-8-.082v-7.749A4 4 0 0099.997 48H56V36c0-2.21-1.793-4-4.004-4H28.004A4 4 0 0024 36v12H12.003A4 4 0 008 52v64a4 4 0 004.003 4h46.76l-3.069 8z"/><path d="M23.873 55.5h96.003c4.417 0 7.004 4.053 5.774 9.063l-13.344 54.374c-1.228 5.005-5.808 9.063-10.223 9.063H6.08c-4.417 0-7.003-4.053-5.774-9.063L13.65 64.563c1.228-5.005 5.808-9.063 10.223-9.063zm1.78 8.5h87.994c2.211 0 3.504 2.093 2.891 4.666l-11.12 46.668c-.614 2.577-2.902 4.666-5.115 4.666H12.31c-2.211 0-3.504-2.093-2.891-4.666l11.12-46.668C21.152 66.09 23.44 64 25.653 64z"/></g></svg>

View File

@@ -0,0 +1,5 @@
title: $:/core/images/full-screen-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-full-screen-button tc-image-button" viewBox="0 0 128 128"><path d="M0 8a8 8 0 018-8h32a8 8 0 110 16H16v24a8 8 0 11-16 0V8zM128 120a8 8 0 01-8 8H88a8 8 0 110-16h24V88a8 8 0 1116 0v32zM8 128a8 8 0 01-8-8V88a8 8 0 1116 0v24h24a8 8 0 110 16H8zM120 0a8 8 0 018 8v32a8 8 0 11-16 0V16H88a8 8 0 110-16h32z"/></svg>

5
core/images/github.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/github
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-github tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M63.938 1.607c-35.336 0-63.994 28.69-63.994 64.084 0 28.312 18.336 52.329 43.768 60.802 3.202.59 4.37-1.388 4.37-3.088 0-1.518-.056-5.55-.087-10.897-17.802 3.871-21.558-8.591-21.558-8.591-2.911-7.404-7.108-9.375-7.108-9.375-5.81-3.973.44-3.895.44-3.895 6.424.453 9.803 6.606 9.803 6.606 5.709 9.791 14.981 6.963 18.627 5.322.582-4.138 2.236-6.963 4.063-8.564-14.211-1.617-29.153-7.117-29.153-31.672 0-6.995 2.495-12.718 6.589-17.195-.66-1.621-2.856-8.14.629-16.96 0 0 5.37-1.722 17.597 6.57 5.104-1.424 10.58-2.132 16.022-2.16 5.438.028 10.91.736 16.022 2.16 12.22-8.292 17.582-6.57 17.582-6.57 3.493 8.82 1.297 15.339.64 16.96 4.102 4.477 6.578 10.2 6.578 17.195 0 24.618-14.966 30.035-29.22 31.62 2.295 1.98 4.342 5.89 4.342 11.87 0 8.564-.079 15.476-.079 17.576 0 1.715 1.155 3.71 4.4 3.084 25.413-8.493 43.733-32.494 43.733-60.798 0-35.394-28.657-64.084-64.006-64.084"/></svg>

5
core/images/gitter.tid Normal file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/gitter
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-gitter tc-image-button" viewBox="0 0 18 25"><path d="M15 5h2v10h-2zM10 5h2v20h-2zM5 5h2v20H5zM0 0h2v15H0z"/></svg>

5
core/images/globe.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/globe
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-globe tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd"><path d="M72.811 37.128v2.554c0 2.196.978 6.881 0 8.832-1.466 2.928-4.65 3.54-6.394 5.867-1.182 1.577-4.618 10.601-3.69 12.92 3.969 9.922 11.534 3.187 17.962 9.293.864.821 2.887 2.273 3.296 3.296 3.29 8.223-7.576 15.009 3.757 26.3 1.245 1.24 3.813-3.817 4.079-4.614.852-2.563 6.725-5.45 9.088-7.053 2.02-1.37 4.873-2.667 6.328-4.745 2.27-3.244 1.48-7.514 3.098-10.745 2.139-4.274 3.828-9.635 5.998-13.966 3.898-7.781 4.721 2.093 5.067 2.439.358.357 1.011 0 1.517 0 .094 0 1.447.099 1.516 0 .65-.935-1.043-17.92-1.318-19.297-1.404-7.01-6.944-15.781-11.865-20.5-6.274-6.015-7.09-16.197-18.259-14.954-.204.022-5.084 10.148-7.777 13.512-3.728 4.657-2.47-4.153-6.526-4.153-.081 0-1.183-.103-1.253 0-.586.88-1.44 3.896-2.306 4.417-.265.16-1.722-.239-1.846 0-2.243 4.3 8.256 2.212 5.792 7.952-2.352 5.481-6.328-1.997-6.328 8.56M44.467 7.01c9.685 6.13.682 12.198 2.694 16.215 1.655 3.303 4.241 5.395 1.714 9.814-2.063 3.608-6.87 3.966-9.623 6.723-3.04 3.044-5.464 8.94-6.79 12.911-1.617 4.843 14.547 6.866 12.063 11.008-1.386 2.311-6.746 1.466-8.437.198-1.165-.873-3.593-.546-4.417-1.78-2.613-3.915-2.26-8.023-3.625-12.128-.938-2.822-6.313-2.12-7.844-.593-.523.522-.33 1.792-.33 2.505 0 5.285 7.12 3.316 7.12 6.46 0 14.636 3.927 6.534 11.14 11.336 10.036 6.683 7.844 7.303 14.946 14.404 3.673 3.673 7.741 3.686 9.425 9.294 1.602 5.331-9.327 5.339-11.716 7.448-1.123.991-2.813 4.146-4.219 4.615-1.792.598-3.234.496-4.944 1.78-2.427 1.82-3.9 4.932-4.02 4.81-2.148-2.147-3.52-15.479-3.89-18.257-.588-4.42-5.59-5.54-6.986-9.03-1.57-3.927 1.524-9.52-1.129-13.761-6.52-10.424-11.821-14.5-15.35-26.292-.942-3.148 3.342-6.529 4.877-8.833 1.877-2.816 2.662-5.854 4.746-8.635C22.147 24.19 40.855 9.461 43.857 8.635l.61-1.625z"/><path d="M64 126c34.242 0 62-27.758 62-62 0-34.242-27.758-62-62-62C29.758 2 2 29.758 2 64c0 34.242 27.758 62 62 62zm0-6c30.928 0 56-25.072 56-56S94.928 8 64 8 8 33.072 8 64s25.072 56 56 56z"/></g></svg>

5
core/images/heading-1.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/heading-1
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-heading-1 tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M14 30h13.25v30.104H61.7V30h13.25v75.684H61.7V71.552H27.25v34.132H14V30zm70.335 13.78c2.544 0 5.017-.212 7.42-.636 2.403-.424 4.576-1.13 6.52-2.12 1.942-.99 3.603-2.261 4.981-3.816 1.378-1.555 2.28-3.463 2.703-5.724h9.858v74.2h-13.25V53.32H84.335v-9.54z"/></svg>

5
core/images/heading-2.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/heading-2
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-heading-2 tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm119.52 75.684H74.85c.07-6.148 1.555-11.519 4.452-16.112 2.897-4.593 6.855-8.586 11.872-11.978a133.725 133.725 0 017.526-5.141 59.6 59.6 0 007.208-5.353c2.19-1.908 3.993-3.975 5.406-6.201 1.413-2.226 2.155-4.788 2.226-7.685 0-1.343-.159-2.774-.477-4.293a11.357 11.357 0 00-1.855-4.24c-.919-1.307-2.19-2.403-3.816-3.286-1.625-.883-3.745-1.325-6.36-1.325-2.403 0-4.399.477-5.989 1.431-1.59.954-2.862 2.261-3.816 3.922-.954 1.66-1.66 3.622-2.12 5.883-.46 2.261-.724 4.7-.795 7.314H76.23c0-4.099.548-7.897 1.643-11.395 1.095-3.498 2.738-6.519 4.93-9.063 2.19-2.544 4.857-4.54 8.002-5.989C93.95 30.724 97.606 30 101.775 30c4.523 0 8.303.742 11.342 2.226 3.039 1.484 5.494 3.357 7.367 5.618 1.873 2.261 3.198 4.717 3.975 7.367.777 2.65 1.166 5.176 1.166 7.579 0 2.968-.46 5.653-1.378 8.056a25.942 25.942 0 01-3.71 6.625 37.5 37.5 0 01-5.3 5.565 79.468 79.468 0 01-6.148 4.77 165.627 165.627 0 01-6.36 4.24 94.28 94.28 0 00-5.883 4.028c-1.802 1.343-3.374 2.738-4.717 4.187-1.343 1.449-2.261 2.986-2.756 4.611h36.146v10.812z"/></svg>

5
core/images/heading-3.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/heading-3
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-heading-3 tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm88.885 32.224c1.979.07 3.957-.07 5.936-.424 1.979-.353 3.745-.972 5.3-1.855a10.365 10.365 0 003.763-3.657c.954-1.555 1.431-3.463 1.431-5.724 0-3.18-1.078-5.724-3.233-7.632-2.155-1.908-4.929-2.862-8.32-2.862-2.12 0-3.958.424-5.513 1.272a11.318 11.318 0 00-3.869 3.445c-1.025 1.449-1.784 3.074-2.279 4.876a18.335 18.335 0 00-.636 5.565H75.381c.141-3.604.813-6.943 2.014-10.017 1.201-3.074 2.844-5.742 4.93-8.003 2.084-2.261 4.61-4.028 7.578-5.3C92.871 30.636 96.228 30 99.973 30a29.2 29.2 0 018.533 1.272c2.791.848 5.3 2.085 7.526 3.71s4.01 3.692 5.353 6.201c1.343 2.509 2.014 5.388 2.014 8.639 0 3.745-.848 7.014-2.544 9.805-1.696 2.791-4.346 4.823-7.95 6.095v.212c4.24.848 7.544 2.95 9.911 6.307s3.551 7.438 3.551 12.243c0 3.533-.707 6.696-2.12 9.487a21.538 21.538 0 01-5.724 7.102c-2.403 1.943-5.194 3.445-8.374 4.505-3.18 1.06-6.537 1.59-10.07 1.59-4.31 0-8.074-.618-11.289-1.855s-5.9-2.986-8.056-5.247c-2.155-2.261-3.798-4.982-4.929-8.162-1.13-3.18-1.731-6.713-1.802-10.6h12.084c-.141 4.523.972 8.286 3.34 11.289 2.366 3.003 5.917 4.505 10.652 4.505 4.028 0 7.402-1.148 10.123-3.445 2.72-2.297 4.081-5.565 4.081-9.805 0-2.897-.565-5.194-1.696-6.89a10.97 10.97 0 00-4.452-3.869c-1.837-.883-3.904-1.431-6.2-1.643a58.067 58.067 0 00-7.05-.212v-9.01z"/></svg>

5
core/images/heading-4.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/heading-4
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-heading-4 tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M8 30h13.25v30.104H55.7V30h13.25v75.684H55.7V71.552H21.25v34.132H8V30zm76.59 48.548h22.471V45.9h-.212L84.59 78.548zm43.46 9.54h-9.54v17.596H107.06V88.088h-31.8V76.11l31.8-44.626h11.448v47.064h9.54v9.54z"/></svg>

5
core/images/heading-5.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/heading-5
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-heading-5 tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm77.755 1.484h38.372v10.812H92.765L88.95 61.164l.212.212c1.625-1.837 3.692-3.233 6.201-4.187 2.509-.954 5-1.431 7.473-1.431 3.675 0 6.96.618 9.858 1.855 2.897 1.237 5.335 2.968 7.314 5.194s3.48 4.858 4.505 7.897c1.025 3.039 1.537 6.325 1.537 9.858 0 2.968-.477 6.024-1.43 9.169a25.161 25.161 0 01-4.559 8.586c-2.085 2.58-4.752 4.7-8.003 6.36-3.25 1.66-7.137 2.491-11.66 2.491-3.604 0-6.943-.477-10.017-1.431-3.074-.954-5.777-2.385-8.109-4.293-2.332-1.908-4.187-4.258-5.565-7.049-1.378-2.791-2.138-6.06-2.279-9.805h12.084c.353 4.028 1.731 7.12 4.134 9.275 2.403 2.155 5.583 3.233 9.54 3.233 2.544 0 4.7-.424 6.466-1.272 1.767-.848 3.198-2.014 4.293-3.498 1.095-1.484 1.873-3.215 2.332-5.194.46-1.979.69-4.099.69-6.36 0-2.05-.284-4.01-.849-5.883-.565-1.873-1.413-3.516-2.544-4.929-1.13-1.413-2.597-2.544-4.399-3.392-1.802-.848-3.904-1.272-6.307-1.272-2.544 0-4.929.477-7.155 1.431-2.226.954-3.834 2.738-4.823 5.353H75.805l7.95-40.598z"/></svg>

5
core/images/heading-6.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/heading-6
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-heading-6 tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm106.587 20.246c-.283-3.039-1.36-5.494-3.233-7.367-1.873-1.873-4.399-2.809-7.579-2.809-2.19 0-4.08.406-5.67 1.219a12.435 12.435 0 00-4.029 3.233c-1.095 1.343-1.979 2.88-2.65 4.611a37.696 37.696 0 00-1.643 5.459 46.08 46.08 0 00-.9 5.671 722.213 722.213 0 00-.478 5.247l.212.212c1.625-2.968 3.87-5.176 6.731-6.625 2.862-1.449 5.954-2.173 9.275-2.173 3.675 0 6.96.636 9.858 1.908 2.897 1.272 5.353 3.021 7.367 5.247 2.014 2.226 3.551 4.858 4.611 7.897 1.06 3.039 1.59 6.325 1.59 9.858 0 3.604-.583 6.943-1.749 10.017-1.166 3.074-2.844 5.76-5.035 8.056-2.19 2.297-4.805 4.081-7.844 5.353-3.039 1.272-6.395 1.908-10.07 1.908-5.441 0-9.91-1.007-13.409-3.021-3.498-2.014-6.254-4.77-8.268-8.268-2.014-3.498-3.41-7.597-4.187-12.296-.777-4.7-1.166-9.77-1.166-15.211 0-4.452.477-8.94 1.431-13.462.954-4.523 2.526-8.639 4.717-12.349 2.19-3.71 5.07-6.731 8.64-9.063C92.676 31.166 97.075 30 102.304 30c2.968 0 5.76.495 8.374 1.484 2.615.99 4.93 2.367 6.943 4.134 2.014 1.767 3.657 3.887 4.93 6.36 1.271 2.473 1.978 5.23 2.12 8.268h-12.085zm-11.66 46.852c2.19 0 4.099-.442 5.724-1.325a12.869 12.869 0 004.081-3.445c1.095-1.413 1.908-3.056 2.438-4.929.53-1.873.795-3.798.795-5.777s-.265-3.887-.795-5.724c-.53-1.837-1.343-3.445-2.438-4.823-1.095-1.378-2.456-2.491-4.08-3.339-1.626-.848-3.534-1.272-5.725-1.272-2.19 0-4.116.406-5.777 1.219-1.66.813-3.056 1.908-4.187 3.286-1.13 1.378-1.979 2.986-2.544 4.823-.565 1.837-.848 3.78-.848 5.83 0 2.05.283 3.993.848 5.83.565 1.837 1.413 3.48 2.544 4.929a12.39 12.39 0 004.187 3.445c1.66.848 3.586 1.272 5.777 1.272z"/></svg>

5
core/images/help.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/help
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-help tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M36.055 111.441c-5.24 4.396-15.168 7.362-26.555 7.362-1.635 0-3.24-.06-4.806-.179 7.919-2.64 14.062-8.6 16.367-16.014C8.747 92.845 1.05 78.936 1.05 63.5c0-29.547 28.206-53.5 63-53.5s63 23.953 63 53.5-28.206 53.5-63 53.5c-10.055 0-19.56-2-27.994-5.559zm35.35-33.843a536.471 536.471 0 00.018-4.682 199.02 199.02 0 00-.023-3.042c.008-1.357.595-2.087 3.727-4.235.112-.077 1.085-.74 1.386-.948 3.093-2.133 5.022-3.786 6.762-6.187 2.34-3.228 3.558-7.077 3.558-11.649 0-13.292-9.86-21.952-21.455-21.952-11.103 0-22.499 9.609-24.066 22.295a6.023 6.023 0 1011.956 1.477c.806-6.527 6.972-11.726 12.11-11.726 5.265 0 9.408 3.64 9.408 9.906 0 3.634-1.1 5.153-5.111 7.919l-1.362.93c-2.682 1.84-4.227 3.1-5.7 4.931-2.109 2.62-3.242 5.717-3.258 9.314.013.892.02 1.86.022 2.981a470.766 470.766 0 01-.022 4.943 6.023 6.023 0 1012.046.12l.003-.395zm-6.027 24.499a7.529 7.529 0 100-15.058 7.529 7.529 0 000 15.058z"/></svg>

5
core/images/home-button.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/home-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-home-button tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M112.985 119.502c.01-.165.015-.331.015-.499V67.568c3.137 2.948 8.076 2.884 11.134-.174a7.999 7.999 0 00-.002-11.316L70.396 2.343A7.978 7.978 0 0064.734 0a7.957 7.957 0 00-5.656 2.343L33 28.42V8.007C33 3.585 29.41 0 25 0c-4.418 0-8 3.59-8 8.007V44.42L5.342 56.078c-3.125 3.125-3.12 8.198-.002 11.316a7.999 7.999 0 0011.316-.003l.344-.343v52.945a8.11 8.11 0 000 .007c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8a8.11 8.11 0 00-.015-.498zM97 112V51.574L64.737 19.31 33 51.048V112h64z"/></svg>

5
core/images/import-button.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/import-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-import-button tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M114.832 60.436s3.235-3.27 6.921.417c3.686 3.686.231 7.14.231 7.14l-42.153 42.92s-30.765 32.367-58.798 4.333C-7 87.213 24.59 55.623 24.59 55.623L67.363 12.85s22.725-24.6 43.587-3.738c20.862 20.862-3.96 43.09-3.96 43.09l-35.04 35.04S49.903 112.546 36.426 99.07c-13.476-13.477 11.83-35.523 11.83-35.523l35.04-35.04s3.902-3.902 7.78-.023c3.879 3.878.118 7.921.118 7.921l-35.04 35.04s-13.212 13.212-8.872 17.551c4.34 4.34 16.77-9.653 16.77-9.653l35.04-35.04s16.668-14.598 3.966-27.3c-13.893-13.892-27.565 3.702-27.565 3.702l-42.91 42.91s-23.698 23.698-3.658 43.738 43.012-4.385 43.012-4.385l42.895-42.533z"/></svg>

4
core/images/info-button.tid Normal file → Executable file
View File

@@ -1,3 +1,5 @@
title: $:/core/images/info-button
tags: $:/tags/Image
<svg class="tw-image-info-button tw-image-button" viewBox="294 150 58 58" width="22pt" height="22pt"><path d="M 342.76236 158.98764 C 331.77887 148.0041 313.97113 148.0041 302.98764 158.98764 C 292.0041 169.97113 292.0041 187.77887 302.98764 198.76236 C 313.97113 209.7459 331.77887 209.7459 342.76236 198.76236 C 353.7459 187.77887 353.7459 169.97113 342.76236 158.98764 M 326.5425 157.5 L 326.5425 157.5 C 327.72545 157.5 328.72201 157.91022 329.5337 158.73088 C 330.34465 159.55157 330.75 160.54402 330.75 161.7075 C 330.75 162.87172 330.33979 163.86316 329.51911 164.68385 C 328.69842 165.5045 327.70674 165.91501 326.5425 165.91501 C 325.39801 165.91501 324.4153 165.5045 323.5946 164.68385 C 322.77393 163.86316 322.36372 162.87172 322.36372 161.7075 C 322.36372 160.54402 322.76906 159.55157 323.58 158.73088 C 324.39171 157.91022 325.3793 157.5 326.5425 157.5 Z M 327.80211 190.47259 C 324.91945 195.49132 321.85778 198 318.61462 198 C 317.37452 198 316.38691 197.65158 315.65186 196.9555 C 314.9176 196.25866 314.54943 195.37617 314.54943 194.30782 C 314.54943 193.60202 314.71223 192.70572 315.03629 191.61813 L 319.0151 177.93651 C 319.39685 176.61922 319.58735 175.62754 319.58735 174.95991 C 319.58735 174.53996 319.40582 174.16692 319.04356 173.84286 C 318.68052 173.51905 318.18469 173.35701 317.55527 173.35701 C 317.26861 173.35701 316.92506 173.36677 316.5246 173.38548 L 316.89661 172.2407 L 326.59967 170.66627 L 328.31744 170.66627 L 322.44986 191.01638 C 322.12503 192.18064 321.963 192.94337 321.963 193.30666 C 321.963 193.51588 322.04862 193.71121 322.2204 193.89273 C 322.39218 194.07425 322.5737 194.16554 322.7642 194.16477 C 323.08903 194.16554 323.4131 194.02221 323.73792 193.73559 C 324.59605 193.02976 325.6267 191.75142 326.82838 189.90008 Z"/></svg>
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-info-button tc-image-button" viewBox="0 0 128 128"><g fill-rule="evenodd" transform="translate(.05)"><path d="M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48z"/><circle cx="64" cy="32" r="8"/><rect width="16" height="56" x="56" y="48" rx="8"/></g></svg>

5
core/images/italic.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/italic
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-italic tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M66.711 0h22.41L62.408 128H40z"/></svg>

5
core/images/layout-button.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/layout-button
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-layout-button tc-image-button" viewBox="0 0 24 24" stroke-width="1" stroke="none"><path d="M0 0h24v24H0z" fill="none"/><rect x="2" y="2" width="7" height="7" rx="2"/><rect x="2" y="13" width="7" height="9" rx="2"/><rect x="12" y="2" width="10" height="20" rx="2"/></svg>

7
core/images/left-arrow.tid Executable file
View File

@@ -0,0 +1,7 @@
created: 20150315234410875
modified: 20150315235324760
tags: $:/tags/Image
title: $:/core/images/left-arrow
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-left-arrow tc-image-button" viewBox="0 0 128 128"><path d="M0 64.177c0-2.026.771-4.054 2.317-5.6l55.98-55.98a7.92 7.92 0 0111.195.001c3.086 3.085 3.092 8.104.001 11.195L19.111 64.175l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.086-8.105 3.092-11.196.001l-55.98-55.98A7.892 7.892 0 010 64.177z"/></svg>

5
core/images/line-width.tid Executable file
View File

@@ -0,0 +1,5 @@
title: $:/core/images/line-width
tags: $:/tags/Image
\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-line-width tc-image-button" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M16 18h96a2 2 0 000-4H16a2 2 0 100 4zm0 17h96a4 4 0 100-8H16a4 4 0 100 8zm0 21h96a6 6 0 000-12H16a6 6 0 100 12zm0 29h96c5.523 0 10-4.477 10-10s-4.477-10-10-10H16c-5.523 0-10 4.477-10 10s4.477 10 10 10zm0 43h96c8.837 0 16-7.163 16-16s-7.163-16-16-16H16c-8.837 0-16 7.163-16 16s7.163 16 16 16z"/></svg>

Some files were not shown because too many files have changed in this diff Show More