[Trac] Re: Hide ticket history change

2012-07-05 Thread RjOllos
On Thursday, July 5, 2012 3:29:03 PM UTC-7, Daniel França wrote:
>
> Hi, 
> I wanto to know if it's possible to hide ticket change history for some 
> groups or permissions...
> I'd google it and I've find that: http://trac.edgewall.org/ticket/6840
> but it seems to work only to hide sensitive ticket, not to hide only the 
> change history for specific groups.
>
> Anyone know some good solution for this case?
>

If you were trying to hide a realm or specific resource (ticket, 
milestones, pastebin, etc ..), then FineGrainPermissions would help you. In 
this case, the only possible way I know of is to write a plugin that adds a 
TICKET_VIEW_COMMENT permission and implements ITemplateStreamFilter to 
strip out the HTML for the comment history for users that don't have that 
permission. Similarly, SimpleTicketPlugin does this for fields on the 
newticket form (and BlackMagicTicketTweaksPlugin has much of the same 
functionality).

I'd be interested to know if someone has a better way to go about this, but 
the way I proposed I think is just a 20-30 LOC plugin.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/5O99oN2KNHwJ.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Hide ticket history change

2012-07-05 Thread Daniel França
Hi, 
I wanto to know if it's possible to hide ticket change history for some 
groups or permissions...
I'd google it and I've find that: http://trac.edgewall.org/ticket/6840
but it seems to work only to hide sensitive ticket, not to hide only the 
change history for specific groups.

Anyone know some good solution for this case?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/5EzAOeOvnOAJ.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Open trac log files - too many open files apache error

2012-07-05 Thread Georgios Koloventzos
Hi Berny,

We are using red hat 5/6 with an apache 2.2.3 .
The trac.log files that are open are around 13000 per
backend. 

We have raised the limit but this will eventually come back when
more trac instances are created.

More over having some much open files loads apache and eventually is killed
bu the oom deamon.

Thanks,
Georgios

On Thursday, July 5, 2012 6:13:04 PM UTC+2, berny wrote:
>
> Georgios Koloventzos wrote (Thursday, July 05, 2012 5:20 PM): 
>
> > We have since some years a Trac installation, but recently we 
> > encountered a problem with the installation. 
> > We are using 0.11.7 version. 
> > We are hosting a large amount of trac instances (more than 1000). 
> > 
> > The problem is that the apache is opening the log file of every 
> > instance (environment) and it does not close them. This leads to 
> > reach the maximum open files limit. 
> > For resolving the error we have to restart apache every now and then. 
>
> You didn't tell any numbers and on what operating system you are 
> working with. Are you sure it's the trac.log? Did you check with 
> lsof? How many files are open? Doesn't raising the limit help? 
> E.g. doubling with 
>   $ ulimit -n $(( $(ulimit -n) * 2 )) 
>
> Have a nice day, 
> Berny 
>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/xvtd5f-LN4gJ.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



RE: [Trac] Open trac log files - too many open files apache error

2012-07-05 Thread Voelker, Bernhard
Georgios Koloventzos wrote (Thursday, July 05, 2012 5:20 PM):

> We have since some years a Trac installation, but recently we
> encountered a problem with the installation.
> We are using 0.11.7 version.
> We are hosting a large amount of trac instances (more than 1000).
>
> The problem is that the apache is opening the log file of every
> instance (environment) and it does not close them. This leads to
> reach the maximum open files limit.
> For resolving the error we have to restart apache every now and then.

You didn't tell any numbers and on what operating system you are
working with. Are you sure it's the trac.log? Did you check with
lsof? How many files are open? Doesn't raising the limit help?
E.g. doubling with
  $ ulimit -n $(( $(ulimit -n) * 2 ))

Have a nice day,
Berny

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Open trac log files - too many open files apache error

2012-07-05 Thread Georgios Koloventzos
Hello,

We have since some years a Trac installation, but recently we encountered a 
problem with the installation.
We are using 0.11.7 version.
We are hosting a large amount of trac instances (more than 1000).

The problem is that the apache is opening the log file of every instance 
(environment) and it does not
close them. This leads to reach the maximum open files limit.
For resolving the error we have to restart apache every now and then.

We are using a cluster with four backend and an apache proxy load balancer
in order to have better response time for our users.
Most of the instances are in NFS with an sqlite db and only a couple of 
them are
with MySQL backend.

Are the files not closing a "feature" of trac or it is a problem of our 
configuration - installation.

Thank you for your time,
Koloventzos Georgios

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/ZXGqdaO0M6AJ.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Re: Adding a custom-field textare to Trac broke the UI

2012-07-05 Thread RjOllos
You need to add a .order field to the patchversion_field custom field and 
position the Change Description text area on its own line.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/KgnMEYMfagwJ.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: install trac0.12.3 on centos6,httpd config file error info,help to resolve this.thanks

2012-07-05 Thread RjOllos
On Thursday, July 5, 2012 3:09:48 AM UTC-7, Bin Hou wrote:
>
> The trac access more slowly,why? is it sqlite db?need some plugins?


We need more info to be able to properly help you:
 - You have upgraded? Which version were you running previously.
 - As Matthew suggested, how many users do you have registered?
 - What plugins, if any, are installed?
 - What is the before and after load time for accessing Trac resources? Is 
it a specific module that is slow, such as the ticket module, or are all 
modules slow to load?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/EIiysHzQMX0J.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: install trac0.12.3 on centos6,httpd config file error info,help to resolve this.thanks

2012-07-05 Thread Matthew Caron

On 07/05/2012 06:09 AM, Bin Hou wrote:

The trac access more slowly,why? is it sqlite db?need some plugins?
Thank you very much.


If several people are using Trac at the same time with a sqlite backend, 
it can be slow, and eventually will start to time out. In my experience, 
that seems to be around 5 heavy users.

--
Matthew Caron, Build Engineer
Sixnet, a Red Lion business | www.sixnet.com
+1 (518) 877-5173 x138 office


--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: install trac0.12.3 on centos6,httpd config file error info,help to resolve this.thanks

2012-07-05 Thread Bin Hou
The trac access more slowly,why? is it sqlite db?need some plugins?
Thank you very much.[?]

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

<<330.gif>>