summaryrefslogtreecommitdiff
path: root/IkiWiki
AgeCommit message (Collapse)Author
2009-04-23simplifiyJoey Hess
2009-04-23Revert "pagespec_match_list * optimisation"Joey Hess
This reverts commit 2f96c49bd1826ecb213ae025ad456a714aa04863. I forgot about internal pages. We don't want * matching them! I left the optimisation in pagecount, where it used to live. Internal pages probably don't matter when they're just being counted.
2009-04-23avoid using pagespec_match_list hereJoey Hess
I forgot to check if it was called from preprocess, and it is not; it's called by a format hook. If an error is thrown from a format hook, wiki build fails, so we don't want that.
2009-04-23simplifyJoey Hess
2009-04-23pagespec_match_list * optimisationJoey Hess
Add an optimisation for the semi-common case of a "*" pagespec. Can avoid doing any real processing in this case.
2009-04-23formattingJoey Hess
2009-04-23typoJoey Hess
2009-04-23pagespec_match_list added and used in most appropriate placesJoey Hess
* pagespec_match_list: New API function, matches pages in a list and throws an error if the pagespec is bad. * inline, brokenlinks, calendar, linkmap, map, orphans, pagecount, pagestate, postsparkline: Display a handy error message if the pagespec is erronious.
2009-04-23comments: Add link to comment post form to allow user to sign in if they ↵Joey Hess
wish to, if the configuration makes signin optional for commenting.
2009-04-23pagespec error/failure distinction and error display by inlineJoey Hess
* Add IkiWiki::ErrorReason objects, and modify pagespecs to return them in cases where they fail to match due to a configuration or syntax error. * inline: Display a handy error message if the inline cannot display any pages due to such an error. This is perhaps somewhat incomplete, as other users of pagespecs do not display the error, and will eventually need similar modifications to inline. I should probably factor out a pagespec_match_all function and make it throw ErrorReasons.
2009-04-22fix idJoey Hess
2009-04-22websetup: If setup fails, restore old setup file.Joey Hess
2009-04-22blogspam: Load RPC::XML library in checkconfig, so that an error can be ↵Joey Hess
printed at that point if it's not available, allowing the admin to see it during wiki setup. Closes: #520015
2009-04-22websetup: Display stderr in browser if ikiwiki setup fails.Joey Hess
2009-04-20Merge commit 'upstream/master' into pub/pointrigeri
Conflicts: debian/changelog debian/control
2009-04-20po: remove unneeded check on link pluginintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-04-04remove unnecessary variableJoey Hess
2009-04-04remove debuggingJoey Hess
2009-04-04Merge branch 'darcs'Joey Hess
Conflicts: debian/changelog
2009-04-04fix display of web commits in recentchangesJoey Hess
The darcs backend appends @web to the names of web committers, so remove it when extracting.
2009-04-04fix name of wrapperJoey Hess
2009-04-04fix bug I introducedJoey Hess
2009-04-04Add missing newline to Confirm Password prompt.Joey Hess
2009-04-04support darcs in setup automatorJoey Hess
use a consistent name for the ikiwiki wrapper file
2009-04-04move comments to copyright and changelogJoey Hess
2009-04-04formatting, layout, indentation, coding styleJoey Hess
2009-04-04Merge branch 'master'Joey Hess
Conflicts: doc/ikiwiki-makerepo.mdwn
2009-04-01recentchanges: change to using do=goto links.Joey Hess
2009-03-29wrappingJoey Hess
2009-03-29whitespaceJoey Hess
2009-03-29minor code changesJoey Hess
2009-03-27no need to use CORE::rename since I renamed the rename functionJoey Hess
2009-03-27rename function for clarity, formatting improvementsJoey Hess
2009-03-27simplifiyJoey Hess
2009-03-27move dedup code into function, simplifyJoey Hess
2009-03-27Merge branch 'master' into poJoey Hess
Conflicts: debian/control
2009-03-27use md5sum for page_to_idJoey Hess
The munged ids were looking pretty nasty, and were not completly guaranteed to be unique. So a md5sum seems like a better approach. (Would have used sha1, but md5 is in perl core.)
2009-03-26comments: Fix anchor ids to be legal xhtml. Closes: #521339Joey Hess
Well, that was a PITA. Luckily, this doesn't break guids to comments in rss feeds, though it does change the links. I haven't put in a warning about needing to rebuild to get this fix. It's probably good enough for new comments to get the fix, without a lot of mass rebuilding.
2009-03-26comments: Fix too loose test for comments pages that matched normal pages ↵Joey Hess
with "comment_" in their name. Closes: #521322
2009-03-20fix rcs_getctime to return first, not last, change timeJoey Hess
This was being buggy and returning the file's last change time, not its creation time. (I checked all the others (except tla) and they're ok.)
2009-03-20fix rcs_getctime to return first, not last, change timeJoey Hess
This was being buggy and returning the file's last change time, not its creation time.
2009-03-19inline: Fix urls to feed when feedfile is used on an index page.Joey Hess
It would be better to use urlto() here, but will_render has not yet been called on the feed files at this point, so it won't work. (And reorganizing so it can be is tricky.)
2009-03-19avoid crashing if Sort::Naturally is not installedJoey Hess
2009-03-19implement sort=title_natural for inlinechrysn
adds a new sorting order, title_natural, that uses Sort::Naturally's ncmp function to provide better sorting for inlines
2009-03-09git: Manually decode git output from utf-8, avoids warning messages on ↵Joey Hess
invalidly encoded output.
2009-03-09git: Fix utf-8 encoding of author names.Joey Hess
I guess what's happening here is that since the name is passed to git via an environment variable, perl's normal utf-8 IO layer stuff doesn't work. So we have to explicitly decode the string from perl's internal representation into utf-8.
2009-03-09avoid uninitialized value warningsJoey Hess
2009-03-09Merge commit 'upstream/master' into prv/pointrigeri
2009-03-09revert exposing of %backlinks and $backlinks_calculatedintrigeri
This change was introduced in 85f865b5d98e0122934d11e3f3eb6703e4f4c620 and c3af3840a295780e0f32df398f2dc7d34653e75e ; it may be necessary for the meta-po integration, but the po branch alone is supposed to work without it. Signed-off-by: intrigeri <intrigeri@boum.org>
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.