From: David Bremner Date: Mon, 1 Sep 2008 21:56:20 +0000 (-0300) Subject: rename test wiki X-Git-Tag: 0.1~22 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/32e435223fca3b696d21382c657fab29d450272c rename test wiki --- diff --git a/.gitignore b/.gitignore index b7f43036b..2347f1a15 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -test/in/.ikiwiki/ +test-wiki/in/.ikiwiki/ diff --git a/test-wiki/in/_comments.mdwn b/test-wiki/in/_comments.mdwn new file mode 100644 index 000000000..88e659d46 --- /dev/null +++ b/test-wiki/in/_comments.mdwn @@ -0,0 +1,4 @@ + +Send Comment + +[[Read Comments|%%PAGE%%/comments]] diff --git a/test-wiki/in/index.mdwn b/test-wiki/in/index.mdwn new file mode 100644 index 000000000..5f356c2f8 --- /dev/null +++ b/test-wiki/in/index.mdwn @@ -0,0 +1 @@ +this is the root page diff --git a/test-wiki/in/mailbox.css b/test-wiki/in/mailbox.css new file mode 100644 index 000000000..d4f7ad0fb --- /dev/null +++ b/test-wiki/in/mailbox.css @@ -0,0 +1,15 @@ + + +div.mailmessage{ + border-top: 1px solid; + margin-top: 1% + +} +.headername { +font-weight: bold; + } + +.emailthreadindent{ +position: relative; +left: 5%; +} \ No newline at end of file diff --git a/test-wiki/in/test.mdwn b/test-wiki/in/test.mdwn new file mode 100644 index 000000000..d5157040d --- /dev/null +++ b/test-wiki/in/test.mdwn @@ -0,0 +1 @@ +this is page called test diff --git a/test-wiki/templates/email.tmpl b/test-wiki/templates/email.tmpl new file mode 100644 index 000000000..8508fd2f4 --- /dev/null +++ b/test-wiki/templates/email.tmpl @@ -0,0 +1,16 @@ +
+
+ + : + + + +
+
+
+ +
+ +
+ +
diff --git a/test-wiki/templates/page.tmpl b/test-wiki/templates/page.tmpl new file mode 100644 index 000000000..9fe8994dc --- /dev/null +++ b/test-wiki/templates/page.tmpl @@ -0,0 +1,123 @@ + + + + +<TMPL_VAR TITLE> + + + + + + + + + +
+ + +/ + + + + + + +
+ + +
+ +
+
+ + + + + +
+ +
+ + + + + diff --git a/test-wiki/test.setup b/test-wiki/test.setup new file mode 100644 index 000000000..002093989 --- /dev/null +++ b/test-wiki/test.setup @@ -0,0 +1,209 @@ +#!/usr/bin/perl +# Configuration file for ikiwiki. +# Passing this to ikiwiki --setup will make ikiwiki generate wrappers and +# build the wiki. +# +# Remember to re-run ikiwiki --setup any time you edit this file. + +use IkiWiki::Setup::Standard { + wikiname => "TestWiki", + #adminuser => ["yourname", ], + adminemail => 'me@example.org', + + # Be sure to customise these.. + srcdir => "in", + destdir => "/tmp/postaltest-wiki", + + url => "file:///tmp/postaltest-wiki/", + #cgiurl => "http://example.org/wiki/ikiwiki.cgi", + templatedir => $ENV{PWD}."/templates", + #underlaydir => "/usr/share/ikiwiki/basewiki", + + # Subversion stuff. + #rcs => "svn", + #historyurl => "http://svn.example.org/trunk/[[file]]", + #diffurl => "http://svn.example.org/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]", + #svnrepo => "/svn/wiki", + #svnpath => "trunk", + + # Git stuff. + #rcs => "git", + #historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]", + #diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]", + #gitorigin_branch => "origin", + #gitmaster_branch => "master", + + # Tla stuff. + #rcs => "tla" + #historyurl => ??, + #diffurl => ??, + + # Mercurial stuff. + #rcs => "mercurial", + #historyurl => "http://localhost:8000/log/tip/[[file]]", # hg serve'd local repository + #diffurl => "http://localhost:8000/?fd=[[r2]];file=[[file]]", + + # Bazaar stuff. + #rcs => "bzr", + #historyurl => "", + #diffurl => "http://example.com/revision?start_revid=[[r2]]#[[file]]-s", # using loggerhead + + # Monotone stuff + #rcs => "monotone", + #mtnkey => "web\@machine.company.com", + #historyurl => "http://viewmtn.example.com/branch/head/filechanges/com.example.branch/[[file]]", + #diffurl => "http://viewmtn.example.com/revision/diff/[[r1]]/with/[[r2]]/[[file]]", + # Set if you want the wiki to sync on update and commit. + #mtnsync => 0, + # The path to your workspace (defaults to the srcdir itself) + # e.g. use if your srcdir is a subdirectory of the workspace. + #mtnrootdir => "path/to/root/of/workspace", + + wrappers => [ + #{ + # # The cgi wrapper. + # cgi => 1, + # wrapper => "/var/www/wiki/ikiwiki.cgi", + # wrappermode => "06755", + #}, + #{ + # # The svn post-commit wrapper. + # # Note that this will overwrite any existing + # # post-commit hook script, which may not be + # # what you want. + # wrapper => "/svn/wikirepo/hooks/post-commit", + # wrappermode => "04755", + # # Log to syslog since svn post-commit hooks + # # hide output and errors. + # syslog => 1, + #}, + #{ + # # The git post-update wrapper. + # # Note that this will overwrite any existing + # # post-update hook script, which may not be + # # what you want. + # wrapper => "/git/wiki.git/hooks/post-update", + # wrappermode => "06755", + #}, + #{ + # # The monotone netsync hook. + # wrapper => "path/to/root/of/workspace/_MTN/ikiwiki-netsync-hook", + # wrappermode => "06755", + #}, + ], + + # Default to generating rss feeds for pages with feeds? + #rss => 1, + # Default to generating atom feeds for pages with feeds? + #atom => 1, + # Allow generating feeds even if not generated by default? + #allowrss => 1, + #allowatom => 1, + # Urls to ping with XML-RPC when feeds are updated + #pingurl => [qw{http://rpc.technorati.com/rpc/ping}], + # Include discussion links on all pages? + discussion => 1, + # To exclude files matching a regexp from processing. This adds to + # the default exclude list. + #exclude => qr/\.wav$/, + # To change the extension used for generated html files. + #htmlext => 'htm', + # Time format (for strftime) + #timeformat => '%c', + # Locale to use. Must be a UTF-8 locale. + #locale => 'en_US.UTF-8', + # Only send cookies over SSL connections. + #sslcookie => 1, + # Logging settings: + verbose => 1, + syslog => 0, + # To link to user pages in a subdirectory of the wiki. + #userdir => "users", + # To create output files named page.html rather than page/index.html. + #usedirs => 0, + # Simple spam prevention: require an account-creation password. + #account_creation_password => "example", + # Cost of generating a password using Authen::Passphrase::BlowfishCrypt + #password_cost => 8, + # Uncomment to force ikiwiki to run with a particular umask. + umask => 022, + # Default settings for the recentchanges page. + #recentchangespage => "recentchanges", + #recentchangesnum => 100, + # Use new '!'-prefixed preprocessor directive syntax + prefix_directives => 1, + # Attempt to make hardlinks to source files instead of copying them. + # Useful if the wiki contains large media files. + #hardlink => 1, + # Enable use of multimarkdown features in .mdwn files. + #multimarkdown => 1, + + # To add plugins, list them here. + add_plugins=>[qw{mailbox postal goodstuff}], + #add_plugins => [qw{goodstuff search wikitext camelcase + # htmltidy fortune sidebar map rst anonok}], + # If you want to disable any of the default plugins, list them here. + #disable_plugins => [qw{inline htmlscrubber passwordauth openid}], + # To add a directory to the perl search path, use this. + libdir => "..", + + # To override environment variable settings, you can list values here. + #ENV => { + # TZ => "America/New_York", + # PATH => "/home/me/bin:/usr/local/bin:/usr/bin:/bin", + #}, + + # For use with the tag plugin, make all tags be located under a + # base page. + #tagbase => "tag", + + # For use with the search plugin if the omega cgi is located + # somewhere else. + #omega_cgi => "/usr/lib/cgi-bin/omega/omega", + + # For use with the openid plugin, to give an url to a page users + # can use to signup for an OpenID. + #openidsignup => "http://myopenid.com/", + + # For use with the mirrorlist plugin, a list of mirrors. + #mirrorlist => { + # mirror1 => "http://hostname1", + # mirror2 => "http://hostname2/mirror", + #}, + + # For use with the anonok plugin, a PageSpec specifying what + # pages anonymous users can edit + #anonok_pagespec => "*", + + # For use with the aggregate plugin. + # Enable aggregation to internal pages. New wikis should set this to 1, + # but if you use aggregate already, read the aggregate plugin docs + # before enabling it. + #aggregateinternal => 1, + # Allow aggregation to be triggered via the web. + #aggregate_webtrigger => 1, + + # For use with the pinger plugin, how many seconds to wait before + # timing out. + #pinger_timeout => 15. + + # For use with the amazon S3 plugin, your public access key id. + #amazon_s3_key_id => 'XXXXXXXXXXXXXXXXXXXX', + # And a file holding your secret key. This file *must* not be + # readable by others! + #amazon_s3_key_file => "/home/me/.hide/.s3_key + # The globally unique name of the bucket to use to store the wiki. + #amazon_s3_bucket => "mywiki", + # A prefix to prepend to each page name. + #amazon_s3_prefix => "wiki/", + # Uncomment to use the S3 European datacenter. + #amazon_s3_location => "EU", + # Uncomment if you need to store each index file twice. + #amazon_s3_dupindex => 1, + + # For use with the attachment plugin, a program that returns + # nonzero if its standard input contains an virus. + #virus_checker => "clamdscan -", + postal_prefix=>"bremner-testwiki-", + +} diff --git a/test-wiki/test1.eml b/test-wiki/test1.eml new file mode 100644 index 000000000..2eae0176f --- /dev/null +++ b/test-wiki/test1.eml @@ -0,0 +1,30 @@ +From bremner@unb.ca Sun Aug 31 19:49:27 2008 +Return-path: +Envelope-to: bremner-testwiki-test@pivot.cs.unb.ca +Delivery-date: Sun, 31 Aug 2008 19:49:27 -0300 +Received: from fctnnbsc27w-142166200054.pppoe-dynamic.nb.aliant.net ([142.166.200.54] helo=rocinante.cs.unb.ca) + by pivot.cs.unb.ca with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) + (Exim 4.69) + (envelope-from ) + id 1KZvjb-0006oc-SZ + for bremner-testwiki-test@pivot.cs.unb.ca; Sun, 31 Aug 2008 19:49:27 -0300 +Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.69) + (envelope-from ) + id 1KZvjV-0001p3-Uj + for bremner-testwiki-test@pivot.cs.unb.ca; Sun, 31 Aug 2008 19:49:21 -0300 +From: David Bremner +Organization: University of New Brunswick, Alpha Centurai Campus +To: bremner-testwiki-test@pivot.cs.unb.ca +Subject: This page is stupid +Date: Sun, 31 Aug 2008 19:49:21 -0300 +User-Agent: KMail/1.9.9 +MIME-Version: 1.0 +Content-Type: text/plain; + charset="us-ascii" +Content-Transfer-Encoding: 7bit +Content-Disposition: inline +Message-Id: <200808311949.21799.bremner@unb.ca> +X-Sender-Verified: bremner@unb.ca + +Really, I mean it. + diff --git a/test/in/_comments.mdwn b/test/in/_comments.mdwn deleted file mode 100644 index 88e659d46..000000000 --- a/test/in/_comments.mdwn +++ /dev/null @@ -1,4 +0,0 @@ - -Send Comment - -[[Read Comments|%%PAGE%%/comments]] diff --git a/test/in/index.mdwn b/test/in/index.mdwn deleted file mode 100644 index 5f356c2f8..000000000 --- a/test/in/index.mdwn +++ /dev/null @@ -1 +0,0 @@ -this is the root page diff --git a/test/in/mailbox.css b/test/in/mailbox.css deleted file mode 100644 index d4f7ad0fb..000000000 --- a/test/in/mailbox.css +++ /dev/null @@ -1,15 +0,0 @@ - - -div.mailmessage{ - border-top: 1px solid; - margin-top: 1% - -} -.headername { -font-weight: bold; - } - -.emailthreadindent{ -position: relative; -left: 5%; -} \ No newline at end of file diff --git a/test/in/test.mdwn b/test/in/test.mdwn deleted file mode 100644 index d5157040d..000000000 --- a/test/in/test.mdwn +++ /dev/null @@ -1 +0,0 @@ -this is page called test diff --git a/test/templates/email.tmpl b/test/templates/email.tmpl deleted file mode 100644 index 8508fd2f4..000000000 --- a/test/templates/email.tmpl +++ /dev/null @@ -1,16 +0,0 @@ -
-
- - : - - - -
-
-
- -
- -
- -
diff --git a/test/templates/page.tmpl b/test/templates/page.tmpl deleted file mode 100644 index 9fe8994dc..000000000 --- a/test/templates/page.tmpl +++ /dev/null @@ -1,123 +0,0 @@ - - - - -<TMPL_VAR TITLE> - - - - - - - - - -
- - -/ - - - - - - -
- - -
- -
-
- - - - - -
- -
- - - - - diff --git a/test/test.setup b/test/test.setup deleted file mode 100644 index 002093989..000000000 --- a/test/test.setup +++ /dev/null @@ -1,209 +0,0 @@ -#!/usr/bin/perl -# Configuration file for ikiwiki. -# Passing this to ikiwiki --setup will make ikiwiki generate wrappers and -# build the wiki. -# -# Remember to re-run ikiwiki --setup any time you edit this file. - -use IkiWiki::Setup::Standard { - wikiname => "TestWiki", - #adminuser => ["yourname", ], - adminemail => 'me@example.org', - - # Be sure to customise these.. - srcdir => "in", - destdir => "/tmp/postaltest-wiki", - - url => "file:///tmp/postaltest-wiki/", - #cgiurl => "http://example.org/wiki/ikiwiki.cgi", - templatedir => $ENV{PWD}."/templates", - #underlaydir => "/usr/share/ikiwiki/basewiki", - - # Subversion stuff. - #rcs => "svn", - #historyurl => "http://svn.example.org/trunk/[[file]]", - #diffurl => "http://svn.example.org/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]", - #svnrepo => "/svn/wiki", - #svnpath => "trunk", - - # Git stuff. - #rcs => "git", - #historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]", - #diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]", - #gitorigin_branch => "origin", - #gitmaster_branch => "master", - - # Tla stuff. - #rcs => "tla" - #historyurl => ??, - #diffurl => ??, - - # Mercurial stuff. - #rcs => "mercurial", - #historyurl => "http://localhost:8000/log/tip/[[file]]", # hg serve'd local repository - #diffurl => "http://localhost:8000/?fd=[[r2]];file=[[file]]", - - # Bazaar stuff. - #rcs => "bzr", - #historyurl => "", - #diffurl => "http://example.com/revision?start_revid=[[r2]]#[[file]]-s", # using loggerhead - - # Monotone stuff - #rcs => "monotone", - #mtnkey => "web\@machine.company.com", - #historyurl => "http://viewmtn.example.com/branch/head/filechanges/com.example.branch/[[file]]", - #diffurl => "http://viewmtn.example.com/revision/diff/[[r1]]/with/[[r2]]/[[file]]", - # Set if you want the wiki to sync on update and commit. - #mtnsync => 0, - # The path to your workspace (defaults to the srcdir itself) - # e.g. use if your srcdir is a subdirectory of the workspace. - #mtnrootdir => "path/to/root/of/workspace", - - wrappers => [ - #{ - # # The cgi wrapper. - # cgi => 1, - # wrapper => "/var/www/wiki/ikiwiki.cgi", - # wrappermode => "06755", - #}, - #{ - # # The svn post-commit wrapper. - # # Note that this will overwrite any existing - # # post-commit hook script, which may not be - # # what you want. - # wrapper => "/svn/wikirepo/hooks/post-commit", - # wrappermode => "04755", - # # Log to syslog since svn post-commit hooks - # # hide output and errors. - # syslog => 1, - #}, - #{ - # # The git post-update wrapper. - # # Note that this will overwrite any existing - # # post-update hook script, which may not be - # # what you want. - # wrapper => "/git/wiki.git/hooks/post-update", - # wrappermode => "06755", - #}, - #{ - # # The monotone netsync hook. - # wrapper => "path/to/root/of/workspace/_MTN/ikiwiki-netsync-hook", - # wrappermode => "06755", - #}, - ], - - # Default to generating rss feeds for pages with feeds? - #rss => 1, - # Default to generating atom feeds for pages with feeds? - #atom => 1, - # Allow generating feeds even if not generated by default? - #allowrss => 1, - #allowatom => 1, - # Urls to ping with XML-RPC when feeds are updated - #pingurl => [qw{http://rpc.technorati.com/rpc/ping}], - # Include discussion links on all pages? - discussion => 1, - # To exclude files matching a regexp from processing. This adds to - # the default exclude list. - #exclude => qr/\.wav$/, - # To change the extension used for generated html files. - #htmlext => 'htm', - # Time format (for strftime) - #timeformat => '%c', - # Locale to use. Must be a UTF-8 locale. - #locale => 'en_US.UTF-8', - # Only send cookies over SSL connections. - #sslcookie => 1, - # Logging settings: - verbose => 1, - syslog => 0, - # To link to user pages in a subdirectory of the wiki. - #userdir => "users", - # To create output files named page.html rather than page/index.html. - #usedirs => 0, - # Simple spam prevention: require an account-creation password. - #account_creation_password => "example", - # Cost of generating a password using Authen::Passphrase::BlowfishCrypt - #password_cost => 8, - # Uncomment to force ikiwiki to run with a particular umask. - umask => 022, - # Default settings for the recentchanges page. - #recentchangespage => "recentchanges", - #recentchangesnum => 100, - # Use new '!'-prefixed preprocessor directive syntax - prefix_directives => 1, - # Attempt to make hardlinks to source files instead of copying them. - # Useful if the wiki contains large media files. - #hardlink => 1, - # Enable use of multimarkdown features in .mdwn files. - #multimarkdown => 1, - - # To add plugins, list them here. - add_plugins=>[qw{mailbox postal goodstuff}], - #add_plugins => [qw{goodstuff search wikitext camelcase - # htmltidy fortune sidebar map rst anonok}], - # If you want to disable any of the default plugins, list them here. - #disable_plugins => [qw{inline htmlscrubber passwordauth openid}], - # To add a directory to the perl search path, use this. - libdir => "..", - - # To override environment variable settings, you can list values here. - #ENV => { - # TZ => "America/New_York", - # PATH => "/home/me/bin:/usr/local/bin:/usr/bin:/bin", - #}, - - # For use with the tag plugin, make all tags be located under a - # base page. - #tagbase => "tag", - - # For use with the search plugin if the omega cgi is located - # somewhere else. - #omega_cgi => "/usr/lib/cgi-bin/omega/omega", - - # For use with the openid plugin, to give an url to a page users - # can use to signup for an OpenID. - #openidsignup => "http://myopenid.com/", - - # For use with the mirrorlist plugin, a list of mirrors. - #mirrorlist => { - # mirror1 => "http://hostname1", - # mirror2 => "http://hostname2/mirror", - #}, - - # For use with the anonok plugin, a PageSpec specifying what - # pages anonymous users can edit - #anonok_pagespec => "*", - - # For use with the aggregate plugin. - # Enable aggregation to internal pages. New wikis should set this to 1, - # but if you use aggregate already, read the aggregate plugin docs - # before enabling it. - #aggregateinternal => 1, - # Allow aggregation to be triggered via the web. - #aggregate_webtrigger => 1, - - # For use with the pinger plugin, how many seconds to wait before - # timing out. - #pinger_timeout => 15. - - # For use with the amazon S3 plugin, your public access key id. - #amazon_s3_key_id => 'XXXXXXXXXXXXXXXXXXXX', - # And a file holding your secret key. This file *must* not be - # readable by others! - #amazon_s3_key_file => "/home/me/.hide/.s3_key - # The globally unique name of the bucket to use to store the wiki. - #amazon_s3_bucket => "mywiki", - # A prefix to prepend to each page name. - #amazon_s3_prefix => "wiki/", - # Uncomment to use the S3 European datacenter. - #amazon_s3_location => "EU", - # Uncomment if you need to store each index file twice. - #amazon_s3_dupindex => 1, - - # For use with the attachment plugin, a program that returns - # nonzero if its standard input contains an virus. - #virus_checker => "clamdscan -", - postal_prefix=>"bremner-testwiki-", - -} diff --git a/test/test1.eml b/test/test1.eml deleted file mode 100644 index 2eae0176f..000000000 --- a/test/test1.eml +++ /dev/null @@ -1,30 +0,0 @@ -From bremner@unb.ca Sun Aug 31 19:49:27 2008 -Return-path: -Envelope-to: bremner-testwiki-test@pivot.cs.unb.ca -Delivery-date: Sun, 31 Aug 2008 19:49:27 -0300 -Received: from fctnnbsc27w-142166200054.pppoe-dynamic.nb.aliant.net ([142.166.200.54] helo=rocinante.cs.unb.ca) - by pivot.cs.unb.ca with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) - (Exim 4.69) - (envelope-from ) - id 1KZvjb-0006oc-SZ - for bremner-testwiki-test@pivot.cs.unb.ca; Sun, 31 Aug 2008 19:49:27 -0300 -Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.69) - (envelope-from ) - id 1KZvjV-0001p3-Uj - for bremner-testwiki-test@pivot.cs.unb.ca; Sun, 31 Aug 2008 19:49:21 -0300 -From: David Bremner -Organization: University of New Brunswick, Alpha Centurai Campus -To: bremner-testwiki-test@pivot.cs.unb.ca -Subject: This page is stupid -Date: Sun, 31 Aug 2008 19:49:21 -0300 -User-Agent: KMail/1.9.9 -MIME-Version: 1.0 -Content-Type: text/plain; - charset="us-ascii" -Content-Transfer-Encoding: 7bit -Content-Disposition: inline -Message-Id: <200808311949.21799.bremner@unb.ca> -X-Sender-Verified: bremner@unb.ca - -Really, I mean it. -