Re: [RFC] [PATCH] Autoindex: support sorting using URL parameters

2013-02-02 Thread Peter Wu
Hi Valentin, On Wednesday 30 January 2013 22:54:29 Valentin V. Bartenev wrote: > I would prefer something like "autoindex_sort" directive > > autoindex_sort criterion [ order ]; > > with variables support. > > And if user want Apache-like behavior then he will be able to configure > it like t

Re: [RFC] [PATCH] Autoindex: support sorting using URL parameters

2013-01-30 Thread Peter Wu
On Wednesday 30 January 2013 22:54:29 Valentin V. Bartenev wrote: > I would prefer something like "autoindex_sort" directive > > autoindex_sort criterion [ order ]; > > with variables support. > > And if user want Apache-like behavior then he will be able to configure > it like this: > > ma

Re: [RFC] [PATCH] Autoindex: support sorting using URL parameters

2013-01-30 Thread Valentin V. Bartenev
On Tuesday 29 January 2013 21:49:46 Peter Wu wrote: > Based on Apache HTTPD autoindex docs[1]. Supported: > - C=N sorts the directory by file name > - C=M sorts the directory by last-modified date, then file name > - C=S sorts the directory by size, then file name > - O=A sorts the listing in Ascen

Re: [RFC] [PATCH] Autoindex: support sorting using URL parameters

2013-01-30 Thread Peter Wu
Hi, Thank you for your feedback. On Wednesday 30 January 2013 21:50:57 Maxim Dounin wrote: > Overrall I tend to think that it's bad idea to do autoindex more > customizable. I would rather like to see it producing XML and > hence any customization being possible with XSLT filter. Do you want

Re: [RFC] [PATCH] Autoindex: support sorting using URL parameters

2013-01-30 Thread Maxim Dounin
Hello! On Tue, Jan 29, 2013 at 06:49:46PM +0100, Peter Wu wrote: [...] > RFC: this patch only adds support for URL parameters. Before implementing the > actual clickable headers I would like to have some feedback. Do you actually > want to add such a sorting feature to the standard autoindex mo

[RFC] [PATCH] Autoindex: support sorting using URL parameters

2013-01-29 Thread Peter Wu
Based on Apache HTTPD autoindex docs[1]. Supported: - C=N sorts the directory by file name - C=M sorts the directory by last-modified date, then file name - C=S sorts the directory by size, then file name - O=A sorts the listing in Ascending Order - O=D sorts the listing in Descending Order Not su