Jermolene
bacf500d50
Avoid deprecated new Buffer() usage
...
See https://alexatnet.com/node-js-10-important-changes/#buffer-1
> Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning.
More details: https://nodejs.org/api/buffer.html#buffer_buffer_from_buffer_alloc_and_buffer_allocunsafe
2018-06-13 11:22:17 +01:00
Jermolene
2e51f08bef
Add support for rebasing headings at render time
...
Fixes #3330
2018-06-10 15:54:23 +01:00
Jermolene
29606c6d24
Refactor new journal actions
...
Using contained actions, as we were, meant that the actions (and in this case the wikify widget) were being rendered at render time, but might have been out of date by the time the actions were triggered. Using the action attribute ensures the actions are rendered when they are executed.
Fixes #3326
2018-06-06 19:41:02 +01:00
Jermolene
6b14969cf6
Display a warning for binary tiddlers in view mode
...
The base64 data is currently parsed as wikitext, which is slow and unhelpful
We already display the same warning for binary tiddlers in edit mode.
2018-05-18 17:53:07 +01:00
Jermolene
33453039fc
Fix broken import previews
...
All three were inadvertently showing the existing tiddler (if any), not the imported tiddler.
2018-05-16 17:40:15 +01:00
Jermolene
6e2b4ebf3e
Remove print-tiddler-window button for v5.1.17
...
We'll reconsider it for v5.1.18
2018-05-12 11:20:43 +01:00
Jermolene
737e9ae4cb
Revert multiple suboperator functionality from the "is" operator
...
See the discussion here: https://github.com/Jermolene/TiddlyWiki5/pull/3240#issuecomment-388035466
2018-05-10 13:15:49 +01:00
Jermolene
e11282cc08
Fix name of print tiddler button
2018-05-10 11:36:57 +01:00
Jermolene
2beae0db2e
Tweaks for the new print tiddler toolbar button
2018-05-10 11:35:18 +01:00
Jermolene
523060e823
Add new "print tiddler" button for the view toolbar
...
It works by opening the tiddler in a new window and then triggering the browser print dialogue.
2018-05-10 11:33:23 +01:00
Jermolene
b95aa6ec6a
Fix problem with repeated "new journal" with text set
...
Fixes problem whereby a repeated "new journal" would replace the text of the existing journal tiddler if the control panel new journal text was set.
Fixes #3028 and #3265
2018-05-10 11:28:07 +01:00
Jermolene
e6466b2c32
Fix problem with extraneous space in new journal titles
2018-05-10 08:52:02 +01:00
Matt Lauber
0ab9ec1ad3
Refactored the is operator for simplicity and efficiency. ( #3240 )
...
* Refactored the is operator for simplicity and efficiency.
* Improve `is` filter documentation.
* Update is.js
* extracted `subops.length` to `num_of_subops`
* renamed `subop` to `operator` for clarity/differentiation from `subops`
* refactored to avoid using a `Set` object.
* Update is.js
2018-05-09 18:07:08 +01:00
Devin Weaver
230c13129a
Fix undefined xhr bug ( #3262 )
...
Closes #3261
Bug introduced in commit f9be41720
("Minor tweak for RetrieveETag
(#3257 )", 2018-05-05)
2018-05-09 18:04:52 +01:00
Daniel Rodríguez Rivero
4c89bbabbe
Retain $:/status/UserName when logged out ( #2893 )
...
The user name tiddler should not be removed just because we are not logged in
2018-05-09 14:22:55 +01:00
Bram Chen
f9be417204
Minor tweak for RetrieveETag ( #3257 )
...
Need to check if the server responses a null value for ETag.
(In the case testing with build-in webdav server of CarotDAV on Windows 10)
2018-05-05 11:40:41 +01:00
Sebastian Silva
46e8e4343a
Fix WebDAV by requesting new ETag. ( #3230 )
...
* Fix WebDAV by requesting new ETag conditionally
For me. this was saving only the first time and subsequently failing.
Having revised the requests, I noticed it didn't get a new ETag after saving.
Seems not all WebDAV implementations return a new ETag in PUT requests.
In my WebDAV service (WsgiDAV) - ETag is only served from a HEAD
request.
So if no ETag is found with PUT - we request one with HEAD.
This patch fixes error handling and should also work with servers that
provide ETag directly upon PUT.
* Add tweak from PMario
2018-05-04 11:48:38 +01:00
Jermolene
ab5e5795e8
Fix issue with lazy loading temporary tiddlers
...
Fixes #3235
2018-05-03 18:27:17 +01:00
Jermolene
c569df4bd4
Update hint for sticky titles option
...
Fixes #3249
2018-05-03 16:14:05 +01:00
Jermolene
b2173d11ea
Restore default of preview pane hidden
2018-05-02 16:52:45 +01:00
Sebastian Silva
895447c40c
Add write condition for DAT protocol ( #3244 )
...
In order to write to a DAT with Beaker Browser, it needs to have access to the file via `dat:` protocol.
2018-05-02 15:57:47 +01:00
BurningTreeC
5626148202
Fix for sidebar not showing #3223 ( #3226 )
...
* fix for sidebar not showing
I believe this fixes #3223
* add explaining comment
* ... and fix indentation.
2018-05-02 15:31:26 +01:00
Jermolene
aab408109f
Prepare for v5.1.17
2018-05-02 15:28:17 +01:00
Mario Pietsch
19085a1277
Add data attributes to ViewTemplate ( #3209 )
...
* change 3 set-widgets to 1 var-widget call. Add data-tags and userClass.
* add new documentation and change the existing one accordingly.
2018-04-24 22:08:20 +01:00
Matt Lauber
c974858cf5
Add Range widget ( #2988 )
...
* Adds a range widget
Adds a range widget that supports all the range attributes on a input[type=range] element. These include min max and increment.
* Update range.js
* Fix spaces vs tabs.
* Added documentation.
2018-04-24 22:05:05 +01:00
Tobias Beer
f26bcb273b
Fix new field value handling in edit template ( #3048 )
...
prevents variables in the value from being replaced when adding a new field
2018-04-24 22:03:59 +01:00
Tobias Beer
61f9adb710
allows to add link via ENTER in input ( #2703 )
...
simplified / refactored actions
2018-04-24 22:02:04 +01:00
Cameron Fischer
7e58866499
Added present-but-empty list-after functionality ( #3219 )
...
This places the list item at the end of the list when its 'list-item' field
is an empty string.
2018-04-24 16:58:09 +01:00
Matt Lauber
5ea6c9a273
Modify the is operator to allow multiple types to be specified. ( #2982 )
...
* Modify the is operator to allow multiple types to be specified.
* Fixed indentation.
* Fixed indentation.
* Rewritten to maintain input order when multiple filters provided.
* Updated documentation.
* Update is.tid
2018-04-12 13:21:49 +01:00
Arlen22
2163302190
Invoke hook when server starts ( #3024 )
...
* Invoke hook when server starts
Invokes the `th-server-command-start` hook when the server is started, with the server object as the parameter. This allows adding a WebSocket listener to the server.
* Return the HTTP server from the listen function
Returns the node HTTP server created in the listen function to allow extension
* Add node HTTP server to server-command-start hook
* Change hook to post start in case we add a pre-start hook
* Create Hook__th-server-command-post-start.tid
2018-04-10 21:55:54 +01:00
jed
3af0487f29
Add hooks for canceling editing a tiddler, new tiddler and renaming a tiddler ( #3206 )
...
These hooks are used by the multi-user plugin and are required to make the live two-way updating between the file system and the browser
2018-04-10 19:52:00 +01:00
BurningTreeC
afe14b47b5
draggable widget: actions on drag-start and drag-end ( #3203 )
...
* pass drag-start end drag-end actions to draggable
* Update dragndrop.js
* Update dragndrop.js
* Update dragndrop.js
* Update dragndrop.js
* Update dragndrop.js
* renaming dragstart/dragend -> start/end
* renaming dragstart/dragend -> start/end
* adding docs
2018-04-08 10:29:17 +01:00
Tobias Beer
f092d08358
sets checked class for radio widget wrapper / label ( #2182 )
...
* sets checked ckass for radio widget wrapper
* added tc-radio as standard class for radio widgets
* removed selectedClass again, as suggested
@pmario ;-)
2018-04-08 09:52:41 +01:00
Jermolene
ea763d0eab
Add support for retaining tab content
...
Fixes #2031
2018-04-08 09:47:57 +01:00
Jermolene
df1f7e9798
Put saver: fix missing "else"
...
Thanks @arlen22
2018-04-08 09:37:49 +01:00
Tobias Beer
02529a51d0
Improve styling and reusability of palette, language, and theme switchers ( #1954 )
...
allows to override styles more easily via new class tc-chosen
----
updated all of storyview, theme, palette, language
» both in ControlPanel as well as PageControls
» removed "current ..." form switchers as it's redundant
» streamlined toolbar buttons in ControlPanel, especially less spacing
----
fixed dropdown hover colour override
if I wouldn't then it would go blank owed to default drop-down styles
----
polished styles
» chosen items now more emphasized while curspor not indicating a link
» removed underline when hovering, used highlighted border colours instead
----
use snippets languageswitcher for pagecontrols button, after all
----
wrap all switchers in tc-chooser
----
apply big font only to buttons, not reveals in pagecontrols
----
moved language switcher wrapper class to snippet
improved language switcher image alignment
----
make tiddler and ControlPanel view behave the same. add generic tc-check-list setting. add generic input type checklist, vertical alignment.
now using css rem to address drop-downs for pagecontrols
thanks @pmario
removed css artefacts in vanilla/base from before merging @pmario's PR
with comments being baked-in I don't think we want these in the code
css simplification for .tc-chosen and tc-chooser-item
2018-04-06 17:26:54 +01:00
Jermolene
0c3e549235
Fix TOC recursion detection
...
We need to explicitly guard against tiddlers tagged with themselves.
2018-04-05 16:32:35 +01:00
Jermolene
df0b8b5a1e
Rescind preview pane default of "diff"
...
It was done temporarily to make the prerelease clearer
2018-04-03 19:02:42 +01:00
Jermolene
9e03264ebe
Add pluggable previews to the import listing
2018-04-03 17:50:57 +01:00
Jermolene
53f2cc9814
Add compareTiddlers macro
2018-04-03 17:50:36 +01:00
Jermolene
0080728d36
Improve diff count for diff-text widget
2018-04-03 17:50:17 +01:00
Jermolene
47cdf55133
Add new subtiddlerfields filter operator
2018-04-03 17:48:01 +01:00
Mario Pietsch
2e8eb15536
Tag completion min length ( #3190 )
...
* tested with tw5.com index.html
* Controls the length of the input before the tag list is filtered
2018-04-02 19:43:18 +01:00
Mario Pietsch
e4660a8cc1
Fix new journal here ( #3189 )
...
* fix new journal here if template contains a quote "
* typo
2018-04-02 19:42:26 +01:00
Skeeve
6401b5c886
Now fixing bug mentioned in groups ( #3188 )
...
* fixed the "0 is not a number bug" in listops and x-listops
* Fixed one comment
* "default" is not a good name for a variable
* Following code styles.
Moving getInt to utils.
* Removing unwanted spaces introduced by me
2018-04-02 19:40:47 +01:00
Rizwan
501ad2798f
Add ability to trigger actions on unchecking checkbox widget ( #3182 )
...
* Add uncheck-actions to checkbox widget
* Update checkbox.js
* Docs for "uncheckactions" param of checkbox widget
2018-04-02 19:39:59 +01:00
Jermolene
633208958c
Docs: Clarify example of using environment variables for port number
2018-03-29 12:34:50 +01:00
Jermolene
f4fd5e76f8
Server command: support environment variables for specifying port number
2018-03-28 11:58:46 +01:00
Mario Pietsch
019cb6a542
Fix #3078 ( #3185 )
2018-03-23 11:08:53 +00:00
BurningTreeC
44a7ca7e43
Fix duplicate shortcut ( #3187 )
2018-03-23 11:07:50 +00:00
Jermolene
1c6942402e
Add support for startup actions
2018-03-23 09:35:39 +00:00
Jermolene
28e713caac
Add screen width/height to platform information exposed at startup
2018-03-23 09:13:45 +00:00
Jermolene
1b31004941
Shift dropdown left for "more" tiddler toolbar button
2018-03-22 21:39:26 +00:00
Jermolene
8e9330e484
Minor tweaks for #3157
2018-03-22 20:37:06 +00:00
Rizwan
033feda02d
Adding comparative operators to reveal widget ( #3157 )
...
* Adding comparative operators to reveal widget
>, <, >=, <=
* Adding documentation and formatting changes
* Bring Alphanumericals to the scope of comparison operation
2018-03-22 16:51:02 +00:00
Jermolene
f1b38c42f9
Fix problem with rotate-left bitmap operation
...
Spotted by @BurningTreeC - c0569849d2 (commitcomment-28211117)
2018-03-22 10:46:57 +00:00
Matt Lauber
6963a54c66
Better Editor Toolbar Conditions ( #3180 )
...
* The Excise tool only works with tiddlywiki5 format, so only display it on tiddlers that use the tiddlywiki5 parser.
* The Editor Height tool and stamp tool only make sense with text editors, so only display them when the content type starts with text
2018-03-19 18:01:24 +00:00
BurningTreeC
54f2c4c34f
add transcludify & linkify shortcuts ( #3174 )
...
* add transcludify & linkify shortcuts
* correct shortcuts
2018-03-19 15:55:35 +00:00
BurningTreeC
e92e109162
Transclusion -> Transcludify ( #3173 )
...
my mistake, sorry to all!
2018-03-19 15:54:57 +00:00
Matt Lauber
bbccb60c0b
Code Cleanup ( #3178 )
...
Noticed an unused variable in the image parser, from before a old refactor.
2018-03-19 15:46:07 +00:00
Jeremy Ruston
aa7b18427f
Incorporate “diff” engine to show visual differences ( #3112 )
2018-03-16 20:38:35 +00:00
Jermolene
0d354fe57f
SetWidget: Add "subtiddler" attribute
2018-03-16 20:35:41 +00:00
Xavier Cazin
f78190ef61
Allow empty string as value parameter in SetWidget ( #3164 )
...
When occuring in a tiddler named "New Tiddler", the following construct should return ++ instead of +[[New Tiddler]]+
<$set name="myVariable" filter="[all[current]field:title[New Tiddler]]" value="">
+<<myVariable>>+
</$set>
2018-03-15 14:12:33 +00:00
BurningTreeC
c9b8319801
Droppable widget - passing modifiers as variables ( #3167 )
...
* pass the modifier keys as variables
* Update DroppableWidget.tid
* Create modifier Variable.tid
* closing bracket got lost
2018-03-14 17:52:13 +00:00
Jermolene
de6e0d1c1e
Dynaview: Add support for updating the address bar when scrolling
...
We add an attribute to tiddler frames in the DOM giving the title of the corresponding tiddler
2018-03-13 14:07:29 +00:00
Jermolene
c0569849d2
Add rotate-left button to bitmap editor toolbar
2018-03-12 12:45:56 +00:00
Jermolene
7cb54f32c6
Add draggable task management example
2018-03-07 15:52:58 +00:00
Jermolene
1a52fdd626
Minor tweaks to linkify and transcludify icons
2018-03-06 14:55:44 +00:00
Tobias Beer
6acf36e898
remove superfluous list item at the end of list-links-draggable ( #3043 )
...
fixes #2970
Also fixes the nesting. If a template is defined for the list item, it should define the link as is done for **list-tagged-draggable**, i.e. the template defines any link widget it contains.
2018-03-06 13:29:27 +00:00
Jermolene
3361d749bf
Add missing tags to new editor toolbar buttons
...
Fixes #3156
2018-03-06 13:10:16 +00:00
BurningTreeC
540cd1a286
EditorToolbar: add "transclusion" and "wikilink" buttons ( #3155 )
...
* add transclusion "image" for editor button
* add wikilink "image" for editor button
* add wikilink editor toolbar button
* add transclusion editor toolbar button
* add transclusion/wikilink button styles
* add transclusion/wikilink button captions & hints
* add german captions/hints
* revert styles not needed anymore
* update transcludify icon
* update linkify icon
* update transcludify icon
* update german
* Update Buttons.multids
* Delete wikilink.tid
* Delete transclusion.tid
2018-03-06 12:44:42 +00:00
Jermolene
634eb222ca
Add linkify and transcludify icons
...
fyi @BurningTreeC
2018-03-06 12:23:49 +00:00
BurningTreeC
8030ea0fd6
Make new tiddler title editable in ControlPanel ( #3149 )
...
* add option to configure new tiddler title
there may be users that don't like to see the word tiddler everywhere
this makes changing titles easier to access
* controlpanel - basics - new tiddler title prompt
* controlpanel-basics- newtiddler title prompt
* controlpanel - basics - new tiddler prompt
2018-03-05 11:24:29 +00:00
TheDiveO
29e4965d2b
implements default setting for the More sidebar in the same way as the existing default setting which sidebar tab to open as default; adds control panel setting; adds en-GB and de-DE lingo ( #3135 )
2018-03-05 11:14:30 +00:00
Jermolene
fb3b7aa1cd
Coding style tweaks for #3134
2018-03-05 11:11:49 +00:00
Rizwan
2b0204422d
Sortan filter for alpha-numeric filter ( #3134 )
...
* Sortan filter for alpha-numeric filter
* Removing Case sensitive option, Removing default value for isAlphanumeric parameter, updating formatting
* Formatting changes
* Formatting changes
2018-03-05 11:09:25 +00:00
Jermolene
b252abd4d1
TOC: Don't dismiss popup when clicking disclosure triangles
...
This change makes it possible to put the TOC in a popup dropdown.
2018-02-21 14:44:10 +00:00
Jermolene
b1cd450889
Shadow GettingStarted: Get rid of double "important"
2018-02-20 16:00:06 +00:00
Skeeve
5963adf92e
Bugfix/3117 inconsistent each ( #3124 )
...
* Following Jeremy's proposal of using a new suffix
* typo fixed
2018-02-17 18:51:18 +00:00
Jermolene
1c8170463c
Simplify page scrolling behaviour
...
Fixes #2180
2018-01-30 11:29:07 +00:00
Xavier Cazin
028888edff
Take default value in account when index attribute is used ( #3099 )
2018-01-23 16:50:03 +00:00
BurningTreeC
c194cec520
tc-body background transparent if background attachment ( #3100 )
...
* tc-body transparent if background attachment
if you go fullscreen with the fullscreen button, the tc-body background color hides the background attachments - so make it transparent if $:/themes/tiddlywiki/vanilla/settings/backgroundimage isn't empty
* if background attachment macro
macro to make tc-body background transparent
2018-01-23 16:49:24 +00:00
Jermolene
327fed30c8
Mitigate problem with microscropic editor in zoomin view
...
See #3098
2018-01-23 16:22:35 +00:00
BurningTreeC
42660b05a7
check if dataTransfer is undefined ( #3093 )
...
this prevents an error when dragging elements not by mouse where dataTransfer can be undefined
2018-01-20 17:28:10 +00:00
Jermolene
ff6aa0570f
Check for dollar sign within HTML element name
...
Fixes #3091
2018-01-16 22:13:40 +00:00
Jermolene
460a07ca03
Introduce "Info/Advanced/Stylesheets" tab to Control Panel
...
Makes it a bit easier to understand what the browser will see for each stylesheet tiddler
2018-01-12 21:44:38 +00:00
Jermolene
4e1f9bf5ed
Don't use the toolbar editor when rendering to the fakedom
...
Otherwise the iframe editor will crash when trying to set itself up
2018-01-12 10:56:08 +00:00
Jermolene
43108926de
Update for 2018 🎉 🎊
2018-01-11 12:32:24 +00:00
Jermolene
b4c7c59d5d
Add emptyMessage parameter to list-links and list-tagged-draggable macros
2018-01-09 17:13:45 +00:00
Mario Pietsch
25f76a5996
Fix new journal button ( #3079 )
...
* fix "new-journal" button if template elements contain a double-quote
* fix typo
2018-01-08 12:23:34 +00:00
Jermolene
de4eb5ca89
Add new th-page-refreshed hook
2018-01-04 16:01:19 +00:00
Jermolene
e4b10d42f9
Optimise the tag filter
...
Spending a bit more time with Chrome dev tools, and further to 254e1ca
, this optimisation reduces the rendering time for the sample TOC from 1.9s to about 0.9s...
2017-12-21 16:13:47 +00:00
Jermolene
ca43a28d0e
Fix copy to clipboard for iOS 10/11
2017-12-17 21:37:29 +00:00
Jermolene
1b6a06a4d7
Add copy-to-clipboard macro
...
And use it in the tw5.com example documentation
2017-12-16 10:58:33 +00:00
Jeremy Ruston
c83231871d
Make macro parameters available as variables in wikified macros ( #3063 )
...
First commit
2017-12-16 09:10:10 +00:00
Jermolene
d2ff164c07
Add support for tm-copy-to-clipboard message
2017-12-15 15:08:18 +00:00
Jermolene
f478fa97fc
Fix test regression caused by #3052
2017-12-12 18:15:33 +00:00
Jermolene
6928c411d6
Fix another typo from 38fbc4f35a
2017-12-12 17:51:08 +00:00
Tobias Beer
7ba9cbc052
Add hint for field list dropdown ( #3040 )
...
fixes #2983
@twMat: I know you can do it yourself, right here, and so you might. ;-)
2017-12-12 17:27:39 +00:00
Jermolene
451150ebd6
Fix typo from 38fbc4f35a
2017-12-12 15:56:56 +00:00
Jermolene
38fbc4f35a
Minor tweaks to #3052
2017-12-12 12:30:34 +00:00
Tobias Beer
661bff4f5b
extend LinkWidget to enforce classes ( #3052 )
...
* extend ListWidget to enforce classes
Previously, the undocumented *class* attribute only allowed to specify
additional classes to be set.
Especially for use within a LinkCatcher, you can now apply / enforce
only the custom classes and avoid any of the defaults being applied
depending on the link target.
This will allow to implement #1161 more gracefully.
* use setClass insted of exclamation mark syntax
update docs & fix typo in docs
2017-12-12 12:25:06 +00:00
Jermolene
2fd2ae993e
Add buttonTemplate parameter to tabs macro
2017-11-13 13:56:13 +00:00
Jermolene
0224da34a9
Preparing for 5.1.15
2017-11-11 14:56:03 +00:00
Jermolene
29364cbd08
Change http://*.tiddlywiki.com/ * to https://
2017-11-11 11:56:20 +00:00
Jermolene
b4ec32ca70
Export transliteration pairs
...
Just in case plugins want to use them
2017-11-10 14:37:31 +00:00
Jermolene
c4e2793b06
Docs updates
2017-11-09 16:07:01 +00:00
Jermolene
967b123b51
Fix problem with new tiddler fields cascade
...
Fixes #2821
The problem was that an empty configured text field for new journals was overriding any value provided in the existing tiddler.
2017-11-08 08:41:00 +00:00
Jermolene
d7a6816307
Add jsonstringify operator
2017-10-29 15:53:53 +00:00
Jermolene
518f57f4bb
Add new hook "th-importing-files"
2017-10-11 17:52:37 +01:00
Jermolene
7bdaabce78
Browse widget: add support for nwdirectory attribute
2017-10-03 21:52:51 +01:00
Jermolene
49fad6dae9
Docs tweaks
2017-10-03 21:00:36 +01:00
Jermolene
05a3d9a302
Syncer: allow logging to be disabled
...
We don't want the syncer used by the savetrail plugin to be logging
2017-09-26 17:10:57 +01:00
Jermolene
1dcc8c99e5
Ensure we don't colour browser logs under nw.js
...
Under nw.js $tw.browser and $tw.node are both true...
2017-09-22 15:18:11 +01:00
Jermolene
73953080e3
SaveTrailPlugin: Fix syncer UI interactions
...
The syncer used by the savetrail plugin shouldn't perform any UI interactions
2017-09-20 16:28:11 +01:00
Jermolene
9ada7a0bb1
Ensure fieldmangler widget always updates modifier/modified fields
...
Fixes #2969
2017-09-20 14:09:18 +01:00
Xavier Cazin
db8fd9ea74
Amendments to warnings upon loading content via _canonical_uri ( #2796 ) ( #2803 )
...
* fr-FR translation of additional error strings
* include SaveTrail
* Amendments to the warnings upon loading content via _canonical_uri
* Typo: add a missing THE
* Clarification on why the browser might refuse to load external content
2017-09-16 15:34:26 +01:00
Arlen22
c069d48a2a
Remove URI encoding from PUT saver ( #2974 )
...
Remove URI encoding from PUT saver and let the browser handle it as necessary. This seems to be the normal way of doing things. We have confirmed that several WebDAV servers do not expect the file names to be double-encoded.
2017-09-16 15:30:13 +01:00
Thomas Elmiger
489f9a0079
days filter – docs and examples optimisations ( #2972 )
...
* Replacement icon stopwatch on
As discussed in issue #2690
* Replacement icon stopwatch off
As discussed in issue #2690
* Added missing tag "Resources" (Community Resource)
* Tried to make a sentence clearer
CamelCase words are NOT joined with hyphens (copy-paste error?).
Copied "directly" from the line below to make the meaning even clearer.
* Does deleting make the conflict go?
* Recreate deleted file with updated text
* days filter example should show highlights
- show a highlight using a longer timespan (180 days)
- added a second highlight to demo timespan with start AND end in the past
- better readability
* days Operator explanation optimisations
- typo
- readability (explain { positive | negative } first; remove duplication)
* Remove additional blank line
* Remove whitespace after save button
When the save button was not the last edit button (tested by moving to another place via control panel > Appearance > Toolbars > Edit Toolbar by drag-and-drop) then we got additional spacing due to whitespace in the resulting HTML after the button. This is a fix for that, I discovered while developing additional edit buttons.
2017-09-16 15:29:44 +01:00
Jermolene
35a7a66b01
Add "save" and "render" commands
...
A first pass at fixing #2973 - comments are welcome. If everybody is
happy, the next step is to deprecate the existing
rendertiddler(s)/savetiddler(s) commands and replace them in all
examples and tiddlywiki.info files with the new equivalents.
2017-09-12 16:04:07 +01:00
Jermolene
aa417fe899
Add new "lookup" filter
2017-09-07 15:48:00 +01:00
Jermolene
1b7d9d65f4
Only use colour output if we're on a terminal
...
And not if we’re running on AWS Lambda, for instance
2017-09-07 15:47:36 +01:00
Jermolene
51b1ead5c9
Add more colour to command line output
2017-09-04 14:55:12 +01:00
Jermolene
06ea4060cb
LinkWidget: Add support for tv-filter-export-link
...
This change makes it possible to perform the conversion from target
tiddler title to `href` value as a filter expression (previously a
JavaScript macro was needed to use the tv-get-export-link variable)
2017-08-28 11:06:21 +01:00
Jermolene
90c1c6242e
Fix typo
2017-08-28 10:29:36 +01:00
Jermolene
5cdf86b307
Add more transliterate pairs
...
Should help avoid me accidentally committing files with accents in
their titles
2017-08-26 23:17:53 +01:00
Jermolene
d3a2cfb2bc
Move $tw.utils.transliterate() into its own file
2017-08-26 23:11:22 +01:00
Jermolene
8293a77c6e
Add "mode" attribute to View widget
...
Useful for controlling how the content is parsed
2017-08-24 20:58:08 +01:00
Jermolene
b6f948b61e
Add another canonical_uri template
...
This one doesn’t include a subdirectory
2017-08-19 10:31:42 +01:00
Jermolene
523280362b
Use UI button tiddler titles as CSS classes
...
Which enables us to do a cleaner readonly theme
2017-08-08 18:25:45 +01:00
Marxsal
68e17f92de
Restore ability to use sub-filter with image-picker macro ( #2940 )
2017-07-24 12:41:50 +01:00
Adrian Morosanu
34404dcfc9
Fix for automatic CamelCase linking ( #2947 )
2017-07-24 12:41:26 +01:00
Jermolene
a4d919f45c
Extend browse widget with deserializer attribute
...
Along the same lines as 596dfa1d50
2017-07-18 15:32:50 +01:00
Jermolene
e951047461
Add import command
...
Unlike load, allows manual control of the deserializer to be used
2017-07-12 17:14:27 +01:00
Jermolene
c6e4b7a123
Update load command docs
2017-07-12 17:13:59 +01:00
Jermolene
5dd3d97760
Extend the set widget with tiddler, field and index attributes
2017-07-12 16:59:56 +01:00
Jermolene
c25a1eef33
Remove obsolete code and update docs
2017-07-12 16:50:50 +01:00
Jermolene
f59809e9a4
Use "whitespace trim" to improve spacing and legibility of view toolbar buttons
...
Previously, the standard toolbar buttons exhibited uneven spacing due
to the vestigial whitespace.
2017-07-12 16:47:52 +01:00
Jermolene
d966583854
Add new "\whitespace" pragma
...
This will allow us to simplify some of the more unreadable core
wikitext tiddlers…
2017-07-12 16:46:13 +01:00
Jermolene
596dfa1d50
Allow manual selection of deserializer for dropping or importing files
2017-07-12 16:42:16 +01:00
Jermolene
95ef1c4580
Fix linkcatcher recursion problem
...
Using action-navigate within the “actions” attribute of the linkcatcher
widget would otherwise trigger the navigation handler recursively.
2017-07-10 14:43:43 +01:00
Jermolene
dc295b2536
LinkCatcherWidget: Add variable containing target tiddler
2017-07-07 12:16:14 +01:00
Jermolene
69528093d9
Update fetch commands to respect 302 redirects
...
Astonishingly, node.js appears to require us to do this manually…
2017-07-05 10:58:35 +01:00
Jermolene
c179dc93cb
Add "raw-file(s)" options to "fetch" command
2017-07-03 16:52:10 +01:00
Marxsal
4db950cc45
Add ability to now macro to return same UTC string used in date fields ( #2884 )
...
* Add ability to now macro to return same UTC string used in the modified and created fields.
* Revert "Add ability to now macro to return same UTC string used in the modified and created fields."
This reverts commit 7b6ad7db4a
.
* Mods to formatDateString to adjust displayed date to UTC for [UTC]
format. Corresponding doc changes, and optimization for special
case.
2017-07-01 18:09:16 +01:00
Jermolene
ccac0258af
Apply URL decoding in download saver
...
document.location gives us an URL encoded version of the original
filename, so we decode it to recover the original filename for saving.
Fixes #2828
Fixes #2819
2017-07-01 12:39:25 +01:00
Xavier Cazin
a7b57d7f97
allbefore:include should be the identity function when applied to 1st item ( #2842 )
...
* fr-FR translation of additional error strings
* allbefore:include should be the identity function when applied to the 1st item
2017-06-29 18:02:33 +01:00
Rob Hoelz
847727146e
Fix issue 2850 ( #2852 )
...
* Trim tiddler titles imported via JSON
Otherwise, it's possible to create a tiddler with a trailing space (or a
leading one, I suppose) in its title. TiddlyWiki, in general, trims
titles before operating on a tiddler, so having a tiddler with a
trailing space ends up making that tiddler, for all intents and
purposes, uneditable.
Fixes GH #2850
* Signing the CLA
2017-06-29 17:07:23 +01:00
Mario Pietsch
cee7baa183
Make editor font configurable, so user can easily change it to eg monospace font ( #2867 )
2017-06-29 16:55:49 +01:00
saqimtiaz
48e0186ba9
Added th-editing-tiddler hook in handleEditTiddlerEvent. A plugin can use the hook to return false and prevent editing or provide alternative editing options. ( #2901 )
2017-06-29 08:55:43 +01:00
Jermolene
2d0ac7245f
Docs and tweaks for #2904
...
@saqimtiaz I added a dash to separate the words in the variable names
for consistency with other core variables.
2017-06-29 08:47:26 +01:00
saqimtiaz
5d74513a97
Navigator now sets variables for the story list and history list, that are available to child widgets. Needed in a mutiple-story tiddlywiki. ( #2904 )
2017-06-29 08:36:20 +01:00
Adrian Morosanu
f75e97f308
Create the new "tree" global macro ( #2925 )
...
* Create the "tree" global macro file (tree.tid)
* Added styles for the new "tree" global macro
* Update Explorer tab
* Cleaning the macro of unneeded code
I have chosen to keep the slash suffix in the branch node titles to go along with the rest (e.g. root node), so the "clean-chunk" macro isn't needed anymore.
* Minor fix
2017-06-28 17:44:15 +01:00
Jermolene
a5e565e198
Tweaks for #2918
...
A couple of fixes:
* Fixed problem with loading saver in a file URI within Beaker
* Fixed problem when saving to a directory-style URI with an implicit
“/index.html”
* Switched to double quotes for strings
2017-06-24 22:30:26 +01:00
Mario Pietsch
ef9efbc399
Fix for beaker 072 - new dat API ( #2918 )
...
* initial version that works again with beaker 0.7.2
* activate path again
2017-06-24 21:54:44 +01:00
Jermolene
cf9085b5ce
Stop syncing the storylist
...
Reverting e3544ff3c2
2017-06-24 17:59:28 +01:00
Jermolene
a4989f5c4d
Revoke #2814
...
The requirement to whitelist system tiddlers that need wikifying was
too burdensome
2017-06-24 17:48:18 +01:00
saqimtiaz
d89010752a
Modified handleClickEvent to send original event data with tm-navigate event. Fixes 2889 ( #2900 )
2017-06-14 18:16:13 +01:00
Jermolene
b99a1b6496
Remove extraneous text/vnd.tiddlywiki from system tiddlers in light of #2883
...
There’s no special reason for these tiddlers to be viewed wikified
2017-06-09 15:42:32 +01:00
rubaboo
881e834f89
Wikify system tiddlers if type=text/vnd.tiddlywiki ( #2883 )
...
* Wikify system tiddlers if type=text/vnd.tiddlywiki
+ update CLA with my new handle
* Add filter missed in the previous commit
2017-06-09 15:34:42 +01:00
Jermolene
9c57ebb05d
Minor tweaks to new tiddler Explorer
2017-06-09 15:31:55 +01:00
Adrian Morosanu
1e9d214f67
New System Explorer tab in sidebar ( #2881 )
...
* Create System-Explorer.tid
* Fixes problem with syslink parser
2017-06-09 15:22:09 +01:00
Jermolene
4b9fcdf958
Enable 'edit' button in body of missing tiddler template
2017-06-09 15:20:45 +01:00
Jermolene
432542bbcc
Don't throw errors when hitting limits of the fakedom
2017-06-09 15:20:45 +01:00
Jermolene
e3544ff3c2
Don't sync $:/StoryList
...
Otherwise, multiple users logged into the same server overwrite one
anothers story list.
@danielo515 would this change have any impact on NoteSelf?
2017-05-04 17:29:41 +01:00
Jermolene
683285d449
Display "contents" tab for plugins that lack any information tabs
...
Fixes #2841
2017-04-30 09:59:41 +01:00
Jermolene
93771fdf27
Show raw text (instead of wikified) of system tiddlers
...
Fixes #2814
2017-04-28 09:41:27 +01:00
Jermolene
02331365f0
Update plugin library location
2017-04-26 14:35:24 +01:00
Jermolene
4b780899a5
Move SJCL license file into core plugin
...
It was added as a separate system tiddler, but that means updating a
lot of filters to add and exclude it as appropriate (as we do with
$:/library/sjcl.js itself)
2017-04-23 09:53:18 +01:00
Jermolene
04f402b974
Fix drag and drop issue on iOS
2017-04-21 16:27:44 +01:00
Jermolene
0aaebe9757
Revert #2814
...
As per the discussion on the ticket, we’ll revisit this after 5.1.14
2017-04-18 08:15:25 +01:00
Jermolene
2e0c119d5b
Add Tiddler.getFieldStrings() method
2017-04-17 17:04:15 +01:00
Jermolene
f03feb69a9
Add elementTag parameter to list-tagged-draggable macro
2017-04-17 16:51:12 +01:00
Jermolene
c25a44756b
Add new journal text to control panel
...
Making #2821 a bit more accessible
2017-04-04 18:16:37 +01:00
Jermolene
83497c13d9
Fix whitespace and missing closing tag issues in #2821
2017-04-04 18:15:49 +01:00
Richard Decal
ec0fa2f932
Added ability to change text template of NewJournal ( #2821 )
...
* adding custom text field to new-journal
* fixed spacing
* signing the CLA
2017-04-04 18:06:49 +01:00
Jermolene
50268d9231
Killer typo
2017-03-29 09:22:51 +01:00
Jermolene
b37178dda1
Fix download saver for Safari 10.1
...
Safari now finally supports the ‘download’ attribute for the anchor
tag, meaning that the download saver works properly.
2017-03-29 09:21:49 +01:00
Jermolene
1e106a8f3d
Better handling of dropeffect
2017-03-28 15:09:36 +01:00
Jermolene
f3cab3753e
Don't set draggable property for links
2017-03-28 13:05:00 +01:00
Jermolene
303f255fcd
Avoid wikifying system tiddlers
...
Fixes #2814
2017-03-27 10:00:31 +01:00
Jermolene
af45d509eb
Adjust capitalisation of X-UA-Compatible meta tag
...
The docs suggest that the capitalised form is correct
2017-03-27 10:00:05 +01:00
Jermolene
d3fe4f600a
Partially fix drag and drop on IE11
...
These changes allow drag and drop to work with one issue: <a> links are
not draggable; draggable divs, spans, buttons etc. seem to work fine.
There’s some issue with IE11 that I don’t understand.
For testing, you can force links to become spans by changing line 64 of
$:/core/modules/widgets/link.js to:
var domNode = this.document.createElement("span");
2017-03-27 09:59:40 +01:00
Jermolene
0276b69244
Remove double quotes from copyright message
...
Needed because we transclude the copyright message into a head meta
tag. IE11 was complaining; other browsers didn’t seem to mind.
2017-03-27 09:57:17 +01:00
Jermolene
4891732481
Adjust listops widget to only modify tiddler if tags have changed
...
We do this so that we don’t accidentally modify shadow tiddlers when we
drag them to reorder them within their tag parent. Otherwise, moving a
toolbar button like $:/core/ui/Buttons/permaview in the control panel
will override the shadow tiddler.
2017-03-24 09:57:22 +00:00
Jermolene
d9ed01b621
Fix: removing other tags during drag and drop
2017-03-24 09:55:42 +00:00
Jermolene
1f860bd04e
Fix problem with dragging links
2017-03-23 17:52:15 +00:00
Jermolene
24f29ac605
Add support for wikified raw markup tiddlers
2017-03-23 17:02:37 +00:00
Jermolene
b1ed77d6b8
Switch drag image to use draggable DOM node
...
We’ll still support dragging pills, but dragging the DOM node image
seems to look better in most situations.
2017-03-23 17:02:26 +00:00
Jermolene
8f1114960a
Refactor draggable stuff for easier reuse
...
And in the process, make the button widget draggable.
Unfortunately, Firefox has a bug that prevents buttons from being
dragged (see https://bugzilla.mozilla.org/show_bug.cgi?id=568313 and
https://bugzilla.mozilla.org/show_bug.cgi?id=646823 ). So we have to use
the “tag” attribute to make it use a different element.
2017-03-23 14:23:33 +00:00
Jermolene
3a00d2eea3
Allow drag and drop in toolbar layout in control panel
2017-03-20 22:29:03 +00:00
Jermolene
5ed7ade44f
Add some handy drag-and-drop macros
...
And refactor the tag template to use one of them
2017-03-20 22:11:06 +00:00
Jermolene
bea33efd63
Fix problem with dragging text snippets
2017-03-20 22:03:28 +00:00
Jermolene
f4656b0f25
Add support dragging to the bottom of a list
2017-03-20 22:02:55 +00:00
Jermolene
9bad99d14e
Draggable: properly stringify tiddler titles
...
Thanks @twMat
2017-03-20 22:01:51 +00:00
Jermolene
3197f9a639
Add select all/none checkbox to $:/Import
...
Prompted by this discussion:
https://groups.google.com/d/topic/tiddlywiki/MYBWCxOc_gM/discussion
2017-03-20 22:00:14 +00:00
Jermolene
eba1c3c160
Improve support for drag and drop
...
Documentation TBD
2017-03-19 19:33:56 +00:00
Jermolene
c2391c5250
Action-deletefield should only update tiddler modified/created if it is changed
2017-03-19 19:30:52 +00:00
Jermolene
39cdaeb34d
Fix problem with tracking dragenter/leave events in Firefox
...
Fixes #686 (hopefully!)
2017-03-17 14:54:30 +00:00
Jermolene
b9fbe12118
More defensive deepFreeze()
...
IE11 chokes on Object.freeze(undefined)
2017-03-17 14:20:04 +00:00
Jermolene
779e62a30f
Add support for JSON files containing a single tiddler
...
At the moment, we support JSON files containing an array of tiddlers.
With this change the core will import files containing a single
tiddler. Also adding templates for saving individual tiddlers in JSON
format
2017-03-17 14:19:43 +00:00
Jermolene
73e1724fdf
Extend $tw.utils.httpRequest() to cope with binary data
...
The problem was that `this.responseText` crashes for non-text data. We
fix it by letting the client specify which property should be returned.
@ericshulman does this work for you?
2017-03-17 13:41:17 +00:00
Jermolene
66d5e2650e
Fix problem with dragger image in Chrome
...
Fixes #2800
2017-03-12 18:07:59 +00:00
Jermolene
52a414959c
wiki.extractTiddlerDataItem() should use caching
2017-02-28 10:23:02 +00:00
Jermolene
b9a835b879
Fix bug with wiki.getTiddlerDataCached()
...
We need to process the default data outside of the cache function to
ensure that we don’t cache the defaults
2017-02-28 10:23:02 +00:00
Jermolene
d0594e4a45
Rejiggle the license to try to make GitHub recognise it
2017-02-24 13:52:39 +00:00
Jermolene
ad1c2a6571
Fix problem with 'has' operator
...
Fixes problem introduced in 6085936475
2017-02-23 14:27:43 +00:00
Tobias Beer
88a65f038e
Add a "close plugin library" button ( #2072 )
...
* provides a "close plugin library" button
* starting from #1718 by @inmysocks
* possibly fixes all of #1718 , #1597 , and #2067
* corrected code comment
* add back title
No idea why I overlooked this beforehand.
Next time I will not suggest such changes that have little to do with
the PR, but rather just comment the code.
* ah, sorry, "fixed" wrong spot
now
```
<$action-sendmessage $message="tm-load-plugin-from-library"
url={{!!url}} title={{$(assetInfo)$!!original-title}}/>
```
...should be back at the right spot.
* mhhh... still fixing the mess
load, unload, puh... let's see if I got it now
* added unloadIFrame and minor syntax fixes
2017-02-22 12:15:26 +00:00
Tobias Beer
6085936475
Introduce "field" suffix for "has" filter operator ( #2066 )
...
* has:field — tested & documented
allows to test whether a field exists
* fixed inverted condition
* added from version to docs
2017-02-22 12:13:59 +00:00
Jermolene
cd2bc88658
Add "enlist" operator
...
Fixes #2767
2017-02-21 15:17:47 +00:00
Jermolene
b1ecf81b0c
Tentative improvements to highlight plugin problems
...
We now use highlight.js in raw HTML mode on the server, rather than
trying to use it with the fakedom. This causes problems with fakedoms
inability to get textContent for a node that has been created by
assigning innerHTML. So we extend the fakedom to allow the original
text content to be saved.
See #2778 for discussion.
2017-02-21 13:09:32 +00:00
Jermolene
9fc2086b71
Optimise sameday filter
...
I used this test:
console.time();for(var t=0; t<200; t++)
{$tw.wiki.filterTiddlers("[all[tiddlers+shadows]sameday[20170210]]");};c
onsole.timeEnd()
Before this patch, I got speeds of approx 190ms, versus 140ms
afterwards.
Note that the ability to add a cache property like this is only
possible because tiddler objects are immutable.
2017-02-21 08:31:05 +00:00
Jermolene
daf703b67f
Add support for th-navigating
event
2017-02-19 15:47:37 +00:00
Jermolene
0d0ece6377
Add new "fetch" command
...
Like the load command except retrieves the file over HTTP/HTTPS.
Allows experimentation with server-side twederation
This is a cleaned up version of code that I wrote last year at TWEUM
2016 @inmysocks @pmario @twMat @xcazin
2017-02-18 13:33:41 +00:00
Jermolene
74b0da065e
Add logging functions to commander
2017-02-18 13:30:04 +00:00
Jermolene
6f93ce6ea7
Enhance rendertiddler command with support for additional variable
...
Passing an arbitrary variable allows us to e.g. reuse the export
filters as shown in the example
2017-02-18 13:17:44 +00:00
Jermolene
91b341e8e0
Better error trapping for WebDAV saver
...
Without these checks we get a startup crash when using TiddlyWiki in
client-server configuration.
2017-02-18 12:12:29 +00:00
FND
6505e6f448
WebDAV file overwrite protection ( #2614 )
...
* putSaver: detect edit conflicts to prevent clobbering, if possible
if the server supplies an ETag, we send it back when saving, allowing
the server to detect edit conflicts and respond with 412 (cf.
https://www.w3.org/1999/04/Editing/ )
caveats:
* this only kicks in after the first save, as we don't have access to
the ETag when first loading the document
* there's no recovery mechanism (e.g. resetting `this.etag` in order to
force clobbering), other than manually reloading the document
* putSaver: retrieve ETag upon initialization for clobbering protection
this addresses one of the caveats from the previous commit
(2d75cb83af
) - while theoretically prone
to a race condition, it seems unlikely that saving will be triggered
before the server responds
* putSaver: simplify URI extraction
this simplifies the approach introduced in
f51f6bf774
, with the purpose of removing
the fragment identifier
* putSaver: localize error message
* putSaver: switch to built-in HTTP helper
in the process, fixed ETag assignment in `#save` method (was
`this.etag`, now `self.etag`) as well as a syntax error due to a missing
closing brace
* putSaver: consolidate URI handling
2017-02-17 12:26:15 +00:00
Jermolene
3708f6c8e4
Major refactoring of filesystemadaptor
...
The code here had got a bit broken by some PRs that I should have
checked more carefully. I’ve done a major refactoring which will
hopefully make it easier to understand, and fixes a number of problems:
* Problem with eg .md tiddlers not being deleted correctly
* Problem with Windows path separators not being usable within
$:/config/FileSystemPaths on Windows
* Problem with filename clashes not being detected correctly when
saving to a different directory via $:/config/FileSystemPaths
* Enables slashes within tiddler titles to be mapped into folders
* Enables plain text files like .md and .css to be saved with .meta
files instead of as .tid files (see #2558 )
* No longer replaces spaces with underscores
As this is such a major update, I’d be grateful if Node.js users could
give it a careful run through — in particular, you’ll need to try
creating new tiddlers of various types and ensure that the expected
files are created.
2017-02-11 12:56:42 +00:00
Jermolene
97e995e0c7
Add wiki.checkTiddlerText() convenience method
2017-02-09 15:43:28 +00:00
Jermolene
2397f0aa6f
Add several new hooks for UI actions
2017-02-09 15:42:55 +00:00
Jermolene
73ded6a82a
Add new "count" filter operator
...
See discussion here:
https://groups.google.com/d/msgid/tiddlywiki/fe51b7f5-5369-493b-82e5-94c
18e863fe0%40googlegroups.com?utm_medium=email&utm_source=footer
2017-02-08 20:11:44 +00:00
Jermolene
9bc523fdef
Fix bug in renameTiddler
...
This operation isn’t used by the core, but is used by the TextSlicer
plugin
2017-02-08 20:04:36 +00:00
Jermolene
ef1c47c3aa
Fix accidental wikilinking
2017-02-05 19:58:58 +00:00
Jermolene
db056a84a5
Remove obsolete code
2017-02-04 18:14:20 +00:00
Jermolene
6c65aa2a6d
Make the syncer more configurable, including names for sync adaptors
...
@danielo515 you may want to add a name to your sync adaptor 😄
2017-02-04 17:25:30 +00:00
Jermolene
ced9f315a1
Rename variable for clarity
...
It’s called an iterator in filter.js
2017-02-04 17:24:25 +00:00
Jermolene
b5059c612a
Adds support for autosave with the download saver
...
Also does some reorganisation of control panel to move “saving” related
settings together, and expose a UI for savers to plug into.
Fixes #2741
2017-01-30 18:19:28 +00:00
Jermolene
56b6781715
Fixes to license visibility
...
Credits to @cdent - is 2012 right, or did your work there carry on into
2013?
Addresses part of #2378
2017-01-29 21:11:30 +00:00
Tobias Beer
1b339e17bc
Add "tag" attribute to keyboard widget ( #2593 )
...
* allows to define the tag for keyboard widget
* added from 5.1.14 to docs
2017-01-13 11:17:19 -07:00
Tobias Beer
d4db283d61
Refresh simple editor when empty text, e.g. hitting ENTER ( #2702 )
...
fixes #2592 , missing bit of deleting the field for adding a new tag in
edit-mode
also fix for:
https://groups.google.com/forum/?fromgroups=#!topic/tiddlywiki/L6Z7gSvBWjw
2017-01-09 10:31:40 +00:00
Jermolene
56131e4563
It's 2017!
...
🥂 🍾
c.f. 665d6657bb
2017-01-03 13:31:22 +00:00
Thomas Elmiger
79ae3f8cb7
Replacement icon for timestamp on/off ( #2692 )
...
* Replacement icon stopwatch on
As discussed in issue #2690
* Replacement icon stopwatch off
As discussed in issue #2690
2017-01-02 17:38:32 +00:00
Jermolene
0c2734f181
Tweak wording of exporting story list
2016-12-30 17:43:35 +00:00
Marxsal
b1a5afbf15
Add an entry to the filter drop down for exporting the current story (minus advanced search) ( #2670 )
2016-12-30 17:42:23 +00:00
Jermolene
ab1b1f2cde
Fix problem with beaker saver and default index pages
...
As discussed on the mailing list, we need to check for a URL that is
missing the default `/index.html`
https://groups.google.com/d/msg/tiddlywikidev/n6yUdu2zHWo/m32R2BuIDgAJ
2016-12-29 16:45:47 +00:00
Jermolene
0383b98555
Add support for other movie content types
2016-12-23 08:34:07 +00:00
Jermolene
f143164cbe
Correct the name of the video parser
2016-12-22 22:07:28 +00:00
Jermolene
ba9d6187af
Rename the dat saver to Beaker
...
It’s actually specific to the API provided by the Beaker browser, and
not a generic Dat saver
2016-12-22 08:15:16 +00:00
Jermolene
a20da9f530
Add preliminary Dat file saver
...
See https://datproject.org/ and https://beakerbrowser.com/
2016-12-21 12:09:08 +00:00
Tobias Beer
15c7d24eaa
Allows adding a new tag name by typing enter ( #2592 )
...
* allows to add a new tagname hitting enter
see: https://groups.google.com/forum/#!topic/tiddlywiki/wqQ8jPYG-X4
* revert changes to vanilla/base
* added "Special Keys" to KeyboardShortcuts
* added info to Creating and editing tiddlers
did not add current version of <<.from-version "5.1.14">> because it
would interrupt the flow. When changed from a noisy "New in 5.1.14" to
"(new in 5.1.14)" we might add the version info here
* revert setText & added inline styles to vanilla base
* remove fieldmangler
* commit initial edittemplate tags to merge master
* ok, now really revert to initial edittemplate tags
* move add tag via enter into tag-picker macro(s)
2016-12-18 20:43:26 +00:00
Mario Pietsch
e1053bf014
Toc recursion protection ( #2650 )
...
* add recursion protection first take
* fix problem with selectable expand
* ust path for toc-state variable instead of tag
* reactivate disabled macro call.
2016-12-17 15:29:03 +00:00
Arlen22
66a13cb915
TiddlyFox saver canSave() should always return true ( #2626 )
...
Whether saving is allowed should be determined by the parent side of the TiddlyFox, as this plugin can be used in many places.
2016-12-17 15:27:25 +00:00
Arlen22
1530b3e2d8
Put request handler on SimpleServer.prototype ( #2627 )
...
The request handler may be used by ExpressJS apps directly and can do most of the heavy lifting without any modification. Note that the self variable must be assignee using `[Function].bind(null,SimpleServer instance)`.
2016-12-17 15:06:10 +00:00
Tobias Beer
e5b432a86b
Allows checkbox widget to worth with indexes within data tiddlers ( #2103 )
2016-12-17 11:59:59 +00:00
Tobias Beer
d6d3aab36a
Allow radio widget to work with indexes in a data tiddler ( #2104 )
...
* allow radio widget to set an index in a data tiddler
* updated RadioWidget docs, with same demo macro as for CheckboxWidget
in #2103
* removed docs in widget code (seems the wrong place)
* added from version to docs
* revert doc maros to master
* using wikitext-example-without-html and .tip macro now
* fix quotes
2016-12-17 11:51:24 +00:00
Matt Lauber
9c3a6976f0
#2312 Prevent move filter from wrapping ( #2658 )
...
given a list `A B C D` if I run `A B C D +[move:-1 [A]]` I get `B C A D`. However, if I were to do `A B C D +[move:1[D]]` it doesn't wrap around, and I get `A B C D`. This fixes that such that `A B C D +[move:-1 [A]]` gives 'A B C D`
2016-12-16 17:58:45 +00:00
Jermolene
28591965b1
Yet more refactoring of the tag macro vs template
...
This change re-instates the existing behaviour whereby omitting the
parameter to the “tag” macro will default to the current tiddler
2016-12-16 17:25:06 +00:00
Jermolene
e8bb897e26
Add support for relinking when renaming tiddlers
...
When renaming an existing tiddler, the edit template now shows a
checkbox that determines whether or not to relink references to the
tiddler in the list or tags fields of other tiddlers.
2016-12-15 17:13:32 +00:00
Jermolene
1bba9dc315
Reuse $tw.loadTiddlersFromPath() in --load command
...
Thus allowing things like tiddlywiki.files to be used with the —load
command
2016-12-15 17:13:32 +00:00
Jermolene
74def9e080
Separate the PDF parser from the image parser
...
It was a bit of a hack, and made it harder to customise PDF presentation
2016-12-15 17:13:32 +00:00
Mario Pietsch
b43b89f44a
fix for 2634 problems with week calculation
2016-11-29 17:31:54 +01:00
Jermolene
12ecb1fd08
Fix multids formatting
2016-11-29 10:29:32 +00:00
Jermolene
16bb65d17f
Introduce tiddler manager
2016-11-29 08:36:07 +00:00
Jermolene
f07e0f981a
Refactor tag template into an underlying macro
...
By refactoring the innards of the tag template into global macros, we
make it easier to re-use elements of the tag template
2016-11-28 19:17:25 +00:00
Jermolene
9a38642141
Add new "order" filter operator
2016-11-28 19:16:08 +00:00
Jermolene
a3dc3b4b98
Add new [all[tags]] filter operator
2016-11-28 19:04:04 +00:00
Jermolene
c02c3a06e0
Sort the edit content type dropdown groups more sensibly
...
Now we put the developer stuff at the bottom instead of the top…
2016-11-28 14:01:09 +00:00
Jermolene
cf28eeb2a1
Fix problem with checkbox widget and empty strings
...
If the value of `tiddler.fields[this.checkboxField]` was an empty
string then it would incorrectly fall back to the value of
`this.checkboxDefault`.
2016-11-28 13:45:41 +00:00
Jermolene
b759d82f4c
@pmario's fix for #2635
...
This got reverted due to my git inabilities
2016-11-28 13:43:43 +00:00
Jermolene
c65d08240b
Add strict mode to tag operator
2016-11-28 13:42:30 +00:00
Jermolene
c460cc03a4
Change "is" filter with blank operand to pass through arguments
2016-11-28 13:42:06 +00:00
Jeremy Ruston
a9b54d6fce
Revert "Add provisional version of new tagger manager"
2016-11-28 10:40:55 +00:00
Jeremy Ruston
a85d034015
Merge pull request #2637 : Introduce tiddler manager
...
Introduce tiddler manager
2016-11-28 10:28:12 +00:00
Jermolene
96708ecf65
Manager styling tweaks
...
* Make expand/collapse state be global across all tiddlers
* Remove “Show raw text” option, now that we’ve got the two expandable
areas for raw and wikified text
* Hide raw text by default
* Accentuate currently open tiddler
2016-11-28 10:01:30 +00:00
Jermolene
f67777161d
Make manager sections be expandable
2016-11-27 23:04:54 +00:00
Jermolene
251619189e
Add indentation to the manager
2016-11-27 22:35:04 +00:00
Jermolene
117bf0a0de
Refactor the sidebar items into separate tiddlers
...
With some better styling too
2016-11-27 22:34:46 +00:00
Jermolene
e5af022bd3
Add image-picker-dropdown macro
...
Still need to add a way to select system images (like in the image
dropdown in tag manager)
2016-11-27 22:34:19 +00:00
Mario Pietsch
766bc7acee
Fix for #2634 problem with week calculations ( #2635 )
2016-11-27 17:33:19 +00:00
Jermolene
b00c1c7290
Add select box for displaying tags vs. tiddlers
2016-11-27 14:52:39 +00:00
Jermolene
8e033eb0d4
Add new "all[tags]" filter operator
2016-11-27 14:52:04 +00:00
Jermolene
0b4669621a
Return all tiddlers when "is" filter operand is missing
2016-11-27 14:51:51 +00:00
Jermolene
1a2ec12831
Fix problem with checkbox widget and empty strings
...
If the value of `tiddler.fields[this.checkboxField]` was an empty
string then it would incorrectly fall back to the value of
`this.checkboxDefault`.
2016-11-27 14:51:23 +00:00
Jermolene
9418538104
Separate the tag manager and tagger into separate tiddlers
...
As discussed in Hangout-101: https://www.youtube.com/watch?v=nXwCm794O6M
2016-11-27 13:53:42 +00:00
Jermolene
e98d324e66
Add provisional version of new tagger manager
...
For discussion
2016-11-26 12:48:47 +00:00
Jermolene
3bceb98119
Add support for actions attribute to CheckboxWidget
2016-11-26 08:21:58 +00:00
Jermolene
d1121787c0
Add new button to temporarily suspend timestamps
...
Useful when you want to make an edit but preserve the modification
date/time.
2016-11-23 18:20:31 +00:00
Jermolene
b3273bcbda
Add "sticky" mode for tiddler info panel
...
A new option in control panel to cause the info panel to stay open
until it is explicitly closed
2016-11-23 18:17:54 +00:00
Jermolene
c8f7573a23
Make fakedom more resilient to non-string data
2016-11-22 20:24:59 +00:00
Jermolene
8d35178bc4
Undo 664225f6fd
and 56640b90bb
...
See the discussion at #2628
2016-10-26 21:41:41 +01:00
Jermolene
56640b90bb
Fix issue with tabs macro introduced by fix for #2628
...
I’m fixing this now to show how the tabs macro can be changed to
accommodate the change, but we may yet decide to reverse out the change
in order to maintain backwards compatibility.
One problem with changes like this is that there’s no easy way to find
out where it impacts the core UI. The tabs macro is now fixed, but
perhaps there’s more obscure things that are still broken in the core.
If we do opt to reverse the change to preserve backwards compatibility,
we could add a way to explicitly trigger the new behaviour. For
example, a new attribute `updateState=“yes”`.
Yet another alternative is to make completely new alternative to the
list widget with revised semantics, that authors can opt-in to. For
example `<$loop>`. (There was another issue we discussed a year or two
ago about adding support for an index variable which may be a candidate
for fixing at the same time).
2016-10-25 22:30:02 +01:00
Jermolene
664225f6fd
Ensure list widget item title is used in getStateQualifier
...
Resolves a longstanding problem where the same state qualifier is
generated for every member of a list.
Fixes #2628
2016-10-25 15:34:20 +01:00
Jermolene
7108e0d861
Add support for filtered attributes to HTML elements and widgets
...
Fixes #2624
2016-10-21 11:27:07 +01:00
Jermolene
c72a0b7a67
Add action-createtiddler widget
...
Basically the same as sending a tm-new-tiddler message except that the
newly created tiddler is not added to the story.
2016-10-21 11:26:26 +01:00
Jermolene
0b76c327c2
Add page print button
...
cc @silvyn
2016-10-20 09:44:52 +01:00
Jermolene
a292a2be44
Add copy to clipboard icon
2016-10-19 14:57:19 +01:00
Jermolene
8e02bde938
Refinements to 87fa7f972c
2016-10-18 16:39:18 +01:00
Jermolene
7a6d7e2a15
Refactor user interface for plugin tiddlers
...
* Refactored control panel “Plugins” tab to make the elements more
reusable
* Refactored the display of plugin tiddlers to use the same format as
the control panel (as suggested, I think by @danielo515), adding the
shadow tiddler listing as an overridable extension tab
* Added a new tab in the “More” sidebar providing quick access to all
installed plugins
2016-10-18 09:23:19 +01:00
Jermolene
87fa7f972c
Ensure global macros are available in modals and notifications
2016-10-18 09:18:56 +01:00
Jermolene
b4b77d1681
Add new filter operators for various string encoding/decodings
2016-10-18 09:18:32 +01:00
Jermolene
b35544bf49
Extend set widget to support returning a single result from a filter
...
This solves the problem with extraneous double square brackets when
using the filtered set widget.
2016-10-18 09:16:47 +01:00
Jermolene
d9f301f755
Add 'formattedtext' output type to Wikify widget
2016-10-18 09:13:52 +01:00
Jermolene
2f590a365e
Expose document location via $:/info/url/*
info tiddlers
2016-10-18 09:12:55 +01:00
Jermolene
accd4a1b65
Fix regexp performance problem introduced in c7b31b0242
...
This fixes a problem introduced in
c7b31b0242
.
The changes by @tobibeer inadvertently made the regular expression
evaluation significantly more expensive because of lookahead. The is
less elegant but reverts the performance problem.
2016-10-17 19:08:01 +01:00
Jermolene
892a1f560e
Trap JSON syntax errors during import
...
Fixes #2609
2016-10-13 14:16:55 +01:00
Jermolene
da298f037d
Remove extraneous console.log()
...
Fixing f97c1226aa
2016-10-12 15:50:43 +01:00
Jermolene
f97c1226aa
Prevent HTML parser from mis-recognising email addresses
...
Email addresses such as `<jeremy@example.com>` were being erroneously
parsed as HTML tags.
Fixes #2604
2016-10-12 13:17:53 +01:00
Jermolene
989cee5059
Suppress search results if search string is too short
...
Fixes #2603
2016-10-11 09:27:26 +01:00
Jermolene
ffcbcbfa82
Add new 'minlength' operator
...
Fixes #1493
2016-10-11 09:26:20 +01:00
Devin Weaver
f1090d749e
Fix str.length strEndsWith bug ( #2572 )
...
This was some how missed in dev testing I guess. @buggyj suggested this.
Should fix #2571
2016-10-08 14:06:30 +01:00
Tobias Beer
b9299309cc
Fixes #2076 single line macros shouldn't need terminating line break
2016-10-08 13:44:30 +01:00
Tobias Beer
bf253a603b
Removed unused vars + some whitespace ( #2106 )
2016-10-08 13:32:14 +01:00
Tobias Beer
f575389d89
Update wikiparserrules operator for no operand ( #2193 )
...
* return all wikiparserrules w/o operand
* simpler layout & code / updated instruction details
Also wanted to link each rule to the official docs using a dictionary at
`$:/language/Docs/ParserRules/`. However, without #2194 this is not
doable.
2016-10-08 13:04:11 +01:00
Tobias Beer
d038e0bc1b
Filter titles in new fieldname popup by entered string ( #2585 )
2016-10-08 12:18:19 +01:00
Tobias Beer
3486acaec6
Remove old titles from story on save ( #2587 )
...
fix for #2381
2016-10-08 12:17:27 +01:00
Tobias Beer
808587f1c1
Fixes #2311 allows ctrl-enter to add tag and field ( #2590 )
...
fixes #2311
demo: http://2311.tiddlyspot.com
2016-10-08 11:53:20 +01:00
Tobias Beer
c7b31b0242
allows textPrimitives.anyLetter in syslink ( #2596 )
...
* allows textPrimitives.anyLetter in syslink
now only supports anyletter as per request by @jermolene
2016-10-08 11:51:07 +01:00
Jermolene
641eeaf611
Refresh action widgets before invoking them
...
Fixes #2599 , at least partially.
2016-10-08 10:19:09 +01:00
Jermolene
c4e13bc94a
Add icon and message handler for print button
...
I’m inclined to think it’s not worth adding a corresponding page
control button because it’ll require a lot of tiddlers for the
translation etc.
2016-10-08 10:10:54 +01:00
Jermolene
b867b7487e
Fix tw2-plugin-check warning so that more than one plugin is displayed
2016-09-30 18:27:45 +01:00
Jermolene
292d653880
Fix typo affecting created/creator fields when deleting field
...
Fixes #2579
2016-09-28 11:18:58 +01:00
Jermolene
3ad8cf59bd
Add column count CSS macro
...
Still needs prefixing for Firefox
2016-08-27 14:24:07 +01:00
Jermolene
5f0a1dd967
Revision of 03db25cf38
...
We should only fallback to the classic storyview if a storyview was
specified; if none was specified then we shouldn’t use a storyview.
2016-08-27 14:24:07 +01:00
Jermolene
03db25cf38
Fallback to "classic" if specified storyview not found
...
Fixes #2555
2016-08-26 11:34:43 +01:00
Jermolene
4d74f52202
Remove extraneous text
...
Copy/paste whoops.
2016-08-20 17:11:54 +01:00
Jermolene
05b32728bc
Allow browser-based file reading to use deserializers for binary files
2016-08-20 17:09:22 +01:00
Jermolene
ffae85140f
Fix state cleanup for excise toolbar button
...
We were deleting the wrong tiddler
2016-08-18 08:59:09 +01:00
Jermolene
7bc7f643b6
Remove extraneous console.log
2016-08-16 15:48:25 +01:00
Jermolene
18dd8d4433
Fix problem with lazy loading under Node.js
...
Fixes #2514
2016-08-16 15:48:14 +01:00
Jermolene
e20bce5450
Add experimental support for RTL languages
...
This commit permits language plugins to carry the field
“text-direction” with the value “rtl” to trigger right-to-left layout
of the entire page. We also adjust the sidebar layout to work in RTL
mode.
There are still a number of problems to be addressed:
* Brackets and other punctuation incorrectly placed within en-GB UI text
* System tiddler titles are rendered semi-back-to-front (eg
`languages/ca-ES/:$`)
Starting to address #1845 and the discussion in #2523 .
2016-08-15 19:47:26 +01:00
Jermolene
4eed18496f
Extend editor link button to create external links and missing links
...
Fixes #2521
2016-08-07 10:18:53 +01:00
Jermolene
959a7ac485
Add icon for foldbar visibility control
...
Fixes #2525
2016-08-07 10:16:44 +01:00
Jermolene
8f6abf534f
Add descriptions for missing module types
2016-08-06 21:38:17 +01:00
Jermolene
7326a3a4cc
Only call isReady() for sync adaptors that support it
...
Fixes #2522
2016-08-06 14:45:33 +01:00
Jermolene
08cfa88249
Fix problem with unsafe use of String.prototype.replace()
...
We were using `String.prototype.replace()` without addressing the
wrinkle that dollar signs in the replacement string have special
handling. This caused problems in situations where the replacement
string is derived from user input and contains dollar signs.
Fixes #2517
2016-08-06 14:45:33 +01:00
Jermolene
e49d310ea9
Relax external link matching to ignore illegal characters
...
Fixes #2501 , and rolls back some of #2324
2016-07-20 11:37:44 +01:00
Jermolene
782553eb62
Remove tilde from characters not allowed in external URLs
2016-07-13 14:06:47 +01:00
Jermolene
b24488174c
Prepare for 5.1.13-prerelease
2016-07-13 12:14:24 +01:00
Myeongjin
98b435d550
Fix inconsistencies in language string IDs ( #2494 )
2016-07-13 10:00:21 +01:00
Jermolene
dca9e008ce
Remove single quote from illegal characters in URLs
...
Fixes #2493
2016-07-12 17:22:20 +01:00
Devin Weaver
bf74d13df5
Handle binary files better when saving on Node.JS ( #2420 )
...
* Save binary tiddlers with meta file
The filesystemadaptor plugin was a little simplistic in its
understanding of a binary file. It was using the typeInfo dictionary to
choose what tiddler types were binary (and hence needed a meta file when
saving).
I looked as if it was trying to be smart by looking for the hasMetaFile
*OR* had the encoding of base64. Unfortunately the typeInfo only defined
image/jpeg and so any other base64 encoded tiddler was assumed to be of
type text/vnd.tiddlywiki.
The net effect was only JPG images got a meta file and everything else
were saved as .tid files with base64 encoding. It all still worked but
made working with binary data in a Git repo a bit daunting.
There is enough information in the $tw.config.contentTypeInfo to
determine if a tiddler type is encoded with base64 or not. A better list
is available from boot/boot.js who registers all the types thorough the
registerFileType and marks then with base64 were appropriate.
This commit uses the typeInfo dictionary first for any filesystem
specific overrides, then the contentTypeInfo, and finally defaults to
the typeInfo["text/vnd.tiddlywiki"]. It also eliminates the now
unnecessary override for image/jpeg.
I think this might have been the original intent from commit 10b192e7
.
From my limited testing all files described in boot/boot.js (lines
1832-1856) with an encoding of base64 now save as the original binary
and a meta file. Meaning that when you start the node server and then
drag-n-drop a binary file (i.e. image/png) it will PUT to the server
and then save it on the filesystem as-is allowing the file to be managed
as a binary file and not a text file. (Binary diffs are better and
GitHub supports them as well).
* Prevent duplicate file extensions
A side effects of using the $tw.config.contentFileInfo in the previous
commit is that it will always append a file extension to the tiddler
title when saving. In most cases this is the correct course of action.
However, sometimes that title is already a proper filename with an
extension (for example importing 'foobar.png' would save a file named
'foobar.png.png') which seemed silly.
This commit simply checks to make sure the title does not already end
with the file extension before appending it to the filename. A little
convenience really.
Since IE apparently doesn't have the String endsWith method I took the
liberty to add a helper method to $tw.utils trying to follow the other
polyfill patterns. I figured this was more generic and readable then
attempting to use a one-off solution inline. I got the polyfill code
from MDN.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith#Polyfill
Is strEndsWith the best method name?
2016-07-11 11:18:19 +01:00
Brent Maxwell
19e699d330
Added mobile-web-app-capable meta tag for Android Chrome ( #2456 )
...
* Added mobile-web-app-capable meta tag for Android Chrome
* Added "mobile-web-app-capable" meta tag to the rest of the templates.
2016-07-11 11:16:58 +01:00
Jermolene
c3d18364c1
Don't use syncadaptors until they are ready
...
Fixes #2453
2016-07-05 11:29:59 +01:00
Jermolene
ff57b4084a
Extend notification handler to accept variables
...
Now we can provide variables to be passed to the rendering of the
notification text
2016-07-03 14:55:41 +01:00
Jermolene
6f8ee52e90
Text-editor: fix placeholder colour in Chrome
2016-07-03 14:53:37 +01:00
Devin Weaver
c0b55b4498
Show tags with contrast colour in edit template ( #2484 )
...
Closes #2483
Copy the same pattern from core/ui/TagTemplate.tid and use it in
core/ui/EditTemplate/tags.tid
2016-07-01 10:40:37 +01:00
Jermolene
e8e9759816
Add more flexible support for static content
...
Passing the static content through the `$:/core/templates/html-tiddler`
template made it impossible to produce output that wasn’t HTML encoded
(eg stylesheets).
2016-06-23 16:29:51 +01:00
Jermolene
3d5885f5a5
Extend view widget with plainwikified
format
2016-06-23 16:28:59 +01:00
Jermolene
f51f6bf774
Fix URI in "put" save handler
...
We don’t want the location hash
2016-06-23 16:23:36 +01:00
Jermolene
bdd5aa9343
Trap missing tiddlers in savetiddler command
2016-06-23 16:19:00 +01:00
Andrew J Harrison
f76c7e9560
Refactor $:/core/ui/TagTemplate using sub-tiddlers ( #2477 )
...
The Open All by tag feature should really be in a plugin.
2016-06-14 16:46:40 +01:00
Richard Smith
b326ba5b2c
Fixed: Titles containing a URL are interpreted as external links ( #2324 )
2016-06-05 20:03:04 +01:00
Myeongjin
423086bd11
Add localisable string for missing plugin info ( #2465 )
2016-05-26 09:06:17 -06:00
Bram Chen
9cb4c5f675
Clean up line endings ( #2462 )
...
Convert line endings to Linux style ("\n") to ensure greater consistency in repository.
2016-05-25 12:11:03 -06:00
Jermolene
f846a004b6
Partial fix for copyStyles problem under Chrome
...
There’s still a problem: in Chrome, the styling of the textarea
placeholder isn’t correct.
2016-05-17 15:45:10 -06:00
Jermolene
682b1e7027
Fix sandbox attribute for html parser generated iframes
...
See
https://developer.mozilla.org/en/docs/Web/HTML/Element/iframe#attr-sandb
ox
2016-05-17 15:45:10 -06:00
Myeongjin
6388f859d1
Add localisable strings for error ( #2447 )
...
* Add localisable strings for error
* Update tiddler Transclusion Basic Usage in fr-FR
2016-05-17 21:58:47 +01:00
Myeongjin
8afc1e9354
Add localisable strings ( #2438 )
...
* Add localisable string for recursive transclusion error
* Add localisable string for count
* Add localisable strings for syncer
2016-05-12 08:44:28 -06:00
nameanyone
2a4a3d9fe9
Replace spaces with margins in editor toolbar ( #2429 ) ( #2435 )
2016-05-11 11:09:54 -06:00
Jermolene
7598832e01
Minor fix to preview-closed icon
2016-05-09 14:41:13 -06:00
Jermolene
e54cc7b211
Fix copyStyles() not working in Firefox
...
Yet more browser incompatibilities to weep over…
2016-05-09 14:11:08 -06:00
Jermolene
c8777ea012
Add control panel setting for disabling the new editor toolbar
2016-05-09 10:33:15 -06:00
nameanyone
848a65d840
Remove space character between Cancel and Save buttons ( #2428 )
2016-05-09 09:52:27 -06:00
Mario Pietsch
79ee3b5a3b
new german text elements ( #2426 )
...
* new german text elements
* Theme-Tweaks first take.
2016-05-08 14:50:09 -06:00
Jermolene
3a3754aebb
Add rel="noopener noreferrer" to external links
...
Background:
https://medium.com/@jitbit/target-blank-the-most-underestimated-vulnerab
ility-ever-96e328301f4c#.hduwdbjlb
2016-05-05 11:49:40 +01:00
Myeongjin
71111550d6
Add localisable strings for vanilla ( #2422 )
...
* Add localisable strings for vanilla
* Remove system tiddler for theme tweaks from fr-FR edition
2016-05-05 10:11:06 +01:00
Jermolene
854a9a3b75
Refine behaviour of heading formatting toolbar buttons
...
Previous behaviour was that the H1 button on `!!! x` gave us `!! x`
2016-05-05 07:54:32 +01:00
Jermolene
e3415796b2
Fix problem with lazy loading images
...
Fixes @2263
Thanks @buggyj
2016-05-02 10:29:26 +01:00
Jermolene
a11a4de6af
Fix problem with editing missing tiddlers
...
Fixes #2412
2016-05-02 10:12:08 +01:00
Jermolene
54bf6c8a93
Fix table of contents issue with tiddler titles containing single quotes
2016-05-02 08:20:04 +01:00
Jermolene
cdeca55d45
Fix another IE11 problem
...
IE11 doesn’t support String.prototype.repeat
2016-05-01 18:17:47 +01:00
Jermolene
01eb45946c
Fix problem with IE11
...
It turns out that IE11 has a horrible bug whereby setting the
placeholder attribute before setting the text will trigger an input
event:
https://social.msdn.microsoft.com/Forums/ie/en-US/ae4832b0-8eee-4729-b93
3-a9977ea1b583/internet-explorer-input-event-get-fired-when-settingunset
ting-the-placeholder?forum=iewebdevelopment
2016-05-01 18:17:28 +01:00
Jermolene
c5a1e105d5
Remove quotes from bad title character warning
...
Experience shows that both double and single quotes are OK
2016-05-01 13:56:41 +01:00
Jermolene
6dce8d9763
Remove final vestiges of undo/redo buttons
2016-05-01 13:54:16 +01:00
Jermolene
72fb1e22ed
Remove undo/redo formatting toolbar buttons
...
There have been long standing problems with the buttons not working in
Firefox, and now a [further
problem](https://groups.google.com/d/msg/tiddlywiki/GlsruQyPOag/BAhnI2mt
BgAJ) has come to light, and been similarly hard to resolve.
On balance, I’ve decided to remove the undo/redo buttons from the
toolbar (the ctrl/cmd-Z shortcut is still operational), thus avoiding
the problems, and saving some space in the core.
2016-05-01 13:51:45 +01:00
Jermolene
1515fd42ed
Fix text editor for Internet Explorer
...
By switching from text events to execCommand.
2016-04-30 14:36:53 +01:00
Jermolene
752a126cc4
Fix premature commit of link button
...
Whoops
2016-04-29 19:19:18 +01:00
Jermolene
7224fea961
Introduce "link" editor toolbar button
...
As proposed by Alex Hough
2016-04-29 18:54:44 +01:00
Jermolene
b1fb1070ef
Enhance linkcatcher widget to use actions attribute
2016-04-29 18:54:44 +01:00
Jermolene
3c20f2396e
Add support for assigning action widgets via the actions
attribute
...
This is quite a big change: a new way to invoke action widgets.
The advantage is that it solves #2217 and #1564 , a long running problem
that prevented us from adding action widgets to widgets that modify the
store.
This commit adds the new technique for the button and keyboard widgets,
but also extends the select widget to trigger action widgets for the
first time
2016-04-29 18:54:44 +01:00
Jermolene
b53f4e9b20
Remove another extraneous mode
field
...
Missed off 987c876cfaa8f0d8050c687c26adee250fa0062d
2016-04-29 18:54:44 +01:00
Jermolene
3156d3d7ce
Add spacers to formatting toolbar
2016-04-29 18:54:44 +01:00
Jermolene
39f0c19c9a
Allow "yes" as a synonym of "true"
...
For consistency
2016-04-29 18:54:44 +01:00
Jermolene
7d0ac4f86e
Remove extraneous "mode" field from snippet tiddlers
2016-04-29 18:54:44 +01:00
nameanyone
19ee5bcf4e
"days" filter: yesterday and tomorrow edge cases ( #2364 )
...
* Change the negation logic to address an edge case
Make it possible to get an interval ending with yesterday or starting with tomorrow.
* "days" filter: adjust documentation
2016-04-27 17:23:46 +01:00
Jermolene
6f6cdc1bd0
Fix problem with formatting toolbar dropdowns
...
Cruft left over from the last big refactoring…
2016-04-26 07:43:13 +01:00
nome
1ae428e323
Make tiddler file paths configurable ( #2379 )
...
When saving new tiddlers on node.js, allow the user to override the path of the
generated .tid file. This is done by creating a tiddler
$:/config/FileSystemPaths which contains one or more filter expressions, one
per line. These filters are applied in turn to the tiddler to be saved, and
the first output produced is taken as a logical path relative to the wiki's
tiddlers directory. Any occurences of "/" in the logical path are replaced with
the platform's path separator, the extension ".tid" is appended, illegal
characters are replaced by "_" and the path is disambiguated (if necessary) in
order to arrive at the final tiddler file path. If none of the filters matches,
or the configuration tiddler does not exist, fall back to the previous file
naming scheme (i.e. replacing "/" by "_").
This implies we will now, for tiddlers matching the user-specified filters,
create directory trees below the tiddlers directory. In order to avoid
cluttering it with empty directory trees when renaming or removing tiddlers, any
directories that become empty by deleting a tiddler file are removed
(recursively).
Benefits of this configuration option include the ability to organize git
repositories of TiddlyWikis running on node.js, ability to replace characters
that cause trouble with particular operating systems or workflows (e.g. '$' on
unix) and the ability to replicate tiddler "paths" in the filesystem (by
including a filter like "[!has[draft.of]]") without forcing such a (potentially
problematic) change on all users.
2016-04-25 08:36:32 +01:00
Jermolene
0bd79694f2
Change the keyboard shortcut for the preview pane
...
ctrl-P clashes with the system default for “Print” on Windows (and
Linux?)
2016-04-24 13:31:04 +01:00
Evolena
2b1d38d3ca
Add a subfilter parameter to image-picker macro ( #2391 )
...
* Documentation and examples
* Fix the tag of image- and colour-picker macros in documentation
2016-04-24 13:27:32 +01:00
Jermolene
b7530bac44
Ensure iframe textarea styles are updated
...
Previously, changing the palette didn’t update the textarea styles.
2016-04-24 12:30:44 +01:00
Jermolene
ba8c4dca98
Fix minor glitch with the file icon
2016-04-24 12:08:42 +01:00
Jermolene
3e9cc3e8fd
Add a warning for undo/redo buttons in Firefox
2016-04-24 09:32:06 +01:00
Jermolene
3b49cd17fc
Fixes from @Infurnoape
2016-04-23 17:23:14 +01:00
Jermolene
f68bdce7a8
Add the new toolbar icons back
2016-04-22 08:39:08 +01:00
Jeremy Ruston
2adf09129d
Introduce text editor toolbar ( #2315 )
...
Tada!
2016-04-22 08:36:29 +01:00
Jermolene
4dd701c2dd
Fix problem with missing link logic
...
See
https://github.com/Jermolene/TiddlyWiki5/commit/7908e10488cc4280dd8e4f40
5bcb09f2fb6d3524#commitcomment-17174321
2016-04-20 11:57:38 +01:00
Jermolene
a38d133d6e
Move text editor images into master
...
There’s currently 249 changed files in the text-editor branch, which
exceeds github.com’s ability to display the diffs. So we’ll put the
images straight into master to get the diffs down by 32 files.
2016-04-19 08:30:04 +01:00
Jermolene
1e0d019610
Don't repeatedly lazy load the same tiddler
...
If we don’t get a “text” field back the first time we shouldn’t keep
asking for it.
2016-04-18 14:50:13 +01:00
Myeongjin
e6e346ea29
change string 'Close' to lowercase for dialog ( #2366 )
2016-04-14 23:03:14 +01:00
Devin Weaver
bea6d741e3
Reword makedatauri.js description ( #2373 )
...
Closes issue #2372
2016-04-14 23:02:40 +01:00
Devin Weaver
7908e10488
Add option to disable linking to missing tiddlers
...
* Add LinkWidget option to ignore missing tiddlers
* Add missing link option to settings
2016-04-04 12:43:40 +01:00
Myeongjin
fb381b452a
add localisable strings for plugin library
...
'define lingo-base()' is don't need in dialog 'get more plugins'.
2016-03-31 23:26:27 +09:00
Bram Chen
148fd8d15b
Fix pattern for bad characters when editing tiddler titles
...
It looks like missing a character ' in pattern
2016-03-31 20:40:58 +08:00
Jermolene
12661f5cda
Add warning for bad characters when editing tiddler titles
...
Fixes #2351
2016-03-31 11:14:18 +01:00
Myeongjin
c9b0e15201
add localisable strings for dialog
2016-03-28 16:24:55 +09:00
Myeongjin
034796bee6
add localisable string for plugin configure
2016-03-28 16:24:47 +09:00
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
Tobias Beer
4991c4d6dc
just fixes list filter, no further refactoring
...
previously did not correctly handle / match the source but only output
the list as is
replaces https://github.com/Jermolene/TiddlyWiki5/pull/1419
2015-02-11 12:01:57 +01:00
Jermolene
c9ab873ba3
Fixes problem with drag and drop in Safari
...
Fixes #1415
The problem was that encodeURI() doesn’t encode slashes, which are not
legal in a data URI, although only Safari was failing. We switch to
encodeURIComponent(), which does encode slashes
2015-02-11 10:07:10 +00:00
Jermolene
1534fed4f7
Don't give the plugin warning for $:/Import
2015-02-10 23:17:50 +00:00
Jermolene
1924eda8a9
Improvements for #1483
...
* Rename the global to $tw.dragInProgress for clarity.
* Abort the dragenter so that we don’t get extraneous feedback during
the drag
2015-02-10 23:17:38 +00:00
Jeremy Ruston
1b87d9134b
Merge pull request #1483 from tobibeer/592-no-drag-n-drop-to-same-location
...
prevents drag and drop import in same window
2015-02-10 23:04:45 +00:00
Jermolene
691e5719a4
Avoid unnecessary scrolling at startup
...
The main fix is removing the fallback navigation to the first tiddler
in story.js. Also required is the fix to the startup behaviour of
zoomin.js.
Fixes #981
2015-02-10 22:40:38 +00:00
Tobias Beer
dc23963525
using $tw.dragging to prevent dnd in same window
...
Anything missing?
2015-02-10 23:34:37 +01:00
Tobias Beer
30f2c06c9e
Revert "prevents drag and drop import in same window"
...
This reverts commit 09afa8297a
.
2015-02-10 23:33:19 +01:00
Astrid Elocson
fd84370d7a
Default eachday to the modified field
2015-02-10 16:21:53 +00:00
Jermolene
2305385c08
Don't list all tiddlers in tag dropdown in edit template
...
@tobibeer I think that this was originally from you. I think it’s
problematic listing all available tiddlers for performance and
usability reasons.
I’ve instead taken advantage of your work to template the tag links by
splitting the system and non-system tags. What do you think?
2015-02-10 14:43:09 +00:00
Tobias Beer
09afa8297a
prevents drag and drop import in same window
...
fixes #592
Introduces and preserves **_origin** field when using drag-and-drop —
bad idea? discard? different field name?
demo http://592.tiddlyspot.com
2015-02-09 23:49:04 +01:00
Jermolene
120b1737a6
Ensure $:/StoryList is synced in client-server configuration
...
Fixes #1474
2015-02-09 22:02:23 +00:00
Jermolene
8dcd080cdd
Style fix
2015-02-09 21:46:54 +00:00
Jeremy Ruston
9cf1f8f96b
Merge pull request #1476 from tobibeer/fix-tm-delete-tiddler-doesnt-exist
...
Fix issue deleting non-existent tiddler
2015-02-09 21:46:08 +00:00
Jermolene
d7d560897d
Correct case of getindex filter operator
2015-02-09 21:42:25 +00:00
James Welford Anderson
0b68428bc5
add image export path macro
2015-02-10 05:59:56 +09:00
Jermolene
b66db0dca9
Improvements to display of plugin libraries
2015-02-09 19:41:28 +00:00
Jermolene
2585f8932c
Left off previous commit
2015-02-09 19:04:22 +00:00
Jermolene
8643278a45
Add support for an integrated plugin library
...
Fixes #1450
Provides support for an integrated plugin library that can be used to
install plugins from tiddlywiki.com directly to wikis hosted online or
offline. See the Plugins tab of Control Panel.
Todo:
* Error checking(eg libraryserver.js HTTP GET)
* Translatability
* Documentation
** $:/tags/ServerConnection
** savelibrarytiddlers command
2015-02-09 19:04:11 +00:00
Tobias Beer
ca6ab6388a
no error when tiddler doesn't exist
...
Currently **tm-delete-tiddler** throws a red error box:
```
<$button>
<$action-sendmessage $message="tm-delete-tiddler" $param="DoesntExist"/>
delete non-existing
</$button>
```
**Uncaught TypeError: Cannot read property 'fields' of undefined**
2015-02-09 12:28:42 +01:00
Jermolene
aae56f20af
Display warning banner when plugins are modified
...
Fixes #1455
@aelocson have I got the docs right for the new filter?
2015-02-08 19:40:15 +00:00
Jermolene
e18825e897
Fix problem with stringifying missing fields
2015-02-08 18:46:22 +00:00
Jermolene
cfea481ce8
Ensure stylesheet is re-rendered when the language changes
...
This ensures that things like the drop message are updated when the
language changes.
2015-02-08 17:56:17 +00:00
Jeremy Ruston
bb10e2b029
Merge pull request #1471 from tobibeer/basic-empty-story-message
...
basic empty story message
2015-02-07 13:12:01 +00:00
Tobias Beer
2017ae5ac4
basic empty story message
...
added documentation to HistoryMechanism
2015-02-07 13:17:32 +01:00
Jeremy Ruston
68930f333a
Merge pull request #1452 from tobibeer/getIndex-filter
...
getIndex filter
2015-02-07 11:53:07 +00:00
Jeremy Ruston
9b600c23a2
Revert "implements emptyStoryMessage"
2015-02-07 11:29:12 +00:00
Jeremy Ruston
dceb68818a
Merge pull request #1435 from tobibeer/1428-empty-story-message
...
implements emptyStoryMessage
2015-02-07 11:25:46 +00:00
Tobias Beer
a72581ba26
removed language switcher text
2015-02-07 12:22:16 +01:00
Jeremy Ruston
7deea0cbf3
Merge pull request #1468 from tobibeer/fix-svg-newlines
...
removed trailing newlines in svg
2015-02-07 10:45:00 +00:00
Roma Hicks
687d6350d4
Added class mechanism to checkbox widget. #1463
2015-02-06 01:02:01 -06:00
Tobias Beer
7ed5c3ccfc
use extractTiddlerDataItem not parseTextReference
2015-02-04 01:49:31 +01:00
Jeremy Ruston
d340277cb2
Merge pull request #1392 from tobibeer/1387-fix-tiddlyspot-backup-url
...
Add resolvepath macro
2015-02-03 14:22:48 +00:00
Tobias Beer
32fd03d2f5
rename macro
2015-02-03 15:19:03 +01:00
Tobias Beer
e4bd0c8633
added documentation
...
temporary documentation demo:
http://goto.bplaced.net/tw5/5.1.7.html#ResolvePath
2015-02-03 15:18:38 +01:00
Tobias Beer
a8a0d0d09e
renaming in one go didn't work
2015-02-03 14:50:37 +01:00
Tobias Beer
8746e1ede0
renamed and documentation
...
* renamed to all lowercase
* added documentation
* added examples
2015-02-03 14:50:16 +01:00
James Welford Anderson
4049affb31
initial pass at static export macros
2015-02-03 07:30:24 +09:00
Jim Lehmer
8cd0c2afcd
Make sure all "get" access to $tw.config.fileExtensionInfo
goes through a $tw.utils.getFileExtensionInfo
helper function that ensures the parameter is cast to lowercase. Fixes #1418 .
2015-02-01 12:33:40 -06:00
Tobias Beer
4a05bd10e9
renamed to resolvePath using $tw.utils.resolvePath
...
adapted ControlPanel / Saving accordingly
2015-01-29 00:38:08 +01:00
Tobias Beer
e9261a1b50
implements emptyStoryMessage
...
as well added ControlPanel settings — reordered ControlPanel basics to
have DefaultTiddlers next to EmptyMessage but not shifting important
stuff too far down
2015-01-28 23:55:29 +01:00
Tobias Beer
8b771555a5
initial commit
...
Is `wiki.parseTextReference()` the appropriate way?
2015-01-28 22:15:52 +01:00
Jeremy Ruston
4cd8466adb
Merge pull request #1396 from ng110/master
...
Allow widget actions to propagate to children
2015-01-28 16:28:11 +00:00
ng110
a7a205a754
Update select.js
2015-01-28 16:00:34 +00:00
Jermolene
050b643948
Sandbox HTML iframes
...
Otherwise Firefox allows code in html tiddlers to access the main
window:
https://groups.google.com/d/topic/tiddlywiki/NwOI-QER2ig/discussion
2015-01-28 13:50:39 +00:00
Jeremy Ruston
9a74c31e13
Merge pull request #1383 from tobibeer/fix-topbar-position
...
place topbars first in page-layout
2015-01-28 12:55:19 +00:00
Jermolene
ba971a2d2b
Improved drop message
2015-01-28 09:13:05 +00:00
Tobias Beer
7ec42f93ec
updated $:/tags/PageTemplate
...
reverted topleftbar & toprightbar
2015-01-28 01:13:29 +01:00
Jeremy Ruston
08f6e7f624
Merge pull request #1378 from tobibeer/tag-button-sort-tagging
...
sort unlisted tags by title
2015-01-27 14:30:36 +00:00
Jeremy Ruston
01cd5302f3
Merge pull request #1389 from aelocson/issue-1346
...
Fix #1346 : Quotes around filter steps
2015-01-27 13:55:12 +00:00
Jeremy Ruston
3ec87a5c9c
Merge pull request #1394 from tobibeer/use-filter-tiddler
...
changed tabs to use same filters as AdvancedSearch
2015-01-27 13:39:14 +00:00
Jeremy Ruston
e87aea6e1f
Merge pull request #1413 from tobibeer/1410-is-numeric
...
fix isNumeric in sortTiddlers in wiki.js
2015-01-26 21:00:26 +00:00
Tobias Beer
e9bdf6f542
trying to show the conditional nicely aligned
2015-01-26 19:58:00 +01:00
Astrid Elocson
8d9f1e7477
Catch syntax errors in regexp filters
2015-01-23 14:32:57 +00:00
Tobias Beer
8a3991a619
extracted number comparision function
...
and added missing brackets
2015-01-23 14:57:04 +01:00
Tobias Beer
122e16d39c
putting the variables in the right scope
2015-01-23 12:24:47 +01:00
Tobias Beer
ad62d9a083
first attempt at fixing wrong sort order in nsort and nsortcs
...
not working yet, no idea why
2015-01-23 12:06:32 +01:00
Tobias Beer
e504530005
introduce serverpath macro
...
for now, computes path to backup directory, appending the relative path
of UploadBackupDir to the absolute one from the UploadURL
Also added example for store.php to hint
2015-01-23 11:26:14 +01:00
Tobias Beer
5e175ec7c1
changed tabs to use same filters as AdvancedSearch
...
...to have one place to configure / override
2015-01-20 16:51:41 +01:00
ng110
16fe9fd5ce
Update select.js
2015-01-20 13:02:06 +00:00
ng110
f9c4f6898e
Add capability for widgets to trigger all descendant action widgets, rather than just immediate children.
...
Preserves compatibility with existing invokeActions call in button widget by creating a separate 'invokeActionCall' function to carry out the recursion. Triggering all descendants permits use of action widgets inside list widgets or macros. Also makes it possible to add triggering capability to select widget.
2015-01-20 12:34:24 +00:00
Tobias Beer
77c9918338
shows better message for backup dir with custom store.php
...
relates to #1387
2015-01-20 12:06:09 +01:00
Tobias Beer
495d5f258f
place topbars first in pagelayout
2015-01-18 22:39:24 +01:00
Tobias Beer
5cc68106ec
removed trailing newlines in svg
...
they create problems when using the icons as links
2015-01-18 20:09:10 +01:00
Tobias Beer
6006ed0ecf
added case-insensitivity using wiki.sortTiddlers
2015-01-17 12:02:54 +01:00
Tobias Beer
a8ab08e8fa
sort unlisted tags by title
...
when the tiddlers are not listed in the list field, sort them by title
nonetheless, otherwise we get a real poor taglist from
**$:/core/ui/TagTemplate**
2015-01-17 11:40:33 +01:00
Astrid Elocson
07c1dcb685
Improve a couple of comments
2015-01-14 20:09:15 +00:00
Astrid Elocson
82c0152e04
Fix #1346 : Quotes around filter steps
2015-01-14 20:06:51 +00:00
Jeremy Ruston
d624066e73
Merge pull request #1352 from welford/rendertiddlers
...
add "noclean" parameter to rendertiddlers
2015-01-11 19:58:05 +00:00
James Welford Anderson
e87dadd61d
update docs change var name
2015-01-12 02:55:42 +09:00
Jeremy Ruston
a58e800f24
Merge pull request #1353 from tobibeer/edit-tags-filter-tags-and-titles
...
edit-tags filtering tags and titles
2015-01-11 16:31:03 +00:00
Jeremy Ruston
b95f78196a
Merge pull request #1354 from welford/staticmeta
...
Add mobile meta data to static templates
2015-01-11 16:27:23 +00:00
Jeremy Ruston
948756cdde
Merge pull request #1341 from tobibeer/autolink-system-tiddlers
...
autolinks system tiddlers
2015-01-11 16:25:53 +00:00
Jermolene
b768dc332b
Refactor edition-info handling
...
Introducing new filters that can be used under Node.js
2015-01-11 15:00:54 +00:00
Jermolene
0fdfbc482c
Add nwsaveas and param attributes to browse widget
...
These are for TiddlyDesktop, and only work under node-webkit
2015-01-11 14:20:34 +00:00
Tobias Beer
b43d4a33d6
simplified regexp
...
Ok, I think I've got it now. The following matches all...
1. starting with a literal `$:`
2. then any number of character not a whitespace, `<` or `|`
3. closing with anything that is, again, not a whitespace, `<` or `|`
Test here...
http://tbdemo.tiddlyspot.com/#Autolink%20System%20Tiddlers
2015-01-11 11:04:02 +01:00
Tobias Beer
9c7936413a
edit-tags-filter-tags-and-titles
...
fixes #1333
extracts the tag-link into a component template...
**$:/core/ui/Components/tag-link**
...so as to split the list in two, having two filters that list tiddlers
in the add-tags popup to...
1. firstly, list matching used tags
2. secondly, list mathcing tiddler titles, thus availabe for tagging
Does away with searching content as it is irrelevant if not distracting
for tagging.
Why two lists? Consider wanting to tag a tiddler with "Filters"...
observe how the result would otherwise be way too far down because
existing tiddler titles get in the way.
Component templates are also desireable elsewhere, e.g. #1318
2015-01-11 01:29:53 +01:00
James Welford Anderson
99499c0403
staticmeta
2015-01-11 09:28:18 +09:00
James Welford Anderson
ddb8daa15a
add noclean parameter
...
deletes directory by default
2015-01-11 06:44:56 +09:00
Jermolene
3657bbe920
Switch from addEventListener to onbeforeunload
...
This makes it possible for TiddlyDesktop to reuse these functions to
handle detecting unsaved changes
2015-01-10 18:08:12 +00:00
Jermolene
280909bb68
Fix crash for macros that return undefined
...
Fixes #1348
2015-01-10 13:36:43 +00:00
Tobias Beer
795a929187
create syslink.js, revert extlink.js
...
introduces new parser for system links
2015-01-09 23:51:07 +01:00
Jermolene
31824f043e
Remove obsolete parameters
2015-01-09 20:45:16 +00:00
Tobias Beer
8ba3e8973e
autolinks system tiddlers
...
enhanced extlink parser to cover system tiddler links
of course, only those without spaces in their title
didn't want to open up an extra parser for this as extlink has all the
basics
2015-01-08 21:26:48 +01:00
Felix Küppers
3b2882cb48
Update browser.js
2015-01-08 20:18:41 +01:00
Jermolene
b68276e219
Fix for serverside rendering
2015-01-06 18:19:55 +00:00
Jeremy Ruston
39dfcc43d3
Merge pull request #1321 from xcazin/toc
...
Use the toc-caption() utility macro in Tabbed ToCs as well
2015-01-06 14:18:19 +00:00
Jeremy Ruston
ea07b558a3
Merge pull request #1327 from aelocson/railroad-links
...
Links and transclusions in railroad diagrams
2015-01-06 13:58:27 +00:00
Jermolene
ec829180f4
Coding style clean up for #1330
2015-01-06 13:49:05 +00:00
Tobias Beer
0dd3ad5e38
updated false states — looks more conclusive
2015-01-06 14:40:48 +01:00
Tobias Beer
a1ca53fa9b
implements list iterator variables, see #1328
...
provides <<iterator>>, <<iterator-even>> and <<iterator-last>>
2015-01-06 14:31:20 +01:00
Astrid Elocson
2f42c9fb8d
Links and transclusions in railroad diagrams
2015-01-06 01:39:24 +00:00
Xavier Cazin
203cb17271
Use the toc-caption() utility macro in Tabbed ToCs as well
2015-01-05 10:59:28 +01:00
Jermolene
ea6e60e669
Focus search box on startup
2015-01-04 15:53:48 +00:00
ng110
7d6769f6fd
Update select.js
...
test change
2015-01-04 12:22:00 +00:00
Jermolene
9f087e7667
Ensure creation fields set for data tiddlers
2014-12-24 10:29:00 +00:00
Jermolene
7481b6c49c
Adjust tiddler toolbar button wording
...
As discussed in #1247
2014-12-24 10:28:47 +00:00
Jermolene
b9129d77e9
Experiment with "store" as the caption for the tiddler save button
...
This is an experiment, so translators may want to wait for any
discussion before performing a similar change.
2014-12-23 08:53:54 +00:00
Jermolene
e41285ae56
Make platform check work on node-webkit
2014-12-23 08:20:22 +00:00
Jermolene
1adfe20508
Fix problem with repeatedly cancelling a draft
...
Fixes #1266
2014-12-22 08:40:11 +00:00
Jermolene
8cb7090c40
Experimentally add icons to AdvancedSearch, ControlPanel and TagManager
2014-12-21 17:22:47 +00:00
Jermolene
230066eeae
Incorporate stickytitles theme into snow white theme
2014-12-21 16:04:42 +00:00
Jermolene
a31aa25d0c
Fix language for GettingStarted prompts
2014-12-19 17:02:40 +00:00
Jermolene
af906e4b73
Force filenames for downloading empty and full wikis
2014-12-19 15:20:07 +00:00
Jermolene
5e8420a3ac
Simplify GettingStarted
...
GettingStarted doesn’t seem like the right place for a tutorial on
using TiddlyWiki. The idea now is to link back to tiddlywiki.com
instead.
2014-12-19 14:36:44 +00:00
Jermolene
2abc5dee78
Improve buffer allocation for copying files in utils/filesystem.js
2014-12-18 21:08:14 +00:00
Jermolene
d2c4920ba4
Refine node vs. browser behaviour
...
Now we’re using TiddlyWiki as the core of TiddlyDesktop we need more
granular control of the platform specific code.
2014-12-18 19:52:15 +00:00
Jeremy Ruston
182c2428ca
Merge pull request #1238 from Drakor/fixDownloadSavingHandler
...
Filename will now be set to "tiddlywiki.html" when path does not contain...
2014-12-16 14:03:17 +00:00
Jermolene
86329f5daa
Remove unused local variables
2014-12-16 08:35:28 +00:00
Andreas Hahn
513e1c8cbb
Filename will now be set to "tiddlywiki.html" when path does not contain a filename.
2014-12-16 00:53:20 +01:00
Jermolene
0778ea6756
Some tests and style updates for #1229
...
@tobibeer I simplified the handling of matched strings a little.
2014-12-15 17:50:24 +00:00
Tobias Beer
609cb1fcbd
fixes #1010
...
safe / sequential replacing of formatstrings for date conversions
please review & test
2014-12-13 13:30:39 +01:00
Jeremy Ruston
a3a0002bbc
Merge pull request #1221 from xcazin/timeline
...
Move the title display into a macro so that it can be globally overridden
2014-12-12 11:40:51 +00:00
Xavier Cazin
4afca0e2b8
Move the title display into a macro so that it can be overridden
...
Extension of the idea of 5b38c21a41
2014-12-12 12:33:11 +01:00
Jermolene
8765d4e31b
Get rid of GettingStarted tabs in empty
...
I feel that we should keep empty.html’s GettingStarted very simple, and
link to other places for tutorial material
2014-12-12 10:18:49 +00:00
Jermolene
42dba113cc
Adjust field and has filter handling of missing tiddlers
...
Now `[!field:name[value]]` and `[!has[name]` will treat missing
tiddlers as not having the specified field
2014-12-11 17:49:17 +00:00
Jermolene
5b38c21a41
Disable links when transcluding caption field in toc macro
...
@BramChen does this work for you?
2014-12-11 17:00:57 +00:00
Jermolene
51db48acc9
Fix checking for non-empty folders in initcommand
2014-12-10 22:14:27 +00:00
Jermolene
2698f08851
Tentative reworking of GettingStarted
...
See this thread for background:
https://groups.google.com/d/topic/tiddlywiki/sDWP4NPe8XE/discussion
Translators: please don’t translate this material until it’s settled
down
2014-12-10 21:46:29 +00:00
Jermolene
755693766a
Removing debugging statements from popup mechanism
2014-12-10 17:09:14 +00:00
Jermolene
ef9878802a
Transclude the caption field in toc macro
...
For consistency with the way that tabs work.
To see this in action, on tiddlywiki.com open the tiddler
`$:/tags/ControlPanel` and edit it to add the tag “TableOfContents”.
You’ll see the control panel appear at the bottom of the table of
contents.
2014-12-10 15:42:38 +00:00
Jermolene
31b5eb1578
Allow shadow tiddlers to appear in table of contents macro
2014-12-10 15:41:11 +00:00
Jermolene
23fdc94417
Fix problem with import button tooltip
2014-12-09 15:35:16 +00:00
Jermolene
957a8608ad
Sort language switcher by description
...
Thanks @BramChen
2014-12-06 15:55:28 +00:00
Jermolene
ab129a620e
Add basic tag macro
2014-12-06 13:44:08 +00:00
Jermolene
0e62d8f648
Fix problem with tm-add-field for existing fields
...
Fixes #1197
2014-12-05 10:20:25 +00:00
Jermolene
51f8e58d5f
Sort languages by description instead of title
2014-12-04 16:51:13 +00:00
Jermolene
2689e2861b
Revert to using fieldmangler for adding fields
...
In 5.1.5 we switched to using `<$action-setfield>` instead of
`<$fieldmangler>`. The problem was that in the process we lost the
validation of field names, making it possible to create fields with
illegal names
Fixes #1186
2014-12-04 09:39:14 +00:00
Jermolene
bb74be7ac1
Fix problem with static "all tiddlers" export
2014-12-04 07:58:30 +00:00
Jermolene
870006d2b9
Remove extraneous space after "more tiddler actions" button
...
Fixes #1172
2014-12-03 16:48:14 +00:00
Jermolene
d4abd1722c
Fixes for tabbed TOC
...
Re-fixes #1185
2014-12-02 23:47:23 +00:00
Jermolene
1e7d9bd3cd
Move tabbed toc heading into default template
...
Fixes #1185
2014-12-02 23:05:54 +00:00
Jermolene
b220c19fb7
Add a template to the tabbed TOC macro
...
Fixes #1177
2014-12-02 20:27:02 +00:00
Jermolene
5154a25ab9
Add tooltip to browse widget
...
Fixes #1179
2014-12-02 19:16:38 +00:00
Jermolene
a8ee6c7b7c
Add experimental system tiddler browser
2014-12-02 15:25:27 +00:00
Jermolene
56a0809768
Fix problem with edit-bitmap widget static rendering
...
The ‘introduction’ edition contains an edit-bitmap widget that was
failing under Node.js because the fake dom doesn’t support canvas.
2014-11-27 23:03:27 +00:00
Jermolene
962cdf500a
Fix link dragging to text editors
...
We were just adding double square brackets if the title contains
spaces. We should be adding them if the title is not a valid wikilink.
2014-11-26 11:13:05 +00:00
Jermolene
1600beb193
Move the wikilink regexps into global config
2014-11-26 11:12:25 +00:00
Jermolene
cb9506a166
Fix problem with content-type popup
...
Thanks @tobibeer
2014-11-25 22:03:34 +00:00
Jeremy Ruston
92b957f6f8
Merge pull request #1118 from welford/hook
...
Add hooks mechanism and th-opening-default-tiddlers-list hook
2014-11-25 19:25:00 +00:00
Jermolene
996eecc79a
Coding style cleanup
2014-11-25 13:49:22 +00:00
Jeremy Ruston
6f0d581d72
Merge pull request #1141 from tobibeer/auto-focus-title-on-edit
...
#371 focus title field on edit
2014-11-25 13:43:08 +00:00
Tobias Beer
c0834583a0
#371 focus title field on edit
...
* enhanced edit-text widget with a "focus=true" attribute
* modified title template to make it focus and select by default
2014-11-25 12:39:08 +01:00
Jermolene
719e4d901d
Fix problem with tag popup disappearing
...
Fixes #1137
2014-11-24 16:24:12 +00:00
Jeremy Ruston
37ef5da20f
Merge pull request #1125 from tobibeer/fix-toolbar-button-spacing
...
fixed toolbar button spacing
2014-11-24 09:37:02 +00:00
Skeeve
79e428757b
allow empty state tiddlers and missing state attributes act as missing state tiddlers
...
As described here: https://groups.google.com/d/msg/tiddlywikidev/ODJhIw6-UjQ/3ZKrlA4B810J
I think it would be a good small enhancement as the reveal widget can now be used in previously impossible ways.
2014-11-24 07:38:58 +01:00
Tobias Beer
4def52df80
removed some more trailing blanks from PageControls
...
Note: I did NOT test the results as I have yet to figure out how to make
node.js...
* actually run the server without a 403
* build the core tw after me having made changes
2014-11-23 21:04:13 +01:00
Tobias Beer
a84dc61303
fixed toolbar button spacing
...
* removed trailing whitespaces in button tids
* defined a global left margin for buttons set to 5px
* slightly less than in view-mode before
* slightly more than in edit-mode before
* but visually more appealing to me
* leaves a wee more room for the title to unfold
2014-11-23 17:32:29 +01:00
Jermolene
5708b76d6e
Tweak close button in advanced search
2014-11-23 16:07:58 +00:00
Jermolene
84bebb65b7
Fix advanced filter search clear button
...
Thanks @BramChen
2014-11-23 16:02:08 +00:00
Jermolene
738393285f
Tweaked default tag background
2014-11-22 17:06:44 +00:00
James Welford Anderson
90caf5bf42
Add hooks mechanism and th-opening-default-tiddlers-list hook
...
see: https://github.com/Jermolene/TiddlyWiki5/issues/1064
2014-11-23 01:11:56 +09:00
Jermolene
e6043b07b9
Update export button to use tiddler title as filename base
2014-11-22 14:19:10 +00:00
Jermolene
d6c5e51501
Fix popup handling in Cecily and Zoomin view
...
Cecily and Zoomin story views use a document.body that is smaller than
the document.documentElement. We were just clearing the popups on
clicks on the document.body Clicks on the document element (ie, on the
background of the page) were not being trapped, meaning that you
couldn’t dismiss a popup.
2014-11-22 10:19:03 +00:00
Jermolene
f786872589
Tweak popup handling of tiddler info panel
2014-11-22 09:42:36 +00:00
Jermolene
1f82ebc7c3
Fix problem with parsing text references
2014-11-21 18:16:22 +00:00
Jermolene
b882a0dff1
Fixes to make nested popups work
...
Thus making the export button a lot more useful
2014-11-21 17:07:03 +00:00
Jermolene
931d47e50c
Fix problem with cloning tiddlers
...
We were ignoring the tags on the template tiddler.
Fixes #1097
2014-11-18 14:13:34 +00:00
Jermolene
002d47b4d9
Fix wrapping of tags in tag manager
...
Now long tags wrap onto multiple lines. I think they look quite good,
and we may want to consider using the same technique in the view
template.
2014-11-18 14:07:00 +00:00
Jermolene
838c3c4eb0
Fix problem with page controls
...
By transcluding the page controls we were changing the current tiddler
2014-11-18 14:06:03 +00:00
Jermolene
f1f318931d
Reinstate translation for "download full wiki"
...
It’s used in `$:/snippets/download-wiki-button`
2014-11-18 14:05:23 +00:00
Jermolene
93cb03eeab
Allow whitespace after \end in macro definitions
...
Fixes #1090
2014-11-18 10:26:20 +00:00
Jermolene
b2550f31c2
Fix whitespace in edit toolbar cancel button
...
The extra newline at the end of the tiddler was showing up as
whitespace in the toolbar.
2014-11-17 16:29:49 +00:00
Jermolene
81481588e0
Add advanced search links to control panel list counts
2014-11-17 16:26:39 +00:00
Jermolene
6c6fda498f
Fix bug in action-setfield widget
2014-11-17 16:26:18 +00:00
Jermolene
05e2b170fb
Icon tweaks
2014-11-17 16:26:09 +00:00
Jermolene
48052130d2
Clarify toc-tabbed macro
2014-11-15 12:29:46 +00:00
Jermolene
21cc5fc1d6
More button tweaks
...
@pmario what do you think of the new “info” button?
2014-11-15 12:14:58 +00:00
Jermolene
47481ed52a
Enhance tabbed toc macro with navigation control
...
Now there are two variants of the macro: the default one opens links
externally, the other opens links internally
2014-11-14 17:06:21 +00:00
Jermolene
a9eab1b8fc
Improve import logging
2014-11-14 10:33:41 +00:00
Jermolene
0ea8cfb1de
Remove obsolete control panel tools tab
...
Now we’ve got the export button instead
2014-11-14 09:46:09 +00:00
Jermolene
5758713014
Tweak home button
2014-11-14 09:24:35 +00:00
Jermolene
1f26428fbc
Tweak home button icon
2014-11-13 22:34:17 +00:00
Jermolene
f5055c0205
Add tabbed table of contents
2014-11-13 21:39:38 +00:00
Jermolene
bd211ea082
Extend set variable widget to work with filters
2014-11-13 21:39:38 +00:00
Jermolene
fdc272bff4
Improve styling of search buttons
2014-11-13 21:39:38 +00:00
Jermolene
e0041d8483
Move page export button next to import
2014-11-13 21:39:38 +00:00
Jermolene
dcac3b27b7
More icon tweaks
2014-11-13 21:39:38 +00:00
Jermolene
64d661f6e4
Update alltiddlers.template.html to use new exporter
2014-11-13 16:04:56 +00:00
Jermolene
4bf6fe7fe9
Fix JSON deserialiser to allow all fields
...
Previously we were filtering to a small set of known fields (which was
implemented at the beginning of TW5 as part of the build process for
TW2).
2014-11-13 16:04:30 +00:00
Jermolene
4dec771c20
Make exporter descriptions translatable
2014-11-13 16:03:09 +00:00
Jermolene
d1bbe7253c
Remove flicker when resizing textareas
...
The `EditTextWidget.prototype.fixHeight()` function was defering its
work with `nextTick()`, which led to flickering on all browsers when
typing triggers a resize.
2014-11-13 11:19:21 +00:00
Jermolene
1d49e45deb
More icon tweaks
2014-11-13 11:13:29 +00:00
Jermolene
62c265aab0
Icon tweaks
2014-11-12 17:08:51 +00:00
Jermolene
e69e2c1c91
Require confirmation before deleting non-empty new tiddlers
2014-11-11 11:54:46 +00:00
Jermolene
78735cde96
Refactor dropzone
...
I want to start figuring out #686
2014-11-11 11:44:00 +00:00
Jermolene
a44f6039bb
Tweaks to export button
2014-11-11 11:43:20 +00:00
Jermolene
6fc5c70ace
First pass at export button
...
New export button appears as a page control toolbar button, a tiddler
toolbar button, and a button in the advanced search filter tab.
Initially supports exporting as static HTML, CSV, JSON or `.tid` file.
Still to do:
* Made the exporter descriptions translatable
* Hide the export button by default
* User docs
* Cleaning up the existing templates (eg,
`$:/core/templates/alltiddlers.template.html` should work by
transcluding `$:/core/templates/exporters/Static`)
* Docs for the new macros `exportButton`, `csvtiddlers` and
`jsontiddlers`
Issues:
* OS X Numbers refuses to open CSV files that have been generated in
Chrome, because it thinks they’ve been downloaded from the Internet.
Firefox works OK
* The export button won’t work within the tiddler info panel, or from
the *more* popup (this is because we don’t support nested popups)
2014-11-10 20:59:15 +00:00
Jermolene
147f404a41
Fix search results to be in block mode
2014-11-10 19:55:45 +00:00
Jermolene
13d9c55d5c
Updated export button
...
Made the border a bit thicker
2014-11-10 19:54:36 +00:00
Jermolene
b520efdeb8
Update savers to specify variables, including filename
...
Now the `tm-download-file` and `tm-save-file` messages use the hashmap
to specify variables to be applied when rendering the tiddler.
We also add a convention that the variable “filename” is used to
specify a filename for the download.
2014-11-10 19:54:19 +00:00
Jermolene
b70b85aa9e
Add group headings to default search results
2014-11-10 19:52:37 +00:00
Jermolene
e175746122
Fix problem with CSS macros
...
In practice the macros are always invoked in inline mode, meaning that
the triple braces weren’t getting parsed correctly. Now we switch to
inline code
2014-11-10 15:30:35 +00:00
Jermolene
3035badf14
Fix problem with done button not saving unchanged tiddlers
2014-11-10 12:56:33 +00:00
Jermolene
145713e766
Don't confirm deleting drafts with no original
2014-11-10 08:49:20 +00:00
Jermolene
1dfa6f369b
Smarter cancel edit behaviour
...
If we cancel editing a tiddler that doesn’t exist, then we no longer
show the resulting missing tiddler.
2014-11-09 21:47:48 +00:00
Jermolene
3b08b5e9dd
More resilience to Tiddler.isEqual()
2014-11-09 21:47:00 +00:00
Jermolene
cea0b74265
Improve detection of modified drafts
...
If the target tiddler of the draft is missing (as happens after
clicking “new tiddler”), then we count the draft as modified if the
text is not empty.
Also we count the the draft as modified if the draft title has been
changed
2014-11-09 21:46:41 +00:00
Jermolene
5ded01f2c6
Fix problem with blank values in action-setfield widget
...
One manifestation of this problem was that it wasn’t possible to use
the edit template to add a field without specifying a value
2014-11-09 17:15:40 +00:00
Jermolene
9bbd599f5c
Refine refreshing of tiddler widget
...
We need to refresh if there is a change in the state that we copy to
variables.
2014-11-09 17:10:18 +00:00
Jermolene
d2ab7c5986
More action-deletetiddler fixes
2014-11-09 16:53:33 +00:00
Jermolene
8c67e11365
Fixes to action-deletetiddler widget
2014-11-09 16:45:14 +00:00
Jermolene
23ca729805
Updated icons
2014-11-09 16:19:25 +00:00
Jermolene
2c5d241d96
Improve error message for missing commands
2014-11-09 14:49:33 +00:00
Jermolene
769842c4db
Improved fix for h2 title bar markup
...
Fixes the problem @pmario raised at
https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86
594748e996191eb2#commitcomment-8488743
2014-11-08 17:51:35 +00:00
Jermolene
1255060a5a
Retract view template title change in 09a3f94d79
...
As @pmario points out, the change interferes with the floating of the
toolbar buttons:
https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86
594748e996191eb2#commitcomment-8488743
2014-11-08 17:39:58 +00:00
Jermolene
853f5fd064
Add some logging for file import/paste
2014-11-08 08:37:08 +00:00
Jermolene
ec4beb7f0f
Fix bug in navigator
2014-11-07 21:15:52 +00:00
Jermolene
09a3f94d79
Accessibility fixes
...
Fixes for accessibility issues raised here:
https://groups.google.com/d/topic/tiddlywiki/C6lSabtpdEI/discussion
2014-11-07 21:15:21 +00:00
Jermolene
91a7c39791
Update modal handling to allow variables to be passed
...
@felixhayashi I’m afraid I haven’t used your pull request as there were
a few details that I wanted to do differently. The main change is that
these changes allow both a param string and hashmap to be specified.
2014-11-07 14:54:46 +00:00
Jermolene
c7971d3da3
Update new tiddler message handling to accept title and fields
...
Now you can create a new tiddler with both a template and additional
specified fields.
2014-11-07 14:53:37 +00:00
Jermolene
d93c19daaa
Improve the format of widget message parameters
...
In 5.1.3 we introduced the idea that the `event.param` variable could
optionally be a hashmap, allowing multiple values to be passed with the
message.
This change moves the hashmap to a separate `event.paramObject`
variable, allowing us to pass both a hashmap and a param string.
2014-11-07 14:52:32 +00:00
Jermolene
9ac9239c51
Default tiddler info to the fields tab
2014-11-06 21:27:59 +00:00
Jermolene
4d061d0fee
Provisionally extend search results to list title matches separately
...
I’m not sure whether this is a good solution. Nor am I keen on the
horizontal rule to separate the two groups of results.
2014-11-06 20:58:33 +00:00
Jermolene
157f8faa6b
Update advanced search standard to use search tabs
...
We reuse the tabs introduced for the sidebar search results
2014-11-06 20:57:31 +00:00
Jermolene
8260d000be
Extend search filter to allow field to be specified
2014-11-06 20:56:32 +00:00
Jermolene
f1a2d8c2b9
Fix typo in action-setfield widget
2014-11-06 19:35:50 +00:00
Jermolene
12aec57086
Merge action-setfield and action-setfields widgets
...
Less confusion, hopefully.
2014-11-06 19:27:14 +00:00
Jermolene
92f69d44bf
Use action-deletefield widget in edit template fields editor
...
On the way to deprecating the field mangler widget
2014-11-06 18:32:11 +00:00
Jermolene
da1f9f7d22
Add input box for new field value to edit template
2014-11-06 18:24:33 +00:00
Jermolene
efeeab45f8
Simplify action-setfield widget
2014-11-06 18:23:59 +00:00
Jermolene
0a2a5184c4
Add action-deletetiddler widget
2014-11-06 18:23:48 +00:00
Jermolene
741f853986
Add action-setfield widget
2014-11-06 18:06:47 +00:00
Jermolene
a18af9b760
Rename the action-setfield widget to action-setfields
...
It makes more sense, and allows us to add a widget: `<$action-setfield
$tiddler=“title” $name=“fieldname” $value=“fieldvalue”/>`
2014-11-06 17:45:03 +00:00
Jermolene
0a986ccd99
Experiment with alternative view tiddler toolbar default buttons
...
The “info”, “edit”, “close” troika has been a feature of TW5 since the
very early days. Recent discussion in Hangout #67 has made me question
whether we wouldn’t be better off with the defaults in this commit:
“more”, “edit”, “close”.
The rationale is that the primary purpose of the “info” button has
become gaining access to the tools that haven’t been elevated to being
toolbar buttons. Most of the rest of the content of the info panel is
pretty arcane. So let’s try it for a few days - I’d appreciate any
feedback.
2014-11-06 13:39:28 +00:00
Jermolene
0bb8e08edc
Provisionally make tag pill foreground colour be responsive
...
With this commit tag pills will now choose for the foreground colour
either the current palette “foreground” or “background” colours,
according to which has the higher contrast. It’s something @gernert has
expressed an interest in in the past, and I’ve tended to agree that it
is a nice piece of polish. It opens up the possibility of paler colours
for tag pills than are currently possible.
The trouble is that in order to implement it I’ve had to bring in a
third party library for parsing CSS colours. It weighs in just over
9KB, making quite a lot of weight for such a small feature. I don’t see
any other immediate uses for the colour parsing library either.
So, I’m undecided at the moment whether this should stay in the core.
2014-11-06 13:35:48 +00:00
Jermolene
e145376838
Fix embarrassing typo in timeline macro
...
Fixes #1061 - thanks @welford
2014-11-05 09:30:40 +00:00
Jermolene
df891e7110
Further tag manager tweaks
...
Making it translatable, and changing the icon for “info”
2014-11-04 12:35:46 +00:00
Jermolene
4862afbf2a
Add up and down chevron images
...
For completeness
2014-11-04 12:35:19 +00:00
Jermolene
5093cdc860
Exclude drafts from table of contents macros
2014-11-04 11:54:35 +00:00
Jermolene
335c470797
Include double square brackets when dragging titles
...
Dragging a tiddler link into a tiddler editor, or outside the browser
into another app, will now add double square brackets around the title
if it includes spaces. Suggested by @tgirod.
I’m not 100% sure about this change. It breaks one habit that I had
developed: typing `[[sometext|]]` and then dragging a title in between
the vertical bar and the first closing square bracket. What do others
think?
2014-11-03 23:00:11 +00:00
Jermolene
096165217a
Tweaks for tag manager
...
There were some missing table cells which rendered weirdly.
Still got some wrinkles, though - eg two tag dropdowns appearing.
2014-11-03 22:39:05 +00:00
Jeremy Ruston
5f6a52886e
Merge pull request #1057 from pmario/new-tag-manager
...
change tag manager layout, and add css rule
2014-11-03 22:15:26 +00:00
Mario Pietsch
d07fea949d
change tag manager layout, and add css rule
2014-11-03 23:07:00 +01:00
Jermolene
9022dfdf71
Add action-deletefield widget
...
We’re also going to need action-deletetiddler
2014-11-03 22:06:31 +00:00
Jermolene
a3a50dbf6d
Extend timeline macro to be able to use different date fields
2014-11-03 17:26:51 +00:00
Jermolene
5599f9f933
Fix problem with UTF-8 encoding of HTML tiddelrs
...
Fixes #1037
2014-11-03 16:20:49 +00:00
Jermolene
48696c7d41
Fix extraneous whitespace in toc macro
...
Accidentally introduced in 3d7b40fbaa
2014-11-02 21:23:17 +00:00
Jermolene
3d7b40fbaa
Fix problem with recursion in table of contents macro
...
Fixes #1036
2014-11-02 21:03:27 +00:00
Jermolene
63b00fd0f8
Add advanced search button to search results
...
Clicking on the advanced search ellipsis when there is a search string
will open the advanced search tiddler, and copy the current search term
to it.
Thanks to @Spangenhelm for the idea.
2014-11-02 16:10:53 +00:00
Andrey Yankin
f7a2849d27
disable enqueueTiddlerEvent during plugin switching
2014-11-01 16:32:52 +03:00
Jermolene
06cbc45dfa
Wrap page control previews in position:relative
...
Fixes #1031
2014-11-01 08:42:34 +00:00
Jermolene
938e782772
Update docs
2014-10-31 20:12:06 +00:00
Jeremy Ruston
b1e2ea19a8
Merge pull request #1026 from andrey013/lazy-loading-indexed-transclusion
...
Lazy loading should be forced for indexing transclusion
2014-10-31 19:23:01 +00:00
Jermolene
13726ef731
Add canned filter for recent system tiddlers
...
Useful when you need to establish the titles of tiddlers being used for
state storage.
2014-10-31 10:01:25 +00:00
Andrey Yankin
7eb8301020
Lazy loading should be forced for indexing also
2014-10-31 10:24:49 +03:00
Jermolene
cc33fee9fd
Typo
2014-10-30 12:47:58 +00:00
Jermolene
c20c935faa
Add video button image
2014-10-29 16:09:46 +00:00
Jermolene
2eee132147
Increase size of flags in language dropdown
2014-10-29 12:15:32 +00:00
Jermolene
17a594a97a
Add unpackplugin command
...
Needed for the translators edition
2014-10-29 11:43:43 +00:00
Evolena
e07cdb7eed
Adding recursive sort parameter to toc macro
2014-10-28 10:49:49 +01:00
Jermolene
b0a0859b62
Allow control over default search results tab
2014-10-28 08:31:09 +00:00
Jermolene
04d26e6fae
First pass at an --editions
command
...
Also added a “description” field for wiki folders.
Right now there’s too many editions listed. I think we should by
default only list editions whose `tiddlywiki.info` file has
`showInListings` set to `true`, and have an `--editions all` command
that lists everything.
@pmario please could you check that the editions in your
`TIDDLYWIKI_EDITION_PATH` are correctly listed?
2014-10-27 21:50:25 +00:00
Jermolene
c13cf94413
Add support for custom search result visualisations
2014-10-27 18:38:34 +00:00
Jermolene
d8248cfba7
Introduce action-setfield widget
2014-10-25 14:02:34 +01:00
Jermolene
4b808396f2
Missing semicolon
2014-10-25 10:25:55 +01:00
Jermolene
4a17212576
Enhance height control for edit-text widget
...
Added the option to disable automatic resizing, and the ability to
specify the minimum height.
2014-10-25 10:09:17 +01:00
Jermolene
485ffae366
Refactor the page controls to be more reusable
...
Moving them into their own tiddler makes it easier to transclude them
elsewhere
2014-10-24 11:17:58 +01:00
Jermolene
7f9fb117e9
Clarify warning
2014-10-22 16:47:20 +01:00
Jermolene
55f0b917e0
Hide advanced search toolbar button by default
2014-10-22 16:45:11 +01:00
Jermolene
6681a8e1f2
Add an advanced search toolbar button
2014-10-22 16:30:41 +01:00
Jermolene
1b620387dd
Extend the view widget to work with subtiddlers
2014-10-22 14:12:49 +01:00
Jermolene
9a067b8dac
Ensure JS macros return text
2014-10-22 10:33:56 +01:00
Jermolene
ddc7495542
Move search result count logic out of translations
...
Also fixes a problem pointed out by @Evolena whereby the advanced
search counts hadn’t been adjusted to remove `$:/temp/advancedsearch`
from the search.
2014-10-21 20:27:42 +01:00
Jermolene
53d834c86b
Use titles when dragging links to non-TiddlyWiki destinations
...
Handily, this means that you can drag tiddler links from the sidebar
into the text editor, making it easier to create links and
transclusions.
2014-10-21 19:51:18 +01:00
Jermolene
b052e8f50b
Report command errors through $tw.utils.error
...
So that we get the new colourisation
2014-10-21 19:31:50 +01:00
Jermolene
e62e38d66c
Add warning when serving a non-existent wiki folder
...
The warning will be yellow to make it noticeable
2014-10-21 19:31:29 +01:00
Jermolene
5d600ce31b
Coloured warnings and errors under Node.js
2014-10-21 19:30:27 +01:00
Jermolene
e6eeac0bbf
Improved export icon
2014-10-21 15:55:48 +01:00
Jermolene
71bc78b176
Coding style cleanups
2014-10-20 16:53:42 +01:00
Jeremy Ruston
f6883e5365
Merge pull request #999 from Eucaly/browse-widget
...
adding a message attribute to the browse widget
2014-10-20 16:49:06 +01:00
Eucaly
0bbd5eb292
adding a message attribute to the browse widget
...
* extend browse widget with a message attribute. If blank then import as
original. Otherwise, dispatch the given message with selected files
2014-10-20 21:57:15 +08:00
Jeremy Ruston
f25053490e
Merge pull request #998 from xcazin/ogg
...
Add audio/ogg to the list of recognised formats
2014-10-20 12:30:00 +01:00
Xavier Cazin
6833bfb220
Add audio/ogg to the list of recognised audio formats
2014-10-19 22:09:17 +02:00
Jermolene
12e26009ee
Allow percentage width and height on image widget
2014-10-19 13:21:20 +01:00
Jermolene
2ffe53f191
Add audio parser for handling audio content
2014-10-18 14:50:07 +01:00
Jermolene
564457de1c
Update to KaTeX v0.1.1
2014-10-17 20:10:38 +01:00
Jermolene
5211f9c40c
Fix problem with timeline subfilter
...
Fixes #975
2014-10-15 17:48:45 +01:00
Jermolene
c1e60736d8
Add description for "upgrader" modules
...
Fixes #982
2014-10-15 17:07:49 +01:00
Jermolene
5154a83cf9
Exclude search string tiddler from search results
2014-10-13 09:11:34 +01:00
Simon Baird
0671e59fed
Add span wrapper around button caption text
...
Reasons:
- can show or hide the button text with CSS (assuming
tv-config-toolbar-text is yes).
- can have different looking buttons in the page controls versus the
view toolbar, etc
- more flexibility styling the button appearance, for example you
can change the text size compared to the icon size
- button appearance is more themeable
2014-10-12 01:43:01 +10:00
Jermolene
06f9ed8bad
Generate new tiddler titles that aren't already subject of a draft
2014-10-10 20:58:56 +01:00
Jermolene
644ced6d4e
Preserve modified title when reusing drafts
...
Should fix the problem raised by @xcazin
2014-10-10 20:58:34 +01:00
Jermolene
a671e72706
Fix problem with import button triggering checkbox on Firefox
...
It seems that there is a broader problem with the way that the button
is embedded within the label of a checkbox; even on Chrome it meant
that the checkbox active state was triggered when clicking on any of
the buttons. The user experience was in any case confusing; it wasn’t
obvious that clicking on the label to the right of the button would
flick the checkbox.
The solution takes the buttons and labels out of the checkbox label.
2014-10-10 20:50:50 +01:00
Jermolene
9a6f1f66be
Yet more fixing for the Firefox jumping toolbar problem...
...
See #282
2014-10-10 20:32:12 +01:00
Jermolene
087a0aec58
Fixed typo in language files
2014-10-10 10:31:10 +01:00
Jermolene
f37a7101a7
Fix problem with new tiddler button
2014-10-10 10:17:42 +01:00
Jermolene
e90e588621
Missed from last commit
2014-10-10 10:13:02 +01:00
Jermolene
353f641bcc
Move date-related translateable strings into their own file
2014-10-10 10:12:40 +01:00
Jermolene
a8d83096d3
Fix behaviour of new tiddler message
...
Resolves some inconsistencies over the behaviour of the new tiddler
message under various circumstances.
“new journal here” when a journal for today already exists now brings
up the existing journal for editing, and adds the required tag.
I’d be very grateful for any testing of the behaviour here: try using
new tiddler, clone tiddler, new here, new journal here, and new journal
in various combinations (eg with the draft not existing, already
existing, open or closed etc), and let me know of any peculiarities.
2014-10-10 09:52:19 +01:00
Jermolene
1e02a9f0db
Correct return value for makeDraftTiddler
2014-10-10 09:03:35 +01:00
Jermolene
9cd420290b
Fix for titles including double quotes
2014-10-09 20:11:11 +01:00
Jermolene
ea7d9652c5
Move new journal here button to the correct directory
2014-10-09 18:00:34 +01:00
Jermolene
515b556b48
Fix for previous fix
...
Fix for problem introduced in 25f4ce93ac
2014-10-09 17:51:29 +01:00
Jermolene
25f4ce93ac
Fixed truncation of tiddler info panel
...
Caused by the fix to #282
2014-10-09 17:42:18 +01:00
Jermolene
d6dc4c14d7
Add new-journal-here button to viewtoolbar ordering
2014-10-09 17:36:33 +01:00
Jeremy Ruston
fcf843d5b1
Merge pull request #959 from simonbaird/new-journal-here
...
Add a 'new journal here' button
2014-10-09 17:34:13 +01:00
Jermolene
3827f98a43
Improve new tiddler behaviour with existing tiddlers
...
Now repeatedly clicking “new journal” will reuse the existing journal
if one exists
2014-10-09 17:30:53 +01:00
Jermolene
612e05a247
pushTop should return resulting array
2014-10-09 17:28:39 +01:00
Simon Baird
00cdd04edd
Add a 'new journal here' button
...
The journal tiddler will be tagged with the name of the current
tiddler. This is similar to how the new here button works.
(Would have liked to reuse the journalButton code which is almost
identical between new-journal-here and new-journal, but I'm not
sure how to do it.)
2014-10-10 02:06:56 +10:00
Jermolene
3682c26817
Move new journal strings into language directory
2014-10-09 13:09:59 +01:00
Jermolene
36a43c3f41
Ensure new-here tag is quoted
...
Fixes problem with new here on tiddlers with spaces in their title.
Thanks to @simonbaird
Fixes #956
2014-10-09 13:08:11 +01:00
Jermolene
c6951ee912
Make date format strings be translateable
...
Note for translators: I’m planning to release 5.1.3 later today.
Fixes #954
2014-10-09 10:33:08 +01:00
Jermolene
e34b4f18e5
Improve new here button
2014-10-09 09:31:26 +01:00
Jermolene
90997020e7
Revert to simple tooltip for newhere button
...
At present we can’t arrange for the hint to be wikified when it’s used
as the button tooltip.
2014-10-09 08:44:23 +01:00
Jermolene
70984aa39f
Add "new here" button
...
This is a basic “new here” tiddler toolbar button that just creates a
new tiddler tagged with the title of the current tiddler.
@pmario is there anything else required?
2014-10-08 22:02:32 +01:00
Jermolene
c322dc82c3
Simplify new journal button
2014-10-08 20:11:54 +01:00
Jermolene
d778a90eb0
Make new journal title and tags be configurable
2014-10-08 18:35:25 +01:00
Jermolene
e872f17842
Add a new journal page toolbar button
...
Spot the easter egg with the toolbar button…
Fixes #336
2014-10-08 17:46:34 +01:00
Jermolene
0dcf54c3b5
Add support for action widgets
...
This is part of the groundwork for fixing #336
2014-10-08 17:45:26 +01:00
Jermolene
3b69b7b6e8
Coding style tweak
2014-10-08 14:07:48 +01:00
Jermolene
ef1d531091
Add confirmation for clearing password
...
Fixes #925
2014-10-07 14:35:42 +01:00
Jermolene
a0460c391b
Fix problem with recent zoomin changes
2014-10-07 14:07:55 +01:00
Jermolene
09b6540998
Update history for tm-home message
2014-10-07 14:07:41 +01:00
Jeremy Ruston
65504d5d41
Merge pull request #928 from TheDiveO/filter-operators-addsufprefix
...
addprefix and addsuffix filter operators
2014-10-07 09:44:31 +01:00
Jermolene
63c174d7ed
Update KaTeX wrapper to support operation under Node.js
...
Now we can generate static HTML containing mathematical typesetting
2014-10-06 21:20:19 +01:00
Jermolene
cbe2a53d6a
Extend fakedom for KaTeX on Node.js
...
To make KaTeX work on the server we need to add support for the style
attribute and for setting the textContent of an element.
2014-10-06 21:10:35 +01:00
Jermolene
b7bbcfa056
Prompt twice when setting password
...
Fixes #364
2014-10-06 10:22:09 +01:00
Jermolene
5dd6ebff05
Fix problem with zoomin storyview and hidden sidebar
...
Fixes #933
2014-10-06 09:18:29 +01:00
Jermolene
cc576b052e
Fix "each" filter operator with missing tiddlers
...
Fixes #930
2014-10-05 16:25:01 +01:00
TheDiveO
05280f09d7
Added new filter operator for adding prefixes and suffixes to titles; these new filter operators are useful in contexts where only a filter expression is allowed and where macro processing isn't allowed. The filters complement the existing remove suffix and prefix filter operators. (So much for the "filter" in filter operator.)
2014-09-30 23:01:32 +02:00
Xavier Cazin
c26bd4c5a8
Tweak of the list-links macro in order to display caption fields if present
2014-09-28 21:11:58 +02:00
Mario Pietsch
59f04ffd31
add class parameter to list-links macro
2014-09-28 10:32:54 +02:00
Jermolene
42abef6fbf
Adjust untagged divider styling
...
Further fixes for #913
2014-09-27 16:56:59 +01:00
Jermolene
23c2d90ee8
Added error handling to upload saver
...
A further fix for #251
2014-09-27 10:47:31 +01:00
Jermolene
115245a632
Improve storyview error detection
...
Fixes #912
2014-09-27 10:34:59 +01:00
Jeremy Ruston
9dff0c4b12
Merge pull request #914 from TheDiveO/master
...
Avoid runtime errors in presence of broken plugin tiddlers
2014-09-27 10:15:32 +01:00
Jermolene
580e046e7d
Separate tags pills from untagged pill with whitespace
...
Instead of using an `<hr>`. Fixes #913
2014-09-27 10:12:43 +01:00
TheDiveO
b1fb0a2a07
fix for broken plugin tiddlers that do not contain a tiddlers field;
...
avoids runtime errors upstream when accessing subtiddlers inside a
(broken) tiddler and when using the plugintiddlers filter operator.
2014-09-26 22:33:47 +02:00
Jermolene
eacb9e53eb
Delete syncer tiddlerInfo when tiddlers are deleted
2014-09-24 16:21:59 +02:00
Jermolene
e2046ce4ff
Treat HTTP 201 response code as success
2014-09-24 16:19:23 +02:00
Jermolene
a159b5baf3
Add tiddlerInfo to the syncadaptor saveTiddler method
2014-09-24 13:15:16 +02:00
Jermolene
61af1f9379
Add error formatting for transclusion recursion errors
2014-09-24 11:50:38 +02:00
Jermolene
d047ccdc84
Remove support for deprecated $:/tags/stylesheet tag
2014-09-21 11:26:11 +01:00
Jermolene
62edd1e8a3
Remove support for deprecated "title" attribute on button widget
2014-09-21 11:25:43 +01:00
Jermolene
d3ad7a52c1
Correct setfield documentation
2014-09-20 12:10:50 +01:00
Jermolene
c5d0ae4c9b
Fix problem with preview state storage in import listing
...
Fixes #877
2014-09-19 21:56:37 +01:00
Jermolene
b239b3d623
Remove curly braces from qualified identifiers
...
Fixes #860
2014-09-19 11:33:49 +01:00
Jermolene
02601a02fc
Add note clarifying purpose of TiddlySpot settings
...
We’ve had a couple of cases where users have assumed that the “backup”
setting applies to ordinary, local saves
2014-09-19 09:13:18 +01:00
Jermolene
a9f46525a0
Stop classifying digits as lower case letters in wikilinks
...
Fixes #842
2014-09-17 12:55:39 +01:00
Jermolene
8cc236b4dc
Fix problem with sorting missing tiddlers
...
Fixes #858
2014-09-17 12:17:43 +01:00
Jermolene
1b0eec143e
Refine preliminary list macro
...
@pmario: I’ve taken your suggestion and made the HTML element type(s)
be macro parameters.
2014-09-17 12:13:24 +01:00
Jermolene
40567c2f88
Drop the count column from the tag manager
...
It increases the horizontal width of the table, and isn’t particularly
useful.
2014-09-16 13:14:06 +01:00
Jermolene
775482a242
Fix problem with radio widget and missing tiddlers
...
Fixes #840
2014-09-14 10:55:34 +01:00
Jermolene
2571f534aa
Fix problem with dragging partially selected link
...
Fixes #841
2014-09-14 10:50:53 +01:00
Jermolene
c4123ba374
Extend timeline macro to allow a subfilter
2014-09-13 11:06:50 +01:00
Jermolene
c713eddbef
Fixed problem with draft tiddlers not counting as dirty
2014-09-12 14:48:39 +01:00
Jermolene
bc985553ed
More reference docs mangling
2014-09-11 15:52:47 +01:00
Jermolene
def4aca200
Update filter docs
2014-09-10 23:42:13 +01:00
Jermolene
9adc30f69f
Fix bugs with selective expandable toc macro
2014-09-10 21:55:11 +01:00
Jermolene
ccd916ca7c
Add "multiple" attribute to browse widget
...
And default to non-multiple upload; that’s enough to enable the ability
to take photos/videos directly on iOS
2014-09-10 21:54:52 +01:00
buggyj
ab944bbf02
change filter to stop automatic view transclusion if field 'hide-body' has the value 'yes'
2014-09-10 18:00:29 +02:00
buggyj
04df2a4a20
change filter to stop automatic view transclusion if field 'hide-me' is defined
2014-09-10 12:37:05 +02:00
Jermolene
b7f638aef3
Change button widget 'title' attribute to 'tooltip'
...
Fixes remainder of #824
2014-09-10 10:25:50 +01:00
Jermolene
7ed1a2ebc7
Ensure that deprecations are clearly marks
...
So that we can easily remove them before we come out of beta.
2014-09-10 09:20:43 +01:00
Jermolene
f6ff0a7f71
Deprecate $:/tags/stylesheet
in favour of $:/tags/Stylesheet
...
A warning message appears at the top of the story river if any
`$:/tags/stylesheet` tags are found.
Fixing the first half of #824
2014-09-10 09:13:21 +01:00
Jermolene
d45c417c18
Add deprecation warning for regexp filter operators
2014-09-09 23:05:58 +01:00
Jermolene
f4fff7a330
Add new "regexp" filter operator
...
Fixes #762
2014-09-09 15:57:41 +01:00
Jermolene
c6c4cf2289
Improve timeline macro
2014-09-08 18:58:48 +01:00
Jermolene
c1de85838f
Replace snippet/recentchanges with timeline macro
2014-09-08 18:20:34 +01:00
Jermolene
f16d1832aa
Add dumpvariables macro
2014-09-08 15:06:49 +01:00
Jermolene
756e05504b
Fix stylesheet block/inline mode
...
The problem was that stylesheets were being transcluded in inline mode
(rather than block mode), which meant that triple backticks were not
being interpreted as block mode markup, but rather as a series of
single backticks.
2014-09-08 08:46:04 +01:00
Jermolene
ba3f800235
Extend toc macro so that links can be disabled
...
This allows table of contents to contain heading entries that do not
function as links, like the one in the sidebar.
2014-09-05 09:49:10 +01:00
Jermolene
7e93c93785
Start to empty out the control panel tools tab
...
The control panel isn’t the right place for tools; it’s a place for
settings and internal configuration.
Once again apologies to the translators for wiping out your hard work!
2014-09-05 09:28:49 +01:00
Jermolene
ede244f0a4
Move SaveWikiButtonTemplate to correct folder
2014-09-05 09:20:10 +01:00
Jermolene
f90c649d2a
Improve wording of autosave setting
2014-09-05 09:19:58 +01:00
Jeremy Ruston
5a5fe75289
Merge pull request #782 from pmario/edit-tags-dom
...
removes the p-tags for the tag edit dropdown in tiddler edit mode
2014-09-04 18:13:21 +01:00
Jeremy Ruston
465b3ac1de
Merge pull request #784 from pmario/fix-type-selector
...
Fix type selector
2014-09-04 18:13:02 +01:00
Jermolene
169a38164f
Update server command docs
2014-09-04 10:51:54 +01:00
Jermolene
42f1a04cd7
Sort control panel en-GB strings
2014-09-04 10:12:17 +01:00
Jermolene
47c53f924f
Move control panel autosave settings
2014-09-04 09:58:50 +01:00
Jermolene
6f4af4fc27
Reorganise control panel tabs
2014-09-04 09:58:14 +01:00
Mario Pietsch
487c4a40ab
cover the typeselector in a div-element, because the p-element has unwanted margins
2014-09-03 15:26:40 +02:00
Mario Pietsch
542788bfeb
These changes remove the p-tags from the edit-tags dropdown in tiddler edit mode. ... The changes also take effect to the tiddler-type-chooser popup, since it uses the same css classes.
2014-09-03 15:08:51 +02:00
Jermolene
bb97bc11fd
Move control panel sub-tab tiddlers into same folder
2014-09-03 13:09:25 +01:00
Jermolene
a375d2d9b6
Remove "advanced" and "appearance" from control panel tab titles
...
For example, the previous title for the tiddler containing the editor
types tab of control panel was
“$:/core/ui/ControlPanel/Advanced/EditorTypes”. We’re now removing the
“Advanced” portion, so that we don’t have to rename tiddlers like this
if we move them around between tabs
2014-09-03 12:46:22 +01:00
Jermolene
e7358c9b31
Missing docs for makelibrary command
2014-09-03 10:05:00 +01:00
Jermolene
f87ce7e98a
Fix tiddler keyboard shortcuts
...
Maddeningly, I broke them in 5.0.16-beta…
2014-09-02 22:09:28 +01:00
Jermolene
7b1a9d84a1
Missed corrections of tm-auto-save-wiki
message
2014-09-02 11:16:06 +01:00
Jermolene
b25351e834
Extend keyboard handling
...
To cope with the Mac’s “meta” key (ie command/⌘) preparatory to
trapping command-S
2014-09-02 10:41:48 +01:00
Jermolene
44228ed9f7
Fix indentation of selective expandable TOC
...
Fixing #768
2014-09-01 21:27:28 +01:00
Jermolene
2f6d16b0fa
Improve comments and coding style
2014-09-01 20:39:08 +01:00
Jermolene
ca1de2be99
Revert 6641d5c93f
2014-09-01 20:38:53 +01:00
Jermolene
d2fd85eb12
Missed class "body" conversion to "tc-tiddler-body"
2014-08-31 14:37:37 +01:00
Jermolene
559afcffd9
Add classes to the toc macro output
2014-08-31 14:05:43 +01:00
Jermolene
05dfa1e1e3
Coding style tweak
2014-08-30 23:05:04 +01:00
Jeremy Ruston
032520fbe1
Merge pull request #769 from buggyj/xlink2
...
added support for xlink: attribute prefix
2014-08-30 23:04:14 +01:00
Jermolene
3a67fdb768
Obeisance to JSHint for core modules
...
There are still some warnings about making functions in a loop, but
I’ll fix those as a separate pull request because the fixes are more
than typographic errors.
2014-08-30 20:44:26 +01:00
buggyj
710759daed
added support for xlink: attribute prefix
2014-08-30 17:25:04 +02:00
Jermolene
6641d5c93f
Adjust sync filter to avoid bug with deletions
...
The `[is[tiddler]]` filter rejects deleted tiddlers, meaning that
deletions were not triggering the dirty state correctly.
2014-08-30 14:04:21 +01:00
Jermolene
2952afe7af
Fix for autosave
...
Re-introduces the “tw-auto-save-wiki” message. The previous approach of
automatically triggering autosave whenever a tiddler changed meant that
changing configuration changes in control panel was triggering an
autosave. Using the explicit message gives us better control of the
situations in which we’ll autosave.
Now we solve the earlier problem of there being outstanding tiddler
change events at the time that we process the “tw-auto-save-wiki” by
deferring the autosave until the outstanding change event comes in.
2014-08-29 09:58:30 +01:00
Jermolene
48312272ad
Extend 'all' filter operator to select all source tiddlers
2014-08-29 09:54:31 +01:00
Jermolene
89fd5379dd
Change "tw-*" variables to "tv-*"
2014-08-28 22:28:02 +01:00
Jermolene
26f3a27e22
More classname tweaks
...
Thanks @pmario
2014-08-28 22:22:40 +01:00
Jermolene
2f69ea362c
Rename "tw-*" messages to "tm-*"
2014-08-28 21:43:44 +01:00
Jermolene
db40ac85c2
Exclude upload name from the saver dirty tracking
...
Avoiding a bug whereby partially typed upload names trigger an abortive
save.
2014-08-28 20:55:58 +01:00
Jermolene
88c9c0c3ee
Hide toolbar buttons from static renderings
2014-08-28 20:21:25 +01:00
Jermolene
43aeb47fc3
Skip whitespace from start of inline macro definitions
...
Now `\define mymacro() yes` will not have a leading space in the
variable value
2014-08-28 20:21:09 +01:00
Jermolene
d945492b8b
Fixed text widget crashing when text is missing
...
`<$text text=<<missingVariable>>/>` was crashing
2014-08-28 20:20:38 +01:00
Jermolene
f223310d34
Yet more "tw-*" -> "tc-*"
...
Part of #764
2014-08-28 19:41:29 +01:00
Jermolene
995f0e7f29
More conversion of "tw-*" classes to "tc-*"
...
Part of #764
2014-08-28 19:13:21 +01:00
Jermolene
a1ec52c5cb
Rename more "tw-*" classes to "tc-*"
...
Part of #764
2014-08-28 19:08:31 +01:00
Jermolene
f8b9471549
Rename more tw-
classes to tc-
...
Part of #764
2014-08-28 19:00:57 +01:00
Jermolene
8b10994cfe
Rename more "tw-*" classes to "tc-*"
...
Part of #764
2014-08-28 18:59:35 +01:00
Jermolene
1814d502a4
Convert more "tw-*" classes to "tc-*"
2014-08-28 18:47:21 +01:00
Jermolene
787481a804
Change more "tw-*" classes to "tc-*"
...
Part of #764
2014-08-28 18:21:08 +01:00
Jermolene
4a1c530da7
Rename "tw-tiddlylink-*" classes to "tc-tiddlylink-*"
...
Part of #764
2014-08-28 18:13:46 +01:00
Jermolene
a7dfa954d1
Rename "tw-image-*" classes to "tc-image-*"
...
Part of #764
2014-08-28 17:47:43 +01:00
Jermolene
54591100b5
Rename "modal-*" classes to "tc-modal-*"
...
Part of #764
2014-08-28 17:34:02 +01:00
Jermolene
9173e944df
Rename class "btn-big-green" to "tc-btn-big-green"
...
Part of #764
2014-08-28 17:30:12 +01:00
Jermolene
b374e10cc6
Rename "btn-icon" class "tc-btn-icon"
...
Part of #764
2014-08-28 17:29:23 +01:00
Jermolene
d0cbd34bf9
Rename "btn-invisible" class to "tc-btn-invisible"
...
Part of #764
2014-08-28 17:28:32 +01:00
Jermolene
e939a00be5
Rename "sidebar-header" class to "tc-sidebar-header"
...
Part of #764
2014-08-28 17:27:03 +01:00
Jermolene
87cb520343
Rename "story-river" class to "tc-story-river"
...
Part of #764
2014-08-28 17:26:21 +01:00
Jermolene
90f0fc22ff
Rename "title" class to "tc-title"
...
Part of #764
2014-08-28 17:25:07 +01:00
Jermolene
63d7fd8457
Rename "titlebar" class to "tc-titlebar"
...
Part of #764
2014-08-28 17:21:40 +01:00
Jermolene
d8c3691bd1
Removed unneeded CSS classes
...
Part of #764
2014-08-28 17:17:50 +01:00
Jermolene
112a9a95d9
Make prefix/suffix operators be case sensitive
...
I think it was a mistake for them to be case insensitive in the first
place.
https://groups.google.com/d/topic/tiddlywiki/dzpFsRCC5D8/discussion
If case insensitivity is required then regexps can be used instead.
2014-08-28 15:27:10 +01:00
Jermolene
748caecca0
Fix tiddler info default tab
...
Mistakenly omitted from b437f1b450
2014-08-28 15:16:54 +01:00
Jermolene
ad40223d6b
Revert incorrect refreshing of tiddler widget
...
Mistakenly, I had changed the tiddler widget to refresh itself when the
value of the target tiddler changed. This is not in fact necessary; it
only needs to refresh itself when the identity of the target tiddler
changes.
Fixes #744
2014-08-28 15:16:14 +01:00
Jermolene
2e3221c4e0
Fix for removesuffic operator
2014-08-28 14:48:03 +01:00
Jermolene
dcf4e93a32
Add suffix and removesuffix filters
2014-08-28 14:46:00 +01:00
Jermolene
b437f1b450
Allow default tiddler info tab to be configured
2014-08-28 09:12:00 +01:00
Jermolene
d2a5a12f2d
Extend TOC macros to use caption field
...
Now the `caption` field is used for the text of each entry, if present,
falling back to the `title` field.
2014-08-28 08:58:53 +01:00
Jermolene
13c4e028b1
Refactored autosave mechanism
...
Previously we were using a message `tw-auto-save-wiki` to trigger an
autosave. The message was generated by certain UI actions such as
saving a tiddler. The trouble was that the message was being processed
before the wiki change event for the accompanying change had had a
chance to percolate. The end result was that the dirty indicator was
staying lit when using autosave.
The new approach abandons the autosave message and instead triggers the
autosave in the wiki change event when a relevant change occurs.
One happy side effect of these changes is that the dirty indicator now
works as expected with the client server edition - ie, when typing in a
draft tiddler the dirty indicator will flash briefly, and then clear
when the sync mechanism has completed saving the draft.
2014-08-27 10:04:54 +01:00
Jermolene
9d871309c2
Remove stray console.log
2014-08-27 09:59:15 +01:00
Jermolene
ab41462af3
Ensure that savers invoke the callback
2014-08-27 09:59:01 +01:00
Jermolene
e47852cb14
Stop clearing the location hash for tw-browser-refresh
2014-08-26 14:19:12 +01:00
Jermolene
8041e3bef2
Add a sort parameter to the TOC macro
...
As requested by @giffmex
2014-08-20 22:48:07 +01:00
Jermolene
7c3bac4780
Fix fill star icon
2014-08-20 22:25:33 +01:00
Jermolene
2bbe9f76ec
Block temporary state tiddlers from import/upgrade
2014-08-20 13:52:59 +01:00
Jermolene
4e65bbc405
Add star image
2014-08-20 11:25:30 +01:00
Jermolene
a105b52399
Refactor saver handler
...
Fixing problems caused by c4b76ceb0b
:
* We still need to initialise the saver-handler even when syncing to a
server, otherwise offline snapshots can’t be saved
* We need to override the default save template a bit further up the
stack, to avoid the server side serving the offline version of the wiki
at `/`
2014-08-20 10:02:44 +01:00
Jermolene
fbf307c648
Add alt attribute to image widget
2014-08-20 10:00:34 +01:00
Jermolene
0dfe23e0db
Rename tw-refresh message to tw-browser-refresh
2014-08-19 13:11:18 +01:00
Jermolene
25777b147f
Make dropzone text translateable
...
Also make the text sticky for browsers that support it, ensuring that
it is always visible even after scrolling
2014-08-19 13:07:57 +01:00
Jermolene
58730b7452
Add selective expandable table of contents macro
...
And improve the layout of the examples
2014-08-19 12:30:22 +01:00
Jermolene
920e11e792
Introduce refresh button and revert home button
...
Now the home button behaves as it did in 5.0.13, and the new refresh
button does a full page refresh.
2014-08-19 12:12:36 +01:00
Jermolene
8cf726275c
First pass at table of contents macros
...
Introduce macros for automatically generating table of contents
2014-08-18 20:52:36 +01:00
Jermolene
c57b009968
Simpler default defaulttiddlers
2014-08-18 10:27:48 +01:00
Jermolene
727638c12d
Clean up CSS macros
...
Move the CSS macros into global macros, and allow the colour macro to
fallback to the vanilla palette if the required colour isn’t found in
the current palette.
2014-08-18 10:14:19 +01:00
Jermolene
a637af022d
Fix problem with parseTextReference not recognising missing indices
2014-08-18 10:13:30 +01:00
Jermolene
bea83bfe55
Fix problem with refreshing the edit widget
2014-08-16 15:01:04 +01:00
Jermolene
32a7ee2683
Make it possible to disable plugins
2014-08-15 21:10:40 +01:00
Jermolene
04e049df97
Add message for empty plugin lists
2014-08-15 16:48:02 +01:00
Jermolene
18592fe8f8
Fix problem with edit widget not refreshing
...
One symptom of this problem was that changing the type field of a
tiddler didn’t immediately switch to the bitmap editor
2014-08-15 10:06:52 +01:00
Jermolene
95926b85b9
Move editor type mappings into a single file
2014-08-15 10:06:05 +01:00
Jermolene
c8830d32f7
Fixed problem with building TW under Windows
...
Fixes #717
The issue was that under Windows we generate text nodes that contained
CRLF as a linebreak (rather than just LF as usual).
The subtle problem is that when these strings are placed in the DOM via
createTextNode(), the CR character is treated as a printable character,
not whitespace. When creating DOM notes with innerHTML or as part of a
static HTML document the HTML parser will strip out the CR characters.
The hacky solution is to manually remove CRs before building the text
node.
2014-08-15 09:40:22 +01:00
Jermolene
9e85ddfec7
Ensure we have a default language in empty.html
2014-08-14 12:00:07 +01:00
Jermolene
f75af2c983
Separate the saver handling out of the syncer
2014-08-14 11:43:07 +01:00
Jermolene
27f1f82a70
Rejigging syncer structuring
...
The goal is to separate out the saver handling from the syncadaptor
handling; it will take a few steps to get there
2014-08-14 11:12:25 +01:00
Jermolene
82860aea33
Tweaked tag button
2014-08-14 11:10:55 +01:00
Jermolene
d57446f1e4
Remove $tw.syncer global from syncer.js
2014-08-14 08:54:31 +01:00
Jermolene
4b05608ad5
Add tag manager button
2014-08-14 08:49:03 +01:00
Jermolene
35fcdd270e
Move syncer event handlers into syncer module
2014-08-13 20:25:23 +01:00
Jermolene
449edf99b5
Fix rootwidget handling
2014-08-13 20:20:58 +01:00
Jermolene
7c1cb97f7f
Move syncer-browser startup handling into syncer.js
2014-08-13 20:07:08 +01:00
Jermolene
d16bff7787
Move construction of rootwidget into main startup
2014-08-13 20:06:44 +01:00
Jermolene
c9ce606b7c
Move the unsaved changes warning into the syncer
2014-08-13 19:29:00 +01:00
Jermolene
57ab9f6167
Translatability for the unsaved changes message
...
Another bit of #491
2014-08-13 19:14:23 +01:00
Jermolene
b2e1dd2138
Allow whitespace after first line of multiline macro
...
Fixes the remaining part of #482
2014-08-11 13:52:10 +01:00
Jermolene
57878631e4
Don't sync the pending import tiddler to the server
2014-08-11 13:38:10 +01:00
Jermolene
be8c753f28
Fix formatting of edit fields
2014-08-10 09:13:56 +01:00
Jermolene
1892f33ae6
Hide "revision" and "bag" fields from field editor
2014-08-10 09:13:48 +01:00
Jermolene
af70f7be6b
An export button
...
The plan is to have dropdowns of export formats for both individual
tiddlers and the whole page.
2014-08-10 08:54:12 +01:00
Jermolene
961089f266
Remove obsolete control panel localisable strings
...
My apologies to the translators!
2014-08-10 08:43:28 +01:00
Jermolene
69de66ef80
Avoid localisable strings in the tag manager icon dropdown
2014-08-09 20:52:31 +01:00
Jermolene
e74a598aeb
Better organisation for the tag image dropdown
2014-08-09 20:50:28 +01:00
Jermolene
f6d7d87a3d
Add icon previews to tag manager
2014-08-09 13:12:23 +01:00
Jermolene
2ff2092615
More improvements to control panel plugin formatting
2014-08-08 17:19:48 +01:00
Jermolene
76914c4045
Minor icon tweaks
2014-08-08 16:35:48 +01:00
Jermolene
878689f92e
Improved formatting for control panel plugins
2014-08-08 16:35:17 +01:00
Jermolene
2526bfb078
Disable wikilinking when preceded with dash or underscore
...
“HelloThere” in “My-HelloThere” shouldn’t be wikified.
Part of #337
2014-08-08 16:20:15 +01:00
Jermolene
f8548cc8f2
Stop classifyinh "÷" (\u00f7) as an upper case letter
...
Part of #337
2014-08-08 16:12:23 +01:00
Jermolene
9c8564d5b0
Stop classifying "×" (\u00d7) as a lower case letter
...
Part of #337
2014-08-08 16:09:56 +01:00
Jermolene
d7390dbbe1
Remove support for underscore and dash in wikilinks
...
Starting to fix #337
2014-08-08 11:13:41 +01:00
Jermolene
bd92dc3692
Improve plugin tab layout
...
It’s still a bit of a mess, and the vertical alignment isn’t working
properly
2014-08-08 10:01:21 +01:00
Jermolene
d01efe8698
Generic fallback icons for plugins
2014-08-08 10:00:59 +01:00
Jermolene
b64b1ab9cc
Better icon for the core plugin
2014-08-08 10:00:40 +01:00
Jermolene
3d7e43fa7a
Move the Cecily icon
2014-08-08 07:50:00 +01:00
Jermolene
5260899d8b
Relax requirement for newline after macro definition
2014-08-07 16:00:20 +01:00
Jermolene
3842657392
Add/update plugin readmes
...
Notice that translators need to translate the core plugin readme
2014-08-07 15:49:52 +01:00
Jermolene
017ba740e5
Temporary icon for core plugin
2014-08-07 15:48:50 +01:00
Jermolene
2c4e9a64e9
Extend control panel plugins tab
...
Now we display plugin icons, and an accordion containing information
tabs exposed by the plugin.
2014-08-07 15:48:38 +01:00
Jermolene
e38f924eb5
Update language flags to generic plugin icon convention
2014-08-07 15:45:56 +01:00
Jermolene
7953b95d13
Include subtiddler in transclusion recursion detection
2014-08-07 15:43:48 +01:00
Jermolene
3529625a6c
Fix full screen button not supported
2014-08-03 12:35:53 +01:00
Jermolene
bf9a87dc0e
Fix CR handling by HTML parser
...
@pmario and @welford - I’m not presenting this as a fix for #717
because I’m still not in a position to reproduce it.
However, I found this during a review of newline handling code, and
would be interested if it is implicated in the problems you are
reporting.
2014-08-03 09:43:22 +01:00
Jermolene
83bae92a29
Refine page control button colour
2014-08-02 22:51:04 +01:00
Jermolene
1573f5840e
Fix styling of "more" page button
2014-08-02 22:31:09 +01:00
Jermolene
1a9bd683e4
Add theme toolbar button
2014-08-02 22:13:54 +01:00
Jermolene
c8bba8caea
Switch to "tw-tagged-" prefix for CSS tags
2014-08-02 13:38:39 +01:00
Jermolene
1d8e3ef288
Trim sidebar tools
...
Just got to add a theme button
2014-08-02 13:38:22 +01:00
Jermolene
9b9f7d32a0
Add plugin blocklist
...
Starting with blocking the old fullscreen plugin
2014-08-02 12:42:05 +01:00
Jermolene
748e4ccddc
Update button image sizes
2014-08-02 12:28:09 +01:00
Jermolene
bf39a45fc0
Fixes for import button position
2014-08-02 12:16:14 +01:00
Jermolene
7816c1d944
Add import button
2014-08-02 11:59:07 +01:00
Jermolene
120203a8e0
Refactor sidebar tools tab
...
It’s going to be like the tools tab of tiddler info
2014-08-02 11:58:55 +01:00
Jermolene
5291f33c84
Clearer current selection for language and storyview
2014-08-01 22:07:07 +01:00
Jermolene
9774c763b1
Add a storyview button
2014-08-01 21:40:13 +01:00
Jeremy Ruston
ae469c3f87
Merge pull request #702 from pmario/701-split-emphasis
...
splited emphasis.js into several modules to have fine grained control with rules pragma
2014-08-01 18:24:16 +01:00
Jermolene
c23f6af4b5
Add CSS classes for each tag
2014-08-01 17:48:26 +01:00
Jermolene
6a2f1be9d7
Typo in stylesheet processing
2014-08-01 17:48:11 +01:00
Jermolene
d357e1706c
Allow visible edit fields to be configured
...
Create a tiddler “$:/config/EditTemplateFields/Visibility/fieldname”
with the text “hide” to hide a particular field
2014-08-01 17:03:53 +01:00
Jermolene
52bbd6d583
Add tick alongside current language
2014-08-01 16:52:24 +01:00
Jermolene
799a5b059a
Move fullscreen button into core from plugin
2014-08-01 16:52:12 +01:00
Jermolene
099919f61e
Fix whitespace issues
2014-08-01 08:43:00 +01:00
Jermolene
1bd4ab945d
Reorganise acknowledgements
...
We want the core acknowledgements to be part of the plugin, rather than
the tw5.com edition
2014-08-01 08:42:52 +01:00
Jermolene
a61169e7e8
Fix problem with parsing missing tiddlers
2014-07-31 18:07:52 +01:00
Jermolene
789ba1e85d
Add language toolbar button
...
Also adds flag icon for each language.
One limitation is that the language button doesn’t work properly when
accessed via the “more” menu of the page controls.
@BramChen - could you help me choose the most appropriate flags to use
for the variants of Chinese?
2014-07-31 18:07:37 +01:00
Jermolene
2d43003841
Add descriptions to toolbar buttons
2014-07-31 09:28:46 +01:00
Jermolene
3732f7b564
Correct description of home button
2014-07-31 09:16:28 +01:00
Jermolene
f589e56692
Highlight savewiki text as well as icon
2014-07-31 08:07:31 +01:00
Jermolene
18f1634802
Make the tw-home message refresh the page
2014-07-30 22:31:15 +01:00
Jermolene
c4c4c3d270
Add "more" page control button
2014-07-30 22:25:52 +01:00
Jermolene
56945d91d3
Add unsaved changes indicator
...
The “save” icon changes to red to indicate that there are unsaved
changes.
2014-07-30 16:46:13 +01:00
Jermolene
73d7e85e11
Ensure sticky titles theme works in edit mode
2014-07-30 12:19:15 +01:00
Jermolene
aea06f7df4
Fix checkbox setting text field to empty string
2014-07-30 11:52:45 +01:00
Jermolene
f4b834aa2a
Add close-all page control button
2014-07-30 11:40:06 +01:00
Jermolene
2380392f35
Add a page control for encryption
2014-07-29 15:43:10 +01:00
Jermolene
4de1a1adbe
Normalise titles of toolbar button tiddlers
...
The title shouldn’t include the toolbar name if we’re starting to have
buttons which can be placed on more than one toolbar.
2014-07-29 13:37:57 +01:00
Jermolene
4bb8c4e8a7
Add toolbar tabs to control panel
2014-07-29 10:20:13 +01:00
Jermolene
758762eee3
Autosave after an import
2014-07-29 10:03:43 +01:00
Jermolene
30f60c400e
Add tiddler info tools tab
2014-07-28 14:38:17 +01:00
Jermolene
46ae9bd34e
Add tiddler info tools tab
2014-07-28 14:37:42 +01:00
Jermolene
4be5c28ed4
Try the "more" button on the left
2014-07-28 14:21:11 +01:00
Jermolene
536c697c9f
'more' toolbar button highlights when selected
2014-07-28 14:20:45 +01:00
Jermolene
cb0eba73c2
Typo
2014-07-28 14:20:18 +01:00
Jermolene
5f018c2092
More defensive dom utility hasClass()
...
It was failing on SVG elements such as `<path>`
2014-07-28 14:19:52 +01:00
Jermolene
ad4db0de97
Add 'more' toolbar button
2014-07-28 11:29:06 +01:00
Jermolene
497d9812c8
More buttons for the view toolbar
...
The arrangement of disabling and enabling buttons within the tiddler
info panel is temporary.
2014-07-27 11:43:26 +01:00
Jermolene
71ae63e24f
Temporary commit losing power
2014-07-25 17:17:02 +01:00
Jermolene
40b4259e86
Clarify widget constructor docs
2014-07-25 15:26:53 +01:00
Jermolene
be040ea8a2
Add support for variable filter operands
...
Fixes #583
2014-07-25 15:26:44 +01:00
Jermolene
3d5f68f7a8
Add a close others button
2014-07-25 13:09:20 +01:00
Mario Pietsch
6de453d796
remove stricethrough.js
2014-07-24 23:51:37 +02:00
Mario Pietsch
bb47f1dbad
fix whitespace and filename
2014-07-24 23:49:42 +02:00
Mario Pietsch
95f6c92192
fixed whitespace
2014-07-24 23:47:13 +02:00
Mario Pietsch
7aa6c7c06d
splited emphasis.js into several modules to have fine grained control with wikification rules eg: rules except bold ... This fixes #701
2014-07-24 17:43:03 +02:00
Jermolene
218ce09605
Add permalink/permaview/clone to tiddler info bar
...
I’m open to suggestions for better ways to expose this functionality
2014-07-24 15:50:18 +01:00
Jermolene
1f16ef6fa8
Add support for permalink and permaview
2014-07-24 15:49:09 +01:00
Jermolene
eecb9126cd
Fix checkbox widget to work with missing tiddlers
2014-07-24 15:43:37 +01:00
Jermolene
22468990a2
Fix typo
2014-07-23 20:51:06 +01:00
Jermolene
fd82112700
Sort out info mechanism docs
...
Some of it belongs in the browser-sniff plugin
Also add a `$:/info/node` info tiddler.
2014-07-22 15:16:18 +01:00
Jermolene
3d8626dafa
Move browser sniffing into a plugin
2014-07-21 13:17:16 +01:00
Jermolene
b4d47858e5
Introduce info mechanism
...
We expose browser information as shadow tiddlers so that wiki
applications can adapt to available features.
2014-07-20 18:07:30 +01:00
Jermolene
9ddff6d8c0
Move startup.js into the startup folder
...
Neater.
2014-07-20 18:06:33 +01:00
Jermolene
0cf63ab9f0
Add theme tweaks upgrader
2014-07-18 20:00:05 +01:00
Jermolene
8612bc4006
Rename $:/tags/AboveStory and $:/tags/BelowStory
2014-07-18 11:29:09 +01:00
Jermolene
2322be3f41
Add preview to upgrade wizard
...
The tiddlers are wikified in the context of the host wiki, which means
that mutual transclusions between imported tiddlers won’t appear
correct in the preview.
2014-07-17 18:42:04 +01:00
Jermolene
f793816dfa
Add subtiddler support to the transclude widget
...
Useful to be able to reach into plugins. It will enable us to do things
like extract readmes from themes that are not active.
2014-07-17 18:41:20 +01:00
Jermolene
ed0bf7aed1
Stop defaulting to automatically updating the address bar
2014-07-17 18:40:26 +01:00
Jermolene
89989c737e
Fix bug with import tiddler handling
2014-07-17 15:02:42 +01:00
Jermolene
7a034560d1
Refactor ImportListing
...
Better to avoid relying on the storyTiddler variable, which is a pain
for people trying to reuse the import listing.
2014-07-16 20:31:10 +01:00
Jermolene
e40a0c07b8
Fix support for upgrading encrypted wikis
...
Importing an encrypted wiki ordinarily doesn’t place the password in
the password vault on the basis that one ought to be able to import
from a file without automatically inheriting its password.
Now there’s a configuration option that can be used by the upgrade
plugin to cause the password vault to be updated with any password
entered by the user. The end result is that the user only needs to
enter their password once.
2014-07-16 10:06:24 +01:00
Jermolene
98bf08d155
Tweak drop button colours
2014-07-15 13:11:13 +01:00
Jermolene
58cd874f22
Missed off last commit
2014-07-14 21:52:46 +01:00
Jermolene
4d948c575f
Improvements to one-shot upgrade UI
2014-07-14 21:52:32 +01:00
Jermolene
c92a21ff14
Remove extraneous debugger statement
2014-07-14 21:51:56 +01:00
Jermolene
c0edca78c8
Beginning of one-shot UI for upgrade.html
2014-07-14 14:53:21 +01:00
Jermolene
07f13b310d
Display plugin content in view template
2014-07-14 14:52:31 +01:00
Jermolene
5a23c883e2
More defensive checks
...
We’ve had a few bugs with the symptom of ‘text’ being undefined.
2014-07-14 14:52:00 +01:00
Jermolene
7998686cb3
Fix typo affecting transclusion recursion detection
2014-07-14 14:50:46 +01:00
Jermolene
1f6e16318a
First pass at upgrade mechanism
2014-07-12 09:09:36 +01:00
Jermolene
f08f57c5d2
Extend checkbox widget to toggle fields
2014-07-12 09:09:13 +01:00
Jermolene
4743d0a863
Fix transclusion recursion detection
...
We were inadvertantly doing the recursion check before we were checking
if the transclusion target exists.
2014-07-12 09:08:52 +01:00
Jermolene
9de679b84b
Fix tiddler widget to refresh properly
...
Previously wasn’t refreshing for changes to the tiddler that it refers
to
2014-07-12 09:08:20 +01:00
Jermolene
0f78c4afbf
Fix problem with tabs macro changing current tiddler
...
The problem was introduced in e18d8a8866
2014-07-12 09:07:51 +01:00
Jermolene
91acad0f7c
Add support for story backdrop and frontdrop
...
Allows elements to be added above or below the story river
2014-07-08 10:16:10 +01:00
Jermolene
811df7bbf0
Refactor animation easings
2014-07-08 10:07:17 +01:00
Jermolene
3351ae7e29
Fix issue with localStorage error on Firefox
...
Firefox raises an error if window.localStorage is accessed when cookies
are disabled:
https://bugzilla.mozilla.org/show_bug.cgi?id=771890
2014-07-06 10:11:21 +01:00
Jermolene
465f4ac469
Fix problem with refreshing modal dialogues
...
Previously any refreshing of the content of a modal would cause a
crash. The problem is the way that we steal the root widget for the
render trees used in the modal. The root widget is tied to the
container DOM node for the main content area, which isn’t actually a
parent of the modal DOM nodes, hence the confusion for the refresh
mechanism.
2014-07-04 21:07:35 +01:00
Jermolene
c9d4714e98
Extend makeTranscludeWidget
...
Add support for specifying the filename, and the fallback content
within the transclude widget that is used if the transclusion target
isn’t found
2014-07-04 21:03:11 +01:00
Jermolene
3ff7462afd
Avoid saving $:/HistoryList
...
Otherwise it just keeps growing on each navigation.
2014-07-03 14:33:20 +01:00
Jermolene
e18d8a8866
Extend the tabs macro to allow tab contents to be templated
2014-07-02 12:15:52 +01:00
Jermolene
d93da81671
Restore link hover colours
2014-06-27 07:26:34 +01:00
Jermolene
5b3b62f93d
Fix bug handling of build command
...
We were taking the commands expanded from the build targets and placing
them at the end of the queue. That caused a problem whereby the
prevailing output folder was always the last one in the command token
list.
Now we splice the new commands into the command token list at the
current position.
2014-06-24 12:09:10 +01:00
Jermolene
6f3e31abe5
Fixed problems with detecting changes to draft tiddlers
2014-06-23 23:28:22 +01:00
Jermolene
6d1eaeb0fc
Fix detection of draft changes
...
We were getting a lot of problems where changes to a tiddler were not
being recognised
2014-06-23 08:10:32 +01:00
Jermolene
680fe41ed7
Add isEqual() method to tiddlers
2014-06-23 08:09:59 +01:00
Jermolene
32a1da7673
Fixed problem with pasted items lacking a type
2014-06-22 11:58:00 +01:00
Jermolene
9987e6de22
Fix problem with overwriting existing tiddlers
2014-06-22 11:45:00 +01:00
Jermolene
0fae9ee992
Improve handling of popup state
...
An improvement to 6fb992690d
By making sure that all the popup state tiddlers have the prefix
$:/state/popup/ we can be more selective and just exclude popup state
tiddlers when we save. The end result is that once again other kinds of
state are persisted as expected (eg tabs, and sidebar visibility).
2014-06-22 11:14:11 +01:00
Jermolene
12b5ebb946
A new colour palette
2014-06-22 11:11:09 +01:00
Jermolene
f15eba66fe
Use SVG icons for expand/collapse
2014-06-21 11:49:42 +01:00
Jermolene
0b38cd640c
Reverse accidentally making Contents the default tab
2014-06-21 11:18:59 +01:00
Jermolene
32099b85d3
Add table of contents to tw5.com
2014-06-21 11:17:04 +01:00
Jermolene
fb5c44a875
Remove indenting
...
It didn’t work very well, and was giving us spans where there should be
divs in the tab control.
2014-06-21 11:16:35 +01:00
buggyj
0206358a1c
added missing regex update for triple double-quotes macro params
2014-06-19 19:17:26 +02:00
Jeremy Ruston
0c48502e8e
Merge pull request #660 from buggyj/jsonparams
...
added triple double-quotes delimiters for marco/widget parameters (to su...
2014-06-19 12:06:00 +01:00
buggyj
a2ec4c55e3
added triple double-quotes delimiters for marco/widget parameters (to support json strings)
2014-06-19 07:29:14 +02:00
Jermolene
0bdc5b5c70
Add editor type mappings to control panel
2014-06-18 13:52:22 +01:00
Jermolene
a9b7df96c2
Add support for TIDDLYWIKI_EDITION_PATH
2014-06-17 21:59:20 +01:00
Jermolene
8bd19c4e6a
Merge branch 'accessibility'
2014-06-17 11:49:06 +01:00
Jermolene
34e4166dc5
Add label and title for show/hide sidebar buttons
...
More fixes for #650
2014-06-17 11:39:18 +01:00
Jermolene
346b2f8611
Add label for advanced search link
2014-06-17 07:56:36 +01:00
Jermolene
6f859c8d44
Add label for close button in open sidebar tab
2014-06-17 07:56:27 +01:00
Jermolene
325a93f3c3
Move button language to $:/language/Buttons
2014-06-17 07:56:13 +01:00
Jermolene
06b0f9adb7
Added aria-label attribute to link widget
...
And document it for the button widget
2014-06-17 07:54:10 +01:00
Jermolene
401349a1d6
Improve a11y of close buttons in open tab
...
a11y === accessibility
2014-06-16 17:40:38 +01:00
Jermolene
bc9b67cbc3
Use H1 for page title and H2 for tiddler titles
...
Ideally, we’d also rebase the headings within tiddlers so that `!
Heading` would be an H3. Hopefully we’ll do that later.
2014-06-16 17:34:20 +01:00
Jermolene
6fb992690d
Exclude state tiddlers when saving changes
...
This might be a controversial change as it also means that it is no
longer possible to include `$:/state/…` tiddlers in a wiki to set up
the initial configuration.
2014-06-16 17:21:41 +01:00
Jermolene
bf2f88ba8b
Use H1 for tiddler titles
...
Part of #650
2014-06-15 08:37:58 +01:00
Jermolene
eeedcb6d94
First pass at accessibility improvements for #650
2014-06-14 18:06:56 +01:00
Xavier Cazin
d880cb135a
Update what was left from a copy/paste of savetiddler.tid :-)
2014-06-14 07:35:53 +02:00
Jermolene
f09d69d1b7
Remove debugging code
2014-06-13 14:44:43 +01:00
Jermolene
eee3a0cf8e
Extend server command to allow a path prefix
...
Thereby making the number of parameters to the command ludicrous
2014-06-13 14:44:34 +01:00
Jermolene
4238af2a40
Extend listed filter operator to use any field
2014-06-13 10:58:19 +01:00
Jermolene
ca34cc437c
Rename $:/core/templates/canonical-uri-external-image
...
As per @pmario’s suggestion.
2014-06-13 10:04:31 +01:00
Jermolene
f751e2ecb4
Added application JavaScript to type dropdown
...
Fixes #646
2014-06-12 19:12:58 +01:00
Jermolene
9ab0c84140
Support global macros via the importvariables widget
...
The new importvariables widget imports macro/variable definitions from
the specified tiddlers and makes them available to its children.
Allows us to split PageMacros up into separate tiddlers.
We still support loading macros from $:/core/ui/PageMacros to help
people upgrading.
Fixes #644 and #559
2014-06-12 18:01:33 +01:00
Jermolene
9547a1f01c
First pass at external image support
...
A bunch of little changes that together enable external image support.
Try:
```
tiddlywiki editions/tw5.com --verbose --build externalimages
```
Then open `externalimages.html`, look for the images in the more/types
tab of the sidebar, open them and verify that they are set with an
external SRC attribute, not a data URI.
2014-06-12 08:36:30 +01:00
Jermolene
f131c37893
Update HTML parser to use an IFRAME
...
Gives us better sandboxing of unsafe HTML content
2014-06-11 23:04:58 +01:00
Jermolene
d2796d0c9c
Introduce setfield command
...
This new command will let us do the manipulations needed to set up
external image tiddlers
2014-06-11 10:05:35 +01:00
Jermolene
a03a15e7de
Allow the text widget to refresh if needed
2014-06-10 19:32:55 +01:00
Jermolene
305617b632
Introduce savetiddlers command
...
Allows us to save tiddlers in their raw format.
2014-06-09 14:45:41 +01:00
Jermolene
9b576f2a8d
Add group headings to type dropdown
...
We’re also reverting to the old custom dropdown. Using the select
widget didn’t work out because it couldn’t cleanly work with a text box
allowing custom types to be specified.
2014-06-06 09:32:14 +01:00
Jermolene
c8e98c1567
Use the select widget tiddler content types
2014-05-31 22:39:32 +01:00
Jermolene
13463a47c5
Attention Translators! Add "group" field to tiddler types
...
Apologies to the translators for the extra work. Each translated
tiddler type needs a new “group” field that contains a locale-specific
group name that in English are “Image”, “Developer” and “Text”.
2014-05-31 22:38:50 +01:00
Jermolene
ffd9df670d
Fix problem with tabs switching on language change
...
In 5.0.12-beta, if you change the current language setting then the
current sidebar tab setting is lost. This was because the qualified
title generated for the tabs was incorporating the current language
title, by virtue of a trick used in the PageTemplate to set the
“languageTitle” variable to a field of the current language plugin.
This trick left the current tiddler set to the current language, and
this current tiddler was still in force for the transclusion of the
page template segments.
2014-05-31 19:20:51 +01:00
Jermolene
247eb04b11
Extraneous semi-colon
2014-05-31 19:18:01 +01:00
Jermolene
0ccaedd7d2
Use the select widget in the various switchers
2014-05-31 18:38:17 +01:00
Jermolene
3182a2d599
Add first pass at select widget
2014-05-31 18:37:43 +01:00
Jermolene
f999b2e931
Add wiki.setText() method
2014-05-31 18:37:27 +01:00
Jermolene
4d70d5780e
Use radio buttons in navigation settings
...
Radio buttons are much clearer
2014-05-31 18:36:59 +01:00
Jermolene
a330cb543e
Better defaults for radio widget
...
Now the “field” attribute defaults to “text”.
2014-05-31 18:35:41 +01:00
Jermolene
3f25db0abe
More permalink tweaks
...
And more documentation this time!
2014-05-29 23:17:21 +01:00
Jermolene
412cde6f53
Move "storyviews" filter operator to correct folder
2014-05-28 17:17:47 +01:00
Jermolene
f7b8813a27
Change permalink behaviour
...
Now a link to a single tiddler like http://tiddlywiki.com/#HelloThere
will just open that single tiddler (the old behaviour was to also open
the default tiddlers)
2014-05-28 17:07:41 +01:00
Jermolene
1b37d660ea
Restore "escape" as shortcut to abandon edits
...
Thus reverting a defensive change back in January:
d72d245523
2014-05-27 15:42:33 +01:00
Jermolene
da273be054
Workaround Firefox "no element found" bug
...
See https://bugzilla.mozilla.org/show_bug.cgi?id=884693
Fixes #468
2014-05-27 09:49:48 +01:00
Jermolene
a463859a28
Retract inadvertant change from previous commit
2014-05-26 22:56:58 +01:00
Jermolene
9aaa000d3f
Fixed default tiddler not appearing in zoomin view
...
See https://groups.google.com/d/topic/tiddlywiki/c-z7f-h1CAo/discussion
2014-05-26 22:56:28 +01:00
Jermolene
f14ecf4eb8
Add support for $:/tags/RawMarkup
2014-05-26 22:50:54 +01:00
Jermolene
f44f2b33ed
Fixed missing class on external pretty links
2014-05-26 17:57:35 +01:00
Jermolene
86d182fd51
Fix importing blank fields from TiddlyWiki files
2014-05-26 17:47:07 +01:00
nameanyone
157ca0c8aa
Rename $:/temp/NewFieldName to $:/temp/newfieldname
...
As per "Naming of System Tiddlers"
2014-05-15 22:54:46 -07:00
nameanyone
01b3962b2c
Rename $:/ShowEditPreview to $:/state/showeditpreview
...
According to "Naming of System Tiddlers"
2014-05-15 22:47:21 -07:00
Jermolene
93566cdc33
Add standard search to advanced search
2014-05-15 23:09:31 +01:00
Jermolene
31e1088aa7
Clean up startup logging
...
Now we do boot logging to an array. We harvest it in the —verbose
command. We still need to provide a way to access the log in the
browser too.
2014-05-15 18:50:14 +01:00
Jermolene
f9f8ad725b
Fix problem with advanced search counts
...
Apologies to TiddlyWiki’s translators for disrupting existing work!
2014-05-14 20:12:38 +01:00
Jermolene
c9c1b0fbb4
Get rid of the tweakParseTreeNode() hack
...
It’s an embarrassing hangover from a refactoring of the parsing
mechanism last year.
2014-05-14 08:51:08 +01:00
Jermolene
9a26c4259a
Fix problem with widget.getStateQualifier()
...
Fixed to take into account the recent change to read variables from the
parent widget: e60fc9f81f
2014-05-13 18:16:45 +01:00
Jermolene
da41879fc1
Fix dropdown behaviour in advanced settings
2014-05-13 16:21:01 +01:00
Jermolene
ad43958571
Make permalink behaviour configurable
...
In the process introducing a new advanced settings tab
Fixes #600
2014-05-13 14:16:58 +01:00
Jermolene
75fee26b58
Fix problem with variables containing an empty string
...
See
https://github.com/Jermolene/TiddlyWiki5/commit/e60fc9f81f2c8f0d115543d8
d330a1d68f9b890a#commitcomment-6301921
2014-05-13 10:15:55 +01:00
Jermolene
e83759e86d
Add "before" and "after" filter operators
...
Fixes #357 by adding new “before” and “after” filter operators.
2014-05-12 15:16:44 +01:00
Jermolene
b3032d452f
Refactor vertical tabs for reusability
...
In practice, if you look at TabsMacro you’ll see that the width of the
tab content is wrong, and will usually overflow the container. Next
step is to fix that by using flexbox…
2014-05-11 18:47:14 +01:00
Jermolene
e60fc9f81f
Fixed problem with widgets variable access
...
Previously, widgets were reading variables from themselves or their
cascaded ancestors. That means that if a widget sets a variable and
then reads the same variable, it will get the same variable back. That
sounds reasonable, until you consider a widget that wants to modify a
variable - eg the tiddler macro. For example:
```
<$tiddler tiddler={{!!report}}>
<$transclude mode="block" />
</$tiddler>
```
Here we first evaluate the `{{!!report}}` reference, which involves
reading the currentTiddler variable, looking up the tiddler, and
retrieving it’s `report` field. The next the tiddler widget is
refreshed, it will use the newly set currentTiddler as the basis for
resolving the `{{!!reference}}` reference.
The fix is to get variables from ancestors, but continue to set them on
ourselves.
2014-05-08 11:51:02 +01:00
Jermolene
6ab68e0fca
Remove erroneous global wiki references
...
$tw.wiki is used as a global reference in the outer initialisation
modules. It shouldn’t be used in widgets etc.
2014-05-07 14:49:14 +01:00
Jermolene
e548dd35af
Restored drag and drop functionality within TEXTAREAs and INPUTs
...
As mentioned by @Skeeve in #592
2014-05-07 14:32:14 +01:00
Jermolene
b858e9dc69
Fix incorrect filter in shadow $:/DefaultTiddlers
...
Fixes #606
2014-05-07 13:43:12 +01:00
Jermolene
e676156b24
Fixes for running TiddlyWiki on node-webkit
...
See Jermolene/TiddlyWiki5NodeWebkit
2014-05-07 09:59:21 +01:00