Jermolene
2ab0facf3a
Extend button widget to allow navigating to a tiddler
...
Fixes #327
2014-02-22 16:13:16 +00:00
Jermolene
9e0f1240c5
Change SiteTitle/SiteSubtitle into $:/SiteTitle and $:/SiteSubtitle
...
To make things more consistent
2014-02-22 11:39:18 +00:00
Jermolene
199fdb090d
Convert @giffmex themes into colour palettes
...
Although there are some style changes in the existing themes they’re
mostly a matter of a changed palette.
@giffmex - I’ll send you a prerelease of 5.0.8 so that you can tweak
the palettes if you’ve got time.
2014-02-22 11:00:51 +00:00
Jermolene
d6a44b67a3
Fix control panel modules tab
2014-02-22 08:57:39 +00:00
Jermolene
75ff9fb6c0
Allow the end of text to be treated as a linebreak for parsing HTML tags
2014-02-22 08:43:03 +00:00
Jermolene
0961b0426b
Use import report tiddler only if more than one tiddler is imported
...
If there’s only one, just display the tiddler itself.
2014-02-21 20:17:34 +00:00
Jermolene
dfbb6e1fba
Ensure that $:/isEncrypted is reset if modified
2014-02-21 18:21:10 +00:00
Jermolene
31975e0042
Update importing so we don't open every imported tiddler
...
Instead we just display a report with links to each imported tiddler.
Should make importing much faster.
2014-02-21 18:21:10 +00:00
Jermolene
cb5b95add2
Extend fakedom to support .value property
...
So that 88ffb2ad12
will work on the server
2014-02-21 15:43:25 +00:00
Jermolene
4ee277f41b
Fix some missing translateables
2014-02-21 14:27:49 +00:00
Jermolene
68bcbff753
Rough and ready control over bitmap editor line width and colour
...
Fixes #414
2014-02-21 14:06:04 +00:00
Skeeve
d5c31ed07f
Update navigator.js
...
As described here: https://groups.google.com/d/msg/tiddlywikidev/AWvXz7RMIC4/gFF5crN2UJoJ
Providing a name for the new tiddler message only works if a skeleton tiddler already exists. If not, "New Tiddler" is taken. This change fixes that in that the provided name is taken even if there is no skeleton.
2014-02-21 10:37:20 +01:00
Jermolene
ec0769d7ca
Fix typo
...
Fixes #417 , thanks @pmario
2014-02-21 09:11:27 +00:00
Jermolene
c17844b815
Another fix for the block vs inline handline
2014-02-20 22:43:04 +00:00
Jermolene
279f32080d
Start to make the core templates more readable
...
Yay for line breaks.
2014-02-20 22:22:45 +00:00
Jermolene
06a0d21734
Use double linebreaks to indicate content of a widget or html element should be parsed in block mode
...
Fixes #82 .
The old behaviour was to parse the content of a widget or html element
in block mode if the opening tag was followed by a line break. The new
behaviour requires two line breaks.
This makes it possible to include linebreaks more liberally within
wikitext, although care must still be taken to only use double line
breaks when the block mode behaviour is desired.
The code change here is very simple, just a single line change in
html.js. Most of the other changes are to convert various single line
breaks into double line breaks.
2014-02-20 21:42:31 +00:00
Jermolene
8f9d88f25b
Fix static stylesheets
2014-02-20 19:28:17 +00:00
Jermolene
e88f8ad4e9
Fix typo with <<color>> macro
2014-02-20 19:12:05 +00:00
Jermolene
0480bf023d
Fix static CSS generation
2014-02-20 18:33:01 +00:00
Jermolene
e3c1906eaf
Make the show/hide editor button be translateable
...
Missed by accident from earlier commit
2014-02-20 17:53:23 +00:00
Jermolene
f4c7a269bd
Allow "<<color>>" as a synonym for the "<<colour>>" macro
...
Entente cordiale!
2014-02-20 17:14:27 +00:00
Jermolene
921ff6ae39
Make palette editor translateable
2014-02-20 16:07:03 +00:00
Jermolene
b9e72fb676
Move starlight themes macros into the core
2014-02-20 15:59:44 +00:00
Jermolene
d21fb85d94
Change .tids
file extension to .multids
...
Hopefully less confusing
2014-02-20 10:27:02 +00:00
Jermolene
bcd86d5861
Add palette editor
2014-02-20 10:00:38 +00:00
Jermolene
5417b8c4d7
Add 'indexes' filter operator
...
Returns the indexes within a data tiddler.
We’re about to use this to enumerate the colours within a palette.
2014-02-20 10:00:13 +00:00
Jermolene
2744671211
Fix generateTitle to avoid clashing with shadow tiddlers
2014-02-20 09:58:01 +00:00
Jermolene
88ffb2ad12
Fix problem that was causing Chrome to display black in colour picker swatches
...
Hurrah!
2014-02-20 09:57:44 +00:00
Jermolene
a186b6f978
Remove duplicate definition
2014-02-19 21:22:36 +00:00
Jermolene
e1dfb621f5
Add colour swatches to palette switcher
2014-02-18 13:59:11 +00:00
Jermolene
c999d82a23
Palette and theme tweaks
2014-02-17 22:45:46 +00:00
Jermolene
118b841aa2
More palette tweaks and polish
2014-02-17 17:30:02 +00:00
Jermolene
ca1daf5a4e
First pass at switchable colour palettes
...
Fixes #410
Still some cleaning up to do, and we need a way for incomplete palettes
to inherit from a base palette.
2014-02-17 12:09:10 +00:00
Jermolene
5e9dae8fb4
Fix view widget so that it works with indexes
2014-02-17 11:28:48 +00:00
Jermolene
d00a82e9e9
Put language files in alphabetical order
2014-02-17 08:58:53 +00:00
Jermolene
3307604130
Make type information translateable
2014-02-16 19:58:53 +00:00
Jermolene
1ff8d225d9
Rejig the control panel to use nested tabs for Appearance and Advanced
2014-02-16 19:33:18 +00:00
Jermolene
489509c810
Add missing field descriptions
2014-02-16 19:11:11 +00:00
Jermolene
df8ff9eb26
Make the control panel "internal" tab translatable
2014-02-16 19:02:24 +00:00
Jermolene
e051eb7d90
Making more things translateable
...
Now we’re done with the text that lives in tiddlers, and we’ll need to
get on with the text that is embedded in code modules.
2014-02-16 09:46:43 +00:00
Jermolene
75b9de222e
Add a demo of alerts and tweak styles
2014-02-15 17:36:49 +00:00
Jermolene
5a45fffa9e
Get the remaining core control panel tabs prepared for translation
...
We’ll do ThemeTweaks separately as it’s part of the Vanilla theme
2014-02-15 13:29:24 +00:00
Jermolene
a763610db1
Get rid of the separate language prompt tiddler
...
More consistent to stick with .tids files
2014-02-15 11:36:00 +00:00
Jermolene
c43cd325ca
Reduce the inconsistent use of "language" vs. "lingo"
...
Now we’re just using the word “lingo” for the macro defined in
PageTemplate (where the abbreviation is useful), and using the full
word “language” everywhere else.
It’s possible that we should be using “locale” instead of “language”,
what do you think?
2014-02-15 11:32:11 +00:00
Jermolene
69c0b5e031
Fix problem with pasting items into the browser
2014-02-14 20:00:23 +00:00
Jermolene
bea8730a47
Fix problem with tiddlers of the type text/css
...
Fixes #395
2014-02-14 19:25:38 +00:00
Jermolene
4836cf83e2
Enhance alerting to coalesce repeated alerts with the same text
2014-02-14 10:29:26 +00:00
Jermolene
44678b2ea2
Better not to use relative dates for alerts
...
Relative dates don’t autorefresh at the moment.
2014-02-14 10:00:02 +00:00
Jermolene
70a120d4a6
Expand the logging mechanism to support alerts overlaid on the main screen
...
Now we get decent visual indication of sync errors, for instance. Still
work to do to coalesce alerts so that the screen doesn’t fill up with
them after an interval. And probably we should add a button to clear
all alerts.
2014-02-14 07:53:41 +00:00
Jermolene
9bb600299f
Extend the navigator widget to maintain the "current-tiddler" field on the history list
2014-02-13 17:59:51 +00:00
Jermolene
9db887748b
Extend setTiddlerData() to set arbitrary fields
2014-02-13 17:59:33 +00:00
Jermolene
800bc639f9
Fix problem with the reveal widget not refreshing properly when used with text references
...
The check for changed tiddlers was failing because `this.stateTitle`
contains the entire text reference, not just the tiddler title.
2014-02-13 17:59:10 +00:00
Jermolene
ad4e7ccb17
Add experimental support for building plugins in the browser
...
It’s a bit rough and ready, but works.
2014-02-13 14:23:27 +00:00
Jermolene
4654f6b971
Fix default tab in the "more" sidebar tab
2014-02-13 14:06:20 +00:00
Jermolene
470beabf17
Enhance links so that control/command clicking suppresses navigation
...
Control- or Command-clicking on a link will now open the target tiddler
but suppress navigating to it. Kind of like opening in a background tab.
2014-02-12 22:00:12 +00:00
Jeremy Ruston
523eae83ff
Merge pull request #407 from Skeeve/regexp_filter
...
fixed an awful typo in the regexp
2014-02-12 21:38:54 +00:00
Jermolene
ca0c352278
Extend the transclude widget to fallback to displaying it's child nodes if the target isn't defined
2014-02-12 21:38:37 +00:00
Stephan Hradek
0dc8de9dd2
fixed an awful typo in the regexp
...
The regexp fails when backslashes are used in the search-regexp. The closing bracket was at the wrong position.
2014-02-12 22:34:13 +01:00
Jermolene
ecad2bf7a8
Add better control over whether tiddlers are transcluded in block or inline mode
2014-02-12 17:59:28 +00:00
Jermolene
8b3bfa6805
Allow [title[Blah]] to match missing tiddlers
...
Fixes #404
2014-02-12 16:01:20 +00:00
Jermolene
d5b526914b
Simplify the regular expression for HTML comments
...
We were getting catastrophic backtracking in Chrome for some input
texts where the closing “—>” of the comment was omitted.
2014-02-12 15:24:03 +00:00
Jermolene
5c66bc6dbc
Update the reveal widget to allow control over content retention
...
Thus bringing back the animation of the opening and closing of the info
panel.
2014-02-12 08:32:19 +00:00
Jermolene
dd451800c7
Specify encoding for incoming requests
...
Fixes #397
2014-02-11 19:42:45 +00:00
Jermolene
190ced7cdd
Sync from server even when not logged in
2014-02-11 19:10:40 +00:00
Jermolene
daa79a8612
Move the en-GB language plugin into the core
...
We need to have the default language baked into the core so that we
don’t have problems if no language plugins are available.
2014-02-11 13:20:17 +00:00
Jermolene
441d9078fa
Coding style tweaks for #399
2014-02-10 17:34:10 +00:00
Jeremy Ruston
f0ab607ea1
Merge pull request #399 from shendaras/patch-1
...
getRelativeDate: support for negative deltas
2014-02-10 17:33:08 +00:00
Jermolene
ecba4f71ea
Clean up the highlight plugin
...
Fixing various issues that were preventing language specifiers from
working.
2014-02-10 13:51:38 +00:00
Jermolene
e003889171
Start translating the control panel
2014-02-09 20:34:58 +00:00
Jermolene
a2cbc2deb5
Rejig the tabs macro to wikify captions
...
This will allow us to translate tab captions
2014-02-09 19:19:40 +00:00
Jermolene
dea08ed4f8
First pass at language plugins for internationalisation
...
Still quite a few details to work out, but this shows the basic idea of
re-using the theme mechanism to handle language plugins.
Comments and questions welcome.
2014-02-09 19:18:46 +00:00
Jermolene
73c30716dc
Unlinkify the current theme name
...
Having it link to the underlying plugin tiddler isn’t very useful
2014-02-08 17:29:42 +00:00
Jermolene
8ad34e2db9
Refactor the theme switcher to be a generic plugin switcher
2014-02-08 09:29:37 +00:00
Jermolene
b26a32b93a
Remove obsolete stylesheet helper
2014-02-08 09:29:11 +00:00
Jermolene
828fc9dcd0
Autosave when deleting a tiddler
2014-02-07 10:14:10 +00:00
Jermolene
f0d512edf0
Remove extraneous autosave attribute from navigator widget
...
Inadvertently committed.
2014-02-07 10:12:45 +00:00
Jermolene
2758e586bd
Add a "filter" tab to advanced search
2014-02-07 10:07:57 +00:00
Jermolene
dbd63e6fe7
Move some system tiddlers into the right name space
...
The tiddlers temporarily used for adding new fields and tags should be
in the $:/temp namespace so that they don’t dirty the store
2014-02-06 22:20:58 +00:00
Jermolene
a01bbd4b9c
Add automatic saving and warning on exit with unsaved changes
...
We re-use some of the existing syncer mechanism. It was already keeping
track of changes to tiddlers in the store when working with a tiddler
syncadaptor. Now it also tracks changes when there is no syncadaptor,
allowing us to provide a warning if there are unsaved changes.
2014-02-06 21:36:30 +00:00
Jermolene
6d3d3322e5
Fix problem in server with URI encoding of titles in etags
...
Fixes #398
2014-02-05 19:39:29 +00:00
Daniel Barrett
d02ce5dbf3
oops, actually correct delta
...
Actually change delta to a positive number to get the logic the same.
2014-02-05 12:37:37 -06:00
Daniel Barrett
32f290dc13
getRelativeDate: support for negative deltas
...
Add support for format="relativedate" to be used when the date is in the future.
2014-02-05 11:44:01 -06:00
Jermolene
1d685df928
Add support for autosave
...
Causes the wiki to be autosaved whenever clicking “done” after editing
a tiddler. Only works with savers that support autosave. We should
probably make autosave configurable
2014-02-04 21:21:01 +00:00
Jermolene
4882f70557
Clearer explanation of key descriptor syntax
2014-02-04 20:05:34 +00:00
Jermolene
7eafd51a7d
Use placeholder text for editing missing tiddlers
...
Fixes #387
2014-01-30 17:39:32 +00:00
Jermolene
e6fa9b8a85
Add number of tags to control panel "Basics" tab
2014-01-30 16:51:36 +00:00
Jermolene
d72d245523
Remove "escape" keyboard shortcut for abandon editting
...
Too easy to trigger accidentally, until we have confirmations.
2014-01-30 16:26:50 +00:00
Jeremy Ruston
7b054440ca
Merge pull request #374 from Skeeve/patch-1
...
Update utils.js
2014-01-30 08:24:00 -08:00
Jermolene
e3a05625b2
Add experimental keyboard shortcut widget
...
It’s not cool that we have to use a separate keyboard widget for each
keyboard shortcut.
Fixes #386
2014-01-30 13:40:36 +00:00
Jermolene
0c20092644
Refactor the image parser to avoid generating badly formed image src's
...
Previously, a transclusion of a skinny image tiddler (ie one where the
body has yet to be loaded) would render a broken image.
2014-01-29 19:11:05 +00:00
Skeeve
758d461823
Update utils.js
...
I think /\\/g is wrong as it will remove every \ from the string. I think, the usual way of keeping the following character is more appropriate.
2014-01-29 13:43:34 +01:00
Jermolene
fa59382215
Add support for serving TW5 with lazily loaded images
2014-01-29 09:05:00 +00:00
Jermolene
02ba92c6b5
Add [is[image]]
filter operator
2014-01-29 09:04:41 +00:00
Jermolene
3b255561b7
Add text/css to the type dropdown
2014-01-28 15:24:20 +00:00
Jermolene
59379b14fa
Remove extraneous shadow tiddlers
2014-01-28 15:24:08 +00:00
Jermolene
70ed6e6ad3
Fixed problem with list filter
...
A bug was preventing the tiddler title from being omitted in the list
filter (ie, [list[HelloThere!!field]] worked, but [list[!!field]] did
not.
2014-01-27 16:24:28 +00:00
Jermolene
dfc57ffa49
More logging
2014-01-26 20:59:30 +00:00
Jermolene
3f9561dd95
Better logging
2014-01-26 18:53:31 +00:00
Jermolene
69d342d46a
Stop the reveal widget caching hidden content
...
Previously, when displayed content is hidden by the reveal widget there
was an optimisation such that the content was retained in the DOM but
hidden using CSS, so that it could be shown again quickly.
It turns out that a sideeffect of that optimisation is that clicking
through all the sidebar tabs leaves them all active, so that they all
need to be refreshed whenever a character is typed in an editor.
This commit suppresses the optimisation, so that hidden content is
removed from the DOM and the render tree.
2014-01-26 09:57:46 +00:00
Jermolene
762940adbc
No longer save system modules separately in the main HTML template
...
These tiddlers were being handled as `<script>` tags to make it easier
to debug them. But in fact modern dev tools are quite happy to debug
code that has been eval’d, and this arrangement was causing problems
for importing.
Fixes #335
2014-01-25 21:22:43 +00:00