[rt-users] Can't add multiple attachments on reply

2014-10-02 Thread andriusk
I can't add multiple attachments on reply ticket page. If I try to add
another file, it replaces the one I attached before.

Logs show no unusual errors.



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Can-t-add-multiple-attachments-on-reply-tp58683.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Can't add multiple attachments on reply

2014-10-02 Thread Alex Peters
What exactly are you clicking after you add one file?

Are you clicking Add More Files between multiple clicks of Choose File?

On 2 October 2014 17:43, andriusk andrius.kul...@gmail.com wrote:

 I can't add multiple attachments on reply ticket page. If I try to add
 another file, it replaces the one I attached before.

 Logs show no unusual errors.



 --
 View this message in context:
 http://requesttracker.8502.n7.nabble.com/Can-t-add-multiple-attachments-on-reply-tp58683.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.
 --
 RT Training November 4  5 Los Angeles
 http://bestpractical.com/training

-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Can't add multiple attachments on reply

2014-10-02 Thread andriusk
I click reply on ticket menu.

I click Choose a File

I click Add More Files (the page refresh and I see the file I choosen in
Attached file: with checkbox for deletion)

I click Choose a File (to add another file)

I click Add More Files (the page refresh and I see the file I choosen in
Attached file: with checkbox for deletion, but the old file is gone)



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Can-t-add-multiple-attachments-on-reply-tp58683p58685.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Can't add multiple attachments on reply

2014-10-02 Thread Alex Peters
Thanks for confirming.  Interestingly, another user had the same problem
with RT v4.2.6:

http://requesttracker.8502.n7.nabble.com/RT-4-2-6-Cannot-attach-multiple-attachments-when-opening-tickets-td58369.html

Unfortunately though, no resolution was announced.  Going off what was
discussed, possibly flushing all of the session data might help.

On 2 October 2014 17:51, andriusk andrius.kul...@gmail.com wrote:

 I click reply on ticket menu.

 I click Choose a File

 I click Add More Files (the page refresh and I see the file I choosen in
 Attached file: with checkbox for deletion)

 I click Choose a File (to add another file)

 I click Add More Files (the page refresh and I see the file I choosen in
 Attached file: with checkbox for deletion, but the old file is gone)



 --
 View this message in context:
 http://requesttracker.8502.n7.nabble.com/Can-t-add-multiple-attachments-on-reply-tp58683p58685.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.
 --
 RT Training November 4  5 Los Angeles
 http://bestpractical.com/training

-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Can't add multiple attachments on reply

2014-10-02 Thread andriusk
How can I flush all session data? Truncate sessions table?



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Can-t-add-multiple-attachments-on-reply-tp58683p58687.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Can't add multiple attachments on reply

2014-10-02 Thread andriusk
Hmm, no help from this.

I get this not working on reply action, on creation of ticket I can add
multiple files



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Can-t-add-multiple-attachments-on-reply-tp58683p58689.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Can't add multiple attachments on reply

2014-10-02 Thread andriusk

What is more, after the file is replaced by the second selected file, the
attachment is not added to the ticket at all



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Can-t-add-multiple-attachments-on-reply-tp58683p58690.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] GPG Encryption on Queues

2014-10-02 Thread Ricky Burgin
Has anybody gotten this to work? Any more documentation anywhere,
official or unofficial? The stuff I've read does not seem to cover
deployment very comprehensively. Got as far as adding a key to the RT
keychain, but mails with PGP content don't seem to get processed, even
when you add the appropriate config for mail as displayed in the
documentation.



signature.asc
Description: OpenPGP digital signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] GPG Encryption on Queues

2014-10-02 Thread Joop
On 2-10-2014 15:24, Ricky Burgin wrote:
 Has anybody gotten this to work? Any more documentation anywhere,
 official or unofficial? The stuff I've read does not seem to cover
 deployment very comprehensively. Got as far as adding a key to the RT
 keychain, but mails with PGP content don't seem to get processed, even
 when you add the appropriate config for mail as displayed in the
 documentation.

I got it to work. It involved some work but most because I'm not
familiar with pgp. Can't get at the server at the moment but will dig it
up if I can. If you don't hear from me then yell at me :-)


-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Can't add multiple attachments on reply

2014-10-02 Thread Kevin Falcone
On Thu, Oct 02, 2014 at 05:55:31PM +1000, Alex Peters wrote:
 Thanks for confirming.  Interestingly, another user had the same problem with
 RT v4.2.6:
 
 [1]http://requesttracker.8502.n7.nabble.com/
 RT-4-2-6-Cannot-attach-multiple-attachments-when-opening-tickets-td58369.html
 
 Unfortunately though, no resolution was announced.  Going off what was
 discussed, possibly flushing all of the session data might help.

Actually, I never suggested flushing session data.  I suggested there
might be a problem with their session store.

However, I did ask if it was replicable on issues.bestpractical.com or
demo.bestpractical.com.  It was not.

Without a replication strategy we can follow, we really cannot debug
something like this.

-kevin


pgpL0WHjH_Qzh.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Pg, full-text indexing, getting search misses

2014-10-02 Thread Kevin Falcone
On Wed, Oct 01, 2014 at 03:37:25PM -0400, Jeff Blaine wrote:
 RT 4.2.5
 PostgreSQL 8.4 from RHEL 6.x
 In production, working fine in general
 
 1. Ticket 100 contained (as text/plain) the string 'f...@bar.com'
 2. Ticket 100 was merged into ticket 999
 3. rt-fulltext-indexer *has run* (it runs every 10 minutes)
 4. rt-fulltext-indexer --all --debug has no output
 
 PROBLEM:
 
 This web UI search does not return ticket 999
 
 [Content] [matches][f...@bar.com]
 
 Any thoughts? Bug to report?

Does it return other tickets and not 999, or does it return no
tickets.

-kevin


pgpazkr35WQ8g.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Combobox not rendered and working correctly

2014-10-02 Thread Kevin Falcone
On Wed, Oct 01, 2014 at 03:14:49AM -0700, andriusk wrote:
 Hello, was this fixed? I only need a commit for this fix.

I see no branch tied to that ticket, which will happen whenever
someone pushes a branch to fix it.

-kevin


pgpq6IN48jd8D.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] NoAuth CSS redirected to the current defaultpage?

2014-10-02 Thread Kevin Falcone
On Wed, Oct 01, 2014 at 02:59:59PM +0200, Marc Chantreux wrote:
 hello, 
 
 i'm trying to run rt-server.fcgi via nginx with the following
 configuration. I can load the first page without any CSS.

Have you tried the nginx config documented in RT first, before moving
on to the custom one?

http://bestpractical.com/docs/rt/latest/web_deployment.html#nginx

However, nginx is not my specialty, so I'm unlikely to be able to help
debug further.

-kevin


pgpEBI1XtpLyK.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] GPG Encryption on Queues

2014-10-02 Thread Ricky Burgin
Hi Kevin,

On 02/10/14 15:54, Kevin Falcone wrote:
 On Thu, Oct 02, 2014 at 02:24:39PM +0100, Ricky Burgin wrote:
 Has anybody gotten this to work? Any more documentation anywhere,
 official or unofficial? The stuff I've read does not seem to cover
 deployment very comprehensively. Got as far as adding a key to the RT
 keychain, but mails with PGP content don't seem to get processed, even
 when you add the appropriate config for mail as displayed in the
 documentation.
 What version of RT.
4.0.8
 What's your configuration.

 What have you got in %Crypt and %GnuPG according to the System
 Configuration page.
GnuPG   {
  'RejectOnBadData' = 1,
  'Enable' = 1,
  'RejectOnMissingPrivateKey' = 1,
  'AllowEncryptDataInDB' = 0,
  'OutgoingMessagesFormat' = 'RFC'
}


Nothing showing for Crypt.

 What's in your logs set to debug while processing an email?
Don't have this to hand right now. Will grab these asap.

 GPG is pretty straightforward to set up, but you've not given us many
 details to debug your setup.

 -kevin




signature.asc
Description: OpenPGP digital signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Scrip to modify a ticket's text content?

2014-10-02 Thread Kevin Falcone
On Mon, Sep 29, 2014 at 05:27:17AM -0700, fleon wrote:
 We are using Exchange 2007 and tickets get created just fine by using
 Exchange's smarthost feature.
 The issue is that we have set some of that disclaimers that get added to
 every email, and sadly 2007 doesn't seem to have an option to remove the
 disclaimer as an exception for an specific recipient, so i am guessing i may
 be able to do it with a scrip.

Scrips run after the transaction is recorded.

You'd be better served stripping this before the mail is recorded,
before it got to rt-mailgate.

While you could do it in the mail gateway of RT (and we've refactored
that heavily and backported some of those changes as a plugin), these
are changes you want to do before things are saved to the database,
not after.

-kevin


pgpUFqkmS0Dic.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] '.' as delimiter/boundary breaks domain name searches

2014-10-02 Thread k...@rice.edu
On Thu, Oct 02, 2014 at 10:56:56AM -0400, Kevin Falcone wrote:
 On Wed, Oct 01, 2014 at 03:50:43PM -0400, Jeff Blaine wrote:
  [ Similar, but unrelated to my other message from 10 minutes ago. ]
  
  It appears any '.' is interpreted as a word boundary with
  Pg full-text indexing turned on.
  
  Is that known to be true, or am I wrong?
  
  This breaks searches for FQDNs names in ticket contents.
  
  Searching for 'foobar' will hit foobar.org
  
  Searching for 'foobar.org' will not hit 'foobar.org'
 
 What FTS will match/return is dictated by your database and its
 configuration.
 
 Have you reviewed the Postgres full text search documentation for your
 release of Pg?
 
 http://www.postgresql.org/docs/8.4/static/textsearch.html
 
 -kevin


Wow! PostgreSQL 8.4, 4 major releases back! I cannot be certain that I
am recalling this correctly, but the default parser in older versions
of PostgreSQL did have that behavior. I do not know when they made the
change to fix it. What do you get when you run:

rt3=# select plainto_tsquery('rice.edu');
 plainto_tsquery 
-
 'rice.edu'
(1 row)

I seem to recall that in the older version when I saw this issue, it
returned:

 plainto_tsquery
-
 'rice'  'edu'

You may be able to make a custom config for your text search using
the definitions from the current release. I just ended up searching
for 'rice' instead of 'rice.edu', for example.

Regards,
Ken
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] [rt-announce] Security vulnerability in RT 4.2.x - CVE-2014-7227

2014-10-02 Thread Alex Vandiver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

We have discovered a security vulnerability in RT 4.2.x, detailed below.
We are releasing RT version 4.2.8 to resolve this vulnerability, as well
as patches which apply atop all released versions of 4.2.

RT 4.2.0 and above may be vulnerable to arbitrary execution of code by
way of CVE-2014-7169, CVE-2014-7186, CVE-2014-7187, CVE-2014-6277, or
CVE-2014-6271 -- collectively known as Shellshock.  This vulnerability
requires a privileged user with access to an RT instance running with
SMIME integration enabled; it applies to both mod_perl and fastcgi
deployments.  If you have already taken upgrades to bash to resolve
Shellshock, you are protected from this vulnerability in RT, and there
is no need to apply this patch.  This vulnerability has been assigned
CVE-2014-7227.

As there is no SMIME integration available for RT 4.0, it is not
vulnerable to this attack.  The RT-Crypt-SMIME extension for RT 3.6.0,
while also vulnerable, is no longer supported.

Patches for all releases of 4.2.x are available for download below.
Versions of RT older than 4.0.0 are unsupported and do not receive
security patches; please contact sa...@bestpractical.com if you need
assistance with an older RT version.

http://download.bestpractical.com/pub/rt/release/security-2014-10-02.tar.gz
http://download.bestpractical.com/pub/rt/release/security-2014-10-02.tar.gz.asc

694483fe6595bdbb8d98285d7e2f9eeafeb511da  security-2014-10-02.tar.gz
0f7c1baa0262833dbed6549e43d2554abd3c2e77  security-2014-10-02.tar.gz.asc

The README in the tarball contains instructions for applying the
patches.  If you need help resolving this issue locally, we will provide
discounted pricing for single-incident support; please contact us at
sa...@bestpractical.com for more information.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlQtdqcACgkQMflWJZZAbqDJ/wCgjaP6qbP0wdgGGYyvMWJDSKb7
FWcAniXypUZ+fMni2yc+96HAgCpnU62+
=EHkb
-END PGP SIGNATURE-
___
rt-announce mailing list
rt-annou...@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] [rt-announce] RT 4.2.8 released

2014-10-02 Thread Alex Vandiver
RT 4.2.8 -- 2014-10-02
--

RT 4.2.8 contains important security fixes, as well as minor bugfixes.

http://download.bestpractical.com/pub/rt/release/rt-4.2.8.tar.gz
http://download.bestpractical.com/pub/rt/release/rt-4.2.8.tar.gz.asc

SHA1 sums

6842a1e442e6055ecbae0d443a99361072e45591  rt-4.2.8.tar.gz
375ef344407b54f73730524bef85b4be5b1948e2  rt-4.2.8.tar.gz.asc

This release is primarily a security release; it addresses
CVE-2014-7227, a vulnerability in RT's SMIME integration enabled by
CVE-2015-6271 and related vulnerabilities, known as Shellshock.
Systems which have patched bash are not vulnerable to CVE-2014-7227.

It also addresses a minor error in the 4.2.7 upgrade step on Oracle; for
Oracle users who had already upgraded to 4.2.7, the 4.2.8 upgrade step
properly runs the same alteration.  There is no database change for
non-Oracle installs.


General user UI
 * Properly hide ticket list when MoreAboutRequestorTicketList is set to
   None

Localizations
 * Allow text in Squelch box on ModifyPeople page to be translatable.
 * Updated German, Basque, French, Hungarian, and Russian translations.

Admin
 * Allow $OverrideOutgoingMailFrom to key by queue id, as an alternative
   to name
 * Stop calling the deprecated _SQLLimit method when limiting by
   transaction date
 * Stop hiding the value of the AllowLoginPasswordAutoComplete setting
   in System Configuration (#30417)
 * Resolve CVE-2014-7227, arbitrary execution of code by privileged
   users via SMIME by way of CVE-2015-6271.

Developer
 * Add a ModifyMaxResults callback for Autocomplete endpoints
 * Properly pass collection class to ColumnMap in /Elements/TSVExport

Documentation
 * Update POD for AddRoleMember/DeleteRoleMember being in
   RT::Record::Role::Roles now, not RT::Record.


A complete changelog is available from git by running:
git log rt-4.2.7..rt-4.2.8
or visiting
https://github.com/bestpractical/rt/compare/rt-4.2.7...rt-4.2.8
___
rt-announce mailing list
rt-annou...@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] PriorityAsString : Priority and FinalPriority show unknown

2014-10-02 Thread elifree
Hello, 

I use the extension PriorityAsString on a new RT 4.2.6 (still under testing). 

The settings in RT_SiteConfig : 

Set(%PriorityAsString, (Standard = 50, Moyenne = 80, Haute = 100)); 
Set(@PriorityAsStringOrder, qw(Standard Moyenne Haute)); 

Test 1/ When I create a new ticket, the ticket display page shows : 
Priorité: Standard / Standard 

This is OK. Fine. 

Test 2/ When I create a new ticket by sending a mail to a queue, the ticket 
display page shows : 
Priorité: unknown / unknown 

Then, when I click to modify the ticket, both fields are already set to 
Standard; and when I save, I get confirmation both fields have been changed 
from unknown to 50. 

Why these fields show 'unknown' when ticket is created by mail ? 
By the way, it's the same for InitialPriority, but it is not displayed in the 
ticket. 

Thanks a lot for your help, 
Regards, 
Elisabeth 
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Can't locate object method MailDashboards, post upgrade to 4.2.7

2014-10-02 Thread Adam Thompson

On 14-10-02 09:54 AM, Kevin Falcone wrote:

On Wed, Oct 01, 2014 at 11:43:08AM -0500, Adam Thompson wrote:

I just upgraded a 4.2.3 installation to 4.2.7, and rt-email-dashboards suddenly
broke, and now the cron job emails messages like this to me every hour:


 [1591] [Tue Sep 30 21:00:03 2014] [critical]: Can't locate object method 
MailDashboards via package RT::Dashboard::Mailer at 
/opt/rt4/sbin/rt-email-dashboards line 96. (/opt/rt4/sbin/../lib/RT.pm:393)
 Can't locate object method MailDashboards via package 
RT::Dashboard::Mailer at /opt/rt4/sbin/rt-email-dashboards line 96.


Oddly, running it by hand works just fine - it only fails when invoked from
cron.

Running by hand as root or as the web user or as the user cron runs
as?  Most likely error is permissions.  I've not seen any other
reports of this on 4.2.7.


Running by hand as root, which is who the cron job runs as, too.
However, I think I just found the problem - rebooted the box, and 
encountered massive filesystem corruption.  (And no idea why... oh, yay.)


--
-Adam Thompson
 athom...@athompso.net

--
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] Faster RT via nginx? (Re: NoAuth CSS redirected ...)

2014-10-02 Thread Marc Chantreux
hello,

Kevin, you made my day! thank you! 

On Thu, Oct 02, 2014 at 11:00:47AM -0400, Kevin Falcone wrote:
 Have you tried the nginx config documented in RT first, before moving
 on to the custom one?
 
 http://bestpractical.com/docs/rt/latest/web_deployment.html#nginx

I have to admit i didn't ... but ...  comparing the 2 configs helped me
to catch the problem:

In my file, i wrote:

fastcgi_param SCRIPT_NAME ;
include fastcgi_params;

But fastcgi_params (as provided by debian) set fastcgi_param to
$fastcgi_script_name. this must be overwritten. 

include fastcgi_params;
fastcgi_param SCRIPT_NAME ;

works fine! 

 However, nginx is not my specialty, so I'm unlikely to be able to help
 debug further.

you did it so well. please note that my version use unix domains sockets
so there is no TCP overhead (it's faster and i do believe it spare
ressources).

also, i use upstream so i can add workers in the row:

upstream acme {
server unix:/tmp/rt.acme.sock.1;
server unix:/tmp/rt.acme.sock.2;
server unix:/tmp/rt.acme.sock.3;
}

however, i don't know if RT can handle more than one server of the
same instance in the same machine. also, i don't know if it could help
to serve more page.

experimenting this is on my todolist but every comment is welcome.

again, thanks for helping  

regards
-- 
Marc Chantreux,
Mes coordonnées: http://annuaire.unistra.fr/chercher?n=chantreux
Direction Informatique, Université de Strasbourg (http://unistra.fr) 
Service Métiers, Pôle Outils Collaboratifs
Don't believe everything you read on the Internet
-- Abraham Lincoln
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Tickets Resolved By

2014-10-02 Thread Jeremy Mates
* Guy Baxter gmbax...@gmail.com
 Is there any way to return the number of tickets resolved by a user within
 a time range?

RT::Extension::ActivityReports might be worth a look, it was handy to answer
some how-many-tickets-resolved questions that came up.
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] DBD::Pg::st execute failed: ERROR: duplicate key value violates unique constraint articles_pkey at [...]/DBIx/SearchBuilder/Handle.pm

2014-10-02 Thread Lee Damon
On 10/1/14, 07:43 , Joop van de Wege wrote:
 Do you think it would be safe to just set articles_id_seq to 242?

I tried alter sequence articles_id_seq restart with 242; and the
result changed.

Now an article is created but the body is empty (no matter how much I
typed into it). If I go back and modify the article I can successfully
add a body.

Nothing is logged to /var/log/httpd/error_log this time.

(One note, I've taken the opportunity to update from 4.2.7 to 4.2.8.)

nomad
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] PriorityAsString : Priority and FinalPriority show unknown

2014-10-02 Thread Alex Peters
In the queue's settings, have you set a default initial priority of 50?
On 03/10/2014 2:50 am, elif...@free.fr wrote:

 Hello,

 I use the extension PriorityAsString on a new RT 4.2.6 (still under
 testing).

 The settings in RT_SiteConfig :

 Set(%PriorityAsString, (Standard = 50, Moyenne = 80, Haute = 100));
 Set(@PriorityAsStringOrder, qw(Standard Moyenne Haute));

 Test 1/ When I create a new ticket, the ticket display page shows :
   Priorité: Standard/Standard

 This is OK. Fine.

 Test 2/ When I create a new ticket by sending a mail to a queue, the
 ticket display page shows :
   Priorité: unknown/unknown

 Then, when I click to modify the ticket, both fields are already set to
 Standard; and when I save, I get confirmation both fields have been changed
 from unknown to 50.

 Why these fields show 'unknown' when ticket is created by mail ?
 By the way, it's the same for InitialPriority, but it is not displayed in
 the ticket.

 Thanks a lot for your help,
 Regards,
 Elisabeth

 --
 RT Training November 4  5 Los Angeles
 http://bestpractical.com/training


-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training