aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
Commit message (Collapse)AuthorAge
* * Enable openid logins by default.joey2007-04-29
| | | | * Enable usedirs by default.
* foldingjoey2007-04-27
|
* * Make pagespec_match return an object that can be stringified to telljoey2007-04-27
| | | | * Include wikiname in syslogged messages.
* minor improvementsjoey2007-04-27
|
* * Fix bestlink to use pagecase for pages in userdir, to support pagesjoshtriplett2007-04-27
| | | | with non-lowercase filenames.
* the kind of perl code that can only be written at 4:30 amjoey2007-04-27
| | | | | | | (Get a good message when a PageSpec fails due to a negated success by creating success objects with a reason string, which morph into failure objects when negated.)
* * Make pagespec_match on failure return a value that is false, but in ajoey2007-04-27
| | | | | | scalar context, evaluates to a reason why the match failed. * Add testpagespec plugin, which might be useful to see why a pagespec isn't matching something.
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
* * Add .dpkg-tmp to prune regexp, so that if ikiwiki is run right as it'sjoey2007-04-15
| | | | being upgraded by dpkg it will ignore dpkg temp files in the basewiki.
* expost %destsourcesjoey2007-04-14
|
* * Apply patch from Ethan to improve an error message that should neverjoey2007-04-14
| | | | happen.
* * Internal version number and installdir substitutions were lost, fix.joey2007-04-13
|
* * Optimise displaytime, trimming maybe 6% off the build time.joey2007-04-10
|
* * Add a new %destsources hash, which maps between a destination file andjoey2007-04-10
| | | | | the source page used to create it, ie it's the reverse of %renderedfiles. * Use %destsources in htmllink and urlto for 20-50% speedup.
* use err facility when logging errors to syslogjoey2007-04-09
|
* oopsjoey2007-04-06
|
* * Fix display of escaped wikilinks containing anchors.joey2007-04-06
|
* * Fix a bug that caused link(foo) to succeed if page foo did not exist.joey2007-04-04
|
* * Finally apply the index.html patch, with thanks to everyone who workedjoey2007-04-01
| | | | | | on and supported creating it (especially Tumov). This adds a "usedirs" option that makes ikiwiki use foo/index.html instead of foo.html as output page names. It is not yet enabled by default.
* * Hide excess backlinks and expand using CSS trick; control quantiy viajoey2007-03-31
| | | | the numbacklinks setting.
* * Finally fixed the longstanding inline removal bug.joey2007-03-24
| | | | | | * Renamed %oldpagemtime to a more accurately named %pagemtime and fix it to actually store pages' mtimes. * Add "mtime" sort parameter to inline plugin.
* * Fix link() PageSpecs to not just look at the raw link text, but at wherejoey2007-03-21
| | | | | | | | | | that given link points based on the page doing the linking. Note that this could make such PageSpecs match different things than before, if you relied on the old behavior of them only matching the raw link text. * This required changing the match_* interface, adding a third parameter. * Allow link() PageSpecs to match relative, as is allowed with globs.a * Add postform option to inline plugin. * Add an bug tracker to the softwaresite example.
* * Fix a bug with inlined create page links, including Discussion links onjoey2007-03-11
| | | | | blog post pages. The links will now create pages relative to the page that actually contains the link.
* need to use uri_escape_utf8joey2007-03-08
|
* * The underscore escaping support exposed a bug in edit links: Such linksjoey2007-03-08
| | | | | | | | | were titlepage escaped in the urls, and then doubly escaped by the CGI when editing. To fix this, I removed the titlepage escaping in the edit urls. * That means that *every edit link* on the wiki is potentially changed. Rebuilding wikis on upgrade to this version therefore necessary; enabled that in postinst.
* remove debuggingjoey2007-03-07
|
* My fix to support encoded underscores in page titles broke links to pagesjoey2007-03-07
| | | | | | | with underscores in their filenames, since the link code also used titlepage. Create a new linkpage function and have the link code use that instead.
* * Add preview parameter to preprocesser calls, use this rather than thejoey2007-03-06
| | | | | | | | previous ugly hack used to avoid writing rss feeds in previews. * Fix the img plugin to avoid overwriting images in previews. Instead it does all the work to make sure the resizing works, and dummys up a resized image using width and height attributes. * Also fixes img preview display, the links were wrong in preview before.
* fix precidence problem, thanks bodjoey2007-03-03
|
* * Allow for underscores to appear in page titles, if encoded appropriatelyjoey2007-03-02
| | | | | (__95__) in filenames. Previously, all underscores were replaced with spaces. Thanks, Enrico Zini for noticing that bug.
* doh!joey2007-02-21
|
* * Since the CGI had to drop the wiki lock to avoid deadlocking thejoey2007-02-21
| | | | | | | | commit hook, it was possible for one CGI to race another one and "win" the commit of both their files. This race has been fixed by adding a new commitlock, which when locked by the CGI, disables the commit hook (except for commit mails). The CGI then takes care of the updates the commit hook would have done.
* * perl is broken: print "" || die fails! Work around this insanity.joey2007-02-20
|
* * Changed calling convention for httmllink slightly. The first threejoey2007-02-20
| | | | | | | | | | parameters remain the same, but additional options are now passed in using named parameters. * Change plugin interface version to 1.02 to reflect this change. * Add a new anchor option to htmllink. Thanks Ben for the idea. * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs.
* fix a bugjoey2007-02-20
|
* * Avoid potential syslog format string issue, although only older versionsjoey2007-02-17
| | | | | of perl are vulnerable and it is not known to really be exploitable from ikiwiki.
* foojoey2007-02-15
|
* * Many changes to make ikiwiki very resistant to write failuresjoey2007-02-15
| | | | | | | | including out of disk space situations. ikiwiki should never leave truncated files, and if the error occurs during a web-based file edit, the user will be given an opportunity to retry. Inspired by the many ways Moin Moin destroys itself when out of disk. :-) * Fix syslogging of errors.
* * Allow plugins to add new types of tests that can be used in PageSpecs.joey2007-02-12
| | | | | | | | | * Add a "conditional" plugin, which allows displaying text if a condition is true. It is enabled by default so conditional can be used in the basewiki. * Use conditionals in the template for plugins, so that plugin pages say if they're currently enabled or not, and in various other places in the wiki.
* fixes and more testsjoey2007-02-07
|
* editojoey2007-02-07
|
* * Patch based on a patch from Ethan to support relative matching injoey2007-02-06
| | | | | PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
* code checking for locked pages into a new "lockedit" plugin. Both arejoey2007-02-03
| | | | | * Avoid using lots of memory when copying large non-html files. Yes, you can keep videos in the wiki..
* * Add canedit hook, allowing arbitrary controls over when a page can bejoey2007-02-02
| | | | | | | | | | | | | edited. * Move code forcing signing before edit to a new "signinedit" plugin, and code checking for locked pages into a new "lockedit" plugin. Both are enabled by default. * Remove the anonok config setting. This is now implemented by a new "anonok" plugin. Anyone with a wiki allowing anonymous edits should change their configs to enable this new plugin. * Add an opendiscussion plugin that allows anonymous users to edit discussion pages, on a wiki that is otherwise wouldn't allow it. * Lots of CGI code reorg and cleanup.
* * More gettext fun.joey2007-01-28
|
* reorgjoey2007-01-28
|
* * Make gitorigin_branch and gitmaster_branch configurable via the setupjoey2007-01-27
| | | | file. Closes: #408599
* * Gettext 1.04 or up is needed for the OO interface that ikiwiki needs,joey2007-01-16
| | | | | if an older version is installed, just don't gettext strings, instead of crashing.
* * Search in default location for templates as a fallback when templatedir isjoey2007-01-12
| | | | | pointed elsewhere, so that only modified templates need to be copied into a templatedir. Based on work by JeremyReed.
* * Fix encoding issue with use of Locale::Gettext. Seems that the OOjoey2007-01-11
| | | | | interface returns proper utf-8 decoded strings, unlike the traditional interface, so use the OO interface.