From e8c9362c7fe4e9677bb014b569c4e6d4e2218f11 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 16 Apr 2008 19:14:07 -0400 Subject: web commit by http://bruno.boulgour.com/: Problems with adminuser role --- doc/setup/discussion.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/setup/discussion.mdwn b/doc/setup/discussion.mdwn index 8d537cbc3..09eb2bc78 100644 --- a/doc/setup/discussion.mdwn +++ b/doc/setup/discussion.mdwn @@ -112,3 +112,9 @@ want to merge with, and 'branch.master.merge' in your configuration file does no error: failed to push to '/home/git/repos/myikiwiki.git' If I do a git clone ssh://odin/path/to/$REPOSITORY from another machine and try to edit I get the same error sequence. What am I doing wrong? + +-- + +I follow every steps of the setup procedure, change some templates and tried to modify some page through the web but was not able to do so. Every page seems to be locked by the adminuser user. When I remove the adminuser in the setup file, every ran fine. Did I miss something ? What is exactly the adminuser supposed to be allowed to ? Is he the only user allowed to modify pages ? + + -- cgit v1.2.3 From 74d8a656dae65873dfec8a8af6bfaddb2f20a6a3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 16 Apr 2008 19:14:58 -0400 Subject: web commit by http://bruno.boulgour.com/: Typo --- doc/setup/discussion.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/setup/discussion.mdwn b/doc/setup/discussion.mdwn index 09eb2bc78..06d5c0a21 100644 --- a/doc/setup/discussion.mdwn +++ b/doc/setup/discussion.mdwn @@ -113,7 +113,7 @@ want to merge with, and 'branch.master.merge' in your configuration file does no If I do a git clone ssh://odin/path/to/$REPOSITORY from another machine and try to edit I get the same error sequence. What am I doing wrong? --- +----- I follow every steps of the setup procedure, change some templates and tried to modify some page through the web but was not able to do so. Every page seems to be locked by the adminuser user. When I remove the adminuser in the setup file, every ran fine. Did I miss something ? What is exactly the adminuser supposed to be allowed to ? Is he the only user allowed to modify pages ? -- cgit v1.2.3 From 21b8c3f94dadb71ddede8e7dac4d464f4116cde0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 16 Apr 2008 20:21:29 -0400 Subject: web commit by JoshTriplett: Testing adding a page with page type not set. --- doc/sandbox/testpage.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/sandbox/testpage.mdwn diff --git a/doc/sandbox/testpage.mdwn b/doc/sandbox/testpage.mdwn new file mode 100644 index 000000000..b9439ad02 --- /dev/null +++ b/doc/sandbox/testpage.mdwn @@ -0,0 +1 @@ +Test page content. -- cgit v1.2.3 From 2512ceebb06ac4c20bc9ad06cd3d7c6d4e32ac8e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 02:29:18 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/todo/dynamic_rootpage.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/todo/dynamic_rootpage.mdwn b/doc/todo/dynamic_rootpage.mdwn index fe95aff56..fa0e23254 100644 --- a/doc/todo/dynamic_rootpage.mdwn +++ b/doc/todo/dynamic_rootpage.mdwn @@ -19,3 +19,7 @@ What's your opinion, Joey? I hope it's also useful for another ikiwiki lovers :) >> No, but I don't know of a way to do it that feels flexible and right.. >> Using functions as in your example doesn't feel right somehow. >> --[[Joey]] + +>>> Seems like a job for good ol' string interpolation. rootpage="post/$current_year/$current_month/$current_day" +>>> Ikiwiki could provide some vars, and it would be nice to write plugins to also provide vars. Sort of like templates. +>>> Does that feel OK? --[[sabr]] -- cgit v1.2.3 From 9f44f60a8921a74b7ef5e87e44b19b031e91c919 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 03:08:11 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/users/sabr.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/users/sabr.mdwn b/doc/users/sabr.mdwn index fcbc94e80..c6199f7a6 100644 --- a/doc/users/sabr.mdwn +++ b/doc/users/sabr.mdwn @@ -25,3 +25,4 @@ feedonly=yes rss=no atom=yes]] * Can I create this page? [[/root_page_test]] * no, it's a bug: [[/bugs/Can__39__t_create_root_page]] * This page has a [[plugins/toc]]. Why doesn't it appear in the edit preview? [[plugins/toc/discussion]] +* Add two subpages: [[sub1]] and [[sub2]] to try to produce a directory listing as discussed in [[todo/pagespec_expansions]]. -- cgit v1.2.3 From cbe4f9ead531af1d6506d2661d0e61c94f860a71 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 03:08:36 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/users/sabr/sub1.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/users/sabr/sub1.mdwn diff --git a/doc/users/sabr/sub1.mdwn b/doc/users/sabr/sub1.mdwn new file mode 100644 index 000000000..85bfe26bc --- /dev/null +++ b/doc/users/sabr/sub1.mdwn @@ -0,0 +1 @@ +one sabr sub -- cgit v1.2.3 From 48976989e0d0956ae51fe688048bb11a0eeff364 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 03:08:58 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/users/sabr/sub2.mdwn | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/users/sabr/sub2.mdwn diff --git a/doc/users/sabr/sub2.mdwn b/doc/users/sabr/sub2.mdwn new file mode 100644 index 000000000..f63487d30 --- /dev/null +++ b/doc/users/sabr/sub2.mdwn @@ -0,0 +1 @@ +two sabr sub -- cgit v1.2.3 From cedb7c33f99d137d087d03704a6e74a711b86d3f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 03:09:44 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/users/sabr.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/users/sabr.mdwn b/doc/users/sabr.mdwn index c6199f7a6..b5691d955 100644 --- a/doc/users/sabr.mdwn +++ b/doc/users/sabr.mdwn @@ -25,4 +25,6 @@ feedonly=yes rss=no atom=yes]] * Can I create this page? [[/root_page_test]] * no, it's a bug: [[/bugs/Can__39__t_create_root_page]] * This page has a [[plugins/toc]]. Why doesn't it appear in the edit preview? [[plugins/toc/discussion]] -* Add two subpages: [[sub1]] and [[sub2]] to try to produce a directory listing as discussed in [[todo/pagespec_expansions]]. +* Add two subpages: [[sub1]] and [[sub2]] to try to produce a directory listing as discussed in [[todo/pagespec_expansions]]. Will it list? + +[[!inline pages="./* and !./*/*" template="titlepage" archive="yes"]] -- cgit v1.2.3 From 543926c5407715e24aa925de76c3fc14ac917b46 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 03:10:30 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/users/sabr.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/users/sabr.mdwn b/doc/users/sabr.mdwn index b5691d955..f60cc4d9d 100644 --- a/doc/users/sabr.mdwn +++ b/doc/users/sabr.mdwn @@ -27,4 +27,4 @@ feedonly=yes rss=no atom=yes]] * This page has a [[plugins/toc]]. Why doesn't it appear in the edit preview? [[plugins/toc/discussion]] * Add two subpages: [[sub1]] and [[sub2]] to try to produce a directory listing as discussed in [[todo/pagespec_expansions]]. Will it list? -[[!inline pages="./* and !./*/*" template="titlepage" archive="yes"]] +[[!inline pages="./sabr/* and !./sabr/*/*" template="titlepage" archive="yes"]] -- cgit v1.2.3 From 4216b9590f1f0cfd33321e805fee5c12d584131f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 03:12:49 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/users/sabr.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/users/sabr.mdwn b/doc/users/sabr.mdwn index f60cc4d9d..8741c6f36 100644 --- a/doc/users/sabr.mdwn +++ b/doc/users/sabr.mdwn @@ -27,4 +27,6 @@ feedonly=yes rss=no atom=yes]] * This page has a [[plugins/toc]]. Why doesn't it appear in the edit preview? [[plugins/toc/discussion]] * Add two subpages: [[sub1]] and [[sub2]] to try to produce a directory listing as discussed in [[todo/pagespec_expansions]]. Will it list? -[[!inline pages="./sabr/* and !./sabr/*/*" template="titlepage" archive="yes"]] +> [[!inline pages="./sabr/* and !./sabr/*/*" template="titlepage" archive="yes" feeds="no"]] + +> How very strange that I need to put the name of my own page in there. I don't understand that. But it does seem to work. -- cgit v1.2.3 From 14b8d6369bf11ae133583d0ba4bd7285b559585b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 06:12:21 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/ikiwiki/pagespec/discussion.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/ikiwiki/pagespec/discussion.mdwn b/doc/ikiwiki/pagespec/discussion.mdwn index ab05e3e78..e56ec1e0a 100644 --- a/doc/ikiwiki/pagespec/discussion.mdwn +++ b/doc/ikiwiki/pagespec/discussion.mdwn @@ -50,3 +50,16 @@ public\_html/index.html >> I can't reproduce "/index and /downloads" causing the login webpage to >> be shown repeatedly. Sure you weren't having some independent issue with >> logging in? --[[Joey]] + +---- + +I have a page for a tag. On that page I want to list every page on my wiki that has been so tagged. Easy enough, right? + +> \[[!inline pages="link(Categories/Ikiwiki_Plugins)" feeds=no archive=yes sort=title template=titlepage]] + +> (I'm using tagbase => "Categories" because I'm converting from Mediawiki) + +This works beautifully in my sandbox: But it is totally blank on the page where I actually do want output! + +How can I fix this? Thanks! --[[sabr]] + -- cgit v1.2.3 From d420e032cc4f8418e210a3d7920b2e512f5ad0ce Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 06:22:19 -0400 Subject: web commit by http://sabr.myopenid.com/: thanks belong at the end of the conversation, not the beginning! --- doc/ikiwiki/pagespec/discussion.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ikiwiki/pagespec/discussion.mdwn b/doc/ikiwiki/pagespec/discussion.mdwn index e56ec1e0a..e306f643a 100644 --- a/doc/ikiwiki/pagespec/discussion.mdwn +++ b/doc/ikiwiki/pagespec/discussion.mdwn @@ -61,5 +61,5 @@ I have a page for a tag. On that page I want to list every page on my wiki that This works beautifully in my sandbox: But it is totally blank on the page where I actually do want output! -How can I fix this? Thanks! --[[sabr]] +How can I fix this? --[[sabr]] -- cgit v1.2.3 From 143c8770d13698a9fabf9d7ac86a268a286033da Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2008 08:40:07 -0400 Subject: web commit by http://sabr.myopenid.com/ --- doc/bugs/Can__39__t_create_root_page.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/bugs/Can__39__t_create_root_page.mdwn b/doc/bugs/Can__39__t_create_root_page.mdwn index f07619db5..0ef7e314c 100644 --- a/doc/bugs/Can__39__t_create_root_page.mdwn +++ b/doc/bugs/Can__39__t_create_root_page.mdwn @@ -1,3 +1,5 @@ This is a link to a non-existent page in the root directory: [[/root_page_test]] (\[[/root\_page\_test]]) When you click on it to create the page, you get *Error: bad page name*. It's a valid [[wikilink]], shouldn't it create the page? --[[sabr]] + +> This type of page name (with leading slash) also gets created by the aggregate plugin: /cgi-bin/ikiwiki.cgi?page=%2FCalculated_Risk&from=news%2FAll_Stories&do=create I'm now pretty convinced that Iki should handle this without error. I'll investigate if I can find the time. -- cgit v1.2.3