From a long time now I have an idea that could be an interresting plugin (I guess it could be a plugin) : a hooks system.
It would be just a mix of the existing mail sending system, cron triggers and the well-known svn/git/whatever hook systems.
Here are the first use case to describe my idea :
- As a developer I can write a program / script that does whatever I want based on some information I can get from Projeqtor (well basically this use case is totally independant of Projeqtor).
- As an administrator user I can upload binaries or script file in a given directory (eg projeqtor/files/hooks by default) and make them executables.
- As an authorized user I can define a hook as a script/binary launched by Projeqtor under some condition, like it is done for mail sending and why not based on some cron-like definitions
- As an authorized user I can add several parameters in the hook definition. Those parameters will be passed as arguments to the hook script/binary. Arguments could be a user API key, the current session, the whole condition context that triggered the hook, the content of a field of the selected entity ...
I think that such a hook system could be very interesting for many companies as it allows to trigger many actions from projeqtor whithout adding any complexity to it. Just in my case here are some functionnal use case :
- When a project entity reaches a certain state, create entries in several tools such as directories in our cloud, dedicated git / Redmine / Jenkins projects,
- When a bill entity reaches a certain state, use the ERP API to trigger corresponding billing from it.
- Every week, control that real work has been validated and if so use the ERP API to consolidate the amount of work for each project code
- When a delivery reaches a certain state, really delivers it on the cloud / sharepoint / whatever of the customer
- When a ressource is added to some type of project, register him/her to the mandatory quality training
- ... I still have many many other examples ...
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.