[Trac] Re: Newbie Question, Create custom button to send email
On Friday, January 15, 2016 at 7:34:10 AM UTC-8, Hanz wrote: > > Hi, > > Is there any way i can add a custom button into trac that will allow the > user to send out an email based on a template? > > One way it could work is if the user presses a button to send out an > email, it opens up a existing template in outlook. > > Ideally, i'd like it to work so when the user presses the button to send > an email, it reads certain information from the ticket and fills in a > existing email template ready for the user to just click send. > > Any help would be greatly appreciated. > I didn't find anything searching on trac-hacks.org, but you could take a look yourself in case I missed something: https://trac-hacks.org/tags/notification?wiki=on https://trac-hacks.org/tags/email?wiki=on - Ryan -- 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: newbie Question
Joe, here you have a little micro mini how to. This is the way I've created my own sites. SOFTWARE trac/sqlite/apache without svn I supose you've create a user called trac CREATE DIRECTORY create project directory for example in your /usr/local/trac/myproject CREATE THE ENVIRONMENT run command: trac-admin path to project initenv default options are OK to sqlite MAIL NOTIFICATION to enable mailing your notification section into trac.ini must be like this [notification] always_notify_owner = true always_notify_reporter = false always_notify_updater = true mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = your domain smtp_enabled = true smtp_from = [EMAIL PROTECTED] smtp_password = smtp_port = 25 smtp_replyto = [EMAIL PROTECTED] smtp_server = localhost smtp_subject_prefix = __default__ smtp_user = use_public_cc = false use_short_addr = false use_tls = false FILE PERMISSION change the file owner to trac:nobody with command chown. do this to every single file in your project directory tree SETTING TRAC PERMISSIONS remove anonymous user permissions (just for security) trac-admin path to proj permission remove anonymous '*' create the trac users with the htpasswd command you create a trac.htpasswd in your trac root dir. if you have /usr/local/trac, where you create your projects directory, this file must be there. add permissions to trac users trac-admin path to proj permission add user TICKET_ADMIN MILESTONE_ADMIN REPORT_ADMIN WIKI_ADMIN TIMELINE_VIEW SEARCH_VIEW file level permission on db and attachment directories (to access database and upload files) chmod 775 path to proj/db -R chmod 775 path to proj/attachment -R DATA basic data remove standar components from trac trac-admin path to proj component remove component name for example (you can see which components you have with trac-admin /usr/local/trac/slam/ component list) trac-admin /usr/local/trac/slam/ component remove component1 trac-admin /usr/local/trac/slam/ component remove component2 create projects components trac-admin path to proj component add component name owner remove standar milestones trac-admin path to proj milestone remove milestone name create project milestones trac-admin path to proj milestone add component name CHANGE THE WAY YOU CREATE A NEW TICKET change the assign-to to drop down list in trac.ini this var must be true restrict_owner = true De: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de musicman Enviado el: Viernes, 20 de Julio de 2007 12:26 a.m. Para: trac-users@googlegroups.com Asunto: [Trac] Re: newbie Question google htpasswd - you need to set them up so that they have Apache authentication _as well as_ trac auth. And, even though I am using mod_python, I found I still needed to point the scriptAlias at a cgi-bin. cheers L. On 7/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: James, I really am a newbie here ... how do you set up authentication so that the User can Logon ? Using trac-admin permission add , I created user Joe_Dayney and added all of the permissions In the trac.ini , I set property restrict_owner = true expecting to see the radio change to a dropdown with Joe_Dayney as an option ... all I see is somebody So how do you create authentication so that Joe_Dayney can login ? On Jul 19, 4:20 pm, James Guyton [EMAIL PROTECTED] wrote: Silly question but Are you logged in as a user? If you accept the ticket and aren't logged in, it should go to Anonymous. James Guyton (JGU) From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 19, 2007 5:41 PM To: trac-users@googlegroups.com Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Subject: [Trac] newbie Question Hi Folks, Maybe I am missing something in the initial configuration here ? On opening a NEW (status) ticket, trying to get ticket status to change to ASSIGNED to user other than ANONYMOUS. It seems stuck like a toggle, If you ASSIGN to USER ... status changes to NEW If you Change from NEW to ASSIGNED user changes to ANONYMOUS ... Am I missing something simple here ? Best Regards, Joe Joseph H. Dayney Contract Software Engineer Excel Resources AppDev Team 435.755.4278 Office 801.608.1052 Cell 435.755.4210 Fax 801-272-6615 SLC Home [EMAIL PROTECTED] Moore Wallace, An RR Donnelly Company 630 W 1000 N Logan, UT 84321 CONFIDENTIALITY NOTICE: The information contained in this email message is confidential and may be protected from disclosure. Please be aware that any unauthorized use, printing, copying, disclosure or dissemination of this communication
[Trac] Re: newbie Question
Not sure for tracd, but if apache is used: Never ever put your passwords in a file under your DocumentRoot! Apache httpd.conf should contain a rule like Files ~ ^\.ht Order allow,deny Deny from all /Files This means, no body is allowed to read/get file starting with .ht via apache. (Or HTTP requests) So you may use .httracpasswd instead of trac.htpasswd Thanking You, Purnank --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: newbie Question
Silly question but Are you logged in as a user? If you accept the ticket and aren't logged in, it should go to Anonymous. James Guyton (JGU) From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 19, 2007 5:41 PM To: trac-users@googlegroups.com Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Trac] newbie Question Hi Folks, Maybe I am missing something in the initial configuration here ? On opening a NEW (status) ticket, trying to get ticket status to change to ASSIGNED to user other than ANONYMOUS. It seems stuck like a toggle, If you ASSIGN to USER ... status changes to NEW If you Change from NEW to ASSIGNED user changes to ANONYMOUS ... Am I missing something simple here ? Best Regards, Joe Joseph H. Dayney Contract Software Engineer Excel Resources AppDev Team 435.755.4278 Office 801.608.1052 Cell 435.755.4210 Fax 801-272-6615 SLC Home [EMAIL PROTECTED] Moore Wallace, An RR Donnelly Company 630 W 1000 N Logan, UT 84321 CONFIDENTIALITY NOTICE: The information contained in this email message is confidential and may be protected from disclosure. Please be aware that any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. If you think you have received this email message in error, please reply to sender. /font --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: newbie Question
James, I really am a newbie here ... how do you set up authentication so that the User can Logon ? Using trac-admin permission add , I created user Joe_Dayney and added all of the permissions In the trac.ini , I set property restrict_owner = true expecting to see the radio change to a dropdown with Joe_Dayney as an option ... all I see is somebody So how do you create authentication so that Joe_Dayney can login ? On Jul 19, 4:20 pm, James Guyton [EMAIL PROTECTED] wrote: Silly question but Are you logged in as a user? If you accept the ticket and aren't logged in, it should go to Anonymous. James Guyton (JGU) From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 19, 2007 5:41 PM To: trac-users@googlegroups.com Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Trac] newbie Question Hi Folks, Maybe I am missing something in the initial configuration here ? On opening a NEW (status) ticket, trying to get ticket status to change to ASSIGNED to user other than ANONYMOUS. It seems stuck like a toggle, If you ASSIGN to USER ... status changes to NEW If you Change from NEW to ASSIGNED user changes to ANONYMOUS ... Am I missing something simple here ? Best Regards, Joe Joseph H. Dayney Contract Software Engineer Excel Resources AppDev Team 435.755.4278 Office 801.608.1052 Cell 435.755.4210 Fax 801-272-6615 SLC Home [EMAIL PROTECTED] Moore Wallace, An RR Donnelly Company 630 W 1000 N Logan, UT 84321 CONFIDENTIALITY NOTICE: The information contained in this email message is confidential and may be protected from disclosure. Please be aware that any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. If you think you have received this email message in error, please reply to sender. /font --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: newbie Question
google htpasswd - you need to set them up so that they have Apache authentication _as well as_ trac auth. And, even though I am using mod_python, I found I still needed to point the scriptAlias at a cgi-bin. cheers L. On 7/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: James, I really am a newbie here ... how do you set up authentication so that the User can Logon ? Using trac-admin permission add , I created user Joe_Dayney and added all of the permissions In the trac.ini , I set property restrict_owner = true expecting to see the radio change to a dropdown with Joe_Dayney as an option ... all I see is somebody So how do you create authentication so that Joe_Dayney can login ? On Jul 19, 4:20 pm, James Guyton [EMAIL PROTECTED] wrote: Silly question but Are you logged in as a user? If you accept the ticket and aren't logged in, it should go to Anonymous. James Guyton (JGU) From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 19, 2007 5:41 PM To: trac-users@googlegroups.com Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Trac] newbie Question Hi Folks, Maybe I am missing something in the initial configuration here ? On opening a NEW (status) ticket, trying to get ticket status to change to ASSIGNED to user other than ANONYMOUS. It seems stuck like a toggle, If you ASSIGN to USER ... status changes to NEW If you Change from NEW to ASSIGNED user changes to ANONYMOUS ... Am I missing something simple here ? Best Regards, Joe Joseph H. Dayney Contract Software Engineer Excel Resources AppDev Team 435.755.4278 Office 801.608.1052 Cell 435.755.4210 Fax 801-272-6615 SLC Home [EMAIL PROTECTED] Moore Wallace, An RR Donnelly Company 630 W 1000 N Logan, UT 84321 CONFIDENTIALITY NOTICE: The information contained in this email message is confidential and may be protected from disclosure. Please be aware that any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. If you think you have received this email message in error, please reply to sender. /font -- In measure theory (a branch of mathematical analysis), one says that a property holds almost everywhere if the set of elements for which the property does not hold is a null set, i.e. is a set with measure zero. If used for properties of the real numbers, the Lebesgue measure is assumed unless otherwise stated. It is abbreviated a. e.; in older literature one can find p. p. instead, which stands for the equivalent French language phrase presque partout. -- http://en.wikipedia.org/wiki/Almost_everywhere --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---