Jermolene
e61c71961b
Fix default language
...
It is supposed to be the built-in core language, en-GB
2019-03-07 18:46:24 +00:00
Jermolene
f047e7cbf5
Add example startup action to switch to browser language
2019-03-07 18:45:52 +00:00
Jermolene
2c2d03f7a7
Refactor startup action execution so that they can switch language/theme
2019-03-07 18:43:23 +00:00
Jermolene
c036c22826
Add $:/info/browser/language to the info mechanism
2019-03-07 18:42:49 +00:00
Jermolene
6de13e2f60
Update release note
2019-03-05 22:22:55 +00:00
Jermolene
0c2689dd78
SaverHandler: Don't generate file if autosave disabled
2019-03-05 15:43:14 +00:00
Jermolene
a9e595c3f6
Dynaview: Add support for saving/restoring scroll position from local storage
2019-03-04 16:59:39 +00:00
Jermolene
348a0bc8bc
Core: Allow startup navigation to be suppressed
...
Plugins can suppress it so that they can provide their own startup scroll handling
2019-03-04 16:59:15 +00:00
Jermolene
477c41f843
Add tooltip attribute to select widget
2019-03-04 12:24:16 +00:00
Simon Huber
0b1ce30a04
Add outline color to button, textarea, input ( #3822 )
...
* add outline-color to button, textarea, input
* add select elements, move to top
* use primary color
2019-03-03 21:22:13 +00:00
Simon Huber
e8b50df4a6
Porting the Nord palette ( #3820 )
...
https://github.com/arcticicestudio/nord
this palette is very popular, available for highlight.js, codemirror, all kinds of desktop/terminal applications ...
would be great to have it in tiddlywiki, too
this is a draft PR, certain things needs to be improved, but looks very good in tiddlywiki
2019-03-03 21:09:42 +00:00
Jermolene
2104017249
Browser-storage: Only save state tiddlers by default
...
And add it back to the prerelease now that it's a bit safer
2019-03-03 17:16:35 +00:00
Jeremy Ruston
148c1a0355
Clarify that filter operator brackets cannot be nested
2019-03-03 14:32:26 +00:00
Jermolene
dd4305d520
Browser-storage: Only delete our own items
...
We should only delete our own items because browsers share local storage with all file:// URIs
2019-03-03 11:30:14 +00:00
Simon Huber
638eb53429
Add tabindex attributes to edit templates ( #3758 )
...
* add tabindex attribute to editor-body edit-template
* add tabindex attr to fields edit-template
* add tabIndex variable to tags edit-template
* add tabindex attr to title edit-template
* add tabindex attr to type edit-template
* add tabindex attr to canonical-uri input
* add tabindex attr (as variable tabIndex) to tag-picker macro
2019-03-02 19:04:27 +01:00
Simon Huber
b6e2985ac6
Fix typo in edit-shortcut widget refresh - missing focus attr ( #3815 )
...
* fix edit-shortcut widget refresh - missing focus attr
* + typo fix. NOW it works
2019-03-02 18:16:55 +01:00
Simon Huber
87eab62b7e
Make the keyboard-shortcut input focus automatically ( #3776 )
...
* add focus capability to edit-shortcut widget
* focus the keyboard-shortcut inputs in the control panel
... there's no other reason why it could have been opened other than just pressing a shorcut ...
... saves the mouseclick
2019-03-02 17:25:49 +01:00
Jermolene
fb0713ae78
Comments plugin: Fix extraneous paragraph in above story area
...
Fixes #3813
2019-03-02 16:18:50 +00:00
Simon Huber
16bb474fef
Partial fix for the sticky dropzone on firefox ( #3809 )
...
in my tests listening for the dragend event and removing the tc-dragover class in that case removes the `tc-dragover` every time it should ...
without this, firefox often doesn't remove it and the green bar sticks at the top
investigating now if the droppable widget has a similar problem
2019-03-02 16:13:36 +01:00
Simon Huber
77e6f5c0e3
Fix for "Open" tab placeholders in FireFox ( #3806 )
...
* fix for "Open" tab placeholders in FireFox
this PR fixes the placeholders in FireFox not being removed on drag-leave from time to time
it consists of 2 mods where apparently both are needed:
- creating a `droppable-item` macro where whitespace is trimmed. that macro contains the droppable and inserts the placeholders
- removing the ` ` entity in favor of an inline style `height:2em;` on the placeholder div, putting it in a macro where whitespace can be trimmed, too
I'm investigating if there's a similar fix for the top page dropzone
* remove unnecessary whitespace trim, add css classes
`.tc-sidebar-tab-open-item { position: relative; }`
`.tc-sidebar-tab-open .tc-droppable-placeholer { line-height:2em; height:2em; } `
* replace times entity with close-button
* add sidebar-open-tab styles
2019-03-02 14:54:23 +01:00
Simon Huber
41e338dc41
Add smartIndent to codemirror ( #3810 )
...
* add smartIndent config to codemirror
* add indentWithTabs config to codemirror
* make default tabSize same value as indentUnit
* make tab and enter do smart indentation
2019-03-02 14:46:10 +01:00
Jermolene
a6875df7ef
Browser-storage: Add enable/disable and clear button
2019-03-01 22:06:14 +00:00
Jermolene
655fc31cee
Server: Avoid displaying "undefined" for missing path prefix
2019-03-01 18:28:51 +00:00
Jermolene
18c00c2ef0
Don't allow $:/Import tiddler to be imported
2019-03-01 17:39:42 +00:00
Jermolene
b862348b06
Fix !is[variable] operator
...
Fixes #3804
2019-02-28 11:54:04 +00:00
Jermolene
36e76429b1
Add is[variable] filter
...
See discussion here https://groups.google.com/d/topic/tiddlywiki/4rEuAWc4EpM/discussion
2019-02-25 13:08:22 +00:00
Bimba Laszlo
181897514f
Add links to plugins made by @bimlas ( #3778 )
2019-02-19 12:33:31 +01:00
Jermolene
810033bd71
Server: include path-prefix in display URL
2019-02-12 18:32:00 +00:00
Jermolene
6aab4d5524
Merge branch 'master' of https://github.com/Jermolene/TiddlyWiki5
2019-02-12 12:14:58 +00:00
Jermolene
72f2a94251
Ensure things work when $:/config/AnimationDuration is blank or not a valid number
...
Thanks @jdjdjdjdjdjd
2019-02-12 12:14:55 +00:00
Bram Chen
6dedcd958d
Update chinese translations ( #3762 )
...
* Add advanced search canned filter for "tiddlers modified this session"
2019-02-10 09:24:30 +00:00
Simon Huber
f97d18bb6e
Adding optional tabindex attr to simple, framed and cm engines ( #3756 )
...
* add optional tabindex attribute to factory.js
* add changedAttributes.tabindex to refresh mechanic
* add optional tabindex attribute to edit widget
* remove some extra whitespace
* remove some trailing whitespace
* add optional tabindex attribute to simple engine
* add optional tabindex attribute to framed engine
* add optional tabindex attribute to cm engine
2019-02-08 16:11:39 +00:00
Jermolene
9d7d3fefa0
Split operator: Remove empty strings when splitting
...
See the discussion on 9b2d527; thanks @kookma
2019-02-08 15:59:07 +00:00
Jermolene
6ff7a7d261
BrowserStorage: Make sure tiddlers loaded from local storage mark wiki as dirty
...
Thanks @xcazin
2019-02-08 15:38:23 +00:00
Jermolene
2710fae71d
BrowserStorage: Use path to make unique item names for non-file URIs
...
Previously, we were only using the path to disambiguate files on a file:// URI. That meant that all wikis on tiddlywiki.com was sharing the same pool of local storage...
2019-02-08 15:19:20 +00:00
Jermolene
0e6855eba8
Add advanced search canned filter for "tiddlers modified this session"
2019-02-08 11:07:06 +00:00
Jermolene
8b04cfd4d5
Fix problem with extraneous raw markup in saved files
...
Previously, raw markup tiddlers were being saved even if they weren't included in the saveTiddlerFilter. This meant that, for example, using "save empty" button in GettingStarted would include the splash screen markup tiddler.
2019-02-07 18:30:17 +00:00
Jermolene
2c37c25c28
BrowserStorage: Add startup log and fix save filter
...
The previous filter was rejecting tiddlers that needed to be deleted.
2019-02-07 17:59:55 +00:00
Jermolene
adb07ccba0
Add a test for all filter with blank operand
...
Actually quite a useful way to get all of the tiddlers that were passed into the filter.
2019-02-07 17:59:12 +00:00
Jermolene
b64216cfa7
BrowserStorage: Add another warning
2019-02-07 15:15:05 +00:00
Jermolene
9601e570af
Fix further typo in cdeabba
2019-02-07 15:07:21 +00:00
Jermolene
5c5628e10b
Fix typo in cdeabba
2019-02-07 15:00:39 +00:00
Jermolene
cdeabbaf56
Remove browser-storage plugin from main prerelease
...
But make sure it's in the "full" edition.
2019-02-07 14:53:59 +00:00
Jermolene
5577f7a4fe
BrowserStorage: Add support for a custom quota exceeded message
2019-02-07 14:46:23 +00:00
Jermolene
51b4f63c5c
BrowserStorage: Add a filter to determine which tiddlers are saved
2019-02-07 14:35:25 +00:00
Jermolene
7df58a6813
Fixed bug with length operator
...
Thanks @BurningTreeC
2019-02-07 12:56:12 +00:00
Jermolene
158f96a207
Fix split operator testcase
2019-02-07 12:48:23 +00:00
Jermolene
dc29acd656
Fixed bug with split operator
2019-02-07 12:45:07 +00:00
Jermolene
af40485e37
Docs updates
2019-02-07 11:19:06 +00:00
Jermolene
9b2d52716a
Add new string operators: length, join, split, concat etc.
2019-02-07 11:18:53 +00:00