Jeremy Ruston
1c699c7118
Update the tiddler macro to have a templateText parameter
2012-10-15 18:46:47 +01:00
Jeremy Ruston
4ad8859864
Beginnings of refactoring the transclude macro
...
We want to make it selectively refresh for better performance
2012-10-15 18:46:33 +01:00
Jeremy Ruston
80cbe2a98f
Refactor out the reexecuteInDom() method of macros
2012-10-15 18:46:04 +01:00
Jeremy Ruston
5761723078
Accidentally omitted from previous commit
2012-10-15 18:45:36 +01:00
Jeremy Ruston
fd4ff10bf3
Added $tw.utils.pulse() for animating elements
...
To make it easier to see things while debugging
2012-10-15 17:18:32 +01:00
Jeremy Ruston
0187f3c3bc
Whitespace cleanup
2012-10-14 00:21:23 +01:00
Jeremy Ruston
6c42f38b9b
Ensure that history and story tiddlers are shadow tiddlers
2012-10-12 19:43:34 +01:00
Jeremy Ruston
d4b2ab4a5f
Add a serialisation for preloading a tiddler
2012-10-12 19:01:19 +01:00
Jeremy Ruston
36e8040773
Added support for tiddlers preloaded through JavaScript
2012-10-12 19:01:03 +01:00
Jeremy Ruston
60eeca5893
Updated to latest version of Bootstrap
2012-10-11 15:58:05 +01:00
Jeremy Ruston
63e486298c
Fixed typo in link macro
2012-10-11 14:56:22 +01:00
Jeremy Ruston
5732cd4239
Updates to tw5dropbox
2012-10-10 16:33:07 +01:00
Jeremy Ruston
1896063788
Added plain module serialiser
...
Needed when we pack lots of modules into a single .js file
2012-10-10 16:32:55 +01:00
Jeremy Ruston
bf75735db9
Several fixes
...
1. Made crypto module optional
2. Moved hasOwnProperty into boot kernel
3. Fixed handling of modules in the browser
2012-10-10 16:32:37 +01:00
Jeremy Ruston
35d8ff871a
First commit of TiddlyWiki5 in the Sky for Dropbox
...
This is a new build of TiddlyWiki5 that pulls it's content from a
Dropbox App folder.
(This naming strategy is seeming increasingly stupid).
2012-10-10 10:47:05 +01:00
Jeremy Ruston
6b6def8725
Fixed the view macro to fail silently if the target tiddler doesn't exist
2012-10-10 10:45:58 +01:00
Jeremy Ruston
fc19a77353
Added support for PDF images
2012-10-10 10:45:39 +01:00
Jeremy Ruston
70ac853d28
Separated out the version check to make it easier to test
2012-10-01 16:50:42 +01:00
Jeremy Ruston
b9e5171da6
Allow template overrides for the story
2012-09-14 17:29:30 +01:00
Jeremy Ruston
52f9e495ae
Add ability for link macro to link through a given field
...
This is a bit of a hack, and a more harmonious way of doing this is
planned
2012-09-14 17:29:17 +01:00
Jeremy Ruston
238946b32b
Update story macro to use rules to choose templates
...
Now special mapping tiddlers are used to determine which templates are
used for a given tiddler
2012-09-12 15:33:11 +01:00
Jeremy Ruston
7b4da4319a
Allow filterTiddlers to be used on a hashmap of tiddlers
2012-09-12 15:32:26 +01:00
Jeremy Ruston
61c501e5a3
Added the full screen icon to the navbar
...
It's now getting a bit crowded.
2012-09-12 10:47:14 +01:00
Jeremy Ruston
7a17e7b216
Added full screen mode plugin
2012-09-12 10:46:39 +01:00
Jeremy Ruston
c39654917f
Added support for browser startup modules
2012-09-12 10:46:28 +01:00
Jeremy Ruston
9e8b665b8b
CSS tweaks for full screen mode
2012-09-12 10:45:59 +01:00
Jeremy Ruston
8386607092
Added feature detection for HTML5 full screen mode
2012-09-12 10:45:23 +01:00
Jeremy Ruston
e637b54f36
Add password handling to server
2012-09-02 21:00:24 +01:00
Jeremy Ruston
2b578c5acc
Add command for saving in encrypted form
...
Temporary UI
2012-09-02 20:59:53 +01:00
Jeremy Ruston
1200c8329a
Add Stanford JavaScript Crypto Library for encryption of tiddlers
...
Initial implementation. The password is hardcoded on the server, but
properly prompted in the browser.
2012-09-02 20:29:47 +01:00
Jeremy Ruston
3070357d70
Refactor serialisers to work on an array of tiddlers
2012-09-02 20:28:32 +01:00
Jeremy Ruston
a95c83628d
Now got exploded plugins working on the server
2012-08-31 17:25:18 +01:00
Jeremy Ruston
e232a374e1
Plugin refactoring
2012-08-31 16:37:11 +01:00
Jeremy Ruston
b2369df65a
Further refactoring to the plugin mechanism
2012-08-31 16:36:57 +01:00
Jeremy Ruston
7a15b6f97a
Fixed mis-renaming of tiddlywiki.files
2012-08-31 15:09:33 +01:00
Jeremy Ruston
ed3a10f043
Renamed tiddlywiki.plugin
files to tiddlywiki.files
...
Because we're just about to use the name `tiddlywiki.plugin` for
exploded plugin folders
2012-08-31 15:04:08 +01:00
Jeremy Ruston
bb972888b9
Constituent tiddlers prefixed with title of plugin tiddler
2012-08-31 14:19:13 +01:00
Jeremy Ruston
88e7a4fb67
Basic plugin support for browser and server
...
Currently only supports plugins packed as a single JSON tiddler
2012-08-31 12:34:39 +01:00
Jeremy Ruston
4cebcddeeb
Fixes suggested by Firefox's console
2012-08-31 11:38:30 +01:00
Jeremy Ruston
dd7bb54965
Removed extraneous parameter from startup module invocation
2012-08-30 15:22:44 +01:00
Jeremy Ruston
8a2b1aea9b
Comment update
2012-08-30 15:20:57 +01:00
Jeremy Ruston
57123933be
Fixed typo
2012-08-30 15:03:01 +01:00
Jeremy Ruston
807f8b8aab
More refactoring to better separate concerns
...
registerModuleTiddlers() references the wiki store and so really should
be a method of it
2012-08-30 15:00:08 +01:00
Jeremy Ruston
b80332316b
More calming, clarifying renaming
2012-08-30 14:53:35 +01:00
Jeremy Ruston
8542bca4ea
Dropped the "Typed" from "TypedModules"
2012-08-30 14:46:58 +01:00
Jeremy Ruston
b9f692d66f
Rename the internal boot modules
2012-08-30 14:43:58 +01:00
Jeremy Ruston
ec2633a241
Clarifying comment
2012-08-30 14:43:13 +01:00
Jeremy Ruston
39edb0160e
Removed extraneous constant
2012-08-30 14:40:33 +01:00
Jeremy Ruston
6c2ebe1eee
Fixed problem with node version number check
2012-08-30 14:40:00 +01:00
Jeremy Ruston
939e153243
Fixed node.js version check
2012-08-30 14:33:07 +01:00
Jeremy Ruston
a3694d8cb3
Removed extraneous console.log
2012-08-30 08:40:00 +01:00
Jeremy Ruston
68f7072c94
TiddlyFox now saves with TiddlyWiki5 as well as TiddlyWiki Classic
2012-08-29 22:40:58 +01:00
Jeremy Ruston
389b6513b6
Fixed wiki.saveWiki to pass the correct parameters to the template
2012-08-25 17:32:43 +01:00
Jeremy Ruston
44bef260f0
Change tiddler macro to use parseTiddler parameter substitution
2012-08-25 14:16:33 +01:00
Jeremy Ruston
52a51b79aa
Extraneous variable definition
2012-08-25 14:16:21 +01:00
Jeremy Ruston
24cb5cb19c
Missing semicolonisation
2012-08-25 14:16:11 +01:00
Jeremy Ruston
68efce20c4
Starting building an empty.html
2012-08-25 12:07:39 +01:00
Jeremy Ruston
1db72ea931
Add support for parameter substitutions to the savetiddler command
2012-08-25 12:07:15 +01:00
Jeremy Ruston
175d7c67fd
Moved support for parameter substitution into wiki.parseText()
...
We'll later refactor the same logic out of the tiddler macro
2012-08-25 12:05:57 +01:00
Jeremy Ruston
1d6eba3071
Add "transclude" format for the view macro
...
Uses the value of the field as the title of a tiddler to transclude
2012-08-23 12:31:16 +01:00
Jeremy Ruston
0bcaa75f18
Improved comments
...
And one minor refactoring
2012-08-22 12:33:21 +01:00
Jeremy Ruston
8e6647b615
Initial tranche of the plugin implementation
...
This first commit adds some of the code needed for the plugin
mechanism, but it isn't all fully operational yet. I'm merging the
branch so that I can get some other pre-requisites done quickly on the
main branch, and then plan to return to this branch.
2012-08-06 22:34:16 +01:00
Jeremy Ruston
daff9c10f3
Tighten terminology for plugins vs. modules
...
"Plugins" are bundles of tiddlers managed as one, "modules" are
JavaScript tiddlers with a module type identifying when and how they
should be executed.
2012-08-03 15:09:48 +01:00
Jeremy Ruston
c11743088a
Niceties for JSHint
2012-08-02 22:32:34 +01:00
Jeremy Ruston
3ade3397fb
Keeping JSHint happy
2012-08-02 22:24:37 +01:00
Jeremy Ruston
1f52b40cb6
Added parser rule for HTML format comments
...
And try it out in the PageTemplate, which is getting pretty
unintelligable
2012-08-02 22:06:52 +01:00
Jeremy Ruston
1f64a9e758
Added node.js version check and related refactorings
2012-08-02 14:32:38 +01:00
Jeremy Ruston
d53eb50a6e
Content changes to reflect change from alpha.tiddlywiki.com to five.tiddlywiki.com
2012-07-23 17:31:36 +01:00
Jeremy Ruston
377d84185a
Missed off previous commit
2012-07-22 22:07:26 +01:00
Jeremy Ruston
a2caf46b1e
Added new wiki methods for reading and writing a toddler as data
2012-07-22 22:03:06 +01:00
Jeremy Ruston
a2c8002f2f
Removed tiddler border
2012-07-21 14:19:32 +01:00
Jeremy Ruston
cc59a49b39
Improved rounder close icon
2012-07-20 22:09:34 +01:00
Jeremy Ruston
c1e33ccacb
Changed default type for typed blocks to be text/plain
2012-07-18 14:28:17 +01:00
Jeremy Ruston
ec77acd6f7
Improved CSS animation technique
...
Clearer and more concise now that we're forcing layout rather than
using nextTick()
2012-07-18 11:45:17 +01:00
Jeremy Ruston
41845ba059
Animate modal message appearance
2012-07-17 18:28:47 +01:00
Jeremy Ruston
f90b127349
Add table formatting rule
2012-07-16 21:13:33 +01:00
Jeremy Ruston
8b61259973
Extend modal message handler to cope with missing subtitle or footer fields
2012-07-16 14:04:29 +01:00
Jeremy Ruston
a2da94e657
Fixed problem with wikitext macro rule selecting block mode wrongly
2012-07-16 13:58:00 +01:00
Jeremy Ruston
5cb834784a
Added optional help link to modal messages
2012-07-16 13:47:28 +01:00
Jeremy Ruston
d21a70f085
Update modal message mechanism to support custom footers
2012-07-16 12:57:44 +01:00
Jeremy Ruston
a689abf0c1
Whoops, should be HTML encoding tiddler div fields
2012-07-16 12:57:19 +01:00
Jeremy Ruston
4a783d08c6
Keeping JSHint happy
2012-07-16 12:56:59 +01:00
Jeremy Ruston
3b609ed1e5
Improving message wording
2012-07-16 10:38:14 +01:00
Jeremy Ruston
806048ab8c
Marginally less clumsy wording
2012-07-15 23:19:36 +01:00
Jeremy Ruston
5c1881f377
Hack to make the reveal macro parse as a run
2012-07-15 23:07:41 +01:00
Jeremy Ruston
0bd059c1f7
Run version of class wikitext rule
2012-07-15 23:07:25 +01:00
Jeremy Ruston
f97c6b6c25
Fixed typo
2012-07-15 23:07:07 +01:00
Jeremy Ruston
a7dd86b52a
Adjust wikitext html rule to parse in block mode if the opening tag is immediate followed by a newline
2012-07-15 23:06:51 +01:00
Jeremy Ruston
ca2c790c27
Fix the reveal macro in run mode
2012-07-15 23:06:24 +01:00
Jeremy Ruston
a149510fa3
Undo the filename change of classblock
2012-07-15 22:38:34 +01:00
Jeremy Ruston
59d9e683d8
Rename classblock parse rule to "class"
2012-07-15 22:37:25 +01:00
Jeremy Ruston
957b17a78c
Introduce edit mode
...
There's a wizard for switching into edit mode, and selective display of
UI elements
2012-07-15 22:35:39 +01:00
Jeremy Ruston
401b804931
Add support for "nomatch" to the reveal macro
2012-07-15 22:34:48 +01:00
Jeremy Ruston
7346a146f0
Extend the tiddler button so that it can set a tiddler to a given value
2012-07-15 22:34:36 +01:00
Jeremy Ruston
05eeacd270
Revise save instructions
2012-07-15 22:34:21 +01:00
Jeremy Ruston
8284b12ac2
Mockup content for the message on entering edit mode
2012-07-15 22:34:14 +01:00
Jeremy Ruston
ba2b537248
Removed extraneous console.log
2012-07-15 18:33:29 +01:00
Jeremy Ruston
87749397c0
Fixed embarrassing bug with the heading wikitext rule
2012-07-15 18:12:45 +01:00
Jeremy Ruston
f182463010
Improvements to the save instructions
2012-07-15 18:12:29 +01:00
Jeremy Ruston
d081de7707
Simplified top navigation bar
2012-07-15 17:37:18 +01:00
Jeremy Ruston
507460eb4e
Add warning notification when viewing a document on a data: uri
...
The intent is to handhold the user through their first save+verification
2012-07-15 17:37:03 +01:00
Jeremy Ruston
c9c26794af
Moved browser feature detection out of startup.js
2012-07-15 17:36:25 +01:00
Jeremy Ruston
dde26f8103
Remove CloseTiddler message to "close"
2012-07-15 17:36:02 +01:00
Jeremy Ruston
c8d98316fa
Removed extraneous class
2012-07-15 17:35:17 +01:00
Jeremy Ruston
9cbf10ea4f
Removed custom link colour
...
Annoyingly, it also affects the "btn-primary" colour
2012-07-15 17:35:04 +01:00
Jeremy Ruston
c74d608418
Removed parser switch
2012-07-14 18:08:00 +01:00
Jeremy Ruston
6d278ea4a1
Reorganisations
...
Part three
2012-07-14 15:58:41 +01:00
Jeremy Ruston
a05adc9d53
Reorganisations
...
Part two
2012-07-14 15:57:36 +01:00
Jeremy Ruston
3d4a5e1602
A bunch more source file reorganisations
...
Part one
2012-07-14 15:56:35 +01:00
Jeremy Ruston
761ffa403d
Complete renaming popupper component to popup
2012-07-14 15:52:35 +01:00
Jeremy Ruston
10b7075c7a
Rename popupper component to popup
...
Less confusing
2012-07-14 15:50:07 +01:00
Jeremy Ruston
4e547a7d35
Complete renaming the include macro to serialize
2012-07-14 15:46:01 +01:00
Jeremy Ruston
a046c774d4
Rename include macro to serialize
...
Because that's much more representative
2012-07-14 15:43:21 +01:00
Jeremy Ruston
73071f18ae
Replace obsolete hide macro with reveal macro
2012-07-13 23:39:20 +01:00
Jeremy Ruston
80fd563ccc
Get rid of obsolete linkcatcher macro
2012-07-13 23:09:45 +01:00
Jeremy Ruston
226e3f1417
Remove obsolete download macro
2012-07-13 22:57:24 +01:00
Jeremy Ruston
b0cc508c56
Fix PageTemplate reference in static template
2012-07-13 22:57:13 +01:00
Jeremy Ruston
e0765ec700
Allow the save template to be specified in the message parameter
2012-07-13 22:56:57 +01:00
Jeremy Ruston
4c1f818094
Extended button macro to take a message parameter
2012-07-13 22:56:30 +01:00
Jeremy Ruston
f1b4521fdb
Use the skinny styles for landscape smartphones
2012-07-13 22:55:39 +01:00
Jeremy Ruston
95e48b39d9
Better styling for smartphone sized screens
2012-07-13 22:20:39 +01:00
Jeremy Ruston
fa67259d6d
Moved command line interface so that it's not included in the core
...
We don't want it in the browser
2012-07-13 18:29:49 +01:00
Jeremy Ruston
e451f2398e
Setting up NPM command line usage of TiddlyWiki
2012-07-13 18:17:46 +01:00
Jeremy Ruston
898e86db79
Use the version number from the package.json file
...
Instead of the old separate version.txt file
2012-07-13 17:38:23 +01:00
Jeremy Ruston
d910d75124
Updated to node v.0.8.2
2012-07-13 17:08:15 +01:00
Jeremy Ruston
3a24bdbaf3
Credit for BidiX
2012-07-13 16:51:35 +01:00
Jeremy Ruston
85068ab0b3
Fixes for upload saver
2012-07-13 13:53:51 +01:00
Jeremy Ruston
5e11de719c
Added HTTP upload saver
...
Now we can save changes to TiddlySpot
2012-07-13 13:03:38 +01:00
Jeremy Ruston
b4a75b25fc
New password macro for setting passwords
...
They are stored unencrypted in localStorage
2012-07-13 13:03:07 +01:00
Jeremy Ruston
e19552774f
Simple password management
2012-07-13 13:02:34 +01:00
Jeremy Ruston
36ff53f40b
Extended edit macro
...
Now it accepts a default value for the field if the tiddler doesn't
exist. It also allows the forcing of a single line input control
2012-07-13 13:02:14 +01:00
Jeremy Ruston
6e86de5652
Update edit macro to be able to edit a specified tiddler
...
Previously you could only edit fields on the current tiddler
2012-07-13 11:26:34 +01:00
Jeremy Ruston
a7c1b1896e
Tell JSHint about Firefox's globals
2012-07-13 11:26:12 +01:00
Jeremy Ruston
3f1e8ee79a
Removed old code
2012-07-13 11:25:57 +01:00
Jeremy Ruston
6ff361cdc2
Restored height fixer for text editor
2012-07-12 18:53:20 +01:00
Jeremy Ruston
05d9cb60fc
Passed host wiki to saver constructors
2012-07-12 16:58:49 +01:00
Jeremy Ruston
9404d670d3
Added download saver, our fallback based on standard HTML
...
It's clunky, and requires manual intervention to accomplish a save, but
it does work on Chrome, Safari, iOS mobile safari
2012-07-12 13:13:48 +01:00
Jeremy Ruston
632c846ae0
Check for being on a file URI before trying to use Firefox's XUL file saving
2012-07-12 13:11:58 +01:00
Jeremy Ruston
1971f86d5e
Remove blanket dependency from transclude macro
...
It was a bit of a sledgehammer to crack a nut, and slowed down Firefox
terribly
2012-07-11 16:26:58 +01:00
Jeremy Ruston
d16481c524
Refactored editor logic to handle refreshes more efficiently
2012-07-11 15:52:15 +01:00
Jeremy Ruston
6a0a4ae00d
Removed extraneous console.log
2012-07-11 15:51:52 +01:00
Jeremy Ruston
c340082653
Added primitive save changes mechanism
...
Works in Firefox for now
2012-07-10 23:18:44 +01:00
Jeremy Ruston
9c26f04928
Extraneous line break
2012-07-10 23:18:17 +01:00
Jeremy Ruston
f04b056392
Fixed a longstanding issue with javascript module tiddlers being truncated by one character
2012-07-10 23:18:07 +01:00
Jeremy Ruston
ea6d7f5c08
Fixed a long standing issue with javascript module tiddlers being truncated
...
Ouch!
2012-07-10 23:17:39 +01:00
Jeremy Ruston
443f2e4aa8
Docs update
2012-07-08 19:26:00 +01:00
Jeremy Ruston
9c7a6e5973
Firefox fix
...
Was preventing zoomin animations working properly
2012-07-07 18:44:27 +01:00
Jeremy Ruston
c49c4ef681
Improved animation for closing tiddlers in the zoomin view
2012-07-07 17:58:28 +01:00
Jeremy Ruston
f412dd19d9
Lots of fixes to storyview mechanism
...
And a new scroller mechanism
2012-07-07 17:14:50 +01:00
Jeremy Ruston
a21d96adc1
Fixed typo
2012-07-07 17:14:19 +01:00