1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 00:04:51 +00:00
Commit Graph

827 Commits

Author SHA1 Message Date
Jeremy Ruston
2624fed4f1 Get rid of the support for old-style syncers 2013-03-17 18:45:22 +00:00
Jeremy Ruston
210f596d0c Marginally improve the elegance of the simple HTTP server 2013-03-17 17:57:46 +00:00
Jeremy Ruston
dbde2bf23b Started refactoring TiddlyWeb syncer into generic syncer + TiddlyWeb adaptor
The refactored plugin is `tiddlyweb2` for the moment. The idea is to be
able to use the same syncer with a different adaptor for syncing
changes to the local file system.
2013-03-17 15:28:49 +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
71ecb022ef Update TiddlyWeb support
Lots of changes:
* Make the built-in server support recipes and bags, albeit there's
just one of each, called "default"
* Correctly parse returned Etag to get bag of freshly PUT tiddlers
* URI encoding for tiddler titles, so that tiddlers with slashes and so
on work OK
2013-03-12 19:18:56 +00:00
Jeremy Ruston
7e57c422dc Re-introduce video widget 2013-03-12 19:17:13 +00:00
Jeremy Ruston
6b78352764 Fixed handling of deleting tiddlers over HTTP 2013-03-11 10:04:44 +00:00
Jeremy Ruston
ab8fc26ba1 Update server command to be compatible with the TiddlyWeb syncer
Now TW5 in the browser can use the TiddlyWeb syncer to talk to TW5 on
the server
2013-03-10 19:28:24 +00:00
Jeremy Ruston
00ad0bc7a9 Docs update 2013-03-10 19:27:44 +00:00
Jeremy Ruston
fc33df8829 Add support for deleting tiddlers 2013-03-10 19:24:49 +00:00
Jeremy Ruston
21cb1e233e Add "info" widget for displaying information about tiddlers
Currently only supports displaying the changecount of a tiddler
2013-03-10 19:24:22 +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
7d589b4b27 Removed extraneous debugging code 2013-03-08 17:50:40 +00:00
Jeremy Ruston
e0f342a62e Comments 2013-03-08 17:50:28 +00:00
Jeremy Ruston
0731135866 Adding comment 2013-03-07 17:18:04 +00:00
Jeremy Ruston
3b458031ff Fix close button syntx for save instructions 2013-03-07 17:17:42 +00:00
Jeremy Ruston
f85afdb964 Fixed #70 2013-03-06 22:12:21 +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
9155b8475f Use synchronous file writes for saving tiddlers
So that we don't get problems with "docs.tid" overwrites "Docs.tid"
halfway through each other
2013-03-05 11:56:15 +00:00
Jeremy Ruston
8e9b2996eb Restore qualifyHoverTitles attribute to link widget 2013-03-05 11:55:25 +00:00
Jeremy Ruston
ff3bdcabd6 We don't need the copyright notice in the static representations 2013-03-04 19:21:18 +00:00
Jeremy Ruston
ac6aa1e25f Fixed template for static CSS generation 2013-03-04 19:19:32 +00:00
Jeremy Ruston
4ab4b1b8bf Use external stylesheet in static representation 2013-03-04 19:14:47 +00:00
Jeremy Ruston
dc3190d44e Improve static rendering of tiddlers 2013-03-04 18:48:54 +00:00
Jeremy Ruston
15a9e04a6a Add support for static site generation
See http://five.tiddlywiki.com/static.html for an example
2013-03-04 18:15:54 +00:00
Jeremy Ruston
c24c00e8d6 Make the htmwikified viewer pass the renderContext through 2013-03-04 18:05:22 +00:00
Jeremy Ruston
fc79db53ab Allow templating with the link widget
And add some documentation
2013-03-04 11:13:10 +00:00
Jeremy Ruston
79bb082b92 Restore password widget
Hence allowing TiddlySpot integration to work again
2013-03-04 11:12:49 +00:00
Jeremy Ruston
4c06bd72de Fix #59
Much more intelligent automatic scrolling
2013-03-03 20:06:23 +00:00
Jeremy Ruston
f7668c80c4 Fix #61 2013-03-02 16:15:52 +00:00
Jeremy Ruston
eb0f800e5a Add explanatory text to edit template 2013-03-02 16:08:52 +00:00
Jeremy Ruston
d7896f051a Fixed problem with greediness of filtered transclude regexp 2013-03-02 13:01:44 +00:00
Jeremy Ruston
25df8bae6a Quick fix to allow wikilinks to be disabled
And using it to disable wikilinks in the readmes
2013-03-01 18:04:53 +00:00
Jeremy Ruston
f8d2c21be1 Adjust tiddler width 2013-03-01 09:13:23 +00:00
Jeremy Ruston
9cbee467cb Smaller titles for modal dialogs 2013-03-01 09:13:10 +00:00
Jeremy Ruston
5a37820a21 Add modal dialogue styles 2013-02-10 18:44:23 +00:00
Jeremy Ruston
6c4a2a6026 Fix modal dialogue to use inline parsing for header and footer 2013-02-10 18:44:00 +00:00
Jeremy Ruston
2c5b33d75e Update the close widget on the Download tiddler 2013-02-10 18:43:34 +00:00
Jeremy Ruston
f3acc92730 Tweak removal animation in classic list view 2013-02-09 17:18:00 +00:00
Jeremy Ruston
114e8f4145 Remove extraneous newline in HTML representation 2013-02-09 17:07:52 +00:00
Jeremy Ruston
c76d038b8e Update command line processing to allow a wiki path to be specified 2013-02-09 17:07:18 +00:00
Jeremy Ruston
63f52dad9e Tag style tweaks
Added a hover effect
2013-02-08 11:12:33 +00:00
Jeremy Ruston
652088009b Style tweaks for tags 2013-02-08 09:23:54 +00:00
Jeremy Ruston
6584939114 Less confusing method name 2013-02-08 09:22:21 +00:00
Jeremy Ruston
5fd73a2b8d Remove obsolete modules
ArgParser was used by the old tw2 parser, and the Sprite animator was
never actually used
2013-02-08 09:22:02 +00:00
Jeremy Ruston
87986a945d Animation tweaks for classic listview 2013-02-06 17:06:48 +00:00
Jeremy Ruston
1d77709372 Underline links on hover
Looks better and less obtrusive than reversing them
2013-02-06 11:27:34 +00:00
Jeremy Ruston
b0a20e704b Restored the classic listview 2013-02-06 11:27:09 +00:00
Jeremy Ruston
dd5597fc36 Turn on iOS scrolling for the sidebar 2013-02-05 22:10:35 +00:00
Jeremy Ruston
039c9417fc Style tweaks 2013-02-05 19:12:23 +00:00
Jeremy Ruston
1b2cdf9cd0 Use string.charAt(n) instead of string[n]
Safari doesn't seem to like the string indices in some circumstances
2013-02-05 19:12:05 +00:00
Jeremy Ruston
35d2290155 Style and layout tweaks 2013-02-04 20:47:21 +00:00
Jeremy Ruston
b61778cee2 More style tweaks 2013-02-04 15:29:38 +00:00
Jeremy Ruston
170c1425f7 Normalise custom event names 2013-02-04 15:29:25 +00:00
Jeremy Ruston
1f98ea5c87 Stylesheet tweaks 2013-02-04 11:56:23 +00:00
Jeremy Ruston
365974d14f Improved generation of titles for draft tiddlers 2013-02-04 11:56:11 +00:00
Jeremy Ruston
b260e6e69a Ensure that dropdown menu items don't word wrap 2013-02-04 10:54:55 +00:00
Jeremy Ruston
319e1b72f8 Use wikitext horizontal rule 2013-02-04 10:54:42 +00:00
Jeremy Ruston
0961286ad5 Add styles to static rendering 2013-02-04 10:16:07 +00:00
Jeremy Ruston
30d0dec1fa Replacement styles
Smaller simpler styles (including CSS reset from
https://github.com/necolas/normalize.css/)
2013-02-03 23:02:23 +00:00
Jeremy Ruston
eb2503eac7 Merge branch 'getting-rid-of-bootstrap' 2013-02-03 17:50:18 +00:00
Jeremy Ruston
5df60aaa3c Don't render content or closing tag for void elements 2013-02-03 17:44:40 +00:00
Jeremy Ruston
c85acd71fe Move the void element list into the main config file 2013-02-03 17:44:28 +00:00
Jeremy Ruston
4289a027d4 Add newlines after opening and closing tags
Which also fixes the problem with the PRE tag eating it's first newline
2013-02-03 17:11:03 +00:00
Jeremy Ruston
440608bfae Remove files associated with Bootstrap 2013-02-03 16:03:22 +00:00
Jeremy Ruston
5028da3953 Better wording and button colours for password UI 2013-02-02 12:06:59 +00:00
Jeremy Ruston
47b42ac149 The special encrypted template isn't needed anymore 2013-01-31 10:23:08 +00:00
Jeremy Ruston
a9de17bd55 Restore encrypted TiddlyWiki support 2013-01-31 10:20:13 +00:00
Jeremy Ruston
def41c688f Add the "save changes" button back
And remove the not-yet-implemented "edit" button
2013-01-30 21:10:34 +00:00
Jeremy Ruston
9a71117853 Prettify JSON 2013-01-28 19:27:22 +00:00
Jeremy Ruston
07541cbd9f Correct package.json "engines" entry 2013-01-28 19:26:26 +00:00
Jeremy Ruston
32331a8764 Process DefaultTiddlers on the server as well as the browser
Thus fixing the baking of static.html
2013-01-23 12:36:42 +00:00
Jeremy Ruston
83900b0230 Fixed problem with erroneous rendering of empty HTML tags
We were doing things like `<div />`, which HTML doesn't like
2013-01-23 12:36:08 +00:00
Jeremy Ruston
bae48d5526 Stop base64 encoding context scope IDs
The base64 encoding wasn't working on node.js, and is a bit messy
2013-01-23 12:35:21 +00:00
Jeremy Ruston
d91f12f30a Turn the recipe deserialiser into a plugin in the tw2 edition 2013-01-22 08:56:21 +00:00
Jeremy Ruston
f37e99d1fb Extend fields widget to allow stripping of prefixes from tiddler titles
This functionality is a bit specific to the production of TW2, and so
might be refactored elsewise in the future.
2013-01-21 17:26:43 +00:00
Jeremy Ruston
d3fefa8b16 Fixed regexp for filtered transclusion
Previously we couldn't use filter expressions that included curly braces
2013-01-21 17:24:47 +00:00
Jeremy Ruston
7642f2182c Restored tag template 2013-01-19 17:01:17 +00:00
Jeremy Ruston
dd3433f39f Fixed problem with closing all tiddlers in a story 2013-01-18 15:36:49 +00:00
Jeremy Ruston
5e7e1fa93d Re-introduce the checkbox widget 2013-01-18 09:33:16 +00:00
Jeremy Ruston
71f6194f01 Introduce a simple listview that scrolls to newly inserted entries 2013-01-17 13:52:46 +00:00
Jeremy Ruston
94744843b6 Added new tiddler button 2013-01-17 11:38:02 +00:00
Jeremy Ruston
aba120befc Added text and bitmap editors 2013-01-17 11:30:35 +00:00
Jeremy Ruston
556473fb21 Try to get dropdown menus working again
Bootstrap doesn't like the div/span elements left behind by the view
widget
2013-01-17 11:30:14 +00:00
Jeremy Ruston
106099d991 Removed obsolete code 2013-01-17 11:29:35 +00:00
Jeremy Ruston
e024440ca8 Fixed transclude widget to only refresh when the template changes
Not when the tiddler being viewed changes; any such changes will be
picked up by embedded view widgets.
2013-01-17 11:29:21 +00:00
Jeremy Ruston
df59dee188 Removed ability for widgets to not generate any elements
It interfered with the refresh mechanism
2013-01-17 11:28:24 +00:00
Jeremy Ruston
6044995df2 Adjust copyright date 2013-01-17 11:27:08 +00:00
Jeremy Ruston
d28ee0b82a Change module type for parsers to "parser" 2013-01-16 13:56:11 +00:00
Jeremy Ruston
0e2a0068e5 Remove obsolete wikitest command 2013-01-16 13:44:27 +00:00
Jeremy Ruston
84b633acd3 Subtler shade of blue 2013-01-16 11:41:23 +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
965cebf195 Start using TiddlyWiki5 native styles 2013-01-06 21:40:21 +00:00