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
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
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
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
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
Jeremy Ruston
6732b3c0d9
Use match operator instead of prefix
...
Fixes #4407
2020-01-05 13:54:06 +00:00
Simon Huber
f59d044a8c
Replace "×" with close-button in keyboard-shortcuts ( #4406 )
...
this PR replaces the `×` 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
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
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
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