Re: [rt-users] [phish?] Re: clarification on callbacks

2016-10-12 Thread Matt Zagrabelny
On Wed, Oct 12, 2016 at 8:44 PM, Alex Hall wrote: > >> You would use local versions of the Mason components. RT doesn't (at >> this point) have that modular or dynamic of an architecture. > > I hoped you weren't going to say that. :) I was looking earlier, to find > where exactly the download/wit

Re: [rt-users] [phish?] Re: clarification on callbacks

2016-10-12 Thread Alex Hall
> On Oct 12, 2016, at 21:37, Matt Zagrabelny wrote: > > On Wed, Oct 12, 2016 at 3:53 PM, Alex Hall wrote: >> Callbacks I get now, at least I'm pretty sure I do. I've been reading the >> docs for RT objects, and if I can use any of the properties and methods I've >> found, I can see how plugins

[rt-users] [phish?] Re: clarification on callbacks

2016-10-12 Thread Matt Zagrabelny
On Wed, Oct 12, 2016 at 3:53 PM, Alex Hall wrote: > Callbacks I get now, at least I'm pretty sure I do. I've been reading the > docs for RT objects, and if I can use any of the properties and methods I've > found, I can see how plugins are so powerful. > > My sticking point now is modifying what's

Re: [rt-users] Create ticket via API ignores Requestors field on notify requestors?

2016-10-12 Thread Andrew Ruthven
On Tue, 2016-10-11 at 23:18 -0400, Bill Cole wrote: > On 11 Oct 2016, at 15:58, Andrew Ruthven wrote: > > > Any other suggestions?  I'm kinda grasping at straws here. > > Perhaps you need to make Scrip 22 runs in the "Batch" scrip stage? Hi Bill, Yes, that worked perfectly.  Thanks for the sugg

Re: [rt-users] clarification on callbacks

2016-10-12 Thread Alex Hall
Callbacks I get now, at least I'm pretty sure I do. I've been reading the docs for RT objects, and if I can use any of the properties and methods I've found, I can see how plugins are so powerful. My sticking point now is modifying what's already there. I can remove items from a menu with deleteKe

[rt-users] Downloading attachments via REST

2016-10-12 Thread Thomas Oddsund
Hello, I am currently in the process of writing a script for simple transferring of tickets from one instance to another. Both instances run 4.2.8, and I'm using Python for the script. Unfortunately, I have met a problem when it comes to attachments. The script uses the requests-library, and r

Re: [rt-users] Using self service interface for privileged users in 4.4.1?

2016-10-12 Thread Matt Zagrabelny
On Wed, Oct 12, 2016 at 8:51 AM, Alex Hall wrote: > The below code is great, thank you. I'm trying now to figure out a way to > toggle the interface while staying on the current page, but I'll have to do > more reading first. > > Using callbacks, can I remove items from existing templates? That is

Re: [rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-12 Thread David Schmidt
well, here is one solution that works for me. my $referer = RT::Interface::Web::RequestENV('HTTP_REFERER'); https://github.com/MarkHofstetter/RT-Extension-OneClickClose On 12.10.2016 12:16, David Schmidt wrote: How can I access the referer in a callback? I managed to add the link using this

Re: [rt-users] The role of roles in 4.4

2016-10-12 Thread Jeffrey Pilant
Alex Hall Wrote: >In the release notes for RT 4.4.0, the concept of "roles" is brought up. >The note says: > > * RT now has support for custom roles, along the lines of Requestor, >Owner, >Cc, and AdminCc. These roles can be single-member or multi-member. >Privileges can be assigned to mem

Re: [rt-users] create transaction record

2016-10-12 Thread Bryon Baker
Thanks Bill I should have thought of that, I will pursue one of those options. Thanks Bryon Baker Network Operations Manager Copesan - Specialists in Pest Solutions 800-267-3726 Ext. 2296 * 262-783-6261 Ext. 2296 bba...@copesan.com www.copesan.com "Servicing North America with Local Care" -

Re: [rt-users] Using self service interface for privileged users in 4.4.1?

2016-10-12 Thread Alex Hall
The below code is great, thank you. I'm trying now to figure out a way to toggle the interface while staying on the current page, but I'll have to do more reading first. Using callbacks, can I remove items from existing templates? That is, could I remove the 'Assets' menu item in addition to addin

Re: [rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-12 Thread David Schmidt
How can I access the referer in a callback? I managed to add the link using this callback: file: html/Callbacks/RT-Extension-OneClickClose/Elements/Tabs/Privileged <%ARGS> $Path => undef <%INIT> if ( $Path =~ m!^\/Ticket\/Display\.html! ) { if ( $DECODED_ARGS->{id} && $DECODED_ARGS->{id}

Re: [rt-users] Cannot see changes in UI

2016-10-12 Thread Dimitris Maniadakis via rt-users
--- Begin Message --- Thank you Alex, but I 've already tried that. Not any change appeared! However, the solution is here: https://rt-wiki.bestpractical.com/wiki/CleanMasonCache I had to clear the Mason cache! Dimitris On Tuesday, October 11, 2016 11:35 PM, Alex Hall wrote: At a guess, I'd

Re: [rt-users] Using self service interface for privileged users in 4.4.1?

2016-10-12 Thread Emmanuel Lacour
Le 11/10/2016 à 20:11, Matt Zagrabelny a écrit : > On Tue, Oct 11, 2016 at 8:05 AM, Alex Hall wrote: >> Hello list, >> I have 4.4.1 running. Someone said on this list that it included the option >> to use the self service interface, even for privileged users? I don't see >> that option in my user