Commit Graph

2300 Commits (d18b77c107acb1b3a192d25a8297141253b1bf1f)

Author SHA1 Message Date
Simon McVittie d18b77c107 Add [[!meta date]] to news items and tips
The git checkout and build process can leave the checkout
date in the tarball release, leading to unstable sorting.
I tried to use `git restore-mtime`, but that doesn't work for
ikiwiki, because dgit interferes with it.
2015-06-09 22:29:38 +01:00
Simon McVittie 8e007666d4 brokenlinks: sort the pages that link to the missing page, for better reproducibility 2015-06-09 22:28:31 +01:00
Simon McVittie 7a96363c6d debian/copyright: turn comments on provenance into Comment 2015-06-09 22:28:30 +01:00
Simon McVittie bde823191e debian/copyright: consolidate permissive licenses 2015-06-09 22:28:28 +01:00
Simon McVittie de38423a59 debian: build the docwiki with LC_ALL=C.UTF-8 and TZ=UTC for a more reproducible build 2015-06-09 22:25:26 +01:00
Simon McVittie 2fe003dac4 Populate pagectime from mtime or inode change time, whichever is older
When building ikiwiki from a tarball, the mtime (conceptually, the
last modification date of the file) is preserved by tar, but the inode
change time (creation/metadata-change date of *this copy* of the file)
is not. This seems to lead to unstable sort ordering and
unreproducible builds.

The page can't possibly have been modified before it was created, so
we can assume that the modification date is an upper bound for the
creation date.
2015-06-09 22:22:54 +01:00
Simon McVittie b6388d6fbd changelog 2015-06-09 22:22:10 +01:00
Simon McVittie 2cf7b1fc64 Replace email authentication icon with one that is more instantly recognizable 2015-06-09 00:44:31 +01:00
Simon McVittie 7a52c87a8c Make the attachment plugin work with CGI.pm 4.x (Closes: #786586; workaround for #786587 in libcgi-pm-perl) 2015-06-07 14:51:13 +01:00
Simon McVittie 2afb0dd663 Do not directly enable emailauth by default, only indirectly via openid
This avoids nasty surprises on upgrade if a site is using httpauth,
or passwordauth with an account_creation_password, and relying on
only a select group of users being able to edit the site. We can revisit
this for ikiwiki 4.
2015-05-27 08:52:01 +01:00
Joey Hess fecfa53988 changelog 2015-05-19 15:35:25 -04:00
Joey Hess 85a529db3d passwordauth: Don't allow registering accounts that look like openids.
Also prohibit @ in account names, in case the file regexp was relaxed to
allow it.
2015-05-14 10:57:56 -04:00
Joey Hess bf8b7fe2d1 changelog 2015-05-13 23:38:46 -04:00
Joey Hess 5b459737a5 Converted openid-selector into a more generic loginselector helper plugin. 2015-05-13 18:50:29 -04:00
Joey Hess f8add0adb3 rename openid selector files to login-selector 2015-05-13 17:58:59 -04:00
Joey Hess ec72b4c95b When openid and passwordauth are the only enabled auth plugins, make the openid selector display "Password" instead of "Other", so users are more likely to click on it when they don't have an openid. 2015-05-13 12:18:22 -04:00
Joey Hess aefb780eee Re-remove google from openid selector; their openid provider is gone for good. 2015-04-28 12:24:32 -04:00
Simon McVittie d8a550e7de release 3.20150329 2015-03-29 22:11:38 +01:00
Joey Hess 18dfba868f Fix XSS in openid selector. Thanks, Raghav Bisht. 2015-03-27 12:17:39 -04:00
Joey Hess 6ff7d4bba6 remove announcedir target
only I use this, and I moved it to my mrconfig
2015-03-14 15:56:52 -04:00
Simon McVittie 9497fc1b6c t/inline.t: accept translations of "Add a new post titled:" (Closes: #779365) 2015-03-01 17:15:13 +00:00
Simon McVittie a1fda0b516 Standardize on --long-option instead of -long-option
[[forum/refresh_and_setup]] indicates some confusion between --setup
and -setup. Both work, but it's clearer if we stick to one in
documentation and code.

A 2012 commit to [[plugins/theme]] claims that "-setup" is required
and "--setup" won't work, but I cannot find any evidence in ikiwiki's
source code that this has ever been the case.
2015-03-01 16:15:01 +00:00
Simon McVittie 943ec015da If neither timezone nor TZ is set, set both to :/etc/localtime if we're on a GNU system and that file exists, or GMT otherwise 2015-03-01 15:01:05 +00:00
Simon McVittie bd3eb42b02 changelog 2015-03-01 12:46:49 +00:00
Joey Hess b0861d8162 heh, MOM wants you 2015-01-25 00:03:43 -04:00
Joey Hess fe0eaf1870 Fix NULL ptr deref on ENOMOM in wrapper. (Thanks, igli)
Probably not exploitable, but who knows..
2015-01-25 00:00:40 -04:00
Simon McVittie c34b86f12e release 2015-01-07 09:14:47 +00:00
Joey Hess 0048442831 close debian bug I opened about blogspam 2015-01-02 16:45:26 -04:00
Amitai Schlair 0451dc4133 Update blogspam to the 2.0 API. 2015-01-02 13:55:10 -05:00
Joey Hess f88e109bec po: If msgmerge falls over on a problem po file, print a warning message, but don't let this problem crash ikiwiki entirely. 2014-12-30 15:51:50 -04:00
Amitai Schlair c668c2c7e2 Changelog the $(MAKE) patch. 2014-12-27 17:32:20 -05:00
Simon McVittie 5c30886dbf changelog, close bug 2014-12-09 22:19:15 +00:00
Simon McVittie 44e320c1d5 changelog and NEWS entry for responsive layout 2014-12-01 21:29:46 +00:00
Simon McVittie c01f53d74e core: generate HTML5 by default, but keep avoiding new elements like <section> that require specific browser support unless html5 is set to 1. 2014-11-26 12:00:31 +00:00
Simon McVittie 6c51b764bc Merge branch 'ready/html5' 2014-11-26 11:58:05 +00:00
Simon McVittie dc0744a423 search: add more classes as a hook for CSS. Thanks, sajolida 2014-11-26 11:57:58 +00:00
Simon McVittie 1ff99b19ca calendar: add calendar_autocreate option, with which "ikiwiki --refresh" can mostly supersede the ikiwiki-calendar command. Thanks, Louis Paternault 2014-11-26 09:28:18 +00:00
Joey Hess 33ca02581b Set Debian package maintainer to Simon McVittie as I'm retiring from Debian. 2014-11-08 00:08:33 -04:00
Joey Hess ea8c7a7e02 openid: Stop suppressing the email field on the Preferences page.
This is needed for notifyemail, and not all openid providers report an
email address, or necessarily the one the user wants to get email.
2014-11-06 15:00:09 -04:00
Joey Hess d858ce3e93 Add missing build-depends on libcgi-formbuilder-perl, needed for t/relativity.t 2014-10-20 12:28:54 -04:00
Joey Hess 82a4fb49ae add ikiwiki-comment program 2014-10-20 12:08:07 -04:00
Amitai Schlair 7a2446f798 Disambiguate myself a bit (like that's needed). 2014-10-16 21:51:18 -04:00
Simon McVittie a89dbd9892 release 2014-10-16 23:28:35 +01:00
Simon McVittie 44e05edaf4 debian: fix some wrong paths in the copyright file 2014-10-16 23:28:23 +01:00
Simon McVittie 0e783e915b debian: rename debian/link to debian/links so the intended symlinks appear 2014-10-16 23:04:11 +01:00
Simon McVittie 37296bcb5a close a bug 2014-10-16 23:03:48 +01:00
Simon McVittie 0c73a825d1 Drop unused python-support dependency 2014-10-16 22:48:09 +01:00
Simon McVittie 3429e81596 changelog so far 2014-10-16 22:44:29 +01:00
Simon McVittie e1deb28e08 build-depend on libcgi-pm-perl too, for tests 2014-10-16 22:40:52 +01:00
Simon McVittie edbc54ec6e Explicitly depend on CGI.pm, which is no longer in Perl core
I was going to depend on the version that has CGI->param_fetch,
but that has been supported since 2.37, which is older than oldstable.
2014-10-16 22:24:48 +01:00