Giter Club home page Giter Club logo

do's Introduction

do plugin for DokuWiki

The do plugin allows users to create simple tasks in wiki pages.

All documentation for this plugin can be found at
https://www.dokuwiki.org/plugin:do

If you install this plugin manually, make sure it is installed in
lib/plugins/do/ - if the folder is called different it
will not work!

Please refer to http://www.dokuwiki.org/extensions for additional info
on how to install extensions in DokuWiki.

----
Copyright (C) Andreas Gohr <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See the LICENSE file for details

do's People

Contributors

adrianheine avatar alex-krippner avatar alexgearbox avatar annda avatar apppies avatar araname avatar brilanto avatar dom-mel avatar klap-in avatar micgro42 avatar nerun avatar sadupl avatar sawachan avatar schplurtz avatar splitbrain avatar toprakege avatar tut-tuuut avatar tvetrovsky avatar vladpolskiy avatar zweihorn avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

do's Issues

Internal Wikilinks in Todo

Internal links don't work in task list.

image

I'm trying to create a todo list where I can point the users to pages they should create/work on.

Feature Wish: Filtering by overdue tasks and marking overdue tasks

It would be great, if

  1. in the listing there could be a filter for overdue tasks (e.g. status=overdue)
  2. In the listing (and on the page where the tasks are defined) overdue tasks could be marked (e.g. by a red background)

a luxury feature would be, if even tasks approaching their due date (by a configurable time) could be marked (e.g. by a yellow background).

Cheers
frank

Tasks dissappear

When you change the namespace, all done taks are undone again.

Email notify not working?

plugin»do»notify_assignee
Send mails about new tasks and status changes to affected users

Does this work with the smtp plugin. My wiki can send emails and users do have email addresses registered but do not receive emails with this option turned on.

Anything I can look for?

dolist shows "tasks not found" anywhere except PLAYGROUND page

Issue Description

dolist shows "tasks not found" anywhere except PLAYGROUND page:

  • added several tasks to home:other page
  • added {{dolist>home}} to playgroud page
  • added {{dolist>home}} to home page

Only the playground page show the table of tasks.
'home' page shows: "no tasks found"

Check Login-Status

Is it possible to check the login-status when clicking on the checkbox? Because when you aren't singed in you can write a comment but can't be saved.

Feature Wish: More stati

It would be great, if the tasks could be assigned more - configurable - stati. E.g. "planned", "cancelled", "approved" etc. etc. That could allow for a more find-grained task planning and overview. Some of the stati could be defined to be seen as "closed/done", other as "open/not done".

Incompatibility with include-plugin

Page ":test" includes all pages inside namespace ":test".
On :test:001 is a task. If I checkmark the task on this page 001, this checkmark will not be shown in the included page "test"; here the task remains unchecked. Vice versa, if I checkmark the task on page "test", this task is not check marked on page 001. So both checkmark-behaviors are independent from each other.
I tested this with actual dokuwiki, bootstrap3- and dokuwiki-template.
According to mine this is not desired behavior.

DO Error (XAMPP, WIN 7, MSIE 8)

Using Dokuwiki on an USB Stick with XAMPP, and workstation with Windows 7, MS IE 8 (or FireFox 3.6) there comes an error unsing DO-Plugin.CSS Styles, like wrapped out, are not shown correctly :

{{http://img153.imageshack.us/img153/7546/20101119144212.jpg?200|}}

Details zum Fehler auf der Webseite

Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; InfoPath.3; MS-RTC LM 8; .NET4.0C; .NET4.0E)
Zeitstempel: Fri, 19 Nov 2010 13:38:23 UTC

Meldung: 'undefined' ist Null oder kein Objekt
Zeile: 1
Zeichen: 89820
Code: 0
URI: http://localhost/dokuwiki/lib/exe/js.php?tseed=1290168068

Read ACLs aren't respected

As reported in the forum the do plugin lists all tasks regardless if a user has permissions to the page in which they are defined. Furthermore the ajax handler for listing the tasks of a page doesn't check any ACLs as far as I can see so probably it's even possible to get a list of all tasks of a page without having any rights in the wiki.

Alignment of the "status" column

in the aggregated table {{dolist>...}} all columns with the exception of the "status" column are left-aligned. I suggest to align the "status" column like the others

Some ./inc/JSON.php missing

I have just installed Release rc2-2020-06-01 "Hogfather" RC2.
After installing Do Plugin I get this error:

Warning: require_once(./inc/JSON.php): failed to open stream: No such file or directory in ./lib/plugins/do/action.php on line 15

Fatal error: require_once(): Failed opening required './inc/JSON.php' (include_path='.:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/pear:/usr/share/php') in ./lib/plugins/do/action.php on line 15

Thanks for your help.

sorting tasks

Name: Daniel Kurz
Email: link2 ät gmx.net
Nachricht: Sehr geehrte Damen und Herren,

ich benutze den Do-Plugin von Ihnen. Vielleicht könnten Sie eine Funktion hinzufügen, dass man die "dolist" nach Fälligkeitsdatum sortieren kann, sprich, dass die Tabelle mit offenen Tasks nach Fälligkeitsdatum sortiert wird.

lot of mails, even when task is closed

Dear Cosmocode,
we use the do plugin a few weeks now, and all of us get a ton of mails on tasks, even those which had been closed days ago.
Generally it would be nice to have more control over the frequency of the emails, but for sure the closed tasks should not mail anymore. The only way out now is to switch of mail from the plugin completely.
As a sidenote, our users come from OpenLDAP.

Please let me know if i can help you with some more specific logs or smth.

All the best, Regards, Vincent

Feature Request: custom column width in list table

Is there a way gor me to specify fixed width on table columns? I list my tasks on home page. On mobile device, I was unable to horizontal scroll the table until I added ^column 1^ above the list on the page then i can scroll it. I'd like to make the first column around 250px. If I could specify this to work only on mobile, even better.

Maybe theres an easier work around, like specifying a wider table.

Feature Wish: Supporting page and namespace renames by the "move" plugin

This is not a bug, but a feature wish: Would it be feasible to support the move plugin (https://www.dokuwiki.org/plugin:move) when moving pages and namespaces? Currently a page or namespace rename/move deletes the old pages and recreates them in a new location, hereby recreating all "do" tasks as "open" and leaving the previous status and completion messages behind.

We found that out after a major reorganization of our Wiki and now we will have to re-check hundreds of now open tasks :-}. Unfortunately we have now lost the old completion messages.

The same wish was also posted to the do plugin issue tracker, where I was referred to the "do" plugin:

I would say this is more suitable to be implemented in do plugin, and move plugin has an event API: https://www.dokuwiki.org/plugin:move#for_plugin_authors

(from michitux/dokuwiki-plugin-move#180)

SQLite Error

after i installed this plugin, this error message appears, when I uninstall it, the message is gone

SQLite: SQLSTATE[HY000]: General error: 1 near "DROP": syntax error

the plugins "struct" and "tagging" work without any problems. these also require sqlite.

manual installation
release 2023-04-04a "Jack Jackrum"

PHP Version 8.2.11
PDO Driver for SQLite 3.x enabled
SQLite Library 3.27.2

Connect to MySQL Database

On the Dokuwiki page it says that you need the sqlite plugin. Is it possible to use the plugin with a MySQL database? (I would prefer it to only have one database.)

What is the database used for?
(Can you use it without? Which function would be missing then?)

multiplied entries in {{dolist>?status=undone}}

for some reason there are some to-does which are multiplied in the {{dolist>?status=undone}} .
am trying to identify the root cause but could not find it.
is there way to recreate the dolist from scratch?

hope you can help.

PS: am using dokuwiki on a stick for myself only since about one year and wanted to use the do-plugin heavily. it worked well quite a while and I got to like dokuwiki - even wanted to promote it and tell a friend to use it in his company but am now getting these double and tripple entries. I therefore could not recommend dokuwiki (yet).
maybe because I have changed a folder name in the folder hierarchy?

kind regards
Lorenz

deprecated code

Issue Description

After an installation on Release 2024-02-06a "Kaos" together with current sprintdoc template and regular access to the wiki this plug-in produces a plethora of deprecated warnings in log like:

helper_plugin_sqlite::init() is deprecated. It was called from helper_plugin_do::__construct() in .../dokuwiki/lib/plugins/do/helper.php:32 dokuwiki\plugin\sqlite\SQLiteDB should be used instead!

utf8_strtolower() is deprecated. It was called from helper_plugin_do::loadTasks() in .../dokuwiki/lib/plugins/do/helper.php:140 dokuwiki\Utf8\PhpString::strtolower() should be used instead!

resolve_pageid() is deprecated. It was called from helper_plugin_do::loadTasks() in .../dokuwiki/lib/plugins/do/helper.php:135 dokuwiki\File\PageResolver should be used instead!

I'd call this rather unfortunate and quite annoying to the SysAdm.

However, I appreciate the nice integration between this do plug-in and the sprintdoc template.

Keep on the good work and prosper.

🌻

Incompatibility with Doodle-Plugin

using a doodle poll (made with doodle4-plugin) on the same page with a do leads to a broken doodle, see screenshot
deleting the do syntax returns the normal doodle poll behavior. both syntax starts with "<do"...
do-doodle

To mark the Checkbox is not possible with hogfather

It throws an error:

[php7:error] [pid 5213] [client 192.168.10.19:62142] PHP Fatal error: Uncaught Error: Call to undefined method Doku_Handler::getCallWriter() in /var/www/dokuwiki/lib/plugins/do/syntax/do.php:96\nStack trace:\n#0 /var/www/dokuwiki/inc/parser/handler.php(240): syntax_plugin_do_do->handle('', 1, 358, Object(Doku_Handler))\n#1 /var/www/dokuwiki/inc/Parsing/Lexer/Lexer.php(278): Doku_Handler->plugin('', 1, 358, 'do_do')\n#2 /var/www/dokuwiki/inc/Parsing/Lexer/Lexer.php(212): dokuwiki\Parsing\Lexer\Lexer->invokeHandler('', 1, 358)\n#3 /var/www/dokuwiki/inc/Parsing/Lexer/Lexer.php(155): dokuwiki\Parsing\Lexer\Lexer->dispatchTokens('', '', 'plugin_do_do', 358, 358)\n#4 /var/www/dokuwiki/inc/Parsing/Parser.php(109): dokuwiki\Parsing\Lexer\Lexer->parse('\tAustrittsmeldu...')\n#5 /var/www/dokuwiki/inc/parserutils.php(216): dokuwiki\Parsing\Parser->parse('\n===Checkliste ...')\n#6 /var/www/dokuwiki/inc/parserutils.php(181): p_get_instructions('===Checkliste A...')\n#7 /var/www/dokuwiki/inc/parserutils.php(501): p_cached_instructions('/var/www/dokuwi...', false, 'personal:2020:0...') in /var/www/dokuwiki/lib/plugins/do/syntax/do.php on line 96

Toolbar and Other function issues

Hi,
There is no toolbar button and the other functions like completion message, delete, edit etc. are not working.
Also please add a sorting by due date.

Thank you.

sqlite-error on 2009-12-25c

After installing the do plugin manually and creating a simple do-item item on my page, I get the following error:

Warning: sqlite_num_rows() expects parameter 1 to be resource, boolean given in /srv/www/wiki.blue-cable.net/lib/plugins/sqlite/helper.php on line 402
no such table: tasks:

DELETE FROM tasks WHERE page = 'wiki:user:kheymann'

no such table: tasks:

SELECT A.page     AS page,
                                    A.md5      AS md5,
                                    A.date     AS date,
                                    A.user     AS user,
                                    A.text     AS text,
                                    A.creator  AS creator,
                                    A.msg      AS msg,
                                    B.status   AS status,
                                    B.closedby AS closedby
                               FROM tasks A LEFT JOIN task_status B
                                 ON A.page = B.page
                                 AND A.md5 = B.md5
                                  WHERE 1=1 AND A.page = 'wiki:user:kheymann'
                               ORDER BY A.page, A.pos


Warning: sqlite_num_rows() expects parameter 1 to be resource, boolean given in /srv/www/wiki.blue-cable.net/lib/plugins/sqlite/helper.php on line 402
no such table: tasks:

INSERT INTO tasks (page,md5,date,user,text,creator,msg,pos)
         VALUES ('wiki:user:kheymann', '0636d1c5022d774b024c8fe2f340eff7', '', '', 'TODO-Plugin evaluieren', 'kheymann', '', '1')


Warning: Cannot modify header information - headers already sent by (output started at /srv/www/wiki.blue-cable.net/lib/plugins/sqlite/helper.php:402) in /srv/www/wiki.blue-cable.net/inc/common.php on line 1543

Breaks with rc2020-06-01 "Hogfather"

If this plugin is active when upgrading, the whole wiki doesn't work afterwards and one has to manually remove or disable the plugin on the server.

The error is:

[Tue Jun 02 23:11:41.889009 2020] [proxy_fcgi:error] [pid 25107] [client 127.0.0.1:8370] AH01071: Got error 'PHP message: PHP Warning: require_once(/srv/dokuwiki/inc/JSON.php): failed to open stream: No such file or directory in /srv/dokuwiki/lib/plugins/do/action.php on line 15PHP message: PHP Fatal error: require_once(): Failed opening required '/srv/dokuwiki/inc/JSON.php' (include_path='.:/usr/share/php') in /srv/dokuwiki/lib/plugins/do/action.php on line 15'

which is correct, because the latest update removed inc/JSON.php. I tried restoring only that file, but that didn't work, so for now the plugin has to be disabled.

Feature Wish: Task dependencies

From the available task-related DW plugins (do, todo, task), 'do' has the most potential, however a few things are missing to make it generally usable. One thing are task dependencies. It would be nice if tasks could be made dependent one from another (task A has to be finished before task B can be started/finished). Additionally these dependencies should be displayable e.g. by some indentation in the task table ('dolist')

Add email function

Feature Description

Please add a function that an email will be send when creating a new task or when arriving the due date.

incompatibility with searchtablejs and sortablejs

We wanted to do a tasklist within a table. Because the table is so big, we used the above mentioned plugins.

Now the tasks, which are completed will not be saved as completed. Everytime you open the page, the tasks are still open.

List of all tasks per user

Hello,

I want to create a dashboard which lists the tasks of the logged-in user.

I use the following code:
{{dolist>:?&status=undone&user=test&limit=10}}

All tasks for the user "test" are shown, but if I log in as another user, there are listed test´s tasks, too. The goal is to list the user-specific tasks. Is it possible to use a replacement for the username or something else?

order by date

Is it possible to sort the listing in an increasing order according to the content of the date field?

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.