1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 14:54:51 +00:00
Commit Graph

7633 Commits

Author SHA1 Message Date
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
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