Eduardo Raffoul | 1 Oct 2007 16:24
Picon

How to use the ACL's based in a method?

Hi. In my job we are developing some new features to OTRS, one of them is the capability to close a ticket only when the childrens (and i mean all the referenced or linked childrens) have been closed succesfully, according to some rules configured by the admin. I know that with the ACL's i can avoid the closing of tickets, but only based on ticket attributes. The other way i'm evaluating is to build a module that responses to the event "TicketStateUpdate" and, if the ticket is suposed to not be closed according to the rules mentioned above, the module would "undo" the close event.

What i want to know if its possible to use the ACL's to do this (this is, use the ACL's based not in a ticket attribute, but based in a method), something like this:

    $Self->{TicketAcl}->{'ACL-Name-1'} = {
        # match properties
        Properties => {
            # current ticket match properties
            Ticket => {
                Kernel::Modules::SomeMethodThatVerifyRules();
            }
        },
.....



I have other question, about the EventHandler. Does it responds to the event after or before that the event has been done???

Thank you very much.

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
Laurent Minost | 8 Oct 2007 16:50
Favicon

Re: [otrs] Standard Types and Queues

Hi,

Sure ! :)
This is now some few days I did this modification so I can't remember 
well which files were modified so :
- you will find attached modified dtl and pm for OTRS v2.2.2 Customer's 
frontend, just do a diff with the original OTRS 2.2.2 dist files or with 
your already customized files, it will give you my own modifications ( 
and maybe other modifications about other things, my OTRS is far from 
the original 2.2.2 by now ...)
- if you think there is something missing, don't hesitate to contact me 
back, I will check again the code to find all needed modifications.

Have fun.

Best regards,

Laurent Minost

Luis Wong a écrit :
> 
>   *I have this exactly same problem. Can you please share your code
>   modifications?*
> 
> 
>   *Thank you,*
> 
> 
>   *Luis*
> 
> 
>   * *
> 
> 
>   *[otrs] Standard Types and Queues*
> 
> *Laurent Minost* lminost at denyall.com 
> <mailto:otrs%40otrs.org?Subject=%5Botrs%5D%20Standard%20Types%20and%20Queues&In-Reply-To=01b801c7f5e2%24d71d63b0%248e04a8c0%40nettezza>
> /Thu Sep 13 11:07:33 GMT 2007/
> 
>     * Previous message: [otrs] Standard Types and Queues
>       <http://lists.otrs.org/pipermail/otrs/2007-September/020313.html>
>     * Next message: [otrs] Standard Types and Queues
>       <http://lists.otrs.org/pipermail/otrs/2007-September/020316.html>
>     * *Messages sorted by:* [ date ]
>       <http://lists.otrs.org/pipermail/otrs/2007-September/date.html#20314>
>       [ thread ]
>       <http://lists.otrs.org/pipermail/otrs/2007-September/thread.html#20314>
>       [ subject ]
>       <http://lists.otrs.org/pipermail/otrs/2007-September/subject.html#20314>
>       [ author ]
>       <http://lists.otrs.org/pipermail/otrs/2007-September/author.html#20314>
> 
> 
> ------------------------------------------------------------------------
> 
> Hi Gabriele,
> 
>  
> 
> Thanks for your answer.
> 
>  
> 
> This parameter CustomerPanelOwnSelection allows to set Queues for which
> 
> Customers will have access through drop-down menu but it doesn't permit
> 
> me :
> 
> - to set the default queue
> 
> - to avoid having this default queue set to '-' which is hard coded and
> 
> added when drop-down menu is displayed
> 
>  
> 
> That's why I did some modifications on the code :(
> 
>  
> 
> Best regards,
> 
>  
> 
> Laurent MINOST
> 
>  
> 
> Le jeudi 13 septembre 2007 à 10:48 +0200, Gabriele D'Andrea a écrit :
> 
>>/ > i want to Speed up the Ticket Typing Procedure.. Most Tickets ( we/
> 
>>/ > mostly use Telephone Tickets ) have the same Type ( "Problem" ) and/
> 
>>/ > go the same Queue. But in OTRS the preselcetion for those Fileds is/
> 
>>/ > "-" and you have to Click on "Problem" and the right Queue. /
> 
>>/ Look if there are some options to insert default values in SysConfig/
> 
>>/ -> Ticket -> Frontend::Agent::Ticket::ViewPhoneNew/
> 
>>/  /
> 
>>/ > I was having the same problem with Customer frontend, when creating/
> 
>>/ a /
> 
>>/ > new ticket, default queue needs to be selected and we use only/
> 
>>/ one.../
> 
>>/ /
> 
>>/ In SysConfig -> Ticket -> Frontend::Customer::Ticket::ViewNew edit the/
> 
>>/ following option inserting the queue you want your customers to use /
> 
>>/  /
> 
>>/ CustomerPanelOwnSelection: /
> 
>>/ Here you can insert the Queues, which the customer can select in the/
> 
>>/ Customer-Interface. /
> 
>>/ Etichetta/
> 
>>/  /
> 
>>/ Content/
> 
>>/ /
> 
>>/  /
> 
>>/ /
> 
>>/  /
> 
>>/ /
> 
>>/ /
> 
>>/  /
> 
>>/ Hope this helps/
> 
>>/ Gabriele/
> 
>>/         ----- Original Message ----- /
> 
>>/         From: Laurent Minost /
> 
>>/         To: User questions and discussions about OTRS.org /
> 
>>/         Sent: Wednesday, September 12, 2007 2:19 PM/
> 
>>/         Subject: Re: [otrs] Standard Types and Queues/
> 
>>/         /
> 
>>/         /
> 
>>/         /
> 
>>/         Hi,/
> 
>>/         /
> 
>>/         I was having the same problem with Customer frontend, when/
> 
>>/         creating a new ticket, default queue needs to be selected and/
> 
>>/         we use only one.../
> 
>>/         Didn't find a solution so I modified source code for it to/
> 
>>/         avoid adding "-" entry. Maybe it's the same for you./
> 
>>/         If you find a solution or modify the code, I will be/
> 
>>/         interested by your final resolution :)/
> 
>>/         /
> 
>>/         Thanks./
> 
>>/         /
> 
>>/         BR,/
> 
>>/         /
> 
>>/         Laurent MINOST/
> 
>>/         /
> 
>>/         /
> 
>>/         Le mercredi 12 septembre 2007 à 13:07 +0200, Buechling, Thomas/
> 
>>/         a écrit : /
> 
>>/         /
> 
>>/         > Hallo! /
> 
>>/         > i want to Speed up the Ticket Typing Procedure.. Most/
> 
>>/         > Tickets ( we mostly use Telephone Tickets ) have the same/
> 
>>/         > Type ( "Problem" ) and go the same Queue. But in OTRS the/
> 
>>/         > preselcetion for those Fileds is "-" and you have to Click/
> 
>>/         > on "Problem" and the right Queue. /
> 
>>/         > Is there a way set Standard Values for those Fileds? /
> 
>>/         > I cant find Anything in Sysconfig... /
> 
>>/         > Thank You! /
> 
>>/         > Freundliche Grüße  /
> 
>>/         > /
> 
>>/         > i. A. Thomas Büchling /
> 
>>/         > Praktikant / IT-Services /
> 
>>/         >   /
> 
>>/         > Tel  +49 (0)561/ 4991 -125 /
> 
>>/         > Fax +49 (0)561/ 4991 -93125 /
> 
>>/         > thomas_buechling at rudolph-log.de <http://lists.otrs.org/cgi-bin/listinfo/otrs> /
> 
>>/         > http://www.rudolph-log.de /
> 
>>/         > http://www.logeon.net /
> 
>>/         > -------------------------------------- /
> 
>>/         >  Rudolph Logistik Gruppe /
> 
>>/         > -------------------------------------- /
> 
>>/         > Rudolph Holding GmbH /
> 
>>/         > Harzweg 10 /
> 
>>/         > D 34225 Baunatal /
> 
>>/         > /
> 
>>/         > Amtsgericht Kassel HRB 6548 /
> 
>>/         > Geschäftsführer: Jürgen Rudolph, Werner Rudolph, Torsten/
> 
>>/         > Rudolph, Peter Malkomeß /
> 
>>/         > ------------------------------------- /
> 
>>/         > Abonnieren Sie unseren Newsletter RudolphREPORT unter/
> 
>>/         > http://www.rudolph-log.de/aktuelles/aktuelles.cfm /
> 
>>/         > /
> 
>>/         > /
> 
>>/         /
> 
>>/         /
> 
>>/         /
> 
>>/         ______________________________________________________________/
> 
>>/         /
> 
>>/         _______________________________________________/
> 
>>/         OTRS mailing list: otrs - Webpage: http://otrs.org//
> 
>>/         Archive: http://lists.otrs.org/pipermail/otrs/
> 
>>/         To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs/
> 
>>/         Support or consulting for your OTRS system?/
> 
>>/         => http://www.otrs.com//
> 
> -------------- next part --------------
> 
> An HTML attachment was scrubbed...
> 
> URL: http://lists.otrs.org/pipermail/otrs/attachments/20070913/e4710947/attachment-0001.html
> 
> ------------------------------------------------------------------------
> size=2 width="100%" align=center>
> 
>     * Previous message: [otrs] Standard Types and Queues
>       <http://lists.otrs.org/pipermail/otrs/2007-September/020313.html>
>     * Next message: [otrs] Standard Types and Queues
>       <http://lists.otrs.org/pipermail/otrs/2007-September/020316.html>
>     * *Messages sorted by:* [ date ]
>       <http://lists.otrs.org/pipermail/otrs/2007-September/date.html#20314>
>       [ thread ]
>       <http://lists.otrs.org/pipermail/otrs/2007-September/thread.html#20314>
>       [ subject ]
>       <http://lists.otrs.org/pipermail/otrs/2007-September/subject.html#20314>
>       [ author ]
>       <http://lists.otrs.org/pipermail/otrs/2007-September/author.html#20314>
> 
> 
> ------------------------------------------------------------------------
> 
> More information about the otrs mailing list 
> <http://lists.otrs.org/cgi-bin/listinfo/otrs>
> 
>  
> 
> Luis Wong V.
> Gerente Tecnico
> //electro////COM//  /*/banda ancha/*/
> 
> Telf: 593-4-2202249  Fax: 593-4-2200650
> Cel: 098152651
> 
> /www.electrocom.info <http://www.electrocom.info/>/
> 
> /e-mail: //lwong <at> electrocom.info <mailto:glwong <at> electrocom.info>/
> 
>  
> 
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.4/1055 - Release Date: 
> 10/7/2007 10:24 AM
> 

# --
# CustomerTicketMessage.dtl - provides HTML form for customer message
# Copyright (C) 2001-2007 OTRS GmbH, http://otrs.org/
# --
# $Id: CustomerTicketMessage.dtl,v 1.10 2007/06/18 09:33:57 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --

<!-- start form -->
<script language="JavaScript" type="text/javascript">
<!--
function submit_compose() {
    if (document.compose.Subject.value == "") {
        alert('$JSText{"A message should have a subject!"}');
        document.compose.Subject.focus();
        return false;
    }
    else if (document.compose.Body.value == "") {
        alert('$JSText{"A message should have a body!"}');
        document.compose.Body.focus();
        return false;
    }
<!-- dtl:block:TicketFreeTextCheckJs -->
    else if (document.compose.$Data{"TicketFreeTextField"}.value == "") {
        alert('$JSText{"A required field is:"} ' + document.compose.$Data{"TicketFreeKeyField"}.value + '!');
        document.compose.$Data{"TicketFreeTextField"}.focus();
        return false;
    }
<!-- dtl:block:TicketFreeTextCheckJs -->
    else {
        return true;
    }
}
//-->
</script>

<table border="0" width="100%" cellspacing="0" cellpadding="3">
  <tr>
    <td class="mainhead">
      $Env{"Box0"}$Text{"new ticket"}$Env{"Box1"}
    </td>
  </tr>
  <tr>
    <td class="mainbody">
      <br>
      <table border="0" width="900" align="center" cellspacing="0" cellpadding="4">
        <tr>
          <td colspan="2" class="contenthead">$Text{"Options"}</td>
        </tr>
        <tr>
          <td class="contentbody">
            <form action="$Env{"CGIHandle"}" method="post" name="compose" enctype="multipart/form-data">
              <input type="hidden" name="Action" value="$Env{"Action"}">
              <input type="hidden" name="Subaction" value="StoreNew">
              <input type="hidden" name="Expand" value="">
              <input type="hidden" name="FormID" value="$QData{"FormID"}">
              <table border="0">
<!-- dtl:block:TicketType -->
                <tr>
                  <td class="contentkey">$Text{"Type"}:</td>
                  <td class="contentvalue"> $Data{"TypeStrg"}</td>
                </tr>
<!-- dtl:block:TicketType -->
                <tr>
                  <td width="15%" class="contentkey">$Text{"To"}:</td>
                  <td width="85%" class="contentvalue">
                    $Data{"ToStrg"}
                    <font color="red" size="-2">$Text{"$Data{"Queue invalid"}"}</font>
                  </td>
                </tr>

#
            <tr>
              <td class="contentkey">$Text{"Cc"}:</td>
              <td class="contentvalue">
                <input type="text" name="Cc" value="" size="70">
                <font color="red" size="-2">$Text{"$Data{"Cc invalid"}"}</font>
              </td>
            </tr>
#            <tr>
#              <td class="contentkey">$Text{"Bcc"}:</td>
#              <td class="contentvalue">
#                <input type="text" name="Bcc" value="" size="70">
#                <font color="red" size="-2">$Text{"$Data{"Bcc invalid"}"}</font>
#              </td>
#            </tr>
#

                <tr>
                  <td class="contentkey">$Text{"Subject"}:</td>
                  <td class="contentvalue">
                    <input type="text" name="Subject" value="$QData{"Subject"}" size="70">
                    <font color="red" size="-2">$Text{"$Data{"Subject invalid"}"}</font>
                  </td>
                </tr>
<!-- dtl:block:TicketService -->
                <tr>
                  <td class="contentkey">$Text{"Service"}:</td>
                  <td class="contentvalue"> $Data{"ServiceStrg"}</td>
                </tr>
<!-- dtl:block:TicketService -->
<!-- dtl:block:TicketSLA -->
                <tr>
                  <td class="contentkey">$Text{"SLA"}:</td>
                  <td class="contentvalue"> $Data{"SLAStrg"}</td>
                </tr>
<!-- dtl:block:TicketSLA -->
                <tr>
                  <td class="contentkey">$Text{"Text"}:</td>
                  <td class="contentvalue">
                    <textarea name="Body" rows="15" cols="$Config{"Ticket::Frontend::TextAreaNote"}" wrap="$Env{"BrowserWrap"}">$QData{"Body"}</textarea>
                    <font color="red" size="-2">$Text{"$Data{"Body invalid"}"}</font>
                  </td>
                </tr>
                <tr>
                  <td class="contentkey">$Text{"Attachment"}:</td>
                  <td class="contentvalue">
                    <table cellspacing="0" cellpadding="0" width="400">
<!-- dtl:block:Attachment -->
                      <tr>
                        <td>$QData{"Filename"}</td>
                        <td>$QData{"Filesize"}</td>
                        <td align="right">
                          <input class="button" type="submit" name="AttachmentDelete$QData{"FileID"}" value="$Text{"Delete"}">
                        </td>
                      </tr>
<!-- dtl:block:Attachment -->
                      <tr>
                        <td colspan="2"><input name="file_upload" type="file" size="40" class="fixed"></td>
                        <td align="right">
                          <input class="button" type="submit" name="AttachmentUpload" value="$Text{"Attach"}">
                          <a name="attachment"></a>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
<!-- dtl:block:Priority -->
                <tr>
                  <td class="contentkey">$Text{"Priority"}:</td>
                  <td class="contentvalue"> $Data{"PriorityStrg"}</td>
                </tr>
<!-- dtl:block:Priority -->
<!-- dtl:block:FreeText -->
                <tr>
                  <td class="contentkey">$Data{"TicketFreeKeyField"}:</td>
                  <td class="contentvalue">$Data{"TicketFreeTextField"}</td>
                </tr>
<!-- dtl:block:FreeText -->
#                <tr>
#                  <td class="contentkey">$Data{"TicketFreeKeyField1"}:</td>
#                  <td class="contentvalue">$Data{"TicketFreeTextField1"}</td>
#                </tr>
#                <tr>
#                  <td class="contentkey">$Data{"TicketFreeKeyField2"}:</td>
#                  <td class="contentvalue">$Data{"TicketFreeTextField2"}</td>
#                </tr>
#                <tr>
#                  <td class="contentkey">$Data{"TicketFreeKeyField3"}:</td>
#                  <td class="contentvalue">$Data{"TicketFreeTextField3"}</td>
#                </tr>
#                <tr>
#                  <td class="contentkey">$Data{"TicketFreeKeyField4"}:</td>
#                  <td class="contentvalue">$Data{"TicketFreeTextField4"}</td>
#                </tr>
<!-- dtl:block:FreeTime -->
                <tr>
                  <td class="contentkey">$Text{"$QData{"TicketFreeTimeKey"}"}:</td>
                  <td class="contentvalue">$Data{"TicketFreeTime"}</td>
                </tr>
<!-- dtl:block:FreeTime -->
#                <tr>
#                  <td class="contentkey">$Text{"$Config{"TicketFreeTimeKey1"}"}:</td>
#                  <td class="contentvalue">$Data{"TicketFreeTime1"}</td>
#                </tr>
#                <tr>
#                  <td class="contentkey">$Text{"$Config{"TicketFreeTimeKey2"}"}:</td>
#                  <td class="contentvalue">$Data{"TicketFreeTime2"}</td>
#                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td class="contentfooter">
              <input class="button" accesskey="g" type="submit" value="$Text{"Submit"}" onclick="return submit_compose();">
            </td>
          </tr>
        </table>
      </form>
      <br>
    </td>
  </tr>
</table>
<!-- end form -->
Attachment (CustomerTicketMessage.pm): application/x-perl, 22 KiB
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
Martin Edenhofer | 10 Oct 2007 19:12

.sopm Improvement - ModuleRequired

Hi,

JFI, the current CVS head includes an improvement of the .sopm parameters.

ModuleRequired
==============

To define Perl modules which must be installed before you can install
the .opm file. It's a optional paramerter.

Example:
--------
<ModuleRequired Version="1.03">Encode</ModuleRequired>
<ModuleRequired Version="5.32">MIME::Tools</ModuleRequired>

For more info see:
http://doc.otrs.org/developer/2.3/en/html/c1191.html#package-module-required

  -Martini

((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing
  Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18
    http://www.otrs.com/ :: Communication with success!
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Mark Nernberg | 11 Oct 2007 17:33
Picon

OTRS Webmail client non-functional. REPOST

This is a repost, as there has been no positive response.  This is now the FOURTH TIME I am posting!  Getting some reasonable answer would be nice.

 

I have a new deployment of OTRS 2.2.3, with the OTRS Webmail client (v. 0.11.2).  The Webmail client is disfunctional.

 

The INBOX and other mailboxes work correctly.  I can send mail with no problem, also.

 

But, when clicking on a message to display it, I get the OTRS screen, and a "View" menu (with back/reply/reply-all/plain/delete), and a small grey area marked "options", but the message never displays.  If someone would like, I’ll include a screenshot.

 

There are no apparent errors showing in my Apache error log, nor in the system message log.  The only error message is from the OTRS log:

      Wed Oct 10 10:19:19 2007 notice OTRS-CGI-10 Totally empty attachment part (1)

 

In MS-Outlook, or any one of a number of webmail clients, there's no problem, so its not a structural issue with the email itself.

 

Advice, anyone?

--

Mark J. Nernberg

 

 

 

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
Mark Nernberg | 11 Oct 2007 18:07
Picon

RE: OTRS Webmail client non-functional. REPOST

> -----Original Message-----
> From: otrs-bounces <at> otrs.org [mailto:otrs-bounces <at> otrs.org] On Behalf Of
> Marius Flage
> Sent: Thursday, October 11, 2007 11:43 AM
> To: User questions and discussions about OTRS.org
> Subject: Re: [otrs] OTRS Webmail client non-functional. REPOST
> 
> Mark Nernberg wrote:
> 
> > This is a repost, as there has been no positive response.  This is
> now
> > the FOURTH TIME I am posting!  Getting some reasonable answer would
> be nice.
> 
> And I didn't mind the second and third time you posted this, but
> enough's enough. You're not paying for any kind of support for this
> software, so I don't see how you can expect to get an answer to all
> your
> questions immediately. If you follow the thread of discussion in here,
> you'll see that all questions that people actually know the answer to,
> get responses.
> 

I've noticed that is not always the case.  I don't expect or demand anwers,
but even a clue would be nice.

I also don't expect the answer "immediately".  I've waited a
more-than-respectable amount of time before reposting.

An acknowlegement that there's a problem of some sort in the source would
also be nice.

I've also noticed that at some point at least 2 other people have posted
similar posts at some point -- still with no answers.

Simply saying that "The developers are aware that the webmail client is
BROKEN." would be sufficient.  Ignorance and publicly flaming isn't going to
cut it, though.

> If you're new to the whole GPL idea, I suggest you do some reading. And
> please stop wasting our collective bandwidth with your ongoing -
> demands-
> for support. The kind of support you're asking for usually comes with a
> price [1].

Actually, I'm far from new to the GPL idea.  I've done plenty of reading.
I've checked through the source code and the various mailing list archives.
I've thoroughly read the documentation.  If I had any answers or clues, I'd
follow them.  If I though I had an inkling of where (specifically) the issue
was, I'd be more detailed in my posts -- which might elicit a useful answer.

But, before I pony up $ for paid support, I'd like at least some idea that I
will get what I'm paying for.  The most basic support plan is $1380/year for
support -- which is steep -- especially when this is probably THE ONLY ISSUE
I'M GOING TO HAVE WITH THE SOFTWARE!

The $1380 includes only 5 service calls per year.  That works out to
$276.00/service call.  And I don't understand what I'd get beyond the 5
support requests, so paying for 5 service requests and only getting 1 isn't
worth it.  Perhaps someone needs to revisit the pricing model?  Or provide
more information to demonstrate what I'd be getting for my $1380.00?

Were it $100 for a single support call -- one-time-deal -- I'd consider
paying it.  I might even consider paying $276 for a one-time-call, as steep
as that may be.

Moreso, because there aren't any issues with my configuration -- I'm not
stupid, and I'm a long-time OTRS user -- I call the problem: "the webmail
client is broken and buggy."  I don't pay for support to fix bugs in the
software -- I'll pay for it to fix bugs in my implementation.

It should also be noted that I've even built-from-scratch a second copy of
OTRS on a different server just to verify that it's the software and not my
mail server or anything.  Its almost definitely a bug (IMHO).

> 
> The only thing you're getting from this, if anything, are annoyed
> fellow users of OTRS.
> 

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Sohaib Reza | 13 Oct 2007 15:22
Picon
Favicon

begining

hi,
i could not execute installer.pl on browser. can u help me????????

Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
Thomas Raith | 15 Oct 2007 08:20

The new version of Fred is available


Hi List Members,

we are proud to announce, that a new version of Fred is available.
Have a lot of fun with Fred!

Thomas

What is Fred intended for?

    Fred supports the developer in his work. It displays information on
    the current request at the beginning of the HTML output. Fred will
    thus provide any developer with just-in-time support.

Who needs Fred?

    Every OTRS-developer needs Fred!
    It enhances the quality of code and accelerates its development.
    But we would also advise any supporter and consultant to use fred,
    as can help to get a better insight into the processes of OTRS.

Which OTRS versions is Fred suitable for?

    For OTRS 2.2.x and higher.

How can I get Fred?

    There are two possible ways:
        * from the public CVS through checkout Fred
        * by downloading it from the OTRS ftp-server
          ftp://ftp.otrs.org/pub/otrs/develtools/packages/

How do I install Fred?

    * first of all you should install the necessary perl modules
          o Devel::SmallProf
          o Devel::DProf
          o HTML::Lint
    * through CVS
          o perform cvs checkout
          o link through link.pl, as with all other CVS modules
    * as a module (opm-package)
          o simply install using the Package Manager
          o that's it

What can Fred do?

    To date, Fred has the following features:
    * HTMLCheck:
      the HTML output is checked by means of HTML::Lint
    * STDERRLog:
      every entry contained in STDERR is displayed
    * TranslationDebug:
      displays all translation attempts of the current request which
      failed.
    * SQLLog:
      lists all SQL statements of the current request
    * ConfigLog:
      lists all ConfigGet requests, indicating their frequency
    * DProf:
      a profiling tool which evaluates the time required for each
      function to be executed
    * SmallProf:
      a profiling tool performing a line-by-line code evaluation

    Caution : Please have a look at the possible config settings, which
    are easily accessible by clicking on "setting".

What is Fred's current status?

    * modular design: anybody can add a new module at any time
    * the modules' output is not yet sophisticated ideas for improving
      the output or sensible configurations will be very welcome

What is going to become of Fred?

    * please use Fred, it will make a lot of things easier
    * please extend Fred, if you have good ideas
    * if you have no time to implement your ideas yourselves, please
      enter them in this mailinglist
Laurent Minost | 15 Oct 2007 10:42
Favicon

Re: The new version of Fred is available

Hi,

Tried to install Fred-0.2.11.opm from Package Manager through OTRS and got :

"Unable to parse Online Repository index document!" error

tried on both http://ftp.otrs.org/pub/otrs/develtools/packages/otrs.xml
and also 
http://ftp.otrs.org/pub/otrs/develtools/packages/develtools/otrs.xml 
without any success

So I then tried the manual method with opm package through Install on 
Package Manager, without any success also giving me the following error :

Software error:

Can't use an undefined value as a HASH reference at 
../..//Kernel/System/Package.pm line 1493, <fh00001Fred-0.2.11.opm> line 
106.

For help, please send mail to the webmaster (lminost <at> denyall.com), 
giving this error message and the time and date of the error.

Thanks by advance for your help.

Best regards,

Laurent MINOST

Thomas Raith a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi List Members,
> 
> we are proud to announce, that a new version of Fred is available.
> Have a lot of fun with Fred!
> 
> Thomas
> 
> 
> What is Fred intended for?
> 
>     Fred supports the developer in his work. It displays information on
>     the current request at the beginning of the HTML output. Fred will
>     thus provide any developer with just-in-time support.
> 
> Who needs Fred?
> 
>     Every OTRS-developer needs Fred!
>     It enhances the quality of code and accelerates its development.
>     But we would also advise any supporter and consultant to use fred,
>     as can help to get a better insight into the processes of OTRS.
> 
> Which OTRS versions is Fred suitable for?
> 
>     For OTRS 2.2.x and higher.
> 
> How can I get Fred?
> 
>     There are two possible ways:
>         * from the public CVS through checkout Fred
>         * by downloading it from the OTRS ftp-server
>           ftp://ftp.otrs.org/pub/otrs/develtools/packages/
> 
> How do I install Fred?
> 
>     * first of all you should install the necessary perl modules
>           o Devel::SmallProf
>           o Devel::DProf
>           o HTML::Lint
>     * through CVS
>           o perform cvs checkout
>           o link through link.pl, as with all other CVS modules
>     * as a module (opm-package)
>           o simply install using the Package Manager
>           o that's it
> 
> What can Fred do?
> 
>     To date, Fred has the following features:
>     * HTMLCheck:
>       the HTML output is checked by means of HTML::Lint
>     * STDERRLog:
>       every entry contained in STDERR is displayed
>     * TranslationDebug:
>       displays all translation attempts of the current request which
>       failed.
>     * SQLLog:
>       lists all SQL statements of the current request
>     * ConfigLog:
>       lists all ConfigGet requests, indicating their frequency
>     * DProf:
>       a profiling tool which evaluates the time required for each
>       function to be executed
>     * SmallProf:
>       a profiling tool performing a line-by-line code evaluation
> 
>     Caution : Please have a look at the possible config settings, which
>     are easily accessible by clicking on "setting".
> 
> What is Fred's current status?
> 
>     * modular design: anybody can add a new module at any time
>     * the modules' output is not yet sophisticated ideas for improving
>       the output or sensible configurations will be very welcome
> 
> What is going to become of Fred?
> 
>     * please use Fred, it will make a lot of things easier
>     * please extend Fred, if you have good ideas
>     * if you have no time to implement your ideas yourselves, please
>       enter them in this mailinglist
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> 
> iD8DBQFHEwaV5VEHpl41kC8RAkweAKDCjmba5A6C4OJUqYAtz0GlXsISZgCeKUpa
> lXmjvyt571a8WE7RJtq02I4=
> =SsyP
> -----END PGP SIGNATURE-----
> _______________________________________________
> OTRS mailing list: dev - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/dev
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
> 

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Oliver Tappe | 16 Oct 2007 11:31

New module linker script

Hi there,

as I encountered some problems with link.pl from module-tools recently, I 
have added a rewrite of link.pl and remove_links.pl based on File::Find.

The new script is called 'module-linker.pl' and can be used to install a 
module into the framework:

	module-tools/module-linker-pl install <module-path> <framework-root>

and to uninstall a module again:

	module-tools/module-linker-pl uninstall <module-path> <framework-root>

This script should be more robust with respect to the unintended inclusion of 
unwanted files (e.g. anything from CVS-folder or starting with a dot) and it 
should restore any backup files (*.old) automatically during an uninstall.

Please give the new script a spin and send suggestions & complaints my way.

cheers,
	Oliver

--

-- 
((otrs)) :: OTRS AG :: Europaring 4 :: D - 94315 Straubing
  Fon: +49 (0) 9421 56818-0  :: Fax: +49 (0) 9421 56818-18
    http://www.otrs.com/ :: Communication with success!
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Thomas Raith | 16 Oct 2007 14:19

Re: The new version of Fred is available


Hi Laurent,

Thanks for your feedback.
We had a configuration problem in our package system.
Now it works.

((enjoy))

Thomas

Laurent Minost schrieb:
> Hi,
> 
> Tried to install Fred-0.2.11.opm from Package Manager through OTRS and
> got :
> 
> "Unable to parse Online Repository index document!" error
> 
> tried on both http://ftp.otrs.org/pub/otrs/develtools/packages/otrs.xml
> and also
> http://ftp.otrs.org/pub/otrs/develtools/packages/develtools/otrs.xml
> without any success
> 
> So I then tried the manual method with opm package through Install on
> Package Manager, without any success also giving me the following error :
> 
> Software error:
> 
> Can't use an undefined value as a HASH reference at
> ../..//Kernel/System/Package.pm line 1493, <fh00001Fred-0.2.11.opm> line
> 106.
> 
> For help, please send mail to the webmaster (lminost <at> denyall.com),
> giving this error message and the time and date of the error.
> 
> 
> Thanks by advance for your help.
> 
> Best regards,
> 
> Laurent MINOST
> 
> 

Gmane