aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
* Merge remote branch 'smcv/ready/link-types'Joey Hess2010-04-06
|\
| * Remove tagged_is_strict option, and just behave as though it was enabledSimon McVittie2010-04-04
| | | | | | | | | | Jon was worried about the backwards-compatibility break involved in making tagged() not match non-tag links, but Joey seems less concerned about it.
| * Fix some typos that would break Render during changed-link calculationSimon McVittie2010-04-04
| |
| * implement typed links; add tagged_is_strict config optionSimon McVittie2010-04-04
| |
* | txt: Add a special case for robots.txt.Joey Hess2010-04-05
| |
* | comments: Fix missing entity encoding in title.Joey Hess2010-04-05
| | | | | | | | | | | | | | | | | | | | | | | | The meta title data set by comments needs to be encoded the same way that meta encodes it. (NB The security implications of the missing encoding are small.) Note that meta's encoding of title, description, and guid data, and not other data, is probably a special case that should be removed. Instead, these values should be encoded when used. I have avoided doing so here because that would mean forcing a wiki rebuild on upgrade to have the data consitently encoded.
* | fix test suiteJoey Hess2010-04-04
| |
* | more idiomatic perlJoey Hess2010-04-04
| |
* | rename hash and avoid unnecessary hash refJoey Hess2010-04-04
| | | | | | | | | | Variable renamed to be a bit more self-explanatory. Probably more idiomatic perl to not use a hash ref when a hash can be used.
* | fix indentation & whitespaceJoey Hess2010-04-04
| |
* | Fix bzr plugin to work with bzr 2.0.Lars Wirzenius2010-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The output of "bzr log" seems to have changed a bit, so we change the parsing accordingly. This has not been tested with earlier versions of bzr. Several problems seemed to occur, all in the bzr_log subroutine: 1. The @infos list would contain an empty hash, which would confuse the rest of the program. 2. This was because bzr_log would push an empty anonymous hash to the list whenever it thought a new record would start. 3. However, a new record marker (now?) also happens at th end of bzr log output. 4. Now we collect the record to a hash that gets pushed to the list only if it is not empty. 5. Also, sometimes bzr log outputs "revno: 1234 [merge]", so we catch only the revision number. 6. Finally, there may be non-headers at the of the output, so we ignore those.
* | qualify template_fileJoey Hess2010-04-02
| |
* | template: Search for templates in the templatedir, if they are not found as ↵Joey Hess2010-04-02
| | | | | | | | pages in the wiki.
* | htmlscrubber: Allow colons in url fragments after '?'Joey Hess2010-04-02
|/ | | | | | | | | | | | Colons are not allowed at the start of urls, because it can be interpreted as a protocol, and allowing arbitrary protocols can be unsafe (CVE-2008-0809). However, this check was too restrictive, not allowing use of eg, "video.ogv?t=0:03:00/0:04:00" to seek to a given place in a video, or "somecgi?foo=bar:baz" to pass parameters with colons. It's still not allowed to have a filename with a colon in it (ie "foo:bar.png") -- to link to such a file, a fully qualified url must be used.
* add warning about incomplete tla supportJoey Hess2010-03-29
|
* add warning messages about bzr and mercurial hooks that are not correctly setupJoey Hess2010-03-29
|
* don't check $@ after pagespec_translateJoey Hess2010-03-28
| | | | | | | | | pagespec_translate may set $@ if it fails to parse a pagespec, but due to memoization, this is not reliable. If a memoized call is repeated, and $@ is already set for some other reason previously, it will remain set through the call to pagespec_translate. Instead, just check if pagespec_translate returns undef.
* use __TINYC__ define to avoid tinyc compat fixes breaking FreeBSDJoey Hess2010-03-28
| | | | | | | | To review, tcc does not really use environ, so you have to use clearenv there. But POSIX, in their wisdom, didn't standardise clearenv yet, so on FreeBSD, one still needs to manipulate environ on their own. (If you use tcc on FreeBSD, this may leave you unsatisfied.)
* fix printing of $@, which is clobbered by the call to gettextJoey Hess2010-03-28
| | | | problem reported by viric
* fix the other half of the filecheck filename bugJoey Hess2010-03-26
|
* filecheck: Fix bug that prevented the pagespecs from matching when not ↵Joey Hess2010-03-25
| | | | called by attachment plugin.
* remove a few leftover manual folding indicatorsJoey Hess2010-03-25
|
* fix unicode with YAML::SyckJoey Hess2010-03-24
| | | | Syck-- it doesn't use unicode by default?! Hello, 2010 calling..
* use perl YAML for dumpingJoey Hess2010-03-24
| | | | Only it understands $YAML::UseHeader
* fix back-compat with old Net::OpenIDJoey Hess2010-03-24
| | | | Debian stable's Net::OpenID does not support getting extension fields.
* fall back from YAML::Any to just YAMLJoey Hess2010-03-24
| | | | for portabilty to old YAML in Debian stable that lacks the former.
* use YAML::Any to allow faster versions to be used if availableJoey Hess2010-03-24
|
* reset setuptype first, actuallyJoey Hess2010-03-21
| | | | so setup file can override default
* check for 'require' instead of 'use'Joey Hess2010-03-21
|
* reset setuptype to standard after an automator setup file is loadedJoey Hess2010-03-21
| | | | so a standard file is generated (by default)
* fix newlines in commented defaultsJoey Hess2010-03-19
|
* load YAML on demandJoey Hess2010-03-19
| | | | so as not to break test suite if YAML is not avilable
* shorten setuptypeJoey Hess2010-03-19
|
* Add support for setup files written in YAML.Joey Hess2010-03-19
| | | | Not the default. (Yet?)
* parameterized indentJoey Hess2010-03-19
|
* improve commentsJoey Hess2010-03-19
|
* move generic comment into IkiWiki::SetupJoey Hess2010-03-19
|
* factored out generic commented line dumpingJoey Hess2010-03-19
|
* whitespaceJoey Hess2010-03-19
|
* allow multiple setup file types, and support safe parsingJoey Hess2010-03-19
| | | | | | | | | Finally removed the last hardcoding of IkiWiki::Setup::Standard. Take the first "IkiWiki::Setup::*" in the setup file to define the setuptype, and remember that type to use in dumping later. (But it can be overridden using --set, etc.) Also, support setup file types that are not evaled.
* audited use POSIXJoey Hess2010-03-19
| | | | | | The POSIX perl module exports a huge number of functions by default, so make sure all imports are qualified. (And remove one that was not necessary.)
* Allow wrappers to be built using tcc.Joey Hess2010-03-18
|
* C warning cleanupJoey Hess2010-03-18
|
* openid: Use Openid Simple Registration or OpenID Attribute Exchange to get ↵Joey Hess2010-03-13
| | | | | | | | | | | | | the user's email address and username. The info is stored in the session database, not the user database. There should be no reason to need it when a user is not logged in. Also, hide the email field in the preferences page for openid users. Note that the email and username are not yet actually used for anything. The email will be useful for gravatar, while the username might be used for a more pretty display of the openid.
* websetup: Add websetup_unsafe to allow marking other settings as unsafe.Joey Hess2010-03-13
|
* typoJoey Hess2010-03-12
|
* htmlscrubber: Security fix: In data:image/* uris, only allow a few ↵Joey Hess2010-03-12
| | | | whitelisted image types. No svg.
* search: Avoid '$' in the wikiname appearing unescaped on omega's query ↵Joey Hess2010-03-11
| | | | | | | template, where it might crash omega. Really, a more general fix, this deals with any $ that might appear on the misctemplate.
* moderatedcomments: Added moderate_pagespecJoey Hess2010-03-11
| | | | | | | | | | | * moderatedcomments: Added moderate_pagespec that can be used to control which users or comment locations are moderated. This can be used, just for example, to moderate http://myopenid.com/* if you're getting a lot of spammers from one particular openid provider (who should perhaps answer your emails about them), while not moderating other users. * moderatedcomments: The moderate_users setting is deprecated. Instead, set moderate_pagespec to "!admin()" or "user(*)" instead.
* typoJoey Hess2010-03-09
|