Re: [fossil-users] custom 404 error page; the "/doc" web page

2015-01-22 Thread Richard Hipp
On 1/22/15, Richard Hipp wrote: > On 1/22/15, Svyatoslav Mishyn wrote: > How about if there is a redirect URL for 404 errors on the Setup > pages. In other words, you get to enter any URL you want (perhaps a > /doc/ page or maybe a /wiki/ page) that is jumped to on every 404 > error. Should t

Re: [fossil-users] fossil ui file view broken

2015-01-22 Thread Richard Hipp
On 1/22/15, Roy Marples wrote: > Hi > > Running fossil ui on any repo (using 1.29 and 1.30), all the CSS looks > disabled and the file link fails to work - no treeview or flat view. > > Any ideas on how to fix? > No ideas off-hand, since nobody else is seeing this problem. Do you have further cl

Re: [fossil-users] custom 404 error page; the "/doc" web page

2015-01-22 Thread Ron W
On Thu, Jan 22, 2015 at 4:15 PM, Richard Hipp wrote: > > If there is a custom page for 404 errors, do I still set the Status: to > 404? As I recall, the HTTP spec says you should, even if you also supply (placeholder) content (aka custom 404 page). However, I don't know if the Redirect header i

[fossil-users] fossil ui file view broken

2015-01-22 Thread Roy Marples
Hi Running fossil ui on any repo (using 1.29 and 1.30), all the CSS looks disabled and the file link fails to work - no treeview or flat view. Any ideas on how to fix? Roy ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fo

[fossil-users] Stable sort on ticket reports

2015-01-22 Thread Jacek Cała
Hi all, The current sorting algorithm on the ticket report pages is unstable, which makes it difficult to sort the report by more than one column. Looking into the code I found relatively easy fix that would turn the sorting functions into stable one: for sortText and sortKey the change is just:

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Stephan Beal
The "bug" part was working through the assumptions in older code which expected to always have exactly one initial commit. Once those were resolved (largely by Jan), it graduated to a feature. - stephan Sent from a mobile device, possibly from bed. Please excuse brevity and typos. On Jan 22, 2

Re: [fossil-users] custom 404 error page; the "/doc" web page

2015-01-22 Thread Richard Hipp
On 1/22/15, Svyatoslav Mishyn wrote: > Hi, > > a) Could you add please, to the doc.c -> doc_page -> doc_not_found: > cgi_set_status(404,"Not Found"); > > > b) It would be nice to have a custom 404 error page for all cases. > with ability to edit in WebUI (like footer, header, css) If there is a c

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Jan Nijtmans
2015-01-22 17:50 GMT+01:00 Ron W : > So, a "bug" was promoted to a feature? Hm, yes, that's one way to look at it. Actually, having more than one "initial" commit is not a bug. The only problem was that the fossil code assumed in some places that there was only one. The bug was that fossil mis-be

Re: [fossil-users] custom 404 error page; the "/doc" web page

2015-01-22 Thread Richard Hipp
On 1/22/15, Svyatoslav Mishyn wrote: > Hi, Hello "Joef"! I've been wanting to make your acquaintance. I've been getting a number of REFERER links from f.joef.tk so I investigated and I like the way you have configured your Fossils. Would you be willing to contribute your skin-design as a new "

[fossil-users] custom 404 error page; the "/doc" web page

2015-01-22 Thread Svyatoslav Mishyn
Hi, a) Could you add please, to the doc.c -> doc_page -> doc_not_found: cgi_set_status(404,"Not Found"); b) It would be nice to have a custom 404 error page for all cases. with ability to edit in WebUI (like footer, header, css) ..or to make similar to github (404.html) https://help.github.com/a

Re: [fossil-users] CTE in ticket report

2015-01-22 Thread Jan Nijtmans
2015-01-22 18:20 GMT+01:00 Sean Woods: > Can the logic be updated so that it checks for WITH, in addition to > SELECT, so that we/I can use CTEs? Thanks for the suggestion! Regards, Jan Nijtmans __

[fossil-users] CTE in ticket report

2015-01-22 Thread Sean Woods
Fossil's ticket reports enable you to create a report by entering custom SQL into the web interface. When you file your changes, it checks the query to determine whether it's a SELECT. It's a simple string comparison: http://fossil-scm.org/index.html/artifact/d59e49a92272cf6a?ln=248-250 I didn'

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Ron W
On Thu, Jan 22, 2015 at 5:16 AM, Jan Nijtmans wrote: > --empty Initialize checkout as being empty, but still > connected > with the local repository. If you commit this > checkout, > it will become a new "initial" commit in the > rep

Re: [fossil-users] Please contribute "skins"

2015-01-22 Thread Richard Hipp
On 1/22/15, Samuel Debionne wrote: > Here is my take on skins (see attached file). You may try it with : > > fossil config import bootstrap.skin > > or see it in action here : > > https://flintcode.com/repo/skin When I clone this repo and bring it up locally, or when I "fossil config import" the

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Andy Gibbs
On Thursday, January 22, 2015 11:16 AM, Jan Nijtmans wrote: 2015-01-22 10:43 GMT+01:00 Andy Gibbs : I am trying to create a commit without a parent, effectively so that I can create a separate stream inside my repository, in no way linked to trunk and all its branches. Use "fossil open --emp

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Stephan Beal
On Thu, Jan 22, 2015 at 11:07 AM, Baruch Burstein wrote: > Sorry, I didn't see you had already answered the same! (I had started > writing my answer before you answered, so it didn't refresh) > Confirmation is good, plus i forgot the tags! -- - stephan beal http://wanderinghorse.net/home/

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Jan Nijtmans
2015-01-22 10:43 GMT+01:00 Andy Gibbs : > I am trying to create a commit without a parent, effectively so that I can > create a separate stream inside my repository, in no way linked to trunk and > all its branches. Use "fossil open --empty ." $ fossil open --help Usage: fossil open FILEN

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Baruch Burstein
On Thu, Jan 22, 2015 at 11:58 AM, Stephan Beal wrote: > On Thu, Jan 22, 2015 at 10:56 AM, Stephan Beal > wrote: > >> On Thu, Jan 22, 2015 at 10:43 AM, Andy Gibbs >> wrote: >> >>> I am trying to create a commit without a parent, effectively so that I >>> can create a separate stream inside my re

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Baruch Burstein
On Thu, Jan 22, 2015 at 11:43 AM, Andy Gibbs wrote: > Hi, > > I am trying to create a commit without a parent, effectively so that I can > create a separate stream inside my repository, in no way linked to trunk > and all its branches. > > I cannot find in the documentation how to do this, but I

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Stephan Beal
On Thu, Jan 22, 2015 at 10:56 AM, Stephan Beal wrote: > On Thu, Jan 22, 2015 at 10:43 AM, Andy Gibbs > wrote: > >> I am trying to create a commit without a parent, effectively so that I >> can create a separate stream inside my repository, in no way linked to >> trunk and all its branches. >> >>

Re: [fossil-users] Creating a commit without a parent

2015-01-22 Thread Stephan Beal
On Thu, Jan 22, 2015 at 10:43 AM, Andy Gibbs wrote: > I am trying to create a commit without a parent, effectively so that I can > create a separate stream inside my repository, in no way linked to trunk > and all its branches. > > I cannot find in the documentation how to do this, but I know tha

[fossil-users] Creating a commit without a parent

2015-01-22 Thread Andy Gibbs
Hi, I am trying to create a commit without a parent, effectively so that I can create a separate stream inside my repository, in no way linked to trunk and all its branches. I cannot find in the documentation how to do this, but I know that it is possible because Jan Nijtmans has managed to