summaryrefslogtreecommitdiff
path: root/IkiWiki
AgeCommit message (Collapse)Author
2008-02-04proper fix for the preview/will_render issueJoey Hess
2008-02-04preview shouldn't show the feed buttons or post formJoey Hess
2008-02-04* inline: Add new `allowrss` and `allowatom` config options. These can beJoey Hess
used if you want a wiki that doesn't default to generating rss or atom feeds, but that does allow them to be turned on for specific blogs.
2008-02-04the old code worked, suprisingly, but I prefer this formJoey Hess
2008-02-04* inline: When previewing, still call will_render on rss/atom files,Joey Hess
just avoid actually writing the files. This is necessary because ikiwiki saves state after a preview (in case it actually *did* write files), and if will_render isn't called its security checks will get upset when the page is saved. Thanks to Edward Betts for his help tracking this tricky bug down.
2008-02-03move saveindex call into preview blockJoey Hess
This call is only present to handle the case where previewing a page actually causes files to be rendered.
2008-02-03remove another commit mail mentionJoey Hess
2008-02-03remove spurious EOFJoey Hess
2008-02-03* monotone changes by Brian May:Joey Hess
- On commits, replace "mtn sync" bidirectional with "mtn push" single direction. No need to pull changes when doing a commit. mtn sync is still called in rcs_update. - Support for viewing differences via patches using viewmtn.
2008-02-03implement aggregate_locking designJoey Hess
Now aggregation will not lock the wiki. Any changes made during aggregaton are merged in with the changed state accumulated while aggregating. A separate lock file prevents multiple concurrent aggregators. Garbage collection of orphaned guids is much improved. loadstate() is only called once per process, so tricky support for reloading wiki state is not needed. (Tested fairly thuroughly.)
2008-02-03add aggregate locking functionsJoey Hess
2008-02-03* recentchanges: Exipre all *._change pages, even if the directoryJoey Hess
they're in has changed.
2008-02-03* recentchanges: Improve handling of links on the very static changes pagesJoey Hess
by thunking to the CGI, which can redirect to the page, or allow it to be created if it doesn't exist.
2008-02-03prototype fixJoey Hess
2008-02-03* aggregate: Revert use of forking to not save state, that was not the rightJoey Hess
approach.
2008-02-03* poll: This plugin turns out to have edited pages w/o doing any locking.Joey Hess
Oops. Convert it from a cgi to a sessioncgi hook, which will work much better.
2008-02-03* cgi hooks are now run before ikiwiki state is loaded.Joey Hess
* This allows locking the wiki before loading state, which avoids some tricky locking code when saving a web edit.
2008-02-02* aggregate: Forking a child broke the one state that mattered: ForcingJoey Hess
the aggregating page to be rebuilt. Fix this.
2008-02-02* Revert preservation of input file modification times in output files,Joey Hess
since this leads to too many problems with web caching, especially with inlined pages. Properly solving this would involve tracking every page that contributes to a page's content and using the youngest of them all, as well as special cases for things like the version plugin, and it's just too complex to do.
2008-01-30move openiduser function to the openid pluginJoey Hess
2008-01-30move recentchanges link enabling into a pagetemplate hookJoey Hess
2008-01-30Expand file-id in diffurl in the bzr backend.Jelmer Vernooij
2008-01-29rename bazaar -> bzr after discussion with jelmerJoey Hess
2008-01-29commit only the changed fileJoey Hess
2008-01-29stylistic changesJoey Hess
Remarkably few. Also, I removed the stub for the obsolete rcs_notify function.
2008-01-29Merge git://git.samba.org/jelmer/ikiwikiJoey Hess
2008-01-29really fix the baseurl problemJoey Hess
the issue is that HTML::Template doesn't expand top-level variables when inside a loop
2008-01-29avoid temp varJoey Hess
2008-01-29don't scan internal pagesJoey Hess
scan() does too much. All that is needed is to preprocess the internal page in scan-only mode.
2008-01-29merged the recentchanges branchJoey Hess
misc fixes
2008-01-29add missing test to avoid uninitialised value when a page with metadata is ↵Joey Hess
removed
2008-01-29* meta: Add pagespec functions to match against title, author, authorurl,Joey Hess
license, and copyright. This can be used to create custom RecentChanges. * meta: To support the pagespec functions, metadata about pages has to be retained as pagestate. * Fix encoding bug when pagestate values contained spaces.
2008-01-29make the author metadata for changes pages be the un-munged openidJoey Hess
2008-01-29avoid redundant recentpages action on the recentchanges page itselfJoey Hess
2008-01-29added configuration for recentchangesJoey Hess
I kept it to a simple global configuration, rather than using the preprocessor directive for recentchanges, because that had chicken and egg problems and seemed overcomplicated. This should work reasonably well, though it would be good to add some more metadata so that more customised recentchanges pages can be made.
2008-01-29add code to delete old change pagesJoey Hess
2008-01-29improve support for internal pagesJoey Hess
This makes it a lot quicker to deal with lots of recentchanges pages appearing and disappearing. It avoids needing to clutter up pagespecs with exclusions for those pages, by making normal pagespecs not match them.
2008-01-29use new refresh hookJoey Hess
2008-01-29add refresh hookJoey Hess
2008-01-29updatesJoey Hess
2008-01-29indicate that an internal page will be rendered even if skipping itJoey Hess
This is important to do because until will_render is called, ikiwiki doesn't know that the page exists. This avoids recentchanges re-writing every change page every run.
2008-01-29escape wikilinks and preprocessor directivesJoey Hess
2008-01-29update RecentChanges action to point to pageJoey Hess
2008-01-29typoJoey Hess
2008-01-29more style improvementsJoey Hess
2008-01-29non-tabular recentchanges displayJoey Hess
Doesn't look as good as the old table, but works as a rss feed.
2008-01-29some parameteraisation and generalisationJoey Hess
2008-01-29* Removed support for sending commit notification mails. Along with it wentJoey Hess
the svnrepo and notify settings, though both will be ignored if left in setup files.
2008-01-29don't render internal-use pages, and document themJoey Hess
2008-01-28proof of concept implementation of static recentchangesJoey Hess
Currently hardcoded to write to recentchanges/*, and the page format needs to be rethought to be usable for aggregation, but it basically works.