aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
...
* | po: better discussion link logicintrigeri2009-06-03
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | quick fix for ↵intrigeri2009-06-03
| | | | | | | | | | | | http://ikiwiki.info/bugs/unwanted_discussion_links_on_discussion_pages/ Signed-off-by: intrigeri <intrigeri@boum.org>
* | Merge branch 'master' into poJoey Hess2009-05-19
|\| | | | | | | | | Conflicts: debian/changelog
| * tidy up new page_types codeJon Dowland2009-05-16
| |
| * add a long name for textile/txtl ("Textile")Jon Dowland2009-05-16
| |
| * add a long name for mdwn ("Markdown")Jon Dowland2009-05-16
| |
| * check for longname for each syntax pluginJon Dowland2009-05-16
| | | | | | | | | | | | | | | | We build an array of [ plugin name, long name ] pairs, where long name is an optional argument to hook(). So, a syntax plugin could define long "friendly" name, such as "Markdown" instead of mdwn, and we would then pass this array to formbuilder to populate the drop-down on the edit page.
| * remove pagespec_match_list override for externalJoey Hess2009-05-06
| | | | | | | | Not needed since it returns a list of pages, not a fail/success object.
| * external: Fix pagespec_match and pagespec_match_list. Closes: #527281Joey Hess2009-05-06
| |
| * Avoid %links accumulating duplicates. (For TOVA)Joey Hess2009-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is sorta an optimisation, and sorta a bug fix. In one test case I have available, it can speed a page build up from 3 minutes to 3 seconds. The root of the problem is that $links{$page} contains arrays of links, rather than hashes of links. And when a link is found, it is just pushed onto the array, without checking for dups. Now, the array is emptied before scanning a page, so there should not be a lot of opportunity for lots of duplicate links to pile up in it. But, in some cases, they can, and if there are hundreds of duplicate links in the array, then scanning it for matching links, as match_link and some other code does, becomes much more expensive than it needs to be. Perhaps the real right fix would be to change the data structure to a hash. But, the list of links is never accessed like that, you always want to iterate through it. I also looked at deduping the list in saveindex, but that does a lot of unnecessary work, and doesn't completly solve the problem. So, finally, I decided to add an add_link function that handles deduping, and make ikiwiki-transition remove the old dup links.
| * inline: Minor optimisation.Joey Hess2009-05-05
| | | | | | | | | | | | | | | | | | | | When finding the pageurl, it was calling bestlink unnecessarily. Since at this point $page contains the full name of the page that is being inlined, there is no need to do bestlink's scan for it. This is only a minor optimisation, since bestlink is only called once per displayed, inlined page.
| * simplifiyJoey Hess2009-04-23
| |
| * Revert "pagespec_match_list * optimisation"Joey Hess2009-04-23
| | | | | | | | | | | | | | | | | | | | 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.
| * avoid using pagespec_match_list hereJoey Hess2009-04-23
| | | | | | | | | | | | 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.
| * simplifyJoey Hess2009-04-23
| |
| * pagespec_match_list * optimisationJoey Hess2009-04-23
| | | | | | | | | | Add an optimisation for the semi-common case of a "*" pagespec. Can avoid doing any real processing in this case.
| * formattingJoey Hess2009-04-23
| |
| * typoJoey Hess2009-04-23
| |
| * pagespec_match_list added and used in most appropriate placesJoey Hess2009-04-23
| | | | | | | | | | | | | | | | * 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.
| * comments: Add link to comment post form to allow user to sign in if they ↵Joey Hess2009-04-23
| | | | | | | | wish to, if the configuration makes signin optional for commenting.
| * pagespec error/failure distinction and error display by inlineJoey Hess2009-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * 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 ↵Joey Hess2009-04-22
| | | | | | | | printed at that point if it's not available, allowing the admin to see it during wiki setup. Closes: #520015
| * websetup: Display stderr in browser if ikiwiki setup fails.Joey Hess2009-04-22
| |
* | Merge commit 'intrigeri/po' into poJoey Hess2009-05-19
|\ \
| * | Merge commit 'upstream/master' into pub/pointrigeri2009-04-20
| |\| | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog debian/control
| | * remove unnecessary variableJoey Hess2009-04-04
| | |
| | * remove debuggingJoey Hess2009-04-04
| | |
| | * Merge branch 'darcs'Joey Hess2009-04-04
| | |\ | | | | | | | | | | | | | | | | Conflicts: debian/changelog
| | | * fix display of web commits in recentchangesJoey Hess2009-04-04
| | | | | | | | | | | | | | | | | | | | The darcs backend appends @web to the names of web committers, so remove it when extracting.
| | | * fix name of wrapperJoey Hess2009-04-04
| | | |
| | | * fix bug I introducedJoey Hess2009-04-04
| | | |
| | | * support darcs in setup automatorJoey Hess2009-04-04
| | | | | | | | | | | | | | | | use a consistent name for the ikiwiki wrapper file
| | | * move comments to copyright and changelogJoey Hess2009-04-04
| | | |
| | | * formatting, layout, indentation, coding styleJoey Hess2009-04-04
| | | |
| | | * Merge branch 'master'Joey Hess2009-04-04
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: doc/ikiwiki-makerepo.mdwn
| | | * | 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
| | | | |
| * | | | po: remove unneeded check on link pluginintrigeri2009-04-20
| | | | | | | | | | | | | | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | | | | wrappingJoey Hess2009-03-29
| | | | |
* | | | | whitespaceJoey Hess2009-03-29
| | | | |
* | | | | minor code changesJoey Hess2009-03-29
|/ / / /
* | | | no need to use CORE::rename since I renamed the rename functionJoey Hess2009-03-27
| | | |
* | | | rename function for clarity, formatting improvementsJoey Hess2009-03-27
| | | |
* | | | simplifiyJoey Hess2009-03-27
| | | |