Wykres commitów

199 Commity (bbd0f7841b4ffb768cffefecf17d40a4e445a125)

Autor SHA1 Wiadomość Data
Jermolene 45b0966013 Support the image widget in markdown 2014-04-17 16:50:54 +01:00
Jermolene 46969fbd3e Adjust Cecily tiddler width 2014-04-13 09:24:06 +01:00
Jermolene 4f4b743d9c Fix Cecily tiddler width for when sidebar hidden 2014-04-12 18:24:39 +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 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
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
Jermolene 945ad6792f Add first pass at Cecily plugin 2014-03-25 14:29:32 +00:00
Jermolene aec618793f Fix problem with refreshing D3 plugin
Fixes #217
2014-03-11 11:12:56 +00:00
Jermolene 0200bc1b4e Force the highlight language to lower case 2014-03-02 19:42:40 +00:00
Jermolene 3307604130 Make type information translateable 2014-02-16 19:58:53 +00:00
Jermolene bea8730a47 Fix problem with tiddlers of the type text/css
Fixes #395
2014-02-14 19:25:38 +00:00
Jermolene 70a120d4a6 Expand the logging mechanism to support alerts overlaid on the main screen
Now we get decent visual indication of sync errors, for instance. Still
work to do to coalesce alerts so that the screen doesn’t fill up with
them after an interval. And probably we should add a button to clear
all alerts.
2014-02-14 07:53:41 +00:00
Jermolene 1086c51019 Fixed problem with field mauling when reading skinny tiddlers
The problem was showing up as tiddlers with the field “fields” and the
value “[Object object]”.
2014-02-11 15:47:56 +00:00
Jermolene ecba4f71ea Clean up the highlight plugin
Fixing various issues that were preventing language specifiers from
working.
2014-02-10 13:51:38 +00:00
Jermolene a01bbd4b9c Add automatic saving and warning on exit with unsaved changes
We re-use some of the existing syncer mechanism. It was already keeping
track of changes to tiddlers in the store when working with a tiddler
syncadaptor. Now it also tracks changes when there is no syncadaptor,
allowing us to provide a warning if there are unsaved changes.
2014-02-06 21:36:30 +00:00
Jermolene 5d3dda1a17 Fix problem with highlighting only working in the DOM
The current implementation of the highlight plugin only works properly
in the browser, and doesn’t work under Node.js. It also doesn’t work
when rendering to the fakedom in the browser (as happens when rendering
stylesheets, for example).
2014-01-27 17:10:02 +00:00
Jermolene dfc57ffa49 More logging 2014-01-26 20:59:30 +00:00
Jermolene 3f9561dd95 Better logging 2014-01-26 18:53:31 +00:00
Jeremy Ruston 5c9a5f5cba Merge pull request #360 from pmario/docs-cm
docs: CodeMirror config tiddler
2014-01-26 02:01:57 -08:00
Mario Pietsch 66254b436c fix #215 cm gutter adjust .CodeMirror-linenumber min-width, font-size. It should work up to 999 lines now. There should be a ControlPanel tab for codemirror 2014-01-25 23:33:24 +01:00
Mario Pietsch d42981f201 docs: CodeMirror config tiddler needs to be type:application/json 2014-01-25 22:53:52 +01:00
Jermolene 762940adbc No longer save system modules separately in the main HTML template
These tiddlers were being handled as `<script>` tags to make it easier
to debug them. But in fact modern dev tools are quite happy to debug
code that has been eval’d, and this arrangement was causing problems
for importing.

Fixes #335
2014-01-25 21:22:43 +00:00
Jermolene b5629ccc82 Update codemirror plugin docs
@pmario and @jbolila - could you kindly check whether the docs cover
everything?
2014-01-25 19:34:32 +00:00
Jermolene b1b9c7d6cd Fix typo in codemirror editor 2014-01-25 14:07:10 +00:00
Jermolene 951147d502 Style tweaks 2014-01-24 21:45:37 +00:00
Jermolene 9539664e46 Merge branch 'codemirror_keymap' of https://github.com/jbolila/TiddlyWiki5 into jbolila-codemirror_keymap 2014-01-24 21:39:55 +00:00
Jermolene 3414f1ca8e Move node-webkit saver into a plugin
We don’t need it for TiddlyDesktop now that it reuses the TiddlyFox
saver. But it is still useful for embedding a TW directly into a
node-webkit app
2014-01-18 14:57:42 +00:00
João Bolila d7d5165847 all configuration and required libs in the config tiddler 2014-01-13 23:34:11 +00:00
João Bolila c74bf6a655 in resp to https://github.com/Jermolene/TiddlyWiki5/pull/328#issuecomment-32131402 2014-01-12 21:48:03 +00:00
João Bolila 17b542980f if a function 2014-01-12 20:03:34 +00:00
João Bolila 8f4e1587a2 rename from mode to keymap bindings (Vim and Emacs bindings) 2014-01-12 19:38:27 +00:00
João Bolila 426f2978cf fixes of a newbie, me 2014-01-12 17:09:24 +00:00
João Bolila a704498155 added suport for vim and emacs keymaps (codemirror updated to 3.20) 2014-01-11 15:23:49 +00:00
João Bolila c5035fc0b0 highlight.js updated to version 8.0 (http://highlightjs.org/) 2014-01-09 14:32:31 +00:00
João Bolila 82a48cf85c codeblock as a widget and plugin for highlight code blocks 2014-01-07 22:57:46 +00:00
João Bolila a1d2e70307 Plugin for syntax highlighting with highlight.js from Ivan Sagalaev 2014-01-05 09:58:01 +00:00
Jermolene 44568dc6ef Hide encryption status when running on the server
A partial fix for #303
2013-12-30 15:05:07 +00:00
Jermolene ef59a3743f Fix crashes when attempting full screen mode on browsers that don't support it
Fixes #311
2013-12-29 12:54:00 +00:00
Jermolene b659c65959 Add offline download to TiddlyWeb control panel
Add button to download an offline-compatible snapshot to the TiddlyWeb
control panel
2013-12-19 16:28:42 +00:00
Jermolene e8f16c1c97 Correct description of github-fork-ribbon plugin 2013-12-19 16:26:00 +00:00
Jermolene 638c8b2070 Fixes to fullscreen support
Prompted by this article:

http://generatedcontent.org/post/70347573294/is-your-fullscreen-api-code
-up-to-date-find-out-how-to
2013-12-18 21:39:59 +00:00
Jermolene cc39686693 Create `tiddlers` subfolder in wiki folder if it is not present 2013-12-18 21:11:52 +00:00
Jermolene 5ac5b2c76d Move markdown.js
Leaving it in node_modules meant that it wasn’t getting installed by npm

Fixes #281
2013-12-15 16:44:49 +00:00
Jermolene 8496337d30 Remove "coreversion" metadata from plugins
There’s no support for it yet, so it’s confusing.
2013-12-14 09:49:39 +00:00
Jermolene 67072371a0 Get rid of extraneous logging on filesystemadaptor 2013-12-11 13:13:48 +00:00
Jermolene 062822d45c Fix file system behaviour for loading new tiddlers
We don’t need to load tiddlers because they will all have been loaded
during bootup, or been created through the file system adaptor.
2013-12-11 11:45:15 +00:00
Jermolene 9d60cb50ed Make sure the github ribbon is behind any notifications 2013-11-26 22:46:36 +00:00
Jermolene 8cf2b06e53 Move Google Analytics integration into a proper plugin 2013-11-25 23:14:12 +00:00
Jermolene f9fbbc12a6 Ensure github-fork-ribbon styles tiddlylinks
Otherwise CSS specificity means that the TW core styles win
2013-11-19 19:44:40 +00:00
Jermolene dc9ec22156 A plugin for adding github ribbons 2013-11-19 14:23:30 +00:00
Jermolene 90a0eca2f5 Add dropdown interface for setting the type of a tiddler 2013-11-18 09:00:25 +00:00
Jermolene ecca7a3ea9 TiddlyWeb control panel update 2013-11-15 22:09:06 +00:00
Jermolene 95b7a5d4fe Add host configuration to TiddlyWeb control panel tab 2013-11-10 23:28:03 +00:00
Jermolene a668f09522 More refinements to the control panel
Including adding a TiddlyWeb-specific control panel tab
2013-11-10 21:53:39 +00:00
Jermolene 6f1c9d88cc Improve the Widget.prototype.removeChildDomNodes() method so that most subclasses won't need to override it 2013-11-09 16:55:14 +00:00
Jermolene 06e0bdbfbb Improve readability of CodeMirror editor 2013-11-09 15:56:17 +00:00
Jeremy Ruston ec481415f9 Fixes for TiddlyWeb 2013-11-08 20:18:26 +00:00
Jeremy Ruston cc0011abd3 Get rid of the "new_" prefix we had on some methods
There's still the "old_" prefix to get rid of too.
2013-11-08 08:51:14 +00:00
Jeremy Ruston b7cb1d3391 Change `new_widget` to `widget`
I was avoiding doing this until after the merge.
2013-11-08 08:47:00 +00:00
Jeremy Ruston 35adf4269a Merge backlog of changes from master branch
This is too easy. I'm worried.
2013-11-08 08:33:27 +00:00
Jeremy Ruston 36fa41e19a First pass at integrating a Markdown parser
Internal links don't work yet.

@natecain - have I included the node module in the right way?
2013-11-01 16:06:08 +00:00
Jeremy Ruston 693d1803bf Fix problem with codemirror plugin and handling of ordinary input fields 2013-10-30 14:28:20 +00:00
Jeremy Ruston d2b2ae5262 Fix filesystem adaptor to use new widget mechanism 2013-10-29 14:53:23 +00:00
Jeremy Ruston c4d5b803ef Temporarily disable the filewatcher functionality
It's currently broken, awaiting a fix from @natecain
2013-10-29 14:47:18 +00:00
Jeremy Ruston c46748b82f Fix the template for serving tiddlers 2013-10-25 22:30:36 +01:00
Jeremy Ruston eb5a8253ba Make the full screen plugin work again 2013-10-25 12:53:58 +01:00
Jeremy Ruston 11a07e71dc Move stripcomments from the classictools plugin into the core
It's a bit of a hack for the moment. The plan is to implement
stripcomments via the macro mechanism, at which point it can move back
into the plugin.
2013-10-25 12:32:57 +01:00
Jeremy Ruston cfa68dade5 Update CodeMirror plugin to latest version and the new widget framework
Now the CodeMirror plugin modifies the behaviour of the core edit-text
widget.
2013-10-25 09:48:57 +01:00
Jeremy Ruston a5f5f1bd9c Fixed up the D3 demo plugin 2013-10-24 20:45:53 +01:00
natecain 539915d300 Provide an exports object in the evalSandboxed context of jasmine-plugin 2013-10-12 13:42:02 -04:00
natecain 2c02b6d6bc Remove watcher while saving, and use AddTiddler instead of modifying tiddlers directly 2013-10-11 18:43:51 -04:00
natecain 4849bd43c8 More graceful handling of tiddler delete in filesystemadaptor watch code 2013-10-11 17:54:47 -04:00
natecain ee236060c7 Rudimentary fs.watch usage in filesystemadaptor
Will only watch for changes on wiki files loaded during startup or created by runtime
    (Does not yet track renames/deletes)
    (Will not notice new files)
  May become confused by directory structure changes on some platforms
    (see node docs on fs.watch for caveats!)
2013-10-11 17:10:10 -04:00
Jeremy Ruston 20f06e8eec Ensure that the core plugins inherit their version number from the main `package.info` 2013-08-26 13:28:23 +01:00
Jeremy Ruston c54faeecd8 Merge tw2 related plugins and templates
Now all the plugins and templates needed are in the plugin
`tiddlywiki/classictools`
2013-08-04 22:06:36 +01:00
Jeremy Ruston 892b24d6e1 Allow templating of URLs for TiddlyWebAdaptor
Templates for TiddlyWeb URLs are defined in the tiddler
`$:/config/tiddlyweb/host` as a string that can include `$protocol$`
and `$host$`. The default is `$protocol$//$host$/`
2013-08-03 16:25:47 +01:00
Jeremy Ruston 1fed9e7eee Add "spiral" attribute to wordcloud widget 2013-08-02 22:04:50 +01:00
Jeremy Ruston c817690ab9 First pass at WordCloud plugin 2013-07-30 12:36:36 +01:00
Jeremy Ruston ea8556bb1f Ensure the bar chart widget updates its view when it refreshes 2013-07-21 21:08:46 +01:00
Jeremy Ruston 5445a8b782 Add first pass of D3.js plugin, and a new demo wiki for it 2013-07-16 15:03:40 +01:00
Jeremy Ruston 28b0b58a11 Make a distinction between templates and UI
Templates are the low-level bits and pieces that allow TW5 to generate
HTML and CSS renderings of tiddlers. The UI folder contains the
user-visible UI of TW5
2013-05-31 15:38:27 +01:00
Jeremy Ruston 00a06f744c Remove the obsolete Dropbox plugins 2013-05-29 18:32:07 +01:00
Jeremy Ruston eebf3dae95 CodeMirror updates 2013-05-15 17:32:28 +01:00
Jeremy Ruston 8564602256 Refactor rendertree to simplify context handling
Get rid of the separate renderContext stack and instead have a parent
pointer on renderer nodes. This lets us walk back up the render tree to
resolve context references
2013-05-15 17:32:17 +01:00
Jeremy Ruston 6864251962 Cleaning up content types
Dealt with some inconsistencies
2013-05-13 17:42:07 +01:00
Jeremy Ruston dd8c8567fd Add experimental CodeMirror plugin
The plugin is incomplete, and currently abandoned. It loads up an
instance of CodeMirror as an editor, and loads the right tiddler into
it, but the work hasn't been done to allow changes to be saved. The
startup time is ridiculously long, which is why I abandoned it.
2013-05-07 14:42:47 +01:00
Jeremy Ruston debf29d391 Fix Jasmine stylesheet 2013-04-30 23:01:08 +01:00
Jeremy Ruston 17cfd57390 Start making themes switchable
Separately switch in ordinary plugins and themes. Change the convention
for plugin information to use dashes rather than camel case.
2013-04-28 22:52:26 +01:00
Jeremy Ruston 8e582e002b Experimental plugin for Tahoe-LAFS 2013-04-26 22:18:46 +01:00
Jeremy Ruston 297a924d05 Cleaning up the jasmine plugin adaptor 2013-04-25 17:09:26 +01:00
Jeremy Ruston 709e3eec14 First version of testing plugin based on Jasmine
It will need some cleaning up here and there, but at this point works
cross-platform
2013-04-25 09:06:13 +01:00
Jeremy Ruston ba7b886067 Move tiddlyweb stuff into a separate ServerControlPanel
Eventually we'll need a more general purpose mechanism for plugins to
add UI to the control panel
2013-04-16 11:17:27 +01:00
Jeremy Ruston 7b45c0bec8 Move the required template overrides into the tiddlyweb plugin 2013-04-03 13:23:07 +01:00
Jeremy Ruston e449c0bb7d Added support for deleting tiddlers during file synchronisation 2013-03-25 20:16:12 +00:00
Jeremy Ruston 1b4f292351 Grammar 2013-03-25 20:04:52 +00:00
Jeremy Ruston 631dd1cc5f Added ability to disable file saving for specific tiddlers 2013-03-25 19:50:33 +00:00
Jeremy Ruston d75db05ea6 Cleaning up the previous commit 2013-03-25 12:12:53 +00:00
Jeremy Ruston 10b192e743 Add support for saving binary files 2013-03-25 12:11:34 +00:00
Jeremy Ruston 19b62c30d8 Parameterise the template for saving tiddlers 2013-03-25 11:09:34 +00:00