Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 7:28 PM, Stephan Beal wrote: > then /json/stat > i just can't get this right today: /json/cap, not /json/stat -- - stephan beal http://wanderinghorse.net/home/stephan/ ___ fossil-users mailing list fossil-users@lists.fossi

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 5:18 PM, Jousef Lofstrom wrote: >"resultCode":"FOSSIL-1002" > That "should be" fixed now in server and CGI modes. The bug was in a mismatch between server mode and CGI mode. i have added code to accommodate the optional /prefix path part (everything up to the first

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 5:51 PM, Stephan Beal wrote: > the problem is that f is an alias for ~/bin/fossil, which isn't the binary > i want to test. When i use ./fossil ... it works as expected. i'm fixing the > /pathprefix problem right now - the current code won't dispatch properly > with that (

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 5:39 PM, Stephan Beal wrote: > On Fri, Sep 16, 2011 at 5:20 PM, Stephan Beal wrote: > >> aha - that's because of the /tvo part. i don't yet handle >> sub-repositories. Damn. i need to figure out how to do that (i've never used >> sub-repos before). >> > > Doh - i'm also se

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 5:20 PM, Stephan Beal wrote: > aha - that's because of the /tvo part. i don't yet handle sub-repositories. > Damn. i need to figure out how to do that (i've never used sub-repos > before). > Doh - i'm also seeing this now without the prefix, so i've apparently broken some

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 5:16 PM, Jousef Lofstrom wrote: > http://localhost:8080/tvo/json/login?n=username&p=password ==> > > > { >"fossil":"afd36e987ca1f2841bd2d819e64804c1f1a9f971", >"timestamp":1316185867, >"resultCode":"FOSSIL-1002", >"resultText":"Unknown Com

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Jousef Lofstrom
Stephan Beal writes: ... http://localhost:8080/tvo/json/cap ==> { "fossil":"afd36e987ca1f2841bd2d819e64804c1f1a9f971", "timestamp":1316186243, "resultCode":"FOSSIL-1002", "resultText":"Unknown Command" } HTTP/1.0 200 OK Date: Fri, 16 Sep 2011 15:17:23 GMT Connect

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Jousef Lofstrom
Stephan Beal writes: ... http://localhost:8080/tvo/json/login?n=username&p=password ==> { "fossil":"afd36e987ca1f2841bd2d819e64804c1f1a9f971", "timestamp":1316185867, "resultCode":"FOSSIL-1002", "resultText":"Unknown Command" } HTTP/1.0 200 OK Date: Fri, 16 Sep 2

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 4:59 PM, Stephan Beal wrote: > And then please try: /json/stat > sorry: /json/cap not /json/stat (that's the repo stats) -- - stephan beal http://wanderinghorse.net/home/stephan/ ___ fossil-users mailing list fossil-users@

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 4:55 PM, Jousef Lofstrom wrote: > Stephan Beal writes: > I cloned http://www.fossil-scm.org/ and built on 32 bit CentOS 5 and now > have ... > > "Fossil version 1.19 [9f5c40cbe7] 2011-09-16 11:19:08". > > Alas, with the same result. > > i can't explain that but i have one

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Jousef Lofstrom
Stephan Beal writes: ... I cloned http://www.fossil-scm.org/ and built on 32 bit CentOS 5 and now have ... "Fossil version 1.19 [9f5c40cbe7] 2011-09-16 11:19:08". Alas, with the same result. /Jousef ___ fossil-users mailing list fossil-users@list

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 4:30 PM, Stephan Beal wrote: > On Fri, Sep 16, 2011 at 4:29 PM, Stephan Beal wrote: > >> On Fri, Sep 16, 2011 at 4:24 PM, Jousef Lofstrom wrote: >> >>> Here is the permission string "bcfjkmnrtw". >>> >> >> According to the sources, permission k==write wiki and: >> > > sorr

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 4:29 PM, Stephan Beal wrote: > On Fri, Sep 16, 2011 at 4:24 PM, Jousef Lofstrom wrote: > >> Here is the permission string "bcfjkmnrtw". >> > > According to the sources, permission k==write wiki and: > sorry, thought-error on my part - i mis-read ticket as wiki... -- ---

Re: [fossil-users] Ticket editing problems

2011-09-16 Thread Stephan Beal
On Fri, Sep 16, 2011 at 4:24 PM, Jousef Lofstrom wrote: > Here is the permission string "bcfjkmnrtw". > According to the sources, permission k==write wiki and: if( (rid && g.perm.WrWiki) || (!rid && g.perm.NewWiki) ){ style_submenu_element("Edit", "Edit Wiki Page", "%s/wikiedit?name=%T