Jeremy Ruston
416ab0c060
Removed startup history list processing
...
Not needed anymore
2012-10-26 22:51:54 +01:00
Jeremy Ruston
595a47f270
Make it easier to detect the UTF-8 encoding of the main HTML file
...
It turns out that Dropbox, and some browsers, just sniff the first few
hundred bytes looking for the bit pattern of UTF-8 characters
2012-10-26 22:30:46 +01:00
Jeremy Ruston
e97f778af4
Now we've got scrolling for navigation in classic view
2012-10-26 22:20:06 +01:00
Jeremy Ruston
324a87a8a2
Further refinements to the list mechanism
...
Much better navigation animation for classic view
2012-10-26 22:12:40 +01:00
Jeremy Ruston
865e26bbce
Extraneous console.log
2012-10-26 22:12:23 +01:00
Jeremy Ruston
8730c76884
Saving maps in CecilyView
2012-10-26 17:57:57 +01:00
Jeremy Ruston
187b6bfa4d
Make sure newly inserted classic view list elements get their height reset to auto after being animated
2012-10-26 17:43:52 +01:00
Jeremy Ruston
858fde3b59
Fixed iffy scrolling during navigation
2012-10-26 17:35:03 +01:00
Jeremy Ruston
9797c6aada
Tweaks to the listviews
...
Cecily gets a bit better, and we start to handle navigation events.
Scrolling seems to still be a bit iffy
2012-10-26 17:19:34 +01:00
Jeremy Ruston
dd6e7d7e10
Cecily updates
2012-10-26 14:01:49 +01:00
Jeremy Ruston
3dcada04d4
Extraneous console.log
2012-10-26 14:01:38 +01:00
Jeremy Ruston
7027c30a32
Typo
...
We don't want these macros to be executed when this comment is displayed
2012-10-26 14:01:27 +01:00
Jeremy Ruston
b1f3d169fb
Fix classic list viewer to use the new browser abstraction layer
2012-10-26 14:01:11 +01:00
Jeremy Ruston
da43887d7c
Add the ability to set classes on list elements
2012-10-26 14:00:56 +01:00
Jeremy Ruston
031e3b8b80
Updates to CecilyView and browser.js
2012-10-26 10:28:32 +01:00
Jeremy Ruston
f418f5493e
Bring in a demo area for the Cecily view
2012-10-25 23:05:26 +01:00
Jeremy Ruston
5a58639131
Get rid of the old story macro, and tidy up
2012-10-25 22:44:41 +01:00
Jeremy Ruston
ba4e140147
Fixed problem with retrieving non-existent list tiddlers
2012-10-25 22:44:00 +01:00
Jeremy Ruston
7c76ec02c2
Better programmatic CSS handling
2012-10-25 22:20:27 +01:00
Jeremy Ruston
495f208aa4
Extraneous space
2012-10-25 22:19:50 +01:00
Jeremy Ruston
950b46276e
Start updating the browser prefix stuff
...
The old way led to code that was too long and unreadable.
2012-10-25 14:58:32 +01:00
Jeremy Ruston
cbfc96cabd
Simplify unhyphenating CSS properties
2012-10-25 14:57:48 +01:00
Jeremy Ruston
e063ec6b1a
Added new getTiddlerList() method to wiki
2012-10-25 14:57:33 +01:00
Jeremy Ruston
122c69dfc1
Tweaks to animation speed setting
2012-10-25 13:33:21 +01:00
Jeremy Ruston
723fbf12ce
Minor tweaks to navigator
2012-10-25 13:04:03 +01:00
Jeremy Ruston
73bcb1c31e
Rename the file, too
2012-10-25 12:57:15 +01:00
Jeremy Ruston
6d397edf30
Rename the navigationcatcher macro to navigator
2012-10-25 12:55:36 +01:00
Jeremy Ruston
7c19b9f5a3
Remove old navigator macro
...
We'll rename the new one to "navigator" afterwards
2012-10-25 12:53:32 +01:00
Jeremy Ruston
ccf93118ba
Fixes for new tiddler positioning
2012-10-24 23:03:06 +01:00
Jeremy Ruston
8d67bcb718
Fixes for navigation
2012-10-24 22:50:15 +01:00
Jeremy Ruston
e88da55683
Fixes for the new tiddler button
2012-10-24 22:39:37 +01:00
Jeremy Ruston
f623515b1c
Fixed styles for the EditTemplate
2012-10-24 22:39:25 +01:00
Jeremy Ruston
f77b3a54ca
Switch from the old navigator macro the new navigationcatcher macro
...
We'll probably rename the navigationcatcher macro, because the name is
rubbish.
2012-10-24 22:33:33 +01:00
Jeremy Ruston
ce4a14c68a
Fixed tiddler styling issues
2012-10-24 22:28:25 +01:00
Jeremy Ruston
999d63c0f0
Add a cecily view
...
Finally, the start of a proper 2D ZUI view. It's going to replace the
current "zoomin" storyview
2012-10-24 22:15:57 +01:00
Jeremy Ruston
d1c396507b
Update the PageTemplate to use the list macro instead of the story macro
...
We're going to drop the story macro, which will break some things in
the short term. But it's awesome to be using the one macro for so many
different purposes (the main story, the tags listing, recent changes,
etc.)
2012-10-24 22:15:16 +01:00
Jeremy Ruston
3647690308
Fixed typo in the list macro
...
Pesky dots and dashes
2012-10-24 22:13:44 +01:00
Jeremy Ruston
5f17e7d01b
Fixed problem with list filter
...
It was failing if the list tiddler was missing
2012-10-24 22:11:23 +01:00
Jeremy Ruston
fc6e563c17
Fixed problem with the --server command
...
I hadn't updated the code since using parametic substitution in the
main template
2012-10-24 22:11:01 +01:00
Jeremy Ruston
c160c69187
Fixes to the insertion classic listview animation
2012-10-23 18:45:26 +01:00
Jeremy Ruston
e3f6a33157
First version of the "classic" listview
2012-10-23 18:19:20 +01:00
Jeremy Ruston
c087228b33
Starting to introduce list views
...
These are custom modules for visualising list manipulations and
navigations
2012-10-23 17:13:47 +01:00
Jeremy Ruston
5ced636abf
Rename "viewer" modules to "fieldviewer"
2012-10-23 16:40:22 +01:00
Jeremy Ruston
91bebe7b7f
Tweak the standard list filters
2012-10-23 16:28:53 +01:00
Jeremy Ruston
3a710ad9ce
Fix problem with sortTiddlers
2012-10-23 16:28:38 +01:00
Jeremy Ruston
8d4be5934b
Fixed problem with tags field being set to "undefined" for blank tiddlers
2012-10-21 16:50:37 +01:00
Jeremy Ruston
261ee54b5c
About time we had a "new tiddler" button
2012-10-21 16:44:53 +01:00
Jeremy Ruston
4c9c74586c
A function for displaying relative dates
2012-10-20 14:23:57 +01:00
Jeremy Ruston
092e495e90
Fixes the text reference parsing
2012-10-18 23:20:27 +01:00
Jeremy Ruston
f4f042d2be
Fix to transclusion viewer
2012-10-18 18:59:57 +01:00
Jeremy Ruston
971bc68163
Fixed search bug
2012-10-18 18:27:58 +01:00
Jeremy Ruston
cd04fa22c6
Introduce extensible viewer modules for the view macro
2012-10-18 18:27:27 +01:00
Jeremy Ruston
7d60c8f55e
Get ready to extend the view macro to use plugins for each view format
2012-10-18 15:53:01 +01:00
Jeremy Ruston
6263c0b40d
Allow keyboard input while full screen
2012-10-18 10:52:03 +01:00
Jeremy Ruston
10ed746209
Seach titles as well as bodies
2012-10-18 10:51:52 +01:00
Jeremy Ruston
1a88a12eb5
Fixing dropdown highlights
...
Pesky Bootstrap is a tad specific about wanting an <li> as the
immediate parent of a dropdown item <a>
2012-10-17 23:10:10 +01:00
Jeremy Ruston
c1cf82cfb8
Improve the efficiency of the search filter ordering
2012-10-17 21:00:46 +01:00
Jeremy Ruston
caaa798ced
Support search terms vs. literal search
...
Search terms like "one two" are searched like Google, returning
tiddlers with both terms
2012-10-17 20:38:36 +01:00
Jeremy Ruston
93f0a28c26
More search results
...
It's confusing limiting to 10 results unless we can show an indicator
that more results are available
2012-10-17 20:37:49 +01:00
Jeremy Ruston
1a74d8526f
Temporarily disable the search popup focus handling
...
Just so that search works again
2012-10-17 19:12:05 +01:00
Jeremy Ruston
5e2c3db385
Getting ready for using RegExp for search
...
So that we can do case insensitivity and partial matches
2012-10-17 19:10:48 +01:00
Jeremy Ruston
81a565e608
Starting to get the behaviour of the search popup more correct
2012-10-17 19:10:18 +01:00
Jeremy Ruston
42d4be3f20
Search improvements
...
1. Extended edit macro to allow a search-styled input to be used
2. Moved search box into nav bar
2012-10-17 18:03:17 +01:00
Jeremy Ruston
915caf2a18
Improvements and fixes to search
2012-10-17 14:57:13 +01:00
Jeremy Ruston
0982bcbf45
Added function to search a wiki
...
Crude at the moment
2012-10-17 14:34:59 +01:00
Jeremy Ruston
89819f533f
Added filter to search for text in a given tiddler
...
eg [searchVia[mySearchTermTiddler]] will return all the tiddlers
containing the string in the mySearchTermTiddler.
2012-10-17 14:34:34 +01:00
Jeremy Ruston
abd2693352
Adding temporary UI for testing search
2012-10-16 23:08:28 +01:00
Jeremy Ruston
5ef77ae3dd
Removing dead code
2012-10-16 23:06:53 +01:00
Jeremy Ruston
3e4945b033
Improving comments
2012-10-16 23:06:45 +01:00
Jeremy Ruston
541261f14d
Removing dead code
2012-10-16 23:06:37 +01:00
Jeremy Ruston
dd6fddad01
Added support for the empty message to the list macro
2012-10-16 21:42:36 +01:00
Jeremy Ruston
343a2c2340
Fixed problem with sorting by missing fields
2012-10-16 21:41:12 +01:00
Jeremy Ruston
456b8f9ba8
Fixed list macro to work properly in inline mode
2012-10-16 19:14:04 +01:00
Jeremy Ruston
a832338bb6
Add a function to check whether a tiddler has a given field
2012-10-16 19:12:09 +01:00
Jeremy Ruston
f0974740db
Improvements to list macro
...
Allow shorthand list types, and cope with no template being specified
2012-10-16 19:06:52 +01:00
Jeremy Ruston
bd5995b2e4
Deprecate the old transclude macro
2012-10-16 18:51:17 +01:00
Jeremy Ruston
dcac40ac31
Change the transclude wikitext rule to use the list macro
2012-10-16 18:50:44 +01:00
Jeremy Ruston
cb3741c8ee
Refactored list macro
...
Now does selective refreshing, improving performance in several areas.
(Classic TW always refreshed lists in their entirety). A bit more to
do, but the plan is that this can replace the story macro, too
2012-10-16 18:50:32 +01:00
Jeremy Ruston
3a4288899d
Correction to error message
2012-10-16 18:49:23 +01:00
Jeremy Ruston
35ddf7a81c
Update the password macro so that it can be used on the server
2012-10-16 18:49:13 +01:00
Jeremy Ruston
03623587e1
Added list filter operator
2012-10-16 11:25:14 +01:00
Jeremy Ruston
de2cd34801
Temporarily deprecate the list macro
...
So that we can refactor it incompatibly
2012-10-16 10:15:12 +01:00
Jeremy Ruston
e9f262b9df
Remove the experimental template mapping system
...
Unnecessarily complicated and JSONy
2012-10-16 10:14:41 +01:00
Jeremy Ruston
242884c918
Temporary fix for the transclude macro
...
Change of plan; the list macro is now going to be refactored to
incorporate the functionality of the transclude and story macros as well
2012-10-16 10:14:11 +01:00
Jeremy Ruston
24f0a580b5
Refine macro parameter test
2012-10-16 08:46:29 +01:00
Jeremy Ruston
5a3e2ce438
Refactor story macro to use reexecuteInDom()
2012-10-15 22:02:12 +01:00
Jeremy Ruston
4530eaf24a
Update transclude parser rule to use the tiddler macro for single tiddlers
2012-10-15 19:03:05 +01:00
Jeremy Ruston
62fac05411
Renamed the templateTitle parameter of the transclude macro for consistency with the tiddler macro
2012-10-15 19:02:49 +01:00
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