summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
AgeCommit message (Collapse)Author
2008-08-29Work around perl $_ scoping nonsense that caused breakage when loading ↵Joey Hess
external plugins.
2008-08-06Options set in the setup file are now immediatly loaded by ikiwiki -setup. ↵Joey Hess
This allows later switches to override them. Previously, setup file options overrode most command line options.
2008-08-05typoJoey Hess
2008-08-05Revert "typo"Joey Hess
This reverts commit c8d3626c51bdc53781d9431b1da88ae1e92dc2d5.
2008-08-05typoJoey Hess
2008-08-05don't set values for verbose and syslog by defaultJoey Hess
Setting the values in the setup file by default makes it annoyingly hard to override them at the command line (since setup files override the command line). Both default to off if no value is set.
2008-08-04improve fix to DTRT for a param of "0"Joey Hess
2008-08-04Suppress warning about uninitialized value if directives look like [[!foo]]Simon McVittie
(cherry picked from commit cf58eefaa56eb17c227d97d129bf95e3dab54fd3)
2008-08-03reorg settingsJoey Hess
2008-08-03add advanced and basic modesJoey Hess
2008-08-03rewordJoey Hess
2008-08-02show unsafe options (RO) by defaultJoey Hess
Small data leak, but only to admins, and I think it's worth it to see the stuff that cannot be configured.
2008-08-02websetup form display doneJoey Hess
2008-08-01banned_users move to setup file, stage 1Joey Hess
2008-08-01rcs plugin loading reorgJoey Hess
Move rcs plugin load to loadplugins; move duplicate rcs detection logic out of individual plugins and into loadplugins. Avoids checkconfig failing when run twice.
2008-07-30updateJoey Hess
2008-07-27libdir can be emptyJoey Hess
2008-07-26finish with rcs plugin conversionJoey Hess
2008-07-26Merge branch 'master' into autoconfigJoey Hess
2008-07-26wrapper setup reorgJoey Hess
Flattened the wrapper setup, as this lets it be handled better by the setup generation code.
2008-07-26add example wrapper and fix formattingJoey Hess
2008-07-26add missing setup options, tweak others' displayJoey Hess
2008-07-26load all plugins when generating setupJoey Hess
2008-07-26reorderJoey Hess
2008-07-26move more settings out to rcsJoey Hess
2008-07-26getsetup-ize svn and bzrJoey Hess
2008-07-26put preprocess loop errors inside an error spanJoey Hess
2008-07-26can now dump fully functional setup filesJoey Hess
2008-07-26turn booleans into questionsJoey Hess
2008-07-26add info for all common setup file options, and most internal onesJoey Hess
2008-07-25fix feed urlsJoey Hess
The fix for colons involved adding "./" to some urls. Due to the weird way inline called urlto, these snuck into feed urls and permalinks. Fix it by adding an optional third parameter to urlto.
2008-07-21Really fix bug with links to pages with names containing colonsJoey Hess
Previous fix mised a few cases.
2008-07-17whitespaceJoey Hess
2008-07-16Merge commit 'intrigeri/pedigree'Joey Hess
2008-07-15pedigree rename to parentlinks: rename/adapt everythingintrigeri
* Renamed to parentlinks every single variable or function called pedigree * Removed the parentlinks function from Render.pm * Enabled the new parentlinks plugin by default * Adapted testsuite and documentation to reflate the above facts Signed-off-by: intrigeri <intrigeri@boum.org>
2008-07-13Error handling improvement for preprocess hooks. It's now safe to call ↵Joey Hess
error() from such hooks; it will cause a nicely formatted error message to be inserted into the page.
2008-07-12only htmlize errors when cgi is actually runningJoey Hess
2008-07-12Move yesno function out of inline and into IkiWiki core, not exported.Joey Hess
2008-07-11rename beautify_url to stress it only works on the path componentJoey Hess
2008-07-11Revert "Revert "Fix a bug with links to pages whose names contained colons.""Joey Hess
This reverts commit 810a355308d276ef922ff4312bff0c7935676633. I double-checked, and the change seems ok after all, actually.
2008-07-11Revert "Fix a bug with links to pages whose names contained colons."Joey Hess
This reverts commit e25c3a0a7caa9783c657efe86611929ecb7bd4a3. I didn't think that through far enough; beautify_url may be called on full urls, which don't start with "/"! Conflicts: debian/changelog
2008-07-11whitespaceJoey Hess
2008-07-08Fix a bug with links to pages whose names contained colons.Joey Hess
So the problem is that ikiwiki would generate a relative link like href="colon:problem", which web browsers treat as being in the "colon:" uri scheme. The best fix seems to be to make url beautification fix this, by slapping a "./" in front.
2008-07-06editpage escaping fixesJoey Hess
* The editpage form now uses the raw page name, not the page title, in its 'page' cgi parameter. Using the title was ambiguous and made it impossible to tell between some pages, like "foo/bar" and "foo__47__bar", sometimes causing the wrong page to be edited. * This change means that some edit links need to be updated. Force a rebuild on upgrade to this version. * Above change also allowed really fixing escaped slashes from the blogpost form.
2008-07-02typoJoey Hess
2008-07-02factor out glob2reJoey Hess
2008-07-01better approach for cgi upload disablingJoey Hess
Make it a config setting, this way subtle load order issues don't come into play. (As much?)
2008-06-15append index.html to url generated by urlto("")Joey Hess
This special case crops up when generating the parentlink to the toplevel index page. urlto("") had been generating a link to "./" (or "../" etc) for that, which is fine, if the web server redirects that to the toplevel index.html. It's less fine if there is no web server. I actually ran into the problem first when using gopher. (Yes, yes, don't laugh.. see upcoming tip.) But it also crops up when browsing local wiki files. Of course, the index.html is stripped back off if usedirs is enabled.
2008-06-04Pass a destpage parameter to the sanitize hook.Joey Hess
Because the search plugin needed it, also because it's one of the few plugins that didn't already have it. I also considered adding it to htmlize, but I really cannot imagine caring what the destpage is when htmlizing. (I'll probably be poven wrong later.)
2008-06-04move indexing to sanitize hookJoey Hess
I think this will give better results overall. I made %IkiWiki::preprocessing accessible and used it to avoid indexing at unnecessary points.