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