ticgal / actualtime Goto Github PK
View Code? Open in Web Editor NEWThe time tracking plugin for GLPI
Home Page: https://tic.gal/en/project/actualtime-plugin-glpi/
License: GNU Affero General Public License v3.0
The time tracking plugin for GLPI
Home Page: https://tic.gal/en/project/actualtime-plugin-glpi/
License: GNU Affero General Public License v3.0
When delete a task without stop "freezes" the the technician to open new task and start new timer.
On new plugin installation, some fields were not created.
If glpi is installed on http://url/glpi, popup warning will not redirect to the correct path.
Travis CI tests does not include PHP 7.3 branch and still includes unsupported Glpi 9.2 branch. Should be updated. For synchronizing code, setup.php should correctly enforce Glpi >= 9.3 on functions plugin_version_actualtime() and plugin_actualtime_check_prerequisites().
Hi all,
I am not able to start the timer on change tasks.
I this going to be implemented?
Or should I not use these...
Originally asked by: João Gustavo Rudek
https://www.youtube.com/watch?v=Z2LbDOiKWaY&t=94s
Add a pause buttom alternative to stop buttom.
It would work same as stop, but without changing ticket status.
I started a timer, and when i tried to stop it i had the message :
Information
Only the user who initiated the task can close it
when the actualtime_pressedButton is excecuted:
{"mensage":"Timer started","title":"Information","class":"info_msg","ticket_id":**false**,"time":0}
// if is pressed again
{"mensage":"**The task had not been** initialized","title":"Warning","class":"warn_msg"}
In the function----------
$(document).ready(function() {
$("#actualtime_button_14_1_300687504").click(function(event) {
actualtime_pressedButton(14, $(this).attr('action'));
});
the result is---------
result = {mensage: "Timer started", title: "Information", class: "info_msg", ticket_id: "1", time: 1297}
but the normal result is-------------
event = jQuery.Event {originalEvent: MouseEvent, type: "click", isDefaultPrevented: ƒ, timeStamp: 11906.424999999217, jQuery112407870046362835266:
Timer pop-ups are in post-item hook, so it does not pop in pages with no item listing, and pops multiple times in pages with multiple items list. There isn't really a hook that is triggered once (and only once) every page (actually there is one, but it is before any output and sending a javascript block there will yield errors in browsers.
I think it is possible to include a javascript code every page (add-javascript hook includes it on footer). From there, it would be possible to call 'count' action via ajax and include pop-up message. Never tested, but that could work, in my opinion.
Probably after merging 'master' commits into 'development' branch, some conflicts created errors in javascript code, doubling codes and introducing typos.
would be nice ;)
There are some geolocation fields no longer in use
Hi,
when i create a follow up, it also creates a timer with null values as begin/end time.
Related to #60
Task duration must be updated using a GLPI function to avoid this difference with Total duration.
Buen día Tengo instalado glpi 9.5.4 y el plugin actualtime en lo cual al momento de crear, actualizar un ticket no me aparece activo este plugin y al revisar en la configuración la cual dejo en la imagen para lo cual necesitaría me ayudaran indicando cual podría ser la falla o problema del no funcionamiento.
Creado por soportesistemasbb
GLPI ticket number: 5580
Created with GitSync in GLPI by Óscar Beiro
Cuando intento inicar el cronometro de una petición me muestra el siguiente error "Ya se esta realizando una tarea Petición". He intentado reproducir el mismo error desde otro usuario y esto pasa cuando borras o cierras una peticion sin finalizar el cronometro, ya que no muestra la peticion que es dado que esta cerrrada o borrada se detener este error.
Un saludo.
Created by graus69
GLPI ticket number: 2826
Created with GitSync in GLPI by Óscar Beiro
Sometimes, I just forget to click on start button.
Is it possible to manually enter an actual task duration ?
is there a prediction for version 10 of glpi?
Dismembering enhancement issue #4.
This issue will address the need of plugin configuration form and database table for any settings of plugin. Then, it will be possible to include new enhancements with specific settings to enable, assuring the initial normal behavior if no settings are enabled.
As will be needed at least one setting, the project should have an "Enable timer in tasks", default enabled, that will just deactivate all hooks (and the plugin) if set to Disable.
@OscarBeiro , @xacobofg , @boscorelly (and whoever wishes to colaborate), I'd like to hear from you about these two suggestions that seemed really neat:
I have it published at my branch dev_timer_for_others.
There are, actually two different commits with two different options (as there is config database table change, I include both at once, but can be separated, of course):
Action historical
list (Processing ticket
tab) when the boxes are closed. Next to the status checkboxes each task's timer is shown (to whomever is allowed to see the timers). For the task user, the running timer will be shown also, making it easier to find which task has its timer running (other than clicking on pop-up timer).Create a new setting to allow auto update of task duration based on timer registered time, when stopping the timer (not pausing).
It should round up the value using "Step for the hours (minutes)" GLPI Assistance setting.
Is it possible to enable the usage of the plugin when creating a task ?
it will be helpful for us.
Hello,
Are you going to adapt the plugin to be compatible with GLPI 10?
Thanks in advance.
When resizing a task in planning, and the timer is running, wrong values are shown.
Apparently looses start date.
Is there any way to export statistics from Actual time logged data?
It would be useful for reports.
If running time on the task accidentally eliminates the time doesn't stop, it keeps running and doesn't allow you to start another task. To stop this bug you have to change the null value in the completion record in the data base to stop this execution so that you can start another task with the same user.
This inconvenience happens little, but it has happened to different users of the system.
Created by cillox54
GLPI ticket number: 3902
Created with GitSync in GLPI by Óscar Beiro
This feature generates dummy registries with null data, wrongly creating huge timers when interacting with other plugins: YAGP, VoIP... Since Automatically open task with a timer running and the Autostart feature covers this scenario, rather than disabling it, this feature should disappear.
GLPI ticket number: 6695
Created with GitSync in GLPI by Óscar Beiro
Thanks to Christoph Giebel from JungeSoftware.
Senhores, bom dia.
Gostaria de sugerir que o contador de tempo fosse ativado na criação da tarefa predefinida do chamado. Quando isso é feito em um modelo de chamado o contador não é ativado, apenas se for inserido manualmente pelo técnico.
Creado por nadsonpaulo
GLPI ticket number: 5202
Created with GitSync in GLPI by Óscar Beiro
When you stop (or pause) the timer, a new record is registered in the database. But the task windows is not updated (list with start dates and partial duration). The method getSegment can be used to update it automatically, via javascript. Also, if you stop the timer, it changes the task status from "To do" to "Done" in the task window and in the database, but the checkbox in the tasks list (when you close the task window) remains unchecked (="To do").
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.