aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Expand)AuthorAge
* avoid uninitialized value warningJoey Hess2008-11-18
* html escaping complication•••Can't escape things to entities if the template then escapes the entities. (aggregate doesn't have this problem.) Joey Hess2008-11-18
* improve escaping of wikilinks and preprocessor directives•••The old method failed for '[' x 3. Joey Hess2008-11-18
* call decode_utf8 inside eval•••holger reported that decode_utf8 was crashing with perl 5.8.8. Earlier, I thought that passing 0 to the function avoided this with old perls, but that was apparently not enough, it still crashes. So, put it inside the eval, so we can at least recover from it crashing. Joey Hess2008-11-17
* use HTML::EntitiesJoey Hess2008-11-17
* use perl modules up front•••The old code actually did the same thing, just obfuscated -- since the eval use wasn't quoted, it used the modules on load. Thus, the error (not to mentioned the return) was bypassed, and it just failed on load. But that seems like the right thing to do, really, so just made it clearer that's what happens. Joey Hess2008-11-17
* htmlbalance: new plugin that balances tags by parsing and re-serializingSimon McVittie2008-11-17
* make unlockwiki drop the cgilock•••This is necessary so that things that fork to the background, like pinger, and inline ping, don't block other cgis from running. Note that websetup also calls unlockwiki, before refreshing / rebuilding the wiki. It makes perfect sense for that not to block other cgis. Joey Hess2008-11-11
* O_CREATE needs modeJoey Hess2008-11-11
* avoid multiple ikiwiki cgi processes piling up, eating all memory, and thrashing•••Fixed by making the cgi wrapper wait on a cgilock. If you had to set apache's MaxClients low to avoid ikiwiki thrashing your server, you can now turn it up to a high value. The downside to this is that a cgi call that doesn't need to call lockwiki will be serialised by this so only one can run at a time. (For example, do=search.) There are few such calls, and all of them call loadindex, so each still eats gobs of memory, so serialising them still seems ok. Joey Hess2008-11-11
* bzr: Fix dates for recentchanges.Joey Hess2008-11-11
* remove redundant link munge•••This is not needed now that tagpage returns a page name starting with a slash. (Also fixes a minor bug that the edit links started with double slashes due to the hack.) Joey Hess2008-11-10
* tag: Normalize tagbase so leading/trailing slashes in it don't break things.Joey Hess2008-11-10
* Add rel=nofollow to recentchanges_links for the same (weak) reasons it was ea...Joey Hess2008-11-10
* txt: Do not encode quotes when filtering the txt, as that broke later parsing...Joey Hess2008-11-06
* meta: Plugin is now enabled by default since the basewiki uses it.Joey Hess2008-11-06
* aggregate: Try to query XML::Feed for the base url when derelevatising links....Joey Hess2008-11-06
* use error for two messagesJoey Hess2008-11-05
* preprocess text before htmlizing itJoey Hess2008-11-02
* format: New plugin, allows embedding differntly formatted text inside a page ...Joey Hess2008-10-31
* set ctime in --render mode if not known•••Avoids some uninitialised value warnings. Joey Hess2008-10-30
* don't rely on plugin load order when determining generated directives•••Instead, shortcuts will explicitly be marked as such when registered, and listdirectives can filter them out. Joey Hess2008-10-30
* fix preview of shortcuts•••Move shortcut processing back to checkconfig, and avoid it failing if the srcdir is not defined. Joey Hess2008-10-29
* fix display of error msgJoey Hess2008-10-29
* git: Allow [[sha1_commit]] to be used in the diffurl, to support cgit.Joey Hess2008-10-27
* do no-op post_commit test in wrapper•••This speeds up web commits by 1/4th of a second or so, since perl does not have to start up for the post commit hook. perl's locking is completly FuBar, since it's impossible to tell what perl flock() really does, and thus difficult to write code in other languages that interoperates with perl's locking. (Let alone interoperating with existing fcntl locking from perl...) In this particular case, I think I was able to find a way to avoid the insanity, mostly. The C code does a true flock(2), and if perl is using an incompatable lock method that does not use the same locking primative at the kernel level, then the C code's test will fail, and it will go ahead and run the perl code. Then the perl code's test will test the right thing. On Debian, at least lately, perl's flock() does a true flock(2), so the optimisation does work. Joey Hess2008-10-26
* move untrusted committer test into the wrapper•••This saves around 1/4th second per trusted commit since ikiwiki doesn't need to start up. Joey Hess2008-10-26
* remember how to write C code•••been a while! Joey Hess2008-10-24
* the pre-receive wrapper needs to be suid after all•••It needs to write to the user db. Joey Hess2008-10-24
* export CALLER_UIDJoey Hess2008-10-24
* can't lock wiki due to permissions (probably)•••luckily, don't really need to here Joey Hess2008-10-24
* include temp file for attachment change tooJoey Hess2008-10-24
* updatesJoey Hess2008-10-24
* really fix calls to check_can*Joey Hess2008-10-24
* untrusted committers code seems to be fully working•••Still need to investigate possible races, and test some more. Joey Hess2008-10-23
* fix calls to check_*•••These throw errors, do not have useful return codes. Joey Hess2008-10-23
* check_canattach hooked upJoey Hess2008-10-23
* more work on untrusted committers•••Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test. Joey Hess2008-10-23
* initial support for git repos with untrusted committers•••Still need to wire up the calls to check_* , but it's cold out here and my hands are going numb, so enough for now. Joey Hess2008-10-22
* function injection overhaul•••Add an inject function, that can be used by plugins that want to replace one of ikiwiki's functions with their own version. (This is a scary thing that grubs through the symbol table, and replaces all exported occurances of a function with the injected version.) external: RPC functions can be injected to replace exported functions. Removed the stupid displaytime hook, and use injection instead. Joey Hess2008-10-21
* disable warnings when redefining functionsJoey Hess2008-10-21
* use relativedate as the css class for dates that should display relativeJoey Hess2008-10-20
* tag: When tagpage is set, force the links created by tagging to point at the ...•••The html links already went there, but internally the links were not recorded as absolute, which could cause confusing backlinks etc. For example, with tagbase=tags, if blog/tags/bar existed and blog/foo was tagged bar, it would link to /tags/bar. But, the link would be recorded simply as a link to tags/bar, and so later blog/tags/bar would appear to have the backlink. Joey Hess2008-10-20
* inline: Only the last feed link was put on the page, fix this to include all ...Joey Hess2008-10-20
* Use the pure perl Data::Dumper when generating setup files to ensure that utf...•••Note that the text produced by the C version was interpreted fine when ikiwiki loaded the setup file. But it was not user-friendly. Joey Hess2008-10-19
* Fix issue with utf-8 in wikiname breaking session cookies, by entity-encoding...Joey Hess2008-10-19
* 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. Joey Hess2008-10-19
* need to use localtime, fix widthJoey Hess2008-10-19
* fix relativedate timezone inclusion•••The machine parseable date needs to include a timezone. Also, simplified the interface for date display. Joey Hess2008-10-19
* mark up date so relativedate will workJoey Hess2008-10-19