Re: [Trac] Install and Settings email2trac - Not user friendly(IMHO)

2013-06-26 Thread W. Martin Borgert

Quoting Ivanelson Nunes ivanelsonnu...@gmail.com:

I did the installation and configuration by following this [1]site.

My problem is that I do not understand where I set up a mail account that
will receive the messages. And say where these messages should be a Ticket?

Now do not get it where I can configure the e-mail that will receive the
messages and then create the new ticket.

My OS is Ubuntu 12.10 and Trac 1.0. I've tried to configure Postfix and
Fetchmail.

Still do not understand how to configure the MTA :(


The important points are:

1. You need an IMAP(S) server (or POP).
   I can't help you with this issue, sorry.

2. You need to fetch the mail from IMAP(S)/POP and forward it to
   email2trac. I do this using a cron job (every two minutes) using
   getmail4.

   A. For security reasons, I have a user myticketuser (disabled
  password, no login possible), whos cron entry is:

*/2 * * * * /usr/bin/getmail  /dev/null

   B. This user has the following ~/.getmail/getmailrc:

[retriever]
type = SimpleIMAPSSLRetriever
server = imap.myimapserver.com
username = myticketmail
password = WHATEVER
mailboxes = (INBOX,)
move_on_delete = Trash

[destination]
type = MDA_external
path = /usr/bin/sudo
arguments = (-u, www-data, /usr/bin/email2trac)

[options]
delete = True
verbose = 2

   www-data is the user name of the Trac process.

This way, all mail to myticketm...@whateveryouhave.com create
Trac tickets.

HTH.

--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Install and Settings email2trac - Not user friendly(IMHO)

2013-06-26 Thread Ivanelson Nunes
Martin,

I have an enterprise server email.

The cron job. You configured for the Apache user (www-data) or to the user
myticketuser?

Thank you.

2013/6/26 W. Martin Borgert deba...@debian.org

 Quoting Ivanelson Nunes ivanelsonnu...@gmail.com:

 I did the installation and configuration by following this [1]site.

 My problem is that I do not understand where I set up a mail account that
 will receive the messages. And say where these messages should be a
 Ticket?

 Now do not get it where I can configure the e-mail that will receive the
 messages and then create the new ticket.

 My OS is Ubuntu 12.10 and Trac 1.0. I've tried to configure Postfix and
 Fetchmail.

 Still do not understand how to configure the MTA :(


 The important points are:

 1. You need an IMAP(S) server (or POP).
I can't help you with this issue, sorry.

 2. You need to fetch the mail from IMAP(S)/POP and forward it to
email2trac. I do this using a cron job (every two minutes) using
getmail4.

A. For security reasons, I have a user myticketuser (disabled
   password, no login possible), whos cron entry is:

 */2 * * * * /usr/bin/getmail  /dev/null

B. This user has the following ~/.getmail/getmailrc:

 [retriever]
 type = SimpleIMAPSSLRetriever
 server = imap.myimapserver.com
 username = myticketmail
 password = WHATEVER
 mailboxes = (INBOX,)
 move_on_delete = Trash

 [destination]
 type = MDA_external
 path = /usr/bin/sudo
 arguments = (-u, www-data, /usr/bin/email2trac)

 [options]
 delete = True
 verbose = 2

www-data is the user name of the Trac process.

 This way, all mail to 
 myticketmail@whateveryouhave.**commyticketm...@whateveryouhave.com
 create
 Trac tickets.

 HTH.



-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread Lukasz Szybalski
Hello,
How can I get a python 2.7 egg for batchticketmodify version 0.8.0?

I got the trunk and did python setup.py bdist_egg
but for some reason  the UI does not appear. I'm thinking something might
be broken in trunk for version 0.12?

See screenshot.

I'm trying to get branch version 0.8...where could the source be so I can
compile the egg file?

Tags only have the egg files not source.

Thanks
Lucas

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


attachment: Selection_325.png

[Trac] Re: Install and Settings email2trac - Not user friendly(IMHO)

2013-06-26 Thread Lukasz Szybalski


On Tuesday, June 25, 2013 5:18:18 PM UTC-5, ivanelson wrote:

 I did the installation and configuration by following this [1]site.

 My problem is that I do not understand where I set up a mail account that 
 will receive the messages. And say where these messages should be a Ticket?

 Now do not get it where I can configure the e-mail that will receive the 
 messages and then create the new ticket.

 My OS is Ubuntu 12.10 and Trac 1.0. I've tried to configure Postfix and 
 Fetchmail.

 Still do not understand how to configure the MTA :(


After you install MTA. check it receives emails..

send an email to yourusername@yourcomputerORservername

if you received (mutt) email then you are good with MTA. 

Now you just need to add your email2trac emails in aliases

vi /etc/aliases
and add:

companyit: |/usr/bin/run_email2trac --project=companyit --ticket_prefix=it

then 
newaliases

now you can send email to below:
companyit@yourcomputerORservername


If you have not done this already:
in /etc/email2trac.conf you add

[companyit]
project: /home/path_to_trac
spam_level: 1
it_milestone:IT

remember that if you want to set some other fields like owner to Lucas you 
would use ticket_prefix (from aliases) in the options, so:

it_owner:Lucas
it_component:None
it_priority:critical

I have about 20 email setup for different departments going into different 
milestone, owners.

its pretty easy when you get it.

Enjoy,
Lucas





-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] Re: BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread RjOllos
On Wednesday, June 26, 2013 7:52:24 AM UTC-7, Lukasz Szybalski wrote:


 Hello,
 How can I get a python 2.7 egg for batchticketmodify version 0.8.0?

 I got the trunk and did python setup.py bdist_egg
 but for some reason  the UI does not appear. I'm thinking something might 
 be broken in trunk for version 0.12?

 See screenshot.

 I'm trying to get branch version 0.8...where could the source be so I can 
 compile the egg file?

 Tags only have the egg files not source.

 Thanks
 Lucas



It should work with Trac 0.12. Make sure to install from:
http://trac-hacks.org/browser/batchmodifyplugin/0.12/trunk

From your screen capture, it looks like the plugin is loaded. Are there any 
errors in the browser error console? Do you have a custom theme or any 
other plugins installed? 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26.06.2013 16:52, Lukasz Szybalski wrote:
 
 Hello,
 How can I get a python 2.7 egg for batchticketmodify version 0.8.0?
 
 I got the trunk and did python setup.py bdist_egg
 but for some reason  the UI does not appear. I'm thinking something
 might be broken in trunk for version 0.12?
 
 See screenshot.

OT: Never seen such a high ticket number (#817336). Is this a production
Trac application, and do you possibly know even bigger ones in terms of
ticket count? Would be interesting to know what setup including plugins
installed works, and to know some known performance figures.

Steffen Hoffmann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlHLHqkACgkQ31DJeiZFuHdDVQCgn7+0Ul4SswhCUYgT/CjMmTil
x34AoLbuB5X/t26a7w/VwNcBzg0IcvoR
=5cOy
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Install and Settings email2trac - Not user friendly(IMHO)

2013-06-26 Thread W. Martin Borgert

Quoting Ivanelson Nunes ivanelsonnu...@gmail.com:

The cron job. You configured for the Apache user (www-data) or to the user
myticketuser?


In my case, the cron job is for user myticketuser. Note, that sudo is
used, so the entry in the /etc/sudoers is:

myticketuser ALL=(www-data) NOPASSWD: /usr/bin/email2trac, /bin/cat

I.e. the myticketuser is allowed to run email2trac and cat as the
www-data user. Otherwise it wouldn't work. (I don't remember why
cat is important, maybe you can try without it.)

Cheers


--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread RjOllos
On Wednesday, June 26, 2013 10:02:39 AM UTC-7, hasienda wrote:

 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 

 On 26.06.2013 16:52, Lukasz Szybalski wrote: 
  
  Hello, 
  How can I get a python 2.7 egg for batchticketmodify version 0.8.0? 
  
  I got the trunk and did python setup.py bdist_egg 
  but for some reason  the UI does not appear. I'm thinking something 
  might be broken in trunk for version 0.12? 
  
  See screenshot. 

 OT: Never seen such a high ticket number (#817336). Is this a production 
 Trac application, and do you possibly know even bigger ones in terms of 
 ticket count? Would be interesting to know what setup including plugins 
 installed works, and to know some known performance figures. 


Good eye. It would be quite interesting to know more details about this 
setup.

After giving this some more thought, I think the problem is most likely 
that the user hasn't done a `trac-admin $env deploy /deploy/to/path`, as 
described in
http://trac.edgewall.org/wiki/TracAdmin#FullCommandReference
http://trac.edgewall.org/wiki/TracUpgrade#a5.Refreshstaticresources

It may be a bit of a shortcoming that the deploy static resources step 
isn't discussed anywhere on the TracPlugins page:
http://trac.edgewall.org/wiki/TracPlugins
 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] Re: trac release notes system

2013-06-26 Thread RjOllos
On Monday, June 24, 2013 6:35:09 AM UTC-7, Mike Dewhirst wrote:

 I really like the release notes page ... 

 http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.0 

 ... and I would love to be able to do something similar if not identical 
 for my own project. 

 How did you set that up? 


If you scroll to the bottom of the page, there is a link:

Download in other formats:
   Plain Text 

Viewing the page in plain text will allow you to see the markup used on the 
page, including the macro calls.
 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Install and Settings email2trac - Not user friendly(IMHO)

2013-06-26 Thread ivanelson
Martin

The getmail4 installed. 

At the prompt is already running. 

I tried using SimplePOP3SSLRetriever, but the script /usr/bin/getmail 
was breaking. Okay, IMAP is working.

I will complete the setup and notice the result.

[]s

Em quarta-feira, 26 de junho de 2013 14h26min22s UTC-3, W. Martin Borgert 
escreveu:

 Quoting Ivanelson Nunes ivanels...@gmail.com javascript:: 
  The cron job. You configured for the Apache user (www-data) or to the 
 user 
  myticketuser? 

 In my case, the cron job is for user myticketuser. Note, that sudo is 
 used, so the entry in the /etc/sudoers is: 

 myticketuser ALL=(www-data) NOPASSWD: /usr/bin/email2trac, /bin/cat 

 I.e. the myticketuser is allowed to run email2trac and cat as the 
 www-data user. Otherwise it wouldn't work. (I don't remember why 
 cat is important, maybe you can try without it.) 

 Cheers 




-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] Re: How to set default view for change history

2013-06-26 Thread RjOllos
On Friday, June 21, 2013 7:08:54 AM UTC-7, Jared Bownds wrote:


 How am I able to configure the change history to display Newest first by 
 default?


Change history for the TicketModule, BrowserModule or WikiModule? I'm 
guessing you mean the TicketModule, The selection is persistent for a 
session [1]. There doesn't appear to be a TracIni setting to control the 
initial setting for a user, and it would probably be overkill to have a 
setting for that.

There is an interface in AccountManager that would allow you to write a 
small plugin to set the `ticket_comments_order` session variable when the 
account is first created [2]. A better solution though might just be to 
orient your users to the feature and describe its behavior to them.

[1] 
http://trac.edgewall.org/browser/tags/trac-1.0.1/trac/ticket/web_ui.py#L718
[2] 
https://trac-hacks.org/browser/accountmanagerplugin/trunk/acct_mgr/api.py#L54

 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread W. Martin Borgert
On 2013-06-26 09:52, Lukasz Szybalski wrote:
 How can I get a python 2.7 egg for batchticketmodify version 0.8.0?

Is the Debian trac-batchmodify package broken on Debian 7?

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread Lukasz Szybalski


On Wednesday, June 26, 2013 12:44:17 PM UTC-5, RjOllos wrote:

 On Wednesday, June 26, 2013 10:02:39 AM UTC-7, hasienda wrote:

 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 

 On 26.06.2013 16:52, Lukasz Szybalski wrote: 
  
  Hello, 
  How can I get a python 2.7 egg for batchticketmodify version 0.8.0? 
  
  I got the trunk and did python setup.py bdist_egg 
  but for some reason  the UI does not appear. I'm thinking something 
  might be broken in trunk for version 0.12? 
  
  See screenshot. 

 OT: Never seen such a high ticket number (#817336). Is this a production 
 Trac application, and do you possibly know even bigger ones in terms of 
 ticket count? Would be interesting to know what setup including plugins 
 installed works, and to know some known performance figures. 


 Good eye. It would be quite interesting to know more details about this 
 setup.

 After giving this some more thought, I think the problem is most likely 
 that the user hasn't done a `trac-admin $env deploy /deploy/to/path`, as 
 described in

Hello,

Thank you

cd .apache
mv eggs old_eggs
mkdir eggs
chown www-data:www-data eggs

I moved it just to make sure I don't lose what is in there but I'm pretty 
sure I could have deleted tmp eggs in there and have apache regenerate them.
This has fixed my problem.

As far as our trac:
Yes 817K tickets and going.
Server: AMD Opteron(tm) Processor 6128 16core
1.5TB XFS (ext3 has a 32000 subfolder limit)
16GB of ram

Performance is ok...as things grow we got this above server. It looks like 
we will need to make more changes. The only real performance issue is the 
custom fields being as BLOB or TEXT which mysql cannot cache/keep in 
memory. So when you search the whole 817K tickets for custom_number= 123456 
it takes about 3 seconds now. 

The new issue that is coming up in this version is that they have to click 
modify on order to close ticket which is more clicks they they used to 
have to do in 0.11.

Thank you for your help.
Lucas




Are you saying that static files need to be updated? 
We use Apache with modwsgi. If there is any static 

 

 http://trac.edgewall.org/wiki/TracAdmin#FullCommandReference
 http://trac.edgewall.org/wiki/TracUpgrade#a5.Refreshstaticresources

 It may be a bit of a shortcoming that the deploy static resources step 
 isn't discussed anywhere on the TracPlugins page:
 http://trac.edgewall.org/wiki/TracPlugins
  


-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread RjOllos
On Wednesday, June 26, 2013 12:27:13 PM UTC-7, Lukasz Szybalski wrote:



 On Wednesday, June 26, 2013 12:44:17 PM UTC-5, RjOllos wrote:

 On Wednesday, June 26, 2013 10:02:39 AM UTC-7, hasienda wrote:

 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 

 On 26.06.2013 16:52, Lukasz Szybalski wrote: 
  
  Hello, 
  How can I get a python 2.7 egg for batchticketmodify version 0.8.0? 
  
  I got the trunk and did python setup.py bdist_egg 
  but for some reason  the UI does not appear. I'm thinking something 
  might be broken in trunk for version 0.12? 
  
  See screenshot. 

 OT: Never seen such a high ticket number (#817336). Is this a production 
 Trac application, and do you possibly know even bigger ones in terms of 
 ticket count? Would be interesting to know what setup including plugins 
 installed works, and to know some known performance figures. 


 Good eye. It would be quite interesting to know more details about this 
 setup.

 After giving this some more thought, I think the problem is most likely 
 that the user hasn't done a `trac-admin $env deploy /deploy/to/path`, as 
 described in

 Hello,

 Thank you

 cd .apache
 mv eggs old_eggs
 mkdir eggs
 chown www-data:www-data eggs


I hadn't considered that removing the egg cache could be needed, but I 
suppose that is worth keeping in mind. I wonder if you could have just 
re-started your webserver to achieve the same end.
 

 I moved it just to make sure I don't lose what is in there but I'm pretty 
 sure I could have deleted tmp eggs in there and have apache regenerate them.
 This has fixed my problem.

 As far as our trac:
 Yes 817K tickets and going.
 Server: AMD Opteron(tm) Processor 6128 16core
 1.5TB XFS (ext3 has a 32000 subfolder limit)
 16GB of ram

 Performance is ok...as things grow we got this above server. It looks like 
 we will need to make more changes. The only real performance issue is the 
 custom fields being as BLOB or TEXT which mysql cannot cache/keep in 
 memory. So when you search the whole 817K tickets for custom_number= 123456 
 it takes about 3 seconds now. 


Are you using an plugins?
 

 The new issue that is coming up in this version is that they have to click 
 modify on order to close ticket which is more clicks they they used to 
 have to do in 0.11.


The collapsed modify section seems to be hotly debated [1]. I'm pretty sure 
you could add a bit of JavaScript to your site customizations to show the 
#modify div on page load [2].

[1] http://trac.edgewall.org/ticket/9807 
[2] http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread RjOllos
On Wednesday, June 26, 2013 1:05:46 PM UTC-7, RjOllos wrote:


 The collapsed modify section seems to be hotly debated [1]. I'm pretty 
 sure you could add a bit of JavaScript to your site customizations to show 
 the #modify div on page load [2].

 [1] http://trac.edgewall.org/ticket/9807 
 [2] 
 http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance


In fact, Remy has already provided the site.html to accomplish it:

http://trac.edgewall.org/ticket/9807#comment:18 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] Upgrade to 0.12.3 and custom views

2013-06-26 Thread Lukasz Szybalski
Hello,

We recently upgrade to 0.12.3 (Debian 7).

1. Is there a way to default that modify tab is ALWAYS OPEN? This really
slows down the processing time for people who watch incoming new tickets
and assign them out to proper milestones? Can I overwrite that somewhere in
code if there is not setting for it?


Also less critical :

A). Is there a way to remove the preview. We either get PDF or TIFF files
in one of the trac instances we setup. PDF has no preview so you need
download in original format anyway, and TIFF files have multiple pages
which the preview does not show. When people click on the attachment I want
them to go straight into download in original format? What part of the
trac would this be in so I can customize the link?
( I know there is a download arrow next to attachment name but that does
not work in firefox 20+, and a lot of people don't see it).

B)  Is there a plugin that would allow displaying show under each result:
attachments. Similar how  Show under each result: Description gives you
description..I want to show attachments so that you can click on
them while you are in the query.

Thanks
Lucas

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


attachment: Selection_326.png

Re: [Trac] BatchticketModify v0.8.0 for python2.7 ? (Upgrade to Debian 7)

2013-06-26 Thread Lukasz Szybalski


On Wednesday, June 26, 2013 3:05:46 PM UTC-5, RjOllos wrote:

 On Wednesday, June 26, 2013 12:27:13 PM UTC-7, Lukasz Szybalski wrote:



 On Wednesday, June 26, 2013 12:44:17 PM UTC-5, RjOllos wrote:

 On Wednesday, June 26, 2013 10:02:39 AM UTC-7, hasienda wrote:

 -BEGIN PGP SIGNED MESSAGE- 
 Hash: SHA1 

 On 26.06.2013 16:52, Lukasz Szybalski wrote: 
  
  Hello, 
  How can I get a python 2.7 egg for batchticketmodify version 0.8.0? 
  
  I got the trunk and did python setup.py bdist_egg 
  but for some reason  the UI does not appear. I'm thinking something 
  might be broken in trunk for version 0.12? 
  
  See screenshot. 

 OT: Never seen such a high ticket number (#817336). Is this a 
 production 
 Trac application, and do you possibly know even bigger ones in terms of 
 ticket count? Would be interesting to know what setup including plugins 
 installed works, and to know some known performance figures. 


 Good eye. It would be quite interesting to know more details about this 
 setup.

 After giving this some more thought, I think the problem is most likely 
 that the user hasn't done a `trac-admin $env deploy /deploy/to/path`, as 
 described in

 Hello,

 Thank you

 cd .apache
 mv eggs old_eggs
 mkdir eggs
 chown www-data:www-data eggs


 I hadn't considered that removing the egg cache could be needed, but I 
 suppose that is worth keeping in mind. I wonder if you could have just 
 re-started your webserver to achieve the same end.



No. That did not resolve it. I have restarted multiple times. I presume 
cache made a tmp egg that even do it was python2.6 version was somehow 
interfering with the new trac and python2.7.


 

  

 I moved it just to make sure I don't lose what is in there but I'm pretty 
 sure I could have deleted tmp eggs in there and have apache regenerate them.
 This has fixed my problem.

 As far as our trac:
 Yes 817K tickets and going.
 Server: AMD Opteron(tm) Processor 6128 16core
 1.5TB XFS (ext3 has a 32000 subfolder limit)
 16GB of ram

 Performance is ok...as things grow we got this above server. It looks 
 like we will need to make more changes. The only real performance issue is 
 the custom fields being as BLOB or TEXT which mysql cannot cache/keep in 
 memory. So when you search the whole 817K tickets for custom_number= 123456 
 it takes about 3 seconds now. 


 Are you using an plugins?
  

 The new issue that is coming up in this version is that they have to 
 click modify on order to close ticket which is more clicks they they used 
 to have to do in 0.11.


 The collapsed modify section seems to be hotly debated [1]. I'm pretty 
 sure you could add a bit of JavaScript to your site customizations to show 
 the #modify div on page load [2].

 [1] http://trac.edgewall.org/ticket/9807 
 [2] 
 http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance


 
http://trac.edgewall.org/ticket/9807#comment:18 

I'll try the updated site.html.

Thank you
Lucas
http://trac.edgewall.org/ticket/9807#comment:18 

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Upgrade to 0.12.3 and custom views

2013-06-26 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26.06.2013 22:34, Lukasz Szybalski wrote:
 Hello,
 
 We recently upgrade to 0.12.3 (Debian 7).
 
 1. Is there a way to default that modify tab is ALWAYS OPEN? This
 really slows down the processing time for people who watch incoming new
 tickets and assign them out to proper milestones? Can I overwrite that
 somewhere in code if there is not setting for it?

Just been discussed and pointed out by Ryan here:

http://trac.edgewall.org/ticket/9807#comment:18

 Also less critical :
 
 A). Is there a way to remove the preview. We either get PDF or TIFF
 files in one of the trac instances we setup. PDF has no preview so you
 need download in original format anyway, and TIFF files have multiple
 pages which the preview does not show. When people click on the
 attachment I want them to go straight into download in original format?
 What part of the trac would this be in so I can customize the link?
 ( I know there is a download arrow next to attachment name but that does
 not work in firefox 20+, and a lot of people don't see it). 

See PdfRedirectorPlugin [1], should be possible to do/customize for
other extensions too.

 B)  Is there a plugin that would allow displaying show under each
 result: attachments. Similar how  Show under each result: Description
 gives you description..I want to show attachments so that you can click
 on them while you are in the query.

I see your point, but have not recognized something like that in
existing hacks, at least not at trac-hacks.org yet. But extending each
ticket match in query by querying for attachments of that ticket and
display matches as a list with links pointing at that attachments sounds
like a doable task.

Got some development foo and time? I see this way to get what you want:

Using the IRequestFilter [2] extension interface to catch calls to
'/query', maybe check for results (matching tickets), before kicking in
at all,
iterate over results and query each ticket for associated attachments,
extend the data object, that will be passed on by a list of matching files,
implant a Genshi fragment containing generator code with
ITemplateStreamFilter [3] to render that list(s) as a linked list per
ticket row in trac/ticket/templates/query_results.html.

Once done, name it TicketQueryAttachmentListPlugin or similar. :-)

Steffen Hoffmann


[1] http://trac-hacks.org/wiki/PdfRedirectorPlugin
[2]
http://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.web.api.IRequestFilter
[3]
http://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.web.api.ITemplateStreamFilter
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlHLaCgACgkQ31DJeiZFuHebNQCgwIP5NJAjMbVvsH/4fFbMCS9m
MycAn3bUHUhGtmdwG3DsURTS+TU84REY
=ezrK
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Thanks: [Trac] Re: trac release notes system

2013-06-26 Thread Mike Dewhirst

On 27/06/2013 3:47am, RjOllos wrote:

On Monday, June 24, 2013 6:35:09 AM UTC-7, Mike Dewhirst wrote:

I really like the release notes page ...

http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.0
http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.0

... and I would love to be able to do something similar if not
identical
for my own project.

How did you set that up?


If you scroll to the bottom of the page, there is a link:

Download in other formats:
Plain Text

Viewing the page in plain text will allow you to see the markup used on
the page, including the macro calls.


That is magic! I would never have found the time to figure all that out.

Thank you for sharing ... :-)

Cheers

Mike





--
You received this message because you are subscribed to the Google
Groups Trac Users group.
To unsubscribe from this group and stop receiving emails from it, send
an email to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Thanks: [Trac] Re: trac release notes system

2013-06-26 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 27.06.2013 00:41, Mike Dewhirst wrote:
 That is magic! I would never have found the time to figure all that out.

Actually the way Trac just works - liking it too.

Steffen Hoffmann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlHLcLIACgkQ31DJeiZFuHfIHwCgz1dLpQsmWif7TM1zi/SnBcEN
VVkAoNGpCIulsYFecvNss4MHSkLM2XbM
=Zk5N
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Thanks: [Trac] Re: trac release notes system

2013-06-26 Thread Benjamin Lau
This sort of stuff is what makes Trac better than all other systems of
its kind, IMHO.

And writing additional macros is so damn easy. :-) So when it doesn't
do something you need it isn't that hard to coax it to do it.

Ben

On Wed, Jun 26, 2013 at 6:52 PM, Steffen Hoffmann hoff...@web.de wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 27.06.2013 00:41, Mike Dewhirst wrote:
 That is magic! I would never have found the time to figure all that out.

 Actually the way Trac just works - liking it too.

 Steffen Hoffmann
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAlHLcLIACgkQ31DJeiZFuHfIHwCgz1dLpQsmWif7TM1zi/SnBcEN
 VVkAoNGpCIulsYFecvNss4MHSkLM2XbM
 =Zk5N
 -END PGP SIGNATURE-

 --
 You received this message because you are subscribed to the Google Groups 
 Trac Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to trac-users+unsubscr...@googlegroups.com.
 To post to this group, send email to trac-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Install and Settings email2trac - Not user friendly(IMHO)

2013-06-26 Thread ivanelson
Martin,

Your solution solved my problem. The plugin is installed, configured and 
Ticket are created. 

I just can not define default values for the Ticket.

[DEFAULT]
 project: /var/trac/projects/bananasoft
 ticket_permission_system: update_restricted_to_participants
 debug: 1
 black_list: MAILER-DAEMON@
 drop_spam : 1
 drop_alternative_html_version: 1
 email_quote: 
 html2text_cmd:
 ignore_trac_user_settings: 0
 inline_properties: 1
 inline_properties_first_wins: 1
 reply_all : 0
 spam_level: 5
 strip_quotes: 0
 strip_signature: 0
 ticket_update: 1
 ticket_update_by_subject: 1
 ticket_update_by_subject_lookback: 30
 umask: 022
 verbatim_format: 1
 log_type: file
 log_file: /tmp/email2trac.log

 

 [bananasoft]
 default_component : TRAC
 default_keywords  : ServiceDesk
 default_priority  : Alta
 default_severity  : Normal
 default_type  : Triagem



My /etc/aliaes 

# Other aliases
 bananasoft: |/usr/bin/email2trac --project=bananasoft


See I'm using email2trac instead of run_email2trac

Thanks.
 

Em quarta-feira, 26 de junho de 2013 07h11min03s UTC-3, W. Martin Borgert 
escreveu:

 Quoting Ivanelson Nunes ivanels...@gmail.com javascript:: 
  I did the installation and configuration by following this [1]site. 
  
  My problem is that I do not understand where I set up a mail account 
 that 
  will receive the messages. And say where these messages should be a 
 Ticket? 
  
  Now do not get it where I can configure the e-mail that will receive the 
  messages and then create the new ticket. 
  
  My OS is Ubuntu 12.10 and Trac 1.0. I've tried to configure Postfix and 
  Fetchmail. 
  
  Still do not understand how to configure the MTA :( 

 The important points are: 

 1. You need an IMAP(S) server (or POP). 
 I can't help you with this issue, sorry. 

 2. You need to fetch the mail from IMAP(S)/POP and forward it to 
 email2trac. I do this using a cron job (every two minutes) using 
 getmail4. 

 A. For security reasons, I have a user myticketuser (disabled 
password, no login possible), whos cron entry is: 

 */2 * * * * /usr/bin/getmail  /dev/null 

 B. This user has the following ~/.getmail/getmailrc: 

 [retriever] 
 type = SimpleIMAPSSLRetriever 
 server = imap.myimapserver.com 
 username = myticketmail 
 password = WHATEVER 
 mailboxes = (INBOX,) 
 move_on_delete = Trash 

 [destination] 
 type = MDA_external 
 path = /usr/bin/sudo 
 arguments = (-u, www-data, /usr/bin/email2trac) 

 [options] 
 delete = True 
 verbose = 2 

 www-data is the user name of the Trac process. 

 This way, all mail to mytick...@whateveryouhave.com javascript: 
 create 
 Trac tickets. 

 HTH. 



-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.