1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 01:33:16 +00:00
Commit Graph

460 Commits

Author SHA1 Message Date
Jermolene
adf45b3468 Add a bulk delete button
I needed this in my day job, but think we need to do better on bulk
operations
2016-02-05 18:44:43 +00:00
Jermolene
f61bb316b2 Adjust version number for 5.1.12 2016-01-31 21:46:29 +00:00
Jermolene
d240ab5003 Fix broken plugin library
Fixes #2260
2016-01-29 17:16:16 +00:00
Jermolene
64efee40e5 Retracting #2147
The problem is that this change scrambles the ordering of tabs that use
programmatic ordering, for example here:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/ti
ddlers/releasenotes/TiddlyWiki_Releases.tid#L13
2016-01-07 16:48:51 +00:00
Jermolene
0747635fba Fixed current tiddler overwrite in tabs macro
Fixed a side-effect of 03519c14b0 from
@matabele whereby the current tiddler is overwritten by the
`<$tiddler>` widget, which means that it is not accessible when
rendering the caption of the tab.

This causes a problem with eg the “Add Plugins” modal where it breaks
the count on the tabs.
2016-01-07 12:40:10 +00:00
nameanyone
747eb9daba Remove spaces between horizontal tabs 2015-12-29 00:02:19 -08:00
William Jackson
b7c2063f63 Added sorting on 'order' field by default
What do you think of this idea?
2015-12-24 09:02:33 +02:00
William Jackson
03519c14b0 Added tooltip option
Tooltips should be entered in the 'tooltip' field of each tab tiddler
2015-12-23 20:55:03 +02:00
Myeongjin
a0468a5e6c add localisable strings for plugin library 2015-10-18 18:33:59 +09:00
Jermolene
e31abf89ac Fix accidental commit of wrong default performance instrumentation setting 2015-10-14 12:01:35 +01:00
Jermolene
33563d01ba Add user interface for enabling performance instrumentation 2015-10-14 10:59:55 +01:00
Jermolene
6add992bf2 Fix issue with tiddlers such as $:/templates/something not being synced
Fixed #2002
2015-10-08 15:10:46 +01:00
Jermolene
b27a41eb86 Hide the fold-bar by default 2015-09-27 22:53:46 +01:00
Jermolene
cf00658ddf Add full-width "unfold" button for folded tiddlers
And also a full-height “fold” button for unfolded tiddlers.

Trying to address #1908
2015-09-18 19:45:34 +01:00
Jermolene
b641cb402d Add banner for unfolding tiddlers 2015-09-18 19:45:34 +01:00
Jermolene
3a700c025d Fix thumbnail macro tiddler title 2015-09-09 17:46:42 +01:00
Evolena
a25955d8c6 Fix thumbnail macro when no caption parameter is provided 2015-09-08 20:32:07 +02:00
Jermolene
73f3244113 Hide the fold-all and unfold-all buttons by default 2015-08-31 15:48:43 +01:00
Jermolene
ac08dc2e35 Added fold/unfold all buttons
More translations, @BramChen, apologies…
2015-08-09 17:25:01 +01:00
Jermolene
4152fbbfeb Use different wording for unfolding vs folding
Apologies for making more work @BramChen!
2015-08-09 16:40:58 +01:00
Jermolene
16c69bb419 Tweaks to fold button 2015-08-09 16:11:37 +01:00
Jermolene
5d43cd7408 Add fold tiddler toolbar button
Addressing this tweet:
https://twitter.com/s_stryjecki/status/629349768280604672
2015-08-09 11:10:04 +01:00
Jermolene
7421616754 Make keyboard shortcuts configurable
Fixes #1892
2015-08-08 13:43:14 +01:00
Jermolene
d5e690a06d First pass at global disabling of parser rules
This is to address #1875 more quickly than via #345.

This commit only includes a partial implementation of the UI - see the
ticket for details.
2015-07-30 12:28:29 +01:00
Jermolene
7dddc925ae Allow delete button to be used in view toolbar
Fixes #1871
2015-07-08 15:33:18 +01:00
Jermolene
f3b5dc530e First pass at selectable toolbar button styles
There’s not much to making the toolbar button styles switchable: the
change to the PageTemplate introduces a new configuration tiddler that
controls the button styling. Most of this commit is the user interface
for changing that setting, including the translatable text. I think
this again demonstrates that we need to be very selective about which
configuration options have a UI included in the core. Otherwise, a few
dozen more of these settings will start to become a significant
fraction of the core.
2015-07-02 08:57:06 +01:00
Jermolene
a89ae45188 Add hidden setting for autofocusing search box
Fixes #1748
2015-06-19 17:28:57 +01:00
Jermolene
37f5a9f725 Update plugin library versions 2015-06-15 15:42:52 +01:00
Jermolene
0d5033e2a0 Add title links setting 2015-06-13 15:22:50 +01:00
Jermolene
b5ad255d0c Allow drafts typing timeout to be configured 2015-05-11 20:15:42 +01:00
Jermolene
97fd1330d6 Disable wikilinks within tab buttons
Thanks to @BramChen for the suggestion:
https://github.com/Jermolene/TiddlyWiki5/issues/1697#issuecomment-990092
50
2015-05-05 21:48:48 +01:00
Jermolene
02acbb1169 Hide palette page control button by default 2015-05-05 21:47:47 +01:00
Jermolene
789069bb6b Add palette page control button 2015-05-05 18:53:35 +01:00
Jeremy Ruston
4656a7e8f6 Merge pull request #1662 from felixhayashi/feature/navigator_widget
upgrading the navigator widget
2015-05-04 20:21:38 +01:00
Felix Hayashi
9693f97b16 upgrading the navigator widget
Motivation / Agenda

* https://github.com/Jermolene/TiddlyWiki5/issues/1651
* https://github.com/Jermolene/TiddlyWiki5/issues/1650

Summary

* Changed the NavigatorWidget (primarily `addToStory()`)
* Applied lingo to settings
* Applied lingo to selectbox options
2015-05-03 13:24:16 +02:00
Jermolene
41d5031279 Position and hide the open-window button 2015-05-03 08:49:49 +01:00
Jermolene
3567e4c2c7 Palette editor: use colour name if description not available 2015-04-28 09:10:57 +01:00
Hong-Yi Dai
279ae2af79 Add the missing operator to sameday
Otherwise, the `sameday` macro will default to `modified`.  In case the user set `dateField:"created"` when calling `timeline`, the result will be inconsitent.
2015-04-09 11:10:09 +08:00
Jermolene
6314d7f8ba Fix thumbnail macro to set foreground colour for icons 2015-04-01 14:06:59 +01:00
Jermolene
2186a393a7 Simplify the link panels 2015-03-25 11:11:18 +00:00
Jermolene
b31237c86d Front page link panels prototype
Starting to explore #1609
2015-03-23 16:05:25 +00:00
Jermolene
5b38f2a17c Remove youtube specificity from thumbnail macros 2015-03-23 11:36:11 +00:00
Jermolene
66f4faaef4 Better margin and style handling for youtube macro 2015-03-22 19:52:09 +00:00
Jermolene
9c27d22ea6 Add caption and tweak styling for youtube macro
More fixes for #1547
2015-03-22 18:01:46 +00:00
Jermolene
542372c722 Replace big red introduction video with thumbnail
Hopefully fixes #1547
2015-03-22 17:35:37 +00:00
Jermolene
cf11741df9 Include the version number in the plugin library path
See also:
https://github.com/Jermolene/build.jermolene.github.io/commit/a00a8a6df6
09ef5e4b2ed85039da72780ac81512
2015-03-16 15:44:24 +00:00
Jermolene
42499ea6ff Minor tweaks and fixes for #1529
1. Display friendlier caption field in select dropdown
2. Remove extraneous line break from end of default config tiddler
3. Minor wording tweak
2015-03-03 18:10:01 +00:00
Felix Hayashi
21b738936f setting default sidebar tab 2015-02-25 17:53:32 +01:00
Jermolene
120b1737a6 Ensure $:/StoryList is synced in client-server configuration
Fixes #1474
2015-02-09 22:02:23 +00:00
Jermolene
b66db0dca9 Improvements to display of plugin libraries 2015-02-09 19:41:28 +00:00
Jermolene
8643278a45 Add support for an integrated plugin library
Fixes #1450

Provides support for an integrated plugin library that can be used to
install plugins from tiddlywiki.com directly to wikis hosted online or
offline. See the Plugins tab of Control Panel.

Todo:

* Error checking(eg libraryserver.js HTTP GET)
* Translatability
* Documentation
** $:/tags/ServerConnection
** savelibrarytiddlers command
2015-02-09 19:04:11 +00:00
Tobias Beer
7ec42f93ec updated $:/tags/PageTemplate
reverted topleftbar & toprightbar
2015-01-28 01:13:29 +01:00
Xavier Cazin
203cb17271 Use the toc-caption() utility macro in Tabbed ToCs as well 2015-01-05 10:59:28 +01:00
Jermolene
af906e4b73 Force filenames for downloading empty and full wikis 2014-12-19 15:20:07 +00:00
Jeremy Ruston
a3a0002bbc Merge pull request #1221 from xcazin/timeline
Move the title display into a macro so that it can be globally overridden
2014-12-12 11:40:51 +00:00
Xavier Cazin
4afca0e2b8 Move the title display into a macro so that it can be overridden
Extension of the idea of 5b38c21a41
2014-12-12 12:33:11 +01:00
Jermolene
5b38c21a41 Disable links when transcluding caption field in toc macro
@BramChen does this work for you?
2014-12-11 17:00:57 +00:00
Jermolene
ef9878802a Transclude the caption field in toc macro
For consistency with the way that tabs work.

To see this in action, on tiddlywiki.com open the tiddler
`$:/tags/ControlPanel` and edit it to add the tag “TableOfContents”.
You’ll see the control panel appear at the bottom of the table of
contents.
2014-12-10 15:42:38 +00:00
Jermolene
31b5eb1578 Allow shadow tiddlers to appear in table of contents macro 2014-12-10 15:41:11 +00:00
Jermolene
957a8608ad Sort language switcher by description
Thanks @BramChen
2014-12-06 15:55:28 +00:00
Jermolene
ab129a620e Add basic tag macro 2014-12-06 13:44:08 +00:00
Jermolene
d4abd1722c Fixes for tabbed TOC
Re-fixes #1185
2014-12-02 23:47:23 +00:00
Jermolene
1e7d9bd3cd Move tabbed toc heading into default template
Fixes #1185
2014-12-02 23:05:54 +00:00
Jermolene
b220c19fb7 Add a template to the tabbed TOC macro
Fixes #1177
2014-12-02 20:27:02 +00:00
Jermolene
e6043b07b9 Update export button to use tiddler title as filename base 2014-11-22 14:19:10 +00:00
Jermolene
b882a0dff1 Fixes to make nested popups work
Thus making the export button a lot more useful
2014-11-21 17:07:03 +00:00
Jermolene
48052130d2 Clarify toc-tabbed macro 2014-11-15 12:29:46 +00:00
Jermolene
47481ed52a Enhance tabbed toc macro with navigation control
Now there are two variants of the macro: the default one opens links
externally, the other opens links internally
2014-11-14 17:06:21 +00:00
Jermolene
f5055c0205 Add tabbed table of contents 2014-11-13 21:39:38 +00:00
Jermolene
e0041d8483 Move page export button next to import 2014-11-13 21:39:38 +00:00
Jermolene
62c265aab0 Icon tweaks 2014-11-12 17:08:51 +00:00
Jermolene
6fc5c70ace First pass at export button
New export button appears as a page control toolbar button, a tiddler
toolbar button, and a button in the advanced search filter tab.

Initially supports exporting as static HTML, CSV, JSON or `.tid` file.

Still to do:

* Made the exporter descriptions translatable
* Hide the export button by default
* User docs
* Cleaning up the existing templates (eg,
`$:/core/templates/alltiddlers.template.html` should work by
transcluding `$:/core/templates/exporters/Static`)
* Docs for the new macros `exportButton`, `csvtiddlers` and
`jsontiddlers`

Issues:

* OS X Numbers refuses to open CSV files that have been generated in
Chrome, because it thinks they’ve been downloaded from the Internet.
Firefox works OK
* The export button won’t work within the tiddler info panel, or from
the *more* popup (this is because we don’t support nested popups)
2014-11-10 20:59:15 +00:00
Jermolene
e175746122 Fix problem with CSS macros
In practice the macros are always invoked in inline mode, meaning that
the triple braces weren’t getting parsed correctly. Now we switch to
inline code
2014-11-10 15:30:35 +00:00
Jermolene
9ac9239c51 Default tiddler info to the fields tab 2014-11-06 21:27:59 +00:00
Jermolene
0a986ccd99 Experiment with alternative view tiddler toolbar default buttons
The “info”, “edit”, “close” troika has been a feature of TW5 since the
very early days. Recent discussion in Hangout #67 has made me question
whether we wouldn’t be better off with the defaults in this commit:
“more”, “edit”, “close”.

The rationale is that the primary purpose of the “info” button has
become gaining access to the tools that haven’t been elevated to being
toolbar buttons. Most of the rest of the content of the info panel is
pretty arcane. So let’s try it for a few days - I’d appreciate any
feedback.
2014-11-06 13:39:28 +00:00
Jermolene
e145376838 Fix embarrassing typo in timeline macro
Fixes #1061 - thanks @welford
2014-11-05 09:30:40 +00:00
Jermolene
5093cdc860 Exclude drafts from table of contents macros 2014-11-04 11:54:35 +00:00
Jermolene
a3a50dbf6d Extend timeline macro to be able to use different date fields 2014-11-03 17:26:51 +00:00
Jermolene
48696c7d41 Fix extraneous whitespace in toc macro
Accidentally introduced in 3d7b40fbaa
2014-11-02 21:23:17 +00:00
Jermolene
3d7b40fbaa Fix problem with recursion in table of contents macro
Fixes #1036
2014-11-02 21:03:27 +00:00
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
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
5211f9c40c Fix problem with timeline subfilter
Fixes #975
2014-10-15 17:48:45 +01:00
Jermolene
d6dc4c14d7 Add new-journal-here button to viewtoolbar ordering 2014-10-09 17:36:33 +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
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
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
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
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
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
9adc30f69f Fix bugs with selective expandable toc macro 2014-09-10 21:55:11 +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
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
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
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
44228ed9f7 Fix indentation of selective expandable TOC
Fixing #768
2014-09-01 21:27:28 +01:00
Jermolene
ca1de2be99 Revert 6641d5c93f 2014-09-01 20:38:53 +01:00
Jermolene
559afcffd9 Add classes to the toc macro output 2014-08-31 14:05:43 +01: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
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
f223310d34 Yet more "tw-*" -> "tc-*"
Part of #764
2014-08-28 19:41:29 +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
d0cbd34bf9 Rename "btn-invisible" class to "tc-btn-invisible"
Part of #764
2014-08-28 17:28:32 +01:00
Jermolene
d8c3691bd1 Removed unneeded CSS classes
Part of #764
2014-08-28 17:17:50 +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
8041e3bef2 Add a sort parameter to the TOC macro
As requested by @giffmex
2014-08-20 22:48:07 +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
95926b85b9 Move editor type mappings into a single file 2014-08-15 10:06:05 +01:00
Jermolene
9e85ddfec7 Ensure we have a default language in empty.html 2014-08-14 12:00:07 +01:00
Jermolene
4b05608ad5 Add tag manager button 2014-08-14 08:49:03 +01:00
Jermolene
57878631e4 Don't sync the pending import tiddler to the server 2014-08-11 13:38:10 +01:00
Jermolene
1892f33ae6 Hide "revision" and "bag" fields from field editor 2014-08-10 09:13:48 +01:00
Jermolene
1a9bd683e4 Add theme toolbar button 2014-08-02 22:13:54 +01:00
Jermolene
7816c1d944 Add import button 2014-08-02 11:59:07 +01:00
Jermolene
9774c763b1 Add a storyview button 2014-08-01 21:40:13 +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
799a5b059a Move fullscreen button into core from plugin 2014-08-01 16:52:12 +01:00
Jermolene
c4c4c3d270 Add "more" page control button 2014-07-30 22:25:52 +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
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
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
ed0bf7aed1 Stop defaulting to automatically updating the address bar 2014-07-17 18:40:26 +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
e18d8a8866 Extend the tabs macro to allow tab contents to be templated 2014-07-02 12:15:52 +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
Jermolene
eeedcb6d94 First pass at accessibility improvements for #650 2014-06-14 18:06:56 +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
0ccaedd7d2 Use the select widget in the various switchers 2014-05-31 18:38:17 +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
93566cdc33 Add standard search to advanced search 2014-05-15 23:09:31 +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
b858e9dc69 Fix incorrect filter in shadow $:/DefaultTiddlers
Fixes #606
2014-05-07 13:43:12 +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
Devin Weaver
3bbe53a58e Move shadowWarning to it's own template segment 2014-04-27 17:15:42 -04: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
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
c2d6086bd9 Show fewer tiddlers in recent changes 2014-04-13 21:17:44 +01:00
Jermolene
b7f674c51a First pass at refactoring filter execution
This is the beginning of addressing #523.
2014-04-03 20:49:16 +01:00
Jermolene
80b65b1651 Add a top-left and top-right menu 2014-03-25 21:54:06 +00:00
Jermolene
7c235566c4 Rejig the page layout to use the scrollable widget
This is the start of some refactoring of the main layout CSS intended
to give us more flexibility and control.
2014-03-25 14:29:16 +00:00
Jermolene
20f6383528 Add storyviews list filter and use it in view switcher 2014-03-24 22:17:45 +00:00
Jermolene
178cfb1084 Make more core strings be translateable
Now we’re translating strings that occur in JavaScript modules.

Partially fixing #491
2014-03-20 20:55:59 +00:00
Jermolene
baa8cf3dd0 Add a warning segment to templates for TWC tiddlers
Now there’s a warning banner on all TWC tiddlers. It includes an
`upgrade` button that currently just flips the tiddler type to TW5
2014-03-15 17:03:50 +00:00
Jermolene
42c67cfeb7 Add tiddler info "advanced" panel 2014-03-14 15:23:28 +00:00
Jermolene
ebc77fbd09 Get ready for a new view template segment carrying information about plugins 2014-03-13 17:44:27 +00:00
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
d6a44b67a3 Fix control panel modules tab 2014-02-22 08:57:39 +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
Jermolene
921ff6ae39 Make palette editor translateable 2014-02-20 16:07:03 +00:00
Jermolene
bcd86d5861 Add palette editor 2014-02-20 10:00:38 +00:00
Jermolene
e1dfb621f5 Add colour swatches to palette switcher 2014-02-18 13:59:11 +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
1ff8d225d9 Rejig the control panel to use nested tabs for Appearance and Advanced 2014-02-16 19:33:18 +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
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
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
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
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
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
59379b14fa Remove extraneous shadow tiddlers 2014-01-28 15:24:08 +00:00
Jermolene
867dfabff8 Change initial default tiddlers to include most recently created tiddlers 2014-01-20 18:26:32 +00:00
Jermolene
5f1d49f2e0 Clarify the shadow GettingStarted docs 2014-01-19 18:42:20 +00:00
Jermolene
bad2e36e45 Remove obsolete itemClass attribute on the list widget 2014-01-12 17:01:18 +00:00
Jermolene
3d79eb87d1 First pass at an advanced search tiddler 2013-12-31 13:11:01 +00:00
Jermolene
7dc7559b90 Adjust references to five.tiddlywiki.com 2013-12-15 16:53:10 +00:00
Jermolene
34ae1387a5 Expand the theme switcher in the control panel 2013-12-01 21:57:19 +00:00
Jermolene
7baf8431a4 Refactor the download buttons into reusable snippets 2013-11-29 09:12:23 +00:00
Jermolene
b8875e126f Refactor page template to be tag driven 2013-11-19 14:12:31 +00:00
Jermolene
16444e023a Refactor control panel to add "Saving" tab
Currently just hardwired to the options for TiddlySpot, but will in due
course be driven by the loaded saver modules.
2013-11-19 13:21:45 +00:00
Jermolene
7658789971 Style tweaks for the edit template 2013-11-18 09:00:00 +00:00
Jermolene
b117f74666 Make the toolbars be tag driven 2013-11-17 21:53:39 +00:00
Jermolene
da4cdf2d3b Refactor edit template to be driven by $:/tags/EditTemplate tag 2013-11-15 22:55:32 +00:00
Jermolene
9a6e404215 Fix modules list in the Internal tab of Control Panel 2013-11-15 22:08:16 +00:00
Jermolene
e274a0c7d1 Make sure we use state tiddler titles in the $:/state namespace 2013-11-11 15:27:12 +00:00
Jermolene
8fb6f26729 Make sure we don't try to wikify the names of modules in the module listing 2013-11-10 22:45:11 +00:00
Jermolene
a668f09522 More refinements to the control panel
Including adding a TiddlyWeb-specific control panel tab
2013-11-10 21:53:39 +00:00
Jermolene
2598e22422 Spruce up the control panel
Structure things with extensible tabs.
2013-11-10 21:40:03 +00:00
Jermolene
0c8ba71edd Use the built-in tabs macro for the tiddler info panel and the sidebar tabs
Now you can insert your own tabs, too - see the release note
2013-11-09 19:21:37 +00:00
Jeremy Ruston
26ff0c23a2 Fix the viewswitcher 2013-11-05 08:53:01 +00:00
Jeremy Ruston
63243c5855 Introduce a PageMacros tiddler containing a tabs macro
This is a hacky way of having macro definitions that behave as if they
are global to the wiki.

The new tabs macro itself is cool, though: neatly encapsulates most of
the gubbins around a tab control, and the rendering is quite easy to
style.
2013-11-04 18:21:20 +00:00
Jeremy Ruston
0b1f0a5fab Refactor the list widget to get rid of some hacks
As promised.
2013-11-02 10:12:55 +00:00
Jeremy Ruston
363e90fca8 Remove version widget in favour of widget macro 2013-11-01 13:22:06 +00:00
Jeremy Ruston
33de87ec8c Fix attribute name 2013-10-31 22:01:47 +00:00
Jeremy Ruston
9e3618bdcf Rename the 'title' attributes of various widgets to 'tiddler'
The change is to avoid confusion with the HTML 'title' attribute. The
name 'tiddler' better emphasises the purpose of the attribute, too.
2013-10-30 13:36:44 +00:00
Jeremy Ruston
849d64cf9d Fix field listings 2013-10-30 09:34:01 +00:00
Jeremy Ruston
bf48e6f8a1 Rename tiddlerTitle variable to currentTiddler 2013-10-28 23:40:45 +00:00
Jeremy Ruston
1d27760a37 Cleaner formatting for the control panel 2013-10-28 15:03:52 +00:00
Jeremy Ruston
46bdc52261 Fix up the new import mechanism 2013-10-25 21:16:53 +01:00
Jeremy Ruston
c95ce5ff4c Fix up the $:/ConfigInfo tiddler 2013-10-23 23:12:07 +01:00
Jeremy Ruston
93c2ce6521 Fix up edit widgets 2013-10-16 16:30:24 +01:00
Jeremy Ruston
b4d33b9614 Fixups to the sidebar and tiddler info button 2013-10-14 16:57:16 +01:00
Jeremy Ruston
b0f4d72dac Correct name for the state tiddler that makes sure the open sidebar tab is open by default 2013-10-14 13:51:54 +01:00
Jeremy Ruston
942e463b20 Fixes to get recent changes list to work 2013-10-13 22:59:14 +01:00
Jeremy Ruston
27f724d0ed Docs updates 2013-10-09 22:57:20 +01:00
Jeremy Ruston
a5cb6d69c0 Remove reference to TiddlyMall
Because it doesn't exist. (It was a suggestion from @giffmex that got
inadvertantly included)
2013-09-10 15:29:04 +01:00
Jeremy Ruston
f734ce49c8 Tweaks to control panel and theme tweaks
Courtesy of @giffmex
2013-09-04 17:14:42 +01:00
Jeremy Ruston
c4d7401f02 Lots of docs updates 2013-08-30 20:06:23 +01:00
Jeremy Ruston
fbfe5a26c5 Move the animation duration into a tiddler so that we can easily let it be adjusted in the control panel 2013-08-28 15:15:56 +01:00
Jeremy Ruston
6005d7f19c Add a theme tweaks panel
Themes can define their own theme tweaks tiddler
2013-08-28 11:25:24 +01:00
Jeremy Ruston
be06257430 Split "transclude" widget into a separate "tiddler" and "transclude" widget
Belatedly realised that the design would be clearer without these two
separate concepts being conflated into a single widget.

As a result of this change, any other widget or template that generates
transclude widgets has needed adjustment.
2013-08-24 16:45:45 +01:00
Jeremy Ruston
daf439121b Update the ViewTemplate to be driven by tag
Now the ViewTemplate just renders the current tiddler through each
template tagged `$:/tags/ViewTemplate`. This allows plugins (and users)
to add/remove elements from the ViewTemplate easily, without
overwriting the ViewTemplate itself.

(For @giffmex)
2013-08-21 20:51:45 +01:00
Jeremy Ruston
6fc4e5db7c Get rid of the old "fieldgrid" and "fieldlist" widgets
Instead, we'll use the "list" widget with the new support for macros.
2013-08-15 18:17:11 +01:00
Jeremy Ruston
0cf4c578d4 First take of the ConfigInfo panel
It displays internal configuration information for debugging and
learning about TiddlyWiki. Also introduces a way of interleaving
documentation tiddlers (complete for tiddler fields, more module type
docs to come)
2013-08-09 21:57:05 +01:00
Jeremy Ruston
064a3ffb20 Add the new ConfigInfo system tiddler 2013-08-09 16:46:35 +01:00
Jeremy Ruston
86e73ee323 Set modified field and other metadata for newly created and modified tiddlers
Right now we're setting the created/modified time, and only setting the
creator/modifier if the tiddler `$:/status/UserName` is defined.
2013-08-04 14:02:07 +01:00
Jeremy Ruston
bb843a408d Exclude system tiddlers from recent changes 2013-08-04 13:50:23 +01:00
Jeremy Ruston
795dabb847 Correct typo in view switcher label 2013-07-14 23:14:18 +01:00
Jeremy Ruston
d99ed1816d Correct themeswitcher and viewswitcher 2013-07-08 21:44:32 +01:00
Jeremy Ruston
9fbb945b0a Plumbing to allow the current view to be switched 2013-07-08 15:19:12 +01:00
Jeremy Ruston
28b0b58a11 Make a distinction between templates and UI
Templates are the low-level bits and pieces that allow TW5 to generate
HTML and CSS renderings of tiddlers. The UI folder contains the
user-visible UI of TW5
2013-05-31 15:38:27 +01:00
Jeremy Ruston
3e6efd7902 Move recent changes into it's own snippet 2013-05-28 08:38:23 +01:00
Jeremy Ruston
a0a6b69a4e Sort themes by title 2013-05-14 14:24:18 +01:00
Jeremy Ruston
db67bb8f8a Add links to config tiddlers to control panel 2013-05-08 17:29:10 +01:00
Jeremy Ruston
762f50d920 More shadow tiddlers
These ones are designed as fallback content for empty TiddlyWikis -
these are the tiddlers that end users are expected to modify to
customise their wiki
2013-05-08 14:24:30 +01:00
Jeremy Ruston
b7832cd1d4 Add new tiddler and options buttons to sidebar 2013-05-01 22:10:55 +01:00
Jeremy Ruston
bce0ea841c Add bullet next to selected theme in theme switcher 2013-05-01 22:10:34 +01:00
Jeremy Ruston
b672e12fef Add a UI to allow themes to be switched 2013-05-01 12:02:49 +01:00
Jeremy Ruston
7d8051ef8d Style tweaks 2013-04-27 16:49:12 +01:00
Jeremy Ruston
952f1b3900 Add tiddler info dropdown
Including backlinks
2013-03-19 16:45:07 +00:00
Jeremy Ruston
7cb65a3816 Add 'missing' and 'orphan' tabs 2013-03-19 10:14:44 +00:00