webninjasi
47d518d6d4
Fix invalid header in upload plugin
2016-03-03 19:08:24 +02:00
Jermolene
5f6a53eae1
Fix typo from 4a03dcab20
2016-02-20 21:44:52 +00:00
Jeremy Ruston
35fe5a5fc3
Merge pull request #2294 from mklauber/patch-2
...
Update has.js for improvement to #2274
2016-02-20 21:43:58 +00:00
Matt Lauber
899c5cb835
Update has.js
2016-02-18 11:51:29 -05:00
Jermolene
4a03dcab20
Fix problem with double-byte Unicode entities
...
Entities such as `👷` were broken because
`String.fromCharCode()` is not fully Unicode aware. The fix is to use
`String.fromCodePoint()` where available.
Noted by @ericshulman
2016-02-18 13:49:09 +00:00
Eric Drechsel
60d585f7d5
putSaver: probe for server support on startup
...
save fails until probe succeeds,
allowing other saver methods to take over
Follow up to #2288 , #2277
2016-02-16 10:53:15 -08:00
Jeremy Ruston
1f4df88960
Merge pull request #2284 from mklauber/patch-2
...
Fix for #2274
2016-02-16 16:37:46 +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
Eric Drechsel
dd43759ecc
putSaver: return null on save success, TODOs
2016-02-15 15:20:30 -08: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
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
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
Jeremy Ruston
dd9fc6a51e
Merge pull request #2265 from felixhayashi/fix/icon
...
fixed malformatted svg
2016-02-11 09:48:43 +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
Eric Drechsel
f8565443d7
add a simple put saver, for saving to a webdav or REST server
2016-02-08 13:40:10 -08: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
Felix Hayashi
b83556b5ad
fixed malformatted svg
...
one `</g>` too much.
2016-02-02 17:35:22 +01:00
Jermolene
f61bb316b2
Adjust version number for 5.1.12
2016-01-31 21:46:29 +00:00
Jermolene
d240ab5003
Fix broken plugin library
...
Fixes #2260
2016-01-29 17:16:16 +00:00
Jermolene
334497ce4e
Move "get more plugins" button into a transcludable tiddler
2016-01-07 23:00:29 +00:00
Jermolene
64efee40e5
Retracting #2147
...
The problem is that this change scrambles the ordering of tabs that use
programmatic ordering, for example here:
https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/ti
ddlers/releasenotes/TiddlyWiki_Releases.tid#L13
2016-01-07 16:48:51 +00:00
Jermolene
0747635fba
Fixed current tiddler overwrite in tabs macro
...
Fixed a side-effect of 03519c14b0
from
@matabele whereby the current tiddler is overwritten by the
`<$tiddler>` widget, which means that it is not accessible when
rendering the caption of the tab.
This causes a problem with eg the “Add Plugins” modal where it breaks
the count on the tabs.
2016-01-07 12:40:10 +00:00
Jermolene
b873df0ba2
Revert "Merge pull request #2166 from matabele/patch-5"
...
This reverts commit 83c54f4bb5
, reversing
changes made to 0cbe97615a
.
2016-01-06 09:38:39 +00:00
Jeremy Ruston
83c54f4bb5
Merge pull request #2166 from matabele/patch-5
...
Fix inadvertent clearing of text field (default) when `field` attribu…
2016-01-05 19:10:26 +00:00
Jermolene
0cbe97615a
Add size attribute to select widget for multiple selection mode
2016-01-05 18:48:21 +00:00
Jermolene
93f7d8c028
Fix bug with tiddler widget and a blank tiddler title
2016-01-05 18:48:04 +00:00
Jeremy Ruston
31b4f104e4
Merge pull request #2161 from matabele/patch-3
...
Tidied up the code in the x-listops filters
2016-01-05 15:30:39 +00:00
Jeremy Ruston
2cd812c15f
Merge pull request #2160 from matabele/patch-2
...
Changed the name of the 'list' attribute to 'field' for the $action-listops widget
2016-01-05 13:06:48 +00:00
Jeremy Ruston
114f4dbcea
Merge pull request #2171 from nameanyone/tw5-htabs-spaces
...
Replace spaces between horizontal tabs with margin
2016-01-05 12:58:04 +00:00
Jeremy Ruston
791f97983e
Merge pull request #2153 from tobibeer/rows-for-edittext
...
add rows attribute to edittext, plus docs
2016-01-05 12:31:37 +00:00
Jermolene
0240a8048f
Fix default date format
2016-01-04 20:09:06 +00:00
Jermolene
5cc1f2b313
Fix problem with search popup disappearing
...
This one took quite a lot of tracking down…
Fixes #2172
2016-01-03 18:05:08 +00:00
Jermolene
665d6657bb
It's 2016!
...
🎉 🎊 🎆
2016-01-03 18:04:21 +00:00
William Jackson
ac8b706d42
Correct Formatting
...
Removed extra tab spacing and corrected syntax error
2016-01-03 16:30:00 +02:00
Jeremy Ruston
f2591761b0
Merge pull request #2169 from nameanyone/tw5-fold-button-spaces
...
Remove spaces around the fold button
2015-12-31 09:17:12 +00:00
nameanyone
49c6a172ad
Get rid of newline at eof.
2015-12-30 16:57:49 -08:00
nameanyone
bd9cd10de1
Remove the trailing space as well, missed that.
2015-12-30 15:38:35 -08:00
Jermolene
e3f381ed8d
Remove extraneous whitespace between tag pills
...
Fixes #2170
2015-12-29 15:21:53 +00:00
nameanyone
747eb9daba
Remove spaces between horizontal tabs
2015-12-29 00:02:19 -08:00
nameanyone
7fbe29fd04
Remove spaces around the fold button
...
...by removing newlines betwen widgets. Makes source harder to read but eliminates space characters from the end result.
2015-12-28 22:28:48 -08:00
William Jackson
a44edee782
Changed indents from spaces to tabs
...
I am informed this is the correct convention for TW5.
2015-12-28 18:12:22 +02:00
William Jackson
471f28e52b
Fix inadvertent clearing of text field (default) when field
attribute of the ActionSetField widget isn't set.
...
When using the widget with only short form SetText attributes (field="value) -- the default field (text) of the default tiddler is set to the default value ("") -- thus clearing the text field of the current tiddler. I have inserted a conditional to test for the presence of the `field` attribute.
Whilst I was about this, I have inserted code to enable the setting of any number of TextReferences -- this fixes the issue of only being able to set one index per widget and also allows different tiddlers to be targeted by the same widget.
2015-12-28 18:08:05 +02:00
Mario Pietsch
3977cf009b
fixes #2158 check if new fields are present and warn on cancel
2015-12-28 11:31:36 +01:00
Mario Pietsch
7c4ea64210
fixes #2158 check if new fields are present and warn on cancel
2015-12-28 11:29:43 +01:00
William Jackson
48987e186a
Tidied up the code in the filters
2015-12-28 10:31:39 +02:00
William Jackson
2f51c3695d
Changed the name of the 'list' attribute to 'field'
...
Other users found this to be confusing -- I have made this change in both this widget and the $checklist widget to maintain consistency
2015-12-28 10:22:28 +02:00
Jeremy Ruston
fe00229ad5
Merge pull request #2004 from inmysocks/patch-9
...
Modified fieldmangler to create a tiddler if adding a tag (see #2001 )
2015-12-24 15:22:41 +00:00
Tobias Beer
456e7abc5d
add rows attribute to edittext, plus docs
2015-12-24 15:40:00 +01:00
Jeremy Ruston
e344dbe077
Merge pull request #2049 from inmysocks/patch-11
...
Let $keyboard trigger action-widgets
2015-12-24 14:12:32 +00:00
Jeremy Ruston
dcc53b8e96
Merge pull request #2074 from mklauber/master
...
Manage a list field by allowing the <$select> widget to select multiple items.
2015-12-24 13:48:43 +00:00
Jermolene
f4f86e3c23
Fixed problem with deleting alerts introduced in #1981
2015-12-24 11:00:47 +00:00
William Jackson
b7c2063f63
Added sorting on 'order' field by default
...
What do you think of this idea?
2015-12-24 09:02:33 +02:00
William Jackson
03519c14b0
Added tooltip option
...
Tooltips should be entered in the 'tooltip' field of each tab tiddler
2015-12-23 20:55:03 +02:00
Jeremy Ruston
7676f93932
Merge pull request #2125 from tobibeer/set-emptyValue-always
...
always set emptyValue, not just for filter
2015-12-23 17:42:41 +00:00
Jermolene
57ceffd67c
Merge #1909 from @nameanyone
2015-12-23 12:19:47 +00:00
Jeremy Ruston
ccf6edb940
Merge pull request #1933 from felixhayashi/fix/scrolling
...
Auto-height fix for text area which is contained in a scroll container
2015-12-22 14:08:56 +00:00
Jeremy Ruston
fa1814d0f4
Merge pull request #2048 from felixhayashi/fix/count
...
Replacing count with Object.keys
2015-12-22 12:41:24 +00:00
Jeremy Ruston
ef1cd5f55f
Merge pull request #1967 from Drakor/fixActionSetField
...
fixed bug in $action-setfield introduced by #1963
2015-12-21 22:17:51 +00:00
Jeremy Ruston
de99dd5196
Merge pull request #1981 from tobibeer/delete-alerts-without-confirm
...
Delete alerts without confirm
2015-12-21 22:15:25 +00:00
Jeremy Ruston
a34ac01d63
Merge pull request #2100 from tobibeer/fix-edittemplate-shadow
...
fix broken template: core/ui/EditTemplate/shadow
2015-12-21 22:12:36 +00:00
Jermolene
07ac75b084
Fix search dropdown positioning
...
This fixes a problem introduced in
72941f3e9a
whereby the change to
tc-drop-down affected other dropdowns.
2015-12-20 08:53:29 +00:00
Tobias Beer
ea8a8f1b53
always set emptyValue, not just for filter
2015-12-09 23:33:07 +01:00
Jeremy Ruston
da36f1c728
Merge pull request #2037 from matabele/Listops
...
ActionListopsWidget
2015-12-06 19:04:26 +00:00
Jermolene
4a8511c6f2
Added file and folder icons
...
These icons are skinnier than the regular icons; I found I couldn’t
produce sufficiently detailed images with the regular line width.
2015-11-25 15:32:53 +00:00
Tobias Beer
4e0a5c862c
fix broken template: core/ui/EditTemplate/shadow
2015-11-25 15:22:15 +01:00
Xavier Cazin
8d2bdaa338
fr-FR translation of Parsing hint
2015-11-21 18:40:06 +01:00
jed
848e351685
removed the handled variable
...
because it serves no purpose here. That test isn't required in this context.
2015-11-16 10:48:25 +01:00
Jermolene
15f52bd7ce
Add support for Nw.js special features to browse widget
2015-11-13 18:47:30 +00:00
Matt Lauber
8ccee5d015
Remove cla for separate PR, and clean up variable declaration.
2015-11-13 11:30:06 -05:00
Matt Lauber
f540be4ac4
use $tw.utils.stringifyList
2015-11-13 08:06:51 -05:00
Matt Lauber
065b274b98
Use the $tw.utls.parseStringArray function to break up a list.
2015-11-13 08:04:13 -05:00
Matt Lauber
c535dd605c
Grant the select widget the ability to select multiple values.
...
Multiple values are placed in a given tiddler-field combination as if
that field were a list field.
2015-11-13 07:50:34 -05: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
Jermolene
bc0cbf9070
Add a lazy loading template for all non-system tiddlers
...
With this new template you can run TiddlyWiki under Node.js such that
all non-system tiddlers are lazily loaded, and not baked into the HTML
file.
2015-11-05 12:33:20 +00:00
Jermolene
d0ca776edb
Improve edit info banner for shadow tiddlers
...
Add the name of the plugin that contains the shadow tiddler
2015-11-05 12:33:20 +00:00
Felix Hayashi
f217451fc5
Replacing count's function body with Object.keys
...
see #2046
2015-11-03 23:47:47 +01:00
Jermolene
513ed8774c
Tweak spiral
2015-10-29 21:49:05 +00:00
Mario Pietsch
4dadbe5ba8
makes the new toolbar option fold-bar translatable
2015-10-29 12:05:54 +01:00
Jermolene
41480968ac
Add spiral icon
2015-10-28 18:11:55 +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
Felix Hayashi
d3ab4144d4
Allows text areas to be auto-height while being wrapped in an
...
element that has scrollbars. The wrapper element with the
scroll bar does not need to be a direct parent of the text area.
**update:** fixed a bug that came up in the discussion
This is fixed now: https://github.com/Jermolene/TiddlyWiki5/pull/1933#issuecomment-141774881
The problem was the check in getScrollContainer()
2015-10-26 21:22:10 +01:00
jed
e55c5b0669
Let $keyboard trigger action-widgets
...
Because of the refresh problems with the other widgets triggering action-widgets I am doing this one by itself. I hadn't included it before.
This shouldn't have any more problems than the button widget does, and any problems caused by it should be fixed by any fix we use for the button widget. See #1564 for more background
2015-10-26 20:23:09 +01: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
a0468a5e6c
add localisable strings for plugin library
2015-10-18 18:33:59 +09:00
Myeongjin
33bca3d390
add localisable strings for search
2015-10-18 18:09:41 +09:00
Myeongjin
4347d91c57
add localisable strings for Import/Imported
2015-10-18 17:29:04 +09:00
Myeongjin
2fee131aa4
add localisable strings for Internal JavaScript Error
2015-10-18 17:26:42 +09:00
Myeongjin
d7f1f973a9
replace type to rendertype at setfield help
2015-10-18 17:23:37 +09:00
Myeongjin
8e68f904f1
remove unnecessary spaces
2015-10-18 16:49:48 +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
e31abf89ac
Fix accidental commit of wrong default performance instrumentation setting
2015-10-14 12:01:35 +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
00f6aafed6
being specific about the tiddler to be deleted via action-deletetiddler
2015-10-10 21:01:07 +02:00
Tobias Beer
9a23c2471c
modified alert template and execute action-deletetiddler on currentTiddler by default
2015-10-10 16:47:11 +02:00
Tobias Beer
5d36e17c18
Revert "no delete confirmation for alerts"
...
This reverts commit 88c1a1e062
.
2015-10-10 16:35:22 +02:00
jed
4c95dc9bbb
Modified fieldmangler to create a tiddler if adding a tag to one that doesn't exist
...
This came up as an issue and I don't have any reason it shouldn't be here. It could be useful.
2015-10-08 20:39:19 +02:00
Jermolene
6add992bf2
Fix issue with tiddlers such as $:/templates/something
not being synced
...
Fixed #2002
2015-10-08 15:10:46 +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
acbf87657b
Switch to absolute date format
...
The present implementation of relative dates doesn’t auto-update, nor
does it work effectively in static renderings. Until that’s fixed, I
think it is better to switch to absolute dates.
2015-10-07 18:35:23 +01:00
Tony Grosinger
11b09be523
Provide clarification about running with password
2015-10-04 10:51:27 -07:00
Tobias Beer
88c1a1e062
no delete confirmation for alerts
2015-10-02 11:36:07 +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
Jermolene
72941f3e9a
Addresses #1066 by moving the search results into a dropdown.
...
The dropdown can be summoned by clicking on the search field. It will
only appear if the search field is not empty. When the search field is
not empty the dropdown can be also be summoned by clicking on the arrow
or search result count.
There are still some wrinkles where the dropdown doesn’t appear when
expected; I’d appreciate feedback to help reproduce those cases.
This change should still work with custom search result tabs.
2015-09-27 22:53:46 +01:00
Jermolene
b27a41eb86
Hide the fold-bar by default
2015-09-27 22:53:46 +01:00
Andreas Hahn
99c5fa46dd
fixed bug in $action-setfield introduced by #1963 : At least one of '$field', '$value' or '$index' must be specified in order to act upon the information from the fields. Prevents default deletion of the 'text' field when none are specified.
2015-09-27 15:35:54 +02: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
90e0b6f555
Remove extraneous whitespace from view template
2015-09-19 21:12:37 +01:00
Jermolene
c03dc4c37c
Make the fold-bar be selectable as though it were a toolbar button
2015-09-19 09:36:26 +01:00
Jermolene
e6529af04e
Tiddler editor: accept new tags and fields when clicking "confirm"
...
Fixes #1939
2015-09-19 09:36:11 +01:00
Jermolene
cf00658ddf
Add full-width "unfold" button for folded tiddlers
...
And also a full-height “fold” button for unfolded tiddlers.
Trying to address #1908
2015-09-18 19:45:34 +01:00
Jermolene
b641cb402d
Add banner for unfolding tiddlers
2015-09-18 19:45:34 +01:00
Jermolene
a19f7454ca
Improve "tools" button tooltip
...
Thanks @Evolena
2015-09-15 17:50:49 +01:00
Jermolene
f917c4da1a
Clarify hint for import button
...
Triggered by this discussion:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
/tiddlywiki/lVu-WIP4GXs/QvJB7by3NEAJ
2015-09-15 13:35:17 +01: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
3a700c025d
Fix thumbnail macro tiddler title
2015-09-09 17:46:42 +01:00
Evolena
a25955d8c6
Fix thumbnail macro when no caption parameter is provided
2015-09-08 20:32:07 +02: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
76c12a9ecc
Make it easier for other view template segments to support folding
2015-09-07 17:00:03 +01:00
Jermolene
2c9b1ae257
Add warning when trying to use plugins designed for TiddlyWiki Classic
2015-09-04 17:18:34 +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
73f3244113
Hide the fold-all and unfold-all buttons by default
2015-08-31 15:48:43 +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
010b01f205
Remove extra DIV added to view template
...
One of the changes for introducing folded tiddlers was the extra reveal
widget here, which introduces an extra DIV element, breaking some CSS
rules. To fix it, we re-use the reveal widgets generated DIV as the
tiddler body DIV
2015-08-10 11:39:11 +01:00
Jermolene
ac08dc2e35
Added fold/unfold all buttons
...
More translations, @BramChen, apologies…
2015-08-09 17:25:01 +01:00
Jermolene
4152fbbfeb
Use different wording for unfolding vs folding
...
Apologies for making more work @BramChen!
2015-08-09 16:40:58 +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
7421616754
Make keyboard shortcuts configurable
...
Fixes #1892
2015-08-08 13:43:14 +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
Jermolene
9168480d18
Clear caches when changing plugins
2015-08-02 22:22:33 +01:00
Jermolene
8444961cd2
Introduce Story object
...
A lightweight object to encapsulate manipulation of the story and
history lists
2015-08-01 18:09:00 +01:00
Jermolene
cd29eed067
Fix problem with importing using wrong import tiddler name
2015-08-01 13:48:46 +01:00
Jermolene
3b321b5d26
Add buttons to the top of the $:/Import tiddler too
2015-08-01 13:19:39 +01:00
Jermolene
8f746f9dde
Add parse tree utility for collecting text
2015-08-01 13:14:32 +01:00
Jermolene
f708b4df65
Turn off performance instrumentation
...
The plan is to make it be a user configurable option
2015-08-01 13:13:47 +01:00
Jermolene
58188cf805
Improvements to parser rule configuration
...
* Ignore parser rule configuration in safe mode
* Made text translatable
* Added new setting for camelcase links
* Added warning on parser rule configuration tab
See #1875
2015-07-31 13:33:33 +01:00
Jermolene
d5e690a06d
First pass at global disabling of parser rules
...
This is to address #1875 more quickly than via #345 .
This commit only includes a partial implementation of the UI - see the
ticket for details.
2015-07-30 12:28:29 +01:00
Jermolene
18e38bb2bc
Fix bug with 2cb6400773
...
The problem was that we failed to escape the dash in the regexp,
meaning that it was matching all characters from “.” to “_”.
2015-07-14 08:33:12 +01:00
Jermolene
2cb6400773
Extend automatic system tiddler linking to digits and underscore
...
Fixes #1877
2015-07-13 14:42:55 +01:00
Jermolene
e0aacc84d5
Add publishFilter to default save template
...
Making #1800 a bit more useful
2015-07-12 09:08:11 +01:00
Jermolene
32f6d7f1b0
Revert getTiddlerData() and add getTiddlerDataCached()
...
For backwards compatibility, we now explicitly request the cacheable
version of this method.
Fixes #1873
2015-07-10 16:43:50 +01:00
Jermolene
862e358b57
Refine check for client server plugins
...
Fixes #1870
2015-07-08 15:48:13 +01:00
Jermolene
7dddc925ae
Allow delete button to be used in view toolbar
...
Fixes #1871
2015-07-08 15:33:18 +01:00
Jermolene
8bfc6f3557
Adjust cache names for parse caches
...
The old names were a hangover from an old refactoring.
2015-07-08 08:26:19 +01:00
Jermolene
848a7f4e74
Optimise getStateQualifier()
...
Another fix for #1864 , this time we’re caching state qualifiers as they
are expensive to compute.
2015-07-06 11:23:12 +01:00
Jermolene
c6e48ebc2d
Performance optimisations
...
In some situations, I’m seeing x2.5 speedups with these optimisations
Starts fixing #1864
2015-07-05 19:47:44 +01:00
Jermolene
a86cfe2663
Minor coding style tweaks
2015-07-05 18:09:35 +01:00
Jeremy Ruston
c4397792f5
Merge pull request #1863 from nameanyone/master
...
New filter "recent"
2015-07-05 18:04:05 +01:00
Jermolene
b0cb17cd83
Re-establish caching of results of parsing a tiddler
...
I switched this optimisation off back in
ed35d91be6
, in October 2013, as part of a
big refactoring of the parsing and widget mechanism. I’ve been meaning
to switch it back on for some time.
My rough measurements suggest that this optimisation can reduce
rendering time by 5-10%.
2015-07-05 17:48:18 +01:00
Jermolene
3a7e29674b
Fix problem with checkbox widget and missing tiddlers
...
The newly added invertTag code was crashing if the tiddler doesn’t
exist.
2015-07-02 17:33:51 +01:00
Jermolene
f3b5dc530e
First pass at selectable toolbar button styles
...
There’s not much to making the toolbar button styles switchable: the
change to the PageTemplate introduces a new configuration tiddler that
controls the button styling. Most of this commit is the user interface
for changing that setting, including the translatable text. I think
this again demonstrates that we need to be very selective about which
configuration options have a UI included in the core. Otherwise, a few
dozen more of these settings will start to become a significant
fraction of the core.
2015-07-02 08:57:06 +01:00
Jermolene
31ebbb2d7d
Add translatable strings for type dropdown
2015-07-01 15:58:49 +01:00
Jeremy Ruston
062aa03c5a
Merge pull request #1849 from Infurnoape/master
...
Update fields.tid
2015-07-01 15:40:25 +01:00
Devin Weaver
7057c6252e
Fix bad table rendering with info button
...
When the info button in the TagManager was press it revealed the info
table but it was squished in one cell and that pushed the right side of
the table past the width of the tiddler. So using a colspan optimises
the spacing (plus it looks better).
2015-06-30 23:59:23 -04:00
Devin Weaver
98a1ee1a8d
Add untagged to TagManager
...
Used for stats and easy access to the untagged pill
2015-06-30 23:56:16 -04:00
Devin Weaver
7d348b3733
Move counts to TagManager
2015-06-30 23:56:02 -04:00
nameanyone
a37ba2afbe
New filter operator "recent"
...
Select tiddlers with a specified date field (default "modified") within the last N days (default 0, meaning today).
2015-06-30 14:05:03 -07:00
Andrew J Harrison
7ad15bc248
Update fields.tid
...
Add a new field drop down
2015-06-29 10:45:41 -07:00
Jermolene
63f802efda
Rename checkbox "invert" attribute to "invertTag"
...
And update docs
2015-06-26 10:18:15 +01:00
James Welford Anderson
379181ded5
add invert parameter to checkbox plugin
...
for when you want a tag to denote the lack of a check rather than the
presence of one.
2015-06-26 05:10:13 +09:00
Jermolene
50c6ce8b73
Improve syslink parsing
...
Fixes #1767
2015-06-24 09:24:03 +01:00
Jermolene
f42842f801
Add variable indicating preview region
...
@felixhayashi does this do the trick for you?
2015-06-20 09:33:11 +01:00
Jermolene
a89ae45188
Add hidden setting for autofocusing search box
...
Fixes #1748
2015-06-19 17:28:57 +01:00
Jermolene
b31803608b
Refactor navigator widget configuration
...
@felixhayashi sorry I should have realised earlier that it’s worth
doing it this way so that we can have different settings for different
story rivers.
2015-06-19 16:44:20 +01:00
Jermolene
37f5a9f725
Update plugin library versions
2015-06-15 15:42:52 +01:00
Jermolene
9aa9b59284
Include tiddler caption/title in static page titles
2015-06-15 09:54:56 +01:00
Jermolene
4a3a5bf1f0
Don't autosave when cancelling an edit
...
Fixes #1762
2015-06-13 18:08:09 +01:00
Jermolene
0d5033e2a0
Add title links setting
2015-06-13 15:22:50 +01:00
Jermolene
fdbde1b389
Tweak contrast themes
2015-05-28 09:47:42 +01:00
Jermolene
1c72e77106
Add warning if required client-server plugins are missing
2015-05-22 09:05:25 +01:00
Jeremy Ruston
8a999ea745
Merge pull request #1706 from buggyj/zoomin_nav
...
fix for issue - Story freezing in zooming mode #1704
2015-05-18 22:39:55 +01:00
Jermolene
3e1b84064a
Improved fix for illegal field name problem
...
Better fix for the problem identified in 9b4b9d4
2015-05-18 22:16:04 +01:00
Jermolene
9b4b9d4d88
Update sendmessage widget to allow name/value parameters
...
Using `$name` and `$value` attributes allows more flexibility in how
parameter names are specified, allowing parameter names that are not
valid attribute names.
2015-05-18 22:15:23 +01:00
Jermolene
ccd0b30b5c
Add "SolarFlare" palette
...
Created by @nameanyone
2015-05-18 20:48:52 +01:00
Jermolene
5a6249894d
Fix problem with field names containing special characters
...
The characters `> / ' " =` were causing problems.
Thanks @ericshulman
2015-05-18 19:29:10 +01:00
Jermolene
ecdcfe41ac
Fix problem with #1723
...
Restoring operation of the “default” attribute
2015-05-14 00:07:53 +01:00
Jermolene
648f670bcb
Tweaked icons
2015-05-13 23:55:00 +01:00
Jeremy Ruston
9935902b92
Revert "Added a close library butten to add plugins modal"
2015-05-12 17:36:27 +01:00
Jeremy Ruston
2d65488e06
Merge pull request #1718 from inmysocks/patch-5
...
Added a close library butten to add plugins modal
2015-05-12 17:25:21 +01:00
Jeremy Ruston
f0206283cf
Merge pull request #1723 from cehmke/fix-buttonwidget-textreference-selected
...
Use of getTextRefence in ButtonWidget.isSelected
2015-05-12 11:20:47 +01:00
Jeremy Ruston
cf3b63c13c
Merge pull request #1724 from cehmke/select-refresh-children-first
...
SelectWidget: Update selected value if children have been refreshed
2015-05-12 11:20:06 +01:00
Jermolene
b5ad255d0c
Allow drafts typing timeout to be configured
2015-05-11 20:15:42 +01:00
cehmke
4d3103ff25
Update selected value if children have been refreshed
...
If the children have been refreshed, it is necessary to check, whether
the value of the select box has been changed.
2015-05-10 19:32:38 +02:00
cehmke
b8addaa520
use of getTextRefence in isSelected
...
Instead of a particular implementation make use of the overall function
getTextReference to determine the current value.
Add a missing semicolon.
2015-05-10 13:26:00 +02:00
jed
ad4cd7326a
Added a close library butten to add plugins modal
...
The button deletes the local tiddlers that contain information about the library. This allows you to:
*hide the library contents
*reload the library to see any updates to the plugins it contains. If this isn't done than local information about the available plugins is never updated (this problem may need a separate fix that doesn't require reloading the library).
I have three problems that should be addressed:
*I am not sure that the location and color of the close library button is appropriate
*When you click on the close library button a message asking you if you want to delete the $:/temp/ServerConnection/(url) tiddler appears, if you click 'cancel' than the library is shown as open and empty, the only way to fix this condition is to delete the server connection tiddler manually. I think there is a simple fix to this but I can't think of anything.
*Sometimes if you try to open a library that you have just closed it won't open properly. The tiddlers that contain the plugin information are created, but the server connection tiddler isn't created until you reload the wiki. This behavior is inconsistent and sometimes opening the library again works with no problems. I do not know why. I would be fine with requiring a refresh before a library could be reopened so that the startup module acts, but I am not sure what to do about this inconsistent behaivor. I have not been able to find any cause.
2015-05-08 18:24:10 -06:00
Jermolene
42a3e31b1b
Tweaks to #1678
2015-05-07 19:44:08 +01:00
Jeremy Ruston
e93d32cdd7
Merge pull request #1678 from felixhayashi/feature/vars_widget
...
Introducing the vars widget
2015-05-07 19:36:25 +01:00
Jermolene
f87e74f131
Tweak palette icon
2015-05-07 18:54:56 +01:00
Jermolene
61b75be94c
Add "navigateFromTitle" to action-sendmessage
...
Fixes #1665
2015-05-06 08:14:26 +01:00
Jermolene
86e901f375
Fix event handler leak for modals and notifications
...
Also add support for passing custom variables into notifications.
Fixes #1694
2015-05-06 08:07:12 +01:00
buggyj
45e0f09ade
fix multiply displayed tiddlers zoomin error
2015-05-06 07:42:55 +01:00
Jermolene
97fd1330d6
Disable wikilinks within tab buttons
...
Thanks to @BramChen for the suggestion:
https://github.com/Jermolene/TiddlyWiki5/issues/1697#issuecomment-990092
50
2015-05-05 21:48:48 +01:00
Jermolene
02acbb1169
Hide palette page control button by default
2015-05-05 21:47:47 +01:00
Jermolene
cad5917eeb
Request scrollbars in external windows
2015-05-05 21:47:37 +01:00
Jermolene
789069bb6b
Add palette page control button
2015-05-05 18:53:35 +01:00
Jermolene
a79e7a1c57
Tweaks for #1662
...
Coding style and ui copy
2015-05-04 20:29:00 +01:00
Jeremy Ruston
4656a7e8f6
Merge pull request #1662 from felixhayashi/feature/navigator_widget
...
upgrading the navigator widget
2015-05-04 20:21:38 +01:00
Jermolene
403a460002
Check for dom node not found
2015-05-03 16:56:37 +01:00
Jermolene
0932c15e5c
Clarify rendering parameters
...
srcDocument.body.firstChild will in fact be null, but it’s clearer to
write it out
2015-05-03 16:56:27 +01:00
Jermolene
3f26492ac8
Close subwindows when closing main window
2015-05-03 16:24:02 +01:00
Jermolene
48dcf959ff
Refactor browser unload task handling
...
Make it possible to register multiple task functions that will be
called when the window is unloaded
2015-05-03 16:23:35 +01:00
Jermolene
d23f174d01
Add a margin for single tiddler windows
2015-05-03 15:05:26 +01:00
Jermolene
fdeb8a925f
Introduce template for single tiddler windows
...
Lets us include global macros etc.
2015-05-03 14:58:33 +01:00
Felix Hayashi
9693f97b16
upgrading the navigator widget
...
Motivation / Agenda
* https://github.com/Jermolene/TiddlyWiki5/issues/1651
* https://github.com/Jermolene/TiddlyWiki5/issues/1650
Summary
* Changed the NavigatorWidget (primarily `addToStory()`)
* Applied lingo to settings
* Applied lingo to selectbox options
2015-05-03 13:24:16 +02:00
Jermolene
41d5031279
Position and hide the open-window button
2015-05-03 08:49:49 +01:00
Jermolene
ec567f67d3
Set title of external window
2015-05-03 08:49:37 +01:00
Jermolene
8708f817fa
Improve garbage collection of external windows
...
Now we remove event listeners when a window is closed
2015-05-02 17:22:53 +01:00
Jermolene
7866f9b2de
Typo
...
Typically for JavaScript, initialising an object as an array doesn’t
break anything because an array is an object. Anyhow, it should be an
object in this case.
2015-05-02 17:22:23 +01:00
Jermolene
9cf5d88cc9
Add "open new window" tiddler toolbar button
2015-05-02 12:12:51 +01:00
Jermolene
52529f9b32
Contrast palette tweaks
2015-05-02 12:12:31 +01:00
Jermolene
7b4153f87f
No longer autofocus the search box in the plugin library
...
It messes things up in iOS, and perhaps other browsers too
2015-04-30 17:45:22 +01:00
Jermolene
6f7d80a2ac
Missed off last commit
2015-04-29 22:24:46 +01:00
Jermolene
3e166f5fe9
Palette tweaks
...
Making it easier to tweak the two colours in the monochrome palettes
2015-04-29 22:24:36 +01:00
Jermolene
ead208332b
Improvement to Contrast palette
...
Also add a light variant
2015-04-29 22:11:39 +01:00
Jermolene
28050fb488
Palette tweaks
2015-04-28 09:12:04 +01:00
Jermolene
0e7ae7ce20
Add descriptions for new palette colours
2015-04-28 09:11:26 +01:00
Jermolene
3567e4c2c7
Palette editor: use colour name if description not available
2015-04-28 09:10:57 +01:00
Jermolene
1b25d4b51a
Improve "Contrast" palette
...
Trying to make it more useful for visually impaired users - see #1682
2015-04-27 21:46:31 +01:00
Jermolene
16301532bf
Add button palette colours
...
We leave them blank by default so that we get the browser default
button colours
2015-04-27 21:46:07 +01:00
Felix Hayashi
740627795f
This widget allows the user to set multiple variables in one go.
...
It thereby reduces code complexity that would arise when setting
many variables using "<$set>".
```
\define helloworld() Hello world!
<$vars greeting="Hi" me={{!!title}} sentence=<<helloworld>>>
<<greeting>>! I am <<me>> and I say: <<sentence>>
</$vars>
```
How this Widget differs from the set widget:
* Variables may be created by using the "key=value" notation
that you already know from widgets like action-setfield.
* You cannot specify a fallback ("emptyValue")
* You cannot use a filter to produce a conditional variable assignement
Original discussion that led to the creation of this widget:
https://github.com/Jermolene/TiddlyWiki5/issues/1610
2015-04-27 17:07:13 +02:00
Jermolene
3c7082e181
Fix contrastcolour typo
2015-04-24 11:13:10 +01:00
Jermolene
2cb1c1d017
Update copyright year
2015-04-24 11:13:10 +01:00
Jermolene
75a33f5dff
Fix problem with "foreground"/"background" palette colours using <<colour>>
macro
...
See discussion here:
https://groups.google.com/d/topic/tiddlywiki/XDlO0EydXtY/discussion
2015-04-21 22:07:16 +01:00
Jermolene
139496209f
Add support for custom elements to the button widget
2015-04-21 19:29:54 +01:00
Jermolene
3e966d4cf3
Simplify wording of exporter descriptions
2015-04-13 07:53:36 +01:00
Hong-Yi Dai
279ae2af79
Add the missing operator to sameday
...
Otherwise, the `sameday` macro will default to `modified`. In case the user set `dateField:"created"` when calling `timeline`, the result will be inconsitent.
2015-04-09 11:10:09 +08:00
Jeremy Ruston
13a5e8f31c
Merge pull request #1520 from roma0104/master
...
Update the sameday and eachday filter to accept TW5 date strings.
2015-04-06 17:40:32 +01:00
Jermolene
f3ed9bf7e4
Fix problem with double quotes in new field value
...
Fixes #1634
2015-04-03 09:06:57 +01:00
Jermolene
21b6ce71ff
Revised wording for "save tiddler" button
...
See #1274
2015-04-02 17:49:42 +01:00
Jermolene
b7465c5eb1
Missed off 7c9976f1d9
2015-04-02 15:22:50 +01:00
Jermolene
7c9976f1d9
Partially revert to 5.1.7 scroll behaviour
...
We’re keeping the new logic that prevents unnecessary scrolling at
startup
Fixes #1543
2015-04-02 15:21:49 +01:00
Jermolene
515be0c22e
New DarkPhotos palette that's good with background photos
2015-04-02 12:39:24 +01:00
Jermolene
816363408e
Introduce site-title-foreground to palette
2015-04-02 12:39:08 +01:00
Jermolene
6314d7f8ba
Fix thumbnail macro to set foreground colour for icons
2015-04-01 14:06:59 +01:00
Jermolene
ea5fb19fb2
Experimental SVG Compression
...
I used this tool to compress the core icon:
https://jakearchibald.github.io/svgomg/
It’s a 50% saving, from 3,491 bytes to 1,709 bytes.
2015-03-31 14:39:36 +01:00
Jermolene
390b7553f6
Change "River of tiddlers" to "Static HTML tiddlers"
...
For clarity; see this discussion:
https://groups.google.com/d/msg/tiddlywiki/hReAZYepG5U/bQt8McdkQMUJ
2015-03-31 11:03:21 +01:00
Jeremy Ruston
b460bac579
Revert "Motovun jack"
2015-03-31 09:06:22 +01:00
Mario Pietsch
93cc9af145
also changed core icon. changed ids
2015-03-30 19:41:08 +02:00
Jermolene
7fa3803de8
Add mail icon
2015-03-26 11:15:34 +00:00
Jermolene
758ba5edc2
Allow widgets to choose not to propagate actions
...
Allow widgets to choose not to propagate actions. This is important for
widgets that themselves trigger actions.
Note that this change will cause problems with any existing
5.1.8-prerelease plugins that call `invokeActions()`.
2015-03-25 22:13:22 +00:00
Jermolene
2186a393a7
Simplify the link panels
2015-03-25 11:11:18 +00:00
Jermolene
4eb2e3d3b4
Fix undefined tabindex problem with link widget
...
The tabindex attribute was being set to the string “undefined” if the
attribute was not specified. The fix is to only set the tabindex
attribute if the attribute was specified.
2015-03-25 11:11:07 +00:00
Jermolene
8268087b48
Tweaks for default colour palette
...
Slightly lighter page background does seem to reduce the sombreness.
2015-03-24 08:34:12 +00:00
Jermolene
32c6d01943
Add GitHub and Twitter icons
2015-03-23 19:40:32 +00:00
Jermolene
b31237c86d
Front page link panels prototype
...
Starting to explore #1609
2015-03-23 16:05:25 +00:00
Jermolene
bd6472c1d1
Add style attribute to reveal widget
2015-03-23 15:28:26 +00:00
Jermolene
b97336f171
Feedback for Control Panel (etc) button
...
Give the toolbar buttons for control panel, advanced search and tag
manager the selected state when the corresponding tiddlers are open in
the story river.
2015-03-23 11:36:54 +00:00
Jermolene
5b38f2a17c
Remove youtube specificity from thumbnail macros
2015-03-23 11:36:11 +00:00
Jermolene
66f4faaef4
Better margin and style handling for youtube macro
2015-03-22 19:52:09 +00:00
Jermolene
9c27d22ea6
Add caption and tweak styling for youtube macro
...
More fixes for #1547
2015-03-22 18:01:46 +00:00
Jermolene
542372c722
Replace big red introduction video with thumbnail
...
Hopefully fixes #1547
2015-03-22 17:35:37 +00:00
Jeremy Ruston
7daddfc5ea
Merge pull request #1588 from andreasabeck/passwd-lang
...
added localisation for encryption dialog & de-DE translation
2015-03-21 19:05:39 +00:00
Jermolene
00f35fe41a
Don't HTML encode single quotes
...
They don’t get automatically decoded when the browser reads the
resulting HTML. So, instead, we’ll solve
1e9e1a1fdc
by switching to double quotes
for attribute values.
2015-03-21 14:17:42 +00:00
Mario Pietsch
9ae3b5588c
fixes the [Get more plugins] button tooltip
2015-03-20 11:34:14 +01:00
Jermolene
2f8837a445
Revert to original fix for #1542
...
The trouble with tweaking the ViewBox was that the amount of the
adjustment is expressed in the coordinate system of the image, not the
coordinate system of the bitmap that is being rendered. That means that
the additional space doesn’t necessarily extend to the single physical
pixel needed to resolve the issue.
2015-03-19 10:52:58 +00:00
Andreas Abeck
2c367c5476
added localisation for encryption dialog & de-DE translation
2015-03-18 18:52:33 +01:00
Jermolene
77db136d4f
Missed off previous commit
2015-03-18 11:46:37 +00:00
Jermolene
24435a46be
Lots of improvements to the plugin library
...
* Moved “add new plugin” into a modal wizard
* Adopt big friendly buttons
* Add plugin icons and readmes to “add new plugin” modal
* Use tabs for splitting plugins/themes/languages
* Consistent styling between the “add new plugin” modal and the
“installed plugins” control panel tab
* Behind the scenes, moved from addressing the library as
`recipes/defaults/tiddlers/<etc>` to `recipes/library/tiddlers<etc>`
2015-03-18 11:46:28 +00:00
Jermolene
421ac16389
Use inline parsing for header and footer of modals
...
This may cause backwards compatibility problems for people relying on
the block mode parsing, but it’s much better for the rest of us as it
avoids an unsightly paragraph tag
2015-03-18 11:41:10 +00:00
Jermolene
22b7400de8
Move making a data uri into reusable utilities
2015-03-18 11:40:09 +00:00
Jermolene
a4a9daa40b
Extend wiki.makeTranscludeWidget() to control mode
2015-03-18 11:39:50 +00:00
Jermolene
cf11741df9
Include the version number in the plugin library path
...
See also:
https://github.com/Jermolene/build.jermolene.github.io/commit/a00a8a6df6
09ef5e4b2ed85039da72780ac81512
2015-03-16 15:44:24 +00:00
Jermolene
d4d69d7dd3
Remove click-to-navigate on tiddler bodies
...
This was introduced to make it possible in the new stacked story view
to click on a tiddler to bring it to the front. By allowing a tiddler
in view mode to be focussed, it also prepared for view mode keyboard
shortcuts. (Eg, a key to edit the current tiddler).
However, there are several minor issues with the unexpected behaviour
of clicking on a tiddler navigating to it, so we’ll leave this out of
5.1.8
2015-03-16 09:43:12 +00:00
Pako
f2a328950e
Rename up-arrow to up-arrow.tid
2015-03-16 01:13:25 +01:00
Pako
c701e96427
Create up-arrow
2015-03-16 01:11:09 +01:00
Pako
faf9b30e9c
Create left-arrow.tid
...
I needed a left arrow for a menu, but as the core image library doesn't have one I created one by rotating the svg of the built-in right arrow.
Also changed the corresponding class name.
2015-03-16 01:01:24 +01:00
Roma Hicks
55ee327885
Removed uneeded function but still converts TW5 Date strings.
2015-03-13 13:14:30 -05:00
Jermolene
550ad4a1a9
Partial fix for #1570
...
Stop the logger from creating alert tiddlers on the server. They
propagate to the client but are not deletable from the client because
they are in the `$:/temp` namespace.
cc @loleg
2015-03-12 22:35:03 +00:00
Jermolene
c33a17a475
Revert "sort unlisted tags by title"
...
Revert “sort unlisted tags by title”
a8ab08e8fa
by @tobibeer
The problem was that this commit changed the order of stylesheet
processing. For background see:
https://groups.google.com/d/topic/tiddlywiki/BPuuSkG6siU/discussion
2015-03-11 19:17:14 +00:00
Jermolene
657c266522
Coding style tweaks
2015-03-10 20:04:34 +00:00
Jermolene
e80a08f43b
Fix problem with custom tag in reveal widget
2015-03-10 16:59:25 +00:00
Jermolene
1141911a70
Add strings for help button
2015-03-10 14:27:51 +00:00
Jermolene
1808b1597e
Support custom HTML element tags for reveal widget
2015-03-10 12:44:47 +00:00
Jermolene
64e1a76987
Prevent edit-text widget from generating unsafe elements
2015-03-10 12:34:50 +00:00
Jermolene
d3954af478
Soften colour of system tiddler icons
2015-03-10 12:29:39 +00:00
Jermolene
42499ea6ff
Minor tweaks and fixes for #1529
...
1. Display friendlier caption field in select dropdown
2. Remove extraneous line break from end of default config tiddler
3. Minor wording tweak
2015-03-03 18:10:01 +00:00
Jeremy Ruston
7a326f022b
Merge pull request #1529 from felixhayashi/sidebar-default
...
Option to define the default sidebar tab
2015-02-28 12:13:46 +00:00
Jermolene
e884192baf
Alternative fix for #1542
...
As suggested by @aelocson, adjusting the viewport has less impact on
the icon size.
2015-02-28 11:28:58 +00:00
Simon Baird
5713e48541
Revert "Add navigation support to the edit template"
...
For some reason this is causing the focus to be repeatedly set to
the title field when editing a tiddler's text. Let's revert it for
now.
See Issue #1527 .
This reverts commit fdc635007b
.
2015-02-27 13:44:24 +10:00
Jermolene
1e02df61d0
Add tip and warning icons
...
@aelocson I thought these might be useful for the docs; we’ll need some
macros and styles, though.
2015-02-25 20:37:07 +00:00
Jermolene
65d81921f9
Further fixes to scrolling behaviour
2015-02-25 20:24:07 +00:00
Jermolene
8d46c18fc7
Refine fix for #1526
...
The previous fix changed the scrolling behaviour such that it only
scrolled to the top of a tiddler if the tiddler was entirely offscreen.
It wasn’t entirely satisfactory because scrolling was prevented even if
only a few pixels of a tiddler are in view. This commit ensures that
the scroll does occur if less than 50 pixels of the target is in view
2015-02-25 19:09:53 +00:00
Jermolene
489bc7a50b
Only scroll to top when tiddlers are completely off-screen
...
Fixes #1526
2015-02-25 19:01:40 +00:00
Felix Hayashi
13f02992f5
changed wrong file
2015-02-25 18:00:02 +01:00
Felix Hayashi
21b738936f
setting default sidebar tab
2015-02-25 17:53:32 +01:00
Jermolene
fdc635007b
Add navigation support to the edit template
...
Matching the change we’ve already made to the view template
2015-02-23 18:59:46 +01:00
Jermolene
4dd2b38faa
Make tiddler frames clickable
...
With this enhancement, clicking on a tiddler in the story view will
navigate to that tiddler. This is needed for eg the stacked storyview,
where we want to be able to click on tiddlers to bring them to the
front of the stack.
There are some problems though - as things stand, clicking on a tiddler
in classic storyview will scroll to the top of that tiddler.
2015-02-23 11:28:36 +01:00
Jermolene
05c3de3245
Extend list widget to invoke storyview for refreshes
2015-02-23 11:24:03 +01:00
Jermolene
950a86c7b7
Extend link widget with additional attributes
...
Add “tabindex”, “draggable” and “tag” attributes
2015-02-23 11:23:44 +01:00
Jermolene
83011ddcff
Turn tiddler frames into links
...
By turning the tiddler frame into a link it is now possible to click on
a tiddler to navigate to it. This is needed for the new
stacked-storyview, but it also useful in other storyviews.
Note that there are currently some issues. For example, in classic
storyview, clicking on a tiddler will scroll to the top of it, which
isn’t helpful if you’ve scrolled halfway down a long tiddler.
2015-02-23 11:18:47 +01:00
Jermolene
0da1f3f554
Extend list widget to pass refreshes to the story view
2015-02-23 11:17:00 +01:00
Jermolene
60e6b584bf
Extend link widget with new attributes
...
Add “draggable”, “tag” and “tabindex” attributes to link widget.
2015-02-23 11:16:44 +01:00
Roma Hicks
a5591dc7a5
Update the sameday and eachday filter to accept ISO date strings. Extends coverage to fields that are not automatically converted to Date objects.
2015-02-21 11:39:03 -06:00
Jermolene
2d2924d918
Add help icon
2015-02-20 22:42:25 +00:00
Jermolene
bba4794c0a
Coding style updates
...
@welford there were some minor tweaks with whitespace, coalescing
consecutive var statements, camelcase rather than underscores in
variable names.
2015-02-20 22:17:28 +00:00
James Welford Anderson
1901702557
bug fix
...
Createdirectory is removed as $tw.utils.createFileDirectories does it's
work
Fixed a bug for when tv-get-export-path returns null.
2015-02-21 07:06:59 +09:00
James Welford Anderson
cf59e7a71b
re-add outputpath variable
2015-02-21 06:49:34 +09:00
James Welford Anderson
ee6b6a0f0c
add macros for custom statically exported paths/links/images
...
tv-get-export-path tells render tiddlers where to export files
tv-get-export-image-link tells images.js where to look for images
tv-get-export-link tells tells link.js where to look for links to other
exported tiddlers
2015-02-21 06:45:40 +09:00
Jermolene
3df341621d
Alternative fix for unnecessary startup scrolling
...
@aelocson here’s an alternative fix for #981 , as discussed in
https://github.com/Jermolene/TiddlyWiki5/commit/691e5719a4ff74a04d389bd1
26ba2a69e7651a2a#commitcomment-9848682
It does seem a lot nicer. It avoids the problem you raised, and also
avoids scrolling when a permalink is used.
I suspect that we’d need to make the hard-coded 50 pixels be
configurable.
2015-02-20 20:04:18 +00:00
Jermolene
ead6eb00d4
Revert "Merge pull request #1509 from welford/static_export_macro"
...
This reverts commit b2b8006b58
, reversing
changes made to e7e16137b2
.
@welford my apologies it turns out there are a couple of problems, I’ll
comment more on the pull request
2015-02-20 18:39:13 +00:00
Jeremy Ruston
b2b8006b58
Merge pull request #1509 from welford/static_export_macro
...
Static export macro for custom paths
2015-02-20 18:15:43 +00:00
Jeremy Ruston
e7e16137b2
Merge pull request #1512 from aelocson/plugin-descriptions
...
Consistent plugin descriptions
2015-02-20 18:08:34 +00:00
Jermolene
9e9b9a3bf1
Avoid navigating to an empty title
...
Fixes #1515
2015-02-20 16:19:53 +00:00
Jermolene
1e9e1a1fdc
Single quotes should be HTML encoded
...
As raised here:
https://groups.google.com/d/topic/tiddlywiki/nYvgcImvBt8/discussion
2015-02-20 16:09:38 +00:00
Astrid Elocson
28f78730ba
Consistent plugin descriptions
2015-02-17 10:28:54 +00:00
James W. Anderson
d1809f352c
explicitly pass through source params
...
from the image/link widget to the respective static export macros
2015-02-17 07:11:00 +09:00
Jermolene
42d130d49d
Revert #1496
...
The change affects the default display of the story river, reversing
the order of entries.
2015-02-16 19:17:10 +00:00
Jermolene
25442e349e
Restore missing whitespace
...
Accidentally deleted in e1a825f6b9
2015-02-16 17:31:50 +00:00
Jeremy Ruston
e1a825f6b9
Merge pull request #1496 from tobibeer/just-fix-list-filter-no-refactoring
...
just fixes list filter, no further refactoring
2015-02-16 17:30:54 +00:00
Jeremy Ruston
66808f11d7
Merge pull request #1501 from pmario/language-de
...
german translations + fix TypedTiddlers missing file extension
2015-02-16 17:28:55 +00:00
Jeremy Ruston
01d9af8107
Merge pull request #1502 from pmario/fix-invalid-example-links
...
change existing, unsuitable links mysite.com and me.com to example.com
2015-02-16 17:28:41 +00:00
Jeremy Ruston
14789e1d21
Merge pull request #1503 from pmario/fix-getting-started-input-width
...
fix empty.html GettingStarted text input field widths
2015-02-16 17:28:22 +00:00
Jermolene
68165af081
Revert #1330 ("implements list iterator variables")
...
As discussed on the ticket, there is a problem:
https://github.com/Jermolene/TiddlyWiki5/pull/1330#issuecomment-74339195
2015-02-13 22:42:36 +00:00
Jermolene
e386e26b2d
Fix problems with $tw.utils.checkVersions()
...
Previous changes since 5.1.7 broke the documented semantics by no
longer returning true when the versions match. It affected the upgrade
process, making it impossible to upgrade to a later pre-release (ie
where the version numbers in the upgrade.html match those in the file
being upgraded).
Also reviewed and updated the calls to checkVersions.
@felixhayashi I think that this effectively reverts the change you
original submitted. Are you OK with it?
2015-02-12 23:04:20 +00:00
Mario Pietsch
8e106966d3
fix empty.html GettingStarted text input field withs
2015-02-12 13:18:51 +01:00
Mario Pietsch
2d07e3d661
change existing, unsuteable links mysite.com and me.com to example.com
2015-02-12 12:48:00 +01:00
Mario Pietsch
18d45a302d
german translations + fix TypedTiddlers missing file extension
2015-02-12 12:38:32 +01:00