Coder Social home page Coder Social logo

kanboard-timetrackingeditor's People

Contributors

stinnux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kanboard-timetrackingeditor's Issues

date.timezone

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!

Tags and Version-Numbers

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

PHP Warnings

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

Timetrackingeditor incompatible with Kanboard 1.0.38

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:

  • When trying to add a new timetracking entry in a task, instead of getting a popup form, Kanboard opens a new tab with the link provided from the "Add new timetracking entry" button.
  • When trying to click "Cancel", we get a 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:

  • All the other links of such behavior, instead of the class=popover attribute, they have a class=js-modal-medium.
  • The "Cancel" buttons of such links, instead of having the attribute 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?

Public link: Sub tasks are not shown on tasks

Problem

When opening a board using the public link, sub tasks are not shown on a task.

After removing this plugin, everything works fine.

Steps to reproduce

  1. Create a task
  2. Create a sub task in that task
  3. Open the board's public link
  4. Click on the task
  5. No sub tasks shown

Screenshots

Backend view (list of sub tasks):

Bildschirmfoto von 2020-08-11 15-17-46

Public link: after opening the related task:

Bildschirmfoto von 2020-08-11 15-18-52

Configuration

  • Plugin version: 1.0.21
  • Kanboard version: 1.2.15
  • Database type and version: 5.7.x
  • PHP version: 7.3
  • OS: Ubuntu
  • Browser: Chromium

Bug originally filed at kanboard/kanboard#4576

FATAL ERROR: SubtasktimetrackingModel not found

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.

Can't "add/remove/delete entries"

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 plugin is loaded

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

Compatibility with the latest release

@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

Incompatible Plugins

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

Problem when installed in kanboard

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

Cannot edit entries

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.

Task View Error for PROJECT_VIEWER

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

Fatal Error: Call to undefined method [...]SubtaskHelper::getTitle()

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.
image

Thanks in advance
Best regards
Tobias

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.