aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
* typoJoey Hess2009-01-26
|
* Merge commit 'smcv/underlay'Joey Hess2009-01-26
|\
| * Add underlay pluginSimon McVittie2009-01-18
| |
* | Merge commit 'smcv/updated'Joey Hess2009-01-26
|\ \
| * | Add meta field "updated", which can alter the <updated> Atom elementSimon McVittie2009-01-18
| |/ | | | | | | | | | | | | | | | | | | | | Some aggregators, like Planet, sort by mtime rather than ctime. This means that posts with modified content come to the top (which seems odd to me, but is presumably what the aggregator's author or operator wants), but it also means that posts with insignificant edits (like adding tags) come to the top too. Atom defines <updated> to be the date of the last *significant* change, so it's fine that ikiwiki defaults to using the mtime, but it would be good to have a way for the author to say "that edit was insignificant, don't use that mtime".
* | git: Fix malformed utf8 recieved from git.Joey Hess2009-01-25
| | | | | | | | | | | | If git log outputs malformed utf8 in, eg, usernames, detect it and fix it up. This avoids commits such as f71abc92aa279fbe0b7578b8c4752d775dd4a259 breaking things.
* | format moderation queue only at end, avoid O(N^3) bugJoey Hess2009-01-25
| | | | | | | | | | | | | | | | | | | | | | | | It was calling format hooks for each comment on the page. When relativedate is enabled, that made it insert <script> tags for each comment. And the browser loaded the same script over and over, which was slow on its own. But that was nothing compared to running the onload even over and over.. especially since the hook system added a new call to the hook each time it loaded. For a page with 10 comments, that caused the relativedate DOM parsing code to run 1000 times, I think. Anyway, it was sloow. Now it runs once.
* | add reject all marked defer checkboxJoey Hess2009-01-25
| |
* | sort comment queue by time, newest firstJoey Hess2009-01-25
| |
* | add a button to prefs page for comment moderationJoey Hess2009-01-25
| |
* | clean up comment previewJoey Hess2009-01-25
| | | | | | | | Remove actions from it, and avoid a broken title link.
* | comments: Add a moderation web interface.Joey Hess2009-01-25
| |
* | comments: If comment content checks fail, store the comment (in ↵Joey Hess2009-01-25
| | | | | | | | .ikiwiki/comments_pending) for moderator review.
* | blogspam: Fix use of blogspam_options and blogspam_server config settings.Joey Hess2009-01-25
| |
* | typoJoey Hess2009-01-22
| |
* | fix uninitialized value warningsJoey Hess2009-01-22
| | | | | | | | I suspect these are only triggered by spammers.
* | fix typoJoey Hess2009-01-22
| |
* | img: only provide alt text if it was specifiedGabriel McManus2009-01-21
| | | | | | | | | | | | if suitable alternate text is unknown, then it should not be given. empty alt text is suitable mainly for purely decorative images. (cherry picked from commit 3cd7f67f0cf894f4fd5ba16f68e82e4f7bdbfdc5)
* | fix removal form displayJoey Hess2009-01-20
| | | | | | | | The form was misdisplayed when displayed via comment removal.
* | blogspam: Log spam info on failure.Joey Hess2009-01-19
| |
* | Avoid feeding decoded unicode to Term::ReadLineJoey Hess2009-01-18
|/ | | | | | | | That resulted in double encoded display when using perl's stub readline module. Apparently that module unconditionally upgrades text to utf8, in a quite braindead way. (Term::ReadLine::Gnu::Perl worked ok.)
* blogspam api now supports homepage linkJoey Hess2009-01-17
|
* load rpc xml lib on the flyJoey Hess2009-01-17
| | | | | This way, enabling the plugin via websetup is safe, it can't leave ikiwiki in a broken state.
* use short names in comittypeJoey Hess2009-01-17
| | | | | | Use mtn for monontone and hg for mercurial. The long names cause ugly formatting in recentchanges, which has CSS that only allows a few characters for the commit type column.
* blogspam: New plugin, adding spam filtering for page editing / comment ↵Joey Hess2009-01-16
| | | | posting using the BlogSpam.net API.
* make postcomment() pagespecs work while in checkcontentJoey Hess2009-01-16
|
* add new hook to skeletonJoey Hess2009-01-16
|
* checkcontent: New hook, can be used to implement arbitrary content filters, ↵Joey Hess2009-01-16
| | | | including spam filters.
* remove xxx commentJoey Hess2009-01-16
| | | | IIRC I analised this and the code is right
* Add auto-blog.setupJoey Hess2009-01-12
| | | | | | | It will set up an ikiwiki instance tuned for use in blogging. As part of this change, move the example sites into /usr/share/ikiwiki so they are available even if docs are not installed.
* pinger: Get whole url, don't just head.Joey Hess2009-01-11
| | | | | | | Asking for only the head worked in my tests, but I've found a site where it didn't -- apparently ikiwiki didn't get a chance to do or finish the refresh when HEADed. Getting the whole url, waiting for ikiwiki to finish, avoided the update problem.
* Consistently allow use of relative paths in all PageSpecs that take a page ↵Joey Hess2009-01-10
| | | | name parameter. Previously, match_created_before(), match_created_after(), match_sourcepage(), and match_destpage() did not support that, and the docs were not clear.
* comments: if the remove plugin is enabled, append a "Remove comment" linkSimon McVittie2009-01-10
|
* comments: only try to insert commentuser etc. into templates if the page ↵Simon McVittie2009-01-10
| | | | contained [[!_comment]]
* repolist: New plugin to support the rel=vcs-* microformat.Joey Hess2009-01-07
| | | | | | * repolist: New plugin to support the rel=vcs-* microformat. * goodstuff: Include repolist by default. (But it does nothing until configured with the repository locations.)
* increment interface versionJoey Hess2009-01-07
|
* comments: Fix cache avoidance hack.Joey Hess2009-01-07
| | | | | The ?updated needs to come before the #anchor or browsers will not follow the anchor.
* rename: Show full names of affected pages.Joey Hess2009-01-06
|
* refactorJoey Hess2009-01-06
|
* table: Find links in external files in scan pass.Joey Hess2009-01-06
|
* typoJoey Hess2009-01-06
|
* table: Fix misparsed links in external filesJoey Hess2009-01-06
| | | | | linkify data from external files at the same time as data from an inlined table would be linkified.
* A recent change to gitweb removed support for the form of diffurl that many ↵Joey Hess2009-01-05
| | | | ikiwiki setups use. Document how to use the new url form.
* websetup: Avoid a crash when a new array setup item has been added in a new ↵Joey Hess2008-12-31
| | | | | | | ikiwiki release, and is thus not present in the setup file yet. This happened with camelcase_ignore. The code tried to convert the undef value for it into an array.
* make sure value is defined before using it as an arrayJoey Hess2008-12-31
|
* htmlbalance: Demand-load HTML::TreeBuilder to avoid failing test suite if it ↵Joey Hess2008-12-29
| | | | is not present.
* comments: Add cache avoidance.Joey Hess2008-12-28
| | | | This got lost when we added the jump-to-comment anchor.
* typoJoey Hess2008-12-26
|
* Merge branch 'master' into nextJoey Hess2008-12-26
|\
| * inline: Run format hook firstJoey Hess2008-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inline has a format hook that is an optimisation hack. Until this hook runs, the inlined content is not present on the page. This can prevent other format hooks, that process that content, from acting on inlined content. In bug ##509710, we discovered this happened commonly for the embed plugin, but it could in theory happen for many other plugins (color, cutpaste, etc) that use format to fill in special html after sanitization. The ordering was essentially random (hash key order). That's kinda a good thing, because hooks should be independent of other hooks and able to run in any order. But for things like inline, that just doesn't work. To fix the immediate problem, let's make hooks able to be registered as running "first". There was already the ability to make them run "last". Now, this simple first/middle/last ordering is obviously not going to work if a lot of things need to run first, or last, since then we'll be back to being unable to specify ordering inside those sets. But before worrying about that too much, and considering dependency ordering, etc, observe how few plugins use last ordering: Exactly one needs it. And, so far, exactly one needs first ordering. So for now, KISS. Another implementation note: I could have sorted the plugins with first/last/middle as the primary key, and plugin name secondary, to get a guaranteed stable order. Instead, I chose to preserve hash order. Two opposing things pulled me toward that decision: 1. Since has order is randomish, it will ensure that no accidental ordering assumptions are made. 2. Assume for a minute that ordering matters a lot more than expected. Drastically changing the order a particular configuration uses could result in a lot of subtle bugs cropping up. (I hope this assumption is false, partly due to #1, but can't rule it out.)