Jermolene
22b7400de8
Move making a data uri into reusable utilities
2015-03-18 11:40:09 +00:00
Tobias Beer
32fd03d2f5
rename macro
2015-02-03 15:19:03 +01:00
Tobias Beer
e4bd0c8633
added documentation
...
temporary documentation demo:
http://goto.bplaced.net/tw5/5.1.7.html#ResolvePath
2015-02-03 15:18:38 +01:00
Tobias Beer
4a05bd10e9
renamed to resolvePath using $tw.utils.resolvePath
...
adapted ControlPanel / Saving accordingly
2015-01-29 00:38:08 +01:00
Tobias Beer
e504530005
introduce serverpath macro
...
for now, computes path to backup directory, appending the relative path
of UploadBackupDir to the absolute one from the UploadURL
Also added example for store.php to hint
2015-01-23 11:26:14 +01:00
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
0bb8e08edc
Provisionally make tag pill foreground colour be responsive
...
With this commit tag pills will now choose for the foreground colour
either the current palette “foreground” or “background” colours,
according to which has the higher contrast. It’s something @gernert has
expressed an interest in in the past, and I’ve tended to agree that it
is a nice piece of polish. It opens up the possibility of paler colours
for tag pills than are currently possible.
The trouble is that in order to implement it I’ve had to bring in a
third party library for parsing CSS colours. It weighs in just over
9KB, making quite a lot of weight for such a small feature. I don’t see
any other immediate uses for the colour parsing library either.
So, I’m undecided at the moment whether this should stay in the core.
2014-11-06 13:35:48 +00:00
Jermolene
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
f16d1832aa
Add dumpvariables macro
2014-09-08 15:06:49 +01:00
Jeremy Ruston
fd70aa8c45
Get rid of the qualifyTiddlerTitles hack
...
Now, finally, we can implement qualifyTiddlerTitles as a macro.
2013-11-02 15:42:24 +00:00
Jeremy Ruston
bf48e6f8a1
Rename tiddlerTitle
variable to currentTiddler
2013-10-28 23:40:45 +00:00
Jeremy Ruston
bdcead624a
Add a changecount macro
2013-10-25 22:29:49 +01:00
Jeremy Ruston
3f151ba70e
Add support for macro modules
...
Now JavaScript macros can be defined in "macro" modules
2013-10-17 16:57:07 +01:00
Jeremy Ruston
b006cf163f
Remove the old parser code
...
Thus introducing a few functional regressions, but it's going to be
easier to fix things up without the old code knocking around and
getting in the way.
2012-12-28 22:08:32 +00:00
Jeremy Ruston
a4930b7e68
Added checkbox macro
2012-11-30 09:22:17 +00:00
Jeremy Ruston
91e1a38db1
Switched to use double curly braces for transclusion
...
For compatbility with MediaWiki and other engines
2012-11-29 18:34:27 +00:00
Jeremy Ruston
97f6314dbb
Update the tiddler and list macros to allow the template to be specified in the body of the macro
2012-11-29 16:40:06 +00:00
Jeremy Ruston
5fd3000838
Allowed zooming in to any element with the data-tw-zoom attribute
2012-11-27 22:27:53 +00:00
Jeremy Ruston
598c069dd6
Fixed typo
2012-11-27 22:26:35 +00:00
Jeremy Ruston
99275b5425
Improvements to zoomable pan and zoom
2012-11-27 18:30:21 +00:00
Jeremy Ruston
e4fb532ecd
Introduce zoomable macro
...
Used with Cecily to give us pan and zoom across the Cecily canvas.
2012-11-27 16:55:17 +00:00
Jeremy Ruston
3161e8d8ce
Fix problem with CecilyView that is initialised with an empty message
2012-11-26 16:24:31 +00:00
Jeremy Ruston
0154b2a54e
Revised implementation of scrolling behaviour
...
Now we use a "tw-scroll" event to request scrolling
2012-11-26 16:08:52 +00:00
Jeremy Ruston
739b641f39
Temporary hack to the list macro
...
Working around our imperfect inline vs. block detection.
2012-11-26 14:19:15 +00:00
Jeremy Ruston
84650b9a54
Swap over to the new mime type conventions
...
Discussed in
https://groups.google.com/forum/#!topic/tiddlywikidev/re8xfLqZNCE
2012-11-18 15:22:13 +00:00
Jeremy Ruston
5c87b437ee
Support for lazy loaded tiddlers
2012-11-18 13:14:28 +00:00
Jeremy Ruston
f1089c1c92
Use temporary tiddlers for popup locations
2012-11-11 15:03:34 +00:00
Jeremy Ruston
cf15b128c1
Fixed problem with relativedate field viewer
2012-11-11 14:40:49 +00:00
Jeremy Ruston
d3e6a0cdf0
Move the slowInSlowOut easing function into utils
2012-11-08 18:34:04 +00:00
Jeremy Ruston
56c8dc2226
Fixed problem with navigators that don't have a story or history
2012-11-07 16:12:03 +00:00
Jeremy Ruston
34435329e6
Added indirect transclusion
...
The name of the tiddler to transclude is taken from a text reference
2012-11-07 16:11:47 +00:00
Jeremy Ruston
6c636a671d
Remove zoomer and chooser
2012-11-06 17:51:19 +00:00
Jeremy Ruston
9f6909ddc4
Appeasing the gods of JSHint
2012-11-06 17:21:56 +00:00
Jeremy Ruston
c58903f865
Added hover functionality to button and link macros
2012-11-06 14:11:49 +00:00
Jeremy Ruston
034af3b126
Added new "aboveright" position for reveal macro
2012-11-06 14:11:32 +00:00
Jeremy Ruston
bb10222b8d
Added fields macro and put it in the default view template
2012-11-05 19:00:54 +00:00
Jeremy Ruston
6819365dfc
Fixes for sideways view
...
Fixed problem with starting up with the empty message displayed, and
problem with incorrect width reading of newly inserted list elements
2012-11-05 15:14:27 +00:00
Jeremy Ruston
c95618e42c
Fix for list macro
...
Hardens findListElementByTitle to work when the empty message is
displayed
2012-11-05 15:13:51 +00:00
Jeremy Ruston
04223a3d81
Remove transform at end of classic list view insertion animation
...
Leaving the transform makes a new positioning context without updating
offsetParent
2012-11-04 17:28:51 +00:00
Jeremy Ruston
96145982d9
Fix navigation through list macro entry
2012-11-04 17:28:21 +00:00
Jeremy Ruston
c58a75f834
Fixed issue with dropbox positioning
...
On webkit, applying a perspective appears to set up a new positioning
context without updating offsetParent.
2012-11-04 17:02:01 +00:00
Jeremy Ruston
2ad3e10188
And use the proper form of -webkit-overflow-scrolling
2012-11-03 17:36:27 +00:00
Jeremy Ruston
80ce9f01f9
Only have scrollbars when we need them
2012-11-03 17:35:31 +00:00
Jeremy Ruston
3d747499cb
More enhancements to listview animations
...
Now we've got navigation scrolling back
2012-11-03 16:14:00 +00:00
Jeremy Ruston
5443c8243a
Lots of tweaks to list view animations
...
There's a regression in that navigation animations are currently not
working
2012-11-03 12:34:36 +00:00
Jeremy Ruston
072c06b412
Fixed issue #46
2012-10-28 20:51:18 +00:00
Jeremy Ruston
46a1dd662c
Fixed unrendered field link view links
...
Fixing #39
2012-10-28 20:43:33 +00:00
Jeremy Ruston
77c2804684
Removed extraneous console.log
2012-10-28 18:52:14 +00:00
Jeremy Ruston
cfb3b42438
More refactoring of relativedate implementation
2012-10-28 18:41:48 +00:00
Jeremy Ruston
c0a00f856e
Fixed typo
2012-10-28 18:41:31 +00:00