Robert L Mathews | 1 Dec 2003 07:26
Favicon

SendArticle.pm not using "Precedence"; fix included

I noticed that OTRS autoresponses don't include a "Precedence: bulk" 
header, even though the code tries to set one.

This is because MIME::Entity doesn't consider "Precedence" a standard 
header for some reason (at least not in my vbersion 5.404), so it ignores 
it.

This patch fixes it:

*** SendArticle.pm.orig	Sun Nov 30 22:09:41 2003
--- SendArticle.pm	Sun Nov 30 22:11:50 2003
***************
*** 109,115 ****
          Encoding => '8bit',
      }; 
      if ($Loop) {
!         $$Header{Precedence} = 'bulk';
          $$Header{'X-Loop'} = 'bulk';
      }
      my $Entity = MIME::Entity->build(%{$Header}, Data => $Param{Body});
--- 109,118 ----
          Encoding => '8bit',
      }; 
      if ($Loop) {
!         # the "Precedence" header isn't one of the standard MIME::Entity
!         # headers, so it needs a trailing semicolon. See MIME::Entity
!         # docs for "build".
!         $$Header{'Precedence:'} = 'bulk';
          $$Header{'X-Loop'} = 'bulk';
      }
(Continue reading)

Martin Edenhofer | 5 Dec 2003 00:57
Picon

Re: SendArticle.pm not using "Precedence"; fix included

Hi Robert,

thanks for your patch! I fixed it now! :)

Thanks for your help!

 -Martini

On Sun, Nov 30, 2003 at 10:26:10PM -0800, Robert L Mathews wrote:
> I noticed that OTRS autoresponses don't include a "Precedence: bulk" 
> header, even though the code tries to set one.
> 
> This is because MIME::Entity doesn't consider "Precedence" a standard 
> header for some reason (at least not in my vbersion 5.404), so it ignores 
> it.
> 
> This patch fixes it:
> 
> *** SendArticle.pm.orig	Sun Nov 30 22:09:41 2003
> --- SendArticle.pm	Sun Nov 30 22:11:50 2003
> ***************
> *** 109,115 ****
>           Encoding => '8bit',
>       }; 
>       if ($Loop) {
> !         $$Header{Precedence} = 'bulk';
>           $$Header{'X-Loop'} = 'bulk';
>       }
>       my $Entity = MIME::Entity->build(%{$Header}, Data => $Param{Body});
> --- 109,118 ----
(Continue reading)

Christian Junk | 5 Dec 2003 15:45
Picon

Adding Attachments via AgentPhoneView

Hi!

This little dirty hack adds the 'attachment feature' to your 
AgentPhoneView. Perhaps it's useful for you, too ...

[OPEN]
Kernel/Output/HTML/Standard/AgentPhoneNew.dtl

[FIND]
<form action="$Env{"CGIHandle"}" method="post" name="compose">

[CHANGE TO]
<form action="$Env{"CGIHandle"}" method="post" name="compose" 
enctype="multipart/form-data">

[OPEN]
Kernel/Modules/AgentPhone.pm

[FIND IN SUB RUN]
[LINE ~529]
[CASE]
# create new ticket and article
     elsif ($Self->{Subaction} eq 'StoreNew') {

# --
# should i set an unlock?
# --

[ADD BEFORE]
my %UploadStuff = $Self->{ParamObject}->GetUploadAll(
(Continue reading)

Alex Zheng | 9 Dec 2003 23:39
Picon
Picon
Favicon

Re: customer user<->group management


what is this customer <-> group management about?

At 12:03 PM 12/8/2003, Martin Edenhofer wrote:
>Hi Roger,
>
>the dev mailing list is the right place for cvs version questions.
>
>Thanks! :)
>
>  -Martin
>
>On Fri, Dec 05, 2003 at 12:09:32PM +0100, Roger Meier wrote:
> > hi community
> >
> > Yesterday, i checkout the current cvs head, because i woul'd
> > test the customer user <-> group management as Patrick wrote,
> > and some of you say that work with the currenct cvs head.
> >
> > I have replace the last otrs rpm files and replace all with
> > the cvs content. Change the database fields and inserted
> > new tables. Copy the old Config.pm to the Kernel/ Dir.
> > (Add for the root <at> localhost manual in the db the admin permission,
> > because i see that the management has changed)
> >
> > But now i have some Problems:
> >
> > 1. Problem:
> > Admin Area: [Customer User <-> Groups ]
> > I see the users and the Groups but when i check a box, the change
(Continue reading)

Martin Edenhofer | 9 Dec 2003 23:52
Picon

Re: Re: [otrs] customer user<->group management

Hi Alex,

On Tue, Dec 09, 2003 at 02:39:11PM -0800, Alex Zheng wrote:
> what is this customer <-> group management about?

You will be able to put customers into groups, so customers just 
can create/see tickets in this groups/queues via the customer panel.

 -Martin

> At 12:03 PM 12/8/2003, Martin Edenhofer wrote:
> >Hi Roger,
> >
> >the dev mailing list is the right place for cvs version questions.
> >
> >Thanks! :)
> >
> > -Martin
> >
> >On Fri, Dec 05, 2003 at 12:09:32PM +0100, Roger Meier wrote:
> >> hi community
> >>
> >> Yesterday, i checkout the current cvs head, because i woul'd
> >> test the customer user <-> group management as Patrick wrote,
> >> and some of you say that work with the currenct cvs head.
> >>
> >> I have replace the last otrs rpm files and replace all with
> >> the cvs content. Change the database fields and inserted
> >> new tables. Copy the old Config.pm to the Kernel/ Dir.
> >> (Add for the root <at> localhost manual in the db the admin permission,
(Continue reading)

Dirk Scheer | 11 Dec 2003 23:06
Picon
Favicon

How to become a developer?

Hello out there,

I want to join the development team of OTRS. Is there any HowTo or FAQ 
describing this in detail? I've already read the FAQ that comes with the 
documentation and I've noticed, that I'm welcome :-)

Are there any rules, how to checkin patches or new development?
Is it nesessary, that somebody of the core team say "Yes", when I want to 
implement a new feature?

I've written a new feature, called "Standard Ticket", which can be reached 
from AgentPhoneNew.dtl. It opens a new window to select a predefined Standard 
Ticket. A standard ticket is a definition of To, Owner, Subject, Body, State 
and Priority. If you submit this window, the values of the standard ticket 
are transfered to the apropriate fields in the AgentPhoneNew form.

So what must be done, to make my changes public?

CU Dirk Scheer

--

-- 
http://www.scheernet.de/

_______________________________________________
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

Robert Kehl | 12 Dec 2003 00:22
Picon

Re: How to become a developer?

On Thursday, December 11, 2003 11:06 PM
Dirk Scheer <dirk <at> scheernet.de> wrote:
> I want to join the development team of OTRS. Is there any HowTo or FAQ
> describing this in detail? I've already read the FAQ that comes with
> the documentation and I've noticed, that I'm welcome :-)

You are, indeed! But we do not provide a developers' manual or FAQ in
special, sorry. Feel free to pose any question on exactly this list you
cannot answer from examining the existing docu, the mailing lists
archives, bugzilla and the questioned source code.

> Are there any rules, how to checkin patches or new development?
> Is it nesessary, that somebody of the core team say "Yes", when I
> want to implement a new feature?

In general, yes. The core development team even wants to say yes to you
becoming a developer who may contribute to the code base. Please take it
as a general guideline to not give anyone write access just to have the
repository being "cleaned up" the other day. You get it.

In special, no. Feel free to develop whatever you want, and if it has a
value, you can be fair sure we will integrate it in a future version,
but you mustn't take us for granted, though. When browsing through the
archive of this list you'll notice several user contributed patches now
available in the distribution (or at least in CVS now). Again, you get
the idea.

> I've written a new feature, called "Standard Ticket", which can be
> reached from AgentPhoneNew.dtl. It opens a new window to select a
> predefined Standard Ticket. A standard ticket is a definition of To,
(Continue reading)

Christian Junk | 12 Dec 2003 10:17
Picon

Action 'AdminNotification' not found?

Hi!

I'm using the actual CVS version of OTRS. In the admin control panel I 
can see the entry 'Notifications', but it doesn't work.

It seems that there's no module called 'AdminNotification'.

I'm a little confused ;( Could you help?

Much thanks in advance,
Christian
_______________________________________________
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

Serpent | 13 Dec 2003 00:40

Latest CVS.

I downloaded the latest CVS due to it handling Customer User's and Groups more securely. I wanted to only allow specific customers to post to specific Queue's via the customer.pl script. This seems to work up until the customer tries to post a new ticket. Here is my configuration:
 
Groups:
-----------------
HVL
admin
stats
users
 
All are valid.
 
 
 
Queue:
-----------------------
Name: HVL
Sub-Queue of: -
Group: HVL
valid: valid
 
 
 
 
Customer User:
------------------------
Login: fred
CustomerID: 1
Valid: valid
 
 
 
Customer User <-> Groups:
----------------------------------
HVL: RW
 
 
 
When I select "RW" then click on his account again under the Customer Groups it has a check mark in both "RO" and "RW". I looked in the database under the group_customer_user table and see the permission_values is set to a 1 on group_id 4 (which is HVL) for permission_key of "rw". And nothing on "ro". So that must be a bug in the code. However when I login to the customer.pl and try to create a new ticket it says permission denied. I even gave him full "rw" access to all the groups.
 
While writing this e-mail I just noticed a error in my System Log. It is as follows:
Fri Dec 12 17:08:40 2003 error OTRS-CGI-10 Need TicketID!
 
This seems to occur everytime he tries to create a new ticket. So this appears to be the real problem. Any help appreciated.
 
Thank you,
Brad Dameron
 
 
 
_______________________________________________
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 | 15 Dec 2003 01:11
Picon

Re: Latest CVS.

Hi Brad,

thanks for using the dev mailing list for cvs questions.

I fixed it. Use the current cvs version and it will work.

 -Martin

On Fri, Dec 12, 2003 at 03:40:49PM -0800, Serpent wrote:
> I downloaded the latest CVS due to it handling Customer User's and Groups more securely. I wanted to only
allow specific customers to post to specific Queue's via the customer.pl script. This seems to work up
until the customer tries to post a new ticket. Here is my configuration:
> 
> Groups:
> -----------------
> HVL
> admin
> stats
> users
> 
> All are valid.
> 
> 
> 
> Queue:
> -----------------------
> Name: HVL
> Sub-Queue of: -
> Group: HVL
> valid: valid
> 
> 
> 
> 
> Customer User:
> ------------------------
> Login: fred
> CustomerID: 1
> Valid: valid
> 
> 
> 
> Customer User <-> Groups:
> ----------------------------------
> HVL: RW
> 
> 
> 
> When I select "RW" then click on his account again under the Customer Groups it has a check mark in both "RO"
and "RW". I looked in the database under the group_customer_user table and see the permission_values is
set to a 1 on group_id 4 (which is HVL) for permission_key of "rw". And nothing on "ro". So that must be a bug in
the code. However when I login to the customer.pl and try to create a new ticket it says permission denied. I
even gave him full "rw" access to all the groups. 
> 
> While writing this e-mail I just noticed a error in my System Log. It is as follows:
>       Fri Dec 12 17:08:40 2003 error OTRS-CGI-10 Need TicketID! 
> 
> 
> This seems to occur everytime he tries to create a new ticket. So this appears to be the real problem. Any
help appreciated.
> 
> Thank you,
> Brad Dameron
> 
> 

> _______________________________________________
> 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

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
        http://www.otrs.de/ :: Manage your communication! 

_______________________________________________
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


Gmane