Joey Hess [Sun, 30 Mar 2008 01:17:15 +0000 (21:17 -0400)]
releasing version 2.41
Joey Hess [Sun, 30 Mar 2008 01:02:47 +0000 (21:02 -0400)]
Added a hardlink option in the setup file, useful if the source and dest are on the same filesystem and the wiki includes large media files, which would normally be copied, wasting time and space.
Joey Hess [Fri, 28 Mar 2008 18:35:49 +0000 (14:35 -0400)]
wiki gnomes at work
Joey Hess [Fri, 28 Mar 2008 17:20:19 +0000 (13:20 -0400)]
web commit by subvert.org.uk/~bma/: Add stylesheet.
Joey Hess [Fri, 28 Mar 2008 17:19:29 +0000 (13:19 -0400)]
web commit by subvert.org.uk/~bma/: Link to new stylesheet.
Joey Hess [Fri, 28 Mar 2008 17:07:23 +0000 (13:07 -0400)]
web commit by subvert.org.uk/~bma/: Update my URLs.
Joey Hess [Fri, 28 Mar 2008 04:57:49 +0000 (00:57 -0400)]
web commit by http://certifi.ca/bronson
Joey Hess [Thu, 27 Mar 2008 14:06:59 +0000 (10:06 -0400)]
web commit by weakish.int.eu.org/: invalid link
Joey Hess [Thu, 27 Mar 2008 12:31:31 +0000 (08:31 -0400)]
web commit from 78.106.64.225: poll vote (Accept only password logins)
Josh Triplett [Thu, 27 Mar 2008 01:16:58 +0000 (18:16 -0700)]
Remove explanation of ohloh shortcut; it seems obvious enough.
Josh Triplett [Thu, 27 Mar 2008 01:06:25 +0000 (18:06 -0700)]
Add shortcut for ohloh projects.
Joey Hess [Tue, 25 Mar 2008 20:12:34 +0000 (16:12 -0400)]
web commit by buo: Thanks
Joey Hess [Tue, 25 Mar 2008 20:11:34 +0000 (16:11 -0400)]
web commit by buo: locales and mercurial
Joey Hess [Tue, 25 Mar 2008 03:23:52 +0000 (23:23 -0400)]
web commit by willu.myopenid.com/: Add note about rel="nofollow" as an anti-spam suggestion
Joey Hess [Mon, 24 Mar 2008 19:47:13 +0000 (15:47 -0400)]
web commit by jblevins.org/: htmlscrubber patch to sanitize SVG and MathML
Joey Hess [Mon, 24 Mar 2008 04:19:49 +0000 (00:19 -0400)]
web commit by http://mjgoins.myopenid.com/
Joey Hess [Mon, 24 Mar 2008 04:18:47 +0000 (00:18 -0400)]
web commit by http://mjgoins.myopenid.com/
Joey Hess [Mon, 24 Mar 2008 02:08:02 +0000 (22:08 -0400)]
web commit by jblevins.org/: Thoughts about notation for citations
Joey Hess [Mon, 24 Mar 2008 00:01:26 +0000 (20:01 -0400)]
revert destpage part of
f7bdc2385
destpage does not normally need to be worried about when creating other files
as part of the process of rendering a page. Using destpage results in
inlined pages creating two copies of such files. It works to not use destpage
in this case because the inlining page depends on the source page, so if the
source page is modified or deleted the inlining page will be updated.
Joey Hess [Sun, 23 Mar 2008 21:39:03 +0000 (17:39 -0400)]
inline: Allow the "feedshow" parameter to take values greater than the value for "show".
Joey Hess [Sat, 22 Mar 2008 17:57:01 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 22 Mar 2008 17:56:44 +0000 (13:56 -0400)]
add loadindex/saveindex test suite
Joey Hess [Sat, 22 Mar 2008 16:02:39 +0000 (12:02 -0400)]
web commit by madduck.net/: add note about whole site rebuilds for little changes
Joey Hess [Sat, 22 Mar 2008 14:48:45 +0000 (10:48 -0400)]
web commit by jblevins.org/: Notes about access keys from the main discussion page
Joey Hess [Fri, 21 Mar 2008 23:45:38 +0000 (19:45 -0400)]
web commit by madduck.net/: put thoughts into the wishlist item
martin f. krafft [Fri, 21 Mar 2008 22:41:23 +0000 (23:41 +0100)]
scan hook works, remove NotImplemented exception
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 21 Mar 2008 22:36:58 +0000 (23:36 +0100)]
Do not output xml-rpc debugging
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 21 Mar 2008 22:34:25 +0000 (23:34 +0100)]
Flesh out pythondemo
This implements most hooks with stupid demo code, and also still has
some TODO items.
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 21 Mar 2008 22:17:38 +0000 (23:17 +0100)]
Handle going down with an exception
We previously used None as a sentinel to exit, but None is now a proper
value, so now it's the job of an exception-like object (except it isn't
an exception).
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 21 Mar 2008 22:17:37 +0000 (23:17 +0100)]
put XMLStreamParser in public namespace
Since we might throw sub-class exceptions, the class should be in the
public namespace, meaning its name should not be prefixed with _.
Signed-off-by: martin f. krafft <madduck@madduck.net>
Joey Hess [Fri, 21 Mar 2008 23:09:41 +0000 (19:09 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 21 Mar 2008 23:09:29 +0000 (19:09 -0400)]
typos
Joey Hess [Fri, 21 Mar 2008 22:14:06 +0000 (18:14 -0400)]
web commit by jblevins.org/: Ideas about keyboard shortcuts
Joey Hess [Fri, 21 Mar 2008 20:34:17 +0000 (16:34 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 21 Mar 2008 20:32:23 +0000 (16:32 -0400)]
defer po and pot file updating until package build time
This allows make to be run without polluting the tree with lots of po file
changes.
Joey Hess [Fri, 21 Mar 2008 20:21:18 +0000 (16:21 -0400)]
web commit by http://madduck.net/
Joey Hess [Fri, 21 Mar 2008 19:41:41 +0000 (15:41 -0400)]
on css suckitude
Joey Hess [Fri, 21 Mar 2008 19:12:15 +0000 (15:12 -0400)]
external: Work around XML RPC's lack of support for null by passing a special sentinal value.
martin f. krafft [Fri, 21 Mar 2008 18:12:16 +0000 (19:12 +0100)]
Allow individual hook registration to override ID
The preprocessor hooks need to specify IDs different from the ID used to
initialise the proxy. Thus, the hook function now takes an optional id
keyword argument and uses the ID used during initialisation if none is
provided.
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 21 Mar 2008 18:12:15 +0000 (19:12 +0100)]
Refactor remote procedure calls in the proxy
Add an rpc() method to the proxy to allow users to call remote
procedures, and route the proxy's own import registration via this
function.
Also, implement convenience functions for the RPC calls exported in the
IkiWiki::XML::RPC namespace.
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 21 Mar 2008 18:12:14 +0000 (19:12 +0100)]
Make proxy object available to hook functions
Hook functions now get the proxy object as first argument to be able to
use RPC via the proxy.
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 21 Mar 2008 18:12:13 +0000 (19:12 +0100)]
add last parameter to plugin registration
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 21 Mar 2008 18:12:12 +0000 (19:12 +0100)]
Allow external plugins to return no value
Instead of using the XML-RPC v2 extension <nil/>, which Perl's
XML::RPC::Parser does not (yet) support (Joey's patch is pending), we
agreed on a sentinel: {'null':''}, that is, a hash with a single key
"null" pointing to the empty string.
The Python proxy automatically converts None appropriately and raises an
exception if a hook function should, by weird coincidence, attempt to
return {'null':''}.
Signed-off-by: martin f. krafft <madduck@madduck.net>
Joey Hess [Fri, 21 Mar 2008 18:53:41 +0000 (14:53 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 21 Mar 2008 18:42:59 +0000 (14:42 -0400)]
fix page source storing
This saves space, and stores the data under the right keys.
Joey Hess [Fri, 21 Mar 2008 17:58:25 +0000 (13:58 -0400)]
web commit by jblevins.org/: Case-sensitivity of HTML::Scrubber
Joey Hess [Fri, 21 Mar 2008 17:56:52 +0000 (13:56 -0400)]
fix transition call
Joey Hess [Fri, 21 Mar 2008 17:56:31 +0000 (13:56 -0400)]
moved to a tip
Joey Hess [Fri, 21 Mar 2008 17:52:50 +0000 (13:52 -0400)]
add a tip about dealing with ikiwiki's binary state files
Joey Hess [Fri, 21 Mar 2008 17:22:47 +0000 (13:22 -0400)]
fix transitioning of page state
Joey Hess [Fri, 21 Mar 2008 15:40:33 +0000 (11:40 -0400)]
web commit by jblevins.org/: Fix links and sign
Joey Hess [Fri, 21 Mar 2008 15:19:00 +0000 (11:19 -0400)]
web commit by jblevins.org/: Request for comments about SVG and MathML whitelists
Joey Hess [Fri, 21 Mar 2008 13:37:52 +0000 (09:37 -0400)]
add transition code for indexdb
Joey Hess [Fri, 21 Mar 2008 13:07:44 +0000 (09:07 -0400)]
Changed to a binary index file, written using Storable, for speed
During refresh of a wiki with 800 files, loadindex was using more total
time than any other function, and saveindex was also in the top ten.
Rewriting them to use Storable makes them three times as fast.
0.7 seconds is saved on my laptop in profiling mode.
Joey Hess [Fri, 21 Mar 2008 10:36:07 +0000 (06:36 -0400)]
Precompile pagespecs, about 10% overall speedup
About 12% of ikiwiki runtime was spent in pagespec_match. It was evaling
the same pagespec code over and over again. This changes pagespec_translate
to return memoized, precompiled functions that can be called to match against
a given pagespec.
This also allows getting rid of the weird variable scoping trick that had
to be in effect for pagespec_translate to be called -- the variables are
now just fed into the function it returns.
On my laptop, this drops build time for the docwiki from about 60 to 50
seconds.
Joey Hess [Fri, 21 Mar 2008 09:59:33 +0000 (05:59 -0400)]
improve comment
Joey Hess [Fri, 21 Mar 2008 09:09:42 +0000 (05:09 -0400)]
updates to support current version of Devel::Profile
Joey Hess [Fri, 21 Mar 2008 09:08:04 +0000 (05:08 -0400)]
work around perl warning
Joey Hess [Fri, 21 Mar 2008 08:51:14 +0000 (04:51 -0400)]
delete inline data after it's used
Joey Hess [Fri, 21 Mar 2008 08:48:26 +0000 (04:48 -0400)]
crazy optimisation to work around slow markdown
Markdown is slow. Especially if it has to process an enormous page. The
most common enormous page is currently the recentchanges page, which gets
processed a lot, and contains very little actual markdown. Most of it is a
big <div>, which markdown skips ... slowly.
This is a rather sick optimisation to work around markdown's speed issues.
Now inline inserts a small, dummy div, allows markdown to quickly render
the actual page content, then replaces the dummy with the actual inlined
pages later.
Results: Rendering just a recentchanges page, with diffs included, dropped
from 4.5 seconds to 2.7 seconds on my laptop. Building the entire wiki
dropped from 46.6 seconds to 39.5 seconds.
(It would be better if inline were a *post*-processor directive.)
Joey Hess [Fri, 21 Mar 2008 07:16:28 +0000 (03:16 -0400)]
process smilies in a sanitize hook
I had to move it to sanitize so all the markup is htmlized, so it can scan
for <pre> and <code>.
Joey Hess [Fri, 21 Mar 2008 06:57:34 +0000 (02:57 -0400)]
another fix
I'm suprised that the second m//g didn't seem to clobber @-, but I don't
want to rely on that, so preserve it beforehand.
Joey Hess [Fri, 21 Mar 2008 06:55:14 +0000 (02:55 -0400)]
various fixes and simplifications
Joey Hess [Fri, 21 Mar 2008 06:43:56 +0000 (02:43 -0400)]
typo
Joey Hess [Fri, 21 Mar 2008 06:43:20 +0000 (02:43 -0400)]
smiley: Detect smileys inside pre and tags, and do not expand.
Joey Hess [Fri, 21 Mar 2008 04:24:06 +0000 (00:24 -0400)]
Close meta tag for redir properly.
Joey Hess [Fri, 21 Mar 2008 03:06:41 +0000 (23:06 -0400)]
web commit by http://jblevins.org/: Oops
Joey Hess [Fri, 21 Mar 2008 02:53:26 +0000 (22:53 -0400)]
web commit by jblevins.org/: MathML+SVG whitelist
Joey Hess [Fri, 21 Mar 2008 02:51:09 +0000 (22:51 -0400)]
web commit by brian.may.myopenid.com/: change.tmpl and BASEURL
Joey Hess [Thu, 20 Mar 2008 21:02:59 +0000 (17:02 -0400)]
web commit by jblevins.org/: A note about the toc plugin and headers in templates
Joey Hess [Thu, 20 Mar 2008 20:26:51 +0000 (16:26 -0400)]
web commit by jblevins.org/: Bug report update
Joey Hess [Thu, 20 Mar 2008 10:08:33 +0000 (06:08 -0400)]
web commit by http://bremner.myopenid.com/
Joey Hess [Thu, 20 Mar 2008 03:07:13 +0000 (23:07 -0400)]
moved to a different server
Joey Hess [Thu, 20 Mar 2008 03:00:21 +0000 (23:00 -0400)]
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
Joey Hess [Thu, 20 Mar 2008 02:51:05 +0000 (22:51 -0400)]
web commit by http://joey.kitenet.net/
Joey Hess [Thu, 20 Mar 2008 02:46:51 +0000 (22:46 -0400)]
Store userinfo in network byte order for easy portability. (Old files will be automatically converted.)
Joey Hess [Thu, 20 Mar 2008 01:59:40 +0000 (21:59 -0400)]
Time::Duration is no longer used, remove from docs and recommends.
Joey Hess [Thu, 20 Mar 2008 01:12:18 +0000 (21:12 -0400)]
optimisation, only load openid module when signing in
This makes the CGI about .2 seconds faster when editing pages etc.
Joey Hess [Wed, 19 Mar 2008 19:49:37 +0000 (15:49 -0400)]
Joey Hess [Wed, 19 Mar 2008 19:49:00 +0000 (15:49 -0400)]
make setargv take an array
for consistentcy with getargv, which returns one
Joey Hess [Wed, 19 Mar 2008 19:18:38 +0000 (15:18 -0400)]
fix setvar
It was incorrectly setting the value to the number of items in @_, ie,
always 1.
Joey Hess [Wed, 19 Mar 2008 19:15:30 +0000 (15:15 -0400)]
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
Joey Hess [Wed, 19 Mar 2008 19:12:59 +0000 (15:12 -0400)]
getargv needs to return a list reference
xml rpc only allows functions to return a single value, no lists. So getargv
needs to return a list reference, which means that the caller will see an xml
rpc array.
Joey Hess [Wed, 19 Mar 2008 19:00:15 +0000 (15:00 -0400)]
web commit by jblevins.org/: Patch for unclosed refresh meta tag.
Joey Hess [Wed, 19 Mar 2008 14:13:08 +0000 (10:13 -0400)]
web commit by engla.myopenid.com/: oops, point my URL to my ikiwiki portion (frontpage is not ikiwiki). Also, tweak the website title
Joey Hess [Wed, 19 Mar 2008 14:11:41 +0000 (10:11 -0400)]
web commit by engla.myopenid.com/: changed my url since my university is pretty.. dumb
Joey Hess [Tue, 18 Mar 2008 20:36:19 +0000 (16:36 -0400)]
German translation update. Closes: #471540
Joey Hess [Tue, 18 Mar 2008 16:58:47 +0000 (12:58 -0400)]
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
martin f. krafft [Tue, 18 Mar 2008 16:39:06 +0000 (17:39 +0100)]
Prevent plugins/.gitignore from being installed
I added a .gitignore file to plugins/ to ignore *.pyc files, and that
file is now being installed +x to /usr/lib/ikiwiki/plugins. This commit
prevents that by excluding all dot-files under plugins/ from the
install.
Signed-off-by: martin f. krafft <madduck@madduck.net>
Joey Hess [Tue, 18 Mar 2008 14:25:45 +0000 (10:25 -0400)]
web commit by http://madduck.net/: more details
Joey Hess [Tue, 18 Mar 2008 11:17:56 +0000 (07:17 -0400)]
web commit by madduck.net/: add note about marking current pages
Joey Hess [Tue, 18 Mar 2008 11:16:32 +0000 (07:16 -0400)]
web commit by http://madduck.net/
Joey Hess [Tue, 18 Mar 2008 11:15:55 +0000 (07:15 -0400)]
web commit by madduck.net/: tagging wishlist
Joey Hess [Tue, 18 Mar 2008 11:14:57 +0000 (07:14 -0400)]
web commit by http://madduck.net/
Joey Hess [Tue, 18 Mar 2008 11:06:39 +0000 (07:06 -0400)]
web commit by http://madduck.net/
Joey Hess [Tue, 18 Mar 2008 09:47:14 +0000 (05:47 -0400)]
web commit by http://madduck.net/
Joey Hess [Tue, 18 Mar 2008 09:41:00 +0000 (05:41 -0400)]
web commit by http://madduck.net/: closing
Joey Hess [Tue, 18 Mar 2008 02:33:21 +0000 (22:33 -0400)]
response
Joey Hess [Tue, 18 Mar 2008 01:28:31 +0000 (21:28 -0400)]
* Record new pages in %pagesources temporarily when previewing so that
things that need to know the page source or type can query it from there.
Fixes previewing of tables when creating a new page.
Joey Hess [Mon, 17 Mar 2008 22:09:33 +0000 (18:09 -0400)]
web commit by http://madduck.net/