1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-01 15:46:18 +00:00
Commit Graph

928 Commits

Author SHA1 Message Date
Jeremy Ruston
1c91f72baa Add a faint background to freelinks 2020-01-04 16:33:52 +00:00
Jeremy Ruston
447cd56da9 Initial commit of freelinks plugin 2020-01-03 10:40:35 +00:00
Jeremy Ruston
d2323cb1f4 Add Elixir to languages supported by Highlight plugin
Fixes #4378
2019-11-20 09:51:00 +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
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
ac66d863aa Simplify GitHub fork ribbon plugin metadata 2019-10-14 13:19:27 +01:00
Simon Huber
920f0869c4 Fix: remove cancelPopups from codemirror engine (#4310) 2019-10-12 16:40:51 +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
Jeremy Ruston
e752ba7c6a Use the dependents and parent-plugin fields to automatically install dependencies 2019-09-25 21:57:22 +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
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
83954582f4 Text-slicer: Only show slice button for text tiddlers 2019-09-16 16:16:18 +01:00
Jeremy Ruston
68163684a2 Fix publishFilter in save templates
Fixes #4252
2019-09-11 11:40:45 +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
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
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
217670cdf3
Update engine.js 2019-07-10 09:57:59 +02: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
Jeremy Ruston
a6500ba711 DynaView: Suppress local storage errors 2019-06-21 15:19:51 +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
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
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
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
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
a89991cc46 Dynaview: Fix crash 2019-03-16 13:25:45 +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
Jermolene
a9e595c3f6 Dynaview: Add support for saving/restoring scroll position from local storage 2019-03-04 16:59:39 +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
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
Jermolene
fb0713ae78 Comments plugin: Fix extraneous paragraph in above story area
Fixes #3813
2019-03-02 16:18:50 +00: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
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
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
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
b64216cfa7 BrowserStorage: Add another warning 2019-02-07 15:15:05 +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
f709641967 Upsdate release note 2019-02-06 18:22:29 +00: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
a4eb139f99 Innerwiki: Add support for draggable anchors 2019-02-01 10:43:42 +00:00
Jermolene
92b8368115 Innerwiki: Improve examples 2019-01-30 16:58:04 +00:00
Jermolene
f7d938e4bc Innerwiki: improve wiki state examples 2019-01-29 17:40:40 +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
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
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
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
Jermolene
e14e69bedc DynaView plugin: add optional scroll position preservation 2019-01-11 17:50:52 +00:00
Jermolene
e9f2a24f30 CI: Exit when tests fail 2019-01-04 20:07:37 +00:00
Jermolene
6b4294923f Test edition: exit with an error code if the tests fail 2019-01-04 17:46:11 +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
Jermolene
e17456e3bc Comment plugin: Improve styles 2018-12-02 15:15:48 +00:00
Jermolene
8c367cdb21 Fix typo in #3601 2018-12-01 13:59:08 +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
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
ddc76622f2 Remove sourceMappingUrl from hammer.js (#3535) 2018-11-18 10:44:19 +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
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
287a83c1cc Dynaview: Fix parameter name typo 2018-09-26 15:23:49 +01:00
Jermolene
4f39e69e9d Add support for resize tracking 2018-09-01 13:19:28 +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
03602215c4 Comment plugin: Autofocus new comment edit box
Fixes #3408
2018-08-22 09:57:31 +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
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
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
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
Jermolene
d2682b71ff DynaView: Only apply minimum height to tiddlers that are not yet visible 2018-05-25 11:08:27 +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
BurningTreeC
05af050cbf CodeMirror plugin: tweak for font-size (#3294) 2018-05-19 08:50:18 +01:00
Jermolene
f0b7c9a3d5 TextSlicer: Fix external links 2018-05-17 18:30:21 +01:00
Jermolene
c252d7c945 BibTeX plugin: fix name of deserializer module 2018-05-15 14:02:27 +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
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
BurningTreeC
3d64d7d126 CodeMirror 5.36.0 modularized (#3184)
* v5.35.1

* codemirror 5.35.1

* v5.35.1

* v5.35.1

* v5.35.1

* v5.35.1

* v5.35.1

* adding search&replace and autocomplete

* update version number

* add jump-to-line.js required for search&replace

* adding show-hint.js required by autocomplete

* adding basic autocomplete for any word

* adding autocomplete css

* adding new files to tiddlywiki.files

* forgot adding search.js

* minify 'em all

* Delete vim.js

* Delete sublime.js

* Delete emacs.js

* Delete anyword-hint.js

* Delete show-hint.css

* Delete show-hint.js

* Update config.tid

* Update tiddlywiki.files

* Update tiddlywiki.files

* Update config.tid

* Update config.tid

* Update config.tid

* Delete dialog.js

* Delete dialog.css

* Delete jump-to-line.js

* Delete search.js

* Delete searchcursor.js

* Update tiddlywiki.files

* Update tiddlywiki.files

* Update tiddlywiki.files

* add search-and-replace cm-addon as plugin

* add autocomplete cm-addon as plugin

* add fullscreen-editing cm-addon as plugin

* add keymaps as plugins + cleanup

* add highlighting modes as plugins

* small update on usage.tid

* moved multiplex.js to htmlembedded mode - the only one using it

* config/CodeMirror update

* how to disable line numbers

* how to change CM theme

* add closebrackets and closetags addons

* packaging a base-addon

* move meta.js from codemirror to base addon

* inputStyle: textarea -> prevents contenteditable on mobile browsers, keeps focus when clicking toolbar buttons, prevents import on paste

* default config no line numbers

* temporary add panel plugin for demo

* put base-plugin back to codemirror editor

* searchcursor to searchnreplace plugin

* bad copypasta mistake

* another typo

* stripped down meta.js + moved matchbrackets to closebrackets plugin

* remove panel

* change module-type to codemirro and make init "require" dynamic.

* make config handling dynamic with sensible defaults

* make cm settings translateable

* delete multids. they will be replaced

* add auto-config tiddlers

* dynamically create config structure for CM

* fix filename

* change typo

* kitchensink config, plus change plugin description for better sorting.

* add matchBrackets config tiddler

* RIP codeblock

* removed install instructions from readme - codemirror usage tiddler still todo

* control panel settings for cm base

* add setting for auto-close tags

* adding fontfamily settings and theme settings

* change tags for settings from $:/tags/ControlPanel/Settings to $:/tags/ControlPanel/Settings/CodeMirror

* more usage info

* more usage info

* update to v5.36.0

* ugly hack enables highlighting and tag-closing for vnd.tiddlywiki and x-tiddlywiki

* disable auto-indent for vnd.tiddlywiki & x-tiddlywiki and add some hidden settings

* remove engine.js hack

* meta.js -> tw-meta.js

* codemirror settings tab

* rename tiddler to tw-meta.js

* make editor font monospace or sans-serif - dropdown select

* make editor font monospace or sans-serif - dropdown select

* now using correct tiddler for editor font setting

* better usage doc

* make markdown-mode require tw-meta

* add more themes info

* add active-line highlighting option

* mini usage change

* add integer type to engine.js config-getter

* blink rate config type string

* correct engine.js

* license for base-plugin, usage link in settings tab

* codemirrordemo hellothere update

* codemirrordemo hellothere update

* Update license.tid

* codemirror demo sidebarlayout, license

* license headers to addon files

* license formatting & forgot what year we have

* license formatting & forgot what year we have & codemirror demo sitetitle sitesubtitle

* more informations 'try-this-style' for codemirrordemo hellothere

* codemirror demo sitetitle & cm fontfamily

* hellothere

* font-family setting must be editor-font-family, not code-font-family

* add basic keyboard shortcuts table

* shortcuts change to not interfere with toolbar shortcuts - needs testing - vim and emacs todo

* formatting

* controlpanel change keymap - default keymap is default

* ctrl-T becomes Alt-T in default keymap

* adjustments for codemirror demo

* demo: hellothere - hint for sidebar keymap cheatsheet

* toolbar focus fix + remove console log

* engine.js cleanup

* formatting

* reverting focus fix

* indenting engine.js

* hoping that indenting gets better
2018-04-06 17:34:50 +01:00
Jermolene
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
Mete Balci
45bf58b920 fix for #3176 (#3177) 2018-03-19 15:56:28 +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
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
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
24c6eece1b Update to KaTeX v0.9.0 2018-02-20 21:24:11 +00:00
Jermolene
0b9a3923bf AWS Plugin: Less logging 2018-02-19 09:11:48 +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
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
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
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
Jermolene
eaf0869c94 Update to KaTeX v0.9.0-beta 2018-01-16 16:06:29 +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
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
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
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
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
e344c38349 Major updates to text-slicer plugin
* In the interests of performance and expressiveness, switched to using a Sax parser instead of a DOM implementation.
* Use extensible declarative rules to control the slicing process
* Added new optional set of rules for slicing by heading, where the paragraphs underneath a heading are packed into the same tiddler as the heading
* Added a modal dialogue for specifying parameters when slicing in the browser
2017-12-14 14:16:54 +00:00
Jermolene
920d225f37 Improve XLSX docs 2017-12-12 13:58:26 +00:00
Jermolene
c507d4e2dd Use https for YouTube 2017-11-18 19:53:52 +00:00
Jermolene
29364cbd08 Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +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
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
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
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
08ae7321c1 AWS Plugin: Lambda should return list of files written to S3 2017-08-29 21:41:50 +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
94f9929c80 AWS Plugin: Add savetype for s3-savetiddler(s) command 2017-08-23 10:31:28 +01:00
Jermolene
2ebf4285e8 AWS Plugin: Add s3-savetiddlers command 2017-08-16 18:10:52 +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
9ac784a468 Update text-slicer icon and wording 2017-07-18 15:44:27 +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
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
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
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
c0f7f18f0a Update KaTeX to v0.7.1 2017-04-26 14:34:17 +01:00
Jermolene
aa2f240936 Update to latest version of ios-drag-drop.js 2017-04-21 08:22:58 +01:00
Jermolene
6c4c1a984b Make help panel scrollbars be optional 2017-04-19 13:26:22 +01:00
Jermolene
cd16573f20 Rephrase the Google Analytics plugin pages 2017-04-18 18:48:17 +01:00
Jermolene
aa1a8cf2eb Docs typo 2017-03-29 10:19:49 +01: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
8744d77f88 Add mobiledragdrop shim plugin
This seems to work quite well for me - cc @xcazin
2017-03-23 17:03:35 +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
b90600580f Filesystemadaptor: Fix bug with JSON tiddlers
Fixes #2783
2017-02-24 15:36:22 +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
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
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
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
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
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
a14b8a94df Fix JSON format for bc61f7eebf
Otherwise the JSON files cannot be imported back into TiddlyWiki
2017-02-04 18:08:47 +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
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
a1a4bf0f9d Refactoring the slicer engine for easier reuse 2016-12-22 17:46:42 +00:00
Jermolene
daad0ec142 xlsx-utils: Automatically trim cell values 2016-12-21 12:09:08 +00:00
Jermolene
424b8a1f68 Move QR code view toolbar button 2016-12-17 11:44:24 +00: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
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
fc483abfc8 xlsx-utils control panel: put new entities at the top of their respective lists 2016-11-05 08:35:56 +00: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
cd5366087c Improve QR code plugin docs 2016-10-20 09:45:04 +01:00
Jermolene
c415af13f1 bibtex plugin updates 2016-10-19 10:21:50 +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
22c1b04ee7 Added first version of QR code generator plugin 2016-10-18 09:23:47 +01:00
Jermolene
1b41b44684 Improve support for bulk loading tiddlers under Node.js
Fixes #2610
2016-10-15 16:23:17 +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
d86e4043c2 Some sample .ENEX files for testing 2016-09-26 12:32:57 +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
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
Jermolene
487d6642e3 Fix KaTeX rendering bug on Chrome
Fixes #2500
2016-07-21 08:48:13 +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
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
b849011d8f Move stacked view control panel into sidebar 2016-07-12 17:22:33 +01:00
Jermolene
14dc8accd6 Blog plugin: Transclude caption so that wikitext works 2016-07-12 13:16:30 +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
Jermolene
c3d18364c1 Don't use syncadaptors until they are ready
Fixes #2453
2016-07-05 11:29:59 +01: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
Myeongjin
fb146bc4b8 Fix readme path of jszip (#2430) 2016-05-20 07:46:29 -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
33a569f6ce Fix problem when single tiddler is outputed (#2433) 2016-05-11 11:26:13 -06:00
Jermolene
c5ac10024b Text-slicer: Fix issue with missing destination title 2016-05-11 11:13:15 -06:00
Myeongjin
71284fbc6a Except specific prefixes from miscellaneous in translators plugin (#2432) 2016-05-10 12:07:13 -06: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
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
6dce8d9763 Remove final vestiges of undo/redo buttons 2016-05-01 13:54:16 +01:00
Jermolene
7d0ac4f86e Remove extraneous "mode" field from snippet tiddlers 2016-04-29 18:54:44 +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
Jermolene
5b11399793 Update KaTeX plugin to v0.6.0 2016-04-22 15:50:23 +01:00
Jermolene
44e9634164 Update codemirror and markdown plugins from #2315 2016-04-22 08:41:31 +01:00
Jeremy Ruston
2adf09129d Introduce text editor toolbar (#2315)
Tada!
2016-04-22 08:36:29 +01: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
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
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
Jermolene
f8552ac48d Readme for internals plugin 2016-02-15 22:43:15 +00: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
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
Jermolene
5238b4d503 Evernote plugin: fix crash with missing fields 2016-02-05 23:05:24 +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
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
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
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
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
buggyj
74e8afdcdd fix for #2189 2016-01-07 22:11:26 +00: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
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
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
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
Jermolene
6e7f532825 Remove extraneous icon for blog plugin
We had just reused the text-slicer icon
2015-12-13 18:26:37 +00:00
Jermolene
aae1bf9f80 Blog edition: Add classes for the static menu 2015-11-25 15:32:53 +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
Mario Wenzel
eb34709cc4 Expand description of "TiddlyWeb and TiddlySpace components"
This should fix #2019
2015-11-03 19:56:14 +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
Evolena
717e9ae913 Better wording and naming 2015-10-24 12:01:43 +02:00
Evolena
0a220a09da Text-slicer: Add support for definition lists 2015-10-14 20:25:11 +02:00
Jermolene
2d9471fe3b Text-Slicer: Add support for static rendering of external images 2015-10-09 17:09:30 +01:00
senevoldsen90
e5cef9a5a6 Local relative urls in Markdown map to WikiLinks 2015-10-09 15:11:24 +02:00
Jermolene
5faba15446 Text-slicer updates 2015-10-08 18:04:24 +01:00
Jermolene
c0c0b6653c Blog updates 2015-10-01 12:13:48 +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
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
Jermolene
21175012dc Text-slicer: Fixes for images 2015-09-18 19:45:34 +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
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
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
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
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
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
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
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
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
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
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
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
d3ca636a5b Text-slicer: switch to use tabbed internal navigation 2015-08-10 19:39:04 +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
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
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
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
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
a4d0210f90 Use $:/TextSlicer for text-slicer output 2015-08-01 13:48:57 +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
72cf85f0d4 Restore error trapping for KaTeX rendering 2015-07-17 08:58:58 +01:00
Jermolene
f8027a3708 Fixed problem with static generation of KaTeX in the browser 2015-07-14 08:45:14 +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
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
Jermolene
2d7a05de98 Coding style tweaks 2015-06-13 18:06:34 +01:00
Andreas Hahn
d8366cc45f CodeMirror plugin now refreshes the tiddler type 2015-05-28 14:24:04 +02:00
Jermolene
c11e1bb929 Add simple "powered by TiddlyWiki" plugin 2015-05-14 17:04:20 +01:00
Jermolene
dc980a19c8 Make the stacked view play well with the new fluid-fixed mode 2015-05-05 07:24:14 +01:00
Jermolene
b08a2080ee Revert to a pale default theme for highlight plugin
Fixes #1656
2015-04-17 16:05:54 +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
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
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
743c325b0d Fix problem with tiddler titles overlaying help panel 2015-03-20 16:18:24 +00:00
Jermolene
17c1213635 Expand help panel label to "Help Panel" 2015-03-20 15:16:40 +00: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
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
ae001a19e5 Upgrade to KaTeX v0.2.0 2015-03-14 08:34:16 +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
0f5cebc6b0 Merge pull request #1567 from sukima/fix-codemirror-readme
Fix CodeMirror README formatting
2015-03-10 20:24:07 +00:00
Jermolene
e46d3d74be Rename node-webkit to NW.js 2015-03-10 16:54:53 +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
Astrid Elocson
320664a0c7 Correct WikiText in the upgrade wizard 2015-02-28 15:43:48 +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
6a497eff6c Add prototype stacked storyview 2015-02-23 11:28:50 +01:00
Jermolene
73a188d411 Improve description for help plugin 2015-02-21 08:53:04 +00:00