Alexander Maier | 2 Dec 2004 12:00
Picon
Picon

using whups as troubleshooting database

Hi all,

I'm running complete horde HEAD at home for a long time now. I am very 
impressed of all the capabilities of the modules. So I decided to use 
some of the modules more efficiently. I want whups to behave as a 
database for troubleshooting question'n'answer database. To get a 
reasonable model I thought of using the attributes question and answer 
(What else!?). The commentary field seems not to be the right place 
because it is not a static field in the ticket.
But to write more specific answers in the ticket the attribut input 
fields need to be multiline but I didn't find any option (I guess there 
is none;). The second problem with attributes is a bigger deal: Changes 
of single attributes will not be shown in the history. If someone 
changes the attribute you never know what was it before.
I could patch whups by myself, but then I run into problems with HEAD 
updates.

BTW some questions on whups:
As I saw at bugs.horde when creating a new ticket only the category NEW 
will be displayed. In my setup everything but RESOLVED could be chosen. 
Where can I change this?
And when are the users notified?
Is it possible to assign a ticket by default to someone who gets 
notified then?

Thanks alot for advice,
Alex.

--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
(Continue reading)

Chuck Hagenbuch | 2 Dec 2004 22:27
Favicon
Gravatar

Re: using whups as troubleshooting database

Quoting Alexander Maier <Alexander.S.Maier <at> gmx.de>:

> I'm running complete horde HEAD at home for a long time now. I am very
> impressed of all the capabilities of the modules. So I decided to use
> some of the modules more efficiently. I want whups to behave as a
> database for troubleshooting question'n'answer database. To get a
> reasonable model I thought of using the attributes question and answer
> (What else!?). The commentary field seems not to be the right place
> because it is not a static field in the ticket.
> But to write more specific answers in the ticket the attribut input
> fields need to be multiline but I didn't find any option (I guess there
> is none;). The second problem with attributes is a bigger deal: Changes
> of single attributes will not be shown in the history. If someone
> changes the attribute you never know what was it before.
> I could patch whups by myself, but then I run into problems with HEAD
> updates.

If you sent in patches to improve attribute handling (it needs it!) they'd be
gladly considered.

> BTW some questions on whups:
> As I saw at bugs.horde when creating a new ticket only the category NEW
> will be displayed. In my setup everything but RESOLVED could be chosen.
> Where can I change this?

You see the states you have permissions for. You only see new on 
bugs.horde.org
because you're not allowed to assign tickets there. If you access your own
install as a guest you'll see the same thing.

(Continue reading)

Alexander Maier | 3 Dec 2004 09:24
Picon
Picon

Re: using whups as troubleshooting database

Thanks chuck,

I'll try to find some time to improve attribute handling and hopefully 
you'll like it ;)

> 
>> And when are the users notified?
> 
> 
> .... on updates? No real idea what you're asking here.

You're right, I was a bit unspecific. My question is more "Who is 
notified on which action". The creator of the ticket on every update. 
The person the ticket is assigned to? Any queue admin? On every update 
or just on specific changes?

I hope this is a bit more precise.

Regards, Alex.

--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe <at> lists.horde.org

Jan Schneider | 3 Dec 2004 12:06
Favicon
Gravatar

Re: Re: using whups as troubleshooting database

Zitat von Alexander Maier <Alexander.S.Maier <at> gmx.de>:

> Thanks chuck,
>
> I'll try to find some time to improve attribute handling and hopefully
> you'll like it ;)
>
>>
>>> And when are the users notified?
>>
>>
>> .... on updates? No real idea what you're asking here.
>
> You're right, I was a bit unspecific. My question is more "Who is
> notified on which action". The creator of the ticket on every update.
> The person the ticket is assigned to? Any queue admin? On every update
> or just on specific changes?

AFAIK, queue admins are only notified if the ticket is created, ticket
creators on every update, and ticket assignees depending on how they
configured notification emails in their options.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
(Continue reading)

Chuck Hagenbuch | 3 Dec 2004 16:21
Favicon
Gravatar

Re: Re: using whups as troubleshooting database

Quoting Jan Schneider <jan <at> horde.org>:

>> You're right, I was a bit unspecific. My question is more "Who is
>> notified on which action". The creator of the ticket on every update.
>> The person the ticket is assigned to? Any queue admin? On every update
>> or just on specific changes?
>
> AFAIK, queue admins are only notified if the ticket is created, ticket
> creators on every update, and ticket assignees depending on how they
> configured notification emails in their options.

Plus there's the ticket_listeners table, which still needs a UI.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams
--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe <at> lists.horde.org

張良文 | 8 Dec 2004 10:39
Picon
Favicon

[patch]Convert charset of group name in ticket/people.php

Hi there:
The group name does not convert to original charset in ticket/people.php
Here is what i patched.

David Chang

--- ./people.php.orig        Wed Dec  8 17:32:13 2004
+++ people.php        Wed Dec  8 17:36:33 2004
 <at>  <at>  -40,7 +40,7  <at>  <at> 
         $f_groups = array();
         if (count($mygroups)) {
             foreach ($mygroups as $id => $group) {
-                $f_groups['group:' . $id] = $group;
+                $f_groups['group:' . $id] = String::convertCharset($group,
$GLOBALS['conf']['sql']['charset']);
             }
         }

 <at>  <at>  -72,7 +72,7  <at>  <at> 
             $GLOBALS['perms']->hasPermission('whups:hiddenComments',
Auth::getAuth(), PERMS_EDIT)) {
             $grouplist = array(0 => _("Any Group"));
             foreach ($mygroups as $group) {
-                $grouplist[$group] = $group;
+                $grouplist[$group] = String::convertCharset($group,
$GLOBALS['conf']['sql']['charset']);
             }
             $this->addVariable(_("Viewable only by members of"), 'group',
'enum', true, false, null, array($grouplist));
         }
(Continue reading)

Jan Schneider | 8 Dec 2004 10:58
Favicon
Gravatar

Re: [patch]Convert charset of group name in ticket/people.php

Zitat von 張良文 <david <at> tmv.gov.tw>:

> Hi there:
> The group name does not convert to original charset in ticket/people.php
> Here is what i patched.

Committed, thanks.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe <at> lists.horde.org

張良文 | 9 Dec 2004 03:11
Picon
Favicon

[patch]Default priority & states problem

Hi there:
I noted that default priorities & states write to conf.php via
admin/setup/config.php were formatted as ISO8859-1.Once i saved these variables
in Chinese.Thus when create default priorities & states in "Edit Types" ,these
setting were loaded with ISO8859-1 from conf.php and writed to sql backend.

Here are what i patched:

--- ./admin/setup/config.php.orig        Thu Dec  9 10:03:57 2004
+++ ./admin/setup/config.php        Thu Dec  9 09:25:23 2004
 <at>  <at>  -66,7 +66,7  <at>  <at> 
     }
     if ($fp =  <at> fopen($path . '/conf.php', 'w')) {
         /* Can write, so output to file. */
-        fwrite($fp, String::convertCharset($php, NLS::getCharset(),
'iso-8859-1'));
+        fwrite($fp, String::convertCharset($php, NLS::getCharset(),
$GLOBALS['conf']['sql']['charset']));
         fclose($fp);
         $notification->push(sprintf(_("Successfully wrote %s"), $path .
'/conf.php'), 'horde.success');
     } else {

--- ./framework/Horde/Horde/Config.php.orig        Tue Oct 19 08:45:27 2004
+++ ./framework/Horde/Horde/Config.php        Thu Dec  9 10:02:18 2004
 <at>  <at>  -654,7 +654,7  <at>  <at> 
             }
         }
         if (is_string($ptr)) {
-            return String::convertCharset($ptr, 'iso-8859-1');
(Continue reading)

Chuck Hagenbuch | 9 Dec 2004 03:26
Favicon
Gravatar

Re: [patch]Default priority & states problem

Quoting 張良文 <david <at> tmv.gov.tw>:

> I noted that default priorities & states write to conf.php via
> admin/setup/config.php were formatted as ISO8859-1.Once i saved these 
> variables in Chinese.Thus when create default priorities & states in 
> "Edit Types" ,these setting were loaded with ISO8859-1 from conf.php 
> and writed to sql backend.

The motivation came from whups, but these patches only touch core Horde 
code, so
you need to send this to the dev <at>  list.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams
--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe <at> lists.horde.org

Axel Hoffmann | 15 Dec 2004 16:19
Picon

DateTime Format

Hi,
in the details (history) of a ticket I can see the date of the changes. I like
to see also the time when the changes have been commitet to the ticket. Any
idea how I can change this (Module, etc).

Kind regards

Axel Hoffmann

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--

-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: whups-unsubscribe <at> lists.horde.org


Gmane