1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 18:10:27 +00:00
Commit Graph

7349 Commits

Author SHA1 Message Date
Matt Lauber
22145e2e51 Fix for #2274
List fields (such as tags) when evaluated to produce tiddlers result in empty arrays.  Using the exact not equals, an empty array is not the same as an empty string.  By using equivelent not equals, we state that the field is either != "" or anything that can be coerced to "".  Which, based on https://dorey.github.io/JavaScript-Equality-Table/ is `false` `0` `[]` or `[[]]`` neither `false` nor `0` can be set as a tiddler field as both will end up being quoted (`"false"`, `"0"`) so this should work.
2016-02-15 08:31:23 -05:00
Jermolene
e4fa7d579a Added raw html preview to internals plugin 2016-02-15 12:02:46 +00:00
Jermolene
b0aed107d3 Fix internals plugin tiddler titles 2016-02-15 12:02:37 +00:00
Jermolene
3ae0f3666a Add Internals plugin
Adds a live preview of the raw JSON of the parse tree or widget tree
generated from a tiddler.
2016-02-15 11:38:55 +00:00
Jermolene
7daebba46b Make edit preview pane extensible
Additional preview panes are tagged “$:/tags/EditPreview“. A dropdown
is shown if there is more than one edit preview loaded.
2016-02-15 11:38:21 +00:00
Jermolene
df3e39d97a Update wikiparser file comment 2016-02-15 11:33:47 +00:00
Jermolene
89031e5b9c Add missing URL to release note 2016-02-11 09:48:54 +00:00
Jeremy Ruston
dd9fc6a51e Merge pull request #2265 from felixhayashi/fix/icon
fixed malformatted svg
2016-02-11 09:48:43 +00:00
Jeremy Ruston
459802cc86 Merge pull request #2237 from gernert/patch-7
Update SystemTags.tid
2016-02-11 09:47:33 +00:00
Jeremy Ruston
954db956e0 Merge pull request #2235 from araname/master
fix problem in GettingStarted and SiteTitle, and update Korean translation
2016-02-11 09:47:20 +00:00
Jeremy Ruston
a19b4eeeed Merge pull request #2219 from sukima/feature/babel-plugins
Using ES2016 for Writing Plugins HowTo Documentation
2016-02-11 09:36:35 +00:00
Jeremy Ruston
c61364f46a Merge pull request #2214 from sukima/feature/editing-with-vim
Add Editing Tiddlers with Vim
2016-02-11 09:36:11 +00:00
Jeremy Ruston
581634d282 Merge pull request #2164 from pmario/issue-2158
Issue 2158 - check for new draft fields and warn if cancel is clicked
2016-02-11 09:31:58 +00:00
Jermolene
5ba4730fd7 Release note update for 5.1.12 2016-02-09 21:18:52 +00:00
Myeongjin
5a085ff105 update korean translation 2016-02-07 15:07:32 +09:00
Myeongjin
c05c8e8878 fix problem in GettingStarted and SiteTitle 2016-02-07 15:06:56 +09:00
Myeongjin
09d4d0e3e3 Merge remote-tracking branch 'refs/remotes/Jermolene/master' 2016-02-07 15:04:53 +09:00
Jermolene
5238b4d503 Evernote plugin: fix crash with missing fields 2016-02-05 23:05:24 +00:00
Jermolene
b3e0e134ab Include xmldom plugin in full edition
Required by text-slicer
2016-02-05 19:48:50 +00:00
Jermolene
5b925ed868 Further tweaks to #2272
@sukima the main issue with the previous code was that it incorrectly
used comma to delimit tags. We actually use spaces, and double square
brackets to delimit tags containing spaces. Better is to leave the tags
field as an array; the core will serialise it correctly as required.

I also made some minor consistency tweaks.
2016-02-05 19:48:37 +00:00
Jermolene
6aac2b00c9 Correct typo in #2272 2016-02-05 19:03:58 +00:00
Jeremy Ruston
d1d41fb9fc Merge pull request #2272 from sukima/feature/issue-2268-evernote-importer
Add some features to the EverNote import plugin
2016-02-05 18:56:38 +00:00
Jermolene
fddf18b920 Add xmldom plugin to text-slicer edition 2016-02-05 18:54:32 +00:00
Jermolene
8f5eaf5194 Release note for 5.1.12 2016-02-05 18:46:11 +00:00
Jermolene
46800d790a Text-slicer: Add list-children filter operator
Again, I needed this for the day job. @felixhayashi I think you
submitted a pull request for something similar, would this version meet
your needs?
2016-02-05 18:46:01 +00:00
Jermolene
adf45b3468 Add a bulk delete button
I needed this in my day job, but think we need to do better on bulk
operations
2016-02-05 18:44:43 +00:00
Jermolene
8bc0633b6f Refactor AdvancedSearch/Filter to make buttons extensible 2016-02-05 18:43:52 +00:00
Jermolene
147dc128bc Add link to Mark Gibb's NetworkWorld article 2016-02-05 18:42:54 +00:00
Jermolene
b47f505588 Freeze the entire tiddler object
As seen in the first pass of #2247, it was previously inadvertently
possible for callers to modify the tiddler object itself by adding and
replacing properties.
2016-02-05 17:39:02 +00:00
Devin Weaver
4525a3d631 Add tags support to evernote plugin
Relates to Issue #2268

I tried to map over the list of tags but NodeLists are not arrays and so
need to be converted. This looks ugly and probably should be abstracted
to a function. Come to think of it should we have a `$tw.utils.map()`
function?
2016-02-04 19:24:46 -05:00
Devin Weaver
4b70257aca Add evernote's additional resources as tiddlers
Relates to Issue #2268

Based in the [example XML][1] attachments are listed in the <resources>
node. Since in TiddlyWiki these would be media tiddlers I add then one
by one as separate tiddlers.

There are some things that still need to happen. There should be a mime
type check so we don't attempt to import media tha TiddlyWiki doesn't
support. Also the example suggests the data is base64 encoded so I
blindly use that for the text attribute. Should there be a
`data:mediatyp;base64,…` prefix?

[1]: https://gist.github.com/evernotegists/6116886
2016-02-04 18:37:45 -05:00
Devin Weaver
1d35087f29 Add additional fields support for evernote plugin
Relates to Issue #2268

Add the additional field defined in the XML as properties to the result.
This also appears to capture the 'author' field.
2016-02-04 18:31:24 -05:00
Jermolene
8904a6dba6 First commit of Evernote migration plugin
Starts to address #2268
2016-02-04 10:13:08 +00:00
Jermolene
1335dff450 Text-slicer: Checkbox for hiding document metadata 2016-02-03 12:48:15 +00:00
Jeremy Ruston
c98ce99c83 Merge pull request #2266 from telmiger/master
Signing the CLA for individuals
2016-02-03 00:18:26 +00:00
Thomas
1276c26529 Signing the CLA for individuals 2016-02-02 22:33:29 +01:00
Jermolene
3e78f5cffd Text-slicer: Fix problem with static template for list items
We were rendering the children of the list item outside of the
generated LI tag.
2016-02-02 17:40:29 +00:00
Felix Hayashi
b83556b5ad fixed malformatted svg
one `</g>` too much.
2016-02-02 17:35:22 +01:00
Jermolene
c98ef97d23 Text-slicer: Use xmldom plugin so we can slice under Node.js 2016-02-01 21:34:28 +00:00
Jermolene
68b54a6e6f Add xmldom parser
Integrating this module allows us to do HTML/XML parsing under Node.js
(there is no built-in support for Node.js; we can already do HTML/XML
parsing in the browser). The implementation chosen is pure JavaScript,
and will work in all configurations of TiddlyWiki.
2016-02-01 21:28:52 +00:00
Jermolene
176d2ccd76 Text-slicer: Add support for notes within documents 2016-02-01 21:26:11 +00:00
Jermolene
b8aa60cdab Text-slicer: Fix bug with nodes without a classname 2016-02-01 21:22:55 +00:00
Jermolene
3a10bfe0de Text-slicer: copy document fields from source tiddler
User-defined fields of the source tiddler are copied across to the
document tiddler when it is sliced.
2016-02-01 20:16:45 +00:00
Jermolene
f61bb316b2 Adjust version number for 5.1.12 2016-01-31 21:46:29 +00:00
Jermolene
5e7065c391 Version number update for 5.1.11 2016-01-30 14:27:54 +00:00
Jermolene
a869316b1f Readme update 2016-01-30 14:27:29 +00:00
Jermolene
c24598885a Preparing for release of 5.1.11 2016-01-30 14:26:24 +00:00
Jermolene
3bf9ad78fa Update release note for 5.1.11 2016-01-30 12:44:58 +00:00
Jeremy Ruston
5bba45bb0a Rename TiddlyWiki_Jingle_by_Måns_Mårtensson.tid to TiddlyWiki_Jingle_by_Mans_Martensson.tid
Fixes #2227

(Note I fixed this by editing the filename in the github.com online editor. It's happened before; I've raised #2261 to address the root cause)
2016-01-30 08:51:53 +00:00
Jermolene
8b2f320f7f Missed off d240ab5003 2016-01-29 17:24:11 +00:00