Commit Graph

20074 Commits (453e07fd9ffec6fe6a9fd9d7c802c48477dadb25)

Author SHA1 Message Date
Simon McVittie 453e07fd9f meta: Specifically document [[!meta foo:bar="baz"]] as not working 2017-06-22 09:19:02 +01:00
j@d945f5982c686dda5ab7bc2ef45e09d388233fad 63e6fa68b0 2017-06-20 19:03:02 -04:00
Simon McVittie 5a84cd308d osm: Convert savestate hook into a changes hook
savestate is not the right place to write wiki content, and in particular
this breaks websetup if osm's dependencies are not installed, even if
the osm plugin is not actually enabled. (Closes: #719913)

This is not a full solution: it should be possible to render the PoI files
for only the maps that changed, from the format, changes or rendered
hook. However, getting that right would require more understanding of
this plugin, and this version is enough to not break websetup. This
version is the closest correct hook to the one where this previously
took place.
2017-06-20 23:47:08 +01:00
alicef 18c4559f4e 2017-06-12 17:14:22 -04:00
https://tylercipriani.com/ 15278cad15 Ensure repo gets picked up by gitremotes script 2017-06-02 08:55:00 -04:00
https://tylercipriani.com/ e8ca4e5b8c Add jsonfeed patch 2017-06-01 19:26:28 -04:00
https://tylercipriani.com/ 07f0f84a8e Add thcipriani repository 2017-06-01 19:17:04 -04:00
https://tylercipriani.com/ d64ce01e0a Add my user page 2017-06-01 19:15:33 -04:00
smcv af501e9e14 current headinganchors does not damage headings' attributes, although it does not act on those headings 2017-06-01 10:03:51 -04:00
smcv d20dd0c97e 2017-06-01 09:59:36 -04:00
smcv 2f765597de resolved 2017-06-01 09:48:10 -04:00
anarcat bbf2d13ae3 response 2017-06-01 09:14:23 -04:00
anarcat 1bb8301ad6 response 2017-06-01 09:02:26 -04:00
https://me.yahoo.com/a/GwQv.Tw.p_ux8p4eLf9CkcwYsQ--#2fdeb 5c57e46dd5 2017-05-26 22:25:07 -04:00
smcv 25ba5d260c Added a comment: Please do not patch out the symlink check 2017-05-26 02:20:23 -04:00
mail@b2ae8518bb6eba14728f86acae7830e4c2d9943d 4bb6132283 Added a comment: git-annex support 2017-05-25 10:43:20 -04:00
openmedi 11b9eb0c19 2017-05-25 07:30:47 -04:00
smcv b29efcb4c6 Added a comment: I suggest asking macOS/brew people 2017-05-22 07:02:44 -04:00
qazwsx 88ca349cd1 2017-05-21 19:23:36 -04:00
qazwsx aeb9317387 2017-05-21 19:22:54 -04:00
openmedi dbb06580d5 Added a comment 2017-05-19 11:32:18 -04:00
smcv 8503f8ddaa Suggested syntax does work, and has a test 2017-05-19 09:57:28 -04:00
smcv 778d9e50d4 Document the special case for [[!meta name=foo content=bar]] 2017-05-19 09:50:52 -04:00
smcv 1e4e51754e it is (meant to be) possible, just not with that syntax 2017-05-19 09:43:08 -04:00
fmarier 219134beff 2017-05-18 13:33:44 -04:00
bma@d2ddf927e0bde7166ad151d794bee58589bedb40 da0900649c long out of date 2017-05-16 08:59:37 -04:00
Simon McVittie afdf8c0a8c color, toc: Fix `make test` 2017-05-16 12:08:55 +01:00
Simon McVittie 01f2a84360 color: Use markup for the preserved CSS, not character data
This still smuggles it past the sanitize step, but avoids having
other plugins that want to capture text content without markup
(notably toc) see the CSS as if it was text content.
2017-05-16 12:08:55 +01:00
Simon McVittie 49de9594b7 color: Add a unit test 2017-05-16 12:08:54 +01:00
smcv 6ab4dee728 we should prefer existing IDs and only act as a fallback 2017-05-16 05:38:02 -04:00
smcv 81221cb030 cross-reference i18nheadinganchors 2017-05-16 05:26:25 -04:00
smcv ab793c1db0 correct ID syntax 2017-05-16 05:17:57 -04:00
smcv 5150874861 browsers and specifications support more Unicode than we give them credit for 2017-05-16 05:17:00 -04:00
smcv cad72ecfad close 2017-05-16 04:27:56 -04:00
Simon McVittie 77df914b3a Add a simple unit test for [[!toc]] 2017-05-16 08:55:24 +01:00
Simon McVittie 787fb8b058 Prune dead links 2017-05-16 08:55:24 +01:00
Simon McVittie 9858519cc5 Reinstate a git repo that has come back 2017-05-16 08:55:24 +01:00
Antoine Beaupré b5b48d5bb5 use heading identifiers in TOC links
reasoning: if headings have identifiers, they are probably more useful
anchors than the automatically generated anchors we build in the toc
plugin. this can happen if, for example, you use the `multimarkdown`
plugin, which inserts `id` tags for every header it encounters. this
also leverages the `headinganchors` plugin nicely.

keeps backwards-compatibility with old toc-generated #indexXhY
anchors.
2017-05-16 08:55:23 +01:00
smcv 55ae3c7368 Added a comment 2017-05-16 03:29:33 -04:00
Simon McVittie 4fd5f7d910 Clarify documentation 2017-05-16 08:28:04 +01:00
Simon McVittie 1b4571acd5 Add a test-case for Markdown options 2017-05-16 08:25:53 +01:00
Simon McVittie c72dc5ddb7 mdwn: Don't enable alphabetically labelled ordered lists by default
This avoids misinterpreting initials ("C. S. Lewis was an author"),
the abbreviation for Monsieur ("M. Descartes was a philosopher") and
German page numbering ("S. 42") as ordered lists if they happen to
begin a line.

This only affects the default Discount implementation: Text::Markdown
and Text::MultiMarkdown do not have this feature anyway. A new
mdwn_alpha_list option can be used to restore the old interpretation.
2017-05-16 08:09:15 +01:00
qazwsx 94316fca54 Added a comment 2017-05-15 02:19:37 -04:00
Simon McVittie 4db4e589e4 mdwn: Enable footnotes by default when using Discount
A new mdwn_footnotes option can be used to disable footnotes in
MultiMarkdown and Discount.
2017-05-14 18:16:53 +01:00
Simon McVittie 81c3258269 mdwn: Don't mangle <style> into <elyts> under some circumstances
We can ask libdiscount not to elide <style> blocks, which means we
don't have to work around them.
2017-05-14 17:45:55 +01:00
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