[rt-users] Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2013-01-13 Thread Scotto Alberto
authentication script fails with ExternalAuthPriority not defined, please check your configuration file Alberto Scotto Blue Reply Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it On 01/02/2013 03:53 PM, Scotto Alberto wrote: Fix problems

[rt-users] R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2013-01-02 Thread Scotto Alberto
A: Scotto Alberto Cc: rt-users@lists.bestpractical.com Oggetto: Re: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file Hi, why not just call in you PHP app https://your-rt-server-url/REST/1.0/ with user and pass as post parameter and check

[rt-users] R: R: R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2013-01-02 Thread Scotto Alberto
Alberto Scotto Blue Reply Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it On 01/01/2013 10:43 AM, Scotto Alberto wrote: Don't know what is the best. I think using preconditions is a strong practice that gives you freedom and lets you

[rt-users] R: R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2013-01-01 Thread Scotto Alberto
not defined, please check your configuration file On 12/27/2012 04:57 PM, Scotto Alberto wrote: I've just shared my script on rt wikia :) http://requesttracker.wikia.com/wiki/Rt-auth-user Any improvements are welcome. For example, I suspect there's a better way to do it (it = authenticating

[rt-users] R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2012-12-27 Thread Scotto Alberto
dicembre 2012 20.18 A: rt-users@lists.bestpractical.com Oggetto: Re: [rt-users] Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file On Thu, Dec 20, 2012 at 11:56:44AM +, Scotto Alberto wrote: But for security reasons I want to execute

[rt-users] R: Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2012-12-27 Thread Scotto Alberto
I've just shared my script on rt wikia :) http://requesttracker.wikia.com/wiki/Rt-auth-user Any improvements are welcome. For example, I suspect there's a better way to do it (it = authenticating against external auths first, and then the local RT's DB). I'd expect to call only DoAuth, and

[rt-users] Custom authentication script fails with ExternalAuthPriority not defined, please check your configuration file

2012-12-20 Thread Scotto Alberto
Hi all, I'm writing a PHP application (a cloud self-service application that lets developers create testing environments and so on) for the company where I also installed RT. For the authentication part, I thought to authenticate users against RT, since the users of my PHP app are a subset of

[rt-users] Setting ticket properties with SetXXX instead of _Set, but SILENTLY

2012-10-14 Thread Scotto Alberto
As Thomas recently pointed out [1], _Set should never be used. Instead, you should use SetXXX public methods. Ok, but what if I need to set some properties without recording a transaction for it, in order not to trigger scrips?

[rt-users] R: Setting owner with _Set breaks queries (may be a bug)

2012-10-09 Thread Scotto Alberto
Blue Reply Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it On 10/05/2012 08:15 AM, Scotto Alberto wrote: Very interesting, thank you! Now I understand the relationships. So I think I should correct all the _Set I've used all around in my custom

[rt-users] R: R: Setting owner with _Set breaks queries (may be a bug)

2012-10-09 Thread Scotto Alberto
AM, Scotto Alberto wrote: What am I missing? The CachedGroupMembers table, I expect. rt-validator should be able to fix that, I believe. Final RT training for 2012 in Atlanta, GA - October 23 24 http://bestpractical.com/training We're hiring! http://bestpractical.com/jobs

Re: [rt-users] Setting owner with _Set breaks queries (may be a bug)

2012-10-05 Thread Scotto Alberto
with _Set breaks queries (may be a bug) On 10/04/2012 04:05 AM, Scotto Alberto wrote: I think I found a bug. Not a bug in RT, only your scrip. :) Looks like _Set doesn’t update correctly some field in some table in the DB. But I have no idea of what field and what table! I had a quick look at the DB

[rt-users] Setting owner with _Set breaks queries (may be a bug)

2012-10-04 Thread Scotto Alberto
Hi all, I think I found a bug. I have a scrip called On closure Auto set owner, which sets the owner while closing the ticket in case nobody has never taken it, so that I don't get resolved tickets assigned to Nobody in particular. Everything seemed ok until today a colleague of mine noticed

Re: [rt-users] Setting owner with _Set breaks queries (may be a bug)

2012-10-04 Thread Scotto Alberto
[mailto:drey...@gmail.com] Sent: giovedì 4 ottobre 2012 13:37 To: Scotto Alberto Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Setting owner with _Set breaks queries (may be a bug) This is a shot in the dark and I may be way off, but is there a chance your scrip to set the owner runs

Re: [rt-users] share dashboard with a group

2012-10-02 Thread Scotto Alberto
You have to grant rights accordingly. See http://requesttracker.wikia.com/wiki/ManualDashboards I’d suggest to go to Tools, configuration, global, group rights, and grant the rights for viewing group dashboards to test_grp Regards Alberto Scotto Blue Reply Via Cardinal Massaia, 83 10147

[rt-users] R: 2. try ;-) Limit user in a perl script

2012-09-19 Thread Scotto Alberto
Well, that's normal: you are scanning the whole tickets list again and again, for every user. You should invert the nested loops such that you scan the tickets only once. Something like this (kind of pseudo-code): my $tickets = RT::Tickets-new($RT::SystemUser); my @users_with_ticket; # let's

[rt-users] R: Wild Card Question

2012-09-19 Thread Scotto Alberto
https://www.google.it/search?q=site%3Alists.bestpractical.com+wildcard Alberto Scotto Blue Reply Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it [Blue Reply] Da: rt-users-boun...@lists.bestpractical.com

Re: [rt-users] rt4 log rotation

2012-09-13 Thread Scotto Alberto
I did it by configuring /etc/logrotate.conf See man logrotate Alberto Scotto Blue Reply Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it [Blue] From: rt-users-boun...@lists.bestpractical.com

Re: [rt-users] [SLA Extension] Can I 'parked' stalled tickets?

2012-08-24 Thread Scotto Alberto
Have a look at my customization for parking stalled tickets (actually it works for SLA 0.05) http://www.gossamer-threads.com/lists/rt/users/110572 If you make any improvements, please share them :) Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100

Re: [rt-users] [SLA Extension] Can I 'parked' stalled tickets?

2012-08-24 Thread Scotto Alberto
Sorry, the version of SLA extension shouldn't matter. Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it From: Scotto Alberto Sent: venerdì 24 agosto 2012 17:01 To: Dave Fitches; rt-users@lists.bestpractical.com Subject

[rt-users] R: Use Query builder to find tickets which were closed after the became over due

2012-08-17 Thread Scotto Alberto
Hi I'm afraid you can't. I've had the same problem, and I solved with some creativity, involving escalation. I decided that FinalPriority = 89 and, once LinearEscalate has brought one's ticket Priority to 89, then a rt-crontool job increments Priority by some value. So, in my searches, I can

[rt-users] R: queue disabled but still getting tickets

2012-08-08 Thread Scotto Alberto
I think you should also set the permissions at the queue level accordingly. Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it Da: rt-users-boun...@lists.bestpractical.com

Re: [rt-users] How to efficiently filter tickets with LimitXXX methods of RT::Tickets?

2012-07-26 Thread Scotto Alberto
29100 al.sco...@reply.it www.reply.it From: Scotto Alberto Sent: sabato 21 luglio 2012 20:12 To: rt-users@lists.bestpractical.com Subject: How to efficiently filter tickets with LimitXXX methods of RT::Tickets? Hi all, I'm customizing the script http://requesttracker.wikia.com/wiki/RtUnifiedreminder

[rt-users] R: Marking a Ticket as Read

2012-07-25 Thread Scotto Alberto
Hi Tim, there's an option you have to enable in RT_SiteConfig =item C$ShowUnreadMessageNotifications If set to 1, RT will prompt users when there are new, unread messages on tickets they are viewing. =cut Set($ShowUnreadMessageNotifications, 1);

Re: [rt-users] Limit Owner dropdown to only privileged users

2012-07-24 Thread Scotto Alberto
Take a look at the rights you assigned to the group Everyone You may have granted the OwnTicket right to Everyone, either at a global level (http://fpt-service.fpt.local/Admin/Global/GroupRights.html) or at a queue level (http://fpt-service.fpt.local/Admin/Queues/GroupRights.html?id=XX) This

[rt-users] How to efficiently filter tickets with LimitXXX methods of RT::Tickets?

2012-07-21 Thread Scotto Alberto
Hi all, I'm customizing the script http://requesttracker.wikia.com/wiki/RtUnifiedreminder to send a daily report about SLA, with the overdue tickets. I have a series of nested loops, the main is for each QueueAdminCC send the report to him/her. In order to find the overdue tickets that are up

[rt-users] R: Backing up RT's configuration files?

2012-07-12 Thread Scotto Alberto
Hi Kevin, I think it's enough to back up: - etc/ containing RT's config files - local/ containing all the extensions you added and your own customizations Regards Inizio: rt-users-boun...@lists.bestpractical.com

[rt-users] R: Backing up RT's configuration files?

2012-07-12 Thread Scotto Alberto
http://requesttracker.wikia.com/wiki/BackupRT Inizio: rt-users-boun...@lists.bestpractical.com [rt-users-boun...@lists.bestpractical.com] per conto di Scotto Alberto [al.sco...@reply.it] Inviato: giovedì 12 luglio 2012 20.13 Fine: Kevin Elliott; rt-users

[rt-users] R: Time Calculation in Search Queries

2012-07-08 Thread Scotto Alberto
LastUpdated = '12 hours ago' http://requesttracker.wikia.com/wiki/TicketSQL#Date_Syntax Regards Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it Inizio:

[rt-users] R: Autocomplete feature for unprivileged users (AllowUserAutocompleteForUnprivileged?)

2012-06-12 Thread Scotto Alberto
(AllowUserAutocompleteForUnprivileged?) On 05/29/2012 08:50 AM, SCOTTO Alberto (Consultant) (FIAT POWERTRAIN TECHNOLOGIES) wrote: Thank you very much for the link! It's a feature very useful for end users, so when I have time, I'll try to figure out how to solve the problem (I see a solution already exists

[rt-users] R: Extension to allow queue change on creating child ticket

2012-06-12 Thread Scotto Alberto
If I understand well, then you didn't search very well: this extension is listed in bestpractical's website! http://bestpractical.com/rt/extensions.html http://search.cpan.org/dist/RT-Extension-SpawnLinkedTicketInQueue/lib/RT/Extension/SpawnLinkedTicketInQueue.pm BTW, there is something I don't

[rt-users] R: [SLA] Custom (and very imperfect) solution for parking stalled tickets

2012-06-09 Thread Scotto Alberto
like that. What do you think? Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it Inizio: Ruslan Zakirov [ruslan.zaki...@gmail.com] Inviato: sabato 9 giugno 2012 13.21 Fine: Scotto Alberto

[rt-users] R: [SLA] Custom (and very imperfect) solution for parking stalled tickets

2012-06-09 Thread Scotto Alberto
I'd like some help about it. Thank you, have a nice week end Alberto Scotto [Blue] Via Cardinal Massaia, 83 10147 - Torino - ITALY phone: +39 011 29100 al.sco...@reply.it www.reply.it Inizio: Scotto Alberto Inviato: sabato 9 giugno 2012 19.38 Fine: Ruslan

[rt-users] SeeGroupDashboard - trying to let group A see group B's dashboards

2012-06-09 Thread Scotto Alberto
I'm trying to let group A see group B's dashboards, where A and B are not related as subgroups What I did was: Went to Admin/Groups/GroupRights.html?id=group_b_id Typed 'A' in the field Add group Ticked SeeGroupDashboard right. But it doesn't work. May be some kind of a bug in the ACL system?

[rt-users] [SLA] Custom (and very imperfect) solution for parking stalled tickets

2012-06-07 Thread Scotto Alberto
Working with the SLA Extension, I came across the problem of stalled tickets: by default, there is no way to stop the timer for the due date when a ticket becomes stalled, as stated by the author in http://www.gossamer-threads.com/lists/rt/users/105845#105845 So I've just implemented a small

[rt-users] Priority greater than 99

2012-06-06 Thread Scotto Alberto
Hi all, I was wondering if setting Priority to a value greater than 99 (max allowed as documented) could bring to some problems. I think it would be useful to escalate overdue tickets incrementing the Priority by 1 every hour. Otherwise a ticket overdue since 10 minutes would have the same

[rt-users] R: Built-in field validation (Priority)

2012-06-04 Thread Scotto Alberto
I think this is exactly what you are looking for http://search.cpan.org/dist/RT-Extension-MandatoryFields/ There are also two more specific extensions: http://search.cpan.org/dist/RT-Extension-MandatoryRequestor/ http://search.cpan.org/dist/RT-Extension-MandatorySubject/ BTW I suggest you to

[rt-users] R: R: Built-in field validation (Priority)

2012-06-04 Thread Scotto Alberto
to limit Priority to an integer between 0 and 100, anything besides number and past 100 should not be a valid input. Hope it makes things more clear. Thanks! Scotto Alberto wrote: I think this is exactly what you are looking for http://search.cpan.org/dist/RT-Extension-MandatoryFields

[rt-users] Merge Users History - Broken link on bestpractical's web site

2012-06-03 Thread Scotto Alberto
Hi, I noticed that the link to the extension MergeUsersHistory on http://bestpractical.com/rt/extensions.html is broken. Here is the broken link: http://search.cpan.org/dist/RT-Extension-MergeUsersHistory/lib/RT/Extension/MergeUsersHistory.pm Looks like it isn't hosted by cpan anymore..? However

[rt-users] Autocomplete feature for unprivileged users ( AllowUserAutocompleteForUnprivileged?)

2012-05-28 Thread SCOTTO Alberto (Consultant) (FIAT POWERTRAIN TECHNOLOGIES)
Hi all, I can't get the autocomplete email address feature to work for unprivileged people who access the SelfService area. It is correctly set in RT_SiteConfig, as I can also see in RT's web UI, tools system configuration: AllowUserAutocompleteForUnprivileged=1 I'm experiencing this problem

[rt-users] Charts displaying only sometimes (GD problem?)

2011-11-23 Thread Scotto Alberto
Hi all, I'm having problems with charts, both bar and pie charts. Little context: created new dashboard and new saved search (privately at group-level); trying to display a nice report in the form of a bar chart. It happens that *under certain conditions* RT doesn't show any chart. Actually