Re: [rt-users] Custom Field validation extension

2016-06-13 Thread Peter Viskup
Discovered the issue.
The CF Validation string is saved as attribute within the CF
creation/modification. The CF's Validation string showed the old
version of that regexp.
Thus once the CFValidation string is changed, the CF itself (using
this validation string needs) to be assigned with the new string using
the Admin/CF/Modify interface.

-- 
Peter Viskup

On Mon, Jun 13, 2016 at 11:13 AM, Peter Viskup <skupko...@gmail.com> wrote:
> Hello all,
> just extended the CFValidations in
> /opt/rt4/local/html/Admin/CustomFields/Modify.html by
> '(?#Version)^[0-9._\-]+$',
> '(?#Optional Version)^([0-9._\-]+)?$',
>
> Unfortunately the CF input still does not accept string "8.15-1" and
> report "Broken in: Input must match [Optional Version]".
> The Mason cache was cleaned prior the ticket creation.
> Am I doing something wrong?
>
> --
> Peter Viskup
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


[rt-users] Custom Field validation extension

2016-06-13 Thread Peter Viskup
Hello all,
just extended the CFValidations in
/opt/rt4/local/html/Admin/CustomFields/Modify.html by
'(?#Version)^[0-9._\-]+$',
'(?#Optional Version)^([0-9._\-]+)?$',

Unfortunately the CF input still does not accept string "8.15-1" and
report "Broken in: Input must match [Optional Version]".
The Mason cache was cleaned prior the ticket creation.
Am I doing something wrong?

-- 
Peter Viskup
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


Re: [rt-users] Error when initializing database with external auth enabled

2016-05-25 Thread Peter Viskup
Couldn't this be related to RT::Authen::ExternalAuth migration to RT
core since 4.4 version?

https://docs.bestpractical.com/rt/4.4.0/UPGRADING-4.4.html

-- 
Peter

On Wed, May 25, 2016 at 2:26 AM, Bart Bunting  wrote:
>
> Hi there,
>
> I may be just missing something but this is failing miserably for me and
> I am not sure what the correct way to fix it is:
>
> Running rt 4.4.1 rc1 as of today.
>
> The situation is I have external authentication working fine using both
> RT::Authen::ExternalAuth and RT::LDAPImport.
>
> I use puppet to provision the machine.
>
> When I have the external authentication configuration enabled in
> RT_SiteConfig.pm the
> initial database import breaks.  I think this is because when it trys to
> add the "root" user it attempts to canonicalize the name from ldap which
> fails.
>
> Here is an example of the run:
>
>   make initialize-database
> /usr/bin/perl -I/opt/rt4/local/lib -I/opt/rt4/lib sbin/rt-setup-database 
> --action init --prompt-for-dba-password
> In order to create or update your RT database, this script needs to connect 
> to your  mysql instance on localhost (port '') as root
> Please specify that user's database password below. If the user has no 
> database
> password, just press return.
>
> Password:
> Working with:
> Type:   mysql
> Host:   localhost
> Port:
> Name:   rt4
> User:   rt
> DBA:root
> Now creating a mysql database rt4 for RT.
> Done.
> Now populating database schema.
> Done.
> Now inserting database ACLs.
> Done.
> Now inserting RT core system objects.
> [15076] [Wed May 25 00:15:29 2016] [critical]: Undefined subroutine 
> ::Authen::ExternalAuth::LDAP::CanonicalizeUserInfo called at 
> /opt/rt_source/sbin/../lib/RT/User.pm line 787. 
> (/opt/rt_source/sbin/../lib/RT.pm:390)
> Undefined subroutine ::Authen::ExternalAuth::LDAP::CanonicalizeUserInfo 
> called at /opt/rt_source/sbin/../lib/RT/User.pm line 787.
> Makefile:386: recipe for target 'initialize-database' failed
> make: *** [initialize-database] Error 2
> root@rt-dev:/opt/rt_source#
>
> I can work around this by having puppet install one version of 
> RT_SiteConfig.pm without
> external authentication configured, run the database import and then
> replace it with a version with external auth enabled.
>
> This works, I've tested it.
>
> It just feels terribly ugly and wrong.
>
> Can anyone suggest what I might be doing wrong here or is this a genuine
> issue?
>
>
> Kind regards
> Bart
> --
>
> Bart Bunting - URSYS
> PH: 02 87452811
> Mbl: 0409560005
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Los Angeles - September, 2016
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


[rt-users] RT Wikitext CF and newline character processing

2016-05-23 Thread Peter Viskup
Hello all,
just dig into the Wikitext CF processing. Configured the RT and
CKEditor using the wikia how-to [1] with some additional changes to
CKEditor configuration.

Just discovered one issue with the displaying the Wikitext CF via Web interface.

CKEditor add  on every newline by default (didn't find the
possibility to suppress that by configuration option) and the RT does
replacement of every newline character '\n' in CF value by ''
string (found in /opt/rt4/lib/RT/Interface/Web.pm in
ProcessColumnMapValue subroutine).

There are two ways to get it solved:
1) let CKEditor not to send  tag to RT
2) let RT not to replace \n by 

Ad 1)
Some advanced output filtering rules should be written.

Ad 2)
Looks like it is possible to disable the replacement by setting
'Escape' argument to 0, but not sure how to do that for Wikitext CF
only (/opt/rt4/share/html/Elements/ShowCustomFieldWikitext seems to be
the proper place for that).

Other workaround could be to call ScrubHTML subroutine defined in
Web.pm with disablement of the 'br' tag for Wikitext CF.

Any other thoughts or did somebody solve this issue already (other
than the styling change)?

More information:
"testxy\ntestza" is the text in RT's DB
"testxytestza" is the RT's HTML output

[1] http://requesttracker.wikia.com/wiki/Rich_Text_Custom_Fields

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


Re: [rt-users] RTIR 3.2 and RT 4.4 compatibility

2016-05-20 Thread Peter Viskup
Based on the information from Best Practical there will be RTIR 3.4
released for RT 4.4 version.
The RTIR 3.2 is not compatible with RT 4.4 version.

On Mon, May 16, 2016 at 11:41 AM, Peter Viskup <skupko...@gmail.com> wrote:
> Dear all,
> would like to ask you whether the RT 4.4 and RTIT 3.2 are compatible.
> The download page [1] says the RTIR 3.2 is built for RT 4.2 only.
>
> [1] https://bestpractical.com/download-page
>
> --
> Peter Viskup
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


[rt-users] Articles Wiki CF and Tables

2016-05-20 Thread Peter Viskup
Hello all,
just wondering whether somebody tried to implement replacement of
tables in Wiki custom field by 'cleartext tables'.
At the moment we are using generator for cleartext tables:
http://www.tablesgenerator.com/text_tables

Anyone know better solution? Maybe some CKEditor plugin?

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


[rt-users] RTIR 3.2 and RT 4.4 compatibility

2016-05-16 Thread Peter Viskup
Dear all,
would like to ask you whether the RT 4.4 and RTIT 3.2 are compatible.
The download page [1] says the RTIR 3.2 is built for RT 4.2 only.

[1] https://bestpractical.com/download-page

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


Re: [rt-users] RT::Crypt::GPG with gpg-agent

2016-04-04 Thread Peter Viskup
On Wed, Mar 30, 2016 at 3:06 PM, Jim Brandt <jbra...@bestpractical.com> wrote:
>
>
> On 3/30/16 7:52 AM, Peter Viskup wrote:
>>
>> Hello all,
>> just trying to figure how to setup RT with use of gpg-agent.
>>
>> Tried to start gpg-agent this way:
>>
>> root@server:~# gpg-agent --daemon --pinentry-program
>> /usr/bin/pinentry-curses --home /opt/rt4/var/data/GnuPG
>>
>> And then in RT_SiteConfig.pm:
>> Set( %GnuPG,
>>  Enable => 1,
>>  OutgoingMessagesFormat => 'RFC',
>>  AllowEncryptDataInDB => 0
>> );
>>
>> Set( %GnuPGOptions,
>>  'digest-algo'   => 'SHA512',
>>  'use-agent'=> undef,
>>  'gpg-agent-info'=> '/opt/rt4/var/data/GnuPG/.agent-socket',
>>  'no-permission-warning' => undef,
>>  'homedir'   => '/opt/rt4/var/data/GnuPG'
>> );
>>
>> Set( @MailPlugins =>
>>  "Auth::MailFrom",
>>  "Auth::Crypt"
>> );
>>
>> Unfortunately it didn't work.
>>
>> The gpg-agent-info option need to have the values which change with
>> every gpg-agent execution.
>>
>> It could be possible to use write-env-file option and then read the
>> file by RT. Is it possible to extend the RT_SiteConfig.pm that way it
>> will read the file and fill the gpg-agent-info value in GnuPGOptions
>> hash?
>>
>> Any other thoughts?
>>
>> We are running GnuPG version 1.4.12, GnuPG agent version 2.0.19 and
>> latest release of RT 4.2.
>>
>
> I think the use-standard-socket option is another approach. The value is
> then consistent each time. This has become the default in version 2.
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Washington DC - May 23 & 24, 2016

Thank you - got it working this way:

in rc.local:
# start GPG agent for Request Tracker
/usr/local/bin/rt-gpg-agent

File /usr/local/bin/rt-gpg-agent (possible to extend it to standard
SysVinit script):
#!/bin/sh

RT_GPG_HOME=/opt/rt4/var/data/GnuPG/

[ -f "${RT_GPG_HOME}/S.gpg-agent" ] && rm -f "${RT_GPG_HOME}/S.gpg-agent"

# with cache TTL of 30 days
/usr/bin/gpg-agent --daemon --pinentry-program
/usr/bin/pinentry-curses --home "${RT_GPG_HOME}" --use-standard-socket
--default-cache-ttl 2592000 --max-cache-ttl 2592000

chmod 770 "${RT_GPG_HOME}/S.gpg-agent"
chgrp www-data "${RT_GPG_HOME}/S.gpg-agent"

cp /etc/hosts /tmp
gpg --use-agent --no-permission-warning --home
/opt/rt4/var/data/GnuPG/ -r secur...@eset.sk -e /tmp/hosts
# this will ask gpg-agent for a passphrase and will cache it for RT
gpg --use-agent --no-permission-warning --home
/opt/rt4/var/data/GnuPG/ -r secur...@eset.sk -d /tmp/hosts.gpg
# EOF

Entries for GPG in RT_SiteConfig.pm:
Set( %GnuPG,
Enable => 1,
OutgoingMessagesFormat => 'RFC',
AllowEncryptDataInDB => 0
);

Set( %GnuPGOptions,
'digest-algo'   => 'SHA512',
'use-agent' => undef,
'gpg-agent-info'=> '/opt/rt4/var/data/GnuPG/S.gpg-agent',
'no-permission-warning' => undef,
'homedir'   => '/opt/rt4/var/data/GnuPG'
);

Set( @MailPlugins =>
"Auth::MailFrom",
"Auth::Crypt"
);

Hope it will help somebody.
-- 
Peter
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016


Re: [rt-users] Full text indexer issue with img html tag

2016-03-31 Thread Peter Viskup
Fortunately our version is 4.2.10.
Just discovered we didn't ran rt-fulltext-indexer enough many times.
It proceeded with only 200 attachments at once. Is that some
limitation of PgSQL or rt-fulltext-indexer? Didn't read that in the
documentation.

I ran it in a loop, till it didn't report any other indexed
attachments. This solved our issue with full text search.
Thank you.

-- 
Peter Viskup


On Thu, Mar 31, 2016 at 6:49 AM, Alex Vandiver <a...@chmrr.net> wrote:
> On Wed, 30 Mar 2016 21:32:37 -0700
> Alex Vandiver <a...@chmrr.net> wrote:
>> What version of RT?  That's a symptom of RT 4.0.9 or earlier; 4.0.10
>> contains a fix that makes RT simply skip that attachment.
>
> Actually, my mistake -- it was fixed in 4.0.3:
> https://github.com/bestpractical/rt/commit/692b5bcb
>
> If you're running pre-4.0.3, you _certainly_ want to upgrade.
>  - Alex
> -
> 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


[rt-users] Full text indexer issue with img html tag

2016-03-30 Thread Peter Viskup
Hello all,
we are experiencing issue with full text indexer which seems to be
related to HTML email with tag ""
(28398 characters long) which seems to cause rt-fulltext-indexer fail
to update full text index.

We do see following debug messages:
Found attachment #3085
[834] [Wed Mar 30 12:33:32 2016] [warning]: NOTICE:  word is too long
to be indexed
DETAIL:  Words longer than 2047 characters are ignored.
(/opt/rt4/sbin/rt-fulltext-indexer:322)
[834] [Wed Mar 30 12:33:32 2016] [warning]: NOTICE:  word is too long
to be indexed
DETAIL:  Words longer than 2047 characters are ignored.
(/opt/rt4/sbin/rt-fulltext-indexer:322)
Processed attachment #3085

Anyone with another/better solution than removal of the affected ticket?

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


[rt-users] RT::Crypt::GPG with gpg-agent

2016-03-30 Thread Peter Viskup
Hello all,
just trying to figure how to setup RT with use of gpg-agent.

Tried to start gpg-agent this way:

root@server:~# gpg-agent --daemon --pinentry-program
/usr/bin/pinentry-curses --home /opt/rt4/var/data/GnuPG

And then in RT_SiteConfig.pm:
Set( %GnuPG,
Enable => 1,
OutgoingMessagesFormat => 'RFC',
AllowEncryptDataInDB => 0
);

Set( %GnuPGOptions,
'digest-algo'   => 'SHA512',
'use-agent'=> undef,
'gpg-agent-info'=> '/opt/rt4/var/data/GnuPG/.agent-socket',
'no-permission-warning' => undef,
'homedir'   => '/opt/rt4/var/data/GnuPG'
);

Set( @MailPlugins =>
"Auth::MailFrom",
"Auth::Crypt"
);

Unfortunately it didn't work.

The gpg-agent-info option need to have the values which change with
every gpg-agent execution.

It could be possible to use write-env-file option and then read the
file by RT. Is it possible to extend the RT_SiteConfig.pm that way it
will read the file and fill the gpg-agent-info value in GnuPGOptions
hash?

Any other thoughts?

We are running GnuPG version 1.4.12, GnuPG agent version 2.0.19 and
latest release of RT 4.2.

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


Re: [rt-users] which Perl version should one use with RT 4.4 on CentOS 6

2016-03-15 Thread Peter Viskup
Hello Boris,
from readme [1] on github it is obvious the RT needs Perl as of
version 5.10.1 and above. Readme file from 4.4 version has the same
list of requirements.
Some RT modules may have their own dependencies. You need to check them.

[1] https://github.com/bestpractical/rt

-- 
Peter Viskup


On Mon, Mar 14, 2016 at 4:33 PM, Boris Epstein <borepst...@gmail.com> wrote:
> Hello all,
>
> I am about to upgrade my RT 4.2 to v4.4 on a CentOS 6 machine. It appears
> that Perl 5.1 is barely adequate. What is the recommended version of Perl
> for this setup?
>
> Thanks.
>
> Cheers,
>
> Boris.
>
> -
> 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] Ticket not created from external email using external auth

2015-11-04 Thread Peter Viskup
Hello,
thank you, Christian, that solved our issue.
Not sure how I could overlooked that option.

-- 
Peter

On Wed, Nov 4, 2015 at 5:44 PM, Christian Loos <cl...@netcologne.de> wrote:

> Hi,
>
> I think you should add
> Set( $AutoCreateNonExternalUsers, 1 );
>
> See
>
> https://github.com/bestpractical/rt-authen-externalauth/blob/master/lib/RT/Authen/ExternalAuth.pm#L118
>
> Chris
>
> Am 04.11.2015 um 17:30 schrieb Peter Viskup:
> > Dear all,
> > would like to ask you for an expert view on our issue.
> >
> > We have RT 4.2 with ExternalAuth to LDAP (Microsoft AD) installed. All
> > seems to work fine. Except the ticket is not created when sending emails
> > from external email address.
> > All permissions were setup correctly based on how-to
> > http://requesttracker.wikia.com/wiki/ItsFinallyInstalledNowWhat .
> > Thank you for all your help in advance.
> >
> > These are relevant RT_SiteConfig.pm entries (LDAP auth is working and
> > LDAP users are created in RT):
> >
> > Plugin('RT::Authen::ExternalAuth');
> > Set( $ExternalAuthPriority, ["My_LDAP"] );
> > Set( $ExternalInfoPriority, ["My_LDAP"] );
> > Set( $WebRemoteUserAutocreate, 1 );
> > Set( $UserAutocreateDefaultsOnLogin, { Privileged => 0 } );
>
>


[rt-users] Ticket not created from external email using external auth

2015-11-04 Thread Peter Viskup
Dear all,
would like to ask you for an expert view on our issue.

We have RT 4.2 with ExternalAuth to LDAP (Microsoft AD) installed. All
seems to work fine. Except the ticket is not created when sending emails
from external email address.
All permissions were setup correctly based on how-to
http://requesttracker.wikia.com/wiki/ItsFinallyInstalledNowWhat .
Thank you for all your help in advance.

These are relevant RT_SiteConfig.pm entries (LDAP auth is working and LDAP
users are created in RT):

Plugin('RT::Authen::ExternalAuth');
Set( $ExternalAuthPriority, ["My_LDAP"] );
Set( $ExternalInfoPriority, ["My_LDAP"] );
Set( $WebRemoteUserAutocreate, 1 );
Set( $UserAutocreateDefaultsOnLogin, { Privileged => 0 } );

We see these messages:

Nov  4 16:13:10 rt-server RT: [30252] Going to create user with address '
skupko...@gmail.com'
(/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:100)
Nov  4 16:13:10 rt-server RT: [30252]
RT::Authen::ExternalAuth::CanonicalizeUserInfo called by
RT::Authen::ExternalAuth
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
885 with: Comments: Autocreated on ticket submission, Disabled: ,
EmailAddress: skupko...@gmail.com, Name: skupko...@gmail.com, Password: ,
Privileged: , RealName: Peter Viskup
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:792)
Nov  4 16:13:10 rt-server RT: [30252] Attempting to get user info using
this external service: My_LDAP
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:800)
Nov  4 16:13:10 rt-server RT: [30252] Attempting to use this
canonicalization key: Name
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:809)
Nov  4 16:13:10 rt-server RT: [30252] LDAP Search ===  Base:
dc=company,dc=com == Filter: (&(ObjectClass=*)(sAMAccountName=
skupko...@gmail.com)) == Attrs:
cn,mail,sAMAccountName,displayName,sAMAccountName
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:357)
Nov  4 16:13:10 rt-server RT: [30252] Attempting to use this
canonicalization key: EmailAddress
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:809)
Nov  4 16:13:10 rt-server RT: [30252] LDAP Search ===  Base:
dc=company,dc=com == Filter: (&(ObjectClass=*)(mail=skupko...@gmail.com))
== Attrs: cn,mail,sAMAccountName,displayName,sAMAccountName
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:357)
Nov  4 16:13:10 rt-server RT: [30252]
RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Comments:
Autocreated on ticket submission, Disabled: , EmailAddress:
skupko...@gmail.com, Name: skupko...@gmail.com, Password: , Privileged: ,
RealName: Peter Viskup
Nov  4 16:13:10 rt-server RT: [30252] User could not be created: User
creation failed in mailgateway: Could not set user info
Nov  4 16:13:10 rt-server RT: [30252] Couldn't load user '
skupko...@gmail.com'.giving up
Nov  4 16:13:10 rt-server RT: [30252] User could not be loaded: User  '
skupko...@gmail.com' could not be loaded in the mail gateway
Nov  4 16:13:10 rt-server RT: [30252] Could not load a valid user: RT could
not load a valid user, and RT's configuration does not allow#012for the
creation of a new user for this email (skupko...@gmail.com).#012#012You
might need to grant 'Everyone' the right 'CreateTicket' for the#012queue
Whitehat.
Nov  4 16:13:10 rt-server RT: [30252] Could not load a valid user: RT could
not load a valid user, and RT's configuration does not allow#012for the
creation of a new user for your email.
Nov  4 16:13:10 rt-server RT: [30252] Could not record email: Could not
load a valid user

-- 
Peter Viskup


[rt-users] WikiText not decoded to HTML on Display

2015-05-04 Thread Peter Viskup
Hi all,
just setup RT with Articles and CF type of wikitext.

Unfortunately the value of this CF is not decoded to HTML and shown as is
in DB.
Example:
Database entry: === General rules === Always create OS filesystem on
separate disks.
is shown without heading formatting and with all the '=' characters.

Went through the documentation, but wasn't able to find anything which
would help me to solve this issue.

RT version: 4.2.10, Text::Wikiformat version 0.81 installed from CPAN.

Is there anything I should check? Even debug logging doesn't show any issue.

Thank you in advance.
-- 
Peter


Re: [rt-users] Editing the translation

2015-04-27 Thread Peter Viskup
Should work to copy file /opt/rt4/share/po/fr.po to /opt/rt4/local/po/ and
edit the local copy.

-- 
Peter

On Mon, Apr 27, 2015 at 2:55 PM, ABD EL MALEK BOUBARNOUS 
abdelmalekboubarn...@student.emi.ac.ma wrote:

 Hi everyone,

 I am using RT 4.2.9 with the frensh translation and I would like to know
 witch file I should edit to modify  some expressions in the translation
 with the ones I like.


 Thanks in advance,



Re: [rt-users] Assets Extension 1.04 and Links

2015-04-23 Thread Peter Viskup
Anyone who can help me understand the links in RT and the way autosearch
works and/or is configurable?
Thank you.

-- 
Peter

On Fri, Apr 17, 2015 at 5:24 PM, Peter Viskup skupko...@gmail.com wrote:

 Hi all,
 would like to ask you how to work with the links for asset entry.
 At the moment - after default installation - the search for asset links is
 searching in tickets only. I discovered using 'asset:' prefix I am able to
 link two assets. Is there some way to let that form searching in assets by
 default?
 Had a look into source code and found this:

   tr
 td class=labelParents:
 /td
 td class=entryinput name=2-MemberOf value=
 data-autocomplete=Tickets data-autocomplete-multiple=1
 data-autocomplete-exclude=2//td

 Looks like the data-autocomplete value is responsible for that.
 Unfortunately wasn't able to find information about it in documentation.
 Could anybody explain me this in more details?
 Thank you.

 --
 Peter Viskup



[rt-users] Assets Extension 1.04 and Links

2015-04-17 Thread Peter Viskup
Hi all,
would like to ask you how to work with the links for asset entry.
At the moment - after default installation - the search for asset links is
searching in tickets only. I discovered using 'asset:' prefix I am able to
link two assets. Is there some way to let that form searching in assets by
default?
Had a look into source code and found this:

  tr
td class=labelParents:
/td
td class=entryinput name=2-MemberOf value=
data-autocomplete=Tickets data-autocomplete-multiple=1
data-autocomplete-exclude=2//td

Looks like the data-autocomplete value is responsible for that.
Unfortunately wasn't able to find information about it in documentation.
Could anybody explain me this in more details?
Thank you.

-- 
Peter Viskup