[fossil-users] How to use the ticket subsystem?

2014-09-30 Thread Tony Papadimitriou
When editing a ticket, the 'Subsystem' drop-down list is blank. Question: How do I enter new values, or how do I define the possible values from which to choose? Since I keep multiple applications in a single repository (because they all depend on common library code), I would like to use

[fossil-users] Tab stop width

2014-09-30 Thread Zoltán Kócsi
When Fossil displays a file in the repository, is it possible to tell it the width of the tab characters in the file? I could not find any setting to do that. Thanks, Zoltan ___ fossil-users mailing list fossil-users@lists.fossil-scm.org

Re: [fossil-users] Tab stop width

2014-09-30 Thread Richard Hipp
On Tue, Sep 30, 2014 at 9:44 AM, Zoltán Kócsi zol...@bendor.com.au wrote: When Fossil displays a file in the repository, is it possible to tell it the width of the tab characters in the file? I could not find any setting to do that. Tab stops are hard-coded to every 8th character. There is

Re: [fossil-users] User admin

2014-09-30 Thread Richard Hipp
On Tue, Sep 30, 2014 at 9:47 AM, Zoltán Kócsi zol...@bendor.com.au wrote: How can I delete a user from a repository? In 1.29, on the 'users' page there's only an 'add' tab. On an individual user's page there's only a 'cancel' tab, that discards any change. Also, is it possible to change the

Re: [fossil-users] Tab stop width

2014-09-30 Thread Zoltán Kócsi
When Fossil displays a file in the repository, is it possible to tell it the width of the tab characters in the file? I could not find any setting to do that. Tab stops are hard-coded to every 8th character. There is no setting to change that. Would it be worthwhile to add such a

Re: [fossil-users] User admin

2014-09-30 Thread Zoltán Kócsi
How can I delete a user from a repository? In 1.29, on the 'users' page there's only an 'add' tab. On an individual user's page there's only a 'cancel' tab, that discards any change. Also, is it possible to change the login name (username) for a given user ID? You can change the

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Andy Bradford
Thus said Joe Mistachkin on Sat, 27 Sep 2014 14:43:15 -0700: Works great. I made a couple style tweaks, including adding some CSS and moving the new elements out one level. I'm not sure if my CSS is the best choice, please feel free to enhance the styling. Looks fine here. I sometimes

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Stephan Beal
The first impl used whatever order the checkboxes are in, but that was even less readable. One simple solution, i think, would be to keep the sorting but underline the most recently selected letter. Will try that when i get home. - stephan Sent from a mobile device, possibly from bed. Please

Re: [fossil-users] Tab stop width

2014-09-30 Thread dave
... When Fossil displays a file in the repository, is it possible to tell it the width of the tab characters in the file? I could not find any setting to do that. Tab stops are hard-coded to every 8th character. There is no setting to change that. Would it be

Re: [fossil-users] Username in report query

2014-09-30 Thread Tomek Kott
Thanks Joe, I had tried creator = '$login' but somehow failed to try it without the single quotes. Tomek Date: Mon, 29 Sep 2014 16:39:04 -0700 From: Joe Mistachkin sql...@mistachkin.com To: 'Fossil SCM user's discussion' fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users]

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Stephan Beal
On Tue, Sep 30, 2014 at 5:24 PM, Stephan Beal sgb...@googlemail.com wrote: Or perhaps instead each Capability should have it's letter next to it? (s) Setup(u) Reader (r) Read Ticket (a) Admin(v) Developer(n) New Tickets (d) Delete (g) Clone(c) Append

Re: [fossil-users] How to use the ticket subsystem?

2014-09-30 Thread Stephan Beal
On Tue, Sep 30, 2014 at 1:36 PM, Tony Papadimitriou to...@acm.org wrote: When editing a ticket, the 'Subsystem' drop-down list is blank. Question: How do I enter new values, or how do I define the possible values from which to choose? Since I keep multiple applications in a single

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Andy Bradford
Thus said Stephan Beal on Tue, 30 Sep 2014 17:32:06 +0200: Here's a screenshot showing a partial implementation, with a couple different placement options. i'm not happy with any of them :/. I actually did try to update it myself last night but had alignment issues due to the font on

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Stephan Beal
On Tue, Sep 30, 2014 at 5:54 PM, Andy Bradford amb-fos...@bradfords.org wrote: I actually did try to update it myself last night but had alignment issues due to the font on the (s) letter not being a fixed font. i didn't even consider the font width - excellent point.

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Scott Robison
On Sep 30, 2014 9:57 AM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Sep 30, 2014 at 5:54 PM, Andy Bradford amb-fos...@bradfords.org wrote: I actually did try to update it myself last night but had alignment issues due to the font on the (s) letter not being a fixed font. i

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Stephan Beal
On Tue, Sep 30, 2014 at 6:04 PM, Scott Robison sc...@casaderobison.com wrote: On Sep 30, 2014 9:57 AM, Stephan Beal sgb...@googlemail.com wrote: i didn't even consider the font width - excellent point. {snipped} Sorry for opening this huge can of worms! :) i lay the blame squarely on

Re: [fossil-users] Tab stop width

2014-09-30 Thread Ron W
On Tue, Sep 30, 2014 at 10:01 AM, Zoltán Kócsi zol...@bendor.com.au wrote: When Fossil displays a file in the repository, is it possible to tell it the width of the tab characters in the file? I could not find any setting to do that. Tab stops are hard-coded to every 8th

Re: [fossil-users] Tab stop width

2014-09-30 Thread Ron W
On Tue, Sep 30, 2014 at 9:58 AM, Richard Hipp d...@sqlite.org wrote: On Tue, Sep 30, 2014 at 9:44 AM, Zoltán Kócsi zol...@bendor.com.au wrote: When Fossil displays a file in the repository, is it possible to tell it the width of the tab characters in the file? I could not find any setting

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Andy Bradford
Thus said Scott Robison on Tue, 30 Sep 2014 10:04:29 -0600: Sorry for opening this huge can of worms! :) Haha, don't sweat it. I've actually wished for some improvements to the permission checkbox page for a while. I've always found it annoying that the letters are not displayed when

[fossil-users] ticket that depends on another ticket

2014-09-30 Thread Paolo Bolzoni
Dear list, I am using fossil for bug tracking in a project where (not my decision) we use git for revision control. I was wondering if there is a way to explicitly mark a ticket as children of another. So it is clear that the root one must worked on before the child one. It is possible do

Re: [fossil-users] Proposed improvement to inheritedprivilegessubscripts.

2014-09-30 Thread Stephan Beal
That is close to what i do for initial prototypes - develop in the chrome dev tools console, injecting the code into the page, but at some point it has to get integrated. (sent from a mobile device, possibly from bed - please excuse brevity, typos, and top-posting) - stephan beal

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Andreas Kupries
On Tue, Sep 30, 2014 at 11:23 AM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Sep 30, 2014 at 8:14 PM, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: I get following error while creating new ticket : ERROR: SQL error: access to table user is restricted error code 23: access to

Re: [fossil-users] Tab stop width

2014-09-30 Thread Will Parsons
dave wrote: ... When Fossil displays a file in the repository, is it possible to tell it the width of the tab characters in the file? I could not find any setting to do that. Tab stops are hard-coded to every 8th character. There is no setting to change that. Would it

Re: [fossil-users] Tab stop width

2014-09-30 Thread Will Parsons
Stephan Beal wrote: --===1471853227== Content-Type: multipart/alternative; boundary=089e0139fcda1d63f205044c8930 --089e0139fcda1d63f205044c8930 Content-Type: text/plain; charset=UTF-8 On Tue, Sep 30, 2014 at 6:26 PM, Ron W ronw.m...@gmail.com wrote: On the command line, I

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Gaurav M. Bhandarkar
OK. Thanks for pointing those out. Another question, is TH1 used only for ticketing? or does it generates most of the web ui too? On Tue, Sep 30, 2014 at 11:53 PM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Sep 30, 2014 at 8:14 PM, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: I

Re: [fossil-users] How to use the ticket subsystem?

2014-09-30 Thread tonyp
Thanks, this is great! One problem though! The values I set are not pulled to my local copy. Is that expected? (Server is Fossil version [3d49f04587] 2014-01-27 17:33:44 client is fossil version 1.30 [ee46563cbd] 2014-08-15 12:46:27 UTC) From: Stephan Beal Sent: Tuesday, September 30, 2014

Re: [fossil-users] Tab stop width

2014-09-30 Thread dave
... don't and at those places the 4 character tab setting is not that rare. Zoltan ... I second the request. Every place I worked at uses hard tabs, at 4 chars. -dave Are you sure you're talking about hard tabs? Or indentation? It's pretty common to want code indented at 4

Re: [fossil-users] Tab stop width

2014-09-30 Thread Ron W
On Tue, Sep 30, 2014 at 2:27 PM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Sep 30, 2014 at 6:26 PM, Ron W ronw.m...@gmail.com wrote: On the command line, I typically pipe command (including fossil) output to less, which has its own settings for filtering tabs. Which highlights the

Re: [fossil-users] How to use the ticket subsystem?

2014-09-30 Thread Andreas Kupries
On Tue, Sep 30, 2014 at 11:55 AM, to...@acm.org wrote: Thanks, this is great! One problem though! The values I set are not pulled to my local copy. Is that expected? The 'TH1 Common' script is part of the configuration data, area 'ticket'. This is normally not sync'd. See the fossil

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Stephan Beal
On Tue, Sep 30, 2014 at 8:51 PM, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: OK. Thanks for pointing those out. Another question, is TH1 used only for ticketing? or does it generates most of the web ui too? th1 is a major component in the ticketing system and has a role in the

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Stephan Beal
On Tue, Sep 30, 2014 at 9:16 PM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Sep 30, 2014 at 8:51 PM, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: OK. Thanks for pointing those out. Another question, is TH1 used only for ticketing? or does it generates most of the web ui too?

Re: [fossil-users] ticket that depends on another ticket

2014-09-30 Thread Ron W
On Tue, Sep 30, 2014 at 2:17 PM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Sep 30, 2014 at 6:43 PM, Paolo Bolzoni paolo.bolzoni.br...@gmail.com wrote: I am using fossil for bug tracking in a project where (not my decision) we use git for revision control. I was wondering if there

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Gaurav M. Bhandarkar
Well, I attempted it because http://www.fossil-scm.org/index.html/doc/tip/www/custom_ticket.wiki suggested it was possible. it might be good to automatically scoop up the user's email and put it here On Wed, Oct 1, 2014 at 12:02 AM, Andreas Kupries andre...@activestate.com wrote: On Tue, Sep

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Andreas Kupries
Now I wonder if wrapping the user table into a VIEW is good enough to allow access. Likely not, because that would then be a much too easy way of circumventing the authorizer. On Tue, Sep 30, 2014 at 12:25 PM, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: Well, I attempted it because

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Gaurav M. Bhandarkar
views did not work when I executed sql from http://localhost:8080/admin_sql FYI, same error for the http://localhost:8080/tktsetup_com (Edit Ticket Common Script) My script was: ... set assigned_choices { unassigned Mendelssohn another-user } query {SELECT login as xlogin from user} { set

Re: [fossil-users] Tab stop width

2014-09-30 Thread Zoltán Kócsi
On Tue, 30 Sep 2014 12:12:11 -0400 Ron W ronw.m...@gmail.com wrote: On Tue, Sep 30, 2014 at 10:01 AM, Zoltán Kócsi zol...@bendor.com.au wrote: [...] Are you referring to the web UI display of files? Yes. Not what is stored, but the way it is displayed in the HTML output. I expect a

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Ron W
On Tue, Sep 30, 2014 at 2:32 PM, Andreas Kupries andre...@activestate.com wrote: On Tue, Sep 30, 2014 at 11:23 AM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Sep 30, 2014 at 8:14 PM, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: I get following error while creating new ticket

Re: [fossil-users] new ticket script changes

2014-09-30 Thread Andy Bradford
Thus said Gaurav M. Bhandarkar on Wed, 01 Oct 2014 00:55:39 +0530: Well, I attempted it because http://www.fossil-scm.org/index.html/doc/tip/www/custom_ticket.wiki suggested it was possible. it might be good to automatically scoop up the user's email and put it here Access may be

Re: [fossil-users] Tab stop width

2014-09-30 Thread Dömötör Gulyás
Wether you like tabs or spaces, both are widely enough used to consider a setting for display purposes in the Web UI. On 30 September 2014 23:01, Zoltán Kócsi zol...@bendor.com.au wrote: On Tue, 30 Sep 2014 12:12:11 -0400 Ron W ronw.m...@gmail.com wrote: On Tue, Sep 30, 2014 at 10:01 AM,

Re: [fossil-users] Tab stop width

2014-09-30 Thread Stephan Beal
HTML does not (AFAIK) distinguish between tabs and other whitespace. It will (by default) collapse all such characters into a single one or (with the right css) display them as-is, but css provides no way to say treat tabs as N spaces (or no way i have wver seen). My point being - in the web ui, i

Re: [fossil-users] ticket that depends on another ticket

2014-09-30 Thread Jacek Cała
Hi Paolo, Below are things which I use, based on various answers from the mailing list. Have a look at these excerpts and put them in the appropriate places via Admin/Tickets/Edit or View Basically, I changed the edit and view ticket pages to add/show blockers. As said above, it's just for

Re: [fossil-users] ticket that depends on another ticket

2014-09-30 Thread Jacek Cała
Sorry, forgot to add that for the code to work you need also to add field: blockers TEXT, to the ticket table (Admin/Tickets/Common). Cheers, Jacek 2014-10-01 6:26 GMT+01:00 Jacek Cała jacek.c...@gmail.com: Hi Paolo, Below are things which I use, based on various answers from the mailing