1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 06:14:53 +00:00
Commit Graph

7666 Commits

Author SHA1 Message Date
Jeremy Ruston
1f4df88960 Merge pull request #2284 from mklauber/patch-2
Fix for #2274
2016-02-16 16:37:46 +00:00
Jermolene
9abe85f60b Minor tweaks to #2275
* Cleaner handling of “updated” attribute
* Fixed handling of note attributes, which now get imported as custom
fields
* Clearer handling of ISO dates
2016-02-16 16:35:28 +00:00
Jeremy Ruston
7ea3ef7062 Merge pull request #2275 from Marxsal/patch-9
ENEX import - Apply modified (updated) dates
2016-02-16 16:24:45 +00:00
Matt Lauber
5a14b37686 Update to check if empty sting OR (is array AND is empty) 2016-02-16 08:08:09 -05:00
Jeremy Ruston
12f208b327 Merge pull request #2288 from edrex/put_saver_followup
putSaver: return null on save success, TODOs
2016-02-16 08:26:32 +00:00
Jeremy Ruston
ffa1f5efb6 Merge pull request #2289 from BramChen/zh
Update zh-Hans and zh-Hant
2016-02-16 08:23:49 +00:00
Bram Chen
bde74dbd4c Add chinese transaltions for the extended edit preview
* Body/Preview/Type
* Body/Preview/Type/Output
2016-02-16 12:15:18 +08:00
Eric Drechsel
dd43759ecc putSaver: return null on save success, TODOs 2016-02-15 15:20:30 -08:00
Jermolene
f8552ac48d Readme for internals plugin 2016-02-15 22:43:15 +00:00
Jeremy Ruston
2203c2b38a Merge pull request #2277 from edrex/put_saver
add a simple put saver, for saving to a webdav or REST server
2016-02-15 22:00:46 +00:00
Jeremy Ruston
f60344a0ed Merge pull request #2286 from edrex/patch-1
sign CLA @edrex
2016-02-15 22:00:25 +00:00
Eric Drechsel
85b02d6730 sign CLA @edrex 2016-02-15 13:31:23 -08:00
Jeremy Ruston
74d933a254 Merge pull request #2281 from rcrath/patch-1
Update cla-individual.md
2016-02-15 20:22:47 +00:00
Jermolene
5ba7b30891 Update system tags docs 2016-02-15 17:43:54 +00:00
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
Rich Rath
f71dd4e50d Update cla-individual.md 2016-02-12 18:02:33 -10: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
Eric Drechsel
f8565443d7 add a simple put saver, for saving to a webdav or REST server 2016-02-08 13:40:10 -08:00
Marxsal
eabf187a7f Update modified (updated) dates
Without modified dates, new imports do not appear in recent file list. The equivalent of modified dates in ENEX is the 'updated' tag, with a date format similar to that of TW with the exception that the date format consists of a date stamp, a letter T, and a time stamp followed by Z for UTC presumably. There is no millisecond indicator. Not all ENEX notes have an update tag. The solution here is to apply creation date by default and then apply the update date if it is available.  Dates are converted by stripping out Z and T and appending '000'.
2016-02-07 10:59:57 -08: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