Jermolene
1e3a41311d
Use OS-independent path delimiter
...
Fixes #1187
2014-12-03 17:24:59 +00:00
Jermolene
e11c9e83b9
Coding style cleanup
2014-12-02 15:32:52 +00:00
Tobias Beer
4d68111c49
added object as third parameter to callback
2014-12-02 12:47:19 +01:00
Tobias Beer
0f157cff90
code style revision
...
thanks, Jeremy... will watch out for that
2014-11-26 18:50:12 +01:00
Tobias Beer
1e47a62c2a
allows to break out of $tw.utils.each
...
Will improve performance with `$tw.utils.each` callbacks breaking out of
the iteration via `return false;`.
2014-11-26 17:51:27 +01:00
Jeremy Ruston
92b957f6f8
Merge pull request #1118 from welford/hook
...
Add hooks mechanism and th-opening-default-tiddlers-list hook
2014-11-25 19:25:00 +00:00
Jermolene
62ad533aa6
Clarify tiddlerExists docs
2014-11-24 09:22:43 +00:00
Jermolene
a614c0d543
Improve compatibility with JS modules
...
If a module ended with a single line comment `\\` then the appended
`;})();` was being ignored and eaten up as part of the comment.
2014-11-23 15:24:01 +00:00
James Welford Anderson
804a579d17
Remove alert from addHook.
...
Thanks to @tobibeer
2014-11-23 14:34:04 +09:00
James Welford Anderson
90caf5bf42
Add hooks mechanism and th-opening-default-tiddlers-list hook
...
see: https://github.com/Jermolene/TiddlyWiki5/issues/1064
2014-11-23 01:11:56 +09:00
Jermolene
8e685e5150
Allow includeWikis to be read-only
...
Hopefully this will help resolve issues that @xcazin and @pmario have
been having with using the client-server configuration to prepare
translations of the TW5 docs.
2014-11-13 12:28:51 +00:00
Jermolene
853f5fd064
Add some logging for file import/paste
2014-11-08 08:37:08 +00:00
Jermolene
cea963420c
Improve error handling under Node.js
...
Now we include the stack trace with the error message. Thanks to
@felixhayashi for the suggestion.
2014-11-03 16:14:51 +00:00
Jermolene
5d600ce31b
Coloured warnings and errors under Node.js
2014-10-21 19:30:27 +01:00
Jermolene
9fedf38657
Remove checking for missing wiki folders
...
Thus undoing 744245ea32
because of #1002
2014-10-21 19:28:38 +01:00
Jeremy Ruston
f25053490e
Merge pull request #998 from xcazin/ogg
...
Add audio/ogg to the list of recognised formats
2014-10-20 12:30:00 +01:00
Xavier Cazin
6833bfb220
Add audio/ogg to the list of recognised audio formats
2014-10-19 22:09:17 +02:00
Jermolene
744245ea32
Raise error for missing wiki folders
...
Only raise the error if the wiki path is explicitly specified on the
command line, avoiding `tiddlywiki —version` raising an error if the
current directory isn’t a wiki folder.
Fixes #990
2014-10-18 19:39:39 +01:00
Jermolene
6c76670137
Removed outdated comment
2014-10-18 17:46:19 +01:00
Jermolene
2ffe53f191
Add audio parser for handling audio content
2014-10-18 14:50:07 +01:00
Jermolene
49dc5694a3
Enhance "includeWikis" to merge build targets
...
Build targets found in included wikis are merged behind any found in
the wiki itself
2014-10-14 15:14:50 +01:00
Jermolene
b7bbcfa056
Prompt twice when setting password
...
Fixes #364
2014-10-06 10:22:09 +01:00
Jermolene
0c8e538077
Add support for custom password prompts
2014-10-06 10:02:34 +01:00
Jermolene
67db9d57a2
Boot prefix should preserve $tw in the browser
...
This change allows raw markup tiddlers to preload configuration values
into the `$tw` global
2014-10-06 10:02:20 +01:00
Jermolene
6d9bd4df8a
Add support for markdown file extensions
...
Fixes #856
By the way @cjp are there any other Markdown extensions in common use?
2014-09-16 20:06:23 +01:00
Jermolene
2b78d5a977
Refactor handling of .htm and .hta file extensions
...
Taking advantage of the recent change to be able to pass an array of
file extensions to `$tw.utils.registerFileType()`
2014-09-16 20:05:13 +01:00
Jermolene
73a4747d05
Handle jpeg
file extension correctly
...
Fixes #844
2014-09-14 20:35:01 +01:00
Jermolene
ac54fe3326
Disable plugins in safe mode
...
Fixes #820
2014-09-08 19:50:48 +01:00
Jermolene
53368ba5fa
Rename "tw-error-*" classes to "tc-error-*"
...
Part of #764
2014-08-28 17:39:32 +01:00
Jermolene
35a3224dba
Rename "tw-password-wrapper" class to "tc-password-wrapper"
...
Part of #764
2014-08-28 17:38:53 +01:00
Jermolene
d8c3691bd1
Removed unneeded CSS classes
...
Part of #764
2014-08-28 17:17:50 +01:00
Jermolene
c912fed55d
Use a JSON tiddler for $:/config/OriginalTiddlerPaths
...
Otherwise things go wrong when we have tiddler titles containing colons
2014-08-20 10:11:40 +01:00
Jermolene
32a7ee2683
Make it possible to disable plugins
2014-08-15 21:10:40 +01:00
Jermolene
08f775eac8
Recognise .HTA as synonym for .HTML files
...
Fixes #513
2014-08-04 15:12:33 +01:00
Jermolene
c73853288c
Allow .htm as an alias for .html files
2014-07-24 19:53:51 +01:00
Jermolene
ef67cc3fd9
Make default location for new tiddlers configurable
2014-07-20 20:19:09 +01:00
Jermolene
beabae8d2b
Expose module.exports to tiddler modules
...
Needed to incorporate an upcoming third-party library.
@natecain - do you think this is OK from a compatibility perspective?
2014-07-20 18:06:19 +01:00
Jermolene
19061650de
Refactoring for hygeine
2014-06-19 12:05:41 +01:00
csugden
1945af0b2d
Fixes undefined loop variables ( fixes #657 )
2014-06-18 11:56:27 +01:00
Jermolene
e6b783154f
Allow arbitrary fields in plugin.info files
...
Fixes #642
2014-06-18 08:52:31 +01:00
Jermolene
d2d0b09235
Refactoring plugin loading on Node.js
2014-06-18 08:34:49 +01:00
Jermolene
a9b7df96c2
Add support for TIDDLYWIKI_EDITION_PATH
2014-06-17 21:59:20 +01:00
Jermolene
b2e48d00e9
Add environment variables for locating plugins
...
Start of fixing #531 (we still need to deal with
TIDDLYWIKI_EDITION_PATH)
2014-06-17 21:33:44 +01:00
Jermolene
62c602e9d2
Fix for running under node-webkit
2014-05-28 08:57:29 +01:00
Jermolene
e228ac42db
Fix problem with shadow tiddler iteration
...
See https://groups.google.com/d/topic/tiddlywiki/pNxZsSCVp7c/discussion
for more details of the bug.
2014-05-17 01:12:08 +01:00
Jermolene
31e1088aa7
Clean up startup logging
...
Now we do boot logging to an array. We harvest it in the —verbose
command. We still need to provide a way to access the log in the
browser too.
2014-05-15 18:50:14 +01:00
Jermolene
4e07b3335b
Extend .tid files to allow single line text fields
...
To make it easier to create tiddlers that don’t include a terminating
newline in their text
2014-05-13 10:27:03 +01:00
Jermolene
b77d5f9725
Clean up whitespace
2014-05-13 10:26:02 +01:00
Jeremy Ruston
711b76307c
Merge pull request #604 from natecain/module_exports
...
Module exports
2014-05-07 14:05:45 +01:00
Jermolene
a9411262f7
Improve TiddlyWiki as a library
...
1. Make it possible to disable specific boot tasks
2. Extend the startup mechanism to allow startup tasks to be disabled
Again, see Jermolene/TiddlyWiki5NodeWebkit to see how these features
fit together.
2014-05-07 12:51:16 +01:00