Re: [fossil-users] database disk image is malformed?

2013-08-30 Thread B Harder
Richard, your service on all this is exemplary -- anybody who gives
you grief over this should just take a moment and reflect on all
you've done, and the remarkable stability and service we've all
enjoyed for so long.

If you want to punt and just have accounts recreated, I'm personally
fine w/ that, if it's an option.

Cheers,

-bch

On 8/29/13, Richard Hipp d...@sqlite.org wrote:
 On Fri, Aug 30, 2013 at 12:35 AM, B Harder brad.har...@gmail.com wrote:

 I don't know what the definition of recent is, but I think my password
 is same for months, wasn't working at time I sent last msg. I'll work
 with
 you off-list if necessary.


 I'm still working on the problem.  I'll get it fixed as quickly as I can.
 Sorry for the inconvenience.

 --
 D. Richard Hipp
 d...@sqlite.org



-- 
Brad Harder
Method Logic Digital Consulting
http://www.methodlogic.net/
http://twitter.com/bcharder
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] How to allow script tag in Fossil Wiki

2013-08-30 Thread Samuel Debionne
Hello all,
I would like to use script tags (and CSS/javascript in general) within
the Wiki pages (using the Fossil markup). I understand that this can
have some impact on the security, but I trust my fellow co-writters. Is
there an option to disable the sanitization of the code  without going
all HTML ?
Regards,
Samuel Debionne
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to allow script tag in Fossil Wiki

2013-08-30 Thread Stephan Beal
Hi!

Login, then visit Admin == Configuration

there's an option there (with a big warning label) to enable all HTML tags.



On Fri, Aug 30, 2013 at 10:11 AM, Samuel Debionne 
samuel.debio...@ujf-grenoble.fr wrote:

 Hello all,
 I would like to use script tags (and CSS/javascript in general) within
 the Wiki pages (using the Fossil markup). I understand that this can
 have some impact on the security, but I trust my fellow co-writters. Is
 there an option to disable the sanitization of the code  without going
 all HTML ?
 Regards,
 Samuel Debionne
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users




-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] MD ticket for fossil

2013-08-30 Thread Stephan Beal
(back onto the list for a bug report...)

On Fri, Aug 30, 2013 at 1:52 PM, Natacha Porté nata...@instinctive.euwrote:

 on Saturday 17 August 2013 at 21:42, Stephan Beal wrote:
  i just came across this ticket and thought it might interest you:
 
 
 http://www.fossil-scm.org/index.html/tktview/f20670fca76c64b33dfa00cfc303db87e1417d82

Sorry for the delay, I'm juggling with too many non-computer tasks at
 the moment. I will deal with it when I find some fossil-coding time,
 probalby next one or the following one. So this is just a quick message
 to confirm I'm still around and to acknowledge that I'm happy to own
 the issue.


No worries - i had forgotten all about it, to be honest ;).

   Also when I follow your link above now, I don't see anything under
 Description  Comments, and I have to go to the ticket history page to
 reach the comment text.

 I'm pretty sure I saw it fine on 17-18th August
 when I first read your message, so I guess the issue crept up since
 then. I can send you a screenshot if you can't reproduce it.


That's definitely a bug - i'm 99% certain i also saw the comment directly
in the ticket. i can't say what might cause that.

@Anyone familiar with the ticket bits (in particular recent changes):
please see the ticket link at the top of this mail.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] database disk image is malformed?

2013-08-30 Thread Richard Hipp
On Thu, Aug 29, 2013 at 10:59 PM, B Harder brad.har...@gmail.com wrote:

 Did this nuke accounts/passwords ?


All logins on the canonical Fossil repository should restored now.

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] database disk image is malformed?

2013-08-30 Thread Stephan Beal
On Fri, Aug 30, 2013 at 3:16 PM, Richard Hipp d...@sqlite.org wrote:

 All logins on the canonical Fossil repository should restored now.


out of curiosity: do you have a preferred/best-practice for partial db
restorations, or did you restore the whole db? How should a normal mortal,
without your inborn sqlite3 know-how, go about analyzing and recovering
from such a situation? This could be turned into a learning opportunity for
many sqlite users :).

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] database disk image is malformed?

2013-08-30 Thread Richard Hipp
On Fri, Aug 30, 2013 at 9:31 AM, Stephan Beal sgb...@googlemail.com wrote:

 On Fri, Aug 30, 2013 at 3:16 PM, Richard Hipp d...@sqlite.org wrote:

 All logins on the canonical Fossil repository should restored now.


 out of curiosity: do you have a preferred/best-practice for partial db
 restorations, or did you restore the whole db? How should a normal mortal,
 without your inborn sqlite3 know-how, go about analyzing and recovering
 from such a situation? This could be turned into a learning opportunity for
 many sqlite users :).


If you have a clone, and you periodically run

fossil pull
fossil config pull all

From the clone, and you have admin rights on the original, then if the
original gets trashed, you can always just scp the clone back to replace
the corrupt original.

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to allow script tag in Fossil Wiki

2013-08-30 Thread Samuel Debionne
Hi Stephen,
Thanks for the fast answer.

 Login, then visit Admin == Configuration
 there's an option there (with a big warning label) to enable all HTML tags.

The option says Use HTML as wiki markup language, which is not what I
want (I'd like to keep the Wiki markup). Is there a way to disable
sanitization independently of the choice of the markup ?

Samuel
attachment: samuel_debionne.vcf___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to allow script tag in Fossil Wiki

2013-08-30 Thread Stephan Beal
On Fri, Aug 30, 2013 at 3:45 PM, Samuel Debionne 
samuel.debio...@ujf-grenoble.fr wrote:

 The option says Use HTML as wiki markup language, which is not what I
 want (I'd like to keep the Wiki markup). Is there a way to disable
 sanitization independently of the choice of the markup ?


Nope :(. Yeah, i'd like it, too, but i agree with Richard's original
decision to be quite strict on the wiki filtering.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to allow script tag in Fossil Wiki

2013-08-30 Thread Stephan Beal
On Fri, Aug 30, 2013 at 3:53 PM, Stephan Beal sgb...@googlemail.com wrote:

 On Fri, Aug 30, 2013 at 3:45 PM, Samuel Debionne 
 samuel.debio...@ujf-grenoble.fr wrote:

 The option says Use HTML as wiki markup language, which is not what I
 want (I'd like to keep the Wiki markup). Is there a way to disable
 sanitization independently of the choice of the markup ?


 Nope :(. Yeah, i'd like it, too, but i agree with Richard's original
 decision to be quite strict on the wiki filtering.


That said, the built-in wiki format isn't all that far removed from HTML,
providing only handful of conveniences, e.g. [linking] and single-depth
lists, but not providing tables, *bold*, _underline_, and some other common
ones. And i'm pretty sure (but not 100%) that wiki links still get
processed if you turn on HTML formatting (i seem to remember trying it once
but turned it off because i wanted to bypass all wiki processing of the
text).

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to allow script tag in Fossil Wiki

2013-08-30 Thread Samuel Debionne
Le 30/08/2013 15:53, Stephan Beal a écrit :
 On Fri, Aug 30, 2013 at 3:45 PM, Samuel Debionne
 samuel.debio...@ujf-grenoble.fr
 mailto:samuel.debio...@ujf-grenoble.fr wrote:
 
 The option says Use HTML as wiki markup language, which is not what I
 want (I'd like to keep the Wiki markup). Is there a way to disable
 sanitization independently of the choice of the markup ?
 
 
 Nope :(. Yeah, i'd like it, too, but i agree with Richard's original
 decision to be quite strict on the wiki filtering.

Too bad. Would that mean that if I submit a patch that would make it an
extra option with an extra warning it has no chance to be accepted ?

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to allow script tag in Fossil Wiki

2013-08-30 Thread Stephan Beal
On Fri, Aug 30, 2013 at 3:58 PM, Samuel Debionne 
samuel.debio...@ujf-grenoble.fr wrote:

 Too bad. Would that mean that if I submit a patch that would make it an
 extra option with an extra warning it has no chance to be accepted ?


That would be Richard's decision. i wouldn't be against it. My own use of
the wiki nowadays mostly uses the JSON API to store/fetch
GoogleCode-formatted wiki pages and render them on the client using
JavaScript. Example:

http://fossil.wanderinghorse.net/wikis/cson/?page=cson

That's a fossil repository who's sole purpose is to hold the wiki pages for
that project (the sources are another repo), and it's only rendered using
the custom (wiki-only) front-end.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil built-in CGI: it uses `SCRIPT_NAME` instead of `REQUEST_URI`?

2013-08-30 Thread Themba Fletcher
On Tue, Aug 27, 2013 at 12:26 PM, Yannick yannick_duch...@yahoo.fr wrote:
snip

 as I like to hide CGI stuffs from the visitor's eyes



See also Stephen's response here for another way to do this.
http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg13040.html

hth,

Themba
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users