Joey Hess
d028c29772
docs/changelog
2008-01-09 20:05:56 -05:00
Joey Hess
141d363888
In preferences, allow the subscriptions and email fields to be cleared
2008-01-09 17:59:56 -05:00
Joey Hess
e01960e90a
not only markdown adds gunk, so remove it in the main htmlize function
2008-01-09 14:41:28 -05:00
Joey Hess
2b9ce0129b
* mdwn: When htmlizing text, if it's a single line with no newline,
...
remove the enclosing paragraph and newline markdown wraps it in.
This allows removing several hacks around this markdown behavior from
other plugins that htmlize fragements of pages.
2008-01-09 14:35:23 -05:00
Joey Hess
57ff2ecaed
* template: Remove bogus htmlize pass added in 2.16.
...
* template: Htmlize template variables, but also provide a raw version
via `<TMPL_VAR raw_variable>`.
2008-01-09 14:17:25 -05:00
Joey Hess
5d3c225ad7
clarification
2008-01-09 02:50:02 -05:00
Joey Hess
deb39a1f14
* meta: Run in scan mode again (more intelligently) and re-add support for
...
meta link.
* Fix support for the case where metadata appears after an inline directive.
This was broken in version 2.16.
2008-01-09 02:38:43 -05:00
Joey Hess
b31e8c0826
* inline: Add copyright/license info on a per-post basis to atom
...
feeds if available. (rss doesn't allow such info on a per-post basis)
* meta: Allow copyright/license metadata to contain arbitrary markup.
2008-01-09 01:05:54 -05:00
Joey Hess
13cf99822d
releasing version 2.19
2008-01-08 21:01:40 -05:00
Joey Hess
86781fc43e
* aggregate: Include copyright statements from rss feed as meta copyright
...
directives.
* aggregate: Yet another state saving fix (sigh).
* aggregate: Add hack to support feeds with invalidly escaped html entities.
2008-01-08 20:41:25 -05:00
Joey Hess
4c1a4402f9
* htmlscrubber: Further work around #365971 by adding tags for 'br/', 'hr/'
...
and 'p/'.
2008-01-07 18:32:50 -05:00
Joey Hess
e35eb5a418
* Add a prereq on Data::Dumper 2.11 or better, needed to dump q// objects.
2008-01-07 18:12:12 -05:00
Joey Hess
c487b847e2
* Improved the canedit hook interface, allowing a callback function to be
...
returned (and not run in some cases) rather than the plugins directly
forcing a user to log in.
* opendiscussion: allow editing of the toplevel discussion page,
and, indirectly, allow creating new discussion pages.
2008-01-07 16:34:13 -05:00
Joey Hess
45de8dc710
* opendiscussion: allow editing of the toplevel discussion page
2008-01-07 16:10:32 -05:00
Joey Hess
9dbbbd0efa
* Only try postsignin if no other action matched. Fixes a bug where the
...
user goes back from the signin screen and does something else.
* Improve behavior when trying to sign in with no cookies.
2008-01-07 15:56:39 -05:00
Joey Hess
ceffae8af1
* aggregate: Only save state if it was already loaded. This didn't used to
...
* table: Fix dependency tracking for external data files. Closes : #458387
2008-01-05 02:23:31 -05:00
Joey Hess
9f2b52cdb0
* aggregate: Only save state if it was already loaded. This didn't used to
...
matter, but after recent changes, state is not always loaded, and saving
would kill it.
2008-01-05 01:27:36 -05:00
Joey Hess
76e941a480
* aggregate: Only save state if it was already loaded.
2008-01-05 01:26:09 -05:00
Joey Hess
57bba4dac1
* Stop testing Encode::is_utf8 in decode_form_utf8: That doesn't work.
...
* decode_form_utf8 only fixed the utf-8 encoding for fields that were
registered at the time it was called, which was before the
formbuilder_setup hook. Fields added by the hook didn't get decoded.
But it can't be put after the hook either, since plugins using the hook
need to be able to use form values. To fix this dilemma, it's been changed
to a decode_cgi_utf8, which is called on the cgi query object, before the
form is set up, and decodes *all* cgi parameters.
2008-01-01 19:58:45 -05:00
Joey Hess
2269cfda30
* Split error messages for failures to drop real uid and gid.
...
* Retry dropping uid and gid, possibly this will help with the "Resource
temporarily unavailable" failures I've experienced under xen.
2008-01-01 18:48:34 -05:00
Joey Hess
6b8a7a6bee
releasing version 2.17
2007-12-30 15:04:25 -05:00
Joey Hess
f0f52e602d
* aggregate: Fix stupid mistake introduced when converting it to use
...
the needsbuild hook. This resulted in feeds not being removed when pages
were updated, and probably other bugs.
* aggregate: Avoid uninitialised value warning when removing a feed that
has an expired guid.
2007-12-30 14:49:25 -05:00
Joey Hess
3e784ea8a1
* map: Fix handling of common prefix to handle the case where it's
...
in a subdirectory. Patch by Larry Clapp.
2007-12-28 17:22:17 -05:00
Joey Hess
63f62ef520
* conditional: Improve regexp testing for simple uses of pagespecs
...
that match only the page using the directive, adding 'included()'
and supporting negated pagespecs and added whitespace.
2007-12-28 16:55:20 -05:00
Joey Hess
c2afda7f90
* img: Allow the link parameter to point to an exterior url.
2007-12-28 16:14:43 -05:00
Joey Hess
2332b40595
* img: Avoid nesting images when linking to another image. Closes : #457780
2007-12-26 10:49:15 -05:00
Joey Hess
c10b9ca3be
update changelog
2007-12-22 13:11:56 -05:00
Joey Hess
b30fed47ea
* Improved parentlinks special case for index pages.
2007-12-19 16:44:33 -05:00
Joey Hess
0a26c630eb
releasing version 2.16
2007-12-18 19:50:40 -05:00
Joey Hess
67dcf175cb
* Work around perl taint checking bug #411786 , where perl sometimes randomly
...
sets the taint flag on untainted variables, by disabling taint checking
in the deb. This sucks.
2007-12-17 19:25:44 -05:00
Joey Hess
90bce7d139
* Don't refuse to render files with ".." in their name. (Anchor the regexp.)
2007-12-17 13:37:19 -05:00
Joey Hess
f40c6928f4
* Re-organise dependencies and recommends now that recommends are installed
...
by default.
2007-12-16 17:16:56 -05:00
Joey Hess
58f1ef0784
* git: Correct display of multiline commit messages in recentchanges.
2007-12-16 16:52:39 -05:00
Joey Hess
c3fed25ad4
* brokenlinks: Don't list the same link multiple times. (%links might
...
contain multiple copies of the same link)
2007-12-16 16:42:18 -05:00
Joey Hess
9459cc55ab
* meta: Drop support for "meta link", since supporting this for internal
...
* map: Don't inline images.
2007-12-16 16:00:13 -05:00
Joey Hess
96817b0032
* meta: Drop support for "meta link", since supporting this for internal
...
links required meta to be run during scan, which complicated its data
storage, since it had to clear data stored during the scan pass to avoid
duplicating it during the normal preprocessing pass.
* If you used "meta link", you should switch to either "meta openid" (for
openid delegations), or tags (for internal, invisible links). I assume
that nobody really used "meta link" for external, non-openid links, since
the htmlscrubber ate those. (Tell me differently and I'll consider bringing
back that support.)
* meta: Improved data storage.
* meta: Drop the hackish filter hook that was used to clear
stored data before preprocessing, this hack was ugly, and broken (cf:
liw's disappearing openids).
* aggregate: Convert filter hook to a needsbuild hook.
2007-12-16 15:56:09 -05:00
Joey Hess
5b2ab63f78
* Allow editing a page and deleting all content, while still disallowing
...
creating a new page that's entirely empty.
2007-12-12 19:11:29 -05:00
Joey Hess
f92a5ddbbb
document prior commit
2007-12-12 16:56:30 -05:00
Joey Hess
10a2895b3b
* shortcut: Expand %S to the raw input text, not url-encoded.
2007-12-12 16:50:29 -05:00
Joey Hess
7eafa95f33
* Htmlize parameters passed to the template preprocessor directive before
...
inserting them into the html template. This ensures that markdown
acts on them, even if the value is expanded inside a block-level html
element in the html template. Closes : #454058
* Use a div in the note template rather than a span.
2007-12-12 16:42:54 -05:00
Joey Hess
214bc2b65b
* Allow dashes in preprocessor directive commands, and shortcuts.
2007-12-12 16:13:15 -05:00
Joey Hess
849f65a343
* Avoid unnecessary stat calls to get mtime when rendering pages, use
...
cached value.
* Preserve input file modification times in output files.
2007-12-12 14:43:35 -05:00
Joey Hess
c06643a435
* Ensure that web edited pages always end in a newline.
2007-12-12 13:41:21 -05:00
Joey Hess
4745391360
* Change formbuilder hook to not be responsible for displaying a form,
...
so that more than one plugin can use this hook.
I believe this is a safe change, since only passwordauth uses this hook.
(If some other plugin already used it, it would have broken passwordauth!)
2007-12-12 03:15:30 -05:00
Joey Hess
c46b17983d
works, but I'm not entirely happy with it yet
...
It would be better if it were a formbuilder hook. But the formbuilder hook
is wacked.. I may need to change how that hook works, which would mean
changing the only current user of it, passwordauth).
2007-12-12 02:45:44 -05:00
Joey Hess
58049e97c1
* Fix file pruning code to work if ikiwiki is run with "." as the srcdir.
2007-12-10 15:12:56 -05:00
Joey Hess
5023f2301d
* The calendar plugin stores state about when it needs to be updated,
...
and forces rebuilds of the pages that contain calendars. So
running ikiwiki --refresh at midnight is now enough, no need for a full
wiki rebuild each midnight.
* calendar: Work around block html parsing bug in markdown 1.0.1 by
enclosing the calendar in an extra div.
2007-12-08 23:54:34 -05:00
Joey Hess
fd6d85aa79
* Added a version plugin that saves state about what's using it, to force
...
pages to rebuild when ikiwiki's version changes.
2007-12-08 18:33:08 -05:00
Joey Hess
055179cb4c
* Finally implemented a simple per-page data storage mechanism for plugins,
...
via the %pagestate hash.
* Use pagestate in meta to detect potential redir loops.
2007-12-08 17:40:50 -05:00
Joey Hess
2fbca21390
updates
2007-12-08 16:19:39 -05:00
Joey Hess
7960031135
MAJOR basewiki reorg
...
Including redir pages for the moved basewiki pages. These will be removed in
a future release.
2007-12-08 15:59:08 -05:00
Joey Hess
2c78477387
* meta: Add redir support, based on a patch by Thomas Schwinge.
2007-12-08 14:58:29 -05:00
Joey Hess
e30c3e3bb9
* Remove .otl file from sandbox to avoid build ugliness. Closes : #454181
2007-12-03 14:48:01 -05:00
Joey Hess
06d77d1756
releasing version 2.15
2007-12-01 11:51:34 -05:00
Joey Hess
91fe16f35c
* Add umask configuration option. Closes : #443329
2007-11-27 16:46:02 -05:00
Joey Hess
c3805557f1
* Improve workaround for perl bug #376329 . Rather than double-encoding,
...
which has been reported to cause encoding problems (though I haven't
reproduced them), just catch a failure of markdown, and retry.
(The crazy perl bug magically disappears on the retry.)
Closes : #449379
2007-11-27 16:36:37 -05:00
Joey Hess
491847ed53
* Add a new ikiwiki-makerepo program, that automates setting up a repo
...
and importing existing content for svn, git, and mercurial. This makes
the setup process much simpler.
* Reorganised git documentation.
* Actually install the ikiwiki-update-wikilist program.
2007-11-27 00:34:17 -05:00
Joey Hess
e15e3202eb
releasing version 2.14
2007-11-26 15:30:44 -05:00
Joey Hess
f2e5709a33
* Let CC be used to control what compiler is used to build wrappers.
...
* Use 'cc' instead of gcc as the default compiler.
2007-11-25 15:50:31 -05:00
Joey Hess
e3be983ba6
releasing version 2.13
2007-11-24 17:23:18 -05:00
Joey Hess
c9c0f271b6
* toc: Handle html elements embedded inside a header, rather than
...
stopping collecting the header text at the first element.
2007-11-23 11:40:02 -05:00
Joey Hess
e016a975c4
* Allow html5 video and audio tags and their attributes in the htmlscrubber.
2007-11-18 13:34:06 -05:00
Joey Hess
d00e8d78c8
* 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
2007-11-17 19:58:17 -05:00
Joey Hess
80d16f80bf
* Allow trailing slashes after page names in wikilinks.
2007-11-17 16:26:34 -05:00
Joey Hess
6ccd9313d2
* More compact output for the brokenlinks plugin.
2007-11-17 16:16:34 -05:00
Joey Hess
e9ffdc9c4f
* Fix mercurial historyurl in example setup file.
2007-11-17 14:43:49 -05:00
Joey Hess
466a094928
* Better error message when a setup file has a syntax error.
...
Closes : #451666
2007-11-17 14:06:11 -05:00
Joey Hess
90b83ee32a
The ikiwiki zombie army release.
...
* Correct markdown in example index page in setup. Closes : #451469
2007-11-16 12:53:03 -05:00
Joey Hess
cb80809aec
* Add wrappergroup config option, which can be used to cause wrappers
...
to be created owned by some group other than the default. Useful
then there's a shared repository with access controlled by a group,
to let ikiwiki run setgid to that group.
* ikiwiki-mass-rebuild: Run build with the user in all their groups.
2007-11-14 09:27:11 -05:00
Joey Hess
264a82a435
* inline: Add timeformat parameter to control how the ctime of
...
inlined pages is displayed. Closes : #451019
2007-11-13 16:14:48 -05:00
Joey Hess
426d94b500
* ikiwiki.setup is licensed same as the basewiki, not GPLed.
2007-11-13 16:04:07 -05:00
Joey Hess
b8919ebb9e
* Add liblwpx-paranoidagent-perl to recommends of Debian package,
...
this is needed to do OpenID really securely.
2007-11-13 14:41:08 -05:00
Joey Hess
9d7d82bc61
releasing version 2.12
2007-11-12 14:40:24 -05:00
Joey Hess
8ffa59e610
* The first git commit legitimately has no parents. Avoid recentchanges
...
spewing uninitialised value warnings and debug messages about it.
Dummying up a parent of 0000000 allows gitweb to work too.
2007-11-12 12:53:46 -05:00
Joey Hess
eebd2aab99
* In the example setup file, use mode 6755 for the git post-update hook.
...
It needs to be setgid if the master repo is a shared repository, so
that pushes into the working copy repository happen as the same group,
avoiding permissions problems.
2007-11-12 12:28:31 -05:00
Josh Triplett
899d836683
Add xmlns attribute on html element in templates; pages can now validate.
2007-11-08 12:59:02 -08:00
Josh Triplett
c9ab08a171
Update changelog for table plugin fix
2007-11-08 11:42:08 -08:00
Joey Hess
930584cff7
* map: Recent changes caused unnecessary ul's to be inserted for items
...
that were all at the same level, fix. Closes : #449285
2007-11-07 16:34:50 -05:00
Joey Hess
ada249e0dd
* Don't truncate git commit messages to the first line in RecentChanges,
...
show the full message.
2007-10-31 18:35:37 -04:00
Joey Hess
3506f4ba07
* Improve the RecentChanges display for git merges, by passing -c instead
...
of -m to git-log, and by skipping display of commits that change no
pages.
2007-10-31 18:32:22 -04:00
Joey Hess
b8887c1cd7
* Avoid using commands like git-diff and instead use "git diff".
...
In some configurations, only the main git command is in the path.
2007-10-31 17:37:33 -04:00
Joey Hess
c5d9c0d6b6
* Avoid a race in the git rcs_commit function, by not assuming HEAD will
...
stay the same for the duration of the function.
2007-10-31 17:17:03 -04:00
Joey Hess
5cbd86235e
* Fix an aggregate plugin expiry bug. Over time, it's possible for the same
...
page name to be expired and reused for several distinct guids. When this
happened, the expiry code counted each past guid that had used that page
name as a currently existing page, and thus expired too many pages.
2007-10-30 22:50:44 -04:00
Joey Hess
683c1ebb4c
* Fix some issues with toggles in preview mode.
2007-10-29 17:16:10 -04:00
Joey Hess
1a3cc7af02
releasing version 2.11
2007-10-26 03:31:54 -04:00
Joey Hess
730a3fb4b7
Run git-commit -q (though it doesn't do much good due to its stderr abuse).
2007-10-26 03:22:44 -04:00
Joey Hess
1e1e1f5046
* ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
...
* ikiwiki-mass-rebuild: Don't clear PATH from the environment.
2007-10-25 23:12:23 -04:00
Joey Hess
f947f8c4b2
* ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
...
of permissions dropping code to work on FreeBSD.
2007-10-25 07:56:54 -04:00
Joey Hess
9f1cd89bc2
* Add handling of feeds for nested inlines, as well as support for a
...
single page containing two different feeds.
* Also fixed some places in inline that failed to use destpage correctly.
2007-10-25 05:43:43 -04:00
Joey Hess
de5eb4996b
* postsparkline: Avoid a confusing error message if no pages match
...
and instead show an empty graph.
2007-10-24 23:07:39 -04:00
Joey Hess
6a64743737
ikiwiki is now stored in a git repository
...
Note that all the sha1s did change from those in the earlier ikiwiki git
repos gated from svn. Thank you, git-svnimport, for the pain.
2007-10-24 22:21:06 -04:00
joey
a27f4a47ba
* Add a calendar plugin, contributed by Manoj Srivastava.
...
* Reformat calendar plugin to ikiwiki conventions.
* The calendar plugin made *every* page depend on every other page,
which seemed a wee tiny little bit overkill. Fixed the dependency
calculations (I hope.)
* Removed manual ctime statting code, and just have the calendar plugin use
%pagectime.
2007-10-23 00:02:53 +00:00
joey
3613f72a3b
* If gitorigin_branch is set to the empty string, don't push or pull.
...
Useful for laptop clones of remote wikis.
2007-10-22 01:47:30 +00:00
joey
19cfec2654
* Correct a pair of logic errors that triggered if svnpath was empty.
2007-10-21 22:57:11 +00:00
joey
673bbf9790
suggest python, since the rst formatter is written in it
2007-10-21 01:13:41 +00:00
joey
a22d9f9721
* Support git authors of the form "joey <joey>", which is common when
...
importing from a svn repo.
2007-10-21 00:27:11 +00:00
joey
4ee04161eb
* Danish translation from Jonas Smedegaard. Closes : #446952
2007-10-16 21:54:31 +00:00
joey
65dca9f89d
* Rewritten rst plugin by madduck is a python program that communicates with
...
ikiwiki via XML RPC. This should be much faster than the old plugin that
had to fork python for every rst page render. Note that if you use
the rst plugin, you now need to have the RPC::XML perl module installed.
2007-10-15 16:33:02 +00:00
joey
2d9ee11006
* 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.
2007-10-13 23:08:38 +00:00
joey
eec289e281
* Fix strange stderr-hiding code in the git module, allow error messages
...
to be passed on to stderr. Also fixes a potential bug, since git error
meesages were treated as if they came from git stdout.
2007-10-10 23:27:11 +00:00