[Addon Announcement] CIsInIncident

English! place to talk about development, programming and coding
Post Reply
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

[Addon Announcement] CIsInIncident

Post by RStraub »

Hey there forum,

as promised in this thread:
viewtopic.php?f=64&t=30694

I got started with migrating these customizations to 5.x and give them a repository. This is the first time I actually used the OTRS-Build function as well as github. If anything doesn't match "best practices" please let me know.

This addon shows a small widget on the dashboard with CIs that are in incident.

The Repository is here:
https://github.com/straubr/TTO-CIsInInc ... ree/master

The Pull Request to merge to the OTRS master is here:
https://github.com/OTRS/ITSMConfigurati ... nt/pull/20

Any feedback - as always - is very much appreciated :)

Best regards,
Rolf
Last edited by RStraub on 11 Dec 2015, 15:49, edited 1 time in total.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: [Addon Announcement] CIsInIncident

Post by reneeb »

It would be great if you upload it to OPAR ;-)
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: [Addon Announcement] CIsInIncident

Post by RStraub »

Done. Have to wait for some analyze run. Is that an automation to inspect the package or manually done?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: [Addon Announcement] CIsInIncident

Post by reneeb »

Great, thanks!

The analyze run is an automated job, that gets all information from the package (vendor, framework version, requirements, ...) and it analyzes the files. The long term goal is to give the author an automated feedback about the "code quality" (with regards to the OTRS standards).

- Renée
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Doderlein
Znuny newbie
Posts: 3
Joined: 29 Mar 2013, 22:27
Znuny Version: 5.0.14

Re: [Addon Announcement] CIsInIncident

Post by Doderlein »

Hi

I installed this addon the other day, but unfortunately I can't select it in the Dashboard. Have you got any ideas why? Or how can I debug this?

We're running OTRS 5.0.14.


Regards
Espen
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: [Addon Announcement] CIsInIncident

Post by RStraub »

Hey there,

just tried again on a 5.0.14 and for me at least it works right away. Could you please attach the apache or otrs log while you access/refresh the dashboard? That would help alot. I will also push an update the coming days, found some things in the source that I don't like :D
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: [Addon Announcement] CIsInIncident

Post by RStraub »

Uploaded a new .opm to:
https://github.com/straubr/TTO-CIsInIncident

Some minor fixed and tidied the code. Please let me know if this version doesn't work for you either.

@reneeb, I cannot upload this to opar *sadface*. It tells me I'm not the maintainer of the package.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: [Addon Announcement] CIsInIncident

Post by reneeb »

The user rstraub is primary maintainer for the namespace TTO-CIsInIncident.

But OPAR couldn't get the name from the file. Can you upload the file with the webdeveloper tools enabled? Can you send me the logs (with removed password)?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: [Addon Announcement] CIsInIncident

Post by RStraub »

It's uploaded to OPAR now. Please let me know if this version works for you - or what the resulting errors are.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Doderlein
Znuny newbie
Posts: 3
Joined: 29 Mar 2013, 22:27
Znuny Version: 5.0.14

Re: [Addon Announcement] CIsInIncident

Post by Doderlein »

The new version worked fine for me. Thanks! :-)
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: [Addon Announcement] CIsInIncident

Post by RStraub »

Great, good to hear. Thanks for the feedback :)
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Post Reply