stinnux / kanboard-timetrackingeditor Goto Github PK
View Code? Open in Web Editor NEWAllows manual adding and editon of Timetracking Entries
Allows manual adding and editon of Timetracking Entries
After installing the plugin I get this warning:
Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/ticket_emmegisistemi/vendor/fguillot/simpleLogger/src/SimpleLogger/Base.php on line 87
For now I've just added "date_default_timezone_set('Europe/Rome');" in that file.
Thanks!
Thomas,
thank you very much for creating and maintaining this plugin.
The version-numbers seem to be a little bit messed up, but you already tidied that up, which ist good.
Maybe you can also remove the outdated / wrong Tags 1.13, 1.14, and so on, because when looking through the name of the tags it seems like 1.14 is newer than 1.0.15.
BTW: The version tagged 1.0.16 is a 1.0.15 in the Plugin.php
https://github.com/stinnux/kanboard-Timetrackingeditor/blob/1.0.16/Plugin.php#L79
Warning: Illegal string offset 'template' in /app/Helper/HookHelper.php on line 29
Warning: filemtime(): stat failed for p in /app/Helper/AssetHelper.php on line 37
Kanboard version : master
PHP 7
Hi,
It seems still fails when you push 'Start timer'. Could you test it?
Best regards.
We used Timetrackingeditor
in our installation of Kanboard (v.1.0.36
).
However, we recently updated Kanboard to their latest (as of now) version (1.0.38
) and we're facing problems with this plugin. Specifically:
500 - Internal error
.After some investigation on some other Kanboard links that have the same behavior (for instance, the "add internal link"), i observed the following:
class=popover
attribute, they have a class=js-modal-medium
.class=popover-close
, they just have an <a href="#"/>
and nothing more.If one plays with the "Inspect Element" option of modern web browsers and edits the html code according to my previous two remarks, then the behavior of Timetrackingeditor is correct again.
Probably we can change these things in the source code of the plugin as it is provided, but as we are not in favor of dirty hacks, is it possible to provide an official fix/update/new version of the plugin that fixes this issue?
When opening a board using the public link, sub tasks are not shown on a task.
After removing this plugin, everything works fine.
Backend view (list of sub tasks):
Public link: after opening the related task:
Bug originally filed at kanboard/kanboard#4576
Dear Stinnux,
Thanks for the plugin, it works well mostly. However, it seems to have crippled the timer function originally built into Kanboard.
If I create a subtask and click 'start timer' I get the following error:
Fatal error: Class '\Kanboard\Plugin\Timetrackingeditor\Model\SubtasktimetrackingModel' not found in /home/myfolder/public_html/myfolder2/app/Core/Tool.php on line 58
What might the problem be? I also had to manually import the mysql schema, as it wasn't automatically imported by the php script.
Thank you in advance.
hello @stinnux ,
we like to adopt this repo and push the development further. We forked to https://github.com/ipunkt/kanboard-Timetrackingeditor atm and started to make new releases.
would be great if we can push these releases to the official kanboard plugin-list and upgrade your package.
looking forward to hearing from you,
Bastian
I can list all the time tracking, but I can't "add/remove/delete entries" (I guess that "remove" is an error for "edit"), nor add comments and select billable/not billable to time tracking entries.
Here is my configuration:
Application version: 1.0.45
PHP version: 5.6.24-pl0-gentoo
PHP SAPI: apache2handler
OS version: Linux 3.4.111
Database driver: mysql
Database version: 10.0.23-MariaDB-log
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Thanks!
Error when opening a task with sub tasks while the plugin is loaded.
The plugin worked at first when I started using Kanboard, not sure at what point it stopped working.
I downloaded the newest addon zip from the Kanboard site and installed it, when I open any task with sub tasks, the screen don't render correctly (No controls are rendered so I can do no changes on a task.) and I get an error in my apache log (see error below). If I delete the plugin folder I can access my task with sub tasks as normal.
I ran the newest version of Kanboard 1.0.45. Server Ubuntu 16.04
Thanks in Advance
Error:
PHP Fatal error: Uncaught Error: Call to undefined method Kanboard\\Plugin\\Timetrackingeditor\\Helper\\SubtaskHelper::getTitle() in /var/www/html/kanboard/plugins/Timetrackingeditor/Helper/SubtaskHelper.php:38\nStack trace:\n#0 /var/www/html/kanboard/plugins/Timetrackingeditor/Template/subtask/table.php(23): Kanboard\\Plugin\\Timetrackingeditor\\Helper\\SubtaskHelper->toggleStatus(Array, '4', true)\n#1 /var/www/html/kanboard/app/Core/Template.php(83): include('/var/www/html/k...')\n#2 /var/www/html/kanboard/app/Template/subtask/show.php(9): Kanboard\\Core\\Template->render('subtask/table', Array)\n#3 /var/www/html/kanboard/app/Core/Template.php(83): include('/var/www/html/k...')\n#4 /var/www/html/kanboard/app/Template/task/show.php(21): Kanboard\\Core\\Template->render('subtask/show', Array)\n#5 /var/www/html/kanboard/app/Core/Template.php(83): include('/var/www/html/k...')\n#6 /var/www/html/kanboard/app/Helper/LayoutHelper.php(205): Kanboard\\Core\\Template->render('task/show', Array)\n#7 /var/www/html/kanboard/app/Helper/LayoutHelper.php(72): Ka in /var/www/html/kanboard/plugins/Timetrackingeditor/Helper/SubtaskHelper.php on line 38
Is it possible to implement the API on this module?
@stinnux Thank you for this plugin. I think it's exactly what lacks at the moment to be able to control all the tracked time etc...
Is it possible to update this so it works with the latest version "Kanboard 1.0.44"? ...or guide me to understand where to start if I need to do it my self.
Thank you in advanced
TimeTrackingEditor no longer work, it produces the error: Internal Error: Identifier "sessionStorage" is not defined. this is probaly due session handling changes in kanboard in december 2017
the task view is broken when subtasks are (have been) added.
Hi
It seems like this is not compatiple with
Application version: 1.2.3
PHP version: 5.6.32-1~dotdeb+7.1
PHP SAPI: apache2handler
OS version: Linux 3.16.1-customkernel
Database driver: sqlite
Database version: 3.7.13
TimeTrackingEditor | Thomas Stinner | 1.0.19 | 1.2.2 | Uninstall
Can you please upddate tot he latest version when you can?
thanks
I have these issues
`Warning: Illegal string offset 'template' in /srv/www/htdocs/kanboard/app/Helper/HookHelper.php on line 29
Warning: filemtime(): stat failed for p in /srv/www/htdocs/kanboard/app/Helper/AssetHelper.php on line 37`
tested in kanboard 1.37 and 1.39 with plugin version 0.0.1 and 1.0.0
When I try to edit an existing task, the dialog box form gets waiting indefinitely after submitting the Save button. I have to press cancel to come back and the time tracking entry remains unchanged.
Configuration:
Application version: 1.0.34
PHP version: 7.0.8-0ubuntu0.16.04.3
PHP SAPI: fpm-fcgi
OS version: Linux 4.4.0-45-generic
Database driver: mysql
Database version: 5.6.33-79.0-log
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36 OPR/41.0.2353.46
Tested with Opera and Chrome under Mac OS X 10.11.
User with project_viewer role gets this error on open a task.
Fatal error: Uncaught Error: Call to undefined method Kanboard\Helper\SubtaskHelper::getTitle() in /home/nuvoni/www/kanboard/plugins/Timetrackingeditor/Template/subtask/table.php:25 Stack trace: #0 /home/nuvoni/www/kanboard/app/Core/Template.php(83): include() #1 /home/nuvoni/www/kanboard/app/Template/subtask/show.php(7): Kanboard\Core\Template->render('subtask/table', Array) #2 /home/nuvoni/www/kanboard/app/Core/Template.php(83): include('/home/nuvoni/ww...') #3 /home/nuvoni/www/kanboard/app/Template/task/show.php(18): Kanboard\Core\Template->render('subtask/show', Array) #4 /home/nuvoni/www/kanboard/app/Core/Template.php(83): include('/home/nuvoni/ww...') #5 /home/nuvoni/www/kanboard/app/Helper/LayoutHelper.php(205): Kanboard\Core\Template->render('task/show', Array) #6 /home/nuvoni/www/kanboard/app/Helper/LayoutHelper.php(72): Kanboard\Helper\LayoutHelper->subLayout('task/layout', 'task/sidebar', 'task/show', Array) #7 /home/nuvoni/www/kanboard/app/Controller/TaskViewController.php(77): Kanboard\Helper\LayoutHelper->ta in /home/nuvoni/www/kanboard/plugins/Timetrackingeditor/Template/subtask/table.php on line 25
Hello all,
I had the followin error:
Fatal error: Call to undefined method Kanboard\Plugin\Timetrackingeditor\Helper\SubtaskHelper::getTitle() in C:\idmHelper\PortableApps\usbwebserver8\root\kanboard\plugins\Timetrackingeditor\Helper\SubtaskHelper.php on line 38
in many different contexts.
Thanks in advance
Best regards
Tobias
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.