Jermolene
b24ec8009d
Missing dependency
2014-05-05 17:06:24 +01:00
Jermolene
9965c64b6f
More refactoring of startup.js
2014-05-05 15:25:51 +01:00
Jermolene
2a50277219
Fix problem with syncer not being initialised on server
2014-05-05 14:44:32 +01:00
Jermolene
3cce12e13f
More refactoring of startup.js
2014-05-05 14:41:46 +01:00
Jermolene
887e9d978b
Fix problem with saving if URL contains #
2014-05-05 13:30:31 +01:00
Jermolene
a0022a1cd6
Refactoring more of startup.js into modules
2014-05-05 10:17:50 +01:00
Jermolene
519e1b4a44
Pull more of startup.js out into separate modules
2014-05-03 21:23:51 +01:00
Jermolene
b9dec37fb7
Split main rendering into it's own startup module
2014-05-03 19:50:05 +01:00
Jermolene
09156af475
Add support for "before" field on startup modules
2014-05-03 19:49:50 +01:00
Jermolene
5b5621a600
Fix googleanalytics plugin to be platform-specific
2014-05-03 18:07:20 +01:00
Jermolene
78ba57d55d
Remove support for browser-startup modules
...
Instead support startup modules that stipulate which platform they
require.
Also include docs updates and fixes to fullscreen plugin
2014-05-03 17:49:20 +01:00
Jermolene
749582ede0
Split module loading into a separate startup task
...
Still a work in progress.
2014-05-03 17:10:55 +01:00
Jermolene
1c82348edb
Docs typo
2014-05-03 16:56:29 +01:00
Jermolene
b96aade28a
WIP: Add support for dependencies between startup modules
...
See StartupMechanism for details.
2014-05-03 16:32:18 +01:00
Jermolene
2f32621024
Docs updates
2014-05-03 16:27:22 +01:00
Jermolene
6ccf02ed96
Add support for onhashchange
...
Now we respond dynamically to changes in the location hash in the URL
bar. It means that you can do links in HTML as `<a
href=“#HelloThere”>go</a>` and in Markdown as `[example
link](#HelloThere).`
We still need to make startup.js more modular
2014-05-03 12:20:28 +01:00
Jermolene
b2c1331c11
Fix oversight in isDraftModified
...
If the original tiddler doesn’t exist then we should count the draft as
always having been modified
2014-05-03 12:12:07 +01:00
Xavier Cazin
f81df69395
Change references to editions/clientserver into editions/server
2014-05-03 13:10:36 +02:00
Jermolene
a5e9ef9b5f
Adopt new URL scheme for permalinks
...
Instead of using `%00` as a separator we do the more conventional
`#!<target-title>:<story filter>`.
2014-05-03 11:32:55 +01:00
Xavier Cazin
7783378603
fr-FR translations for shadow tiddlers and binary content warnings
2014-05-02 23:00:13 +02:00
Jermolene
327b53a641
Start adding support for permalinks
...
At this point we respect any permalink at startup, but we don’t yet
dynamically update the permalink, nor do we respond to ongoing
permalink changes.
The permalink separator being `%00` seems like it might be a bit
controversial. It buys us not having to wrap tiddler titles in double
square brackets if they contain spaces.
Another thing is that this scheme doesn’t support tiddler filters; the
plan is to support them like this:
http://tiddlywiki.com/#!Target%00%00[tag[task]sort[created]]
2014-05-02 19:21:32 +01:00
Jermolene
cb914ae853
Remove dead code typo
2014-05-02 18:07:47 +01:00
Jermolene
a4294b55f0
Add banner for binary tiddlers in edit mode
...
Makes it easier to add tags to a binary tiddler (eg a PDF).
2014-05-02 09:43:39 +01:00
Jermolene
bced7124e4
Accept single quotes for attributes in TW files
2014-05-01 17:58:49 +01:00
Jermolene
f5848c395a
Fix problem with editing tiddler titles
...
The check whether a draft has been modified was ignoring changes to the
title.
Fixes #593
2014-05-01 17:39:37 +01:00
Jermolene
f6bd3b8c37
Optimise the all filter operator
...
Seems like quite a decent optimisation.
2014-04-30 22:50:47 +01:00
Jermolene
21b2d6fdc7
Allow filter operators to return an iterator
...
Previously filter operators were only permitted to return an array of
tiddler titles
2014-04-30 22:50:17 +01:00
Jermolene
bd3e955821
Add compound iterators to boot wiki object
2014-04-30 22:49:28 +01:00
Jermolene
fcb26419a6
Clear the tiddler event queue on startup
...
To avoid an unnecessary refresh cycle
2014-04-30 22:49:02 +01:00
Jermolene
a6f7da6c1c
Suppress refresh cycle if no tiddlers have changed
2014-04-30 22:48:36 +01:00
Jeremy Ruston
f82f8ae7c6
Merge pull request #589 from BramChen/master
...
Add chinese messages for editing/overridden a shadow tiddler
2014-04-29 09:04:44 +01:00
Jermolene
edb8c65d54
Update release note
2014-04-29 09:03:47 +01:00
Jermolene
031c0f4146
Update HelloThere
2014-04-29 09:03:39 +01:00
Bram Chen
e8316cf0ac
Add chinese messages for editing/overridden a shadow tiddler
2014-04-29 15:32:19 +08:00
Jermolene
0ac4c2b554
Allow digits in field names
2014-04-28 15:54:32 +01:00
Jermolene
84cd296c58
Minor tweaks to shadow warning infrastructure
...
1. Moved some methods out of boot.js because they are not needed until
after bootup
2. Added alternate message for editing an overridden shadow tiddler
3. Minor style tweaks
2014-04-28 15:16:31 +01:00
Jeremy Ruston
a90339d1e5
Merge pull request #586 from sukima/feature/issue-570-cancle-unchanged-drafts
...
Fix issue #570 Make it harder to accidentally modify a shadow tiddler
2014-04-28 13:22:44 +01:00
Jermolene
d49495ab73
Add docs for "field" filter operator
...
Fixes #588
2014-04-28 12:54:34 +01:00
Jeremy Ruston
5fa6d001f8
Merge pull request #587 from BramChen/master
...
Update chinese editions
2014-04-28 09:36:32 +01:00
Jermolene
f17dafefcb
Docs updates
2014-04-28 09:33:47 +01:00
Bram Chen
88314d968a
Add build targets to chinese editions
2014-04-28 16:11:57 +08:00
Bram Chen
28bab707b9
Update chinese translations for Help tiddlers
2014-04-28 16:02:58 +08:00
Devin Weaver
075cf544e4
Use new get filter from commit 570cad1c
2014-04-27 17:15:42 -04:00
Devin Weaver
a505b6ffc0
Move isModified from Tiddler to Wiki
...
Replace this with a $tw.wiki.isModifiedTiddler(title) as part of the
wiki object. This allows it to be used outside of the current Wiki which
can change.
2014-04-27 17:15:42 -04:00
Devin Weaver
23a71b433e
Rename isEqual to isArrayEqual
2014-04-27 17:15:42 -04:00
Devin Weaver
3bbe53a58e
Move shadowWarning to it's own template segment
2014-04-27 17:15:42 -04:00
Devin Weaver
8556e0ea49
Fix coding style
2014-04-27 17:15:42 -04:00
Devin Weaver
3be21853e1
Add warning box while editing a shadow tiddler
...
This addresses the third line item of issue #570
TODO: The filter is not working.
TODO: The message is too genaric and needs help.
2014-04-27 17:15:42 -04:00
Devin Weaver
d0636f2124
Add a confirmation to edit a shadow tiddler
...
Should only display the confirmation if the shadow tiddler has not been
overridden in the first place. It checks this by looking for the
existence of a modified field for which the default system based shadow
do not have until a user changes them.
This addresses the second line item on issue #570
We will need new translations for the added string
`ConfirmEditShadowTiddler`
2014-04-27 17:15:42 -04:00
Devin Weaver
5226c7a2fa
Prevent saving un-modified tiddlers
...
When saving a tiddler we check to see if the tiddler has changed
(isModified) if it hasn't then bounce the event to tw-cancel-tiddler
instead.
Addresses first line item in issue #570
2014-04-27 17:15:42 -04:00