From 43b1ee6aa1535e2a8d0ccdba3033644d8eb897f7 Mon Sep 17 00:00:00 2001 From: justint Date: Thu, 24 Feb 2011 02:59:04 +0000 Subject: Added a comment: Continuing discussion... --- .../comment_7_bdc5c96022fdb8826b57d68a41ef6ca0._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/TMPL__95__VAR_IS__95__ADMIN/comment_7_bdc5c96022fdb8826b57d68a41ef6ca0._comment (limited to 'doc') diff --git a/doc/forum/TMPL__95__VAR_IS__95__ADMIN/comment_7_bdc5c96022fdb8826b57d68a41ef6ca0._comment b/doc/forum/TMPL__95__VAR_IS__95__ADMIN/comment_7_bdc5c96022fdb8826b57d68a41ef6ca0._comment new file mode 100644 index 000000000..79fd8516f --- /dev/null +++ b/doc/forum/TMPL__95__VAR_IS__95__ADMIN/comment_7_bdc5c96022fdb8826b57d68a41ef6ca0._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="justint" + ip="24.182.207.250" + subject="Continuing discussion..." + date="2011-02-24T02:59:04Z" + content=""" +Ok, I'll go over to the [[bugs/logout_in_ikiwiki]] page. Thank you for your help. +"""]] -- cgit v1.2.3 From ddcab5e4dce6cb6cd130f7464438b8bc5227630f Mon Sep 17 00:00:00 2001 From: justint Date: Thu, 24 Feb 2011 03:28:41 +0000 Subject: --- doc/bugs/logout_in_ikiwiki.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/bugs/logout_in_ikiwiki.mdwn b/doc/bugs/logout_in_ikiwiki.mdwn index d9b6df677..7b5346864 100644 --- a/doc/bugs/logout_in_ikiwiki.mdwn +++ b/doc/bugs/logout_in_ikiwiki.mdwn @@ -29,3 +29,16 @@ It looks like there is no way to logout of ikiwiki at present, meaning that if y >> logout, help, recentchanges, edit, comment >> admin users - logout, help, recentchanges, edit, comment, etc + + +I was referred to this page from posting to the forum. I am also interested in being able to use user class and status to modify the page. I will try to put together a plugin. From what I can see there needs to be a few items in it. + +* It should expose a link to a dedicated login page that, once logged in, returns the user to the calling page, or at least the home page. + +* it needs to expose a link to a little json explaining the type of user and login status. + +* it should expose a link that logs the person out and returns to the calling page, or at least the home page. + +Then there would need to be a little javascript to use these links appropriately. I have little javascript experience but I know that can be done. I am less sure if it is possible to add this functionality to a plugin so I'll start with that. If no one objects I will continue to post here if I make progress. If anyone has any suggestions on how to modify my approach to code it in an easier way I'd appreciate the input. [[justint]] + + -- cgit v1.2.3 From 639b476041a8a89ef714268a45033717af5770ac Mon Sep 17 00:00:00 2001 From: fmarier Date: Thu, 24 Feb 2011 08:31:56 +0000 Subject: --- doc/users/fmarier.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/users/fmarier.mdwn (limited to 'doc') diff --git a/doc/users/fmarier.mdwn b/doc/users/fmarier.mdwn new file mode 100644 index 000000000..cb115a1fe --- /dev/null +++ b/doc/users/fmarier.mdwn @@ -0,0 +1,6 @@ +# François Marier + +Free Software and Debian Developer + +* [Blog](http://feeding.cloud.geek.nz) +* [Identica](http://identi.ca/fmarier) / [Twitter](http://twitter.com/fmarier) -- cgit v1.2.3 From 3397d23b2c85f83cabe4b671397f2474d082d182 Mon Sep 17 00:00:00 2001 From: fmarier Date: Thu, 24 Feb 2011 08:46:30 +0000 Subject: pimp Libravatar too --- doc/users/fmarier.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/users/fmarier.mdwn b/doc/users/fmarier.mdwn index cb115a1fe..ecf342697 100644 --- a/doc/users/fmarier.mdwn +++ b/doc/users/fmarier.mdwn @@ -1,6 +1,6 @@ # François Marier -Free Software and Debian Developer +Free Software and Debian Developer. Lead developer of [Libravatar](http://www.libravatar.org) * [Blog](http://feeding.cloud.geek.nz) * [Identica](http://identi.ca/fmarier) / [Twitter](http://twitter.com/fmarier) -- cgit v1.2.3 From 2149dd4ac0e7dd29fdcc11a063f9835f7111ebed Mon Sep 17 00:00:00 2001 From: fmarier Date: Thu, 24 Feb 2011 08:48:25 +0000 Subject: --- .../Setting_up_a_development_environment.mdwn | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 doc/forum/Setting_up_a_development_environment.mdwn (limited to 'doc') diff --git a/doc/forum/Setting_up_a_development_environment.mdwn b/doc/forum/Setting_up_a_development_environment.mdwn new file mode 100644 index 000000000..94f022e22 --- /dev/null +++ b/doc/forum/Setting_up_a_development_environment.mdwn @@ -0,0 +1,26 @@ +Hi, + +I'm trying to setup a development environment to hack on the comments plugin and I'm having problems getting my Ikiwiki CGI to use my git checkout as the libdir and templatedir instead of the system one. + +My .setup contains: + + srcdir => '/home/francois/wiki/testblog', + destdir => '/var/www/testblog', + url => 'http://localhost/testblog', + cgiurl => 'http://localhost/testblog/ikiwiki.cgi', + cgi_wrapper => '/var/www/testblog/ikiwiki.cgi', + templatedir => '/home/francois/devel/remote/ikiwiki/templates', + underlaydir => '/home/francois/devel/remote/ikiwiki/doc', + libdir => '/home/francois/devel/remote/ikiwiki', + ENV => {}, + git_wrapper => '/home/francois/wiki/testblog.git/hooks/post-update', + +Now, if I modify ~/devel/remote/ikiwiki/templates/comment.tmpl, my changes don't appear when I add a comment to a blog post. On the other hand, if I hack /usr/share/ikiwiki/templates/comment.tmpl and cause the page to be rebuilt by adding a new comment then that does have an effect. + +The same is true for ~/devel/remote/ikiwiki/Ikiwiki/Plugin/comments.pm (doesn't appear to be used) and /usr/share/perl5/Ikiwiki/Plugin/comments.pm (my hacks affect pages as they are recompiled). + +I must be missing something obvious, but the [[ikiwiki development environment tips]] didn't help me... + +Cheers, + +[[Francois|fmarier]] -- cgit v1.2.3 From 3a0504ddf9994d1dfc8f7a99d158146b5b4da030 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 24 Feb 2011 10:09:04 +0100 Subject: My solution to working with ikiwiki from git --- .../Setting_up_a_development_environment.mdwn | 6 ++++++ .../ikiwiki_development_environment_tips.mdwn | 24 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) (limited to 'doc') diff --git a/doc/forum/Setting_up_a_development_environment.mdwn b/doc/forum/Setting_up_a_development_environment.mdwn index 94f022e22..0b4e555c1 100644 --- a/doc/forum/Setting_up_a_development_environment.mdwn +++ b/doc/forum/Setting_up_a_development_environment.mdwn @@ -24,3 +24,9 @@ I must be missing something obvious, but the [[ikiwiki development environment t Cheers, [[Francois|fmarier]] + +> I updated the [[ikiwiki development environment tips]] page with my +> approach to running ikiwiki from the git checkout (with changes). For +> the templates, also make sure that you do not have custom templates in +> your src dir as they will be used instead of those from the template +> dir if found. --GB diff --git a/doc/forum/ikiwiki_development_environment_tips.mdwn b/doc/forum/ikiwiki_development_environment_tips.mdwn index 91ccc6d6e..f9c584159 100644 --- a/doc/forum/ikiwiki_development_environment_tips.mdwn +++ b/doc/forum/ikiwiki_development_environment_tips.mdwn @@ -42,3 +42,27 @@ Does anyone have a comfortable setup or tips they would like to share? -- [[Jon] > needed, since it is preconfigured to use the templates and underlays > from ikiwiki's source repository. > --[[Joey]] + +> I work with Ikiwiki from the git checkout directory the following way. +> +> * instead of running ikiwiki, I wrote the following `mykiwiki` shell script, +> that also allows me to use my custom lib-ifited multimarkdown: + + #!/bin/sh + + MMDSRC="$HOME/src/multimarkdown/lib" + IKIWIKISRC="$HOME/src/ikiwiki" + PLUGINS="$HOME/src/ikiplugins" + + /usr/bin/perl -I"$MMDSRC" -I"$IKIWIKISRC/blib/lib" -I"$PLUGINS" "$IKIWIKISRC/ikiwiki.out" -libdir "$IKIWIKISRC" "$@" + +> * I also have an installed ikiwiki from Debian unstable, from which I only use the base wiki, so my `.setup` has the following configs: + + # additional directory to search for template files + templatedir => '/home/oblomov/src/ikiwiki/templates', + # base wiki source location + underlaydir => '/usr/share/ikiwiki/basewiki', + # extra library and plugin directory + libdir => '/home/oblomov/src/ikiwiki', + +> Hope that helps --GB -- cgit v1.2.3 From f394fd509ae001bfd86958fc84b5e493d10525a9 Mon Sep 17 00:00:00 2001 From: "Øyvind A. Holm" Date: Thu, 24 Feb 2011 14:01:24 +0100 Subject: tips/github.mdwn: "mb" → "MB" (megabytes) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/tips/github.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/tips/github.mdwn b/doc/tips/github.mdwn index 9bdf15751..d745bfcc5 100644 --- a/doc/tips/github.mdwn +++ b/doc/tips/github.mdwn @@ -5,7 +5,7 @@ site. Your laptop is used to generate and publish changes to it. This is possible because github now supports [github pages](http://github.com/blog/272-github-pages). -Note that github limits free accounts to 100 mb of git storage. It's +Note that github limits free accounts to 100 MB of git storage. It's unlikely that a small wiki or blog will outgrow this, but we are keeping two copies of the website in git (source and the compiled site), and all historical versions too. So it could happen. If it does, you can pay github -- cgit v1.2.3 From 7c76cac6f6431211f80a9c9bdb6b0ace56c00d15 Mon Sep 17 00:00:00 2001 From: "Øyvind A. Holm" Date: Thu, 24 Feb 2011 21:26:50 +0100 Subject: Answer about the .deb file from Debian unstable --- doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn b/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn index 4fc2855ee..c81d2863b 100644 --- a/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn +++ b/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn @@ -86,3 +86,15 @@ For now, I'll download the `.tar.gz` from generally been able to compile snapshots on Debian unstable and > install them onto Debian lenny (older than that Ubuntu release) > without modification. If in doubt, build it from source. --[[smcv]] + +> > The .deb file `ikiwiki_3.20110124_all.deb` from Debian unstable seems to +> > work great. I'm now the happy user of the newest stable version, yay. There +> > were some errors or warnings, though. This is the first one: + +> > > `You are overwriting a locally defined method (finished) with an accessor +> > > at /usr/lib/perl5/Moose/Meta/Attribute.pm line 570` + +> > Along with loads of other suspicious stuff. Have posted the whole output at +> > . I'll dig around a bit in the source to +> > see if there's something I need to worry about. It looks good so far. +> > -- [[sunny256]] 2011-02-24 20:27Z -- cgit v1.2.3 From 486b705a6667611e2a47c03533059badd983b31e Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Thu, 24 Feb 2011 21:52:43 +0000 Subject: doesn't look like an ikiwiki bug --- doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn b/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn index c81d2863b..463b7b3f3 100644 --- a/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn +++ b/doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn @@ -98,3 +98,6 @@ For now, I'll download the `.tar.gz` from > . I'll dig around a bit in the source to > > see if there's something I need to worry about. It looks good so far. > > -- [[sunny256]] 2011-02-24 20:27Z + +> > > Looks like a bug in [[!cpan Net::Amazon::S3::Client::Bucket]] or in something +> > > it uses, rather than in ikiwiki itself. --[[smcv]] -- cgit v1.2.3 From 93f963abd05900306823dc165baa339b8c5106b1 Mon Sep 17 00:00:00 2001 From: justint Date: Fri, 25 Feb 2011 02:02:43 +0000 Subject: --- doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn b/doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn index 8b649156d..bb1db0cbb 100644 --- a/doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn +++ b/doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn @@ -68,7 +68,7 @@ When you can't get into the setup page or you get strange behavior after a setup cd ../git-1.7.3.1/gitweb -make GITWEB_PROJECTROOT="/opt/ikiwiki/" GITWEB_CSS="/gitweb.css" GITWEB_LOGO="/git-logo.png" GITWEB_FAVICON="/git-favicon.png" +make GITWEB_PROJECTROOT="/opt/ikiwiki/" GITWEB_CSS="/gitweb.css" GITWEB_LOGO="/git-logo.png" GITWEB_FAVICON="/git-favicon.png" GITWEB_JS="/gitweb.js" cp gitweb.cgi /Library/WebServer/CGI-Executables/ -- cgit v1.2.3