summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2009-03-08When loading a template in scan mode, let preprocess know it only needs to scan.Joey Hess
This makes wikis such as zack's much faster in the scan pass. In that pass, when a template contains an inline, there is no reason to process the entire inline and all its pages. I'd forgotten to pass along the flag to let preprocess() know it was in scan mode, leading to much unncessary churning.
2009-03-08avoid potential infinite loop in smiley expansionJoey Hess
- In 3.05, ikiwiki began expanding templates in scan mode, for annoying, expensive, but ultimatly necessary reasons of correctness. - Smiley processing has a bug: It inserts a span for the smiley, and then continues searching forward in the content for more, starting at $end_of_smiley+1. Which means it searches for smilies in the span too! And if it somehow finds one, we get an infinite loop here. - This bug can, probably, only be tickled if a htmllink to show the smiley fails, because the smiley file doesn't exist, or because ikiwiki doesn't know about it. In that case, a link will be inserted to _create_ the missing page, and that link will include the smiley inside the <a></a>. - When a template is expanded in scan mode, and it contains an inline, the sanitize hook is run during scan mode, which never happened before. That causes the smiley processor to run, before ikiwiki is, necessarily, aware that all the smiley files exist (depending on scan order). So it inserts creation links for them, and triggers the bug. I've put in the simple fix of jumping forward past the inserted span, and it does fix the problem. I will need to look in a bit more detail into why an inline nested inside a template is fully expanded during the scan pass -- that really shouldn't be necessary, and it makes things much slower than they need to be.
2009-03-07wmd stuffJoey Hess
2009-03-06Updated French translation (Jean-Luc Coulon). Closes: #518510Joey Hess
2009-03-05Updated German translation (Kai Wasserbäch). Closes: #518377Joey Hess
2009-03-01releasing version 3.06Joey Hess
2009-03-01Setup automator: Fix bug in password comparison. Closes: #517654Joey Hess
2009-02-27releasing version 3.05Joey Hess
2009-02-27lintian fixesJoey Hess
2009-02-27fix clean on clean treeJoey Hess
2009-02-27lower debhelper build-depJoey Hess
debhelper 7.0.50 will support everything needed, and will be backported to stable
2009-02-27goto: Fix typo that broke recentchanges_link compatability.Joey Hess
2009-02-26bzr: Add missing rcs_diff. (liw)Joey Hess
2009-02-26comments: Avoid showing comment moderation button in prefs to non-admins.Joey Hess
2009-02-25bzr: Add missing stub rcs_diff.Joey Hess
2009-02-24Setup automator: Prompt for password twice. Closes: #516973Joey Hess
2009-02-23Updated German translation (Kai Wasserbäch). Closes: #516770Joey Hess
2009-02-19commentsJoey Hess
2009-02-19rename tag() to tagged(); add docsJoey Hess
2009-02-19Add noextension parameter to htmlize hooks to support, eg, Makefile.Joey Hess
2009-02-17goto: Fix redirect to comments.Joey Hess
2009-02-17template: Load templates in scan modeJoey Hess
This is potentially expensive, but is necessary so that meta and tag directives, and other links on templates affect the page using the template reliably.
2009-02-17Revert "comments" (stupid commit)Joey Hess
This reverts commit bb8b8787ef9477c027b9e5d8b7b5e1addfd1ca32.
2009-02-17commentsJoey Hess
2009-02-16need to pass PREFIX=/usr to avoidJoey Hess
was lost in rules file rewrite I used debhelper 7.2 features too, shoot me :-)
2009-02-16update compat levelJoey Hess
2009-02-15avoid compressing htmlJoey Hess
2009-02-15debhelper v7; rules file minimisation.Joey Hess
2009-02-14typoJoey Hess
2009-02-12move check_canedit, check_content to IkiWiki library from editpageJoey Hess
It no longer makes sense to keep these functions in editpage, because serveral plugins now exist that use them, and users may want to disable editpage, while leaving those plugins enabled. Most notably, comments uses both functions, and it's entirely appropriate to disable editpage but still want to have comments enabled. Less likely, attachments, rename, and remove all use check_canedit -- but it would be unusual indeed to want to use these w/o editpage.
2009-02-12update deps and bundlesJoey Hess
2009-02-12shortcut: If default_pageext is set, first look for shortcuts.default_pageextJoey Hess
Falls back to looking for shortcuts.mdwn for backwards compatabiity; there probably exist wikis that have changed the pageext but still use shortcuts.mdwn.
2009-02-09Create any missing directory necessary to put the wrapper file into. Closes: ↵Joey Hess
#514384
2009-02-09Fix unusual --setup --post-commit command line option combo.Joey Hess
2009-02-05Updated German translation (Kai Wasserbäch). Closes: #514251Joey Hess
2009-02-03Work around XML::Atom strangeness that results in double-encoded posts. (smcv)Joey Hess
2009-01-31rename apache404 -> 404Joey Hess
This may already work with other web servers that have copied apache's interface, and it should be easy to add support to it for web servers that use some other interface. So, make the name more general.
2009-01-31doc updates for goto branch mergeJoey Hess
2009-01-29releasing version 3.03Joey Hess
2009-01-27thoughtJoey Hess
2009-01-26updateJoey Hess
2009-01-26underlay: New plugin, allows pulling in additional files not in version ↵Joey Hess
control. (smcv)
2009-01-26meta: New "updated" metadata specifies a fake modification time for a page, ↵Joey Hess
to be output into RSS and Atom feeds. (smcv)
2009-01-25git: Fix malformed utf8 recieved from git.Joey Hess
If git log outputs malformed utf8 in, eg, usernames, detect it and fix it up. This avoids commits such as f71abc92aa279fbe0b7578b8c4752d775dd4a259 breaking things.
2009-01-25comments: Add a moderation web interface.Joey Hess
2009-01-25comments: If comment content checks fail, store the comment (in ↵Joey Hess
.ikiwiki/comments_pending) for moderator review.
2009-01-25blogspam: Fix use of blogspam_options and blogspam_server config settings.Joey Hess
2009-01-20Remove nonstandard css. Closes: #512378Joey Hess
2009-01-19blogspam: Log spam info on failure.Joey Hess
2009-01-18Avoid feeding decoded unicode to Term::ReadLineJoey Hess
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.)