summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2010-07-31Use Digest::SHA built into perl rather than external Digest::SHA1 to ↵Joey Hess
simplify dependencies. Closes: #591040
2010-07-26Add new disable hook, allowing plugins to perform cleanup after they have ↵Joey Hess
been disabled.
2010-07-25meta: Allow syntax closer to html meta to be used.Joey Hess
The idea here is that <meta name="foo" description="bar"> can be written like [[!meta name="foo" description="bar">. Of course, [[!meta foo=bar]] is still supported; this new feature provides some DWIM when trying to directly convert a meta tag into a meta directive.
2010-07-24git: Fix gitweb historyurl examples so "diff to current" links work. (Thanks ↵Joey Hess
jrayhawk)
2010-07-23merged; notesJoey Hess
2010-07-23template: Fix dependency tracking. Broken in version 3.20100427.Joey Hess
template_depends was adding a dependency on the source filename, instead of on the page name when a template is a page. Such a dependency doesn't work.
2010-07-22releasing version 3.20100722Joey Hess
2010-07-22Avoid showing 'Add a comment' link at the bottom of the comment post form.Joey Hess
Since misctemplate is called with a page context, the comments plugin thinks it should add that, as well as the comment link in the actionbar. I kept the comment link because a quick link back to the comments to a page is sorta useful.
2010-07-18merge fix for selflink po problemJoey Hess
2010-07-18Updated French program translation from Philippe Batailler. Closes: #589423Joey Hess
2010-07-18update standards-versionJoey Hess
2010-07-18fix other 2 cases of conflicting destdir filesJoey Hess
Cleanly fixed case where destdir file failed to be written because there was a directory with the same name. This can be detected with no extra system calls, and dealt with by finding all pages that wrote files inside the directory, and removing them and the directory. The other, inverse case would be expensive to detect in will_render, since it would need to check each parent directory of the file to see if the directory is really a conflicting file. But prep_writefile already does a similar scan for symlinks in the path, so I added code there to remove the conflicting file. This fix assumes that the file is written using writefile, and not some other means (but using other means would be a security hole too, so hopefully nothing does).
2010-07-14Drop Cache-Control must-revalidate (Firefox 3.5.10 does not seem to have the ↵Joey Hess
caching problem that was added to work around). Closes: #588623
2010-07-12changelogJoey Hess
2010-07-12merged filter-fullJoey Hess
2010-07-11openid: Fix handling of utf-8 nicknames.Joey Hess
2010-07-08Add --changesetup mode that allows easily changing options in a setup file.Joey Hess
2010-07-06aggregate: Write timestamp next aggregation can happen to ↵Joey Hess
.ikiwiki/aggregatetime, to allow for more sophisticated cron jobs.
2010-07-05comments: Added commentmoderation directive for easy linking to the comment ↵Joey Hess
moderation queue.
2010-07-05img: Add a margin around images displayed by this directive.Joey Hess
Particularly important for floating images, which could before be placed uncomfortably close to text.
2010-07-04releasing version 3.20100704Joey Hess
2010-07-04comment: Fix problem moderating comments of certian pages with utf-8 in ↵Joey Hess
their name.
2010-07-04changelogJoey Hess
2010-07-04review of needstranslation() pagespecJoey Hess
Minor wording fix; changelog; etc.
2010-07-01git: Added git_wrapper_background_command option. Can be used to eg, make ↵Joey Hess
the git wrapper push to github in the background after ikiwiki runs.
2010-06-30comment.tmpl: Fix up display when inline uses it to display a non-comment ↵Joey Hess
page. (Such as a discussion page.)
2010-06-30Use comment template on comments page of example blog.Joey Hess
2010-06-27hnb: Fixed broken use of mkstemp that had caused dangling temp files, and ↵Joey Hess
prevented actually rendering hnb files.
2010-06-23updateJoey Hess
2010-06-23finializing openid nickname supportJoey Hess
Renamed usershort => nickname. Note that this means existing user login sessions will not have the nickname recorded, and so it won't be used for those.
2010-06-23git: Record the username from openid in the git author email. (This avoids ↵Joey Hess
display of ugly google openids.)
2010-06-23rcs_getctime and rcs_getmtime take relative filenamesJoey Hess
There was some confusion about whether the filename was relative to srcdir or not. Some test cases, and the bzr plugin assumed it was relative to the srcdir. Most everything else assumed it was absolute. Changed it to relative, for consistency with the rest of the rcs_ functions.
2010-06-23rcs_commit and rcs_commit_staged api changesJoey Hess
Using named parameters for these is overdue. Passing the session in a parameter instead of passing username and IP separately will later allow storing other session info, like username or part of the email. Note that these functions are not part of the exported API, and the prototype change will catch (most) skew, so I am not changing API versions. Any third-party plugins that call them will need updated though.
2010-06-23API: rcs_commit and rcs_commit_staged are passed a new parameterJoey Hess
that may contain the username component of the email address of the user making the commit.
2010-06-23Add new optional field usershort to rcs_recentchanges.Joey Hess
Now the git plugin supports commits with author fields that look like: Author: http://my.openid/ <me@web> Then in recentchanges, the short username will be displayed, linking to the openid. Particularly useful for the horrible google openids, of course.
2010-06-23releasing version 3.20100623Joey Hess
2010-06-23add changelog for externalinkJoey Hess
remove debian.org linkspam ;)
2010-06-18typoJoey Hess
2010-06-18mention added themesJoey Hess
2010-06-18rename bzed theme to "blueview"Joey Hess
2010-06-18bugnumJoey Hess
2010-06-18mercurial: Fix buggy getctime code.Joey Hess
The file passed to rcs_getctime is already absolute, and it was trying to stick the srcdir on the front. Also, eliminated potentially unsafe shelling.
2010-06-16add background image, kindly gpl'd by bzedJoey Hess
2010-06-16add theme pluginJoey Hess
2010-06-16add copy of local.css from bzed.deJoey Hess
bzed says this is not quite ready, but I'm an impatient guy. Guess I'll have to track his updates.
2010-06-16attachment: Support Windows paths when taking basename of client-supplied ↵Joey Hess
file name.
2010-06-15git: Gix --gettime to properly support utf8 filenames.Joey Hess
In passing, fixed a bug where the srcdir was in a subdir of a repository named "0".
2010-06-15Make --gettime be honored after initial setup.Joey Hess
Bugfix in passing: New files not treated as such when no rcs is used.
2010-06-15bugnumJoey Hess
2010-06-15Fix issues with combining unicode srcdirs and source files.Joey Hess
A short story: Once there was a unicode string, let's call him Srcdir. Along came a crufy old File::Find, who went through a tree and pasted each of the leaves in turn onto Srcdir. But this 90's relic didn't decode the leaves -- despite some of them using unicode! Poor Srcdir, with these leaves stuck on him, tainted them with his nice unicode-ness. They didn't look like leaves at all, but instead garbage. In other words, perl's unicode support sucks mightily, and drives us all to drink and bad storytelling. But we knew that.. So, srcdir is not normally flagged as unicode, because typically it's pure ascii. And in that case, things work ok; File::Find finds filenames, which are not yet decoded to unicode, and appends them to the srcdir, and then decode_utf8 happily converts the whole thing. But, if the srcdir does contain utf8 characters, that breaks. Or, if a Yaml setup file is used, Yaml::Syck's implicitunicode sets the unicode flag of *all* strings, even those containing only ascii. In either case, srcdir has the unicode flag set; a non-decoded filename is appended, and decode_utf8 sees the flag and does *nothing*. The result is that the filename is not decoded, so looks valid and gets skipped. File::Find only sticks the directory and filenames together in no_chdir mode .. but we need that mode for security. In order to retain the security, and avoid the problem, I made it not pass srcdir to File::Find. Instead, chdir to the srcdir, and pass ".". Since "." is ascii, the problem is avoided. Note that it takes care to chdir back to the starting location. Because the user may have specified relative paths and so staying in the srcdir might break. A relative path could even be specifed for an underlay dir, so it chdirs back after each.