Amitai Schlair [Sun, 22 Jan 2012 07:30:48 +0000 (02:30 -0500)]
Describe the needed test cases, and implement a couple Test::Class features.
* Run all subs matching /^test_*/ (for which we can plan)...
* Unless TEST_METHOD is set, in which case run matching subs (sans plan).
* Define total number of tests very near 'use Test::More', where expected.
* Define test tempdir where it's declared, no longer any reason why not.
* Move most comments from TODO.cvs into t/cvs.t.
* Add a whole bunch more comments describing the needed test cases.
XXX existing tests are order-dependent, but currently happen to pass
Amitai Schlair [Sun, 22 Jan 2012 01:54:26 +0000 (20:54 -0500)]
Fix regression: failing to make the temp dir should nix the test plan.
While here, nitpick style and wrap long lines.
Amitai Schlair [Sun, 22 Jan 2012 01:40:20 +0000 (20:40 -0500)]
Use config parameters directly and shorten long lines.
Amitai Schlair [Sun, 22 Jan 2012 01:17:52 +0000 (20:17 -0500)]
* Define expected number of tests near the top.
* Call readfile() directly from writefile().
* Parameterize commit message for the web-commit case.
* Describe intent of test cases.
* Rename test subs to match what they actually do.
* To prove extra path slashes don't cause trouble, instead of running
the same tests a second time, just assert that checkconfig()
strips the slashes.
Amitai Schlair [Sat, 21 Jan 2012 20:25:57 +0000 (15:25 -0500)]
Fix a typo in the web commit test.
Amitai Schlair [Sat, 21 Jan 2012 20:00:52 +0000 (15:00 -0500)]
Simplify startup: use Test::More unconditionally, then determine
the test plan at runtime. Use IkiWiki unconditionally too (as that's
not what I'm testing here) to avoid the TAP error of printing a
test result before having printed the plan.
Amitai Schlair [Sat, 21 Jan 2012 19:37:24 +0000 (14:37 -0500)]
Extract subs: startup/shutdown, and tests for web and manual commits.
No functional change intended.
Amitai Schlair [Sun, 8 Jan 2012 18:33:04 +0000 (13:33 -0500)]
add TODO notes
Amitai Schlair [Sun, 22 Jan 2012 15:42:01 +0000 (10:42 -0500)]
point to my branch, wrap lines, working on test coverage now
Amitai Schlair [Sun, 22 Jan 2012 07:40:38 +0000 (02:40 -0500)]
Merge branch 'cvs' of github.com:schmonz/ikiwiki into cvs
Conflicts:
TODO.cvs
Amitai Schlair [Sun, 22 Jan 2012 07:30:48 +0000 (02:30 -0500)]
Describe the needed test cases, and implement a couple Test::Class features.
* Run all subs matching /^test_*/ (for which we can plan)...
* Unless TEST_METHOD is set, in which case run matching subs (sans plan).
* Define total number of tests very near 'use Test::More', where expected.
* Define test tempdir where it's declared, no longer any reason why not.
* Move most comments from TODO.cvs into t/cvs.t.
* Add a whole bunch more comments describing the needed test cases.
XXX existing tests are order-dependent, but currently happen to pass
Amitai Schlair [Sun, 22 Jan 2012 01:54:26 +0000 (20:54 -0500)]
Fix regression: failing to make the temp dir should nix the test plan.
While here, nitpick style and wrap long lines.
Amitai Schlair [Sun, 22 Jan 2012 01:40:20 +0000 (20:40 -0500)]
Use config parameters directly and shorten long lines.
Amitai Schlair [Sun, 22 Jan 2012 01:17:52 +0000 (20:17 -0500)]
* Define expected number of tests near the top.
* Call readfile() directly from writefile().
* Parameterize commit message for the web-commit case.
* Describe intent of test cases.
* Rename test subs to match what they actually do.
* To prove extra path slashes don't cause trouble, instead of running
the same tests a second time, just assert that checkconfig()
strips the slashes.
Amitai Schlair [Sat, 21 Jan 2012 20:25:57 +0000 (15:25 -0500)]
Fix a typo in the web commit test.
Amitai Schlair [Sat, 21 Jan 2012 20:00:52 +0000 (15:00 -0500)]
Simplify startup: use Test::More unconditionally, then determine
the test plan at runtime. Use IkiWiki unconditionally too (as that's
not what I'm testing here) to avoid the TAP error of printing a
test result before having printed the plan.
Amitai Schlair [Sat, 21 Jan 2012 19:37:24 +0000 (14:37 -0500)]
Extract subs: startup/shutdown, and tests for web and manual commits.
No functional change intended.
Amitai Schlair [Sun, 8 Jan 2012 18:33:04 +0000 (13:33 -0500)]
add TODO notes
for rcs_remove(), there's no new file
Javier Rojas [Sat, 21 Jan 2012 21:47:16 +0000 (16:47 -0500)]
comment - index attachments
Amitai Schlair [Sat, 21 Jan 2012 03:33:27 +0000 (22:33 -0500)]
Merge branch 'master' into cvs
http://smcv.pseudorandom.co.uk/ [Fri, 20 Jan 2012 14:00:50 +0000 (10:00 -0400)]
https://launchpad.net/~vanyok [Fri, 20 Jan 2012 12:44:44 +0000 (08:44 -0400)]
https://launchpad.net/~vanyok [Fri, 20 Jan 2012 12:42:51 +0000 (08:42 -0400)]
some test records
http://jno.homeip.net/owncloud/?jno [Fri, 20 Jan 2012 10:54:14 +0000 (06:54 -0400)]
тест
Added a comment: apache module?
removed
Added a comment: apache module?
Joey Hess [Wed, 18 Jan 2012 03:26:55 +0000 (23:26 -0400)]
response
Added a comment
can the 'add comment' form be generated and returned even if the srcdir is locked?
Added a comment: just my 2 cents
http://hands.com/~phil/ [Tue, 17 Jan 2012 08:49:43 +0000 (04:49 -0400)]
fix underlay link
Added a comment: updating setup file
Added a comment: Great! It worked!
http://hands.com/~phil/ [Mon, 16 Jan 2012 22:53:35 +0000 (18:53 -0400)]
removed
Joey Hess [Mon, 16 Jan 2012 17:42:30 +0000 (13:42 -0400)]
mdwn: Added nodiscount setting, which can be used to avoid using the markdown discount engine, when maximum compatability is needed.
Added a comment: thats cool
http://joey.kitenet.net/ [Mon, 16 Jan 2012 14:52:22 +0000 (10:52 -0400)]
Added a comment
http://kerravonsen.dreamwidth.org/ [Mon, 16 Jan 2012 06:31:27 +0000 (02:31 -0400)]
oops typo
http://kerravonsen.dreamwidth.org/ [Mon, 16 Jan 2012 06:30:38 +0000 (02:30 -0400)]
new plugin "newpage"
Javier Rojas [Mon, 16 Jan 2012 00:18:30 +0000 (19:18 -0500)]
correction to username
Javier Rojas [Mon, 16 Jan 2012 00:16:44 +0000 (19:16 -0500)]
reply - search attachments
Joey Hess [Sun, 15 Jan 2012 20:45:34 +0000 (16:45 -0400)]
add news item for ikiwiki 3.
20120115
Joey Hess [Sun, 15 Jan 2012 20:44:58 +0000 (16:44 -0400)]
releasing version 3.
20120115
Joey Hess [Sun, 15 Jan 2012 20:39:13 +0000 (16:39 -0400)]
attachment: Fix utf-8 display bug.
Joey Hess [Sun, 15 Jan 2012 20:28:51 +0000 (16:28 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
Joey Hess [Sun, 15 Jan 2012 20:27:32 +0000 (16:27 -0400)]
releasing version 3.
20120115
Joey Hess [Sun, 15 Jan 2012 20:19:22 +0000 (16:19 -0400)]
Workaround discount's eliding of <style> blocks.
Added a comment
Added a comment
http://kerravonsen.dreamwidth.org/ [Fri, 13 Jan 2012 22:32:47 +0000 (18:32 -0400)]
Added a comment
http://kerravonsen.dreamwidth.org/ [Fri, 13 Jan 2012 22:31:02 +0000 (18:31 -0400)]
removed
http://kerravonsen.dreamwidth.org/ [Fri, 13 Jan 2012 22:30:33 +0000 (18:30 -0400)]
Added a comment
http://joey.kitenet.net/ [Fri, 13 Jan 2012 17:46:50 +0000 (13:46 -0400)]
Added a comment
Joey Hess [Fri, 13 Jan 2012 17:43:31 +0000 (13:43 -0400)]
Make backlink(.) work. Thanks, Giuseppe Bilotta.
Giuseppe Bilotta [Fri, 13 Jan 2012 10:02:11 +0000 (11:02 +0100)]
backlink(.) should behave like backlink(<current page>)
Since commit
c4d4cad3befbbd444d094cbeb0b6ebba3910a025, the single dot in
a pagespec can be used to mean the current page. While this worked
correctly in link() it didn't work in backlink(). Fix this by explicitly
checking the testpage in backlink against . and replacing it with the
current location if necessary.
Giuseppe Bilotta [Fri, 13 Jan 2012 10:13:34 +0000 (11:13 +0100)]
Propose patch to fix backlink(.)
smv [Fri, 13 Jan 2012 01:20:47 +0000 (21:20 -0400)]
Jon Dowland [Wed, 11 Jan 2012 15:17:28 +0000 (15:17 +0000)]
simplify bug report
Jon Dowland [Wed, 11 Jan 2012 15:15:37 +0000 (15:15 +0000)]
test doesn't work live. damnit. try varying pagespec
Jon Dowland [Wed, 11 Jan 2012 15:13:46 +0000 (15:13 +0000)]
backlink(.) doesn't work
Javier Rojas [Wed, 11 Jan 2012 03:20:48 +0000 (22:20 -0500)]
new forum post about search in attachments
Joey Hess [Mon, 9 Jan 2012 16:17:35 +0000 (12:17 -0400)]
add news item for ikiwiki 3.
20120109
Joey Hess [Mon, 9 Jan 2012 16:17:24 +0000 (12:17 -0400)]
releasing version 3.
20120109
Joey Hess [Mon, 9 Jan 2012 14:34:23 +0000 (10:34 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info
http://kerravonsen.dreamwidth.org/ [Mon, 9 Jan 2012 03:56:21 +0000 (23:56 -0400)]
thanks
Amitai Schlair [Sun, 8 Jan 2012 18:33:04 +0000 (13:33 -0500)]
add TODO notes
Amitai Schlair [Sun, 8 Jan 2012 18:26:56 +0000 (13:26 -0500)]
repoint git branches and website
Amitai Schlair [Sun, 8 Jan 2012 18:09:28 +0000 (13:09 -0500)]
Merge branch 'master', remote-tracking branch 'joey/master'
Amitai Schlair [Sun, 8 Jan 2012 17:11:36 +0000 (12:11 -0500)]
Portability fixes:
* Define overridable defaults for SYSCONFDIR and MANDIR.
* Avoid GNUisms in sed(1) and cp(1).
Amitai Schlair [Sun, 8 Jan 2012 17:06:56 +0000 (12:06 -0500)]
When generating scripts, give them the interpreter we generated them with.
fix link to wiki.openbsd.ru
add russian openbsd.ru wiki
Amitai Schlair [Sun, 8 Jan 2012 15:52:21 +0000 (10:52 -0500)]
third-person or bust
Amitai Schlair [Sun, 8 Jan 2012 15:48:24 +0000 (10:48 -0500)]
wrap lines
https://id.koumbit.net/anarcat [Fri, 6 Jan 2012 15:59:06 +0000 (11:59 -0400)]
fix the urls again again
https://id.koumbit.net/anarcat [Fri, 6 Jan 2012 15:31:37 +0000 (11:31 -0400)]
really fix those urls
https://id.koumbit.net/anarcat [Fri, 6 Jan 2012 15:30:31 +0000 (11:30 -0400)]
fix my urls
https://id.koumbit.net/anarcat [Fri, 6 Jan 2012 15:29:17 +0000 (11:29 -0400)]
fix urls
sajolida [Wed, 4 Jan 2012 20:46:58 +0000 (16:46 -0400)]
Joey Hess [Wed, 4 Jan 2012 17:43:37 +0000 (13:43 -0400)]
correction
dave [Wed, 4 Jan 2012 04:01:54 +0000 (00:01 -0400)]
Added a comment
Joey Hess [Tue, 3 Jan 2012 18:55:40 +0000 (14:55 -0400)]
On Debian, depend on libtext-markdown-discount.
http://smcv.pseudorandom.co.uk/ [Tue, 3 Jan 2012 11:29:59 +0000 (07:29 -0400)]
Added a comment
dave [Tue, 3 Jan 2012 03:51:35 +0000 (23:51 -0400)]
Joey Hess [Sun, 1 Jan 2012 21:40:50 +0000 (17:40 -0400)]
switch bundle to discount, and mention it in install
Joey Hess [Sun, 1 Jan 2012 21:37:49 +0000 (17:37 -0400)]
update
Joey Hess [Sun, 1 Jan 2012 21:24:21 +0000 (17:24 -0400)]
workaround a bug in the discount perl binding
Empty input, or input consisting soley of whitespace
caused an uninitialized value warning.
Joey Hess [Sun, 1 Jan 2012 21:11:56 +0000 (17:11 -0400)]
fix test suite to work with discount
In the first test, discount returns the html attributes in a different
order, which broke the test. Test only for the important text, not the
exact html output.
In the second test, discount does some encoding of its own of the partially
encoded url, again resulting in different output.
Joey Hess [Sun, 1 Jan 2012 20:56:32 +0000 (16:56 -0400)]
discount support
mdwn: Can use the discount markdown library, via the
Text::Markdown::Discount perl module.
This is preferred if available since it's the fastest currently supported
markdown library, speeding up markdown rendering by a factor of 40.
That is to say, when only rendering a lot of markdown, discount is 40x
faster. When building a ikiwiki site, ikiwiki's other overhead gets in the
way, but I still see significant speedups. Building the ikiwiki docwiki
dropped from 62 to 45 seconds, for example.
However, when multimarkdown is enabled, Text::Markdown::Multimarkdown is
still used.
While discount contains some nonstandard markdown extensions,
including tables and footnotes, AFAICS most of them are not
enabled by default in the perl bindings.
I consider sticking to non-extended markdown a desirable thing, since this
is probably not the last markdown engine. In particular, sundown is waiting
in the wings to get packaged and get a perl binding.
----
Reviewing all the showdown extensions, here are the ones that are enabled:
centered paragraphs:
->centered<-
image sizes: [dust mite](http://dust.mite =150x150)
<style>..</style> blocks are eaten. The perl binding does not provide
access to the gathered CSS. This is not legal html anyway, so unlikely
to cause breakage.