Commit Graph

20029 Commits (5d65c1ad2c1d4a39dcb8c36d6ae6e4d458ed829f)

Author SHA1 Message Date
Simon McVittie 5d65c1ad2c mdwn: Make flags passed to libdiscount explicit
The Perl binding defaults to MKD_NOHEADER|MKD_NOPANTS anyway, but
making them explicit means we can use other flags of our choice,
and makes it easier to justify why those flags are appropriate.
2017-05-14 17:34:12 +01:00
Simon McVittie 60cb2ac458 cgierror: When the CGI fails, print the error to stderr, not "Died"
$@ could be clobbered by the "exception handler", and in practice
it seems that it is. This can be seen on stderr of t/git-cgi.t.
2017-05-14 15:39:21 +01:00
Simon McVittie 26ded17653 Defend against empty session names
If misconfiguration has resulted in an empty session name, treat the
session as having not signed in.
2017-05-14 15:37:47 +01:00
Simon McVittie 31c89db246 httpauth: If REMOTE_USER is empty, behave as though it was unset
A frequently cut-and-pasted HTTP basic authentication configuration
for nginx sets it to the empty string when not authenticated, which
is not useful.
2017-05-14 15:37:45 +01:00
Simon McVittie 59daf36cb2 httpauth: Recommend if_not_empty parameter for REMOTE_USER
This is untested, but should hopefully avoid the failure mode
described in [[bugs/Anon_edit_caused_lock_out_on_entire_site_]].
2017-05-14 15:36:26 +01:00
Simon McVittie 8b5c729b8b t/git-cgi.t: Wait 1 second before doing a revert that should succeed
This hopefully fixes a race condition in which the test failed
around 6% of the time.

If we don't wait, the mtime (which is rounded down to 1 second precision
in the APIs we use) will not necessarily change, so the update will not
necessarily cause the page to be refreshed.

Bug-Debian: https://bugs.debian.org/862494
2017-05-14 15:35:52 +01:00
smcv 365a930c2c complete last paragraph 2017-05-14 08:31:49 -04:00
smcv f6fc4543fb I have a theory 2017-05-14 08:20:49 -04:00
smcv 1f2f8d5f77 Added a comment 2017-05-14 08:01:09 -04:00
smcv 75f905a18a 2017-05-14 07:53:24 -04:00
smcv 65fe86e6f3 recommend discount over multimarkdown 2017-05-14 07:51:56 -04:00
smcv b14e3456dd multimarkdown: it's a trap! 2017-05-14 07:47:42 -04:00
smcv 50fb6f8b95 Added a comment: Use an underlay instead 2017-05-14 07:37:14 -04:00
smcv b047fc3757 removed 2017-05-14 07:28:50 -04:00
smcv f56e365dd0 Added a comment: You can do almost this with an underlay 2017-05-14 07:27:54 -04:00
smcv 02b4fb50c9 Added a comment 2017-05-14 07:00:48 -04:00
smcv 74d99b0063 Added a comment: you can't use and/or/! inside the page() parameter, move them outside 2017-05-14 06:49:54 -04:00
smcv d49aefdb19 fix syntax 2017-05-14 06:41:21 -04:00
Joe Rayhawk b919f1c3d4
Piny: mothballing 2017-05-13 09:23:56 -07:00
STrRedWolf de347f9f6c 2017-05-10 20:52:32 -04:00
qazwsx 69a0f01355 2017-05-09 13:45:51 -04:00
DataComputist 708023250a Added a comment 2017-05-08 17:16:18 -04:00
DataComputist 587d5dc874 2017-05-08 14:04:22 -04:00
desci cd651030ea Updating links 2017-05-01 15:18:15 -04:00
desci 187c5a259c Updating links 2017-05-01 15:14:33 -04:00
openmedi d00ddc9aea Added a comment 2017-04-18 09:13:42 -04:00
openmedi d16946c950 2017-04-18 08:19:44 -04:00
STrRedWolf 3f709fab6c Initial commit. 2017-04-16 17:38:24 -04:00
STrRedWolf 42bfe31b8a 2017-04-16 16:53:43 -04:00
STrRedWolf d090696696 First time theme help needed. 2017-04-16 16:53:21 -04:00
anarcat defdf8544f add list of pending patches 2017-04-13 09:27:10 -04:00
anarcat 76001618c2 mark this as a real plugin: forgot the plugin template! 2017-04-13 09:23:21 -04:00
anarcat 2c0f52cd48 mark this as ready for merging 2017-04-13 09:22:28 -04:00
anarcat 1d96095af7 clarify that "patch" on contrib plugins means the author wants to merge 2017-04-13 09:21:09 -04:00
anarcat ad6d2e7de0 this is a patch - i'd like this in core, or at least a discussion on how to merge it with the main plugin 2017-04-13 09:19:23 -04:00
anarcat 6a1efc5c6a add a patch to make this happen 2017-04-12 16:15:23 -04:00
anarcat 7d72549ef8 rename plugins/contrib/i18nheadinganchor.mdwn to plugins/contrib/i18nheadinganchors.mdwn 2017-04-12 16:14:30 -04:00
anarcat 42b8a58565 add i18nheadinganchors plugin 2017-04-12 16:14:13 -04:00
anarcat a0a57fa8cc move my repo to gitlab 2017-04-12 16:13:47 -04:00
anarcat f65eae2126 respond to an old question 2017-04-12 15:40:09 -04:00
Joey Hess 6cdba67dac
todo 2017-04-04 12:51:40 -04:00
desci 207666e903 Fixing format 2017-03-29 15:37:02 -04:00
desci 886610d85b As requested 2017-03-29 15:36:28 -04:00
desci 5c9d9b3213 Answering questions and updating links 2017-03-29 15:35:54 -04:00
tuxillo eba821b5f8 2017-03-19 20:33:38 -04:00
tuxillo 8d4342183b 2017-03-19 20:32:47 -04:00
martymcfly@55267c498da1bbb4b9fe2a8baadc45dc1bd8f57a f6f482af42 MyUserPage 2017-03-09 10:01:37 -04:00
martymcfly@55267c498da1bbb4b9fe2a8baadc45dc1bd8f57a 3e1d1ec36a Added a comment: PS 2017-03-09 10:00:23 -04:00
martymcfly@55267c498da1bbb4b9fe2a8baadc45dc1bd8f57a 17988f95b1 Ikiwiki error with Asciidoc 2017-03-09 09:59:06 -04:00
Joey Hess a3a6ec02e7
cleanup 2017-03-07 11:53:39 -04:00