aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
...
* updatesJoey Hess2008-10-24
|
* really fix calls to check_can*Joey Hess2008-10-24
|
* untrusted committers code seems to be fully workingJoey Hess2008-10-23
| | | | Still need to investigate possible races, and test some more.
* fix calls to check_*Joey Hess2008-10-23
| | | | These throw errors, do not have useful return codes.
* check_canattach hooked upJoey Hess2008-10-23
|
* more work on untrusted committersJoey Hess2008-10-23
| | | | | Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test.
* initial support for git repos with untrusted committersJoey Hess2008-10-22
| | | | | 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.
* function injection overhaulJoey Hess2008-10-21
| | | | | | | | | | | 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.
* 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 ↵Joey Hess2008-10-20
| | | | | | | | | | | | toplevel tagpage, and not closer subpages. 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.
* inline: Only the last feed link was put on the page, fix this to include all ↵Joey Hess2008-10-20
| | | | feed links. So rss will be included along with atom, and pages with multiple feeds will get links added for all feeds.
* Use the pure perl Data::Dumper when generating setup files to ensure that ↵Joey Hess2008-10-19
| | | | | | | 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.
* Fix issue with utf-8 in wikiname breaking session cookies, by ↵Joey Hess2008-10-19
| | | | entity-encoding the wikiname in the session cookie.
* add displaytime hookJoey Hess2008-10-19
| | | | | | | | 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.
* need to use localtime, fix widthJoey Hess2008-10-19
|
* fix relativedate timezone inclusionJoey Hess2008-10-19
| | | | | | The machine parseable date needs to include a timezone. Also, simplified the interface for date display.
* mark up date so relativedate will workJoey Hess2008-10-19
|
* fix urlJoey Hess2008-10-17
|
* tweak recentchanges permalink codeJoey Hess2008-10-17
| | | | Need to handle the case where url is not set.
* Patch for anchor-based change permalinks in recent changes feedJoey Hess2008-10-17
| | | | from JasonBlevins
* add missing getsetup hookJoey Hess2008-10-17
|
* make relativedate work for the dates on the recentchanges pageJoey Hess2008-10-17
| | | | Having a always current relative date on recentchanges is very, very nice.
* relativedate: New javascript-alicious plugin that makes all dates display ↵Joey Hess2008-10-17
| | | | relative, in a very nice way, if I say so myself.
* Add an underlay for javascript, and add ikiwiki.js containing some utility code.Joey Hess2008-10-17
| | | | | | | * 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.
* aggregate: Avoid bug that caused immediate expiration of items with a date ↵Joey Hess2008-10-16
| | | | in the future.
* inline: Use the feed's description in the rss and atom links. Closes: #502113Joey Hess2008-10-15
|
* fix prototypeJoey Hess2008-10-14
|
* inline: Allow MTIME to be used in inlinepage.tmpl.Joey Hess2008-10-14
|
* Pass HTTPS variable through the wrapper so that CGI->https can be used by ↵Joey Hess2008-10-13
| | | | plugins. Closes: #502047
* optimise url parsing and add guard against failure to parseJoey Hess2008-10-10
|
* google plugin: Use google.com to search the local site.Peter Simons2008-10-10
| | | | | | | | | Google allows has a nice feature, sitesearch, that allows anyone to limit search results to a specific site. Obviously, this feature can be used to provide a search engine for the local ikiwiki site without the need to install any additional software. Just enable the 'google' plugin and make sure that --url uses the proper hostname. Thanks to Joey for helping to get the Perl implementation right.
* orphans: Fix unquoted page name in regexp.Joey Hess2008-10-09
|
* lockedit: Support specifying which users (and IP addresses) a page is locked ↵Joey Hess2008-10-08
| | | | for. This supports most of the ACL type things users have been wanting to be done. Closes: #443346 (It does not control who can read a page, but that's out of scope for ikiwiki.)
* avoid $_ in a few other for loopsJoey Hess2008-10-06
| | | | | These were probably not currently buggy, but let's avoid bugs being introduced by the functions called clobbering $_.
* remove: Avoid $_ breakage. (Stupid, stupid perl.)Joey Hess2008-10-06
| | | | | This avoids another one of those $_ scoping issues where a deep call to a function that changes $_ clobbers the array that is being looped over.
* remove, rename: Allow acting on attachments as a page is being created.Joey Hess2008-10-02
|
* attachment: Support adding attachments to pages even as they are being created.Joey Hess2008-10-02
|
* don't special case previewJoey Hess2008-10-02
| | | | | | | | | | Whenever the edit form is submitted, but not saved, the page location select should reduce to the currently selected value. This was only done when previewing before, but is also needed in order to support the case of adding an attachment to a page that is just being created. Before this change, the attachment plugin would get a weird value in $form->field("page"), that did not reflect the actual page location.
* inline: Fix handling of rootpage that doesn't exist.Joey Hess2008-10-01
| | | | | It makes sense to use bestlink to determine which page rootpage refers to, but if no page matches, just use the raw value.
* fix subpage rename bug with indexpagesJoey Hess2008-10-01
| | | | | | If indexpages is enabled, then foo/index.mdwn will look like a subpage of foo, so an additional check is needed to avoid trying to rename it twice.
* support indexpagesJoey Hess2008-09-29
|
* Removed the pagefile function, which was confusingly close in name toJoey Hess2008-09-29
| | | | | | | | newpagefile. Note that newpagefile is not used here (or in recentchanges) because the internal use pages they generate are transient and unlikely to benefit from being put each in their own subdir.
* use newpagefileJoey Hess2008-09-29
|
* support indexpages when renaming pagesJoey Hess2008-09-29
| | | | Note that the page filename code used here and in editpage are identical..
* support indexpages when creating new pagesJoey Hess2008-09-29
| | | | | Initial draft, may need to factor new page filename code out into helper function if other plugins need to do the same..
* avoid unnecessarily rebuilding pages with complex conditionalsJoey Hess2008-09-29
| | | | | | | | | | | | I noticed that ikiwiki/formatting was beilg rebuilt when any page changed. This turned out to be because it contained a complex conditional "enabled(foo) or enabled(bar)", and the conditional plugin did not notice that this consisted only of enabled() tests, and copied it unchanged into add_depends. Thus, the page's dependencies were satisfied by any page change. The fix is to beef up the parser so that it can handle that and more complex conditionals, and detect if they consist only of such tests.
* use gettextJoey Hess2008-09-29
|
* fix handing of case of file first created by preview but then savedJoey Hess2008-09-29
| | | | | | To handle this, avoid populating %renderedfiles in preview, and in expiry, check if the file is in %renderedfiles, if it is do not delete it since it was saved.
* editpage: Be more aggressive (and less buggy) about cleaning up temporary ↵Joey Hess2008-09-27
| | | | files rendered during page preview.