On Wed, Apr 23, 2014 at 10:26 AM, Stephan Beal <sgb...@googlemail.com> wrote: > On Wed, Apr 23, 2014 at 3:38 AM, Joe Knapka <jkna...@kneuro.net> wrote: >> >> I find the requirement that I "Preview" ticket edits before I can >> "Submit" them to be entirely annoying and of no value whatsoever. I >> nevur mispell onything, and my repositories are entirely for my >> personal use anyway. Is there any way to configure Fossil not to >> require the "Preview" step? > > > Not one built in. i believe the preview is intended to help thwart bots. One > of my repos, due to negligent permissions on my part, was once bot-attacked, > and the bot filled out both wiki pages and tickets with random content (but > avoided changing the configured home page, so the attack went unnoticed > longer than it should have!).
The logic for ticket edits is a TH1/HTML script configurable at Admin -> Tickets -> Edit Ticket Page That is <repo-url>/tktsetup_editpage Using http://core.tcl.tk/akupries/kettle/tktsetup_editpage as example, at the bottom I see <tr> <td align="right"> <input type="submit" name="preview" value="Preview" /> </td> <td align="left">See how the description will appear after formatting.</td> </tr> <th1>enable_output [info exists preview]</th1> <tr> <td align="right"> <input type="submit" name="submit" value="Submit" /> </td> <td align="left">Apply the changes shown above</td> </tr> <th1>enable_output 1</th1> The first block is the preview button and can be removed. The second block is the submission button, conditional on preview (enable_output). Lose the two enable_output lines and and it should be unconditional > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > http://gplus.to/sgbeal > "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of > those who insist on a perfect world, freedom will have to do." -- Bigby Wolf > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- Andreas Kupries Senior Tcl Developer Code to Cloud: Smarter, Safer, Faster(tm) F: 778.786.1133 andre...@activestate.com http://www.activestate.com Learn about Stackato for Private PaaS: http://www.activestate.com/stackato EuroTcl'2014, July 12-13, Munich, GER -- http://www.eurotcl.tcl3d.org/ 21'st Tcl/Tk Conference: Nov 10-14, Portland, OR, USA -- http://www.tcl.tk/community/tcl2014/ _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users