1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 13:29:56 +00:00
Commit Graph

3815 Commits

Author SHA1 Message Date
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
Devin Weaver
3a78465d2d Add isModified to Tiddler object
Adds a check to see if this tiddler differers from the tiddler
referenced in the draft.of field. It iterates of the fields property
skiping those feilds that offer a false positives. Uses the isEqual util
for the tags array.
2014-04-27 17:15:42 -04:00
Devin Weaver
23640d7af4 Add isDraft to Tiddler object
Check to see if this tiddler is a draft (has a draft.of field)
2014-04-27 17:15:42 -04:00
Devin Weaver
540681b2bc Add $tw.util.isEqual
This checks to see if an array is equal. Should handle case where an
array is considered null or undefined. It short circuits when the
lengths are different and will only loop when needed.
2014-04-27 17:15:42 -04:00
Devin Weaver
8611867930 Remove dead code 💀 2014-04-27 17:15:41 -04:00
Jermolene
77152ac577 Update release note 2014-04-27 21:58:59 +01:00
Jermolene
f5bd99fa73 Fix tests for 385c7e207c 2014-04-27 21:58:41 +01:00
Jermolene
385c7e207c Refactor wiki.filterTiddlers()
Now we pass a widget instead of the current tiddler title. We can use
widget.getVariable(“currentTiddler”) to get the current tiddler.
2014-04-27 20:03:33 +01:00
Jermolene
61c204366f Replace hamburger icon with double chevron
Fixes #580

Seems much better, especially since the chevron gives us two clear
visual states (left vs. right). The hamburger doesn’t really have a
commonly accepted way of indicating whether the menu is currently open
or not.
2014-04-27 19:28:30 +01:00
Jermolene
570cad1c7f Add 'get' filter operator
Prompted by @sukima’s work on #586
2014-04-27 18:45:01 +01:00
Jeremy Ruston
1d0dc60a2d Merge pull request #574 from pekopeko1/japanese
Updated Japanese Translation
2014-04-27 08:47:59 +01:00
Jeremy Ruston
fac0affa7b Merge pull request #584 from xcazin/fr-FR
fr-FR translations for new Help tiddlers + changes to previous ones.
2014-04-27 08:46:59 +01:00
Jeremy Ruston
f57241abbd Merge pull request #585 from BramChen/master
Update chinese translations for Help tiddlers
2014-04-27 08:46:41 +01:00
Jermolene
e9557b578e Improve output directory handling
This change is likely to break most existing scripts that call
TiddlyWiki.

TL;DR - output paths are now relative to the editions/output folder,
rather than to the current folder

See [[Notes for upgrading to 5.0.11-beta]] for details.
2014-04-27 08:28:21 +01:00
Jermolene
649f68288a Add build targets to the core editions 2014-04-26 17:11:56 +01:00
pekopeko1
37c50bae61 merged with latest master 2014-04-27 00:14:41 +09:00
pekopeko1
9ab31e37ea fix plugin.info author 2014-04-26 23:11:31 +09:00
pekopeko1
30707e2f19 revert unnecessary .gitignore change 2014-04-26 23:09:42 +09:00
Bram Chen
1fb76ae56d Fix typo 2014-04-26 20:10:02 +08:00
Bram Chen
4008191459 Update chinese translations for Help tiddlers 2014-04-26 19:52:45 +08:00
Xavier Cazin
463bd0517c fr-FR translation for new Help tiddlers 2014-04-26 11:56:40 +02:00
Xavier Cazin
fb3a31ae43 Typo: Set => Clear 2014-04-26 11:12:59 +02:00
Jermolene
f7e50e0950 Add --build command
First pass at the build system described in #356.

To test it, move to a new, empty directory and try `tiddlywiki
editions/tw5.com --verbose --build`
2014-04-25 22:41:59 +01:00
Jermolene
552657fc58 Fix text parser to use codeblocks
This means that JavaScript and JSON tiddlers will be properly
highlighted if the highlight plugin is loaded.
2014-04-24 19:41:07 +01:00
Jermolene
d727046948 Revise number of tiddlers in recent changes list
Going back to 100; 250 was a typo.
2014-04-24 12:22:31 +01:00
Jermolene
f6ca7d92e5 Fix docs typo
Fixes #575
2014-04-24 11:59:51 +01:00
Jermolene
148e77b0e4 Clean up obsolete macro definition
Fixes #576
2014-04-24 11:58:42 +01:00
Jermolene
cc60ad1428 Fixed topbar hover for Firefox
Pesky Firefox browser crankiness.

Fixes #579
2014-04-24 11:33:14 +01:00
Jermolene
fecf3a556f Update JS macro docs 2014-04-24 11:08:23 +01:00
Jeremy Ruston
39ef0ad88f Merge pull request #581 from mwfogleman/tid-mode
Refer Emacs docs to tid-mode, not tid-time.
2014-04-24 09:01:27 +01:00
Michael Fogleman
f75826224b Refer Emacs docs to tid-mode, not tid-time. 2014-04-24 11:39:37 +05:30
Jeremy Ruston
52f28a1cc3 Merge pull request #578 from sukima/feature/sign-cla-sukima
Add @sukima to cla-individual.md
2014-04-22 15:49:35 +01:00
Jermolene
61c3f8a5ba Remove wikitext tiddlers from "types" sidebar tab 2014-04-22 11:44:27 +01:00
Devin Weaver
13da54b9bd Add @sukima to cla-individual.md 2014-04-21 18:26:04 -04:00
pekopeko1
680414d1c5 edited 'shadow' translation 2014-04-20 23:33:27 +09:00
pekopeko1
2c7d5c5964 merged @ogoshima's translation 2014-04-20 23:24:35 +09:00
Jermolene
3d69c929d9 Add more warnings about backups 2014-04-19 14:42:22 +01:00
Jeremy Ruston
8cbcfee346 Merge pull request #573 from pmario/fix-concepts-tiddlerfields-lingo
Fix "description" column in TiddlerFields
2014-04-19 14:23:06 +01:00
Jermolene
43173c801f Adjust version number for 5.0.11 2014-04-19 14:22:25 +01:00
Mario Pietsch
523faf71fb change modified date 2014-04-19 15:16:12 +02:00
Mario Pietsch
ad2bbb2c93 tiddler: TiddlerFields - fix the description column. 2014-04-19 15:11:20 +02:00
Jermolene
8756d25d78 Version number update for 5.0.10-beta 2014-04-19 14:07:48 +01:00