aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Expand)AuthorAge
* pagespec_match_list added and used in most appropriate places•••* 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. Joey Hess2009-04-23
* comments: Add link to comment post form to allow user to sign in if they wish...Joey Hess2009-04-23
* pagespec error/failure distinction and error display by inline•••* 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. Joey Hess2009-04-23
* fix idJoey Hess2009-04-22
* websetup: If setup fails, restore old setup file.Joey Hess2009-04-22
* blogspam: Load RPC::XML library in checkconfig, so that an error can be print...Joey Hess2009-04-22
* websetup: Display stderr in browser if ikiwiki setup fails.Joey Hess2009-04-22
* remove unnecessary variableJoey Hess2009-04-04
* remove debuggingJoey Hess2009-04-04
* Merge branch 'darcs'•••Conflicts: debian/changelog Joey Hess2009-04-04
|\
| * fix display of web commits in recentchanges•••The darcs backend appends @web to the names of web committers, so remove it when extracting. Joey Hess2009-04-04
| * fix name of wrapperJoey Hess2009-04-04
| * fix bug I introducedJoey Hess2009-04-04
| * support darcs in setup automator•••use a consistent name for the ikiwiki wrapper file Joey Hess2009-04-04
| * move comments to copyright and changelogJoey Hess2009-04-04
| * formatting, layout, indentation, coding styleJoey Hess2009-04-04
| * Merge branch 'master'•••Conflicts: doc/ikiwiki-makerepo.mdwn Joey Hess2009-04-04
| |\
| * | only darcs add files not yet in version controlJoey Hess2008-10-16
| * | updated from pesco's darcs repo, current to Oct 11 versionJoey Hess2008-10-15
| * | Merge branch 'master' into darcsJoey Hess2008-10-15
| |\ \
| * | | add pesco's darcs pluginJoey Hess2008-10-01
* | | | Add missing newline to Confirm Password prompt.Joey Hess2009-04-04
| |_|/ |/| |
* | | recentchanges: change to using do=goto links.Joey Hess2009-04-01
* | | use md5sum for page_to_id•••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.) Joey Hess2009-03-27
* | | comments: Fix anchor ids to be legal xhtml. Closes: #521339•••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. Joey Hess2009-03-26
* | | comments: Fix too loose test for comments pages that matched normal pages wit...Joey Hess2009-03-26
* | | fix rcs_getctime to return first, not last, change time•••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.) Joey Hess2009-03-20
* | | fix rcs_getctime to return first, not last, change time•••This was being buggy and returning the file's last change time, not its creation time. Joey Hess2009-03-20
* | | inline: Fix urls to feed when feedfile is used on an index page.•••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.) Joey Hess2009-03-19
* | | avoid crashing if Sort::Naturally is not installedJoey Hess2009-03-19
* | | implement sort=title_natural for inline•••adds a new sorting order, title_natural, that uses Sort::Naturally's ncmp function to provide better sorting for inlines chrysn2009-03-19
* | | git: Manually decode git output from utf-8, avoids warning messages on invali...Joey Hess2009-03-09
* | | git: Fix utf-8 encoding of author names.•••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. Joey Hess2009-03-09
* | | avoid uninitialized value warningsJoey Hess2009-03-09
* | | When loading a template in scan mode, let preprocess know it only needs to scan.•••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. Joey Hess2009-03-08
* | | avoid potential infinite loop in smiley expansion•••- 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. Joey Hess2009-03-08
* | | configure wmd to leave text in markdownJoey Hess2009-03-08
* | | look for wmd/wmd.js•••This means that the underlay needs to have a wmd/wmd/wmd.js, which is a trifle weird, but it isolates all the wmd stuff in a single wmd subdirectory of the built wiki. The wmd/images creating a toplevel images directory was particularly bad. Joey Hess2009-03-07
* | | make wmd comment support comment editing (I think)Joey Hess2009-03-07
* | | rebuild not needed•••This plugin only affects the page edit, not the compiled wiki. Joey Hess2009-03-07
* | | wmd plugin from willuJoey Hess2009-03-07
* | | Setup automator: Fix bug in password comparison. Closes: #517654Joey Hess2009-03-01
* | | goto: Fix typo that broke recentchanges_link compatability.Joey Hess2009-02-27
* | | bzr: Add missing rcs_diff. (liw)Joey Hess2009-02-26
* | | comments: Avoid showing comment moderation button in prefs to non-admins.Joey Hess2009-02-26
* | | detect sslcookie set and no https•••This is likely a misconfiguration and can cause login to fail as the browser refuses the send the session cookie back over http. Not entirely happy with putting the check where I did, since users have to try to log in, and fail, to see the misconfiguration explained. But I could not find a better place to put the check. Joey Hess2009-02-26
* | | bzr: Add missing stub rcs_diff.Joey Hess2009-02-25
* | | Setup automator: Prompt for password twice. Closes: #516973Joey Hess2009-02-24
* | | rename tag() to tagged(); add docsJoey Hess2009-02-19
* | | add tag() pagespec•••patch from jon Joey Hess2009-02-19