[rt-users] MarkDown Support in RT

2016-05-17 Thread Alex Jironkin
Hi,

I was wondering if markdown support is on the cards for RT? It’s popular and 
fairly lightweight.



Alex


If we knew what we were doing, it wouldn't be called research, would it?
   -- Albert Einstein



signature.asc
Description: Message signed with OpenPGP using GPGMail
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] MarkDown Support in RT

2016-05-17 Thread Jim Brandt

Hi Alex,

It's a possibility. Can you elaborate on how you would like to see 
markdown support added? That is, where and how would you like to use it?


Jim

On 5/17/16 6:25 AM, Alex Jironkin wrote:

Hi,

I was wondering if markdown support is on the cards for RT? It’s popular and 
fairly lightweight.



Alex


If we knew what we were doing, it wouldn't be called research, would it?
   -- Albert Einstein



-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] Problems with status changing scrip

2016-05-17 Thread Jim Brandt

Hi Zoey,

Glad you were able to get it working. And thank you (and all others who 
do so) for sharing the working solution with the list. It definitely 
helps people in the future with a similar use case.


Jim

On 5/16/16 5:03 PM, Zoey Schutt wrote:

I ended up fixing the problem myself. The functioning scrip is below for
anyone that would like to use it.


Scrip Name: Set ticket to active upon customer reply

Condition: On Correspond

Action: User Defined

Template: Blank


Custom action preparation code:

return 1;


Custom action commit code:


my $Actor = $self->TransactionObj->Creator;

my $Owner = $self->TicketObj->Owner;

# Change status to "open" if status is "customer"

if( $Owner != $Actor ) {

if ($self->TicketObj->Status() eq 'customer' ) {

$self->TicketObj->SetStatus('open');

$RT::Logger->info("Customer replied to ticket awaiting reply. Status
set to open.");

return 1;

}

return undef;

}

return undef;


RT Information:


RT 4.2.12

Perl v5.14.2 built for x86_64-linux-gnu-thread-multi

Apache 2.2.22

PHP 5.5.33-1~dotdeb+7.1

MySQL Ver 14.14 Distrib 5.5.49




Zoey Schutt

Braincoral Technology, LLC




*From:* rt-users  on behalf of
Zoey Schutt 
*Sent:* Monday, May 16, 2016 8:36 AM
*To:* rt-users@lists.bestpractical.com
*Subject:* [rt-users] Problems with status changing scrip


Hello,


I am working on a scrip to auto-change the status of a ticket if it is
set to "customer" status. However, I do not want the ticket to change
status if the user who is replying to the ticket is the owner. I managed
to get the status changing properly, but as soon as I try to setup the
condition it no longer works. Could someone look this over for me and
tell me where I'm messing up?


Condition: On Correspond

Action: User Defined

Template: Blank


Custom action preparation code:

return 1;


Custom action commit code:

# Abort if actor is owner of ticket
return 1 unless $self->TicketObj->Owner != $actor->id;

# Change status to "open" if status is "customer"
if ($self->TicketObj->Status() eq 'customer' ) {
$self->TicketObj->SetStatus('open');
$RT::Logger->info("Customer replied to ticket awaiting reply. Status
set to open.");
return 1;
}
return undef;


RT Information:


RT 4.2.12

Perl v5.14.2 built for x86_64-linux-gnu-thread-multi

Apache 2.2.22

PHP 5.5.33-1~dotdeb+7.1

MySQL Ver 14.14 Distrib 5.5.49


Thanks,


Zoey Schutt

Braincoral Technology, LLC



-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] MarkDown Support in RT

2016-05-17 Thread Alex Jironkin
Hi,


Sure. At the moment (in our use case) it’s hard to tell the difference between 
code snippets/comments/stack traces in the body of the message/comment. It’s 
all sort of merges into dense text. It’s also useful to have list for tasks to 
do, or to outline summary. All to break down the flow into more visual sections.

Basically, highlight different parts of the message body to stand apart from 
other parts. Currently, I think the only highlight that is supported is quoted 
text.

This is essentially the same use case as github’s issues, but with the 
additional tracker capabilities, queues and all the goodness of the RT.


Alex



If we knew what we were doing, it wouldn't be called research, would it?
   -- Albert Einstein

> On 17 May 2016, at 14:06, Jim Brandt  wrote:
> 
> Hi Alex,
> 
> It's a possibility. Can you elaborate on how you would like to see markdown 
> support added? That is, where and how would you like to use it?
> 
> Jim
> 
> On 5/17/16 6:25 AM, Alex Jironkin wrote:
>> Hi,
>> 
>> I was wondering if markdown support is on the cards for RT? It’s popular and 
>> fairly lightweight.
>> 
>> 
>> 
>> Alex
>> 
>> 
>> If we knew what we were doing, it wouldn't be called research, would it?
>>   -- Albert Einstein
>> 
>> 
>> 
>> -
>> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
>> * Washington DC - May 23 & 24, 2016
>> 
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Washington DC - May 23 & 24, 2016



signature.asc
Description: Message signed with OpenPGP using GPGMail
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] SSO (Single Sign-On) for RT

2016-05-17 Thread t s
Anyone have any direction on how to set up SSO for RT for Windows Active 
Directory?


I am currently in the middle of following this set of directions from a 
SafeSquid app 
(https://www.safesquid.com/content-filtering/integrating-linux-host-windows-ad-kerberos-sso-authentication)
 that seems like it would mostly apply to set up the service principals, user 
accounts, etc.  This seems like the best set of directions I could find, unless 
anyone knows of any that are better?  Most sites seem to assume Kerberos is 
already set up and working with the appropriate permissions.

[https://www.safesquid.com/sites/default/files/swg-16-9W_1.png]

Integrating a Linux Host with a Windows AD for Kerberos 
...
www.safesquid.com
Validate that IP of all our systems are resolvable by our DNS provider. Add the 
Linux host safesquid1 as a New Host in the DNS server's configuration such that 
it's ...



And I am using:


Set($WebExternalAuth , 1);
Set($WebFallbackToInternalAuth , undef);
Set($WebExternalGecos , undef);
Set($WebExternalAuto , undef);

with the ExternalAuth extension.


Also using nginx with mod_auth_kerb.


Thanks,

ts
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] SSO (Single Sign-On) for RT

2016-05-17 Thread Lush, Aaron
Which version of RT are you running?

Sincerely,

Aaron Lush
Network Administrator
South Central Community School Corporation
(219) 767-2266 ext. 

On Tue, May 17, 2016 at 12:06 PM, t s  wrote:

> Anyone have any direction on how to set up SSO for RT for Windows Active
> Directory?
>
>
> I am currently in the middle of following this set of directions from a
> SafeSquid app (
> https://www.safesquid.com/content-filtering/integrating-linux-host-windows-ad-kerberos-sso-authentication)
>  that
> seems like it would mostly apply to set up the service principals, user
> accounts, etc.  This seems like the best set of directions I could find,
> unless anyone knows of any that are better?  Most sites seem to assume
> Kerberos is already set up and working with the appropriate permissions.
>
>
> 
> Integrating a Linux Host with a Windows AD for Kerberos ...
> 
> www.safesquid.com
> Validate that IP of all our systems are resolvable by our DNS provider.
> Add the Linux host safesquid1 as a New Host in the DNS server's
> configuration such that it's ...
>
>
> And I am using:
>
>
> Set($WebExternalAuth , 1);
> Set($WebFallbackToInternalAuth , undef);
> Set($WebExternalGecos , undef);
> Set($WebExternalAuto , undef);
>
> with the ExternalAuth extension.
>
>
> Also using nginx with mod_auth_kerb.
>
>
> Thanks,
>
> ts
>
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Washington DC - May 23 & 24, 2016
>
>

-- 
Email Confidentiality Notice: This email message, including all 
attachments, is for the sole use of the intended recipient(s) and contains 
confidential information. If you are not the intended recipient, you may 
not use, disclose, print, copy or disseminate this information. Please 
reply and notify the sender, delete the message and any attachments and 
destroy all copies. 
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] SSO (Single Sign-On) for RT

2016-05-17 Thread t s
4.2

--- Original Message ---

From: "Lush, Aaron" 
Sent: May 17, 2016 1:15 PM
To: "t s" 
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] SSO (Single Sign-On) for RT



Which version of RT are you running?

Sincerely,

Aaron Lush
Network Administrator
South Central Community School Corporation
(219) 767-2266 ext. 

On Tue, May 17, 2016 at 12:06 PM, t s 
> wrote:

Anyone have any direction on how to set up SSO for RT for Windows Active 
Directory?


I am currently in the middle of following this set of directions from a 
SafeSquid app 
(https://www.safesquid.com/content-filtering/integrating-linux-host-windows-ad-kerberos-sso-authentication)
 that seems like it would mostly apply to set up the service principals, user 
accounts, etc.  This seems like the best set of directions I could find, unless 
anyone knows of any that are better?  Most sites seem to assume Kerberos is 
already set up and working with the appropriate permissions.

[https://www.safesquid.com/sites/default/files/swg-16-9W_1.png]

Integrating a Linux Host with a Windows AD for Kerberos 
...
www.safesquid.com
Validate that IP of all our systems are resolvable by our DNS provider. Add the 
Linux host safesquid1 as a New Host in the DNS server's configuration such that 
it's ...



And I am using:


Set($WebExternalAuth , 1);
Set($WebFallbackToInternalAuth , undef);
Set($WebExternalGecos , undef);
Set($WebExternalAuto , undef);

with the ExternalAuth extension.


Also using nginx with mod_auth_kerb.


Thanks,

ts

-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016



Email Confidentiality Notice: This email message, including all attachments, is 
for the sole use of the intended recipient(s) and contains confidential 
information. If you are not the intended recipient, you may not use, disclose, 
print, copy or disseminate this information. Please reply and notify the 
sender, delete the message and any attachments and destroy all copies.
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] Groupby and Calculate via REST (help)

2016-05-17 Thread Satyajeet Singh
Dear All,

Is there any way I can use groupby and calculate features for searches via
REST API on 4.4 ?

Thanks a lot for your replies.
--
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016