BugLogHQ Plugins

28 views
Skip to first unread message

Tim B

unread,
Jul 12, 2016, 5:24:26 PM7/12/16
to BugLogHQ
Is there a way to create a plugin for BugLogHQ? I am wanting to modify core functionality without modifying the actual core. Essentially copy a method and override it from the plugin file. This way I will still be able to upgrade BugLogHQ without any issues.

Please advise.

Thanks!

Oscar Arevalo

unread,
Jul 12, 2016, 5:46:38 PM7/12/16
to bugl...@googlegroups.com
Well, it depends exactly what you want to modify.

The main "listener" class, which is what processes the incoming bug reports is defined on the main config, so you can point it to your own class and just make sure to inherit the base class and keep the method signatures.

In addition there is also the rules engine which lets you create your own rules for message processing. Each rule just have to inherit from bugLog.components.baseRule

If what you want to modify is the actual "HQ" web interface, then things can be more complicated. However the entire HQ app is pretty much a front end to bugLog.components.hq.appService, so you can build your own interface around that. Although that may be more than what you have in mind.

Oscar



--

---
You received this message because you are subscribed to the Google Groups "BugLogHQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bugloghq+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Tim B

unread,
Jul 12, 2016, 5:52:29 PM7/12/16
to BugLogHQ
Cool, that's super helpful.

The first plugin I want to create would simply override the config's datasource and set it dynamically. We have different environments so the datasource changes accordingly.

Until I find a better way that doesn't affect the core, I am just overriding it in the DAOFactory.cfc
Reply all
Reply to author
Forward
0 new messages