Commit Graph

2280 Commits (d6e83dcfb39438a169e50f26f73bd8fc13be8828)

Author SHA1 Message Date
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
Joey Hess 3aaa33064c Optmised loadindex by caching the page name in the index.
I have benchmarked the pagename() call this avoids taking up to 2 seconds
for a loadindex in a large wiki. The total loadindex for that wiki was
6.46s, so this is a significant improvment.
Even on a smaller site, this reduces the refresh time from 1.69 to 1.52
seconds.

The only breakage risk here is that pagename() can change the page name
it calculates due to setup changes. But in the case of a setup change, the
whole site is rebuilt. So the cached page name is not used in that
case.
2013-11-16 12:48:11 -04:00
Joey Hess 992d4f52ff Fixed unncessary tight loop hash copy in saveindex where a pointer can be used instead. Can speed up refreshes by nearly 50% in some circumstances.
I *think* this is ok, at least it results in close to the same index being
saved as before. The difference is that plugins that have a pagestate of {}
have that recorded this way, while with the tight loop, the key for the
plugin in not copied in that case. I cannot see how this could matter.
2013-11-16 12:28:01 -04:00
Joey Hess 2f8bafb709 poll: Fix behavior of poll buttons when inlined. 2013-11-13 22:06:02 -04:00
Joey Hess 395ca7ae56 aggregate: Improve display of post author.
The recent move of the post author to the author field is good, but with
it coming after the name of the feed, it is unlikely to be visible when
viewed in eg mutt. Move it to before the feed name.
2013-09-05 10:04:38 -04:00
Joey Hess cca084b8ad releasing package ikiwiki version 3.20130904.1 2013-09-04 10:19:37 -04:00
Joey Hess df09eba2fd Fix cookiejar default setting. 2013-09-04 10:15:35 -04:00
Joey Hess 1a100512fb releasing package ikiwiki version 3.20130904 2013-09-04 09:39:00 -04:00
Joey Hess 8833cfe30d Fix test suite to work with perl 5.18. Closes: #719969 2013-08-30 22:43:02 -04:00
Joey Hess 407db22787 Consistently configure LWP::UserAgent to allow use of http_proxy and no_proxy environment variables, as well as ~/.ikiwiki/cookies (schmonz) 2013-08-03 10:06:40 -04:00
Joey Hess 0db80d453f merge schmonz/fancypodcast 2013-07-21 13:51:57 -04:00
Joey Hess 7d938559cb calendar: Display the popup mouseover when there is only 1 page for a given day, for better UI consistency. 2013-07-19 18:54:32 -04:00
Joey Hess 946af13ae6 Pass --no-edit when used with git 1.7.8 and newer.
Not sure if this is needed to avoid it trying to run an editor. Probably
there is never a controlling terminal and probably git notices and does
nothing. But I'm just copying what I have in git-annex assistant here.

(Although with a much worse git version comparion, that only really works due
to luck.)
2013-07-10 21:52:49 -04:00
Joey Hess b162563dc1 Deal with git behavior change in 1.7.8 and newer that broke support for commits with an empty commit message. 2013-07-10 21:50:18 -04:00
Joey Hess 24a57423b8 releasing version 3.20130710 2013-07-10 18:39:18 -04:00
Joey Hess acb07ef416 Fix crash that could occur when a needsbuild hook returned a file that does not exist.
I saw this happen with calendar, when it wanted to update a page, that
had a calendar on it, but the page had just been deleted. This caused
srcfile_stat to crash.
2013-07-10 17:02:24 -04:00
Joey Hess 533793ee46 The ip() pagespec can now contain glob characters to match eg, a subnet full of spammers. 2013-07-08 11:49:38 -04:00
Joey Hess c849a9f409 openid: Automatically upgrade openid_realm to https when accessed via https. 2013-06-29 13:31:47 -04:00
Joey Hess a5f81918c8 page.tmpl: omit searchform, trails, sidebar and most metadata in CGI (smcv) 2013-06-26 11:25:40 -04:00
Joey Hess c5f9b01662 osm: Remove trailing slash from KML maps icon. 2013-06-23 14:14:52 -04:00
Joey Hess b8d65da266 calendar: When there are multiple pages for a given day, they're displayed in a popup on mouseover. Thanks, Louis 2013-06-23 14:11:39 -04:00
Joey Hess c037714b77 comments: The formats allowed to be used in comments can be configured using comments_allowformats. Thanks, Michal Sojka 2013-06-23 14:05:32 -04:00
Joey Hess c204de3ca2 blogspam: Fix encoding issue in RPC::XML call. Thanks, Changaco 2013-06-23 14:03:07 -04:00
Joey Hess 07d39ce5bf bzr: bzr rm no longer has a --force option, remove 2013-05-18 16:33:32 -04:00
Joey Hess 9e4f0efe44 notifyemail: Fix bug that caused duplicate emails to be sent when site was rebuilt. 2013-05-18 16:26:48 -04:00
Joey Hess 67ebaf15d7 theme: Now <TMPL_IF THEME_$NAME> can be used in all templates when a theme is enabled. 2013-05-16 22:20:56 -04:00
Joey Hess af05240cad Fix test suite to not fail when XML::Twig is not installed. Closes: #707436 2013-05-09 10:47:45 -04:00
Joey Hess 82650b74f4 releasing version 3.20130504 2013-05-05 00:04:18 -04:00
Joey Hess 6c09c3e646 meta: Fix anchors used to link to the page's license and copyright. Closes: #706437 2013-04-30 13:35:04 -04:00
Joey Hess 29e10f0f8f changelog 2013-03-30 13:44:34 -04:00
Joey Hess 00d23a23eb map: Correct reversion introduced in version 3.20110225 that could generate invalid html. (smcv) 2013-03-04 18:30:27 -04:00
Joey Hess 8c8aa3fe47 Detect plugins with a broken getsetup and warn. 2013-03-04 13:19:05 -04:00
Joey Hess 1d6eb13e2b Add missing plugin section, and deal with missing sections with a warning. 2013-03-04 13:03:34 -04:00
Joey Hess e2405005e6 changelog 2013-02-15 17:24:34 -04:00
Joey Hess 02d855a393 releasing version 3.20130212 2013-02-12 23:58:51 -04:00
Joey Hess 480d6f93c1 highlight: Now adds a span with class highlight-<extension> around highlighted content, allowing for language-specific css styling. 2013-02-12 11:27:29 -04:00
Joey Hess ba3494978b cvs: Various fixes. 2013-02-03 10:40:34 +11:00
Joey Hess 82114f4451 Deal with empty diffurl in configuration. 2013-01-29 08:12:56 +11:00
Joey Hess e5d82ef868 trail: Avoid massive slowdown caused by pagetemplate hook when displaying dynamic cgi pages, which cannot use trail anyway.
This seemed to be due to the pagetemplate hook calling prerender. I've
observed this making it take *minutes* for the signin page to be displayed.
ltracing ikiwiki showed it was matching pagespecs a lot.

It may be that this is still a speed pain point when rendering pages, not
just for CGI. So more work may be needed here.
2013-01-24 10:40:35 +11:00
Joey Hess 37cf511f06 poll: Add expandable option to allow users to easily add new choices to a poll. 2013-01-10 12:43:27 -04:00
Joey Hess 7173ef1b13 htmlscrubber: Allow the URI schemes of major VCS's. 2013-01-05 17:25:47 -04:00
Joey Hess 229ca60acb changelog 2013-01-02 15:32:01 -04:00
Joey Hess 812a5a136d changelog 2013-01-02 15:30:25 -04:00
Joey Hess 86519b047e trail: Converted all dependencies to presence dependencies.
smcv please note this introduces another bug, which I've opened
2012-12-27 22:29:51 -04:00
Joey Hess dc05125b0b aggregate: When run with --aggregate, if an aggregation is already running, don't go on and --refresh.
This way, if a previous aggregation job is running, we don't add additional
load doing work that job will do anyway.
2012-12-27 21:25:59 -04:00
Joey Hess 3d6ee9eccd htmlscrubber: Allow the bitcoin URI scheme. 2012-12-22 16:15:38 -04:00
Joey Hess bcec11601f releasing version 3.20121212 2012-12-11 13:03:19 -04:00
Joey Hess c29413ba2a openid: Display openid in Preferences page as a comment, so it can be selected in all browsers. 2012-12-04 13:59:19 -04:00
Joey Hess 286026877d filecheck: Fix bug that prevented File::MimeInfo::Magic from ever being used. 2012-11-04 12:02:26 -04:00
Joey Hess b6d556e5b2 releasing version 3.20121017 2012-10-17 13:36:36 -04:00
Joey Hess 45801c34bd recentchangesdiff: fix further breakage to the template from 3.20120725 2012-10-16 20:49:26 -04:00
Joey Hess bb07dc3f21 releasing version 3.20121016 2012-10-16 15:24:18 -04:00
Joey Hess 96bfdbf1be really fix diff display to not show both types of diff
12fa9c031f porported to fix this, but failed
2012-10-16 10:59:00 -04:00
Joey Hess bad3c0089a Add back a 1em margin between archivepage divs.
This was lost in commit 954e2e4ef1
2012-10-15 13:53:43 -04:00
Joey Hess 6bd8c6732e add cgi_overload_delay tunable
Try to avoid a situation in which so many ikiwiki cgi wrapper programs are
running, all waiting on some long-running thing like a site rebuild, that
it prevents the web server from doing anything else. The current approach
only avoids this problem for GET requests; if multiple cgi's run GETs on a
site at the same time, one will display a "please wait" page for a
configurable number of seconds, which then redirects to retry. To enable
this protection, set cgi_overload_delay to the number of seconds to wait.
This is not enabled by default.
2012-10-09 17:12:04 -04:00
Joey Hess 7b78a21580 changelog 2012-09-29 11:45:11 -04:00
Joey Hess 150d2c0900 update copyright and changelog 2012-08-30 11:57:20 -04:00
Joey Hess 80fa5c82a5 releasing version 3.20120725 2012-08-25 11:08:57 -04:00
Joey Hess a3c1768e10 comments: Remove ipv6 address specific code. 2012-08-25 10:43:24 -04:00
Joey Hess 93a12752ac merged anarcat/osm_arbitrary_layers 2012-08-25 10:13:22 -04:00
Joey Hess b09a73db13 responsen 2012-08-24 23:26:46 -04:00
Joey Hess d926c4aca9 merged anarcat's osm fixes 2012-08-05 22:02:39 -04:00
Joey Hess 25ea99bc22 Split CFLAGS into words when building wrapper. Closes: #682237 2012-07-20 12:56:57 -04:00
Joey Hess 7f883f5203 recentchangesdiff: When diffurl is not set, provide inline diffs in the recentchanges page, with visibility toggleable via javascript. Thanks, Antoine Beaupré 2012-07-19 13:50:07 -04:00
Joey Hess bfc9dc93c9 releasing version 3.20120629 2012-06-29 13:43:09 -04:00
Joey Hess 939d8c5675 mirrorlist: Add mirrorlist_use_cgi setting that avoids usedirs or other config differences by linking to the mirror's CGI. (intrigeri) 2012-06-03 13:16:31 -04:00
Joey Hess 22acf1872a cve 2012-05-16 21:18:40 -04:00
Joey Hess fbfcea89f8 meta: Security fix; add missing sanitization of author and authorurl. Thanks, Raúl Benencia 2012-05-16 19:54:41 -04:00
Joey Hess e09eeb2436 releasing version 3.20120419 2012-04-19 15:41:53 -04:00