Commit Graph

8090 Commits (423fae6f18853bfaa08f647e7e4d10b7587738e0)

Author SHA1 Message Date
Joey Hess 423fae6f18 Use the pure perl Data::Dumper when generating setup files to ensure that utf-8 characters are written out as such, and not as the encoded perl strings the C Data::Dumper produces.
Note that the text produced by the C version was interpreted fine
when ikiwiki loaded the setup file. But it was not user-friendly.
2008-10-19 21:23:48 -04:00
Joey Hess 3e992b758b Fix issue with utf-8 in wikiname breaking session cookies, by entity-encoding the wikiname in the session cookie. 2008-10-19 21:07:12 -04:00
Joey Hess fd9393ef85 add displaytime hook
Need to use a hook because an exported function cannot be reliably
overridden. The replacement verstion was actually only affecting plugins
loaded after it.

formattime doesn't need a hook, since there's no reason to export it.
2008-10-19 20:12:37 -04:00
Joey Hess 3bdc66d300 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-19 19:55:28 -04:00
intrigeri 991c1b096b some more example bugfixes 2008-10-19 19:48:14 -04:00
intrigeri 3d8a6fa447 fix example 2008-10-19 19:47:19 -04:00
Joey Hess db146d9f1e need to use localtime, fix width 2008-10-19 19:39:32 -04:00
Joey Hess 3f8eb12b5f response 2008-10-19 19:28:25 -04:00
Joey Hess e4e89b8c61 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-19 19:27:15 -04:00
Joey Hess 4413307afa preserve underlay file times
I'd like to preserve the mtime and ctime of files in the underlay if
possible, to avoid ikiwiki thinking they've changed and refreshing them
each time it's upgraded.

But, fall back to the old install command for systems that lack cp -a.
2008-10-19 19:25:23 -04:00
Joey Hess 2b569f99d9 fix relativedate timezone inclusion
The machine parseable date needs to include a timezone.

Also, simplified the interface for date display.
2008-10-19 19:21:44 -04:00
http://xma.myopenid.com/ d8e653e684 Webserver, why ? 2008-10-19 19:20:19 -04:00
intrigeri 214d73775f initial wishlist submission 2008-10-19 19:19:24 -04:00
intrigeri ac8e8f5ad7 one more opinion 2008-10-19 18:55:05 -04:00
intrigeri 9f7298d4fe linked to rcs/git to be in the backlinks 2008-10-19 18:45:38 -04:00
intrigeri cf84dc5d2b initial tip submission 2008-10-19 18:33:59 -04:00
intrigeri e32c6e4725 initial bug report 2008-10-19 18:19:14 -04:00
intrigeri b637f7f700 initial bug report 2008-10-19 18:13:47 -04:00
Joey Hess 002be0c87a partial support for calling onload once the DOM is ready
This adds support for gecko and newer versions of opera
to call onload once the DOM is ready, rather than waiting for
all images in the page to load. Makes relativedate behave
somewhat better.

Dealing with this means jumping into the browser
incompatability waters that I prefer to avoid.
Full solutions for most of the major browsers are listed here:
http://dean.edwards.name/weblog/2006/06/again/

However, no *license* is listed there, so I can't use that code. Also, the more
involved code appears to have various issues (such as the inline IE code not
working via https). So I only added the simple call to a hook needed
for gecko/opera.

It seems that the only standards-compliant way to do this is using the
`defer` attribute to a `script` tag, using an external script that will be
loaded once the DOM is ready, and can call onload. However, that has
browser compatability issues of its own, since not all browsers honor
`defer`.

Perhaps I should really just be using one of the javascript frameworks, that
include code to solve this for the major browsers. But something about them
still puts me off, and this issue is minor enough that I'm willing to live
with incomplete support for now.
2008-10-19 15:45:29 -04:00
Joey Hess 2321906cd7 mark up date so relativedate will work 2008-10-19 15:17:00 -04:00
Joey Hess ac8eb2844f Updated French translation. Closes: #502694 2008-10-19 12:59:35 -04:00
tschwinge 3670fe9a4f Correct copy&paste-o. 2008-10-19 12:14:08 -04:00
JoshTriplett 9fc7edeee5 Add links to the moin2iki code. 2008-10-18 20:05:37 -04:00
JoshTriplett a09a0087cc 2008-10-18 20:02:58 -04:00
JoshTriplett db0f771bc4 Update my contact info. 2008-10-18 20:02:28 -04:00
Joey Hess 3f922abff4 remove old dup div 2008-10-18 19:11:57 -04:00
http://jblevins.org/ c1a2df4fc1 Tracking some issues on my user page 2008-10-18 16:53:28 -04:00
http://jblevins.org/ e49a745fdd Unclosed div 2008-10-18 15:36:18 -04:00
Joey Hess 6d8df8c114 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-18 12:48:10 -04:00
Joey Hess 18806fa6b0 allow ikiwiki.js to be loaded twice w/o clobbering previous hooks
Clearly it's suboptimal for it to be loaded twice, but this is a quick fix
at least.
2008-10-18 12:47:08 -04:00
http://hendry.iki.fi/ 943a4ff520 google plugin linked 2008-10-18 09:21:24 -04:00
http://xma.myopenid.com/ 15c6997979 2008-10-18 07:10:10 -04:00
Joey Hess cb9a695443 fix url 2008-10-17 22:04:43 -04:00
Joey Hess 594243d615 update 2008-10-17 21:59:27 -04:00
Joey Hess 35c56622ea tweak recentchanges permalink code
Need to handle the case where url is not set.
2008-10-17 21:54:42 -04:00
Joey Hess fdb5da46b0 Patch for anchor-based change permalinks in recent changes feed
from JasonBlevins
2008-10-17 21:49:55 -04:00
Joey Hess 745dc1c62f add missing getsetup hook 2008-10-17 21:29:05 -04:00
Joey Hess 02ec92c6cb make relativedate work for the dates on the recentchanges page
Having a always current relative date on recentchanges is very, very nice.
2008-10-17 21:21:07 -04:00
Joey Hess ef4b9b5420 response 2008-10-17 21:16:27 -04:00
Joey Hess 1a86717284 response 2008-10-17 21:02:12 -04:00
Joey Hess 7390a7a072 relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself. 2008-10-17 20:47:32 -04:00
Joey Hess 9a62836d28 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-17 20:28:24 -04:00
Joey Hess 79b376f991 Add an underlay for javascript, and add ikiwiki.js containing some utility code.
* Add an underlay for javascript, and add ikiwiki.js containing some utility
  code.
* toggle: Stop embedding the full toggle code on each page using it, and
  move it to toggle.js in the javascript underlay.
2008-10-17 20:28:18 -04:00
Joey Hess 16d51e67a7 add_underlay: avoid adding the same underlay twice 2008-10-17 19:53:04 -04:00
http://jblevins.org/ 3690864e2b Patch for anchor-based change permalinks in recent changes feed 2008-10-17 19:52:42 -04:00
http://xma.myopenid.com/ b08feb5e08 2008-10-17 18:34:28 -04:00
http://xma.myopenid.com/ 84a77567c0 2008-10-17 18:30:03 -04:00
Joey Hess 578a487353 add news item for ikiwiki 2.67 2008-10-17 13:18:04 -04:00
Joey Hess de65a62501 releasing version 2.67 2008-10-17 13:17:31 -04:00
http://alcopop.org/me/openid/ 37a0fbebd4 2008-10-17 11:00:37 -04:00