Search found 12 matches

by Darkness
26 May 2006, 12:01
Forum: Customizations
Topic: IRC bot to report changes in Mantis, now available!
Replies: 5
Views: 14072

i'm not sure I'm with you here...

How do you want to use this with skype? So the bot calls you on skype to tell you there is an update?

The bot is an easy C# program that can be extended with anything you want like dotMSN or a jabberclient so you can talk to it on msn or jabber.
by Darkness
06 Apr 2006, 15:44
Forum: Customizations
Topic: IRC bot to report changes in Mantis, now available!
Replies: 5
Views: 14072

I updated the patched files for mantis (not the patch itself)
custom_function_inc.php now uses lang_push('english'); and lang_pop(); to make sure all reports are in english. Otherwise it used the language of the reporter.
by Darkness
14 Mar 2006, 01:07
Forum: Customizations
Topic: IRC bot to report changes in Mantis, now available!
Replies: 5
Views: 14072

poll interval of the bot is 5 seconds. you might want to up that to 30 seconds or something like that since the delay from waiting for the remote server seems to exceed 5 seconds now and then resulting in stuff not being reported.
by Darkness
13 Mar 2006, 21:53
Forum: Help
Topic: custom_function_default_issue_update_notify (1.0.0rc5)
Replies: 2
Views: 4379

You might have to take a deeper look at this.
I think there are some actions that don't thrigger this update_notify.

One thing that was suspicious is when you assign an issue to someone (though this could have been a local problem)
by Darkness
13 Mar 2006, 21:47
Forum: Customizations
Topic: IRC bot to report changes in Mantis, now available!
Replies: 5
Views: 14072

IRC bot to report changes in Mantis, now available!

I wanted to have an IRC bot that was able to report changes in mantis for some time.
So I decided to stop looking for it and write my own.
Not only did I succeed, I also make it available to everyone 8)

This requires a few changes to mantis, I used 1.0.0rc5 to start with.

First , I had to ...
by Darkness
10 Mar 2006, 02:48
Forum: General Discussion
Topic: history_get_raw_events_array returns no data
Replies: 11
Views: 15410

oh, ok, I will check this. But for now I think I have the things I need to get an IRC bot working.

Will keep you guys updated ;)
by Darkness
10 Mar 2006, 02:43
Forum: General Discussion
Topic: history_get_raw_events_array returns no data
Replies: 11
Views: 15410

make sure notices are on??
I'm using a default install of rc5, and it did execute the overrriden function for create, but not for update and delete.
by Darkness
10 Mar 2006, 02:34
Forum: General Discussion
Topic: history_get_raw_events_array returns no data
Replies: 11
Views: 15410

holy shit, damn copy/paste...

thanks for seeing this :)
by Darkness
10 Mar 2006, 02:29
Forum: General Discussion
Topic: history_get_raw_events_array returns no data
Replies: 11
Views: 15410

It would be great if you can submit any fixes to http://bugs.mantisbt.org. Also the code for the integration with IRC.
I submitted the fixes for the custom functions here
When I succeeded in creating an IRC bot that makes use of the code I'm working on I will post the IRC bot here so other people ...
by Darkness
10 Mar 2006, 02:25
Forum: General Discussion
Topic: history_get_raw_events_array returns no data
Replies: 11
Views: 15410

hmm, something very strange is going on here with the code tag
by Darkness
10 Mar 2006, 02:23
Forum: General Discussion
Topic: history_get_raw_events_array returns no data
Replies: 11
Views: 15410

strange, this is what I did:
require_once( dirname(__FILE__) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'history_api.php' );

in the file custom_functions_inc.php. There I made the following function:
function custom_function_override_issue_update_notify( $p_issue_id ) {
if (file ...
by Darkness
09 Mar 2006, 14:54
Forum: General Discussion
Topic: history_get_raw_events_array returns no data
Replies: 11
Views: 15410

history_get_raw_events_array returns no data

I am trying to hack some override functions together to generate some data for an IRC bot.

I created the file custom_functions_inc.php in the main folder.
In this file I created the functions:
* custom_function_override_issue_create_notify
* custom_function_override_issue_delete_notify
* custom ...