Edi Weitz | 7 May 23:24 2004
Picon

Announcement: TBNL

Hi!

I've just made an initial release of my little web framework:

  <http://weitz.de/tbnl/>

I'd be interested in bug reports and comments (in case anyone wants to
use it).

Cheers,
Edi.
Daniel Barlow | 11 May 18:25 2004
Picon

ANN: CLiki 0.4.3


CLiki 0.4.3 is now in cCLan.  This is approximately the version that's
been running on www.cliki.net for the past few months.

New in CLiki 0.4.3

* Versioning!  At the expense of making the file names correspond even
  less closely with the page title, we now produce a version per edit.

* While indexing we collect the first sentence of each page, and
  make it accessible as (CLIKI-FIRST-SENTENCE page)

* Legacy searches now print this out.

* Beginning of the long slow process to separate generic cliki engine
  stuff from www.cliki.net stuff: new cliki-net class that you
  probably don't want to use unless you're me  

* Indexing tweaks mean startup on big clikis may be a bit faster.  

* Bug fixes: RSS generation, topic searches.

* *(Uncategorized) marker added to default text for new pages.

Note that there is also an internals change which you may run into if
you are building cliki-based tools: to make backlink searches and
updating simpler, CLIKI-PAGE objects are now created when references
to non-existent pages are encountered during indexing.  These
placeholder pages have NIL :pathname and :versions slots.

(Continue reading)

Francois-Rene Rideau | 12 May 14:56 2004

Re: ANN: CLiki 0.4.3

Dear Dan,

Thanks a lot for CLiki 0.4.3.
It fixes issues we had since I took over CTO and based it on cliki CVS,
and adds much-appreciated features.

I reverted CTO to using SERVE-EVENT-HTTP-LISTENER instead
of THREADED-HTTP-LISTENER, because I was incompetent to properly handle
all those threads being hung in debug mode because of failing HTTP
transactions (TCP disconnection before end of transaction).

Note: I could not switch to a reverse-proxy apache installation,
the documentation being lacking, and my first attempt not working;
maybe you could publish the missing parts of your sample installations,
since the ouput-apache-conf function seem to be out-of-date?

In any case, I updated my cliki patch, which is now smaller and better
documented; it explains what each change does. If you have a bit of time,
maybe you can have a look and merge into mainstream cliki?
	http://tunes.org/cgi-bin/viewcvs.cgi/cto/cliki-patch.lisp
	http://tunes.org/cgi-bin/viewcvs.cgi/cto/araneida-patch.lisp

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
[  TUNES project for a Free Reflective Computing System  | http://tunes.org  ]
A cuddle a day keeps the shrink away
rm | 12 May 15:28 2004
Picon

Re: ANN: CLiki 0.4.3

On Wed, May 12, 2004 at 02:56:19PM +0200, Francois-Rene Rideau wrote:
> Dear Dan,
> 
> Thanks a lot for CLiki 0.4.3.
> It fixes issues we had since I took over CTO and based it on cliki CVS,
> and adds much-appreciated features.
> 
> I reverted CTO to using SERVE-EVENT-HTTP-LISTENER instead
> of THREADED-HTTP-LISTENER, because I was incompetent to properly handle
> all those threads being hung in debug mode because of failing HTTP
> transactions (TCP disconnection before end of transaction).
> 
> Note: I could not switch to a reverse-proxy apache installation,
> the documentation being lacking, and my first attempt not working;
> maybe you could publish the missing parts of your sample installations,
> since the ouput-apache-conf function seem to be out-of-date?
> 
> In any case, I updated my cliki patch, which is now smaller and better
> documented; it explains what each change does. If you have a bit of time,
> maybe you can have a look and merge into mainstream cliki?
> 	http://tunes.org/cgi-bin/viewcvs.cgi/cto/cliki-patch.lisp
> 	http://tunes.org/cgi-bin/viewcvs.cgi/cto/araneida-patch.lisp

Thank's a lot, Francois!
I was just about to send a bug report to Daniel. I just downloaded/installed
the new version on a rand new box to migrate an existing cliki but still couldn't
get the unpatched version to work (Dan, if you want i can provide a bit more
information). I'll go ahead and try your patches (which made cliki work on the
running installation).

(Continue reading)

Daniel Barlow | 12 May 16:01 2004
Picon

Re: ANN: CLiki 0.4.3

Francois-Rene Rideau <fare <at> tunes.org> writes:

> Note: I could not switch to a reverse-proxy apache installation,
> the documentation being lacking, and my first attempt not working;
> maybe you could publish the missing parts of your sample installations,
> since the ouput-apache-conf function seem to be out-of-date?

The internal global state that output-apache-conf used doesn't exist
any longer, so it's replaced by apache-conf-segment, which takes a
http-listener of some kind as argument - 

CLIKI> (describe 'apache-conf-segment)
APACHE-CONF-SEGMENT is an external symbol in #<PACKAGE "ARANEIDA">.
#<STANDARD-GENERIC-FUNCTION APACHE-CONF-SEGMENT (1)> is a generic function.
Its lambda-list is:
  (ARANEIDA::L STREAM)
Its methods are:
  (APACHE-CONF-SEGMENT (REVERSE-PROXY-LISTENER-MIXIN T))

> In any case, I updated my cliki patch, which is now smaller and better
> documented; it explains what each change does. If you have a bit of time,

Thanks; I've had a quick look but I'll go over it in more detail later.
Some initial points:

1) I see very little mileage in refactoring cliki-header/cliki-footer
   to pull bits like the disclaimer or banner out of them: I'd much
   rather that people just didn't use them.  cliki-page-surround is far
   more flexible

(Continue reading)

rm | 12 May 16:49 2004
Picon

Re: ANN: CLiki 0.4.3

On Wed, May 12, 2004 at 03:28:58PM +0200, rm <at> fabula.de wrote:
> 
> Thank's a lot, Francois!
> I was just about to send a bug report to Daniel. I just downloaded/installed
> the new version on a rand new box to migrate an existing cliki but still couldn't
> get the unpatched version to work (Dan, if you want i can provide a bit more
> information). I'll go ahead and try your patches (which made cliki work on the
> running installation).

As a follow-up: even after the installation of Francois' patches cliki refuses
to work :-/ 
Symptoms: 

 - The CSS URL doesn't work. Requesting it (both via browser and CLI client)
   results in a 'This page doesn't exist yet' page. 

 - Cliking on the 'edit' link of any page results in the same page (html-wise),
   but with an extra '/edit' component in the URL. Following the edit link
   on such a page will add another '/edit' component ....

 - The URL for the 'Create New Page' points at the root URL of the listener.

  Any ideas what's going wrong here?
  System information: GNU/Linux Debian, tested both with SBCL 0.8.4 and
  multithreaded SBCL 0.8.10.7. Araneida is version 0.84.

  TIA Ralf Mattes
Francois-Rene Rideau | 12 May 17:32 2004

Re: ANN: CLiki 0.4.3

On Wed, May 12, 2004 at 04:49:40PM +0200, rm <at> fabula.de wrote:
>  - The CSS URL doesn't work. Requesting it (both via browser and CLI client)
>    results in a 'This page doesn't exist yet' page. 
Are you using my FANCY-CLIKI class or the plain CLIKI or your own derivative?
Did you correctly initialize the cliki data-directory?
Does the directory actually exist?
Does the file $CLIKIDATA/admin/cliki.css exist?

>  - Cliking on the 'edit' link of any page results in the same page (html-wise),
>    but with an extra '/edit' component in the URL. Following the edit link
>    on such a page will add another '/edit' component ....
Did you initialize the cliki correctly?
Can you publish your cliki-init.lisp and any additional lisp file you wrote?
Do you use the latest araneida, cliki and cto from CVS?

>  - The URL for the 'Create New Page' points at the root URL of the listener.
That's OK - the magic is done in javascript.

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
[  TUNES project for a Free Reflective Computing System  | http://tunes.org  ]
All programmers are playwrights and all computers are lousy actors.
Francois-Rene Rideau | 12 May 17:43 2004

Re: ANN: CLiki 0.4.3

On Wed, May 12, 2004 at 03:01:44PM +0100, Daniel Barlow wrote:
> CLIKI> (describe 'apache-conf-segment)
Thanks. I'm trying to get it to work.
Having problems with apache and/or iptables...

> 1) I see very little mileage in refactoring cliki-header/cliki-footer
The goal of my patch was
(a) to remain minimal
(b) to easily allow for customizability toward several different cliki
 installations, each of which would only have to redefine variables,
 not functions.

> 1b) cliki-page-surround does suffer from that slightly icky OUT
>    variable, though: suggestions welcome
I am quite OK with magic variables; I just prefer them
to have an obviously magic name, as in %out% or something like that.
Or maybe just use a special variable.

> 2) you should note that the standard araneida:html-stream allows you
>    to put functions in its argument tree; they'll be evaluated with
>    one argument, which is the stream to output to.
Yes, and my patched version supports that, too,
if only for backward compatibility.
But I don't like to insert functions in what works otherwise
quite fine as data, so I don't use this feature right now.

> 3) page-date (as distinct from file-write-date (page-pathname)) is
>    going to be necessary sooner or later anyway [...]
Yup. Maybe it should take an optional argument that determines
the answer to give should the page not exist, as in
(Continue reading)

rm | 12 May 19:27 2004
Picon

Re: ANN: CLiki 0.4.3

On Wed, May 12, 2004 at 05:32:58PM +0200, Francois-Rene Rideau wrote:
> On Wed, May 12, 2004 at 04:49:40PM +0200, rm <at> fabula.de wrote:
> >  - The CSS URL doesn't work. Requesting it (both via browser and CLI client)
> >    results in a 'This page doesn't exist yet' page. 
> Are you using my FANCY-CLIKI class or the plain CLIKI or your own derivative?

Just the plain cliki class.

 (defvar *ralfs-cliki* (make-instance 'cliki::cliki-instance
                                       :data-directory "/var/www/cliki/"
                                       :url-root (merge-url *url* "/cliki/")))

> Did you correctly initialize the cliki data-directory?

Well, it's a rsync'ed copy of an existing (working) cliki.

> Does the directory actually exist?

Jes.

> Does the file $CLIKIDATA/admin/cliki.css exist?

No, but AFAIK it shouldn't. Isn't this a handler-generated file? (At least,
when i inspect my cliki instance it's listed as a handler).

> 
> >  - Cliking on the 'edit' link of any page results in the same page (html-wise),
> >    but with an extra '/edit' component in the URL. Following the edit link
> >    on such a page will add another '/edit' component ....
> Did you initialize the cliki correctly?
(Continue reading)

Francois-Rene Rideau | 12 May 22:38 2004

installing CLiki

OK, so the originality of your installation is that
your URL is under /cliki/ instead of under /.
You may have to adjust some function or some other
to ensure that everything is OK.
I haven't checked that my patch would work well in this setting,
you'll have to do that manually.
Some links may be broken in display functions;
some URLs may be misplaced in server handlers.
I guess dan`b will welcome fixes to the original cliki,
and if he hasn't got time to integrate them,
I'll welcome fixes to my cliki patch.

>> Does the file $CLIKIDATA/admin/cliki.css exist?
> No, but AFAIK it shouldn't. Isn't this a handler-generated file? (At least,
> when i inspect my cliki instance it's listed as a handler).
If you're using cto, the handler serves a file.
If you're using the original cliki, it's a function.
BUT, it mightn't be served at the URL you think it is.

>> That's OK - the magic is done in javascript.
> Yes, i readlized that in horror :-o
> Kind of leaves us links-users without hope.
links users are bright enough to use the "g" key and then the arrows,
and add "edit/" to the current URL;
otherwise, add a Cliki link to _(your new page) in a relevant page
or in the sandbox, then click on the link so as to edit the new page.
That said, people with a clue use w3m, not links. ;->

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
[  TUNES project for a Free Reflective Computing System  | http://tunes.org  ]
(Continue reading)


Gmane