Jeremy Ruston
da36f1c728
Merge pull request #2037 from matabele/Listops
...
ActionListopsWidget
2015-12-06 19:04:26 +00:00
Jermolene
15f52bd7ce
Add support for Nw.js special features to browse widget
2015-11-13 18:47:30 +00:00
Tobias Beer
ef3e44eb48
rename suffix each:list to each_list-item
...
based on #1422 , improves readability of the filter expression
tests passed
2015-11-13 11:07:24 +01:00
Jermolene
ac00aa8407
Allow server module to work under Node even if $tw.browser is defined
...
Needed for TiddlyDesktop, where want to be able to run the HTTP server
in a hybrid browser/node environment.
2015-11-10 18:13:30 +00:00
William Jackson
befb13dde1
Update x-listops.js
...
Change default suffix for append[], prepend[] and remove[] operators from 1 to All
2015-11-08 09:49:07 +02:00
Jeremy Ruston
583ed07af2
Merge pull request #1422 from tobibeer/each-list
...
added list suffix for each filter
2015-11-05 12:45:27 +00:00
William Jackson
817882a404
Update x-listops.js
...
Added prefix and suffix options to 'append' and 'prepend' operators
2015-10-27 10:17:07 +02:00
William Jackson
3e445b8853
Update x-listops.js
...
Corrected the logic of the 'allafter' filter and added a new 'move' filter.
2015-10-22 16:40:36 +02:00
William Jackson
56d467fb47
Create action-listops.js
...
Action widget designed to apply filters to the current list and save the modified list back to the list. The widget is able to manipulate lists in any field or any data index of the target tiddler, and includes an option to manipulate the tags of the target tiddler. The widget is used in conjunction with the extended list operator filters (xlistops.js)
2015-10-18 18:41:40 +02:00
William Jackson
49894abaf4
Create x-listops.js
...
These filters are designed to be used with the action-listops widget.
2015-10-18 18:37:08 +02:00
Myeongjin
4347d91c57
add localisable strings for Import/Imported
2015-10-18 17:29:04 +09:00
Jeremy Ruston
b1633e0f2d
Merge pull request #1952 from tobibeer/1937-set-refresh-filter
...
fixes #1937 — filter refresh in set widget
2015-10-14 14:18:29 +01:00
Jermolene
33563d01ba
Add user interface for enabling performance instrumentation
2015-10-14 10:59:55 +01:00
Jermolene
85553609b1
Ensure edit-text widget fixes height even if refresh isn't required
...
Fixes #1995
2015-10-12 17:54:51 +01:00
Tobias Beer
b34e4f628d
adopted style recommendations
2015-10-08 14:21:57 +02:00
Tobias Beer
32c41479cc
using variable declaration for readability
2015-10-08 14:18:55 +02:00
Tobias Beer
95eb8810b6
removed pushOnce
2015-10-08 14:07:12 +02:00
Tobias Beer
91b5547cdf
adopted style recommendations
2015-10-08 14:07:08 +02:00
Tobias Beer
d0a24bd9f0
added $tw.utils.pushOnce
...
retained check for basic each nonetheless
tests pass
2015-10-08 14:07:06 +02:00
Tobias Beer
f684a6beb0
fixed helper function and added tests
...
tests: ok
2015-10-08 14:07:00 +02:00
Tobias Beer
a88ead9c0f
removed conditional from iterator
...
I'd really like to see a profiler run against the two to see the
performance impact of one over the other
2015-10-08 14:06:57 +02:00
Tobias Beer
c3cbbc3f66
renamed value to items
2015-10-08 14:06:54 +02:00
Tobias Beer
f9464dfaf8
using variable declaration for readability
2015-10-08 14:06:51 +02:00
Tobias Beer
baca2703f1
added list suffix for each filter
...
implements #1369
when the suffix is `list`, interprets the field as a list of individual
tiddler titles and returns all titles referenced in the list field of
the source list, existing or not
2015-10-08 14:06:48 +02:00
Jermolene
99df9f46f7
Add support for tiddlers containing mp4 videos
2015-10-01 12:13:38 +01:00
Jermolene
814353d8ce
Fix accidental inconsistency between savetiddlers and rendertiddlers
...
“-do-not-delete” flag for savetiddlers command was introduced in 5.1.10
without consistency with the already implemented “noclean” flag for the
rendertiddlers command
2015-09-29 17:04:01 +01:00
Jermolene
7b8928886b
Add tw.utils.tagToCssSelector() helper method
2015-09-28 20:27:43 +01:00
Tobias Beer
6b3fc8d538
updated #1480 "undefined value removes field or index"
...
when $value is unspecified, $action-setfield removes field or index...
modified
setText() — $:/core/modules/wiki.js
invokeAction() — $:/core/modules/widgets/action-setfield
demo
http://tobibeer.github.io/tw/batch/#ActionSetField-RemoveIndex
2015-09-25 15:20:37 +02:00
Jermolene
57c40a8a56
Text-slicer: Tweaks to fix recently introduced bugs!
...
* Fixes problem with slicing wikitext tiddlers
* Adjusts position of heading expand/collapse icons in the view
template segment
2015-09-22 12:57:53 +02:00
Tobias Beer
a1ce254e95
fixes #1937 — filter refresh in set widget
...
as per @EvanBalster
2015-09-21 17:24:26 +02:00
Jermolene
939596bd47
Add new "htmlencodedplainwikified" format to view widget
...
Triggered by the text-slicer plugin, but general purpose.
The clunky implementation shows the shortcomings of the view widget. It
was one of the first widgets to be implemented; subsequently, the
implementation of macros gives us a potentially more flexible way of
implementing these kinds of text transformations.
2015-09-11 13:34:01 +01:00
Jermolene
eb9fb6635d
Fix issues with creation and modification dates
...
There were several places where tiddlers were being written without the
creation/modification details being updated.
See
https://groups.google.com/d/msgid/tiddlywiki/17ef8ab0-0128-4467-8a9d-f17
bdbcf3618%40googlegroups.com
2015-09-11 13:34:01 +01:00
Jermolene
424b2fea32
Add th-saving-tiddler hook for autotagging etc.
...
@danielo515 this enhancement is intended to make it easier to implement
things like the auto tag plugin. Does it meet your needs?
2015-09-08 16:16:50 +01:00
Jermolene
ecdae4ceff
Make lazy loading message be translateable
2015-09-08 10:41:27 +01:00
Jermolene
5176f008f0
Enhance savetiddlers command with do not delete option
2015-09-03 08:54:17 +01:00
Jermolene
4ccdaf3faf
Enhance rendertiddler command with template option
2015-09-03 08:53:08 +01:00
Jermolene
51d771a074
Extend tm-open-window to pass variables
2015-08-31 14:13:32 +01:00
Jermolene
3fbe07f1f8
Fix link widget propogation behaviour
...
Without this fix, using nested link widgets with custom elements causes
clicks on the inner element to trigger links on each of the containing
widgets
2015-08-30 19:12:12 +01:00
Jermolene
68e15c1064
Move rename tiddler handling into navigator widget
...
For consistency with the other tiddler manipulation primitives.
2015-08-30 19:11:14 +01:00
Jermolene
a204784c0c
Limited implementation of external text tiddlers in the browser
...
Triggered by the discussion in #1917
2015-08-29 16:33:04 +01:00
Jermolene
2eb645e5e5
Add getAttribute to fakeDom
2015-08-10 20:32:13 +01:00
Jermolene
3cfad8b044
Refactoring of text-slicer
...
Now we process the rendered HTML of tiddlers, which allows us to
process HTML generated by MS Word. In fact, the HTML that MS Word
generates is so awful, I’ve instead been using Mammoth to do the
conversion: https://github.com/mwilliamson/mammoth.js
Also some necessary improvements to the fake dom implementation.
2015-08-10 11:41:23 +01:00
Jermolene
ac08dc2e35
Added fold/unfold all buttons
...
More translations, @BramChen, apologies…
2015-08-09 17:25:01 +01:00
Jermolene
16c69bb419
Tweaks to fold button
2015-08-09 16:11:37 +01:00
Jermolene
bad4a19f8e
Add fold others button
2015-08-09 12:56:48 +01:00
Jermolene
5d43cd7408
Add fold tiddler toolbar button
...
Addressing this tweet:
https://twitter.com/s_stryjecki/status/629349768280604672
2015-08-09 11:10:04 +01:00
Jermolene
6a3c4d6c91
Flip logic for suppressing timestamps
...
Fixing a mistake from the earlier commits, so that the default remains
that the timestamps are applied.
2015-08-09 11:09:02 +01:00
Jermolene
e5cd8313a0
Update actionsetfield widget to allow timestamp to be preserved
2015-08-06 18:17:09 +01:00
Jermolene
fdce67399d
Provide option to suppress navigation for edit/cancel/save
2015-08-05 15:07:19 +01:00
Jermolene
72ed4b2673
Add renaming to text-slicer tiddler toolbar
...
The plan is to expose the functionality in other places, too - for
example, the edit template and the tag manager
2015-08-04 17:44:07 +01:00