Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
If an admin wants the IP in the comment display template they can still
get it (the default template shows it).
|
|
|
|
to claimed author if unauthenticated
This still isn't quite right (it displays the IP address twice if the user
doesn't specify a name).
|
|
|
|
|
|
|
|
Also provide a way for the comment template to pick up the verified
username/IP.
|
|
|
|
This has the side-effect that Ikiwiki's default style.css gives the text
box 100% width.
|
|
|
|
This delays all comment formatting until the last possible time, allows
us to set metadata without worrying that commenters may be able to evade
it, and means that changes to how a comment is saved can be handled
gracefully. It also gives us somewhere to put the commenter's username
or IP address for later reference.
|
|
|
|
correctly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
name of page
Also:
* decide comment page name sooner
* set permalink on it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not compacting whitespace is the most important one: now that we run
sanitize hooks on individual posted comments in the comments plugin,
whitespace that is significant to Markdown (but not HTML) is lost.
|
|
Now that posts are individually sanitized, that should be safe.
|
|
|
|
|
|
This should ensure that users can't "break out" from the enclosing
<div>, making it impossible to forge comments (assuming htmlscrubber
is enabled, and so is either htmlbalance or htmltidy).
|
|
|
|
The PageSpec is still called "postcomment" since that's what it means.
|
|
|
|
|
|
|
|
Also put "posting comments disabled" in [], and change "Page preview"
to "Comment preview".
|