| Commit message (Expand) | Author | Age |
* | append index.html to url generated by urlto("")•••This special case crops up when generating the parentlink to the toplevel
index page. urlto("") had been generating a link to "./" (or "../" etc)
for that, which is fine, if the web server redirects that to the toplevel
index.html. It's less fine if there is no web server.
I actually ran into the problem first when using gopher. (Yes, yes, don't
laugh.. see upcoming tip.) But it also crops up when browsing local wiki
files.
Of course, the index.html is stripped back off if usedirs is enabled.
| Joey Hess | 2008-06-15 |
* | Pass a destpage parameter to the sanitize hook.•••Because the search plugin needed it, also because it's one of the few
plugins that didn't already have it.
I also considered adding it to htmlize, but I really cannot imagine caring
what the destpage is when htmlizing. (I'll probably be poven wrong later.)
| Joey Hess | 2008-06-04 |
* | move indexing to sanitize hook•••I think this will give better results overall.
I made %IkiWiki::preprocessing accessible and used it to avoid indexing
at unnecessary points.
| Joey Hess | 2008-06-04 |
* | Add rel=nofollow to edit links. This may prevent some spiders from pounding o... | Joey Hess | 2008-05-28 |
* | Avoid unsightly warning message when evaling broken pagespecs.•••Also improve error message when a pagespec fails to parse.
| Joey Hess | 2008-05-22 |
* | ENV can be used in the setup file to override environment variable setting, s... | Joey Hess | 2008-05-15 |
* | Optimised file statting code when scanning for modified pages; cut the number... | Joey Hess | 2008-05-07 |
* | avoid strange FreeBSD problem•••<mxey> I have a weird problem with Ikiwiki on FreeBSD: When rendering this page <http://rafb.net/p/zmfROX86.html>, I get "ikiwiki.setup: Modification of a read-only value attempted at /usr/local/lib/perl5/site_perl/5.8.8/IkiWiki.pm line 1300.".
And converting the constructors to not operate on the parameters directly
but use lexical variables fixed it. Not sure exactly when this occurs.
| Joey Hess | 2008-05-05 |
* | Fix ugly display when editing a page that has vanished.•••srcfile now has an optional second parameter to avoid it throwing an error
if the source file does not exist.
| Joey Hess | 2008-05-02 |
* | Correct a bug in pagespec matching, where a empty pagespec matched all pages.•••This manifested as wikis with no locked pages treating them all as locked.
The bug was introduced in version 2.41.
Medium urgency upload due to above fix.
| Joey Hess | 2008-04-24 |
* | Fix missing import of escapeHTML in userlink. (Scott Bronson) | Joey Hess | 2008-04-10 |
* | Added a hardlink option in the setup file, useful if the source and dest are ... | Joey Hess | 2008-03-29 |
* | fix page source storing•••This saves space, and stores the data under the right keys.
| Joey Hess | 2008-03-21 |
* | fix transition call | Joey Hess | 2008-03-21 |
* | add transition code for indexdb | Joey Hess | 2008-03-21 |
* | Changed to a binary index file, written using Storable, for speed•••During refresh of a wiki with 800 files, loadindex was using more total
time than any other function, and saveindex was also in the top ten.
Rewriting them to use Storable makes them three times as fast.
0.7 seconds is saved on my laptop in profiling mode.
| Joey Hess | 2008-03-21 |
* | Precompile pagespecs, about 10% overall speedup•••About 12% of ikiwiki runtime was spent in pagespec_match. It was evaling
the same pagespec code over and over again. This changes pagespec_translate
to return memoized, precompiled functions that can be called to match against
a given pagespec.
This also allows getting rid of the weird variable scoping trick that had
to be in effect for pagespec_translate to be called -- the variables are
now just fed into the function it returns.
On my laptop, this drops build time for the docwiki from about 60 to 50
seconds.
| Joey Hess | 2008-03-21 |
* | improve comment | Joey Hess | 2008-03-21 |
* | * Detect invalid pagespecs and do not merge them in add_depends,••• as that can result in a broken merged pagespec that matches nothing.
| Joey Hess | 2008-03-17 |
* | * Correct bug in encoding of %pagestate keys, fixes edittemplate. | Joey Hess | 2008-03-17 |
* | typo | Joey Hess | 2008-02-24 |
* | * Add the linkify and scan hooks. These hooks can be used to implement••• custom, first-class types of wikilinks.
* Move standard wikilink implementation to a new wikilink plugin, which
will of course be enabled by default.
| Joey Hess | 2008-02-11 |
* | Tighten page name regex to not allow carriage returns or line feeds | Josh Triplett | 2008-02-09 |
* | Allow whitespace in page names.•••Spaces in page names map to underscores in file names. Newlines and
tabs follow ikiwiki's usual filename escaping rules: __10__ and __9__.
| Josh Triplett | 2008-02-06 |
* | Merge branch 'master' into prefix-directives | Joey Hess | 2008-02-05 |
|\ |
|
| * | * inline: Add new `allowrss` and `allowatom` config options. These can be••• used if you want a wiki that doesn't default to generating rss or atom
feeds, but that does allow them to be turned on for specific blogs.
| Joey Hess | 2008-02-04 |
| * | clear %pagestate in loadindex•••This is to handle the case where loadindex is called multiple times in one run,
as when aggregating.
| Joey Hess | 2008-02-03 |
| * | move openiduser function to the openid plugin | Joey Hess | 2008-01-30 |
| * | * meta: Add pagespec functions to match against title, author, authorurl,••• license, and copyright. This can be used to create custom RecentChanges.
* meta: To support the pagespec functions, metadata about pages has to be
retained as pagestate.
* Fix encoding bug when pagestate values contained spaces.
| Joey Hess | 2008-01-29 |
| * | improve support for internal pages•••This makes it a lot quicker to deal with lots of recentchanges pages
appearing and disappearing. It avoids needing to clutter up pagespecs with
exclusions for those pages, by making normal pagespecs not match them.
| Joey Hess | 2008-01-29 |
| * | non-tabular recentchanges display•••Doesn't look as good as the old table, but works as a rss feed.
| Joey Hess | 2008-01-29 |
| * | * Removed support for sending commit notification mails. Along with it went••• the svnrepo and notify settings, though both will be ignored if left in
setup files.
| Joey Hess | 2008-01-29 |
| * | only linkify openids in userlink•••Can't use htmllink in userlink due to it being called from recentchanges
in cases where there is no configured url. It seems easist, at least for now,
to not linkify user names in this case. I don't think I've ever clicked on such
a link anyway.
Might revisit this later.
| Joey Hess | 2008-01-28 |
| * | move userlink to IkiWiki.pm•••I have a plugin that needs to use userlink.
| Joey Hess | 2008-01-28 |
* | | Add new preprocessor directive syntax¸ using a '!' prefix.•••Add a prefix_directives option to the setup file to turn this syntax
on; currently defaults to false, for backward compatibility. Support
optional '!' prefix even with prefix_directives off, and use that in
the underlay to support either setting of prefix_directives. Add NEWS
entry with migration information.
| Josh Triplett | 2008-01-27 |
|/ |
|
* | fix | Joey Hess | 2008-01-09 |
* | not only markdown adds gunk, so remove it in the main htmlize function | Joey Hess | 2008-01-09 |
* | Call preprocessor hooks in void context during the scan pass.•••This allows the hook to determine if it's just scanning, and avoid expensive
operations.
| Joey Hess | 2008-01-09 |
* | further improve the .. regexp | Joey Hess | 2007-12-17 |
* | * Don't refuse to render files with ".." in their name. (Anchor the regexp.) | Joey Hess | 2007-12-17 |
* | * Allow dashes in preprocessor directive commands, and shortcuts. | Joey Hess | 2007-12-12 |
* | * Fix file pruning code to work if ikiwiki is run with "." as the srcdir. | Joey Hess | 2007-12-10 |
* | bug fix | Joey Hess | 2007-12-08 |
* | * Finally implemented a simple per-page data storage mechanism for plugins,••• via the %pagestate hash.
* Use pagestate in meta to detect potential redir loops.
| Joey Hess | 2007-12-08 |
* | * Add umask configuration option. Closes: #443329 | Joey Hess | 2007-11-27 |
* | * Don't consider links to anchors on the same page to be self links.••• Patch by Daniel Burrows. Closes: #451729
* When usedirs is disabled, link direct to index.html files, not to
directories, to improve browsing of file:// urls.
Patch by Daniel Burrows. Closes: #451728
| Joey Hess | 2007-11-17 |
* | need to remove trailing slashes in not one, but 2 places•••htmllink needs to do it because it uses the basename of the link as the link
text
bestlink needs to do it because it is not always called from htmllink
| Joey Hess | 2007-11-17 |
* | * Allow trailing slashes after page names in wikilinks. | Joey Hess | 2007-11-17 |
* | * inline: Add timeformat parameter to control how the ctime of••• inlined pages is displayed. Closes: #451019
| Joey Hess | 2007-11-13 |
* | * Add a "createlink" class attribute to the span for wikilinks pointing••• to not-yet-existing pages. I don't have a useful style defined for that
though.
| joey | 2007-10-13 |