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