Commit Graph

2248 Commits (17fccbca94aafc112fd72929ba4e7205ceedc287)

Author SHA1 Message Date
Joey Hess 6294894f31 Fix crash that can occur when only_committed_changes is set and a file is deleted from the underlay.
srcfile_stat got called on a file from the underlay that no longer existed.

I am not 100% sure of the circumstances of that; I was able to reproduce
the bug but neglected to snapshot the tree, and then accidentially
got it to stop crashing. I know that a transient tag page got deleted using
the web interface to trigger the crash.

It seems that process_changed_files must have returned the file, despite it
being deleted. And since the file was not checked into git, it seems it
must have not been included in @IkiWiki::underlayfiles, which would have
caused process_changed_files to not return it.

I do not know why a transient tag page would not be in
@IkiWiki::underlayfiles. There is a bug here that I don't understand.

This is just a workaround -- run srcfile_stat such that it won't crash,
and if it is unable to stat a file, find_changed knows it's not changed,
so it's ok to skip it.

Also made find_new_files run srcfile_stat such that it won't crash, just
because I was there.
2014-09-26 18:55:09 -04:00
Simon McVittie 84993495f3 Build-depend on libmagickcore-6.q16-2-extra | libmagickcore-extra so we can thumbnail SVGs in the docwiki 2014-09-16 11:22:05 +01:00
Simon McVittie 9d08f18a13 Add myself to Uploaders and release to Debian 2014-09-16 10:03:24 +01:00
Simon McVittie 30c23b5e72 Add package dependencies for scalable img support
- suggest ghostscript (required for PDF-to-PNG thumbnailing)
  and libmagickcore-extra (required for SVG-to-PNG thumbnailing)
- build-depend on ghostscript so the test for scalable images can be run
2014-09-16 10:00:40 +01:00
Simon McVittie 5ff68d5171 changelog, close bugs 2014-09-15 22:12:45 +01:00
Simon McVittie 7660979f74 changelog, close bug 2014-09-15 21:49:48 +01:00
Simon McVittie 3d1de970f1 changelog, close bug 2014-09-15 21:11:17 +01:00
Simon McVittie 303f183d45 write changelog, close bug 2014-09-15 09:53:52 +01:00
Simon McVittie fdfd5ffac7 more bug-closing 2014-09-12 22:02:54 +01:00
Simon McVittie 70a4857624 more changelog and bug-closing 2014-09-12 21:50:20 +01:00
Simon McVittie a5536103e7 changelog/close bugs 2014-09-12 21:32:13 +01:00
Joey Hess 230749ad15 prep release 2014-08-31 14:17:49 -07:00
Joey Hess 40d6ccbadb Make --no-gettime work in initial build. Closes: #755075 2014-08-28 19:08:09 -07:00
Joey Hess 174efbfa9c typo 2014-08-15 13:05:59 -04:00
Joey Hess 29f9c2b5ba add build deps needed by some tests in the test suite 2014-08-15 13:02:14 -04:00
Joey Hess 9ade0db518 prep release 2014-08-15 12:58:36 -04:00
Joey Hess e1c686467f close 2014-08-15 12:58:07 -04:00
Joey Hess 6660fd643b Add google back to openid selector. Apparently this has gotten a stay of execution until April 2015. (It may continue to work until 2017.) 2014-07-03 16:21:47 -04:00
Joey Hess 61dfde7c07 prep release 2014-06-13 10:09:38 -04:00
Joey Hess 7faffaa968 Remove google from openid selector, per http://xkcd.com/1361/
Replace with Verisign's openid provider.
2014-04-29 16:27:46 -04:00
Joey Hess 59cfb9b6d0 only_committed_changes could fail in a git repository merged with git merge -s ours. 2014-04-05 19:09:05 -04:00
Joey Hess 9e1ad9037f prep release 2014-02-27 11:58:54 -04:00
Joey Hess 9a1c60c9c6 python proxy: Avoid utf-8 related crash. Thanks, Antoine Beaupré 2014-02-25 00:16:14 -04:00
Joey Hess decb7051f6 Improve templates testing. Thanks, smcv 2014-02-23 14:32:18 -04:00
Joey Hess f414cc17af patchmeister 2014-02-23 14:29:27 -04:00
Joey Hess 6c584a00de Cleanup of the openid login widget, including replacing of hotlinked images from openid providers with embedded, freely licensed artwork. Thanks, smcv 2014-02-23 14:28:22 -04:00
Joey Hess c4cb6e3c34 Merge remote-tracking branch 'remotes/smcv/ready/openid' 2014-02-23 14:24:15 -04:00
Joey Hess e14ae160de Deal with nasty issue with gettext clobbering $@ while printing error message containing it. Thanks, smcv 2014-02-23 14:21:44 -04:00
Joey Hess 876a1cf41c git: Explicity push master branch, as will be needed by git 2.0's change to push.default=matching by default. Thanks, smcv 2014-02-23 14:20:27 -04:00
Joey Hess b5b8c5cecc git diffurl: Do not escape / in paths to changed files, in order to interoperate with cgit (gitweb works either way) Thanks, intrigeri. 2014-02-23 14:15:49 -04:00
Joey Hess e0d1c264d9 Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard. 2014-02-23 14:11:54 -04:00
Joey Hess 7e1b8c4f9c po: Add html_lang_code and html_lang_dir template variables for the language code and direction of text. Thanks, Mesar Hameed 2014-02-23 14:08:22 -04:00
Simon McVittie 1d3b2674c8 Replace Verisign logo with one done in Inkscape
Basically just U+2714 HEAVY CHECK MARK on a circle.
2014-02-14 12:27:18 +00:00
Simon McVittie d233fd8a3d replace AOL logo with one done in Inkscape
Their new logotype is really, really easy to imitate.
2014-02-14 12:26:15 +00:00
Simon McVittie cb24ba61e2 Replace Livejournal icon with something vaguely similar
Drawn in Inkscape and released under the IkiWiki basewiki license.
2014-02-14 12:06:16 +00:00
Simon McVittie 0ce8222190 Replace Wordpress icon with one taken from its Debian package
I was unable to determine a specific author or copyright holder
for this icon, and listing every potential Wordpress copyright holder
in debian/copyright seems ridiculous.
2014-02-14 11:33:10 +00:00
Simon McVittie b0b3bebff6 Replace Google, Yahoo, Flickr icons with versions by Jakub Steiner
Taken from gnome-online-accounts under LGPL-2.1+.
2014-02-14 11:31:07 +00:00
Joey Hess 809a276546 changelog 2014-02-01 16:54:24 -04:00
Joey Hess 274fbca2ce prep release 2014-01-25 16:41:10 -04:00
Joey Hess a8d7a99979 osm: Escape name parameter. Closes: #731797 2014-01-15 15:53:51 -04:00
Joey Hess fe1a69e11a inline: Allow overriding the title of the feed. Closes: #735123 Thanks, Christophe Rhodes 2014-01-13 17:06:29 -04:00
Joey Hess 65c70ebc05 lintian 2014-01-02 12:45:45 -04:00
Joey Hess 9cf117613d prep release 2014-01-02 12:24:35 -04:00
Joey Hess a2fb23286f aggregrate: Fix several bugs in handling of empty and colliding titles when generating filenames. 2013-12-28 20:02:22 -04:00
Joey Hess b24235c153 style.css: Add compatability definitions for more block-level html5 elements. Closes: #731199 2013-12-03 12:44:11 -04:00
Joey Hess bfc13b9070 osm: Remove invalid use of charset on embedded javascript tags. Closes: #731197 2013-12-03 12:42:04 -04:00
Joey Hess b48f616b7d typo 2013-11-17 16:39:50 -04:00
Joey Hess 002a97ffcd search: Added googlesearch option, which makes it search google rather than using the internal xapain database. (googlesearch plugin is too hard to turn on when xapain databases corrupt themselves, which happens all too frequently). 2013-11-17 16:37:18 -04:00
Joey Hess 81aa58e7ca comments: Write pending moderation comments to the transient underlay to avoid conflict with only_committed_changes. 2013-11-17 13:07:00 -04:00
Joey Hess 654530fa8b Added only_committed_changes config setting, which speeds up wiki refresh by querying git to find the files that were changed, rather than looking at the work tree. Not enabled by default as it can break some setups where not all files get committed to git. 2013-11-16 17:26:20 -04:00