Wykres commitów

149 Commity (d5c31ed07f31164cb2c2739ea56e7708fc39e9a4)

Autor SHA1 Wiadomość Data
Jeremy Ruston 6fc4e5db7c Get rid of the old "fieldgrid" and "fieldlist" widgets
Instead, we'll use the "list" widget with the new support for macros.
2013-08-15 18:17:11 +01:00
Jeremy Ruston 0bda00ae71 Extend the fieldlist widget to retrieve all fields used across all tiddlers 2013-08-09 16:46:17 +01:00
Jeremy Ruston a9a2ae2223 Add sorting by tiddler lists
The tag and tagging filters now sort their results by the list field of
the tag, if present
2013-08-08 17:39:34 +01:00
Jeremy Ruston 83ea953a1d Switch the story list over to using the new list field 2013-08-07 17:54:27 +01:00
Jeremy Ruston 85007cb1e1 Correct comments 2013-08-06 15:27:02 +01:00
Jeremy Ruston 86e73ee323 Set modified field and other metadata for newly created and modified tiddlers
Right now we're setting the created/modified time, and only setting the
creator/modifier if the tiddler `$:/status/UserName` is defined.
2013-08-04 14:02:07 +01:00
Jeremy Ruston 1a160485a8 Documentation correction 2013-07-08 21:44:12 +01:00
Jeremy Ruston 1304bfd0d4 Special treatment so that text reference to title field works for missing tiddlers
The title field is the one field that we know for missing tiddlers.

This is needed in a subsequent commit of viewswitcher.
2013-07-08 15:16:55 +01:00
Jeremy Ruston 647bd51299 Fix problem with erroneous initialisation of changedTiddlers member 2013-07-03 16:00:48 +01:00
Jeremy Ruston bf4216f3ac Don't count references to shadow tiddlers as missing tiddlers 2013-05-31 17:53:11 +01:00
Jeremy Ruston 31a4b96f57 Fixed problem with getTextReference() not always returning a string 2013-05-27 17:55:23 +01:00
Jeremy Ruston 551ebdc005 Major refactoring of rendering mechanism
We now use a fake DOM implementation on the server to let us share more
rendering code between the text output vs. DOM output paths.
2013-05-17 10:12:25 +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 e501c0ec2a Enhance TiddlyFox saver to display a notification on success 2013-05-07 18:09:15 +01:00
Jeremy Ruston e12fbf0f9f Comment clarification 2013-04-30 22:35:52 +01:00
Jeremy Ruston f487ea68d1 Store the parser list in the wiki constructor 2013-04-25 17:40:12 +01:00
Jeremy Ruston e39d246317 Added basic support for drag and drop of tiddlers
Links are now draggable. Dragging outside the browser will drop the
wiki text of the tiddler. Dragging to another TW5 browser window will
drop the entire tiddler, including fields.
2013-04-08 18:47:46 +01:00
Jeremy Ruston dc00e584fb Add support for filtering shadow tiddlers 2013-04-03 14:29:12 +01:00
Jeremy Ruston cd36f594c5 Make the core into a plugin 2013-03-28 17:07:30 +00:00
Jeremy Ruston e88db07085 Fixed problem with ignored default in wiki.getTiddlerText() 2013-03-27 13:48:17 +00:00
Jeremy Ruston f427339a78 Add renderContext parameter to wiki.renderTiddler 2013-03-25 10:42:14 +00:00
Jeremy Ruston 6f88a57a41 Add wiki.countTiddlers() method 2013-03-21 22:21:00 +00:00
Jeremy Ruston 952f1b3900 Add tiddler info dropdown
Including backlinks
2013-03-19 16:45:07 +00:00
Jeremy Ruston 7cb65a3816 Add 'missing' and 'orphan' tabs 2013-03-19 10:14:44 +00:00
Jeremy Ruston 8e6ce3733d Use "self" rather than "me" for consistency 2013-03-17 15:06:09 +00:00
Jeremy Ruston 17a9cdd1e3 Remove initSyncers() from wiki.js 2013-03-16 11:06:44 +00:00
Jeremy Ruston 71aa79013d Remove invokeSyncers() method from wiki.js 2013-03-16 10:58:47 +00:00
Jeremy Ruston 854e8d7083 Use the wiki event mechanism to dispatch lazyLoad notifications to syncers
We're trying to get to the point where wiki.js doesn't know about
syncers
2013-03-16 10:50:36 +00:00
Jeremy Ruston c3b57507b0 Refactored wiki event mechanism to support multiple event types 2013-03-16 10:42:46 +00:00
Jeremy Ruston 623a3ec8f8 Rename "shadow" tiddlers to "system" tiddlers
What we have at the moment isn't really the same as TiddlyWiki
classic's shadow tiddlers, it's a much simpler system for excluding
tiddlers. We'll use the term "shadow" instead to refer to the way that
tiddlers in plugins behave, which is exactly like TiddlyWiki classic's
shadow tiddlers.
2013-03-15 22:00:19 +00:00
Jeremy Ruston e5443e27cb Minor tweaks to getTiddlers 2013-03-15 20:02:31 +00:00
Jeremy Ruston 00ad0bc7a9 Docs update 2013-03-10 19:27:44 +00:00
Jeremy Ruston 83a141752c Further simplifications to syncer interface
Dropped the idea of exposing separate server connections
2013-03-09 09:54:01 +00:00
Jeremy Ruston 3da508b7c4 Simplify syncer interface 2013-03-08 20:29:13 +00:00
Jeremy Ruston 06c5308c4b More explicit name for "touchTiddler"
Thanks to @boycook for the conversation that triggered this refactoring
2013-03-05 19:59:55 +00:00
Jeremy Ruston 9a71117853 Prettify JSON 2013-01-28 19:27:22 +00:00
Jeremy Ruston d28ee0b82a Change module type for parsers to "parser" 2013-01-16 13:56:11 +00:00
Jeremy Ruston baff901685 Added ability to transclude fields of data tiddlers
This allows us to transclude colours into CSS
2013-01-15 17:50:47 +00:00
Jeremy Ruston 12683c7d5f Removed dead code
Left over from the big parser refactoring
2012-12-29 22:27:36 +00:00
Jeremy Ruston b006cf163f Remove the old parser code
Thus introducing a few functional regressions, but it's going to be
easier to fix things up without the old code knocking around and
getting in the way.
2012-12-28 22:08:32 +00:00
Jeremy Ruston d6e531e87c Extend new parser mechanism to determine parser based on content type
And add an image parser and a plain text parser
2012-12-27 17:08:29 +00:00
Jeremy Ruston c703fb1267 Get rid of the wikivocabulary object 2012-12-26 22:02:59 +00:00
Jeremy Ruston 055bdd8d8f Added inline transclusion as well as block transclusion 2012-12-20 15:07:38 +00:00
Jeremy Ruston d338a54370 Introduce refactored wiki parser and renderer
This is a half-way through a big refactoring of the parsing and
rendering infrastructure. The main change is to separate the parse and
render trees, which makes the code a lot cleaner. The new parser isn't
yet functional enough to replace the existing parser so for the moment
you have to manually invoke it with `$tw.testNewParser()` in your
browser console. I really ought to use branches for this kind of
thing...
2012-12-13 21:34:31 +00:00
Jeremy Ruston 580bd6438e Fixed issues with blank tiddler text
The empty string is falsy in JavaScript, to keep us on our toes.
2012-11-23 13:08:10 +00:00
Jeremy Ruston 3d38d4add3 Use text/x-tiddlywiki for old format TiddlyWiki text for compatibility 2012-11-19 16:58:16 +00:00
Jeremy Ruston 84650b9a54 Swap over to the new mime type conventions
Discussed in
https://groups.google.com/forum/#!topic/tiddlywikidev/re8xfLqZNCE
2012-11-18 15:22:13 +00:00
Jeremy Ruston 5c87b437ee Support for lazy loaded tiddlers 2012-11-18 13:14:28 +00:00
Jeremy Ruston 4742ab14fc Start using the server connection tiddler to store host details 2012-11-17 21:15:19 +00:00
Jeremy Ruston e194aed449 Introduce syncer mechanism 2012-11-17 20:18:36 +00:00
Jeremy Ruston 0dbe4c0291 Get rid of more vestiges of the old empty generation mechanism 2012-11-16 22:40:25 +00:00
Jeremy Ruston 539b64b626 Refactoring module mechanism
Changed the data structure $tw.modules.types to make it possible to
detect repeated registrations
2012-11-14 11:23:43 +00:00
Jeremy Ruston 9612aac296 New implementation for shadow tiddlers
Now shadow tiddlers are any tiddler whose title starts with "$:/"
2012-11-11 14:31:45 +00:00
Jeremy Ruston 9f6909ddc4 Appeasing the gods of JSHint 2012-11-06 17:21:56 +00:00
Jeremy Ruston b81b2c0c63 Fixed problem with tiddler hashmap handling
We need to check hasOwnProperty to avoid problems with tiddlers called
eg "__proto__". There are more changes like this to come
2012-11-06 14:10:55 +00:00
Jeremy Ruston ba4e140147 Fixed problem with retrieving non-existent list tiddlers 2012-10-25 22:44:00 +01:00
Jeremy Ruston e063ec6b1a Added new getTiddlerList() method to wiki 2012-10-25 14:57:33 +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 3a710ad9ce Fix problem with sortTiddlers 2012-10-23 16:28:38 +01:00
Jeremy Ruston 092e495e90 Fixes the text reference parsing 2012-10-18 23:20:27 +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 10ed746209 Seach titles as well as bodies 2012-10-18 10:51:52 +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 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 343a2c2340 Fixed problem with sorting by missing fields 2012-10-16 21:41:12 +01:00
Jeremy Ruston 3070357d70 Refactor serialisers to work on an array of tiddlers 2012-09-02 20:28:32 +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 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 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 a2caf46b1e Added new wiki methods for reading and writing a toddler as data 2012-07-22 22:03:06 +01:00
Jeremy Ruston c74d608418 Removed parser switch 2012-07-14 18:08:00 +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 05d9cb60fc Passed host wiki to saver constructors 2012-07-12 16:58:49 +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 2282a825ec Extraneous var 2012-06-19 16:56:40 +01:00
Jeremy Ruston 08d7a12d04 Finishing off the text reference support 2012-06-19 16:47:25 +01:00
Jeremy Ruston ec3f16f50f Enabled sorting by title of tiddlers that don't exist 2012-06-19 10:40:05 +01:00
Jeremy Ruston 381d0715e9 The beginnings of support for text references 2012-06-19 08:56:15 +01:00
Jeremy Ruston 3584d854aa Add case sensitive sorting 2012-06-14 11:36:26 +01:00
Jeremy Ruston a160fb07e4 Sort tagged tiddlers 2012-06-13 13:19:32 +01:00
Jeremy Ruston 84a352b804 Added wiki.getTiddlersWithTag()
We should probably use the filter mechanism for this...
2012-06-13 09:10:03 +01:00
Jeremy Ruston 45cf175b8b Made sorting be case insensitive 2012-06-10 22:53:29 +01:00
Jeremy Ruston b5f8f97ccc Refactored loading of `tiddlywiki.plugin` files
Now we read the files raw, rather than through the deserialiser
2012-06-08 11:47:05 +01:00
Jeremy Ruston e8c69ae7dc Comment updates 2012-06-07 11:31:44 +01:00
Jeremy Ruston 3da70b925f Saving a shadow tiddler preserves its shadow status 2012-06-06 22:19:34 +01:00
Jeremy Ruston 22b836e4ac Added 'isShadow' flag for system tiddlers
Shadow tiddlers are omitted from lists by default
2012-06-06 13:21:20 +01:00
Jeremy Ruston e2ea8ff436 Refactored shadow tiddlers to not be in a separate store
Shortly there will be a flag to mark them
2012-06-06 12:07:33 +01:00
Jeremy Ruston 7a62e6f1a4 Add quick switch for replacing old wikitext parser with the new 2012-06-02 13:19:46 +01:00
Jeremy Ruston 3da810b2b3 Extended wiki.serializeTiddler to take a Tiddler() object as well as a title 2012-05-29 22:01:35 +01:00
Jeremy Ruston 506519b49a Switch to using the 'wikitextrule' moduletype for the new wiki text parser 2012-05-27 09:19:37 +01:00
Jeremy Ruston 6a7a5a2591 JSHint-prompted tweaks 2012-05-19 15:13:17 +01:00
Jeremy Ruston d8f17e9d6b Started adding support for storyviews that implement different navigation visualisations 2012-05-14 17:37:20 +01:00
Jeremy Ruston d402f4d9b2 parseText() now accepts file extensions as well as content types 2012-05-09 17:35:08 +01:00
Jeremy Ruston d99b70e0b2 Got rid of some potentially dodgy hasOwnProperty() calls 2012-05-09 08:51:16 +01:00
Jeremy Ruston 19e19a2f42 Added sort operator to filter syntax 2012-05-08 16:02:24 +01:00
Jeremy Ruston 9465da4335 Part two of turning the rabbit hole inside out 2012-05-05 22:57:21 +01:00