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
Jermolene
854b739a35
Implement explicit external links
2014-05-06 20:05:51 +01:00
Jermolene
abe0ce28b9
Fix typos in docs for image parser
2014-05-06 19:00:34 +01:00
Jermolene
7c8c5cf745
Fix problem with parsing main UI boot tiddlers
...
We were parsing the boot tiddlers, making them into a widget and then
refreshing the widget tree. The problem is that subsequent chances to
the boot tiddlers themselves wouldn’t be picked up as part of the
refresh.
Now we indirectly parse those UI boot tiddlers through a transclusion,
which does get refreshed in the desired way.
2014-05-06 10:14:22 +01:00
Jermolene
b84c663215
Add proper rendering of document title
2014-05-05 23:00:09 +01:00
Jermolene
4e101e240c
Suppress history when changing the permalink URL
2014-05-05 21:51:54 +01:00
Jermolene
56251dc1f8
Fixes #598
...
Ensure we don’t generate permalinks with a target that is not in the
current story
2014-05-05 21:23:29 +01:00
Jermolene
f368175cb0
Remove debugging code
2014-05-05 20:58:47 +01:00
Jermolene
986a20b22b
Fixes for permalinks not working on Firefox
...
Sigh. It’s frustrating that the few browser differences I’m running
into in 2014 are mostly horribly familiar from 2005
2014-05-05 19:21:57 +01:00
Jermolene
ffb6c8ab81
Add hex colours to tag manager
...
Fixes #597
2014-05-05 18:42:25 +01:00
Jermolene
b24ec8009d
Missing dependency
2014-05-05 17:06:24 +01:00
Jermolene
9965c64b6f
More refactoring of startup.js
2014-05-05 15:25:51 +01:00
Jermolene
2a50277219
Fix problem with syncer not being initialised on server
2014-05-05 14:44:32 +01:00
Jermolene
3cce12e13f
More refactoring of startup.js
2014-05-05 14:41:46 +01:00
Jermolene
887e9d978b
Fix problem with saving if URL contains #
2014-05-05 13:30:31 +01:00
Jermolene
a0022a1cd6
Refactoring more of startup.js into modules
2014-05-05 10:17:50 +01:00
Jermolene
519e1b4a44
Pull more of startup.js out into separate modules
2014-05-03 21:23:51 +01:00
Jermolene
b9dec37fb7
Split main rendering into it's own startup module
2014-05-03 19:50:05 +01:00
Jermolene
78ba57d55d
Remove support for browser-startup modules
...
Instead support startup modules that stipulate which platform they
require.
Also include docs updates and fixes to fullscreen plugin
2014-05-03 17:49:20 +01:00
Jermolene
749582ede0
Split module loading into a separate startup task
...
Still a work in progress.
2014-05-03 17:10:55 +01:00
Jermolene
b96aade28a
WIP: Add support for dependencies between startup modules
...
See StartupMechanism for details.
2014-05-03 16:32:18 +01:00
Jermolene
6ccf02ed96
Add support for onhashchange
...
Now we respond dynamically to changes in the location hash in the URL
bar. It means that you can do links in HTML as `<a
href=“#HelloThere”>go</a>` and in Markdown as `[example
link](#HelloThere).`
We still need to make startup.js more modular
2014-05-03 12:20:28 +01:00
Jermolene
b2c1331c11
Fix oversight in isDraftModified
...
If the original tiddler doesn’t exist then we should count the draft as
always having been modified
2014-05-03 12:12:07 +01:00
Jermolene
a5e9ef9b5f
Adopt new URL scheme for permalinks
...
Instead of using `%00` as a separator we do the more conventional
`#!<target-title>:<story filter>`.
2014-05-03 11:32:55 +01:00
Jermolene
327b53a641
Start adding support for permalinks
...
At this point we respect any permalink at startup, but we don’t yet
dynamically update the permalink, nor do we respond to ongoing
permalink changes.
The permalink separator being `%00` seems like it might be a bit
controversial. It buys us not having to wrap tiddler titles in double
square brackets if they contain spaces.
Another thing is that this scheme doesn’t support tiddler filters; the
plan is to support them like this:
http://tiddlywiki.com/#!Target%00%00[tag[task]sort[created]]
2014-05-02 19:21:32 +01:00
Jermolene
cb914ae853
Remove dead code typo
2014-05-02 18:07:47 +01:00
Jermolene
a4294b55f0
Add banner for binary tiddlers in edit mode
...
Makes it easier to add tags to a binary tiddler (eg a PDF).
2014-05-02 09:43:39 +01:00
Jermolene
bced7124e4
Accept single quotes for attributes in TW files
2014-05-01 17:58:49 +01:00
Jermolene
f5848c395a
Fix problem with editing tiddler titles
...
The check whether a draft has been modified was ignoring changes to the
title.
Fixes #593
2014-05-01 17:39:37 +01:00
Jermolene
f6bd3b8c37
Optimise the all filter operator
...
Seems like quite a decent optimisation.
2014-04-30 22:50:47 +01:00
Jermolene
21b2d6fdc7
Allow filter operators to return an iterator
...
Previously filter operators were only permitted to return an array of
tiddler titles
2014-04-30 22:50:17 +01:00
Jermolene
fcb26419a6
Clear the tiddler event queue on startup
...
To avoid an unnecessary refresh cycle
2014-04-30 22:49:02 +01:00
Jermolene
a6f7da6c1c
Suppress refresh cycle if no tiddlers have changed
2014-04-30 22:48:36 +01:00
Jermolene
0ac4c2b554
Allow digits in field names
2014-04-28 15:54:32 +01:00
Jermolene
84cd296c58
Minor tweaks to shadow warning infrastructure
...
1. Moved some methods out of boot.js because they are not needed until
after bootup
2. Added alternate message for editing an overridden shadow tiddler
3. Minor style tweaks
2014-04-28 15:16:31 +01:00
Jeremy Ruston
a90339d1e5
Merge pull request #586 from sukima/feature/issue-570-cancle-unchanged-drafts
...
Fix issue #570 Make it harder to accidentally modify a shadow tiddler
2014-04-28 13:22:44 +01:00
Devin Weaver
075cf544e4
Use new get filter from commit 570cad1c
2014-04-27 17:15:42 -04:00
Devin Weaver
a505b6ffc0
Move isModified from Tiddler to Wiki
...
Replace this with a $tw.wiki.isModifiedTiddler(title) as part of the
wiki object. This allows it to be used outside of the current Wiki which
can change.
2014-04-27 17:15:42 -04:00
Devin Weaver
3bbe53a58e
Move shadowWarning to it's own template segment
2014-04-27 17:15:42 -04:00
Devin Weaver
3be21853e1
Add warning box while editing a shadow tiddler
...
This addresses the third line item of issue #570
TODO: The filter is not working.
TODO: The message is too genaric and needs help.
2014-04-27 17:15:42 -04:00
Devin Weaver
d0636f2124
Add a confirmation to edit a shadow tiddler
...
Should only display the confirmation if the shadow tiddler has not been
overridden in the first place. It checks this by looking for the
existence of a modified field for which the default system based shadow
do not have until a user changes them.
This addresses the second line item on issue #570
We will need new translations for the added string
`ConfirmEditShadowTiddler`
2014-04-27 17:15:42 -04:00
Devin Weaver
5226c7a2fa
Prevent saving un-modified tiddlers
...
When saving a tiddler we check to see if the tiddler has changed
(isModified) if it hasn't then bounce the event to tw-cancel-tiddler
instead.
Addresses first line item in issue #570
2014-04-27 17:15:42 -04:00
Devin Weaver
8611867930
Remove dead code 💀
2014-04-27 17:15:41 -04:00
Jermolene
385c7e207c
Refactor wiki.filterTiddlers()
...
Now we pass a widget instead of the current tiddler title. We can use
widget.getVariable(“currentTiddler”) to get the current tiddler.
2014-04-27 20:03:33 +01:00
Jermolene
61c204366f
Replace hamburger icon with double chevron
...
Fixes #580
Seems much better, especially since the chevron gives us two clear
visual states (left vs. right). The hamburger doesn’t really have a
commonly accepted way of indicating whether the menu is currently open
or not.
2014-04-27 19:28:30 +01:00
Jermolene
570cad1c7f
Add 'get' filter operator
...
Prompted by @sukima’s work on #586
2014-04-27 18:45:01 +01:00
Jeremy Ruston
fac0affa7b
Merge pull request #584 from xcazin/fr-FR
...
fr-FR translations for new Help tiddlers + changes to previous ones.
2014-04-27 08:46:59 +01:00
Jermolene
e9557b578e
Improve output directory handling
...
This change is likely to break most existing scripts that call
TiddlyWiki.
TL;DR - output paths are now relative to the editions/output folder,
rather than to the current folder
See [[Notes for upgrading to 5.0.11-beta]] for details.
2014-04-27 08:28:21 +01:00
Xavier Cazin
fb3a31ae43
Typo: Set => Clear
2014-04-26 11:12:59 +02:00
Jermolene
f7e50e0950
Add --build
command
...
First pass at the build system described in #356 .
To test it, move to a new, empty directory and try `tiddlywiki
editions/tw5.com --verbose --build`
2014-04-25 22:41:59 +01:00
Jermolene
552657fc58
Fix text parser to use codeblocks
...
This means that JavaScript and JSON tiddlers will be properly
highlighted if the highlight plugin is loaded.
2014-04-24 19:41:07 +01:00
Jermolene
d727046948
Revise number of tiddlers in recent changes list
...
Going back to 100; 250 was a typo.
2014-04-24 12:22:31 +01:00
Jermolene
148e77b0e4
Clean up obsolete macro definition
...
Fixes #576
2014-04-24 11:58:42 +01:00
Jermolene
61c3f8a5ba
Remove wikitext tiddlers from "types" sidebar tab
2014-04-22 11:44:27 +01:00
Jermolene
7684891285
Move topbar out of the way of scrollbars
...
In the process getting rid of some extraneous `<p>` tags.
Fixes #566
2014-04-19 11:32:56 +01:00
Jermolene
15d0c27e2a
Add [is[tag]]
filter operator
2014-04-18 17:57:55 +01:00
Jermolene
9fbe72a877
Rearrange system tag configuration
...
By rearranging the `[all[]]` operator we are able to ensure that shadow
tiddlers get processed before ordinary tiddlers. This makes it easier
to create custom stylesheets that override the core.
2014-04-18 09:28:14 +01:00
Jermolene
89165fc51d
Fix problem with sorting date fields
...
Introduced a couple of commits ago when the localeCompare() stuff was
added.
2014-04-17 22:52:57 +01:00
Jermolene
4758874d13
Add path conversions from TiddlyWiki Classic
...
TiddlyWiki Classic converts local file URIs to various local native
formats. The same conversions are now performed by the TiddlyFox
adaptor for TW5.
2014-04-17 22:30:14 +01:00
Jermolene
bb42c0ab36
Use localCompare for sorting strings
...
So that accented characters get sorted correctly. Or at least as
correctly as browsers allow.
2014-04-17 20:15:52 +01:00
Jermolene
73cfd10218
Fix regression with untagged filter operator
...
Restored previous behaviour of considering a missing tiddler to be
untagged.
2014-04-17 16:10:50 +01:00
Jermolene
d336ffea02
Fix incorrect background colour for sidebar tag pills
...
Fixes #568 .
2014-04-17 15:11:59 +01:00
Jermolene
ad4b03506a
Added wikitext image support
...
We’ve added a parser to recognise the `[img[URL or tiddler title]]`
format, and an associated image widget.
2014-04-17 12:52:32 +01:00
Jermolene
ace57dd205
Refactor utilities out of HTML parser
...
Some of the functions are useful general purpose parser helpers.
2014-04-17 12:00:32 +01:00
Jermolene
cd1463cbb0
Get rid of the home button
...
I’m not keen on it because it ends up being very visually prominent for
something that’s not particularly useful.
2014-04-15 20:33:58 +01:00
Jermolene
dad60cda05
Improve wiki.sortByList()
...
Previously list-before and list-after didn’t work if they referenced
entries that hadn’t yet been placed
2014-04-14 21:30:30 +01:00
Jermolene
fe0ed5e4ce
Tweaks to themes
...
And shaking out some paragraph tags in the sidebar
2014-04-14 18:37:09 +01:00
Jermolene
4c648e7cdc
Exclude more illegal characters from external links
2014-04-14 11:17:28 +01:00
Jermolene
0aa559cd23
Improve responsiveness during editting
...
Simple optimisation whereby we defer the main refresh cycle when only
draft tiddlers have been modified.
We defer for 400ms, and keep extending the delay at each fresh draft
modification. The effect is that if the user is using the preview then
they’ll need to pause typing for 400ms before the preview is updated.
Fixes #470 , #454 , and maybe #206 .
2014-04-14 10:20:32 +01:00
Jermolene
28db76ddb3
Refactor page rendering into a separate function
...
Refactoring page rendering so that we can fix the performance issues
with editing drafts. The plan is to defer the refresh cycle if all the
changes are to draft tiddlers.
We need to do a bit more of this to get startup.js into better shape
(and more extensible).
2014-04-14 09:53:13 +01:00
Jermolene
e366aa3746
Use Date.now() instead of new Date()
...
Just for when what we actually want is a millisecond counter.
Interesting video about this:
https://www.youtube.com/watch?v=Vo72W1HWeFI
2014-04-14 09:02:52 +01:00
Jermolene
c2d6086bd9
Show fewer tiddlers in recent changes
2014-04-13 21:17:44 +01:00
Jermolene
f1578d3409
Turn off instrumentation
...
All those console.log()s make editing very slow
2014-04-13 21:17:44 +01:00
Jermolene
93b9d16d6c
Don't include pipe characters in URLs
2014-04-13 21:17:44 +01:00
Jermolene
be5f6f6700
Allow spaces in property names in text references
2014-04-12 17:14:09 +01:00
Jermolene
3afa26b9a3
Require confirmation before abandoning edits
...
Fixes #544
2014-04-12 14:15:49 +01:00
Jermolene
a3cf925e56
Add classes for the current theme and language
...
Add the classes to the tw-page-container DIV
2014-04-11 21:37:58 +01:00
Jermolene
442bc35bcb
Remove dropdown from edit mode tags
...
Firefox didn’t like the nested buttons.
The better fix would be to switch the tag pills to being links instead
of buttons.
Fixes #515
2014-04-10 22:49:46 +01:00
Jermolene
1bc9bf541a
Remove headings from Tiddler Info advanced tab
...
Fixes #518
2014-04-10 21:44:56 +01:00
Jermolene
ccf2cb36a1
Extend sameday operator to select field
...
Now the target field can be specified in the suffix:
`[sameday:created[20140808]]`
2014-04-10 20:19:12 +01:00
Jermolene
7a4a00f6ca
Sort operator should default to title
...
Previously we were crashing if a sort field wasn’t specified
2014-04-10 19:56:21 +01:00
Jermolene
ccefc1b17b
Tolerate more whitespace in block elements
...
Previously the double newlines marking a block mode element couldn’t be
interspersed with whitespace.
2014-04-10 11:05:27 +01:00
Jeremy Ruston
127cd70769
Merge pull request #545 from xcazin/fr-FR
...
fr-FR translation of PaletteColours.multids + typo in core en-GB of the same
2014-04-09 22:20:40 +01:00
Jermolene
fc407d079c
Pixel accuracy for restoring pre-refactor layout
...
Two problems:
* Extraneous whitespace shows up as whitespace in the HTML, making it
hard to style
* Fix some padding
2014-04-09 22:19:27 +01:00
Mario Pietsch
70a2db34d1
these changes remove most of the <p> tags from the right sidebar, without changing the layout too much. The tab buttons are a little bit higher but this will be adjusted with the next CSS tweaks.
2014-04-09 21:12:10 +02:00
Xavier Cazin
4888417a35
fr-FR translation of PaletteColours.multids + typo in core en-GB version.
2014-04-09 19:11:41 +02:00
Jermolene
e5fe3f76ac
Fix linkcatcher message sending
...
We need to send messages to the parent so that we don’t set up an
infinite loop by sending `tw-navigate` messages. Also we need to pass
along the target of the navigation.
2014-04-09 16:09:12 +01:00
Jeremy Ruston
9b52ca7cc0
Merge pull request #543 from welford/load-and-deserialize
...
Make deserializing a bit more robust
2014-04-09 11:51:16 +01:00
Jermolene
f9a274df85
Require confirmation for all tiddler deletions
...
Previously we only asked for confirmation when deleting a draft tiddler
2014-04-09 11:32:08 +01:00
Jermolene
f08c4aa525
Arrange fields alphabetically in the edit template
2014-04-09 11:31:27 +01:00
James Welford Anderson
362df18a19
make deserializing a bit more robust
...
load.js references the encoding set in boot.js when loading a file.
boot.js can now register file type with different deserialization from
their actual type
2014-04-09 06:20:51 +09:00
Jermolene
426281539a
Merge branch 'saner-filters'
2014-04-08 14:14:11 +01:00
Jermolene
3282bd948f
Fix problem with search filter operator
2014-04-08 09:36:30 +01:00
Jermolene
5ec0775d3e
Link wikitext help text to tiddlywiki.com
...
Fixes #537
2014-04-07 18:08:11 +01:00
Jermolene
597b8ca4b1
Ensure fieldnames are not wikified
...
`__proto__` was being wikified into underlined text
2014-04-06 22:49:59 +01:00
Jermolene
1e960ffcac
Fix problems with tiddlers called __proto__
...
Background:
http://www.2ality.com/2012/01/objects-as-maps.html
2014-04-06 22:43:10 +01:00
Jermolene
b51d851f93
Fix extraneous comma
...
Thanks to Danielo Rodríguez
2014-04-06 22:09:42 +01:00
Jermolene
c7b4febae3
Optimise ordering of filter expressions
...
We get a significant speed improvement of >10% by rearranging filter
operators to bring to the front the operators likely to reduce the size
working list.
2014-04-06 11:50:16 +01:00
Jermolene
4d91a7762e
Optimise link widget
...
Handle the classes better, and stop using a default tooltip (parsing
the tooltip was a performance hog)
2014-04-05 17:37:58 +01:00
Jermolene
272a4bbe61
Filtering optimisations
2014-04-05 17:31:36 +01:00
Jermolene
b7f674c51a
First pass at refactoring filter execution
...
This is the beginning of addressing #523 .
2014-04-03 20:49:16 +01:00
Mario Pietsch
1940bd4dce
right menue SiteTitle and SiteSubtitle decoupled from tiddler title and tiddler subtitle. Otherwise it is not possible to modify the tiddler title styling, without affecting the site title.
2014-04-01 10:34:58 +02:00
Jermolene
d402d3c5a6
Add performance measurement features
...
This is an experimental module to help us measure the performance of
the refresh cycle and the filter mechanism. Not intended to replace the
performance measurement features in browser developer tools, just to
make it easier to automate performance checks cross-browser.
The immediate purpose is to help in refactoring the filter mechanism.
The recent change to encapsulate the wiki store “tiddlers” object has
hurt the performance of filters, and it’s going to be helpful to have
decent measurements while refactoring that code.
I’m still not convinced that this stuff should be in the core, and may
well end up removing it after the present refactoring cycle.
2014-04-01 08:33:36 +01:00
Jermolene
dcce487934
Add support for platform dependent high resolution performance timers
...
For profiling filter performance
2014-03-31 18:42:30 +01:00
Jermolene
c3e24c1228
Trim spaces from new field and tag names
...
Fixes #517
2014-03-31 17:59:28 +01:00
Jermolene
6307293469
Fix some Node.js cross-platform compatibility issues
...
Thanks to http://shapeshed.com/writing-cross-platform-node/
Surprising that file path format is pretty much the only issue.
2014-03-31 17:17:36 +01:00
Jeremy Ruston
0d0679de1b
Merge pull request #514 from Skeeve/patch-6
...
Show site title when logging in
2014-03-31 12:59:15 +01:00
Jermolene
09214d1c33
Fix problem with --load
command overwriting $:/core
...
Now we use the `wiki.importTiddler()` method - it rejects attempts to
load older versions of loaded plugins
2014-03-31 12:46:10 +01:00
Jermolene
914a536d82
Correct relative date handling of t=1s
...
We were incorrectly displaying “1 seconds ago”
2014-03-31 12:41:54 +01:00
Jermolene
5a085f7927
Add basic CSV parser
2014-03-31 12:41:02 +01:00
Skeeve
0595619d39
Show site title when logging in
...
I have several TW5 servers running on the same host and think it would be good, would the password prompt display the $:/SiteTitle
2014-03-31 08:58:13 +02:00
Jermolene
ec90ac99cf
Skinner dropdown arrow
2014-03-27 08:54:28 +00:00
Jeremy Ruston
818b29386e
Merge pull request #504 from buggyj/58texthtml
...
added missing text/html type
2014-03-26 21:49:45 +00:00
Jermolene
c58852a67b
On narrow screens ensure there is a background behind the home and menu buttons
2014-03-26 14:11:26 +00:00
Jermolene
bca1d55280
Add validation of legal characters for fieldnames
2014-03-26 13:38:43 +00:00
Jermolene
45a362c285
Add a dropdown to tags in edit mode
...
As discussed in TW Hangout 40
2014-03-26 13:06:11 +00:00
Jermolene
871630be88
Fix the menu hamburger
2014-03-26 10:16:00 +00:00
Jermolene
59ac38a3da
Remove the scrollable from the story river
...
The problem was that the scrollable required that the mouse be over the
story river itself in order to scroll it with the wheel. If we fallback
to scrolling the story by scrolling the browser body then we are able
to scroll even if the mouse is over the sidebar.
2014-03-25 22:15:54 +00:00
Jermolene
80b65b1651
Add a top-left and top-right menu
2014-03-25 21:54:06 +00:00
Jermolene
79d643775d
Fix scrollable widget not to crash on the server
2014-03-25 14:37:33 +00:00
Jermolene
7c235566c4
Rejig the page layout to use the scrollable widget
...
This is the start of some refactoring of the main layout CSS intended
to give us more flexibility and control.
2014-03-25 14:29:16 +00:00
Jermolene
d3e178becc
Add scrollable widget
...
A new widget to handle scrollable areas. We’ll use it both for the
story river and the sidebar.
2014-03-25 14:26:54 +00:00
Jermolene
535837e017
Use client bounding rect rather than offset positions for computing scroll positions
2014-03-24 22:31:03 +00:00
Jermolene
20f6383528
Add storyviews list filter and use it in view switcher
2014-03-24 22:17:45 +00:00
Jermolene
3ce2159a95
Missing semicolon
2014-03-24 21:35:48 +00:00
buggyj
968d44e4be
added missing text/html type
2014-03-24 11:31:28 +05:30
Jeremy Ruston
03cfa61ae8
Merge pull request #494 from nameanyone/master
...
Stop using obsoleted "-moz-border-radius" and "-webkit-border-radius" pr...
2014-03-20 22:19:45 +00:00
Jeremy Ruston
4badabce4b
Merge pull request #496 from buggyj/syncer
...
syncer freeze fix
2014-03-20 20:58:50 +00:00
Jermolene
178cfb1084
Make more core strings be translateable
...
Now we’re translating strings that occur in JavaScript modules.
Partially fixing #491
2014-03-20 20:55:59 +00:00
buggyj
aa63151815
syncer freeze fix
2014-03-19 20:20:54 +05:30
Jermolene
ba6edd42c1
Explicitly blacklist unsafe elements, starting with <script>
...
Are there are any other elements that might be considered unsafe?
2014-03-19 10:05:44 +00:00
nameanyone
7616c4ce7d
Stop using obsoleted "-moz-border-radius" and "-webkit-border-radius" properties
...
Fixes #480
2014-03-18 16:38:52 -07:00
Jermolene
925b3d2a5b
Fix typo
2014-03-18 21:18:46 +00:00
Jermolene
b8d0fd059b
Fix bug with plugintiddlers filter operator
2014-03-18 21:18:45 +00:00
Jermolene
bdbbf94326
Update transclusion wikitext syntax to allow a template without a target tiddler
...
This allows us to transclude a tiddler without changing the current
tiddler with `{{||MyTiddler}}`.
2014-03-17 21:44:10 +00:00
Jermolene
cdf3e101a8
Fix crash with headings
...
`this.match[1].length` can get overwritten when we parse the content of
the heading
2014-03-17 20:55:08 +00:00
Jermolene
06500e5f71
New error message text for recursive transclusion error
2014-03-17 11:54:41 +00:00
Jermolene
9de17aa206
Make shadowTiddlers, pluginTiddlers and pluginInfo be private to the Wiki object constructor
2014-03-17 10:50:18 +00:00
Jermolene
721e333a20
Starting to make the members of $tw.Wiki be private
...
We want to avoid plugins from directly accessing the tiddlers hashmap.
Later we’ll do pluginTiddlers, pluginInfo and shadowTiddlers.
2014-03-16 21:23:10 +00:00
Jermolene
499730c458
Remove whitespace between toolbar icons
2014-03-15 17:04:12 +00:00
Jermolene
baa8cf3dd0
Add a warning segment to templates for TWC tiddlers
...
Now there’s a warning banner on all TWC tiddlers. It includes an
`upgrade` button that currently just flips the tiddler type to TW5
2014-03-15 17:03:50 +00:00